@baloise/ds-core 17.2.2 → 17.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/array.js +1 -1856
- package/components/bal-app.js +1 -1
- package/components/bal-carousel-item.js +5 -5
- package/components/bal-carousel.js +5 -10
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-footer.js +44 -41
- package/components/bal-stage-image.js +4 -4
- package/components/bal-tabs2.js +3 -2
- package/components/index.js +1 -1
- package/components/index4.js +1642 -342
- package/components/index5.js +558 -0
- package/components/swiper.util.js +25 -5
- package/components/tokens.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-d42f0351.system.js → p-0400a0cd.system.js} +1 -1
- package/dist/baloise-design-system/{p-04ecae6997.system.entry.js → p-0c28f0a46f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-0e323fe0.system.js +1 -1
- package/dist/baloise-design-system/{p-3928dcab54.entry.js → p-18ce5177f9.entry.js} +1 -1
- package/dist/baloise-design-system/p-288461e687.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-699a918f.js → p-2abbd888.js} +1 -1
- package/dist/baloise-design-system/p-349d1c26c6.entry.js +1 -0
- package/dist/baloise-design-system/{p-29b008f003.entry.js → p-37f892f6dc.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7d1e18d645.system.entry.js → p-39dba60e75.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-589e41e466.entry.js → p-46b7cb48d1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-aa26b71b.system.js → p-47d7e166.system.js} +1 -1
- package/dist/baloise-design-system/{p-83ccf6e2e2.system.entry.js → p-47de946676.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3a93f5710e.system.entry.js → p-498c20ac2a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d12639bf.js → p-54ce8c3c.js} +1 -1
- package/dist/baloise-design-system/p-5622c208.system.js +1 -0
- package/dist/baloise-design-system/{p-71a30669ba.system.entry.js → p-657a3eb3ee.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-70f7b546.system.js +1 -1
- package/dist/baloise-design-system/p-73bec757.js +1 -0
- package/dist/baloise-design-system/{p-99a5ad67c2.entry.js → p-78ba217818.entry.js} +1 -1
- package/dist/baloise-design-system/{p-35115c32f2.system.entry.js → p-7b6c84c359.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3921f381.system.js → p-7cb2ead5.system.js} +1 -1
- package/dist/baloise-design-system/{p-48bb3dae67.system.entry.js → p-85479ae3cf.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fbb3f0576d.system.entry.js → p-87b8b65bf6.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bcf4265372.system.entry.js → p-953cc30ae9.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-96122c3e5b.entry.js +1 -0
- package/dist/baloise-design-system/p-9ad648deea.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-3ab7fdddee.entry.js → p-af0f549439.entry.js} +1 -1
- package/dist/baloise-design-system/{p-251565c4.js → p-b0a4d40a.js} +1 -1
- package/dist/baloise-design-system/p-b3e4339305.entry.js +1 -0
- package/dist/baloise-design-system/{p-1b281c808f.entry.js → p-ba4c1ed8a8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-08b52f4a0b.system.entry.js → p-bcbc8278e2.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-c0e04c2072.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-5071d817.system.js → p-c13b1376.system.js} +1 -1
- package/dist/baloise-design-system/{p-552a2c2dbe.entry.js → p-c3877f26cd.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9bba4874f6.entry.js → p-d0e23ec9f1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fea450f617.entry.js → p-dbc7c601d3.entry.js} +1 -1
- package/dist/baloise-design-system/{p-379b877373.entry.js → p-dc6d33fc89.entry.js} +1 -1
- package/dist/baloise-design-system/p-e53217f8.js +1 -1
- package/dist/baloise-design-system/{p-b0cdf73dcc.system.entry.js → p-ef436fd645.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8805022d10.entry.js → p-f67047f5ce.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e393d63f5a.system.entry.js → p-f7cbcbdbfa.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-f7f06d0340.entry.js +1 -0
- package/dist/cjs/bal-app.cjs.entry.js +1 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +17 -20
- package/dist/cjs/bal-footer.cjs.entry.js +37 -10
- package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-list_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-logo.cjs.entry.js +3 -3
- package/dist/cjs/bal-nav_8.cjs.entry.js +3 -3
- package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-pagination.cjs.entry.js +3 -3
- package/dist/cjs/bal-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/bal-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/bal-shape.cjs.entry.js +1 -1
- package/dist/cjs/bal-stage_6.cjs.entry.js +3 -3
- package/dist/cjs/bal-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +7 -6
- package/dist/cjs/baloise-design-system.cjs.js +1 -1
- package/dist/cjs/{breakpoints.decorator-fb08c6d2.js → breakpoints.decorator-e22cc15e.js} +1 -1
- package/dist/cjs/{breakpoints.subject-0db232c6.js → breakpoints.subject-5f803b3c.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/initialize-367b85e5.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{swiper.util-2c1a9dd3.js → swiper.util-abdf50f1.js} +25 -5
- package/dist/cjs/{tokens.esm-5afdc559.js → tokens.esm-e91514ff.js} +1 -1
- package/dist/cjs/{window-resize.decorator-46199538.js → window-resize.decorator-17c9b489.js} +1 -1
- package/dist/collection/components/bal-app/bal-app.css +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel-item/bal-carousel-item.js +5 -5
- package/dist/collection/components/bal-carousel/bal-carousel.css +1 -1
- package/dist/collection/components/bal-carousel/bal-carousel.js +4 -9
- package/dist/collection/components/bal-footer/bal-footer.css +1 -1
- package/dist/collection/components/bal-footer/bal-footer.i18n.js +32 -0
- package/dist/collection/components/bal-footer/bal-footer.js +4 -9
- package/dist/collection/components/bal-stage/bal-stage-image/bal-stage-image.js +4 -4
- package/dist/collection/components/bal-tabs/bal-tabs.js +3 -2
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/swiper/swiper.util.js +25 -5
- package/dist/esm/bal-app.entry.js +1 -1
- package/dist/esm/bal-carousel_2.entry.js +17 -20
- package/dist/esm/bal-footer.entry.js +37 -10
- package/dist/esm/bal-hint_5.entry.js +3 -3
- package/dist/esm/bal-list_8.entry.js +3 -3
- package/dist/esm/bal-logo.entry.js +3 -3
- package/dist/esm/bal-nav_8.entry.js +3 -3
- package/dist/esm/bal-navbar_5.entry.js +3 -3
- package/dist/esm/bal-pagination.entry.js +3 -3
- package/dist/esm/bal-progress-bar.entry.js +4 -4
- package/dist/esm/bal-segment_2.entry.js +4 -4
- package/dist/esm/bal-shape.entry.js +1 -1
- package/dist/esm/bal-stage_6.entry.js +3 -3
- package/dist/esm/bal-steps.entry.js +3 -3
- package/dist/esm/bal-tab-item_2.entry.js +7 -6
- package/dist/esm/baloise-design-system.js +1 -1
- package/dist/esm/{breakpoints.decorator-ba81f8bc.js → breakpoints.decorator-01f6809e.js} +1 -1
- package/dist/esm/{breakpoints.subject-fe3d9635.js → breakpoints.subject-cc740608.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/initialize-22c1bebc.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{swiper.util-3e090584.js → swiper.util-0589b550.js} +25 -5
- package/dist/esm/{tokens.esm-7af7e766.js → tokens.esm-ddf14bd4.js} +1 -1
- package/dist/esm/{window-resize.decorator-e4edf10d.js → window-resize.decorator-b9d3c86c.js} +1 -1
- package/dist/esm-es5/bal-app.entry.js +1 -1
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-footer.entry.js +1 -1
- package/dist/esm-es5/bal-hint_5.entry.js +1 -1
- package/dist/esm-es5/bal-list_8.entry.js +1 -1
- package/dist/esm-es5/bal-logo.entry.js +1 -1
- package/dist/esm-es5/bal-nav_8.entry.js +1 -1
- package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
- package/dist/esm-es5/bal-pagination.entry.js +1 -1
- package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
- package/dist/esm-es5/bal-segment_2.entry.js +1 -1
- package/dist/esm-es5/bal-shape.entry.js +1 -1
- package/dist/esm-es5/bal-stage_6.entry.js +1 -1
- package/dist/esm-es5/bal-steps.entry.js +1 -1
- package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
- package/dist/esm-es5/baloise-design-system.js +1 -1
- package/dist/esm-es5/breakpoints.decorator-01f6809e.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-fe3d9635.js → breakpoints.subject-cc740608.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-22c1bebc.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/swiper.util-0589b550.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-e4edf10d.js → window-resize.decorator-b9d3c86c.js} +1 -1
- package/dist/types/components/bal-carousel/bal-carousel-item/bal-carousel-item.d.ts +1 -1
- package/dist/types/components/bal-carousel/bal-carousel.d.ts +1 -2
- package/dist/types/components/bal-footer/bal-footer.d.ts +0 -1
- package/dist/types/components/bal-footer/bal-footer.i18n.d.ts +5 -0
- package/dist/types/components/bal-stage/bal-stage-image/bal-stage-image.d.ts +1 -1
- package/dist/types/utils/swiper/swiper.util.d.ts +2 -1
- package/package.json +7 -7
- package/dist/baloise-design-system/p-05986dc964.entry.js +0 -1
- package/dist/baloise-design-system/p-1050501432.entry.js +0 -1
- package/dist/baloise-design-system/p-26ee09df4f.entry.js +0 -1
- package/dist/baloise-design-system/p-2ee0b73b2a.system.entry.js +0 -1
- package/dist/baloise-design-system/p-345ec2f4.system.js +0 -1
- package/dist/baloise-design-system/p-4d67c12e48.system.entry.js +0 -1
- package/dist/baloise-design-system/p-68e05bd5.js +0 -1
- package/dist/baloise-design-system/p-b7f9f79521.system.entry.js +0 -1
- package/dist/baloise-design-system/p-bfde7642ba.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-ba81f8bc.js +0 -1
- package/dist/esm-es5/swiper.util-3e090584.js +0 -1
- /package/dist/baloise-design-system/{p-c69b8ae2.js → p-1837eab3.js} +0 -0
- /package/dist/baloise-design-system/{p-376e5378.system.js → p-c9bb496a.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-7af7e766.js → tokens.esm-ddf14bd4.js} +0 -0
|
@@ -5,13 +5,13 @@ import { rOnLoad } from "../../../utils/helpers";
|
|
|
5
5
|
export class StageImage {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.imageInheritAttributes = {};
|
|
8
|
-
this.
|
|
8
|
+
this.isOnLoadEventDone = false;
|
|
9
9
|
this.srcSet = undefined;
|
|
10
10
|
this.fallback = undefined;
|
|
11
11
|
}
|
|
12
12
|
componentDidLoad() {
|
|
13
13
|
rOnLoad(() => {
|
|
14
|
-
this.
|
|
14
|
+
this.isOnLoadEventDone = true;
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
componentWillLoad() {
|
|
@@ -20,7 +20,7 @@ export class StageImage {
|
|
|
20
20
|
render() {
|
|
21
21
|
const block = BEM.block('stage-image');
|
|
22
22
|
const imageSrc = this.fallback ? this.fallback : this.srcSet.split(',')[0];
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '9fd029b0b8b95896c661566bdef677b4e8bddd78', class: Object.assign({}, block.class()) }, this.isOnLoadEventDone ? (h("img", Object.assign({ src: imageSrc, srcset: this.srcSet, sizes: "100vw" }, this.imageInheritAttributes))) : ('')));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "bal-stage-image"; }
|
|
26
26
|
static get properties() {
|
|
@@ -67,7 +67,7 @@ export class StageImage {
|
|
|
67
67
|
}
|
|
68
68
|
static get states() {
|
|
69
69
|
return {
|
|
70
|
-
"
|
|
70
|
+
"isOnLoadEventDone": {}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
static get elementRef() { return "el"; }
|
|
@@ -317,6 +317,7 @@ export class Tabs {
|
|
|
317
317
|
this.updateSwiper();
|
|
318
318
|
}
|
|
319
319
|
componentDidLoad() {
|
|
320
|
+
this.swiper.componentDidLoad();
|
|
320
321
|
this.onOptionChange();
|
|
321
322
|
rOnLoad(() => {
|
|
322
323
|
this.enableLineRender = true;
|
|
@@ -600,9 +601,9 @@ export class Tabs {
|
|
|
600
601
|
.filter(t => this.isTabActive(t))
|
|
601
602
|
.map(t => t.label)
|
|
602
603
|
.join(',');
|
|
603
|
-
return (h(Host, { key: '
|
|
604
|
+
return (h(Host, { key: 'dcc4d98f0313e3ce2652590c48ef6e71a953ce67', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, block.class()), block.modifier('navbar').class(this.inNavbar)), block.modifier('vertical').class(isVertical)), block.modifier('fullwidth').class(this.expanded || this.fullwidth)), block.modifier('accordion').class(this.accordion)), block.modifier('animated').class(this.animated)), block.modifier('expanding').class(this.accordionState === 8 /* AccordionState.Expanding */)), block.modifier('expanded').class(this.accordionState === 4 /* AccordionState.Expanded */)), block.modifier('collapsing').class(this.accordionState === 2 /* AccordionState.Collapsing */)), block.modifier('collapsed').class(this.accordionState === 1 /* AccordionState.Collapsed */)), "data-value": dataValue, "data-label": dataLabel }, isSelect ? (h(TabSelect, { value: this.value, items: tabs, onSelectTab: this.onSelectTab })) : (h(TabNav, { swiper: this.swiper, items: tabs, isLinkList: isLinkList, tabsId: this.tabsId, clickable: this.clickable, accordion: this.accordion, isAccordionOpen: this.isAccordionOpen, lineActive: valueExists, lineHidden: !this.enableLineRender, inverted: isInverted, animated: this.animated, context: this.context, border: hasBorder, spaceless: this.spaceless, expanded: this.expanded, isMobile: isMobile, isTouch: isTouch, isVertical: isVertical, inNavbar: this.inNavbar, iconPosition: this.iconPosition, showSwiperControls: !this.isVertical(), verticalColSize: this.verticalColSize, onSelectTab: this.onSelectTab, dimInactiveElements: this.dimInactiveElements })), h("div", { key: 'd5481e5593ebf83618b226ff27ddf583cf3cc653', part: contentPart, class: Object.assign(Object.assign(Object.assign({}, contentEl.class()), contentEl.modifier('vertical').class(this.isVertical())), contentEl
|
|
604
605
|
.modifier('hidden')
|
|
605
|
-
.class(this.context === 'meta' || this.context === 'navbar' || this.context === 'navigation')) }, h("div", { key: '
|
|
606
|
+
.class(this.context === 'meta' || this.context === 'navbar' || this.context === 'navigation')) }, h("div", { key: 'b4053d5ff5e3191a0eeac1f12bae0f9b1fb98688', id: this.tabsId, class: Object.assign({}, contentEl.element('wrapper').class()) }, h("slot", { key: 'fd8457eae65ec8cccd8ba821b3ec91794d242107' })))));
|
|
606
607
|
}
|
|
607
608
|
static get is() { return "bal-tabs"; }
|
|
608
609
|
static get originalStyleUrls() {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated by .build/version.js
|
|
2
|
-
export const VERSION = '17.2.
|
|
2
|
+
export const VERSION = '17.2.4';
|
|
@@ -17,7 +17,7 @@ export class SwiperUtil {
|
|
|
17
17
|
this.index = 0;
|
|
18
18
|
this.gapSize = 0;
|
|
19
19
|
this.steps = 1;
|
|
20
|
-
this.
|
|
20
|
+
this.noNeedForControls = true;
|
|
21
21
|
this.isLastSlideVisible = false;
|
|
22
22
|
this.itemsPerView = 1;
|
|
23
23
|
this.controls = 'none';
|
|
@@ -114,6 +114,23 @@ export class SwiperUtil {
|
|
|
114
114
|
addEventListener(window, 'touchstart', this.pointerDown);
|
|
115
115
|
addEventListener(window, 'mousedown', this.pointerDown);
|
|
116
116
|
}
|
|
117
|
+
componentDidLoad() {
|
|
118
|
+
const observer = new IntersectionObserver(entries => {
|
|
119
|
+
entries.forEach(entry => {
|
|
120
|
+
if (entry.isIntersecting) {
|
|
121
|
+
this.notifyChange();
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
}, {
|
|
125
|
+
root: null, // Use the viewport as the container
|
|
126
|
+
threshold: 0.5, // Trigger when 50% of the element is visible
|
|
127
|
+
});
|
|
128
|
+
// Target the element you want to observe
|
|
129
|
+
const targetElement = this.component.el;
|
|
130
|
+
if (targetElement) {
|
|
131
|
+
observer.observe(targetElement);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
117
134
|
disconnectedCallback() {
|
|
118
135
|
removeEventListener(window, 'keydown', this.listenToKeyDown);
|
|
119
136
|
removeEventListener(this.component.el, 'focusin', this.updateFocus);
|
|
@@ -207,7 +224,7 @@ export class SwiperUtil {
|
|
|
207
224
|
}
|
|
208
225
|
}
|
|
209
226
|
renderControls() {
|
|
210
|
-
if (!this.active || this.
|
|
227
|
+
if (!this.active || this.noNeedForControls || !this.component.hasAnimated) {
|
|
211
228
|
return '';
|
|
212
229
|
}
|
|
213
230
|
const leftControlTitle = i18nSwiperControlLabel[this.component.language].left;
|
|
@@ -278,6 +295,9 @@ export class SwiperUtil {
|
|
|
278
295
|
if (lastSlide) {
|
|
279
296
|
const totalWidth = lastSlide.transformNext || 0;
|
|
280
297
|
const overflowWindowWidth = this.innerEl.clientWidth || 0;
|
|
298
|
+
if (totalWidth === 0 || overflowWindowWidth === 0) {
|
|
299
|
+
return resolve(false);
|
|
300
|
+
}
|
|
281
301
|
// get max amount of pixel to move the items container to the left or right
|
|
282
302
|
let maxAmountOfPixel = totalWidth - overflowWindowWidth;
|
|
283
303
|
// -1 one is needed for example when we use items per view 3 with 33.333%
|
|
@@ -292,10 +312,10 @@ export class SwiperUtil {
|
|
|
292
312
|
}
|
|
293
313
|
const hasSmallControls = this.controls === 'small';
|
|
294
314
|
const hasLargeControls = this.controls === 'large';
|
|
295
|
-
this.
|
|
296
|
-
let transformValue = this.
|
|
315
|
+
this.noNeedForControls = totalWidth <= overflowWindowWidth;
|
|
316
|
+
let transformValue = this.noNeedForControls ? 0 : isLastSlideVisible ? maxAmountOfPixel : pixels;
|
|
297
317
|
if (!isFirst &&
|
|
298
|
-
!this.
|
|
318
|
+
!this.noNeedForControls &&
|
|
299
319
|
(hasSmallControls || (hasLargeControls && !this.component.isMobile))) {
|
|
300
320
|
transformValue = transformValue - (isLastSlideVisible ? 0 : hasLargeControls ? 56 : 48);
|
|
301
321
|
}
|
|
@@ -8,7 +8,7 @@ import { s as startFocusVisible } from './focus-visible-f0cdd043.js';
|
|
|
8
8
|
import { b as updateBalAnimated } from './config.utils-6ac6c9bd.js';
|
|
9
9
|
import './icons.constant-a7885631.js';
|
|
10
10
|
|
|
11
|
-
const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative
|
|
11
|
+
const balAppCss = ":root{--bal-app-height:100%}.bal-app{position:relative}.lcp-wait{opacity:0;visibility:hidden;display:none}.lcp-ready .lcp-wait{opacity:inherit;visibility:inherit;display:inherit}";
|
|
12
12
|
const BalAppStyle0 = balAppCss;
|
|
13
13
|
|
|
14
14
|
const App = class {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-8d2a7ce7.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
3
|
-
import { m as rOnLoad, b as waitAfterFramePaint } from './helpers-32d9e1cc.js';
|
|
4
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
5
4
|
import { a as ariaBooleanToString } from './aria-d5877698.js';
|
|
6
|
-
import { t as toKebabCase, S as SwiperUtil } from './swiper.util-
|
|
5
|
+
import { t as toKebabCase, S as SwiperUtil } from './swiper.util-0589b550.js';
|
|
7
6
|
import { s as stopEventBubbling } from './form-input-1f3d8337.js';
|
|
8
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
7
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-01f6809e.js';
|
|
9
8
|
import { L as ListenToMutation } from './mutation.decorator-0c202bed.js';
|
|
10
9
|
import { L as ListenToSwipe } from './swipe.decorator-20f4a0cb.js';
|
|
11
10
|
import { L as ListenToResize } from './resize.decorator-bd416c47.js';
|
|
12
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
11
|
+
import { b as balBreakpoints } from './breakpoints.subject-cc740608.js';
|
|
13
12
|
import { d as defaultConfig } from './config.default-7efdc82d.js';
|
|
14
13
|
import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
|
|
14
|
+
import { m as rOnLoad, b as waitAfterFramePaint } from './helpers-32d9e1cc.js';
|
|
15
15
|
import { i as inheritAttributes } from './attributes-4fa7040f.js';
|
|
16
|
-
import './browser-a8073d92.js';
|
|
17
|
-
import './icons.constant-a7885631.js';
|
|
18
|
-
import './config.utils-6ac6c9bd.js';
|
|
19
16
|
import './keyboard.helpers-159e517d.js';
|
|
20
17
|
import './listener-04842ae9.js';
|
|
18
|
+
import './browser-a8073d92.js';
|
|
21
19
|
import './swipe.subject-e3db5994.js';
|
|
22
20
|
import './device-8c6d2881.js';
|
|
23
|
-
import './tokens.esm-
|
|
21
|
+
import './tokens.esm-ddf14bd4.js';
|
|
24
22
|
import './log-dfd1c19f.js';
|
|
23
|
+
import './icons.constant-a7885631.js';
|
|
24
|
+
import './config.utils-6ac6c9bd.js';
|
|
25
25
|
|
|
26
26
|
const TabControl = ({ value, items, containerId, onControlChange }) => {
|
|
27
27
|
const block = BEM.block('carousel');
|
|
@@ -36,7 +36,7 @@ const TabControl = ({ value, items, containerId, onControlChange }) => {
|
|
|
36
36
|
}, role: "tab", "aria-selected": ariaBooleanToString(value === item.value), "aria-controls": containerId + '-' + toKebabCase(item.label), key: item.value, onClick: () => onControlChange(item) }, item.label)))))));
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
const balCarouselCss = ":root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;position:relative;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:100%;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;top:calc(50% - 24px);z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;top:calc(50% - 1rem);z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:\"\";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:\"\";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;width:10rem;height:11rem;text-align:center;padding-top:.5rem;padding-bottom:.5rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}";
|
|
39
|
+
const balCarouselCss = ":root{--bal-carousel-inner-border-background:var(--bal-color-border);--bal-carousel-inner-border-background-inverted:var(--bal-color-border-primary-light);--bal-carousel-inner-shadow-left-background-before:var(--bal-color-white);--bal-carousel-inner-shadow-right-background-after:var(--bal-color-white);--bal-carousel-inner-shadow-left-background-inverted-before:var(--bal-color-primary);--bal-carousel-inner-shadow-right-background-inverted-after:var(--bal-color-primary);--bal-carousel-product-item-button-background:var(--bal-color-white);--bal-carousel-product-item-button-background-green:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-hover:var(--bal-color-green-1);--bal-carousel-product-item-button-background-green-active:var(--bal-color-green-2);--bal-carousel-product-item-button-background-red:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-hover:var(--bal-color-red-1);--bal-carousel-product-item-button-background-red-active:var(--bal-color-red-2);--bal-carousel-product-item-button-background-yellow:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-hover:var(--bal-color-yellow-1);--bal-carousel-product-item-button-background-yellow-active:var(--bal-color-yellow-2);--bal-carousel-product-item-button-background-purple:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-hover:var(--bal-color-purple-1);--bal-carousel-product-item-button-background-purple-active:var(--bal-color-purple-2);--bal-carousel-inner-border-radius:var(--bal-radius-rounded);--bal-carousel-image-border-radius:var(--bal-radius-normal);--bal-carousel-product-item-button-border-radius:var(--bal-radius-large);--bal-carousel-product-item-button-label-text-color:var(--bal-color-text-primary);--bal-carousel-sticky-top:0}.bal-swiper{position:relative}.bal-swiper__inner{display:block;position:relative;margin-left:auto;margin-right:auto;position:relative;overflow:clip;list-style:none;padding:0;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-overflow-scrolling:touch}.bal-swiper__inner--items-per-view-auto .bal-carousel__item{width:auto}.bal-swiper__inner--items-per-view-1 .bal-carousel__item{width:100%}.bal-swiper__inner--items-per-view-2 .bal-carousel__item{width:50%}.bal-swiper__inner--items-per-view-3 .bal-carousel__item{width:33.3333%}.bal-swiper__inner--items-per-view-4 .bal-carousel__item{width:25%}.bal-swiper__container{position:relative;max-width:100%;width:100%;height:100%;display:-ms-flexbox;display:flex;-webkit-box-sizing:content-box;box-sizing:content-box;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transition-duration:0ms;transition-duration:0ms;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}@media screen and (max-width: 768px){.bal-swiper__controls--large{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;width:100%;gap:2rem;margin-top:1rem}}@media screen and (min-width: 769px),print{.bal-swiper__controls--large .bal-swiper__controls__button{position:absolute;top:calc(50% - 24px);z-index:7}.bal-swiper__controls--large .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--large .bal-swiper__controls__button--right{right:0}}.bal-swiper__controls__button--hidden{display:none !important;visibility:none !important}.bal-swiper__controls--small .bal-swiper__controls__button{position:absolute;top:calc(50% - 1rem);z-index:7}.bal-swiper__controls--small .bal-swiper__controls__button--left{left:0}.bal-swiper__controls--small .bal-swiper__controls__button--right{right:0}.bal-swiper__controls--small .bal-swiper__controls__button--hidden{display:none !important;visibility:hidden !important}.bal-swiper__inner--shadow-left::before,.bal-swiper__inner--shadow-right::after{position:absolute;width:3rem;height:100%;top:0}.bal-swiper__inner--shadow-left::before{content:\"\";left:0;background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right::after{content:\"\";right:0;background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-after) 50%)}.bal-swiper__inner--shadow-left.bal-swiper__inner--inverted::before{background:-webkit-gradient(linear, left top, right top, color-stop(50%, var(--bal-carousel-inner-shadow-left-background-inverted-before)), to(rgba(255, 255, 255, 0)));background:linear-gradient(90deg, var(--bal-carousel-inner-shadow-left-background-inverted-before) 50%, rgba(255, 255, 255, 0) 100%)}.bal-swiper__inner--shadow-right.bal-swiper__inner--inverted::after{background:-webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(50%, var(--bal-carousel-inner-shadow-right-background-inverted-after)));background:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--full-height{height:100%}.bal-carousel__inner--full-height{height:100%}.bal-carousel__inner__container--border{padding-bottom:var(--bal-border-width-normal)}.bal-carousel__inner__container__border{position:absolute;background:var(--bal-carousel-inner-border-background);border-radius:var(--bal-carousel-inner-border-radius);height:var(--bal-border-width-normal);width:100%;bottom:0;-webkit-transform:translate3d(0px, 0px, 0px);transform:translate3d(0px, 0px, 0px)}.bal-carousel__inner__container__border--inverted{background:var(--bal-carousel-inner-border-background-inverted)}.bal-carousel__item{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;font-size:var(--bal-text-size-large);min-height:2rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform, -webkit-transform;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden;round:linear-gradient(90deg, rgba(255, 255, 255, 0), var(--bal-carousel-inner-shadow-right-background-inverted-after) 50%)}.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:2.5rem}}@media screen and (min-width: 1024px){.bal-carousel--card .bal-carousel__inner--shadow-left::before,.bal-carousel--card .bal-carousel__inner--shadow-right::after{width:3rem}}.bal-carousel--card{margin-left:-1rem;margin-right:-1rem}@media screen and (min-width: 769px),print{.bal-carousel--card{margin-left:-2.5rem;margin-right:-2.5rem}}.bal-carousel--card .bal-carousel__controls{padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__controls{padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--card .bal-carousel__item{width:100%;padding-top:1rem;padding-bottom:1rem;padding-left:1rem;padding-right:1rem}@media screen and (min-width: 769px),print{.bal-carousel--card .bal-carousel__item{width:100%;padding-top:2.5rem;padding-bottom:2.5rem;padding-left:2.5rem;padding-right:2.5rem}}.bal-carousel--controls-sticky .bal-carousel__controls--tabs{position:-webkit-sticky;position:sticky;top:var(--bal-carousel-sticky-top);z-index:var(--bal-z-index-sticky)}.bal-carousel__controls--tabs .bal-card{padding:0}.bal-carousel__controls--tabs .bal-card-content{padding:.5rem !important;gap:.5rem;display:-ms-flexbox;display:flex}.bal-carousel__controls--tabs .bal-card-content .bal-button{-ms-flex:1;flex:1}.bal-carousel__controls--tabs .bal-card-content .bal-button .button{padding:.5rem !important}.bal-carousel--image .bal-carousel__inner{border-radius:var(--bal-carousel-image-border-radius)}.bal-carousel--image .bal-carousel__inner--is-1by1{padding-top:100%}.bal-carousel--image .bal-carousel__inner--is-16by9{padding-top:56.25%}.bal-carousel--image .bal-carousel__inner--is-3by2{padding-top:66.66%}.bal-carousel--image .bal-carousel__inner--is-4by3{padding-top:75%}.bal-carousel--image .bal-carousel__inner__container{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%}.bal-carousel--image .bal-carousel__item{position:relative;-ms-flex:0 0 100%;flex:0 0 100%}.bal-carousel--image .bal-carousel__item>img{height:100%;width:100%;-o-object-fit:cover;object-fit:cover;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-drag:none;user-zoom:fixed}.bal-carousel--product .bal-carousel__inner__container{gap:1rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding-top:.5rem;padding-bottom:.5rem}.bal-carousel--product .bal-carousel__item{display:-ms-flexbox;display:flex;min-width:10rem;max-width:10rem;height:11rem;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;user-zoom:fixed;user-drag:none}.bal-carousel--product .bal-carousel__item__button{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;gap:1rem;border-radius:var(--bal-carousel-product-item-button-border-radius);padding:var(--bal-text-size-x-small);border:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;background:var(--bal-carousel-product-item-button-background)}@media (hover: hover)and (pointer: fine){.bal-carousel--product .bal-carousel__item__button:focus-visible:not(:active){-webkit-box-shadow:var(--bal-focus-shadow) !important;box-shadow:var(--bal-focus-shadow) !important}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-green{background:var(--bal-carousel-product-item-button-background-green)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-green:hover{background:var(--bal-carousel-product-item-button-background-green-hover)}.bal-carousel--product .bal-carousel__item__button--color-green:active{background:var(--bal-carousel-product-item-button-background-green-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-red{background:var(--bal-carousel-product-item-button-background-red)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-red:hover{background:var(--bal-carousel-product-item-button-background-red-hover)}.bal-carousel--product .bal-carousel__item__button--color-red:active{background:var(--bal-carousel-product-item-button-background-red-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-yellow{background:var(--bal-carousel-product-item-button-background-yellow)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-yellow:hover{background:var(--bal-carousel-product-item-button-background-yellow-hover)}.bal-carousel--product .bal-carousel__item__button--color-yellow:active{background:var(--bal-carousel-product-item-button-background-yellow-active)}}@media screen and (max-width: 1023px){.bal-carousel--product .bal-carousel__item__button--color-purple{background:var(--bal-carousel-product-item-button-background-purple)}}@media screen and (min-width: 1024px){.bal-carousel--product .bal-carousel__item__button--color-purple:hover{background:var(--bal-carousel-product-item-button-background-purple-hover)}.bal-carousel--product .bal-carousel__item__button--color-purple:active{background:var(--bal-carousel-product-item-button-background-purple-active)}}.bal-carousel--product .bal-carousel__item__button__image{width:5rem;height:5rem;pointer-events:none}.bal-carousel--product .bal-carousel__item__button__label{font-weight:var(--bal-font-weight-bold);color:var(--bal-carousel-product-item-button-label-text-color);font-size:var(--bal-text-size-normal);-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;height:3.5rem;overflow:hidden;line-height:1.15rem;word-break:break-word}";
|
|
40
40
|
const BalCarouselStyle0 = balCarouselCss;
|
|
41
41
|
|
|
42
42
|
const Carousel = class {
|
|
@@ -46,7 +46,6 @@ const Carousel = class {
|
|
|
46
46
|
this.swiper = new SwiperUtil();
|
|
47
47
|
this.swiperIsLastSlideVisible = false;
|
|
48
48
|
this.mutationObserverActive = true;
|
|
49
|
-
this.isLargestContentfulPaintDone = false;
|
|
50
49
|
this.hasAnimated = false;
|
|
51
50
|
this.isMobile = balBreakpoints.isMobile;
|
|
52
51
|
this.language = defaultConfig.language;
|
|
@@ -91,14 +90,12 @@ const Carousel = class {
|
|
|
91
90
|
this.onStepsChange();
|
|
92
91
|
this.onValueChange();
|
|
93
92
|
}
|
|
93
|
+
componentDidLoad() {
|
|
94
|
+
this.swiper.componentDidLoad();
|
|
95
|
+
}
|
|
94
96
|
disconnectedCallback() {
|
|
95
97
|
this.swiper.disconnectedCallback();
|
|
96
98
|
}
|
|
97
|
-
componentDidLoad() {
|
|
98
|
-
rOnLoad(() => {
|
|
99
|
-
this.isLargestContentfulPaintDone = true;
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
99
|
/**
|
|
103
100
|
* LISTENERS
|
|
104
101
|
* ------------------------------------------------------
|
|
@@ -172,7 +169,7 @@ const Carousel = class {
|
|
|
172
169
|
const block = BEM.block('carousel');
|
|
173
170
|
const inner = block.element('inner');
|
|
174
171
|
const container = inner.element('container');
|
|
175
|
-
return (h(Host, { key: '
|
|
172
|
+
return (h(Host, { key: '602093b19519df2cf7769648d4b18b9643e3ddfb', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.swiper.cssSwiper()), block.class()), block.modifier(this.interface).class(this.interface !== '')), block.modifier(`full-height`).class(this.fullHeight)), block.modifier('controls-sticky').class(this.controlsSticky)), block.modifier(`controls-tabs`).class(this.controls === 'tabs')) }, this.controls === 'tabs' ? (h(TabControl, { value: this.value, items: this.swiper.getAllControlItems(), containerId: this.swiper.containerId, onControlChange: item => this.swiper.onControlChange(item.value) })) : (''), h("div", { key: 'a647f525baae8af7c92568beee41e270bb4bf175', class: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.swiper.cssInnerSwiper()), inner.class()), inner.modifier(`is-${this.aspectRatio}`).class()), inner.modifier(`inverted`).class(this.inverted)), inner.modifier(`full-height`).class(this.fullHeight)), ref: el => (this.swiper.innerEl = el) }, h("div", { key: 'c304226a1093b5fd6256742e68792c91a07fc67d', id: this.swiper.containerId, role: this.controls === 'tabs' ? '' : 'list', class: Object.assign(Object.assign(Object.assign(Object.assign({}, this.swiper.cssSwiperContainer()), container.class()), container.modifier(`border`).class(this.border)), container.modifier(`is-${this.aspectRatio}`).class()), ref: el => (this.swiper.containerEl = el) }, h("slot", { key: 'f07155dae50350e67e207dc238a61f52779ffab6' }), this.border ? (h("div", { id: `${this.swiper.id}-border`, "aria-hidden": "true", class: Object.assign(Object.assign({}, container.element('border').class()), container.element('border').modifier('inverted').class(this.inverted)), ref: el => (this.swiper.borderEl = el) })) : (''))), this.swiper.renderControls()));
|
|
176
173
|
}
|
|
177
174
|
get el() { return getElement(this); }
|
|
178
175
|
static get watchers() { return {
|
|
@@ -233,7 +230,7 @@ const CarouselItem = class {
|
|
|
233
230
|
this.onBlur = () => {
|
|
234
231
|
this.balBlur.emit();
|
|
235
232
|
};
|
|
236
|
-
this.
|
|
233
|
+
this.isOnLoadEventDone = false;
|
|
237
234
|
this.containerId = '';
|
|
238
235
|
this.src = undefined;
|
|
239
236
|
this.label = '';
|
|
@@ -253,7 +250,7 @@ const CarouselItem = class {
|
|
|
253
250
|
*/
|
|
254
251
|
componentDidLoad() {
|
|
255
252
|
rOnLoad(() => {
|
|
256
|
-
this.
|
|
253
|
+
this.isOnLoadEventDone = true;
|
|
257
254
|
});
|
|
258
255
|
}
|
|
259
256
|
componentWillLoad() {
|
|
@@ -278,7 +275,7 @@ const CarouselItem = class {
|
|
|
278
275
|
const role = parentEl && parentEl.controls === 'tabs' ? 'tabpanel' : 'listitem';
|
|
279
276
|
const id = `${this.containerId}-${toKebabCase(this.label)}`;
|
|
280
277
|
if (!isProduct) {
|
|
281
|
-
return (h(Host, { id: id, role: role, class: Object.assign({}, itemEl.class()), "aria-label": this.label }, this.
|
|
278
|
+
return (h(Host, { id: id, role: role, class: Object.assign({}, itemEl.class()), "aria-label": this.label }, this.isOnLoadEventDone && this.src !== undefined ? (h("img", Object.assign({ draggable: false, onDragStart: () => false, src: this.src }, this.imageInheritAttributes))) : (''), h("slot", null)));
|
|
282
279
|
}
|
|
283
280
|
const button = itemEl.element('button');
|
|
284
281
|
const image = button.element('image');
|
|
@@ -293,7 +290,7 @@ const CarouselItem = class {
|
|
|
293
290
|
rel,
|
|
294
291
|
target,
|
|
295
292
|
};
|
|
296
|
-
return (h(Host, { id: id, role: role, "aria-label": this.label, class: Object.assign({}, itemEl.class()) }, h(TagType, Object.assign({}, attrs, { class: Object.assign(Object.assign({}, button.class()), button.modifier(`color-${this.color}`).class()), part: "native", onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, ref: el => (this.buttonEl = el) }), this.
|
|
293
|
+
return (h(Host, { id: id, role: role, "aria-label": this.label, class: Object.assign({}, itemEl.class()) }, h(TagType, Object.assign({}, attrs, { class: Object.assign(Object.assign({}, button.class()), button.modifier(`color-${this.color}`).class()), part: "native", onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, ref: el => (this.buttonEl = el) }), this.isOnLoadEventDone && this.src !== undefined ? (h("img", Object.assign({ class: Object.assign({}, image.class()), draggable: false, onDragStart: () => false, "aria-hidden": "true", src: this.src }, this.imageInheritAttributes))) : (''), this.label !== undefined ? h("span", { class: Object.assign({}, label.class()) }, this.label) : '', h("slot", null))));
|
|
297
294
|
}
|
|
298
295
|
get el() { return getElement(this); }
|
|
299
296
|
};
|
|
@@ -6,7 +6,6 @@ import { c as commonjsGlobal } from './_commonjsHelpers-1c8beb5f.js';
|
|
|
6
6
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
7
7
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
8
8
|
import { n as rIC } from './helpers-32d9e1cc.js';
|
|
9
|
-
import { s as stopEventBubbling } from './form-input-1f3d8337.js';
|
|
10
9
|
import { e as updateBalLanguage } from './config.utils-6ac6c9bd.js';
|
|
11
10
|
import { d as defaultConfig } from './config.default-7efdc82d.js';
|
|
12
11
|
import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
|
|
@@ -201,7 +200,40 @@ const loadSocialMediaLinks = (lang, region = 'CH') => {
|
|
|
201
200
|
.then(res => res);
|
|
202
201
|
};
|
|
203
202
|
|
|
204
|
-
const
|
|
203
|
+
const i18nBalFooter = {
|
|
204
|
+
en: {
|
|
205
|
+
name: 'English',
|
|
206
|
+
},
|
|
207
|
+
fr: {
|
|
208
|
+
name: 'Français',
|
|
209
|
+
},
|
|
210
|
+
it: {
|
|
211
|
+
name: 'Italiano',
|
|
212
|
+
},
|
|
213
|
+
nl: {
|
|
214
|
+
name: 'Nederlands',
|
|
215
|
+
},
|
|
216
|
+
es: {
|
|
217
|
+
name: 'Español',
|
|
218
|
+
},
|
|
219
|
+
pt: {
|
|
220
|
+
name: 'Português',
|
|
221
|
+
},
|
|
222
|
+
sv: {
|
|
223
|
+
name: 'Svenska',
|
|
224
|
+
},
|
|
225
|
+
fi: {
|
|
226
|
+
name: 'Suomi',
|
|
227
|
+
},
|
|
228
|
+
de: {
|
|
229
|
+
name: 'Deutsch',
|
|
230
|
+
},
|
|
231
|
+
pl: {
|
|
232
|
+
name: 'Polski',
|
|
233
|
+
},
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
const balFooterCss = ":root{--bal-footer-font-family:var(--bal-font-family-text);--bal-footer-background:var(--bal-color-primary);--bal-footer-color:var(--bal-color-text-white);--bal-footer-language-color-hover:var(--bal-color-light-blue-2);--bal-footer-language-background-hover:var(--bal-color-light-blue-2);--bal-footer-language-color-active:var(--bal-color-light-blue-3);--bal-footer-language-background-active:var(--bal-color-light-blue-3)}.bal-footer{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;position:static;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.bal-footer__slot{color:var(--bal-footer-color)}.bal-footer__inner{position:relative;font-family:var(--bal-footer-font-family);background-color:var(--bal-footer-background);padding-top:var(--bal-space-x-small);padding-bottom:var(--bal-space-large)}@media screen and (min-width: 769px),print{.bal-footer__inner{padding-top:var(--bal-space-large);padding-bottom:var(--bal-space-large)}}@media screen and (min-width: 1024px){.bal-footer__inner{padding-top:var(--bal-space-large);padding-bottom:var(--bal-space-large)}}.bal-footer__inner__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--bal-space-large)}@media screen and (min-width: 769px)and (max-width: 1023px){.bal-footer__inner__wrapper{gap:var(--bal-space-medium-tablet)}}@media screen and (max-width: 768px){.bal-footer__inner__wrapper{gap:var(--bal-space-medium-tablet)}}.bal-footer__inner__wrapper__header-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row}.bal-footer__inner__wrapper__header-container__language{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__list{min-width:105%;right:0 !important;left:auto !important}.bal-footer__inner__wrapper__header-container__language bal-icon,.bal-footer__inner__wrapper__header-container__language .input{cursor:pointer;min-width:auto !important}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear{position:absolute;left:0}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear svg,.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear g,.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear path,.bal-footer__inner__wrapper__header-container__language .bal-dropdown__rear circle{fill:var(--bal-color-white)}.bal-footer__inner__wrapper__header-container__language .bal-dropdown__native{background:rgba(0,0,0,0);color:var(--bal-color-white);border:none;font-weight:var(--bal-font-weight-bold);cursor:pointer;padding-left:1.5rem}.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear svg,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear g,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear path,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__rear circle{fill:var(--bal-footer-language-background-hover)}.bal-footer__inner__wrapper__header-container__language:hover .input,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__native,.bal-footer__inner__wrapper__header-container__language:hover .bal-dropdown__root__content{color:var(--bal-footer-language-color-hover)}.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear svg,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear g,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear path,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__rear circle{fill:var(--bal-footer-language-background-active)}.bal-footer__inner__wrapper__header-container__language:active .input,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__native,.bal-footer__inner__wrapper__header-container__language:active .bal-dropdown__root__content{color:var(--bal-footer-language-color-active)}.bal-footer__inner__wrapper__header-container__language__wrapper .bal-input-group{background:rgba(0,0,0,0);border:none;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.bal-footer__inner__wrapper__header-container__language__wrapper .bal-input-group:hover{background:rgba(0,0,0,0) !important}.bal-footer__inner__wrapper__header-container__language__wrapper .bal-input-group bal-dropdown{min-width:5rem}.bal-footer__inner__wrapper__header-container__logo{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.bal-footer__inner__wrapper__links-container{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (min-width: 769px),print{.bal-footer__inner__wrapper__links-container{-ms-flex-direction:column;flex-direction:column}}@media screen and (min-width: 1024px){.bal-footer__inner__wrapper__links-container{-ms-flex-direction:row;flex-direction:row}}.bal-footer__inner__wrapper__links-container__legal-links{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;gap:var(--bal-space-large-desktop)}.bal-footer__inner__wrapper__links-container__legal-links a{font-size:var(--bal-text-size-small) !important}@media screen and (max-width: 768px){.bal-footer__inner__wrapper__links-container__legal-links{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;width:100%;gap:var(--bal-space-normal)}}.bal-footer__inner__wrapper__links-container__social-media-links{-ms-flex-align:center;align-items:center;gap:var(--bal-space-large-desktop);padding:var(--bal-space-normal) var(--bal-space-normal) var(--bal-space-normal) 0}@media screen and (min-width: 769px)and (max-width: 1023px){.bal-footer__inner__wrapper__links-container__social-media-links{padding-bottom:var(--bal-space-large)}}@media screen and (max-width: 768px){.bal-footer__inner__wrapper__links-container__social-media-links{padding-bottom:var(--bal-space-large);-ms-flex-pack:center;justify-content:center;width:100%;padding:var(--bal-space-normal) 0 var(--bal-space-normal) 0}}";
|
|
205
237
|
const BalFooterStyle0 = balFooterCss;
|
|
206
238
|
|
|
207
239
|
const Footer = class {
|
|
@@ -287,21 +319,16 @@ const Footer = class {
|
|
|
287
319
|
const elLogo = elHeaderContainer.element('logo');
|
|
288
320
|
const elLanguage = elHeaderContainer.element('language');
|
|
289
321
|
const elWrapper = elLanguage.element('wrapper');
|
|
290
|
-
elLanguage.element('icon');
|
|
291
322
|
const elLegalLinks = elLinksContainer.element('legal-links');
|
|
292
323
|
const elSocialMediaLinks = elLinksContainer.element('social-media-links');
|
|
293
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: 'd9fcf2b0c58a8c8b2ec81256a94a5555281f275e', class: Object.assign({}, block.class()) }, h("footer", { key: '24691e174da80b7b0837d6ef7093abf1e0671207', class: Object.assign({}, elInner.class()) }, h("div", { key: '80a0395ec6f83fed9b67687f9f0169550e1e8a6e', class: Object.assign({}, elInnerWrapper.class()) }, h("div", { key: '1d5656c103792e725267aee630f5c89717cddcd4', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elHeaderContainer.class()) }, h("div", { key: '91d7235ce53fb56712375194709d70d32a40aad3', class: Object.assign({}, elLogo.class()) }, h("bal-logo", { key: '9f20c92b2fca4660daec9d5faa74303e4027c81e', color: "white" })), h("div", { key: 'e395ba338e3dcd7fffd8f07d6ba3ab0e26d5cb85', class: Object.assign({}, elLanguage.class()), style: {
|
|
294
325
|
display: this.hideLanguageSelection || this.allowedLanguages.length <= 1 ? 'none' : 'flex',
|
|
295
|
-
} }, h("div", { key: '
|
|
296
|
-
var _a;
|
|
297
|
-
stopEventBubbling(el);
|
|
298
|
-
(_a = this.selectEl) === null || _a === void 0 ? void 0 : _a.open();
|
|
299
|
-
} }), h("bal-dropdown", { key: '23540be5a9fddcc7c1e5368dfa4858ab1da720f5', ref: el => (this.selectEl = el), value: this.language, onBalChange: event => this.changeLanguage(event.detail), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("bal-option", { key: language, label: language.toLocaleUpperCase(), value: language }, language.toLocaleUpperCase())))))))), h("div", { key: '2580651725f59eb95ff734f9499f80635580ecd9', class: Object.assign({}, elSlot.class()) }, h("slot", { key: 'f6fef80d09d9d7213c975957b917019ce3299d73' })), h("div", { key: 'eefbce7897b7935f18b61e53d4dc19ded1806bc7', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: '0eee61cb3cbdaaf2af5c135ef472b9579e77b1a9', class: Object.assign({}, elSocialMediaLinks.class()), style: {
|
|
326
|
+
} }, h("div", { key: 'dfc805fd51ea9b5625de046a94129df428e7d2d0', class: Object.assign({}, elWrapper.class()) }, h("bal-input-group", { key: '0d203884c1f437669690a70df96fc703427f751b' }, h("bal-icon", { key: '9551ba6bc1fc1b36d67542fe40d841dee78d3daa', class: 'bal-dropdown__rear', name: "web", color: "white" }), h("select", { key: '721a9a291639d6d4357f179b302870cf6f2852af', id: "bubu", class: 'bal-dropdown__native', onChange: event => this.changeLanguage(event.target.value), "data-testid": "bal-footer-language" }, this.allowedLanguages.map(language => (h("option", { key: language, value: language, selected: language === this.language }, language.toLocaleUpperCase() + ' - ' + i18nBalFooter[language].name)))))))), h("div", { key: '26575b69cba20d83a8124bca1697b9cc7ee38246', class: Object.assign({}, elSlot.class()) }, h("slot", { key: '48e62b90d62825693e73b522ed454da7846457d2' })), h("div", { key: '8fdf21a11da23eb1489c95d21f6726ab53136ffc', class: Object.assign(Object.assign({ container: true }, elContainer.class()), elLinksContainer.class()) }, h("div", { key: '591b9f51cb1ff3d4dee431daaca23ad38bcbac7e', class: Object.assign({}, elSocialMediaLinks.class()), style: {
|
|
300
327
|
display: !this.showSocialMedia ? 'none' : 'flex',
|
|
301
328
|
} }, this.socialMediaLinks.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
302
329
|
'link': true,
|
|
303
330
|
'is-inverted': true,
|
|
304
|
-
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '
|
|
331
|
+
} }, h("bal-icon", { name: link.label.toLowerCase() }))))), h("div", { key: '6496b1f14bedc754c4ba873c6ead58e1476c76ff', class: Object.assign({}, elLegalLinks.class()), style: { display: this.hideLinks ? 'none' : 'flex' } }, this.links.map(link => (h("a", { key: link.link, href: link.link, target: "_blank", class: {
|
|
305
332
|
'link': true,
|
|
306
333
|
'is-light': true,
|
|
307
334
|
} }, link.label)))))))));
|
|
@@ -3,8 +3,8 @@ import { _ as __decorate, a as __metadata } from './tslib.es6-654e2c24.js';
|
|
|
3
3
|
import { B as BEM } from './bem-8c7d2eb0.js';
|
|
4
4
|
import { p as preventDefault } from './utils-9fbab1d3.js';
|
|
5
5
|
import { B as BalScrollHandler } from './scroll-f4b20848.js';
|
|
6
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
7
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
6
|
+
import { b as balBreakpoints } from './breakpoints.subject-cc740608.js';
|
|
7
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-01f6809e.js';
|
|
8
8
|
import { L as ListenToConfig } from './config.decorator-d18abfe1.js';
|
|
9
9
|
import { b as balBrowser } from './browser-a8073d92.js';
|
|
10
10
|
import { L as Logger } from './log-dfd1c19f.js';
|
|
@@ -14,7 +14,7 @@ import './icons.constant-a7885631.js';
|
|
|
14
14
|
import './config.utils-6ac6c9bd.js';
|
|
15
15
|
import './device-8c6d2881.js';
|
|
16
16
|
import './listener-04842ae9.js';
|
|
17
|
-
import './tokens.esm-
|
|
17
|
+
import './tokens.esm-ddf14bd4.js';
|
|
18
18
|
|
|
19
19
|
const balHintCss = ":root{--bal-hint-content-background:var(--bal-color-grey-2)}.bal-hint{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block}.bal-hint__icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}@media (hover: hover)and (pointer: fine){.bal-hint__icon:hover svg,.bal-hint__icon:hover g,.bal-hint__icon:hover path,.bal-hint__icon:hover circle,.bal-hint__icon:focus svg,.bal-hint__icon:focus g,.bal-hint__icon:focus path,.bal-hint__icon:focus circle{fill:var(--bal-color-light-blue-5)}}.bal-hint__content{background:var(--bal-hint-content-background);display:-ms-flexbox;display:flex;gap:1.5rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 768px){.bal-hint__content{padding:1.25rem;min-height:100%}.bal-hint__content>div{-ms-flex:1;flex:1}}.bal-hint__content__title{display:block;margin-bottom:1rem}.bal-hint__content__title__heading{font-family:var(--bal-title-font-family);font-weight:var(--bal-title-font-weight);font-size:var(--bal-text-size-x-large);line-height:var(--bal-line-height-x-large)}@media screen and (min-width: 769px),print{.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-tablet);line-height:var(--bal-line-height-tablet-x-large)}}@media screen and (min-width: 1024px){.bal-hint__content__title__heading{font-size:var(--bal-text-size-x-large-desktop);line-height:var(--bal-line-height-desktop-x-large)}}@media screen and (min-width: 769px),print{.bal-hint__content__buttons--is-hidden-desktop{display:none !important}}.bal-hint__overlay__content{position:fixed;display:none;overflow:auto;top:0;left:0;right:0;bottom:0;z-index:var(--bal-z-index-popup)}.bal-hint__overlay__content--active{display:block}";
|
|
20
20
|
const BalHintStyle0 = balHintCss;
|