@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.
Files changed (71) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{chunk-V5WZIP2H.js → chunk-2MSTFOYV.js} +1 -1
  3. package/dist/{chunk-57NV3AWS.js → chunk-3BM4S2GG.js} +1 -1
  4. package/dist/{chunk-PB7RCM3P.js → chunk-4RTYLHRV.js} +2 -2
  5. package/dist/{chunk-AAPOT2F3.js → chunk-5SOBPLNO.js} +1 -1
  6. package/dist/{chunk-6MIUWCTG.js → chunk-ARFGD2IL.js} +2 -2
  7. package/dist/{chunk-O3MDFTFC.js → chunk-CRICOQIB.js} +4 -4
  8. package/dist/{chunk-Z6PI6VJV.js → chunk-FBRFCQOV.js} +4 -4
  9. package/dist/{chunk-KIMBCQQM.js → chunk-GBLKZ47S.js} +2 -2
  10. package/dist/{chunk-3WTKRZ37.js → chunk-GBOOMGQT.js} +6 -3
  11. package/dist/{chunk-VQT4HKQP.js → chunk-GZ3KABVU.js} +1 -1
  12. package/dist/{chunk-NZJ2OJKA.js → chunk-GZ724MTU.js} +3 -2
  13. package/dist/{chunk-XDGQBDUQ.js → chunk-J6NKU4OS.js} +1 -1
  14. package/dist/{chunk-7FMPZFRS.js → chunk-JD2JILBG.js} +1 -1
  15. package/dist/{chunk-PJR6OKX6.js → chunk-K77ZZUJO.js} +1 -1
  16. package/dist/{chunk-NLNSDAD7.js → chunk-LOV6KYOY.js} +1 -1
  17. package/dist/{chunk-W6GVPMN4.js → chunk-LYU7NQBB.js} +4 -4
  18. package/dist/{chunk-7E5VE2A2.js → chunk-N5UAX7DA.js} +5 -3
  19. package/dist/{chunk-Y42WKXNP.js → chunk-SSSTWTHP.js} +1 -1
  20. package/dist/{chunk-CCRYPD4B.js → chunk-TIFYSLGL.js} +1 -1
  21. package/dist/{chunk-KQI7B7LY.js → chunk-TR4KTTGP.js} +2 -2
  22. package/dist/{chunk-Y2UHRJ7H.js → chunk-TXG7T62C.js} +1 -1
  23. package/dist/{chunk-ESL24TPV.js → chunk-UATWXG2H.js} +4 -4
  24. package/dist/{chunk-4DM2ONVH.js → chunk-UIH6RSIN.js} +9 -9
  25. package/dist/{chunk-ECVSJUOE.js → chunk-XHIBLTJB.js} +5 -0
  26. package/dist/{chunk-SOHMDEWI.js → chunk-XMRWZHBV.js} +1 -1
  27. package/dist/{chunk-TISU6GUX.js → chunk-YH46KAXB.js} +1 -1
  28. package/dist/{chunk-5MPPKD5X.js → chunk-YTG27LZT.js} +4 -4
  29. package/dist/components/EnvironmentBanner.js +2 -2
  30. package/dist/components/EnvironmentProvider.js +2 -2
  31. package/dist/components/createCoreStackNavigator.js +25 -25
  32. package/dist/components/index.js +27 -27
  33. package/dist/components/navigation/MadCoreSubHeader.js +6 -6
  34. package/dist/components/navigation/index.js +7 -7
  35. package/dist/components/navigation/navigation-creators.js +7 -7
  36. package/dist/components/screens/AboutScreen.js +2 -2
  37. package/dist/components/screens/LoginScreen.js +3 -3
  38. package/dist/components/screens/create-incident/CreateIncidentScreen.js +3 -3
  39. package/dist/components/screens/language/SelectLanguageScreen.js +5 -5
  40. package/dist/components/screens/language/components/SelectLanguageCellGroup.js +2 -2
  41. package/dist/components/screens/release-notes/ReleaseNotesScreen.js +5 -5
  42. package/dist/components/screens/release-notes/WhatsNewScreen.js +5 -5
  43. package/dist/components/screens/release-notes/fetchReleaseNotes.js +2 -2
  44. package/dist/components/screens/settings/Section.js +2 -2
  45. package/dist/components/screens/settings/SettingsScreen.js +5 -5
  46. package/dist/components/screens/settings/index.js +5 -5
  47. package/dist/components/screens/settings/useSignOut.js +2 -2
  48. package/dist/components/service-message/ServiceMessageBanner.js +4 -4
  49. package/dist/components/service-message/ServiceMessageProvider.js +3 -3
  50. package/dist/components/service-message/hooks/useFetchServiceMessage.js +2 -2
  51. package/dist/hooks/UseReleaseNotes.js +3 -3
  52. package/dist/hooks/index.js +2 -2
  53. package/dist/hooks/useAccountOrDemoAccount.js +2 -2
  54. package/dist/hooks/useNavigateFromLanguageSelectScreen.js +2 -2
  55. package/dist/hooks/useNavigateFromLoginScreen.js +2 -2
  56. package/dist/hooks/useNavigateFromWhatsNewScreen.js +2 -2
  57. package/dist/hooks/useScreenTitleFromDictionary.js +2 -2
  58. package/dist/index.js +31 -28
  59. package/dist/language/useDictionary.js +1 -1
  60. package/dist/store/index.js +1 -1
  61. package/dist/store/language/index.js +1 -1
  62. package/dist/store/language/language.js +1 -1
  63. package/dist/store/mad-config/hooks.d.ts +3 -0
  64. package/dist/store/mad-config/hooks.js +3 -1
  65. package/dist/store/mad-config/index.js +3 -1
  66. package/dist/store/mad-config/mad-config.js +1 -1
  67. package/dist/types.d.ts +1 -1
  68. package/dist/utils/createEnvironmentProxy.js +1 -1
  69. package/dist/utils/createMadCoreNavigator.js +19 -19
  70. package/dist/utils/initiateAuthenticationClient.js +2 -2
  71. 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,6 +1,6 @@
1
1
  import {
2
2
  useEnvironment
3
- } from "./chunk-ECVSJUOE.js";
3
+ } from "./chunk-XHIBLTJB.js";
4
4
 
5
5
  // src/components/EnvironmentBanner.tsx
6
6
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getConfig
3
- } from "./chunk-ECVSJUOE.js";
3
+ } from "./chunk-XHIBLTJB.js";
4
4
  import {
5
5
  getRedirectUriFromAuthConfig
6
6
  } from "./chunk-MODG2KVN.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ServiceMessageBanner
3
- } from "./chunk-NLNSDAD7.js";
3
+ } from "./chunk-LOV6KYOY.js";
4
4
  import {
5
5
  EnvironmentBanner
6
- } from "./chunk-V5WZIP2H.js";
6
+ } from "./chunk-2MSTFOYV.js";
7
7
 
8
8
  // src/components/navigation/MadCoreSubHeader.tsx
9
9
  import React from "react";
@@ -8,7 +8,7 @@ import {
8
8
  useLanguage,
9
9
  useMadConfig,
10
10
  useNavigateToMainRoute
11
- } from "./chunk-ECVSJUOE.js";
11
+ } from "./chunk-XHIBLTJB.js";
12
12
 
13
13
  // src/hooks/useNavigateFromWhatsNewScreen.ts
14
14
  var useNavigateFromWhatsNewScreen = () => {
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-OCWASWDK.js";
7
7
  import {
8
8
  useReleaseNotes
9
- } from "./chunk-KIMBCQQM.js";
9
+ } from "./chunk-GBLKZ47S.js";
10
10
  import {
11
11
  useScreenTitleFromDictionary
12
- } from "./chunk-SOHMDEWI.js";
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-Y2UHRJ7H.js";
3
+ } from "./chunk-TXG7T62C.js";
4
4
  import {
5
5
  getConfig,
6
6
  useAuthConfig,
7
7
  useDictionary,
8
8
  useLoginScreenConfig
9
- } from "./chunk-ECVSJUOE.js";
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-XDGQBDUQ.js";
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-NZJ2OJKA.js";
12
+ } from "./chunk-GZ724MTU.js";
13
13
  import {
14
14
  useScreenTitleFromDictionary
15
- } from "./chunk-SOHMDEWI.js";
15
+ } from "./chunk-XMRWZHBV.js";
16
16
  import {
17
17
  useDictionary,
18
18
  useSettingsScreenPremadeConfig
19
- } from "./chunk-ECVSJUOE.js";
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-7E5VE2A2.js";
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-ECVSJUOE.js";
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
- } from "./chunk-ECVSJUOE.js";
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
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFetchServiceMessage
3
- } from "./chunk-PJR6OKX6.js";
3
+ } from "./chunk-K77ZZUJO.js";
4
4
 
5
5
  // src/components/service-message/ServiceMessageProvider.tsx
6
6
  import React, { useContext } from "react";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-UZ6YMQV2.js";
4
4
  import {
5
5
  getConfig
6
- } from "./chunk-ECVSJUOE.js";
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;
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-BIMOM43W.js";
7
7
  import {
8
8
  getConfig
9
- } from "./chunk-ECVSJUOE.js";
9
+ } from "./chunk-XHIBLTJB.js";
10
10
  import {
11
11
  CoreRoutes
12
12
  } from "./chunk-UKAZW3CQ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MadCoreSubHeader
3
- } from "./chunk-PB7RCM3P.js";
3
+ } from "./chunk-4RTYLHRV.js";
4
4
 
5
5
  // src/components/navigation/navigation-creators.ts
6
6
  import {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RFYZGBU4.js";
4
4
  import {
5
5
  getConfig
6
- } from "./chunk-ECVSJUOE.js";
6
+ } from "./chunk-XHIBLTJB.js";
7
7
 
8
8
  // src/components/service-message/hooks/useFetchServiceMessage.ts
9
9
  import { useEffect, useRef, useState } from "react";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-SHKOH7MA.js";
10
10
  import {
11
11
  useServiceMessageState
12
- } from "./chunk-VQT4HKQP.js";
12
+ } from "./chunk-GZ3KABVU.js";
13
13
  import {
14
14
  __spreadProps,
15
15
  __spreadValues
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SelectLanguageCellGroup
3
- } from "./chunk-Y42WKXNP.js";
3
+ } from "./chunk-SSSTWTHP.js";
4
4
  import {
5
5
  useNavigateFromLanguageSelectScreen
6
- } from "./chunk-TISU6GUX.js";
6
+ } from "./chunk-YH46KAXB.js";
7
7
  import {
8
8
  useScreenTitleFromDictionary
9
- } from "./chunk-SOHMDEWI.js";
9
+ } from "./chunk-XMRWZHBV.js";
10
10
  import {
11
11
  useDictionary,
12
12
  useLanguage
13
- } from "./chunk-ECVSJUOE.js";
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-ECVSJUOE.js";
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}/`, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useLanguage
3
- } from "./chunk-ECVSJUOE.js";
3
+ } from "./chunk-XHIBLTJB.js";
4
4
 
5
5
  // src/components/screens/language/components/SelectLanguageCellGroup.tsx
6
6
  import React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useEnvironment
3
- } from "./chunk-ECVSJUOE.js";
3
+ } from "./chunk-XHIBLTJB.js";
4
4
 
5
5
  // src/components/EnvironmentProvider.tsx
6
6
  import { EnvironmentProvider as ProvideEnvironment } from "@equinor/mad-components";
@@ -6,11 +6,11 @@ import {
6
6
  } from "./chunk-CAOQCE6W.js";
7
7
  import {
8
8
  useAccountOrDemoAccount
9
- } from "./chunk-NZJ2OJKA.js";
9
+ } from "./chunk-GZ724MTU.js";
10
10
  import {
11
11
  useEnvironment,
12
12
  useServiceNow
13
- } from "./chunk-ECVSJUOE.js";
13
+ } from "./chunk-XHIBLTJB.js";
14
14
 
15
15
  // src/components/screens/create-incident/CreateIncidentScreen.tsx
16
16
  import React, { useState } from "react";
@@ -17,7 +17,7 @@ import {
17
17
  useLanguage,
18
18
  useMadConfig,
19
19
  useNavigateToMainRoute
20
- } from "./chunk-ECVSJUOE.js";
20
+ } from "./chunk-XHIBLTJB.js";
21
21
 
22
22
  // src/hooks/useNavigateFromLoginScreen.ts
23
23
  var useNavigateFromLoginScreen = () => {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  createNativeStackNavigator
3
- } from "./chunk-7FMPZFRS.js";
3
+ } from "./chunk-JD2JILBG.js";
4
4
  import {
5
5
  initiateAuthenticationClient
6
- } from "./chunk-57NV3AWS.js";
6
+ } from "./chunk-3BM4S2GG.js";
7
7
  import {
8
8
  createMadCoreNavigator
9
- } from "./chunk-4DM2ONVH.js";
9
+ } from "./chunk-UIH6RSIN.js";
10
10
  import {
11
11
  setConfig
12
- } from "./chunk-ECVSJUOE.js";
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-6MIUWCTG.js";
3
+ } from "./chunk-ARFGD2IL.js";
4
4
  import {
5
5
  WhatsNewScreen
6
- } from "./chunk-5MPPKD5X.js";
6
+ } from "./chunk-YTG27LZT.js";
7
7
  import {
8
8
  CreateIncidentScreen
9
- } from "./chunk-KQI7B7LY.js";
9
+ } from "./chunk-TR4KTTGP.js";
10
10
  import {
11
11
  SelectLanguageScreen
12
- } from "./chunk-W6GVPMN4.js";
12
+ } from "./chunk-LYU7NQBB.js";
13
13
  import {
14
14
  AboutScreen
15
- } from "./chunk-3WTKRZ37.js";
15
+ } from "./chunk-GBOOMGQT.js";
16
16
  import {
17
17
  LoginScreen
18
- } from "./chunk-O3MDFTFC.js";
18
+ } from "./chunk-CRICOQIB.js";
19
19
  import {
20
20
  ServiceMessageProvider
21
- } from "./chunk-VQT4HKQP.js";
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-CCRYPD4B.js";
27
+ } from "./chunk-TIFYSLGL.js";
28
28
  import {
29
29
  useMadConfig
30
- } from "./chunk-ECVSJUOE.js";
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,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-BIMOM43W.js";
4
4
  import {
5
5
  useDictionary
6
- } from "./chunk-ECVSJUOE.js";
6
+ } from "./chunk-XHIBLTJB.js";
7
7
 
8
8
  // src/hooks/useScreenTitleFromDictionary.ts
9
9
  import { useLayoutEffect } from "react";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-BIMOM43W.js";
8
8
  import {
9
9
  useNavigateToMainRoute
10
- } from "./chunk-ECVSJUOE.js";
10
+ } from "./chunk-XHIBLTJB.js";
11
11
  import {
12
12
  CoreRoutes
13
13
  } from "./chunk-UKAZW3CQ.js";
@@ -9,24 +9,24 @@ import {
9
9
  } from "./chunk-GHWLQBHQ.js";
10
10
  import {
11
11
  fetchReleaseNotes
12
- } from "./chunk-7E5VE2A2.js";
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-AAPOT2F3.js";
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-SOHMDEWI.js";
24
+ } from "./chunk-XMRWZHBV.js";
25
25
  import {
26
26
  useAppVersion,
27
27
  useEnvironment,
28
28
  useServicePortalName
29
- } from "./chunk-ECVSJUOE.js";
29
+ } from "./chunk-XHIBLTJB.js";
30
30
  import {
31
31
  __spreadProps,
32
32
  __spreadValues
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EnvironmentBanner
3
- } from "../chunk-V5WZIP2H.js";
4
- import "../chunk-ECVSJUOE.js";
3
+ } from "../chunk-2MSTFOYV.js";
4
+ import "../chunk-XHIBLTJB.js";
5
5
  import "../chunk-E6ZYHW72.js";
6
6
  import "../chunk-UKAZW3CQ.js";
7
7
  import "../chunk-MODG2KVN.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EnvironmentProvider
3
- } from "../chunk-CCRYPD4B.js";
4
- import "../chunk-ECVSJUOE.js";
3
+ } from "../chunk-TIFYSLGL.js";
4
+ import "../chunk-XHIBLTJB.js";
5
5
  import "../chunk-E6ZYHW72.js";
6
6
  import "../chunk-UKAZW3CQ.js";
7
7
  import "../chunk-MODG2KVN.js";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  createCoreStackNavigator
3
- } from "../chunk-ESL24TPV.js";
3
+ } from "../chunk-UATWXG2H.js";
4
4
  import "../chunk-2GCLIPZP.js";
5
- import "../chunk-7FMPZFRS.js";
6
- import "../chunk-PB7RCM3P.js";
7
- import "../chunk-NLNSDAD7.js";
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-57NV3AWS.js";
12
- import "../chunk-4DM2ONVH.js";
13
- import "../chunk-6MIUWCTG.js";
14
- import "../chunk-5MPPKD5X.js";
15
- import "../chunk-KQI7B7LY.js";
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-W6GVPMN4.js";
19
- import "../chunk-Y42WKXNP.js";
18
+ import "../chunk-LYU7NQBB.js";
19
+ import "../chunk-SSSTWTHP.js";
20
20
  import "../chunk-YZEMCMKV.js";
21
- import "../chunk-3WTKRZ37.js";
22
- import "../chunk-O3MDFTFC.js";
23
- import "../chunk-VQT4HKQP.js";
24
- import "../chunk-PJR6OKX6.js";
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-KIMBCQQM.js";
27
+ import "../chunk-GBLKZ47S.js";
28
28
  import "../chunk-GHWLQBHQ.js";
29
- import "../chunk-7E5VE2A2.js";
29
+ import "../chunk-N5UAX7DA.js";
30
30
  import "../chunk-RFYZGBU4.js";
31
31
  import "../chunk-GUKC6UGZ.js";
32
- import "../chunk-NZJ2OJKA.js";
33
- import "../chunk-TISU6GUX.js";
32
+ import "../chunk-GZ724MTU.js";
33
+ import "../chunk-YH46KAXB.js";
34
34
  import "../chunk-ZWS33QDE.js";
35
- import "../chunk-Y2UHRJ7H.js";
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-AAPOT2F3.js";
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-SOHMDEWI.js";
44
+ import "../chunk-XMRWZHBV.js";
45
45
  import "../chunk-BIMOM43W.js";
46
- import "../chunk-V5WZIP2H.js";
47
- import "../chunk-CCRYPD4B.js";
48
- import "../chunk-ECVSJUOE.js";
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";