@equinor/fusion-framework-dev-portal 11.0.4 → 11.0.5

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 (40) hide show
  1. package/dist/main.js +17 -17
  2. package/package.json +43 -40
  3. package/CHANGELOG.md +0 -1117
  4. package/dev-server.ts +0 -109
  5. package/src/AppLoader.tsx +0 -135
  6. package/src/BookmarkSideSheet.tsx +0 -47
  7. package/src/ContextSelector/ContextSelector.tsx +0 -85
  8. package/src/ContextSelector/index.ts +0 -1
  9. package/src/ContextSelector/useContextResolver.ts +0 -337
  10. package/src/EquinorLoader.tsx +0 -33
  11. package/src/ErrorViewer.tsx +0 -26
  12. package/src/FusionLogo.tsx +0 -76
  13. package/src/Header.tsx +0 -94
  14. package/src/HeaderActions.tsx +0 -47
  15. package/src/PersonSideSheet/index.tsx +0 -65
  16. package/src/PersonSideSheet/sheets/FeatureSheetContent.tsx +0 -52
  17. package/src/PersonSideSheet/sheets/FeatureTogglerApp.tsx +0 -39
  18. package/src/PersonSideSheet/sheets/FeatureTogglerPortal.tsx +0 -33
  19. package/src/PersonSideSheet/sheets/LandingSheetContent.tsx +0 -64
  20. package/src/PersonSideSheet/sheets/index.ts +0 -3
  21. package/src/PersonSideSheet/sheets/roles/ClaimableRole.test.tsx +0 -81
  22. package/src/PersonSideSheet/sheets/roles/ClaimableRole.tsx +0 -229
  23. package/src/PersonSideSheet/sheets/roles/RolesApi.test.ts +0 -62
  24. package/src/PersonSideSheet/sheets/roles/RolesApi.ts +0 -112
  25. package/src/PersonSideSheet/sheets/roles/RolesSheetContent.test.tsx +0 -84
  26. package/src/PersonSideSheet/sheets/roles/RolesSheetContent.tsx +0 -207
  27. package/src/PersonSideSheet/sheets/roles/index.ts +0 -1
  28. package/src/PersonSideSheet/sheets/styled.tsx +0 -33
  29. package/src/PersonSideSheet/sheets/types.ts +0 -14
  30. package/src/Router.tsx +0 -83
  31. package/src/configure.ts +0 -186
  32. package/src/get-app-tag-from-url.ts +0 -17
  33. package/src/globals.d.ts +0 -32
  34. package/src/main.tsx +0 -43
  35. package/src/resources/svg.ts +0 -7
  36. package/src/version.ts +0 -2
  37. package/tsconfig.json +0 -79
  38. package/tsconfig.tsbuildinfo +0 -1
  39. package/vite.config.ts +0 -15
  40. package/vitest.config.ts +0 -30
package/dist/main.js CHANGED
@@ -23657,7 +23657,7 @@ async function Si(e, t, n) {
23657
23657
  }
23658
23658
  //#endregion
23659
23659
  //#region ../modules/module/dist/esm/version.js
23660
- var Ci = "6.1.3", wi = class {
23660
+ var Ci = "6.1.4", wi = class {
23661
23661
  static className = "ModulesConfigurator";
23662
23662
  get version() {
23663
23663
  return Ci;
@@ -23902,7 +23902,7 @@ var Ci = "6.1.3", wi = class {
23902
23902
  get onBubble() {
23903
23903
  return this.#t;
23904
23904
  }
23905
- }, Di = "6.1.0", Oi = class {
23905
+ }, Di = "6.1.1", Oi = class {
23906
23906
  __onDispatch;
23907
23907
  __onBubble;
23908
23908
  constructor({ onDispatch: e, onBubble: t }) {
@@ -35277,7 +35277,7 @@ var Sy = (e) => (t) => {
35277
35277
  ...r
35278
35278
  }, this;
35279
35279
  }
35280
- }, wy = "8.1.0", Ty = [
35280
+ }, wy = "8.1.1", Ty = [
35281
35281
  "http:",
35282
35282
  "https:",
35283
35283
  "ws:",
@@ -36462,7 +36462,7 @@ var Px = /* @__PURE__ */ o(((e, t) => {
36462
36462
  setFilter(e) {
36463
36463
  return this._set("filter", e), this;
36464
36464
  }
36465
- }, zx = "7.1.0", Bx;
36465
+ }, zx = "7.1.1", Bx;
36466
36466
  (function(e) {
36467
36467
  e[e.Debug = 0] = "Debug", e[e.Information = 1] = "Information", e[e.Warning = 2] = "Warning", e[e.Error = 3] = "Error", e[e.Critical = 4] = "Critical";
36468
36468
  })(Bx ||= {});
@@ -43785,7 +43785,7 @@ var dae = class {
43785
43785
  metadata: t,
43786
43786
  properties: { ...o }
43787
43787
  });
43788
- }, Fk = "11.0.0", gae = uy.object({
43788
+ }, Fk = "11.0.1", gae = uy.object({
43789
43789
  provider: uy.custom().optional(),
43790
43790
  metadata: uy.record(uy.string(), uy.unknown()).optional().default({
43791
43791
  module: "msal",
@@ -44504,7 +44504,7 @@ var Nae = ({ ref: e }) => {
44504
44504
  };
44505
44505
  })(), e;
44506
44506
  }
44507
- }, Iae = "9.0.0", Lae = /* @__PURE__ */ o(((e, t) => {
44507
+ }, Iae = "9.0.1", Lae = /* @__PURE__ */ o(((e, t) => {
44508
44508
  t.exports = function e(t, n) {
44509
44509
  if (t === n) return !0;
44510
44510
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -45647,7 +45647,7 @@ var coe = class {
45647
45647
  endpoint: t
45648
45648
  }));
45649
45649
  }
45650
- }, Soe = "10.1.0", Coe = class extends pi {
45650
+ }, Soe = "10.1.1", Coe = class extends pi {
45651
45651
  config;
45652
45652
  _http;
45653
45653
  constructor(e, t) {
@@ -45691,7 +45691,7 @@ var coe = class {
45691
45691
  let { requireInstance: t, ref: n } = e;
45692
45692
  return new Coe(await e.config.createConfigAsync(e, { ...n?.serviceDiscovery?.config }), await t("http"));
45693
45693
  }
45694
- }, Toe = class {}, Eoe = "8.1.1", lA;
45694
+ }, Toe = class {}, Eoe = "8.1.2", lA;
45695
45695
  (function(e) {
45696
45696
  e.v1 = "1.0", e.v2 = "2.0";
45697
45697
  })(lA ||= {});
@@ -46917,7 +46917,7 @@ var Pce = { [LA.v1]: w_({}) }, Fce = { [LA.v1]: p_() }, Ice = (e, t, n) => {
46917
46917
  }
46918
46918
  }, Tle = (e) => {
46919
46919
  e.addConfig({ module: zA });
46920
- }, Ele = "8.1.0", Dle = class extends wi {
46920
+ }, Ele = "8.1.1", Dle = class extends wi {
46921
46921
  static className = "FrameworkConfigurator";
46922
46922
  constructor() {
46923
46923
  super([
@@ -65428,7 +65428,7 @@ var hbe = {}, dZ = class {
65428
65428
  return (e ? Rn : Ln)(this.getAppModule(!e));
65429
65429
  }
65430
65430
  dispose;
65431
- }, gbe = "8.1.0", _be = class {
65431
+ }, gbe = "8.1.1", _be = class {
65432
65432
  static compareAppManifest(e, t) {
65433
65433
  return JSON.stringify(e) === JSON.stringify(t);
65434
65434
  }
@@ -66064,7 +66064,7 @@ var Hbe = (() => {
66064
66064
  return e?.NODE_ENV === "development" ? BZ.Debug : BZ.Error;
66065
66065
  }
66066
66066
  return BZ.Error;
66067
- })(), Ube = "2.0.3", Wbe = class {
66067
+ })(), Ube = "2.0.4", Wbe = class {
66068
66068
  level = Hbe;
66069
66069
  version = Ube;
66070
66070
  _log$ = new Vt();
@@ -66470,7 +66470,7 @@ var WZ = (e) => yx(e.type), Xbe = {
66470
66470
  }, e.meta))))), cxe = (e) => (t) => t.pipe(F(UZ.removeBookmarkAsFavourite.match), Or((t) => N(e.removeBookmarkFromFavorites(t.payload)).pipe(Vr(), P(() => UZ.removeBookmarkAsFavourite.success(t.payload, t.meta)), Cr((e) => Nn(UZ.removeBookmarkAsFavourite.failure(new KZ("Failed to remove bookmark as favorite", t, { cause: e }), t.meta)))))), lxe = (e) => (t) => t.pipe(F(UZ.addBookmarkAsFavourite.match), Or((t) => N(e.addBookmarkToFavorites(t.payload)).pipe(Vr(), P(() => UZ.addBookmarkAsFavourite.success(t.payload, t.meta)), Cr((e) => Nn(UZ.addBookmarkAsFavourite.failure(new KZ("Failed to add bookmark as favorite", t, { cause: e }), t.meta)))))), uxe = (e) => (t, n) => Nn($be, txe, rxe, ixe, axe, oxe, sxe, cxe, lxe).pipe(rr((r) => r(e)(t, n))), dxe = (e) => {
66471
66471
  let t = new gx(Zbe(e.initial));
66472
66472
  return t.addFlow(uxe(e.client)), t;
66473
- }, qZ = (e) => Object.values(e.bookmarks), JZ = (e, t) => e.bookmarks[t], YZ = (e) => e.currentBookmark, fxe = (e) => Object.values(e.errors), XZ = "4.1.0", ZZ = 12e4, pxe = class {
66473
+ }, qZ = (e) => Object.values(e.bookmarks), JZ = (e, t) => e.bookmarks[t], YZ = (e) => e.currentBookmark, fxe = (e) => Object.values(e.errors), XZ = "4.1.1", ZZ = 12e4, pxe = class {
66474
66474
  #e;
66475
66475
  #t;
66476
66476
  #n = [];
@@ -66988,7 +66988,7 @@ var WZ = (e) => yx(e.type), Xbe = {
66988
66988
  setAdapter(e, t) {
66989
66989
  return this.#t[e] = t, this;
66990
66990
  }
66991
- }, yxe = "3.1.0", bxe = class extends it {
66991
+ }, yxe = "3.1.1", bxe = class extends it {
66992
66992
  constructor(e) {
66993
66993
  super(e.unsubscribe);
66994
66994
  }
@@ -69532,7 +69532,7 @@ var zSe = class extends Ti {
69532
69532
  hash: t.hash ?? this.path.hash
69533
69533
  };
69534
69534
  }
69535
- }, S$ = "7.0.9", HSe = {
69535
+ }, S$ = "7.0.10", HSe = {
69536
69536
  version: new Be(S$),
69537
69537
  name: "navigation",
69538
69538
  configure: () => new Vxe(),
@@ -69681,7 +69681,7 @@ var zSe = class extends Ti {
69681
69681
  ...t
69682
69682
  })));
69683
69683
  }
69684
- }, XSe = "2.1.0", D$ = {
69684
+ }, XSe = "2.1.1", D$ = {
69685
69685
  setFeatures: bx("set_features_enabled", (e) => ({ payload: e })),
69686
69686
  toggleFeatures: bx("toggle_features_enabled", (e) => ({ payload: e }))
69687
69687
  }, ZSe = (e) => kx(e, (e) => {
@@ -73442,7 +73442,7 @@ function dTe(e, t, n = {}) {
73442
73442
  //#region ../plugins/context-navigation/dist/esm/create-context-navigation-plugin.js
73443
73443
  var fTe = {
73444
73444
  name: "contextNavigation",
73445
- version: "1.0.2"
73445
+ version: "1.0.3"
73446
73446
  };
73447
73447
  function pTe(e) {
73448
73448
  let { app: t, navigation: n, context: r, event: i, config: a } = e, o = new it(), s = /* @__PURE__ */ new Set(), c = {
@@ -73746,7 +73746,7 @@ var DTe = (e) => {
73746
73746
  }
73747
73747
  let r = o0(t);
73748
73748
  return r ? s0(r.appKey, e ?? void 0) : t;
73749
- }, kTe = "11.0.4", ATe = async (e) => {
73749
+ }, kTe = "11.0.5", ATe = async (e) => {
73750
73750
  rS(e, {
73751
73751
  attachConfiguratorEvents: !0,
73752
73752
  configure: (e, t) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-dev-portal",
3
- "version": "11.0.4",
3
+ "version": "11.0.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "module": "./dist/main.js",
@@ -13,6 +13,9 @@
13
13
  "keywords": [],
14
14
  "author": "",
15
15
  "license": "ISC",
16
+ "files": [
17
+ "dist"
18
+ ],
16
19
  "publishConfig": {
17
20
  "access": "public"
18
21
  },
@@ -44,47 +47,47 @@
44
47
  "vite": "^8.0.0",
45
48
  "vitest": "^4.1.0",
46
49
  "vitest-browser-react": "^2.2.0",
47
- "@equinor/fusion-framework-app": "13.1.0",
48
- "@equinor/fusion-framework": "8.1.0",
49
- "@equinor/fusion-framework-dev-server": "2.1.0",
50
- "@equinor/fusion-framework-module-ag-grid": "37.1.0",
51
- "@equinor/fusion-framework-module-analytics": "3.1.0",
52
- "@equinor/fusion-framework-module-app": "8.1.0",
53
- "@equinor/fusion-framework-module-feature-flag": "2.1.0",
54
- "@equinor/fusion-framework-module-navigation": "7.0.9",
55
- "@equinor/fusion-framework-module-services": "8.1.1",
56
- "@equinor/fusion-framework-module-telemetry": "7.1.0",
57
- "@equinor/fusion-framework-module-bookmark": "4.1.0",
58
- "@equinor/fusion-framework-module-context": "9.0.0",
59
- "@equinor/fusion-framework-plugin-context-navigation": "1.0.2",
60
- "@equinor/fusion-framework-react": "9.0.0",
61
- "@equinor/fusion-framework-react-components-bookmark": "2.0.4",
62
- "@equinor/fusion-framework-react-module-bookmark": "7.0.0",
63
- "@equinor/fusion-framework-react-components-people-provider": "2.0.5",
64
- "@equinor/fusion-framework-react-router": "2.4.1",
65
- "@equinor/fusion-query": "7.0.4",
66
- "@equinor/fusion-observable": "9.2.1"
50
+ "@equinor/fusion-framework": "8.1.1",
51
+ "@equinor/fusion-framework-app": "13.1.1",
52
+ "@equinor/fusion-framework-module-ag-grid": "37.1.1",
53
+ "@equinor/fusion-framework-module-analytics": "3.1.1",
54
+ "@equinor/fusion-framework-module-app": "8.1.1",
55
+ "@equinor/fusion-framework-module-context": "9.0.1",
56
+ "@equinor/fusion-framework-module-bookmark": "4.1.1",
57
+ "@equinor/fusion-framework-module-feature-flag": "2.1.1",
58
+ "@equinor/fusion-framework-dev-server": "2.1.1",
59
+ "@equinor/fusion-framework-module-services": "8.1.2",
60
+ "@equinor/fusion-framework-module-telemetry": "7.1.1",
61
+ "@equinor/fusion-framework-plugin-context-navigation": "1.0.3",
62
+ "@equinor/fusion-framework-react": "9.0.1",
63
+ "@equinor/fusion-framework-react-components-bookmark": "2.0.5",
64
+ "@equinor/fusion-framework-react-router": "2.4.2",
65
+ "@equinor/fusion-observable": "9.2.2",
66
+ "@equinor/fusion-framework-react-components-people-provider": "2.0.6",
67
+ "@equinor/fusion-query": "7.0.5",
68
+ "@equinor/fusion-framework-module-navigation": "7.0.10",
69
+ "@equinor/fusion-framework-react-module-bookmark": "7.0.1"
67
70
  },
68
71
  "peerDependencies": {
69
- "@equinor/fusion-framework": "8.1.0",
70
- "@equinor/fusion-framework-app": "13.1.0",
71
- "@equinor/fusion-framework-dev-server": "2.1.0",
72
- "@equinor/fusion-framework-module-analytics": "3.1.0",
73
- "@equinor/fusion-framework-module-app": "8.1.0",
74
- "@equinor/fusion-framework-module-ag-grid": "37.1.0",
75
- "@equinor/fusion-framework-module-bookmark": "4.1.0",
76
- "@equinor/fusion-framework-module-context": "9.0.0",
77
- "@equinor/fusion-framework-module-feature-flag": "2.1.0",
78
- "@equinor/fusion-framework-module-services": "8.1.1",
79
- "@equinor/fusion-framework-module-telemetry": "7.1.0",
80
- "@equinor/fusion-framework-module-navigation": "7.0.9",
81
- "@equinor/fusion-framework-plugin-context-navigation": "1.0.2",
82
- "@equinor/fusion-framework-react": "9.0.0",
83
- "@equinor/fusion-framework-react-components-people-provider": "2.0.5",
84
- "@equinor/fusion-framework-react-components-bookmark": "2.0.4",
85
- "@equinor/fusion-framework-react-module-bookmark": "7.0.0",
86
- "@equinor/fusion-observable": "9.2.1",
87
- "@equinor/fusion-query": "7.0.4"
72
+ "@equinor/fusion-framework-app": "13.1.1",
73
+ "@equinor/fusion-framework-dev-server": "2.1.1",
74
+ "@equinor/fusion-framework-module-ag-grid": "37.1.1",
75
+ "@equinor/fusion-framework-module-analytics": "3.1.1",
76
+ "@equinor/fusion-framework-module-app": "8.1.1",
77
+ "@equinor/fusion-framework-module-bookmark": "4.1.1",
78
+ "@equinor/fusion-framework-module-feature-flag": "2.1.1",
79
+ "@equinor/fusion-framework-module-navigation": "7.0.10",
80
+ "@equinor/fusion-framework-module-context": "9.0.1",
81
+ "@equinor/fusion-framework-module-services": "8.1.2",
82
+ "@equinor/fusion-framework-module-telemetry": "7.1.1",
83
+ "@equinor/fusion-framework-plugin-context-navigation": "1.0.3",
84
+ "@equinor/fusion-framework-react": "9.0.1",
85
+ "@equinor/fusion-framework": "8.1.1",
86
+ "@equinor/fusion-framework-react-components-bookmark": "2.0.5",
87
+ "@equinor/fusion-framework-react-components-people-provider": "2.0.6",
88
+ "@equinor/fusion-framework-react-module-bookmark": "7.0.1",
89
+ "@equinor/fusion-observable": "9.2.2",
90
+ "@equinor/fusion-query": "7.0.5"
88
91
  },
89
92
  "peerDependenciesMeta": {
90
93
  "@equinor/fusion-framework": {