@equinor/mad-core 0.7.0 → 0.7.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/CHANGELOG.md +14 -0
- package/dist/{chunk-V5WZIP2H.js → chunk-2MSTFOYV.js} +1 -1
- package/dist/{chunk-57NV3AWS.js → chunk-3BM4S2GG.js} +1 -1
- package/dist/{chunk-PB7RCM3P.js → chunk-4RTYLHRV.js} +2 -2
- package/dist/{chunk-AAPOT2F3.js → chunk-5SOBPLNO.js} +1 -1
- package/dist/{chunk-6MIUWCTG.js → chunk-ARFGD2IL.js} +2 -2
- package/dist/{chunk-O3MDFTFC.js → chunk-CRICOQIB.js} +4 -4
- package/dist/{chunk-Z6PI6VJV.js → chunk-FBRFCQOV.js} +4 -4
- package/dist/{chunk-KIMBCQQM.js → chunk-GBLKZ47S.js} +2 -2
- package/dist/{chunk-3WTKRZ37.js → chunk-GBOOMGQT.js} +6 -3
- package/dist/{chunk-VQT4HKQP.js → chunk-GZ3KABVU.js} +1 -1
- package/dist/{chunk-NZJ2OJKA.js → chunk-GZ724MTU.js} +3 -2
- package/dist/{chunk-XDGQBDUQ.js → chunk-J6NKU4OS.js} +1 -1
- package/dist/{chunk-7FMPZFRS.js → chunk-JD2JILBG.js} +1 -1
- package/dist/{chunk-PJR6OKX6.js → chunk-K77ZZUJO.js} +1 -1
- package/dist/{chunk-NLNSDAD7.js → chunk-LOV6KYOY.js} +1 -1
- package/dist/{chunk-W6GVPMN4.js → chunk-LYU7NQBB.js} +4 -4
- package/dist/{chunk-7E5VE2A2.js → chunk-N5UAX7DA.js} +5 -3
- package/dist/{chunk-Y42WKXNP.js → chunk-SSSTWTHP.js} +1 -1
- package/dist/{chunk-CCRYPD4B.js → chunk-TIFYSLGL.js} +1 -1
- package/dist/{chunk-KQI7B7LY.js → chunk-TR4KTTGP.js} +2 -2
- package/dist/{chunk-Y2UHRJ7H.js → chunk-TXG7T62C.js} +1 -1
- package/dist/{chunk-ESL24TPV.js → chunk-UATWXG2H.js} +4 -4
- package/dist/{chunk-4DM2ONVH.js → chunk-UIH6RSIN.js} +9 -9
- package/dist/{chunk-ECVSJUOE.js → chunk-XHIBLTJB.js} +5 -0
- package/dist/{chunk-SOHMDEWI.js → chunk-XMRWZHBV.js} +1 -1
- package/dist/{chunk-TISU6GUX.js → chunk-YH46KAXB.js} +1 -1
- package/dist/{chunk-5MPPKD5X.js → chunk-YTG27LZT.js} +4 -4
- package/dist/components/EnvironmentBanner.js +2 -2
- package/dist/components/EnvironmentProvider.js +2 -2
- package/dist/components/createCoreStackNavigator.js +25 -25
- package/dist/components/index.js +27 -27
- package/dist/components/navigation/MadCoreSubHeader.js +6 -6
- package/dist/components/navigation/index.js +7 -7
- package/dist/components/navigation/navigation-creators.js +7 -7
- package/dist/components/screens/AboutScreen.js +2 -2
- package/dist/components/screens/LoginScreen.js +3 -3
- package/dist/components/screens/create-incident/CreateIncidentScreen.js +3 -3
- package/dist/components/screens/language/SelectLanguageScreen.js +5 -5
- package/dist/components/screens/language/components/SelectLanguageCellGroup.js +2 -2
- package/dist/components/screens/release-notes/ReleaseNotesScreen.js +5 -5
- package/dist/components/screens/release-notes/WhatsNewScreen.js +5 -5
- package/dist/components/screens/release-notes/fetchReleaseNotes.js +2 -2
- package/dist/components/screens/settings/Section.js +2 -2
- package/dist/components/screens/settings/SettingsScreen.js +5 -5
- package/dist/components/screens/settings/index.js +5 -5
- package/dist/components/screens/settings/useSignOut.js +2 -2
- package/dist/components/service-message/ServiceMessageBanner.js +4 -4
- package/dist/components/service-message/ServiceMessageProvider.js +3 -3
- package/dist/components/service-message/hooks/useFetchServiceMessage.js +2 -2
- package/dist/hooks/UseReleaseNotes.js +3 -3
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/useAccountOrDemoAccount.js +2 -2
- package/dist/hooks/useNavigateFromLanguageSelectScreen.js +2 -2
- package/dist/hooks/useNavigateFromLoginScreen.js +2 -2
- package/dist/hooks/useNavigateFromWhatsNewScreen.js +2 -2
- package/dist/hooks/useScreenTitleFromDictionary.js +2 -2
- package/dist/index.js +31 -28
- package/dist/language/useDictionary.js +1 -1
- package/dist/store/index.js +1 -1
- package/dist/store/language/index.js +1 -1
- package/dist/store/language/language.js +1 -1
- package/dist/store/mad-config/hooks.d.ts +3 -0
- package/dist/store/mad-config/hooks.js +3 -1
- package/dist/store/mad-config/index.js +3 -1
- package/dist/store/mad-config/mad-config.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/utils/createEnvironmentProxy.js +1 -1
- package/dist/utils/createMadCoreNavigator.js +19 -19
- package/dist/utils/initiateAuthenticationClient.js +2 -2
- package/package.json +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @equinor/mad-core
|
|
2
2
|
|
|
3
|
+
## 0.7.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 09870d8: Several fixes for expo-auth-session implementation
|
|
8
|
+
- Updated dependencies [09870d8]
|
|
9
|
+
- @equinor/mad-auth@0.2.1
|
|
10
|
+
|
|
11
|
+
## 0.7.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- d329bc9: Display authentication method in about screen
|
|
16
|
+
|
|
3
17
|
## 0.7.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceMessageBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LOV6KYOY.js";
|
|
4
4
|
import {
|
|
5
5
|
EnvironmentBanner
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2MSTFOYV.js";
|
|
7
7
|
|
|
8
8
|
// src/components/navigation/MadCoreSubHeader.tsx
|
|
9
9
|
import React from "react";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-OCWASWDK.js";
|
|
7
7
|
import {
|
|
8
8
|
useReleaseNotes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GBLKZ47S.js";
|
|
10
10
|
import {
|
|
11
11
|
useScreenTitleFromDictionary
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XMRWZHBV.js";
|
|
13
13
|
|
|
14
14
|
// src/components/screens/release-notes/ReleaseNotesScreen.tsx
|
|
15
15
|
import React from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useNavigateFromLoginScreen
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TXG7T62C.js";
|
|
4
4
|
import {
|
|
5
5
|
getConfig,
|
|
6
6
|
useAuthConfig,
|
|
7
7
|
useDictionary,
|
|
8
8
|
useLoginScreenConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XHIBLTJB.js";
|
|
10
10
|
import {
|
|
11
11
|
__spreadProps,
|
|
12
12
|
__spreadValues
|
|
@@ -25,7 +25,7 @@ var LoginScreen = ({
|
|
|
25
25
|
onAuthenticationSuccessful,
|
|
26
26
|
onAuthenticationFailed
|
|
27
27
|
}) => {
|
|
28
|
-
var _a;
|
|
28
|
+
var _a, _b;
|
|
29
29
|
const dictionary = useDictionary();
|
|
30
30
|
const authConfig = useAuthConfig();
|
|
31
31
|
const navigate = useNavigateFromLoginScreen();
|
|
@@ -62,7 +62,7 @@ var LoginScreen = ({
|
|
|
62
62
|
style: styles.fill,
|
|
63
63
|
onPress: () => setDemoPressCount((count) => count + 1)
|
|
64
64
|
}
|
|
65
|
-
)), /* @__PURE__ */ React.createElement(View, { style: styles.buttonContainer }, getConfig().experimental.useExpoAuthSession ? /* @__PURE__ */ React.createElement(ExpoAuthSession.LoginButton, __spreadValues({}, loginButtonProps)) : /* @__PURE__ */ React.createElement(LoginButton, __spreadValues({}, loginButtonProps)), shouldDisplayDemoButton && /* @__PURE__ */ React.createElement(
|
|
65
|
+
)), /* @__PURE__ */ React.createElement(View, { style: styles.buttonContainer }, ((_b = getConfig().experimental) == null ? void 0 : _b.useExpoAuthSession) ? /* @__PURE__ */ React.createElement(ExpoAuthSession.LoginButton, __spreadValues({}, loginButtonProps)) : /* @__PURE__ */ React.createElement(LoginButton, __spreadValues({}, loginButtonProps)), shouldDisplayDemoButton && /* @__PURE__ */ React.createElement(
|
|
66
66
|
Button,
|
|
67
67
|
{
|
|
68
68
|
testID: "demo-button",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSignOut
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J6NKU4OS.js";
|
|
4
4
|
import {
|
|
5
5
|
SettingsSection
|
|
6
6
|
} from "./chunk-YKLMUKP4.js";
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-7SJM4NDH.js";
|
|
10
10
|
import {
|
|
11
11
|
useAccountOrDemoAccount
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GZ724MTU.js";
|
|
13
13
|
import {
|
|
14
14
|
useScreenTitleFromDictionary
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XMRWZHBV.js";
|
|
16
16
|
import {
|
|
17
17
|
useDictionary,
|
|
18
18
|
useSettingsScreenPremadeConfig
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XHIBLTJB.js";
|
|
20
20
|
import {
|
|
21
21
|
__spreadValues
|
|
22
22
|
} from "./chunk-WEAGW6MQ.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-GHWLQBHQ.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchAllReleaseNotes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-N5UAX7DA.js";
|
|
7
7
|
import {
|
|
8
8
|
useDemoMode
|
|
9
9
|
} from "./chunk-UZ6YMQV2.js";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironment,
|
|
12
12
|
useServicePortalName
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XHIBLTJB.js";
|
|
14
14
|
|
|
15
15
|
// src/hooks/UseReleaseNotes.tsx
|
|
16
16
|
import { useEffect, useMemo, useState } from "react";
|
|
@@ -4,8 +4,9 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
useAbout,
|
|
6
6
|
useAppVersion,
|
|
7
|
-
useEnvironment
|
|
8
|
-
|
|
7
|
+
useEnvironment,
|
|
8
|
+
useExperimentalFeatures
|
|
9
|
+
} from "./chunk-XHIBLTJB.js";
|
|
9
10
|
|
|
10
11
|
// src/components/screens/AboutScreen.tsx
|
|
11
12
|
import React from "react";
|
|
@@ -18,6 +19,8 @@ var AboutScreen = () => {
|
|
|
18
19
|
const environmentName = environment.charAt(0).toUpperCase() + environment.slice(1);
|
|
19
20
|
const appVersion = useAppVersion();
|
|
20
21
|
const about = useAbout();
|
|
22
|
+
const experimentalFeatures = useExperimentalFeatures();
|
|
23
|
+
const authenticationMethod = (experimentalFeatures == null ? void 0 : experimentalFeatures.useExpoAuthSession) ? "Expo" : "MSAL";
|
|
21
24
|
const endpoints = [getMadCommonBaseUrl(environment)].concat((_a = about == null ? void 0 : about.endpoints) != null ? _a : []);
|
|
22
25
|
return /* @__PURE__ */ React.createElement(
|
|
23
26
|
ScrollView,
|
|
@@ -25,7 +28,7 @@ var AboutScreen = () => {
|
|
|
25
28
|
contentInsetAdjustmentBehavior: "automatic",
|
|
26
29
|
contentContainerStyle: styles.contentContainer
|
|
27
30
|
},
|
|
28
|
-
/* @__PURE__ */ React.createElement(Cell, null, /* @__PURE__ */ React.createElement(View, { style: styles.cellContainer }, /* @__PURE__ */ React.createElement(Typography, { variant: "h2" }, "Client"), /* @__PURE__ */ React.createElement(View, { style: styles.rowContainer }, /* @__PURE__ */ React.createElement(View, { style: styles.columnContainer }, /* @__PURE__ */ React.createElement(Typography, null, "Configuration"), /* @__PURE__ */ React.createElement(Typography, null, "BuildNr"), /* @__PURE__ */ React.createElement(Typography, null, "App version")), /* @__PURE__ */ React.createElement(View, { style: styles.columnContainer }, /* @__PURE__ */ React.createElement(Typography, null, environmentName), /* @__PURE__ */ React.createElement(Typography, null, about == null ? void 0 : about.buildNumber), /* @__PURE__ */ React.createElement(Typography, null, appVersion))))),
|
|
31
|
+
/* @__PURE__ */ React.createElement(Cell, null, /* @__PURE__ */ React.createElement(View, { style: styles.cellContainer }, /* @__PURE__ */ React.createElement(Typography, { variant: "h2" }, "Client"), /* @__PURE__ */ React.createElement(View, { style: styles.rowContainer }, /* @__PURE__ */ React.createElement(View, { style: styles.columnContainer }, /* @__PURE__ */ React.createElement(Typography, null, "Configuration"), /* @__PURE__ */ React.createElement(Typography, null, "BuildNr"), /* @__PURE__ */ React.createElement(Typography, null, "App version"), /* @__PURE__ */ React.createElement(Typography, null, "Authentication")), /* @__PURE__ */ React.createElement(View, { style: styles.columnContainer }, /* @__PURE__ */ React.createElement(Typography, null, environmentName), /* @__PURE__ */ React.createElement(Typography, null, about == null ? void 0 : about.buildNumber), /* @__PURE__ */ React.createElement(Typography, null, appVersion), /* @__PURE__ */ React.createElement(Typography, null, authenticationMethod))))),
|
|
29
32
|
/* @__PURE__ */ React.createElement(Cell, null, /* @__PURE__ */ React.createElement(View, { style: styles.cellContainer }, /* @__PURE__ */ React.createElement(Typography, { variant: "h2" }, "Api"), /* @__PURE__ */ React.createElement(View, { style: styles.columnContainer }, /* @__PURE__ */ React.createElement(Typography, null, "Endpoints"), /* @__PURE__ */ React.createElement(View, null, endpoints.map((endpoint) => /* @__PURE__ */ React.createElement(Typography, { key: endpoint }, endpoint))))))
|
|
30
33
|
);
|
|
31
34
|
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-UZ6YMQV2.js";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XHIBLTJB.js";
|
|
7
7
|
|
|
8
8
|
// src/hooks/useAccountOrDemoAccount.ts
|
|
9
9
|
import { ExpoAuthSession, useAccount } from "@equinor/mad-auth";
|
|
@@ -13,10 +13,11 @@ var MAD_DEMO_USER = {
|
|
|
13
13
|
identifier: "-1"
|
|
14
14
|
};
|
|
15
15
|
var useAccountOrDemoAccount = () => {
|
|
16
|
+
var _a;
|
|
16
17
|
const demoMode = useDemoMode();
|
|
17
18
|
const msalAccount = useAccount();
|
|
18
19
|
const expoAccount = ExpoAuthSession.useAccount();
|
|
19
|
-
const account = getConfig().experimental.useExpoAuthSession ? expoAccount : msalAccount;
|
|
20
|
+
const account = ((_a = getConfig().experimental) == null ? void 0 : _a.useExpoAuthSession) ? expoAccount : msalAccount;
|
|
20
21
|
if (demoMode.isEnabled)
|
|
21
22
|
return MAD_DEMO_USER;
|
|
22
23
|
return account;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SelectLanguageCellGroup
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SSSTWTHP.js";
|
|
4
4
|
import {
|
|
5
5
|
useNavigateFromLanguageSelectScreen
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YH46KAXB.js";
|
|
7
7
|
import {
|
|
8
8
|
useScreenTitleFromDictionary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XMRWZHBV.js";
|
|
10
10
|
import {
|
|
11
11
|
useDictionary,
|
|
12
12
|
useLanguage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XHIBLTJB.js";
|
|
14
14
|
|
|
15
15
|
// src/components/screens/language/SelectLanguageScreen.tsx
|
|
16
16
|
import React, { useState } from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-RFYZGBU4.js";
|
|
5
5
|
import {
|
|
6
6
|
getConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XHIBLTJB.js";
|
|
8
8
|
import {
|
|
9
9
|
__async
|
|
10
10
|
} from "./chunk-WEAGW6MQ.js";
|
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
// src/components/screens/release-notes/fetchReleaseNotes.ts
|
|
13
13
|
import { authenticateSilently, ExpoAuthSession } from "@equinor/mad-auth";
|
|
14
14
|
var fetchReleaseNotes = (env, servicePortalName, appVersion) => __async(void 0, null, function* () {
|
|
15
|
+
var _a;
|
|
15
16
|
const scopes = getMadCommonScopes(env);
|
|
16
17
|
const baseUrl = getMadCommonBaseUrl(env);
|
|
17
|
-
const authenticationResponse = getConfig().experimental.useExpoAuthSession ? yield ExpoAuthSession.authenticateSilently(scopes) : yield authenticateSilently(scopes);
|
|
18
|
+
const authenticationResponse = ((_a = getConfig().experimental) == null ? void 0 : _a.useExpoAuthSession) ? yield ExpoAuthSession.authenticateSilently(scopes) : yield authenticateSilently(scopes);
|
|
18
19
|
if (!authenticationResponse)
|
|
19
20
|
throw new Error("Unable to authenticate silently");
|
|
20
21
|
const fetchResponse = yield fetch(`${baseUrl}/ReleaseNote/${servicePortalName}/${appVersion}`, {
|
|
@@ -26,9 +27,10 @@ var fetchReleaseNotes = (env, servicePortalName, appVersion) => __async(void 0,
|
|
|
26
27
|
return yield fetchResponse.json();
|
|
27
28
|
});
|
|
28
29
|
var fetchAllReleaseNotes = (env, servicePortalName) => __async(void 0, null, function* () {
|
|
30
|
+
var _a;
|
|
29
31
|
const scopes = getMadCommonScopes(env);
|
|
30
32
|
const baseUrl = getMadCommonBaseUrl(env);
|
|
31
|
-
const authenticationResponse = getConfig().experimental.useExpoAuthSession ? yield ExpoAuthSession.authenticateSilently(scopes) : yield authenticateSilently(scopes);
|
|
33
|
+
const authenticationResponse = ((_a = getConfig().experimental) == null ? void 0 : _a.useExpoAuthSession) ? yield ExpoAuthSession.authenticateSilently(scopes) : yield authenticateSilently(scopes);
|
|
32
34
|
if (!authenticationResponse)
|
|
33
35
|
throw new Error("Unable to authenticate silently");
|
|
34
36
|
const fetchResponse = yield fetch(`${baseUrl}/ReleaseNote/${servicePortalName}/`, {
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-CAOQCE6W.js";
|
|
7
7
|
import {
|
|
8
8
|
useAccountOrDemoAccount
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GZ724MTU.js";
|
|
10
10
|
import {
|
|
11
11
|
useEnvironment,
|
|
12
12
|
useServiceNow
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XHIBLTJB.js";
|
|
14
14
|
|
|
15
15
|
// src/components/screens/create-incident/CreateIncidentScreen.tsx
|
|
16
16
|
import React, { useState } from "react";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createNativeStackNavigator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JD2JILBG.js";
|
|
4
4
|
import {
|
|
5
5
|
initiateAuthenticationClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3BM4S2GG.js";
|
|
7
7
|
import {
|
|
8
8
|
createMadCoreNavigator
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UIH6RSIN.js";
|
|
10
10
|
import {
|
|
11
11
|
setConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XHIBLTJB.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ReleaseNotesScreen
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ARFGD2IL.js";
|
|
4
4
|
import {
|
|
5
5
|
WhatsNewScreen
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YTG27LZT.js";
|
|
7
7
|
import {
|
|
8
8
|
CreateIncidentScreen
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TR4KTTGP.js";
|
|
10
10
|
import {
|
|
11
11
|
SelectLanguageScreen
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LYU7NQBB.js";
|
|
13
13
|
import {
|
|
14
14
|
AboutScreen
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GBOOMGQT.js";
|
|
16
16
|
import {
|
|
17
17
|
LoginScreen
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CRICOQIB.js";
|
|
19
19
|
import {
|
|
20
20
|
ServiceMessageProvider
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GZ3KABVU.js";
|
|
22
22
|
import {
|
|
23
23
|
getDefaultScreenOptionsForLoginScreen
|
|
24
24
|
} from "./chunk-RGJ4RWVB.js";
|
|
25
25
|
import {
|
|
26
26
|
EnvironmentProvider
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TIFYSLGL.js";
|
|
28
28
|
import {
|
|
29
29
|
useMadConfig
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XHIBLTJB.js";
|
|
31
31
|
import {
|
|
32
32
|
CoreRoutes
|
|
33
33
|
} from "./chunk-UKAZW3CQ.js";
|
|
@@ -392,6 +392,10 @@ var useAbout = () => {
|
|
|
392
392
|
const config = useMadConfig();
|
|
393
393
|
return config.about;
|
|
394
394
|
};
|
|
395
|
+
var useExperimentalFeatures = () => {
|
|
396
|
+
const config = useMadConfig();
|
|
397
|
+
return config.experimental;
|
|
398
|
+
};
|
|
395
399
|
var useServiceNow = () => {
|
|
396
400
|
const config = useMadConfig();
|
|
397
401
|
return config.serviceNow;
|
|
@@ -445,6 +449,7 @@ export {
|
|
|
445
449
|
useEnvironment,
|
|
446
450
|
useServicePortalName,
|
|
447
451
|
useAbout,
|
|
452
|
+
useExperimentalFeatures,
|
|
448
453
|
useServiceNow,
|
|
449
454
|
useNavigateToMainRoute,
|
|
450
455
|
useSettingsScreenPremadeConfig,
|
|
@@ -9,24 +9,24 @@ import {
|
|
|
9
9
|
} from "./chunk-GHWLQBHQ.js";
|
|
10
10
|
import {
|
|
11
11
|
fetchReleaseNotes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N5UAX7DA.js";
|
|
13
13
|
import {
|
|
14
14
|
useReleaseNotesVersion
|
|
15
15
|
} from "./chunk-5BVQKJQB.js";
|
|
16
16
|
import {
|
|
17
17
|
useNavigateFromWhatsNewScreen
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-5SOBPLNO.js";
|
|
19
19
|
import {
|
|
20
20
|
useDemoMode
|
|
21
21
|
} from "./chunk-UZ6YMQV2.js";
|
|
22
22
|
import {
|
|
23
23
|
useScreenTitleFromDictionary
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XMRWZHBV.js";
|
|
25
25
|
import {
|
|
26
26
|
useAppVersion,
|
|
27
27
|
useEnvironment,
|
|
28
28
|
useServicePortalName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XHIBLTJB.js";
|
|
30
30
|
import {
|
|
31
31
|
__spreadProps,
|
|
32
32
|
__spreadValues
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCoreStackNavigator
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UATWXG2H.js";
|
|
4
4
|
import "../chunk-2GCLIPZP.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-JD2JILBG.js";
|
|
6
|
+
import "../chunk-4RTYLHRV.js";
|
|
7
|
+
import "../chunk-LOV6KYOY.js";
|
|
8
8
|
import "../chunk-ZSUFR7LK.js";
|
|
9
9
|
import "../chunk-YWPELSTX.js";
|
|
10
10
|
import "../chunk-SHKOH7MA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3BM4S2GG.js";
|
|
12
|
+
import "../chunk-UIH6RSIN.js";
|
|
13
|
+
import "../chunk-ARFGD2IL.js";
|
|
14
|
+
import "../chunk-YTG27LZT.js";
|
|
15
|
+
import "../chunk-TR4KTTGP.js";
|
|
16
16
|
import "../chunk-3WUJAVUO.js";
|
|
17
17
|
import "../chunk-CAOQCE6W.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-LYU7NQBB.js";
|
|
19
|
+
import "../chunk-SSSTWTHP.js";
|
|
20
20
|
import "../chunk-YZEMCMKV.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-GBOOMGQT.js";
|
|
22
|
+
import "../chunk-CRICOQIB.js";
|
|
23
|
+
import "../chunk-GZ3KABVU.js";
|
|
24
|
+
import "../chunk-K77ZZUJO.js";
|
|
25
25
|
import "../chunk-RGJ4RWVB.js";
|
|
26
26
|
import "../chunk-OCWASWDK.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-GBLKZ47S.js";
|
|
28
28
|
import "../chunk-GHWLQBHQ.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-N5UAX7DA.js";
|
|
30
30
|
import "../chunk-RFYZGBU4.js";
|
|
31
31
|
import "../chunk-GUKC6UGZ.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-GZ724MTU.js";
|
|
33
|
+
import "../chunk-YH46KAXB.js";
|
|
34
34
|
import "../chunk-ZWS33QDE.js";
|
|
35
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-TXG7T62C.js";
|
|
36
36
|
import "../chunk-UVQ3Z5PG.js";
|
|
37
37
|
import "../chunk-5BVQKJQB.js";
|
|
38
38
|
import "../chunk-ZYGXHZCE.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-5SOBPLNO.js";
|
|
40
40
|
import "../chunk-3JJAYLEH.js";
|
|
41
41
|
import "../chunk-RVKZULYD.js";
|
|
42
42
|
import "../chunk-CCVKLLIO.js";
|
|
43
43
|
import "../chunk-UZ6YMQV2.js";
|
|
44
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-XMRWZHBV.js";
|
|
45
45
|
import "../chunk-BIMOM43W.js";
|
|
46
|
-
import "../chunk-
|
|
47
|
-
import "../chunk-
|
|
48
|
-
import "../chunk-
|
|
46
|
+
import "../chunk-2MSTFOYV.js";
|
|
47
|
+
import "../chunk-TIFYSLGL.js";
|
|
48
|
+
import "../chunk-XHIBLTJB.js";
|
|
49
49
|
import "../chunk-E6ZYHW72.js";
|
|
50
50
|
import "../chunk-UKAZW3CQ.js";
|
|
51
51
|
import "../chunk-MODG2KVN.js";
|