@12-apps/ui 6.39.16 → 6.39.17
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/_internal/components/data-display/Avatar/Avatar.js +2 -2
- package/dist/_internal/components/data-display/Carousel/Carousel.js +3 -3
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +14 -14
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +26 -25
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +5 -4
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +5 -4
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +5 -4
- package/dist/_internal/components/data-display/DataViews/base-card.js +2 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +5 -5
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +4 -4
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-display-tabs.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +13 -13
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-scope-tabs.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +7 -6
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +3 -3
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +1 -1
- package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +11 -11
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +8 -8
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +12 -12
- package/dist/_internal/components/data-display/FleetMap/FleetRoster.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +1 -1
- package/dist/_internal/components/data-display/MapPreview/MapDecorations.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.hooks.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +7 -7
- package/dist/_internal/components/data-display/MapPreview/MapTiles.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/StaticMapView.js +4 -4
- package/dist/_internal/components/data-display/MapPreview/useMapPreview.js +3 -3
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +3 -3
- package/dist/_internal/components/data-display/Table/Table.js +2 -2
- package/dist/_internal/components/data-display/index.js +36 -36
- package/dist/_internal/components/feedback/Dialog/Dialog.focus.js +10 -0
- package/dist/_internal/components/feedback/Dialog/Dialog.focus.js.map +1 -0
- package/dist/_internal/components/feedback/Dialog/Dialog.js +4 -3
- package/dist/_internal/components/feedback/Dialog/Dialog.slots.js +5 -3
- package/dist/_internal/components/feedback/Dialog/Dialog.styles.js +1 -1
- package/dist/_internal/components/feedback/index.js +4 -3
- package/dist/_internal/components/index.js +41 -40
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +8 -7
- package/dist/_internal/components/navigation/index.js +8 -7
- package/dist/_internal/user-avatar/user-avatar.js +3 -3
- package/dist/charts.js +11 -11
- package/dist/{chunk-V2UZQS2K.js → chunk-2622YFM6.js} +4 -4
- package/dist/{chunk-KTCOJFZB.js → chunk-2OWKL4CC.js} +5 -5
- package/dist/{chunk-QSRZOXQI.js → chunk-2WVHZIWP.js} +2 -2
- package/dist/{chunk-P22W4N5K.js → chunk-37USSARD.js} +2 -2
- package/dist/{chunk-RSDYS5B3.js → chunk-4RPFI474.js} +6 -6
- package/dist/{chunk-SAOCDKNK.js → chunk-5JCGBCFJ.js} +4 -4
- package/dist/{chunk-3BNQDOHC.js → chunk-5OBGW3FG.js} +5 -5
- package/dist/{chunk-EMEXXAQI.js → chunk-66O55OZI.js} +6 -6
- package/dist/{chunk-SA65SDOY.js → chunk-A2TANYNR.js} +2 -2
- package/dist/{chunk-I5T5PQQW.js → chunk-BRM3T4LQ.js} +4 -4
- package/dist/{chunk-PG5C2AA4.js → chunk-DF4QODJ6.js} +2 -2
- package/dist/{chunk-ESCF5VMQ.js → chunk-DRSY37PB.js} +2 -2
- package/dist/{chunk-DYNJQ3HJ.js → chunk-FLDLUAHW.js} +2 -2
- package/dist/{chunk-OGB25P3N.js → chunk-HQZRI7UX.js} +2 -2
- package/dist/{chunk-HUPR5JXY.js → chunk-HWSS6C7C.js} +2 -2
- package/dist/{chunk-T3DNYPEA.js → chunk-I4MRBEWU.js} +12 -12
- package/dist/{chunk-HR7YTBR7.js → chunk-IASDP44E.js} +4 -4
- package/dist/{chunk-5WT4YWXC.js → chunk-IRD45DRW.js} +2 -2
- package/dist/{chunk-ENRBXB6L.js → chunk-JK5UJM4Y.js} +3 -3
- package/dist/{chunk-5NT2M2JI.js → chunk-JKIKHWD2.js} +4 -4
- package/dist/{chunk-WVJGNIJZ.js → chunk-JYR6VV4Y.js} +3 -3
- package/dist/{chunk-5ETBB2DG.js → chunk-K5V6TCYB.js} +4 -4
- package/dist/{chunk-3IF3I3FI.js → chunk-KHPL2J3B.js} +2 -2
- package/dist/{chunk-AXKLCWFR.js → chunk-KN4ZE2XZ.js} +14 -14
- package/dist/{chunk-M3MHYE2M.js → chunk-L566FMDD.js} +4 -4
- package/dist/chunk-LV7LSPBF.js +35 -0
- package/dist/chunk-LV7LSPBF.js.map +1 -0
- package/dist/{chunk-HQWJUHR4.js → chunk-M4QXG5JP.js} +4 -4
- package/dist/{chunk-IFS3BRRL.js → chunk-MCJRHF7Z.js} +3 -3
- package/dist/{chunk-JGRBHNK6.js → chunk-ME3WYPYK.js} +2 -2
- package/dist/{chunk-GAMLBJE6.js → chunk-MQ277OLB.js} +14 -8
- package/dist/chunk-MQ277OLB.js.map +1 -0
- package/dist/{chunk-QXSV7Z57.js → chunk-MXCIUKTQ.js} +5 -5
- package/dist/{chunk-UBEAJFMW.js → chunk-O25SH2MA.js} +5 -5
- package/dist/{chunk-ARDLCGBK.js → chunk-O2DLEAUP.js} +3 -3
- package/dist/{chunk-WCRGSMLV.js → chunk-SCZABICW.js} +3 -3
- package/dist/{chunk-2WU52FLP.js → chunk-ST7B54JN.js} +9 -4
- package/dist/chunk-ST7B54JN.js.map +1 -0
- package/dist/{chunk-LH46NYGR.js → chunk-TEEJ4GNY.js} +2 -2
- package/dist/{chunk-O4AHF45C.js → chunk-VY6L74JQ.js} +2 -2
- package/dist/{chunk-XZJM6EPC.js → chunk-YKEO6UHN.js} +4 -4
- package/dist/{chunk-WWGD5YVW.js → chunk-YTY7TD7S.js} +2 -2
- package/dist/{chunk-5HW37NSW.js → chunk-Z2JH5KW5.js} +16 -2
- package/dist/{chunk-5HW37NSW.js.map → chunk-Z2JH5KW5.js.map} +1 -1
- package/dist/{chunk-HMAPQV4C.js → chunk-ZWCYSAI5.js} +2 -2
- package/dist/data-display/Avatar.js +2 -2
- package/dist/data-display/Carousel.js +3 -3
- package/dist/data-display/Chart.js +11 -11
- package/dist/data-display/DataViews.js +34 -33
- package/dist/data-display/FleetMap.js +12 -12
- package/dist/data-display/Lightbox.js +1 -1
- package/dist/data-display/MapPreview.js +7 -7
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/Sheet.js +3 -3
- package/dist/data-display/Table.js +2 -2
- package/dist/feedback/Dialog.js +4 -3
- package/dist/navigation/AppHeader.js +8 -7
- package/dist/types/components/feedback/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.focus.d.ts +51 -0
- package/dist/types/components/feedback/Dialog/Dialog.focus.d.ts.map +1 -0
- package/dist/types/components/feedback/Dialog/Dialog.slots.d.ts +14 -0
- package/dist/types/components/feedback/Dialog/Dialog.slots.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.styles.d.ts.map +1 -1
- package/dist/user-avatar.js +3 -3
- package/package.json +1 -1
- package/src/components/feedback/Dialog/Dialog.focus.ts +90 -0
- package/src/components/feedback/Dialog/Dialog.md +23 -3
- package/src/components/feedback/Dialog/Dialog.slots.ts +32 -0
- package/src/components/feedback/Dialog/Dialog.styles.ts +15 -0
- package/src/components/feedback/Dialog/Dialog.tsx +11 -3
- package/dist/chunk-2WU52FLP.js.map +0 -1
- package/dist/chunk-GAMLBJE6.js.map +0 -1
- /package/dist/{chunk-V2UZQS2K.js.map → chunk-2622YFM6.js.map} +0 -0
- /package/dist/{chunk-KTCOJFZB.js.map → chunk-2OWKL4CC.js.map} +0 -0
- /package/dist/{chunk-QSRZOXQI.js.map → chunk-2WVHZIWP.js.map} +0 -0
- /package/dist/{chunk-P22W4N5K.js.map → chunk-37USSARD.js.map} +0 -0
- /package/dist/{chunk-RSDYS5B3.js.map → chunk-4RPFI474.js.map} +0 -0
- /package/dist/{chunk-SAOCDKNK.js.map → chunk-5JCGBCFJ.js.map} +0 -0
- /package/dist/{chunk-3BNQDOHC.js.map → chunk-5OBGW3FG.js.map} +0 -0
- /package/dist/{chunk-EMEXXAQI.js.map → chunk-66O55OZI.js.map} +0 -0
- /package/dist/{chunk-SA65SDOY.js.map → chunk-A2TANYNR.js.map} +0 -0
- /package/dist/{chunk-I5T5PQQW.js.map → chunk-BRM3T4LQ.js.map} +0 -0
- /package/dist/{chunk-PG5C2AA4.js.map → chunk-DF4QODJ6.js.map} +0 -0
- /package/dist/{chunk-ESCF5VMQ.js.map → chunk-DRSY37PB.js.map} +0 -0
- /package/dist/{chunk-DYNJQ3HJ.js.map → chunk-FLDLUAHW.js.map} +0 -0
- /package/dist/{chunk-OGB25P3N.js.map → chunk-HQZRI7UX.js.map} +0 -0
- /package/dist/{chunk-HUPR5JXY.js.map → chunk-HWSS6C7C.js.map} +0 -0
- /package/dist/{chunk-T3DNYPEA.js.map → chunk-I4MRBEWU.js.map} +0 -0
- /package/dist/{chunk-HR7YTBR7.js.map → chunk-IASDP44E.js.map} +0 -0
- /package/dist/{chunk-5WT4YWXC.js.map → chunk-IRD45DRW.js.map} +0 -0
- /package/dist/{chunk-ENRBXB6L.js.map → chunk-JK5UJM4Y.js.map} +0 -0
- /package/dist/{chunk-5NT2M2JI.js.map → chunk-JKIKHWD2.js.map} +0 -0
- /package/dist/{chunk-WVJGNIJZ.js.map → chunk-JYR6VV4Y.js.map} +0 -0
- /package/dist/{chunk-5ETBB2DG.js.map → chunk-K5V6TCYB.js.map} +0 -0
- /package/dist/{chunk-3IF3I3FI.js.map → chunk-KHPL2J3B.js.map} +0 -0
- /package/dist/{chunk-AXKLCWFR.js.map → chunk-KN4ZE2XZ.js.map} +0 -0
- /package/dist/{chunk-M3MHYE2M.js.map → chunk-L566FMDD.js.map} +0 -0
- /package/dist/{chunk-HQWJUHR4.js.map → chunk-M4QXG5JP.js.map} +0 -0
- /package/dist/{chunk-IFS3BRRL.js.map → chunk-MCJRHF7Z.js.map} +0 -0
- /package/dist/{chunk-JGRBHNK6.js.map → chunk-ME3WYPYK.js.map} +0 -0
- /package/dist/{chunk-QXSV7Z57.js.map → chunk-MXCIUKTQ.js.map} +0 -0
- /package/dist/{chunk-UBEAJFMW.js.map → chunk-O25SH2MA.js.map} +0 -0
- /package/dist/{chunk-ARDLCGBK.js.map → chunk-O2DLEAUP.js.map} +0 -0
- /package/dist/{chunk-WCRGSMLV.js.map → chunk-SCZABICW.js.map} +0 -0
- /package/dist/{chunk-LH46NYGR.js.map → chunk-TEEJ4GNY.js.map} +0 -0
- /package/dist/{chunk-O4AHF45C.js.map → chunk-VY6L74JQ.js.map} +0 -0
- /package/dist/{chunk-XZJM6EPC.js.map → chunk-YKEO6UHN.js.map} +0 -0
- /package/dist/{chunk-WWGD5YVW.js.map → chunk-YTY7TD7S.js.map} +0 -0
- /package/dist/{chunk-HMAPQV4C.js.map → chunk-ZWCYSAI5.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
Dialog,
|
|
9
9
|
DialogContent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MQ277OLB.js";
|
|
11
11
|
import {
|
|
12
12
|
default as default2
|
|
13
13
|
} from "./chunk-6DPAWXZ3.js";
|
|
@@ -128,4 +128,4 @@ function ManageViewsDialog({
|
|
|
128
128
|
export {
|
|
129
129
|
ManageViewsDialog
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=chunk-
|
|
131
|
+
//# sourceMappingURL=chunk-YTY7TD7S.js.map
|
|
@@ -26,9 +26,23 @@ function mergedPaperSlot(look, testId, legacy, slot) {
|
|
|
26
26
|
function mergedBackdropSlot(look, legacy, slot) {
|
|
27
27
|
return mergedSlot(look, legacy, slot);
|
|
28
28
|
}
|
|
29
|
+
function mergedTransitionSlot(onFocusEntered, legacy, slot) {
|
|
30
|
+
const compose = (merged) => ({
|
|
31
|
+
...merged,
|
|
32
|
+
onEntered: (node, isAppearing) => {
|
|
33
|
+
onFocusEntered(node, isAppearing);
|
|
34
|
+
merged.onEntered?.(node, isAppearing);
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
if (typeof slot === "function") {
|
|
38
|
+
return (ownerState) => compose({ ...legacy, ...slot(ownerState) });
|
|
39
|
+
}
|
|
40
|
+
return compose({ ...legacy, ...slot });
|
|
41
|
+
}
|
|
29
42
|
|
|
30
43
|
export {
|
|
31
44
|
mergedPaperSlot,
|
|
32
|
-
mergedBackdropSlot
|
|
45
|
+
mergedBackdropSlot,
|
|
46
|
+
mergedTransitionSlot
|
|
33
47
|
};
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-Z2JH5KW5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/feedback/Dialog/Dialog.slots.ts"],"sourcesContent":["import type { SxProps, Theme } from '@mui/material/styles/index.js';\n\n/**\n * A caller's slot props, MERGED over the Dialog's own rather than replacing\n * them — for the paper (FUT-2613) and the backdrop (FUT-2672).\n *\n * MUI reaches each slot through two props, and both used to replace ours\n * whole: the deprecated `PaperProps`/`BackdropProps` (spread after ours) and\n * `slotProps.paper`/`slotProps.backdrop` (which MUI itself puts over the\n * deprecated one). A caller asking for one class, or one `sx` tweak, lost the\n * variant's radius, width, background and the paper's test id with it — or,\n * on the backdrop, the scrim and the `glass` blur.\n *\n * Only the keys the merge reads are typed here; every other key the caller\n * passed rides the spread through untouched.\n */\ninterface SlotValue {\n sx?: SxProps<Theme>;\n className?: string;\n}\n\ninterface PaperSlotValue extends SlotValue {\n 'data-testid'?: string;\n}\n\n/** A slot as MUI takes it: an object, or a function of the owner state. */\ntype Slot<V, O> = V | ((ownerState: O) => V);\n\n/** Our look first, then whatever `sx` the caller adds — so the caller's escape hatch still wins. */\nfunction sxList(caller: SxProps<Theme> | undefined): readonly unknown[] {\n if (caller === undefined) return [];\n return Array.isArray(caller) ? caller : [caller];\n}\n\nfunction mergeOver<V extends SlotValue>(\n look: SxProps<Theme>,\n legacy: V | undefined,\n slot: V | undefined,\n): V {\n // MUI's own order: `slotProps.<slot>` over the deprecated `<Slot>Props`.\n return {\n ...legacy,\n ...slot,\n sx: [look, ...sxList(legacy?.sx), ...sxList(slot?.sx)] as SxProps<Theme>,\n } as V;\n}\n\n/**\n * The one slot to hand MUI: the Dialog's `look`, then the deprecated prop,\n * then `slotProps.<slot>`, each value passed through `finish`. A function slot\n * stays a function, so MUI still calls it with its owner state and its result\n * merges the same way.\n */\nfunction mergedSlot<V extends SlotValue, O>(\n look: SxProps<Theme>,\n legacy: V | undefined,\n slot: Slot<V, O> | undefined,\n finish: (merged: V) => V = (merged) => merged,\n): Slot<V, O> {\n if (typeof slot === 'function') {\n return (ownerState: O) => finish(mergeOver(look, legacy, slot(ownerState)));\n }\n return finish(mergeOver(look, legacy, slot));\n}\n\n/**\n * The paper slot: the variant's `look`, then `PaperProps`, then\n * `slotProps.paper`.\n *\n * `testId` names the paper unless the caller's props name it; the drawer passes\n * none, because its id already sits on the Drawer root.\n */\nexport function mergedPaperSlot<O>(\n look: SxProps<Theme>,\n testId: string | undefined,\n legacy: PaperSlotValue | undefined,\n slot: Slot<PaperSlotValue, O> | undefined,\n): Slot<PaperSlotValue, O> {\n return mergedSlot(look, legacy, slot, (merged) => ({\n ...merged,\n // A key the caller set to `undefined` does not erase the dialog's id.\n 'data-testid': merged['data-testid'] ?? testId,\n }));\n}\n\n/**\n * The backdrop slot: the scrim (`backdropSxOf`), then `BackdropProps`, then\n * `slotProps.backdrop`. Both renderers need it: MUI's `Dialog` would replace\n * our backdrop props with a caller's, and MUI's `Drawer` takes\n * `slotProps.backdrop` INSTEAD of `BackdropProps` whenever it is given — so\n * once the scrim rides `slotProps.backdrop`, a caller's `BackdropProps` would\n * silently drop unless it is folded in here.\n */\nexport function mergedBackdropSlot<O>(\n look: SxProps<Theme>,\n legacy: SlotValue | undefined,\n slot: Slot<SlotValue, O> | undefined,\n): Slot<SlotValue, O> {\n return mergedSlot(look, legacy, slot);\n}\n"],"mappings":";AA6BA,SAAS,OAAO,QAAwD;AACtE,MAAI,WAAW,OAAW,QAAO,CAAC;AAClC,SAAO,MAAM,QAAQ,MAAM,IAAI,SAAS,CAAC,MAAM;AACjD;AAEA,SAAS,UACP,MACA,QACA,MACG;AAEH,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI,CAAC,MAAM,GAAG,OAAO,QAAQ,EAAE,GAAG,GAAG,OAAO,MAAM,EAAE,CAAC;AAAA,EACvD;AACF;AAQA,SAAS,WACP,MACA,QACA,MACA,SAA2B,CAAC,WAAW,QAC3B;AACZ,MAAI,OAAO,SAAS,YAAY;AAC9B,WAAO,CAAC,eAAkB,OAAO,UAAU,MAAM,QAAQ,KAAK,UAAU,CAAC,CAAC;AAAA,EAC5E;AACA,SAAO,OAAO,UAAU,MAAM,QAAQ,IAAI,CAAC;AAC7C;AASO,SAAS,gBACd,MACA,QACA,QACA,MACyB;AACzB,SAAO,WAAW,MAAM,QAAQ,MAAM,CAAC,YAAY;AAAA,IACjD,GAAG;AAAA;AAAA,IAEH,eAAe,OAAO,aAAa,KAAK;AAAA,EAC1C,EAAE;AACJ;AAUO,SAAS,mBACd,MACA,QACA,MACoB;AACpB,SAAO,WAAW,MAAM,QAAQ,IAAI;AACtC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/components/feedback/Dialog/Dialog.slots.ts"],"sourcesContent":["import type { SxProps, Theme } from '@mui/material/styles/index.js';\n\n/**\n * A caller's slot props, MERGED over the Dialog's own rather than replacing\n * them — for the paper (FUT-2613) and the backdrop (FUT-2672).\n *\n * MUI reaches each slot through two props, and both used to replace ours\n * whole: the deprecated `PaperProps`/`BackdropProps` (spread after ours) and\n * `slotProps.paper`/`slotProps.backdrop` (which MUI itself puts over the\n * deprecated one). A caller asking for one class, or one `sx` tweak, lost the\n * variant's radius, width, background and the paper's test id with it — or,\n * on the backdrop, the scrim and the `glass` blur.\n *\n * Only the keys the merge reads are typed here; every other key the caller\n * passed rides the spread through untouched.\n */\ninterface SlotValue {\n sx?: SxProps<Theme>;\n className?: string;\n}\n\ninterface PaperSlotValue extends SlotValue {\n 'data-testid'?: string;\n}\n\n/** A slot as MUI takes it: an object, or a function of the owner state. */\ntype Slot<V, O> = V | ((ownerState: O) => V);\n\n/** Our look first, then whatever `sx` the caller adds — so the caller's escape hatch still wins. */\nfunction sxList(caller: SxProps<Theme> | undefined): readonly unknown[] {\n if (caller === undefined) return [];\n return Array.isArray(caller) ? caller : [caller];\n}\n\nfunction mergeOver<V extends SlotValue>(\n look: SxProps<Theme>,\n legacy: V | undefined,\n slot: V | undefined,\n): V {\n // MUI's own order: `slotProps.<slot>` over the deprecated `<Slot>Props`.\n return {\n ...legacy,\n ...slot,\n sx: [look, ...sxList(legacy?.sx), ...sxList(slot?.sx)] as SxProps<Theme>,\n } as V;\n}\n\n/**\n * The one slot to hand MUI: the Dialog's `look`, then the deprecated prop,\n * then `slotProps.<slot>`, each value passed through `finish`. A function slot\n * stays a function, so MUI still calls it with its owner state and its result\n * merges the same way.\n */\nfunction mergedSlot<V extends SlotValue, O>(\n look: SxProps<Theme>,\n legacy: V | undefined,\n slot: Slot<V, O> | undefined,\n finish: (merged: V) => V = (merged) => merged,\n): Slot<V, O> {\n if (typeof slot === 'function') {\n return (ownerState: O) => finish(mergeOver(look, legacy, slot(ownerState)));\n }\n return finish(mergeOver(look, legacy, slot));\n}\n\n/**\n * The paper slot: the variant's `look`, then `PaperProps`, then\n * `slotProps.paper`.\n *\n * `testId` names the paper unless the caller's props name it; the drawer passes\n * none, because its id already sits on the Drawer root.\n */\nexport function mergedPaperSlot<O>(\n look: SxProps<Theme>,\n testId: string | undefined,\n legacy: PaperSlotValue | undefined,\n slot: Slot<PaperSlotValue, O> | undefined,\n): Slot<PaperSlotValue, O> {\n return mergedSlot(look, legacy, slot, (merged) => ({\n ...merged,\n // A key the caller set to `undefined` does not erase the dialog's id.\n 'data-testid': merged['data-testid'] ?? testId,\n }));\n}\n\n/**\n * The backdrop slot: the scrim (`backdropSxOf`), then `BackdropProps`, then\n * `slotProps.backdrop`. Both renderers need it: MUI's `Dialog` would replace\n * our backdrop props with a caller's, and MUI's `Drawer` takes\n * `slotProps.backdrop` INSTEAD of `BackdropProps` whenever it is given — so\n * once the scrim rides `slotProps.backdrop`, a caller's `BackdropProps` would\n * silently drop unless it is folded in here.\n */\nexport function mergedBackdropSlot<O>(\n look: SxProps<Theme>,\n legacy: SlotValue | undefined,\n slot: Slot<SlotValue, O> | undefined,\n): Slot<SlotValue, O> {\n return mergedSlot(look, legacy, slot);\n}\n\n/** What the transition slot's `onEntered` looks like on either renderer. */\ninterface TransitionSlotValue {\n onEntered?: (node: HTMLElement, isAppearing: boolean) => void;\n}\n\n/**\n * The transition slot: `onFocusEntered` (initial-focus, FUT-2696) runs\n * first, then the deprecated `TransitionProps`/`SlideProps`, then\n * `slotProps.transition` — so a caller's own `onEntered` still runs, and\n * still runs last, meaning it can move focus again if it wants to.\n *\n * No `sx`/`look` here: unlike the paper and the backdrop, the transition slot\n * carries no visual look of the Dialog's own to merge under a caller's.\n */\nexport function mergedTransitionSlot<O>(\n onFocusEntered: (node: HTMLElement, isAppearing: boolean) => void,\n legacy: TransitionSlotValue | undefined,\n slot: Slot<TransitionSlotValue, O> | undefined,\n): Slot<TransitionSlotValue, O> {\n const compose = (merged: TransitionSlotValue): TransitionSlotValue => ({\n ...merged,\n onEntered: (node: HTMLElement, isAppearing: boolean) => {\n onFocusEntered(node, isAppearing);\n merged.onEntered?.(node, isAppearing);\n },\n });\n if (typeof slot === 'function') {\n return (ownerState: O) => compose({ ...legacy, ...slot(ownerState) });\n }\n return compose({ ...legacy, ...slot });\n}\n"],"mappings":";AA6BA,SAAS,OAAO,QAAwD;AACtE,MAAI,WAAW,OAAW,QAAO,CAAC;AAClC,SAAO,MAAM,QAAQ,MAAM,IAAI,SAAS,CAAC,MAAM;AACjD;AAEA,SAAS,UACP,MACA,QACA,MACG;AAEH,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI,CAAC,MAAM,GAAG,OAAO,QAAQ,EAAE,GAAG,GAAG,OAAO,MAAM,EAAE,CAAC;AAAA,EACvD;AACF;AAQA,SAAS,WACP,MACA,QACA,MACA,SAA2B,CAAC,WAAW,QAC3B;AACZ,MAAI,OAAO,SAAS,YAAY;AAC9B,WAAO,CAAC,eAAkB,OAAO,UAAU,MAAM,QAAQ,KAAK,UAAU,CAAC,CAAC;AAAA,EAC5E;AACA,SAAO,OAAO,UAAU,MAAM,QAAQ,IAAI,CAAC;AAC7C;AASO,SAAS,gBACd,MACA,QACA,QACA,MACyB;AACzB,SAAO,WAAW,MAAM,QAAQ,MAAM,CAAC,YAAY;AAAA,IACjD,GAAG;AAAA;AAAA,IAEH,eAAe,OAAO,aAAa,KAAK;AAAA,EAC1C,EAAE;AACJ;AAUO,SAAS,mBACd,MACA,QACA,MACoB;AACpB,SAAO,WAAW,MAAM,QAAQ,IAAI;AACtC;AAgBO,SAAS,qBACd,gBACA,QACA,MAC8B;AAC9B,QAAM,UAAU,CAAC,YAAsD;AAAA,IACrE,GAAG;AAAA,IACH,WAAW,CAAC,MAAmB,gBAAyB;AACtD,qBAAe,MAAM,WAAW;AAChC,aAAO,YAAY,MAAM,WAAW;AAAA,IACtC;AAAA,EACF;AACA,MAAI,OAAO,SAAS,YAAY;AAC9B,WAAO,CAAC,eAAkB,QAAQ,EAAE,GAAG,QAAQ,GAAG,KAAK,UAAU,EAAE,CAAC;AAAA,EACtE;AACA,SAAO,QAAQ,EAAE,GAAG,QAAQ,GAAG,KAAK,CAAC;AACvC;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Avatar
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-66O55OZI.js";
|
|
4
4
|
import {
|
|
5
5
|
Card
|
|
6
6
|
} from "./chunk-WN5PNP6F.js";
|
|
@@ -74,4 +74,4 @@ export {
|
|
|
74
74
|
UserAvatar,
|
|
75
75
|
UserMenu
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-ZWCYSAI5.js.map
|
|
@@ -2,11 +2,11 @@ import "../chunk-UDQSIRAP.js";
|
|
|
2
2
|
import {
|
|
3
3
|
Avatar,
|
|
4
4
|
AvatarGroup
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-66O55OZI.js";
|
|
6
|
+
import "../chunk-3ZVUNSFF.js";
|
|
6
7
|
import "../chunk-Y6C4MYZE.js";
|
|
7
8
|
import "../chunk-MTEQEPNY.js";
|
|
8
9
|
import "../chunk-6ZZGK5DT.js";
|
|
9
|
-
import "../chunk-3ZVUNSFF.js";
|
|
10
10
|
import "../chunk-FQ6UW7IY.js";
|
|
11
11
|
import "../chunk-6JAIFIPW.js";
|
|
12
12
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "../chunk-62FET2BM.js";
|
|
2
2
|
import {
|
|
3
3
|
Carousel
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-L566FMDD.js";
|
|
5
|
+
import "../chunk-WOAXKWAB.js";
|
|
5
6
|
import "../chunk-OHZU4IT3.js";
|
|
6
7
|
import "../chunk-TRHWA74K.js";
|
|
7
|
-
import "../chunk-RUIV5TVA.js";
|
|
8
|
-
import "../chunk-WOAXKWAB.js";
|
|
9
8
|
import {
|
|
10
9
|
CarouselArrows,
|
|
11
10
|
CarouselIndicators,
|
|
12
11
|
CarouselThumbnails
|
|
13
12
|
} from "../chunk-JJJM75XF.js";
|
|
13
|
+
import "../chunk-RUIV5TVA.js";
|
|
14
14
|
import "../chunk-HPK33ACY.js";
|
|
15
15
|
import "../chunk-TCAQOUIB.js";
|
|
16
16
|
import "../chunk-7ZPUN7TV.js";
|
|
@@ -5,6 +5,17 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
7
|
} from "../chunk-TZBOWSAM.js";
|
|
8
|
+
import "../chunk-VJ2BNJ5M.js";
|
|
9
|
+
import "../chunk-IQJCLFF4.js";
|
|
10
|
+
import "../chunk-EA2UNEL6.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-VJ2BNJ5M.js";
|
|
24
|
-
import "../chunk-IQJCLFF4.js";
|
|
25
|
-
import "../chunk-EA2UNEL6.js";
|
|
26
|
-
import "../chunk-SOHQPPYJ.js";
|
|
27
|
-
import {
|
|
28
|
-
ChartContainer,
|
|
29
|
-
ChartLegend,
|
|
30
|
-
ChartLegendContent,
|
|
31
|
-
ChartTooltip,
|
|
32
|
-
ChartTooltipContent
|
|
33
|
-
} from "../chunk-RIRTW5EU.js";
|
|
34
34
|
import "../chunk-TCAQOUIB.js";
|
|
35
35
|
import "../chunk-7ZPUN7TV.js";
|
|
36
36
|
import "../chunk-PT6TCWIW.js";
|
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseCard
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-BRM3T4LQ.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsTableBase
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-O25SH2MA.js";
|
|
7
|
+
import "../chunk-37USSARD.js";
|
|
8
8
|
import {
|
|
9
9
|
DataViewsGrid
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-IRD45DRW.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseListCard
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-I4MRBEWU.js";
|
|
14
|
+
import "../chunk-2622YFM6.js";
|
|
14
15
|
import "../chunk-2JCRNWHE.js";
|
|
15
|
-
import "../chunk-GZT7MLLO.js";
|
|
16
|
-
import "../chunk-V2UZQS2K.js";
|
|
17
16
|
import "../chunk-BYH5GPLT.js";
|
|
18
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-FLDLUAHW.js";
|
|
18
|
+
import "../chunk-GZT7MLLO.js";
|
|
19
19
|
import {
|
|
20
20
|
DragContainerProvider,
|
|
21
21
|
DropIndicator,
|
|
22
22
|
useDragItem
|
|
23
23
|
} from "../chunk-K4EKTMTC.js";
|
|
24
24
|
import "../chunk-ZOLAYP2D.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-KN4ZE2XZ.js";
|
|
26
|
+
import "../chunk-36JKV7CA.js";
|
|
27
|
+
import "../chunk-2K7WPHI3.js";
|
|
28
|
+
import "../chunk-JK5UJM4Y.js";
|
|
27
29
|
import {
|
|
28
30
|
DataViewsBoard
|
|
29
31
|
} from "../chunk-YTINPQKU.js";
|
|
30
32
|
import "../chunk-WZNTZX5N.js";
|
|
31
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-2S752BIJ.js";
|
|
32
34
|
import "../chunk-ODW2D5PN.js";
|
|
33
35
|
import "../chunk-DNT5PZLF.js";
|
|
34
36
|
import "../chunk-4WF6ZLIW.js";
|
|
@@ -36,43 +38,42 @@ import "../chunk-X4F32GUB.js";
|
|
|
36
38
|
import "../chunk-DYGWKZ7T.js";
|
|
37
39
|
import "../chunk-5CQNBMLK.js";
|
|
38
40
|
import "../chunk-MBHWVRV5.js";
|
|
39
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-HQZRI7UX.js";
|
|
40
42
|
import "../chunk-O5UGAL2V.js";
|
|
41
43
|
import "../chunk-BSUG4KMP.js";
|
|
42
44
|
import "../chunk-57FZM6GH.js";
|
|
43
45
|
import "../chunk-GCZJH4XL.js";
|
|
44
46
|
import "../chunk-7D7CJRL7.js";
|
|
45
47
|
import "../chunk-CBOB5AV6.js";
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-O2DLEAUP.js";
|
|
49
|
+
import "../chunk-A2TANYNR.js";
|
|
50
|
+
import "../chunk-YTY7TD7S.js";
|
|
51
|
+
import "../chunk-5M4TYFR3.js";
|
|
52
|
+
import "../chunk-TEEJ4GNY.js";
|
|
48
53
|
import "../chunk-KX75HM5U.js";
|
|
49
54
|
import "../chunk-5FAI25JQ.js";
|
|
50
55
|
import "../chunk-62UAI62O.js";
|
|
51
|
-
import "../chunk-
|
|
56
|
+
import "../chunk-B7CNP5HW.js";
|
|
52
57
|
import {
|
|
53
58
|
DEFAULT_RAILS,
|
|
54
59
|
ListCardGroup,
|
|
55
60
|
RAIL_COUNT
|
|
56
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-VY6L74JQ.js";
|
|
57
62
|
import {
|
|
58
63
|
DEFAULT_CELL_WIDTH
|
|
59
64
|
} from "../chunk-COYGTEN5.js";
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
65
|
+
import "../chunk-HWSS6C7C.js";
|
|
66
|
+
import "../chunk-ME3WYPYK.js";
|
|
62
67
|
import "../chunk-OQRG34VG.js";
|
|
63
|
-
import "../chunk-
|
|
68
|
+
import "../chunk-KHPL2J3B.js";
|
|
64
69
|
import "../chunk-YLGY3D52.js";
|
|
65
70
|
import "../chunk-S6JHTEV4.js";
|
|
66
71
|
import {
|
|
67
72
|
cardMinWidthForZoom,
|
|
68
73
|
cardScaleForZoom
|
|
69
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-YKEO6UHN.js";
|
|
70
75
|
import "../chunk-M4KVKQRN.js";
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-SA65SDOY.js";
|
|
73
|
-
import "../chunk-WWGD5YVW.js";
|
|
74
|
-
import "../chunk-5M4TYFR3.js";
|
|
75
|
-
import "../chunk-HR7YTBR7.js";
|
|
76
|
+
import "../chunk-IASDP44E.js";
|
|
76
77
|
import "../chunk-DZEC6RFM.js";
|
|
77
78
|
import "../chunk-J3XFUCCR.js";
|
|
78
79
|
import "../chunk-UKX3MPB7.js";
|
|
@@ -86,16 +87,15 @@ import {
|
|
|
86
87
|
} from "../chunk-PL2AB5HJ.js";
|
|
87
88
|
import "../chunk-U5FOJBLG.js";
|
|
88
89
|
import "../chunk-VPPIODKX.js";
|
|
90
|
+
import {
|
|
91
|
+
DataViewsCopyProvider,
|
|
92
|
+
useDataViewsCopy
|
|
93
|
+
} from "../chunk-KHG57NAE.js";
|
|
89
94
|
import {
|
|
90
95
|
CARD_ASPECT_RATIOS,
|
|
91
96
|
DATA_VIEWS_LAYOUTS,
|
|
92
97
|
toSavedViewSummary
|
|
93
98
|
} from "../chunk-LHHAYZ55.js";
|
|
94
|
-
import "../chunk-B7CNP5HW.js";
|
|
95
|
-
import {
|
|
96
|
-
DataViewsCopyProvider,
|
|
97
|
-
useDataViewsCopy
|
|
98
|
-
} from "../chunk-KHG57NAE.js";
|
|
99
99
|
import "../chunk-NCS2TBIP.js";
|
|
100
100
|
import "../chunk-Y4KKS6WL.js";
|
|
101
101
|
import "../chunk-MQJDMQJZ.js";
|
|
@@ -164,11 +164,12 @@ import "../chunk-FWPFCK4D.js";
|
|
|
164
164
|
import "../chunk-BJZOBG24.js";
|
|
165
165
|
import "../chunk-EMYESBIT.js";
|
|
166
166
|
import "../chunk-KFJKOVDD.js";
|
|
167
|
-
import "../chunk-
|
|
168
|
-
import "../chunk-
|
|
169
|
-
import "../chunk-
|
|
167
|
+
import "../chunk-MQ277OLB.js";
|
|
168
|
+
import "../chunk-ST7B54JN.js";
|
|
169
|
+
import "../chunk-Z2JH5KW5.js";
|
|
170
170
|
import "../chunk-GVGJMH77.js";
|
|
171
171
|
import "../chunk-GYXUCS37.js";
|
|
172
|
+
import "../chunk-LV7LSPBF.js";
|
|
172
173
|
import "../chunk-CN46HGXE.js";
|
|
173
174
|
import "../chunk-442FSG7G.js";
|
|
174
175
|
import "../chunk-L4G5BZFF.js";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import "../chunk-RQWZYD6H.js";
|
|
2
2
|
import {
|
|
3
3
|
FleetMap
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-DF4QODJ6.js";
|
|
5
5
|
import "../chunk-ZCPSND5Y.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-SCZABICW.js";
|
|
7
|
+
import "../chunk-DRSY37PB.js";
|
|
8
|
+
import "../chunk-5JCGBCFJ.js";
|
|
9
|
+
import "../chunk-BTQZ3EX3.js";
|
|
9
10
|
import {
|
|
10
11
|
freshnessOf,
|
|
11
12
|
mapCentre,
|
|
12
13
|
nextSelection,
|
|
13
14
|
rosterOrder
|
|
14
15
|
} from "../chunk-XPMGFAJ3.js";
|
|
15
|
-
import "../chunk-BTQZ3EX3.js";
|
|
16
16
|
import "../chunk-VY2BMSHN.js";
|
|
17
17
|
import "../chunk-BEGTLELZ.js";
|
|
18
18
|
import "../chunk-E2QIKJX2.js";
|
|
19
19
|
import "../chunk-EMPVMZAB.js";
|
|
20
20
|
import "../chunk-7WDPC46N.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-MCJRHF7Z.js";
|
|
22
22
|
import "../chunk-ODFJTEIL.js";
|
|
23
23
|
import "../chunk-7D2C4LK2.js";
|
|
24
24
|
import "../chunk-ZZ4MMUBY.js";
|
|
25
25
|
import "../chunk-VNOFFVRQ.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-4RPFI474.js";
|
|
27
|
+
import "../chunk-K5V6TCYB.js";
|
|
28
|
+
import "../chunk-M4QXG5JP.js";
|
|
29
29
|
import "../chunk-WRCLYSTX.js";
|
|
30
30
|
import "../chunk-4NQXHPQR.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-2WVHZIWP.js";
|
|
32
|
+
import "../chunk-JKIKHWD2.js";
|
|
33
|
+
import "../chunk-CB6DTWD5.js";
|
|
33
34
|
import "../chunk-H2J2MTRE.js";
|
|
34
35
|
import "../chunk-X6AIKCAV.js";
|
|
35
|
-
import "../chunk-CB6DTWD5.js";
|
|
36
36
|
import "../chunk-HN3PZTUK.js";
|
|
37
37
|
import "../chunk-KLPTOVIX.js";
|
|
38
38
|
import "../chunk-MWFSIB6K.js";
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
Lightbox_default
|
|
4
4
|
} from "../chunk-7ICK5MXV.js";
|
|
5
5
|
import "../chunk-2DWBJJK6.js";
|
|
6
|
+
import "../chunk-ASCUWG55.js";
|
|
6
7
|
import "../chunk-UOS7DEQZ.js";
|
|
7
8
|
import "../chunk-HJPPNVCF.js";
|
|
8
9
|
import "../chunk-M6PWPEAV.js";
|
|
@@ -12,7 +13,6 @@ import "../chunk-IVJKILIX.js";
|
|
|
12
13
|
import "../chunk-TZASFX6G.js";
|
|
13
14
|
import "../chunk-TEQYTEM2.js";
|
|
14
15
|
import "../chunk-3KA6MYIR.js";
|
|
15
|
-
import "../chunk-ASCUWG55.js";
|
|
16
16
|
import "../chunk-FQ6UW7IY.js";
|
|
17
17
|
import "../chunk-6JAIFIPW.js";
|
|
18
18
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../chunk-EJDOH7IN.js";
|
|
2
2
|
import {
|
|
3
3
|
MapPreview
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MCJRHF7Z.js";
|
|
5
5
|
import "../chunk-ODFJTEIL.js";
|
|
6
6
|
import "../chunk-7D2C4LK2.js";
|
|
7
7
|
import "../chunk-ZZ4MMUBY.js";
|
|
8
8
|
import "../chunk-VNOFFVRQ.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-4RPFI474.js";
|
|
10
|
+
import "../chunk-K5V6TCYB.js";
|
|
11
|
+
import "../chunk-M4QXG5JP.js";
|
|
12
12
|
import "../chunk-WRCLYSTX.js";
|
|
13
13
|
import "../chunk-4NQXHPQR.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-2WVHZIWP.js";
|
|
15
|
+
import "../chunk-JKIKHWD2.js";
|
|
16
|
+
import "../chunk-CB6DTWD5.js";
|
|
16
17
|
import "../chunk-H2J2MTRE.js";
|
|
17
18
|
import "../chunk-X6AIKCAV.js";
|
|
18
|
-
import "../chunk-CB6DTWD5.js";
|
|
19
19
|
import "../chunk-CGO452DC.js";
|
|
20
20
|
import "../chunk-GDN2LUTZ.js";
|
|
21
21
|
import "../chunk-7FDU3FIN.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-QOB473HS.js";
|
|
2
2
|
import {
|
|
3
3
|
Progress
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-5JEOLUWJ.js";
|
|
4
|
+
} from "../chunk-5OBGW3FG.js";
|
|
6
5
|
import "../chunk-H224XFFD.js";
|
|
7
6
|
import "../chunk-P52LYD6S.js";
|
|
7
|
+
import "../chunk-5JEOLUWJ.js";
|
|
8
8
|
import "../chunk-BLW6KLDR.js";
|
|
9
9
|
import "../chunk-2BYKTBDL.js";
|
|
10
10
|
import "../chunk-AG66JBNH.js";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import "../chunk-ITACE45O.js";
|
|
2
2
|
import {
|
|
3
3
|
Sheet
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MXCIUKTQ.js";
|
|
5
|
+
import "../chunk-LYVTJLCF.js";
|
|
6
|
+
import "../chunk-CRN4KKNI.js";
|
|
5
7
|
import "../chunk-3U3H3BZM.js";
|
|
6
8
|
import "../chunk-EJYJLVPK.js";
|
|
7
9
|
import {
|
|
@@ -10,8 +12,6 @@ import {
|
|
|
10
12
|
SheetHeader,
|
|
11
13
|
SheetOverlay
|
|
12
14
|
} from "../chunk-FPVYD7BO.js";
|
|
13
|
-
import "../chunk-LYVTJLCF.js";
|
|
14
|
-
import "../chunk-CRN4KKNI.js";
|
|
15
15
|
import "../chunk-IM4DMKH4.js";
|
|
16
16
|
import "../chunk-HPK33ACY.js";
|
|
17
17
|
import "../chunk-TCAQOUIB.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-WG2WFANT.js";
|
|
2
2
|
import {
|
|
3
3
|
Table
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2OWKL4CC.js";
|
|
5
|
+
import "../chunk-XIXR2L3L.js";
|
|
5
6
|
import "../chunk-IBGP3VSR.js";
|
|
6
7
|
import "../chunk-BVHIKXCN.js";
|
|
7
8
|
import "../chunk-RZSMRBOX.js";
|
|
8
9
|
import "../chunk-NHEWST3N.js";
|
|
9
|
-
import "../chunk-XIXR2L3L.js";
|
|
10
10
|
import "../chunk-PZBK3F52.js";
|
|
11
11
|
import "../chunk-YKCAJ2TN.js";
|
|
12
12
|
import "../chunk-PZ5AY32C.js";
|
package/dist/feedback/Dialog.js
CHANGED
|
@@ -4,11 +4,12 @@ import {
|
|
|
4
4
|
DialogActions,
|
|
5
5
|
DialogContent,
|
|
6
6
|
DialogHeader
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-MQ277OLB.js";
|
|
8
|
+
import "../chunk-ST7B54JN.js";
|
|
9
|
+
import "../chunk-Z2JH5KW5.js";
|
|
10
10
|
import "../chunk-GVGJMH77.js";
|
|
11
11
|
import "../chunk-GYXUCS37.js";
|
|
12
|
+
import "../chunk-LV7LSPBF.js";
|
|
12
13
|
import "../chunk-TYJR4GOF.js";
|
|
13
14
|
import "../chunk-AKZWDZCZ.js";
|
|
14
15
|
import "../chunk-FQ6UW7IY.js";
|
|
@@ -17,19 +17,20 @@ import {
|
|
|
17
17
|
} from "../chunk-IQU4HKND.js";
|
|
18
18
|
import {
|
|
19
19
|
AppHeaderDetails
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-JYR6VV4Y.js";
|
|
21
|
+
import "../chunk-MXCIUKTQ.js";
|
|
22
|
+
import "../chunk-LYVTJLCF.js";
|
|
23
|
+
import "../chunk-CRN4KKNI.js";
|
|
22
24
|
import "../chunk-3U3H3BZM.js";
|
|
23
25
|
import "../chunk-EJYJLVPK.js";
|
|
24
26
|
import "../chunk-FPVYD7BO.js";
|
|
25
|
-
import "../chunk-LYVTJLCF.js";
|
|
26
|
-
import "../chunk-CRN4KKNI.js";
|
|
27
27
|
import "../chunk-IM4DMKH4.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-MQ277OLB.js";
|
|
29
|
+
import "../chunk-ST7B54JN.js";
|
|
30
|
+
import "../chunk-Z2JH5KW5.js";
|
|
31
31
|
import "../chunk-GVGJMH77.js";
|
|
32
32
|
import "../chunk-GYXUCS37.js";
|
|
33
|
+
import "../chunk-LV7LSPBF.js";
|
|
33
34
|
import "../chunk-HM2JJNUE.js";
|
|
34
35
|
import "../chunk-TAMIZE4Q.js";
|
|
35
36
|
import "../chunk-4WNFOBTH.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AA+IxB,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoExC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAqEpD,CAAC;AA0BF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsBpD,CAAC;AAEJ,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA6BtD,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WHERE INITIAL FOCUS LANDS WHEN A DIALOG OPENS (FUT-2696).
|
|
3
|
+
*
|
|
4
|
+
* MUI's `FocusTrap` focuses ITS OWN root when nothing inside already has
|
|
5
|
+
* focus (`FocusTrap.js`: `if (!rootRef.current.contains(doc.activeElement))
|
|
6
|
+
* … rootRef.current.focus()`). For `MuiDialog` that root is
|
|
7
|
+
* `.MuiDialog-container` — the `role="presentation"` wrapper the Transition
|
|
8
|
+
* clones its ref onto — which sits OUTSIDE the `role="dialog"` paper. A
|
|
9
|
+
* screen reader user landing there hears the page behind the dialog, not the
|
|
10
|
+
* dialog, and the first Tab does not start from the dialog's own controls.
|
|
11
|
+
*
|
|
12
|
+
* The WAI-ARIA APG dialog pattern wants focus INSIDE the dialog on open: the
|
|
13
|
+
* first tabbable descendant of the element carrying `role="dialog"`, or that
|
|
14
|
+
* element itself (given `tabIndex={-1}`, since it is not otherwise reachable
|
|
15
|
+
* by Tab) when it holds nothing focusable.
|
|
16
|
+
*
|
|
17
|
+
* `focusDialogOnEntered` is wired to `TransitionProps.onEntered` /
|
|
18
|
+
* `SlideProps.onEntered` on both renderers rather than to a mount effect,
|
|
19
|
+
* because it needs to run AFTER `FocusTrap`'s own mount effect has already
|
|
20
|
+
* had its turn — `onEntered` fires once the enter transition has finished,
|
|
21
|
+
* well after every mount effect has settled, so there is nothing left to
|
|
22
|
+
* race. A caller's own `autoFocus` on a field inside the dialog already wins
|
|
23
|
+
* against `FocusTrap` for the same reason `FocusTrap` documents: React's
|
|
24
|
+
* `autoFocus` runs synchronously during commit, before `FocusTrap`'s effect
|
|
25
|
+
* even checks whether focus is already inside its root — so by the time this
|
|
26
|
+
* runs, that field is already `contains()`-ed by the dialog and this backs
|
|
27
|
+
* off rather than moving focus away from it.
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Move focus into `target`: its first tabbable descendant, or `target`
|
|
31
|
+
* itself — given `tabIndex={-1}` if it does not already carry one, exactly as
|
|
32
|
+
* `FocusTrap` gives its own root — when nothing inside is focusable.
|
|
33
|
+
*
|
|
34
|
+
* Backs off when focus already sits on a DESCENDANT of `target` other than
|
|
35
|
+
* `target` itself: that is a caller's `autoFocus` (or an explicit `.focus()`
|
|
36
|
+
* of their own) that arrived before this ran, and it keeps winning. Focus
|
|
37
|
+
* already sitting ON `target` (as `FocusTrap` leaves it on the drawer's
|
|
38
|
+
* paper, which is its own trap root) is not a caller's choice, so it does
|
|
39
|
+
* not block a first-tabbable descendant from taking over.
|
|
40
|
+
*/
|
|
41
|
+
export declare function focusFirstTabbable(target: HTMLElement): void;
|
|
42
|
+
/**
|
|
43
|
+
* `node` is what the transition hands back: `.MuiDialog-container` for
|
|
44
|
+
* `ModalDialog` (the paper is a descendant, carrying `role="dialog"`), or the
|
|
45
|
+
* drawer's own paper directly for `DrawerDialog` (`Slide` wraps the paper with
|
|
46
|
+
* no intermediate container, and the paper carries no `role` at all — see
|
|
47
|
+
* `Dialog.md`). Either way, focus the `[role="dialog"]` descendant if there is
|
|
48
|
+
* one, else `node` itself.
|
|
49
|
+
*/
|
|
50
|
+
export declare function focusDialogOnEntered(node: HTMLElement): void;
|
|
51
|
+
//# sourceMappingURL=Dialog.focus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dialog.focus.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.focus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAsBH;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAa5D;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAK5D"}
|
|
@@ -39,5 +39,19 @@ export declare function mergedPaperSlot<O>(look: SxProps<Theme>, testId: string
|
|
|
39
39
|
* silently drop unless it is folded in here.
|
|
40
40
|
*/
|
|
41
41
|
export declare function mergedBackdropSlot<O>(look: SxProps<Theme>, legacy: SlotValue | undefined, slot: Slot<SlotValue, O> | undefined): Slot<SlotValue, O>;
|
|
42
|
+
/** What the transition slot's `onEntered` looks like on either renderer. */
|
|
43
|
+
interface TransitionSlotValue {
|
|
44
|
+
onEntered?: (node: HTMLElement, isAppearing: boolean) => void;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The transition slot: `onFocusEntered` (initial-focus, FUT-2696) runs
|
|
48
|
+
* first, then the deprecated `TransitionProps`/`SlideProps`, then
|
|
49
|
+
* `slotProps.transition` — so a caller's own `onEntered` still runs, and
|
|
50
|
+
* still runs last, meaning it can move focus again if it wants to.
|
|
51
|
+
*
|
|
52
|
+
* No `sx`/`look` here: unlike the paper and the backdrop, the transition slot
|
|
53
|
+
* carries no visual look of the Dialog's own to merge under a caller's.
|
|
54
|
+
*/
|
|
55
|
+
export declare function mergedTransitionSlot<O>(onFocusEntered: (node: HTMLElement, isAppearing: boolean) => void, legacy: TransitionSlotValue | undefined, slot: Slot<TransitionSlotValue, O> | undefined): Slot<TransitionSlotValue, O>;
|
|
42
56
|
export {};
|
|
43
57
|
//# sourceMappingURL=Dialog.slots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.slots.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.slots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpE;;;;;;;;;;;;;GAaG;AACH,UAAU,SAAS;IACjB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,cAAe,SAAQ,SAAS;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,2EAA2E;AAC3E,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AAuC7C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EACpB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,cAAc,GAAG,SAAS,EAClC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,GAAG,SAAS,GACxC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAMzB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EACpB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,SAAS,GACnC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAEpB"}
|
|
1
|
+
{"version":3,"file":"Dialog.slots.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.slots.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpE;;;;;;;;;;;;;GAaG;AACH,UAAU,SAAS;IACjB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,UAAU,cAAe,SAAQ,SAAS;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,2EAA2E;AAC3E,KAAK,IAAI,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;AAuC7C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EACpB,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,MAAM,EAAE,cAAc,GAAG,SAAS,EAClC,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,GAAG,SAAS,GACxC,IAAI,CAAC,cAAc,EAAE,CAAC,CAAC,CAMzB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC,EACpB,MAAM,EAAE,SAAS,GAAG,SAAS,EAC7B,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,GAAG,SAAS,GACnC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAEpB;AAED,4EAA4E;AAC5E,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/D;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,cAAc,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,KAAK,IAAI,EACjE,MAAM,EAAE,mBAAmB,GAAG,SAAS,EACvC,IAAI,EAAE,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,GAAG,SAAS,GAC7C,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,CAY9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAyCnF,oFAAoF;AACpF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,kBAAkB,CAAC;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB;
|
|
1
|
+
{"version":3,"file":"Dialog.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Dialog/Dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAGpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAyCnF,oFAAoF;AACpF,UAAU,mBAAmB;IAC3B,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,kBAAkB,CAAC;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;CAChB;AAqFD,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAAC,KAAK,CAAC,CAsDvF;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO;;;EAKxD"}
|
package/dist/user-avatar.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserAvatar,
|
|
3
3
|
UserMenu
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZWCYSAI5.js";
|
|
5
5
|
import "./chunk-UDQSIRAP.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-66O55OZI.js";
|
|
7
|
+
import "./chunk-3ZVUNSFF.js";
|
|
7
8
|
import "./chunk-Y6C4MYZE.js";
|
|
8
9
|
import "./chunk-MTEQEPNY.js";
|
|
9
10
|
import "./chunk-6ZZGK5DT.js";
|
|
10
|
-
import "./chunk-3ZVUNSFF.js";
|
|
11
11
|
import "./chunk-VUHLNYAE.js";
|
|
12
12
|
import "./chunk-2GSIEDGN.js";
|
|
13
13
|
import "./chunk-WN5PNP6F.js";
|