@carbon-labs/wc-global-header 0.96.0 → 0.97.0
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.
|
@@ -884,17 +884,17 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
884
884
|
(e = super.updated) == null || e.call(this, o), this._checkBadgeWarning();
|
|
885
885
|
}
|
|
886
886
|
render() {
|
|
887
|
-
const { autofocus: o, buttonClassName: e, dangerDescription: s, disabled: c, download: r, href: n, hreflang: i, kind: a, isExpressive: l, isSelected: u, linkRole: v, openTooltip: g, ping: h, rel: b, size: _, tabIndex: w, target: z, tooltipAlignment:
|
|
887
|
+
const { autofocus: o, buttonClassName: e, dangerDescription: s, disabled: c, download: r, href: n, hreflang: i, kind: a, isExpressive: l, isSelected: u, linkRole: v, openTooltip: g, ping: h, rel: b, size: _, tabIndex: w, target: z, tooltipAlignment: E, tooltipPosition: S, tooltipText: I, type: A, _hasIcon: $, hasMainContent: B, _handleSlotChange: x } = this;
|
|
888
888
|
let L = {
|
|
889
889
|
"cds-custom--btn": !0,
|
|
890
890
|
[`cds-custom--btn--${a}`]: a,
|
|
891
891
|
"cds-custom--btn--danger--tertiary": a === "danger-tertiary",
|
|
892
892
|
"cds-custom--btn--danger--ghost": a === "danger-ghost",
|
|
893
893
|
"cds-custom--btn--disabled": c,
|
|
894
|
-
"cds-custom--btn--icon-only":
|
|
894
|
+
"cds-custom--btn--icon-only": $ && !B,
|
|
895
895
|
[`cds-custom--btn--${_}`]: _,
|
|
896
896
|
[`cds-custom--layout--size-${_}`]: _,
|
|
897
|
-
"cds-custom-ce--btn--has-icon":
|
|
897
|
+
"cds-custom-ce--btn--has-icon": $,
|
|
898
898
|
"cds-custom--btn--expressive": l,
|
|
899
899
|
"cds-custom--btn--selected": u && a === "ghost"
|
|
900
900
|
};
|
|
@@ -933,16 +933,16 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
933
933
|
</a>
|
|
934
934
|
${m`<slot id="badge-indicator" name="badge-indicator"></slot>` ?? !c}
|
|
935
935
|
`;
|
|
936
|
-
const R =
|
|
936
|
+
const R = E && (S === "top" || S === "bottom") ? `-${E}` : "", j = Y({
|
|
937
937
|
"cds-custom--popover-container": !0,
|
|
938
938
|
"cds-custom--popover--caret": !0,
|
|
939
939
|
"cds-custom--popover--high-contrast": !0,
|
|
940
940
|
"cds-custom--tooltip": !0,
|
|
941
|
-
"cds-custom--icon-tooltip":
|
|
941
|
+
"cds-custom--icon-tooltip": $,
|
|
942
942
|
"cds-custom--popover--open": g,
|
|
943
|
-
[`cds-custom--popover--${S}${R}`]:
|
|
943
|
+
[`cds-custom--popover--${S}${R}`]: I
|
|
944
944
|
});
|
|
945
|
-
return
|
|
945
|
+
return I && !c ? m`
|
|
946
946
|
<span class="${j}">
|
|
947
947
|
<button
|
|
948
948
|
id="button"
|
|
@@ -952,7 +952,7 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
952
952
|
?disabled="${c}"
|
|
953
953
|
tabindex="${w}"
|
|
954
954
|
type="${T(A)}"
|
|
955
|
-
aria-label="${T(
|
|
955
|
+
aria-label="${T(I)}"
|
|
956
956
|
aria-describedby="badge-indicator">
|
|
957
957
|
<slot @slotchange="${x}"></slot>
|
|
958
958
|
<slot name="icon" @slotchange="${x}"></slot>
|
|
@@ -960,7 +960,7 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
960
960
|
<span class="${"cds-custom"}--popover">
|
|
961
961
|
<span
|
|
962
962
|
class="${"cds-custom"}--popover-content ${"cds-custom"}--tooltip-content">
|
|
963
|
-
${
|
|
963
|
+
${I}
|
|
964
964
|
</span>
|
|
965
965
|
<span class="${"cds-custom"}--popover-caret"></span>
|
|
966
966
|
</span>
|
|
@@ -975,7 +975,7 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
975
975
|
?disabled="${c}"
|
|
976
976
|
tabindex="${w}"
|
|
977
977
|
type="${T(A)}"
|
|
978
|
-
aria-label="${T(
|
|
978
|
+
aria-label="${T(I)}"
|
|
979
979
|
aria-describedby="${T(U ? "danger-description" : void 0)}">
|
|
980
980
|
${U ? m`<span
|
|
981
981
|
id="danger-description"
|
|
@@ -2329,12 +2329,12 @@ async function Ar(t, o) {
|
|
|
2329
2329
|
boundary: l,
|
|
2330
2330
|
rootBoundary: u,
|
|
2331
2331
|
strategy: a
|
|
2332
|
-
})),
|
|
2332
|
+
})), E = v === "floating" ? {
|
|
2333
2333
|
x: s,
|
|
2334
2334
|
y: c,
|
|
2335
2335
|
width: n.floating.width,
|
|
2336
2336
|
height: n.floating.height
|
|
2337
|
-
} : n.reference, S = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)),
|
|
2337
|
+
} : n.reference, S = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), I = await (r.isElement == null ? void 0 : r.isElement(S)) ? await (r.getScale == null ? void 0 : r.getScale(S)) || {
|
|
2338
2338
|
x: 1,
|
|
2339
2339
|
y: 1
|
|
2340
2340
|
} : {
|
|
@@ -2342,15 +2342,15 @@ async function Ar(t, o) {
|
|
|
2342
2342
|
y: 1
|
|
2343
2343
|
}, A = ne(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
2344
2344
|
elements: i,
|
|
2345
|
-
rect:
|
|
2345
|
+
rect: E,
|
|
2346
2346
|
offsetParent: S,
|
|
2347
2347
|
strategy: a
|
|
2348
|
-
}) :
|
|
2348
|
+
}) : E);
|
|
2349
2349
|
return {
|
|
2350
|
-
top: (z.top - A.top + b.top) /
|
|
2351
|
-
bottom: (A.bottom - z.bottom + b.bottom) /
|
|
2352
|
-
left: (z.left - A.left + b.left) /
|
|
2353
|
-
right: (A.right - z.right + b.right) /
|
|
2350
|
+
top: (z.top - A.top + b.top) / I.y,
|
|
2351
|
+
bottom: (A.bottom - z.bottom + b.bottom) / I.y,
|
|
2352
|
+
left: (z.left - A.left + b.left) / I.x,
|
|
2353
|
+
right: (A.right - z.right + b.right) / I.x
|
|
2354
2354
|
};
|
|
2355
2355
|
}
|
|
2356
2356
|
const Er = 50, Ir = async (t, o, e) => {
|
|
@@ -2378,13 +2378,13 @@ const Er = 50, Ir = async (t, o, e) => {
|
|
|
2378
2378
|
continue;
|
|
2379
2379
|
const {
|
|
2380
2380
|
name: z,
|
|
2381
|
-
fn:
|
|
2381
|
+
fn: E
|
|
2382
2382
|
} = w, {
|
|
2383
2383
|
x: S,
|
|
2384
|
-
y:
|
|
2384
|
+
y: I,
|
|
2385
2385
|
data: A,
|
|
2386
|
-
reset:
|
|
2387
|
-
} = await
|
|
2386
|
+
reset: $
|
|
2387
|
+
} = await E({
|
|
2388
2388
|
x: u,
|
|
2389
2389
|
y: v,
|
|
2390
2390
|
initialPlacement: s,
|
|
@@ -2398,14 +2398,14 @@ const Er = 50, Ir = async (t, o, e) => {
|
|
|
2398
2398
|
floating: o
|
|
2399
2399
|
}
|
|
2400
2400
|
});
|
|
2401
|
-
u = S ?? u, v =
|
|
2401
|
+
u = S ?? u, v = I ?? v, b[z] = {
|
|
2402
2402
|
...b[z],
|
|
2403
2403
|
...A
|
|
2404
|
-
},
|
|
2404
|
+
}, $ && h < Er && (h++, typeof $ == "object" && ($.placement && (g = $.placement), $.rects && (l = $.rects === !0 ? await n.getElementRects({
|
|
2405
2405
|
reference: t,
|
|
2406
2406
|
floating: o,
|
|
2407
2407
|
strategy: c
|
|
2408
|
-
}) :
|
|
2408
|
+
}) : $.rects), {
|
|
2409
2409
|
x: u,
|
|
2410
2410
|
y: v
|
|
2411
2411
|
} = Cs(l, g, a)), _ = -1);
|
|
@@ -2438,10 +2438,10 @@ const Er = 50, Ir = async (t, o, e) => {
|
|
|
2438
2438
|
const v = ac(u), g = {
|
|
2439
2439
|
x: e,
|
|
2440
2440
|
y: s
|
|
2441
|
-
}, h = Ye(c), b = Ke(h), _ = await n.getDimensions(l), w = h === "y", z = w ? "top" : "left",
|
|
2442
|
-
let B =
|
|
2443
|
-
(!B || !await (n.isElement == null ? void 0 : n.isElement(
|
|
2444
|
-
const x =
|
|
2441
|
+
}, h = Ye(c), b = Ke(h), _ = await n.getDimensions(l), w = h === "y", z = w ? "top" : "left", E = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", I = r.reference[b] + r.reference[h] - g[h] - r.floating[b], A = g[h] - r.reference[h], $ = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(l));
|
|
2442
|
+
let B = $ ? $[S] : 0;
|
|
2443
|
+
(!B || !await (n.isElement == null ? void 0 : n.isElement($))) && (B = i.floating[S] || r.floating[b]);
|
|
2444
|
+
const x = I / 2 - A / 2, L = B / 2 - _[b] / 2 - 1, F = No(v[z], L), U = No(v[E], L), R = F, j = B - _[b] - U, D = B / 2 - _[b] / 2 + x, X = yr(R, D, j), oo = !a.arrow && Ot(c) != null && D !== X && r.reference[b] / 2 - (D < R ? F : U) - _[b] / 2 < 0, Z = oo ? D < R ? D - R : D - j : 0;
|
|
2445
2445
|
return {
|
|
2446
2446
|
[h]: g[h] + Z,
|
|
2447
2447
|
data: {
|
|
@@ -2478,12 +2478,12 @@ const Er = 50, Ir = async (t, o, e) => {
|
|
|
2478
2478
|
} = Pt(t, o);
|
|
2479
2479
|
if ((e = r.arrow) != null && e.alignmentOffset)
|
|
2480
2480
|
return {};
|
|
2481
|
-
const z = rt(c),
|
|
2482
|
-
!g &&
|
|
2481
|
+
const z = rt(c), E = Eo(i), S = rt(i) === i, I = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), A = g || (S || !_ ? [re(i)] : kr(i)), $ = b !== "none";
|
|
2482
|
+
!g && $ && A.push(...Cr(i, _, b, I));
|
|
2483
2483
|
const B = [i, ...A], x = await a.detectOverflow(o, w), L = [];
|
|
2484
2484
|
let F = ((s = r.flip) == null ? void 0 : s.overflows) || [];
|
|
2485
2485
|
if (u && L.push(x[z]), v) {
|
|
2486
|
-
const D = xr(c, n,
|
|
2486
|
+
const D = xr(c, n, I);
|
|
2487
2487
|
L.push(x[D[0]], x[D[1]]);
|
|
2488
2488
|
}
|
|
2489
2489
|
if (F = [...F, {
|
|
@@ -2492,9 +2492,9 @@ const Er = 50, Ir = async (t, o, e) => {
|
|
|
2492
2492
|
}], !L.every((D) => D <= 0)) {
|
|
2493
2493
|
var U, R;
|
|
2494
2494
|
const D = (((U = r.flip) == null ? void 0 : U.index) || 0) + 1, X = B[D];
|
|
2495
|
-
if (X && (!(v === "alignment" ?
|
|
2495
|
+
if (X && (!(v === "alignment" ? E !== Eo(X) : !1) || // We leave the current main axis only if every placement on that axis
|
|
2496
2496
|
// overflows the main axis.
|
|
2497
|
-
F.every((G) => Eo(G.placement) ===
|
|
2497
|
+
F.every((G) => Eo(G.placement) === E ? G.overflows[0] > 0 : !0)))
|
|
2498
2498
|
return {
|
|
2499
2499
|
data: {
|
|
2500
2500
|
index: D,
|
|
@@ -2510,9 +2510,9 @@ const Er = 50, Ir = async (t, o, e) => {
|
|
|
2510
2510
|
case "bestFit": {
|
|
2511
2511
|
var j;
|
|
2512
2512
|
const Z = (j = F.filter((G) => {
|
|
2513
|
-
if (
|
|
2513
|
+
if ($) {
|
|
2514
2514
|
const lo = Eo(G.placement);
|
|
2515
|
-
return lo ===
|
|
2515
|
+
return lo === E || // Create a bias to the `y` side axis due to horizontal
|
|
2516
2516
|
// reading directions favoring greater width.
|
|
2517
2517
|
lo === "y";
|
|
2518
2518
|
}
|
|
@@ -2660,9 +2660,9 @@ const Lr = function(t) {
|
|
|
2660
2660
|
} = r.floating;
|
|
2661
2661
|
let w, z;
|
|
2662
2662
|
v === "top" || v === "bottom" ? (w = v, z = g === (await (n.isRTL == null ? void 0 : n.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (z = v, w = g === "end" ? "top" : "bottom");
|
|
2663
|
-
const
|
|
2664
|
-
let B =
|
|
2665
|
-
if ((e = o.middlewareData.shift) != null && e.enabled.x && (x = S), (s = o.middlewareData.shift) != null && s.enabled.y && (B =
|
|
2663
|
+
const E = _ - u.top - u.bottom, S = b - u.left - u.right, I = No(_ - u[w], E), A = No(b - u[z], S), $ = !o.middlewareData.shift;
|
|
2664
|
+
let B = I, x = A;
|
|
2665
|
+
if ((e = o.middlewareData.shift) != null && e.enabled.x && (x = S), (s = o.middlewareData.shift) != null && s.enabled.y && (B = E), $ && !g) {
|
|
2666
2666
|
const F = Q(u.left, 0), U = Q(u.right, 0), R = Q(u.top, 0), j = Q(u.bottom, 0);
|
|
2667
2667
|
h ? x = b - 2 * (F !== 0 || U !== 0 ? F + U : Q(u.left, u.right)) : B = _ - 2 * (R !== 0 || j !== 0 ? R + j : Q(u.top, u.bottom));
|
|
2668
2668
|
}
|
|
@@ -2844,8 +2844,8 @@ function nt(t, o, e, s) {
|
|
|
2844
2844
|
const g = J(r), h = s && io(s) ? J(s) : s;
|
|
2845
2845
|
let b = g, _ = Le(b);
|
|
2846
2846
|
for (; _ && s && h !== b; ) {
|
|
2847
|
-
const w = vt(_), z = _.getBoundingClientRect(),
|
|
2848
|
-
a *= w.x, l *= w.y, u *= w.x, v *= w.y, a += S, l +=
|
|
2847
|
+
const w = vt(_), z = _.getBoundingClientRect(), E = ao(_), S = z.left + (_.clientLeft + parseFloat(E.paddingLeft)) * w.x, I = z.top + (_.clientTop + parseFloat(E.paddingTop)) * w.y;
|
|
2848
|
+
a *= w.x, l *= w.y, u *= w.x, v *= w.y, a += S, l += I, b = J(_), _ = Le(b);
|
|
2849
2849
|
}
|
|
2850
2850
|
}
|
|
2851
2851
|
return ne({
|
|
@@ -3107,17 +3107,17 @@ function en(t, o) {
|
|
|
3107
3107
|
rootMargin: -b + "px " + -_ + "px " + -w + "px " + -z + "px",
|
|
3108
3108
|
threshold: Q(0, No(1, a)) || 1
|
|
3109
3109
|
};
|
|
3110
|
-
let
|
|
3111
|
-
function A(
|
|
3112
|
-
const B =
|
|
3110
|
+
let I = !0;
|
|
3111
|
+
function A($) {
|
|
3112
|
+
const B = $[0].intersectionRatio;
|
|
3113
3113
|
if (B !== a) {
|
|
3114
|
-
if (!
|
|
3114
|
+
if (!I)
|
|
3115
3115
|
return n();
|
|
3116
3116
|
B ? n(!1, B) : s = setTimeout(() => {
|
|
3117
3117
|
n(!1, 1e-7);
|
|
3118
3118
|
}, 1e3);
|
|
3119
3119
|
}
|
|
3120
|
-
B === 1 && !bc(l, t.getBoundingClientRect()) && n(),
|
|
3120
|
+
B === 1 && !bc(l, t.getBoundingClientRect()) && n(), I = !1;
|
|
3121
3121
|
}
|
|
3122
3122
|
try {
|
|
3123
3123
|
e = new IntersectionObserver(A, {
|
|
@@ -3149,8 +3149,8 @@ function sn(t, o, e, s) {
|
|
|
3149
3149
|
const v = l && i ? en(l, e) : null;
|
|
3150
3150
|
let g = -1, h = null;
|
|
3151
3151
|
n && (h = new ResizeObserver((z) => {
|
|
3152
|
-
let [
|
|
3153
|
-
|
|
3152
|
+
let [E] = z;
|
|
3153
|
+
E && E.target === l && h && o && (h.unobserve(o), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
|
|
3154
3154
|
var S;
|
|
3155
3155
|
(S = h) == null || S.observe(o);
|
|
3156
3156
|
})), e();
|
|
@@ -3163,8 +3163,8 @@ function sn(t, o, e, s) {
|
|
|
3163
3163
|
}
|
|
3164
3164
|
return e(), () => {
|
|
3165
3165
|
var z;
|
|
3166
|
-
u.forEach((
|
|
3167
|
-
c &&
|
|
3166
|
+
u.forEach((E) => {
|
|
3167
|
+
c && E.removeEventListener("scroll", e), r && E.removeEventListener("resize", e);
|
|
3168
3168
|
}), v == null || v(), (z = h) == null || z.disconnect(), h = null, a && cancelAnimationFrame(b);
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
@@ -3197,7 +3197,7 @@ var pn = class {
|
|
|
3197
3197
|
this.cleanup = sn(o, e, this.updatePlacement);
|
|
3198
3198
|
}
|
|
3199
3199
|
async computePlacement() {
|
|
3200
|
-
var S,
|
|
3200
|
+
var S, I;
|
|
3201
3201
|
const { arrowElement: t, alignment: o, caret: e, trigger: s, target: c, styleElement: r, matchWidth: n, open: i, alignmentAxisOffset: a, autoAlignBoundary: l, isTabTip: u } = this.options, v = (c == null ? void 0 : c.role) === "listbox", g = (c == null ? void 0 : c.localName) === "cds-custom-menu", h = r ?? c;
|
|
3202
3202
|
if (!h) return;
|
|
3203
3203
|
let b;
|
|
@@ -3231,9 +3231,9 @@ var pn = class {
|
|
|
3231
3231
|
break;
|
|
3232
3232
|
}
|
|
3233
3233
|
const _ = getComputedStyle(h), z = u ? 0 : ((A) => {
|
|
3234
|
-
const
|
|
3235
|
-
return A.trim().endsWith("rem") ?
|
|
3236
|
-
})(_.getPropertyValue("--cds-popover-offset").trim()) ?? 10,
|
|
3234
|
+
const $ = parseFloat(A);
|
|
3235
|
+
return A.trim().endsWith("rem") ? $ * 16 : $;
|
|
3236
|
+
})(_.getPropertyValue("--cds-popover-offset").trim()) ?? 10, E = [
|
|
3237
3237
|
cn(u ? 0 : {
|
|
3238
3238
|
alignmentAxis: a,
|
|
3239
3239
|
mainAxis: e ? z : 4
|
|
@@ -3280,8 +3280,8 @@ var pn = class {
|
|
|
3280
3280
|
fallbackAxisSideDirection: "start",
|
|
3281
3281
|
boundary: l
|
|
3282
3282
|
}),
|
|
3283
|
-
...n && (b === "bottom" || b === "top") ? [Ts({ apply({ rects: A, elements:
|
|
3284
|
-
|
|
3283
|
+
...n && (b === "bottom" || b === "top") ? [Ts({ apply({ rects: A, elements: $ }) {
|
|
3284
|
+
$.floating.style.width = `${A.reference.width}px`;
|
|
3285
3285
|
} })] : [Ts({ apply({ elements: A }) {
|
|
3286
3286
|
A.floating.style.removeProperty("width");
|
|
3287
3287
|
} })],
|
|
@@ -3292,12 +3292,12 @@ var pn = class {
|
|
|
3292
3292
|
nn()
|
|
3293
3293
|
];
|
|
3294
3294
|
if (i) {
|
|
3295
|
-
const { x: A, y:
|
|
3295
|
+
const { x: A, y: $, placement: B, middlewareData: x, strategy: L } = await dn(s, h, {
|
|
3296
3296
|
strategy: "fixed",
|
|
3297
|
-
middleware:
|
|
3297
|
+
middleware: E,
|
|
3298
3298
|
placement: b
|
|
3299
3299
|
});
|
|
3300
|
-
if (h.setAttribute("align", B), h.style.left = `${A}px`, h.style.top = `${
|
|
3300
|
+
if (h.setAttribute("align", B), h.style.left = `${A}px`, h.style.top = `${$}px`, h.style.position = `${L}`, h.style.visibility = (S = x.hide) != null && S.referenceHidden ? "hidden" : "visible", t) {
|
|
3301
3301
|
const { x: F, y: U } = x.arrow, R = {
|
|
3302
3302
|
top: "bottom",
|
|
3303
3303
|
right: "left",
|
|
@@ -3306,7 +3306,7 @@ var pn = class {
|
|
|
3306
3306
|
}[B.split("-")[0]];
|
|
3307
3307
|
t.style.left = F != null ? `${F}px` : "", t.style.top = U != null ? `${U}px` : "", t.style.right = "", t.style.bottom = "", t.style[R] = `${-t.offsetWidth / 2}px`;
|
|
3308
3308
|
}
|
|
3309
|
-
(this.host.tagName === "CDS-AI-LABEL" || this.host.tagName === "CDS-SLUG") && ((
|
|
3309
|
+
(this.host.tagName === "CDS-AI-LABEL" || this.host.tagName === "CDS-SLUG") && ((I = this.host) == null || I.setAttribute("alignment", B));
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
3312
|
hostUpdated() {
|
|
@@ -4607,7 +4607,7 @@ let eo = class extends y {
|
|
|
4607
4607
|
};
|
|
4608
4608
|
}
|
|
4609
4609
|
render() {
|
|
4610
|
-
var e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z,
|
|
4610
|
+
var e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z, E, S, I, A, $, B;
|
|
4611
4611
|
const o = "title-icon";
|
|
4612
4612
|
return typeof this.isCollapsible > "u" || this.isCollapsible ? this.isSideNavMenuItems ? m`
|
|
4613
4613
|
<cds-custom-side-nav-menu
|
|
@@ -4689,7 +4689,7 @@ let eo = class extends y {
|
|
|
4689
4689
|
<cds-custom-side-nav-link
|
|
4690
4690
|
role="link"
|
|
4691
4691
|
href="${(z = this.link) == null ? void 0 : z.href}"
|
|
4692
|
-
@click="${(
|
|
4692
|
+
@click="${(E = this.link) == null ? void 0 : E.onClick}"
|
|
4693
4693
|
title="${(S = this.link) == null ? void 0 : S.label}"
|
|
4694
4694
|
class="${mo({
|
|
4695
4695
|
[`${O}--side-nav__link--current`]: this.isActive
|
|
@@ -4697,7 +4697,7 @@ let eo = class extends y {
|
|
|
4697
4697
|
@mouseleave="${() => this._setIsHoveringOnSideNavItem(!1)}"
|
|
4698
4698
|
@mouseenter="${() => this._setIsHoveringOnSideNavItem(!0)}"
|
|
4699
4699
|
large="${!this.isHybridIpaas}">
|
|
4700
|
-
${(
|
|
4700
|
+
${(I = this.link) != null && I.iconName ? N((A = this.link) == null ? void 0 : A.iconName, 16, o) : ($ = this.link) == null ? void 0 : $.label}
|
|
4701
4701
|
</cds-custom-side-nav-link>
|
|
4702
4702
|
<cds-custom-popover-content
|
|
4703
4703
|
>${(B = this.link) == null ? void 0 : B.label}</cds-custom-popover-content
|
|
@@ -6544,7 +6544,7 @@ let Co = class extends y {
|
|
|
6544
6544
|
}), Ws(this.headerProps));
|
|
6545
6545
|
}
|
|
6546
6546
|
render() {
|
|
6547
|
-
var t, o, e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z,
|
|
6547
|
+
var t, o, e, s, c, r, n, i, a, l, u, v, g, h, b, _, w, z, E, S, I, A, $, B, x, L, F, U;
|
|
6548
6548
|
return m`
|
|
6549
6549
|
<cds-custom-header
|
|
6550
6550
|
class="${O}__header"
|
|
@@ -6612,7 +6612,7 @@ let Co = class extends y {
|
|
|
6612
6612
|
|
|
6613
6613
|
<!-- sideNav link render -->
|
|
6614
6614
|
${this.headerProps.sideNav.links && this.headerProps.sideNav.links.length > 0 ? m`
|
|
6615
|
-
${(S = (
|
|
6615
|
+
${(S = (E = this.headerProps.sideNav) == null ? void 0 : E.links) == null ? void 0 : S.map((R) => {
|
|
6616
6616
|
var j, D, X;
|
|
6617
6617
|
return m`
|
|
6618
6618
|
<clabs-global-header-side-nav-item
|
|
@@ -6632,10 +6632,10 @@ let Co = class extends y {
|
|
|
6632
6632
|
</clabs-global-header-wide-side-nav>
|
|
6633
6633
|
` : f}
|
|
6634
6634
|
${this.headerProps && this.headerProps.sideNavPropsV2 ? m`<cds-custom-side-nav
|
|
6635
|
-
aria-label=${((A = (
|
|
6635
|
+
aria-label=${((A = (I = this.headerProps) == null ? void 0 : I.sideNavPropsV2) == null ? void 0 : A.buttonLabel) ?? "Side navigation"}
|
|
6636
6636
|
collapse-mode="rail"
|
|
6637
6637
|
?expanded="${typeof this.headerProps.sideNavPropsV2.isExpandable < "u" && this.headerProps.sideNavPropsV2.isExpandable ? this.isMenuOpen : !1}"
|
|
6638
|
-
?is-not-persistent="${!(typeof ((B = (
|
|
6638
|
+
?is-not-persistent="${!(typeof ((B = ($ = this.headerProps) == null ? void 0 : $.sideNavPropsV2) == null ? void 0 : B.isCollapsible) < "u" && !((L = (x = this.headerProps) == null ? void 0 : x.sideNav) != null && L.isCollapsible))}"
|
|
6639
6639
|
class="
|
|
6640
6640
|
${mo({
|
|
6641
6641
|
[`${O}--rail-sidePanel`]: typeof this.headerProps.sideNavPropsV2.isCollapsible < "u" && !this.headerProps.sideNavPropsV2.isCollapsible
|
|
@@ -6703,7 +6703,7 @@ const da = `.cds--layout--size-xs{--cds-layout-size-height-context: var(--cds-la
|
|
|
6703
6703
|
*/
|
|
6704
6704
|
class pa {
|
|
6705
6705
|
constructor(o) {
|
|
6706
|
-
this.refreshIntervalId = null, this.sessionStatusIntervalId = null, this.isLoggingOut = !1, this.config = o, this.tokenRefreshInterval = o.tokenRefreshInterval || 25, this.sessionStatusInterval = o.sessionStatusInterval || 10, this.idleTimeoutInterval = o.idleTimeoutInterval || 28, this.basePath = o.basePath, this.activityEvents = [
|
|
6706
|
+
this.refreshIntervalId = null, this.sessionStatusIntervalId = null, this.isLoggingOut = !1, this.refreshNotBefore = 0, this.config = o, this.tokenRefreshInterval = o.tokenRefreshInterval || 25, this.sessionStatusInterval = o.sessionStatusInterval || 10, this.idleTimeoutInterval = o.idleTimeoutInterval || 28, this.basePath = o.basePath, this.activityEvents = [
|
|
6707
6707
|
"mousedown",
|
|
6708
6708
|
"mousemove",
|
|
6709
6709
|
"keypress",
|
|
@@ -6711,7 +6711,7 @@ class pa {
|
|
|
6711
6711
|
"touchstart",
|
|
6712
6712
|
"click",
|
|
6713
6713
|
"focus"
|
|
6714
|
-
], this.isIdle = !1, this.idleTimeout = void 0, this.boundSetActive = () => this.setActive(), this.
|
|
6714
|
+
], this.isIdle = !1, this.idleTimeout = void 0, this.boundSetActive = () => this.setActive(), this.logoutCallback = o.logoutCallback;
|
|
6715
6715
|
}
|
|
6716
6716
|
startRefreshSchedule() {
|
|
6717
6717
|
this.refreshIntervalId = window.setInterval(
|
|
@@ -6729,13 +6729,17 @@ class pa {
|
|
|
6729
6729
|
}
|
|
6730
6730
|
rescheduleRefresh(o) {
|
|
6731
6731
|
this.stopRefreshSchedule();
|
|
6732
|
-
const e = Math.max(0, o -
|
|
6732
|
+
const e = (30 - this.tokenRefreshInterval) * 60 * 1e3, s = Math.max(0, o - e);
|
|
6733
6733
|
window.setTimeout(() => {
|
|
6734
6734
|
this.triggerRefresh(), this.startRefreshSchedule();
|
|
6735
|
-
},
|
|
6735
|
+
}, s);
|
|
6736
6736
|
}
|
|
6737
6737
|
async triggerRefresh() {
|
|
6738
|
-
|
|
6738
|
+
if (Date.now() < this.refreshNotBefore) {
|
|
6739
|
+
console.log("Solis token refresh skipped (token still fresh)");
|
|
6740
|
+
return;
|
|
6741
|
+
}
|
|
6742
|
+
const o = this.basePath ? this.basePath + "/hybrid-ipaas/v1/solis/session/refresh-token" : "/hybrid-ipaas/v1/solis/session/refresh-token";
|
|
6739
6743
|
try {
|
|
6740
6744
|
const e = await fetch(o, {
|
|
6741
6745
|
method: "GET",
|
|
@@ -6744,8 +6748,11 @@ class pa {
|
|
|
6744
6748
|
if (e.ok) {
|
|
6745
6749
|
console.log("Solis token refresh successful");
|
|
6746
6750
|
const s = await e.json().catch(() => null);
|
|
6747
|
-
(s == null ? void 0 : s.ttl) != null
|
|
6748
|
-
|
|
6751
|
+
if ((s == null ? void 0 : s.ttl) != null) {
|
|
6752
|
+
const c = (30 - this.tokenRefreshInterval) * 60 * 1e3;
|
|
6753
|
+
this.refreshNotBefore = Date.now() + s.ttl * 1e3 - c, this.rescheduleRefresh(s.ttl * 1e3);
|
|
6754
|
+
}
|
|
6755
|
+
} else e.status === 401 || e.status === 403 ? (console.error("Solis token refresh unauthorized - triggering logout"), await this.performLogout(!0)) : console.error("Solis token refresh failed:", e.status);
|
|
6749
6756
|
} catch (e) {
|
|
6750
6757
|
console.error("Solis token refresh error:", e.message);
|
|
6751
6758
|
}
|
|
@@ -6772,56 +6779,70 @@ class pa {
|
|
|
6772
6779
|
);
|
|
6773
6780
|
}
|
|
6774
6781
|
async setIdle() {
|
|
6775
|
-
|
|
6776
|
-
|
|
6782
|
+
this.isIdle = !0;
|
|
6783
|
+
const o = await this.checkSessionStatus();
|
|
6784
|
+
if (!o) {
|
|
6785
|
+
await this.performLogout(!1);
|
|
6777
6786
|
return;
|
|
6778
6787
|
}
|
|
6788
|
+
typeof o == "number" && this.rescheduleRefresh(o * 1e3);
|
|
6779
6789
|
}
|
|
6780
6790
|
isTabIdle() {
|
|
6781
6791
|
return this.isIdle;
|
|
6782
6792
|
}
|
|
6793
|
+
// Returns the token's remaining TTL in seconds when the session is active,
|
|
6794
|
+
// true if the session is active but the endpoint did not include a TTL,
|
|
6795
|
+
// or false when it is inactive or the request fails.
|
|
6783
6796
|
async checkSessionStatus() {
|
|
6784
|
-
const o = this.basePath ? this.basePath + "/v1/solis/session/session-status" : "/v1/solis/session/session-status";
|
|
6797
|
+
const o = this.basePath ? this.basePath + "/hybrid-ipaas/v1/solis/session/session-status" : "/hybrid-ipaas/v1/solis/session/session-status";
|
|
6785
6798
|
try {
|
|
6786
|
-
|
|
6799
|
+
const e = await fetch(o, {
|
|
6787
6800
|
method: "GET",
|
|
6788
6801
|
credentials: "same-origin"
|
|
6789
|
-
})
|
|
6802
|
+
});
|
|
6803
|
+
if (e.ok) {
|
|
6804
|
+
const s = await e.json().catch(() => null), c = (s == null ? void 0 : s.ttl) ?? null;
|
|
6805
|
+
return console.log("Solis session is active"), c ?? !0;
|
|
6806
|
+
} else
|
|
6807
|
+
return console.warn("Solis session is inactive"), !1;
|
|
6790
6808
|
} catch (e) {
|
|
6791
6809
|
return console.error("Solis session status unknown:", e.message), !1;
|
|
6792
6810
|
}
|
|
6793
6811
|
}
|
|
6794
|
-
async performLogout() {
|
|
6812
|
+
async performLogout(o) {
|
|
6795
6813
|
if (this.isLoggingOut)
|
|
6796
6814
|
return;
|
|
6797
|
-
this.isLoggingOut = !0, this.stopRefreshSchedule(), this.stopSessionStatusPolling(), this.unregisterActivityListeners()
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6815
|
+
if (this.isLoggingOut = !0, this.stopRefreshSchedule(), this.stopSessionStatusPolling(), this.unregisterActivityListeners(), await this.checkSessionStatus()) {
|
|
6816
|
+
const c = this.basePath ? this.basePath + "/hybrid-ipaas/v1/solis/session/logout" : "/hybrid-ipaas/v1/solis/session/logout";
|
|
6817
|
+
try {
|
|
6818
|
+
const r = await fetch(c, {
|
|
6819
|
+
method: "POST",
|
|
6820
|
+
credentials: "same-origin"
|
|
6821
|
+
});
|
|
6822
|
+
r.ok ? console.log("Solis session logout - successful") : r.status === 401 ? console.log("Solis session logout - session already expired") : console.error("Solis session logout failed:", r.status);
|
|
6823
|
+
} catch (r) {
|
|
6824
|
+
console.error("Solis session logout error:", r.message);
|
|
6825
|
+
}
|
|
6807
6826
|
}
|
|
6808
6827
|
if (this.logoutCallback)
|
|
6809
6828
|
try {
|
|
6810
6829
|
await this.logoutCallback();
|
|
6811
|
-
} catch (
|
|
6812
|
-
console.error("Logout failed with error: ",
|
|
6830
|
+
} catch (c) {
|
|
6831
|
+
console.error("Logout failed with error: ", c.message);
|
|
6813
6832
|
}
|
|
6833
|
+
const s = o ? "/solis-logout" : "/login";
|
|
6814
6834
|
this.redirect(
|
|
6815
|
-
this.
|
|
6835
|
+
this.basePath ? `${this.basePath}${s}` : s
|
|
6816
6836
|
);
|
|
6817
6837
|
}
|
|
6818
6838
|
startSessionStatusPolling() {
|
|
6819
6839
|
const o = async () => {
|
|
6820
|
-
|
|
6821
|
-
|
|
6840
|
+
const e = await this.checkSessionStatus();
|
|
6841
|
+
if (!e) {
|
|
6842
|
+
await this.performLogout(!1);
|
|
6822
6843
|
return;
|
|
6823
6844
|
}
|
|
6824
|
-
this.sessionStatusIntervalId = window.setTimeout(
|
|
6845
|
+
typeof e == "number" && this.rescheduleRefresh(e * 1e3), this.sessionStatusIntervalId = window.setTimeout(
|
|
6825
6846
|
o,
|
|
6826
6847
|
this.sessionStatusInterval * 1e3
|
|
6827
6848
|
);
|
|
@@ -6841,15 +6862,15 @@ class pa {
|
|
|
6841
6862
|
window.location.href = o;
|
|
6842
6863
|
}
|
|
6843
6864
|
}
|
|
6844
|
-
var la = Object.defineProperty, ua = Object.getOwnPropertyDescriptor,
|
|
6865
|
+
var la = Object.defineProperty, ua = Object.getOwnPropertyDescriptor, P = (t, o, e, s) => {
|
|
6845
6866
|
for (var c = s > 1 ? void 0 : s ? ua(o, e) : o, r = t.length - 1, n; r >= 0; r--)
|
|
6846
6867
|
(n = t[r]) && (c = (s ? n(o, e, c) : n(c)) || c);
|
|
6847
6868
|
return s && c && la(o, e, c), c;
|
|
6848
6869
|
};
|
|
6849
6870
|
const { stablePrefix: ma } = ro;
|
|
6850
|
-
let
|
|
6871
|
+
let C = class extends y {
|
|
6851
6872
|
constructor() {
|
|
6852
|
-
super(), this.productName = null, this.productKey = "", this.fetchHeaders = {}, this.solisSidekickEnabled = !1, this.solisSwitcherEnabled = !1, this.solisEnvironment = "local", this.solisDevMode = !1, this.basePath = "", this.displayName = "", this.userEmail = "", this.productVersion = null, this.assistMeKey = "", this.aiCallbackEvent = "", this.logoutCallbackEvent = "", this.notificationOpenCallbackEvent = "", this.searchCallbackEvent = "", this.searchSubmitCallbackEvent = "", this.hasNewNotifications = !1, this.searchConfigs = null, this.capabilityProfileFooterLinks = [], this.capabilityGlobalActions = [], this.addCookiePreferences = !1, this.forceBackendProxy = !1, this.solisSessionManagerEnabled = !1, this.solisSessionRefreshInterval = 25, this.solisIdleTimeoutInterval = 28, this.solisSessionStatusInterval = 10, this.
|
|
6873
|
+
super(), this.productName = null, this.productKey = "", this.fetchHeaders = {}, this.solisSidekickEnabled = !1, this.solisSwitcherEnabled = !1, this.solisEnvironment = "local", this.solisDevMode = !1, this.basePath = "", this.displayName = "", this.userEmail = "", this.productVersion = null, this.assistMeKey = "", this.aiCallbackEvent = "", this.logoutCallbackEvent = "", this.notificationOpenCallbackEvent = "", this.searchCallbackEvent = "", this.searchSubmitCallbackEvent = "", this.hasNewNotifications = !1, this.searchConfigs = null, this.capabilityProfileFooterLinks = [], this.capabilityGlobalActions = [], this.addCookiePreferences = !1, this.forceBackendProxy = !1, this.solisSessionManagerEnabled = !1, this.solisSessionRefreshInterval = 25, this.solisIdleTimeoutInterval = 28, this.solisSessionStatusInterval = 10, this.headerOptions = {
|
|
6853
6874
|
...yn,
|
|
6854
6875
|
brand: {
|
|
6855
6876
|
company: "IBM",
|
|
@@ -6920,8 +6941,7 @@ let $ = class extends y {
|
|
|
6920
6941
|
idleTimeoutInterval: this.solisIdleTimeoutInterval,
|
|
6921
6942
|
sessionStatusInterval: this.solisSessionStatusInterval,
|
|
6922
6943
|
basePath: this.basePath,
|
|
6923
|
-
logoutCallback: t
|
|
6924
|
-
logoutUrl: this.logoutUrl || void 0
|
|
6944
|
+
logoutCallback: t
|
|
6925
6945
|
}), this.sessionManager.startRefreshSchedule(), this.sessionManager.startSessionStatusPolling(), this.sessionManager.registerActivityListeners();
|
|
6926
6946
|
}
|
|
6927
6947
|
}
|
|
@@ -6948,7 +6968,7 @@ let $ = class extends y {
|
|
|
6948
6968
|
};
|
|
6949
6969
|
return this.solisSessionManagerEnabled ? t.onClickHandler = () => {
|
|
6950
6970
|
var o;
|
|
6951
|
-
return (o = this.sessionManager) == null ? void 0 : o.performLogout();
|
|
6971
|
+
return (o = this.sessionManager) == null ? void 0 : o.performLogout(!0);
|
|
6952
6972
|
} : this.logoutCallback ? t.onClickHandler = this.logoutCallback : this.logoutCallbackEvent ? t.onClickHandler = () => {
|
|
6953
6973
|
const o = new CustomEvent(this.logoutCallbackEvent, {
|
|
6954
6974
|
bubbles: !0,
|
|
@@ -7086,114 +7106,111 @@ let $ = class extends y {
|
|
|
7086
7106
|
</div>`;
|
|
7087
7107
|
}
|
|
7088
7108
|
};
|
|
7089
|
-
|
|
7109
|
+
C.styles = K`
|
|
7090
7110
|
${co(da)}
|
|
7091
7111
|
`;
|
|
7092
|
-
|
|
7112
|
+
P([
|
|
7093
7113
|
d({ type: String })
|
|
7094
|
-
],
|
|
7095
|
-
|
|
7114
|
+
], C.prototype, "productName", 2);
|
|
7115
|
+
P([
|
|
7096
7116
|
d({ type: String })
|
|
7097
|
-
],
|
|
7098
|
-
|
|
7117
|
+
], C.prototype, "productKey", 2);
|
|
7118
|
+
P([
|
|
7099
7119
|
d({ type: Object })
|
|
7100
|
-
],
|
|
7101
|
-
|
|
7120
|
+
], C.prototype, "fetchHeaders", 2);
|
|
7121
|
+
P([
|
|
7102
7122
|
d({ type: Boolean })
|
|
7103
|
-
],
|
|
7104
|
-
|
|
7123
|
+
], C.prototype, "solisSidekickEnabled", 2);
|
|
7124
|
+
P([
|
|
7105
7125
|
d({ type: Boolean })
|
|
7106
|
-
],
|
|
7107
|
-
|
|
7126
|
+
], C.prototype, "solisSwitcherEnabled", 2);
|
|
7127
|
+
P([
|
|
7108
7128
|
d({ type: String })
|
|
7109
|
-
],
|
|
7110
|
-
|
|
7129
|
+
], C.prototype, "solisEnvironment", 2);
|
|
7130
|
+
P([
|
|
7111
7131
|
d({ type: Boolean })
|
|
7112
|
-
],
|
|
7113
|
-
|
|
7132
|
+
], C.prototype, "solisDevMode", 2);
|
|
7133
|
+
P([
|
|
7114
7134
|
d({ type: String })
|
|
7115
|
-
],
|
|
7116
|
-
|
|
7135
|
+
], C.prototype, "basePath", 2);
|
|
7136
|
+
P([
|
|
7117
7137
|
d({ type: String })
|
|
7118
|
-
],
|
|
7119
|
-
|
|
7138
|
+
], C.prototype, "displayName", 2);
|
|
7139
|
+
P([
|
|
7120
7140
|
d({ type: String })
|
|
7121
|
-
],
|
|
7122
|
-
|
|
7141
|
+
], C.prototype, "userEmail", 2);
|
|
7142
|
+
P([
|
|
7123
7143
|
d({ type: String })
|
|
7124
|
-
],
|
|
7125
|
-
|
|
7144
|
+
], C.prototype, "productVersion", 2);
|
|
7145
|
+
P([
|
|
7126
7146
|
d({ type: String })
|
|
7127
|
-
],
|
|
7128
|
-
|
|
7147
|
+
], C.prototype, "assistMeKey", 2);
|
|
7148
|
+
P([
|
|
7129
7149
|
d({ type: Function })
|
|
7130
|
-
],
|
|
7131
|
-
|
|
7150
|
+
], C.prototype, "aiCallback", 2);
|
|
7151
|
+
P([
|
|
7132
7152
|
d({ type: String })
|
|
7133
|
-
],
|
|
7134
|
-
|
|
7153
|
+
], C.prototype, "aiCallbackEvent", 2);
|
|
7154
|
+
P([
|
|
7135
7155
|
d({ type: Function })
|
|
7136
|
-
],
|
|
7137
|
-
|
|
7156
|
+
], C.prototype, "logoutCallback", 2);
|
|
7157
|
+
P([
|
|
7138
7158
|
d({ type: String })
|
|
7139
|
-
],
|
|
7140
|
-
|
|
7159
|
+
], C.prototype, "logoutCallbackEvent", 2);
|
|
7160
|
+
P([
|
|
7141
7161
|
d({ type: Function })
|
|
7142
|
-
],
|
|
7143
|
-
|
|
7162
|
+
], C.prototype, "notificationOpenCallback", 2);
|
|
7163
|
+
P([
|
|
7144
7164
|
d({ type: String })
|
|
7145
|
-
],
|
|
7146
|
-
|
|
7165
|
+
], C.prototype, "notificationOpenCallbackEvent", 2);
|
|
7166
|
+
P([
|
|
7147
7167
|
d({ type: Function })
|
|
7148
|
-
],
|
|
7149
|
-
|
|
7168
|
+
], C.prototype, "searchCallback", 2);
|
|
7169
|
+
P([
|
|
7150
7170
|
d({ type: String })
|
|
7151
|
-
],
|
|
7152
|
-
|
|
7171
|
+
], C.prototype, "searchCallbackEvent", 2);
|
|
7172
|
+
P([
|
|
7153
7173
|
d({ type: Function })
|
|
7154
|
-
],
|
|
7155
|
-
|
|
7174
|
+
], C.prototype, "searchSubmitCallback", 2);
|
|
7175
|
+
P([
|
|
7156
7176
|
d({ type: String })
|
|
7157
|
-
],
|
|
7158
|
-
|
|
7177
|
+
], C.prototype, "searchSubmitCallbackEvent", 2);
|
|
7178
|
+
P([
|
|
7159
7179
|
d({ type: Boolean })
|
|
7160
|
-
],
|
|
7161
|
-
|
|
7180
|
+
], C.prototype, "hasNewNotifications", 2);
|
|
7181
|
+
P([
|
|
7162
7182
|
d({ type: Object })
|
|
7163
|
-
],
|
|
7164
|
-
|
|
7183
|
+
], C.prototype, "searchConfigs", 2);
|
|
7184
|
+
P([
|
|
7165
7185
|
d({ type: Array })
|
|
7166
|
-
],
|
|
7167
|
-
|
|
7186
|
+
], C.prototype, "capabilityProfileFooterLinks", 2);
|
|
7187
|
+
P([
|
|
7168
7188
|
d({ type: Array })
|
|
7169
|
-
],
|
|
7170
|
-
|
|
7189
|
+
], C.prototype, "capabilityGlobalActions", 2);
|
|
7190
|
+
P([
|
|
7171
7191
|
d({ type: Boolean })
|
|
7172
|
-
],
|
|
7173
|
-
|
|
7192
|
+
], C.prototype, "addCookiePreferences", 2);
|
|
7193
|
+
P([
|
|
7174
7194
|
d({ type: Boolean })
|
|
7175
|
-
],
|
|
7176
|
-
|
|
7195
|
+
], C.prototype, "forceBackendProxy", 2);
|
|
7196
|
+
P([
|
|
7177
7197
|
d({ type: Boolean })
|
|
7178
|
-
],
|
|
7179
|
-
|
|
7198
|
+
], C.prototype, "solisSessionManagerEnabled", 2);
|
|
7199
|
+
P([
|
|
7180
7200
|
d({ type: Number })
|
|
7181
|
-
],
|
|
7182
|
-
|
|
7201
|
+
], C.prototype, "solisSessionRefreshInterval", 2);
|
|
7202
|
+
P([
|
|
7183
7203
|
d({ type: Number })
|
|
7184
|
-
],
|
|
7185
|
-
|
|
7204
|
+
], C.prototype, "solisIdleTimeoutInterval", 2);
|
|
7205
|
+
P([
|
|
7186
7206
|
d({ type: Number })
|
|
7187
|
-
],
|
|
7188
|
-
|
|
7189
|
-
d({ type: String })
|
|
7190
|
-
], $.prototype, "logoutUrl", 2);
|
|
7191
|
-
E([
|
|
7207
|
+
], C.prototype, "solisSessionStatusInterval", 2);
|
|
7208
|
+
P([
|
|
7192
7209
|
go()
|
|
7193
|
-
],
|
|
7194
|
-
|
|
7210
|
+
], C.prototype, "headerOptions", 2);
|
|
7211
|
+
C = P([
|
|
7195
7212
|
so(`${ma}-global-header-hybrid-ipaas`)
|
|
7196
|
-
],
|
|
7213
|
+
], C);
|
|
7197
7214
|
export {
|
|
7198
7215
|
k as A,
|
|
7199
7216
|
Co as C,
|
|
@@ -7201,7 +7218,7 @@ export {
|
|
|
7201
7218
|
q as H,
|
|
7202
7219
|
Pn as _,
|
|
7203
7220
|
Zt as a,
|
|
7204
|
-
|
|
7221
|
+
C as b,
|
|
7205
7222
|
mr as c,
|
|
7206
7223
|
p as d,
|
|
7207
7224
|
m as e,
|
package/es/wc-global-header.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as se, e as u, r as K, i as F, n as d, j as v, A as X, t as Z, s as q, d as i, f as x, F as U, g as V, o as b, h as Y, k as L, _ as oe, a as W, c as ce, H as D, l as ie } from "./HybridIpaasHeader-
|
|
2
|
-
import { b as De } from "./HybridIpaasHeader-
|
|
1
|
+
import { C as se, e as u, r as K, i as F, n as d, j as v, A as X, t as Z, s as q, d as i, f as x, F as U, g as V, o as b, h as Y, k as L, _ as oe, a as W, c as ce, H as D, l as ie } from "./HybridIpaasHeader-D49nEM5f.mjs";
|
|
2
|
+
import { b as De } from "./HybridIpaasHeader-D49nEM5f.mjs";
|
|
3
3
|
var le = {
|
|
4
4
|
elem: "svg",
|
|
5
5
|
attrs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/wc-global-header",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.97.0",
|
|
4
4
|
"author": "Your Name <your@email.com>",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"vite": "^6.4.2",
|
|
50
50
|
"webdriverio": "^9.23.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "c16b938962cc26f3ae5866ffb57bd395b8be7b1f"
|
|
53
53
|
}
|