@12-apps/ui 6.66.1 → 6.67.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/AlertDialog/AlertDialog.js +2 -2
- package/dist/_internal/components/data-display/AlertDialog/AlertDialog.parts.js +1 -1
- package/dist/_internal/components/data-display/Avatar/Avatar.js +4 -4
- package/dist/_internal/components/data-display/Avatar/Avatar.view.js +2 -2
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +7 -7
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +7 -7
- package/dist/_internal/components/data-display/Carousel/Carousel.js +2 -2
- package/dist/_internal/components/data-display/Chart/Chart.js +3 -3
- package/dist/_internal/components/data-display/Chart/SpecChart.js +6 -6
- package/dist/_internal/components/data-display/Chart/chart-renderers.js +2 -2
- package/dist/_internal/components/data-display/Chart/chart-spec.js +2 -2
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +31 -28
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +41 -38
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +7 -7
- 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-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-empty.js +5 -3
- 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 +7 -6
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +28 -25
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +11 -5
- package/dist/_internal/components/data-display/DataViews/data-views-layout-context.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +8 -3
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +7 -4
- package/dist/_internal/components/data-display/DataViews/data-views-overflow-fields.js +18 -0
- package/dist/_internal/components/data-display/DataViews/data-views-overflow-fields.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/data-views-overflow.js +6 -2
- package/dist/_internal/components/data-display/DataViews/data-views-quick-chip.js +20 -0
- package/dist/_internal/components/data-display/DataViews/data-views-quick-chip.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/data-views-quick-types.js +1 -0
- package/dist/_internal/components/data-display/DataViews/data-views-quick-types.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/data-views-range-pill.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 +8 -7
- package/dist/_internal/components/data-display/DataViews/data-views-sticky-head.js +21 -0
- package/dist/_internal/components/data-display/DataViews/data-views-sticky-head.js.map +1 -0
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +8 -8
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +7 -6
- 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 +3 -3
- package/dist/_internal/components/data-display/DataViews/use-saved-views-controller.js +2 -2
- package/dist/_internal/components/data-display/index.js +21 -21
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.js +4 -4
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmAction.parts.js +3 -3
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +5 -5
- package/dist/_internal/components/feedback/ConfirmAction/with-confirmation.js +4 -4
- package/dist/_internal/components/feedback/index.js +6 -6
- package/dist/_internal/components/index.js +25 -25
- package/dist/_internal/user-avatar/user-avatar.js +5 -5
- package/dist/charts.js +11 -11
- package/dist/{chunk-35L5YMYQ.js → chunk-2QB4WIU5.js} +6 -6
- package/dist/chunk-4IE66GY2.js +89 -0
- package/dist/chunk-4IE66GY2.js.map +1 -0
- package/dist/{chunk-IPCRPGWU.js → chunk-4W6AQFMO.js} +2 -2
- package/dist/{chunk-JYMXYSDP.js → chunk-5CAWRMDX.js} +2 -2
- package/dist/{chunk-UD4R5HMI.js → chunk-5JRAQ4D5.js} +2 -2
- package/dist/{chunk-L7OWFJUU.js → chunk-5RC7WAHH.js} +40 -34
- package/dist/chunk-5RC7WAHH.js.map +1 -0
- package/dist/{chunk-647DEGIU.js → chunk-5WJFCQFN.js} +7 -7
- package/dist/{chunk-FTCJPTDA.js → chunk-62BY4ZUQ.js} +2 -2
- package/dist/{chunk-J4AHFEEV.js → chunk-6QOJEZDH.js} +2 -2
- package/dist/{chunk-K6KBASL2.js → chunk-72L5C74V.js} +2 -2
- package/dist/{chunk-TKLPPAS5.js → chunk-AHNEEFK6.js} +2 -2
- package/dist/chunk-AT6UKTH4.js +129 -0
- package/dist/chunk-AT6UKTH4.js.map +1 -0
- package/dist/{chunk-BI7YMVKZ.js → chunk-B2JSUFDX.js} +2 -2
- package/dist/{chunk-7J5JR33K.js → chunk-BBBHPK2Q.js} +2 -2
- package/dist/{chunk-IQQX3NDO.js → chunk-BGTG7G54.js} +5 -2
- package/dist/chunk-BGTG7G54.js.map +1 -0
- package/dist/{chunk-UZ2CEJOO.js → chunk-CSJ7WNXU.js} +2 -2
- package/dist/{chunk-6QYKZMEE.js → chunk-CSLBRJ7N.js} +40 -25
- package/dist/chunk-CSLBRJ7N.js.map +1 -0
- package/dist/{chunk-LMIOWP6H.js → chunk-D34PZJH3.js} +2 -2
- package/dist/{chunk-SUZLGB5I.js → chunk-E6K2UZGR.js} +3 -3
- package/dist/{chunk-7XSCEHGA.js → chunk-EOQ6EKTS.js} +7 -7
- package/dist/chunk-GCYGVWOI.js +59 -0
- package/dist/chunk-GCYGVWOI.js.map +1 -0
- package/dist/{chunk-7QRUGEGE.js → chunk-GICG3XJK.js} +2 -2
- package/dist/{chunk-AMLHEKSV.js → chunk-HI7JPDD6.js} +5 -5
- package/dist/{chunk-O2P2KTKN.js → chunk-HLYYB4O5.js} +1 -1
- package/dist/chunk-HLYYB4O5.js.map +1 -0
- package/dist/{chunk-KARMRTTM.js → chunk-J2RUDZVJ.js} +7 -7
- package/dist/{chunk-HQCZT6TO.js → chunk-JVOEVTCZ.js} +5 -5
- package/dist/{chunk-VJB63DUM.js → chunk-K3PMMW23.js} +2 -2
- package/dist/{chunk-J6DYHBID.js → chunk-LIN4A2BW.js} +7 -7
- package/dist/{chunk-FXZUVZON.js → chunk-LWZ2K225.js} +6 -6
- package/dist/{chunk-LGCZRKED.js → chunk-NJMAFII4.js} +2 -2
- package/dist/{chunk-FNFDXJWR.js → chunk-P3USTYIO.js} +4 -4
- package/dist/chunk-P3USTYIO.js.map +1 -0
- package/dist/{chunk-MJ6EAND6.js → chunk-Q7BGMLCX.js} +2 -2
- package/dist/{chunk-6ATXOJVQ.js → chunk-QADTI63U.js} +4 -4
- package/dist/{chunk-M6V7Y7CP.js → chunk-QAZLQYSD.js} +3 -3
- package/dist/chunk-QAZLQYSD.js.map +1 -0
- package/dist/{chunk-L6MGAPBX.js → chunk-RCZ4KL2H.js} +5 -3
- package/dist/chunk-RCZ4KL2H.js.map +1 -0
- package/dist/{chunk-SFZHGDRH.js → chunk-RX2XP7V5.js} +2 -2
- package/dist/{chunk-VI6HYB2W.js → chunk-RZCXYKY4.js} +5 -2
- package/dist/chunk-RZCXYKY4.js.map +1 -0
- package/dist/{chunk-YLSSQJZM.js → chunk-T7ZERP7A.js} +30 -2
- package/dist/chunk-T7ZERP7A.js.map +1 -0
- package/dist/{chunk-SB2SEGR6.js → chunk-TIM4PXWN.js} +3 -3
- package/dist/{chunk-Y7YKIIYS.js → chunk-TQXB2OHP.js} +28 -4
- package/dist/chunk-TQXB2OHP.js.map +1 -0
- package/dist/{chunk-3WLS7Z7D.js → chunk-UMOHHWXY.js} +3 -3
- package/dist/{chunk-S4JXSC4D.js → chunk-V6SRBQMN.js} +5 -5
- package/dist/{chunk-JY5YINUH.js → chunk-WQ32YFM5.js} +15 -7
- package/dist/chunk-WQ32YFM5.js.map +1 -0
- package/dist/{chunk-ERA3AEWU.js → chunk-WTGIW7LX.js} +12 -3
- package/dist/chunk-WTGIW7LX.js.map +1 -0
- package/dist/{chunk-2VMIHFMX.js → chunk-WVIJFS5Y.js} +9 -4
- package/dist/chunk-WVIJFS5Y.js.map +1 -0
- package/dist/{chunk-375HTCF2.js → chunk-Y2CCXB7R.js} +18 -2
- package/dist/chunk-Y2CCXB7R.js.map +1 -0
- package/dist/{chunk-33XGC4YU.js → chunk-YEGZIYVM.js} +2 -2
- package/dist/{chunk-TAUCPCNN.js → chunk-YNIOCELQ.js} +2 -2
- package/dist/data-display/AlertDialog.js +2 -2
- package/dist/data-display/Avatar.js +4 -4
- package/dist/data-display/CardKit.js +15 -15
- package/dist/data-display/Carousel.js +2 -2
- package/dist/data-display/Chart.js +11 -11
- package/dist/data-display/DataGrid.js +2 -2
- package/dist/data-display/DataViews.js +50 -47
- package/dist/feedback/ConfirmAction.js +6 -6
- package/dist/types/components/data-display/AlertDialog/AlertDialog.d.ts.map +1 -1
- package/dist/types/components/data-display/AlertDialog/AlertDialog.parts.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsGrid.d.ts +15 -1
- package/dist/types/components/data-display/DataViews/DataViewsGrid.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/DataViewsTableBase.d.ts +5 -1
- package/dist/types/components/data-display/DataViews/DataViewsTableBase.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-empty.d.ts +10 -0
- package/dist/types/components/data-display/DataViews/data-views-empty.d.ts.map +1 -1
- 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 +5 -1
- 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-inline-bar.d.ts +4 -1
- package/dist/types/components/data-display/DataViews/data-views-inline-bar.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts +10 -1
- package/dist/types/components/data-display/DataViews/data-views-more-fields.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-more-filters.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-overflow-fields.d.ts +56 -0
- package/dist/types/components/data-display/DataViews/data-views-overflow-fields.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-overflow.d.ts +7 -5
- package/dist/types/components/data-display/DataViews/data-views-overflow.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-quick-chip.d.ts +16 -0
- package/dist/types/components/data-display/DataViews/data-views-quick-chip.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-quick-types.d.ts +33 -0
- package/dist/types/components/data-display/DataViews/data-views-quick-types.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-range-types.d.ts +2 -0
- package/dist/types/components/data-display/DataViews/data-views-range-types.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-shell-toolbar.d.ts +11 -6
- package/dist/types/components/data-display/DataViews/data-views-shell-toolbar.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-sticky-head.d.ts +45 -0
- package/dist/types/components/data-display/DataViews/data-views-sticky-head.d.ts.map +1 -0
- package/dist/types/components/data-display/DataViews/data-views-toolbar.d.ts +6 -0
- package/dist/types/components/data-display/DataViews/data-views-toolbar.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/data-views-types.d.ts +7 -4
- package/dist/types/components/data-display/DataViews/data-views-types.d.ts.map +1 -1
- package/dist/types/components/data-display/DataViews/index.d.ts +1 -1
- package/dist/types/components/data-display/DataViews/index.d.ts.map +1 -1
- package/dist/user-avatar.js +5 -5
- package/package.json +1 -1
- package/src/components/data-display/AlertDialog/AlertDialog.parts.tsx +4 -1
- package/src/components/data-display/AlertDialog/AlertDialog.tsx +3 -0
- package/src/components/data-display/DataViews/DataViewsGrid.tsx +15 -0
- package/src/components/data-display/DataViews/DataViewsTableBase.tsx +5 -0
- package/src/components/data-display/DataViews/RESPONSIVE-BEHAVIOUR.md +50 -0
- package/src/components/data-display/DataViews/data-views-empty.tsx +25 -0
- package/src/components/data-display/DataViews/data-views-grid-bodies.tsx +11 -1
- package/src/components/data-display/DataViews/data-views-grid-parts.tsx +27 -15
- package/src/components/data-display/DataViews/data-views-inline-bar.tsx +24 -1
- package/src/components/data-display/DataViews/data-views-more-fields.tsx +34 -1
- package/src/components/data-display/DataViews/data-views-more-filters.tsx +20 -4
- package/src/components/data-display/DataViews/data-views-overflow-fields.ts +110 -0
- package/src/components/data-display/DataViews/data-views-overflow.ts +58 -36
- package/src/components/data-display/DataViews/data-views-quick-chip.tsx +143 -0
- package/src/components/data-display/DataViews/data-views-quick-types.ts +33 -0
- package/src/components/data-display/DataViews/data-views-range-types.ts +2 -0
- package/src/components/data-display/DataViews/data-views-shell-toolbar.tsx +31 -23
- package/src/components/data-display/DataViews/data-views-sticky-head.ts +132 -0
- package/src/components/data-display/DataViews/data-views-toolbar.tsx +9 -0
- package/src/components/data-display/DataViews/data-views-types.ts +7 -11
- package/src/components/data-display/DataViews/index.ts +1 -0
- package/dist/chunk-2VMIHFMX.js.map +0 -1
- package/dist/chunk-375HTCF2.js.map +0 -1
- package/dist/chunk-6QYKZMEE.js.map +0 -1
- package/dist/chunk-ERA3AEWU.js.map +0 -1
- package/dist/chunk-FNFDXJWR.js.map +0 -1
- package/dist/chunk-IQQX3NDO.js.map +0 -1
- package/dist/chunk-JY5YINUH.js.map +0 -1
- package/dist/chunk-L6MGAPBX.js.map +0 -1
- package/dist/chunk-L7OWFJUU.js.map +0 -1
- package/dist/chunk-M6V7Y7CP.js.map +0 -1
- package/dist/chunk-O2P2KTKN.js.map +0 -1
- package/dist/chunk-VI6HYB2W.js.map +0 -1
- package/dist/chunk-Y7YKIIYS.js.map +0 -1
- package/dist/chunk-YLSSQJZM.js.map +0 -1
- /package/dist/{chunk-35L5YMYQ.js.map → chunk-2QB4WIU5.js.map} +0 -0
- /package/dist/{chunk-IPCRPGWU.js.map → chunk-4W6AQFMO.js.map} +0 -0
- /package/dist/{chunk-JYMXYSDP.js.map → chunk-5CAWRMDX.js.map} +0 -0
- /package/dist/{chunk-UD4R5HMI.js.map → chunk-5JRAQ4D5.js.map} +0 -0
- /package/dist/{chunk-647DEGIU.js.map → chunk-5WJFCQFN.js.map} +0 -0
- /package/dist/{chunk-FTCJPTDA.js.map → chunk-62BY4ZUQ.js.map} +0 -0
- /package/dist/{chunk-J4AHFEEV.js.map → chunk-6QOJEZDH.js.map} +0 -0
- /package/dist/{chunk-K6KBASL2.js.map → chunk-72L5C74V.js.map} +0 -0
- /package/dist/{chunk-TKLPPAS5.js.map → chunk-AHNEEFK6.js.map} +0 -0
- /package/dist/{chunk-BI7YMVKZ.js.map → chunk-B2JSUFDX.js.map} +0 -0
- /package/dist/{chunk-7J5JR33K.js.map → chunk-BBBHPK2Q.js.map} +0 -0
- /package/dist/{chunk-UZ2CEJOO.js.map → chunk-CSJ7WNXU.js.map} +0 -0
- /package/dist/{chunk-LMIOWP6H.js.map → chunk-D34PZJH3.js.map} +0 -0
- /package/dist/{chunk-SUZLGB5I.js.map → chunk-E6K2UZGR.js.map} +0 -0
- /package/dist/{chunk-7XSCEHGA.js.map → chunk-EOQ6EKTS.js.map} +0 -0
- /package/dist/{chunk-7QRUGEGE.js.map → chunk-GICG3XJK.js.map} +0 -0
- /package/dist/{chunk-AMLHEKSV.js.map → chunk-HI7JPDD6.js.map} +0 -0
- /package/dist/{chunk-KARMRTTM.js.map → chunk-J2RUDZVJ.js.map} +0 -0
- /package/dist/{chunk-HQCZT6TO.js.map → chunk-JVOEVTCZ.js.map} +0 -0
- /package/dist/{chunk-VJB63DUM.js.map → chunk-K3PMMW23.js.map} +0 -0
- /package/dist/{chunk-J6DYHBID.js.map → chunk-LIN4A2BW.js.map} +0 -0
- /package/dist/{chunk-FXZUVZON.js.map → chunk-LWZ2K225.js.map} +0 -0
- /package/dist/{chunk-LGCZRKED.js.map → chunk-NJMAFII4.js.map} +0 -0
- /package/dist/{chunk-MJ6EAND6.js.map → chunk-Q7BGMLCX.js.map} +0 -0
- /package/dist/{chunk-6ATXOJVQ.js.map → chunk-QADTI63U.js.map} +0 -0
- /package/dist/{chunk-SFZHGDRH.js.map → chunk-RX2XP7V5.js.map} +0 -0
- /package/dist/{chunk-SB2SEGR6.js.map → chunk-TIM4PXWN.js.map} +0 -0
- /package/dist/{chunk-3WLS7Z7D.js.map → chunk-UMOHHWXY.js.map} +0 -0
- /package/dist/{chunk-S4JXSC4D.js.map → chunk-V6SRBQMN.js.map} +0 -0
- /package/dist/{chunk-33XGC4YU.js.map → chunk-YEGZIYVM.js.map} +0 -0
- /package/dist/{chunk-TAUCPCNN.js.map → chunk-YNIOCELQ.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConfirmActionDialog
|
|
3
|
-
} from "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-5JRAQ4D5.js";
|
|
4
4
|
import "../../../../chunk-2IBFEHIX.js";
|
|
5
|
-
import "../../../../chunk-
|
|
6
|
-
import "../../../../chunk-
|
|
5
|
+
import "../../../../chunk-RZCXYKY4.js";
|
|
6
|
+
import "../../../../chunk-BGTG7G54.js";
|
|
7
7
|
import "../../../../chunk-XJAD6E3V.js";
|
|
8
8
|
import "../../../../chunk-F5H2ZXST.js";
|
|
9
9
|
import "../../../../chunk-N3GAFIXG.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createConfirmButton
|
|
3
|
-
} from "../../../../chunk-
|
|
4
|
-
import "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-NJMAFII4.js";
|
|
4
|
+
import "../../../../chunk-GICG3XJK.js";
|
|
5
5
|
import "../../../../chunk-EMYESBIT.js";
|
|
6
|
-
import "../../../../chunk-
|
|
6
|
+
import "../../../../chunk-5JRAQ4D5.js";
|
|
7
7
|
import "../../../../chunk-2IBFEHIX.js";
|
|
8
|
-
import "../../../../chunk-
|
|
9
|
-
import "../../../../chunk-
|
|
8
|
+
import "../../../../chunk-RZCXYKY4.js";
|
|
9
|
+
import "../../../../chunk-BGTG7G54.js";
|
|
10
10
|
import "../../../../chunk-BA4RHQ3B.js";
|
|
11
11
|
import "../../../../chunk-364NH2NY.js";
|
|
12
12
|
import "../../../../chunk-PPEHBI5O.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withConfirmation
|
|
3
|
-
} from "../../../../chunk-
|
|
3
|
+
} from "../../../../chunk-GICG3XJK.js";
|
|
4
4
|
import "../../../../chunk-EMYESBIT.js";
|
|
5
|
-
import "../../../../chunk-
|
|
5
|
+
import "../../../../chunk-5JRAQ4D5.js";
|
|
6
6
|
import "../../../../chunk-2IBFEHIX.js";
|
|
7
|
-
import "../../../../chunk-
|
|
8
|
-
import "../../../../chunk-
|
|
7
|
+
import "../../../../chunk-RZCXYKY4.js";
|
|
8
|
+
import "../../../../chunk-BGTG7G54.js";
|
|
9
9
|
import "../../../../chunk-XJAD6E3V.js";
|
|
10
10
|
import "../../../../chunk-F5H2ZXST.js";
|
|
11
11
|
import "../../../../chunk-N3GAFIXG.js";
|
|
@@ -40,19 +40,19 @@ import "../../../chunk-OHXAJUO5.js";
|
|
|
40
40
|
import "../../../chunk-XCBQXSTR.js";
|
|
41
41
|
import {
|
|
42
42
|
createConfirmButton
|
|
43
|
-
} from "../../../chunk-
|
|
43
|
+
} from "../../../chunk-NJMAFII4.js";
|
|
44
44
|
import {
|
|
45
45
|
withConfirmation
|
|
46
|
-
} from "../../../chunk-
|
|
46
|
+
} from "../../../chunk-GICG3XJK.js";
|
|
47
47
|
import {
|
|
48
48
|
ConfirmAction
|
|
49
|
-
} from "../../../chunk-
|
|
49
|
+
} from "../../../chunk-RX2XP7V5.js";
|
|
50
50
|
import {
|
|
51
51
|
useConfirmAction
|
|
52
52
|
} from "../../../chunk-EMYESBIT.js";
|
|
53
53
|
import {
|
|
54
54
|
ConfirmActionDialog
|
|
55
|
-
} from "../../../chunk-
|
|
55
|
+
} from "../../../chunk-5JRAQ4D5.js";
|
|
56
56
|
import "../../../chunk-KFJKOVDD.js";
|
|
57
57
|
import {
|
|
58
58
|
Dialog,
|
|
@@ -83,8 +83,8 @@ import "../../../chunk-DQJFCVXW.js";
|
|
|
83
83
|
import "../../../chunk-JYAXTRNH.js";
|
|
84
84
|
import "../../../chunk-L7VH6IMR.js";
|
|
85
85
|
import "../../../chunk-2IBFEHIX.js";
|
|
86
|
-
import "../../../chunk-
|
|
87
|
-
import "../../../chunk-
|
|
86
|
+
import "../../../chunk-RZCXYKY4.js";
|
|
87
|
+
import "../../../chunk-BGTG7G54.js";
|
|
88
88
|
import "../../../chunk-3LHZCVGM.js";
|
|
89
89
|
import "../../../chunk-BA4RHQ3B.js";
|
|
90
90
|
import "../../../chunk-364NH2NY.js";
|
|
@@ -552,8 +552,7 @@ import {
|
|
|
552
552
|
import "../../chunk-62FET2BM.js";
|
|
553
553
|
import {
|
|
554
554
|
Carousel
|
|
555
|
-
} from "../../chunk-
|
|
556
|
-
import "../../chunk-Z64TMGYT.js";
|
|
555
|
+
} from "../../chunk-V6SRBQMN.js";
|
|
557
556
|
import "../../chunk-6FDLBWTE.js";
|
|
558
557
|
import "../../chunk-RUIV5TVA.js";
|
|
559
558
|
import "../../chunk-RUF7TOAZ.js";
|
|
@@ -562,6 +561,7 @@ import {
|
|
|
562
561
|
CarouselIndicators,
|
|
563
562
|
CarouselThumbnails
|
|
564
563
|
} from "../../chunk-FRGNTTPA.js";
|
|
564
|
+
import "../../chunk-Z64TMGYT.js";
|
|
565
565
|
import "../../chunk-2GTORM5E.js";
|
|
566
566
|
import {
|
|
567
567
|
Chip
|
|
@@ -656,19 +656,19 @@ import {
|
|
|
656
656
|
import "../../chunk-XCBQXSTR.js";
|
|
657
657
|
import {
|
|
658
658
|
createConfirmButton
|
|
659
|
-
} from "../../chunk-
|
|
659
|
+
} from "../../chunk-NJMAFII4.js";
|
|
660
660
|
import {
|
|
661
661
|
withConfirmation
|
|
662
|
-
} from "../../chunk-
|
|
662
|
+
} from "../../chunk-GICG3XJK.js";
|
|
663
663
|
import {
|
|
664
664
|
ConfirmAction
|
|
665
|
-
} from "../../chunk-
|
|
665
|
+
} from "../../chunk-RX2XP7V5.js";
|
|
666
666
|
import {
|
|
667
667
|
useConfirmAction
|
|
668
668
|
} from "../../chunk-EMYESBIT.js";
|
|
669
669
|
import {
|
|
670
670
|
ConfirmActionDialog
|
|
671
|
-
} from "../../chunk-
|
|
671
|
+
} from "../../chunk-5JRAQ4D5.js";
|
|
672
672
|
import "../../chunk-KFJKOVDD.js";
|
|
673
673
|
import {
|
|
674
674
|
Dialog,
|
|
@@ -698,11 +698,11 @@ import {
|
|
|
698
698
|
import "../../chunk-L5CPOEDP.js";
|
|
699
699
|
import {
|
|
700
700
|
DataGrid
|
|
701
|
-
} from "../../chunk-
|
|
702
|
-
import "../../chunk-EARWC6PD.js";
|
|
701
|
+
} from "../../chunk-LWZ2K225.js";
|
|
703
702
|
import "../../chunk-LDROG4QI.js";
|
|
704
703
|
import "../../chunk-ZFXTRPQO.js";
|
|
705
704
|
import "../../chunk-ICDAYOJ6.js";
|
|
705
|
+
import "../../chunk-EARWC6PD.js";
|
|
706
706
|
import "../../chunk-G3E66C6J.js";
|
|
707
707
|
import "../../chunk-SNCSGLJ6.js";
|
|
708
708
|
import {
|
|
@@ -761,8 +761,8 @@ import "../../chunk-L7VH6IMR.js";
|
|
|
761
761
|
import "../../chunk-2IBFEHIX.js";
|
|
762
762
|
import {
|
|
763
763
|
AlertDialog
|
|
764
|
-
} from "../../chunk-
|
|
765
|
-
import "../../chunk-
|
|
764
|
+
} from "../../chunk-RZCXYKY4.js";
|
|
765
|
+
import "../../chunk-BGTG7G54.js";
|
|
766
766
|
import "../../chunk-5AK2EZG5.js";
|
|
767
767
|
import {
|
|
768
768
|
Badge
|
|
@@ -788,29 +788,22 @@ import "../../chunk-IBOFASAZ.js";
|
|
|
788
788
|
import "../../chunk-5KLSLD72.js";
|
|
789
789
|
import {
|
|
790
790
|
SpecChart
|
|
791
|
-
} from "../../chunk-
|
|
791
|
+
} from "../../chunk-TIM4PXWN.js";
|
|
792
792
|
import {
|
|
793
793
|
Chart
|
|
794
|
-
} from "../../chunk-
|
|
794
|
+
} from "../../chunk-HI7JPDD6.js";
|
|
795
795
|
import {
|
|
796
796
|
CHART_SEMANTIC_COLORS,
|
|
797
797
|
ChartSpecError,
|
|
798
798
|
parseChartSpec,
|
|
799
799
|
specToChartProps
|
|
800
|
-
} from "../../chunk-
|
|
801
|
-
import {
|
|
802
|
-
chartValueFormatter,
|
|
803
|
-
formatChartValue
|
|
804
|
-
} from "../../chunk-6GPNZSAE.js";
|
|
800
|
+
} from "../../chunk-JVOEVTCZ.js";
|
|
805
801
|
import {
|
|
806
802
|
getChartSpecRenderer,
|
|
807
803
|
getRegisteredChartSpecTypes,
|
|
808
804
|
registerChartSpecRenderer
|
|
809
805
|
} from "../../chunk-WKUA6P3W.js";
|
|
810
|
-
import "../../chunk-
|
|
811
|
-
import "../../chunk-TZC6KIK2.js";
|
|
812
|
-
import "../../chunk-TCWISGSS.js";
|
|
813
|
-
import "../../chunk-SOHQPPYJ.js";
|
|
806
|
+
import "../../chunk-QADTI63U.js";
|
|
814
807
|
import {
|
|
815
808
|
ChartContainer,
|
|
816
809
|
ChartLegend,
|
|
@@ -818,6 +811,13 @@ import {
|
|
|
818
811
|
ChartTooltip,
|
|
819
812
|
ChartTooltipContent
|
|
820
813
|
} from "../../chunk-RIRTW5EU.js";
|
|
814
|
+
import {
|
|
815
|
+
chartValueFormatter,
|
|
816
|
+
formatChartValue
|
|
817
|
+
} from "../../chunk-6GPNZSAE.js";
|
|
818
|
+
import "../../chunk-TZC6KIK2.js";
|
|
819
|
+
import "../../chunk-TCWISGSS.js";
|
|
820
|
+
import "../../chunk-SOHQPPYJ.js";
|
|
821
821
|
import "../../chunk-6GP2DOOO.js";
|
|
822
822
|
import {
|
|
823
823
|
Heading
|
|
@@ -832,11 +832,11 @@ import "../../chunk-JIRZ27RI.js";
|
|
|
832
832
|
import {
|
|
833
833
|
Avatar,
|
|
834
834
|
AvatarGroup
|
|
835
|
-
} from "../../chunk-
|
|
836
|
-
import "../../chunk-7XSCEHGA.js";
|
|
837
|
-
import "../../chunk-MTEQEPNY.js";
|
|
838
|
-
import "../../chunk-6ZZGK5DT.js";
|
|
835
|
+
} from "../../chunk-J2RUDZVJ.js";
|
|
839
836
|
import "../../chunk-3ZVUNSFF.js";
|
|
837
|
+
import "../../chunk-EOQ6EKTS.js";
|
|
838
|
+
import "../../chunk-6ZZGK5DT.js";
|
|
839
|
+
import "../../chunk-MTEQEPNY.js";
|
|
840
840
|
import "../../chunk-VUHLNYAE.js";
|
|
841
841
|
import "../../chunk-2GSIEDGN.js";
|
|
842
842
|
import {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
UserAvatar,
|
|
4
4
|
UserMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-Q7BGMLCX.js";
|
|
6
6
|
import "../../chunk-UDQSIRAP.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-7XSCEHGA.js";
|
|
9
|
-
import "../../chunk-MTEQEPNY.js";
|
|
10
|
-
import "../../chunk-6ZZGK5DT.js";
|
|
7
|
+
import "../../chunk-J2RUDZVJ.js";
|
|
11
8
|
import "../../chunk-3ZVUNSFF.js";
|
|
9
|
+
import "../../chunk-EOQ6EKTS.js";
|
|
10
|
+
import "../../chunk-6ZZGK5DT.js";
|
|
11
|
+
import "../../chunk-MTEQEPNY.js";
|
|
12
12
|
import "../../chunk-VUHLNYAE.js";
|
|
13
13
|
import "../../chunk-2GSIEDGN.js";
|
|
14
14
|
import "../../chunk-W2RXXF7K.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
import "./chunk-5KLSLD72.js";
|
|
2
2
|
import {
|
|
3
3
|
SpecChart
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TIM4PXWN.js";
|
|
5
5
|
import {
|
|
6
6
|
Chart
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HI7JPDD6.js";
|
|
8
8
|
import {
|
|
9
9
|
CHART_SEMANTIC_COLORS,
|
|
10
10
|
ChartSpecError,
|
|
11
11
|
parseChartSpec,
|
|
12
12
|
specToChartProps
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
chartValueFormatter,
|
|
16
|
-
formatChartValue
|
|
17
|
-
} from "./chunk-6GPNZSAE.js";
|
|
13
|
+
} from "./chunk-JVOEVTCZ.js";
|
|
18
14
|
import {
|
|
19
15
|
getChartSpecRenderer,
|
|
20
16
|
getRegisteredChartSpecTypes,
|
|
21
17
|
registerChartSpecRenderer
|
|
22
18
|
} from "./chunk-WKUA6P3W.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-TZC6KIK2.js";
|
|
25
|
-
import "./chunk-TCWISGSS.js";
|
|
26
|
-
import "./chunk-SOHQPPYJ.js";
|
|
19
|
+
import "./chunk-QADTI63U.js";
|
|
27
20
|
import {
|
|
28
21
|
ChartContainer,
|
|
29
22
|
ChartLegend,
|
|
@@ -31,6 +24,13 @@ import {
|
|
|
31
24
|
ChartTooltip,
|
|
32
25
|
ChartTooltipContent
|
|
33
26
|
} from "./chunk-RIRTW5EU.js";
|
|
27
|
+
import {
|
|
28
|
+
chartValueFormatter,
|
|
29
|
+
formatChartValue
|
|
30
|
+
} from "./chunk-6GPNZSAE.js";
|
|
31
|
+
import "./chunk-TZC6KIK2.js";
|
|
32
|
+
import "./chunk-TCWISGSS.js";
|
|
33
|
+
import "./chunk-SOHQPPYJ.js";
|
|
34
34
|
import "./chunk-B7ZHEOQQ.js";
|
|
35
35
|
import "./chunk-BRHRK7BK.js";
|
|
36
36
|
import "./chunk-25MSGLNU.js";
|
|
@@ -5,6 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
filterRows
|
|
7
7
|
} from "./chunk-YGQX7BNI.js";
|
|
8
|
+
import {
|
|
9
|
+
serverDerived,
|
|
10
|
+
useServerQuery
|
|
11
|
+
} from "./chunk-IMLIIW77.js";
|
|
8
12
|
import {
|
|
9
13
|
useSelection
|
|
10
14
|
} from "./chunk-LLZWB32X.js";
|
|
@@ -16,13 +20,9 @@ import {
|
|
|
16
20
|
computeActiveFilterCount,
|
|
17
21
|
defaultSortFields
|
|
18
22
|
} from "./chunk-XZE5FIRB.js";
|
|
19
|
-
import {
|
|
20
|
-
serverDerived,
|
|
21
|
-
useServerQuery
|
|
22
|
-
} from "./chunk-IMLIIW77.js";
|
|
23
23
|
import {
|
|
24
24
|
emptyViewState
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-HLYYB4O5.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-2QB4WIU5.js.map
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// src/components/data-display/DataViews/data-views-sticky-head.ts
|
|
2
|
+
import { useEffect } from "react";
|
|
3
|
+
var SHELL_ATTR = "data-dv-shell";
|
|
4
|
+
var STICKY_BAR_ATTR = "data-dv-sticky-bar";
|
|
5
|
+
var SHELL_PROPS = { [SHELL_ATTR]: "" };
|
|
6
|
+
function headShift(tableTop, tableHeight, headHeight, edge) {
|
|
7
|
+
return Math.max(0, Math.min(edge - tableTop, tableHeight - headHeight));
|
|
8
|
+
}
|
|
9
|
+
function stickyEdge(wrapper) {
|
|
10
|
+
const bar = wrapper.closest(`[${SHELL_ATTR}]`)?.querySelector(`[${STICKY_BAR_ATTR}]`);
|
|
11
|
+
return bar ? bar.getBoundingClientRect().bottom : 0;
|
|
12
|
+
}
|
|
13
|
+
function scrollParent(element) {
|
|
14
|
+
for (let node = element.parentElement; node; node = node.parentElement) {
|
|
15
|
+
const { overflowY } = getComputedStyle(node);
|
|
16
|
+
if (overflowY === "auto" || overflowY === "scroll") return node;
|
|
17
|
+
}
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
function useStickyBarTop(ref, enabled) {
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
const shell = ref.current;
|
|
23
|
+
const bar = shell?.querySelector(`[${STICKY_BAR_ATTR}]`);
|
|
24
|
+
if (!enabled || !shell || !bar) return void 0;
|
|
25
|
+
const apply = () => {
|
|
26
|
+
const parent = scrollParent(bar);
|
|
27
|
+
bar.style.top = parent ? `calc(-1 * ${getComputedStyle(parent).paddingTop})` : "";
|
|
28
|
+
};
|
|
29
|
+
apply();
|
|
30
|
+
window.addEventListener("resize", apply);
|
|
31
|
+
return () => {
|
|
32
|
+
window.removeEventListener("resize", apply);
|
|
33
|
+
bar.style.top = "";
|
|
34
|
+
};
|
|
35
|
+
}, [ref, enabled]);
|
|
36
|
+
}
|
|
37
|
+
function paint(head, shift) {
|
|
38
|
+
const transform = shift > 0 && typeof DOMMatrixReadOnly !== "undefined" ? new DOMMatrixReadOnly().translate(0, shift).toString() : "";
|
|
39
|
+
head.querySelectorAll("th").forEach((cell) => {
|
|
40
|
+
cell.style.transform = transform;
|
|
41
|
+
cell.style.zIndex = transform ? "2" : "";
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function useStickyTableHead(ref, enabled) {
|
|
45
|
+
useEffect(() => {
|
|
46
|
+
const wrapper = ref.current;
|
|
47
|
+
if (!enabled || !wrapper) return void 0;
|
|
48
|
+
let frame = 0;
|
|
49
|
+
const apply = () => {
|
|
50
|
+
frame = 0;
|
|
51
|
+
const table = wrapper.querySelector("table");
|
|
52
|
+
const head = table?.querySelector("thead");
|
|
53
|
+
if (!table || !head) return;
|
|
54
|
+
const box = table.getBoundingClientRect();
|
|
55
|
+
const shift = headShift(box.top, box.height, head.getBoundingClientRect().height, stickyEdge(wrapper));
|
|
56
|
+
paint(head, shift);
|
|
57
|
+
};
|
|
58
|
+
const schedule = () => {
|
|
59
|
+
if (frame === 0) frame = requestAnimationFrame(apply);
|
|
60
|
+
};
|
|
61
|
+
window.addEventListener("scroll", schedule, { capture: true, passive: true });
|
|
62
|
+
window.addEventListener("resize", schedule);
|
|
63
|
+
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(schedule);
|
|
64
|
+
observer?.observe(wrapper);
|
|
65
|
+
const mutations = typeof MutationObserver === "undefined" ? null : new MutationObserver(schedule);
|
|
66
|
+
mutations?.observe(wrapper, { childList: true, subtree: true });
|
|
67
|
+
schedule();
|
|
68
|
+
return () => {
|
|
69
|
+
window.removeEventListener("scroll", schedule, { capture: true });
|
|
70
|
+
window.removeEventListener("resize", schedule);
|
|
71
|
+
observer?.disconnect();
|
|
72
|
+
mutations?.disconnect();
|
|
73
|
+
if (frame !== 0) cancelAnimationFrame(frame);
|
|
74
|
+
const head = wrapper.querySelector("thead");
|
|
75
|
+
if (head) paint(head, 0);
|
|
76
|
+
};
|
|
77
|
+
}, [ref, enabled]);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export {
|
|
81
|
+
SHELL_ATTR,
|
|
82
|
+
STICKY_BAR_ATTR,
|
|
83
|
+
SHELL_PROPS,
|
|
84
|
+
headShift,
|
|
85
|
+
useStickyBarTop,
|
|
86
|
+
paint,
|
|
87
|
+
useStickyTableHead
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=chunk-4IE66GY2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/DataViews/data-views-sticky-head.ts"],"sourcesContent":["\"use client\";\n\n/**\n * THE TABLE HEADER THAT FOLLOWS THE PAGE — for `stickyToolbar`.\n *\n * `position: sticky` cannot do this job. A sticky cell sticks inside its\n * nearest scroll container, and the table's is its own wrapper: it scrolls\n * SIDEWAYS (`overflow-x: auto`, so a wide table is never squeezed), which\n * makes it a scroll container on both axes, and it never scrolls vertically —\n * the page does. So the header would stick to a box that never moves. Taking\n * the sideways scroll away to let it stick would trade one defect for another:\n * columns clipped or crushed on every narrow screen.\n *\n * Instead the header cells are TRANSLATED down by however far the page has\n * scrolled the table's top past the sticky toolbar's bottom edge, clamped so\n * the header never leaves its own table. The translation stays inside the\n * table's box, so the wrapper's overflow clips nothing.\n *\n * Driven by the page's scroll (any scroller: a capturing listener on `window`\n * hears every element's scroll event) and by resizes, one frame at a time.\n */\nimport { useEffect, type RefObject } from \"react\";\n\n/** The attribute the shell root carries, so the head can find its own toolbar. */\nexport const SHELL_ATTR = \"data-dv-shell\";\n/** The attribute the sticky toolbar carries. */\nexport const STICKY_BAR_ATTR = \"data-dv-sticky-bar\";\n/** Spread on the shell root. */\nexport const SHELL_PROPS = { [SHELL_ATTR]: \"\" };\n\n/** How far the header must move down to sit under `edge` (px), inside its table. */\nexport function headShift(tableTop: number, tableHeight: number, headHeight: number, edge: number): number {\n return Math.max(0, Math.min(edge - tableTop, tableHeight - headHeight));\n}\n\n/** The top edge the header slides under: the sticky toolbar's bottom, else the viewport's top. */\nfunction stickyEdge(wrapper: HTMLElement): number {\n const bar = wrapper.closest(`[${SHELL_ATTR}]`)?.querySelector<HTMLElement>(`[${STICKY_BAR_ATTR}]`);\n return bar ? bar.getBoundingClientRect().bottom : 0;\n}\n\n/** The element whose scrolling moves the page under the bar: the nearest scrolling ancestor. */\nfunction scrollParent(element: HTMLElement): HTMLElement | null {\n for (let node = element.parentElement; node; node = node.parentElement) {\n const { overflowY } = getComputedStyle(node);\n if (overflowY === \"auto\" || overflowY === \"scroll\") return node;\n }\n return null;\n}\n\n/**\n * Stick the toolbar to the VISIBLE top of its scroll area.\n *\n * `top: 0` sticks to the scroll container's content edge, which sits inside\n * its padding: a main pane padded 24px held the bar 24px below the app bar,\n * with rows showing through the gap above it. The bar's `top` is therefore\n * the negative of that padding, read from the live layout (the shell does not\n * know which pane it is in, nor what padding the host gave it).\n */\nexport function useStickyBarTop(ref: RefObject<HTMLElement | null>, enabled: boolean): void {\n useEffect(() => {\n const shell = ref.current;\n const bar = shell?.querySelector<HTMLElement>(`[${STICKY_BAR_ATTR}]`);\n if (!enabled || !shell || !bar) return undefined;\n const apply = (): void => {\n const parent = scrollParent(bar);\n // The host's own computed length, passed through — never one of ours.\n bar.style.top = parent ? `calc(-1 * ${getComputedStyle(parent).paddingTop})` : \"\";\n };\n apply();\n window.addEventListener(\"resize\", apply);\n return () => {\n window.removeEventListener(\"resize\", apply);\n bar.style.top = \"\";\n };\n }, [ref, enabled]);\n}\n\n/** Move every header cell down by `shift` px (0 puts them back), above the rows they cover. */\nexport function paint(head: HTMLElement, shift: number): void {\n // A measured offset, so a matrix rather than a design length. No DOMMatrix\n // (jsdom), no translation: the header simply stays in the table.\n const transform =\n shift > 0 && typeof DOMMatrixReadOnly !== \"undefined\"\n ? new DOMMatrixReadOnly().translate(0, shift).toString()\n : \"\";\n head.querySelectorAll<HTMLElement>(\"th\").forEach((cell) => {\n cell.style.transform = transform;\n // Above the rows it now covers, below the toolbar (z-index 3).\n cell.style.zIndex = transform ? \"2\" : \"\";\n });\n}\n\n/** Translate the header cells of the table inside `ref` so they follow the page. */\nexport function useStickyTableHead(ref: RefObject<HTMLElement | null>, enabled: boolean): void {\n useEffect(() => {\n const wrapper = ref.current;\n if (!enabled || !wrapper) return undefined;\n let frame = 0;\n const apply = (): void => {\n frame = 0;\n const table = wrapper.querySelector(\"table\");\n const head = table?.querySelector(\"thead\");\n if (!table || !head) return;\n const box = table.getBoundingClientRect();\n const shift = headShift(box.top, box.height, head.getBoundingClientRect().height, stickyEdge(wrapper));\n paint(head, shift);\n };\n const schedule = (): void => {\n if (frame === 0) frame = requestAnimationFrame(apply);\n };\n window.addEventListener(\"scroll\", schedule, { capture: true, passive: true });\n window.addEventListener(\"resize\", schedule);\n const observer = typeof ResizeObserver === \"undefined\" ? null : new ResizeObserver(schedule);\n observer?.observe(wrapper);\n // A header cell added while scrolled (a column shown from \"Exibir\") must\n // follow too, not wait for the next scroll.\n const mutations = typeof MutationObserver === \"undefined\" ? null : new MutationObserver(schedule);\n mutations?.observe(wrapper, { childList: true, subtree: true });\n schedule();\n return () => {\n window.removeEventListener(\"scroll\", schedule, { capture: true });\n window.removeEventListener(\"resize\", schedule);\n observer?.disconnect();\n mutations?.disconnect();\n if (frame !== 0) cancelAnimationFrame(frame);\n // Turned off mid-scroll: the header goes back where it belongs.\n const head = wrapper.querySelector(\"thead\");\n if (head) paint(head, 0);\n };\n }, [ref, enabled]);\n}\n"],"mappings":";AAqBA,SAAS,iBAAiC;AAGnC,IAAM,aAAa;AAEnB,IAAM,kBAAkB;AAExB,IAAM,cAAc,EAAE,CAAC,UAAU,GAAG,GAAG;AAGvC,SAAS,UAAU,UAAkB,aAAqB,YAAoB,MAAsB;AACzG,SAAO,KAAK,IAAI,GAAG,KAAK,IAAI,OAAO,UAAU,cAAc,UAAU,CAAC;AACxE;AAGA,SAAS,WAAW,SAA8B;AAChD,QAAM,MAAM,QAAQ,QAAQ,IAAI,UAAU,GAAG,GAAG,cAA2B,IAAI,eAAe,GAAG;AACjG,SAAO,MAAM,IAAI,sBAAsB,EAAE,SAAS;AACpD;AAGA,SAAS,aAAa,SAA0C;AAC9D,WAAS,OAAO,QAAQ,eAAe,MAAM,OAAO,KAAK,eAAe;AACtE,UAAM,EAAE,UAAU,IAAI,iBAAiB,IAAI;AAC3C,QAAI,cAAc,UAAU,cAAc,SAAU,QAAO;AAAA,EAC7D;AACA,SAAO;AACT;AAWO,SAAS,gBAAgB,KAAoC,SAAwB;AAC1F,YAAU,MAAM;AACd,UAAM,QAAQ,IAAI;AAClB,UAAM,MAAM,OAAO,cAA2B,IAAI,eAAe,GAAG;AACpE,QAAI,CAAC,WAAW,CAAC,SAAS,CAAC,IAAK,QAAO;AACvC,UAAM,QAAQ,MAAY;AACxB,YAAM,SAAS,aAAa,GAAG;AAE/B,UAAI,MAAM,MAAM,SAAS,aAAa,iBAAiB,MAAM,EAAE,UAAU,MAAM;AAAA,IACjF;AACA,UAAM;AACN,WAAO,iBAAiB,UAAU,KAAK;AACvC,WAAO,MAAM;AACX,aAAO,oBAAoB,UAAU,KAAK;AAC1C,UAAI,MAAM,MAAM;AAAA,IAClB;AAAA,EACF,GAAG,CAAC,KAAK,OAAO,CAAC;AACnB;AAGO,SAAS,MAAM,MAAmB,OAAqB;AAG5D,QAAM,YACJ,QAAQ,KAAK,OAAO,sBAAsB,cACtC,IAAI,kBAAkB,EAAE,UAAU,GAAG,KAAK,EAAE,SAAS,IACrD;AACN,OAAK,iBAA8B,IAAI,EAAE,QAAQ,CAAC,SAAS;AACzD,SAAK,MAAM,YAAY;AAEvB,SAAK,MAAM,SAAS,YAAY,MAAM;AAAA,EACxC,CAAC;AACH;AAGO,SAAS,mBAAmB,KAAoC,SAAwB;AAC7F,YAAU,MAAM;AACd,UAAM,UAAU,IAAI;AACpB,QAAI,CAAC,WAAW,CAAC,QAAS,QAAO;AACjC,QAAI,QAAQ;AACZ,UAAM,QAAQ,MAAY;AACxB,cAAQ;AACR,YAAM,QAAQ,QAAQ,cAAc,OAAO;AAC3C,YAAM,OAAO,OAAO,cAAc,OAAO;AACzC,UAAI,CAAC,SAAS,CAAC,KAAM;AACrB,YAAM,MAAM,MAAM,sBAAsB;AACxC,YAAM,QAAQ,UAAU,IAAI,KAAK,IAAI,QAAQ,KAAK,sBAAsB,EAAE,QAAQ,WAAW,OAAO,CAAC;AACrG,YAAM,MAAM,KAAK;AAAA,IACnB;AACA,UAAM,WAAW,MAAY;AAC3B,UAAI,UAAU,EAAG,SAAQ,sBAAsB,KAAK;AAAA,IACtD;AACA,WAAO,iBAAiB,UAAU,UAAU,EAAE,SAAS,MAAM,SAAS,KAAK,CAAC;AAC5E,WAAO,iBAAiB,UAAU,QAAQ;AAC1C,UAAM,WAAW,OAAO,mBAAmB,cAAc,OAAO,IAAI,eAAe,QAAQ;AAC3F,cAAU,QAAQ,OAAO;AAGzB,UAAM,YAAY,OAAO,qBAAqB,cAAc,OAAO,IAAI,iBAAiB,QAAQ;AAChG,eAAW,QAAQ,SAAS,EAAE,WAAW,MAAM,SAAS,KAAK,CAAC;AAC9D,aAAS;AACT,WAAO,MAAM;AACX,aAAO,oBAAoB,UAAU,UAAU,EAAE,SAAS,KAAK,CAAC;AAChE,aAAO,oBAAoB,UAAU,QAAQ;AAC7C,gBAAU,WAAW;AACrB,iBAAW,WAAW;AACtB,UAAI,UAAU,EAAG,sBAAqB,KAAK;AAE3C,YAAM,OAAO,QAAQ,cAAc,OAAO;AAC1C,UAAI,KAAM,OAAM,MAAM,CAAC;AAAA,IACzB;AAAA,EACF,GAAG,CAAC,KAAK,OAAO,CAAC;AACnB;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KHG57NAE.js";
|
|
4
4
|
import {
|
|
5
5
|
createConfirmButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NJMAFII4.js";
|
|
7
7
|
import {
|
|
8
8
|
Dialog,
|
|
9
9
|
DialogContent
|
|
@@ -128,4 +128,4 @@ function ManageViewsDialog({
|
|
|
128
128
|
export {
|
|
129
129
|
ManageViewsDialog
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=chunk-
|
|
131
|
+
//# sourceMappingURL=chunk-4W6AQFMO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DATA_VIEWS_LAYOUTS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HLYYB4O5.js";
|
|
4
4
|
import {
|
|
5
5
|
useDataViewsCopy
|
|
6
6
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -187,4 +187,4 @@ export {
|
|
|
187
187
|
useDataViewsLayout,
|
|
188
188
|
DataViewsZoomSlider
|
|
189
189
|
};
|
|
190
|
-
//# sourceMappingURL=chunk-
|
|
190
|
+
//# sourceMappingURL=chunk-5CAWRMDX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AlertDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RZCXYKY4.js";
|
|
4
4
|
|
|
5
5
|
// src/components/feedback/ConfirmAction/ConfirmAction.parts.tsx
|
|
6
6
|
import Alert from "@mui/material/Alert/index.js";
|
|
@@ -104,4 +104,4 @@ function ConfirmActionDialog({
|
|
|
104
104
|
export {
|
|
105
105
|
ConfirmActionDialog
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=chunk-
|
|
107
|
+
//# sourceMappingURL=chunk-5JRAQ4D5.js.map
|
|
@@ -1,43 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
FilterDialog,
|
|
6
|
-
GridFilterPanel
|
|
7
|
-
} from "./chunk-TKLPPAS5.js";
|
|
8
|
-
import {
|
|
9
|
-
DataViewsEmpty
|
|
10
|
-
} from "./chunk-375HTCF2.js";
|
|
2
|
+
ShellEmpty
|
|
3
|
+
} from "./chunk-Y2CCXB7R.js";
|
|
11
4
|
import {
|
|
12
5
|
InlineFilterControls
|
|
13
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TQXB2OHP.js";
|
|
14
7
|
import {
|
|
15
8
|
GridHeaderRow
|
|
16
9
|
} from "./chunk-X3AFXHY5.js";
|
|
10
|
+
import {
|
|
11
|
+
GridMain
|
|
12
|
+
} from "./chunk-WQ32YFM5.js";
|
|
13
|
+
import {
|
|
14
|
+
FilterDialog,
|
|
15
|
+
GridFilterPanel
|
|
16
|
+
} from "./chunk-AHNEEFK6.js";
|
|
17
17
|
import {
|
|
18
18
|
DataViewsPagination
|
|
19
19
|
} from "./chunk-XZFTRGRW.js";
|
|
20
20
|
import {
|
|
21
|
-
toOverflowFields,
|
|
22
21
|
useFilterOverflow
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CSLBRJ7N.js";
|
|
23
|
+
import {
|
|
24
|
+
toOverflowFields,
|
|
25
|
+
toggleQuick
|
|
26
|
+
} from "./chunk-GCYGVWOI.js";
|
|
24
27
|
import {
|
|
25
28
|
allOnPageSelected,
|
|
26
29
|
resolveSelectionExtra
|
|
27
30
|
} from "./chunk-5YDS6HO3.js";
|
|
28
31
|
import {
|
|
29
32
|
ScopeTabsSlot
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-K3PMMW23.js";
|
|
31
34
|
import {
|
|
32
35
|
ShellToolbar
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-RCZ4KL2H.js";
|
|
37
|
+
import {
|
|
38
|
+
SHELL_PROPS,
|
|
39
|
+
useStickyBarTop
|
|
40
|
+
} from "./chunk-4IE66GY2.js";
|
|
34
41
|
import {
|
|
35
42
|
togglePillValues
|
|
36
43
|
} from "./chunk-XZE5FIRB.js";
|
|
37
44
|
import {
|
|
38
45
|
DataViewsLayoutProvider,
|
|
39
46
|
useDataViewsLayout
|
|
40
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5CAWRMDX.js";
|
|
41
48
|
import {
|
|
42
49
|
useDataViewsCopy
|
|
43
50
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -49,7 +56,7 @@ import {
|
|
|
49
56
|
} from "./chunk-WEBEOBN5.js";
|
|
50
57
|
|
|
51
58
|
// src/components/data-display/DataViews/data-views-grid-parts.tsx
|
|
52
|
-
import { useEffect, useState } from "react";
|
|
59
|
+
import { useEffect, useRef, useState } from "react";
|
|
53
60
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
54
61
|
function LayoutStateSync({
|
|
55
62
|
c
|
|
@@ -68,12 +75,13 @@ function useGridShellFilters({
|
|
|
68
75
|
rangeFields,
|
|
69
76
|
testIdPrefix,
|
|
70
77
|
alwaysShowSearch,
|
|
71
|
-
hasExport
|
|
78
|
+
hasExport,
|
|
79
|
+
quickFilters
|
|
72
80
|
}) {
|
|
73
81
|
const { state } = c;
|
|
74
82
|
const [openControls, setOpenControls] = useState(0);
|
|
75
83
|
const split = useFilterOverflow(
|
|
76
|
-
toOverflowFields(fields, rangeFields),
|
|
84
|
+
toOverflowFields(fields, rangeFields, quickFilters),
|
|
77
85
|
state.pills,
|
|
78
86
|
c.ranges,
|
|
79
87
|
openControls > 0,
|
|
@@ -81,7 +89,7 @@ function useGridShellFilters({
|
|
|
81
89
|
);
|
|
82
90
|
const showInline = inlineFilters;
|
|
83
91
|
const useModal = false;
|
|
84
|
-
const inlineVisible = showInline && (alwaysShowSearch || fields.length > 0 || rangeFields.length > 0 || state.search !== "");
|
|
92
|
+
const inlineVisible = showInline && (alwaysShowSearch || fields.length > 0 || rangeFields.length > 0 || quickFilters.length > 0 || state.search !== "");
|
|
85
93
|
const filterProps = {
|
|
86
94
|
testIdPrefix,
|
|
87
95
|
search: state.search,
|
|
@@ -94,7 +102,8 @@ function useGridShellFilters({
|
|
|
94
102
|
onTogglePill: (fieldId, value, checked) => c.patch(({ pills }) => ({ pills: { ...pills, [fieldId]: togglePillValues(pills[fieldId], value, checked) } })),
|
|
95
103
|
onChangeRange: (fieldId, range) => c.patch({ ranges: { ...c.ranges, [fieldId]: range } }),
|
|
96
104
|
onClearField: (fieldId) => c.patch({ pills: { ...state.pills, [fieldId]: [] } }),
|
|
97
|
-
onClearAll: () => c.patch({ search: "", pills: {}, ranges: {} })
|
|
105
|
+
onClearAll: () => c.patch({ search: "", pills: {}, ranges: {} }),
|
|
106
|
+
onToggleQuick: (quick) => c.patch(({ pills }) => ({ pills: toggleQuick(pills, quick) }))
|
|
98
107
|
};
|
|
99
108
|
return {
|
|
100
109
|
showInline,
|
|
@@ -112,15 +121,9 @@ function ShellStack({
|
|
|
112
121
|
const copy = useDataViewsCopy();
|
|
113
122
|
const { c, testIdPrefix, dataTestId, scopes = [], emptyState, inlineFilters = false } = props;
|
|
114
123
|
const { showInline, useModal, inlineVisible, filterProps, split, onControlOpenChange } = filters;
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
filtered: c.activeFilterCount > 0 || c.state.search !== "",
|
|
119
|
-
onClearFilters: () => c.patch({ search: "", pills: {}, ranges: {} }),
|
|
120
|
-
emptyState,
|
|
121
|
-
testIdPrefix
|
|
122
|
-
}
|
|
123
|
-
);
|
|
124
|
+
const shellRef = useRef(null);
|
|
125
|
+
useStickyBarTop(shellRef, props.stickyToolbar === true);
|
|
126
|
+
const body = /* @__PURE__ */ jsx(ShellEmpty, { c, emptyState, testIdPrefix });
|
|
124
127
|
return /* @__PURE__ */ jsx(
|
|
125
128
|
TableFilter,
|
|
126
129
|
{
|
|
@@ -128,7 +131,7 @@ function ShellStack({
|
|
|
128
131
|
open: c.filterOpen,
|
|
129
132
|
onOpenChange: c.setFilterOpen,
|
|
130
133
|
hasActiveFilters: c.activeFilterCount > 0,
|
|
131
|
-
children: /* @__PURE__ */ jsxs(default2, { spacing: 0, "data-testid": dataTestId ? `${dataTestId}-container` : void 0, children: [
|
|
134
|
+
children: /* @__PURE__ */ jsxs(default2, { ref: shellRef, spacing: 0, "data-testid": dataTestId ? `${dataTestId}-container` : void 0, ...props.stickyToolbar ? SHELL_PROPS : {}, children: [
|
|
132
135
|
/* @__PURE__ */ jsx(GridHeaderRow, { title: props.title, headerActions: props.headerActions, testIdPrefix }),
|
|
133
136
|
/* @__PURE__ */ jsx(
|
|
134
137
|
ShellToolbar,
|
|
@@ -156,7 +159,8 @@ function ShellStack({
|
|
|
156
159
|
toolbarRightSlot: props.toolbarRightSlot,
|
|
157
160
|
compactControls: showInline && split.compactControls,
|
|
158
161
|
counterHidden: showInline && split.counterHidden,
|
|
159
|
-
showInline
|
|
162
|
+
showInline,
|
|
163
|
+
sticky: props.stickyToolbar === true
|
|
160
164
|
}
|
|
161
165
|
),
|
|
162
166
|
/* @__PURE__ */ jsx(
|
|
@@ -186,7 +190,8 @@ function ShellStack({
|
|
|
186
190
|
selectable: props.selectable !== false,
|
|
187
191
|
dataTestId,
|
|
188
192
|
testIdPrefix,
|
|
189
|
-
emptyState: body
|
|
193
|
+
emptyState: body,
|
|
194
|
+
stickyHead: props.stickyToolbar === true
|
|
190
195
|
}
|
|
191
196
|
),
|
|
192
197
|
/* @__PURE__ */ jsx(DataViewsPagination, { c, testIdPrefix })
|
|
@@ -219,7 +224,8 @@ function GridShell(props) {
|
|
|
219
224
|
rangeFields,
|
|
220
225
|
testIdPrefix,
|
|
221
226
|
alwaysShowSearch,
|
|
222
|
-
hasExport: props.exportConfig !== void 0
|
|
227
|
+
hasExport: props.exportConfig !== void 0,
|
|
228
|
+
quickFilters: props.quickFilters ?? []
|
|
223
229
|
});
|
|
224
230
|
return /* @__PURE__ */ jsxs(
|
|
225
231
|
DataViewsLayoutProvider,
|
|
@@ -241,4 +247,4 @@ function GridShell(props) {
|
|
|
241
247
|
export {
|
|
242
248
|
GridShell
|
|
243
249
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
250
|
+
//# sourceMappingURL=chunk-5RC7WAHH.js.map
|