@carbon-labs/wc-global-header 0.90.0 → 0.92.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.
|
@@ -39,7 +39,7 @@ const co = (t) => new Ys(typeof t == "string" ? t : t + "", void 0, qe), K = (t,
|
|
|
39
39
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
40
40
|
})(c) + t[r + 1], t[0]);
|
|
41
41
|
return new Ys(e, t, qe);
|
|
42
|
-
},
|
|
42
|
+
}, Ic = (t, o) => {
|
|
43
43
|
if (je) t.adoptedStyleSheets = o.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
44
44
|
else for (const e of o) {
|
|
45
45
|
const s = document.createElement("style"), c = Qt.litNonce;
|
|
@@ -55,7 +55,7 @@ const co = (t) => new Ys(typeof t == "string" ? t : t + "", void 0, qe), K = (t,
|
|
|
55
55
|
* Copyright 2017 Google LLC
|
|
56
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
57
|
*/
|
|
58
|
-
const { is:
|
|
58
|
+
const { is: Pc, defineProperty: Oc, getOwnPropertyDescriptor: Tc, getOwnPropertyNames: Mc, getOwnPropertySymbols: Nc, getPrototypeOf: Lc } = Object, Io = globalThis, is = Io.trustedTypes, Bc = is ? is.emptyScript : "", fe = Io.reactiveElementPolyfillSupport, Nt = (t, o) => t, oe = { toAttribute(t, o) {
|
|
59
59
|
switch (o) {
|
|
60
60
|
case Boolean:
|
|
61
61
|
t = t ? Bc : null;
|
|
@@ -83,8 +83,8 @@ const { is: Ic, defineProperty: Oc, getOwnPropertyDescriptor: Tc, getOwnProperty
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
return e;
|
|
86
|
-
} }, Ue = (t, o) => !
|
|
87
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
86
|
+
} }, Ue = (t, o) => !Pc(t, o), as = { attribute: !0, type: String, converter: oe, reflect: !1, useDefault: !1, hasChanged: Ue };
|
|
87
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Io.litPropertyMetadata ?? (Io.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
88
88
|
let mt = class extends HTMLElement {
|
|
89
89
|
static addInitializer(o) {
|
|
90
90
|
this._$Ei(), (this.l ?? (this.l = [])).push(o);
|
|
@@ -169,7 +169,7 @@ let mt = class extends HTMLElement {
|
|
|
169
169
|
}
|
|
170
170
|
createRenderRoot() {
|
|
171
171
|
const o = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
172
|
-
return
|
|
172
|
+
return Ic(o, this.constructor.elementStyles), o;
|
|
173
173
|
}
|
|
174
174
|
connectedCallback() {
|
|
175
175
|
var o;
|
|
@@ -288,7 +288,7 @@ let mt = class extends HTMLElement {
|
|
|
288
288
|
firstUpdated(o) {
|
|
289
289
|
}
|
|
290
290
|
};
|
|
291
|
-
mt.elementStyles = [], mt.shadowRootOptions = { mode: "open" }, mt[Nt("elementProperties")] = /* @__PURE__ */ new Map(), mt[Nt("finalized")] = /* @__PURE__ */ new Map(), fe == null || fe({ ReactiveElement: mt }), (
|
|
291
|
+
mt.elementStyles = [], mt.shadowRootOptions = { mode: "open" }, mt[Nt("elementProperties")] = /* @__PURE__ */ new Map(), mt[Nt("finalized")] = /* @__PURE__ */ new Map(), fe == null || fe({ ReactiveElement: mt }), (Io.reactiveElementVersions ?? (Io.reactiveElementVersions = [])).push("2.1.2");
|
|
292
292
|
/**
|
|
293
293
|
* @license
|
|
294
294
|
* Copyright 2017 Google LLC
|
|
@@ -340,7 +340,7 @@ const Dc = (t, o, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorat
|
|
|
340
340
|
* Copyright 2017 Google LLC
|
|
341
341
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
342
342
|
*/
|
|
343
|
-
function
|
|
343
|
+
function It(t, o) {
|
|
344
344
|
return (e, s, c) => {
|
|
345
345
|
const r = (n) => {
|
|
346
346
|
var i;
|
|
@@ -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: I, tooltipPosition: S, tooltipText: P, type: A, _hasIcon: C, 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": C && !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": C,
|
|
898
898
|
"cds-custom--btn--expressive": l,
|
|
899
899
|
"cds-custom--btn--selected": u && a === "ghost"
|
|
900
900
|
};
|
|
@@ -925,7 +925,7 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
925
925
|
ping="${T(h)}"
|
|
926
926
|
rel="${T(b)}"
|
|
927
927
|
target="${T(z)}"
|
|
928
|
-
type="${T(
|
|
928
|
+
type="${T(A)}"
|
|
929
929
|
tabindex="${w}"
|
|
930
930
|
aria-describedby="badge-indicator">
|
|
931
931
|
<slot @slotchange="${x}"></slot>
|
|
@@ -933,14 +933,14 @@ 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 = I && (S === "top" || S === "bottom") ? `-${I}` : "", 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": C,
|
|
942
942
|
"cds-custom--popover--open": g,
|
|
943
|
-
[`cds-custom--popover--${
|
|
943
|
+
[`cds-custom--popover--${S}${R}`]: P
|
|
944
944
|
});
|
|
945
945
|
return P && !c ? m`
|
|
946
946
|
<span class="${j}">
|
|
@@ -951,7 +951,7 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
951
951
|
?autofocus="${o}"
|
|
952
952
|
?disabled="${c}"
|
|
953
953
|
tabindex="${w}"
|
|
954
|
-
type="${T(
|
|
954
|
+
type="${T(A)}"
|
|
955
955
|
aria-label="${T(P)}"
|
|
956
956
|
aria-describedby="badge-indicator">
|
|
957
957
|
<slot @slotchange="${x}"></slot>
|
|
@@ -974,7 +974,7 @@ let M = (qo = class extends Zt(fo(y)) {
|
|
|
974
974
|
?autofocus="${o}"
|
|
975
975
|
?disabled="${c}"
|
|
976
976
|
tabindex="${w}"
|
|
977
|
-
type="${T(
|
|
977
|
+
type="${T(A)}"
|
|
978
978
|
aria-label="${T(P)}"
|
|
979
979
|
aria-describedby="${T(U ? "danger-description" : void 0)}">
|
|
980
980
|
${U ? m`<span
|
|
@@ -1158,7 +1158,7 @@ let vo = (Uo = class extends sc {
|
|
|
1158
1158
|
...y.shadowRootOptions,
|
|
1159
1159
|
delegatesFocus: !0
|
|
1160
1160
|
}, Uo.styles = po, Uo);
|
|
1161
|
-
p([
|
|
1161
|
+
p([It("button")], vo.prototype, "_buttonNode", void 0);
|
|
1162
1162
|
p([d({
|
|
1163
1163
|
type: Boolean,
|
|
1164
1164
|
reflect: !0
|
|
@@ -1180,7 +1180,7 @@ const no = (t, o, e) => Array.prototype.forEach.call(t, o, e);
|
|
|
1180
1180
|
* Copyright 2017 Google LLC
|
|
1181
1181
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1182
1182
|
*/
|
|
1183
|
-
class
|
|
1183
|
+
class Ie extends We {
|
|
1184
1184
|
constructor(o) {
|
|
1185
1185
|
if (super(o), this.it = f, o.type !== ue.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1186
1186
|
}
|
|
@@ -1194,16 +1194,16 @@ class Pe extends We {
|
|
|
1194
1194
|
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
|
-
|
|
1197
|
+
Ie.directiveName = "unsafeHTML", Ie.resultType = 1;
|
|
1198
1198
|
/**
|
|
1199
1199
|
* @license
|
|
1200
1200
|
* Copyright 2017 Google LLC
|
|
1201
1201
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1202
1202
|
*/
|
|
1203
|
-
class
|
|
1203
|
+
class Pe extends Ie {
|
|
1204
1204
|
}
|
|
1205
|
-
|
|
1206
|
-
const tr = Ze(
|
|
1205
|
+
Pe.directiveName = "unsafeSVG", Pe.resultType = 2;
|
|
1206
|
+
const tr = Ze(Pe);
|
|
1207
1207
|
function fs(t, o) {
|
|
1208
1208
|
var e = Object.keys(t);
|
|
1209
1209
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1407,7 +1407,7 @@ let xo = (Xo = class extends Zt(fo(y)) {
|
|
|
1407
1407
|
...y.shadowRootOptions,
|
|
1408
1408
|
delegatesFocus: !0
|
|
1409
1409
|
}, Xo.styles = po, Xo);
|
|
1410
|
-
p([
|
|
1410
|
+
p([It('[part="trigger"]')], xo.prototype, "_topMenuItem", void 0);
|
|
1411
1411
|
p([q("keydown")], xo.prototype, "_handleKeydownTrigger", null);
|
|
1412
1412
|
p([q("focusout")], xo.prototype, "_handleBlur", null);
|
|
1413
1413
|
p([d({
|
|
@@ -1870,7 +1870,7 @@ let ko = (Go = class extends fo(y) {
|
|
|
1870
1870
|
...y.shadowRootOptions,
|
|
1871
1871
|
delegatesFocus: !0
|
|
1872
1872
|
}, Go.styles = it, Go);
|
|
1873
|
-
p([
|
|
1873
|
+
p([It("#title-icon-container")], ko.prototype, "_titleIconContainerNode", void 0);
|
|
1874
1874
|
p([d({
|
|
1875
1875
|
type: Boolean,
|
|
1876
1876
|
reflect: !0
|
|
@@ -1899,8 +1899,8 @@ var br = {
|
|
|
1899
1899
|
}],
|
|
1900
1900
|
name: "chevron--down",
|
|
1901
1901
|
size: 20
|
|
1902
|
-
},
|
|
1903
|
-
let Mo = (
|
|
1902
|
+
}, Po;
|
|
1903
|
+
let Mo = (Po = class extends fo(y) {
|
|
1904
1904
|
constructor(...o) {
|
|
1905
1905
|
super(...o), this._hasIcon = !1, this.active = !1, this.expanded = !1, this.large = !1, this.forceCollapsed = !1, this.title = "";
|
|
1906
1906
|
}
|
|
@@ -2006,11 +2006,11 @@ let Mo = (Io = class extends fo(y) {
|
|
|
2006
2006
|
static get eventToggle() {
|
|
2007
2007
|
return "cds-custom-side-nav-menu-toggled";
|
|
2008
2008
|
}
|
|
2009
|
-
},
|
|
2009
|
+
}, Po.attribItemHasIcon = "parent-has-icon", Po.shadowRootOptions = {
|
|
2010
2010
|
...y.shadowRootOptions,
|
|
2011
2011
|
delegatesFocus: !0
|
|
2012
|
-
},
|
|
2013
|
-
p([
|
|
2012
|
+
}, Po.styles = it, Po);
|
|
2013
|
+
p([It("#title-icon-container")], Mo.prototype, "_titleIconContainerNode", void 0);
|
|
2014
2014
|
p([d({
|
|
2015
2015
|
type: Boolean,
|
|
2016
2016
|
reflect: !0
|
|
@@ -2168,7 +2168,7 @@ const gr = ["top", "right", "bottom", "left"], No = Math.min, Q = Math.max, ce =
|
|
|
2168
2168
|
function yr(t, o, e) {
|
|
2169
2169
|
return Q(t, No(o, e));
|
|
2170
2170
|
}
|
|
2171
|
-
function
|
|
2171
|
+
function Pt(t, o) {
|
|
2172
2172
|
return typeof t == "function" ? t(o) : t;
|
|
2173
2173
|
}
|
|
2174
2174
|
function rt(t) {
|
|
@@ -2324,36 +2324,36 @@ async function Ar(t, o) {
|
|
|
2324
2324
|
elementContext: v = "floating",
|
|
2325
2325
|
altBoundary: g = !1,
|
|
2326
2326
|
padding: h = 0
|
|
2327
|
-
} =
|
|
2327
|
+
} = Pt(o, t), b = ac(h), w = i[g ? v === "floating" ? "reference" : "floating" : v], z = ne(await r.getClippingRect({
|
|
2328
2328
|
element: (e = await (r.isElement == null ? void 0 : r.isElement(w))) == null || e ? w : w.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(i.floating)),
|
|
2329
2329
|
boundary: l,
|
|
2330
2330
|
rootBoundary: u,
|
|
2331
2331
|
strategy: a
|
|
2332
|
-
})),
|
|
2332
|
+
})), I = 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,
|
|
2337
|
+
} : n.reference, S = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(i.floating)), P = 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
|
} : {
|
|
2341
2341
|
x: 1,
|
|
2342
2342
|
y: 1
|
|
2343
|
-
},
|
|
2343
|
+
}, A = ne(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
2344
2344
|
elements: i,
|
|
2345
|
-
rect:
|
|
2346
|
-
offsetParent:
|
|
2345
|
+
rect: I,
|
|
2346
|
+
offsetParent: S,
|
|
2347
2347
|
strategy: a
|
|
2348
|
-
}) :
|
|
2348
|
+
}) : I);
|
|
2349
2349
|
return {
|
|
2350
|
-
top: (z.top -
|
|
2351
|
-
bottom: (
|
|
2352
|
-
left: (z.left -
|
|
2353
|
-
right: (
|
|
2350
|
+
top: (z.top - A.top + b.top) / P.y,
|
|
2351
|
+
bottom: (A.bottom - z.bottom + b.bottom) / P.y,
|
|
2352
|
+
left: (z.left - A.left + b.left) / P.x,
|
|
2353
|
+
right: (A.right - z.right + b.right) / P.x
|
|
2354
2354
|
};
|
|
2355
2355
|
}
|
|
2356
|
-
const Er = 50,
|
|
2356
|
+
const Er = 50, Ir = async (t, o, e) => {
|
|
2357
2357
|
const {
|
|
2358
2358
|
placement: s = "bottom",
|
|
2359
2359
|
strategy: c = "absolute",
|
|
@@ -2378,13 +2378,13 @@ const Er = 50, Pr = async (t, o, e) => {
|
|
|
2378
2378
|
continue;
|
|
2379
2379
|
const {
|
|
2380
2380
|
name: z,
|
|
2381
|
-
fn:
|
|
2381
|
+
fn: I
|
|
2382
2382
|
} = w, {
|
|
2383
|
-
x:
|
|
2383
|
+
x: S,
|
|
2384
2384
|
y: P,
|
|
2385
|
-
data:
|
|
2386
|
-
reset:
|
|
2387
|
-
} = await
|
|
2385
|
+
data: A,
|
|
2386
|
+
reset: C
|
|
2387
|
+
} = await I({
|
|
2388
2388
|
x: u,
|
|
2389
2389
|
y: v,
|
|
2390
2390
|
initialPlacement: s,
|
|
@@ -2398,14 +2398,14 @@ const Er = 50, Pr = async (t, o, e) => {
|
|
|
2398
2398
|
floating: o
|
|
2399
2399
|
}
|
|
2400
2400
|
});
|
|
2401
|
-
u =
|
|
2401
|
+
u = S ?? u, v = P ?? v, b[z] = {
|
|
2402
2402
|
...b[z],
|
|
2403
|
-
...
|
|
2404
|
-
},
|
|
2403
|
+
...A
|
|
2404
|
+
}, C && h < Er && (h++, typeof C == "object" && (C.placement && (g = C.placement), C.rects && (l = C.rects === !0 ? await n.getElementRects({
|
|
2405
2405
|
reference: t,
|
|
2406
2406
|
floating: o,
|
|
2407
2407
|
strategy: c
|
|
2408
|
-
}) :
|
|
2408
|
+
}) : C.rects), {
|
|
2409
2409
|
x: u,
|
|
2410
2410
|
y: v
|
|
2411
2411
|
} = Cs(l, g, a)), _ = -1);
|
|
@@ -2417,7 +2417,7 @@ const Er = 50, Pr = async (t, o, e) => {
|
|
|
2417
2417
|
strategy: c,
|
|
2418
2418
|
middlewareData: b
|
|
2419
2419
|
};
|
|
2420
|
-
},
|
|
2420
|
+
}, Pr = (t) => ({
|
|
2421
2421
|
name: "arrow",
|
|
2422
2422
|
options: t,
|
|
2423
2423
|
async fn(o) {
|
|
@@ -2432,16 +2432,16 @@ const Er = 50, Pr = async (t, o, e) => {
|
|
|
2432
2432
|
} = o, {
|
|
2433
2433
|
element: l,
|
|
2434
2434
|
padding: u = 0
|
|
2435
|
-
} =
|
|
2435
|
+
} = Pt(t, o) || {};
|
|
2436
2436
|
if (l == null)
|
|
2437
2437
|
return {};
|
|
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 = P / 2 -
|
|
2441
|
+
}, h = Ye(c), b = Ke(h), _ = await n.getDimensions(l), w = h === "y", z = w ? "top" : "left", I = w ? "bottom" : "right", S = w ? "clientHeight" : "clientWidth", P = r.reference[b] + r.reference[h] - g[h] - r.floating[b], A = g[h] - r.reference[h], C = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(l));
|
|
2442
|
+
let B = C ? C[S] : 0;
|
|
2443
|
+
(!B || !await (n.isElement == null ? void 0 : n.isElement(C))) && (B = i.floating[S] || r.floating[b]);
|
|
2444
|
+
const x = P / 2 - A / 2, L = B / 2 - _[b] / 2 - 1, F = No(v[z], L), U = No(v[I], 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: {
|
|
@@ -2475,12 +2475,12 @@ const Er = 50, Pr = async (t, o, e) => {
|
|
|
2475
2475
|
fallbackAxisSideDirection: b = "none",
|
|
2476
2476
|
flipAlignment: _ = !0,
|
|
2477
2477
|
...w
|
|
2478
|
-
} =
|
|
2478
|
+
} = Pt(t, o);
|
|
2479
2479
|
if ((e = r.arrow) != null && e.alignmentOffset)
|
|
2480
2480
|
return {};
|
|
2481
|
-
const z = rt(c),
|
|
2482
|
-
!g &&
|
|
2483
|
-
const B = [i, ...
|
|
2481
|
+
const z = rt(c), I = Eo(i), S = rt(i) === i, P = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), A = g || (S || !_ ? [re(i)] : kr(i)), C = b !== "none";
|
|
2482
|
+
!g && C && A.push(...Cr(i, _, b, P));
|
|
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
2486
|
const D = xr(c, n, P);
|
|
@@ -2492,9 +2492,9 @@ const Er = 50, Pr = 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" ? I !== 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) === I ? G.overflows[0] > 0 : !0)))
|
|
2498
2498
|
return {
|
|
2499
2499
|
data: {
|
|
2500
2500
|
index: D,
|
|
@@ -2510,9 +2510,9 @@ const Er = 50, Pr = async (t, o, e) => {
|
|
|
2510
2510
|
case "bestFit": {
|
|
2511
2511
|
var j;
|
|
2512
2512
|
const Z = (j = F.filter((G) => {
|
|
2513
|
-
if (
|
|
2513
|
+
if (C) {
|
|
2514
2514
|
const lo = Eo(G.placement);
|
|
2515
|
-
return lo ===
|
|
2515
|
+
return lo === I || // Create a bias to the `y` side axis due to horizontal
|
|
2516
2516
|
// reading directions favoring greater width.
|
|
2517
2517
|
lo === "y";
|
|
2518
2518
|
}
|
|
@@ -2558,7 +2558,7 @@ const Tr = function(t) {
|
|
|
2558
2558
|
} = o, {
|
|
2559
2559
|
strategy: c = "referenceHidden",
|
|
2560
2560
|
...r
|
|
2561
|
-
} =
|
|
2561
|
+
} = Pt(t, o);
|
|
2562
2562
|
switch (c) {
|
|
2563
2563
|
case "referenceHidden": {
|
|
2564
2564
|
const n = await s.detectOverflow(o, {
|
|
@@ -2595,7 +2595,7 @@ async function Nr(t, o) {
|
|
|
2595
2595
|
placement: e,
|
|
2596
2596
|
platform: s,
|
|
2597
2597
|
elements: c
|
|
2598
|
-
} = t, r = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), n = rt(e), i = Ot(e), a = Eo(e) === "y", l = Mr.has(n) ? -1 : 1, u = r && a ? -1 : 1, v =
|
|
2598
|
+
} = t, r = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), n = rt(e), i = Ot(e), a = Eo(e) === "y", l = Mr.has(n) ? -1 : 1, u = r && a ? -1 : 1, v = Pt(o, t);
|
|
2599
2599
|
let {
|
|
2600
2600
|
mainAxis: g,
|
|
2601
2601
|
crossAxis: h,
|
|
@@ -2654,15 +2654,15 @@ const Lr = function(t) {
|
|
|
2654
2654
|
apply: a = () => {
|
|
2655
2655
|
},
|
|
2656
2656
|
...l
|
|
2657
|
-
} =
|
|
2657
|
+
} = Pt(t, o), u = await n.detectOverflow(o, l), v = rt(c), g = Ot(c), h = Eo(c) === "y", {
|
|
2658
2658
|
width: b,
|
|
2659
2659
|
height: _
|
|
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 = P, x =
|
|
2665
|
-
if ((e = o.middlewareData.shift) != null && e.enabled.x && (x =
|
|
2663
|
+
const I = _ - u.top - u.bottom, S = b - u.left - u.right, P = No(_ - u[w], I), A = No(b - u[z], S), C = !o.middlewareData.shift;
|
|
2664
|
+
let B = P, x = A;
|
|
2665
|
+
if ((e = o.middlewareData.shift) != null && e.enabled.x && (x = S), (s = o.middlewareData.shift) != null && s.enabled.y && (B = I), C && !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 +=
|
|
2847
|
+
const w = vt(_), z = _.getBoundingClientRect(), I = ao(_), S = z.left + (_.clientLeft + parseFloat(I.paddingLeft)) * w.x, P = z.top + (_.clientTop + parseFloat(I.paddingTop)) * w.y;
|
|
2848
|
+
a *= w.x, l *= w.y, u *= w.x, v *= w.y, a += S, l += P, b = J(_), _ = Le(b);
|
|
2849
2849
|
}
|
|
2850
2850
|
}
|
|
2851
2851
|
return ne({
|
|
@@ -2907,7 +2907,7 @@ function Xr(t) {
|
|
|
2907
2907
|
y: i
|
|
2908
2908
|
};
|
|
2909
2909
|
}
|
|
2910
|
-
const
|
|
2910
|
+
const Is = 25;
|
|
2911
2911
|
function Zr(t, o) {
|
|
2912
2912
|
const e = J(t), s = yo(t), c = e.visualViewport;
|
|
2913
2913
|
let r = s.clientWidth, n = s.clientHeight, i = 0, a = 0;
|
|
@@ -2919,8 +2919,8 @@ function Zr(t, o) {
|
|
|
2919
2919
|
const l = be(s);
|
|
2920
2920
|
if (l <= 0) {
|
|
2921
2921
|
const u = s.ownerDocument, v = u.body, g = getComputedStyle(v), h = u.compatMode === "CSS1Compat" && parseFloat(g.marginLeft) + parseFloat(g.marginRight) || 0, b = Math.abs(s.clientWidth - v.clientWidth - h);
|
|
2922
|
-
b <=
|
|
2923
|
-
} else l <=
|
|
2922
|
+
b <= Is && (r -= b);
|
|
2923
|
+
} else l <= Is && (r += l);
|
|
2924
2924
|
return {
|
|
2925
2925
|
width: r,
|
|
2926
2926
|
height: n,
|
|
@@ -2937,7 +2937,7 @@ function Wr(t, o) {
|
|
|
2937
2937
|
y: l
|
|
2938
2938
|
};
|
|
2939
2939
|
}
|
|
2940
|
-
function
|
|
2940
|
+
function Ps(t, o, e) {
|
|
2941
2941
|
let s;
|
|
2942
2942
|
if (o === "viewport")
|
|
2943
2943
|
s = Zr(t, e);
|
|
@@ -2980,10 +2980,10 @@ function Yr(t) {
|
|
|
2980
2980
|
rootBoundary: s,
|
|
2981
2981
|
strategy: c
|
|
2982
2982
|
} = t;
|
|
2983
|
-
const n = [...e === "clippingAncestors" ? ve(o) ? [] : Kr(o, this._c) : [].concat(e), s], i =
|
|
2983
|
+
const n = [...e === "clippingAncestors" ? ve(o) ? [] : Kr(o, this._c) : [].concat(e), s], i = Ps(o, n[0], c);
|
|
2984
2984
|
let a = i.top, l = i.right, u = i.bottom, v = i.left;
|
|
2985
2985
|
for (let g = 1; g < n.length; g++) {
|
|
2986
|
-
const h =
|
|
2986
|
+
const h = Ps(o, n[g], c);
|
|
2987
2987
|
a = Q(h.top, a), l = No(h.right, l), u = No(h.bottom, u), v = Q(h.left, v);
|
|
2988
2988
|
}
|
|
2989
2989
|
return {
|
|
@@ -3103,13 +3103,13 @@ function en(t, o) {
|
|
|
3103
3103
|
} = l;
|
|
3104
3104
|
if (i || o(), !g || !h)
|
|
3105
3105
|
return;
|
|
3106
|
-
const b = Yt(v), _ = Yt(c.clientWidth - (u + g)), w = Yt(c.clientHeight - (v + h)), z = Yt(u),
|
|
3106
|
+
const b = Yt(v), _ = Yt(c.clientWidth - (u + g)), w = Yt(c.clientHeight - (v + h)), z = Yt(u), S = {
|
|
3107
3107
|
rootMargin: -b + "px " + -_ + "px " + -w + "px " + -z + "px",
|
|
3108
3108
|
threshold: Q(0, No(1, a)) || 1
|
|
3109
3109
|
};
|
|
3110
3110
|
let P = !0;
|
|
3111
|
-
function
|
|
3112
|
-
const B =
|
|
3111
|
+
function A(C) {
|
|
3112
|
+
const B = C[0].intersectionRatio;
|
|
3113
3113
|
if (B !== a) {
|
|
3114
3114
|
if (!P)
|
|
3115
3115
|
return n();
|
|
@@ -3120,13 +3120,13 @@ function en(t, o) {
|
|
|
3120
3120
|
B === 1 && !bc(l, t.getBoundingClientRect()) && n(), P = !1;
|
|
3121
3121
|
}
|
|
3122
3122
|
try {
|
|
3123
|
-
e = new IntersectionObserver(
|
|
3124
|
-
...
|
|
3123
|
+
e = new IntersectionObserver(A, {
|
|
3124
|
+
...S,
|
|
3125
3125
|
// Handle <iframe>s
|
|
3126
3126
|
root: c.ownerDocument
|
|
3127
3127
|
});
|
|
3128
3128
|
} catch {
|
|
3129
|
-
e = new IntersectionObserver(
|
|
3129
|
+
e = new IntersectionObserver(A, S);
|
|
3130
3130
|
}
|
|
3131
3131
|
e.observe(t);
|
|
3132
3132
|
}
|
|
@@ -3149,10 +3149,10 @@ 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
|
-
|
|
3154
|
-
var
|
|
3155
|
-
(
|
|
3152
|
+
let [I] = z;
|
|
3153
|
+
I && I.target === l && h && o && (h.unobserve(o), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
|
|
3154
|
+
var S;
|
|
3155
|
+
(S = h) == null || S.observe(o);
|
|
3156
3156
|
})), e();
|
|
3157
3157
|
}), l && !a && h.observe(l), o && h.observe(o));
|
|
3158
3158
|
let b, _ = a ? nt(t) : null;
|
|
@@ -3163,12 +3163,12 @@ function sn(t, o, e, s) {
|
|
|
3163
3163
|
}
|
|
3164
3164
|
return e(), () => {
|
|
3165
3165
|
var z;
|
|
3166
|
-
u.forEach((
|
|
3167
|
-
c &&
|
|
3166
|
+
u.forEach((I) => {
|
|
3167
|
+
c && I.removeEventListener("scroll", e), r && I.removeEventListener("resize", e);
|
|
3168
3168
|
}), v == null || v(), (z = h) == null || z.disconnect(), h = null, a && cancelAnimationFrame(b);
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
|
-
const cn = Lr, rn = Or, Ts = Br, nn = Tr, an =
|
|
3171
|
+
const cn = Lr, rn = Or, Ts = Br, nn = Tr, an = Pr, dn = (t, o, e) => {
|
|
3172
3172
|
const s = /* @__PURE__ */ new Map(), c = {
|
|
3173
3173
|
platform: tn,
|
|
3174
3174
|
...e
|
|
@@ -3176,7 +3176,7 @@ const cn = Lr, rn = Or, Ts = Br, nn = Tr, an = Ir, dn = (t, o, e) => {
|
|
|
3176
3176
|
...c.platform,
|
|
3177
3177
|
_c: s
|
|
3178
3178
|
};
|
|
3179
|
-
return
|
|
3179
|
+
return Ir(t, o, {
|
|
3180
3180
|
...c,
|
|
3181
3181
|
platform: r
|
|
3182
3182
|
});
|
|
@@ -3197,7 +3197,7 @@ var pn = class {
|
|
|
3197
3197
|
this.cleanup = sn(o, e, this.updatePlacement);
|
|
3198
3198
|
}
|
|
3199
3199
|
async computePlacement() {
|
|
3200
|
-
var
|
|
3200
|
+
var S, P;
|
|
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;
|
|
@@ -3230,10 +3230,10 @@ var pn = class {
|
|
|
3230
3230
|
b = o;
|
|
3231
3231
|
break;
|
|
3232
3232
|
}
|
|
3233
|
-
const _ = getComputedStyle(h), z = u ? 0 : ((
|
|
3234
|
-
const
|
|
3235
|
-
return
|
|
3236
|
-
})(_.getPropertyValue("--cds-popover-offset").trim()) ?? 10,
|
|
3233
|
+
const _ = getComputedStyle(h), z = u ? 0 : ((A) => {
|
|
3234
|
+
const C = parseFloat(A);
|
|
3235
|
+
return A.trim().endsWith("rem") ? C * 16 : C;
|
|
3236
|
+
})(_.getPropertyValue("--cds-popover-offset").trim()) ?? 10, I = [
|
|
3237
3237
|
cn(u ? 0 : {
|
|
3238
3238
|
alignmentAxis: a,
|
|
3239
3239
|
mainAxis: e ? z : 4
|
|
@@ -3280,10 +3280,10 @@ var pn = class {
|
|
|
3280
3280
|
fallbackAxisSideDirection: "start",
|
|
3281
3281
|
boundary: l
|
|
3282
3282
|
}),
|
|
3283
|
-
...n && (b === "bottom" || b === "top") ? [Ts({ apply({ rects:
|
|
3284
|
-
|
|
3285
|
-
} })] : [Ts({ apply({ elements:
|
|
3286
|
-
|
|
3283
|
+
...n && (b === "bottom" || b === "top") ? [Ts({ apply({ rects: A, elements: C }) {
|
|
3284
|
+
C.floating.style.width = `${A.reference.width}px`;
|
|
3285
|
+
} })] : [Ts({ apply({ elements: A }) {
|
|
3286
|
+
A.floating.style.removeProperty("width");
|
|
3287
3287
|
} })],
|
|
3288
3288
|
...e && t ? [an({
|
|
3289
3289
|
element: t,
|
|
@@ -3292,12 +3292,12 @@ var pn = class {
|
|
|
3292
3292
|
nn()
|
|
3293
3293
|
];
|
|
3294
3294
|
if (i) {
|
|
3295
|
-
const { x:
|
|
3295
|
+
const { x: A, y: C, placement: B, middlewareData: x, strategy: L } = await dn(s, h, {
|
|
3296
3296
|
strategy: "fixed",
|
|
3297
|
-
middleware:
|
|
3297
|
+
middleware: I,
|
|
3298
3298
|
placement: b
|
|
3299
3299
|
});
|
|
3300
|
-
if (h.setAttribute("align", B), h.style.left = `${
|
|
3300
|
+
if (h.setAttribute("align", B), h.style.left = `${A}px`, h.style.top = `${C}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",
|
|
@@ -3501,8 +3501,8 @@ let W = (tt = class extends Zt(y) {
|
|
|
3501
3501
|
return "cds-custom-popover-closed";
|
|
3502
3502
|
}
|
|
3503
3503
|
}, Jt = tt, tt.styles = gc, tt);
|
|
3504
|
-
p([
|
|
3505
|
-
p([
|
|
3504
|
+
p([It("slot")], W.prototype, "_triggerSlotNode", void 0);
|
|
3505
|
+
p([It('slot[name="content"]')], W.prototype, "_contentSlotNode", void 0);
|
|
3506
3506
|
p([d({
|
|
3507
3507
|
reflect: !0,
|
|
3508
3508
|
type: String
|
|
@@ -3616,7 +3616,7 @@ to = p([H("cds-custom-popover-content")], to);
|
|
|
3616
3616
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
3617
3617
|
* LICENSE file in the root directory of this source tree.
|
|
3618
3618
|
*/
|
|
3619
|
-
const
|
|
3619
|
+
const O = "ibm-automation-cds", k = "automation-global-header", ut = "automation--header", Ms = "automation-header-navigation-action", $e = "automation--header__popover__label--profile", ln = `${O}-app-switcher-button`, un = `${O}-env-switcher-button`, Ns = `${O}-help-menu-button`, mn = `${O}-chatbot-menu-button`, vn = `${O}-notifications-button`, hn = `${O}-profile-menu-button`, bn = `${O}-search-button`, yc = `${O}-solis-sidekick-button`, _c = `${O}-solis-switcher-button`, gn = `${O}-trial-popover-button`, Ls = "global-header", fn = "refresh-header-options", yn = {
|
|
3620
3620
|
brand: {
|
|
3621
3621
|
company: "",
|
|
3622
3622
|
product: ""
|
|
@@ -3780,7 +3780,7 @@ var An = {
|
|
|
3780
3780
|
}],
|
|
3781
3781
|
name: "api",
|
|
3782
3782
|
size: 16
|
|
3783
|
-
},
|
|
3783
|
+
}, In = {
|
|
3784
3784
|
elem: "svg",
|
|
3785
3785
|
attrs: {
|
|
3786
3786
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3795,7 +3795,7 @@ var An = {
|
|
|
3795
3795
|
}],
|
|
3796
3796
|
name: "app-connectivity",
|
|
3797
3797
|
size: 20
|
|
3798
|
-
},
|
|
3798
|
+
}, Pn = {
|
|
3799
3799
|
elem: "svg",
|
|
3800
3800
|
attrs: {
|
|
3801
3801
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4515,8 +4515,8 @@ const ii = "https://ibmassistme-dev.zll1vg8lrcq.us-south.codeengine.appdomain.cl
|
|
|
4515
4515
|
const s = `${t}${o}`, n = {
|
|
4516
4516
|
AiLaunch20: An,
|
|
4517
4517
|
Api16: En,
|
|
4518
|
-
AppConnectivity20:
|
|
4519
|
-
ArrowRight16:
|
|
4518
|
+
AppConnectivity20: In,
|
|
4519
|
+
ArrowRight16: Pn,
|
|
4520
4520
|
ChartVennDiagram20: On,
|
|
4521
4521
|
Checkmark16: Tn,
|
|
4522
4522
|
CloudServices20: Mn,
|
|
@@ -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, I, S, P, A, C, 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
|
|
@@ -4628,7 +4628,7 @@ let eo = class extends y {
|
|
|
4628
4628
|
${x.label}
|
|
4629
4629
|
</cds-custom-side-nav-menu-item>
|
|
4630
4630
|
` : m` <cds-custom-side-nav-menu-item
|
|
4631
|
-
class="${
|
|
4631
|
+
class="${O}--side-nav__link-text"
|
|
4632
4632
|
href="${x == null ? void 0 : x.href}"
|
|
4633
4633
|
target="${x.newTab ? "_blank" : f}"
|
|
4634
4634
|
rel="noreferrer"
|
|
@@ -4636,7 +4636,7 @@ let eo = class extends y {
|
|
|
4636
4636
|
role="link"
|
|
4637
4637
|
?active="${this.isHybridIpaas ? window.location.href.includes(x == null ? void 0 : x.href) : x == null ? void 0 : x.isActive}">
|
|
4638
4638
|
<span
|
|
4639
|
-
class="${
|
|
4639
|
+
class="${O}--side-panel-nav-item__link">
|
|
4640
4640
|
${x.label}
|
|
4641
4641
|
${x.newTabIcon && m`<span class="launch_icon"
|
|
4642
4642
|
>${N("Launch", 16)}</span
|
|
@@ -4645,8 +4645,8 @@ let eo = class extends y {
|
|
|
4645
4645
|
</cds-custom-side-nav-menu-item>`)}
|
|
4646
4646
|
</cds-custom-side-nav-menu>
|
|
4647
4647
|
` : this.isOnClickAvailable || (n = this.link) != null && n.onClick ? m` <cds-custom-side-nav-link
|
|
4648
|
-
class="${mo(`${
|
|
4649
|
-
[`${
|
|
4648
|
+
class="${mo(`${O}--side-nav__link`, {
|
|
4649
|
+
[`${O}--side-nav__link--current`]: this.isActive
|
|
4650
4650
|
})}"
|
|
4651
4651
|
role="link"
|
|
4652
4652
|
?active="${this.isActive}"
|
|
@@ -4660,8 +4660,8 @@ let eo = class extends y {
|
|
|
4660
4660
|
${this.getIcon((l = this.link) == null ? void 0 : l.iconName, (u = this.link) == null ? void 0 : u.productIcon)}${(v = this.link) == null ? void 0 : v.label}
|
|
4661
4661
|
</cds-custom-side-nav-link>` : m`
|
|
4662
4662
|
<cds-custom-side-nav-link
|
|
4663
|
-
class="${mo(`${
|
|
4664
|
-
[`${
|
|
4663
|
+
class="${mo(`${O}--side-nav__link`, {
|
|
4664
|
+
[`${O}--side-nav__link--current`]: this.isActive
|
|
4665
4665
|
})}"
|
|
4666
4666
|
role="link"
|
|
4667
4667
|
?active="${this.isActive}"
|
|
@@ -4684,20 +4684,20 @@ let eo = class extends y {
|
|
|
4684
4684
|
?open="${this._isHoveringOnSideNavItem}"
|
|
4685
4685
|
align="right"
|
|
4686
4686
|
dropShadow="false"
|
|
4687
|
-
class="${
|
|
4687
|
+
class="${O}--side-panel-nav-item__popover-content">
|
|
4688
4688
|
<span style="display: none;"></span>
|
|
4689
4689
|
<cds-custom-side-nav-link
|
|
4690
4690
|
role="link"
|
|
4691
4691
|
href="${(z = this.link) == null ? void 0 : z.href}"
|
|
4692
|
-
@click="${(
|
|
4693
|
-
title="${(
|
|
4692
|
+
@click="${(I = this.link) == null ? void 0 : I.onClick}"
|
|
4693
|
+
title="${(S = this.link) == null ? void 0 : S.label}"
|
|
4694
4694
|
class="${mo({
|
|
4695
|
-
[`${
|
|
4695
|
+
[`${O}--side-nav__link--current`]: this.isActive
|
|
4696
4696
|
})}"
|
|
4697
4697
|
@mouseleave="${() => this._setIsHoveringOnSideNavItem(!1)}"
|
|
4698
4698
|
@mouseenter="${() => this._setIsHoveringOnSideNavItem(!0)}"
|
|
4699
4699
|
large="${!this.isHybridIpaas}">
|
|
4700
|
-
${(P = this.link) != null && P.iconName ? N((
|
|
4700
|
+
${(P = this.link) != null && P.iconName ? N((A = this.link) == null ? void 0 : A.iconName, 16, o) : (C = this.link) == null ? void 0 : C.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
|
|
@@ -5203,7 +5203,7 @@ var Ai = Object.defineProperty, Ei = Object.getOwnPropertyDescriptor, os = (t, o
|
|
|
5203
5203
|
(n = t[r]) && (c = (s ? n(o, e, c) : n(c)) || c);
|
|
5204
5204
|
return s && c && Ai(o, e, c), c;
|
|
5205
5205
|
};
|
|
5206
|
-
const { stablePrefix:
|
|
5206
|
+
const { stablePrefix: Ii } = ro;
|
|
5207
5207
|
let jt = class extends y {
|
|
5208
5208
|
constructor() {
|
|
5209
5209
|
super(), this.open = !1, this.trialConfig = {}, this.handleOutsideClick = this.handleOutsideClick.bind(this);
|
|
@@ -5245,9 +5245,9 @@ os([
|
|
|
5245
5245
|
d({ type: Object })
|
|
5246
5246
|
], jt.prototype, "trialConfig", 2);
|
|
5247
5247
|
jt = os([
|
|
5248
|
-
so(`${
|
|
5248
|
+
so(`${Ii}-global-header-trial-popover`)
|
|
5249
5249
|
], jt);
|
|
5250
|
-
const
|
|
5250
|
+
const Pi = `/**
|
|
5251
5251
|
* @license
|
|
5252
5252
|
*
|
|
5253
5253
|
* Copyright IBM Corp. 2025
|
|
@@ -5295,7 +5295,7 @@ let zo = class extends y {
|
|
|
5295
5295
|
}
|
|
5296
5296
|
};
|
|
5297
5297
|
zo.styles = K`
|
|
5298
|
-
${co(
|
|
5298
|
+
${co(Pi)}
|
|
5299
5299
|
`;
|
|
5300
5300
|
at([
|
|
5301
5301
|
d({ type: String })
|
|
@@ -5531,7 +5531,7 @@ let de = class extends y {
|
|
|
5531
5531
|
return m` <cds-custom-header-nav
|
|
5532
5532
|
aria-label="Navigation"
|
|
5533
5533
|
class="${mo(
|
|
5534
|
-
|
|
5534
|
+
O,
|
|
5535
5535
|
`${Ms}__menu`
|
|
5536
5536
|
)}">
|
|
5537
5537
|
${this.noAuthHeaderLinks && this.noAuthHeaderLinks.map((t) => m`
|
|
@@ -6134,7 +6134,7 @@ let $o = class extends y {
|
|
|
6134
6134
|
return m`<cds-custom-header-menu
|
|
6135
6135
|
menu-label="Help"
|
|
6136
6136
|
id="${Ns}"
|
|
6137
|
-
class="${
|
|
6137
|
+
class="${O}__help-menu"
|
|
6138
6138
|
trigger-content="Help"
|
|
6139
6139
|
tabindex="${this.isTrialOpen ? -1 : 0}">
|
|
6140
6140
|
${o == null ? void 0 : o.map((e) => m`
|
|
@@ -6156,7 +6156,7 @@ let $o = class extends y {
|
|
|
6156
6156
|
aria-label="open assistance side panel"
|
|
6157
6157
|
tooltipAlignment="center"
|
|
6158
6158
|
tabindex="${this.isTrialOpen ? -1 : 0}"
|
|
6159
|
-
class="${
|
|
6159
|
+
class="${O}__help-menu"
|
|
6160
6160
|
@click="${(t) => this.handleAssistmeToggleClick(t)}">
|
|
6161
6161
|
${N("Help", 20, "icon")}
|
|
6162
6162
|
</cds-custom-header-global-action>
|
|
@@ -6191,7 +6191,7 @@ let $o = class extends y {
|
|
|
6191
6191
|
role="button"
|
|
6192
6192
|
aria-label="Launch Chat"
|
|
6193
6193
|
tooltipAlignment="center"
|
|
6194
|
-
class="${
|
|
6194
|
+
class="${O}__globalaction"
|
|
6195
6195
|
tabindex="${this.isTrialOpen ? -1 : 0}"
|
|
6196
6196
|
@click="${() => this._toggleAIChat(t.onClick)}">
|
|
6197
6197
|
${N("AiLaunch", 20, "icon")}
|
|
@@ -6207,7 +6207,7 @@ let $o = class extends y {
|
|
|
6207
6207
|
role="button"
|
|
6208
6208
|
aria-label="Solis sidekick"
|
|
6209
6209
|
tooltipAlignment="center"
|
|
6210
|
-
class="${
|
|
6210
|
+
class="${O}__globalaction"
|
|
6211
6211
|
id="${yc}">
|
|
6212
6212
|
${N("ChartVennDiagram", 20, "icon")}
|
|
6213
6213
|
</cds-custom-header-global-action>
|
|
@@ -6222,7 +6222,7 @@ let $o = class extends y {
|
|
|
6222
6222
|
role="button"
|
|
6223
6223
|
aria-label="Solis switcher"
|
|
6224
6224
|
tooltipAlignment="center"
|
|
6225
|
-
class="${
|
|
6225
|
+
class="${O}__globalaction"
|
|
6226
6226
|
id="${_c}">
|
|
6227
6227
|
${N("Switcher", 20, "icon")}
|
|
6228
6228
|
</cds-custom-header-global-action>
|
|
@@ -6270,7 +6270,7 @@ let $o = class extends y {
|
|
|
6270
6270
|
aria-label="${o.label}"
|
|
6271
6271
|
tooltip-text="${T(o.tooltip)}"
|
|
6272
6272
|
tooltip-position="bottom"
|
|
6273
|
-
class="${
|
|
6273
|
+
class="${O}__globalaction"
|
|
6274
6274
|
@click="${o.onClick}">
|
|
6275
6275
|
${N(o.carbonIcon, 20, "icon")}
|
|
6276
6276
|
</cds-custom-header-global-action>
|
|
@@ -6544,10 +6544,10 @@ 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, I, S, P, A, C, B, x, L, F, U;
|
|
6548
6548
|
return m`
|
|
6549
6549
|
<cds-custom-header
|
|
6550
|
-
class="${
|
|
6550
|
+
class="${O}__header"
|
|
6551
6551
|
aria-label="${(o = (t = this.headerProps) == null ? void 0 : t.brand) == null ? void 0 : o.company} ${(s = (e = this.headerProps) == null ? void 0 : e.brand) == null ? void 0 : s.product}">
|
|
6552
6552
|
${this.headerProps && ((c = this.headerProps) != null && c.sideNav) ? m`
|
|
6553
6553
|
<cds-custom-header-menu-button
|
|
@@ -6557,17 +6557,17 @@ let Co = class extends y {
|
|
|
6557
6557
|
` : f}
|
|
6558
6558
|
<slot name="header-logo"></slot>
|
|
6559
6559
|
<cds-custom-header-name
|
|
6560
|
-
class="${
|
|
6560
|
+
class="${O}__header-name"
|
|
6561
6561
|
prefix="${((n = (r = this.headerProps) == null ? void 0 : r.brand) == null ? void 0 : n.company) ?? "IBM"}">
|
|
6562
|
-
<span class="${
|
|
6562
|
+
<span class="${O}__product-type"
|
|
6563
6563
|
>${((a = (i = this.headerProps) == null ? void 0 : i.brand) == null ? void 0 : a.product) ?? f}</span
|
|
6564
6564
|
>
|
|
6565
6565
|
</cds-custom-header-name>
|
|
6566
|
-
<span class="${
|
|
6566
|
+
<span class="${O}__capability-name"
|
|
6567
6567
|
>${((u = (l = this.headerProps) == null ? void 0 : l.capabilityName) == null ? void 0 : u.label) ?? f}</span
|
|
6568
6568
|
>
|
|
6569
6569
|
<clabs-global-header-context
|
|
6570
|
-
class="${
|
|
6570
|
+
class="${O}__global"
|
|
6571
6571
|
.props="${{ ...this.headerProps }}"
|
|
6572
6572
|
.assistMeScriptLoaded="${this.assistMeScriptLoaded}"
|
|
6573
6573
|
?hasNewNotifications="${this.hasNewNotifications}"></clabs-global-header-context>
|
|
@@ -6577,10 +6577,10 @@ let Co = class extends y {
|
|
|
6577
6577
|
collapse-mode="${typeof this.headerProps.sideNav.isCollapsible < "u" && this.headerProps.sideNav.isCollapsible ? "rail" : "responsive"}"
|
|
6578
6578
|
?is-not-persistent="${!!(typeof this.headerProps.sideNav.isCollapsible < "u" && this.headerProps.sideNav.isCollapsible)}"
|
|
6579
6579
|
class="${mo({
|
|
6580
|
-
[`${
|
|
6580
|
+
[`${O}--rail-sidePanel`]: typeof this.headerProps.sideNav.isCollapsible < "u" && !this.headerProps.sideNav.isCollapsible
|
|
6581
6581
|
})}">
|
|
6582
6582
|
<cds-custom-side-nav-items
|
|
6583
|
-
class="${
|
|
6583
|
+
class="${O}__side-nav-items">
|
|
6584
6584
|
<!-- sideNav group array render -->
|
|
6585
6585
|
${(_ = (b = this.headerProps) == null ? void 0 : b.sideNav) != null && _.groups ? m`
|
|
6586
6586
|
${(z = (w = this.headerProps.sideNav) == null ? void 0 : w.groups) == null ? void 0 : z.map(
|
|
@@ -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
|
-
${(
|
|
6615
|
+
${(S = (I = this.headerProps.sideNav) == null ? void 0 : I.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,13 +6632,13 @@ 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=${((
|
|
6635
|
+
aria-label=${((A = (P = this.headerProps) == null ? void 0 : P.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 = (C = this.headerProps) == null ? void 0 : C.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
|
|
6642
6642
|
})}">
|
|
6643
6643
|
${(U = (F = this.headerProps.sideNavPropsV2) == null ? void 0 : F.links) == null ? void 0 : U.map((R) => {
|
|
6644
6644
|
var j, D, X;
|
|
@@ -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.config = o, this.tokenRefreshInterval = o.tokenRefreshInterval || 25, this.idleTimeoutInterval = o.idleTimeoutInterval || 28, this.basePath = o.basePath, this.activityEvents = [
|
|
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 = [
|
|
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.logoutUrl = o.logoutUrl, this.logoutCallback = o.logoutCallback;
|
|
6715
6715
|
}
|
|
6716
6716
|
startRefreshSchedule() {
|
|
6717
6717
|
this.refreshIntervalId = window.setInterval(
|
|
@@ -6734,7 +6734,7 @@ class pa {
|
|
|
6734
6734
|
method: "GET",
|
|
6735
6735
|
credentials: "same-origin"
|
|
6736
6736
|
});
|
|
6737
|
-
e.ok ? console.log("Solis token refresh successful") : e.status === 429 ? console.log("Solis token refresh skipped (too recent)") : e.status === 401 || e.status === 403 ? (console.error("Solis token refresh unauthorized - triggering logout"), await this.
|
|
6737
|
+
e.ok ? console.log("Solis token refresh successful") : e.status === 429 ? console.log("Solis token refresh skipped (too recent)") : e.status === 401 || e.status === 403 ? (console.error("Solis token refresh unauthorized - triggering logout"), await this.performLogout()) : console.error("Solis token refresh failed:", e.status);
|
|
6738
6738
|
} catch (e) {
|
|
6739
6739
|
console.error("Solis token refresh error:", e.message);
|
|
6740
6740
|
}
|
|
@@ -6761,7 +6761,10 @@ class pa {
|
|
|
6761
6761
|
);
|
|
6762
6762
|
}
|
|
6763
6763
|
async setIdle() {
|
|
6764
|
-
this.isIdle = !0, await this.checkSessionStatus()
|
|
6764
|
+
if (this.isIdle = !0, !await this.checkSessionStatus()) {
|
|
6765
|
+
await this.performLogout();
|
|
6766
|
+
return;
|
|
6767
|
+
}
|
|
6765
6768
|
}
|
|
6766
6769
|
isTabIdle() {
|
|
6767
6770
|
return this.isIdle;
|
|
@@ -6777,8 +6780,10 @@ class pa {
|
|
|
6777
6780
|
return console.error("Solis session status unknown:", e.message), !1;
|
|
6778
6781
|
}
|
|
6779
6782
|
}
|
|
6780
|
-
async
|
|
6781
|
-
|
|
6783
|
+
async performLogout() {
|
|
6784
|
+
if (this.isLoggingOut)
|
|
6785
|
+
return;
|
|
6786
|
+
this.isLoggingOut = !0, this.stopRefreshSchedule(), this.stopSessionStatusPolling(), this.unregisterActivityListeners();
|
|
6782
6787
|
const o = this.basePath ? this.basePath + "/v1/solis/session/logout" : "/v1/solis/session/logout";
|
|
6783
6788
|
try {
|
|
6784
6789
|
const e = await fetch(o, {
|
|
@@ -6789,29 +6794,51 @@ class pa {
|
|
|
6789
6794
|
} catch (e) {
|
|
6790
6795
|
console.error("Solis session logout error:", e.message);
|
|
6791
6796
|
}
|
|
6792
|
-
if (this.
|
|
6797
|
+
if (this.logoutCallback)
|
|
6793
6798
|
try {
|
|
6794
|
-
await this.
|
|
6799
|
+
await this.logoutCallback();
|
|
6795
6800
|
} catch (e) {
|
|
6796
|
-
console.error("
|
|
6801
|
+
console.error("Logout failed with error: ", e.message);
|
|
6797
6802
|
}
|
|
6798
6803
|
this.redirect(
|
|
6799
|
-
this.
|
|
6804
|
+
this.logoutUrl ?? (this.basePath ? `${this.basePath}/logout` : "/logout")
|
|
6800
6805
|
);
|
|
6801
6806
|
}
|
|
6807
|
+
startSessionStatusPolling() {
|
|
6808
|
+
const o = async () => {
|
|
6809
|
+
if (!await this.checkSessionStatus()) {
|
|
6810
|
+
await this.performLogout();
|
|
6811
|
+
return;
|
|
6812
|
+
}
|
|
6813
|
+
this.sessionStatusIntervalId = window.setTimeout(
|
|
6814
|
+
o,
|
|
6815
|
+
this.sessionStatusInterval * 1e3
|
|
6816
|
+
);
|
|
6817
|
+
};
|
|
6818
|
+
this.sessionStatusIntervalId = window.setTimeout(
|
|
6819
|
+
o,
|
|
6820
|
+
this.sessionStatusInterval * 1e3
|
|
6821
|
+
);
|
|
6822
|
+
}
|
|
6823
|
+
stopSessionStatusPolling() {
|
|
6824
|
+
this.sessionStatusIntervalId && (clearTimeout(this.sessionStatusIntervalId), this.sessionStatusIntervalId = null);
|
|
6825
|
+
}
|
|
6826
|
+
isPollingRunning() {
|
|
6827
|
+
return this.sessionStatusIntervalId !== null;
|
|
6828
|
+
}
|
|
6802
6829
|
redirect(o) {
|
|
6803
6830
|
window.location.href = o;
|
|
6804
6831
|
}
|
|
6805
6832
|
}
|
|
6806
|
-
var la = Object.defineProperty, ua = Object.getOwnPropertyDescriptor,
|
|
6833
|
+
var la = Object.defineProperty, ua = Object.getOwnPropertyDescriptor, E = (t, o, e, s) => {
|
|
6807
6834
|
for (var c = s > 1 ? void 0 : s ? ua(o, e) : o, r = t.length - 1, n; r >= 0; r--)
|
|
6808
6835
|
(n = t[r]) && (c = (s ? n(o, e, c) : n(c)) || c);
|
|
6809
6836
|
return s && c && la(o, e, c), c;
|
|
6810
6837
|
};
|
|
6811
6838
|
const { stablePrefix: ma } = ro;
|
|
6812
|
-
let
|
|
6839
|
+
let $ = class extends y {
|
|
6813
6840
|
constructor() {
|
|
6814
|
-
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.
|
|
6841
|
+
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.logoutUrl = "", this.headerOptions = {
|
|
6815
6842
|
...yn,
|
|
6816
6843
|
brand: {
|
|
6817
6844
|
company: "IBM",
|
|
@@ -6831,7 +6858,7 @@ let A = class extends y {
|
|
|
6831
6858
|
super.connectedCallback(), document.addEventListener(Ls, this._customEventListener);
|
|
6832
6859
|
}
|
|
6833
6860
|
disconnectedCallback() {
|
|
6834
|
-
super.disconnectedCallback(), this.sessionManager && (this.sessionManager.stopRefreshSchedule(), this.sessionManager.unregisterActivityListeners(), this.sessionManager = null), document.removeEventListener(Ls, this._customEventListener);
|
|
6861
|
+
super.disconnectedCallback(), this.sessionManager && (this.sessionManager.stopRefreshSchedule(), this.sessionManager.stopSessionStatusPolling(), this.sessionManager.unregisterActivityListeners(), this.sessionManager = null), document.removeEventListener(Ls, this._customEventListener);
|
|
6835
6862
|
}
|
|
6836
6863
|
// reload the header options whenever the custom event is received
|
|
6837
6864
|
_customEventListener(t) {
|
|
@@ -6880,10 +6907,11 @@ let A = class extends y {
|
|
|
6880
6907
|
}), this.sessionManager = new pa({
|
|
6881
6908
|
tokenRefreshInterval: this.solisSessionRefreshInterval,
|
|
6882
6909
|
idleTimeoutInterval: this.solisIdleTimeoutInterval,
|
|
6910
|
+
sessionStatusInterval: this.solisSessionStatusInterval,
|
|
6883
6911
|
basePath: this.basePath,
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
}), this.sessionManager.startRefreshSchedule(), this.sessionManager.registerActivityListeners();
|
|
6912
|
+
logoutCallback: t,
|
|
6913
|
+
logoutUrl: this.logoutUrl || void 0
|
|
6914
|
+
}), this.sessionManager.startRefreshSchedule(), this.sessionManager.startSessionStatusPolling(), this.sessionManager.registerActivityListeners();
|
|
6887
6915
|
}
|
|
6888
6916
|
}
|
|
6889
6917
|
initCookiePrefsLink() {
|
|
@@ -6907,7 +6935,10 @@ let A = class extends y {
|
|
|
6907
6935
|
carbonIcon: "Logout",
|
|
6908
6936
|
arialLabel: "Logout"
|
|
6909
6937
|
};
|
|
6910
|
-
return this.
|
|
6938
|
+
return this.solisSessionManagerEnabled ? t.onClickHandler = () => {
|
|
6939
|
+
var o;
|
|
6940
|
+
return (o = this.sessionManager) == null ? void 0 : o.performLogout();
|
|
6941
|
+
} : this.logoutCallback ? t.onClickHandler = this.logoutCallback : this.logoutCallbackEvent ? t.onClickHandler = () => {
|
|
6911
6942
|
const o = new CustomEvent(this.logoutCallbackEvent, {
|
|
6912
6943
|
bubbles: !0,
|
|
6913
6944
|
cancelable: !0
|
|
@@ -7044,122 +7075,128 @@ let A = class extends y {
|
|
|
7044
7075
|
</div>`;
|
|
7045
7076
|
}
|
|
7046
7077
|
};
|
|
7047
|
-
|
|
7078
|
+
$.styles = K`
|
|
7048
7079
|
${co(da)}
|
|
7049
7080
|
`;
|
|
7050
|
-
|
|
7081
|
+
E([
|
|
7051
7082
|
d({ type: String })
|
|
7052
|
-
],
|
|
7053
|
-
|
|
7083
|
+
], $.prototype, "productName", 2);
|
|
7084
|
+
E([
|
|
7054
7085
|
d({ type: String })
|
|
7055
|
-
],
|
|
7056
|
-
|
|
7086
|
+
], $.prototype, "productKey", 2);
|
|
7087
|
+
E([
|
|
7057
7088
|
d({ type: Object })
|
|
7058
|
-
],
|
|
7059
|
-
|
|
7089
|
+
], $.prototype, "fetchHeaders", 2);
|
|
7090
|
+
E([
|
|
7060
7091
|
d({ type: Boolean })
|
|
7061
|
-
],
|
|
7062
|
-
|
|
7092
|
+
], $.prototype, "solisSidekickEnabled", 2);
|
|
7093
|
+
E([
|
|
7094
|
+
d({ type: Boolean })
|
|
7095
|
+
], $.prototype, "solisSwitcherEnabled", 2);
|
|
7096
|
+
E([
|
|
7063
7097
|
d({ type: String })
|
|
7064
|
-
],
|
|
7065
|
-
|
|
7098
|
+
], $.prototype, "solisEnvironment", 2);
|
|
7099
|
+
E([
|
|
7066
7100
|
d({ type: Boolean })
|
|
7067
|
-
],
|
|
7068
|
-
|
|
7101
|
+
], $.prototype, "solisDevMode", 2);
|
|
7102
|
+
E([
|
|
7069
7103
|
d({ type: String })
|
|
7070
|
-
],
|
|
7071
|
-
|
|
7104
|
+
], $.prototype, "basePath", 2);
|
|
7105
|
+
E([
|
|
7072
7106
|
d({ type: String })
|
|
7073
|
-
],
|
|
7074
|
-
|
|
7107
|
+
], $.prototype, "displayName", 2);
|
|
7108
|
+
E([
|
|
7075
7109
|
d({ type: String })
|
|
7076
|
-
],
|
|
7077
|
-
|
|
7110
|
+
], $.prototype, "userEmail", 2);
|
|
7111
|
+
E([
|
|
7078
7112
|
d({ type: String })
|
|
7079
|
-
],
|
|
7080
|
-
|
|
7113
|
+
], $.prototype, "productVersion", 2);
|
|
7114
|
+
E([
|
|
7081
7115
|
d({ type: String })
|
|
7082
|
-
],
|
|
7083
|
-
|
|
7116
|
+
], $.prototype, "assistMeKey", 2);
|
|
7117
|
+
E([
|
|
7084
7118
|
d({ type: Function })
|
|
7085
|
-
],
|
|
7086
|
-
|
|
7119
|
+
], $.prototype, "aiCallback", 2);
|
|
7120
|
+
E([
|
|
7087
7121
|
d({ type: String })
|
|
7088
|
-
],
|
|
7089
|
-
|
|
7122
|
+
], $.prototype, "aiCallbackEvent", 2);
|
|
7123
|
+
E([
|
|
7090
7124
|
d({ type: Function })
|
|
7091
|
-
],
|
|
7092
|
-
|
|
7125
|
+
], $.prototype, "logoutCallback", 2);
|
|
7126
|
+
E([
|
|
7093
7127
|
d({ type: String })
|
|
7094
|
-
],
|
|
7095
|
-
|
|
7128
|
+
], $.prototype, "logoutCallbackEvent", 2);
|
|
7129
|
+
E([
|
|
7096
7130
|
d({ type: Function })
|
|
7097
|
-
],
|
|
7098
|
-
|
|
7131
|
+
], $.prototype, "notificationOpenCallback", 2);
|
|
7132
|
+
E([
|
|
7099
7133
|
d({ type: String })
|
|
7100
|
-
],
|
|
7101
|
-
|
|
7134
|
+
], $.prototype, "notificationOpenCallbackEvent", 2);
|
|
7135
|
+
E([
|
|
7102
7136
|
d({ type: Function })
|
|
7103
|
-
],
|
|
7104
|
-
|
|
7137
|
+
], $.prototype, "searchCallback", 2);
|
|
7138
|
+
E([
|
|
7105
7139
|
d({ type: String })
|
|
7106
|
-
],
|
|
7107
|
-
|
|
7140
|
+
], $.prototype, "searchCallbackEvent", 2);
|
|
7141
|
+
E([
|
|
7108
7142
|
d({ type: Function })
|
|
7109
|
-
],
|
|
7110
|
-
|
|
7143
|
+
], $.prototype, "searchSubmitCallback", 2);
|
|
7144
|
+
E([
|
|
7111
7145
|
d({ type: String })
|
|
7112
|
-
],
|
|
7113
|
-
|
|
7146
|
+
], $.prototype, "searchSubmitCallbackEvent", 2);
|
|
7147
|
+
E([
|
|
7114
7148
|
d({ type: Boolean })
|
|
7115
|
-
],
|
|
7116
|
-
|
|
7149
|
+
], $.prototype, "hasNewNotifications", 2);
|
|
7150
|
+
E([
|
|
7117
7151
|
d({ type: Object })
|
|
7118
|
-
],
|
|
7119
|
-
|
|
7152
|
+
], $.prototype, "searchConfigs", 2);
|
|
7153
|
+
E([
|
|
7120
7154
|
d({ type: Array })
|
|
7121
|
-
],
|
|
7122
|
-
|
|
7155
|
+
], $.prototype, "capabilityProfileFooterLinks", 2);
|
|
7156
|
+
E([
|
|
7123
7157
|
d({ type: Array })
|
|
7124
|
-
],
|
|
7125
|
-
|
|
7158
|
+
], $.prototype, "capabilityGlobalActions", 2);
|
|
7159
|
+
E([
|
|
7126
7160
|
d({ type: Boolean })
|
|
7127
|
-
],
|
|
7128
|
-
|
|
7161
|
+
], $.prototype, "addCookiePreferences", 2);
|
|
7162
|
+
E([
|
|
7129
7163
|
d({ type: Boolean })
|
|
7130
|
-
],
|
|
7131
|
-
|
|
7164
|
+
], $.prototype, "forceBackendProxy", 2);
|
|
7165
|
+
E([
|
|
7132
7166
|
d({ type: Boolean })
|
|
7133
|
-
],
|
|
7134
|
-
|
|
7167
|
+
], $.prototype, "solisSessionManagerEnabled", 2);
|
|
7168
|
+
E([
|
|
7169
|
+
d({ type: Number })
|
|
7170
|
+
], $.prototype, "solisSessionRefreshInterval", 2);
|
|
7171
|
+
E([
|
|
7135
7172
|
d({ type: Number })
|
|
7136
|
-
],
|
|
7137
|
-
|
|
7173
|
+
], $.prototype, "solisIdleTimeoutInterval", 2);
|
|
7174
|
+
E([
|
|
7138
7175
|
d({ type: Number })
|
|
7139
|
-
],
|
|
7140
|
-
|
|
7176
|
+
], $.prototype, "solisSessionStatusInterval", 2);
|
|
7177
|
+
E([
|
|
7141
7178
|
d({ type: String })
|
|
7142
|
-
],
|
|
7143
|
-
|
|
7179
|
+
], $.prototype, "logoutUrl", 2);
|
|
7180
|
+
E([
|
|
7144
7181
|
go()
|
|
7145
|
-
],
|
|
7146
|
-
|
|
7182
|
+
], $.prototype, "headerOptions", 2);
|
|
7183
|
+
$ = E([
|
|
7147
7184
|
so(`${ma}-global-header-hybrid-ipaas`)
|
|
7148
|
-
],
|
|
7185
|
+
], $);
|
|
7149
7186
|
export {
|
|
7150
7187
|
k as A,
|
|
7151
7188
|
Co as C,
|
|
7152
7189
|
fo as F,
|
|
7153
7190
|
q as H,
|
|
7154
|
-
|
|
7191
|
+
Pn as _,
|
|
7155
7192
|
Zt as a,
|
|
7156
|
-
|
|
7193
|
+
$ as b,
|
|
7157
7194
|
mr as c,
|
|
7158
7195
|
p as d,
|
|
7159
7196
|
m as e,
|
|
7160
7197
|
H as f,
|
|
7161
7198
|
Y as g,
|
|
7162
|
-
|
|
7199
|
+
It as h,
|
|
7163
7200
|
K as i,
|
|
7164
7201
|
y as j,
|
|
7165
7202
|
Ft as k,
|
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-C1d3BtRJ.mjs";
|
|
2
|
+
import { b as De } from "./HybridIpaasHeader-C1d3BtRJ.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.92.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": "01b8cf28e3de7cfc8dfd3a4ecbb9b8eb82d35735"
|
|
53
53
|
}
|