@12-apps/ui 6.77.0 → 6.77.2
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/Alert/Alert.content.js +2 -2
- package/dist/_internal/components/data-display/Alert/Alert.js +4 -4
- package/dist/_internal/components/data-display/Alert/Alert.metrics.js +1 -1
- package/dist/_internal/components/data-display/Alert/Alert.styles.js +2 -2
- package/dist/_internal/components/data-display/Banner/Banner.js +3 -3
- package/dist/_internal/components/data-display/Banner/Banner.styles.js +2 -2
- package/dist/_internal/components/data-display/CardKit/CardKebab.js +2 -2
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +5 -5
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +8 -8
- package/dist/_internal/components/data-display/CardKit/use-row-confirm.js +2 -2
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +17 -17
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +27 -27
- package/dist/_internal/components/data-display/DataViews/DeleteViewDialog.js +2 -2
- package/dist/_internal/components/data-display/DataViews/ManageViewsDialog.js +3 -3
- package/dist/_internal/components/data-display/DataViews/SaveViewModal.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-card-body.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-columns.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-display-panel.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-empty.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-export.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +5 -5
- package/dist/_internal/components/data-display/DataViews/data-views-grid-helpers.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-select-all-strip.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-shell-toolbar.js +7 -7
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +9 -9
- package/dist/_internal/components/data-display/DataViews/data-views-toolbar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-view-nav.js +2 -2
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +4 -4
- package/dist/_internal/components/data-display/index.js +6 -6
- package/dist/_internal/components/feedback/ConfirmAction/ConfirmButton.js +2 -2
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +6 -6
- package/dist/_internal/components/feedback/index.js +7 -7
- package/dist/_internal/components/form/Button/Button.js +1 -1
- package/dist/_internal/components/form/index.js +1 -1
- package/dist/_internal/components/form/total-form/SubmitButton.js +2 -2
- package/dist/_internal/components/index.js +17 -17
- package/dist/_internal/components/layout/SettingCard/SettingCard.js +4 -4
- package/dist/_internal/components/layout/SettingCard/SettingCard.parts.js +2 -2
- package/dist/_internal/components/layout/SettingCard/SettingCard.summary.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingGrid.js +3 -3
- package/dist/_internal/components/layout/SettingCard/SettingGroup.js +5 -5
- package/dist/_internal/components/layout/SettingCard/SettingSwitch.js +4 -4
- package/dist/_internal/components/layout/SettingCard/SettingToggle.js +5 -5
- package/dist/_internal/components/layout/index.js +8 -8
- package/dist/_internal/components/navigation/AppHeader/AppHeader.details.js +2 -2
- package/dist/_internal/components/navigation/index.js +2 -2
- package/dist/_internal/social-login-button/social-login-button.js +2 -2
- package/dist/_internal/user-avatar/user-avatar.js +2 -2
- package/dist/{chunk-BF3SGOWT.js → chunk-2ONUSNPZ.js} +2 -2
- package/dist/{chunk-ULK4AGG4.js → chunk-3EIRRLCQ.js} +2 -2
- package/dist/{chunk-TVXUOJAL.js → chunk-4NG3LTRX.js} +2 -2
- package/dist/{chunk-XZE5FIRB.js → chunk-5IIHAYFF.js} +2 -2
- package/dist/{chunk-72L5C74V.js → chunk-5M7T36AT.js} +3 -3
- package/dist/{chunk-J32XJALK.js → chunk-5WUXJDFP.js} +2 -2
- package/dist/{chunk-JNVUB2D4.js → chunk-5ZY3IIIG.js} +2 -2
- package/dist/chunk-5ZY3IIIG.js.map +1 -0
- package/dist/{chunk-3MQZBBUW.js → chunk-7FFY4LJY.js} +2 -2
- package/dist/{chunk-IVI574Y5.js → chunk-7HZ36QDH.js} +16 -7
- package/dist/chunk-7HZ36QDH.js.map +1 -0
- package/dist/{chunk-ENXGWNCX.js → chunk-7LMR2H7O.js} +4 -4
- package/dist/{chunk-H7QTDKA6.js → chunk-BGSUSSAV.js} +2 -2
- package/dist/{chunk-FR2RJXHS.js → chunk-C2NNJMVY.js} +3 -3
- package/dist/{chunk-NIZUFPV3.js → chunk-CW5Z67NA.js} +2 -2
- package/dist/{chunk-BEHM2VLH.js → chunk-FVNY5BNV.js} +2 -2
- package/dist/{chunk-X2SJJZFH.js → chunk-GG7IOJAG.js} +4 -4
- package/dist/{chunk-J5QNJERV.js → chunk-HHFVDOA7.js} +3 -3
- package/dist/{chunk-HVGQH54G.js → chunk-HMWSMRLM.js} +2 -2
- package/dist/{chunk-MA6ENJDP.js → chunk-HXCUKZOB.js} +3 -3
- package/dist/{chunk-CCJJTLF7.js → chunk-L5RS6QAT.js} +2 -2
- package/dist/{chunk-ZSCKXOKE.js → chunk-NQCTANF3.js} +4 -4
- package/dist/{chunk-NIENIKZ5.js → chunk-NRADSKGH.js} +2 -2
- package/dist/{chunk-725H45MT.js → chunk-NZXRPWPW.js} +4 -4
- package/dist/{chunk-LBEZ7A3F.js → chunk-OK3OJGJY.js} +3 -3
- package/dist/{chunk-WJEJ65TF.js → chunk-OY437NRJ.js} +2 -2
- package/dist/{chunk-QZX43FIC.js → chunk-QIP37Y2C.js} +2 -2
- package/dist/{chunk-Y2CCXB7R.js → chunk-QITQFCFY.js} +2 -2
- package/dist/{chunk-P4LR2GLN.js → chunk-R2ODLE6G.js} +2 -2
- package/dist/{chunk-UFNXYOHZ.js → chunk-RCTHCXS6.js} +2 -2
- package/dist/{chunk-VQSBZPKO.js → chunk-RVZMKGWQ.js} +2 -2
- package/dist/{chunk-QWSYHENP.js → chunk-SKIAWOUC.js} +4 -4
- package/dist/{chunk-3FDSXSEP.js → chunk-TDWA2XFJ.js} +2 -2
- package/dist/{chunk-VWVA74JY.js → chunk-UXQVJXQ3.js} +2 -2
- package/dist/{chunk-BEYLI32I.js → chunk-WOUJSKQB.js} +3 -3
- package/dist/{chunk-NDQJDA7O.js → chunk-WULEQKU7.js} +2 -2
- package/dist/{chunk-4QGPRORO.js → chunk-X2GWR75Q.js} +2 -2
- package/dist/{chunk-NKBCUR4V.js → chunk-X3DN2BE3.js} +2 -2
- package/dist/{chunk-B34WHRKH.js → chunk-XGKUXYAD.js} +2 -2
- package/dist/{chunk-TRYYYWV3.js → chunk-Y2CHJLWD.js} +6 -6
- package/dist/{chunk-QDG6V7OC.js → chunk-YNZUYZ2O.js} +3 -3
- package/dist/{chunk-364NH2NY.js → chunk-YOXYSAUI.js} +20 -11
- package/dist/chunk-YOXYSAUI.js.map +1 -0
- package/dist/{chunk-T2KONJ45.js → chunk-Z4ZFJ565.js} +3 -3
- package/dist/{chunk-JA3WJPXH.js → chunk-ZAZOBTVS.js} +2 -2
- package/dist/{chunk-SZSS5KKX.js → chunk-ZCXQ4ZB6.js} +2 -2
- package/dist/{chunk-P7VAMJFJ.js → chunk-ZE4HF3KC.js} +3 -3
- package/dist/data-display/Alert.js +4 -4
- package/dist/data-display/Banner.js +3 -3
- package/dist/data-display/CardKit.js +9 -9
- package/dist/data-display/DataViews.js +27 -27
- package/dist/feedback/ConfirmAction.js +2 -2
- package/dist/feedback/NotificationStatusNotice.js +6 -6
- package/dist/form/Button.js +1 -1
- package/dist/form/total-form.js +2 -2
- package/dist/layout/SettingCard.js +8 -8
- package/dist/native/chunks/{chunk-2MFMON74.js → chunk-EZHCNYQO.js} +67 -33
- package/dist/native/chunks/chunk-EZHCNYQO.js.map +1 -0
- package/dist/native/chunks/{chunk-H22XVP5O.js → chunk-TZPNJ4AU.js} +2 -2
- package/dist/native/data-display/Alert.js.map +1 -1
- package/dist/native/data-display/EmptyState.js +2 -2
- package/dist/native/data-display/ErrorState.js +1 -1
- package/dist/native/data-display/FleetMap.js +2 -2
- package/dist/native/form/Button.js +1 -1
- package/dist/navigation/AppHeader.js +2 -2
- package/dist/social-login-button.js +2 -2
- package/dist/types/components/data-display/Alert/Alert.content.d.ts.map +1 -1
- package/dist/types/components/data-display/Alert/Alert.metrics.d.ts +2 -1
- package/dist/types/components/data-display/Alert/Alert.metrics.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.d.ts.map +1 -1
- package/dist/types/components/form/Button/Button.native.loading.d.ts +36 -0
- package/dist/types/components/form/Button/Button.native.loading.d.ts.map +1 -0
- package/dist/types-native/components/data-display/Alert/Alert.metrics.d.ts +2 -1
- package/dist/types-native/components/data-display/Alert/Alert.metrics.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.native.d.ts.map +1 -1
- package/dist/types-native/components/form/Button/Button.native.loading.d.ts +36 -0
- package/dist/types-native/components/form/Button/Button.native.loading.d.ts.map +1 -0
- package/dist/user-avatar.js +2 -2
- package/package.json +1 -1
- package/src/components/data-display/Alert/Alert.content.tsx +16 -5
- package/src/components/data-display/Alert/Alert.metrics.ts +2 -2
- package/src/components/form/Button/Button.md +4 -3
- package/src/components/form/Button/Button.native.loading.tsx +89 -0
- package/src/components/form/Button/Button.native.tsx +14 -24
- package/src/components/form/Button/Button.tsx +47 -16
- package/dist/chunk-364NH2NY.js.map +0 -1
- package/dist/chunk-IVI574Y5.js.map +0 -1
- package/dist/chunk-JNVUB2D4.js.map +0 -1
- package/dist/native/chunks/chunk-2MFMON74.js.map +0 -1
- /package/dist/{chunk-BF3SGOWT.js.map → chunk-2ONUSNPZ.js.map} +0 -0
- /package/dist/{chunk-ULK4AGG4.js.map → chunk-3EIRRLCQ.js.map} +0 -0
- /package/dist/{chunk-TVXUOJAL.js.map → chunk-4NG3LTRX.js.map} +0 -0
- /package/dist/{chunk-XZE5FIRB.js.map → chunk-5IIHAYFF.js.map} +0 -0
- /package/dist/{chunk-72L5C74V.js.map → chunk-5M7T36AT.js.map} +0 -0
- /package/dist/{chunk-J32XJALK.js.map → chunk-5WUXJDFP.js.map} +0 -0
- /package/dist/{chunk-3MQZBBUW.js.map → chunk-7FFY4LJY.js.map} +0 -0
- /package/dist/{chunk-ENXGWNCX.js.map → chunk-7LMR2H7O.js.map} +0 -0
- /package/dist/{chunk-H7QTDKA6.js.map → chunk-BGSUSSAV.js.map} +0 -0
- /package/dist/{chunk-FR2RJXHS.js.map → chunk-C2NNJMVY.js.map} +0 -0
- /package/dist/{chunk-NIZUFPV3.js.map → chunk-CW5Z67NA.js.map} +0 -0
- /package/dist/{chunk-BEHM2VLH.js.map → chunk-FVNY5BNV.js.map} +0 -0
- /package/dist/{chunk-X2SJJZFH.js.map → chunk-GG7IOJAG.js.map} +0 -0
- /package/dist/{chunk-J5QNJERV.js.map → chunk-HHFVDOA7.js.map} +0 -0
- /package/dist/{chunk-HVGQH54G.js.map → chunk-HMWSMRLM.js.map} +0 -0
- /package/dist/{chunk-MA6ENJDP.js.map → chunk-HXCUKZOB.js.map} +0 -0
- /package/dist/{chunk-CCJJTLF7.js.map → chunk-L5RS6QAT.js.map} +0 -0
- /package/dist/{chunk-ZSCKXOKE.js.map → chunk-NQCTANF3.js.map} +0 -0
- /package/dist/{chunk-NIENIKZ5.js.map → chunk-NRADSKGH.js.map} +0 -0
- /package/dist/{chunk-725H45MT.js.map → chunk-NZXRPWPW.js.map} +0 -0
- /package/dist/{chunk-LBEZ7A3F.js.map → chunk-OK3OJGJY.js.map} +0 -0
- /package/dist/{chunk-WJEJ65TF.js.map → chunk-OY437NRJ.js.map} +0 -0
- /package/dist/{chunk-QZX43FIC.js.map → chunk-QIP37Y2C.js.map} +0 -0
- /package/dist/{chunk-Y2CCXB7R.js.map → chunk-QITQFCFY.js.map} +0 -0
- /package/dist/{chunk-P4LR2GLN.js.map → chunk-R2ODLE6G.js.map} +0 -0
- /package/dist/{chunk-UFNXYOHZ.js.map → chunk-RCTHCXS6.js.map} +0 -0
- /package/dist/{chunk-VQSBZPKO.js.map → chunk-RVZMKGWQ.js.map} +0 -0
- /package/dist/{chunk-QWSYHENP.js.map → chunk-SKIAWOUC.js.map} +0 -0
- /package/dist/{chunk-3FDSXSEP.js.map → chunk-TDWA2XFJ.js.map} +0 -0
- /package/dist/{chunk-VWVA74JY.js.map → chunk-UXQVJXQ3.js.map} +0 -0
- /package/dist/{chunk-BEYLI32I.js.map → chunk-WOUJSKQB.js.map} +0 -0
- /package/dist/{chunk-NDQJDA7O.js.map → chunk-WULEQKU7.js.map} +0 -0
- /package/dist/{chunk-4QGPRORO.js.map → chunk-X2GWR75Q.js.map} +0 -0
- /package/dist/{chunk-NKBCUR4V.js.map → chunk-X3DN2BE3.js.map} +0 -0
- /package/dist/{chunk-B34WHRKH.js.map → chunk-XGKUXYAD.js.map} +0 -0
- /package/dist/{chunk-TRYYYWV3.js.map → chunk-Y2CHJLWD.js.map} +0 -0
- /package/dist/{chunk-QDG6V7OC.js.map → chunk-YNZUYZ2O.js.map} +0 -0
- /package/dist/{chunk-T2KONJ45.js.map → chunk-Z4ZFJ565.js.map} +0 -0
- /package/dist/{chunk-JA3WJPXH.js.map → chunk-ZAZOBTVS.js.map} +0 -0
- /package/dist/{chunk-SZSS5KKX.js.map → chunk-ZCXQ4ZB6.js.map} +0 -0
- /package/dist/{chunk-P7VAMJFJ.js.map → chunk-ZE4HF3KC.js.map} +0 -0
- /package/dist/native/chunks/{chunk-H22XVP5O.js.map → chunk-TZPNJ4AU.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AppHeaderDetails
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-RVZMKGWQ.js";
|
|
5
5
|
import "../../../../chunk-7K23NEZO.js";
|
|
6
6
|
import "../../../../chunk-5MMAV7XK.js";
|
|
7
7
|
import "../../../../chunk-3ROCD7XF.js";
|
|
@@ -15,7 +15,7 @@ import "../../../../chunk-Z2JH5KW5.js";
|
|
|
15
15
|
import "../../../../chunk-AL5E624U.js";
|
|
16
16
|
import "../../../../chunk-GYXUCS37.js";
|
|
17
17
|
import "../../../../chunk-LV7LSPBF.js";
|
|
18
|
-
import "../../../../chunk-
|
|
18
|
+
import "../../../../chunk-YOXYSAUI.js";
|
|
19
19
|
import "../../../../chunk-PPEHBI5O.js";
|
|
20
20
|
import "../../../../chunk-G2FUZALJ.js";
|
|
21
21
|
import "../../../../chunk-TAMIZE4Q.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "../../../chunk-IQU4HKND.js";
|
|
24
24
|
import {
|
|
25
25
|
AppHeaderDetails
|
|
26
|
-
} from "../../../chunk-
|
|
26
|
+
} from "../../../chunk-RVZMKGWQ.js";
|
|
27
27
|
import {
|
|
28
28
|
Breadcrumbs
|
|
29
29
|
} from "../../../chunk-3ZWCKCZC.js";
|
|
@@ -101,7 +101,7 @@ import "../../../chunk-2L3VRVRE.js";
|
|
|
101
101
|
import "../../../chunk-BJE3XHD4.js";
|
|
102
102
|
import "../../../chunk-3UIDKLML.js";
|
|
103
103
|
import "../../../chunk-PYC4CWCQ.js";
|
|
104
|
-
import "../../../chunk-
|
|
104
|
+
import "../../../chunk-YOXYSAUI.js";
|
|
105
105
|
import "../../../chunk-PPEHBI5O.js";
|
|
106
106
|
import "../../../chunk-G2FUZALJ.js";
|
|
107
107
|
import "../../../chunk-TAMIZE4Q.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
GoogleIcon,
|
|
6
6
|
SocialLoginButton,
|
|
7
7
|
SocialLoginContainer
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-X3DN2BE3.js";
|
|
9
9
|
import "../../chunk-INGPH3YQ.js";
|
|
10
10
|
import "../../chunk-6GP2DOOO.js";
|
|
11
11
|
import "../../chunk-GBVVI35T.js";
|
|
@@ -21,7 +21,7 @@ import "../../chunk-FKUYRQSP.js";
|
|
|
21
21
|
import "../../chunk-PLB6WWXW.js";
|
|
22
22
|
import "../../chunk-HDBP55R3.js";
|
|
23
23
|
import "../../chunk-BA4RHQ3B.js";
|
|
24
|
-
import "../../chunk-
|
|
24
|
+
import "../../chunk-YOXYSAUI.js";
|
|
25
25
|
import "../../chunk-PPEHBI5O.js";
|
|
26
26
|
import "../../chunk-G2FUZALJ.js";
|
|
27
27
|
import "../../chunk-TAMIZE4Q.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
UserAvatar,
|
|
4
4
|
UserMenu
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-TDWA2XFJ.js";
|
|
6
6
|
import "../../chunk-UDQSIRAP.js";
|
|
7
7
|
import "../../chunk-KARMRTTM.js";
|
|
8
8
|
import "../../chunk-7XSCEHGA.js";
|
|
@@ -16,7 +16,7 @@ import "../../chunk-FKUYRQSP.js";
|
|
|
16
16
|
import "../../chunk-PLB6WWXW.js";
|
|
17
17
|
import "../../chunk-HDBP55R3.js";
|
|
18
18
|
import "../../chunk-BA4RHQ3B.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-YOXYSAUI.js";
|
|
20
20
|
import "../../chunk-PPEHBI5O.js";
|
|
21
21
|
import "../../chunk-G2FUZALJ.js";
|
|
22
22
|
import "../../chunk-TAMIZE4Q.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-WEBEOBN5.js";
|
|
26
26
|
import {
|
|
27
27
|
Button
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YOXYSAUI.js";
|
|
29
29
|
import {
|
|
30
30
|
Text
|
|
31
31
|
} from "./chunk-AJBRO76D.js";
|
|
@@ -268,4 +268,4 @@ function SaveViewModal({
|
|
|
268
268
|
export {
|
|
269
269
|
SaveViewModal
|
|
270
270
|
};
|
|
271
|
-
//# sourceMappingURL=chunk-
|
|
271
|
+
//# sourceMappingURL=chunk-2ONUSNPZ.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-YEKPQAOW.js";
|
|
19
19
|
import {
|
|
20
20
|
Button
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YOXYSAUI.js";
|
|
22
22
|
import {
|
|
23
23
|
BUTTON_SIZES
|
|
24
24
|
} from "./chunk-G2FUZALJ.js";
|
|
@@ -139,4 +139,4 @@ export {
|
|
|
139
139
|
PendingSpinner,
|
|
140
140
|
LearnMore
|
|
141
141
|
};
|
|
142
|
-
//# sourceMappingURL=chunk-
|
|
142
|
+
//# sourceMappingURL=chunk-3EIRRLCQ.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-6DPAWXZ3.js";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YOXYSAUI.js";
|
|
10
10
|
import {
|
|
11
11
|
Text
|
|
12
12
|
} from "./chunk-AJBRO76D.js";
|
|
@@ -167,4 +167,4 @@ function DataViewsExportMenu({
|
|
|
167
167
|
export {
|
|
168
168
|
DataViewsExportMenu
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=chunk-
|
|
170
|
+
//# sourceMappingURL=chunk-4NG3LTRX.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-6DPAWXZ3.js";
|
|
10
10
|
import {
|
|
11
11
|
Button
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YOXYSAUI.js";
|
|
13
13
|
import {
|
|
14
14
|
rem,
|
|
15
15
|
sxRem
|
|
@@ -166,4 +166,4 @@ export {
|
|
|
166
166
|
togglePillValues,
|
|
167
167
|
cardGridTracks
|
|
168
168
|
};
|
|
169
|
-
//# sourceMappingURL=chunk-
|
|
169
|
+
//# sourceMappingURL=chunk-5IIHAYFF.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ViewFooter,
|
|
11
11
|
ViewHeader,
|
|
12
12
|
ViewsList
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BGSUSSAV.js";
|
|
14
14
|
import {
|
|
15
15
|
useDataViewsCopy
|
|
16
16
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-6DPAWXZ3.js";
|
|
20
20
|
import {
|
|
21
21
|
Button
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YOXYSAUI.js";
|
|
23
23
|
import {
|
|
24
24
|
rem,
|
|
25
25
|
sxRem
|
|
@@ -265,4 +265,4 @@ function DataViewsDisplayPanel({
|
|
|
265
265
|
export {
|
|
266
266
|
DataViewsDisplayPanel
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=chunk-
|
|
268
|
+
//# sourceMappingURL=chunk-5M7T36AT.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
buildGridColumns,
|
|
3
3
|
buildRowActionsColumn,
|
|
4
4
|
isActionsColumn
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5IIHAYFF.js";
|
|
6
6
|
|
|
7
7
|
// src/components/data-display/DataViews/data-views-columns.ts
|
|
8
8
|
import { useTheme } from "@mui/material/styles/index.js";
|
|
@@ -62,4 +62,4 @@ export {
|
|
|
62
62
|
useColumnsWithActions,
|
|
63
63
|
useRenderedColumns
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk-
|
|
65
|
+
//# sourceMappingURL=chunk-5WUXJDFP.js.map
|
|
@@ -25,7 +25,7 @@ var MESSAGE_LINE_HEIGHT = 1.5;
|
|
|
25
25
|
var MESSAGE_BUTTON = { marginTopUnits: 0.5, borderAlpha: 0.45 };
|
|
26
26
|
var TITLE = { fontSize: 16.8, fontWeight: 600, marginTop: -2, marginBottomUnits: 0.5 };
|
|
27
27
|
var DESCRIPTION = { fontSize: 14.8, opacity: 0.9 };
|
|
28
|
-
var TITLE_ICON = { gapUnits: 1.25 };
|
|
28
|
+
var TITLE_ICON = { gapUnits: 1.25, lineHeight: 1.5 };
|
|
29
29
|
var ICON_SLOT = { size: 22, opacity: 0.9, marginRightUnits: 1.75, paddingTopUnits: 0.25, paddingBottom: 7 };
|
|
30
30
|
var ACTION_SLOT = { paddingLeftUnits: 2, paddingTop: 4, marginRight: -8 };
|
|
31
31
|
var CLOSE_BUTTON = { padding: 5, iconSize: 18, opacity: 0.7, washAlpha: 0.1 };
|
|
@@ -135,4 +135,4 @@ export {
|
|
|
135
135
|
gradientSurface,
|
|
136
136
|
alertSurface
|
|
137
137
|
};
|
|
138
|
-
//# sourceMappingURL=chunk-
|
|
138
|
+
//# sourceMappingURL=chunk-5ZY3IIIG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/Alert/Alert.metrics.ts"],"sourcesContent":["import type { AlertVariant } from './Alert.base';\nimport { alpha, darken, lighten } from '../../../tokens/color';\nimport { NEUTRAL_RAMP } from '../../../tokens/ink.core';\nimport { contrastText, type UiGreyStep, type UiTheme } from '../../../tokens/theme';\n\n/**\n * THE NUMBERS BOTH `Alert` RENDERERS DRAW WITH.\n *\n * `Alert.styles.tsx` / `Alert.tsx` (MUI) and `Alert.native.tsx` (React\n * Native) read this one table. Spacing is in SPACING UNITS where the web\n * writes `theme.spacing(n)`; durations are ms (the web turns them into `s`\n * through {@link seconds} so its emitted CSS is byte-for-byte what it was);\n * everything else is px, a ratio or an alpha. The hover, active and focus\n * numbers are here too although only the DOM can honour them — a number the\n * web draws with belongs in the table whether or not native can reach it.\n */\n\n/** The root: 12px corners, 14px 16px of padding, one 300ms curve for everything. */\nexport const ALERT_RADIUS_UNITS = 1.5;\nexport const ALERT_PADDING_UNITS = { vertical: 1.75, horizontal: 2 } as const;\nexport const ALERT_TRANSITION_MS = 300;\nexport const ALERT_EASING = 'cubic-bezier(0.4, 0, 0.2, 1)';\n\n/** Mount: the web's `fadeInScale` keyframes and the icon's `iconRotate`. */\nexport const FADE_IN = { ms: 300, scale: 0.95, lift: 10 } as const;\nexport const ICON_SPIN = { ms: 600, from: 0.8, mid: 1.1 } as const;\n/** Dismiss: MUI `Collapse` runs 300ms; `onClose` fires 200ms in. */\nexport const COLLAPSE_MS = 300;\nexport const CLOSE_DELAY_MS = 200;\n\n/** The message column: 8px between title, description and children; 0.95rem body on 1.5. */\nexport const MESSAGE_GAP_UNITS = 1;\nexport const MESSAGE_FONT_SIZE = 15.2;\nexport const MESSAGE_LINE_HEIGHT = 1.5;\n/** A control inside the message gets an edge: 4px above, a hairline at 0.45 of the hue. */\nexport const MESSAGE_BUTTON = { marginTopUnits: 0.5, borderAlpha: 0.45 } as const;\n\n/** The title: 1.05rem at 600; MUI's `AlertTitle` lifts it 2px; 4px below it when a description follows. */\nexport const TITLE = { fontSize: 16.8, fontWeight: 600, marginTop: -2, marginBottomUnits: 0.5 } as const;\n/** The description: 0.925rem, slightly faded. */\nexport const DESCRIPTION = { fontSize: 14.8, opacity: 0.9 } as const;\n\n/** The icon on the title's line (`iconPlacement: 'title'`): 10px from the title, centred on its first line (1.5). */\nexport const TITLE_ICON = { gapUnits: 1.25, lineHeight: 1.5 } as const;\n/** The icon slot: MUI's 22px glyph at 0.9, 14px from the words, 2px down (MUI's 7px stays below). */\nexport const ICON_SLOT = { size: 22, opacity: 0.9, marginRightUnits: 1.75, paddingTopUnits: 0.25, paddingBottom: 7 } as const;\n/** The action slot: MUI's `4px 0 0 16px` with the 16px ours, pushed right, 8px into the padding. */\nexport const ACTION_SLOT = { paddingLeftUnits: 2, paddingTop: 4, marginRight: -8 } as const;\n/** The close button: MUI's small `IconButton` (5px padding, 18px glyph) at 0.7. */\nexport const CLOSE_BUTTON = { padding: 5, iconSize: 18, opacity: 0.7, washAlpha: 0.1 } as const;\n\n/**\n * A semantic Alert's surface and ink: an OPAQUE tint of the hue with a dark\n * ink of the same hue — MUI's own `standard` recipe, at its ratios. See\n * `semanticSurface` in `Alert.styles.tsx` for why not `alpha(main, 0.1)`.\n */\nexport const SEMANTIC_SURFACE = { tint: { light: 0.9, dark: 0.8 }, ink: 0.6, borderAlpha: 0.35 } as const;\n/** `glass`: 85% paper under a 20px blur, a 0.4 divider hairline. */\nexport const GLASS = { backgroundAlpha: 0.85, borderAlpha: 0.4, blur: 20, saturatePercent: 180 } as const;\n/**\n * `gradient`: light→dark at 0.9 along 135°, a 0.2 white shimmer sweeping 1000px every 3s.\n *\n * It carries no hover of its own, and that is load-bearing rather than an\n * omission. `alertVariantStyles` is spread AFTER the root's `'&:hover'` in the\n * same object literal, so a second `'&:hover'` key does not merge with it — it\n * REPLACES it. While this variant had one, `gradient` was the only alert that\n * brightened on hover while every other variant darkened, and the only one to\n * lose the shimmer reveal the root's hover performs.\n */\nexport const GRADIENT = {\n angleDeg: 135,\n stopAlpha: 0.9,\n shimmerAlpha: 0.2,\n shimmerMs: 3000,\n shimmerTravel: 1000,\n} as const;\n\n/** Emphasis: the glow's shadow and brightness, the pulse's wash. */\nexport const GLOW = { blur: 20, spread: 5, alpha: 0.3, brightness: 1.05 } as const;\nexport const PULSE = { alpha: 0.2, ms: 2000, spread: 10 } as const;\n\n/**\n * Pointer states — DOM only, kept so the web derives them.\n *\n * HOVER and ACTIVE carry NO geometry, and that is the point rather than an\n * omission. They used to lift the card 3px, scale it 1.01, grow a 20px shadow\n * and spin the icon 10deg at 1.15 — four things moving at once on a surface\n * that is not a control, which made a page of alerts twitch under the pointer.\n *\n * Both are a TINT now: a flat inset layer over the surface. Two mechanisms\n * came before it and each failed on a case the next had to fix. Dropping the\n * element's `opacity` composites toward the PAGE, so it inverted the hover on\n * a light tint (L* 95.0 idle, 89.1 hovered, 91.1 pressed) and vanished on a\n * dark one. A `filter: brightness()` fixed the direction but is MULTIPLICATIVE,\n * so it moved a near-black `glass` by four counts (ΔE76 1.71, under the JND)\n * and Banner's 10%-alpha wash by ΔE76 0.44. A layer is additive: it reads the\n * same on an opaque tint, a translucent wash and a gradient, and because it\n * paints above the background and below the content the ink keeps its own\n * contrast.\n */\nexport const HOVER = { tintAlpha: 0.06 } as const;\n\n/**\n * The press: a 20% tint LAYER, eased back fast.\n *\n * The layer is the point. The first attempt dropped the whole element's\n * opacity, which composites toward the PAGE and so behaves differently on\n * every surface it is asked about. Measured: over a light page it made a light\n * tint LIGHTER (L* 95.0 idle, 89.1 hovered, 91.1 pressed), so pushing the\n * surface looked like the pointer leaving; over a dark page it landed back on\n * the idle surface (ΔE76 0.82 on `glass`); on `gradient` it washed white body\n * copy to 2.31:1, under AA; and it diluted the ink during a text-selection\n * drag. A `brightness()` step instead of it fixed the direction but not the\n * reach — a multiplier does nothing to a near-black `glass` in dark mode\n * (ΔE76 1.71) and nothing to Banner's 10%-alpha wash (ΔE76 0.44), because it\n * scales only what the element already paints.\n *\n * An inset shadow at 100vmax is a flat tint over the whole surface: ADDITIVE,\n * so it reads the same on an opaque tint, a translucent wash and a gradient;\n * painted above the background and below the content, so the ink keeps its\n * own contrast; and animatable, which `background-image` is not.\n *\n * `ms` is 250 and not the 1000 first asked for, and the reason is that ONE\n * property carries both states. CSS runs a transition from the DESTINATION\n * state's declaration, and entering hover and releasing a press share that\n * destination — so they cannot have different durations without a second\n * animatable property, and both free pseudo-elements are already spent on the\n * `gradient` shimmer and the `pulse` wash. At 1000ms the hover inherited the\n * second: crossing an alert in 300ms peaked at a ≈ 0.024, under the JND, and\n * for ~360ms the alert you had just LEFT was darker than the one under the\n * pointer. A fast press-return is the smaller loss, and it is the call the\n * product owner made when shown both.\n */\nexport const ACTIVE = { tintAlpha: 0.2, ms: 250 } as const;\n\nexport const FOCUS = { ringWidth: 2, ringAlpha: 1, offset: 2 } as const;\n\n/** `neutral` has no palette slot; the web has always drawn it from three greys. */\nexport const NEUTRAL_GREY: Record<'main' | 'light' | 'dark', UiGreyStep> = { main: 500, light: 300, dark: 700 };\n\n/** A duration as the CSS the web has always emitted: `2000` → `2s`, `300` → `0.3s`. */\nexport const seconds = (ms: number): string => `${ms / 1000}s`;\n\n/** The palette shape the web's `getColorFromTheme` returns — a main plus optional shades. */\nexport interface AlertPalette {\n main: string;\n light?: string;\n dark?: string;\n}\n\n/**\n * The renderer-free twin of the web's `getColorFromTheme`: a variant or\n * colour name to its palette, `neutral` from the greys, anything unknown\n * (`glass`, `gradient`) to `info`.\n */\nexport function alertPalette(theme: UiTheme, key: string | undefined): AlertPalette {\n switch (key) {\n case 'info':\n case 'success':\n case 'warning':\n case 'danger':\n case 'primary':\n case 'secondary':\n return theme.palette[key];\n case 'neutral':\n return {\n main: NEUTRAL_RAMP[NEUTRAL_GREY.main],\n light: NEUTRAL_RAMP[NEUTRAL_GREY.light],\n dark: NEUTRAL_RAMP[NEUTRAL_GREY.dark],\n };\n default:\n return theme.palette.info;\n }\n}\n\n/** What a variant paints: its fill, its ink, its hairline if any, and the colour of its glyph. */\nexport interface AlertSurface {\n backgroundColor: string;\n color: string;\n borderColor?: string;\n iconColor: string;\n}\n\nexport const SEMANTIC_VARIANTS: ReadonlySet<AlertVariant> = new Set(['info', 'success', 'warning', 'danger']);\n\n/** The opaque tint and same-hue ink, inverted for dark mode; the hairline keeps its alpha. */\nexport function semanticSurface(theme: UiTheme, palette: AlertPalette): AlertSurface {\n const dark = theme.mode === 'dark';\n return {\n backgroundColor: dark\n ? darken(palette.main, SEMANTIC_SURFACE.tint.dark)\n : lighten(palette.main, SEMANTIC_SURFACE.tint.light),\n color: dark ? lighten(palette.main, SEMANTIC_SURFACE.ink) : darken(palette.main, SEMANTIC_SURFACE.ink),\n borderColor: alpha(palette.main, SEMANTIC_SURFACE.borderAlpha),\n iconColor: palette.main,\n };\n}\n\nexport function glassSurface(theme: UiTheme): AlertSurface {\n return {\n backgroundColor: alpha(theme.palette.background.paper, GLASS.backgroundAlpha),\n color: theme.palette.text.primary,\n borderColor: alpha(theme.palette.divider, GLASS.borderAlpha),\n iconColor: theme.palette.primary.main,\n };\n}\n\n/** The gradient's two stops; a renderer with no gradient fill paints `from`. */\nexport function gradientStops(palette: AlertPalette): { from: string; to: string } {\n return {\n from: alpha(palette.light || palette.main, GRADIENT.stopAlpha),\n to: alpha(palette.dark || palette.main, GRADIENT.stopAlpha),\n };\n}\n\nexport function gradientSurface(palette: AlertPalette): AlertSurface {\n const ink = contrastText(palette.main);\n return { backgroundColor: gradientStops(palette).from, color: ink, iconColor: ink };\n}\n\n/** The surface for a variant, `glass` and `gradient` included. */\nexport function alertSurface(theme: UiTheme, variant: AlertVariant, palette: AlertPalette): AlertSurface {\n if (variant === 'glass') return glassSurface(theme);\n if (variant === 'gradient') return gradientSurface(palette);\n return semanticSurface(theme, palette);\n}\n"],"mappings":";;;;;;;;;;;;;AAkBO,IAAM,qBAAqB;AAC3B,IAAM,sBAAsB,EAAE,UAAU,MAAM,YAAY,EAAE;AAC5D,IAAM,sBAAsB;AAC5B,IAAM,eAAe;AAGrB,IAAM,UAAU,EAAE,IAAI,KAAK,OAAO,MAAM,MAAM,GAAG;AACjD,IAAM,YAAY,EAAE,IAAI,KAAK,MAAM,KAAK,KAAK,IAAI;AAEjD,IAAM,cAAc;AACpB,IAAM,iBAAiB;AAGvB,IAAM,oBAAoB;AAC1B,IAAM,oBAAoB;AAC1B,IAAM,sBAAsB;AAE5B,IAAM,iBAAiB,EAAE,gBAAgB,KAAK,aAAa,KAAK;AAGhE,IAAM,QAAQ,EAAE,UAAU,MAAM,YAAY,KAAK,WAAW,IAAI,mBAAmB,IAAI;AAEvF,IAAM,cAAc,EAAE,UAAU,MAAM,SAAS,IAAI;AAGnD,IAAM,aAAa,EAAE,UAAU,MAAM,YAAY,IAAI;AAErD,IAAM,YAAY,EAAE,MAAM,IAAI,SAAS,KAAK,kBAAkB,MAAM,iBAAiB,MAAM,eAAe,EAAE;AAE5G,IAAM,cAAc,EAAE,kBAAkB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import {
|
|
5
5
|
Button
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YOXYSAUI.js";
|
|
7
7
|
import {
|
|
8
8
|
fieldHeight
|
|
9
9
|
} from "./chunk-RGVNXES5.js";
|
|
@@ -34,4 +34,4 @@ function SubmitButton({
|
|
|
34
34
|
export {
|
|
35
35
|
SubmitButton
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk-
|
|
37
|
+
//# sourceMappingURL=chunk-7FFY4LJY.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ICON_SLOT,
|
|
7
7
|
TITLE,
|
|
8
8
|
TITLE_ICON
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5ZY3IIIG.js";
|
|
10
10
|
import {
|
|
11
11
|
sxRem
|
|
12
12
|
} from "./chunk-YKCAJ2TN.js";
|
|
@@ -28,9 +28,9 @@ var AlertContent = ({ title, description, titleIcon, dataTestId, children }) =>
|
|
|
28
28
|
sx: {
|
|
29
29
|
fontWeight: TITLE.fontWeight,
|
|
30
30
|
fontSize: sxRem(TITLE.fontSize),
|
|
31
|
-
// On the icon's row
|
|
32
|
-
//
|
|
33
|
-
...titleIcon ? { margin: 0 } : { marginBottom: description ? TITLE.marginBottomUnits : 0 },
|
|
31
|
+
// On the icon's row MUI's 2px lift would push the title off the glyph,
|
|
32
|
+
// and the line height is stated so the glyph can be centred on it.
|
|
33
|
+
...titleIcon ? { margin: 0, lineHeight: TITLE_ICON.lineHeight } : { marginBottom: description ? TITLE.marginBottomUnits : 0 },
|
|
34
34
|
...BREAK_WORDS
|
|
35
35
|
},
|
|
36
36
|
children: title
|
|
@@ -43,10 +43,19 @@ var AlertContent = ({ title, description, titleIcon, dataTestId, children }) =>
|
|
|
43
43
|
"data-testid": testIdFor(dataTestId, "title-row"),
|
|
44
44
|
sx: {
|
|
45
45
|
display: "flex",
|
|
46
|
-
|
|
46
|
+
// The FIRST line, not the block: a title that wraps to three lines
|
|
47
|
+
// on a phone would otherwise float its icon beside the second.
|
|
48
|
+
alignItems: "flex-start",
|
|
47
49
|
gap: TITLE_ICON.gapUnits,
|
|
48
50
|
marginBottom: description ? TITLE.marginBottomUnits : 0,
|
|
49
|
-
"& > span": {
|
|
51
|
+
"& > span": {
|
|
52
|
+
display: "flex",
|
|
53
|
+
flex: "none",
|
|
54
|
+
alignItems: "center",
|
|
55
|
+
fontSize: sxRem(ICON_SLOT.size),
|
|
56
|
+
// One title line tall, so the glyph is centred on that line.
|
|
57
|
+
height: sxRem(TITLE.fontSize * TITLE_ICON.lineHeight)
|
|
58
|
+
}
|
|
50
59
|
},
|
|
51
60
|
children: [
|
|
52
61
|
titleIcon,
|
|
@@ -70,4 +79,4 @@ var AlertContent = ({ title, description, titleIcon, dataTestId, children }) =>
|
|
|
70
79
|
export {
|
|
71
80
|
AlertContent
|
|
72
81
|
};
|
|
73
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-7HZ36QDH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/data-display/Alert/Alert.content.tsx"],"sourcesContent":["import AlertTitle from '@mui/material/AlertTitle/index.js';\nimport Box from '@mui/material/Box/index.js';\nimport React from 'react';\n\nimport { sxRem } from '../../../tokens/relative';\n\nimport { testIdFor } from './Alert.helpers';\nimport { DESCRIPTION, ICON_SLOT, TITLE, TITLE_ICON } from './Alert.metrics';\nimport type { AlertProps } from './Alert.types';\n\nconst BREAK_WORDS = {\n wordWrap: 'break-word',\n overflowWrap: 'break-word',\n wordBreak: 'break-word',\n} as const;\n\n/**\n * The message column: title, description, then whatever the caller put inside.\n *\n * `titleIcon` is the icon when it sits on the title's line\n * (`iconPlacement: 'title'`, see `Alert.placement.ts`). The title then shares\n * a row with it, and the description below is a sibling of that row — so it\n * starts at the column's own edge rather than under the title's first letter.\n */\nexport const AlertContent: React.FC<{\n title?: AlertProps['title'];\n description?: AlertProps['description'];\n titleIcon?: React.ReactNode;\n dataTestId?: string;\n children?: React.ReactNode;\n}> = ({ title, description, titleIcon, dataTestId, children }) => {\n const heading = title ? (\n <AlertTitle\n data-testid={testIdFor(dataTestId, 'title')}\n sx={{\n fontWeight: TITLE.fontWeight,\n fontSize: sxRem(TITLE.fontSize),\n // On the icon's row MUI's 2px lift would push the title off the glyph,\n // and the line height is stated so the glyph can be centred on it.\n ...(titleIcon\n ? { margin: 0, lineHeight: TITLE_ICON.lineHeight }\n : { marginBottom: description ? TITLE.marginBottomUnits : 0 }),\n ...BREAK_WORDS,\n }}\n >\n {title}\n </AlertTitle>\n ) : null;\n\n return (\n <>\n {titleIcon && heading ? (\n <Box\n data-testid={testIdFor(dataTestId, 'title-row')}\n sx={{\n display: 'flex',\n // The FIRST line, not the block: a title that wraps to three lines\n // on a phone would otherwise float its icon beside the second.\n alignItems: 'flex-start',\n gap: TITLE_ICON.gapUnits,\n marginBottom: description ? TITLE.marginBottomUnits : 0,\n '& > span': {\n display: 'flex',\n flex: 'none',\n alignItems: 'center',\n fontSize: sxRem(ICON_SLOT.size),\n // One title line tall, so the glyph is centred on that line.\n height: sxRem(TITLE.fontSize * TITLE_ICON.lineHeight),\n },\n }}\n >\n {titleIcon}\n {heading}\n </Box>\n ) : (\n heading\n )}\n {description && (\n <Box\n component=\"div\"\n data-testid={testIdFor(dataTestId, 'message')}\n sx={{ opacity: DESCRIPTION.opacity, fontSize: sxRem(DESCRIPTION.fontSize), ...BREAK_WORDS }}\n >\n {description}\n </Box>\n )}\n {children}\n </>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;AAAA,OAAO,gBAAgB;AACvB,OAAO,SAAS;AA+BZ,SAkBA,UAlBA,KAoBI,YApBJ;AAtBJ,IAAM,cAAc;AAAA,EAClB,UAAU;AAAA,EACV,cAAc;AAAA,EACd,WAAW;AACb;AAUO,IAAM,eAMR,CAAC,EAAE,OAAO,aAAa,WAAW,YAAY,SAAS,MAAM;AAChE,QAAM,UAAU,QACd;AAAA,IAA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|
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-GG7IOJAG.js";
|
|
14
14
|
import {
|
|
15
15
|
useUrlEchoGuard,
|
|
16
16
|
useUrlSyncState
|
|
@@ -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-7LMR2H7O.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-6DPAWXZ3.js";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YOXYSAUI.js";
|
|
10
10
|
import {
|
|
11
11
|
Text
|
|
12
12
|
} from "./chunk-AJBRO76D.js";
|
|
@@ -297,4 +297,4 @@ export {
|
|
|
297
297
|
ViewHeader,
|
|
298
298
|
ViewFooter
|
|
299
299
|
};
|
|
300
|
-
//# sourceMappingURL=chunk-
|
|
300
|
+
//# sourceMappingURL=chunk-BGSUSSAV.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSummaryInfo
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-X2GWR75Q.js";
|
|
4
4
|
import {
|
|
5
5
|
PendingSpinner,
|
|
6
6
|
SaveError,
|
|
7
7
|
SettingHeader,
|
|
8
8
|
partTestId
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3EIRRLCQ.js";
|
|
10
10
|
import {
|
|
11
11
|
clampStyles,
|
|
12
12
|
descriptionStyles
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
useSettingSwitchIds,
|
|
88
88
|
SettingSwitchBlock
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-C2NNJMVY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
partTestId
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3EIRRLCQ.js";
|
|
4
4
|
import {
|
|
5
5
|
SETTING_CARD_OPEN_ATTR,
|
|
6
6
|
withCallerSx
|
|
@@ -79,4 +79,4 @@ export {
|
|
|
79
79
|
settingGridStyles,
|
|
80
80
|
SettingGrid
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-CW5Z67NA.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-QLJU7UUI.js";
|
|
5
5
|
import {
|
|
6
6
|
MoreFilters
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZAZOBTVS.js";
|
|
8
8
|
import {
|
|
9
9
|
PillControl
|
|
10
10
|
} from "./chunk-IWJTLCTF.js";
|
|
@@ -244,4 +244,4 @@ function FilterSlots({
|
|
|
244
244
|
export {
|
|
245
245
|
InlineFilterControls
|
|
246
246
|
};
|
|
247
|
-
//# sourceMappingURL=chunk-
|
|
247
|
+
//# sourceMappingURL=chunk-FVNY5BNV.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SaveViewModal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2ONUSNPZ.js";
|
|
4
4
|
import {
|
|
5
5
|
ManageViewsDialog
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OK3OJGJY.js";
|
|
7
7
|
import {
|
|
8
8
|
useDataViewsCopy
|
|
9
9
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-4SQ2WCZA.js";
|
|
13
13
|
import {
|
|
14
14
|
Alert
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NQCTANF3.js";
|
|
16
16
|
|
|
17
17
|
// src/components/data-display/DataViews/data-views-table-parts.tsx
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -121,4 +121,4 @@ export {
|
|
|
121
121
|
ViewsMenuSlot,
|
|
122
122
|
ViewDialogs
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=chunk-
|
|
124
|
+
//# sourceMappingURL=chunk-GG7IOJAG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useColumnsWithActions,
|
|
3
3
|
useRenderedColumns
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5WUXJDFP.js";
|
|
5
5
|
import {
|
|
6
6
|
filterRows
|
|
7
7
|
} from "./chunk-YGQX7BNI.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
computeActiveFilterCount,
|
|
14
14
|
defaultSortFields
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5IIHAYFF.js";
|
|
16
16
|
import {
|
|
17
17
|
serverDerived,
|
|
18
18
|
useServerQuery
|
|
@@ -172,4 +172,4 @@ function useDataViewsState({
|
|
|
172
172
|
export {
|
|
173
173
|
useDataViewsState
|
|
174
174
|
};
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-HHFVDOA7.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SettingSwitchBlock,
|
|
3
3
|
useSettingSwitchIds
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-C2NNJMVY.js";
|
|
5
5
|
import {
|
|
6
6
|
useSettingGroup
|
|
7
7
|
} from "./chunk-XJQNSMGA.js";
|
|
@@ -44,4 +44,4 @@ SettingToggle.displayName = "SettingToggle";
|
|
|
44
44
|
export {
|
|
45
45
|
SettingToggle
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
47
|
+
//# sourceMappingURL=chunk-HMWSMRLM.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridShell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y2CHJLWD.js";
|
|
4
4
|
import {
|
|
5
5
|
useDataViewsState
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HHFVDOA7.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-HXCUKZOB.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
SEMANTIC_SURFACE,
|
|
21
21
|
SEMANTIC_VARIANTS,
|
|
22
22
|
seconds
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5ZY3IIIG.js";
|
|
24
24
|
import {
|
|
25
25
|
sheen,
|
|
26
26
|
softNeutral
|
|
@@ -267,4 +267,4 @@ export {
|
|
|
267
267
|
alertVariantStyles,
|
|
268
268
|
alertEmphasisStyles
|
|
269
269
|
};
|
|
270
|
-
//# sourceMappingURL=chunk-
|
|
270
|
+
//# sourceMappingURL=chunk-L5RS6QAT.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
fadeInScale,
|
|
6
6
|
getColorFromTheme,
|
|
7
7
|
getVariantIcon
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L5RS6QAT.js";
|
|
9
9
|
import {
|
|
10
10
|
resolveIconPlacement
|
|
11
11
|
} from "./chunk-QXUXO22M.js";
|
|
12
12
|
import {
|
|
13
13
|
AlertContent
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7HZ36QDH.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveAlertProps,
|
|
17
17
|
resolveAnnouncement,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
GLOW,
|
|
31
31
|
HOVER,
|
|
32
32
|
seconds
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5ZY3IIIG.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveTestId,
|
|
36
36
|
withoutTestIdProps
|
|
@@ -277,4 +277,4 @@ export {
|
|
|
277
277
|
Alert,
|
|
278
278
|
ALERT_ONLY_PROPS
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=chunk-
|
|
280
|
+
//# sourceMappingURL=chunk-NQCTANF3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GridToolbar
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NZXRPWPW.js";
|
|
4
4
|
|
|
5
5
|
// src/components/data-display/DataViews/data-views-shell-toolbar.tsx
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -68,4 +68,4 @@ function ShellToolbar({
|
|
|
68
68
|
export {
|
|
69
69
|
ShellToolbar
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-NRADSKGH.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataViewsDisplayPanel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5M7T36AT.js";
|
|
4
4
|
import {
|
|
5
5
|
DataViewsExportMenu
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4NG3LTRX.js";
|
|
7
7
|
import {
|
|
8
8
|
STICKY_BAR_ATTR
|
|
9
9
|
} from "./chunk-4IE66GY2.js";
|
|
10
10
|
import {
|
|
11
11
|
renderBulkActions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5IIHAYFF.js";
|
|
13
13
|
import {
|
|
14
14
|
useDataViewsCopy
|
|
15
15
|
} from "./chunk-KHG57NAE.js";
|
|
@@ -143,4 +143,4 @@ function GridToolbar(props) {
|
|
|
143
143
|
export {
|
|
144
144
|
GridToolbar
|
|
145
145
|
};
|
|
146
|
-
//# sourceMappingURL=chunk-
|
|
146
|
+
//# sourceMappingURL=chunk-NZXRPWPW.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KHG57NAE.js";
|
|
4
4
|
import {
|
|
5
5
|
createConfirmButton
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WULEQKU7.js";
|
|
7
7
|
import {
|
|
8
8
|
Dialog,
|
|
9
9
|
DialogContent
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-WEBEOBN5.js";
|
|
17
17
|
import {
|
|
18
18
|
Button
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YOXYSAUI.js";
|
|
20
20
|
import {
|
|
21
21
|
Text
|
|
22
22
|
} from "./chunk-AJBRO76D.js";
|
|
@@ -128,4 +128,4 @@ function ManageViewsDialog({
|
|
|
128
128
|
export {
|
|
129
129
|
ManageViewsDialog
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=chunk-
|
|
131
|
+
//# sourceMappingURL=chunk-OK3OJGJY.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-6DPAWXZ3.js";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YOXYSAUI.js";
|
|
10
10
|
import {
|
|
11
11
|
Text
|
|
12
12
|
} from "./chunk-AJBRO76D.js";
|
|
@@ -85,4 +85,4 @@ function SelectAllStrip({
|
|
|
85
85
|
export {
|
|
86
86
|
SelectAllStrip
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=chunk-
|
|
88
|
+
//# sourceMappingURL=chunk-OY437NRJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ACTIVE,
|
|
3
3
|
HOVER
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5ZY3IIIG.js";
|
|
5
5
|
import {
|
|
6
6
|
modeInk
|
|
7
7
|
} from "./chunk-XJAD6E3V.js";
|
|
@@ -140,4 +140,4 @@ export {
|
|
|
140
140
|
bannerPointerStates,
|
|
141
141
|
BANNER_TINT_S
|
|
142
142
|
};
|
|
143
|
-
//# sourceMappingURL=chunk-
|
|
143
|
+
//# sourceMappingURL=chunk-QIP37Y2C.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-6DPAWXZ3.js";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YOXYSAUI.js";
|
|
10
10
|
import {
|
|
11
11
|
Text
|
|
12
12
|
} from "./chunk-AJBRO76D.js";
|
|
@@ -96,4 +96,4 @@ export {
|
|
|
96
96
|
DataViewsEmpty,
|
|
97
97
|
ShellEmpty
|
|
98
98
|
};
|
|
99
|
-
//# sourceMappingURL=chunk-
|
|
99
|
+
//# sourceMappingURL=chunk-QITQFCFY.js.map
|