@baloise/ds-core 19.9.3 → 19.9.4-nightly.20260428
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/all.d.ts +2 -0
- package/components/all.js +3 -0
- package/components/animation.decorator.js +1 -1
- package/components/bal-accordion.js +1 -2
- package/components/bal-app.js +1 -102
- package/components/bal-app2.js +104 -0
- package/components/bal-button2.js +1 -1
- package/components/bal-carousel-item.js +1 -1
- package/components/bal-checkbox-group.js +1 -1
- package/components/bal-date-calendar2.js +1 -1
- package/components/bal-date.js +1 -1
- package/components/bal-doc-app.d.ts +11 -0
- package/components/bal-doc-app.js +264 -0
- package/components/bal-dropdown.js +1 -1
- package/components/bal-field.js +1 -1
- package/components/bal-file-upload.js +5 -5
- package/components/bal-footer.js +1 -1
- package/components/bal-form.js +1 -1
- package/components/bal-input-stepper.js +1 -1
- package/components/bal-list-item-accordion-body2.js +1 -1
- package/components/bal-list-item2.js +1 -1
- package/components/bal-logo2.js +1 -1
- package/components/bal-modal.js +1 -1
- package/components/bal-nav.js +1 -1
- package/components/bal-navbar-brand.js +1 -1
- package/components/bal-option-list2.js +1 -1
- package/components/bal-popup2.js +1 -1
- package/components/bal-radio-group.js +1 -1
- package/components/bal-segment-item.js +1 -1
- package/components/bal-select2.js +1 -1
- package/components/bal-spinner2.js +1 -1
- package/components/bal-stage-image.js +1 -1
- package/components/bal-tabs2.js +1 -1
- package/components/breakpoints.subject.js +1 -1
- package/components/element-states.decorator.js +1 -1
- package/components/floating-ui.js +1 -1
- package/components/focus.decorator.js +1 -1
- package/components/form-input.js +1 -1
- package/components/helpers.js +1 -1
- package/components/index.js +5 -449
- package/components/initialize.js +450 -0
- package/components/mutation.decorator.js +1 -1
- package/components/overlays.js +1 -1
- package/components/resize.decorator.js +1 -1
- package/components/swipe.subject.js +19 -1
- package/components/swiper.util.js +1 -1
- package/components/tokens.esm.js +1 -1
- package/components/visibility.decorator.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
- package/dist/baloise-design-system/baloise-design-system.js +1 -1
- package/dist/baloise-design-system/index.esm.js +1 -1
- package/dist/baloise-design-system/{p-05221bf226.system.entry.js → p-02c59dc2d9.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ea9aa92049.entry.js → p-041bf35913.entry.js} +1 -1
- package/dist/baloise-design-system/{p-818b880ec5.entry.js → p-181a2e34ab.entry.js} +1 -1
- package/dist/baloise-design-system/p-21ea7b32f1.system.entry.js +1 -0
- package/dist/baloise-design-system/{p-14475f12e8.entry.js → p-26c68ea1c0.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1e26da72e8.entry.js → p-2fdfa1a7c1.entry.js} +1 -1
- package/dist/baloise-design-system/{p-f647a73892.system.entry.js → p-36934c6f59.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-CsPrCX4f.system.js → p-3VlTyI5Z.system.js} +1 -1
- package/dist/baloise-design-system/{p-a5f3b37e21.system.entry.js → p-3ceaab4151.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dd5caee1bb.system.entry.js → p-4299a0583b.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ea38ac08ce.system.entry.js → p-4903ce4c21.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-BCtb7Ny9.system.js → p-4RgSLeC0.system.js} +1 -1
- package/dist/baloise-design-system/{p-370f98a376.entry.js → p-539758ad59.entry.js} +1 -1
- package/dist/baloise-design-system/{p-41a0556d46.entry.js → p-571ede77b5.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c47294e251.system.entry.js → p-79470cd0fa.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-b585853436.system.entry.js → p-7bd155ebe9.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8346d5f6ae.entry.js +1 -0
- package/dist/baloise-design-system/{p-3bc249e38e.entry.js → p-87af9652ac.entry.js} +1 -1
- package/dist/baloise-design-system/{p-01fdb2af3e.entry.js → p-8b4a7c687b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-03852c362f.entry.js → p-97fe041040.entry.js} +1 -1
- package/dist/baloise-design-system/{p-890c3ea355.system.entry.js → p-983bc6f141.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-9ca0a9bf5c.entry.js +1 -0
- package/dist/baloise-design-system/{p-3d9555be79.system.entry.js → p-9e456616bb.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-CFZjZt-s.js → p-B1dBHBym.js} +1 -1
- package/dist/baloise-design-system/p-BFRjY4w3.js +1 -1
- package/dist/baloise-design-system/p-BRAmUyPx.system.js +1 -1
- package/dist/baloise-design-system/p-BvSkuJ_n.js +1 -0
- package/dist/baloise-design-system/p-BzIZLOtt.system.js +1 -0
- package/dist/baloise-design-system/{p-0g14KuPx.system.js → p-CCSGwQSe.system.js} +1 -1
- package/dist/baloise-design-system/{p-CHTPLy3W.system.js → p-CW7ESVrE.system.js} +1 -1
- package/dist/baloise-design-system/p-C_FHgwWW.js +1 -0
- package/dist/baloise-design-system/p-C_qvcMEM.system.js +1 -0
- package/dist/baloise-design-system/{p-xlS5vO33.system.js → p-D5aEF_JU.system.js} +1 -1
- package/dist/baloise-design-system/{p-ZalPEZLa.js → p-DRqAN-8G.js} +1 -1
- package/dist/baloise-design-system/{p-DUpGQx_U.system.js → p-DXgjqG3B.system.js} +1 -1
- package/dist/baloise-design-system/{p-TGlXe_VY.js → p-Dk_Xk-cK.js} +1 -1
- package/dist/baloise-design-system/p-Ectc3YAG.js +1 -0
- package/dist/baloise-design-system/{p-ee61799a11.system.entry.js → p-a83ab6a6be.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8ea84ad7c7.entry.js → p-aa6add79d8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-7eec8c7a78.system.entry.js → p-b15364d979.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ed56778833.system.entry.js → p-b6e463830c.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-83c6c17ed8.system.entry.js → p-c0edc44cfb.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-cef33e1117.entry.js → p-e81beb411d.entry.js} +1 -1
- package/dist/baloise-design-system/{p-239938cbc2.entry.js → p-e9f45d5fe9.entry.js} +1 -1
- package/dist/baloise-design-system/{p-14219e3845.entry.js → p-f29efb5685.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9191e04f14.system.entry.js → p-f393662ba3.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-8bdcf69b1f.system.entry.js → p-f52b561731.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-dd48a60d74.entry.js → p-ff7d836983.entry.js} +1 -1
- package/dist/baloise-design-system/{p-DlPc3plk.js → p-joF8ji8m.js} +1 -1
- package/dist/baloise-design-system/{p-COFcDrAS.system.js → p-qajG7p9r.system.js} +1 -1
- package/dist/cjs/app-globals-DcKvQZAC.js +7 -0
- package/dist/cjs/bal-accordion_4.cjs.entry.js +0 -1
- package/dist/cjs/bal-carousel_2.cjs.entry.js +5 -5
- package/dist/cjs/bal-date-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/bal-doc-app.cjs.entry.js +231 -0
- package/dist/cjs/bal-field_5.cjs.entry.js +3 -3
- package/dist/cjs/bal-file-upload.cjs.entry.js +5 -5
- 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-steps.cjs.entry.js +3 -3
- package/dist/cjs/bal-tab-item_2.cjs.entry.js +5 -5
- package/dist/cjs/baloise-design-system.cjs.js +3 -2
- package/dist/cjs/{breakpoints.decorator-DVSgAJPa.js → breakpoints.decorator-Cugb3ou_.js} +1 -1
- package/dist/cjs/{breakpoints.subject-PPg53GM5.js → breakpoints.subject-B0NyYJib.js} +1 -1
- package/dist/cjs/{app-globals-D4xKyILL.js → global-BOGOCc0T.js} +2 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/initialize-BzrcZo6Y.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/{swipe.decorator-BZYUlkYt.js → swipe.decorator-C_jX7Il5.js} +1 -1
- package/dist/cjs/{swipe.subject-BaKNugDQ.js → swipe.subject-iyL-XVHG.js} +18 -0
- package/dist/cjs/{tokens.esm-B1kdQjzR.js → tokens.esm-B1UoVxjb.js} +1 -1
- package/dist/cjs/{window-resize.decorator-DHvgxiqB.js → window-resize.decorator-DY11q_pZ.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/bal-accordion/bal-accordion.js +2 -6
- package/dist/collection/components/bal-file-upload/bal-file-upload.js +5 -5
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +1 -0
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +248 -0
- package/dist/collection/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/swipe/swipe.listener.js +19 -0
- package/dist/esm/app-globals-CIj5uAPM.js +5 -0
- package/dist/esm/bal-accordion_4.entry.js +0 -1
- package/dist/esm/bal-carousel_2.entry.js +5 -5
- package/dist/esm/bal-date-calendar_2.entry.js +2 -2
- package/dist/esm/bal-doc-app.entry.js +229 -0
- package/dist/esm/bal-field_5.entry.js +3 -3
- package/dist/esm/bal-file-upload.entry.js +5 -5
- 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-steps.entry.js +3 -3
- package/dist/esm/bal-tab-item_2.entry.js +5 -5
- package/dist/esm/baloise-design-system.js +3 -2
- package/dist/esm/{breakpoints.decorator-CJwbnRPE.js → breakpoints.decorator-Bzd5Zg0a.js} +1 -1
- package/dist/esm/{breakpoints.subject-CKmK7JA0.js → breakpoints.subject-CAsMPZu6.js} +1 -1
- package/dist/esm/{app-globals-Blx--ecs.js → global-Llrc69_N.js} +2 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/initialize-W3od-FM9.js +1 -1
- package/dist/esm/loader.js +3 -2
- package/dist/esm/{swipe.decorator-B_Ghrp1o.js → swipe.decorator-B-pmjyNr.js} +1 -1
- package/dist/esm/{swipe.subject-T0VStuOK.js → swipe.subject-BXuaiulg.js} +18 -0
- package/dist/esm/{tokens.esm-DTyLTqMF.js → tokens.esm-CbrAtHkp.js} +1 -1
- package/dist/esm/{window-resize.decorator-xoiS5CvH.js → window-resize.decorator-Cn0-tXOU.js} +1 -1
- package/dist/esm-es5/app-globals-CIj5uAPM.js +1 -0
- package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
- package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
- package/dist/esm-es5/bal-doc-app.entry.js +1 -0
- package/dist/esm-es5/bal-field_5.entry.js +1 -1
- package/dist/esm-es5/bal-file-upload.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-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-CJwbnRPE.js → breakpoints.decorator-Bzd5Zg0a.js} +1 -1
- package/dist/esm-es5/{breakpoints.subject-CKmK7JA0.js → breakpoints.subject-CAsMPZu6.js} +1 -1
- package/dist/esm-es5/global-Llrc69_N.js +1 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/initialize-W3od-FM9.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{swipe.decorator-B_Ghrp1o.js → swipe.decorator-B-pmjyNr.js} +1 -1
- package/dist/esm-es5/swipe.subject-BXuaiulg.js +1 -0
- package/dist/esm-es5/{window-resize.decorator-xoiS5CvH.js → window-resize.decorator-Cn0-tXOU.js} +1 -1
- package/dist/html.html-data.json +4 -0
- package/dist/types/components/bal-accordion/bal-accordion.d.ts +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +21 -0
- package/dist/types/components.d.ts +81 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +82 -0
- package/dist/types/utils/swipe/swipe.listener.d.ts +1 -0
- package/package.json +6 -6
- package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +0 -1
- package/dist/baloise-design-system/p-CKN3W8qn.js +0 -1
- package/dist/baloise-design-system/p-CeIZ5hSt.js +0 -1
- package/dist/baloise-design-system/p-fb2960c1b6.entry.js +0 -1
- package/dist/esm-es5/app-globals-Blx--ecs.js +0 -1
- package/dist/esm-es5/swipe.subject-T0VStuOK.js +0 -1
- /package/dist/baloise-design-system/{p-68c75901a4.system.entry.js → p-67f2a7fbef.system.entry.js} +0 -0
- /package/dist/baloise-design-system/{p-7563a0a66d.entry.js → p-692f76ee0c.entry.js} +0 -0
- /package/dist/baloise-design-system/{p-DTyLTqMF.js → p-CbrAtHkp.js} +0 -0
- /package/dist/baloise-design-system/{p-1D6CbirM.system.js → p-CpAfK31a.system.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-DTyLTqMF.js → tokens.esm-CbrAtHkp.js} +0 -0
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import * as balIcons from "../../../../../../icons/src/index";
|
|
2
|
+
import { h, Host } from "@stencil/core";
|
|
3
|
+
import globalScript from "../../../global";
|
|
4
|
+
import { balBrowser } from "../../../utils/browser";
|
|
5
|
+
import { updateBalIcons } from "../../../utils/config";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export class DocApp {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.logComponents = '';
|
|
12
|
+
this.logLifecycle = true;
|
|
13
|
+
this.logEvents = true;
|
|
14
|
+
this.logRender = true;
|
|
15
|
+
this.logCustom = true;
|
|
16
|
+
this.stickyFooter = false;
|
|
17
|
+
/**
|
|
18
|
+
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
19
|
+
*/
|
|
20
|
+
this.animated = true;
|
|
21
|
+
}
|
|
22
|
+
connectedCallback() {
|
|
23
|
+
globalScript();
|
|
24
|
+
updateBalIcons(balIcons);
|
|
25
|
+
}
|
|
26
|
+
componentDidRender() {
|
|
27
|
+
const logConfig = {
|
|
28
|
+
components: this.logComponents
|
|
29
|
+
.split(',')
|
|
30
|
+
.map(c => c.trim())
|
|
31
|
+
.filter(c => c !== ''),
|
|
32
|
+
lifecycle: this.logLifecycle,
|
|
33
|
+
event: this.logEvents,
|
|
34
|
+
render: this.logRender,
|
|
35
|
+
custom: this.logCustom,
|
|
36
|
+
};
|
|
37
|
+
if (balBrowser.hasWindow) {
|
|
38
|
+
if (this.logComponents) {
|
|
39
|
+
;
|
|
40
|
+
window.BaloiseDesignSystem.config.logger = logConfig;
|
|
41
|
+
}
|
|
42
|
+
if (this.region) {
|
|
43
|
+
;
|
|
44
|
+
window.BaloiseDesignSystem.config.region = this.region;
|
|
45
|
+
}
|
|
46
|
+
if (this.language) {
|
|
47
|
+
;
|
|
48
|
+
window.BaloiseDesignSystem.config.language = this.language;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return (h(Host, { key: 'bd48063fae2ad02a89fac43457aa8d58aa2c5b29' }, h("bal-app", { key: 'e99d6db063d21649f8cb310b4a3da4c9861a8c82', animated: this.animated }, h("div", { key: 'ae13f6acd39003afa2c0ab22dec4455d09544dea', class: { 'has-sticky-footer': this.stickyFooter } }, h("slot", { key: '9929e0ec4a2718860ec0f57a7adbd1442a268237' })))));
|
|
54
|
+
}
|
|
55
|
+
static get is() { return "bal-doc-app"; }
|
|
56
|
+
static get originalStyleUrls() {
|
|
57
|
+
return {
|
|
58
|
+
"$": ["bal-doc-app.sass"]
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static get styleUrls() {
|
|
62
|
+
return {
|
|
63
|
+
"$": ["bal-doc-app.css"]
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
static get properties() {
|
|
67
|
+
return {
|
|
68
|
+
"logComponents": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"mutable": false,
|
|
71
|
+
"complexType": {
|
|
72
|
+
"original": "string",
|
|
73
|
+
"resolved": "string",
|
|
74
|
+
"references": {}
|
|
75
|
+
},
|
|
76
|
+
"required": false,
|
|
77
|
+
"optional": false,
|
|
78
|
+
"docs": {
|
|
79
|
+
"tags": [],
|
|
80
|
+
"text": ""
|
|
81
|
+
},
|
|
82
|
+
"getter": false,
|
|
83
|
+
"setter": false,
|
|
84
|
+
"reflect": false,
|
|
85
|
+
"attribute": "log-components",
|
|
86
|
+
"defaultValue": "''"
|
|
87
|
+
},
|
|
88
|
+
"logLifecycle": {
|
|
89
|
+
"type": "boolean",
|
|
90
|
+
"mutable": false,
|
|
91
|
+
"complexType": {
|
|
92
|
+
"original": "boolean",
|
|
93
|
+
"resolved": "boolean",
|
|
94
|
+
"references": {}
|
|
95
|
+
},
|
|
96
|
+
"required": false,
|
|
97
|
+
"optional": false,
|
|
98
|
+
"docs": {
|
|
99
|
+
"tags": [],
|
|
100
|
+
"text": ""
|
|
101
|
+
},
|
|
102
|
+
"getter": false,
|
|
103
|
+
"setter": false,
|
|
104
|
+
"reflect": false,
|
|
105
|
+
"attribute": "log-lifecycle",
|
|
106
|
+
"defaultValue": "true"
|
|
107
|
+
},
|
|
108
|
+
"logEvents": {
|
|
109
|
+
"type": "boolean",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "boolean",
|
|
113
|
+
"resolved": "boolean",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": false,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": ""
|
|
121
|
+
},
|
|
122
|
+
"getter": false,
|
|
123
|
+
"setter": false,
|
|
124
|
+
"reflect": false,
|
|
125
|
+
"attribute": "log-events",
|
|
126
|
+
"defaultValue": "true"
|
|
127
|
+
},
|
|
128
|
+
"logRender": {
|
|
129
|
+
"type": "boolean",
|
|
130
|
+
"mutable": false,
|
|
131
|
+
"complexType": {
|
|
132
|
+
"original": "boolean",
|
|
133
|
+
"resolved": "boolean",
|
|
134
|
+
"references": {}
|
|
135
|
+
},
|
|
136
|
+
"required": false,
|
|
137
|
+
"optional": false,
|
|
138
|
+
"docs": {
|
|
139
|
+
"tags": [],
|
|
140
|
+
"text": ""
|
|
141
|
+
},
|
|
142
|
+
"getter": false,
|
|
143
|
+
"setter": false,
|
|
144
|
+
"reflect": false,
|
|
145
|
+
"attribute": "log-render",
|
|
146
|
+
"defaultValue": "true"
|
|
147
|
+
},
|
|
148
|
+
"logCustom": {
|
|
149
|
+
"type": "boolean",
|
|
150
|
+
"mutable": false,
|
|
151
|
+
"complexType": {
|
|
152
|
+
"original": "boolean",
|
|
153
|
+
"resolved": "boolean",
|
|
154
|
+
"references": {}
|
|
155
|
+
},
|
|
156
|
+
"required": false,
|
|
157
|
+
"optional": false,
|
|
158
|
+
"docs": {
|
|
159
|
+
"tags": [],
|
|
160
|
+
"text": ""
|
|
161
|
+
},
|
|
162
|
+
"getter": false,
|
|
163
|
+
"setter": false,
|
|
164
|
+
"reflect": false,
|
|
165
|
+
"attribute": "log-custom",
|
|
166
|
+
"defaultValue": "true"
|
|
167
|
+
},
|
|
168
|
+
"stickyFooter": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"mutable": false,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": ""
|
|
181
|
+
},
|
|
182
|
+
"getter": false,
|
|
183
|
+
"setter": false,
|
|
184
|
+
"reflect": false,
|
|
185
|
+
"attribute": "sticky-footer",
|
|
186
|
+
"defaultValue": "false"
|
|
187
|
+
},
|
|
188
|
+
"region": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"mutable": false,
|
|
191
|
+
"complexType": {
|
|
192
|
+
"original": "string",
|
|
193
|
+
"resolved": "string",
|
|
194
|
+
"references": {}
|
|
195
|
+
},
|
|
196
|
+
"required": false,
|
|
197
|
+
"optional": true,
|
|
198
|
+
"docs": {
|
|
199
|
+
"tags": [],
|
|
200
|
+
"text": ""
|
|
201
|
+
},
|
|
202
|
+
"getter": false,
|
|
203
|
+
"setter": false,
|
|
204
|
+
"reflect": false,
|
|
205
|
+
"attribute": "region"
|
|
206
|
+
},
|
|
207
|
+
"language": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"mutable": false,
|
|
210
|
+
"complexType": {
|
|
211
|
+
"original": "string",
|
|
212
|
+
"resolved": "string",
|
|
213
|
+
"references": {}
|
|
214
|
+
},
|
|
215
|
+
"required": false,
|
|
216
|
+
"optional": true,
|
|
217
|
+
"docs": {
|
|
218
|
+
"tags": [],
|
|
219
|
+
"text": ""
|
|
220
|
+
},
|
|
221
|
+
"getter": false,
|
|
222
|
+
"setter": false,
|
|
223
|
+
"reflect": false,
|
|
224
|
+
"attribute": "language"
|
|
225
|
+
},
|
|
226
|
+
"animated": {
|
|
227
|
+
"type": "boolean",
|
|
228
|
+
"mutable": false,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "boolean",
|
|
231
|
+
"resolved": "boolean",
|
|
232
|
+
"references": {}
|
|
233
|
+
},
|
|
234
|
+
"required": false,
|
|
235
|
+
"optional": false,
|
|
236
|
+
"docs": {
|
|
237
|
+
"tags": [],
|
|
238
|
+
"text": "Disables all animation inside the bal-app. Can be used for simplify e2e testing."
|
|
239
|
+
},
|
|
240
|
+
"getter": false,
|
|
241
|
+
"setter": false,
|
|
242
|
+
"reflect": true,
|
|
243
|
+
"attribute": "animated",
|
|
244
|
+
"defaultValue": "true"
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated by .build/version.js
|
|
2
|
-
export const VERSION = '19.9.
|
|
2
|
+
export const VERSION = '19.9.4-nightly.20260428';
|
|
@@ -6,12 +6,31 @@ export class BalSwipeListener extends ListenerAbstract {
|
|
|
6
6
|
await this.loadLib();
|
|
7
7
|
if (this.PointerListenerLib) {
|
|
8
8
|
this.pointerListener = new this.PointerListenerLib(el, { handleTouchEvents: false });
|
|
9
|
+
// contactjs calls setPointerCapture on the event target in its onPointerDown handler.
|
|
10
|
+
// When a pointerdown originates inside a shadow DOM component, the browser retargets
|
|
11
|
+
// the event so the target appears as the shadow host element (e.g. bal-date-calendar).
|
|
12
|
+
// This causes pointer capture to be set on the shadow host, which redirects pointerup
|
|
13
|
+
// away from the actual element inside the shadow DOM, preventing the click event from
|
|
14
|
+
// being dispatched on the intended target (e.g. bal-date-calendar-cell).
|
|
15
|
+
// Fix: release pointer capture from shadow host elements immediately after contactjs sets it.
|
|
16
|
+
this.shadowFixPointerDownListener = (ev) => {
|
|
17
|
+
const target = ev.target;
|
|
18
|
+
if (target && target !== el && target.shadowRoot) {
|
|
19
|
+
target.releasePointerCapture(ev.pointerId);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
el.addEventListener('pointerdown', this.shadowFixPointerDownListener);
|
|
9
23
|
this.pointerListener.on('swipeleft', () => this.notify({ left: true, right: false }));
|
|
10
24
|
this.pointerListener.on('swiperight', () => this.notify({ left: false, right: true }));
|
|
11
25
|
}
|
|
12
26
|
}
|
|
13
27
|
disconnect() {
|
|
14
28
|
var _a;
|
|
29
|
+
if (this.shadowFixPointerDownListener && this.el) {
|
|
30
|
+
;
|
|
31
|
+
this.el.removeEventListener('pointerdown', this.shadowFixPointerDownListener);
|
|
32
|
+
this.shadowFixPointerDownListener = undefined;
|
|
33
|
+
}
|
|
15
34
|
super.disconnect();
|
|
16
35
|
(_a = this.pointerListener) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
17
36
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-BdVwMG9u.js';
|
|
2
2
|
import { _ as __decorate, a as __metadata } from './tslib.es6-dfXERft2.js';
|
|
3
3
|
import { B as BEM } from './bem-ByiN-QjD.js';
|
|
4
|
-
import { L as ListenToBreakpoints } from './breakpoints.decorator-
|
|
4
|
+
import { L as ListenToBreakpoints } from './breakpoints.decorator-Bzd5Zg0a.js';
|
|
5
5
|
import { s as stopEventBubbling } from './form-input-DYvzaBlM.js';
|
|
6
6
|
import { a as ariaBooleanToString } from './aria-DBsOHTWj.js';
|
|
7
7
|
import { t as toKebabCase, S as SwiperUtil } from './string-Dk4PnSfl.js';
|
|
8
8
|
import { L as ListenToMutation } from './mutation.decorator-DhVeNnnY.js';
|
|
9
|
-
import { L as ListenToSwipe } from './swipe.decorator-
|
|
9
|
+
import { L as ListenToSwipe } from './swipe.decorator-B-pmjyNr.js';
|
|
10
10
|
import { L as ListenToResize } from './resize.decorator-ZKPOJfw5.js';
|
|
11
|
-
import { b as balBreakpoints } from './breakpoints.subject-
|
|
11
|
+
import { b as balBreakpoints } from './breakpoints.subject-CAsMPZu6.js';
|
|
12
12
|
import { d as defaultConfig } from './config.default-RE8-gLMQ.js';
|
|
13
13
|
import { L as ListenToVisibility } from './visibility.decorator-zTjPC2du.js';
|
|
14
14
|
import { L as ListenToConfig } from './config.decorator-3bfyZ-0Y.js';
|
|
@@ -18,9 +18,9 @@ import { l as rOnLoad, a as waitAfterFramePaint } from './helpers-BNj87EbG.js';
|
|
|
18
18
|
import './keyboard.helpers-BERg8BNc.js';
|
|
19
19
|
import './listener-CClDIhvK.js';
|
|
20
20
|
import './browser-B1u-Mq75.js';
|
|
21
|
-
import './swipe.subject-
|
|
21
|
+
import './swipe.subject-BXuaiulg.js';
|
|
22
22
|
import './device-TtMibDFL.js';
|
|
23
|
-
import './tokens.esm-
|
|
23
|
+
import './tokens.esm-CbrAtHkp.js';
|
|
24
24
|
import './config.utils-B7jugjyM.js';
|
|
25
25
|
import './log-CwssmmaV.js';
|
|
26
26
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
@@ -8,7 +8,7 @@ import { i as isNil } from './index-zWZxKBfo.js';
|
|
|
8
8
|
import { B as BalDate, i as i18nBalDate, d as dateSeparator } from './date-W0XtD641.js';
|
|
9
9
|
import { d as defaultConfig } from './config.default-RE8-gLMQ.js';
|
|
10
10
|
import { L as ListenToConfig } from './config.decorator-3bfyZ-0Y.js';
|
|
11
|
-
import { L as ListenToSwipe } from './swipe.decorator-
|
|
11
|
+
import { L as ListenToSwipe } from './swipe.decorator-B-pmjyNr.js';
|
|
12
12
|
import { a as ariaBooleanToString } from './aria-DBsOHTWj.js';
|
|
13
13
|
import { i as inheritAttributes } from './attributes-C4sZQbkT.js';
|
|
14
14
|
import { d as defaultBalAriaForm } from './form-FCLKfv6B.js';
|
|
@@ -18,7 +18,7 @@ import { I as INVALID_VALUE } from './mask-util-DuObDTix.js';
|
|
|
18
18
|
import './browser-B1u-Mq75.js';
|
|
19
19
|
import './config.utils-B7jugjyM.js';
|
|
20
20
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
21
|
-
import './swipe.subject-
|
|
21
|
+
import './swipe.subject-BXuaiulg.js';
|
|
22
22
|
import './device-TtMibDFL.js';
|
|
23
23
|
import './listener-CClDIhvK.js';
|
|
24
24
|
|