@equinor/fusion-framework-dev-portal 11.0.10 → 11.0.11
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/main.js +33 -20
- package/package.json +20 -20
package/dist/main.js
CHANGED
|
@@ -40534,7 +40534,7 @@ var kie = { [Sk.v1]: B({}) }, Aie = { [Sk.v1]: pf() }, jie = (e, t, n) => {
|
|
|
40534
40534
|
}
|
|
40535
40535
|
}, Tk = (e) => {
|
|
40536
40536
|
e.addConfig({ module: wk });
|
|
40537
|
-
}, Ek = "9.0.
|
|
40537
|
+
}, Ek = "9.0.1", Dk = class extends wi {
|
|
40538
40538
|
static className = "FrameworkConfigurator";
|
|
40539
40539
|
constructor() {
|
|
40540
40540
|
super([
|
|
@@ -67531,7 +67531,7 @@ var w$ = (e, t) => {
|
|
|
67531
67531
|
constructor(e, t) {
|
|
67532
67532
|
super(e, t), this.name = "DeactivateClaimableRoleAssignmentError";
|
|
67533
67533
|
}
|
|
67534
|
-
}, ASe = "0.
|
|
67534
|
+
}, ASe = "0.3.0", jSe = class extends pi {
|
|
67535
67535
|
client;
|
|
67536
67536
|
dependencies;
|
|
67537
67537
|
constructor(e, t = {}) {
|
|
@@ -67582,7 +67582,7 @@ var w$ = (e, t) => {
|
|
|
67582
67582
|
if (!e && t.assert) throw new J$("Roles module bootstrap denied. No access roles were provided.", [], this);
|
|
67583
67583
|
return e;
|
|
67584
67584
|
}
|
|
67585
|
-
let r = await this.getActiveAccessRoleAssignments(), i = /* @__PURE__ */ new Set();
|
|
67585
|
+
let r = await this.getActiveAccessRoleAssignments({ refresh: t.refresh }), i = /* @__PURE__ */ new Set();
|
|
67586
67586
|
for (let e of r) e.accessRoleName && e.assignmentType === "Global" && i.add(e.accessRoleName);
|
|
67587
67587
|
let a = [];
|
|
67588
67588
|
for (let e of n) i.has(e) || a.push(e);
|
|
@@ -68210,7 +68210,7 @@ var nCe = (e) => {
|
|
|
68210
68210
|
}
|
|
68211
68211
|
let r = o1(t);
|
|
68212
68212
|
return r ? s1(r.appKey, e ?? void 0) : t;
|
|
68213
|
-
}, iCe = "11.0.
|
|
68213
|
+
}, iCe = "11.0.11", aCe = async (e) => {
|
|
68214
68214
|
tg(e, {
|
|
68215
68215
|
attachConfiguratorEvents: !0,
|
|
68216
68216
|
configure: (e, t) => {
|
|
@@ -77053,6 +77053,7 @@ var HMe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
77053
77053
|
return {
|
|
77054
77054
|
isRequiredAccessRolesError: !!n,
|
|
77055
77055
|
isLoading: !!(n && !d && !f),
|
|
77056
|
+
missingAccessRoles: n?.missingAccessRoles ?? [],
|
|
77056
77057
|
statuses: d?.statuses ?? [],
|
|
77057
77058
|
statusError: f,
|
|
77058
77059
|
canRetryStatuses: p,
|
|
@@ -77083,21 +77084,33 @@ var HMe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
77083
77084
|
justify-items: start;
|
|
77084
77085
|
` }, QMe = ({ error: e, onRetry: t }) => {
|
|
77085
77086
|
let n = XMe(e, t);
|
|
77086
|
-
|
|
77087
|
-
|
|
77088
|
-
|
|
77089
|
-
|
|
77090
|
-
|
|
77091
|
-
|
|
77092
|
-
|
|
77093
|
-
|
|
77094
|
-
|
|
77095
|
-
|
|
77096
|
-
|
|
77097
|
-
|
|
77098
|
-
|
|
77099
|
-
|
|
77100
|
-
|
|
77087
|
+
if (!n.isRequiredAccessRolesError) return null;
|
|
77088
|
+
if (n.isLoading) return (0, K.jsx)(J5, {});
|
|
77089
|
+
if (n.statusError) {
|
|
77090
|
+
let e = n.missingAccessRoles.map((e) => (0, K.jsx)(a6.Item, { children: e }, e)), t = e.length > 0;
|
|
77091
|
+
return (0, K.jsxs)(ZMe.Recovery, { children: [
|
|
77092
|
+
(0, K.jsx)(x6, {
|
|
77093
|
+
group: "heading",
|
|
77094
|
+
variant: "h2",
|
|
77095
|
+
children: "Access denied"
|
|
77096
|
+
}),
|
|
77097
|
+
t && (0, K.jsxs)(K.Fragment, { children: [(0, K.jsx)(x6, { children: "Your account is missing these required active access roles:" }), (0, K.jsx)(a6, { children: e })] }),
|
|
77098
|
+
(0, K.jsx)(x6, {
|
|
77099
|
+
group: "heading",
|
|
77100
|
+
variant: "h3",
|
|
77101
|
+
children: "Recovery details unavailable"
|
|
77102
|
+
}),
|
|
77103
|
+
(0, K.jsx)(x6, {
|
|
77104
|
+
role: "alert",
|
|
77105
|
+
children: n.statusError
|
|
77106
|
+
}),
|
|
77107
|
+
n.canRetryStatuses && (0, K.jsx)(t6, {
|
|
77108
|
+
onClick: n.retryStatuses,
|
|
77109
|
+
children: "Retry recovery details"
|
|
77110
|
+
})
|
|
77111
|
+
] });
|
|
77112
|
+
}
|
|
77113
|
+
return (0, K.jsxs)("div", { children: [
|
|
77101
77114
|
(0, K.jsx)(x6, {
|
|
77102
77115
|
group: "heading",
|
|
77103
77116
|
variant: "h2",
|
|
@@ -77111,7 +77124,7 @@ var HMe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
77111
77124
|
activatingAssignmentId: n.activatingAssignmentId,
|
|
77112
77125
|
onActivate: n.activateClaimableRoleAssignment
|
|
77113
77126
|
})
|
|
77114
|
-
] })
|
|
77127
|
+
] });
|
|
77115
77128
|
}, $5 = ({ requiredAccessRoles: e, children: t }) => {
|
|
77116
77129
|
let n = Ik("roles"), r = $2(e ?? []), i = e !== void 0 && r !== "[]";
|
|
77117
77130
|
return (0, K.jsx)(Z2, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/fusion-framework-dev-portal",
|
|
3
|
-
"version": "11.0.
|
|
3
|
+
"version": "11.0.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/main.js",
|
|
@@ -48,51 +48,51 @@
|
|
|
48
48
|
"vite": "^8.0.0",
|
|
49
49
|
"vitest": "^4.1.0",
|
|
50
50
|
"vitest-browser-react": "^2.2.0",
|
|
51
|
-
"@equinor/fusion-framework": "
|
|
52
|
-
"@equinor/fusion-framework
|
|
51
|
+
"@equinor/fusion-framework-app": "13.1.7",
|
|
52
|
+
"@equinor/fusion-framework": "9.0.1",
|
|
53
53
|
"@equinor/fusion-framework-dev-server": "2.1.6",
|
|
54
54
|
"@equinor/fusion-framework-module-ag-grid": "37.1.1",
|
|
55
|
+
"@equinor/fusion-framework-module-analytics": "3.1.5",
|
|
55
56
|
"@equinor/fusion-framework-module-app": "8.2.0",
|
|
56
57
|
"@equinor/fusion-framework-module-bookmark": "4.1.2",
|
|
57
58
|
"@equinor/fusion-framework-module-context": "9.0.1",
|
|
58
|
-
"@equinor/fusion-framework-module-
|
|
59
|
-
"@equinor/fusion-framework-module-feature-flag": "2.1.1",
|
|
59
|
+
"@equinor/fusion-framework-module-roles": "^0.3.0",
|
|
60
60
|
"@equinor/fusion-framework-module-navigation": "7.0.10",
|
|
61
61
|
"@equinor/fusion-framework-module-services": "8.1.2",
|
|
62
|
+
"@equinor/fusion-framework-module-feature-flag": "2.1.1",
|
|
62
63
|
"@equinor/fusion-framework-module-telemetry": "7.1.2",
|
|
63
|
-
"@equinor/fusion-framework-module-roles": "^0.2.2",
|
|
64
64
|
"@equinor/fusion-framework-plugin-context-navigation": "1.0.3",
|
|
65
|
-
"@equinor/fusion-framework-react-components-bookmark": "2.0.5",
|
|
66
|
-
"@equinor/fusion-framework-react-components-roles": "^0.1.1",
|
|
67
|
-
"@equinor/fusion-framework-react-components-people-provider": "2.0.6",
|
|
68
65
|
"@equinor/fusion-framework-react": "9.0.2",
|
|
66
|
+
"@equinor/fusion-framework-react-components-bookmark": "2.0.5",
|
|
67
|
+
"@equinor/fusion-framework-react-components-roles": "^0.1.2",
|
|
69
68
|
"@equinor/fusion-framework-react-module-bookmark": "7.0.1",
|
|
69
|
+
"@equinor/fusion-framework-react-components-people-provider": "2.0.6",
|
|
70
70
|
"@equinor/fusion-framework-react-router": "2.4.4",
|
|
71
|
-
"@equinor/fusion-
|
|
72
|
-
"@equinor/fusion-
|
|
71
|
+
"@equinor/fusion-observable": "9.2.3",
|
|
72
|
+
"@equinor/fusion-query": "7.0.5"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
|
-
"@equinor/fusion-framework": "9.0.0",
|
|
76
75
|
"@equinor/fusion-framework-dev-server": "2.1.6",
|
|
77
|
-
"@equinor/fusion-framework
|
|
76
|
+
"@equinor/fusion-framework": "9.0.1",
|
|
77
|
+
"@equinor/fusion-framework-app": "13.1.7",
|
|
78
78
|
"@equinor/fusion-framework-module-ag-grid": "37.1.1",
|
|
79
|
+
"@equinor/fusion-framework-module-analytics": "3.1.5",
|
|
79
80
|
"@equinor/fusion-framework-module-app": "8.2.0",
|
|
80
81
|
"@equinor/fusion-framework-module-bookmark": "4.1.2",
|
|
81
82
|
"@equinor/fusion-framework-module-feature-flag": "2.1.1",
|
|
82
83
|
"@equinor/fusion-framework-module-navigation": "7.0.10",
|
|
83
|
-
"@equinor/fusion-framework-app": "13.1.6",
|
|
84
84
|
"@equinor/fusion-framework-module-context": "9.0.1",
|
|
85
|
+
"@equinor/fusion-framework-module-roles": "^0.3.0",
|
|
85
86
|
"@equinor/fusion-framework-module-services": "8.1.2",
|
|
86
|
-
"@equinor/fusion-framework-module-roles": "^0.2.2",
|
|
87
87
|
"@equinor/fusion-framework-module-telemetry": "7.1.2",
|
|
88
|
-
"@equinor/fusion-framework-react": "9.0.2",
|
|
89
|
-
"@equinor/fusion-framework-react-components-people-provider": "2.0.6",
|
|
90
88
|
"@equinor/fusion-framework-react-components-bookmark": "2.0.5",
|
|
91
|
-
"@equinor/fusion-framework-react
|
|
89
|
+
"@equinor/fusion-framework-react": "9.0.2",
|
|
92
90
|
"@equinor/fusion-framework-plugin-context-navigation": "1.0.3",
|
|
93
|
-
"@equinor/fusion-framework-react-
|
|
91
|
+
"@equinor/fusion-framework-react-components-people-provider": "2.0.6",
|
|
92
|
+
"@equinor/fusion-framework-react-components-roles": "^0.1.2",
|
|
93
|
+
"@equinor/fusion-observable": "9.2.3",
|
|
94
94
|
"@equinor/fusion-query": "7.0.5",
|
|
95
|
-
"@equinor/fusion-
|
|
95
|
+
"@equinor/fusion-framework-react-module-bookmark": "7.0.1"
|
|
96
96
|
},
|
|
97
97
|
"peerDependenciesMeta": {
|
|
98
98
|
"@equinor/fusion-framework": {
|