@baloise/ds-core 19.9.3-nightly.20260424 → 19.9.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/all.d.ts +0 -2
- package/components/all.js +0 -3
- package/components/animation.decorator.js +1 -1
- package/components/bal-accordion.js +1 -2
- package/components/bal-app.js +102 -1
- 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-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 +449 -5
- 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-ea9aa92049.entry.js → p-041bf35913.entry.js} +1 -1
- package/dist/baloise-design-system/{p-051254b0d3.system.entry.js → p-1d8afd6f97.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-0c689e7238.entry.js → p-29d68d2132.entry.js} +1 -1
- package/dist/baloise-design-system/{p-a9eba39458.system.entry.js → p-353111ebe0.system.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-082b190eb3.system.entry.js → p-372ba2be28.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-eb813a0370.entry.js → p-3bb89f6a82.entry.js} +1 -1
- package/dist/baloise-design-system/{p-3503bb237f.entry.js → p-3c2762a456.entry.js} +1 -1
- package/dist/baloise-design-system/{p-bf52f2daab.system.entry.js → p-47a709940f.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e4d6340644.entry.js → p-484747871b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-51ddab57a5.entry.js → p-495621ad03.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-66ce67d44e.entry.js → p-4f036f58ab.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d6b104dc85.entry.js → p-50a9cbd963.entry.js} +1 -1
- package/dist/baloise-design-system/{p-771763d6eb.entry.js → p-52c76f1bdd.entry.js} +1 -1
- package/dist/baloise-design-system/{p-82e5170a01.system.entry.js → p-608249b400.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ae6acdbe67.system.entry.js → p-6d9619c9d0.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-9e262a69b0.entry.js → p-72b37feadf.entry.js} +1 -1
- package/dist/baloise-design-system/{p-c0a10b3672.system.entry.js → p-813c277b9f.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-8346d5f6ae.entry.js +1 -0
- package/dist/baloise-design-system/{p-9da10572eb.system.entry.js → p-8f06689f6a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-fc08bd8b75.entry.js → p-9871800426.entry.js} +1 -1
- package/dist/baloise-design-system/{p-1ea005b1a6.system.entry.js → p-9bf6adbd21.system.entry.js} +1 -1
- package/dist/baloise-design-system/p-B6GTvSSK.js +1 -0
- 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-FZ28NFyi.system.js → p-BhPUGxAx.system.js} +1 -1
- package/dist/baloise-design-system/p-Bk7UdnZ5.system.js +1 -0
- package/dist/baloise-design-system/p-CKN3W8qn.js +1 -0
- package/dist/baloise-design-system/{p-DURYWrGs.system.js → p-CM1lc2ni.system.js} +1 -1
- package/dist/baloise-design-system/p-C_FHgwWW.js +1 -0
- package/dist/baloise-design-system/{p-3VlTyI5Z.system.js → p-CsPrCX4f.system.js} +1 -1
- package/dist/baloise-design-system/p-CviYHi5s.system.js +1 -0
- package/dist/baloise-design-system/{p-C-AVDEcm.js → p-CwRoS0HB.js} +1 -1
- 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-DwxDqMbM.system.js +1 -0
- package/dist/baloise-design-system/{p-ce856e0435.system.entry.js → p-a0020dcf30.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-e53e45f7ca.entry.js → p-af292102b8.entry.js} +1 -1
- package/dist/baloise-design-system/{p-ba3af6cb71.system.entry.js → p-c900ad58d0.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-05bbd749b0.system.entry.js → p-ccdbef8f33.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-872b859383.entry.js → p-d5de84380b.entry.js} +1 -1
- package/dist/baloise-design-system/{p-d1384b4d37.entry.js → p-e7a78b097d.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-fc69c2827b.system.entry.js → p-ff649f9b8a.system.entry.js} +1 -1
- package/dist/baloise-design-system/{p-BLP1vyKW.js → p-j8ENYrr7.js} +1 -1
- package/dist/cjs/{global-BOGOCc0T.js → app-globals-D4xKyILL.js} +4 -2
- 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-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 +2 -3
- package/dist/cjs/{breakpoints.decorator-BNkZS6Oc.js → breakpoints.decorator-DIeNdkiK.js} +1 -1
- package/dist/cjs/{breakpoints.subject-BOxyCIrs.js → breakpoints.subject-YppJaklV.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/initialize-BzrcZo6Y.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -3
- 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-BWT37Jjh.js → tokens.esm-CGjXTIYw.js} +1 -1
- package/dist/cjs/{window-resize.decorator-CafBWpij.js → window-resize.decorator-CnkxxD9I.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- 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/utils/constants/version.constant.js +1 -1
- package/dist/collection/utils/swipe/swipe.listener.js +19 -0
- package/dist/esm/{global-Llrc69_N.js → app-globals-Blx--ecs.js} +4 -2
- 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-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 +2 -3
- package/dist/esm/{breakpoints.decorator-DEK7q794.js → breakpoints.decorator-CLJL1mrw.js} +1 -1
- package/dist/esm/{breakpoints.subject-BQ7TXTSr.js → breakpoints.subject-CaVH5CdH.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/initialize-W3od-FM9.js +1 -1
- package/dist/esm/loader.js +2 -3
- 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-COXHT7kA.js → tokens.esm-PSBwy3yf.js} +1 -1
- package/dist/esm/{window-resize.decorator-Byy3FvjJ.js → window-resize.decorator-B6C5v87J.js} +1 -1
- package/dist/esm-es5/app-globals-Blx--ecs.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-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-CLJL1mrw.js +1 -0
- package/dist/esm-es5/{breakpoints.subject-BQ7TXTSr.js → breakpoints.subject-CaVH5CdH.js} +1 -1
- 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-Byy3FvjJ.js → window-resize.decorator-B6C5v87J.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.d.ts +6 -75
- package/dist/types/utils/swipe/swipe.listener.d.ts +1 -0
- package/package.json +6 -6
- package/components/bal-app2.js +0 -104
- package/components/bal-doc-app.d.ts +0 -11
- package/components/bal-doc-app.js +0 -264
- package/components/initialize.js +0 -450
- package/dist/baloise-design-system/p-21ea7b32f1.system.entry.js +0 -1
- package/dist/baloise-design-system/p-9ca0a9bf5c.entry.js +0 -1
- package/dist/baloise-design-system/p-BM04kaEl.js +0 -1
- package/dist/baloise-design-system/p-BvSkuJ_n.js +0 -1
- package/dist/baloise-design-system/p-BzIZLOtt.system.js +0 -1
- package/dist/baloise-design-system/p-C_qvcMEM.system.js +0 -1
- package/dist/baloise-design-system/p-CeIZ5hSt.js +0 -1
- package/dist/baloise-design-system/p-D-kRAQUV.system.js +0 -1
- package/dist/baloise-design-system/p-Ectc3YAG.js +0 -1
- package/dist/baloise-design-system/p-ds9HBN3K.system.js +0 -1
- package/dist/baloise-design-system/p-fb2960c1b6.entry.js +0 -1
- package/dist/cjs/app-globals-DcKvQZAC.js +0 -7
- package/dist/cjs/bal-doc-app.cjs.entry.js +0 -231
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.css +0 -1
- package/dist/collection/components/docs/bal-doc-app/bal-doc-app.js +0 -248
- package/dist/esm/app-globals-CIj5uAPM.js +0 -5
- package/dist/esm/bal-doc-app.entry.js +0 -229
- package/dist/esm-es5/app-globals-CIj5uAPM.js +0 -1
- package/dist/esm-es5/bal-doc-app.entry.js +0 -1
- package/dist/esm-es5/breakpoints.decorator-DEK7q794.js +0 -1
- package/dist/esm-es5/global-Llrc69_N.js +0 -1
- package/dist/esm-es5/swipe.subject-T0VStuOK.js +0 -1
- package/dist/types/components/docs/bal-doc-app/bal-doc-app.d.ts +0 -21
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/icons/src/index.d.ts +0 -82
- /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-D47SgySc.system.js → p-BJHY1rVR.system.js} +0 -0
- /package/dist/baloise-design-system/{p-COXHT7kA.js → p-PSBwy3yf.js} +0 -0
- /package/dist/esm-es5/{tokens.esm-COXHT7kA.js → tokens.esm-PSBwy3yf.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{__awaiter,__extends,__generator}from"tslib";import{b as balDevice}from"./device-TtMibDFL.js";import{L as ListenerAbstract,a as SingleSubject}from"./listener-CClDIhvK.js";import{l as rOnLoad}from"./helpers-BNj87EbG.js";var BalSwipeListener=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.connect=function(i){return __awaiter(this,void 0,void 0,(function(){var n=this;return __generator(this,(function(e){switch(e.label){case 0:t.prototype.connect.call(this,i);return[4,this.loadLib()];case 1:e.sent();if(this.PointerListenerLib){this.pointerListener=new this.PointerListenerLib(i,{handleTouchEvents:false});this.shadowFixPointerDownListener=function(t){var n=t.target;if(n&&n!==i&&n.shadowRoot){n.releasePointerCapture(t.pointerId)}};i.addEventListener("pointerdown",this.shadowFixPointerDownListener);this.pointerListener.on("swipeleft",(function(){return n.notify({left:true,right:false})}));this.pointerListener.on("swiperight",(function(){return n.notify({left:false,right:true})}))}return[2]}}))}))};i.prototype.disconnect=function(){var i;if(this.shadowFixPointerDownListener&&this.el){this.el.removeEventListener("pointerdown",this.shadowFixPointerDownListener);this.shadowFixPointerDownListener=undefined}t.prototype.disconnect.call(this);(i=this.pointerListener)===null||i===void 0?void 0:i.destroy()};i.prototype.loadLib=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){return[2,new Promise((function(i,n){rOnLoad((function(){return __awaiter(t,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){import("./contact-BkEdlCZJ.js").then((function(n){t.PointerListenerLib=n.PointerListener;i()})).catch(n);return[2]}))}))}))}))]}))}))};return i}(ListenerAbstract);var BalSwipeSubject=function(t){__extends(i,t);function i(i){if(i===void 0){i={mobileOnly:false}}var n=t.call(this,(function(t,i){if(i){t.swipeListener(i)}}))||this;n.options=i;n.listener=new BalSwipeListener;return n}i.prototype.attach=function(i){var n=this;if(this.options.mobileOnly===true&&balDevice.isMobile||this.options.mobileOnly!==true){t.prototype.attach.call(this,i);this.listener.connect(i.el);this.listener.add((function(i){return t.prototype.notify.call(n,i)}))}};i.prototype.detach=function(){t.prototype.detach.call(this);this.listener.disconnect()};return i}(SingleSubject);export{BalSwipeSubject as B};
|
package/dist/esm-es5/{window-resize.decorator-Byy3FvjJ.js → window-resize.decorator-B6C5v87J.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__extends}from"tslib";import{B as BalWindowResizeListener}from"./breakpoints.subject-
|
|
1
|
+
import{__extends}from"tslib";import{B as BalWindowResizeListener}from"./breakpoints.subject-CaVH5CdH.js";import{a as SingleSubject}from"./listener-CClDIhvK.js";import{b as balBrowser}from"./browser-B1u-Mq75.js";var BalWindowResizeSubject=function(i){__extends(t,i);function t(){var t=i.call(this,(function(i,t){i.windowResizeListener()}))||this;t.listener=new BalWindowResizeListener;return t}t.prototype.attach=function(t){var e=this;i.prototype.attach.call(this,t);if(balBrowser.hasWindow){this.listener.connect(window);this.listener.add((function(){return i.prototype.notify.call(e)}))}};t.prototype.detach=function(){i.prototype.detach.call(this);this.listener.disconnect()};return t}(SingleSubject);new BalWindowResizeSubject;function ListenToWindowResize(){return function(i,t,e){var n=i.connectedCallback,s=i.disconnectedCallback;i.connectedCallback=function(){if(!this._balWindowResizeSubject){this._balWindowResizeSubject=new BalWindowResizeSubject;this._balWindowResizeSubject.attach(this)}return n&&n.call(this)};i.disconnectedCallback=function(){if(this._balWindowResizeSubject){this._balWindowResizeSubject.detach();this._balWindowResizeSubject=undefined}return s&&s.call(this)}}}export{ListenToWindowResize as L};
|
package/dist/html.html-data.json
CHANGED
|
@@ -85,6 +85,7 @@ export namespace Components {
|
|
|
85
85
|
*/
|
|
86
86
|
"toggle": () => Promise<boolean>;
|
|
87
87
|
/**
|
|
88
|
+
* defines the version of the component
|
|
88
89
|
* @default 2
|
|
89
90
|
*/
|
|
90
91
|
"version": number;
|
|
@@ -1128,39 +1129,6 @@ export namespace Components {
|
|
|
1128
1129
|
*/
|
|
1129
1130
|
"space": BalProps.BalDividerSpace;
|
|
1130
1131
|
}
|
|
1131
|
-
interface BalDocApp {
|
|
1132
|
-
/**
|
|
1133
|
-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
1134
|
-
* @default true
|
|
1135
|
-
*/
|
|
1136
|
-
"animated": boolean;
|
|
1137
|
-
"language"?: string;
|
|
1138
|
-
/**
|
|
1139
|
-
* @default ''
|
|
1140
|
-
*/
|
|
1141
|
-
"logComponents": string;
|
|
1142
|
-
/**
|
|
1143
|
-
* @default true
|
|
1144
|
-
*/
|
|
1145
|
-
"logCustom": boolean;
|
|
1146
|
-
/**
|
|
1147
|
-
* @default true
|
|
1148
|
-
*/
|
|
1149
|
-
"logEvents": boolean;
|
|
1150
|
-
/**
|
|
1151
|
-
* @default true
|
|
1152
|
-
*/
|
|
1153
|
-
"logLifecycle": boolean;
|
|
1154
|
-
/**
|
|
1155
|
-
* @default true
|
|
1156
|
-
*/
|
|
1157
|
-
"logRender": boolean;
|
|
1158
|
-
"region"?: string;
|
|
1159
|
-
/**
|
|
1160
|
-
* @default false
|
|
1161
|
-
*/
|
|
1162
|
-
"stickyFooter": boolean;
|
|
1163
|
-
}
|
|
1164
1132
|
interface BalDropdown {
|
|
1165
1133
|
/**
|
|
1166
1134
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
@@ -4984,12 +4952,6 @@ declare global {
|
|
|
4984
4952
|
prototype: HTMLBalDividerElement;
|
|
4985
4953
|
new (): HTMLBalDividerElement;
|
|
4986
4954
|
};
|
|
4987
|
-
interface HTMLBalDocAppElement extends Components.BalDocApp, HTMLStencilElement {
|
|
4988
|
-
}
|
|
4989
|
-
var HTMLBalDocAppElement: {
|
|
4990
|
-
prototype: HTMLBalDocAppElement;
|
|
4991
|
-
new (): HTMLBalDocAppElement;
|
|
4992
|
-
};
|
|
4993
4955
|
interface HTMLBalDropdownElementEventMap {
|
|
4994
4956
|
"balChange": BalEvents.BalDropdownChangeDetail;
|
|
4995
4957
|
"balFocus": BalEvents.BalDropdownFocusDetail;
|
|
@@ -5971,7 +5933,6 @@ declare global {
|
|
|
5971
5933
|
"bal-date-calendar": HTMLBalDateCalendarElement;
|
|
5972
5934
|
"bal-date-calendar-cell": HTMLBalDateCalendarCellElement;
|
|
5973
5935
|
"bal-divider": HTMLBalDividerElement;
|
|
5974
|
-
"bal-doc-app": HTMLBalDocAppElement;
|
|
5975
5936
|
"bal-dropdown": HTMLBalDropdownElement;
|
|
5976
5937
|
"bal-field": HTMLBalFieldElement;
|
|
5977
5938
|
"bal-field-control": HTMLBalFieldControlElement;
|
|
@@ -6111,6 +6072,11 @@ declare namespace LocalJSX {
|
|
|
6111
6072
|
* @default ''
|
|
6112
6073
|
*/
|
|
6113
6074
|
"openLabel"?: string;
|
|
6075
|
+
/**
|
|
6076
|
+
* defines the version of the component
|
|
6077
|
+
* @default 2
|
|
6078
|
+
*/
|
|
6079
|
+
"version"?: number;
|
|
6114
6080
|
}
|
|
6115
6081
|
interface BalAccordionDetails {
|
|
6116
6082
|
}
|
|
@@ -7133,39 +7099,6 @@ declare namespace LocalJSX {
|
|
|
7133
7099
|
*/
|
|
7134
7100
|
"space"?: BalProps.BalDividerSpace;
|
|
7135
7101
|
}
|
|
7136
|
-
interface BalDocApp {
|
|
7137
|
-
/**
|
|
7138
|
-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
7139
|
-
* @default true
|
|
7140
|
-
*/
|
|
7141
|
-
"animated"?: boolean;
|
|
7142
|
-
"language"?: string;
|
|
7143
|
-
/**
|
|
7144
|
-
* @default ''
|
|
7145
|
-
*/
|
|
7146
|
-
"logComponents"?: string;
|
|
7147
|
-
/**
|
|
7148
|
-
* @default true
|
|
7149
|
-
*/
|
|
7150
|
-
"logCustom"?: boolean;
|
|
7151
|
-
/**
|
|
7152
|
-
* @default true
|
|
7153
|
-
*/
|
|
7154
|
-
"logEvents"?: boolean;
|
|
7155
|
-
/**
|
|
7156
|
-
* @default true
|
|
7157
|
-
*/
|
|
7158
|
-
"logLifecycle"?: boolean;
|
|
7159
|
-
/**
|
|
7160
|
-
* @default true
|
|
7161
|
-
*/
|
|
7162
|
-
"logRender"?: boolean;
|
|
7163
|
-
"region"?: string;
|
|
7164
|
-
/**
|
|
7165
|
-
* @default false
|
|
7166
|
-
*/
|
|
7167
|
-
"stickyFooter"?: boolean;
|
|
7168
|
-
}
|
|
7169
7102
|
interface BalDropdown {
|
|
7170
7103
|
/**
|
|
7171
7104
|
* Indicates whether the value of the control can be automatically completed by the browser.
|
|
@@ -10351,7 +10284,6 @@ declare namespace LocalJSX {
|
|
|
10351
10284
|
"bal-date-calendar": BalDateCalendar;
|
|
10352
10285
|
"bal-date-calendar-cell": BalDateCalendarCell;
|
|
10353
10286
|
"bal-divider": BalDivider;
|
|
10354
|
-
"bal-doc-app": BalDocApp;
|
|
10355
10287
|
"bal-dropdown": BalDropdown;
|
|
10356
10288
|
"bal-field": BalField;
|
|
10357
10289
|
"bal-field-control": BalFieldControl;
|
|
@@ -10475,7 +10407,6 @@ declare module "@stencil/core" {
|
|
|
10475
10407
|
"bal-date-calendar": LocalJSX.BalDateCalendar & JSXBase.HTMLAttributes<HTMLBalDateCalendarElement>;
|
|
10476
10408
|
"bal-date-calendar-cell": LocalJSX.BalDateCalendarCell & JSXBase.HTMLAttributes<HTMLBalDateCalendarCellElement>;
|
|
10477
10409
|
"bal-divider": LocalJSX.BalDivider & JSXBase.HTMLAttributes<HTMLBalDividerElement>;
|
|
10478
|
-
"bal-doc-app": LocalJSX.BalDocApp & JSXBase.HTMLAttributes<HTMLBalDocAppElement>;
|
|
10479
10410
|
"bal-dropdown": LocalJSX.BalDropdown & JSXBase.HTMLAttributes<HTMLBalDropdownElement>;
|
|
10480
10411
|
"bal-field": LocalJSX.BalField & JSXBase.HTMLAttributes<HTMLBalFieldElement>;
|
|
10481
10412
|
"bal-field-control": LocalJSX.BalFieldControl & JSXBase.HTMLAttributes<HTMLBalFieldControlElement>;
|
|
@@ -4,6 +4,7 @@ import { BalSwipeInfo } from './swipe.interfaces';
|
|
|
4
4
|
export declare class BalSwipeListener<TObserver> extends ListenerAbstract<TObserver, BalSwipeInfo> {
|
|
5
5
|
private PointerListenerLib;
|
|
6
6
|
private pointerListener;
|
|
7
|
+
private shadowFixPointerDownListener?;
|
|
7
8
|
connect(el: HTMLElement | HTMLStencilElement): Promise<void>;
|
|
8
9
|
disconnect(): void;
|
|
9
10
|
private loadLib;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baloise/ds-core",
|
|
3
|
-
"version": "19.9.
|
|
3
|
+
"version": "19.9.4",
|
|
4
4
|
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"test:ui": "vitest --ui"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@baloise/ds-styles": "19.9.
|
|
32
|
-
"@baloise/ds-icons": "19.9.
|
|
31
|
+
"@baloise/ds-styles": "19.9.4",
|
|
32
|
+
"@baloise/ds-icons": "19.9.4",
|
|
33
33
|
"@baloise/web-app-utils": "3.15.0",
|
|
34
34
|
"@floating-ui/dom": "~1.6.3",
|
|
35
35
|
"@popperjs/core": "~2.11.4",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@baloise/output-target-angular": "0.0.0",
|
|
55
55
|
"@baloise/output-target-web": "0.0.0",
|
|
56
|
-
"@baloise/ds-maps": "19.9.
|
|
57
|
-
"@baloise/ds-brand-icons": "19.9.
|
|
58
|
-
"@baloise/ds-favicons": "19.9.
|
|
56
|
+
"@baloise/ds-maps": "19.9.4",
|
|
57
|
+
"@baloise/ds-brand-icons": "19.9.4",
|
|
58
|
+
"@baloise/ds-favicons": "19.9.4",
|
|
59
59
|
"compression": "~1.8.1",
|
|
60
60
|
"express": "~4.22.1",
|
|
61
61
|
"serve-index": "~1.9.1"
|
package/components/bal-app2.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { _ as __decorate, a as __metadata } from './tslib.es6.js';
|
|
3
|
-
import { b as balBrowser } from './browser.js';
|
|
4
|
-
import { b as balDevice } from './device.js';
|
|
5
|
-
import { s as startFocusVisible } from './focus-visible.js';
|
|
6
|
-
import { q as debounce, n as rIC, l as rOnLoad } from './helpers.js';
|
|
7
|
-
import { L as Logger } from './log.js';
|
|
8
|
-
import { b as updateBalAnimated } from './config.utils.js';
|
|
9
|
-
|
|
10
|
-
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}";
|
|
11
|
-
|
|
12
|
-
const App = /*@__PURE__*/ proxyCustomElement(class App extends HTMLElement {
|
|
13
|
-
constructor(registerHost) {
|
|
14
|
-
super();
|
|
15
|
-
if (registerHost !== false) {
|
|
16
|
-
this.__registerHost();
|
|
17
|
-
}
|
|
18
|
-
this.balAppReady = createEvent(this, "balAppReady", 7);
|
|
19
|
-
this.debouncedNotify = debounce(() => this.notifyResize(), 100);
|
|
20
|
-
/**
|
|
21
|
-
* Disables all animation inside the bal-app. Can be used for simplify e2e testing.
|
|
22
|
-
*/
|
|
23
|
-
this.animated = true;
|
|
24
|
-
/**
|
|
25
|
-
* @internal Is `true` when DS components are ready to be shown.
|
|
26
|
-
*/
|
|
27
|
-
this.ready = false;
|
|
28
|
-
this.notifyResize = async () => {
|
|
29
|
-
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
30
|
-
const doc = document.documentElement;
|
|
31
|
-
doc.style.setProperty('--bal-app-height', `${window.innerHeight}px`);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
createLogger(log) {
|
|
36
|
-
this.log = log;
|
|
37
|
-
}
|
|
38
|
-
connectedCallback() {
|
|
39
|
-
if (this.animated === false) {
|
|
40
|
-
updateBalAnimated(this.animated);
|
|
41
|
-
}
|
|
42
|
-
if (balBrowser.hasWindow) {
|
|
43
|
-
window.addEventListener('resize', this.debouncedNotify);
|
|
44
|
-
this.debouncedNotify();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
componentDidLoad() {
|
|
48
|
-
rIC(() => {
|
|
49
|
-
this.ready = true;
|
|
50
|
-
startFocusVisible();
|
|
51
|
-
});
|
|
52
|
-
rOnLoad(() => {
|
|
53
|
-
if (balBrowser.hasDocument && balBrowser.hasWindow) {
|
|
54
|
-
const doc = document.documentElement;
|
|
55
|
-
doc.classList.add('lcp-ready');
|
|
56
|
-
this.balAppReady.emit();
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
disconnectedCallback() {
|
|
61
|
-
if (balBrowser.hasWindow) {
|
|
62
|
-
window.removeEventListener('resize', this.debouncedNotify);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
async setFocus(elements) {
|
|
66
|
-
if (this.focusVisible) {
|
|
67
|
-
this.focusVisible.setFocus(elements);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
render() {
|
|
71
|
-
return (h(Host, { key: 'e6229236201fea92c4ccb1812f2f280a06130889', class: {
|
|
72
|
-
'bal-app': true,
|
|
73
|
-
'bal-app--safari': balBrowser.isSafari,
|
|
74
|
-
'bal-app--touch': balDevice.hasTouchScreen,
|
|
75
|
-
} }, h("slot", { key: '7712c7609c709dbe754eaf5700fd43ca3992a39f' })));
|
|
76
|
-
}
|
|
77
|
-
get el() { return this; }
|
|
78
|
-
static get style() { return balAppCss; }
|
|
79
|
-
}, [260, "bal-app", {
|
|
80
|
-
"animated": [516],
|
|
81
|
-
"ready": [1540],
|
|
82
|
-
"setFocus": [64]
|
|
83
|
-
}]);
|
|
84
|
-
__decorate([
|
|
85
|
-
Logger('bal-app'),
|
|
86
|
-
__metadata("design:type", Function),
|
|
87
|
-
__metadata("design:paramtypes", [Function]),
|
|
88
|
-
__metadata("design:returntype", void 0)
|
|
89
|
-
], App.prototype, "createLogger", null);
|
|
90
|
-
function defineCustomElement() {
|
|
91
|
-
if (typeof customElements === "undefined") {
|
|
92
|
-
return;
|
|
93
|
-
}
|
|
94
|
-
const components = ["bal-app"];
|
|
95
|
-
components.forEach(tagName => { switch (tagName) {
|
|
96
|
-
case "bal-app":
|
|
97
|
-
if (!customElements.get(tagName)) {
|
|
98
|
-
customElements.define(tagName, App);
|
|
99
|
-
}
|
|
100
|
-
break;
|
|
101
|
-
} });
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export { App as A, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface BalDocApp extends Components.BalDocApp, HTMLElement {}
|
|
4
|
-
export const BalDocApp: {
|
|
5
|
-
prototype: BalDocApp;
|
|
6
|
-
new (): BalDocApp;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|