@12-apps/ui 6.65.0 → 6.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_internal/components/data-display/Badge/Badge.js +2 -2
- package/dist/_internal/components/data-display/Chart/Chart.js +4 -4
- package/dist/_internal/components/data-display/Chart/SpecChart.js +5 -5
- package/dist/_internal/components/data-display/Chart/chart-context.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +3 -3
- package/dist/_internal/components/data-display/DataViews/DataViewsBoard.js +1 -1
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +14 -13
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +16 -15
- 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-layout.js +6 -6
- 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 +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-card-body.js +35 -0
- package/dist/_internal/components/data-display/DataViews/data-views-card-body.js.map +1 -0
- 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 +6 -5
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +12 -11
- 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-toolbar.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-types.js +1 -1
- 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 +2 -2
- package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +2 -2
- package/dist/_internal/components/data-display/index.js +7 -7
- package/dist/_internal/components/index.js +14 -14
- package/dist/_internal/components/navigation/SectionNav/SectionNav.bar.js +6 -6
- package/dist/_internal/components/navigation/SectionNav/SectionNav.js +9 -9
- package/dist/_internal/components/navigation/SectionNav/SectionNav.parts.js +3 -3
- package/dist/_internal/components/navigation/SectionNav/SectionNav.primary.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.rail.js +5 -5
- package/dist/_internal/components/navigation/SectionNav/SectionNav.railCreate.js +4 -4
- package/dist/_internal/components/navigation/SectionNav/SectionNav.sheet.js +4 -4
- package/dist/_internal/components/navigation/index.js +9 -9
- package/dist/charts.js +5 -5
- package/dist/{chunk-FL2DRDTS.js → chunk-2VMIHFMX.js} +2 -2
- package/dist/{chunk-OR6JKOQ5.js → chunk-33XGC4YU.js} +2 -2
- package/dist/{chunk-BQNYX3VM.js → chunk-35L5YMYQ.js} +2 -2
- package/dist/{chunk-LDCHE6QS.js → chunk-3WLS7Z7D.js} +3 -3
- package/dist/{chunk-RNLLDK5L.js → chunk-67XUBKJC.js} +3 -3
- package/dist/{chunk-CZVAVX5L.js → chunk-6ATXOJVQ.js} +2 -2
- package/dist/{chunk-GLBK6X5Z.js → chunk-7J5JR33K.js} +2 -2
- package/dist/{chunk-NHHWNA5W.js → chunk-7TCOYCD7.js} +2 -2
- package/dist/chunk-7TCOYCD7.js.map +1 -0
- package/dist/{chunk-ANJAAGN3.js → chunk-AKGXNC4R.js} +2 -2
- package/dist/{chunk-5357QUVE.js → chunk-AMLHEKSV.js} +5 -5
- package/dist/{chunk-HR7YTBR7.js → chunk-BI7YMVKZ.js} +2 -2
- package/dist/{chunk-YOEZTW4T.js → chunk-FNFDXJWR.js} +3 -3
- package/dist/chunk-FNFDXJWR.js.map +1 -0
- package/dist/{chunk-ULBOCFST.js → chunk-J6DYHBID.js} +7 -7
- package/dist/{chunk-MQNL5UME.js → chunk-JXW6DZDN.js} +2 -2
- package/dist/{chunk-GVEWFA3Z.js → chunk-JY5YINUH.js} +21 -53
- package/dist/chunk-JY5YINUH.js.map +1 -0
- package/dist/{chunk-MO52X5WW.js → chunk-JYMXYSDP.js} +2 -2
- package/dist/{chunk-PEHYS7TU.js → chunk-K6KBASL2.js} +2 -2
- package/dist/{chunk-EMHG2ZQN.js → chunk-KDQEJAKH.js} +2 -2
- package/dist/{chunk-T3SZYWWN.js → chunk-L6MGAPBX.js} +2 -2
- package/dist/{chunk-YLBZ3SKU.js → chunk-L7OWFJUU.js} +6 -5
- package/dist/chunk-L7OWFJUU.js.map +1 -0
- package/dist/{chunk-5YDTSJNY.js → chunk-LMIOWP6H.js} +2 -2
- package/dist/{chunk-GGG6TDET.js → chunk-M6V7Y7CP.js} +3 -3
- package/dist/chunk-M6V7Y7CP.js.map +1 -0
- package/dist/{chunk-6DO672AG.js → chunk-N5PVD4J5.js} +7 -7
- package/dist/{chunk-LHHAYZ55.js → chunk-O2P2KTKN.js} +1 -1
- package/dist/chunk-O2P2KTKN.js.map +1 -0
- package/dist/{chunk-NMGNKIXF.js → chunk-QQWW6T4Q.js} +2 -2
- package/dist/{chunk-R52N5UCS.js → chunk-SB2SEGR6.js} +2 -2
- package/dist/{chunk-OT5JBIBT.js → chunk-SUZLGB5I.js} +3 -3
- package/dist/chunk-SZSS5KKX.js +51 -0
- package/dist/chunk-SZSS5KKX.js.map +1 -0
- package/dist/{chunk-JG733RMP.js → chunk-TZC6KIK2.js} +5 -5
- package/dist/{chunk-B7PKBFA4.js → chunk-UZ2CEJOO.js} +2 -2
- package/dist/{chunk-E2VVEXEX.js → chunk-VJB63DUM.js} +2 -2
- package/dist/{chunk-CJ7KAM3S.js → chunk-XBTSKYYY.js} +4 -4
- package/dist/{chunk-IZBQL4HZ.js → chunk-ZDT4ZGP4.js} +3 -3
- package/dist/data-display/Badge.js +2 -2
- package/dist/data-display/CardKit.js +3 -3
- package/dist/data-display/Chart.js +5 -5
- package/dist/data-display/DataViews.js +22 -21
- package/dist/navigation/SectionNav.js +9 -9
- package/dist/types/components/data-display/DataViews/DataViewsBoard.d.ts +2 -1
- package/dist/types/components/data-display/DataViews/DataViewsBoard.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsGrid.d.ts +10 -0
- package/dist/types/components/data-display/DataViews/DataViewsGrid.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsTableBase.d.ts +7 -0
- package/dist/types/components/data-display/DataViews/DataViewsTableBase.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-card-body.d.ts +26 -0
- package/dist/types/components/data-display/DataViews/data-views-card-body.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-grid-bodies.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/data-views-grid-bodies.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-grid-parts.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/data-views-grid-parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-types.d.ts +2 -1
- package/dist/types/components/data-display/DataViews/data-views-types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/data-display/DataViews/DataViewsBoard.tsx +4 -3
- package/src/components/data-display/DataViews/DataViewsGrid.tsx +10 -0
- package/src/components/data-display/DataViews/DataViewsTableBase.tsx +7 -0
- package/src/components/data-display/DataViews/RESPONSIVE-BEHAVIOUR.md +27 -1
- package/src/components/data-display/DataViews/data-views-card-body.tsx +73 -0
- package/src/components/data-display/DataViews/data-views-grid-bodies.tsx +29 -77
- package/src/components/data-display/DataViews/data-views-grid-parts.tsx +3 -1
- package/src/components/data-display/DataViews/data-views-types.ts +2 -1
- package/dist/chunk-GGG6TDET.js.map +0 -1
- package/dist/chunk-GVEWFA3Z.js.map +0 -1
- package/dist/chunk-LHHAYZ55.js.map +0 -1
- package/dist/chunk-NHHWNA5W.js.map +0 -1
- package/dist/chunk-YLBZ3SKU.js.map +0 -1
- package/dist/chunk-YOEZTW4T.js.map +0 -1
- /package/dist/{chunk-FL2DRDTS.js.map → chunk-2VMIHFMX.js.map} +0 -0
- /package/dist/{chunk-OR6JKOQ5.js.map → chunk-33XGC4YU.js.map} +0 -0
- /package/dist/{chunk-BQNYX3VM.js.map → chunk-35L5YMYQ.js.map} +0 -0
- /package/dist/{chunk-LDCHE6QS.js.map → chunk-3WLS7Z7D.js.map} +0 -0
- /package/dist/{chunk-RNLLDK5L.js.map → chunk-67XUBKJC.js.map} +0 -0
- /package/dist/{chunk-CZVAVX5L.js.map → chunk-6ATXOJVQ.js.map} +0 -0
- /package/dist/{chunk-GLBK6X5Z.js.map → chunk-7J5JR33K.js.map} +0 -0
- /package/dist/{chunk-ANJAAGN3.js.map → chunk-AKGXNC4R.js.map} +0 -0
- /package/dist/{chunk-5357QUVE.js.map → chunk-AMLHEKSV.js.map} +0 -0
- /package/dist/{chunk-HR7YTBR7.js.map → chunk-BI7YMVKZ.js.map} +0 -0
- /package/dist/{chunk-ULBOCFST.js.map → chunk-J6DYHBID.js.map} +0 -0
- /package/dist/{chunk-MQNL5UME.js.map → chunk-JXW6DZDN.js.map} +0 -0
- /package/dist/{chunk-MO52X5WW.js.map → chunk-JYMXYSDP.js.map} +0 -0
- /package/dist/{chunk-PEHYS7TU.js.map → chunk-K6KBASL2.js.map} +0 -0
- /package/dist/{chunk-EMHG2ZQN.js.map → chunk-KDQEJAKH.js.map} +0 -0
- /package/dist/{chunk-T3SZYWWN.js.map → chunk-L6MGAPBX.js.map} +0 -0
- /package/dist/{chunk-5YDTSJNY.js.map → chunk-LMIOWP6H.js.map} +0 -0
- /package/dist/{chunk-6DO672AG.js.map → chunk-N5PVD4J5.js.map} +0 -0
- /package/dist/{chunk-NMGNKIXF.js.map → chunk-QQWW6T4Q.js.map} +0 -0
- /package/dist/{chunk-R52N5UCS.js.map → chunk-SB2SEGR6.js.map} +0 -0
- /package/dist/{chunk-OT5JBIBT.js.map → chunk-SUZLGB5I.js.map} +0 -0
- /package/dist/{chunk-JG733RMP.js.map → chunk-TZC6KIK2.js.map} +0 -0
- /package/dist/{chunk-B7PKBFA4.js.map → chunk-UZ2CEJOO.js.map} +0 -0
- /package/dist/{chunk-E2VVEXEX.js.map → chunk-VJB63DUM.js.map} +0 -0
- /package/dist/{chunk-CJ7KAM3S.js.map → chunk-XBTSKYYY.js.map} +0 -0
- /package/dist/{chunk-IZBQL4HZ.js.map → chunk-ZDT4ZGP4.js.map} +0 -0
|
@@ -201,11 +201,11 @@ import {
|
|
|
201
201
|
import "../../../chunk-IQQX3NDO.js";
|
|
202
202
|
import {
|
|
203
203
|
Badge
|
|
204
|
-
} from "../../../chunk-
|
|
204
|
+
} from "../../../chunk-N5PVD4J5.js";
|
|
205
|
+
import "../../../chunk-6C5D6O3D.js";
|
|
205
206
|
import "../../../chunk-ZNCYCE7L.js";
|
|
206
207
|
import "../../../chunk-2L3VRVRE.js";
|
|
207
208
|
import "../../../chunk-BJE3XHD4.js";
|
|
208
|
-
import "../../../chunk-6C5D6O3D.js";
|
|
209
209
|
import "../../../chunk-3UIDKLML.js";
|
|
210
210
|
import "../../../chunk-PYC4CWCQ.js";
|
|
211
211
|
import {
|
|
@@ -216,10 +216,10 @@ import "../../../chunk-3LHZCVGM.js";
|
|
|
216
216
|
import "../../../chunk-5KLSLD72.js";
|
|
217
217
|
import {
|
|
218
218
|
SpecChart
|
|
219
|
-
} from "../../../chunk-
|
|
219
|
+
} from "../../../chunk-SB2SEGR6.js";
|
|
220
220
|
import {
|
|
221
221
|
Chart
|
|
222
|
-
} from "../../../chunk-
|
|
222
|
+
} from "../../../chunk-AMLHEKSV.js";
|
|
223
223
|
import {
|
|
224
224
|
CHART_SEMANTIC_COLORS,
|
|
225
225
|
ChartSpecError,
|
|
@@ -235,8 +235,9 @@ import {
|
|
|
235
235
|
getRegisteredChartSpecTypes,
|
|
236
236
|
registerChartSpecRenderer
|
|
237
237
|
} from "../../../chunk-WKUA6P3W.js";
|
|
238
|
-
import "../../../chunk-
|
|
239
|
-
import "../../../chunk-
|
|
238
|
+
import "../../../chunk-6ATXOJVQ.js";
|
|
239
|
+
import "../../../chunk-TZC6KIK2.js";
|
|
240
|
+
import "../../../chunk-TCWISGSS.js";
|
|
240
241
|
import "../../../chunk-SOHQPPYJ.js";
|
|
241
242
|
import {
|
|
242
243
|
ChartContainer,
|
|
@@ -245,7 +246,6 @@ import {
|
|
|
245
246
|
ChartTooltip,
|
|
246
247
|
ChartTooltipContent
|
|
247
248
|
} from "../../../chunk-RIRTW5EU.js";
|
|
248
|
-
import "../../../chunk-TCWISGSS.js";
|
|
249
249
|
import {
|
|
250
250
|
Avatar,
|
|
251
251
|
AvatarGroup
|
|
@@ -105,17 +105,17 @@ import "../../chunk-3L5OZCGA.js";
|
|
|
105
105
|
import "../../chunk-R26KYJHK.js";
|
|
106
106
|
import {
|
|
107
107
|
SectionNav
|
|
108
|
-
} from "../../chunk-
|
|
109
|
-
import "../../chunk-
|
|
110
|
-
import "../../chunk-
|
|
108
|
+
} from "../../chunk-67XUBKJC.js";
|
|
109
|
+
import "../../chunk-ZDT4ZGP4.js";
|
|
110
|
+
import "../../chunk-AKGXNC4R.js";
|
|
111
111
|
import {
|
|
112
112
|
sectionNavBarInset
|
|
113
|
-
} from "../../chunk-
|
|
114
|
-
import "../../chunk-
|
|
113
|
+
} from "../../chunk-XBTSKYYY.js";
|
|
114
|
+
import "../../chunk-QQWW6T4Q.js";
|
|
115
115
|
import {
|
|
116
116
|
RaisedActionButton
|
|
117
|
-
} from "../../chunk-
|
|
118
|
-
import "../../chunk-
|
|
117
|
+
} from "../../chunk-KDQEJAKH.js";
|
|
118
|
+
import "../../chunk-JXW6DZDN.js";
|
|
119
119
|
import "../../chunk-P3GBXE73.js";
|
|
120
120
|
import "../../chunk-R445KMGG.js";
|
|
121
121
|
import {
|
|
@@ -766,11 +766,11 @@ import "../../chunk-IQQX3NDO.js";
|
|
|
766
766
|
import "../../chunk-5AK2EZG5.js";
|
|
767
767
|
import {
|
|
768
768
|
Badge
|
|
769
|
-
} from "../../chunk-
|
|
769
|
+
} from "../../chunk-N5PVD4J5.js";
|
|
770
|
+
import "../../chunk-6C5D6O3D.js";
|
|
770
771
|
import "../../chunk-ZNCYCE7L.js";
|
|
771
772
|
import "../../chunk-2L3VRVRE.js";
|
|
772
773
|
import "../../chunk-BJE3XHD4.js";
|
|
773
|
-
import "../../chunk-6C5D6O3D.js";
|
|
774
774
|
import "../../chunk-3UIDKLML.js";
|
|
775
775
|
import "../../chunk-PYC4CWCQ.js";
|
|
776
776
|
import {
|
|
@@ -788,10 +788,10 @@ import "../../chunk-IBOFASAZ.js";
|
|
|
788
788
|
import "../../chunk-5KLSLD72.js";
|
|
789
789
|
import {
|
|
790
790
|
SpecChart
|
|
791
|
-
} from "../../chunk-
|
|
791
|
+
} from "../../chunk-SB2SEGR6.js";
|
|
792
792
|
import {
|
|
793
793
|
Chart
|
|
794
|
-
} from "../../chunk-
|
|
794
|
+
} from "../../chunk-AMLHEKSV.js";
|
|
795
795
|
import {
|
|
796
796
|
CHART_SEMANTIC_COLORS,
|
|
797
797
|
ChartSpecError,
|
|
@@ -807,8 +807,9 @@ import {
|
|
|
807
807
|
getRegisteredChartSpecTypes,
|
|
808
808
|
registerChartSpecRenderer
|
|
809
809
|
} from "../../chunk-WKUA6P3W.js";
|
|
810
|
-
import "../../chunk-
|
|
811
|
-
import "../../chunk-
|
|
810
|
+
import "../../chunk-6ATXOJVQ.js";
|
|
811
|
+
import "../../chunk-TZC6KIK2.js";
|
|
812
|
+
import "../../chunk-TCWISGSS.js";
|
|
812
813
|
import "../../chunk-SOHQPPYJ.js";
|
|
813
814
|
import {
|
|
814
815
|
ChartContainer,
|
|
@@ -817,7 +818,6 @@ import {
|
|
|
817
818
|
ChartTooltip,
|
|
818
819
|
ChartTooltipContent
|
|
819
820
|
} from "../../chunk-RIRTW5EU.js";
|
|
820
|
-
import "../../chunk-TCWISGSS.js";
|
|
821
821
|
import "../../chunk-6GP2DOOO.js";
|
|
822
822
|
import {
|
|
823
823
|
Heading
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNavBar,
|
|
3
3
|
sectionNavBarInset
|
|
4
|
-
} from "../../../../chunk-
|
|
5
|
-
import "../../../../chunk-
|
|
6
|
-
import "../../../../chunk-
|
|
7
|
-
import "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-XBTSKYYY.js";
|
|
5
|
+
import "../../../../chunk-QQWW6T4Q.js";
|
|
6
|
+
import "../../../../chunk-KDQEJAKH.js";
|
|
7
|
+
import "../../../../chunk-JXW6DZDN.js";
|
|
8
8
|
import "../../../../chunk-P3GBXE73.js";
|
|
9
9
|
import "../../../../chunk-TMSWLFL4.js";
|
|
10
10
|
import "../../../../chunk-UALPKKAY.js";
|
|
11
11
|
import "../../../../chunk-5AK2EZG5.js";
|
|
12
|
-
import "../../../../chunk-
|
|
12
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
13
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
13
14
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
14
15
|
import "../../../../chunk-2L3VRVRE.js";
|
|
15
16
|
import "../../../../chunk-BJE3XHD4.js";
|
|
16
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
17
17
|
import "../../../../chunk-3UIDKLML.js";
|
|
18
18
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
19
19
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNav
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
5
|
-
import "../../../../chunk-
|
|
6
|
-
import "../../../../chunk-
|
|
7
|
-
import "../../../../chunk-
|
|
8
|
-
import "../../../../chunk-
|
|
9
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-67XUBKJC.js";
|
|
4
|
+
import "../../../../chunk-ZDT4ZGP4.js";
|
|
5
|
+
import "../../../../chunk-AKGXNC4R.js";
|
|
6
|
+
import "../../../../chunk-XBTSKYYY.js";
|
|
7
|
+
import "../../../../chunk-QQWW6T4Q.js";
|
|
8
|
+
import "../../../../chunk-KDQEJAKH.js";
|
|
9
|
+
import "../../../../chunk-JXW6DZDN.js";
|
|
10
10
|
import "../../../../chunk-P3GBXE73.js";
|
|
11
11
|
import "../../../../chunk-TMSWLFL4.js";
|
|
12
12
|
import "../../../../chunk-UALPKKAY.js";
|
|
13
13
|
import "../../../../chunk-5AK2EZG5.js";
|
|
14
|
-
import "../../../../chunk-
|
|
14
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
15
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
15
16
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
16
17
|
import "../../../../chunk-2L3VRVRE.js";
|
|
17
18
|
import "../../../../chunk-BJE3XHD4.js";
|
|
18
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
19
19
|
import "../../../../chunk-3UIDKLML.js";
|
|
20
20
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
21
21
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
controlProps,
|
|
8
8
|
destinationControl,
|
|
9
9
|
focusRing
|
|
10
|
-
} from "../../../../chunk-
|
|
10
|
+
} from "../../../../chunk-JXW6DZDN.js";
|
|
11
11
|
import "../../../../chunk-P3GBXE73.js";
|
|
12
12
|
import "../../../../chunk-5AK2EZG5.js";
|
|
13
|
-
import "../../../../chunk-
|
|
13
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
14
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
14
15
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
15
16
|
import "../../../../chunk-2L3VRVRE.js";
|
|
16
17
|
import "../../../../chunk-BJE3XHD4.js";
|
|
17
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
18
18
|
import "../../../../chunk-3UIDKLML.js";
|
|
19
19
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
20
20
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RaisedActionButton
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-KDQEJAKH.js";
|
|
4
|
+
import "../../../../chunk-JXW6DZDN.js";
|
|
5
5
|
import "../../../../chunk-P3GBXE73.js";
|
|
6
6
|
import "../../../../chunk-5AK2EZG5.js";
|
|
7
|
-
import "../../../../chunk-
|
|
7
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
8
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
8
9
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
9
10
|
import "../../../../chunk-2L3VRVRE.js";
|
|
10
11
|
import "../../../../chunk-BJE3XHD4.js";
|
|
11
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
12
12
|
import "../../../../chunk-3UIDKLML.js";
|
|
13
13
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
14
14
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNavRail
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
5
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-ZDT4ZGP4.js";
|
|
4
|
+
import "../../../../chunk-AKGXNC4R.js";
|
|
5
|
+
import "../../../../chunk-JXW6DZDN.js";
|
|
6
6
|
import "../../../../chunk-P3GBXE73.js";
|
|
7
7
|
import "../../../../chunk-5AK2EZG5.js";
|
|
8
|
-
import "../../../../chunk-
|
|
8
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
9
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
9
10
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
10
11
|
import "../../../../chunk-2L3VRVRE.js";
|
|
11
12
|
import "../../../../chunk-BJE3XHD4.js";
|
|
12
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
13
13
|
import "../../../../chunk-3UIDKLML.js";
|
|
14
14
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
15
15
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RailCreateMenu
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-AKGXNC4R.js";
|
|
4
|
+
import "../../../../chunk-JXW6DZDN.js";
|
|
5
5
|
import "../../../../chunk-P3GBXE73.js";
|
|
6
6
|
import "../../../../chunk-5AK2EZG5.js";
|
|
7
|
-
import "../../../../chunk-
|
|
7
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
8
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
8
9
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
9
10
|
import "../../../../chunk-2L3VRVRE.js";
|
|
10
11
|
import "../../../../chunk-BJE3XHD4.js";
|
|
11
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
12
12
|
import "../../../../chunk-3UIDKLML.js";
|
|
13
13
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
14
14
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNavSheet
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-QQWW6T4Q.js";
|
|
4
|
+
import "../../../../chunk-JXW6DZDN.js";
|
|
5
5
|
import "../../../../chunk-P3GBXE73.js";
|
|
6
6
|
import "../../../../chunk-TMSWLFL4.js";
|
|
7
7
|
import "../../../../chunk-UALPKKAY.js";
|
|
8
8
|
import "../../../../chunk-5AK2EZG5.js";
|
|
9
|
-
import "../../../../chunk-
|
|
9
|
+
import "../../../../chunk-N5PVD4J5.js";
|
|
10
|
+
import "../../../../chunk-6C5D6O3D.js";
|
|
10
11
|
import "../../../../chunk-ZNCYCE7L.js";
|
|
11
12
|
import "../../../../chunk-2L3VRVRE.js";
|
|
12
13
|
import "../../../../chunk-BJE3XHD4.js";
|
|
13
|
-
import "../../../../chunk-6C5D6O3D.js";
|
|
14
14
|
import "../../../../chunk-3UIDKLML.js";
|
|
15
15
|
import "../../../../chunk-PYC4CWCQ.js";
|
|
16
16
|
import "../../../../chunk-TYJR4GOF.js";
|
|
@@ -29,17 +29,17 @@ import "../../../chunk-3L5OZCGA.js";
|
|
|
29
29
|
import "../../../chunk-R26KYJHK.js";
|
|
30
30
|
import {
|
|
31
31
|
SectionNav
|
|
32
|
-
} from "../../../chunk-
|
|
33
|
-
import "../../../chunk-
|
|
34
|
-
import "../../../chunk-
|
|
32
|
+
} from "../../../chunk-67XUBKJC.js";
|
|
33
|
+
import "../../../chunk-ZDT4ZGP4.js";
|
|
34
|
+
import "../../../chunk-AKGXNC4R.js";
|
|
35
35
|
import {
|
|
36
36
|
sectionNavBarInset
|
|
37
|
-
} from "../../../chunk-
|
|
38
|
-
import "../../../chunk-
|
|
37
|
+
} from "../../../chunk-XBTSKYYY.js";
|
|
38
|
+
import "../../../chunk-QQWW6T4Q.js";
|
|
39
39
|
import {
|
|
40
40
|
RaisedActionButton
|
|
41
|
-
} from "../../../chunk-
|
|
42
|
-
import "../../../chunk-
|
|
41
|
+
} from "../../../chunk-KDQEJAKH.js";
|
|
42
|
+
import "../../../chunk-JXW6DZDN.js";
|
|
43
43
|
import "../../../chunk-P3GBXE73.js";
|
|
44
44
|
import "../../../chunk-R445KMGG.js";
|
|
45
45
|
import {
|
|
@@ -93,11 +93,11 @@ import "../../../chunk-Z2JH5KW5.js";
|
|
|
93
93
|
import "../../../chunk-AL5E624U.js";
|
|
94
94
|
import "../../../chunk-LV7LSPBF.js";
|
|
95
95
|
import "../../../chunk-5AK2EZG5.js";
|
|
96
|
-
import "../../../chunk-
|
|
96
|
+
import "../../../chunk-N5PVD4J5.js";
|
|
97
|
+
import "../../../chunk-6C5D6O3D.js";
|
|
97
98
|
import "../../../chunk-ZNCYCE7L.js";
|
|
98
99
|
import "../../../chunk-2L3VRVRE.js";
|
|
99
100
|
import "../../../chunk-BJE3XHD4.js";
|
|
100
|
-
import "../../../chunk-6C5D6O3D.js";
|
|
101
101
|
import "../../../chunk-3UIDKLML.js";
|
|
102
102
|
import "../../../chunk-PYC4CWCQ.js";
|
|
103
103
|
import "../../../chunk-364NH2NY.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SB2SEGR6.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AMLHEKSV.js";
|
|
8
8
|
import {
|
|
9
9
|
CHART_SEMANTIC_COLORS,
|
|
10
10
|
ChartSpecError,
|
|
@@ -20,8 +20,9 @@ import {
|
|
|
20
20
|
getRegisteredChartSpecTypes,
|
|
21
21
|
registerChartSpecRenderer
|
|
22
22
|
} from "./chunk-WKUA6P3W.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-6ATXOJVQ.js";
|
|
24
|
+
import "./chunk-TZC6KIK2.js";
|
|
25
|
+
import "./chunk-TCWISGSS.js";
|
|
25
26
|
import "./chunk-SOHQPPYJ.js";
|
|
26
27
|
import {
|
|
27
28
|
ChartContainer,
|
|
@@ -30,7 +31,6 @@ import {
|
|
|
30
31
|
ChartTooltip,
|
|
31
32
|
ChartTooltipContent
|
|
32
33
|
} from "./chunk-RIRTW5EU.js";
|
|
33
|
-
import "./chunk-TCWISGSS.js";
|
|
34
34
|
import "./chunk-B7ZHEOQQ.js";
|
|
35
35
|
import "./chunk-BRHRK7BK.js";
|
|
36
36
|
import "./chunk-25MSGLNU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataViewsDisplayPanel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K6KBASL2.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsExportMenu
|
|
6
6
|
} from "./chunk-TVXUOJAL.js";
|
|
@@ -138,4 +138,4 @@ function GridToolbar(props) {
|
|
|
138
138
|
export {
|
|
139
139
|
GridToolbar
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk-
|
|
141
|
+
//# sourceMappingURL=chunk-2VMIHFMX.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-YLGY3D52.js";
|
|
9
9
|
import {
|
|
10
10
|
useDataViewsLayout
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JYMXYSDP.js";
|
|
12
12
|
import {
|
|
13
13
|
useDataViewsCopy
|
|
14
14
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
SortTab,
|
|
247
247
|
DisplayTab
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=chunk-
|
|
249
|
+
//# sourceMappingURL=chunk-33XGC4YU.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-IMLIIW77.js";
|
|
23
23
|
import {
|
|
24
24
|
emptyViewState
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-O2P2KTKN.js";
|
|
26
26
|
import {
|
|
27
27
|
useStateWriters
|
|
28
28
|
} from "./chunk-U5FOJBLG.js";
|
|
@@ -172,4 +172,4 @@ function useDataViewsState({
|
|
|
172
172
|
export {
|
|
173
173
|
useDataViewsState
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-35L5YMYQ.js.map
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
RAIL_GAP,
|
|
14
14
|
railsTemplateFor,
|
|
15
15
|
useListRails
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7J5JR33K.js";
|
|
17
17
|
import {
|
|
18
18
|
DENSITY_ROW_PADDING
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JYMXYSDP.js";
|
|
20
20
|
import {
|
|
21
21
|
COMPACT_BREAK,
|
|
22
22
|
STACK_BREAK
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
rowGutters,
|
|
214
214
|
rowStyles
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-3WLS7Z7D.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SectionNavRail
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZDT4ZGP4.js";
|
|
4
4
|
import {
|
|
5
5
|
SectionNavBar
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XBTSKYYY.js";
|
|
7
7
|
|
|
8
8
|
// src/components/navigation/SectionNav/SectionNav.tsx
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -52,4 +52,4 @@ function SectionNav({
|
|
|
52
52
|
export {
|
|
53
53
|
SectionNav
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-67XUBKJC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildChartContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TZC6KIK2.js";
|
|
4
4
|
import {
|
|
5
5
|
ChartLegendContent,
|
|
6
6
|
ChartTooltipContent
|
|
@@ -318,4 +318,4 @@ function renderChartByType(props, theme) {
|
|
|
318
318
|
export {
|
|
319
319
|
renderChartByType
|
|
320
320
|
};
|
|
321
|
-
//# sourceMappingURL=chunk-
|
|
321
|
+
//# sourceMappingURL=chunk-6ATXOJVQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DENSITY_ROW_PADDING
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JYMXYSDP.js";
|
|
4
4
|
import {
|
|
5
5
|
GroupGrid
|
|
6
6
|
} from "./chunk-U3HEYECF.js";
|
|
@@ -133,4 +133,4 @@ export {
|
|
|
133
133
|
cellRailCount,
|
|
134
134
|
ListCardGroup
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
136
|
+
//# sourceMappingURL=chunk-7J5JR33K.js.map
|
|
@@ -126,7 +126,7 @@ function BoardColumn({
|
|
|
126
126
|
const id = getRowId(row);
|
|
127
127
|
return /* @__PURE__ */ jsx(default2, { children: renderCard(row, {
|
|
128
128
|
selected: selectedIds.has(id),
|
|
129
|
-
onToggleSelect: () => onToggleId(id),
|
|
129
|
+
onToggleSelect: onToggleId && (() => onToggleId(id)),
|
|
130
130
|
scale: cardScale
|
|
131
131
|
}) }, id);
|
|
132
132
|
})
|
|
@@ -191,4 +191,4 @@ export {
|
|
|
191
191
|
groupRows,
|
|
192
192
|
DataViewsBoard
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
194
|
+
//# sourceMappingURL=chunk-7TCOYCD7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DataViews/DataViewsBoard.tsx"],"sourcesContent":["\"use client\";\n\nimport { useTheme, type Theme } from \"@mui/material/styles/index.js\";\n\nimport { useDataViewsCopy } from \"./data-views-copy-context\";\nimport { Box } from \"../../../mui/Box\";\nimport { Text } from \"../../typography/Text\";\n\nimport type { DataViewCardSelection } from \"./data-views-types\";\nimport { rem } from \"../../../tokens/relative\";\n\n/**\n * One column of the board — a single value of the grouping field, with the label\n * to print above it.\n *\n * `tone` is an opaque palette hint (e.g. `\"success\"`, `\"error\"`) the host picks\n * from its own state machine; the board only uses it to colour the column's\n * header accent, so an unknown tone degrades to the default rather than throwing.\n */\nexport interface BoardGroup {\n value: string;\n label: string;\n tone?: string;\n}\n\n/**\n * The BOARD layout's configuration: the same page the table rendered, laid out\n * as columns of the entity's own card.\n *\n * The board earns its place when a page's buckets are STATES IN A STATE MACHINE\n * rather than arbitrary groupings — payments are exactly that shape. Derive\n * `groups` and the table's `scopes` from ONE state-machine definition: two\n * hand-maintained lists of the same states will drift, and the drift shows up as\n * a column the tabs do not have.\n */\nexport interface BoardConfig<T extends Record<string, unknown>> {\n /** The row field whose value places a card in a column. */\n groupBy: keyof T & string;\n /** The columns, in DELIBERATE reading order — the board renders this order. */\n groups: BoardGroup[];\n /** Optional numeric row field summed per column (e.g. the amount in cents). */\n sumBy?: keyof T & string;\n /**\n * Formats a column's total. The PAGE's own formatter, so the board prints\n * money in the store's currency instead of inventing a second convention.\n * Omitted ⇒ the raw sum.\n */\n formatSum?: (total: number) => string;\n /** Header for the column collecting rows in states the front end does not declare. */\n extraLabel?: string;\n}\n\n/** The default header for the catch-all column (see {@link groupRows}). */\nconst DEFAULT_EXTRA_LABEL = \"Sem etapa\";\n\n/** One resolved column: a declared group (or the catch-all) plus its loaded rows. */\ninterface ResolvedColumn<T> {\n key: string;\n label: string;\n tone?: string;\n rows: T[];\n}\n\n/** Read the grouping value off a row as a string (`null`/`undefined` ⇒ \"\"). */\nfunction groupValueOf<T extends Record<string, unknown>>(row: T, groupBy: string): string {\n const value = row[groupBy];\n return value === null || value === undefined ? \"\" : String(value);\n}\n\n/**\n * Place every loaded row into a column, in the DECLARED order, and collect the\n * leftovers into one extra column at the end.\n *\n * Nothing is ever dropped, and that is the point: a state added to the back end\n * before the front end knows about it must not make rows disappear. On a\n * payments board, a silently dropped row is money nobody can see. The extra\n * column only exists when something landed in it — once every row is placed it\n * is gone, so the common case shows exactly the declared columns.\n *\n * A declared group with no rows KEEPS its position: the order is a reading\n * order chosen by the host, not a ranking derived from the data.\n */\nexport function groupRows<T extends Record<string, unknown>>(\n rows: T[],\n board: BoardConfig<T>,\n): ResolvedColumn<T>[] {\n const declared = new Map<string, T[]>(board.groups.map((group) => [group.value, []]));\n const extra: T[] = [];\n for (const row of rows) {\n const bucket = declared.get(groupValueOf(row, board.groupBy));\n if (bucket) bucket.push(row);\n else extra.push(row);\n }\n const columns: ResolvedColumn<T>[] = board.groups.map((group) => ({\n key: group.value,\n label: group.label,\n tone: group.tone,\n rows: declared.get(group.value) ?? [],\n }));\n if (extra.length > 0) {\n columns.push({ key: \"__extra__\", label: board.extraLabel ?? DEFAULT_EXTRA_LABEL, rows: extra });\n }\n return columns;\n}\n\n/** A column's total over the rows ON THIS PAGE, or null when nothing is summed. */\nfunction sumOf<T extends Record<string, unknown>>(rows: T[], sumBy: string | undefined): number | null {\n if (!sumBy) return null;\n return rows.reduce((total, row) => {\n const value = row[sumBy];\n return typeof value === \"number\" && Number.isFinite(value) ? total + value : total;\n }, 0);\n}\n\n/** Map a `tone` hint onto a theme colour, defaulting for anything unrecognised. */\nfunction toneColor(tone: string | undefined): string {\n const known = [\"primary\", \"secondary\", \"success\", \"warning\", \"error\", \"info\"];\n return tone && known.includes(tone) ? `${tone}.main` : \"divider\";\n}\n\n/**\n * A column's heading: the label, the page count and the optional sum.\n *\n * The count is labelled \"nesta página\" EVERYWHERE it appears, including in its\n * accessible name. The scope tabs above the board show whole-query totals from\n * the server; an unlabelled column count would contradict them the moment there\n * is a second page, and the reader has no way to tell which number to believe.\n */\nfunction BoardColumnHeader({\n label,\n count,\n sum,\n testId,\n}: {\n label: string;\n count: number;\n /** The formatted total, or null when the board sums nothing. */\n sum: string | null;\n testId: string;\n}): React.JSX.Element {\n const copy = useDataViewsCopy();\n return (\n <Box sx={{ display: \"flex\", flexDirection: \"column\", gap: 0.25 }}>\n <Box sx={{ display: \"flex\", alignItems: \"baseline\", justifyContent: \"space-between\", gap: 1 }}>\n <Text variant=\"caption\" as=\"span\">\n <Box component=\"span\" sx={{ fontWeight: 600 }}>\n {label}\n </Box>\n </Text>\n <Text variant=\"caption\" as=\"span\">\n <Box\n component=\"span\"\n data-testid={`${testId}-count`}\n aria-label={copy.board.countOnPage(label, count)}\n sx={{ color: \"text.secondary\", whiteSpace: \"nowrap\" }}\n >\n {copy.board.onThisPage(count)}\n </Box>\n </Text>\n </Box>\n {sum !== null && (\n <Text variant=\"caption\" as=\"span\">\n <Box\n component=\"span\"\n data-testid={`${testId}-sum`}\n aria-label={copy.board.pageSum(sum)}\n sx={{ color: \"text.secondary\" }}\n >\n {sum}\n </Box>\n </Text>\n )}\n </Box>\n );\n}\n\ninterface BoardColumnProps<T extends Record<string, unknown>> {\n column: ResolvedColumn<T>;\n board: BoardConfig<T>;\n getRowId: (row: T) => string | number;\n renderCard: (row: T, selection: DataViewCardSelection) => React.ReactNode;\n selectedIds: Set<string | number>;\n onToggleId?: (id: string | number) => void;\n cardScale: number;\n /** The column's width as CSS, already through the type scale. */\n width: string;\n testId: string;\n}\n\n/** One column: its header over a vertical stack of the entity's own cards. */\nfunction BoardColumn<T extends Record<string, unknown>>({\n column,\n board,\n getRowId,\n renderCard,\n selectedIds,\n onToggleId,\n cardScale,\n width,\n testId,\n}: BoardColumnProps<T>): React.JSX.Element {\n const copy = useDataViewsCopy();\n const total = sumOf(column.rows, board.sumBy);\n return (\n <Box\n data-testid={testId}\n sx={{\n flex: `0 0 ${width}`,\n minWidth: width,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 1,\n borderTop: (theme: Theme) => `${rem(theme, 3)} solid`,\n borderStyle: \"solid\",\n borderColor: toneColor(column.tone),\n borderRadius: 1,\n bgcolor: \"action.hover\",\n p: 1,\n }}\n >\n <BoardColumnHeader\n label={column.label}\n count={column.rows.length}\n sum={total === null ? null : String(board.formatSum ? board.formatSum(total) : total)}\n testId={testId}\n />\n {column.rows.length === 0 ? (\n <Text variant=\"caption\" as=\"p\">\n <Box component=\"span\" data-testid={`${testId}-empty`} sx={{ color: \"text.disabled\" }}>\n {copy.board.emptyColumn}\n </Box>\n </Text>\n ) : (\n column.rows.map((row) => {\n const id = getRowId(row);\n return (\n <Box key={id}>\n {renderCard(row, {\n selected: selectedIds.has(id),\n onToggleSelect: onToggleId && (() => onToggleId(id)),\n scale: cardScale,\n })}\n </Box>\n );\n })\n )}\n </Box>\n );\n}\n\ninterface DataViewsBoardProps<T extends Record<string, unknown>> {\n /** The LOADED page, verbatim. The board never filters, sorts or paginates. */\n rows: T[];\n board: BoardConfig<T>;\n getRowId: (row: T) => string | number;\n renderCard: (row: T, selection: DataViewCardSelection) => React.ReactNode;\n selectedIds: Set<string | number>;\n /** Absent on a grid that is not selectable: cards get no toggle, so no checkbox. */\n onToggleId?: (id: string | number) => void;\n /** Card size multiplier from the toolbar zoom slider — the same knob as cards. */\n cardScale: number;\n dataTestId?: string;\n}\n\n/**\n * The board's column width: 240 design px at scale 1, which the zoom slider\n * multiplies, and never narrower than 220 however far the zoom is wound down\n * (touch targets) — through the type scale.\n */\nconst columnWidth = (theme: Theme, cardScale: number): string =>\n rem(theme, Math.max(220, Math.round(240 * cardScale)));\n\n/**\n * The BOARD layout: the loaded page distributed into columns of the entity's own\n * card. A rendering, not a second source of truth — switching to it emits no\n * query, and it shows exactly the rows the table showed.\n *\n * The board scrolls HORIZONTALLY inside its own box rather than letting the page\n * scroll sideways, and its columns keep a usable width at every zoom, so a phone\n * gets a real board instead of six unreadable slivers.\n *\n * Cards are not draggable between columns. Dragging a payment from Recusado to\n * Pago is a domain transition with side effects, not a re-render: it needs the\n * allowed-transition set from the state machine plus a confirmation, and\n * `RowAction.isVisible` is the existing per-row guard to reuse when that lands.\n */\nexport function DataViewsBoard<T extends Record<string, unknown>>({\n rows,\n board,\n getRowId,\n renderCard,\n selectedIds,\n onToggleId,\n cardScale,\n dataTestId,\n}: DataViewsBoardProps<T>): React.JSX.Element {\n const copy = useDataViewsCopy();\n const theme = useTheme();\n const columns = groupRows(rows, board);\n const width = columnWidth(theme, cardScale);\n const testId = dataTestId ? `${dataTestId}-board` : \"data-views-board\";\n return (\n <Box sx={{ mt: 1.5 }}>\n <Text variant=\"caption\" as=\"p\">\n <Box component=\"span\" data-testid={`${testId}-scale-note`} sx={{ color: \"text.secondary\" }}>\n {copy.board.pageScopeNote}\n </Box>\n </Text>\n <Box\n data-testid={testId}\n sx={{\n mt: 1,\n display: \"flex\",\n alignItems: \"flex-start\",\n gap: 1.5,\n // The BOARD scrolls, not the page: without `maxWidth` the flex row\n // widens its parent and the whole document scrolls sideways.\n maxWidth: \"100%\",\n overflowX: \"auto\",\n pb: 1,\n }}\n >\n {columns.map((column) => (\n <BoardColumn\n key={column.key}\n column={column}\n board={board}\n getRowId={getRowId}\n renderCard={renderCard}\n selectedIds={selectedIds}\n onToggleId={onToggleId}\n cardScale={cardScale}\n width={width}\n testId={`${testId}-column-${column.key}`}\n />\n ))}\n </Box>\n </Box>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;AAEA,SAAS,gBAA4B;AA6I/B,SAEI,KAFJ;AA1FN,IAAM,sBAAsB;AAW5B,SAAS,aAAgD,KAAQ,SAAyB;AACxF,QAAM,QAAQ,IAAI,OAAO;AACzB,SAAO,UAAU,QAAQ,UAAU,SAAY,KAAK,OAAO,KAAK;AAClE;AAeO,SAAS,UACd,MACA,OACqB;AACrB,QAAM,WAAW,IAAI,IAAiB,MAAM,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;AACpF,QAAM,QAAa,CAAC;AACpB,aAAW,OAAO,MAAM;AACtB,UAAM,SAAS,SAAS,IAAI,aAAa,KAAK,MAAM,OAAO,CAAC;AAC5D,QAAI,OAAQ,QAAO,KAAK,GAAG;AAAA,QACtB,OAAM,KAAK,GAAG;AAAA,EACrB;AACA,QAAM,UAA+B,MAAM,OAAO,IAAI,CAAC,WAAW;AAAA,IAChE,KAAK,MAAM;AAAA,IACX,OAAO,MAAM;AA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A,YAEC;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,QAAQ,GAAG,MAAM,WAAW,OAAO,GAAG;AAAA;AAAA,UATjC,OAAO;AAAA,QAUd,CACD;AAAA;AAAA,IACH;AAAA,KACF;AAEJ;","names":["default"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CountedIcon
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JXW6DZDN.js";
|
|
4
4
|
import {
|
|
5
5
|
rem
|
|
6
6
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -123,4 +123,4 @@ function RailCreateMenu({
|
|
|
123
123
|
export {
|
|
124
124
|
RailCreateMenu
|
|
125
125
|
};
|
|
126
|
-
//# sourceMappingURL=chunk-
|
|
126
|
+
//# sourceMappingURL=chunk-AKGXNC4R.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderChartByType
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
ChartContainer
|
|
6
|
-
} from "./chunk-RIRTW5EU.js";
|
|
3
|
+
} from "./chunk-6ATXOJVQ.js";
|
|
7
4
|
import {
|
|
8
5
|
getSizeStyles,
|
|
9
6
|
getVariantStyles,
|
|
10
7
|
plotHeightPx
|
|
11
8
|
} from "./chunk-TCWISGSS.js";
|
|
9
|
+
import {
|
|
10
|
+
ChartContainer
|
|
11
|
+
} from "./chunk-RIRTW5EU.js";
|
|
12
12
|
import {
|
|
13
13
|
muiColor
|
|
14
14
|
} from "./chunk-7ZPUN7TV.js";
|
|
@@ -111,4 +111,4 @@ var Chart = (props) => {
|
|
|
111
111
|
export {
|
|
112
112
|
Chart
|
|
113
113
|
};
|
|
114
|
-
//# sourceMappingURL=chunk-
|
|
114
|
+
//# sourceMappingURL=chunk-AMLHEKSV.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
coerceViewState,
|
|
6
6
|
emptyViewState
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O2P2KTKN.js";
|
|
8
8
|
import {
|
|
9
9
|
useDataViewsCopy
|
|
10
10
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -96,4 +96,4 @@ function useSavedViewsController(persistence, router, columnIds, views, initialV
|
|
|
96
96
|
export {
|
|
97
97
|
useSavedViewsController
|
|
98
98
|
};
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
99
|
+
//# sourceMappingURL=chunk-BI7YMVKZ.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ZEVFMQAQ.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsGrid
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M6V7Y7CP.js";
|
|
7
7
|
import {
|
|
8
8
|
viewStateKey
|
|
9
9
|
} from "./chunk-ZOLAYP2D.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-TAUCPCNN.js";
|
|
18
18
|
import {
|
|
19
19
|
useSavedViewsController
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BI7YMVKZ.js";
|
|
21
21
|
|
|
22
22
|
// src/components/data-display/DataViews/DataViewsTableBase.tsx
|
|
23
23
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -166,4 +166,4 @@ function renderViewDialogs(ctl, fields, columns, views, testIdPrefix, onSaved) {
|
|
|
166
166
|
export {
|
|
167
167
|
DataViewsTableBase
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=chunk-
|
|
169
|
+
//# sourceMappingURL=chunk-FNFDXJWR.js.map
|