@equinor/fusion-framework-dev-portal 5.1.7 → 5.1.8
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 +8 -0
- package/dist/main.js +470 -470
- package/package.json +20 -20
- package/src/version.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/main.js
CHANGED
|
@@ -41720,7 +41720,7 @@ var Pj = class {
|
|
|
41720
41720
|
metadata: t,
|
|
41721
41721
|
properties: { ...o }
|
|
41722
41722
|
});
|
|
41723
|
-
}, Bj = "8.0.
|
|
41723
|
+
}, Bj = "8.0.3", Vj = Xv.object({
|
|
41724
41724
|
provider: Xv.custom().optional(),
|
|
41725
41725
|
metadata: Xv.record(Xv.string(), Xv.unknown()).optional().default({
|
|
41726
41726
|
module: "msal",
|
|
@@ -44523,7 +44523,7 @@ var tie = (e, t) => {
|
|
|
44523
44523
|
}
|
|
44524
44524
|
}, xie = (e) => {
|
|
44525
44525
|
e.addConfig({ module: GN });
|
|
44526
|
-
}, Sie = "8.0.
|
|
44526
|
+
}, Sie = "8.0.4", Cie = class extends Ai {
|
|
44527
44527
|
static className = "FrameworkConfigurator";
|
|
44528
44528
|
constructor() {
|
|
44529
44529
|
super([
|
|
@@ -64884,7 +64884,7 @@ var T0 = () => {
|
|
|
64884
64884
|
if (t) return Promise.resolve(t(e));
|
|
64885
64885
|
}
|
|
64886
64886
|
});
|
|
64887
|
-
}, A0 = "5.1.
|
|
64887
|
+
}, A0 = "5.1.8", j0 = async (e) => {
|
|
64888
64888
|
Bx(e, {
|
|
64889
64889
|
attachConfiguratorEvents: !0,
|
|
64890
64890
|
configure: (e, t) => {
|
|
@@ -69067,7 +69067,16 @@ var Ale = /* @__PURE__ */ Y3(function(e, t, n) {
|
|
|
69067
69067
|
document.removeEventListener("keydown", n, !0);
|
|
69068
69068
|
};
|
|
69069
69069
|
}, [e, t]);
|
|
69070
|
-
}, P6 = typeof window < "u" ? W.useLayoutEffect : W.useEffect
|
|
69070
|
+
}, P6 = typeof window < "u" ? W.useLayoutEffect : W.useEffect, hue = (e, t) => {
|
|
69071
|
+
(0, W.useEffect)(() => {
|
|
69072
|
+
let n = (n) => {
|
|
69073
|
+
e && !e.contains(n.target) && t(n);
|
|
69074
|
+
};
|
|
69075
|
+
return document.addEventListener("click", n), () => {
|
|
69076
|
+
document.removeEventListener("click", n);
|
|
69077
|
+
};
|
|
69078
|
+
}, [e, t]);
|
|
69079
|
+
};
|
|
69071
69080
|
//#endregion
|
|
69072
69081
|
//#region ../../node_modules/.pnpm/@equinor+eds-utils@2.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-components@_1b6c1dbda4a62036e46ef3c578c35072/node_modules/@equinor/eds-utils/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/internal/_isPlaceholder.mjs
|
|
69073
69082
|
function F6(e) {
|
|
@@ -69141,34 +69150,34 @@ function B6(e, t) {
|
|
|
69141
69150
|
}
|
|
69142
69151
|
//#endregion
|
|
69143
69152
|
//#region ../../node_modules/.pnpm/@equinor+eds-utils@2.1.0_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-components@_1b6c1dbda4a62036e46ef3c578c35072/node_modules/@equinor/eds-utils/dist/esm/node_modules/.pnpm/ramda@0.32.0/node_modules/ramda/es/mergeWithKey.mjs
|
|
69144
|
-
var
|
|
69153
|
+
var gue = /* @__PURE__ */ R6(function(e, t, n) {
|
|
69145
69154
|
var r = {}, i;
|
|
69146
69155
|
for (i in t ||= {}, n ||= {}, t) B6(i, t) && (r[i] = B6(i, n) ? e(i, t[i], n[i]) : t[i]);
|
|
69147
69156
|
for (i in n) B6(i, n) && !B6(i, r) && (r[i] = n[i]);
|
|
69148
69157
|
return r;
|
|
69149
|
-
}),
|
|
69150
|
-
return
|
|
69158
|
+
}), _ue = /* @__PURE__ */ R6(function e(t, n, r) {
|
|
69159
|
+
return gue(function(n, r, i) {
|
|
69151
69160
|
return z6(r) && z6(i) ? e(t, r, i) : t(n, r, i);
|
|
69152
69161
|
}, n, r);
|
|
69153
|
-
}),
|
|
69154
|
-
return
|
|
69162
|
+
}), vue = /* @__PURE__ */ L6(function(e, t) {
|
|
69163
|
+
return _ue(function(e, t, n) {
|
|
69155
69164
|
return n;
|
|
69156
69165
|
}, e, t);
|
|
69157
69166
|
}), V6 = (e, t) => (0, W.useCallback)(() => {
|
|
69158
69167
|
let { density: n } = e;
|
|
69159
|
-
return n === "compact" ?
|
|
69160
|
-
}, [e, t]),
|
|
69168
|
+
return n === "compact" ? vue(t, t.modes.compact) : t;
|
|
69169
|
+
}, [e, t]), yue = Q.span.withConfig({
|
|
69161
69170
|
displayName: "InnerFullWidth__FullWidthCenterContent",
|
|
69162
69171
|
componentId: "sc-qeawkb-0"
|
|
69163
|
-
})(["text-align:center;flex:1;"]),
|
|
69172
|
+
})(["text-align:center;flex:1;"]), bue = Q.span.withConfig({
|
|
69164
69173
|
displayName: "InnerFullWidth__FullWidthInner",
|
|
69165
69174
|
componentId: "sc-qeawkb-1"
|
|
69166
|
-
})(["height:100%;display:flex;align-items:center;> :is(svg,img){margin-top:var(--eds_button__margin_y,inherit);margin-bottom:var(--eds_button__margin_y,inherit);}> :is(svg,img):first-child{margin-right:var(--eds_button__fullwidth__icon__margin_x,8px);}> :is(svg,img):last-child{margin-left:var(--eds_button__fullwidth__icon__margin_x,8px);}> :is(svg,img):only-child{margin-left:auto;margin-right:auto;}> span:first-child{margin-left:var(--eds_button__fullwidth__margin_x,32px);}> span:last-child{margin-right:var(--eds_button__fullwidth__margin_x,32px);}> span:only-child{margin-right:0;margin-left:0;}"]),
|
|
69167
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
69175
|
+
})(["height:100%;display:flex;align-items:center;> :is(svg,img){margin-top:var(--eds_button__margin_y,inherit);margin-bottom:var(--eds_button__margin_y,inherit);}> :is(svg,img):first-child{margin-right:var(--eds_button__fullwidth__icon__margin_x,8px);}> :is(svg,img):last-child{margin-left:var(--eds_button__fullwidth__icon__margin_x,8px);}> :is(svg,img):only-child{margin-left:auto;margin-right:auto;}> span:first-child{margin-left:var(--eds_button__fullwidth__margin_x,32px);}> span:last-child{margin-right:var(--eds_button__fullwidth__margin_x,32px);}> span:only-child{margin-right:0;margin-left:0;}"]), xue = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e }, t) {
|
|
69176
|
+
return /* @__PURE__ */ (0, Y.jsx)(bue, {
|
|
69168
69177
|
ref: t,
|
|
69169
|
-
children: W.Children.map(e, (e) => typeof e == "object" ? e : /* @__PURE__ */ (0, Y.jsx)(
|
|
69178
|
+
children: W.Children.map(e, (e) => typeof e == "object" ? e : /* @__PURE__ */ (0, Y.jsx)(yue, { children: e }))
|
|
69170
69179
|
});
|
|
69171
|
-
}),
|
|
69180
|
+
}), Sue = /* @__PURE__ */ (0, W.createContext)({ density: "comfortable" }), H6 = () => (0, W.useContext)(Sue), U6 = (e, t) => {
|
|
69172
69181
|
switch (t) {
|
|
69173
69182
|
case "ghost": return e.ghost;
|
|
69174
69183
|
case "ghost_icon": return e.ghost_icon;
|
|
@@ -69176,16 +69185,16 @@ var hue = /* @__PURE__ */ R6(function(e, t, n) {
|
|
|
69176
69185
|
case "contained_icon": return e.contained_icon;
|
|
69177
69186
|
default: return e.contained;
|
|
69178
69187
|
}
|
|
69179
|
-
},
|
|
69188
|
+
}, Cue = (e, t) => {
|
|
69180
69189
|
switch (t) {
|
|
69181
69190
|
case "danger": return U6(C6.danger, e);
|
|
69182
69191
|
case "secondary": return U6(C6.secondary, e);
|
|
69183
69192
|
default: return U6(C6.primary, e);
|
|
69184
69193
|
}
|
|
69185
|
-
},
|
|
69194
|
+
}, wue = Q.span.withConfig({
|
|
69186
69195
|
displayName: "Button__Inner",
|
|
69187
69196
|
componentId: "sc-1hs0myn-0"
|
|
69188
|
-
})(["display:grid;grid-gap:var(--eds_button__gap,8px);grid-auto-flow:column;align-items:center;height:100%;justify-content:center;& > :is(svg,img){margin-top:var(--eds_button__icon__margin_y,0);margin-bottom:var(--eds_button__icon__margin_y,0);}"]),
|
|
69197
|
+
})(["display:grid;grid-gap:var(--eds_button__gap,8px);grid-auto-flow:column;align-items:center;height:100%;justify-content:center;& > :is(svg,img){margin-top:var(--eds_button__icon__margin_y,0);margin-bottom:var(--eds_button__icon__margin_y,0);}"]), Tue = Q.button.withConfig({
|
|
69189
69198
|
displayName: "Button__ButtonBase",
|
|
69190
69199
|
componentId: "sc-1hs0myn-1"
|
|
69191
69200
|
})(({ theme: e }) => {
|
|
@@ -69212,26 +69221,26 @@ var hue = /* @__PURE__ */ R6(function(e, t, n) {
|
|
|
69212
69221
|
";@media (hover:hover) and (pointer:fine){&:hover{background:",
|
|
69213
69222
|
";}}}"
|
|
69214
69223
|
], e.background, e.height, e.width, D6(e.spacings), T6(e.border), E6(e.typography), n?.offset?.top, n?.offset?.left, n?.width, n?.height, i.background, i.typography?.color, T6(i?.border), j6(r.outline), j6(r.outline), a.background, T6(a.border), E6(a.typography), a.background);
|
|
69215
|
-
}),
|
|
69224
|
+
}), Eue = (e, t, n) => e ? "button" : t || (n ? "a" : "button"), Due = (e, t) => {
|
|
69216
69225
|
if (!(e || t)) return "button";
|
|
69217
|
-
},
|
|
69218
|
-
let { density: l } = H6(), u = V6({ density: l },
|
|
69226
|
+
}, Oue = /* @__PURE__ */ (0, W.forwardRef)(function({ color: e = "primary", variant: t = "contained", children: n, disabled: r = !1, href: i, tabIndex: a = 0, fullWidth: o = !1, ...s }, c) {
|
|
69227
|
+
let { density: l } = H6(), u = V6({ density: l }, Cue(t, e)), d = Eue(r, s.as, i), f = {
|
|
69219
69228
|
ref: c,
|
|
69220
69229
|
href: i,
|
|
69221
|
-
type:
|
|
69230
|
+
type: Due(i, s.as),
|
|
69222
69231
|
disabled: r,
|
|
69223
69232
|
tabIndex: r ? -1 : a,
|
|
69224
69233
|
...s,
|
|
69225
69234
|
as: d
|
|
69226
|
-
}, p = o ?
|
|
69235
|
+
}, p = o ? xue : wue;
|
|
69227
69236
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
69228
69237
|
theme: u,
|
|
69229
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
69238
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Tue, {
|
|
69230
69239
|
...f,
|
|
69231
69240
|
children: /* @__PURE__ */ (0, Y.jsx)(p, { children: n })
|
|
69232
69241
|
})
|
|
69233
69242
|
});
|
|
69234
|
-
}), { shape: { corners: { borderRadius:
|
|
69243
|
+
}), { shape: { corners: { borderRadius: kue } } } = a0, { border: Aue } = { border: { radius: kue } }, W6 = Aue.radius, jue = Q.div.withConfig({
|
|
69235
69244
|
displayName: "ButtonGroup__ButtonGroupBase",
|
|
69236
69245
|
componentId: "sc-1fn8jon-0"
|
|
69237
69246
|
})(["display:inline-flex;> *{border-radius:0;@media (hover:hover) and (pointer:fine){&:hover{border-radius:0;}}}", ""], ({ $vertical: e }) => Rz(e ? [
|
|
@@ -69247,22 +69256,22 @@ var hue = /* @__PURE__ */ R6(function(e, t, n) {
|
|
|
69247
69256
|
";border-bottom-right-radius:",
|
|
69248
69257
|
";}> :not(:last-child){border-right:none;}"
|
|
69249
69258
|
], W6, W6, W6, W6)), G6 = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, vertical: t, ...n }, r) {
|
|
69250
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
69259
|
+
return /* @__PURE__ */ (0, Y.jsx)(jue, {
|
|
69251
69260
|
role: "group",
|
|
69252
69261
|
ref: r,
|
|
69253
69262
|
$vertical: t,
|
|
69254
69263
|
...n,
|
|
69255
69264
|
children: e
|
|
69256
69265
|
});
|
|
69257
|
-
}), { colors: { text: { static_icons__primary_white: { rgba:
|
|
69266
|
+
}), { colors: { text: { static_icons__primary_white: { rgba: Mue } }, ui: { background__overlay: { rgba: Nue } } }, typography: { ui: Pue }, spacings: { comfortable: { x_large: Fue, small: K6 } }, shape: { corners: { borderRadius: Iue } } } = a0, q6 = {
|
|
69258
69267
|
typography: {
|
|
69259
|
-
...
|
|
69260
|
-
color:
|
|
69268
|
+
...Pue.tooltip,
|
|
69269
|
+
color: Mue
|
|
69261
69270
|
},
|
|
69262
|
-
background:
|
|
69271
|
+
background: Nue,
|
|
69263
69272
|
border: {
|
|
69264
69273
|
type: "border",
|
|
69265
|
-
radius:
|
|
69274
|
+
radius: Iue
|
|
69266
69275
|
},
|
|
69267
69276
|
entities: { arrow: {
|
|
69268
69277
|
width: "6px",
|
|
@@ -69281,23 +69290,23 @@ function J6() {
|
|
|
69281
69290
|
let e = navigator.userAgentData;
|
|
69282
69291
|
return e != null && e.platform ? e.platform : navigator.platform;
|
|
69283
69292
|
}
|
|
69284
|
-
function
|
|
69293
|
+
function Lue() {
|
|
69285
69294
|
let e = navigator.userAgentData;
|
|
69286
69295
|
return e && Array.isArray(e.brands) ? e.brands.map((e) => {
|
|
69287
69296
|
let { brand: t, version: n } = e;
|
|
69288
69297
|
return t + "/" + n;
|
|
69289
69298
|
}).join(" ") : navigator.userAgent;
|
|
69290
69299
|
}
|
|
69291
|
-
function
|
|
69300
|
+
function Rue() {
|
|
69292
69301
|
return /apple/i.test(navigator.vendor);
|
|
69293
69302
|
}
|
|
69294
|
-
function
|
|
69303
|
+
function zue() {
|
|
69295
69304
|
return J6().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
|
|
69296
69305
|
}
|
|
69297
|
-
function
|
|
69298
|
-
return
|
|
69306
|
+
function Bue() {
|
|
69307
|
+
return Lue().includes("jsdom/");
|
|
69299
69308
|
}
|
|
69300
|
-
var Y6 = "data-floating-ui-focusable",
|
|
69309
|
+
var Y6 = "data-floating-ui-focusable", Vue = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
69301
69310
|
function X6(e) {
|
|
69302
69311
|
let t = e.activeElement;
|
|
69303
69312
|
for (; ((n = t) == null || (n = n.shadowRoot) == null ? void 0 : n.activeElement) != null;) {
|
|
@@ -69328,49 +69337,49 @@ function $6(e, t) {
|
|
|
69328
69337
|
let n = e;
|
|
69329
69338
|
return n.target != null && t.contains(n.target);
|
|
69330
69339
|
}
|
|
69331
|
-
function
|
|
69340
|
+
function Hue(e) {
|
|
69332
69341
|
return e.matches("html,body");
|
|
69333
69342
|
}
|
|
69334
69343
|
function e8(e) {
|
|
69335
69344
|
return e?.ownerDocument || document;
|
|
69336
69345
|
}
|
|
69337
|
-
function Hue(e) {
|
|
69338
|
-
return HB(e) && e.matches(Bue);
|
|
69339
|
-
}
|
|
69340
69346
|
function Uue(e) {
|
|
69341
|
-
|
|
69347
|
+
return HB(e) && e.matches(Vue);
|
|
69348
|
+
}
|
|
69349
|
+
function Wue(e) {
|
|
69350
|
+
if (!e || Bue()) return !0;
|
|
69342
69351
|
try {
|
|
69343
69352
|
return e.matches(":focus-visible");
|
|
69344
69353
|
} catch {
|
|
69345
69354
|
return !0;
|
|
69346
69355
|
}
|
|
69347
69356
|
}
|
|
69348
|
-
function
|
|
69357
|
+
function Gue(e) {
|
|
69349
69358
|
return e ? e.hasAttribute(Y6) ? e : e.querySelector("[" + Y6 + "]") || e : null;
|
|
69350
69359
|
}
|
|
69351
69360
|
function t8(e, t, n) {
|
|
69352
69361
|
return n === void 0 && (n = !0), e.filter((e) => e.parentId === t && (!n || e.context?.open)).flatMap((t) => [t, ...t8(e, t.id, n)]);
|
|
69353
69362
|
}
|
|
69354
|
-
function
|
|
69363
|
+
function Kue(e) {
|
|
69355
69364
|
return "nativeEvent" in e;
|
|
69356
69365
|
}
|
|
69357
69366
|
function n8(e, t) {
|
|
69358
69367
|
let n = ["mouse", "pen"];
|
|
69359
69368
|
return t || n.push("", void 0), n.includes(e);
|
|
69360
69369
|
}
|
|
69361
|
-
var r8 = typeof document < "u" ? W.useLayoutEffect : function() {},
|
|
69370
|
+
var r8 = typeof document < "u" ? W.useLayoutEffect : function() {}, que = { ...W };
|
|
69362
69371
|
function i8(e) {
|
|
69363
69372
|
let t = W.useRef(e);
|
|
69364
69373
|
return r8(() => {
|
|
69365
69374
|
t.current = e;
|
|
69366
69375
|
}), t;
|
|
69367
69376
|
}
|
|
69368
|
-
var
|
|
69377
|
+
var Jue = que.useInsertionEffect || ((e) => e());
|
|
69369
69378
|
function a8(e) {
|
|
69370
69379
|
let t = W.useRef(() => {
|
|
69371
69380
|
if (process.env.NODE_ENV !== "production") throw Error("Cannot call an event handler while rendering.");
|
|
69372
69381
|
});
|
|
69373
|
-
return
|
|
69382
|
+
return Jue(() => {
|
|
69374
69383
|
t.current = e;
|
|
69375
69384
|
}), W.useCallback(function() {
|
|
69376
69385
|
var e = [...arguments];
|
|
@@ -69414,7 +69423,7 @@ function u8(e) {
|
|
|
69414
69423
|
t.current = e;
|
|
69415
69424
|
}), t;
|
|
69416
69425
|
}
|
|
69417
|
-
function
|
|
69426
|
+
function Yue(e) {
|
|
69418
69427
|
e === void 0 && (e = {});
|
|
69419
69428
|
let { placement: t = "bottom", strategy: n = "absolute", middleware: r = [], platform: i, elements: { reference: a, floating: o } = {}, transform: s = !0, whileElementsMounted: c, open: l } = e, [u, d] = W.useState({
|
|
69420
69429
|
x: 0,
|
|
@@ -69519,7 +69528,7 @@ function Jue(e) {
|
|
|
69519
69528
|
j
|
|
69520
69529
|
]);
|
|
69521
69530
|
}
|
|
69522
|
-
var
|
|
69531
|
+
var Xue = (e) => {
|
|
69523
69532
|
function t(e) {
|
|
69524
69533
|
return {}.hasOwnProperty.call(e, "current");
|
|
69525
69534
|
}
|
|
@@ -69558,24 +69567,24 @@ var Yue = (e) => {
|
|
|
69558
69567
|
fn: n.fn,
|
|
69559
69568
|
options: [e, t]
|
|
69560
69569
|
};
|
|
69561
|
-
},
|
|
69570
|
+
}, Zue = (e, t) => {
|
|
69562
69571
|
let n = Coe(e);
|
|
69563
69572
|
return {
|
|
69564
69573
|
name: n.name,
|
|
69565
69574
|
fn: n.fn,
|
|
69566
69575
|
options: [e, t]
|
|
69567
69576
|
};
|
|
69568
|
-
},
|
|
69569
|
-
let n =
|
|
69577
|
+
}, Que = (e, t) => {
|
|
69578
|
+
let n = Xue(e);
|
|
69570
69579
|
return {
|
|
69571
69580
|
name: n.name,
|
|
69572
69581
|
fn: n.fn,
|
|
69573
69582
|
options: [e, t]
|
|
69574
69583
|
};
|
|
69575
|
-
},
|
|
69576
|
-
[...
|
|
69577
|
-
var
|
|
69578
|
-
function
|
|
69584
|
+
}, $ue = "data-floating-ui-focusable", m8 = "active", h8 = "selected", ede = "ArrowLeft", tde = "ArrowRight", nde = "ArrowUp", rde = "ArrowDown", ide = [ede, tde], ade = [nde, rde];
|
|
69585
|
+
[...ide, ...ade];
|
|
69586
|
+
var ode = { ...W }, g8 = !1, sde = 0, _8 = () => "floating-ui-" + Math.random().toString(36).slice(2, 6) + sde++;
|
|
69587
|
+
function cde() {
|
|
69579
69588
|
let [e, t] = W.useState(() => g8 ? _8() : void 0);
|
|
69580
69589
|
return r8(() => {
|
|
69581
69590
|
e ?? t(_8());
|
|
@@ -69583,9 +69592,9 @@ function sde() {
|
|
|
69583
69592
|
g8 = !0;
|
|
69584
69593
|
}, []), e;
|
|
69585
69594
|
}
|
|
69586
|
-
var v8 =
|
|
69595
|
+
var v8 = ode.useId || cde, y8;
|
|
69587
69596
|
process.env.NODE_ENV !== "production" && (y8 = /* @__PURE__ */ new Set());
|
|
69588
|
-
function
|
|
69597
|
+
function lde() {
|
|
69589
69598
|
var e;
|
|
69590
69599
|
let t = "Floating UI: " + [...arguments].join(" ");
|
|
69591
69600
|
if (!((e = y8) != null && e.has(t))) {
|
|
@@ -69593,7 +69602,7 @@ function cde() {
|
|
|
69593
69602
|
(n = y8) == null || n.add(t), console.error(t);
|
|
69594
69603
|
}
|
|
69595
69604
|
}
|
|
69596
|
-
function
|
|
69605
|
+
function ude() {
|
|
69597
69606
|
let e = /* @__PURE__ */ new Map();
|
|
69598
69607
|
return {
|
|
69599
69608
|
emit(t, n) {
|
|
@@ -69609,7 +69618,7 @@ function lde() {
|
|
|
69609
69618
|
}
|
|
69610
69619
|
};
|
|
69611
69620
|
}
|
|
69612
|
-
var
|
|
69621
|
+
var dde = /* @__PURE__ */ W.createContext(null), fde = /* @__PURE__ */ W.createContext(null), b8 = () => W.useContext(dde)?.id || null, x8 = () => W.useContext(fde);
|
|
69613
69622
|
function S8(e) {
|
|
69614
69623
|
return "data-floating-ui-" + e;
|
|
69615
69624
|
}
|
|
@@ -69629,7 +69638,7 @@ function T8(e, t, n) {
|
|
|
69629
69638
|
function E8(e) {
|
|
69630
69639
|
return typeof e == "function" ? e() : e;
|
|
69631
69640
|
}
|
|
69632
|
-
function
|
|
69641
|
+
function pde(e, t) {
|
|
69633
69642
|
t === void 0 && (t = {});
|
|
69634
69643
|
let { open: n, onOpenChange: r, dataRef: i, events: a, elements: o } = e, { enabled: s = !0, delay: c = 0, handleClose: l = null, mouseOnly: u = !1, restMs: d = 0, move: f = !0 } = t, p = x8(), m = b8(), h = i8(l), g = i8(c), _ = i8(n), v = i8(d), y = W.useRef(), b = W.useRef(-1), x = W.useRef(), S = W.useRef(-1), C = W.useRef(!0), w = W.useRef(!1), T = W.useRef(() => {}), E = W.useRef(!1), D = a8(() => {
|
|
69635
69644
|
let e = i.current.openEvent?.type;
|
|
@@ -69810,7 +69819,7 @@ function fde(e, t) {
|
|
|
69810
69819
|
return W.useMemo(() => s ? { reference: te } : {}, [s, te]);
|
|
69811
69820
|
}
|
|
69812
69821
|
var D8 = 0, O8 = "--floating-ui-scrollbar-width";
|
|
69813
|
-
function
|
|
69822
|
+
function mde() {
|
|
69814
69823
|
let e = J6(), t = /iP(hone|ad|od)|iOS/.test(e) || e === "MacIntel" && navigator.maxTouchPoints > 1, n = document.body.style, r = Math.round(document.documentElement.getBoundingClientRect().left) + document.documentElement.scrollLeft ? "paddingLeft" : "paddingRight", i = window.innerWidth - document.documentElement.clientWidth, a = n.left ? parseFloat(n.left) : window.scrollX, o = n.top ? parseFloat(n.top) : window.scrollY;
|
|
69815
69824
|
if (n.overflow = "hidden", n.setProperty(O8, i + "px"), i && (n[r] = i + "px"), t) {
|
|
69816
69825
|
let e = window.visualViewport?.offsetLeft || 0, t = window.visualViewport?.offsetTop || 0;
|
|
@@ -69833,10 +69842,10 @@ function pde() {
|
|
|
69833
69842
|
}), window.scrollTo(a, o));
|
|
69834
69843
|
};
|
|
69835
69844
|
}
|
|
69836
|
-
var k8 = () => {},
|
|
69845
|
+
var k8 = () => {}, hde = /* @__PURE__ */ W.forwardRef(function(e, t) {
|
|
69837
69846
|
let { lockScroll: n = !1, ...r } = e;
|
|
69838
69847
|
return r8(() => {
|
|
69839
|
-
if (n) return D8++, D8 === 1 && (k8 =
|
|
69848
|
+
if (n) return D8++, D8 === 1 && (k8 = mde()), () => {
|
|
69840
69849
|
D8--, D8 === 0 && k8();
|
|
69841
69850
|
};
|
|
69842
69851
|
}, [n]), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -69852,11 +69861,11 @@ var k8 = () => {}, mde = /* @__PURE__ */ W.forwardRef(function(e, t) {
|
|
|
69852
69861
|
...r.style
|
|
69853
69862
|
}
|
|
69854
69863
|
});
|
|
69855
|
-
}),
|
|
69864
|
+
}), gde = {
|
|
69856
69865
|
pointerdown: "onPointerDown",
|
|
69857
69866
|
mousedown: "onMouseDown",
|
|
69858
69867
|
click: "onClick"
|
|
69859
|
-
},
|
|
69868
|
+
}, _de = {
|
|
69860
69869
|
pointerdown: "onPointerDownCapture",
|
|
69861
69870
|
mousedown: "onMouseDownCapture",
|
|
69862
69871
|
click: "onClickCapture"
|
|
@@ -69879,7 +69888,7 @@ function j8(e, t) {
|
|
|
69879
69888
|
}
|
|
69880
69889
|
}), !e) return;
|
|
69881
69890
|
}
|
|
69882
|
-
r(!1,
|
|
69891
|
+
r(!1, Kue(e) ? e.nativeEvent : e, "escape-key");
|
|
69883
69892
|
}), T = a8((e) => {
|
|
69884
69893
|
var t;
|
|
69885
69894
|
let n = () => {
|
|
@@ -69898,7 +69907,7 @@ function j8(e, t) {
|
|
|
69898
69907
|
if (XB(e) || !VB(e)) break;
|
|
69899
69908
|
u = e;
|
|
69900
69909
|
}
|
|
69901
|
-
if (c.length && VB(o) && !
|
|
69910
|
+
if (c.length && VB(o) && !Hue(o) && !Z6(o, i.floating) && Array.from(c).every((e) => !Z6(u, e))) return;
|
|
69902
69911
|
if (HB(o) && k) {
|
|
69903
69912
|
let t = XB(o), n = ZB(o), r = /auto|scroll/, i = t || r.test(n.overflowX), a = t || r.test(n.overflowY), s = i && o.clientWidth > 0 && o.scrollWidth > o.clientWidth, c = a && o.clientHeight > 0 && o.scrollHeight > o.clientHeight, l = n.direction === "rtl", u = c && (l ? e.offsetX <= o.offsetWidth - o.clientWidth : e.offsetX > o.clientWidth), d = s && e.offsetY > o.clientHeight;
|
|
69904
69913
|
if (u || d) return;
|
|
@@ -69978,7 +69987,7 @@ function j8(e, t) {
|
|
|
69978
69987
|
let O = W.useMemo(() => ({
|
|
69979
69988
|
onKeyDown: w,
|
|
69980
69989
|
...u && {
|
|
69981
|
-
[
|
|
69990
|
+
[gde[d]]: (e) => {
|
|
69982
69991
|
r(!1, e.nativeEvent, "reference-press");
|
|
69983
69992
|
},
|
|
69984
69993
|
...d !== "click" && { onClick(e) {
|
|
@@ -69998,7 +70007,7 @@ function j8(e, t) {
|
|
|
69998
70007
|
onKeyDown: w,
|
|
69999
70008
|
onMouseDown: e,
|
|
70000
70009
|
onMouseUp: e,
|
|
70001
|
-
[
|
|
70010
|
+
[_de[l]]: () => {
|
|
70002
70011
|
a.current.insideReactTree = !0;
|
|
70003
70012
|
}
|
|
70004
70013
|
};
|
|
@@ -70016,11 +70025,11 @@ function j8(e, t) {
|
|
|
70016
70025
|
k
|
|
70017
70026
|
]);
|
|
70018
70027
|
}
|
|
70019
|
-
function
|
|
70020
|
-
let { open: t = !1, onOpenChange: n, elements: r } = e, i = v8(), a = W.useRef({}), [o] = W.useState(() =>
|
|
70028
|
+
function vde(e) {
|
|
70029
|
+
let { open: t = !1, onOpenChange: n, elements: r } = e, i = v8(), a = W.useRef({}), [o] = W.useState(() => ude()), s = b8() != null;
|
|
70021
70030
|
if (process.env.NODE_ENV !== "production") {
|
|
70022
70031
|
let e = r.reference;
|
|
70023
|
-
e && !VB(e) &&
|
|
70032
|
+
e && !VB(e) && lde("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
70024
70033
|
}
|
|
70025
70034
|
let [c, l] = W.useState(r.reference), u = a8((e, t, r) => {
|
|
70026
70035
|
a.current.openEvent = e ? t : void 0, o.emit("openchange", {
|
|
@@ -70057,7 +70066,7 @@ function _de(e) {
|
|
|
70057
70066
|
}
|
|
70058
70067
|
function M8(e) {
|
|
70059
70068
|
e === void 0 && (e = {});
|
|
70060
|
-
let { nodeId: t } = e, n =
|
|
70069
|
+
let { nodeId: t } = e, n = vde({
|
|
70061
70070
|
...e,
|
|
70062
70071
|
elements: {
|
|
70063
70072
|
reference: null,
|
|
@@ -70068,7 +70077,7 @@ function M8(e) {
|
|
|
70068
70077
|
r8(() => {
|
|
70069
70078
|
l && (u.current = l);
|
|
70070
70079
|
}, [l]);
|
|
70071
|
-
let f =
|
|
70080
|
+
let f = Yue({
|
|
70072
70081
|
...e,
|
|
70073
70082
|
elements: {
|
|
70074
70083
|
...i,
|
|
@@ -70125,9 +70134,9 @@ function M8(e) {
|
|
|
70125
70134
|
]);
|
|
70126
70135
|
}
|
|
70127
70136
|
function N8() {
|
|
70128
|
-
return
|
|
70137
|
+
return zue() && Rue();
|
|
70129
70138
|
}
|
|
70130
|
-
function
|
|
70139
|
+
function yde(e, t) {
|
|
70131
70140
|
t === void 0 && (t = {});
|
|
70132
70141
|
let { open: n, onOpenChange: r, events: i, dataRef: a, elements: o } = e, { enabled: s = !0, visibleOnly: c = !0 } = t, l = W.useRef(!1), u = W.useRef(-1), d = W.useRef(!0);
|
|
70133
70142
|
W.useEffect(() => {
|
|
@@ -70170,8 +70179,8 @@ function vde(e, t) {
|
|
|
70170
70179
|
let t = Q6(e.nativeEvent);
|
|
70171
70180
|
if (c && VB(t)) {
|
|
70172
70181
|
if (N8() && !e.relatedTarget) {
|
|
70173
|
-
if (!d.current && !
|
|
70174
|
-
} else if (!
|
|
70182
|
+
if (!d.current && !Uue(t)) return;
|
|
70183
|
+
} else if (!Wue(t)) return;
|
|
70175
70184
|
}
|
|
70176
70185
|
r(!0, e.nativeEvent, "focus");
|
|
70177
70186
|
},
|
|
@@ -70200,7 +70209,7 @@ function P8(e, t, n) {
|
|
|
70200
70209
|
return {
|
|
70201
70210
|
...n === "floating" && {
|
|
70202
70211
|
tabIndex: -1,
|
|
70203
|
-
[
|
|
70212
|
+
[$ue]: ""
|
|
70204
70213
|
},
|
|
70205
70214
|
...a,
|
|
70206
70215
|
...t.map((t) => {
|
|
@@ -70233,14 +70242,14 @@ function F8(e) {
|
|
|
70233
70242
|
o
|
|
70234
70243
|
]);
|
|
70235
70244
|
}
|
|
70236
|
-
var
|
|
70245
|
+
var bde = /* @__PURE__ */ new Map([
|
|
70237
70246
|
["select", "listbox"],
|
|
70238
70247
|
["combobox", "listbox"],
|
|
70239
70248
|
["label", !1]
|
|
70240
70249
|
]);
|
|
70241
|
-
function
|
|
70250
|
+
function xde(e, t) {
|
|
70242
70251
|
t === void 0 && (t = {});
|
|
70243
|
-
let { open: n, elements: r, floatingId: i } = e, { enabled: a = !0, role: o = "dialog" } = t, s = v8(), c = r.domReference?.id || s, l = W.useMemo(() =>
|
|
70252
|
+
let { open: n, elements: r, floatingId: i } = e, { enabled: a = !0, role: o = "dialog" } = t, s = v8(), c = r.domReference?.id || s, l = W.useMemo(() => Gue(r.floating)?.id || i, [r.floating, i]), u = bde.get(o) ?? o, d = b8() != null, f = W.useMemo(() => u === "tooltip" || o === "label" ? { ["aria-" + (o === "label" ? "labelledby" : "describedby")]: n ? l : void 0 } : {
|
|
70244
70253
|
"aria-expanded": n ? "true" : "false",
|
|
70245
70254
|
"aria-haspopup": u === "alertdialog" ? "dialog" : u,
|
|
70246
70255
|
"aria-controls": n ? l : void 0,
|
|
@@ -70297,7 +70306,7 @@ function bde(e, t) {
|
|
|
70297
70306
|
}
|
|
70298
70307
|
//#endregion
|
|
70299
70308
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Tooltip/Tooltip.js
|
|
70300
|
-
var
|
|
70309
|
+
var Sde = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
70301
70310
|
displayName: "Tooltip__StyledTooltip",
|
|
70302
70311
|
componentId: "sc-m2im2p-0"
|
|
70303
70312
|
})([
|
|
@@ -70306,14 +70315,14 @@ var xde = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
|
70306
70315
|
" ",
|
|
70307
70316
|
" background:",
|
|
70308
70317
|
";white-space:nowrap;&::before{content:'; Has tooltip: ';clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;}&::backdrop{background-color:transparent;}"
|
|
70309
|
-
], E6(q6.typography), D6(q6.spacings), T6(q6.border), q6.background),
|
|
70318
|
+
], E6(q6.typography), D6(q6.spacings), T6(q6.border), q6.background), Cde = Q.div.withConfig({
|
|
70310
70319
|
displayName: "Tooltip__ArrowWrapper",
|
|
70311
70320
|
componentId: "sc-m2im2p-1"
|
|
70312
70321
|
})([
|
|
70313
70322
|
"position:absolute;width:",
|
|
70314
70323
|
";height:",
|
|
70315
70324
|
";z-index:-1;"
|
|
70316
|
-
], q6.entities.arrow.width, q6.entities.arrow.height),
|
|
70325
|
+
], q6.entities.arrow.width, q6.entities.arrow.height), wde = Q.svg.withConfig({
|
|
70317
70326
|
displayName: "Tooltip__TooltipArrow",
|
|
70318
70327
|
componentId: "sc-m2im2p-2"
|
|
70319
70328
|
})([
|
|
@@ -70330,13 +70339,13 @@ var xde = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
|
70330
70339
|
d8(14),
|
|
70331
70340
|
p8(),
|
|
70332
70341
|
f8({ padding: 8 }),
|
|
70333
|
-
|
|
70342
|
+
Que({ element: l })
|
|
70334
70343
|
],
|
|
70335
70344
|
whileElementsMounted: _V
|
|
70336
70345
|
}), C = (0, W.useMemo)(() => A6(g.setReference), [g.setReference]), w = (0, W.useMemo)(() => A6(g.setFloating, c), [g.setFloating, c]), { getReferenceProps: T, getFloatingProps: E } = F8([
|
|
70337
|
-
|
|
70338
|
-
|
|
70339
|
-
|
|
70346
|
+
pde(v, { delay: { open: i } }),
|
|
70347
|
+
yde(v),
|
|
70348
|
+
xde(v, { role: "tooltip" }),
|
|
70340
70349
|
j8(v)
|
|
70341
70350
|
]);
|
|
70342
70351
|
(0, W.useEffect)(() => {
|
|
@@ -70380,7 +70389,7 @@ var xde = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
|
70380
70389
|
p,
|
|
70381
70390
|
S.floating
|
|
70382
70391
|
]);
|
|
70383
|
-
let O = /* @__PURE__ */ (0, Y.jsxs)(
|
|
70392
|
+
let O = /* @__PURE__ */ (0, Y.jsxs)(Sde, {
|
|
70384
70393
|
popover: "manual",
|
|
70385
70394
|
...s,
|
|
70386
70395
|
...E({
|
|
@@ -70393,16 +70402,16 @@ var xde = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
|
70393
70402
|
left: m || 0
|
|
70394
70403
|
}
|
|
70395
70404
|
}),
|
|
70396
|
-
children: [e, /* @__PURE__ */ (0, Y.jsx)(
|
|
70405
|
+
children: [e, /* @__PURE__ */ (0, Y.jsx)(Cde, {
|
|
70397
70406
|
ref: l,
|
|
70398
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
70407
|
+
children: /* @__PURE__ */ (0, Y.jsx)(wde, {
|
|
70399
70408
|
className: "arrowSvg",
|
|
70400
70409
|
children: /* @__PURE__ */ (0, Y.jsx)("path", { d: "M0.504838 4.86885C-0.168399 4.48524 -0.168399 3.51476 0.504838 3.13115L6 8.59227e-08L6 8L0.504838 4.86885Z" })
|
|
70401
70410
|
})
|
|
70402
70411
|
})]
|
|
70403
70412
|
});
|
|
70404
70413
|
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [D, p && u && !a && /* @__PURE__ */ (0, N3.createPortal)(O, o ?? f ?? document.body)] });
|
|
70405
|
-
}),
|
|
70414
|
+
}), Tde = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, multiple: t, selectedIndexes: n, onChange: r, ...i }, a) {
|
|
70406
70415
|
let [o, s] = (0, W.useState)(n || []);
|
|
70407
70416
|
(0, W.useEffect)(() => {
|
|
70408
70417
|
Array.isArray(n) && s(n);
|
|
@@ -70428,16 +70437,16 @@ var xde = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
|
70428
70437
|
...i,
|
|
70429
70438
|
children: l
|
|
70430
70439
|
});
|
|
70431
|
-
}), L8 =
|
|
70432
|
-
L8.Group = G6, L8.Toggle =
|
|
70440
|
+
}), L8 = Oue;
|
|
70441
|
+
L8.Group = G6, L8.Toggle = Tde, L8.Group.displayName = "Button.Group", L8.Toggle.displayName = "Button.Toggle";
|
|
70433
70442
|
//#endregion
|
|
70434
70443
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Icon/library.js
|
|
70435
|
-
var R8 = {},
|
|
70444
|
+
var R8 = {}, Ede = (e) => {
|
|
70436
70445
|
R8 = {
|
|
70437
70446
|
...R8,
|
|
70438
70447
|
...e
|
|
70439
70448
|
};
|
|
70440
|
-
},
|
|
70449
|
+
}, Dde = (e) => R8[e], Ode = Q.svg.attrs(({ $height: e, $width: t, fill: n }) => ({
|
|
70441
70450
|
name: null,
|
|
70442
70451
|
xmlns: "http://www.w3.org/2000/svg",
|
|
70443
70452
|
height: `${e}px`,
|
|
@@ -70454,11 +70463,11 @@ var R8 = {}, Tde = (e) => {
|
|
|
70454
70463
|
})).withConfig({
|
|
70455
70464
|
displayName: "Icon__StyledPath",
|
|
70456
70465
|
componentId: "sc-6evbi1-1"
|
|
70457
|
-
})([""]),
|
|
70458
|
-
let r = t ??
|
|
70466
|
+
})([""]), kde = (e, t, n) => {
|
|
70467
|
+
let r = t ?? Dde(e);
|
|
70459
70468
|
return n < 24 && r.sizes?.small || r;
|
|
70460
70469
|
}, B8 = /* @__PURE__ */ (0, W.forwardRef)(function({ size: e, color: t = "currentColor", name: n, rotation: r, title: i, data: a, ...o }, s) {
|
|
70461
|
-
let c =
|
|
70470
|
+
let c = kde(n, a, e);
|
|
70462
70471
|
if (c === void 0) throw Error(`Icon "${n}" not found. Have you added it using Icon.add() or using data props?`);
|
|
70463
70472
|
let l = e || parseInt(c.width), u = e || parseInt(c.height), d = {
|
|
70464
70473
|
$height: l,
|
|
@@ -70478,7 +70487,7 @@ var R8 = {}, Tde = (e) => {
|
|
|
70478
70487
|
role: "img",
|
|
70479
70488
|
"aria-hidden": void 0,
|
|
70480
70489
|
"aria-labelledby": p
|
|
70481
|
-
}), /* @__PURE__ */ (0, Y.jsxs)(
|
|
70490
|
+
}), /* @__PURE__ */ (0, Y.jsxs)(Ode, {
|
|
70482
70491
|
...d,
|
|
70483
70492
|
...o,
|
|
70484
70493
|
ref: s,
|
|
@@ -70495,34 +70504,34 @@ var R8 = {}, Tde = (e) => {
|
|
|
70495
70504
|
})]
|
|
70496
70505
|
});
|
|
70497
70506
|
});
|
|
70498
|
-
B8.add =
|
|
70507
|
+
B8.add = Ede;
|
|
70499
70508
|
//#endregion
|
|
70500
70509
|
//#region ../../node_modules/.pnpm/@equinor+eds-icons@1.3.0/node_modules/@equinor/eds-icons/dist/esm/data.js
|
|
70501
|
-
var
|
|
70510
|
+
var Ade = {
|
|
70502
70511
|
name: "close",
|
|
70503
70512
|
prefix: "eds",
|
|
70504
70513
|
height: "24",
|
|
70505
70514
|
width: "24",
|
|
70506
70515
|
svgPathData: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
70507
|
-
},
|
|
70516
|
+
}, jde = {
|
|
70508
70517
|
name: "search",
|
|
70509
70518
|
prefix: "eds",
|
|
70510
70519
|
height: "24",
|
|
70511
70520
|
width: "24",
|
|
70512
70521
|
svgPathData: "M14.966 14.255h.79l4.99 5-1.49 1.49-5-4.99v-.79l-.27-.28a6.47 6.47 0 0 1-4.23 1.57 6.5 6.5 0 1 1 6.5-6.5c0 1.61-.59 3.09-1.57 4.23zm-9.71-4.5c0 2.49 2.01 4.5 4.5 4.5s4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5-4.5 2.01-4.5 4.5"
|
|
70513
|
-
},
|
|
70522
|
+
}, Mde = {
|
|
70514
70523
|
name: "checkbox",
|
|
70515
70524
|
prefix: "eds",
|
|
70516
70525
|
height: "24",
|
|
70517
70526
|
width: "24",
|
|
70518
70527
|
svgPathData: "M5 3h14c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2m4.3 13.29c.39.39 1.02.39 1.41 0l7.58-7.59a.996.996 0 1 0-1.41-1.41L10 14.17l-2.88-2.88a.996.996 0 1 0-1.41 1.41z"
|
|
70519
|
-
},
|
|
70528
|
+
}, Nde = {
|
|
70520
70529
|
name: "checkbox_outline",
|
|
70521
70530
|
prefix: "eds",
|
|
70522
70531
|
height: "24",
|
|
70523
70532
|
width: "24",
|
|
70524
70533
|
svgPathData: "M5 3h14c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2m1 16h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1H6c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1"
|
|
70525
|
-
},
|
|
70534
|
+
}, Pde = {
|
|
70526
70535
|
name: "checkbox_indeterminate",
|
|
70527
70536
|
prefix: "eds",
|
|
70528
70537
|
height: "24",
|
|
@@ -70535,11 +70544,11 @@ var kde = {
|
|
|
70535
70544
|
activeTab: 0,
|
|
70536
70545
|
tabsId: "",
|
|
70537
70546
|
tabsFocused: !1
|
|
70538
|
-
}),
|
|
70547
|
+
}), Fde = V8.Provider;
|
|
70539
70548
|
V8.Consumer;
|
|
70540
70549
|
//#endregion
|
|
70541
70550
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Tabs/Tabs.tokens.js
|
|
70542
|
-
var { colors: { text: { static_icons__tertiary: { rgba:
|
|
70551
|
+
var { colors: { text: { static_icons__tertiary: { rgba: Ide } }, ui: { background__medium: { rgba: Lde } }, interactive: { focus: { rgba: H8 }, primary__hover_alt: { rgba: Rde }, primary__resting: { rgba: U8 }, primary__hover: { rgba: zde } } }, clickbounds: { default__base: W8 }, spacings: { comfortable: { medium: G8 } }, interactions: { focused: { width: K8 } }, typography: { navigation: { menu_tabs: Bde, menu_title: Vde } } } = a0, Hde = {
|
|
70543
70552
|
entities: {
|
|
70544
70553
|
panel: {
|
|
70545
70554
|
spacings: {
|
|
@@ -70552,7 +70561,7 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70552
70561
|
style: "dashed",
|
|
70553
70562
|
color: H8
|
|
70554
70563
|
} } },
|
|
70555
|
-
typography: { ...
|
|
70564
|
+
typography: { ...Vde }
|
|
70556
70565
|
},
|
|
70557
70566
|
tab: {
|
|
70558
70567
|
background: "transparent",
|
|
@@ -70566,14 +70575,14 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70566
70575
|
right: G8
|
|
70567
70576
|
},
|
|
70568
70577
|
typography: {
|
|
70569
|
-
color:
|
|
70578
|
+
color: Ide,
|
|
70570
70579
|
textAlign: "center",
|
|
70571
|
-
...
|
|
70580
|
+
...Bde
|
|
70572
70581
|
},
|
|
70573
70582
|
border: {
|
|
70574
70583
|
type: "bordergroup",
|
|
70575
70584
|
bottom: {
|
|
70576
|
-
color:
|
|
70585
|
+
color: Lde,
|
|
70577
70586
|
style: "solid",
|
|
70578
70587
|
width: "2px"
|
|
70579
70588
|
}
|
|
@@ -70585,7 +70594,7 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70585
70594
|
color: "transparent",
|
|
70586
70595
|
style: "solid"
|
|
70587
70596
|
} },
|
|
70588
|
-
hover: { background:
|
|
70597
|
+
hover: { background: Rde },
|
|
70589
70598
|
focus: { outline: {
|
|
70590
70599
|
type: "outline",
|
|
70591
70600
|
width: K8,
|
|
@@ -70603,13 +70612,13 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70603
70612
|
width: "2px"
|
|
70604
70613
|
}
|
|
70605
70614
|
},
|
|
70606
|
-
states: { hover: { typography: { color:
|
|
70615
|
+
states: { hover: { typography: { color: zde } } }
|
|
70607
70616
|
}
|
|
70608
70617
|
}
|
|
70609
70618
|
}
|
|
70610
70619
|
},
|
|
70611
70620
|
modes: { compact: {} }
|
|
70612
|
-
},
|
|
70621
|
+
}, Ude = /* @__PURE__ */ (0, W.forwardRef)(function({ activeTab: e = 0, onChange: t = () => null, onBlur: n, onFocus: r, variant: i = "minWidth", scrollable: a = !1, id: o, ...s }, c) {
|
|
70613
70622
|
let l = (0, W.useId)(), u = o ?? l, d = (0, W.useRef)(null), f = (0, W.useMemo)(() => A6(d, c), [d, c]), [p, m] = (0, W.useState)(!1), [h, g] = (0, W.useState)(!1), _, v = (e) => {
|
|
70614
70623
|
g(!1), d.current && d.current.removeEventListener("keyup", b), _ = setTimeout(() => {
|
|
70615
70624
|
p && m(!1);
|
|
@@ -70630,8 +70639,8 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70630
70639
|
}, []);
|
|
70631
70640
|
let { density: x } = H6();
|
|
70632
70641
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
70633
|
-
theme: V6({ density: x },
|
|
70634
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
70642
|
+
theme: V6({ density: x }, Hde),
|
|
70643
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Fde, {
|
|
70635
70644
|
value: {
|
|
70636
70645
|
activeTab: e,
|
|
70637
70646
|
handleChange: t,
|
|
@@ -70648,17 +70657,17 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70648
70657
|
})
|
|
70649
70658
|
})
|
|
70650
70659
|
});
|
|
70651
|
-
}),
|
|
70660
|
+
}), Wde = {
|
|
70652
70661
|
fullWidth: "minmax(1%, 360px)",
|
|
70653
70662
|
minWidth: "max-content"
|
|
70654
|
-
},
|
|
70663
|
+
}, Gde = Q.div.attrs(() => ({ role: "tablist" })).withConfig({
|
|
70655
70664
|
displayName: "TabList__StyledTabList",
|
|
70656
70665
|
componentId: "sc-1g1p5i1-0"
|
|
70657
70666
|
})([
|
|
70658
70667
|
"display:grid;grid-auto-flow:column;grid-auto-columns:",
|
|
70659
70668
|
";overflow-x:",
|
|
70660
70669
|
";scroll-snap-type:x mandatory;overscroll-behavior-x:contain;@media (prefers-reduced-motion:no-preference){scroll-behavior:smooth;}@media (hover:none){overflow-x:scroll;-webkit-overflow-scrolling:touch;scrollbar-width:none;& ::-webkit-scrollbar{width:0;height:0;}}"
|
|
70661
|
-
], ({ $variant: e }) =>
|
|
70670
|
+
], ({ $variant: e }) => Wde[e], ({ $scrollable: e }) => e ? "auto" : "hidden"), Kde = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e = [], ...t }, n) {
|
|
70662
70671
|
let { activeTab: r, handleChange: i, tabsId: a, variant: o = "minWidth", scrollable: s = !1, tabsFocused: c } = (0, W.useContext)(V8), l = (0, W.useRef)(0), [u, d] = (0, W.useState)(!1), f = (0, W.useCallback)((e) => {
|
|
70663
70672
|
(e !== null && c || e !== null && u) && (d(!1), e.focus());
|
|
70664
70673
|
}, [u, c]), p = W.Children.map(e, (e, t) => {
|
|
@@ -70676,7 +70685,7 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70676
70685
|
let n = e === "left" ? 1 : -1, r = m[m.indexOf(l.current) - n];
|
|
70677
70686
|
d(!0), i(r === void 0 ? t : r);
|
|
70678
70687
|
};
|
|
70679
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70688
|
+
return /* @__PURE__ */ (0, Y.jsx)(Gde, {
|
|
70680
70689
|
onKeyDown: (e) => {
|
|
70681
70690
|
let { key: t } = e;
|
|
70682
70691
|
t === "ArrowLeft" && (e.preventDefault(), _("left", g)), t === "ArrowRight" && (e.preventDefault(), _("right", h));
|
|
@@ -70687,7 +70696,7 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70687
70696
|
$scrollable: s,
|
|
70688
70697
|
children: p
|
|
70689
70698
|
});
|
|
70690
|
-
}),
|
|
70699
|
+
}), qde = Q.button.attrs(({ $active: e = !1, disabled: t = !1, $value: n }) => ({
|
|
70691
70700
|
type: "button",
|
|
70692
70701
|
role: "tab",
|
|
70693
70702
|
"aria-selected": e,
|
|
@@ -70712,14 +70721,14 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70712
70721
|
" ",
|
|
70713
70722
|
""
|
|
70714
70723
|
], r.height, D6(r.spacings), E6(r.typography), t ? r.states.active.typography.color : r.typography.color, r.background, j6(r.states.focus.outline), j6(r.states.focus.outline), t ? r.states.active.states.hover.typography.color : r.typography.color, n ? Rz(["background:", ";cursor:not-allowed;"], r.states.disabled.background) : Rz(["background:", ";cursor:pointer;"], r.states.hover.background), T6(n ? r.states.disabled.border : r.border), t && T6(r.states.active.border));
|
|
70715
|
-
}),
|
|
70716
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70724
|
+
}), Jde = /* @__PURE__ */ (0, W.forwardRef)(function({ active: e, value: t, ...n }, r) {
|
|
70725
|
+
return /* @__PURE__ */ (0, Y.jsx)(qde, {
|
|
70717
70726
|
ref: r,
|
|
70718
70727
|
$active: e,
|
|
70719
70728
|
$value: t,
|
|
70720
70729
|
...n
|
|
70721
70730
|
});
|
|
70722
|
-
}),
|
|
70731
|
+
}), Yde = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, conditionalRender: t, ...n }, r) {
|
|
70723
70732
|
let { activeTab: i, tabsId: a } = (0, W.useContext)(V8), o = W.Children.map(e, (e, n) => !/* @__PURE__ */ (0, W.isValidElement)(e) || t && i !== n ? null : /* @__PURE__ */ (0, W.cloneElement)(e, {
|
|
70724
70733
|
id: `${a}-panel-${n + 1}`,
|
|
70725
70734
|
"aria-labelledby": `${a}-tab-${n + 1}`,
|
|
@@ -70730,7 +70739,7 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70730
70739
|
...n,
|
|
70731
70740
|
children: o
|
|
70732
70741
|
});
|
|
70733
|
-
}),
|
|
70742
|
+
}), Xde = Q.div.attrs(() => ({
|
|
70734
70743
|
tabIndex: 0,
|
|
70735
70744
|
role: "tabpanel"
|
|
70736
70745
|
})).withConfig({
|
|
@@ -70745,46 +70754,46 @@ var { colors: { text: { static_icons__tertiary: { rgba: Fde } }, ui: { backgroun
|
|
|
70745
70754
|
"}&:focus-visible{",
|
|
70746
70755
|
"}"
|
|
70747
70756
|
], D6(t.spacings), E6(t.typography), j6(t.states.focus.outline), j6(t.states.focus.outline));
|
|
70748
|
-
}),
|
|
70749
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70757
|
+
}), Zde = /* @__PURE__ */ (0, W.forwardRef)(function({ ...e }, t) {
|
|
70758
|
+
return /* @__PURE__ */ (0, Y.jsx)(Xde, {
|
|
70750
70759
|
ref: t,
|
|
70751
70760
|
...e,
|
|
70752
70761
|
children: e.children
|
|
70753
70762
|
});
|
|
70754
|
-
}), q8 =
|
|
70755
|
-
q8.Tab =
|
|
70763
|
+
}), q8 = Ude;
|
|
70764
|
+
q8.Tab = Jde, q8.Panels = Yde, q8.Panel = Zde, q8.List = Kde, q8.Tab.displayName = "Tabs.Tab", q8.Panels.displayName = "Tabs.Panels", q8.Panel.displayName = "Tabs.Panel", q8.List.displayName = "Tabs.List";
|
|
70756
70765
|
//#endregion
|
|
70757
70766
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Paper/Paper.tokens.js
|
|
70758
|
-
var { elevation:
|
|
70767
|
+
var { elevation: Qde, colors: { ui: { background__default: { rgba: $de } } } } = a0, efe = { background: $de }, tfe = Q.div.withConfig({
|
|
70759
70768
|
displayName: "Paper__StyledPaper",
|
|
70760
70769
|
componentId: "sc-6ncnv9-0"
|
|
70761
70770
|
})([
|
|
70762
70771
|
"background:",
|
|
70763
70772
|
";box-shadow:",
|
|
70764
70773
|
";"
|
|
70765
|
-
],
|
|
70766
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70774
|
+
], efe.background, ({ $elevation: e }) => e), J8 = /* @__PURE__ */ (0, W.forwardRef)(function({ elevation: e = "none", ...t }, n) {
|
|
70775
|
+
return /* @__PURE__ */ (0, Y.jsx)(tfe, {
|
|
70767
70776
|
...t,
|
|
70768
|
-
$elevation:
|
|
70777
|
+
$elevation: Qde[e] ?? "none",
|
|
70769
70778
|
ref: n
|
|
70770
70779
|
});
|
|
70771
|
-
}), { typography: Y8, colors:
|
|
70772
|
-
primary:
|
|
70773
|
-
secondary:
|
|
70774
|
-
danger:
|
|
70775
|
-
warning:
|
|
70776
|
-
success:
|
|
70777
|
-
disabled:
|
|
70780
|
+
}), { typography: Y8, colors: nfe, interactions: { focused: { width: rfe } } } = a0, { heading: ife, paragraph: afe } = Y8, { interactive: { primary__resting: { rgba: ofe }, secondary__resting: { rgba: sfe }, danger__resting: { rgba: cfe }, warning__resting: { rgba: lfe }, success__resting: { rgba: ufe }, disabled__text: { rgba: dfe }, focus: { rgba: ffe } } } = nfe, X8 = {
|
|
70781
|
+
primary: ofe,
|
|
70782
|
+
secondary: sfe,
|
|
70783
|
+
danger: cfe,
|
|
70784
|
+
warning: lfe,
|
|
70785
|
+
success: ufe,
|
|
70786
|
+
disabled: dfe
|
|
70778
70787
|
}, Z8 = {
|
|
70779
|
-
...
|
|
70780
|
-
...
|
|
70788
|
+
...ife,
|
|
70789
|
+
...afe
|
|
70781
70790
|
}, Q8 = { states: { focus: { outline: {
|
|
70782
|
-
width:
|
|
70783
|
-
color:
|
|
70791
|
+
width: rfe,
|
|
70792
|
+
color: ffe,
|
|
70784
70793
|
style: "dashed",
|
|
70785
70794
|
type: "outline",
|
|
70786
70795
|
offset: "2px"
|
|
70787
|
-
} } } },
|
|
70796
|
+
} } } }, pfe = (e, t) => {
|
|
70788
70797
|
if (t) return "a";
|
|
70789
70798
|
switch (e) {
|
|
70790
70799
|
case "h1":
|
|
@@ -70795,7 +70804,7 @@ var { elevation: Zde, colors: { ui: { background__default: { rgba: Qde } } } } =
|
|
|
70795
70804
|
case "h6": return e;
|
|
70796
70805
|
default: return "p";
|
|
70797
70806
|
}
|
|
70798
|
-
},
|
|
70807
|
+
}, mfe = (e, t) => !t && Z8[e] ? Z8[e] : Y8[t][e], hfe = (e = null) => X8[e] === void 0 ? e : X8[e], gfe = (e, t = !1, n = !1, r = !1) => `${e}${t ? "_bold" : ""}${n ? "_italic" : ""}${r ? "_link" : ""}`, _fe = Q.p.withConfig({
|
|
70799
70808
|
displayName: "Typography__StyledTypography",
|
|
70800
70809
|
componentId: "sc-179guof-0"
|
|
70801
70810
|
})([
|
|
@@ -70804,14 +70813,14 @@ var { elevation: Zde, colors: { ui: { background__default: { rgba: Qde } } } } =
|
|
|
70804
70813
|
" ",
|
|
70805
70814
|
" ",
|
|
70806
70815
|
""
|
|
70807
|
-
], ({ $typography: e, $link: t }) => E6(e, t), ({ $color: e }) => Rz({ color:
|
|
70816
|
+
], ({ $typography: e, $link: t }) => E6(e, t), ({ $color: e }) => Rz({ color: hfe(e) }), ({ $lines: e }) => e && Rz(["display:-webkit-box;-webkit-line-clamp:", ";-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;"], e), ({ $link: e }) => e && Rz([
|
|
70808
70817
|
"&:focus{outline:none;}&[data-focus-visible-added]:focus{",
|
|
70809
70818
|
"}&:focus-visible{",
|
|
70810
70819
|
"}"
|
|
70811
70820
|
], j6(Q8.states.focus.outline), j6(Q8.states.focus.outline))), $8 = /* @__PURE__ */ (0, W.forwardRef)(function({ variant: e = "body_short", children: t, bold: n, italic: r, link: i, lines: a, color: o, group: s, token: c, as: l, ...u }, d) {
|
|
70812
|
-
let f = l ||
|
|
70821
|
+
let f = l || pfe(e, i), p = gfe(e, n, r, i), m = mfe(p, s);
|
|
70813
70822
|
if (m === void 0) throw Error(`Typography variant not found for variant "${p}" ("${e}") & group "${s || ""}"`);
|
|
70814
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70823
|
+
return /* @__PURE__ */ (0, Y.jsx)(_fe, {
|
|
70815
70824
|
as: f,
|
|
70816
70825
|
$typography: {
|
|
70817
70826
|
...m,
|
|
@@ -70824,10 +70833,10 @@ var { elevation: Zde, colors: { ui: { background__default: { rgba: Qde } } } } =
|
|
|
70824
70833
|
...u,
|
|
70825
70834
|
children: t
|
|
70826
70835
|
});
|
|
70827
|
-
}), { colors: e5, spacings: { comfortable: t5 }, typography: { navigation:
|
|
70836
|
+
}), { colors: e5, spacings: { comfortable: t5 }, typography: { navigation: vfe } } = a0, yfe = {
|
|
70828
70837
|
height: "64px",
|
|
70829
70838
|
background: e5.ui.background__default.rgba,
|
|
70830
|
-
typography:
|
|
70839
|
+
typography: vfe.menu_title,
|
|
70831
70840
|
spacings: {
|
|
70832
70841
|
left: t5.large,
|
|
70833
70842
|
right: t5.large,
|
|
@@ -70843,7 +70852,7 @@ var { elevation: Zde, colors: { ui: { background__default: { rgba: Qde } } } } =
|
|
|
70843
70852
|
}
|
|
70844
70853
|
},
|
|
70845
70854
|
modes: { compact: {} }
|
|
70846
|
-
},
|
|
70855
|
+
}, bfe = Q(J8).withConfig({
|
|
70847
70856
|
displayName: "TopBar__StyledTopBar",
|
|
70848
70857
|
componentId: "sc-1yj236q-0"
|
|
70849
70858
|
})(({ theme: e, $sticky: t }) => Rz([
|
|
@@ -70855,11 +70864,11 @@ var { elevation: Zde, colors: { ui: { background__default: { rgba: Qde } } } } =
|
|
|
70855
70864
|
";",
|
|
70856
70865
|
" ",
|
|
70857
70866
|
""
|
|
70858
|
-
], e.height, e.background, e.spacings.left, T6(e.border), D6(e.spacings), E6(e.typography), t && Rz(["position:sticky;top:0;z-index:1100;"]))),
|
|
70867
|
+
], e.height, e.background, e.spacings.left, T6(e.border), D6(e.spacings), E6(e.typography), t && Rz(["position:sticky;top:0;z-index:1100;"]))), xfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, elevation: t = "none", sticky: n = !0, ...r }, i) {
|
|
70859
70868
|
let { density: a } = H6();
|
|
70860
70869
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
70861
|
-
theme: V6({ density: a },
|
|
70862
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
70870
|
+
theme: V6({ density: a }, yfe),
|
|
70871
|
+
children: /* @__PURE__ */ (0, Y.jsx)(bfe, {
|
|
70863
70872
|
forwardedAs: "header",
|
|
70864
70873
|
elevation: t,
|
|
70865
70874
|
$sticky: n,
|
|
@@ -70868,44 +70877,44 @@ var { elevation: Zde, colors: { ui: { background__default: { rgba: Qde } } } } =
|
|
|
70868
70877
|
children: e
|
|
70869
70878
|
})
|
|
70870
70879
|
});
|
|
70871
|
-
}),
|
|
70880
|
+
}), Sfe = Q.div.withConfig({
|
|
70872
70881
|
displayName: "Actions__StyledActions",
|
|
70873
70882
|
componentId: "sc-1251ang-0"
|
|
70874
|
-
})(["grid-area:right;text-align:right;align-items:center;display:flex;"]),
|
|
70875
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70883
|
+
})(["grid-area:right;text-align:right;align-items:center;display:flex;"]), Cfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
70884
|
+
return /* @__PURE__ */ (0, Y.jsx)(Sfe, {
|
|
70876
70885
|
ref: n,
|
|
70877
70886
|
...t,
|
|
70878
70887
|
children: e
|
|
70879
70888
|
});
|
|
70880
|
-
}),
|
|
70889
|
+
}), wfe = Q.div.withConfig({
|
|
70881
70890
|
displayName: "Header__StyledHeader",
|
|
70882
70891
|
componentId: "sc-1fpllve-0"
|
|
70883
|
-
})(["grid-area:left;display:grid;grid-template-columns:auto auto;grid-gap:12px;align-items:center;"]),
|
|
70884
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70892
|
+
})(["grid-area:left;display:grid;grid-template-columns:auto auto;grid-gap:12px;align-items:center;"]), Tfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
70893
|
+
return /* @__PURE__ */ (0, Y.jsx)(wfe, {
|
|
70885
70894
|
ref: n,
|
|
70886
70895
|
...t,
|
|
70887
70896
|
children: e
|
|
70888
70897
|
});
|
|
70889
|
-
}),
|
|
70898
|
+
}), Efe = Q.div.withConfig({
|
|
70890
70899
|
displayName: "CustomContent__StyledCustomContent",
|
|
70891
70900
|
componentId: "sc-d0e83a-0"
|
|
70892
|
-
})(["grid-area:center;"]),
|
|
70893
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70901
|
+
})(["grid-area:center;"]), Dfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
70902
|
+
return /* @__PURE__ */ (0, Y.jsx)(Efe, {
|
|
70894
70903
|
ref: n,
|
|
70895
70904
|
...t,
|
|
70896
70905
|
children: e
|
|
70897
70906
|
});
|
|
70898
|
-
}), n5 =
|
|
70899
|
-
n5.Actions =
|
|
70907
|
+
}), n5 = xfe;
|
|
70908
|
+
n5.Actions = Cfe, n5.Header = Tfe, n5.CustomContent = Dfe, n5.Actions.displayName = "Topbar.Actions", n5.Header.displayName = "Topbar.Header", n5.CustomContent.displayName = "Topbar.CustomContent";
|
|
70900
70909
|
//#endregion
|
|
70901
70910
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Dialog/Dialog.tokens.js
|
|
70902
|
-
var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_header: i5 }, paragraph: { body_long:
|
|
70911
|
+
var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_header: i5 }, paragraph: { body_long: Ofe } }, colors: { ui: { background__default: { rgba: kfe }, background__scrim: { rgba: Afe } } }, shape: { corners: { borderRadius: jfe } } } = a0, Mfe = {
|
|
70903
70912
|
width: "252px",
|
|
70904
|
-
background:
|
|
70913
|
+
background: kfe,
|
|
70905
70914
|
typography: i5,
|
|
70906
70915
|
border: {
|
|
70907
70916
|
type: "border",
|
|
70908
|
-
radius:
|
|
70917
|
+
radius: jfe
|
|
70909
70918
|
},
|
|
70910
70919
|
spacings: { bottom: r5 },
|
|
70911
70920
|
entities: {
|
|
@@ -70922,13 +70931,13 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
70922
70931
|
content: {
|
|
70923
70932
|
minHeight: "80px",
|
|
70924
70933
|
height: "104px",
|
|
70925
|
-
typography:
|
|
70934
|
+
typography: Ofe
|
|
70926
70935
|
},
|
|
70927
70936
|
actions: { minHeight: "48px" },
|
|
70928
|
-
scrim: { background:
|
|
70937
|
+
scrim: { background: Afe }
|
|
70929
70938
|
},
|
|
70930
70939
|
modes: { compact: {} }
|
|
70931
|
-
},
|
|
70940
|
+
}, Nfe = Q(J8).attrs({
|
|
70932
70941
|
"aria-labelledby": "eds-dialog-title",
|
|
70933
70942
|
"aria-describedby": "eds-dialog-customcontent",
|
|
70934
70943
|
elevation: "above_scrim"
|
|
@@ -70942,20 +70951,20 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
70942
70951
|
";",
|
|
70943
70952
|
";grid-gap:",
|
|
70944
70953
|
";"
|
|
70945
|
-
], e.width, e.background, E6(e.typography), T6(e.border), e.spacings.bottom)),
|
|
70954
|
+
], e.width, e.background, E6(e.typography), T6(e.border), e.spacings.bottom)), Pfe = Q.dialog.withConfig({
|
|
70946
70955
|
displayName: "Dialog__StyledNativeDialog",
|
|
70947
70956
|
componentId: "sc-1mewo3f-1"
|
|
70948
70957
|
})(({ theme: e }) => Rz([
|
|
70949
70958
|
"padding:0;border:0;overflow:visible;overscroll-behavior:contain;",
|
|
70950
70959
|
";&::backdrop{background-color:",
|
|
70951
70960
|
";}"
|
|
70952
|
-
], T6(e.border), e.entities.scrim.background)),
|
|
70953
|
-
let { density: s } = H6(), c = (0, W.useRef)(null), l = V6({ density: s },
|
|
70961
|
+
], T6(e.border), e.entities.scrim.background)), Ffe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, open: t, onClose: n, isDismissable: r = !1, dialogRef: i, ...a }, o) {
|
|
70962
|
+
let { density: s } = H6(), c = (0, W.useRef)(null), l = V6({ density: s }, Mfe), u = (0, W.useMemo)(() => A6(c, i), [c, i]);
|
|
70954
70963
|
return (0, W.useEffect)(() => {
|
|
70955
70964
|
t ? c?.current?.showModal() : c?.current?.close();
|
|
70956
70965
|
}, [t]), k6(t), /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
70957
70966
|
theme: l,
|
|
70958
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
70967
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Pfe, {
|
|
70959
70968
|
ref: u,
|
|
70960
70969
|
onMouseDown: (e) => {
|
|
70961
70970
|
let { target: t } = e;
|
|
@@ -70964,14 +70973,14 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
70964
70973
|
onKeyDown: (e) => {
|
|
70965
70974
|
e.key === "Escape" && (e.preventDefault(), r && n && t && n());
|
|
70966
70975
|
},
|
|
70967
|
-
children: t && /* @__PURE__ */ (0, Y.jsx)(
|
|
70976
|
+
children: t && /* @__PURE__ */ (0, Y.jsx)(Nfe, {
|
|
70968
70977
|
...a,
|
|
70969
70978
|
ref: o,
|
|
70970
70979
|
children: e
|
|
70971
70980
|
})
|
|
70972
70981
|
})
|
|
70973
70982
|
});
|
|
70974
|
-
}),
|
|
70983
|
+
}), Ife = Q.div.withConfig({
|
|
70975
70984
|
displayName: "DialogActions__StyledDialogActions",
|
|
70976
70985
|
componentId: "sc-16ydtxd-0"
|
|
70977
70986
|
})(({ theme: e, children: t }) => Rz([
|
|
@@ -70981,13 +70990,13 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
70981
70990
|
";}&:last-child{padding-bottom:",
|
|
70982
70991
|
";}",
|
|
70983
70992
|
""
|
|
70984
|
-
], e.entities.children.spacings.right, e.entities.children.spacings.left, e.entities.children.spacings.top, e.entities.children.spacings.bottom, !t && Rz(["min-height:initial;height:'8px';"]))),
|
|
70985
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
70993
|
+
], e.entities.children.spacings.right, e.entities.children.spacings.left, e.entities.children.spacings.top, e.entities.children.spacings.bottom, !t && Rz(["min-height:initial;height:'8px';"]))), Lfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
70994
|
+
return /* @__PURE__ */ (0, Y.jsx)(Ife, {
|
|
70986
70995
|
ref: n,
|
|
70987
70996
|
...t,
|
|
70988
70997
|
children: e
|
|
70989
70998
|
});
|
|
70990
|
-
}),
|
|
70999
|
+
}), Rfe = Q.div.withConfig({
|
|
70991
71000
|
displayName: "DialogTitle__StyledDialogTitle",
|
|
70992
71001
|
componentId: "sc-1t3jljt-0"
|
|
70993
71002
|
})(({ theme: e, children: t }) => Rz([
|
|
@@ -70996,28 +71005,28 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
70996
71005
|
";align-self:end;justify-self:start;margin-right:",
|
|
70997
71006
|
";",
|
|
70998
71007
|
""
|
|
70999
|
-
], E6(e.entities.title.typography), e.entities.title.minHeight, e.entities.children.spacings.right, !t && Rz(["min-height:initial;height:'8px';"]))),
|
|
71000
|
-
return /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
71008
|
+
], E6(e.entities.title.typography), e.entities.title.minHeight, e.entities.children.spacings.right, !t && Rz(["min-height:initial;height:'8px';"]))), zfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
71009
|
+
return /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: /* @__PURE__ */ (0, Y.jsx)(Rfe, {
|
|
71001
71010
|
id: "eds-dialog-title",
|
|
71002
71011
|
ref: n,
|
|
71003
71012
|
...t,
|
|
71004
71013
|
children: e
|
|
71005
71014
|
}) });
|
|
71006
71015
|
}), a5 = /* @__PURE__ */ te({
|
|
71007
|
-
divider: () =>
|
|
71008
|
-
medium: () =>
|
|
71009
|
-
small: () =>
|
|
71010
|
-
}), { colors: { ui: { background__default: { rgba:
|
|
71011
|
-
lighter: { background:
|
|
71012
|
-
light: { background:
|
|
71013
|
-
mediumColor: { background:
|
|
71014
|
-
},
|
|
71016
|
+
divider: () => Ufe,
|
|
71017
|
+
medium: () => Gfe,
|
|
71018
|
+
small: () => Wfe
|
|
71019
|
+
}), { colors: { ui: { background__default: { rgba: Bfe }, background__light: { rgba: Vfe }, background__medium: { rgba: Hfe } } }, spacings: { comfortable: { small: o5, medium: s5 } } } = a0, Ufe = {
|
|
71020
|
+
lighter: { background: Bfe },
|
|
71021
|
+
light: { background: Vfe },
|
|
71022
|
+
mediumColor: { background: Hfe }
|
|
71023
|
+
}, Wfe = { spacings: {
|
|
71015
71024
|
top: o5,
|
|
71016
71025
|
bottom: o5
|
|
71017
|
-
} },
|
|
71026
|
+
} }, Gfe = { spacings: {
|
|
71018
71027
|
top: s5,
|
|
71019
71028
|
bottom: s5
|
|
71020
|
-
} }, { divider:
|
|
71029
|
+
} }, { divider: Kfe } = a5, qfe = Q.hr.withConfig({
|
|
71021
71030
|
displayName: "Divider__StyledDivider",
|
|
71022
71031
|
componentId: "sc-1d8osde-0"
|
|
71023
71032
|
})(({ $backgroundColor: e, $marginTop: t, $marginBottom: n, $dividerHeight: r }) => Rz([
|
|
@@ -71028,15 +71037,15 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
71028
71037
|
"px);height:",
|
|
71029
71038
|
"px;"
|
|
71030
71039
|
], e, t, n, r, r)), c5 = /* @__PURE__ */ (0, W.forwardRef)(function({ color: e = "medium", variant: t = "medium", size: n = "1", ...r }, i) {
|
|
71031
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
71032
|
-
$backgroundColor:
|
|
71040
|
+
return /* @__PURE__ */ (0, Y.jsx)(qfe, {
|
|
71041
|
+
$backgroundColor: Kfe[e === "medium" ? "mediumColor" : e].background,
|
|
71033
71042
|
$marginTop: a5[t].spacings.top,
|
|
71034
71043
|
$marginBottom: a5[t].spacings.bottom,
|
|
71035
71044
|
$dividerHeight: parseInt(n),
|
|
71036
71045
|
...r,
|
|
71037
71046
|
ref: i
|
|
71038
71047
|
});
|
|
71039
|
-
}),
|
|
71048
|
+
}), Jfe = Q.div.withConfig({
|
|
71040
71049
|
displayName: "DialogContent__StyledDialogContent",
|
|
71041
71050
|
componentId: "sc-1tze18k-0"
|
|
71042
71051
|
})(({ theme: e, $scrollable: t }) => Rz([
|
|
@@ -71048,21 +71057,21 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
71048
71057
|
";&:first-child{padding-top:var(--content-spacing-top);}&:last-child{padding-bottom:",
|
|
71049
71058
|
";}",
|
|
71050
71059
|
""
|
|
71051
|
-
], e.entities.children.spacings.top, E6(e.entities.content.typography), e.entities.content.minHeight, e.entities.children.spacings.right, e.entities.children.spacings.left, e.entities.children.spacings.bottom, t && Rz(["&:not(:first-child){margin-top:calc(var(--content-spacing-top) * -1);}padding-top:var(--content-spacing-top);margin-bottom:calc(var(--content-spacing-top) * -1);padding-bottom:var(--content-spacing-top);min-height:initial;height:", ";overflow-y:auto;"], e.entities.content.height))),
|
|
71060
|
+
], e.entities.children.spacings.top, E6(e.entities.content.typography), e.entities.content.minHeight, e.entities.children.spacings.right, e.entities.children.spacings.left, e.entities.children.spacings.bottom, t && Rz(["&:not(:first-child){margin-top:calc(var(--content-spacing-top) * -1);}padding-top:var(--content-spacing-top);margin-bottom:calc(var(--content-spacing-top) * -1);padding-bottom:var(--content-spacing-top);min-height:initial;height:", ";overflow-y:auto;"], e.entities.content.height))), Yfe = Q(c5).withConfig({
|
|
71052
71061
|
displayName: "DialogContent__StyledDivider",
|
|
71053
71062
|
componentId: "sc-1tze18k-1"
|
|
71054
71063
|
})(["width:100%;margin:0;"]), l5 = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, scrollable: t = !1, ...n }, r) {
|
|
71055
|
-
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
71064
|
+
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(Jfe, {
|
|
71056
71065
|
id: "eds-dialog-customcontent",
|
|
71057
71066
|
$scrollable: t,
|
|
71058
71067
|
ref: r,
|
|
71059
71068
|
...n,
|
|
71060
71069
|
children: e
|
|
71061
|
-
}), e && t && /* @__PURE__ */ (0, Y.jsx)(
|
|
71070
|
+
}), e && t && /* @__PURE__ */ (0, Y.jsx)(Yfe, {
|
|
71062
71071
|
color: "medium",
|
|
71063
71072
|
variant: "small"
|
|
71064
71073
|
})] });
|
|
71065
|
-
}),
|
|
71074
|
+
}), Xfe = Q.div.withConfig({
|
|
71066
71075
|
displayName: "DialogHeader__StyledDialogHeader",
|
|
71067
71076
|
componentId: "sc-mbwcos-0"
|
|
71068
71077
|
})(({ theme: e }) => Rz([
|
|
@@ -71070,23 +71079,23 @@ var { spacings: { comfortable: { medium: r5 } }, typography: { ui: { accordion_h
|
|
|
71070
71079
|
" ",
|
|
71071
71080
|
" 0 ",
|
|
71072
71081
|
";"
|
|
71073
|
-
], e.entities.children.spacings.top, e.entities.children.spacings.right, e.entities.children.spacings.left)),
|
|
71082
|
+
], e.entities.children.spacings.top, e.entities.children.spacings.right, e.entities.children.spacings.left)), Zfe = Q(c5).withConfig({
|
|
71074
71083
|
displayName: "DialogHeader__StyledDivider",
|
|
71075
71084
|
componentId: "sc-mbwcos-1"
|
|
71076
|
-
})(["margin-bottom:0;"]),
|
|
71085
|
+
})(["margin-bottom:0;"]), Qfe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
71077
71086
|
return /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
71078
71087
|
...t,
|
|
71079
71088
|
ref: n,
|
|
71080
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
71089
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(Xfe, { children: e }), /* @__PURE__ */ (0, Y.jsx)(Zfe, {
|
|
71081
71090
|
variant: "small",
|
|
71082
71091
|
color: "medium"
|
|
71083
71092
|
})]
|
|
71084
71093
|
});
|
|
71085
|
-
}), u5 =
|
|
71086
|
-
u5.Actions =
|
|
71094
|
+
}), u5 = Ffe;
|
|
71095
|
+
u5.Actions = Lfe, u5.Title = zfe, u5.CustomContent = l5, u5.Content = l5, u5.Header = Qfe, u5.Actions.displayName = "Dialog.Actions", u5.Title.displayName = "Dialog.Title", u5.Content.displayName = "Dialog.Content", u5.Header.displayName = "Dialog.Header";
|
|
71087
71096
|
//#endregion
|
|
71088
71097
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Snackbar/SnackbarAction.js
|
|
71089
|
-
var
|
|
71098
|
+
var $fe = Q.div.withConfig({
|
|
71090
71099
|
displayName: "SnackbarAction__StyledSnackbarAction",
|
|
71091
71100
|
componentId: "sc-1v5mjvd-0"
|
|
71092
71101
|
})(({ theme: e }) => Rz([
|
|
@@ -71094,27 +71103,27 @@ var Qfe = Q.div.withConfig({
|
|
|
71094
71103
|
";margin-top:",
|
|
71095
71104
|
";margin-bottom:",
|
|
71096
71105
|
";"
|
|
71097
|
-
], e.entities.actions.spacings.left, e.entities.actions.spacings.top, e.entities.actions.spacings.bottom)),
|
|
71098
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
71106
|
+
], e.entities.actions.spacings.left, e.entities.actions.spacings.top, e.entities.actions.spacings.bottom)), epe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, ...t }, n) {
|
|
71107
|
+
return /* @__PURE__ */ (0, Y.jsx)($fe, {
|
|
71099
71108
|
...t,
|
|
71100
71109
|
ref: n,
|
|
71101
71110
|
children: W.Children.only(e)
|
|
71102
71111
|
});
|
|
71103
|
-
}), { typography: { ui: { snackbar:
|
|
71104
|
-
background:
|
|
71105
|
-
minHeight:
|
|
71112
|
+
}), { typography: { ui: { snackbar: tpe } }, colors: { ui: { background__overlay: { rgba: npe } }, text: { static_icons__primary_white: { rgba: rpe } }, interactive: { link_in_snackbars: { rgba: ipe } } }, spacings: { comfortable: { medium: d5, x_large: ape } }, clickbounds: { default__base: ope }, shape: { button: { borderRadius: spe } } } = a0, cpe = {
|
|
71113
|
+
background: npe,
|
|
71114
|
+
minHeight: ope,
|
|
71106
71115
|
border: {
|
|
71107
71116
|
type: "border",
|
|
71108
71117
|
width: 0,
|
|
71109
|
-
radius:
|
|
71118
|
+
radius: spe
|
|
71110
71119
|
},
|
|
71111
71120
|
entities: {
|
|
71112
71121
|
actions: { spacings: {
|
|
71113
|
-
left:
|
|
71122
|
+
left: ape,
|
|
71114
71123
|
top: "-10px",
|
|
71115
71124
|
bottom: "-10px"
|
|
71116
71125
|
} },
|
|
71117
|
-
button: { typography: { color:
|
|
71126
|
+
button: { typography: { color: ipe } }
|
|
71118
71127
|
},
|
|
71119
71128
|
spacings: {
|
|
71120
71129
|
left: d5,
|
|
@@ -71123,11 +71132,11 @@ var Qfe = Q.div.withConfig({
|
|
|
71123
71132
|
top: d5
|
|
71124
71133
|
},
|
|
71125
71134
|
typography: {
|
|
71126
|
-
...
|
|
71127
|
-
color:
|
|
71135
|
+
...tpe,
|
|
71136
|
+
color: rpe
|
|
71128
71137
|
},
|
|
71129
71138
|
modes: { compact: {} }
|
|
71130
|
-
},
|
|
71139
|
+
}, lpe = Q("div").withConfig({
|
|
71131
71140
|
shouldForwardProp: () => !0,
|
|
71132
71141
|
displayName: "Snackbar__PopoverDiv",
|
|
71133
71142
|
componentId: "sc-ac6no8-0"
|
|
@@ -71137,7 +71146,7 @@ var Qfe = Q.div.withConfig({
|
|
|
71137
71146
|
right: t.includes("right") ? e.spacings.right : void 0,
|
|
71138
71147
|
left: t.includes("left") ? e.spacings.left : t === "top" || t === "bottom" ? "50%" : void 0,
|
|
71139
71148
|
transform: t === "left" || t === "right" ? "translateY(-50%)" : t === "top" || t === "bottom" ? "translateX(-50%)" : void 0
|
|
71140
|
-
})),
|
|
71149
|
+
})), upe = Q(J8).withConfig({
|
|
71141
71150
|
displayName: "Snackbar__StyledSnackbar",
|
|
71142
71151
|
componentId: "sc-ac6no8-1"
|
|
71143
71152
|
})(({ theme: e }) => Rz([
|
|
@@ -71158,14 +71167,14 @@ var Qfe = Q.div.withConfig({
|
|
|
71158
71167
|
...a
|
|
71159
71168
|
}, { density: d } = H6();
|
|
71160
71169
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
71161
|
-
theme: V6({ density: d },
|
|
71162
|
-
children: s && /* @__PURE__ */ (0, Y.jsx)(
|
|
71170
|
+
theme: V6({ density: d }, cpe),
|
|
71171
|
+
children: s && /* @__PURE__ */ (0, Y.jsx)(lpe, {
|
|
71163
71172
|
popover: "manual",
|
|
71164
71173
|
$placement: r,
|
|
71165
71174
|
ref: (e) => {
|
|
71166
71175
|
e?.showPopover();
|
|
71167
71176
|
},
|
|
71168
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
71177
|
+
children: /* @__PURE__ */ (0, Y.jsx)(upe, {
|
|
71169
71178
|
role: "alert",
|
|
71170
71179
|
elevation: "overlay",
|
|
71171
71180
|
...u,
|
|
@@ -71174,51 +71183,51 @@ var Qfe = Q.div.withConfig({
|
|
|
71174
71183
|
})
|
|
71175
71184
|
});
|
|
71176
71185
|
});
|
|
71177
|
-
f5.Action =
|
|
71186
|
+
f5.Action = epe;
|
|
71178
71187
|
//#endregion
|
|
71179
71188
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Progress/Circular/CircularProgress.tokens.js
|
|
71180
71189
|
var p5 = /* @__PURE__ */ te({
|
|
71181
|
-
neutral: () =>
|
|
71182
|
-
primary: () =>
|
|
71183
|
-
}), { colors: { infographic: { primary__moss_green_13: { rgba:
|
|
71184
|
-
background:
|
|
71185
|
-
entities: { progress: { background: dpe } }
|
|
71186
|
-
}, hpe = {
|
|
71187
|
-
background: ppe,
|
|
71190
|
+
neutral: () => gpe,
|
|
71191
|
+
primary: () => hpe
|
|
71192
|
+
}), { colors: { infographic: { primary__moss_green_13: { rgba: dpe }, primary__moss_green_100: { rgba: fpe } }, interactive: { icon_on_interactive_colors: { rgba: ppe } }, ui: { background__semitransparent: { rgba: mpe } } } } = a0, hpe = {
|
|
71193
|
+
background: dpe,
|
|
71188
71194
|
entities: { progress: { background: fpe } }
|
|
71189
|
-
}, gpe =
|
|
71195
|
+
}, gpe = {
|
|
71196
|
+
background: mpe,
|
|
71197
|
+
entities: { progress: { background: ppe } }
|
|
71198
|
+
}, _pe = Gz(["100%{transform:rotate(360deg);}"]), vpe = Q.svg.withConfig({
|
|
71190
71199
|
displayName: "CircularProgress__Svg",
|
|
71191
71200
|
componentId: "sc-hib054-0"
|
|
71192
|
-
})(["display:inline-block;", ";"], ({ $variant: e }) => e === "indeterminate" ? Rz(["animation:", " 1.4s linear infinite;"],
|
|
71201
|
+
})(["display:inline-block;", ";"], ({ $variant: e }) => e === "indeterminate" ? Rz(["animation:", " 1.4s linear infinite;"], _pe) : Rz(["transform:rotate(-90deg);"])), ype = Q.output.withConfig({
|
|
71193
71202
|
displayName: "CircularProgress__SrOnlyOutput",
|
|
71194
71203
|
componentId: "sc-hib054-1"
|
|
71195
|
-
})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;"]),
|
|
71204
|
+
})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0;"]), bpe = Q.circle.withConfig({
|
|
71196
71205
|
displayName: "CircularProgress__TrackCircle",
|
|
71197
71206
|
componentId: "sc-hib054-2"
|
|
71198
|
-
})([""]),
|
|
71207
|
+
})([""]), xpe = Q.circle.withConfig({
|
|
71199
71208
|
displayName: "CircularProgress__ProgressCircle",
|
|
71200
71209
|
componentId: "sc-hib054-3"
|
|
71201
|
-
})([""]),
|
|
71210
|
+
})([""]), Spe = (e) => p5[e] ? p5[e] : {
|
|
71202
71211
|
background: "transparent",
|
|
71203
71212
|
entities: { progress: { background: e } }
|
|
71204
|
-
},
|
|
71213
|
+
}, Cpe = /* @__PURE__ */ (0, W.forwardRef)(function({ variant: e = "indeterminate", value: t = null, size: n = 48, color: r = "primary", ...i }, a) {
|
|
71205
71214
|
let o = Math.round(t), s = {}, c = {
|
|
71206
71215
|
...i,
|
|
71207
71216
|
ref: a,
|
|
71208
71217
|
$variant: e
|
|
71209
|
-
}, l =
|
|
71218
|
+
}, l = Spe(r), [u, d] = (0, W.useState)(0), f = 2 * Math.PI * (44 / 2);
|
|
71210
71219
|
e === "determinate" && (s.stroke = f.toFixed(3), s.strokeDashoffset = `${((100 - o) / 100 * f).toFixed(3)}px`, c["aria-valuenow"] = o, t !== void 0 && (c["aria-valuenow"] = o, c["aria-valuemin"] = 0, c["aria-valuemax"] = 100)), (0, W.useEffect)(() => {
|
|
71211
71220
|
e !== "indeterminate" && (o >= 25 && o < 50 ? d(25) : o >= 50 && o < 75 ? d(50) : o >= 75 && o < 100 ? d(75) : o === 100 && d(100));
|
|
71212
71221
|
}, [o, e]);
|
|
71213
71222
|
let p = () => `Loading ${u}%`;
|
|
71214
|
-
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsxs)(
|
|
71223
|
+
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsxs)(vpe, {
|
|
71215
71224
|
...c,
|
|
71216
71225
|
viewBox: "24 24 48 48",
|
|
71217
71226
|
role: "progressbar",
|
|
71218
71227
|
height: n,
|
|
71219
71228
|
width: n,
|
|
71220
71229
|
preserveAspectRatio: "xMidYMid meet",
|
|
71221
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
71230
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(bpe, {
|
|
71222
71231
|
style: s,
|
|
71223
71232
|
cx: 48,
|
|
71224
71233
|
cy: 48,
|
|
@@ -71226,7 +71235,7 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71226
71235
|
fill: "none",
|
|
71227
71236
|
strokeWidth: 4,
|
|
71228
71237
|
stroke: l.background
|
|
71229
|
-
}), /* @__PURE__ */ (0, Y.jsx)(
|
|
71238
|
+
}), /* @__PURE__ */ (0, Y.jsx)(xpe, {
|
|
71230
71239
|
style: s,
|
|
71231
71240
|
cx: 48,
|
|
71232
71241
|
cy: 48,
|
|
@@ -71237,12 +71246,12 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71237
71246
|
strokeDasharray: e === "determinate" ? f : 48,
|
|
71238
71247
|
stroke: l.entities.progress.background
|
|
71239
71248
|
})]
|
|
71240
|
-
}), e === "determinate" && /* @__PURE__ */ (0, Y.jsx)(
|
|
71249
|
+
}), e === "determinate" && /* @__PURE__ */ (0, Y.jsx)(ype, { children: p() })] });
|
|
71241
71250
|
}), m5 = {
|
|
71242
71251
|
focusedIndex: -1,
|
|
71243
71252
|
initialFocus: null,
|
|
71244
71253
|
onClose: null
|
|
71245
|
-
}, h5 = /* @__PURE__ */ (0, W.createContext)(m5),
|
|
71254
|
+
}, h5 = /* @__PURE__ */ (0, W.createContext)(m5), wpe = ({ children: e }) => {
|
|
71246
71255
|
let [t, n] = (0, W.useState)(m5), { focusedIndex: r, initialFocus: i, onClose: a } = t, o = (e) => {
|
|
71247
71256
|
n((t) => ({
|
|
71248
71257
|
...t,
|
|
@@ -71273,8 +71282,8 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71273
71282
|
value: c,
|
|
71274
71283
|
children: e
|
|
71275
71284
|
});
|
|
71276
|
-
}, g5 = () => (0, W.useContext)(h5), { colors: { ui: { background__default: { rgba:
|
|
71277
|
-
background:
|
|
71285
|
+
}, g5 = () => (0, W.useContext)(h5), { colors: { ui: { background__default: { rgba: Tpe } }, interactive: { primary__selected_highlight: { rgba: Epe }, primary__resting: { rgba: Dpe }, focus: { rgba: Ope }, disabled__fill: { rgba: kpe }, disabled__text: { rgba: Ape }, table__header__fill_hover: { rgba: jpe } }, text: { static_icons__default: { rgba: Mpe } } }, spacings: { comfortable: { medium: _5, large: v5, small: y5 } }, typography: { navigation: { menu_title: b5 } } } = a0, x5 = {
|
|
71286
|
+
background: Tpe,
|
|
71278
71287
|
spacings: {
|
|
71279
71288
|
top: y5,
|
|
71280
71289
|
bottom: y5,
|
|
@@ -71287,10 +71296,10 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71287
71296
|
},
|
|
71288
71297
|
typography: {
|
|
71289
71298
|
...b5,
|
|
71290
|
-
color:
|
|
71299
|
+
color: Mpe
|
|
71291
71300
|
},
|
|
71292
71301
|
entities: {
|
|
71293
|
-
icon: { states: { disabled: { typography: { color:
|
|
71302
|
+
icon: { states: { disabled: { typography: { color: kpe } } } },
|
|
71294
71303
|
item: {
|
|
71295
71304
|
spacings: {
|
|
71296
71305
|
left: v5,
|
|
@@ -71302,21 +71311,21 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71302
71311
|
active: {
|
|
71303
71312
|
typography: {
|
|
71304
71313
|
...b5,
|
|
71305
|
-
color:
|
|
71314
|
+
color: Dpe
|
|
71306
71315
|
},
|
|
71307
|
-
background:
|
|
71316
|
+
background: Epe
|
|
71308
71317
|
},
|
|
71309
71318
|
focus: { outline: {
|
|
71310
|
-
color:
|
|
71319
|
+
color: Ope,
|
|
71311
71320
|
style: "dashed",
|
|
71312
71321
|
type: "outline",
|
|
71313
71322
|
width: "2px",
|
|
71314
71323
|
offset: "2px"
|
|
71315
71324
|
} },
|
|
71316
|
-
hover: { background:
|
|
71325
|
+
hover: { background: jpe },
|
|
71317
71326
|
disabled: { typography: {
|
|
71318
71327
|
...b5,
|
|
71319
|
-
color:
|
|
71328
|
+
color: Ape
|
|
71320
71329
|
} }
|
|
71321
71330
|
}
|
|
71322
71331
|
},
|
|
@@ -71333,7 +71342,7 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71333
71342
|
top: y5,
|
|
71334
71343
|
bottom: y5
|
|
71335
71344
|
} } } } }
|
|
71336
|
-
}, { typography:
|
|
71345
|
+
}, { typography: Npe, entities: { item: { states: { active: S5, focus: Ppe, hover: Fpe, disabled: Ipe } }, icon: Lpe } } = x5, Rpe = Q.button.attrs(({ $isFocused: e }) => ({
|
|
71337
71346
|
role: "menuitem",
|
|
71338
71347
|
tabIndex: e ? -1 : 0
|
|
71339
71348
|
})).withConfig({
|
|
@@ -71345,7 +71354,7 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71345
71354
|
" ",
|
|
71346
71355
|
" ",
|
|
71347
71356
|
""
|
|
71348
|
-
], E6(
|
|
71357
|
+
], E6(Npe), ({ theme: e }) => D6(e.entities.item.spacings), ({ $active: e }) => e && Rz([
|
|
71349
71358
|
"background:",
|
|
71350
71359
|
";*{color:",
|
|
71351
71360
|
";}"
|
|
@@ -71353,18 +71362,18 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71353
71362
|
"*{color:",
|
|
71354
71363
|
";}svg{fill:",
|
|
71355
71364
|
";}@media (hover:hover) and (pointer:fine){&:hover{cursor:not-allowed;}}"
|
|
71356
|
-
],
|
|
71365
|
+
], Ipe.typography.color, Lpe.states.disabled.typography.color) : Rz([
|
|
71357
71366
|
"@media (hover:hover) and (pointer:fine){&:hover{cursor:pointer;background:",
|
|
71358
71367
|
";}}&:focus-visible{z-index:3;",
|
|
71359
71368
|
"}"
|
|
71360
|
-
],
|
|
71369
|
+
], Fpe.background, j6(Ppe.outline))), zpe = Q.div.withConfig({
|
|
71361
71370
|
displayName: "MenuItem__Content",
|
|
71362
71371
|
componentId: "sc-1g9fpbe-1"
|
|
71363
71372
|
})(["width:auto;display:grid;grid-gap:16px;grid-auto-flow:column;grid-auto-columns:max-content auto max-content;align-items:center;"]), C5 = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, disabled: t, active: n, index: r = 0, as: i = "button", onClick: a, closeMenuOnClick: o = !0, ...s }, c) {
|
|
71364
71373
|
let { focusedIndex: l, setFocusedIndex: u, onClose: d } = g5(), f = (e) => {
|
|
71365
71374
|
l !== e && u(e);
|
|
71366
71375
|
}, p = r === l;
|
|
71367
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
71376
|
+
return /* @__PURE__ */ (0, Y.jsx)(Rpe, {
|
|
71368
71377
|
...s,
|
|
71369
71378
|
as: i,
|
|
71370
71379
|
disabled: t,
|
|
@@ -71380,20 +71389,20 @@ var p5 = /* @__PURE__ */ te({
|
|
|
71380
71389
|
onClick: (e) => {
|
|
71381
71390
|
a && a(e), d !== null && o && d(e);
|
|
71382
71391
|
},
|
|
71383
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
71392
|
+
children: /* @__PURE__ */ (0, Y.jsx)(zpe, { children: e })
|
|
71384
71393
|
});
|
|
71385
71394
|
});
|
|
71386
71395
|
C5.displayName = "MenuItem";
|
|
71387
71396
|
//#endregion
|
|
71388
71397
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Menu/MenuSection.js
|
|
71389
|
-
var
|
|
71398
|
+
var Bpe = Q.div.attrs(() => ({ tabIndex: 0 })).withConfig({
|
|
71390
71399
|
displayName: "MenuSection__Header",
|
|
71391
71400
|
componentId: "sc-gfcbvg-0"
|
|
71392
71401
|
})(["", " &:focus{outline:none;}"], D6(x5.entities.title.spacings)), w5 = /* @__PURE__ */ (0, W.memo)(function(e) {
|
|
71393
71402
|
let { children: t, title: n, index: r } = e;
|
|
71394
71403
|
return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
|
|
71395
71404
|
r !== 0 && /* @__PURE__ */ (0, Y.jsx)("div", { children: /* @__PURE__ */ (0, Y.jsx)(c5, { variant: "small" }) }),
|
|
71396
|
-
n && /* @__PURE__ */ (0, Y.jsx)(
|
|
71405
|
+
n && /* @__PURE__ */ (0, Y.jsx)(Bpe, {
|
|
71397
71406
|
role: "group",
|
|
71398
71407
|
children: /* @__PURE__ */ (0, Y.jsx)($8, {
|
|
71399
71408
|
group: "navigation",
|
|
@@ -71403,24 +71412,24 @@ var zpe = Q.div.attrs(() => ({ tabIndex: 0 })).withConfig({
|
|
|
71403
71412
|
}),
|
|
71404
71413
|
t
|
|
71405
71414
|
] });
|
|
71406
|
-
}),
|
|
71415
|
+
}), Vpe = Q.div.withConfig({
|
|
71407
71416
|
displayName: "MenuList__List",
|
|
71408
71417
|
componentId: "sc-104rzof-0"
|
|
71409
71418
|
})(["position:relative;list-style:none;display:flex;flex-direction:column;margin:0;", " li:first-child{z-index:3;}"], D6(x5.spacings));
|
|
71410
71419
|
function T5(e) {
|
|
71411
71420
|
return !!(/* @__PURE__ */ (0, W.isValidElement)(e) && !e.props.disabled && e.type === C5);
|
|
71412
71421
|
}
|
|
71413
|
-
function
|
|
71422
|
+
function Hpe(e) {
|
|
71414
71423
|
return !!(/* @__PURE__ */ (0, W.isValidElement)(e) && e.type === C5 && e.props.closeMenuOnClick !== !1);
|
|
71415
71424
|
}
|
|
71416
|
-
var
|
|
71425
|
+
var Upe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex: e, children: t, ...n }, r) {
|
|
71417
71426
|
let { focusedIndex: i, setFocusedIndex: a, initialFocus: o } = g5(), s = -1, c = (0, W.useMemo)(() => [], []), l = (0, W.useMemo)(() => W.Children.map(t, (t) => {
|
|
71418
71427
|
if (!t) return t;
|
|
71419
71428
|
if (t.type === w5) {
|
|
71420
71429
|
s++;
|
|
71421
71430
|
let e = s, n = W.Children.map(t.props.children, (e) => (s++, T5(e) && c.push(s), /* @__PURE__ */ (0, W.cloneElement)(e, { index: s })));
|
|
71422
71431
|
return /* @__PURE__ */ (0, W.cloneElement)(t, { index: e }, n);
|
|
71423
|
-
} else return s++, T5(t) && c.push(s),
|
|
71432
|
+
} else return s++, T5(t) && c.push(s), Hpe(t) && e(s), /* @__PURE__ */ (0, W.cloneElement)(t, { index: s });
|
|
71424
71433
|
}), [
|
|
71425
71434
|
t,
|
|
71426
71435
|
c,
|
|
@@ -71438,7 +71447,7 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71438
71447
|
let n = e === "down" ? 1 : -1, r = c[c.indexOf(i) + n];
|
|
71439
71448
|
a(r === void 0 ? t : r);
|
|
71440
71449
|
};
|
|
71441
|
-
return /* @__PURE__ */ (0, Y.jsx)(
|
|
71450
|
+
return /* @__PURE__ */ (0, Y.jsx)(Vpe, {
|
|
71442
71451
|
onKeyDown: (e) => {
|
|
71443
71452
|
let { key: t } = e;
|
|
71444
71453
|
e.stopPropagation(), t === "ArrowDown" && (e.preventDefault(), f("down", u)), t === "ArrowUp" && (e.preventDefault(), f("up", d));
|
|
@@ -71448,13 +71457,13 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71448
71457
|
ref: r,
|
|
71449
71458
|
children: l
|
|
71450
71459
|
});
|
|
71451
|
-
}), { border:
|
|
71460
|
+
}), { border: Wpe } = x5, Gpe = Q(J8).withConfig({
|
|
71452
71461
|
displayName: "Menu__MenuPaper",
|
|
71453
71462
|
componentId: "sc-1vlnqcj-0"
|
|
71454
|
-
})(["width:100%;min-width:fit-content;", ";"], T6(
|
|
71463
|
+
})(["width:100%;min-width:fit-content;", ";"], T6(Wpe)), Kpe = Q("div").withConfig({ shouldForwardProp: () => !0 }).withConfig({
|
|
71455
71464
|
displayName: "Menu__StyledPopover",
|
|
71456
71465
|
componentId: "sc-1vlnqcj-1"
|
|
71457
|
-
})(["inset:unset;border:0;padding:0;margin:0;overflow:visible;background-color:transparent;&::backdrop{background-color:transparent;}"]),
|
|
71466
|
+
})(["inset:unset;border:0;padding:0;margin:0;overflow:visible;background-color:transparent;&::backdrop{background-color:transparent;}"]), qpe = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, anchorEl: t, onClose: n, open: r, ...i }, a) {
|
|
71458
71467
|
let { setOnClose: o, onClose: s, setInitialFocus: c, focusedIndex: l } = g5(), u = (0, W.useMemo)(() => [], []);
|
|
71459
71468
|
return (0, W.useEffect)(() => {
|
|
71460
71469
|
s === null && n && o(n);
|
|
@@ -71484,7 +71493,7 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71484
71493
|
r && s !== null && u.includes(l) && setTimeout(() => {
|
|
71485
71494
|
window.document.contains(t) && t.focus();
|
|
71486
71495
|
}, 0);
|
|
71487
|
-
}), /* @__PURE__ */ (0, Y.jsx)(
|
|
71496
|
+
}), /* @__PURE__ */ (0, Y.jsx)(Upe, {
|
|
71488
71497
|
addCloseMenuOnClickIndex: (e) => {
|
|
71489
71498
|
u.indexOf(e) < 0 && u.push(e);
|
|
71490
71499
|
},
|
|
@@ -71498,7 +71507,7 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71498
71507
|
p8(),
|
|
71499
71508
|
f8({ padding: 8 })
|
|
71500
71509
|
];
|
|
71501
|
-
r && (d = [...d,
|
|
71510
|
+
r && (d = [...d, Zue({ apply({ rects: e, elements: t }) {
|
|
71502
71511
|
Object.assign(t.floating.style, { width: `${e.reference.width}px` });
|
|
71503
71512
|
} })]);
|
|
71504
71513
|
let { x: f, y: p, refs: m, update: h, strategy: g, context: _ } = M8({
|
|
@@ -71526,7 +71535,7 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71526
71535
|
};
|
|
71527
71536
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
71528
71537
|
theme: u,
|
|
71529
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
71538
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Kpe, {
|
|
71530
71539
|
popover: "manual",
|
|
71531
71540
|
...y({
|
|
71532
71541
|
ref: v,
|
|
@@ -71537,10 +71546,10 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71537
71546
|
left: f || 0
|
|
71538
71547
|
}
|
|
71539
71548
|
}),
|
|
71540
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
71549
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Gpe, {
|
|
71541
71550
|
elevation: "raised",
|
|
71542
71551
|
...b,
|
|
71543
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
71552
|
+
children: /* @__PURE__ */ (0, Y.jsx)(wpe, { children: /* @__PURE__ */ (0, Y.jsx)(qpe, {
|
|
71544
71553
|
...x,
|
|
71545
71554
|
ref: c
|
|
71546
71555
|
}) })
|
|
@@ -71551,16 +71560,16 @@ var Hpe = /* @__PURE__ */ (0, W.forwardRef)(function({ addCloseMenuOnClickIndex:
|
|
|
71551
71560
|
E5.Item = C5, E5.Section = w5, E5.Item.displayName = "Menu.Item", E5.Section.displayName = "Menu.Section";
|
|
71552
71561
|
//#endregion
|
|
71553
71562
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Input/Input.tokens.js
|
|
71554
|
-
var
|
|
71563
|
+
var Jpe = /* @__PURE__ */ te({
|
|
71555
71564
|
error: () => B5,
|
|
71556
71565
|
input: () => z5,
|
|
71557
71566
|
inputToken: () => U5,
|
|
71558
71567
|
success: () => H5,
|
|
71559
71568
|
warning: () => V5
|
|
71560
|
-
}), { colors: { ui: { background__light: { rgba:
|
|
71569
|
+
}), { colors: { ui: { background__light: { rgba: Ype } }, text: { static_icons__default: Xpe, static_icons__tertiary: D5 }, interactive: { disabled__text: O5, primary__resting: Zpe, danger__resting: k5, danger__hover: A5, warning__resting: j5, warning__hover: M5, success__resting: N5, success__hover: P5 } }, spacings: { comfortable: { small: F5, x_small: I5 } }, typography: L5, shape: R5 } = a0, z5 = {
|
|
71561
71570
|
height: R5.straight.minHeight,
|
|
71562
71571
|
width: "100%",
|
|
71563
|
-
background:
|
|
71572
|
+
background: Ype,
|
|
71564
71573
|
spacings: {
|
|
71565
71574
|
left: F5,
|
|
71566
71575
|
right: F5,
|
|
@@ -71569,7 +71578,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71569
71578
|
},
|
|
71570
71579
|
typography: {
|
|
71571
71580
|
...L5.input.text,
|
|
71572
|
-
color:
|
|
71581
|
+
color: Xpe.rgba
|
|
71573
71582
|
},
|
|
71574
71583
|
outline: {
|
|
71575
71584
|
type: "outline",
|
|
@@ -71602,7 +71611,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71602
71611
|
focus: { outline: {
|
|
71603
71612
|
type: "outline",
|
|
71604
71613
|
width: "2px",
|
|
71605
|
-
color:
|
|
71614
|
+
color: Zpe.rgba,
|
|
71606
71615
|
style: "solid",
|
|
71607
71616
|
offset: "0px"
|
|
71608
71617
|
} }
|
|
@@ -71655,7 +71664,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71655
71664
|
error: B5,
|
|
71656
71665
|
warning: V5,
|
|
71657
71666
|
success: H5
|
|
71658
|
-
},
|
|
71667
|
+
}, Qpe = Q.div.withConfig({
|
|
71659
71668
|
displayName: "Input__Container",
|
|
71660
71669
|
componentId: "sc-1ykv024-0"
|
|
71661
71670
|
})(({ $token: e, disabled: t, readOnly: n }) => {
|
|
@@ -71681,7 +71690,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71681
71690
|
background: r.readOnly.background,
|
|
71682
71691
|
boxShadow: r.readOnly.boxShadow
|
|
71683
71692
|
}));
|
|
71684
|
-
}),
|
|
71693
|
+
}), $pe = Q.input.withConfig({
|
|
71685
71694
|
displayName: "Input__StyledInput",
|
|
71686
71695
|
componentId: "sc-1ykv024-1"
|
|
71687
71696
|
})(({ $token: e, $paddingLeft: t, $paddingRight: n }) => Rz([
|
|
@@ -71699,10 +71708,10 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71699
71708
|
";bottom:",
|
|
71700
71709
|
";display:flex;align-items:center;",
|
|
71701
71710
|
" color:var(--eds-input-adornment-color);"
|
|
71702
|
-
], e.spacings.top, e.spacings.bottom, M6(e.entities.adornment.typography))),
|
|
71711
|
+
], e.spacings.top, e.spacings.bottom, M6(e.entities.adornment.typography))), eme = Q(W5).withConfig({
|
|
71703
71712
|
displayName: "Input__LeftAdornments",
|
|
71704
71713
|
componentId: "sc-1ykv024-3"
|
|
71705
|
-
})(({ $token: e }) => Rz(["left:0;padding-left:", ";"], e.entities.adornment.spacings.left)),
|
|
71714
|
+
})(({ $token: e }) => Rz(["left:0;padding-left:", ";"], e.entities.adornment.spacings.left)), tme = Q(W5).withConfig({
|
|
71706
71715
|
displayName: "Input__RightAdornments",
|
|
71707
71716
|
componentId: "sc-1ykv024-4"
|
|
71708
71717
|
})(({ $token: e }) => Rz(["right:0;padding-right:", ";"], e.entities.adornment.spacings.right)), G5 = /* @__PURE__ */ (0, W.forwardRef)(function({ variant: e, disabled: t = !1, type: n = "text", leftAdornments: r, rightAdornments: i, readOnly: a, className: o, style: s, leftAdornmentsProps: c, rightAdornmentsProps: l, leftAdornmentsWidth: u, rightAdornmentsWidth: d, ...f }, p) {
|
|
@@ -71745,38 +71754,38 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71745
71754
|
ref: v,
|
|
71746
71755
|
$token: x
|
|
71747
71756
|
};
|
|
71748
|
-
return /* @__PURE__ */ (0, Y.jsxs)(
|
|
71757
|
+
return /* @__PURE__ */ (0, Y.jsxs)(Qpe, {
|
|
71749
71758
|
...C,
|
|
71750
71759
|
children: [
|
|
71751
|
-
r ? /* @__PURE__ */ (0, Y.jsx)(
|
|
71760
|
+
r ? /* @__PURE__ */ (0, Y.jsx)(eme, {
|
|
71752
71761
|
...w,
|
|
71753
71762
|
children: r
|
|
71754
71763
|
}) : null,
|
|
71755
|
-
/* @__PURE__ */ (0, Y.jsx)(
|
|
71764
|
+
/* @__PURE__ */ (0, Y.jsx)($pe, {
|
|
71756
71765
|
$paddingLeft: x.spacings.left,
|
|
71757
71766
|
$paddingRight: x.spacings.right,
|
|
71758
71767
|
...S
|
|
71759
71768
|
}),
|
|
71760
|
-
i ? /* @__PURE__ */ (0, Y.jsx)(
|
|
71769
|
+
i ? /* @__PURE__ */ (0, Y.jsx)(tme, {
|
|
71761
71770
|
...T,
|
|
71762
71771
|
children: i
|
|
71763
71772
|
}) : null
|
|
71764
71773
|
]
|
|
71765
71774
|
});
|
|
71766
|
-
}), { colors: { interactive: { primary__resting: { rgba:
|
|
71767
|
-
background:
|
|
71768
|
-
typography:
|
|
71769
|
-
width:
|
|
71775
|
+
}), { colors: { interactive: { primary__resting: { rgba: nme }, primary__hover_alt: { rgba: rme }, focus: { rgba: K5 }, disabled__text: { rgba: ime } } }, typography: { navigation: { menu_title: ame } }, spacings: { comfortable: { medium_small: q5, x_small: J5, x_large: ome, xx_large: sme } }, clickbounds: { default__base: cme, compact__standard: lme }, interactions: { focused: { width: Y5 } } } = a0, X5 = {
|
|
71776
|
+
background: nme,
|
|
71777
|
+
typography: ame,
|
|
71778
|
+
width: sme,
|
|
71770
71779
|
spacings: {
|
|
71771
71780
|
bottom: q5,
|
|
71772
71781
|
top: q5,
|
|
71773
71782
|
left: q5,
|
|
71774
71783
|
right: q5
|
|
71775
71784
|
},
|
|
71776
|
-
clickbound: { height:
|
|
71785
|
+
clickbound: { height: cme },
|
|
71777
71786
|
states: {
|
|
71778
|
-
hover: { background:
|
|
71779
|
-
disabled: { background:
|
|
71787
|
+
hover: { background: rme },
|
|
71788
|
+
disabled: { background: ime },
|
|
71780
71789
|
focus: { outline: {
|
|
71781
71790
|
type: "outline",
|
|
71782
71791
|
style: "dashed",
|
|
@@ -71786,14 +71795,14 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71786
71795
|
} }
|
|
71787
71796
|
},
|
|
71788
71797
|
modes: { compact: {
|
|
71789
|
-
width:
|
|
71798
|
+
width: ome,
|
|
71790
71799
|
spacings: {
|
|
71791
71800
|
bottom: J5,
|
|
71792
71801
|
top: J5,
|
|
71793
71802
|
left: J5,
|
|
71794
71803
|
right: J5
|
|
71795
71804
|
},
|
|
71796
|
-
clickbound: { height:
|
|
71805
|
+
clickbound: { height: lme },
|
|
71797
71806
|
states: { focus: { outline: {
|
|
71798
71807
|
type: "outline",
|
|
71799
71808
|
style: "dashed",
|
|
@@ -71809,7 +71818,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71809
71818
|
})).withConfig({
|
|
71810
71819
|
displayName: "Input__StyledPath",
|
|
71811
71820
|
componentId: "sc-rqj7qf-0"
|
|
71812
|
-
})([""]),
|
|
71821
|
+
})([""]), ume = Q.input.attrs(({ type: e = "checkbox" }) => ({ type: e })).withConfig({
|
|
71813
71822
|
displayName: "Input",
|
|
71814
71823
|
componentId: "sc-rqj7qf-1"
|
|
71815
71824
|
})([
|
|
@@ -71827,7 +71836,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71827
71836
|
})).withConfig({
|
|
71828
71837
|
displayName: "Input__Svg",
|
|
71829
71838
|
componentId: "sc-rqj7qf-2"
|
|
71830
|
-
})(["grid-area:input;pointer-events:none;"]),
|
|
71839
|
+
})(["grid-area:input;pointer-events:none;"]), dme = Q.span.withConfig({
|
|
71831
71840
|
displayName: "Input__InputWrapper",
|
|
71832
71841
|
componentId: "sc-rqj7qf-3"
|
|
71833
71842
|
})([
|
|
@@ -71848,9 +71857,9 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71848
71857
|
};
|
|
71849
71858
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
71850
71859
|
theme: s,
|
|
71851
|
-
children: /* @__PURE__ */ (0, Y.jsxs)(
|
|
71860
|
+
children: /* @__PURE__ */ (0, Y.jsxs)(dme, {
|
|
71852
71861
|
...l,
|
|
71853
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
71862
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(ume, {
|
|
71854
71863
|
$iconSize: 24,
|
|
71855
71864
|
...u
|
|
71856
71865
|
}), t ? /* @__PURE__ */ (0, Y.jsx)(Q5, {
|
|
@@ -71860,7 +71869,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71860
71869
|
fill: c,
|
|
71861
71870
|
"aria-hidden": !0,
|
|
71862
71871
|
children: /* @__PURE__ */ (0, Y.jsx)(Z5, {
|
|
71863
|
-
$icon:
|
|
71872
|
+
$icon: Pde,
|
|
71864
71873
|
name: "indeterminate"
|
|
71865
71874
|
})
|
|
71866
71875
|
}) : /* @__PURE__ */ (0, Y.jsxs)(Q5, {
|
|
@@ -71870,23 +71879,23 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71870
71879
|
fill: c,
|
|
71871
71880
|
"aria-hidden": !0,
|
|
71872
71881
|
children: [/* @__PURE__ */ (0, Y.jsx)(Z5, {
|
|
71873
|
-
$icon:
|
|
71882
|
+
$icon: Mde,
|
|
71874
71883
|
name: "checked"
|
|
71875
71884
|
}), /* @__PURE__ */ (0, Y.jsx)(Z5, {
|
|
71876
|
-
$icon:
|
|
71885
|
+
$icon: Nde,
|
|
71877
71886
|
name: "not-checked"
|
|
71878
71887
|
})]
|
|
71879
71888
|
})]
|
|
71880
71889
|
})
|
|
71881
71890
|
});
|
|
71882
|
-
}),
|
|
71891
|
+
}), fme = Q.label.withConfig({
|
|
71883
71892
|
displayName: "Checkbox__StyledLabel",
|
|
71884
71893
|
componentId: "sc-yg6l8h-0"
|
|
71885
|
-
})(["display:inline-flex;align-items:center;cursor:", ";"], ({ $disabled: e }) => e ? "not-allowed" : "pointer"),
|
|
71894
|
+
})(["display:inline-flex;align-items:center;cursor:", ";"], ({ $disabled: e }) => e ? "not-allowed" : "pointer"), pme = Q.span.withConfig({
|
|
71886
71895
|
displayName: "Checkbox__LabelText",
|
|
71887
71896
|
componentId: "sc-yg6l8h-1"
|
|
71888
71897
|
})(["", ";"], E6(X5.typography)), e7 = /* @__PURE__ */ (0, W.forwardRef)(function({ label: e, disabled: t = !1, indeterminate: n, className: r, style: i, ...a }, o) {
|
|
71889
|
-
return e ? /* @__PURE__ */ (0, Y.jsxs)(
|
|
71898
|
+
return e ? /* @__PURE__ */ (0, Y.jsxs)(fme, {
|
|
71890
71899
|
$disabled: t,
|
|
71891
71900
|
className: r,
|
|
71892
71901
|
style: i,
|
|
@@ -71895,7 +71904,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71895
71904
|
disabled: t,
|
|
71896
71905
|
ref: o,
|
|
71897
71906
|
indeterminate: n
|
|
71898
|
-
}), /* @__PURE__ */ (0, Y.jsx)(
|
|
71907
|
+
}), /* @__PURE__ */ (0, Y.jsx)(pme, { children: e })]
|
|
71899
71908
|
}) : /* @__PURE__ */ (0, Y.jsx)($5, {
|
|
71900
71909
|
...a,
|
|
71901
71910
|
className: r,
|
|
@@ -71908,7 +71917,7 @@ var qpe = /* @__PURE__ */ te({
|
|
|
71908
71917
|
e7.displayName = "Checkbox";
|
|
71909
71918
|
//#endregion
|
|
71910
71919
|
//#region ../../node_modules/.pnpm/react-is@18.3.1/node_modules/react-is/cjs/react-is.production.min.js
|
|
71911
|
-
var
|
|
71920
|
+
var mme = /* @__PURE__ */ e(((e) => {
|
|
71912
71921
|
var t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = Symbol.for("react.module.reference");
|
|
71913
71922
|
function g(e) {
|
|
71914
71923
|
if (typeof e == "object" && e) {
|
|
@@ -71965,7 +71974,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
71965
71974
|
}, e.isValidElementType = function(e) {
|
|
71966
71975
|
return !!(typeof e == "string" || typeof e == "function" || e === r || e === a || e === i || e === u || e === d || e === m || typeof e == "object" && e && (e.$$typeof === p || e.$$typeof === f || e.$$typeof === o || e.$$typeof === s || e.$$typeof === l || e.$$typeof === h || e.getModuleId !== void 0));
|
|
71967
71976
|
}, e.typeOf = g;
|
|
71968
|
-
})),
|
|
71977
|
+
})), hme = /* @__PURE__ */ e(((e) => {
|
|
71969
71978
|
process.env.NODE_ENV !== "production" && (function() {
|
|
71970
71979
|
var t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), h = !1, g = !1, _ = !1, v = !1, y = !1, b = Symbol.for("react.module.reference");
|
|
71971
71980
|
function x(e) {
|
|
@@ -72044,12 +72053,12 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72044
72053
|
}
|
|
72045
72054
|
e.ContextConsumer = C, e.ContextProvider = w, e.Element = T, e.ForwardRef = E, e.Fragment = D, e.Lazy = O, e.Memo = k, e.Portal = A, e.Profiler = ee, e.StrictMode = te, e.Suspense = j, e.SuspenseList = ne, e.isAsyncMode = ae, e.isConcurrentMode = oe, e.isContextConsumer = se, e.isContextProvider = ce, e.isElement = le, e.isForwardRef = ue, e.isFragment = de, e.isLazy = fe, e.isMemo = pe, e.isPortal = me, e.isProfiler = he, e.isStrictMode = M, e.isSuspense = ge, e.isSuspenseList = _e, e.isValidElementType = x, e.typeOf = S;
|
|
72046
72055
|
})();
|
|
72047
|
-
})),
|
|
72048
|
-
process.env.NODE_ENV === "production" ? t.exports =
|
|
72049
|
-
})), { colors: t7, spacings: { comfortable: n7 }, typography:
|
|
72056
|
+
})), gme = /* @__PURE__ */ e(((e, t) => {
|
|
72057
|
+
process.env.NODE_ENV === "production" ? t.exports = mme() : t.exports = hme();
|
|
72058
|
+
})), { colors: t7, spacings: { comfortable: n7 }, typography: _me } = a0, r7 = {
|
|
72050
72059
|
background: t7.ui.background__light.rgba,
|
|
72051
72060
|
typography: {
|
|
72052
|
-
...
|
|
72061
|
+
..._me.input.label,
|
|
72053
72062
|
color: t7.text.static_icons__tertiary.rgba
|
|
72054
72063
|
},
|
|
72055
72064
|
spacings: {
|
|
@@ -72057,7 +72066,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72057
72066
|
right: n7.small
|
|
72058
72067
|
},
|
|
72059
72068
|
states: { disabled: { typography: { color: t7.interactive.disabled__text.rgba } } }
|
|
72060
|
-
},
|
|
72069
|
+
}, vme = Q.label.withConfig({
|
|
72061
72070
|
displayName: "Label__LabelBase",
|
|
72062
72071
|
componentId: "sc-1gi2bcn-0"
|
|
72063
72072
|
})([
|
|
@@ -72071,16 +72080,16 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72071
72080
|
componentId: "sc-1gi2bcn-1"
|
|
72072
72081
|
})(["margin:0;"]), a7 = /* @__PURE__ */ (0, W.forwardRef)(function(e, t) {
|
|
72073
72082
|
let { label: n = "", meta: r, disabled: i = !1, ...a } = e;
|
|
72074
|
-
return /* @__PURE__ */ (0, Y.jsxs)(
|
|
72083
|
+
return /* @__PURE__ */ (0, Y.jsxs)(vme, {
|
|
72075
72084
|
ref: t,
|
|
72076
72085
|
$disabledText: i,
|
|
72077
72086
|
...a,
|
|
72078
72087
|
children: [/* @__PURE__ */ (0, Y.jsx)(i7, { children: n }), r && /* @__PURE__ */ (0, Y.jsx)(i7, { children: r })]
|
|
72079
72088
|
});
|
|
72080
|
-
}), { colors: o7, spacings: { comfortable: s7 }, typography:
|
|
72089
|
+
}), { colors: o7, spacings: { comfortable: s7 }, typography: yme } = a0, c7 = {
|
|
72081
72090
|
background: o7.ui.background__light.hex,
|
|
72082
72091
|
typography: {
|
|
72083
|
-
...
|
|
72092
|
+
...yme.input.helper,
|
|
72084
72093
|
color: o7.text.static_icons__tertiary.rgba
|
|
72085
72094
|
},
|
|
72086
72095
|
spacings: {
|
|
@@ -72095,7 +72104,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72095
72104
|
top: s7.xx_small
|
|
72096
72105
|
}
|
|
72097
72106
|
}
|
|
72098
|
-
},
|
|
72107
|
+
}, bme = Q.div.withConfig({
|
|
72099
72108
|
displayName: "HelperText__Container",
|
|
72100
72109
|
componentId: "sc-189ug61-0"
|
|
72101
72110
|
})(({ color: e }) => Rz({
|
|
@@ -72105,19 +72114,19 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72105
72114
|
alignItems: "start",
|
|
72106
72115
|
justifyContent: "start",
|
|
72107
72116
|
color: e
|
|
72108
|
-
})),
|
|
72117
|
+
})), xme = Q.p.withConfig({
|
|
72109
72118
|
displayName: "HelperText__Text",
|
|
72110
72119
|
componentId: "sc-189ug61-1"
|
|
72111
|
-
})(["margin:0;", ";white-space:pre-line;"], M6(c7.typography)),
|
|
72112
|
-
return e ? /* @__PURE__ */ (0, Y.jsxs)(
|
|
72120
|
+
})(["margin:0;", ";white-space:pre-line;"], M6(c7.typography)), Sme = /* @__PURE__ */ (0, W.forwardRef)(function({ text: e, icon: t, color: n = c7.typography.color, ...r }, i) {
|
|
72121
|
+
return e ? /* @__PURE__ */ (0, Y.jsxs)(bme, {
|
|
72113
72122
|
...r,
|
|
72114
72123
|
color: n,
|
|
72115
72124
|
ref: i,
|
|
72116
|
-
children: [t, /* @__PURE__ */ (0, Y.jsx)(
|
|
72125
|
+
children: [t, /* @__PURE__ */ (0, Y.jsx)(xme, { children: e })]
|
|
72117
72126
|
}) : null;
|
|
72118
|
-
}), { colors: { ui: { background__light: { rgba:
|
|
72127
|
+
}), { colors: { ui: { background__light: { rgba: Cme } }, text: { static_icons__default: wme, static_icons__tertiary: l7 }, interactive: { disabled__text: u7, primary__resting: Tme, danger__resting: Eme, danger__hover: d7, warning__resting: Dme, warning__hover: f7, success__resting: Ome, success__hover: p7 } }, spacings: { comfortable: { small: m7, x_small: h7 } }, typography: g7, shape: _7 } = a0, v7 = {
|
|
72119
72128
|
minHeight: _7.straight.minHeight,
|
|
72120
|
-
background:
|
|
72129
|
+
background: Cme,
|
|
72121
72130
|
spacings: {
|
|
72122
72131
|
left: m7,
|
|
72123
72132
|
right: m7,
|
|
@@ -72126,7 +72135,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72126
72135
|
},
|
|
72127
72136
|
typography: {
|
|
72128
72137
|
...g7.input.text,
|
|
72129
|
-
color:
|
|
72138
|
+
color: wme.rgba
|
|
72130
72139
|
},
|
|
72131
72140
|
entities: {
|
|
72132
72141
|
placeholder: { typography: { color: l7.rgba } },
|
|
@@ -72154,7 +72163,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72154
72163
|
focus: { outline: {
|
|
72155
72164
|
type: "outline",
|
|
72156
72165
|
width: "2px",
|
|
72157
|
-
color:
|
|
72166
|
+
color: Tme.rgba,
|
|
72158
72167
|
style: "solid",
|
|
72159
72168
|
offset: "0px"
|
|
72160
72169
|
} }
|
|
@@ -72169,11 +72178,11 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72169
72178
|
bottom: h7
|
|
72170
72179
|
}
|
|
72171
72180
|
} }
|
|
72172
|
-
},
|
|
72181
|
+
}, kme = {
|
|
72173
72182
|
input: v7,
|
|
72174
72183
|
error: Q3(v7, {
|
|
72175
72184
|
boxShadow: "none",
|
|
72176
|
-
outline: { color:
|
|
72185
|
+
outline: { color: Eme.rgba },
|
|
72177
72186
|
states: { focus: { outline: { color: d7.rgba } } },
|
|
72178
72187
|
entities: { helperText: { typography: {
|
|
72179
72188
|
...g7.input.label,
|
|
@@ -72182,7 +72191,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72182
72191
|
}),
|
|
72183
72192
|
warning: Q3(v7, {
|
|
72184
72193
|
boxShadow: "none",
|
|
72185
|
-
outline: { color:
|
|
72194
|
+
outline: { color: Dme.rgba },
|
|
72186
72195
|
states: { focus: { outline: { color: f7.rgba } } },
|
|
72187
72196
|
entities: { helperText: { typography: {
|
|
72188
72197
|
...g7.input.label,
|
|
@@ -72191,39 +72200,39 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72191
72200
|
}),
|
|
72192
72201
|
success: Q3(v7, {
|
|
72193
72202
|
boxShadow: "none",
|
|
72194
|
-
outline: { color:
|
|
72203
|
+
outline: { color: Ome.rgba },
|
|
72195
72204
|
states: { focus: { outline: { color: p7.rgba } } },
|
|
72196
72205
|
entities: { helperText: { typography: {
|
|
72197
72206
|
...g7.input.label,
|
|
72198
72207
|
color: p7.rgba
|
|
72199
72208
|
} } }
|
|
72200
72209
|
})
|
|
72201
|
-
},
|
|
72210
|
+
}, Ame = Q.div.withConfig({
|
|
72202
72211
|
displayName: "InputWrapper__Container",
|
|
72203
72212
|
componentId: "sc-v6o9z1-0"
|
|
72204
|
-
})([""]),
|
|
72213
|
+
})([""]), jme = Q(Sme).withConfig({
|
|
72205
72214
|
displayName: "InputWrapper__HelperText",
|
|
72206
72215
|
componentId: "sc-v6o9z1-1"
|
|
72207
|
-
})(["margin-top:8px;margin-left:8px;"]),
|
|
72216
|
+
})(["margin-top:8px;margin-left:8px;"]), Mme = Q(a7).withConfig({
|
|
72208
72217
|
displayName: "InputWrapper__Label",
|
|
72209
72218
|
componentId: "sc-v6o9z1-2"
|
|
72210
72219
|
})(["margin-left:8px;margin-right:8px;"]), y7 = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, color: t, label: n, labelProps: r = {}, helperProps: i = {}, helperIcon: a, ...o }, s) {
|
|
72211
|
-
let { density: c } = H6(), l =
|
|
72220
|
+
let { density: c } = H6(), l = kme[t || "input"], u = V6({ density: c }, l), d = (0, W.useCallback)(() => {
|
|
72212
72221
|
let e = u();
|
|
72213
72222
|
return o.disabled ? e.entities.helperText.states.disabled.typography.color : e.entities.helperText.typography.color;
|
|
72214
72223
|
}, [u, o.disabled])(), f = !!i?.text, p = !!(n || r?.label);
|
|
72215
72224
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
72216
72225
|
theme: u,
|
|
72217
|
-
children: /* @__PURE__ */ (0, Y.jsxs)(
|
|
72226
|
+
children: /* @__PURE__ */ (0, Y.jsxs)(Ame, {
|
|
72218
72227
|
...o,
|
|
72219
72228
|
ref: s,
|
|
72220
72229
|
children: [
|
|
72221
|
-
p && /* @__PURE__ */ (0, Y.jsx)(
|
|
72230
|
+
p && /* @__PURE__ */ (0, Y.jsx)(Mme, {
|
|
72222
72231
|
label: n,
|
|
72223
72232
|
...r
|
|
72224
72233
|
}),
|
|
72225
72234
|
e,
|
|
72226
|
-
f && /* @__PURE__ */ (0, Y.jsx)(
|
|
72235
|
+
f && /* @__PURE__ */ (0, Y.jsx)(jme, {
|
|
72227
72236
|
color: d,
|
|
72228
72237
|
icon: a,
|
|
72229
72238
|
...i
|
|
@@ -72231,33 +72240,33 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72231
72240
|
]
|
|
72232
72241
|
})
|
|
72233
72242
|
});
|
|
72234
|
-
}), { colors: { ui: { background__scrim: { rgba:
|
|
72243
|
+
}), { colors: { ui: { background__scrim: { rgba: Nme } } } } = a0, { background: Pme } = { background: Nme }, Fme = Q(hde).withConfig({
|
|
72235
72244
|
displayName: "Scrim__StyledScrim",
|
|
72236
72245
|
componentId: "sc-1fr7uvy-0"
|
|
72237
|
-
})(["background:", ";z-index:1300;align-items:center;justify-content:center;display:flex;"],
|
|
72246
|
+
})(["background:", ";z-index:1300;align-items:center;justify-content:center;display:flex;"], Pme), Ime = Q.div.withConfig({
|
|
72238
72247
|
displayName: "Scrim__ScrimContent",
|
|
72239
72248
|
componentId: "sc-1fr7uvy-1"
|
|
72240
|
-
})(["width:auto;height:auto;"]),
|
|
72249
|
+
})(["width:auto;height:auto;"]), Lme = /* @__PURE__ */ (0, W.forwardRef)(function({ children: e, onClose: t, open: n, isDismissable: r = !1, ...i }, a) {
|
|
72241
72250
|
let o = (0, W.useRef)(null);
|
|
72242
72251
|
k6(n);
|
|
72243
72252
|
let s = (0, W.useMemo)(() => A6(o, a), [o, a]);
|
|
72244
72253
|
return N6("Escape", () => {
|
|
72245
72254
|
r && t && n && t();
|
|
72246
|
-
}), n ? /* @__PURE__ */ (0, Y.jsx)(
|
|
72255
|
+
}), n ? /* @__PURE__ */ (0, Y.jsx)(Fme, {
|
|
72247
72256
|
onMouseDown: (e) => {
|
|
72248
72257
|
e && e.target === o.current && e.type === "mousedown" && r && n && t && t();
|
|
72249
72258
|
},
|
|
72250
72259
|
ref: s,
|
|
72251
72260
|
...i,
|
|
72252
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
72261
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ime, { children: e })
|
|
72253
72262
|
}) : null;
|
|
72254
|
-
}),
|
|
72263
|
+
}), Rme = Q(G5).withConfig({
|
|
72255
72264
|
displayName: "Search__SearchInput",
|
|
72256
72265
|
componentId: "sc-v8l23u-0"
|
|
72257
|
-
})(["input{&[type='search']::-webkit-search-decoration,&[type='search']::-webkit-search-cancel-button,&[type='search']::-webkit-search-results-button,&[type='search']::-webkit-search-results-decoration{-webkit-appearance:none;}}"]),
|
|
72266
|
+
})(["input{&[type='search']::-webkit-search-decoration,&[type='search']::-webkit-search-cancel-button,&[type='search']::-webkit-search-results-button,&[type='search']::-webkit-search-results-decoration{-webkit-appearance:none;}}"]), zme = Q(L8).withConfig({
|
|
72258
72267
|
displayName: "Search__InsideButton",
|
|
72259
72268
|
componentId: "sc-v8l23u-1"
|
|
72260
|
-
})(["height:24px;width:24px;"]),
|
|
72269
|
+
})(["height:24px;width:24px;"]), Bme = /* @__PURE__ */ (0, W.forwardRef)(function({ onChange: e, style: t, className: n, ...r }, i) {
|
|
72261
72270
|
let a = (0, W.useRef)(null), [o, s] = (0, W.useState)(!!r.defaultValue);
|
|
72262
72271
|
(0, W.useEffect)(() => {
|
|
72263
72272
|
r.disabled ? s(!1) : r.value && s(!!r.value);
|
|
@@ -72272,19 +72281,19 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72272
72281
|
role: "search",
|
|
72273
72282
|
style: t,
|
|
72274
72283
|
className: n,
|
|
72275
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
72284
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Rme, {
|
|
72276
72285
|
onChange: (t) => {
|
|
72277
72286
|
l(t), e && e(t);
|
|
72278
72287
|
},
|
|
72279
72288
|
ref: (0, W.useMemo)(() => A6(a, i), [a, i]),
|
|
72280
72289
|
leftAdornmentsWidth: 32,
|
|
72281
72290
|
leftAdornments: /* @__PURE__ */ (0, Y.jsx)(B8, {
|
|
72282
|
-
data:
|
|
72291
|
+
data: jde,
|
|
72283
72292
|
"aria-hidden": !0,
|
|
72284
72293
|
size: 18
|
|
72285
72294
|
}),
|
|
72286
72295
|
rightAdornmentsWidth: 32,
|
|
72287
|
-
rightAdornments: /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: o && /* @__PURE__ */ (0, Y.jsx)(
|
|
72296
|
+
rightAdornments: /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: o && /* @__PURE__ */ (0, Y.jsx)(zme, {
|
|
72288
72297
|
"aria-label": "clear search",
|
|
72289
72298
|
title: "clear",
|
|
72290
72299
|
variant: "ghost_icon",
|
|
@@ -72292,7 +72301,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72292
72301
|
e.stopPropagation(), c();
|
|
72293
72302
|
},
|
|
72294
72303
|
children: /* @__PURE__ */ (0, Y.jsx)(B8, {
|
|
72295
|
-
data:
|
|
72304
|
+
data: Ade,
|
|
72296
72305
|
size: 16
|
|
72297
72306
|
})
|
|
72298
72307
|
}) }),
|
|
@@ -72317,7 +72326,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72317
72326
|
], e ? "not-allowed" : "pointer", j6(t.states.focus.outline), j6(t.states.focus.outline))), S7 = Q.span.withConfig({
|
|
72318
72327
|
displayName: "Switchstyles__GridWrapper",
|
|
72319
72328
|
componentId: "sc-x39lde-2"
|
|
72320
|
-
})(["display:inline-grid;vertical-align:middle;grid:[input] 1fr / [input] 1fr;place-items:center;isolation:isolate;"]),
|
|
72329
|
+
})(["display:inline-grid;vertical-align:middle;grid:[input] 1fr / [input] 1fr;place-items:center;isolation:isolate;"]), Vme = Q(x7).withConfig({
|
|
72321
72330
|
displayName: "SwitchSmall__Input",
|
|
72322
72331
|
componentId: "sc-1a99mis-0"
|
|
72323
72332
|
})(({ disabled: e, theme: { states: t, entities: { handle: n, track: r } } }) => Rz([
|
|
@@ -72327,7 +72336,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72327
72336
|
";}&:checked + span > span:last-child{transform:translate(180%,-50%);background-color:",
|
|
72328
72337
|
";}@media (hover:hover) and (pointer:fine){&:hover + span{background-color:",
|
|
72329
72338
|
";}}"
|
|
72330
|
-
], j6(t.focus.outline), j6(t.focus.outline), e ? t.disabled.background : r.states.active.background, n.background, e ? "transparent" : t.hover.background)),
|
|
72339
|
+
], j6(t.focus.outline), j6(t.focus.outline), e ? t.disabled.background : r.states.active.background, n.background, e ? "transparent" : t.hover.background)), Hme = Q.span.withConfig({
|
|
72331
72340
|
displayName: "SwitchSmall__Track",
|
|
72332
72341
|
componentId: "sc-1a99mis-1"
|
|
72333
72342
|
})(({ $isDisabled: e, theme: { states: t, entities: { track: n } } }) => Rz([
|
|
@@ -72335,7 +72344,7 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72335
72344
|
";height:",
|
|
72336
72345
|
";border-radius:10px;border:none;background-color:",
|
|
72337
72346
|
";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);"
|
|
72338
|
-
], n.width, n.height, e ? t.disabled.background : n.states.disabled.background)),
|
|
72347
|
+
], n.width, n.height, e ? t.disabled.background : n.states.disabled.background)), Ume = Q.span.withConfig({
|
|
72339
72348
|
displayName: "SwitchSmall__Handle",
|
|
72340
72349
|
componentId: "sc-1a99mis-2"
|
|
72341
72350
|
})(({ theme: { entities: { handle: e } } }) => Rz([
|
|
@@ -72347,17 +72356,17 @@ var pme = /* @__PURE__ */ e(((e) => {
|
|
|
72347
72356
|
return /* @__PURE__ */ (0, Y.jsxs)(S7, {
|
|
72348
72357
|
className: t,
|
|
72349
72358
|
style: n,
|
|
72350
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
72359
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(Vme, {
|
|
72351
72360
|
...r,
|
|
72352
72361
|
ref: i,
|
|
72353
72362
|
disabled: e
|
|
72354
|
-
}), /* @__PURE__ */ (0, Y.jsxs)(b7, { children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
72363
|
+
}), /* @__PURE__ */ (0, Y.jsxs)(b7, { children: [/* @__PURE__ */ (0, Y.jsx)(Hme, { $isDisabled: e }), /* @__PURE__ */ (0, Y.jsx)(Ume, {})] })]
|
|
72355
72364
|
});
|
|
72356
72365
|
});
|
|
72357
72366
|
C7.displayName = "SwitchSmall";
|
|
72358
72367
|
//#endregion
|
|
72359
72368
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Switch/SwitchDefault.js
|
|
72360
|
-
var
|
|
72369
|
+
var Wme = Q(x7).withConfig({
|
|
72361
72370
|
displayName: "SwitchDefault__Input",
|
|
72362
72371
|
componentId: "sc-16ym5pn-0"
|
|
72363
72372
|
})(({ disabled: e, theme: t }) => Rz([
|
|
@@ -72367,7 +72376,7 @@ var Ume = Q(x7).withConfig({
|
|
|
72367
72376
|
";}&:hover + span{background-color:",
|
|
72368
72377
|
";}&:hover + span > span:last-child{background-color:",
|
|
72369
72378
|
";}"
|
|
72370
|
-
], t.clickbound.height, e ? t.states.disabled.background : t.entities.track.states.active.background, e ? t.states.disabled.background : t.entities.handle.states.active.background, e ? "transparent" : t.states.hover.background, e ? t.states.disabled.background : t.states.hover.entities.handle.background)),
|
|
72379
|
+
], t.clickbound.height, e ? t.states.disabled.background : t.entities.track.states.active.background, e ? t.states.disabled.background : t.entities.handle.states.active.background, e ? "transparent" : t.states.hover.background, e ? t.states.disabled.background : t.states.hover.entities.handle.background)), Gme = Q.span.withConfig({
|
|
72371
72380
|
displayName: "SwitchDefault__Track",
|
|
72372
72381
|
componentId: "sc-16ym5pn-1"
|
|
72373
72382
|
})(({ $isDisabled: e, theme: { states: t, entities: { track: n } } }) => Rz([
|
|
@@ -72377,7 +72386,7 @@ var Ume = Q(x7).withConfig({
|
|
|
72377
72386
|
";background-color:",
|
|
72378
72387
|
";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);transition:background 0.36s;",
|
|
72379
72388
|
""
|
|
72380
|
-
], T6(n.border), n.width, n.height, n.background, e && { backgroundColor: t.disabled.background })),
|
|
72389
|
+
], T6(n.border), n.width, n.height, n.background, e && { backgroundColor: t.disabled.background })), Kme = Q.span.withConfig({
|
|
72381
72390
|
displayName: "SwitchDefault__Handle",
|
|
72382
72391
|
componentId: "sc-16ym5pn-2"
|
|
72383
72392
|
})(({ $isDisabled: e, theme: { states: t, entities: { handle: n } } }) => Rz([
|
|
@@ -72391,18 +72400,18 @@ var Ume = Q(x7).withConfig({
|
|
|
72391
72400
|
return /* @__PURE__ */ (0, Y.jsxs)(S7, {
|
|
72392
72401
|
className: t,
|
|
72393
72402
|
style: n,
|
|
72394
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
72403
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(Wme, {
|
|
72395
72404
|
...r,
|
|
72396
72405
|
ref: i,
|
|
72397
72406
|
disabled: e
|
|
72398
|
-
}), /* @__PURE__ */ (0, Y.jsxs)(b7, { children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
72407
|
+
}), /* @__PURE__ */ (0, Y.jsxs)(b7, { children: [/* @__PURE__ */ (0, Y.jsx)(Gme, { $isDisabled: e }), /* @__PURE__ */ (0, Y.jsx)(Kme, { $isDisabled: e })] })]
|
|
72399
72408
|
});
|
|
72400
72409
|
});
|
|
72401
72410
|
w7.displayName = "SwitchDefault";
|
|
72402
72411
|
//#endregion
|
|
72403
72412
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/Switch/Switch.tokens.js
|
|
72404
|
-
var { colors: { ui: { background__medium: { rgba:
|
|
72405
|
-
typography:
|
|
72413
|
+
var { colors: { ui: { background__medium: { rgba: qme } }, interactive: { primary__hover_alt: { rgba: T7 }, primary__hover: { rgba: E7 }, primary__selected_highlight: { rgba: Jme }, primary__resting: { rgba: D7 }, disabled__fill: { rgba: Yme }, focus: { rgba: Xme }, icon_on_interactive_colors: { rgba: Zme } }, text: { static_icons__tertiary: { rgba: O7 } } }, typography: { navigation: { menu_title: Qme } }, clickbounds: k7, elevation: { raised: $me }, spacings: { comfortable: { medium_small: ehe } }, shape: { circle: A7, _modes: { compact: { icon_button: j7 } } }, interactions: { focused: { width: the } } } = a0, nhe = {
|
|
72414
|
+
typography: Qme,
|
|
72406
72415
|
height: A7.minHeight,
|
|
72407
72416
|
width: A7.minWidth,
|
|
72408
72417
|
clickbound: {
|
|
@@ -72410,24 +72419,24 @@ var { colors: { ui: { background__medium: { rgba: Kme } }, interactive: { primar
|
|
|
72410
72419
|
width: k7.default__base
|
|
72411
72420
|
},
|
|
72412
72421
|
entities: {
|
|
72413
|
-
label: { spacings: { left:
|
|
72422
|
+
label: { spacings: { left: ehe } },
|
|
72414
72423
|
track: {
|
|
72415
72424
|
width: "32px",
|
|
72416
72425
|
height: "8px",
|
|
72417
|
-
background:
|
|
72426
|
+
background: qme,
|
|
72418
72427
|
border: {
|
|
72419
72428
|
type: "border",
|
|
72420
72429
|
radius: "4px"
|
|
72421
72430
|
},
|
|
72422
72431
|
states: {
|
|
72423
|
-
active: { background:
|
|
72432
|
+
active: { background: Jme },
|
|
72424
72433
|
hover: { background: E7 }
|
|
72425
72434
|
}
|
|
72426
72435
|
},
|
|
72427
72436
|
handle: {
|
|
72428
72437
|
height: "16px",
|
|
72429
72438
|
width: "16px",
|
|
72430
|
-
boxShadow:
|
|
72439
|
+
boxShadow: $me,
|
|
72431
72440
|
background: O7,
|
|
72432
72441
|
states: {
|
|
72433
72442
|
active: { background: D7 },
|
|
@@ -72454,38 +72463,38 @@ var { colors: { ui: { background__medium: { rgba: Kme } }, interactive: { primar
|
|
|
72454
72463
|
handle: {
|
|
72455
72464
|
height: "6px",
|
|
72456
72465
|
width: "6px",
|
|
72457
|
-
background:
|
|
72466
|
+
background: Zme
|
|
72458
72467
|
}
|
|
72459
72468
|
}
|
|
72460
72469
|
} },
|
|
72461
72470
|
states: {
|
|
72462
|
-
disabled: { background:
|
|
72471
|
+
disabled: { background: Yme },
|
|
72463
72472
|
focus: { outline: {
|
|
72464
|
-
width:
|
|
72473
|
+
width: the,
|
|
72465
72474
|
type: "outline",
|
|
72466
72475
|
style: "dashed",
|
|
72467
|
-
color:
|
|
72476
|
+
color: Xme
|
|
72468
72477
|
} },
|
|
72469
72478
|
hover: {
|
|
72470
72479
|
background: T7,
|
|
72471
72480
|
entities: { handle: { background: E7 } }
|
|
72472
72481
|
}
|
|
72473
72482
|
}
|
|
72474
|
-
},
|
|
72483
|
+
}, rhe = Q.label.withConfig({
|
|
72475
72484
|
displayName: "Switch__StyledLabel",
|
|
72476
72485
|
componentId: "sc-sdaahx-0"
|
|
72477
72486
|
})([
|
|
72478
72487
|
"cursor:",
|
|
72479
72488
|
";border:none;background-color:transparent;vertical-align:middle;display:inline-flex;align-items:center;position:relative;gap:",
|
|
72480
72489
|
";"
|
|
72481
|
-
], ({ $isDisabled: e }) => e ? "not-allowed" : "pointer", ({ $size: e }) => e === "small" ? "12px" : "8px"),
|
|
72490
|
+
], ({ $isDisabled: e }) => e ? "not-allowed" : "pointer", ({ $size: e }) => e === "small" ? "12px" : "8px"), ihe = Q.span.withConfig({
|
|
72482
72491
|
displayName: "Switch__Label",
|
|
72483
72492
|
componentId: "sc-sdaahx-1"
|
|
72484
72493
|
})(({ theme: e }) => Rz(["", ";"], E6(e.typography))), M7 = /* @__PURE__ */ (0, W.forwardRef)(function({ size: e = "default", disabled: t, label: n, className: r, style: i, ...a }, o) {
|
|
72485
72494
|
let { density: s } = H6();
|
|
72486
72495
|
return /* @__PURE__ */ (0, Y.jsx)(kz, {
|
|
72487
|
-
theme: V6({ density: e === "small" ? "compact" : s },
|
|
72488
|
-
children: n ? /* @__PURE__ */ (0, Y.jsxs)(
|
|
72496
|
+
theme: V6({ density: e === "small" ? "compact" : s }, nhe),
|
|
72497
|
+
children: n ? /* @__PURE__ */ (0, Y.jsxs)(rhe, {
|
|
72489
72498
|
$size: e,
|
|
72490
72499
|
$isDisabled: t,
|
|
72491
72500
|
className: r,
|
|
@@ -72498,7 +72507,7 @@ var { colors: { ui: { background__medium: { rgba: Kme } }, interactive: { primar
|
|
|
72498
72507
|
disabled: t,
|
|
72499
72508
|
...a,
|
|
72500
72509
|
ref: o
|
|
72501
|
-
}), n && /* @__PURE__ */ (0, Y.jsx)(
|
|
72510
|
+
}), n && /* @__PURE__ */ (0, Y.jsx)(ihe, { children: n })]
|
|
72502
72511
|
}) : e === "small" ? /* @__PURE__ */ (0, Y.jsx)(C7, {
|
|
72503
72512
|
disabled: t,
|
|
72504
72513
|
className: r,
|
|
@@ -72517,7 +72526,7 @@ var { colors: { ui: { background__medium: { rgba: Kme } }, interactive: { primar
|
|
|
72517
72526
|
M7.displayName = "Switch";
|
|
72518
72527
|
//#endregion
|
|
72519
72528
|
//#region ../../node_modules/.pnpm/@equinor+eds-core-react@2.4.1_react-dom@19.2.5_react@19.2.5__react@19.2.5_styled-compon_a7fe79b28139b4c7be050b47a0d2e49f/node_modules/@equinor/eds-core-react/dist/esm/components/InputWrapper/useInputField.js
|
|
72520
|
-
var
|
|
72529
|
+
var ahe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a, disabled: o, className: s, style: c }) => {
|
|
72521
72530
|
let l = (0, W.useId)(), u = (0, W.useId)(), d = e ?? l, f = u, p = !!r, m = {
|
|
72522
72531
|
className: s,
|
|
72523
72532
|
style: {
|
|
@@ -72547,11 +72556,11 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72547
72556
|
helperProps: g,
|
|
72548
72557
|
ariaProps: _
|
|
72549
72558
|
};
|
|
72550
|
-
}, { input: N7 } =
|
|
72559
|
+
}, { input: N7 } = Jpe, ohe = { style: { alignItems: "flex-start" } }, she = { style: {
|
|
72551
72560
|
alignItems: "flex-start",
|
|
72552
72561
|
pointerEvents: "none"
|
|
72553
72562
|
} }, P7 = /* @__PURE__ */ (0, W.forwardRef)(function({ id: e, label: t, meta: n, helperText: r, placeholder: i, disabled: a, className: o, variant: s, inputIcon: c, helperIcon: l, style: u, rowsMax: d, ...f }, p) {
|
|
72554
|
-
let { ariaProps: m, containerProps: h, labelProps: g, helperProps: _ } =
|
|
72563
|
+
let { ariaProps: m, containerProps: h, labelProps: g, helperProps: _ } = ahe({
|
|
72555
72564
|
id: e,
|
|
72556
72565
|
label: t,
|
|
72557
72566
|
meta: n,
|
|
@@ -72567,8 +72576,8 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72567
72576
|
placeholder: i,
|
|
72568
72577
|
variant: s,
|
|
72569
72578
|
rightAdornments: c,
|
|
72570
|
-
rightAdornmentsProps:
|
|
72571
|
-
leftAdornmentsProps:
|
|
72579
|
+
rightAdornmentsProps: she,
|
|
72580
|
+
leftAdornmentsProps: ohe,
|
|
72572
72581
|
as: "textarea",
|
|
72573
72582
|
ref: w,
|
|
72574
72583
|
style: { height: "auto" },
|
|
@@ -72593,10 +72602,10 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72593
72602
|
style: { padding: 10 },
|
|
72594
72603
|
children: e.stack && /* @__PURE__ */ (0, Y.jsx)("pre", { children: e.stack })
|
|
72595
72604
|
})]
|
|
72596
|
-
}), e.cause && /* @__PURE__ */ (0, Y.jsx)(F7, { error: e.cause })] }),
|
|
72605
|
+
}), e.cause && /* @__PURE__ */ (0, Y.jsx)(F7, { error: e.cause })] }), che = "$tag", lhe = () => new URL(window.location.href).searchParams.get(che), uhe = (e) => {
|
|
72597
72606
|
let { appKey: t } = e, n = YN(), r = (0, W.useRef)(null), [i, a] = (0, W.useState)(!1), [o, s] = (0, W.useState)(), { value: c } = vq((0, W.useMemo)(() => n.modules.app.current$, [n.modules.app]));
|
|
72598
72607
|
return (0, W.useEffect)(() => {
|
|
72599
|
-
let e =
|
|
72608
|
+
let e = lhe();
|
|
72600
72609
|
if (e) {
|
|
72601
72610
|
n.modules.app.setCurrentApp({
|
|
72602
72611
|
appKey: t,
|
|
@@ -72640,17 +72649,17 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72640
72649
|
style: { display: "contents" },
|
|
72641
72650
|
children: i && /* @__PURE__ */ (0, Y.jsx)(BK, { text: "Loading Application" })
|
|
72642
72651
|
});
|
|
72643
|
-
},
|
|
72652
|
+
}, dhe = new Set([
|
|
72644
72653
|
"children",
|
|
72645
72654
|
"localName",
|
|
72646
72655
|
"ref",
|
|
72647
72656
|
"style",
|
|
72648
72657
|
"className"
|
|
72649
|
-
]),
|
|
72658
|
+
]), fhe = (e) => {
|
|
72650
72659
|
let t = /* @__PURE__ */ new Set();
|
|
72651
|
-
for (let n in e.prototype) n in HTMLElement.prototype || (
|
|
72660
|
+
for (let n in e.prototype) n in HTMLElement.prototype || (dhe.has(n) ? console.warn(`${e.name} contains property ${n} which is a React reserved property. It will be used by React and not set on the element.`) : t.add(n));
|
|
72652
72661
|
return t;
|
|
72653
|
-
},
|
|
72662
|
+
}, phe = (e, t, n) => {
|
|
72654
72663
|
(0, W.useLayoutEffect)(() => {
|
|
72655
72664
|
let r = e.current;
|
|
72656
72665
|
if (r && n && t) {
|
|
@@ -72662,7 +72671,7 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72662
72671
|
n,
|
|
72663
72672
|
t
|
|
72664
72673
|
]);
|
|
72665
|
-
},
|
|
72674
|
+
}, mhe = (e) => {
|
|
72666
72675
|
let t = !1;
|
|
72667
72676
|
return {
|
|
72668
72677
|
nativeEvent: e,
|
|
@@ -72683,11 +72692,11 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72683
72692
|
timeStamp: e.timeStamp,
|
|
72684
72693
|
type: e.type
|
|
72685
72694
|
};
|
|
72686
|
-
},
|
|
72695
|
+
}, hhe = (e, t) => Object.keys(e).length === Object.keys(t).length && Object.keys(e).every((n) => e[n] === t[n]), ghe = {}, _he = (e, t, n = {}) => {
|
|
72687
72696
|
let r = (0, W.useRef)({}), i = (0, W.useRef)({}), a = (0, W.useMemo)(() => {
|
|
72688
|
-
if (!t) return
|
|
72697
|
+
if (!t) return ghe;
|
|
72689
72698
|
let e = Object.keys(n).filter((e) => e in t).reduce((e, n) => Object.assign(e, { [n]: t[n] }), {});
|
|
72690
|
-
return
|
|
72699
|
+
return hhe(i.current, e) ? i.current : e;
|
|
72691
72700
|
}, [n, t]);
|
|
72692
72701
|
(0, W.useLayoutEffect)(() => {
|
|
72693
72702
|
if (!a) return;
|
|
@@ -72695,7 +72704,7 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72695
72704
|
for (let r of o) if (!(r in t)) {
|
|
72696
72705
|
let a = (e) => {
|
|
72697
72706
|
let t = i.current[r];
|
|
72698
|
-
t?.(
|
|
72707
|
+
t?.(mhe(e));
|
|
72699
72708
|
};
|
|
72700
72709
|
console.debug(`adding event listener [${r}]`, e.current), e.current?.addEventListener(n[r], a), Object.assign(t, { [r]: a });
|
|
72701
72710
|
}
|
|
@@ -72711,29 +72720,29 @@ var ihe = ({ id: e, label: t, meta: n, helperText: r, helperIcon: i, variant: a,
|
|
|
72711
72720
|
e,
|
|
72712
72721
|
a
|
|
72713
72722
|
]);
|
|
72714
|
-
},
|
|
72723
|
+
}, vhe = (e, t = null) => {
|
|
72715
72724
|
let n = (0, W.useRef)(t);
|
|
72716
72725
|
return (0, W.useLayoutEffect)(() => {
|
|
72717
72726
|
typeof e == "function" ? e(n.current) : e && (e.current = n.current);
|
|
72718
72727
|
}, [e]), n;
|
|
72719
|
-
},
|
|
72728
|
+
}, yhe = (e) => {
|
|
72720
72729
|
switch (e) {
|
|
72721
72730
|
case "className": return "class";
|
|
72722
72731
|
}
|
|
72723
72732
|
return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
72724
|
-
},
|
|
72733
|
+
}, bhe = [
|
|
72725
72734
|
"string",
|
|
72726
72735
|
"number",
|
|
72727
72736
|
"boolean",
|
|
72728
72737
|
"bigint"
|
|
72729
72738
|
], I7 = (e, t, n = {}) => {
|
|
72730
|
-
let { events: r = {}, functions: i = /* @__PURE__ */ new Set(), displayName: a = e.name } = n, o =
|
|
72739
|
+
let { events: r = {}, functions: i = /* @__PURE__ */ new Set(), displayName: a = e.name } = n, o = fhe(e);
|
|
72731
72740
|
for (let e of i.values()) o.add(e);
|
|
72732
72741
|
let s = new Set([...o, ...Object.keys(r)]), c = (0, W.forwardRef)((e, n) => {
|
|
72733
|
-
let i =
|
|
72734
|
-
return
|
|
72735
|
-
let t = Object.entries(e || {}), n = t.filter(([e]) => !s.has(e)), r = i.current ? [] : t.filter(([e]) => s.has(e)).filter(([e, t]) =>
|
|
72736
|
-
return [...n, ...r].map(([e, t]) => [
|
|
72742
|
+
let i = vhe(n);
|
|
72743
|
+
return phe(i, e, o), _he(i, e, r), (0, W.createElement)(t, (0, W.useMemo)(() => {
|
|
72744
|
+
let t = Object.entries(e || {}), n = t.filter(([e]) => !s.has(e)), r = i.current ? [] : t.filter(([e]) => s.has(e)).filter(([e, t]) => bhe.includes(typeof t)).filter(([e, t]) => !!t);
|
|
72745
|
+
return [...n, ...r].map(([e, t]) => [yhe(e), t]).reduce((e, [t, n]) => Object.assign(e, { [t]: n }), { ref: i });
|
|
72737
72746
|
}, [i, e]));
|
|
72738
72747
|
});
|
|
72739
72748
|
return c.displayName = a, c;
|
|
@@ -72784,7 +72793,7 @@ var z7 = class extends h {
|
|
|
72784
72793
|
d([i()], z7.prototype, "resolver", void 0);
|
|
72785
72794
|
//#endregion
|
|
72786
72795
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-searchable-dropdown@4.1.0/node_modules/@equinor/fusion-wc-searchable-dropdown/lib/provider/controller.js
|
|
72787
|
-
var B7, V7, H7, U7,
|
|
72796
|
+
var B7, V7, H7, U7, xhe = class {
|
|
72788
72797
|
constructor(e) {
|
|
72789
72798
|
this._isOpen = !1, B7.set(this, void 0), V7.set(this, void 0), H7.set(this, ""), U7.set(this, []), this.updateResolver = (e) => {
|
|
72790
72799
|
this.resolver = e, e?.initialResult && (s(this, U7, e.initialResult, "f"), this.task.run()), e?.closeHandler && s(this, B7, e.closeHandler, "f"), C(this, V7, "f").requestUpdate();
|
|
@@ -72890,43 +72899,43 @@ var B7, V7, H7, U7, bhe = class {
|
|
|
72890
72899
|
B7 = /* @__PURE__ */ new WeakMap(), V7 = /* @__PURE__ */ new WeakMap(), H7 = /* @__PURE__ */ new WeakMap(), U7 = /* @__PURE__ */ new WeakMap();
|
|
72891
72900
|
//#endregion
|
|
72892
72901
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-searchable-dropdown@4.1.0/node_modules/@equinor/fusion-wc-searchable-dropdown/lib/provider/index.js
|
|
72893
|
-
var
|
|
72894
|
-
W7 = d([v(
|
|
72902
|
+
var She = "fwc-searchable-dropdown-provider", W7 = class extends z7 {};
|
|
72903
|
+
W7 = d([v(She)], W7);
|
|
72895
72904
|
//#endregion
|
|
72896
72905
|
//#region ../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/directives/unsafe-svg.js
|
|
72897
72906
|
var G7 = class extends SU {};
|
|
72898
72907
|
G7.directiveName = "unsafeSVG", G7.resultType = 2;
|
|
72899
72908
|
var K7 = nB(G7), q7 = [];
|
|
72900
72909
|
for (let e = 0; e < 256; ++e) q7.push((e + 256).toString(16).slice(1));
|
|
72901
|
-
function
|
|
72910
|
+
function Che(e, t = 0) {
|
|
72902
72911
|
return (q7[e[t + 0]] + q7[e[t + 1]] + q7[e[t + 2]] + q7[e[t + 3]] + "-" + q7[e[t + 4]] + q7[e[t + 5]] + "-" + q7[e[t + 6]] + q7[e[t + 7]] + "-" + q7[e[t + 8]] + q7[e[t + 9]] + "-" + q7[e[t + 10]] + q7[e[t + 11]] + q7[e[t + 12]] + q7[e[t + 13]] + q7[e[t + 14]] + q7[e[t + 15]]).toLowerCase();
|
|
72903
72912
|
}
|
|
72904
72913
|
//#endregion
|
|
72905
72914
|
//#region ../../node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist/rng.js
|
|
72906
|
-
var J7,
|
|
72907
|
-
function
|
|
72915
|
+
var J7, whe = new Uint8Array(16);
|
|
72916
|
+
function The() {
|
|
72908
72917
|
if (!J7) {
|
|
72909
72918
|
if (typeof crypto > "u" || !crypto.getRandomValues) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
72910
72919
|
J7 = crypto.getRandomValues.bind(crypto);
|
|
72911
72920
|
}
|
|
72912
|
-
return J7(
|
|
72921
|
+
return J7(whe);
|
|
72913
72922
|
}
|
|
72914
72923
|
var Y7 = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
|
|
72915
72924
|
//#endregion
|
|
72916
72925
|
//#region ../../node_modules/.pnpm/uuid@13.0.0/node_modules/uuid/dist/v4.js
|
|
72917
|
-
function
|
|
72926
|
+
function Ehe(e, t, n) {
|
|
72918
72927
|
e ||= {};
|
|
72919
|
-
let r = e.random ?? e.rng?.() ??
|
|
72928
|
+
let r = e.random ?? e.rng?.() ?? The();
|
|
72920
72929
|
if (r.length < 16) throw Error("Random bytes length must be >= 16");
|
|
72921
72930
|
if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
|
|
72922
72931
|
if (n ||= 0, n < 0 || n + 16 > t.length) throw RangeError(`UUID byte range ${n}:${n + 15} is out of buffer bounds`);
|
|
72923
72932
|
for (let e = 0; e < 16; ++e) t[n + e] = r[e];
|
|
72924
72933
|
return t;
|
|
72925
72934
|
}
|
|
72926
|
-
return
|
|
72935
|
+
return Che(r);
|
|
72927
72936
|
}
|
|
72928
72937
|
function X7(e, t, n) {
|
|
72929
|
-
return Y7.randomUUID && !t && !e ? Y7.randomUUID() :
|
|
72938
|
+
return Y7.randomUUID && !t && !e ? Y7.randomUUID() : Ehe(e, t, n);
|
|
72930
72939
|
}
|
|
72931
72940
|
//#endregion
|
|
72932
72941
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-divider@1.2.0/node_modules/@equinor/fusion-wc-divider/lib/types.js
|
|
@@ -72948,7 +72957,7 @@ var e9;
|
|
|
72948
72957
|
})(e9 ||= {});
|
|
72949
72958
|
//#endregion
|
|
72950
72959
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-divider@1.2.0/node_modules/@equinor/fusion-wc-divider/lib/element.css.js
|
|
72951
|
-
var
|
|
72960
|
+
var Dhe = l`
|
|
72952
72961
|
:host {
|
|
72953
72962
|
display: flex;
|
|
72954
72963
|
--fwc-divider-color: ${f(X.colors.ui.background__medium.getVariable("color"))};
|
|
@@ -73029,7 +73038,7 @@ var Ehe = l`
|
|
|
73029
73038
|
return this.variant === "list" && this.orientation === "horizontal" ? p`<li class="divider" role="separator"></li>` : p`<hr class="divider" />`;
|
|
73030
73039
|
}
|
|
73031
73040
|
};
|
|
73032
|
-
t9.styles = [
|
|
73041
|
+
t9.styles = [Dhe], d([i({
|
|
73033
73042
|
type: String,
|
|
73034
73043
|
reflect: !0
|
|
73035
73044
|
})], t9.prototype, "color", void 0), d([i({
|
|
@@ -73044,11 +73053,11 @@ t9.styles = [Ehe], d([i({
|
|
|
73044
73053
|
})], t9.prototype, "orientation", void 0);
|
|
73045
73054
|
//#endregion
|
|
73046
73055
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-divider@1.2.0/node_modules/@equinor/fusion-wc-divider/lib/index.js
|
|
73047
|
-
var
|
|
73048
|
-
n9 = d([v(
|
|
73056
|
+
var Ohe = "fwc-divider", n9 = class extends t9 {};
|
|
73057
|
+
n9 = d([v(Ohe)], n9);
|
|
73049
73058
|
//#endregion
|
|
73050
73059
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-searchable-dropdown@4.1.0/node_modules/@equinor/fusion-wc-searchable-dropdown/lib/dropdown/element.css.js
|
|
73051
|
-
var
|
|
73060
|
+
var khe = l`
|
|
73052
73061
|
:host {
|
|
73053
73062
|
position: relative;
|
|
73054
73063
|
width: 100%;
|
|
@@ -73175,9 +73184,9 @@ var Ohe = l`
|
|
|
73175
73184
|
--fwc-list-item-ink-color: ${f(X.colors.interactive.danger__resting.getVariable("color"))};
|
|
73176
73185
|
color: ${f(X.colors.interactive.danger__resting.getVariable("color"))};
|
|
73177
73186
|
}
|
|
73178
|
-
`,
|
|
73187
|
+
`, Ahe = VW.concat(khe), r9 = class extends h {
|
|
73179
73188
|
constructor() {
|
|
73180
|
-
super(...arguments), this.controller = new
|
|
73189
|
+
super(...arguments), this.controller = new xhe(this), this.label = "", this.placeholder = "", this.variant = "page", this.leadingIcon = "search", this.trailingIcon = "close", this.meta = "", this.value = "", this.graphic = "", this.initialText = "Start typing to search", this.noContentText = "No content found", this.multiple = !1, this.dropdownHeight = "250px", this.disabled = !1, this.selectedId = "", this.autofocus = !1, this.selectTextOnFocus = !1, this.selectedItems = /* @__PURE__ */ new Set([]);
|
|
73181
73190
|
}
|
|
73182
73191
|
updated(e) {
|
|
73183
73192
|
e.has("selectedId") && this.controller.updateSelectedByProp();
|
|
@@ -73325,7 +73334,7 @@ var Ohe = l`
|
|
|
73325
73334
|
</style>`;
|
|
73326
73335
|
}
|
|
73327
73336
|
};
|
|
73328
|
-
r9.styles =
|
|
73337
|
+
r9.styles = Ahe, d([i()], r9.prototype, "label", void 0), d([i()], r9.prototype, "placeholder", void 0), d([i()], r9.prototype, "variant", void 0), d([i()], r9.prototype, "leadingIcon", void 0), d([i({
|
|
73329
73338
|
attribute: !1,
|
|
73330
73339
|
state: !0
|
|
73331
73340
|
})], r9.prototype, "trailingIcon", void 0), d([b(".trailing")], r9.prototype, "trailingIconElement", void 0), d([i()], r9.prototype, "meta", void 0), d([i()], r9.prototype, "value", void 0), d([i()], r9.prototype, "graphic", void 0), d([i()], r9.prototype, "initialText", void 0), d([i()], r9.prototype, "noContentText", void 0), d([i()], r9.prototype, "multiple", void 0), d([i()], r9.prototype, "dropdownHeight", void 0), d([i()], r9.prototype, "disabled", void 0), d([i()], r9.prototype, "selectedId", void 0), d([i()], r9.prototype, "autofocus", void 0), d([i({
|
|
@@ -73335,14 +73344,14 @@ r9.styles = khe, d([i()], r9.prototype, "label", void 0), d([i()], r9.prototype,
|
|
|
73335
73344
|
})], r9.prototype, "selectTextOnFocus", void 0), d([b("fwc-textinput")], r9.prototype, "textInputElement", void 0), d([b("fwc-list")], r9.prototype, "listElement", void 0), d([a()], r9.prototype, "selectedItems", void 0);
|
|
73336
73345
|
//#endregion
|
|
73337
73346
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-searchable-dropdown@4.1.0/node_modules/@equinor/fusion-wc-searchable-dropdown/lib/dropdown/index.js
|
|
73338
|
-
var
|
|
73339
|
-
i9 = d([v(
|
|
73347
|
+
var jhe = "fwc-searchable-dropdown", i9 = class extends r9 {};
|
|
73348
|
+
i9 = d([v(jhe)], i9);
|
|
73340
73349
|
//#endregion
|
|
73341
73350
|
//#region ../../node_modules/.pnpm/@equinor+fusion-react-searchable-dropdown@2.0.1_react@19.2.5/node_modules/@equinor/fusion-react-searchable-dropdown/dist/Dropdown.js
|
|
73342
|
-
var
|
|
73351
|
+
var Mhe = I7(r9, "fwc-searchable-dropdown", { events: {
|
|
73343
73352
|
onSelect: "select",
|
|
73344
73353
|
onDropdownClosed: "dropdownClosed"
|
|
73345
|
-
} }),
|
|
73354
|
+
} }), Nhe = I7(z7, "fwc-searchable-dropdown-provider"), Phe = (e) => {
|
|
73346
73355
|
let t = (0, W.useRef)(null);
|
|
73347
73356
|
return (0, W.useEffect)(() => {
|
|
73348
73357
|
let n = t?.current;
|
|
@@ -73350,13 +73359,13 @@ var jhe = I7(r9, "fwc-searchable-dropdown", { events: {
|
|
|
73350
73359
|
n.removeResolver();
|
|
73351
73360
|
};
|
|
73352
73361
|
}, [e]), t;
|
|
73353
|
-
},
|
|
73354
|
-
ref:
|
|
73362
|
+
}, Fhe = ({ children: e, ...t }) => (0, Y.jsx)(Nhe, {
|
|
73363
|
+
ref: Phe(t.resolver),
|
|
73355
73364
|
children: e
|
|
73356
|
-
}),
|
|
73365
|
+
}), Ihe = ({ children: e, ...t }) => (0, Y.jsx)(Mhe, {
|
|
73357
73366
|
...t,
|
|
73358
73367
|
children: e
|
|
73359
|
-
}),
|
|
73368
|
+
}), Lhe = Aae((e) => jae({
|
|
73360
73369
|
root: {
|
|
73361
73370
|
position: "relative",
|
|
73362
73371
|
width: "100%",
|
|
@@ -73414,7 +73423,7 @@ var jhe = I7(r9, "fwc-searchable-dropdown", { events: {
|
|
|
73414
73423
|
"&.active": { zIndex: 1 }
|
|
73415
73424
|
},
|
|
73416
73425
|
hidden: { opacity: 0 }
|
|
73417
|
-
}), { name: "fusion-header-context-selector" }), a9 = "ctx-selector-clear",
|
|
73426
|
+
}), { name: "fusion-header-context-selector" }), a9 = "ctx-selector-clear", Rhe = class e extends CustomEvent {
|
|
73418
73427
|
static eventName = a9;
|
|
73419
73428
|
constructor(t) {
|
|
73420
73429
|
super(e.eventName, {
|
|
@@ -73429,8 +73438,8 @@ var jhe = I7(r9, "fwc-searchable-dropdown", { events: {
|
|
|
73429
73438
|
subTitle: "Context",
|
|
73430
73439
|
graphic: "list",
|
|
73431
73440
|
isDisabled: !0
|
|
73432
|
-
},
|
|
73433
|
-
let a = n ?? o9, o = (0, W.useRef)(null), [s, c] = (0, W.useState)(a), [l, u] = (0, W.useState)(!1), d =
|
|
73441
|
+
}, zhe = ({ children: e, onSelect: t, previewItem: n, onClearContext: r, ...i }) => {
|
|
73442
|
+
let a = n ?? o9, o = (0, W.useRef)(null), [s, c] = (0, W.useState)(a), [l, u] = (0, W.useState)(!1), d = Lhe(), [f, p] = (0, W.useState)(null);
|
|
73434
73443
|
(0, W.useMemo)(() => {
|
|
73435
73444
|
n && c(n);
|
|
73436
73445
|
}, [n]);
|
|
@@ -73505,7 +73514,7 @@ var jhe = I7(r9, "fwc-searchable-dropdown", { events: {
|
|
|
73505
73514
|
})
|
|
73506
73515
|
}), (0, Y.jsx)("div", {
|
|
73507
73516
|
className: RI(d.ctxSelector, l ? "active" : d.hidden),
|
|
73508
|
-
children: l && (0, Y.jsx)(
|
|
73517
|
+
children: l && (0, Y.jsx)(Ihe, {
|
|
73509
73518
|
autofocus: !0,
|
|
73510
73519
|
...i,
|
|
73511
73520
|
onSelect: g,
|
|
@@ -73537,7 +73546,7 @@ var jhe = I7(r9, "fwc-searchable-dropdown", { events: {
|
|
|
73537
73546
|
error: n,
|
|
73538
73547
|
complete: r
|
|
73539
73548
|
};
|
|
73540
|
-
},
|
|
73549
|
+
}, Bhe = [
|
|
73541
73550
|
l`
|
|
73542
73551
|
:host([color='primary'][variant='filled']) {
|
|
73543
73552
|
--fwc-chip-ink-color: ${f(X.colors.interactive.primary__resting.getVariable("color"))};
|
|
@@ -73731,17 +73740,17 @@ d([i({
|
|
|
73731
73740
|
})], u9.prototype, "removable", void 0), d([i({
|
|
73732
73741
|
type: Boolean,
|
|
73733
73742
|
reflect: !0
|
|
73734
|
-
})], u9.prototype, "disabled", void 0), u9.styles =
|
|
73743
|
+
})], u9.prototype, "disabled", void 0), u9.styles = Bhe;
|
|
73735
73744
|
//#endregion
|
|
73736
73745
|
//#region ../../node_modules/.pnpm/@equinor+fusion-wc-chip@1.3.0/node_modules/@equinor/fusion-wc-chip/lib/index.js
|
|
73737
|
-
var
|
|
73738
|
-
d9 = d([v(
|
|
73746
|
+
var Vhe = "fwc-chip", d9 = class extends u9 {};
|
|
73747
|
+
d9 = d([v(Vhe)], d9);
|
|
73739
73748
|
//#endregion
|
|
73740
73749
|
//#region src/ContextSelector/useContextResolver.ts
|
|
73741
|
-
function
|
|
73750
|
+
function Hhe(e) {
|
|
73742
73751
|
return e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
|
|
73743
73752
|
}
|
|
73744
|
-
function
|
|
73753
|
+
function Uhe(e) {
|
|
73745
73754
|
return e === void 0 ? {} : typeof e == "string" ? {
|
|
73746
73755
|
graphicType: e.startsWith("<") ? "inline-html" : "eds",
|
|
73747
73756
|
graphic: e
|
|
@@ -73753,7 +73762,7 @@ function Hhe(e) {
|
|
|
73753
73762
|
graphic: e.content
|
|
73754
73763
|
};
|
|
73755
73764
|
}
|
|
73756
|
-
function
|
|
73765
|
+
function Whe(e) {
|
|
73757
73766
|
return e === void 0 ? {} : typeof e == "string" ? {
|
|
73758
73767
|
metaType: e.startsWith("<") ? "inline-html" : "eds",
|
|
73759
73768
|
meta: e
|
|
@@ -73770,14 +73779,14 @@ var f9 = (e) => e.map((e) => {
|
|
|
73770
73779
|
id: e.id,
|
|
73771
73780
|
title: e.title,
|
|
73772
73781
|
subTitle: e.subTitle ?? e.type.id,
|
|
73773
|
-
...
|
|
73774
|
-
...
|
|
73782
|
+
...Uhe(e.graphic),
|
|
73783
|
+
...Whe(e.meta)
|
|
73775
73784
|
}, n = !!(e.value.taskState && e.value.taskState.toLowerCase() !== "active");
|
|
73776
|
-
return e.type.id === "EquinorTask" && n && (t.meta = `<fwc-chip disabled variant="outlined" value="${e.value.taskState}" />`, t.metaType = "inline-html"), e.type.id === "OrgChart" && (t.graphic = "list", t.graphicType = "eds", e.value.state && e.value.state.toLowerCase() !== "active" && (t.meta = `<fwc-chip disabled variant="outlined" value="${
|
|
73785
|
+
return e.type.id === "EquinorTask" && n && (t.meta = `<fwc-chip disabled variant="outlined" value="${e.value.taskState}" />`, t.metaType = "inline-html"), e.type.id === "OrgChart" && (t.graphic = "list", t.graphicType = "eds", e.value.state && e.value.state.toLowerCase() !== "active" && (t.meta = `<fwc-chip disabled variant="outlined" value="${Hhe(e.value.state ?? "")}" />`, t.metaType = "inline-html")), t;
|
|
73777
73786
|
}), p9 = (e) => Object.assign({
|
|
73778
73787
|
id: "no-such-item",
|
|
73779
73788
|
title: "Change me"
|
|
73780
|
-
}, e),
|
|
73789
|
+
}, e), Ghe = () => {
|
|
73781
73790
|
let e = YN(), { currentApp: t } = s9(), n = (0, W.useMemo)(() => t?.instance$ || Tn, [t]), [r, i] = (0, W.useState)(null), { value: a } = vq((0, W.useMemo)(() => r?.currentContext$ || Tn, [r])), o = (0, W.useMemo)(() => a ? f9([a]) : [], [a]), s = (0, W.useCallback)((e) => {
|
|
73782
73791
|
let t = e.context;
|
|
73783
73792
|
i(t || null);
|
|
@@ -73833,13 +73842,13 @@ var f9 = (e) => e.map((e) => {
|
|
|
73833
73842
|
provider: r,
|
|
73834
73843
|
currentContext: o
|
|
73835
73844
|
};
|
|
73836
|
-
},
|
|
73837
|
-
let t = (0, W.useId)(), { resolver: n, provider: r, currentContext: [i] } =
|
|
73845
|
+
}, Khe = (e) => {
|
|
73846
|
+
let t = (0, W.useId)(), { resolver: n, provider: r, currentContext: [i] } = Ghe(), a = (0, W.useCallback)((e) => {
|
|
73838
73847
|
if (r) if (e.type === "select") {
|
|
73839
73848
|
let t = e;
|
|
73840
73849
|
t.nativeEvent.detail.selected.length && r.contextClient.setCurrentContext(t.nativeEvent.detail.selected[0].id);
|
|
73841
73850
|
} else r.clearCurrentContext();
|
|
73842
|
-
}, [r]), o = (0, W.useMemo)(() => new
|
|
73851
|
+
}, [r]), o = (0, W.useMemo)(() => new Rhe({ date: Date.now() }), []);
|
|
73843
73852
|
return (0, W.useEffect)(() => {
|
|
73844
73853
|
i || document.dispatchEvent(o);
|
|
73845
73854
|
}, [o, i]), n ? /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
@@ -73847,9 +73856,9 @@ var f9 = (e) => e.map((e) => {
|
|
|
73847
73856
|
flex: 1,
|
|
73848
73857
|
maxWidth: "480px"
|
|
73849
73858
|
},
|
|
73850
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
73859
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Fhe, {
|
|
73851
73860
|
resolver: n,
|
|
73852
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
73861
|
+
children: /* @__PURE__ */ (0, Y.jsx)(zhe, {
|
|
73853
73862
|
id: t,
|
|
73854
73863
|
placeholder: e.placeholder ?? "Search for context",
|
|
73855
73864
|
initialText: e.initialText ?? "Start typing to search",
|
|
@@ -73862,7 +73871,7 @@ var f9 = (e) => e.map((e) => {
|
|
|
73862
73871
|
})
|
|
73863
73872
|
})
|
|
73864
73873
|
}) : null;
|
|
73865
|
-
},
|
|
73874
|
+
}, qhe = ({ scale: e = 1, style: t }) => {
|
|
73866
73875
|
let n = (0, W.useId)(), r = (0, W.useId)();
|
|
73867
73876
|
return /* @__PURE__ */ (0, Y.jsxs)("svg", {
|
|
73868
73877
|
viewBox: "0 0 50 35",
|
|
@@ -73929,17 +73938,17 @@ var f9 = (e) => e.map((e) => {
|
|
|
73929
73938
|
"Group by app": (e) => e.appKey,
|
|
73930
73939
|
"Created by": (e) => e.createdBy.name,
|
|
73931
73940
|
"Group by Context": (e) => e?.context?.name ?? "Unknown"
|
|
73932
|
-
},
|
|
73941
|
+
}, Jhe = (e) => {
|
|
73933
73942
|
let [t, n] = (0, W.useState)(null), [r, i] = (0, W.useState)("Group by app");
|
|
73934
73943
|
return {
|
|
73935
73944
|
setGroupBy: i,
|
|
73936
73945
|
setSearchText: n,
|
|
73937
73946
|
searchText: t,
|
|
73938
|
-
bookmarkGroups:
|
|
73947
|
+
bookmarkGroups: Yhe(e || [], h9[r], t, "name"),
|
|
73939
73948
|
groupingModes: h9,
|
|
73940
73949
|
groupByKey: r
|
|
73941
73950
|
};
|
|
73942
|
-
},
|
|
73951
|
+
}, Yhe = (e, t, n, r) => e?.map(t).filter((e, t, n) => n.indexOf(e) === t).map((i) => ({
|
|
73943
73952
|
groupingProperty: i,
|
|
73944
73953
|
values: e.filter((e) => t(e) === i).filter((e) => {
|
|
73945
73954
|
let t = e[r];
|
|
@@ -73953,22 +73962,13 @@ Q.div`
|
|
|
73953
73962
|
align-items: center;
|
|
73954
73963
|
justify-content: space-between;
|
|
73955
73964
|
`;
|
|
73956
|
-
var
|
|
73965
|
+
var Xhe = ({ searchText: e, setGroupBy: t, setSearchText: n, groupingModes: r, groupBy: i }) => (0, Y.jsx)(Bme, {
|
|
73957
73966
|
placeholder: "Search in my bookmarks",
|
|
73958
73967
|
value: e ?? "",
|
|
73959
73968
|
onChange: (e) => {
|
|
73960
73969
|
n(e.currentTarget.value.length ? e.currentTarget.value : null);
|
|
73961
73970
|
}
|
|
73962
|
-
}),
|
|
73963
|
-
(0, W.useEffect)(() => {
|
|
73964
|
-
let n = (n) => {
|
|
73965
|
-
e && !e.contains(n.target) && t(n);
|
|
73966
|
-
};
|
|
73967
|
-
return document.addEventListener("click", n), () => {
|
|
73968
|
-
document.removeEventListener("click", n);
|
|
73969
|
-
};
|
|
73970
|
-
}, [e, t]);
|
|
73971
|
-
}, Zhe = ({ pRef: e, onClose: t, open: n, options: r }) => (0, Y.jsx)(E5, {
|
|
73971
|
+
}), Zhe = ({ pRef: e, onClose: t, open: n, options: r }) => (0, Y.jsx)(E5, {
|
|
73972
73972
|
open: n,
|
|
73973
73973
|
anchorEl: e.current,
|
|
73974
73974
|
children: r.map(({ onClick: e, name: n, disabled: r, Icon: i }) => (0, Y.jsx)(E5.Item, {
|
|
@@ -74312,7 +74312,7 @@ var Yhe = ({ searchText: e, setGroupBy: t, setSearchText: n, groupingModes: r, g
|
|
|
74312
74312
|
let o = (0, W.useRef)(null), { provider: s } = v9(), c = (0, W.useCallback)((e) => {
|
|
74313
74313
|
e.preventDefault(), e.stopPropagation(), s && N(s.setCurrentBookmark(r)).subscribe();
|
|
74314
74314
|
}, [s, r]);
|
|
74315
|
-
return
|
|
74315
|
+
return hue(o.current, () => a("")), (0, Y.jsxs)(y9.ListItem, {
|
|
74316
74316
|
onClick: c,
|
|
74317
74317
|
children: [(0, Y.jsx)($8, { children: e }), (0, Y.jsxs)(y9.Icons, { children: [
|
|
74318
74318
|
n,
|
|
@@ -74571,7 +74571,7 @@ var uge = ({ bookmarkGroups: e }) => {
|
|
|
74571
74571
|
height: "100%",
|
|
74572
74572
|
width: "100%"
|
|
74573
74573
|
},
|
|
74574
|
-
children: (0, Y.jsx)(
|
|
74574
|
+
children: (0, Y.jsx)(Cpe, {})
|
|
74575
74575
|
});
|
|
74576
74576
|
//#endregion
|
|
74577
74577
|
//#region ../react/components/bookmark/dist/esm/components/Bookmark.js
|
|
@@ -74602,12 +74602,12 @@ var C9 = {
|
|
|
74602
74602
|
right: 0px;
|
|
74603
74603
|
`
|
|
74604
74604
|
}, mge = () => {
|
|
74605
|
-
let { provider: e } = v9(), { value: t } = vq((0, W.useMemo)(() => e?.bookmarks$ || Tn, [e])), { value: n } = vq((0, W.useMemo)(() => (e?.status$ || Tn).pipe(P((e) => !!e.has("fetch_bookmarks"))), [e]), { initial: !0 }), { bookmarkGroups: r, groupingModes: i, searchText: a, setGroupBy: o, setSearchText: s, groupByKey: c } =
|
|
74605
|
+
let { provider: e } = v9(), { value: t } = vq((0, W.useMemo)(() => e?.bookmarks$ || Tn, [e])), { value: n } = vq((0, W.useMemo)(() => (e?.status$ || Tn).pipe(P((e) => !!e.has("fetch_bookmarks"))), [e]), { initial: !0 }), { bookmarkGroups: r, groupingModes: i, searchText: a, setGroupBy: o, setSearchText: s, groupByKey: c } = Jhe(t), l = (0, W.useMemo)(() => n ? (0, Y.jsx)(pge, {}) : r.length === 0 ? (0, Y.jsx)(fge, {
|
|
74606
74606
|
title: "No Bookmarks",
|
|
74607
74607
|
type: "NoContent",
|
|
74608
74608
|
children: "You have not created any bookmarks yet."
|
|
74609
74609
|
}) : (0, Y.jsx)(uge, { bookmarkGroups: r }), [n, r]);
|
|
74610
|
-
return (0, Y.jsxs)(C9.Wrapper, { children: [(0, Y.jsx)(
|
|
74610
|
+
return (0, Y.jsxs)(C9.Wrapper, { children: [(0, Y.jsx)(Xhe, {
|
|
74611
74611
|
groupBy: c,
|
|
74612
74612
|
groupingModes: Object.keys(i),
|
|
74613
74613
|
searchText: a ?? "",
|
|
@@ -75129,7 +75129,7 @@ var E9 = () => {
|
|
|
75129
75129
|
resizeRatio: 1,
|
|
75130
75130
|
snapGap: 0
|
|
75131
75131
|
}, t;
|
|
75132
|
-
}(W.PureComponent), Ege = Q(
|
|
75132
|
+
}(W.PureComponent), Ege = Q(Lme).withConfig({ shouldForwardProp: (e) => e !== "shouldAnimate" })`
|
|
75133
75133
|
animation: ${({ shouldAnimate: e }) => e ? "ScrimAnimation ease 0.3s" : "none"};
|
|
75134
75134
|
animation-iteration-count: 1;
|
|
75135
75135
|
animation-fill-mode: forwards;
|
|
@@ -75218,7 +75218,7 @@ var E9 = () => {
|
|
|
75218
75218
|
})
|
|
75219
75219
|
})
|
|
75220
75220
|
});
|
|
75221
|
-
}, Age =
|
|
75221
|
+
}, Age = gme();
|
|
75222
75222
|
function jge(e) {
|
|
75223
75223
|
return (0, Age.isFragment)(e);
|
|
75224
75224
|
}
|
|
@@ -75579,13 +75579,13 @@ var Gge = { Title: Q.div`
|
|
|
75579
75579
|
height: 48
|
|
75580
75580
|
},
|
|
75581
75581
|
children: [
|
|
75582
|
-
/* @__PURE__ */ (0, Y.jsx)(n5.Header, { children: /* @__PURE__ */ (0, Y.jsxs)(Gge.Title, { children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
75582
|
+
/* @__PURE__ */ (0, Y.jsx)(n5.Header, { children: /* @__PURE__ */ (0, Y.jsxs)(Gge.Title, { children: [/* @__PURE__ */ (0, Y.jsx)(qhe, {}), /* @__PURE__ */ (0, Y.jsx)("span", { children: "Fusion Framework CLI" })] }) }),
|
|
75583
75583
|
/* @__PURE__ */ (0, Y.jsx)(Wge, {
|
|
75584
75584
|
userAzureId: e?.localAccountId,
|
|
75585
75585
|
toggleBookmark: a,
|
|
75586
75586
|
togglePerson: r
|
|
75587
75587
|
}),
|
|
75588
|
-
/* @__PURE__ */ (0, Y.jsx)(n5.CustomContent, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
75588
|
+
/* @__PURE__ */ (0, Y.jsx)(n5.CustomContent, { children: /* @__PURE__ */ (0, Y.jsx)(Khe, {}) })
|
|
75589
75589
|
]
|
|
75590
75590
|
}),
|
|
75591
75591
|
/* @__PURE__ */ (0, Y.jsx)(Uge, {
|
|
@@ -75651,7 +75651,7 @@ var Gge = { Title: Q.div`
|
|
|
75651
75651
|
path: "apps/:appKey/*",
|
|
75652
75652
|
element: /* @__PURE__ */ (0, Y.jsx)(() => {
|
|
75653
75653
|
let { appKey: e } = _ce();
|
|
75654
|
-
return e ? /* @__PURE__ */ (0, Y.jsx)(
|
|
75654
|
+
return e ? /* @__PURE__ */ (0, Y.jsx)(uhe, { appKey: e }) : null;
|
|
75655
75655
|
}, {})
|
|
75656
75656
|
}]
|
|
75657
75657
|
}], Xge = () => (Jge(), /* @__PURE__ */ (0, Y.jsx)(Ele, { routes: Yge })), Zge = new Blob(["<svg height=\"24px\" width=\"24px\" fill=\"#999\" viewBox=\"0 0 24 24\" title=\"person\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"100%\" height=\"100%\" fill=\"#eee\" /><path d=\"M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm2 4c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2Zm4 10c-.2-.71-3.3-2-6-2-2.69 0-5.77 1.28-6 2h12ZM4 18c0-2.66 5.33-4 8-4s8 1.34 8 4v2H4v-2Z\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" class=\"sc-dmqHEX eydzYY\"></path></svg>"], { type: "image/svg+xml" }), $9 = (e, t) => {
|