@carbon-labs/wc-global-header 0.75.0 → 0.76.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,14 +884,14 @@ let P = (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: c, disabled: s, download: r, href: n, hreflang: a, kind: i, isExpressive: l, isSelected: u, linkRole: v, openTooltip: b, ping: h, rel: g, size: x, tabIndex: w, target: z, tooltipAlignment: S, tooltipPosition: C, tooltipText: E, type: A, _hasIcon: $, hasMainContent:
|
|
887
|
+
const { autofocus: o, buttonClassName: e, dangerDescription: c, disabled: s, download: r, href: n, hreflang: a, kind: i, isExpressive: l, isSelected: u, linkRole: v, openTooltip: b, ping: h, rel: g, size: x, tabIndex: w, target: z, tooltipAlignment: S, tooltipPosition: C, tooltipText: E, type: A, _hasIcon: $, hasMainContent: M, _handleSlotChange: _ } = this;
|
|
888
888
|
let N = {
|
|
889
889
|
"cds-custom--btn": !0,
|
|
890
890
|
[`cds-custom--btn--${i}`]: i,
|
|
891
891
|
"cds-custom--btn--danger--tertiary": i === "danger-tertiary",
|
|
892
892
|
"cds-custom--btn--danger--ghost": i === "danger-ghost",
|
|
893
893
|
"cds-custom--btn--disabled": s,
|
|
894
|
-
"cds-custom--btn--icon-only": $ && !
|
|
894
|
+
"cds-custom--btn--icon-only": $ && !M,
|
|
895
895
|
[`cds-custom--btn--${x}`]: x,
|
|
896
896
|
[`cds-custom--layout--size-${x}`]: x,
|
|
897
897
|
"cds-custom-ce--btn--has-icon": $,
|
|
@@ -2437,9 +2437,9 @@ const Ar = 50, Sr = async (t, o, e) => {
|
|
|
2437
2437
|
x: e,
|
|
2438
2438
|
y: c
|
|
2439
2439
|
}, h = Ye(s), g = Ke(h), x = await n.getDimensions(l), w = h === "y", z = w ? "top" : "left", S = w ? "bottom" : "right", C = w ? "clientHeight" : "clientWidth", E = r.reference[g] + r.reference[h] - b[h] - r.floating[g], A = b[h] - r.reference[h], $ = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(l));
|
|
2440
|
-
let
|
|
2441
|
-
(!
|
|
2442
|
-
const _ = E / 2 - A / 2, N =
|
|
2440
|
+
let M = $ ? $[C] : 0;
|
|
2441
|
+
(!M || !await (n.isElement == null ? void 0 : n.isElement($))) && (M = a.floating[C] || r.floating[g]);
|
|
2442
|
+
const _ = E / 2 - A / 2, N = M / 2 - x[g] / 2 - 1, D = Mo(v[z], N), K = Mo(v[S], N), R = D, j = M - x[g] - K, F = M / 2 - x[g] / 2 + _, U = gr(R, F, j), oo = !i.arrow && It(s) != null && F !== U && r.reference[g] / 2 - (F < R ? D : K) - x[g] / 2 < 0, X = oo ? F < R ? F - R : F - j : 0;
|
|
2443
2443
|
return {
|
|
2444
2444
|
[h]: b[h] + X,
|
|
2445
2445
|
data: {
|
|
@@ -2478,7 +2478,7 @@ const Ar = 50, Sr = async (t, o, e) => {
|
|
|
2478
2478
|
return {};
|
|
2479
2479
|
const z = rt(s), S = Eo(a), C = rt(a) === a, E = await (i.isRTL == null ? void 0 : i.isRTL(l.floating)), A = b || (C || !x ? [re(a)] : _r(a)), $ = g !== "none";
|
|
2480
2480
|
!b && $ && A.push(...wr(a, x, g, E));
|
|
2481
|
-
const
|
|
2481
|
+
const M = [a, ...A], _ = await i.detectOverflow(o, w), N = [];
|
|
2482
2482
|
let D = ((c = r.flip) == null ? void 0 : c.overflows) || [];
|
|
2483
2483
|
if (u && N.push(_[z]), v) {
|
|
2484
2484
|
const F = yr(s, n, E);
|
|
@@ -2489,7 +2489,7 @@ const Ar = 50, Sr = async (t, o, e) => {
|
|
|
2489
2489
|
overflows: N
|
|
2490
2490
|
}], !N.every((F) => F <= 0)) {
|
|
2491
2491
|
var K, R;
|
|
2492
|
-
const F = (((K = r.flip) == null ? void 0 : K.index) || 0) + 1, U =
|
|
2492
|
+
const F = (((K = r.flip) == null ? void 0 : K.index) || 0) + 1, U = M[F];
|
|
2493
2493
|
if (U && (!(v === "alignment" ? S !== Eo(U) : !1) || // We leave the current main axis only if every placement on that axis
|
|
2494
2494
|
// overflows the main axis.
|
|
2495
2495
|
D.every((G) => Eo(G.placement) === S ? G.overflows[0] > 0 : !0)))
|
|
@@ -2659,15 +2659,15 @@ const Tr = function(t) {
|
|
|
2659
2659
|
let w, z;
|
|
2660
2660
|
v === "top" || v === "bottom" ? (w = v, z = b === (await (n.isRTL == null ? void 0 : n.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (z = v, w = b === "end" ? "top" : "bottom");
|
|
2661
2661
|
const S = x - u.top - u.bottom, C = g - u.left - u.right, E = Mo(x - u[w], S), A = Mo(g - u[z], C), $ = !o.middlewareData.shift;
|
|
2662
|
-
let
|
|
2663
|
-
if ((e = o.middlewareData.shift) != null && e.enabled.x && (_ = C), (c = o.middlewareData.shift) != null && c.enabled.y && (
|
|
2662
|
+
let M = E, _ = A;
|
|
2663
|
+
if ((e = o.middlewareData.shift) != null && e.enabled.x && (_ = C), (c = o.middlewareData.shift) != null && c.enabled.y && (M = S), $ && !b) {
|
|
2664
2664
|
const D = Q(u.left, 0), K = Q(u.right, 0), R = Q(u.top, 0), j = Q(u.bottom, 0);
|
|
2665
|
-
h ? _ = g - 2 * (D !== 0 || K !== 0 ? D + K : Q(u.left, u.right)) :
|
|
2665
|
+
h ? _ = g - 2 * (D !== 0 || K !== 0 ? D + K : Q(u.left, u.right)) : M = x - 2 * (R !== 0 || j !== 0 ? R + j : Q(u.top, u.bottom));
|
|
2666
2666
|
}
|
|
2667
2667
|
await i({
|
|
2668
2668
|
...o,
|
|
2669
2669
|
availableWidth: _,
|
|
2670
|
-
availableHeight:
|
|
2670
|
+
availableHeight: M
|
|
2671
2671
|
});
|
|
2672
2672
|
const N = await n.getDimensions(a.floating);
|
|
2673
2673
|
return g !== N.width || x !== N.height ? {
|
|
@@ -3107,15 +3107,15 @@ function on(t, o) {
|
|
|
3107
3107
|
};
|
|
3108
3108
|
let E = !0;
|
|
3109
3109
|
function A($) {
|
|
3110
|
-
const
|
|
3111
|
-
if (
|
|
3110
|
+
const M = $[0].intersectionRatio;
|
|
3111
|
+
if (M !== i) {
|
|
3112
3112
|
if (!E)
|
|
3113
3113
|
return n();
|
|
3114
|
-
|
|
3114
|
+
M ? n(!1, M) : c = setTimeout(() => {
|
|
3115
3115
|
n(!1, 1e-7);
|
|
3116
3116
|
}, 1e3);
|
|
3117
3117
|
}
|
|
3118
|
-
|
|
3118
|
+
M === 1 && !bc(l, t.getBoundingClientRect()) && n(), E = !1;
|
|
3119
3119
|
}
|
|
3120
3120
|
try {
|
|
3121
3121
|
e = new IntersectionObserver(A, {
|
|
@@ -3290,21 +3290,21 @@ var an = class {
|
|
|
3290
3290
|
cn()
|
|
3291
3291
|
];
|
|
3292
3292
|
if (a) {
|
|
3293
|
-
const { x: A, y: $, placement:
|
|
3293
|
+
const { x: A, y: $, placement: M, middlewareData: _, strategy: N } = await nn(c, h, {
|
|
3294
3294
|
strategy: "fixed",
|
|
3295
3295
|
middleware: S,
|
|
3296
3296
|
placement: g
|
|
3297
3297
|
});
|
|
3298
|
-
if (h.setAttribute("align",
|
|
3298
|
+
if (h.setAttribute("align", M), h.style.left = `${A}px`, h.style.top = `${$}px`, h.style.position = `${N}`, h.style.visibility = (C = _.hide) != null && C.referenceHidden ? "hidden" : "visible", t) {
|
|
3299
3299
|
const { x: D, y: K } = _.arrow, R = {
|
|
3300
3300
|
top: "bottom",
|
|
3301
3301
|
right: "left",
|
|
3302
3302
|
bottom: "top",
|
|
3303
3303
|
left: "right"
|
|
3304
|
-
}[
|
|
3304
|
+
}[M.split("-")[0]];
|
|
3305
3305
|
t.style.left = D != null ? `${D}px` : "", t.style.top = K != null ? `${K}px` : "", t.style.right = "", t.style.bottom = "", t.style[R] = `${-t.offsetWidth / 2}px`;
|
|
3306
3306
|
}
|
|
3307
|
-
(this.host.tagName === "CDS-AI-LABEL" || this.host.tagName === "CDS-SLUG") && ((E = this.host) == null || E.setAttribute("alignment",
|
|
3307
|
+
(this.host.tagName === "CDS-AI-LABEL" || this.host.tagName === "CDS-SLUG") && ((E = this.host) == null || E.setAttribute("alignment", M));
|
|
3308
3308
|
}
|
|
3309
3309
|
}
|
|
3310
3310
|
hostUpdated() {
|
|
@@ -4391,7 +4391,7 @@ function _c(t) {
|
|
|
4391
4391
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
4392
4392
|
* LICENSE file in the root directory of this source tree.
|
|
4393
4393
|
*/
|
|
4394
|
-
const ta = "https://ibmassistme-dev.zll1vg8lrcq.us-south.codeengine.appdomain.cloud/resources/assist-me/controller.js", ea = "https://www.ibm.com/resources/assist-me/controller.js",
|
|
4394
|
+
const ta = "https://ibmassistme-dev.zll1vg8lrcq.us-south.codeengine.appdomain.cloud/resources/assist-me/controller.js", ea = "https://www.ibm.com/resources/assist-me/controller.js", L = (t, o, e) => {
|
|
4395
4395
|
const c = `${t}${o}`, n = {
|
|
4396
4396
|
AiLaunch20: Cn,
|
|
4397
4397
|
Api16: An,
|
|
@@ -4472,7 +4472,7 @@ let eo = class extends y {
|
|
|
4472
4472
|
width="16"
|
|
4473
4473
|
height="16"
|
|
4474
4474
|
role="presentation"
|
|
4475
|
-
src="data:image/svg+xml;utf8,${encodeURIComponent(e)}" />` : o ?
|
|
4475
|
+
src="data:image/svg+xml;utf8,${encodeURIComponent(e)}" />` : o ? L(o, 16, c) : f;
|
|
4476
4476
|
}, this.link = {
|
|
4477
4477
|
href: "",
|
|
4478
4478
|
label: "",
|
|
@@ -4483,7 +4483,7 @@ let eo = class extends y {
|
|
|
4483
4483
|
};
|
|
4484
4484
|
}
|
|
4485
4485
|
render() {
|
|
4486
|
-
var e, c, s, r, n, a, i, l, u, v, b, h, g, x, w, z, S, C, E, A, $,
|
|
4486
|
+
var e, c, s, r, n, a, i, l, u, v, b, h, g, x, w, z, S, C, E, A, $, M;
|
|
4487
4487
|
const o = "title-icon";
|
|
4488
4488
|
return typeof this.isCollapsible > "u" || this.isCollapsible ? this.isSideNavMenuItems ? m`
|
|
4489
4489
|
<cds-custom-side-nav-menu
|
|
@@ -4515,7 +4515,7 @@ let eo = class extends y {
|
|
|
4515
4515
|
class="${T}--side-panel-nav-item__link">
|
|
4516
4516
|
${_.label}
|
|
4517
4517
|
${_.newTabIcon && m`<span class="launch_icon"
|
|
4518
|
-
>${
|
|
4518
|
+
>${L("Launch", 16)}</span
|
|
4519
4519
|
>`}
|
|
4520
4520
|
</span>
|
|
4521
4521
|
</cds-custom-side-nav-menu-item>`)}
|
|
@@ -4573,10 +4573,10 @@ let eo = class extends y {
|
|
|
4573
4573
|
@mouseleave="${() => this._setIsHoveringOnSideNavItem(!1)}"
|
|
4574
4574
|
@mouseenter="${() => this._setIsHoveringOnSideNavItem(!0)}"
|
|
4575
4575
|
large="${!this.isHybridIpaas}">
|
|
4576
|
-
${(E = this.link) != null && E.iconName ?
|
|
4576
|
+
${(E = this.link) != null && E.iconName ? L((A = this.link) == null ? void 0 : A.iconName, 16, o) : ($ = this.link) == null ? void 0 : $.label}
|
|
4577
4577
|
</cds-custom-side-nav-link>
|
|
4578
4578
|
<cds-custom-popover-content
|
|
4579
|
-
>${(
|
|
4579
|
+
>${(M = this.link) == null ? void 0 : M.label}</cds-custom-popover-content
|
|
4580
4580
|
>
|
|
4581
4581
|
</cds-custom-popover>
|
|
4582
4582
|
</div>
|
|
@@ -4786,7 +4786,7 @@ const Rs = (t, o) => {
|
|
|
4786
4786
|
@click="${() => Rs("trial button", e)}"
|
|
4787
4787
|
class="${k}__trial-button">
|
|
4788
4788
|
${e}
|
|
4789
|
-
<span slot="icon">${
|
|
4789
|
+
<span slot="icon">${L("Email", 16)}</span>
|
|
4790
4790
|
</cds-custom-button>
|
|
4791
4791
|
` : f}
|
|
4792
4792
|
</div>
|
|
@@ -4796,12 +4796,12 @@ function la(t) {
|
|
|
4796
4796
|
switch (t) {
|
|
4797
4797
|
case "invite":
|
|
4798
4798
|
case Fe.invite:
|
|
4799
|
-
return
|
|
4799
|
+
return L("Share", 16);
|
|
4800
4800
|
case "requestQuote":
|
|
4801
4801
|
case Fe.requestQuote:
|
|
4802
|
-
return
|
|
4802
|
+
return L("RequestQuote", 16);
|
|
4803
4803
|
default:
|
|
4804
|
-
return
|
|
4804
|
+
return L("User", 16);
|
|
4805
4805
|
}
|
|
4806
4806
|
}
|
|
4807
4807
|
/**
|
|
@@ -5141,9 +5141,9 @@ let zo = class extends y {
|
|
|
5141
5141
|
constructor() {
|
|
5142
5142
|
super(...arguments), this.kind = "", this.size = "lg", this.image = "", this.initials = "", this.className = "", this.backgroundColor = "light-cyan", this.icons = {
|
|
5143
5143
|
user: {
|
|
5144
|
-
md:
|
|
5145
|
-
lg:
|
|
5146
|
-
xlg:
|
|
5144
|
+
md: L("User", 20),
|
|
5145
|
+
lg: L("User", 24),
|
|
5146
|
+
xlg: L("User", 32)
|
|
5147
5147
|
}
|
|
5148
5148
|
}, this.formatInitials = () => {
|
|
5149
5149
|
var t, o, e, c, s;
|
|
@@ -5151,7 +5151,7 @@ let zo = class extends y {
|
|
|
5151
5151
|
}, this.getFillItem = () => this.image ? m`<img
|
|
5152
5152
|
alt="profile image"
|
|
5153
5153
|
src="${this.image}"
|
|
5154
|
-
class="${Ro}__photo ${Ro}__photo--${this.size}" />` : this.initials ? this.formatInitials() : this.kind && this.size ?
|
|
5154
|
+
class="${Ro}__photo ${Ro}__photo--${this.size}" />` : this.initials ? this.formatInitials() : this.kind && this.size ? L(this.kind, +this.size) : this.icons.user.md;
|
|
5155
5155
|
}
|
|
5156
5156
|
render() {
|
|
5157
5157
|
return m`
|
|
@@ -5238,7 +5238,7 @@ let ie = class extends y {
|
|
|
5238
5238
|
rel="noreferrer">
|
|
5239
5239
|
<span class="${k}__popover__link">
|
|
5240
5240
|
<span class="link_icon"
|
|
5241
|
-
>${e.carbonIcon ?
|
|
5241
|
+
>${e.carbonIcon ? L(e.carbonIcon, Do, Fo) : f}</span
|
|
5242
5242
|
>
|
|
5243
5243
|
<span class="link_text">${e.text}</span>
|
|
5244
5244
|
</span>
|
|
@@ -5253,7 +5253,7 @@ let ie = class extends y {
|
|
|
5253
5253
|
<a href=${o.href} target="_blank" rel="noreferrer">
|
|
5254
5254
|
<span class="${k}__popover__link">
|
|
5255
5255
|
<span class="link_icon"
|
|
5256
|
-
>${
|
|
5256
|
+
>${L(
|
|
5257
5257
|
o.icon,
|
|
5258
5258
|
Do,
|
|
5259
5259
|
Fo
|
|
@@ -5261,7 +5261,7 @@ let ie = class extends y {
|
|
|
5261
5261
|
>
|
|
5262
5262
|
<span class="link_text">${o.text}</span>
|
|
5263
5263
|
<span class="launch_icon"
|
|
5264
|
-
>${
|
|
5264
|
+
>${L("Launch", Do, Fo)}</span
|
|
5265
5265
|
>
|
|
5266
5266
|
</span>
|
|
5267
5267
|
</a>
|
|
@@ -5279,11 +5279,11 @@ let ie = class extends y {
|
|
|
5279
5279
|
rel="noreferrer">
|
|
5280
5280
|
<span class="${k}__popover__link">
|
|
5281
5281
|
<span class="link_icon"
|
|
5282
|
-
>${
|
|
5282
|
+
>${L("Settings", Do, Fo)}</span
|
|
5283
5283
|
>
|
|
5284
5284
|
<span class="link_text">${o.text}</span>
|
|
5285
5285
|
${o.newTabIcon ? m`<span class="launch_icon"
|
|
5286
|
-
>${
|
|
5286
|
+
>${L("Launch", Do, Fo)}</span
|
|
5287
5287
|
>` : f}
|
|
5288
5288
|
</span>
|
|
5289
5289
|
</a>
|
|
@@ -5292,11 +5292,11 @@ let ie = class extends y {
|
|
|
5292
5292
|
</div>
|
|
5293
5293
|
` : f, this.renderLinkItem = (o) => m`<span class="${k}__popover__link">
|
|
5294
5294
|
<span class="link_icon"
|
|
5295
|
-
>${o.carbonIcon ?
|
|
5295
|
+
>${o.carbonIcon ? L(o.carbonIcon, Do, Fo) : f}</span
|
|
5296
5296
|
>
|
|
5297
5297
|
<span class="link_text">${o.text}</span>
|
|
5298
5298
|
${o.newTabIcon ? m`<span class="launch_icon"
|
|
5299
|
-
>${
|
|
5299
|
+
>${L("Launch", Do, Fo)}</span
|
|
5300
5300
|
>` : f}
|
|
5301
5301
|
</span>`, this.renderProfileFooterLinks = (o) => {
|
|
5302
5302
|
if (o) {
|
|
@@ -5417,7 +5417,7 @@ let de = class extends y {
|
|
|
5417
5417
|
class="${`${Ts}__menu-item`}">
|
|
5418
5418
|
${t == null ? void 0 : t.text}
|
|
5419
5419
|
${t != null && t.carbonIcon ? m`<span
|
|
5420
|
-
>${
|
|
5420
|
+
>${L(t.carbonIcon, 16)}</span
|
|
5421
5421
|
>` : f}
|
|
5422
5422
|
</cds-custom-header-nav-item>
|
|
5423
5423
|
`)}
|
|
@@ -5753,23 +5753,23 @@ let wo = class extends y {
|
|
|
5753
5753
|
${t.isLinkItem ? "" : m`
|
|
5754
5754
|
<div
|
|
5755
5755
|
class="${e ? f : `${k}__switcher-menu-item-title-hidden-checkmark`}">
|
|
5756
|
-
${
|
|
5756
|
+
${L(
|
|
5757
5757
|
t.carbonIcon || "Checkmark",
|
|
5758
5758
|
16
|
|
5759
5759
|
)}
|
|
5760
5760
|
</div>
|
|
5761
5761
|
`}
|
|
5762
5762
|
${t.isLinkItem ? m`<div>
|
|
5763
|
-
${
|
|
5763
|
+
${L(t.carbonIcon || "Checkmark", 16)}
|
|
5764
5764
|
</div>` : ""}
|
|
5765
5765
|
<span>${t.label}</span>
|
|
5766
|
-
${t.isLinkItem ? m`<div>${
|
|
5766
|
+
${t.isLinkItem ? m`<div>${L("Launch", 16)}</div>` : ""}
|
|
5767
5767
|
</span>
|
|
5768
5768
|
` : m`
|
|
5769
5769
|
<span
|
|
5770
5770
|
class="${k}__switcher-menu-item-title">
|
|
5771
5771
|
<span>${t.label}</span>
|
|
5772
|
-
${e ?
|
|
5772
|
+
${e ? L(t.carbonIcon || "Checkmark", 16) : ""}
|
|
5773
5773
|
</span>
|
|
5774
5774
|
`}
|
|
5775
5775
|
</div>
|
|
@@ -6017,7 +6017,7 @@ let $o = class extends y {
|
|
|
6017
6017
|
target="${e.target}"
|
|
6018
6018
|
href="${e.link}">
|
|
6019
6019
|
<span>${e.label}</span>
|
|
6020
|
-
<span>${
|
|
6020
|
+
<span>${L("Launch", 16)}</span>
|
|
6021
6021
|
</cds-custom-header-menu-item>
|
|
6022
6022
|
`)}
|
|
6023
6023
|
</cds-custom-header-menu> `;
|
|
@@ -6032,7 +6032,7 @@ let $o = class extends y {
|
|
|
6032
6032
|
tabindex="${this.isTrialOpen ? -1 : 0}"
|
|
6033
6033
|
class="${T}__help-menu"
|
|
6034
6034
|
@click="${(t) => this.handleAssistmeToggleClick(t)}">
|
|
6035
|
-
${
|
|
6035
|
+
${L("Help", 20, "icon")}
|
|
6036
6036
|
</cds-custom-header-global-action>
|
|
6037
6037
|
`;
|
|
6038
6038
|
}
|
|
@@ -6048,7 +6048,7 @@ let $o = class extends y {
|
|
|
6048
6048
|
tooltipAlignment="center"
|
|
6049
6049
|
@click="${t.onClick}"
|
|
6050
6050
|
tabindex="${this.isTrialOpen ? -1 : 0}">
|
|
6051
|
-
${
|
|
6051
|
+
${L(
|
|
6052
6052
|
this.hasNewNotifications ? "NotificationNew" : "Notification",
|
|
6053
6053
|
20,
|
|
6054
6054
|
"icon"
|
|
@@ -6068,7 +6068,7 @@ let $o = class extends y {
|
|
|
6068
6068
|
class="${T}__globalaction"
|
|
6069
6069
|
tabindex="${this.isTrialOpen ? -1 : 0}"
|
|
6070
6070
|
@click="${() => this._toggleAIChat(t.onClick)}">
|
|
6071
|
-
${
|
|
6071
|
+
${L("AiLaunch", 20, "icon")}
|
|
6072
6072
|
</cds-custom-header-global-action>
|
|
6073
6073
|
`;
|
|
6074
6074
|
}
|
|
@@ -6126,7 +6126,7 @@ let $o = class extends y {
|
|
|
6126
6126
|
tooltip-position="bottom"
|
|
6127
6127
|
class="${T}__globalaction"
|
|
6128
6128
|
@click="${o.onClick}">
|
|
6129
|
-
${
|
|
6129
|
+
${L(o.carbonIcon, 20, "icon")}
|
|
6130
6130
|
</cds-custom-header-global-action>
|
|
6131
6131
|
`);
|
|
6132
6132
|
}
|
|
@@ -6355,7 +6355,7 @@ let Co = class extends y {
|
|
|
6355
6355
|
this.headerProps.assistMeConfigs && t.has("headerProps") && Xs(this.headerProps), (o = this.headerProps.sidekickConfig) != null && o.isEnabled && t.has("headerProps") && Zs(this.headerProps), (e = this.headerProps.solisConfig) != null && e.isEnabled && t.has("headerProps") && Ws(this.headerProps);
|
|
6356
6356
|
}
|
|
6357
6357
|
render() {
|
|
6358
|
-
var t, o, e, c, s, r, n, a, i, l, u, v, b, h, g, x, w, z, S, C, E, A, $,
|
|
6358
|
+
var t, o, e, c, s, r, n, a, i, l, u, v, b, h, g, x, w, z, S, C, E, A, $, M, _, N, D, K;
|
|
6359
6359
|
return m`
|
|
6360
6360
|
<cds-custom-header
|
|
6361
6361
|
class="${T}__header"
|
|
@@ -6446,7 +6446,7 @@ let Co = class extends y {
|
|
|
6446
6446
|
aria-label=${((A = (E = this.headerProps) == null ? void 0 : E.sideNavPropsV2) == null ? void 0 : A.buttonLabel) ?? "Side navigation"}
|
|
6447
6447
|
collapse-mode="rail"
|
|
6448
6448
|
?expanded="${typeof this.headerProps.sideNavPropsV2.isExpandable < "u" && this.headerProps.sideNavPropsV2.isExpandable ? this.isMenuOpen : !1}"
|
|
6449
|
-
?is-not-persistent="${!(typeof ((
|
|
6449
|
+
?is-not-persistent="${!(typeof ((M = ($ = this.headerProps) == null ? void 0 : $.sideNavPropsV2) == null ? void 0 : M.isCollapsible) < "u" && !((N = (_ = this.headerProps) == null ? void 0 : _.sideNav) != null && N.isCollapsible))}"
|
|
6450
6450
|
class="
|
|
6451
6451
|
${mo({
|
|
6452
6452
|
[`${T}--rail-sidePanel`]: typeof this.headerProps.sideNavPropsV2.isCollapsible < "u" && !this.headerProps.sideNavPropsV2.isCollapsible
|
|
@@ -6504,7 +6504,7 @@ const si = `.cds--layout--size-xs{--cds-layout-size-height-context: var(--cds-la
|
|
|
6504
6504
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
6505
6505
|
* LICENSE file in the root directory of this source tree.
|
|
6506
6506
|
*/.ibm-automation-cds .automation-header-navigation-action__menu-item{display:block;cursor:pointer}.ibm-automation-cds .automation-header-navigation-action__menu-item a{color:#f4f4f4}.ibm-automation-cds .automation-header-navigation-action__menu-item span{display:flex;align-items:center}.ibm-automation-cds .automation-header-navigation-action__menu-item svg{margin-inline-start:.25rem}`;
|
|
6507
|
-
var ci = Object.defineProperty, ri = Object.getOwnPropertyDescriptor,
|
|
6507
|
+
var ci = Object.defineProperty, ri = Object.getOwnPropertyDescriptor, B = (t, o, e, c) => {
|
|
6508
6508
|
for (var s = c > 1 ? void 0 : c ? ri(o, e) : o, r = t.length - 1, n; r >= 0; r--)
|
|
6509
6509
|
(n = t[r]) && (s = (c ? n(o, e, s) : n(s)) || s);
|
|
6510
6510
|
return c && s && ci(o, e, s), s;
|
|
@@ -6713,91 +6713,88 @@ let I = class extends y {
|
|
|
6713
6713
|
I.styles = W`
|
|
6714
6714
|
${co(si)}
|
|
6715
6715
|
`;
|
|
6716
|
-
|
|
6716
|
+
B([
|
|
6717
6717
|
d({ type: String })
|
|
6718
6718
|
], I.prototype, "productName", 2);
|
|
6719
|
-
|
|
6719
|
+
B([
|
|
6720
6720
|
d({ type: String })
|
|
6721
6721
|
], I.prototype, "productKey", 2);
|
|
6722
|
-
|
|
6722
|
+
B([
|
|
6723
6723
|
d({ type: Object })
|
|
6724
6724
|
], I.prototype, "fetchHeaders", 2);
|
|
6725
|
-
|
|
6726
|
-
d({ type: Boolean })
|
|
6727
|
-
], I.prototype, "solisSidekickEnabled", 2);
|
|
6728
|
-
M([
|
|
6725
|
+
B([
|
|
6729
6726
|
d({ type: Boolean })
|
|
6730
6727
|
], I.prototype, "solisSwitcherEnabled", 2);
|
|
6731
|
-
|
|
6728
|
+
B([
|
|
6732
6729
|
d({ type: String })
|
|
6733
6730
|
], I.prototype, "solisEnvironment", 2);
|
|
6734
|
-
|
|
6731
|
+
B([
|
|
6735
6732
|
d({ type: Boolean })
|
|
6736
6733
|
], I.prototype, "solisDevMode", 2);
|
|
6737
|
-
|
|
6734
|
+
B([
|
|
6738
6735
|
d({ type: String })
|
|
6739
6736
|
], I.prototype, "basePath", 2);
|
|
6740
|
-
|
|
6737
|
+
B([
|
|
6741
6738
|
d({ type: String })
|
|
6742
6739
|
], I.prototype, "displayName", 2);
|
|
6743
|
-
|
|
6740
|
+
B([
|
|
6744
6741
|
d({ type: String })
|
|
6745
6742
|
], I.prototype, "userEmail", 2);
|
|
6746
|
-
|
|
6743
|
+
B([
|
|
6747
6744
|
d({ type: String })
|
|
6748
6745
|
], I.prototype, "productVersion", 2);
|
|
6749
|
-
|
|
6746
|
+
B([
|
|
6750
6747
|
d({ type: String })
|
|
6751
6748
|
], I.prototype, "assistMeKey", 2);
|
|
6752
|
-
|
|
6749
|
+
B([
|
|
6753
6750
|
d({ type: Function })
|
|
6754
6751
|
], I.prototype, "aiCallback", 2);
|
|
6755
|
-
|
|
6752
|
+
B([
|
|
6756
6753
|
d({ type: String })
|
|
6757
6754
|
], I.prototype, "aiCallbackEvent", 2);
|
|
6758
|
-
|
|
6755
|
+
B([
|
|
6759
6756
|
d({ type: Function })
|
|
6760
6757
|
], I.prototype, "logoutCallback", 2);
|
|
6761
|
-
|
|
6758
|
+
B([
|
|
6762
6759
|
d({ type: String })
|
|
6763
6760
|
], I.prototype, "logoutCallbackEvent", 2);
|
|
6764
|
-
|
|
6761
|
+
B([
|
|
6765
6762
|
d({ type: Function })
|
|
6766
6763
|
], I.prototype, "notificationOpenCallback", 2);
|
|
6767
|
-
|
|
6764
|
+
B([
|
|
6768
6765
|
d({ type: String })
|
|
6769
6766
|
], I.prototype, "notificationOpenCallbackEvent", 2);
|
|
6770
|
-
|
|
6767
|
+
B([
|
|
6771
6768
|
d({ type: Function })
|
|
6772
6769
|
], I.prototype, "searchCallback", 2);
|
|
6773
|
-
|
|
6770
|
+
B([
|
|
6774
6771
|
d({ type: String })
|
|
6775
6772
|
], I.prototype, "searchCallbackEvent", 2);
|
|
6776
|
-
|
|
6773
|
+
B([
|
|
6777
6774
|
d({ type: Function })
|
|
6778
6775
|
], I.prototype, "searchSubmitCallback", 2);
|
|
6779
|
-
|
|
6776
|
+
B([
|
|
6780
6777
|
d({ type: String })
|
|
6781
6778
|
], I.prototype, "searchSubmitCallbackEvent", 2);
|
|
6782
|
-
|
|
6779
|
+
B([
|
|
6783
6780
|
d({ type: Boolean })
|
|
6784
6781
|
], I.prototype, "hasNewNotifications", 2);
|
|
6785
|
-
|
|
6782
|
+
B([
|
|
6786
6783
|
d({ type: Object })
|
|
6787
6784
|
], I.prototype, "searchConfigs", 2);
|
|
6788
|
-
|
|
6785
|
+
B([
|
|
6789
6786
|
d({ type: Array })
|
|
6790
6787
|
], I.prototype, "capabilityProfileFooterLinks", 2);
|
|
6791
|
-
|
|
6788
|
+
B([
|
|
6792
6789
|
d({ type: Array })
|
|
6793
6790
|
], I.prototype, "capabilityGlobalActions", 2);
|
|
6794
|
-
|
|
6791
|
+
B([
|
|
6795
6792
|
d({ type: Boolean })
|
|
6796
6793
|
], I.prototype, "addCookiePreferences", 2);
|
|
6797
|
-
|
|
6794
|
+
B([
|
|
6798
6795
|
go()
|
|
6799
6796
|
], I.prototype, "headerOptions", 2);
|
|
6800
|
-
I =
|
|
6797
|
+
I = B([
|
|
6801
6798
|
so(`${ni}-global-header-hybrid-ipaas`)
|
|
6802
6799
|
], I);
|
|
6803
6800
|
export {
|
|
@@ -6816,7 +6813,7 @@ export {
|
|
|
6816
6813
|
y as h,
|
|
6817
6814
|
W as i,
|
|
6818
6815
|
Dt as j,
|
|
6819
|
-
|
|
6816
|
+
L as k,
|
|
6820
6817
|
d as n,
|
|
6821
6818
|
O as o,
|
|
6822
6819
|
co as r,
|
package/es/wc-global-header.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as G, d as r, r as K, i as A, n as i, h as p, A as U, t as E, s as P, c as o, e as _, F as D, f as L, o as u, g as j, j as Z, a as F, _ as J, H as B, k as Q } from "./HybridIpaasHeader-
|
|
2
|
-
import { b as Ce } from "./HybridIpaasHeader-
|
|
1
|
+
import { C as G, d as r, r as K, i as A, n as i, h as p, A as U, t as E, s as P, c as o, e as _, F as D, f as L, o as u, g as j, j as Z, a as F, _ as J, H as B, k as Q } from "./HybridIpaasHeader-DMsv7fsi.mjs";
|
|
2
|
+
import { b as Ce } from "./HybridIpaasHeader-DMsv7fsi.mjs";
|
|
3
3
|
var W = {
|
|
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.76.0",
|
|
4
4
|
"author": "Your Name <your@email.com>",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"vite": "^6.4.2",
|
|
49
49
|
"webdriverio": "^9.23.2"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "81fd5e30d000be2782e33f8ea78c991306d3ea5c"
|
|
52
52
|
}
|