@12-apps/ui 6.39.2 → 6.39.4
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 +3 -3
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +1 -1
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +1 -1
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +18 -18
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +26 -25
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +3 -2
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +4 -3
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +3 -2
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +4 -4
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +3 -3
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-filter-panel.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +15 -15
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +6 -5
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +4 -4
- 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 +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +4 -4
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +3 -3
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +5 -5
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +2 -2
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.hooks.js +2 -2
- package/dist/_internal/components/data-display/Sheet/Sheet.js +4 -4
- package/dist/_internal/components/data-display/index.js +25 -25
- package/dist/_internal/components/feedback/Dialog/Dialog.js +2 -1
- package/dist/_internal/components/feedback/Dialog/Dialog.paper.js +8 -0
- package/dist/_internal/components/feedback/Dialog/Dialog.paper.js.map +1 -0
- package/dist/_internal/components/feedback/index.js +5 -4
- package/dist/_internal/components/index.js +33 -32
- package/dist/_internal/components/layout/Separator/Separator.js +2 -2
- package/dist/_internal/components/layout/Separator/Separator.styles.js +3 -1
- package/dist/_internal/components/layout/index.js +2 -2
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +7 -6
- package/dist/_internal/components/navigation/index.js +7 -6
- package/dist/_internal/social-login-button/social-login-button.js +3 -3
- package/dist/_internal/user-avatar/user-avatar.js +4 -4
- package/dist/charts.js +6 -6
- package/dist/{chunk-FX26DAFF.js → chunk-3OBC6BOV.js} +2 -2
- package/dist/{chunk-KRQUPE4K.js → chunk-4CXCOR6F.js} +5 -5
- package/dist/{chunk-LYVTJLCF.js → chunk-56JF5PZK.js} +4 -4
- package/dist/{chunk-3FNXOCBD.js → chunk-5CQ5HYJW.js} +2 -2
- package/dist/{chunk-D2UDM2SU.js → chunk-6QXFBZ7Q.js} +4 -4
- package/dist/{chunk-I3F4C5SS.js → chunk-7RRXLCOO.js} +2 -2
- package/dist/{chunk-27LOJVR3.js → chunk-ASYR22BJ.js} +2 -2
- package/dist/{chunk-JCL7WK4G.js → chunk-BSUG4KMP.js} +7 -7
- package/dist/{chunk-QA2ZGCRL.js → chunk-CTKQCKRD.js} +2 -2
- package/dist/{chunk-CSN3F36H.js → chunk-DIM6SUGY.js} +4 -4
- package/dist/{chunk-PCBZYORN.js → chunk-EDKLXA5W.js} +5 -5
- package/dist/{chunk-PGPPN63I.js → chunk-EMEXXAQI.js} +2 -2
- package/dist/{chunk-4OAKGKK5.js → chunk-F4WFUQYR.js} +5 -5
- package/dist/{chunk-LCHCE2G5.js → chunk-FWSMIUWA.js} +2 -2
- package/dist/{chunk-CPWWMGYR.js → chunk-G62KCU3D.js} +2 -2
- package/dist/{chunk-R6SBP5M5.js → chunk-GOWBYHYW.js} +4 -4
- package/dist/{chunk-BFMDA6UO.js → chunk-GWEENWIS.js} +2 -2
- package/dist/{chunk-EHYI2WCJ.js → chunk-ISFFETTG.js} +4 -4
- package/dist/{chunk-4OW4O4A2.js → chunk-JBI7ITL2.js} +5 -5
- package/dist/{chunk-SKT2V2OX.js → chunk-JQWAANGN.js} +2 -2
- package/dist/{chunk-J5VWGQSR.js → chunk-K6VKL62Z.js} +2 -2
- package/dist/{chunk-GLHNMTP6.js → chunk-KAIUDBHM.js} +5 -5
- package/dist/{chunk-SV6JGFHG.js → chunk-KBZFBHLO.js} +3 -3
- package/dist/{chunk-HBRQPG7H.js → chunk-MYWROMGO.js} +2 -2
- package/dist/{chunk-EQXIW5MQ.js → chunk-O4AHF45C.js} +4 -4
- package/dist/{chunk-KXLUMEDX.js → chunk-QTNHAX2Z.js} +3 -3
- package/dist/{chunk-QB3TVUPD.js → chunk-R3JYC63P.js} +8 -8
- package/dist/{chunk-D46SLMCX.js → chunk-SYNB3IIB.js} +12 -1
- package/dist/chunk-SYNB3IIB.js.map +1 -0
- package/dist/{chunk-4ALF5PB5.js → chunk-SZ3YFVO5.js} +4 -4
- package/dist/{chunk-DDRKYNPB.js → chunk-TFMDZQK4.js} +4 -4
- package/dist/{chunk-H67EL3CG.js → chunk-TKKQ7RGT.js} +2 -2
- package/dist/{chunk-PRIBOWX4.js → chunk-U4O47P6S.js} +3 -3
- package/dist/{chunk-GVH7C2PT.js → chunk-UEROWH53.js} +20 -12
- package/dist/chunk-UEROWH53.js.map +1 -0
- package/dist/{chunk-GLFTIGOF.js → chunk-UITQ7KMK.js} +2 -2
- package/dist/{chunk-SBIZXZPP.js → chunk-W7F2QIAT.js} +2 -2
- package/dist/{chunk-DUBTI4DI.js → chunk-WHQKH57H.js} +3 -3
- package/dist/{chunk-74P3YX7R.js → chunk-X4ZRPE37.js} +2 -2
- package/dist/{chunk-IG23YZZR.js → chunk-XSSCSRUX.js} +7 -4
- package/dist/chunk-XSSCSRUX.js.map +1 -0
- package/dist/chunk-Y4O4DITI.js +25 -0
- package/dist/chunk-Y4O4DITI.js.map +1 -0
- package/dist/{chunk-TNQDSTIA.js → chunk-Y6C4MYZE.js} +7 -7
- package/dist/{chunk-F44R7US6.js → chunk-YOJASBHJ.js} +2 -2
- package/dist/data-display/Avatar.js +3 -3
- package/dist/data-display/CardKit.js +8 -8
- package/dist/data-display/Chart.js +6 -6
- package/dist/data-display/DataViews.js +35 -34
- package/dist/data-display/FleetMap.js +5 -5
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/MapPreview.js +2 -2
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/Sheet.js +4 -4
- package/dist/feedback/ConfirmAction.js +3 -3
- package/dist/feedback/Dialog.js +2 -1
- package/dist/layout/Separator.js +2 -2
- package/dist/navigation/AppHeader.js +7 -6
- package/dist/social-login-button.js +3 -3
- package/dist/types/components/feedback/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/components/feedback/Dialog/Dialog.paper.d.ts +31 -0
- package/dist/types/components/feedback/Dialog/Dialog.paper.d.ts.map +1 -0
- package/dist/types/components/layout/Separator/Separator.d.ts.map +1 -1
- package/dist/types/components/layout/Separator/Separator.styles.d.ts +21 -0
- package/dist/types/components/layout/Separator/Separator.styles.d.ts.map +1 -1
- package/dist/user-avatar.js +4 -4
- package/package.json +1 -1
- package/src/components/feedback/Dialog/Dialog.paper.ts +64 -0
- package/src/components/feedback/Dialog/Dialog.tsx +12 -11
- package/src/components/layout/Separator/Separator.styles.ts +32 -0
- package/src/components/layout/Separator/Separator.tsx +4 -2
- package/dist/chunk-D46SLMCX.js.map +0 -1
- package/dist/chunk-GVH7C2PT.js.map +0 -1
- package/dist/chunk-IG23YZZR.js.map +0 -1
- /package/dist/{chunk-FX26DAFF.js.map → chunk-3OBC6BOV.js.map} +0 -0
- /package/dist/{chunk-KRQUPE4K.js.map → chunk-4CXCOR6F.js.map} +0 -0
- /package/dist/{chunk-LYVTJLCF.js.map → chunk-56JF5PZK.js.map} +0 -0
- /package/dist/{chunk-3FNXOCBD.js.map → chunk-5CQ5HYJW.js.map} +0 -0
- /package/dist/{chunk-D2UDM2SU.js.map → chunk-6QXFBZ7Q.js.map} +0 -0
- /package/dist/{chunk-I3F4C5SS.js.map → chunk-7RRXLCOO.js.map} +0 -0
- /package/dist/{chunk-27LOJVR3.js.map → chunk-ASYR22BJ.js.map} +0 -0
- /package/dist/{chunk-JCL7WK4G.js.map → chunk-BSUG4KMP.js.map} +0 -0
- /package/dist/{chunk-QA2ZGCRL.js.map → chunk-CTKQCKRD.js.map} +0 -0
- /package/dist/{chunk-CSN3F36H.js.map → chunk-DIM6SUGY.js.map} +0 -0
- /package/dist/{chunk-PCBZYORN.js.map → chunk-EDKLXA5W.js.map} +0 -0
- /package/dist/{chunk-PGPPN63I.js.map → chunk-EMEXXAQI.js.map} +0 -0
- /package/dist/{chunk-4OAKGKK5.js.map → chunk-F4WFUQYR.js.map} +0 -0
- /package/dist/{chunk-LCHCE2G5.js.map → chunk-FWSMIUWA.js.map} +0 -0
- /package/dist/{chunk-CPWWMGYR.js.map → chunk-G62KCU3D.js.map} +0 -0
- /package/dist/{chunk-R6SBP5M5.js.map → chunk-GOWBYHYW.js.map} +0 -0
- /package/dist/{chunk-BFMDA6UO.js.map → chunk-GWEENWIS.js.map} +0 -0
- /package/dist/{chunk-EHYI2WCJ.js.map → chunk-ISFFETTG.js.map} +0 -0
- /package/dist/{chunk-4OW4O4A2.js.map → chunk-JBI7ITL2.js.map} +0 -0
- /package/dist/{chunk-SKT2V2OX.js.map → chunk-JQWAANGN.js.map} +0 -0
- /package/dist/{chunk-J5VWGQSR.js.map → chunk-K6VKL62Z.js.map} +0 -0
- /package/dist/{chunk-GLHNMTP6.js.map → chunk-KAIUDBHM.js.map} +0 -0
- /package/dist/{chunk-SV6JGFHG.js.map → chunk-KBZFBHLO.js.map} +0 -0
- /package/dist/{chunk-HBRQPG7H.js.map → chunk-MYWROMGO.js.map} +0 -0
- /package/dist/{chunk-EQXIW5MQ.js.map → chunk-O4AHF45C.js.map} +0 -0
- /package/dist/{chunk-KXLUMEDX.js.map → chunk-QTNHAX2Z.js.map} +0 -0
- /package/dist/{chunk-QB3TVUPD.js.map → chunk-R3JYC63P.js.map} +0 -0
- /package/dist/{chunk-4ALF5PB5.js.map → chunk-SZ3YFVO5.js.map} +0 -0
- /package/dist/{chunk-DDRKYNPB.js.map → chunk-TFMDZQK4.js.map} +0 -0
- /package/dist/{chunk-H67EL3CG.js.map → chunk-TKKQ7RGT.js.map} +0 -0
- /package/dist/{chunk-PRIBOWX4.js.map → chunk-U4O47P6S.js.map} +0 -0
- /package/dist/{chunk-GLFTIGOF.js.map → chunk-UITQ7KMK.js.map} +0 -0
- /package/dist/{chunk-SBIZXZPP.js.map → chunk-W7F2QIAT.js.map} +0 -0
- /package/dist/{chunk-DUBTI4DI.js.map → chunk-WHQKH57H.js.map} +0 -0
- /package/dist/{chunk-74P3YX7R.js.map → chunk-X4ZRPE37.js.map} +0 -0
- /package/dist/{chunk-TNQDSTIA.js.map → chunk-Y6C4MYZE.js.map} +0 -0
- /package/dist/{chunk-F44R7US6.js.map → chunk-YOJASBHJ.js.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
panelSx
|
|
3
|
-
} from "./chunk-EJYJLVPK.js";
|
|
4
|
-
import {
|
|
5
|
-
useSheetDrag,
|
|
6
|
-
useSheetOpen
|
|
7
|
-
} from "./chunk-LYVTJLCF.js";
|
|
8
1
|
import {
|
|
9
2
|
SheetBody
|
|
10
3
|
} from "./chunk-3U3H3BZM.js";
|
|
4
|
+
import {
|
|
5
|
+
panelSx
|
|
6
|
+
} from "./chunk-EJYJLVPK.js";
|
|
11
7
|
import {
|
|
12
8
|
SheetOverlay
|
|
13
9
|
} from "./chunk-FPVYD7BO.js";
|
|
10
|
+
import {
|
|
11
|
+
useSheetDrag,
|
|
12
|
+
useSheetOpen
|
|
13
|
+
} from "./chunk-56JF5PZK.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_DRAG_RESISTANCE,
|
|
16
16
|
DEFAULT_VELOCITY_THRESHOLD,
|
|
@@ -124,4 +124,4 @@ var Sheet = (props) => {
|
|
|
124
124
|
export {
|
|
125
125
|
Sheet
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-R3JYC63P.js.map
|
|
@@ -70,6 +70,16 @@ var ruleLength = (theme, length) => {
|
|
|
70
70
|
if (typeof length === "string") return length;
|
|
71
71
|
return length <= 1 ? `${length * 100}%` : rem(theme, length);
|
|
72
72
|
};
|
|
73
|
+
var labelledSeparatorLayout = (theme, isHorizontal, length) => {
|
|
74
|
+
if (isHorizontal) return { rule: {}, group: {} };
|
|
75
|
+
if (length) return { rule: { flex: "none" }, group: {} };
|
|
76
|
+
return {
|
|
77
|
+
// A design 16px, as long as the gap beside the label at the default
|
|
78
|
+
// spacing, so a short or unsized row still shows two rules and not a word.
|
|
79
|
+
rule: { flex: "1 1 0", minHeight: rem(theme, 16) },
|
|
80
|
+
group: { alignSelf: "stretch" }
|
|
81
|
+
};
|
|
82
|
+
};
|
|
73
83
|
var separatorStyles = (theme, { variant, orientation, size, color, blockMargin, length }) => {
|
|
74
84
|
const isHorizontal = orientation === "horizontal";
|
|
75
85
|
const thicknessPx = separatorThickness(size);
|
|
@@ -100,6 +110,7 @@ var separatorStyles = (theme, { variant, orientation, size, color, blockMargin,
|
|
|
100
110
|
export {
|
|
101
111
|
separatorMargin,
|
|
102
112
|
separatorBlockMargin,
|
|
113
|
+
labelledSeparatorLayout,
|
|
103
114
|
separatorStyles
|
|
104
115
|
};
|
|
105
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-SYNB3IIB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/layout/Separator/Separator.styles.ts"],"sourcesContent":["import type { CSSObject, Theme } from '@mui/material/styles/index.js';\n\nimport type {\n SeparatorOrientation,\n SeparatorProps,\n SeparatorSize,\n SeparatorVariant,\n} from './Separator.types';\nimport { FIELD_BORDER_WIDTH } from '../../../tokens/field-height.core';\nimport { rem } from '../../../tokens/relative';\n\nconst THICKNESS_PX: Record<SeparatorSize, number> = {\n xs: 1,\n sm: 2,\n md: 3,\n lg: 4,\n xl: 6,\n};\n\nconst MARGIN_PX: Record<SeparatorSize, number> = {\n xs: 4,\n sm: 8,\n md: 16,\n lg: 24,\n xl: 32,\n};\n\nconst separatorThickness = (size: SeparatorSize): number =>\n THICKNESS_PX[size] ?? THICKNESS_PX.md;\n\n/** An explicit `margin` wins; otherwise the size picks one. */\nexport const separatorMargin = (\n size: SeparatorSize,\n margin?: number | string,\n): number | string => margin ?? MARGIN_PX[size] ?? MARGIN_PX.md;\n\n// `gradient` paints a background rather than a border, so it draws its line as a\n// solid border of zero visual consequence.\nconst borderStyleFor = (variant: SeparatorVariant): 'dashed' | 'dotted' | 'solid' => {\n switch (variant) {\n case 'dashed':\n return 'dashed';\n case 'dotted':\n return 'dotted';\n default:\n return 'solid';\n }\n};\n\nconst gradientBackground = (\n variant: SeparatorVariant,\n orientation: SeparatorOrientation,\n color: string,\n): string | undefined => {\n if (variant !== 'gradient') return undefined;\n const angle = orientation === 'horizontal' ? '90deg' : '180deg';\n return `linear-gradient(${angle}, transparent 0%, ${color} 50%, transparent 100%)`;\n};\n\n// Only the leading edge carries the rule; the other three are zeroed explicitly so\n// a parent's border shorthand cannot leak through.\nconst borderEdges = (\n isHorizontal: boolean,\n thickness: string,\n style: 'dashed' | 'dotted' | 'solid',\n color: string,\n): CSSObject => {\n const leading = isHorizontal ? 'Top' : 'Left';\n const blank: CSSObject = {\n borderTopWidth: 0,\n borderBottomWidth: 0,\n borderLeftWidth: 0,\n borderRightWidth: 0,\n borderTopStyle: 'none',\n borderBottomStyle: 'none',\n borderLeftStyle: 'none',\n borderRightStyle: 'none',\n borderTopColor: 'transparent',\n borderBottomColor: 'transparent',\n borderLeftColor: 'transparent',\n borderRightColor: 'transparent',\n };\n\n return {\n ...blank,\n [`border${leading}Width`]: thickness,\n [`border${leading}Style`]: style,\n [`border${leading}Color`]: color,\n };\n};\n\ntype SeparatorStyleArgs = Required<\n Pick<SeparatorProps, 'variant' | 'orientation' | 'size'>\n> &\n Pick<SeparatorProps, 'color' | 'length'> & {\n /** From {@link separatorBlockMargin}, which both the plain and the labelled separator read. */\n blockMargin: string;\n };\n\n/**\n * The separator's margin, on the axis it separates along only: above and below\n * a horizontal rule, either side of a vertical one. A margin given as a string\n * carries its own units; a number is design px, through the type scale.\n *\n * The LABELLED separator uses this too. It used to hand the number straight to\n * `sx.margin`, where a number is SPACING UNITS — `md`'s 16 drew 128px on all\n * four sides, against 16px above and below for the unlabelled one.\n */\nexport const separatorBlockMargin = (\n theme: Theme,\n size: SeparatorSize,\n margin: number | string | undefined,\n isHorizontal: boolean,\n): string => {\n const value = separatorMargin(size, margin);\n const length = typeof value === 'string' ? value : rem(theme, value);\n return isHorizontal ? `${length} 0` : `0 ${length}`;\n};\n\n/**\n * The rule's extent along its axis. It lands in `sx`, which reads a number of 1\n * or less as a fraction of the parent, and that stays so; any other number is\n * design px, through the type scale. Unset (or `0`/`''`) is the full run.\n */\nconst ruleLength = (theme: Theme, length: SeparatorProps['length']): string => {\n if (!length) return '100%';\n if (typeof length === 'string') return length;\n return length <= 1 ? `${length * 100}%` : rem(theme, length);\n};\n\n/**\n * What a labelled separator's rules add to {@link separatorStyles}, and whether\n * the group stretches to its parent (FUT-2617).\n *\n * A labelled VERTICAL separator is a flex COLUMN — rule, label, rule — and with\n * no `length` each rule is `height: 100%` of a column whose height is its own\n * content: both resolved to 0px and only the label showed. So the column\n * stretches to the row it sits in and the two rules split what the label\n * leaves, equally (`flex: 1 1 0`), never shorter than a visible minimum. With a\n * `length` the rule is exactly that long: no grow, no shrink, no basis, and the\n * column keeps its content height, centred as before.\n *\n * Only the labelled branch reads this. The plain separator keeps\n * `separatorStyles` as is, since `flex: 1 1 0` there would widen a vertical\n * separator sitting in a row. The horizontal rules already shrink around the\n * label in their row, so they are left alone.\n */\nexport const labelledSeparatorLayout = (\n theme: Theme,\n isHorizontal: boolean,\n length: SeparatorProps['length'],\n): { rule: CSSObject; group: CSSObject } => {\n if (isHorizontal) return { rule: {}, group: {} };\n if (length) return { rule: { flex: 'none' }, group: {} };\n return {\n // A design 16px, as long as the gap beside the label at the default\n // spacing, so a short or unsized row still shows two rules and not a word.\n rule: { flex: '1 1 0', minHeight: rem(theme, 16) },\n group: { alignSelf: 'stretch' },\n };\n};\n\nexport const separatorStyles = (\n theme: Theme,\n { variant, orientation, size, color, blockMargin, length }: SeparatorStyleArgs,\n): CSSObject => {\n const isHorizontal = orientation === 'horizontal';\n // `xs` is the 1px hairline: it stays one device-independent pixel at every\n // root size, like every other hairline in the package; heavier rules scale.\n const thicknessPx = separatorThickness(size);\n const thickness = thicknessPx === FIELD_BORDER_WIDTH ? `${FIELD_BORDER_WIDTH}px` : rem(theme, thicknessPx);\n const along = ruleLength(theme, length);\n const resolvedColor = color || theme.palette.divider;\n\n const baseStyles: CSSObject = {\n display: 'flex',\n alignItems: 'center',\n margin: blockMargin,\n width: isHorizontal ? along : thickness,\n height: isHorizontal ? thickness : along,\n boxSizing: 'border-box',\n };\n\n if (variant === 'gradient') {\n return {\n ...baseStyles,\n background: gradientBackground(variant, orientation, resolvedColor),\n };\n }\n\n return {\n ...baseStyles,\n backgroundColor: 'transparent',\n ...borderEdges(isHorizontal, thickness, borderStyleFor(variant), resolvedColor),\n };\n};\n"],"mappings":";;;;;;;;AAWA,IAAM,eAA8C;AAAA,EAClD,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,IAAM,YAA2C;AAAA,EAC/C,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,IAAM,qBAAqB,CAAC,SAC1B,aAAa,IAAI,KAAK,aAAa;AAG9B,IAAM,kBAAkB,CAC7B,MACA,WACoB,UAAU,UAAU,IAAI,KAAK,UAAU;AAI7D,IAAM,iBAAiB,CAAC,YAA6D;AACnF,UAAQ,SAAS;AAAA,IACf,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEA,IAAM,qBAAqB,CACzB,SACA,aACA,UACuB;AACvB,MAAI,YAAY,WAAY,QAAO;AACnC,QAAM,QAAQ,gBAAgB,eAAe,UAAU;AACvD,SAAO,mBAAmB,KAAK,qBAAqB,KAAK;AAC3D;AAIA,IAAM,cAAc,CAClB,cACA,WACA,OACA,UACc;AACd,QAAM,UAAU,eAAe,QAAQ;AACvC,QAAM,QAAmB;AAAA,IACvB,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,mBAAmB;AAAA,IACnB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB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C,QAAM,gBAAgB,SAAS,MAAM,QAAQ;AAE7C,QAAM,aAAwB;AAAA,IAC5B,SAAS;AAAA,IACT,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,OAAO,eAAe,QAAQ;AAAA,IAC9B,QAAQ,eAAe,YAAY;AAAA,IACnC,WAAW;AAAA,EACb;AAEA,MAAI,YAAY,YAAY;AAC1B,WAAO;AAAA,MACL,GAAG;AAAA,MACH,YAAY,mBAAmB,SAAS,aAAa,aAAa;AAAA,IACpE;AAAA,EACF;AAEA,SAAO;AAAA,IACL,GAAG;AAAA,IACH,iBAAiB;AAAA,IACjB,GAAG,YAAY,cAAc,WAAW,eAAe,OAAO,GAAG,aAAa;AAAA,EAChF;AACF;","names":[]}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeleteViewDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWEENWIS.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsGrid
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-U4O47P6S.js";
|
|
7
7
|
import {
|
|
8
8
|
viewStateKey
|
|
9
9
|
} from "./chunk-ZOLAYP2D.js";
|
|
10
10
|
import {
|
|
11
11
|
ViewDialogs,
|
|
12
12
|
ViewMutationErrorAlert
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QTNHAX2Z.js";
|
|
14
14
|
import {
|
|
15
15
|
useSavedViewsController
|
|
16
16
|
} from "./chunk-HR7YTBR7.js";
|
|
@@ -178,4 +178,4 @@ function renderViewDialogs(ctl, fields, columns, views, testIdPrefix, onSaved) {
|
|
|
178
178
|
export {
|
|
179
179
|
DataViewsTableBase
|
|
180
180
|
};
|
|
181
|
-
//# sourceMappingURL=chunk-
|
|
181
|
+
//# sourceMappingURL=chunk-SZ3YFVO5.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ColumnsTab
|
|
3
|
-
} from "./chunk-R2XVTUVR.js";
|
|
4
1
|
import {
|
|
5
2
|
DisplayTab,
|
|
6
3
|
SortTab
|
|
7
4
|
} from "./chunk-YCCY77W5.js";
|
|
5
|
+
import {
|
|
6
|
+
ColumnsTab
|
|
7
|
+
} from "./chunk-R2XVTUVR.js";
|
|
8
8
|
import {
|
|
9
9
|
ViewActions,
|
|
10
10
|
ViewFooter,
|
|
@@ -265,4 +265,4 @@ function DataViewsDisplayPanel({
|
|
|
265
265
|
export {
|
|
266
266
|
DataViewsDisplayPanel
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=chunk-
|
|
268
|
+
//# sourceMappingURL=chunk-TFMDZQK4.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4GWHYLEB.js";
|
|
4
4
|
import {
|
|
5
5
|
PanelRangeField
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BSUG4KMP.js";
|
|
7
7
|
import {
|
|
8
8
|
useDataViewsCopy
|
|
9
9
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -157,4 +157,4 @@ export {
|
|
|
157
157
|
GridFilterPanel,
|
|
158
158
|
FilterDialog
|
|
159
159
|
};
|
|
160
|
-
//# sourceMappingURL=chunk-
|
|
160
|
+
//# sourceMappingURL=chunk-TKKQ7RGT.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KAIUDBHM.js";
|
|
4
4
|
import {
|
|
5
5
|
useDataViewsState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EDKLXA5W.js";
|
|
7
7
|
|
|
8
8
|
// src/components/data-display/DataViews/DataViewsGrid.tsx
|
|
9
9
|
import { useEffect, useRef } from "react";
|
|
@@ -27,4 +27,4 @@ function DataViewsGrid(props) {
|
|
|
27
27
|
export {
|
|
28
28
|
DataViewsGrid
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-U4O47P6S.js.map
|
|
@@ -2,6 +2,9 @@ import {
|
|
|
2
2
|
backdropSxOf,
|
|
3
3
|
variantStylesOf
|
|
4
4
|
} from "./chunk-2WU52FLP.js";
|
|
5
|
+
import {
|
|
6
|
+
mergedPaperSlot
|
|
7
|
+
} from "./chunk-Y4O4DITI.js";
|
|
5
8
|
import {
|
|
6
9
|
DIALOG_ACTIONS,
|
|
7
10
|
DIALOG_BODY_PADDING_UNITS,
|
|
@@ -46,23 +49,20 @@ function bodyOf(children, hasTitle) {
|
|
|
46
49
|
const pt = hasTitle ? DIALOG_BODY_PADDING_UNITS.topUnderTitle : DIALOG_BODY_PADDING_UNITS.top;
|
|
47
50
|
return /* @__PURE__ */ jsx(Box, { sx: { ...BODY_SX, pt }, children });
|
|
48
51
|
}
|
|
49
|
-
function withCallerSx(own, caller) {
|
|
50
|
-
return [own, ...Array.isArray(caller) ? caller : caller === void 0 ? [] : [caller]];
|
|
51
|
-
}
|
|
52
52
|
function DrawerDialog({
|
|
53
53
|
paperSx,
|
|
54
54
|
testId,
|
|
55
55
|
drawerProps,
|
|
56
56
|
children
|
|
57
57
|
}) {
|
|
58
|
-
const { PaperProps: callerPaper, ...rest } = drawerProps;
|
|
58
|
+
const { PaperProps: callerPaper, slotProps, ...rest } = drawerProps;
|
|
59
59
|
return /* @__PURE__ */ jsx(
|
|
60
60
|
Drawer,
|
|
61
61
|
{
|
|
62
62
|
anchor: "right",
|
|
63
63
|
"data-testid": testId,
|
|
64
64
|
...rest,
|
|
65
|
-
|
|
65
|
+
slotProps: { ...slotProps, paper: mergedPaperSlot(paperSx, void 0, callerPaper, slotProps?.paper) },
|
|
66
66
|
children
|
|
67
67
|
}
|
|
68
68
|
);
|
|
@@ -88,7 +88,7 @@ var Dialog = (rawProps) => {
|
|
|
88
88
|
} = withDialogDefaults(rawProps);
|
|
89
89
|
const theme = useTheme();
|
|
90
90
|
const testId = resolveTestId(others, "dialog");
|
|
91
|
-
const props = withoutTestIdProps(others);
|
|
91
|
+
const { PaperProps: callerPaper, slotProps, ...props } = withoutTestIdProps(others);
|
|
92
92
|
const paperSx = variantStylesOf(theme, {
|
|
93
93
|
variant,
|
|
94
94
|
size,
|
|
@@ -116,10 +116,18 @@ var Dialog = (rawProps) => {
|
|
|
116
116
|
) : null;
|
|
117
117
|
const body = bodyOf(children, Boolean(title));
|
|
118
118
|
if (variant === "drawer") {
|
|
119
|
-
return /* @__PURE__ */ jsxs(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
return /* @__PURE__ */ jsxs(
|
|
120
|
+
DrawerDialog,
|
|
121
|
+
{
|
|
122
|
+
paperSx,
|
|
123
|
+
testId,
|
|
124
|
+
drawerProps: { ...props, PaperProps: callerPaper, slotProps, open, onClose },
|
|
125
|
+
children: [
|
|
126
|
+
header,
|
|
127
|
+
body
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
);
|
|
123
131
|
}
|
|
124
132
|
return /* @__PURE__ */ jsxs(
|
|
125
133
|
MuiDialog,
|
|
@@ -129,8 +137,8 @@ var Dialog = (rawProps) => {
|
|
|
129
137
|
fullScreen: variant === "fullscreen",
|
|
130
138
|
BackdropComponent: backdrop ? Backdrop : void 0,
|
|
131
139
|
BackdropProps: { sx: backdropSxOf(theme, glass) },
|
|
132
|
-
PaperProps: { sx: paperSx, "data-testid": testId },
|
|
133
140
|
...props,
|
|
141
|
+
slotProps: { ...slotProps, paper: mergedPaperSlot(paperSx, testId, callerPaper, slotProps?.paper) },
|
|
134
142
|
children: [
|
|
135
143
|
header,
|
|
136
144
|
body
|
|
@@ -270,4 +278,4 @@ export {
|
|
|
270
278
|
DialogContent,
|
|
271
279
|
DialogActions
|
|
272
280
|
};
|
|
273
|
-
//# sourceMappingURL=chunk-
|
|
281
|
+
//# sourceMappingURL=chunk-UEROWH53.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/feedback/Dialog/Dialog.tsx"],"sourcesContent":["import CloseIcon from '@mui/icons-material/Close';\nimport Backdrop from '@mui/material/Backdrop/index.js';\nimport Box from '@mui/material/Box/index.js';\nimport MuiDialog from '@mui/material/Dialog/index.js';\nimport MuiDialogActions from '@mui/material/DialogActions/index.js';\nimport MuiDialogContent from '@mui/material/DialogContent/index.js';\nimport MuiDialogTitle from '@mui/material/DialogTitle/index.js';\nimport Drawer, { type DrawerProps } from '@mui/material/Drawer/index.js';\nimport IconButton from '@mui/material/IconButton/index.js';\nimport Typography from '@mui/material/Typography/index.js';\nimport { useTheme, type SxProps, type Theme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { hasSpacingSlot, withDialogDefaults } from './Dialog.helpers';\nimport {\n DIALOG_ACTIONS,\n DIALOG_BODY_PADDING_UNITS,\n DIALOG_CONTENT_PADDING_UNITS,\n DIALOG_HEADER_CHILDREN_PADDING_UNITS,\n DIALOG_TITLE,\n DIALOG_TITLED_BODY_PADDING_TOP_UNITS,\n} from './Dialog.metrics';\nimport { mergedPaperSlot } from './Dialog.paper';\nimport { backdropSxOf, variantStylesOf } from './Dialog.styles';\nimport { childTestId, resolveTestId, slotTestId, withoutTestIdProps } from '../../../platform/test-id';\nimport type {\n DialogActionsProps,\n DialogContentProps,\n DialogHeaderProps,\n DialogProps,\n} from './Dialog.types';\n\n/**\n * The padding a dialog gives children that are not managing their own — and the\n * rule that takes it back when it turns out they are.\n *\n * `:has()` is doing what {@link hasSpacingSlot} cannot. A slot passed through a\n * COMPONENT (`<Body />` rendering a `DialogContent`) is invisible to any check\n * on element type: React does not know what a component renders until it has\n * rendered it, and by then the wrapper is already in the tree. The selector\n * asks the question one step later, of the DOM, where the answer exists.\n *\n * `display: contents` rather than `padding: 0`, because the padding is only\n * half of what a wrapper does. The other half is standing between the paper and\n * its children: MUI's `scroll=\"paper\"` makes the paper a flex column with\n * `overflow-y: auto`, so a `DialogContent` that is no longer its direct child\n * cannot be the thing that scrolls — the whole dialog scrolls instead and\n * carries the `DialogActions` off the bottom with it. An element with\n * `display: contents` generates no box at all: its children become the paper's\n * flex items, and its padding is never applied. Both halves, one declaration.\n *\n * A browser without `:has()` falls back to the padded box — the layout this\n * had before, not a broken one.\n */\nconst BODY_SX = {\n px: DIALOG_BODY_PADDING_UNITS.horizontal,\n pb: DIALOG_BODY_PADDING_UNITS.bottom,\n '&:has(> .MuiDialogContent-root), &:has(> .MuiDialogActions-root)': {\n display: 'contents',\n },\n} as const;\n\n/**\n * The dialog body. Consumers that pass raw children (no <DialogContent>) used\n * to render them flush against the paper edges — give them comfortable default\n * padding; <DialogContent>/<DialogActions> users keep managing their own\n * spacing.\n */\nfunction bodyOf(children: React.ReactNode, hasTitle: boolean): React.ReactNode {\n // Read lazily: both slots are declared below this function.\n if (hasSpacingSlot(children, [DialogContent, DialogActions])) return children;\n const pt = hasTitle\n ? DIALOG_BODY_PADDING_UNITS.topUnderTitle\n : DIALOG_BODY_PADDING_UNITS.top;\n return <Box sx={{ ...BODY_SX, pt }}>{children}</Box>;\n}\n\n/**\n * The drawer variant: MUI's `Drawer`, with the variant's look on the Drawer's\n * OWN paper — on an inner Box it left the paper 0px wide and clipped the panel —\n * and a caller's paper props merged over it rather than replacing it. The\n * test id stays on the Drawer root, so the paper carries none of its own.\n */\nfunction DrawerDialog({\n paperSx,\n testId,\n drawerProps,\n children,\n}: {\n paperSx: SxProps<Theme>;\n testId: string | undefined;\n drawerProps: DrawerProps;\n children: React.ReactNode;\n}) {\n const { PaperProps: callerPaper, slotProps, ...rest } = drawerProps;\n return (\n <Drawer\n anchor=\"right\"\n data-testid={testId}\n {...rest}\n slotProps={{ ...slotProps, paper: mergedPaperSlot(paperSx, undefined, callerPaper, slotProps?.paper) }}\n >\n {children}\n </Drawer>\n );\n}\n\nexport const Dialog: React.FC<DialogProps> = (rawProps) => {\n const {\n children,\n variant,\n size,\n title,\n description,\n showCloseButton,\n backdrop,\n persistent,\n glass,\n gradient,\n glow,\n pulse,\n borderRadius,\n onClose,\n open,\n ...others\n } = withDialogDefaults(rawProps);\n const theme = useTheme();\n // Every spelling of the test id the shared contract allows, mapped to the one\n // the DOM reads, and stripped from what is spread — `testID` is React\n // Native's name for it and is not a DOM attribute. The native `Dialog` does\n // the same in reverse.\n const testId = resolveTestId(others, 'dialog');\n const { PaperProps: callerPaper, slotProps, ...props } = withoutTestIdProps(others);\n const paperSx = variantStylesOf(theme, {\n variant, size, borderRadius, glass, gradient, glow, pulse,\n });\n\n const handleClose = (event: object, reason: 'backdropClick' | 'escapeKeyDown') => {\n if (persistent && (reason === 'backdropClick' || reason === 'escapeKeyDown')) {\n return;\n }\n onClose?.();\n };\n\n const header = title ? (\n <DialogHeader\n title={title}\n subtitle={description}\n showCloseButton={showCloseButton}\n onClose={onClose}\n dataTestId={testId}\n />\n ) : null;\n const body = bodyOf(children, Boolean(title));\n\n if (variant === 'drawer') {\n return (\n <DrawerDialog\n paperSx={paperSx}\n testId={testId}\n drawerProps={{ ...props, PaperProps: callerPaper, slotProps, open, onClose }}\n >\n {header}\n {body}\n </DrawerDialog>\n );\n }\n\n return (\n <MuiDialog\n open={open}\n onClose={handleClose}\n fullScreen={variant === 'fullscreen'}\n BackdropComponent={backdrop ? Backdrop : undefined}\n BackdropProps={{ sx: backdropSxOf(theme, glass) }}\n {...props}\n slotProps={{ ...slotProps, paper: mergedPaperSlot(paperSx, testId, callerPaper, slotProps?.paper) }}\n >\n {header}\n {body}\n </MuiDialog>\n );\n};\n\nexport const DialogHeader: React.FC<DialogHeaderProps> = ({\n children,\n title,\n subtitle,\n showCloseButton = true,\n onClose,\n ...others\n}) => {\n const props = withoutTestIdProps(others);\n\n if (children) {\n return (\n <Box\n data-testid={slotTestId(others, 'header', 'dialog')}\n sx={{\n p: DIALOG_HEADER_CHILDREN_PADDING_UNITS,\n borderBottom: '1px solid',\n borderColor: 'divider',\n }}\n >\n {children}\n </Box>\n );\n }\n\n return (\n <MuiDialogTitle\n data-testid={slotTestId(others, 'title', 'dialog')}\n sx={{\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'space-between',\n pb: subtitle\n ? DIALOG_TITLE.paddingBottomUnits.withSubtitle\n : DIALOG_TITLE.paddingBottomUnits.plain,\n }}\n {...props}\n >\n <Box>\n <Typography variant=\"h6\" component=\"div\">\n {title}\n </Typography>\n {subtitle && (\n <Typography\n variant=\"body2\"\n color=\"text.secondary\"\n sx={{ mt: DIALOG_TITLE.subtitleGapUnits }}\n >\n {subtitle}\n </Typography>\n )}\n </Box>\n {showCloseButton && onClose && (\n <IconButton\n aria-label=\"close\"\n onClick={onClose}\n data-testid={childTestId(others, 'close', 'dialog')}\n sx={{\n color: 'text.secondary',\n '&:hover': {\n backgroundColor: 'action.hover',\n },\n }}\n >\n <CloseIcon />\n </IconButton>\n )}\n </MuiDialogTitle>\n );\n};\n\n/**\n * Top padding for a body that sits directly under the title.\n *\n * MUI zeroes it there (`.MuiDialogTitle-root + &` on a non-`dividers` content),\n * assuming the title's own bottom padding is the whole gap. That assumption\n * breaks for a body opening with an outlined field: a filled field floats its\n * label ABOVE the input's border box, and `DialogContent` is `overflow-y: auto`\n * — a clipping box — so the label gets sliced in half (FUT-544: \"Tipo\" in the\n * \"Novo insumo\" dialog).\n *\n * Reserve the overhang rather than restore the full 24px: the title already\n * contributes its bottom padding, so a shrunk label's `translate(…, -9px)` is\n * all that is missing. 12px clears it and leaves the gap visually tight.\n */\nconst TITLED_BODY_PADDING_TOP = DIALOG_TITLED_BODY_PADDING_TOP_UNITS;\n\n/**\n * `.MuiDialogTitle-root + &` is `(0,2,0)`-specific and a plain `sx` entry is\n * `(0,1,0)`, so the padding above only survives the cascade by naming the class\n * again — `(0,3,0)`. Scoped to the title-following case so an untitled dialog\n * keeps MUI's roomier default.\n */\nconst TITLED_BODY_SELECTOR = '.MuiDialogTitle-root + &.MuiDialogContent-root';\n\nexport const DialogContent: React.FC<DialogContentProps> = ({\n children,\n dividers = false,\n dense = false,\n ...others\n}) => (\n <MuiDialogContent\n data-testid={slotTestId(others, 'content', 'dialog')}\n dividers={dividers}\n sx={{\n padding: dense ? DIALOG_CONTENT_PADDING_UNITS.dense : DIALOG_CONTENT_PADDING_UNITS.normal,\n [TITLED_BODY_SELECTOR]: { paddingTop: TITLED_BODY_PADDING_TOP },\n '&.MuiDialogContent-dividers': {\n borderTop: dividers ? '1px solid' : 'none',\n borderBottom: dividers ? '1px solid' : 'none',\n borderColor: 'divider',\n },\n }}\n {...withoutTestIdProps(others)}\n >\n {children}\n </MuiDialogContent>\n );\n\nexport const DialogActions: React.FC<DialogActionsProps> = ({\n children,\n alignment = 'right',\n spacing = DIALOG_ACTIONS.defaultSpacingUnits,\n ...others\n}) => {\n const getJustifyContent = () => {\n switch (alignment) {\n case 'left': return 'flex-start';\n case 'center': return 'center';\n case 'right': return 'flex-end';\n case 'space-between': return 'space-between';\n default: return 'flex-end';\n }\n };\n\n return (\n <MuiDialogActions\n data-testid={slotTestId(others, 'actions', 'dialog')}\n sx={{\n justifyContent: getJustifyContent(),\n gap: spacing,\n p: DIALOG_ACTIONS.paddingUnits,\n }}\n {...withoutTestIdProps(others)}\n >\n {children}\n </MuiDialogActions>\n );\n};"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,eAAe;AACtB,OAAO,cAAc;AACrB,OAAO,SAAS;AAChB,OAAO,eAAe;AACtB,OAAO,sBAAsB;AAC7B,OAAO,sBAAsB;AAC7B,OAAO,oBAAoB;AAC3B,OAAO,YAAkC;AACzC,OAAO,gBAAgB;AACvB,OAAO,gBAAgB;AACvB,SAAS,gBAA0C;AAgE1C,cAmFH,YAnFG;AApBT,IAAM,UAAU;AAAA,EACd,IAAI,0BAA0B;AAAA,EAC9B,IAAI,0BAA0B;AAAA,EAC9B,oEAAoE;AAAA,IAClE,SAAS;AAAA,EACX;AACF;AAQA,SAAS,OAAO,UAA2B,UAAoC;AAE7E,MAAI,eAAe,UAAU,CAAC,eAAe,aAAa,CAAC,EAAG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B,KAAK;AAAS,eAAO;AAAA,MACrB,KAAK;AAAiB,eAAO;AAAA,MAC7B;AAAS,eAAO;AAAA,IAClB;AAAA,EACF;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa,WAAW,QAAQ,WAAW,QAAQ;AAAA,MACnD,IAAI;AAAA,QACF,gBAAgB,kBAAkB;AAAA,QAClC,KAAK;AAAA,QACL,GAAG,eAAe;AAAA,MACpB;AAAA,MACC,GAAG,mBAAmB,MAAM;AAAA,MAE5B;AAAA;AAAA,EACH;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MoreGroup,
|
|
3
3
|
fieldClearing
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X4ZRPE37.js";
|
|
5
5
|
import {
|
|
6
6
|
useDataViewsCopy
|
|
7
7
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -184,4 +184,4 @@ function MoreFilters({
|
|
|
184
184
|
export {
|
|
185
185
|
MoreFilters
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-UITQ7KMK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FleetCanvas
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FWSMIUWA.js";
|
|
4
4
|
import {
|
|
5
5
|
FleetRoster
|
|
6
6
|
} from "./chunk-5JCGBCFJ.js";
|
|
@@ -79,4 +79,4 @@ function FleetBody({
|
|
|
79
79
|
export {
|
|
80
80
|
FleetBody
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-W7F2QIAT.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-4GWHYLEB.js";
|
|
8
8
|
import {
|
|
9
9
|
MoreFilters
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UITQ7KMK.js";
|
|
11
11
|
import {
|
|
12
12
|
RangePill
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BSUG4KMP.js";
|
|
14
14
|
import {
|
|
15
15
|
CollapsedSearch,
|
|
16
16
|
InlineKeyword
|
|
@@ -220,4 +220,4 @@ function FilterSlots({
|
|
|
220
220
|
export {
|
|
221
221
|
InlineFilterControls
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-WHQKH57H.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RangeBounds
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BSUG4KMP.js";
|
|
4
4
|
import {
|
|
5
5
|
isRangeSet
|
|
6
6
|
} from "./chunk-GCZJH4XL.js";
|
|
@@ -201,4 +201,4 @@ export {
|
|
|
201
201
|
fieldClearing,
|
|
202
202
|
MoreGroup
|
|
203
203
|
};
|
|
204
|
-
//# sourceMappingURL=chunk-
|
|
204
|
+
//# sourceMappingURL=chunk-X4ZRPE37.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
+
labelledSeparatorLayout,
|
|
2
3
|
separatorBlockMargin,
|
|
3
4
|
separatorStyles
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SYNB3IIB.js";
|
|
5
6
|
|
|
6
7
|
// src/components/layout/Separator/Separator.tsx
|
|
7
8
|
import Box from "@mui/material/Box/index.js";
|
|
@@ -24,7 +25,8 @@ var Separator = ({
|
|
|
24
25
|
const blockMargin = separatorBlockMargin(theme, size, margin, isHorizontal);
|
|
25
26
|
const styles = separatorStyles(theme, { variant, orientation, size, color, blockMargin, length });
|
|
26
27
|
if (children) {
|
|
27
|
-
const
|
|
28
|
+
const layout = labelledSeparatorLayout(theme, isHorizontal, length);
|
|
29
|
+
const ruleStyles = { ...styles, margin: 0, ...layout.rule };
|
|
28
30
|
return /* @__PURE__ */ jsxs(
|
|
29
31
|
Box,
|
|
30
32
|
{
|
|
@@ -35,7 +37,8 @@ var Separator = ({
|
|
|
35
37
|
alignItems: "center",
|
|
36
38
|
margin: blockMargin,
|
|
37
39
|
flexDirection: isHorizontal ? "row" : "column",
|
|
38
|
-
gap: theme.spacing(2)
|
|
40
|
+
gap: theme.spacing(2),
|
|
41
|
+
...layout.group
|
|
39
42
|
},
|
|
40
43
|
children: [
|
|
41
44
|
/* @__PURE__ */ jsx(Box, { sx: ruleStyles }),
|
|
@@ -68,4 +71,4 @@ var Separator = ({
|
|
|
68
71
|
export {
|
|
69
72
|
Separator
|
|
70
73
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
74
|
+
//# sourceMappingURL=chunk-XSSCSRUX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/layout/Separator/Separator.tsx"],"sourcesContent":["import Box from '@mui/material/Box/index.js';\nimport Typography from '@mui/material/Typography/index.js';\nimport { useTheme } from '@mui/material/styles/index.js';\nimport React from 'react';\n\nimport { labelledSeparatorLayout, separatorBlockMargin, separatorStyles } from './Separator.styles';\nimport type { SeparatorProps } from './Separator.types';\n\nexport const Separator: React.FC<SeparatorProps> = ({\n variant = 'solid',\n orientation = 'horizontal',\n size = 'md',\n color,\n margin,\n length,\n children,\n className,\n 'data-testid': dataTestId,\n}) => {\n const theme = useTheme();\n const isHorizontal = orientation === 'horizontal';\n const blockMargin = separatorBlockMargin(theme, size, margin, isHorizontal);\n const styles = separatorStyles(theme, { variant, orientation, size, color, blockMargin, length });\n\n if (children) {\n // The rules either side of the label sit INSIDE the row, which carries the\n // margin; their own would add it a second time.\n const layout = labelledSeparatorLayout(theme, isHorizontal, length);\n const ruleStyles = { ...styles, margin: 0, ...layout.rule };\n\n return (\n <Box\n className={className}\n // The plain branch below has always carried the caller's hook; this one\n // silently dropped it, so a LABELLED separator was the one variant no\n // test could address except through its own words.\n data-testid={dataTestId}\n sx={{\n display: 'flex',\n alignItems: 'center',\n margin: blockMargin,\n flexDirection: isHorizontal ? 'row' : 'column',\n gap: theme.spacing(2),\n ...layout.group,\n }}\n >\n <Box sx={ruleStyles} />\n {/*\n No background behind the label. The two rules and the words are a FLEX\n ROW — the rules stop where the label starts — so there is nothing for a\n background to mask, and painting one made the label a coloured pill on\n every surface that is not `background.default`. On a white card it read\n as a highlight nobody had asked for.\n */}\n <Typography\n variant=\"body2\"\n color=\"text.secondary\"\n sx={{ flexShrink: 0, padding: theme.spacing(0, 1) }}\n >\n {children}\n </Typography>\n <Box sx={ruleStyles} />\n </Box>\n );\n }\n\n return (\n <Box\n className={className}\n sx={styles}\n role=\"separator\"\n aria-orientation={orientation}\n data-testid={dataTestId}\n />\n );\n};\n"],"mappings":";;;;;;;AAAA,OAAO,SAAS;AAChB,OAAO,gBAAgB;AACvB,SAAS,gBAAgB;AA6BnB,SAeE,KAfF;AAvBC,IAAM,YAAsC,CAAC;AAAA,EAClD,UAAU;AAAA,EACV,cAAc;AAAA,EACd,OAAO;AAAA,EACP;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AACjB,MAAM;AACJ,QAAM,QAAQ,SAAS;AACvB,QAAM,eAAe,gBAAgB;AACrC,QAAM,cAAc,qBAAqB,OAAO,MAAM,QAAQ,YAAY;AAC1E,QAAM,SAAS,gBAAgB,OAAO,EAAE,SAAS,aAAa,MAAM,OAAO,aAAa,OAAO,CAAC;AAEhG,MAAI,UAAU;AAGZ,UAAM,SAAS,wBAAwB,OAAO,cAAc,MAAM;AAClE,UAAM,aAAa,EAAE,GAAG,QAAQ,QAAQ,GAAG,GAAG,OAAO,KAAK;AAE1D,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QAIA,eAAa;AAAA,QACb,IAAI;AAAA,UACF,SAAS;AAAA,UACT,YAAY;AAAA,UACZ,QAAQ;AAAA,UACR,eAAe,eAAe,QAAQ;AAAA,UACtC,KAAK,MAAM,QAAQ,CAAC;AAAA,UACpB,GAAG,OAAO;AAAA,QACZ;AAAA,QAEA;AAAA,8BAAC,OAAI,IAAI,YAAY;AAAA,UAQrB;AAAA,YAAC;AAAA;AAAA,cACC,SAAQ;AAAA,cACR,OAAM;AAAA,cACN,IAAI,EAAE,YAAY,GAAG,SAAS,MAAM,QAAQ,GAAG,CAAC,EAAE;AAAA,cAEjD;AAAA;AAAA,UACH;AAAA,UACA,oBAAC,OAAI,IAAI,YAAY;AAAA;AAAA;AAAA,IACvB;AAAA,EAEJ;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,IAAI;AAAA,MACJ,MAAK;AAAA,MACL,oBAAkB;AAAA,MAClB,eAAa;AAAA;AAAA,EACf;AAEJ;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// src/components/feedback/Dialog/Dialog.paper.ts
|
|
2
|
+
function sxList(caller) {
|
|
3
|
+
if (caller === void 0) return [];
|
|
4
|
+
return Array.isArray(caller) ? caller : [caller];
|
|
5
|
+
}
|
|
6
|
+
function mergeOver(look, testId, legacy, slot) {
|
|
7
|
+
const caller = { ...legacy, ...slot };
|
|
8
|
+
return {
|
|
9
|
+
...caller,
|
|
10
|
+
sx: [look, ...sxList(legacy?.sx), ...sxList(slot?.sx)],
|
|
11
|
+
// A key the caller set to `undefined` does not erase the dialog's id.
|
|
12
|
+
"data-testid": caller["data-testid"] ?? testId
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function mergedPaperSlot(look, testId, legacy, slot) {
|
|
16
|
+
if (typeof slot === "function") {
|
|
17
|
+
return (ownerState) => mergeOver(look, testId, legacy, slot(ownerState));
|
|
18
|
+
}
|
|
19
|
+
return mergeOver(look, testId, legacy, slot);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
mergedPaperSlot
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=chunk-Y4O4DITI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/feedback/Dialog/Dialog.paper.ts"],"sourcesContent":["import type { SxProps, Theme } from '@mui/material/styles/index.js';\n\n/**\n * A caller's paper props, MERGED over the variant's rather than replacing them\n * (FUT-2613).\n *\n * MUI reaches the paper through two props, and both used to replace ours whole:\n * `PaperProps` (spread after ours) and `slotProps.paper` (which MUI itself puts\n * over `PaperProps`). A caller asking for one class, or one `sx` tweak, lost\n * the variant's radius, width, background and the paper's test id with it.\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 PaperSlotValue {\n sx?: SxProps<Theme>;\n className?: string;\n 'data-testid'?: string;\n}\n\n/** A paper slot as MUI takes it: an object, or a function of the owner state. */\ntype PaperSlot<O> = PaperSlotValue | ((ownerState: O) => PaperSlotValue);\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(\n look: SxProps<Theme>,\n testId: string | undefined,\n legacy: PaperSlotValue | undefined,\n slot: PaperSlotValue | undefined,\n): PaperSlotValue {\n // MUI's own order: `slotProps.paper` over `PaperProps`.\n const caller: PaperSlotValue = { ...legacy, ...slot };\n return {\n ...caller,\n sx: [look, ...sxList(legacy?.sx), ...sxList(slot?.sx)] as SxProps<Theme>,\n // A key the caller set to `undefined` does not erase the dialog's id.\n 'data-testid': caller['data-testid'] ?? testId,\n };\n}\n\n/**\n * The one paper slot to hand MUI: the variant's `look`, then `PaperProps`, then\n * `slotProps.paper`. A function slot stays a function, so MUI still calls it\n * with its owner state and its result merges the same way.\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: PaperSlot<O> | undefined,\n): PaperSlot<O> {\n if (typeof slot === 'function') {\n return (ownerState: O) => mergeOver(look, testId, legacy, slot(ownerState));\n }\n return mergeOver(look, testId, legacy, slot);\n}\n"],"mappings":";AAwBA,SAAS,OAAO,QAAwD;AACtE,MAAI,WAAW,OAAW,QAAO,CAAC;AAClC,SAAO,MAAM,QAAQ,MAAM,IAAI,SAAS,CAAC,MAAM;AACjD;AAEA,SAAS,UACP,MACA,QACA,QACA,MACgB;AAEhB,QAAM,SAAyB,EAAE,GAAG,QAAQ,GAAG,KAAK;AACpD,SAAO;AAAA,IACL,GAAG;AAAA,IACH,IAAI,CAAC,MAAM,GAAG,OAAO,QAAQ,EAAE,GAAG,GAAG,OAAO,MAAM,EAAE,CAAC;AAAA;AAAA,IAErD,eAAe,OAAO,aAAa,KAAK;AAAA,EAC1C;AACF;AAUO,SAAS,gBACd,MACA,QACA,QACA,MACc;AACd,MAAI,OAAO,SAAS,YAAY;AAC9B,WAAO,CAAC,eAAkB,UAAU,MAAM,QAAQ,QAAQ,KAAK,UAAU,CAAC;AAAA,EAC5E;AACA,SAAO,UAAU,MAAM,QAAQ,QAAQ,IAAI;AAC7C;","names":[]}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
pulseAnimation,
|
|
3
|
+
rotateAnimation,
|
|
4
|
+
scaleInAnimation,
|
|
5
|
+
shimmerAnimation
|
|
6
|
+
} from "./chunk-MTEQEPNY.js";
|
|
1
7
|
import {
|
|
2
8
|
ACTIVE_SCALE,
|
|
3
9
|
AVATAR_SIZES,
|
|
@@ -17,12 +23,6 @@ import {
|
|
|
17
23
|
SPINNER,
|
|
18
24
|
STATUS_DOT
|
|
19
25
|
} from "./chunk-6ZZGK5DT.js";
|
|
20
|
-
import {
|
|
21
|
-
pulseAnimation,
|
|
22
|
-
rotateAnimation,
|
|
23
|
-
scaleInAnimation,
|
|
24
|
-
shimmerAnimation
|
|
25
|
-
} from "./chunk-MTEQEPNY.js";
|
|
26
26
|
import {
|
|
27
27
|
absoluteInk,
|
|
28
28
|
controlNeutral,
|
|
@@ -277,4 +277,4 @@ function AvatarView(props) {
|
|
|
277
277
|
export {
|
|
278
278
|
AvatarView
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=chunk-
|
|
280
|
+
//# sourceMappingURL=chunk-Y6C4MYZE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RAIL_GAP_PX
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O4AHF45C.js";
|
|
4
4
|
import {
|
|
5
5
|
DescriptionItem
|
|
6
6
|
} from "./chunk-VIRYHNEM.js";
|
|
@@ -226,4 +226,4 @@ export {
|
|
|
226
226
|
ListCardActions,
|
|
227
227
|
ListCardTail
|
|
228
228
|
};
|
|
229
|
-
//# sourceMappingURL=chunk-
|
|
229
|
+
//# sourceMappingURL=chunk-YOJASBHJ.js.map
|
|
@@ -2,11 +2,11 @@ import "../chunk-UDQSIRAP.js";
|
|
|
2
2
|
import {
|
|
3
3
|
Avatar,
|
|
4
4
|
AvatarGroup
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-EMEXXAQI.js";
|
|
6
|
+
import "../chunk-Y6C4MYZE.js";
|
|
7
|
+
import "../chunk-MTEQEPNY.js";
|
|
7
8
|
import "../chunk-6ZZGK5DT.js";
|
|
8
9
|
import "../chunk-3ZVUNSFF.js";
|
|
9
|
-
import "../chunk-MTEQEPNY.js";
|
|
10
10
|
import "../chunk-FQ6UW7IY.js";
|
|
11
11
|
import "../chunk-6JAIFIPW.js";
|
|
12
12
|
import "../chunk-N3GAFIXG.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useRemoveConfirm
|
|
3
|
+
} from "../chunk-QOLIBVGS.js";
|
|
1
4
|
import {
|
|
2
5
|
rowActionsToMenuItems
|
|
3
6
|
} from "../chunk-ZBXG6RVJ.js";
|
|
@@ -8,24 +11,21 @@ import {
|
|
|
8
11
|
Ledger,
|
|
9
12
|
TagList
|
|
10
13
|
} from "../chunk-JOKWTRWL.js";
|
|
14
|
+
import {
|
|
15
|
+
CardActionsProvider,
|
|
16
|
+
useCardActions
|
|
17
|
+
} from "../chunk-NSKQANRY.js";
|
|
11
18
|
import {
|
|
12
19
|
CardKebab
|
|
13
20
|
} from "../chunk-KE473LK6.js";
|
|
14
21
|
import {
|
|
15
22
|
useRowConfirm
|
|
16
23
|
} from "../chunk-U4QUDFPJ.js";
|
|
17
|
-
import {
|
|
18
|
-
useRemoveConfirm
|
|
19
|
-
} from "../chunk-QOLIBVGS.js";
|
|
20
|
-
import {
|
|
21
|
-
CardActionsProvider,
|
|
22
|
-
useCardActions
|
|
23
|
-
} from "../chunk-NSKQANRY.js";
|
|
24
24
|
import "../chunk-WVML3ENZ.js";
|
|
25
25
|
import "../chunk-U3DBQXPI.js";
|
|
26
26
|
import "../chunk-XCBQXSTR.js";
|
|
27
|
-
import "../chunk-FWPFCK4D.js";
|
|
28
27
|
import "../chunk-3AOQBR7N.js";
|
|
28
|
+
import "../chunk-FWPFCK4D.js";
|
|
29
29
|
import "../chunk-4WCDMCIS.js";
|
|
30
30
|
import "../chunk-BJZOBG24.js";
|
|
31
31
|
import "../chunk-EMYESBIT.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-G62KCU3D.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
7
|
} from "../chunk-Q2YNXJEL.js";
|
|
@@ -10,7 +10,11 @@ import {
|
|
|
10
10
|
ChartSpecError,
|
|
11
11
|
parseChartSpec,
|
|
12
12
|
specToChartProps
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-GOWBYHYW.js";
|
|
14
|
+
import {
|
|
15
|
+
chartValueFormatter,
|
|
16
|
+
formatChartValue
|
|
17
|
+
} from "../chunk-QVWNK4JO.js";
|
|
14
18
|
import {
|
|
15
19
|
getChartSpecRenderer,
|
|
16
20
|
getRegisteredChartSpecTypes,
|
|
@@ -27,10 +31,6 @@ import {
|
|
|
27
31
|
ChartTooltipContent
|
|
28
32
|
} from "../chunk-RIRTW5EU.js";
|
|
29
33
|
import "../chunk-EA2UNEL6.js";
|
|
30
|
-
import {
|
|
31
|
-
chartValueFormatter,
|
|
32
|
-
formatChartValue
|
|
33
|
-
} from "../chunk-QVWNK4JO.js";
|
|
34
34
|
import "../chunk-TCAQOUIB.js";
|
|
35
35
|
import "../chunk-7ZPUN7TV.js";
|
|
36
36
|
import "../chunk-PT6TCWIW.js";
|