@aurodesignsystem-dev/auro-formkit 0.0.0-pr740.6 → 0.0.0-pr740.8
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/combobox/demo/api.min.js +50 -8
- package/components/combobox/demo/index.min.js +50 -8
- package/components/combobox/dist/auro-combobox.d.ts +7 -3
- package/components/combobox/dist/index.js +50 -8
- package/components/combobox/dist/registered.js +50 -8
- package/components/counter/demo/api.min.js +24 -0
- package/components/counter/demo/index.min.js +24 -0
- package/components/counter/dist/index.js +24 -0
- package/components/counter/dist/registered.js +24 -0
- package/components/datepicker/demo/api.min.js +24 -0
- package/components/datepicker/demo/index.min.js +24 -0
- package/components/datepicker/dist/index.js +24 -0
- package/components/datepicker/dist/registered.js +24 -0
- package/components/dropdown/demo/api.min.js +24 -0
- package/components/dropdown/demo/index.min.js +24 -0
- package/components/dropdown/dist/auro-dropdownBib.d.ts +6 -0
- package/components/dropdown/dist/index.js +24 -0
- package/components/dropdown/dist/registered.js +24 -0
- package/components/select/demo/api.min.js +24 -0
- package/components/select/demo/index.min.js +24 -0
- package/components/select/dist/index.js +24 -0
- package/components/select/dist/registered.js +24 -0
- package/package.json +1 -1
|
@@ -3941,6 +3941,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
}
|
|
3943
3943
|
});
|
|
3944
|
+
|
|
3945
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3946
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3947
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3948
|
+
}
|
|
3949
|
+
|
|
3950
|
+
disconnectedCallback() {
|
|
3951
|
+
super.disconnectedCallback();
|
|
3952
|
+
|
|
3953
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3954
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3944
3955
|
}
|
|
3945
3956
|
|
|
3946
3957
|
firstUpdated(changedProperties) {
|
|
@@ -3956,6 +3967,19 @@ class AuroDropdownBib extends i$2 {
|
|
|
3956
3967
|
}));
|
|
3957
3968
|
}
|
|
3958
3969
|
|
|
3970
|
+
/**
|
|
3971
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3972
|
+
* @param {Event} event - The touchmove event.
|
|
3973
|
+
* @returns {void}
|
|
3974
|
+
*/
|
|
3975
|
+
preventBodyScroll(event) {
|
|
3976
|
+
// when touchmove/touchstart on empty space
|
|
3977
|
+
if (event.target === this) {
|
|
3978
|
+
event.preventDefault();
|
|
3979
|
+
event.stopImmediatePropagation();
|
|
3980
|
+
}
|
|
3981
|
+
}
|
|
3982
|
+
|
|
3959
3983
|
// function that renders the HTML and CSS into the scope of the component
|
|
3960
3984
|
render() {
|
|
3961
3985
|
const classes = {
|
|
@@ -16180,7 +16204,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16180
16204
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16181
16205
|
setTimeout(() => {
|
|
16182
16206
|
if (document.activeElement === this) {
|
|
16183
|
-
this.
|
|
16207
|
+
this.setInputFocus();
|
|
16184
16208
|
}
|
|
16185
16209
|
}, 0);
|
|
16186
16210
|
});
|
|
@@ -16199,13 +16223,24 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16199
16223
|
this.hideBib = this.hideBib.bind(this);
|
|
16200
16224
|
this.bibtemplate.addEventListener('close-click', this.hideBib);
|
|
16201
16225
|
|
|
16202
|
-
this.
|
|
16226
|
+
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16203
16227
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16204
16228
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16205
|
-
setTimeout(this.
|
|
16229
|
+
setTimeout(this.setInputFocus, 0);
|
|
16206
16230
|
});
|
|
16207
16231
|
}
|
|
16208
16232
|
|
|
16233
|
+
/**
|
|
16234
|
+
* @private
|
|
16235
|
+
*/
|
|
16236
|
+
setInputFocus() {
|
|
16237
|
+
if (this.dropdown.isBibFullscreen && this.dropdown.isPopoverVisible) {
|
|
16238
|
+
this.inputInBib.focus();
|
|
16239
|
+
} else {
|
|
16240
|
+
this.input.focus();
|
|
16241
|
+
}
|
|
16242
|
+
}
|
|
16243
|
+
|
|
16209
16244
|
/**
|
|
16210
16245
|
* Binds all behavior needed to the menu after rendering.
|
|
16211
16246
|
* @private
|
|
@@ -16317,9 +16352,18 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16317
16352
|
/**
|
|
16318
16353
|
* Validate every time we remove focus from the datepicker.
|
|
16319
16354
|
*/
|
|
16320
|
-
this.addEventListener('focusout', () => {
|
|
16355
|
+
this.addEventListener('focusout', (event) => {
|
|
16356
|
+
if (event.relatedTarget === event.target) {
|
|
16357
|
+
// if the focus is moved within combobox, do nothing.
|
|
16358
|
+
return;
|
|
16359
|
+
}
|
|
16321
16360
|
if (document.activeElement !== this) {
|
|
16322
16361
|
this.validate();
|
|
16362
|
+
if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
|
|
16363
|
+
event.preventDefault();
|
|
16364
|
+
event.stopImmediatePropagation();
|
|
16365
|
+
this.focus();
|
|
16366
|
+
}
|
|
16323
16367
|
}
|
|
16324
16368
|
});
|
|
16325
16369
|
|
|
@@ -16495,10 +16539,8 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16495
16539
|
* @returns {void}
|
|
16496
16540
|
*/
|
|
16497
16541
|
focus() {
|
|
16498
|
-
if (
|
|
16499
|
-
this.
|
|
16500
|
-
} else {
|
|
16501
|
-
this.input.focus();
|
|
16542
|
+
if (document.activeElement !== this) {
|
|
16543
|
+
this.setInputFocus();
|
|
16502
16544
|
}
|
|
16503
16545
|
}
|
|
16504
16546
|
|
|
@@ -3799,6 +3799,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
3799
3799
|
}
|
|
3800
3800
|
}
|
|
3801
3801
|
});
|
|
3802
|
+
|
|
3803
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3804
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3805
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3806
|
+
}
|
|
3807
|
+
|
|
3808
|
+
disconnectedCallback() {
|
|
3809
|
+
super.disconnectedCallback();
|
|
3810
|
+
|
|
3811
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3812
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3802
3813
|
}
|
|
3803
3814
|
|
|
3804
3815
|
firstUpdated(changedProperties) {
|
|
@@ -3814,6 +3825,19 @@ class AuroDropdownBib extends i$2 {
|
|
|
3814
3825
|
}));
|
|
3815
3826
|
}
|
|
3816
3827
|
|
|
3828
|
+
/**
|
|
3829
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3830
|
+
* @param {Event} event - The touchmove event.
|
|
3831
|
+
* @returns {void}
|
|
3832
|
+
*/
|
|
3833
|
+
preventBodyScroll(event) {
|
|
3834
|
+
// when touchmove/touchstart on empty space
|
|
3835
|
+
if (event.target === this) {
|
|
3836
|
+
event.preventDefault();
|
|
3837
|
+
event.stopImmediatePropagation();
|
|
3838
|
+
}
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3817
3841
|
// function that renders the HTML and CSS into the scope of the component
|
|
3818
3842
|
render() {
|
|
3819
3843
|
const classes = {
|
|
@@ -16038,7 +16062,7 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16038
16062
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
16039
16063
|
setTimeout(() => {
|
|
16040
16064
|
if (document.activeElement === this) {
|
|
16041
|
-
this.
|
|
16065
|
+
this.setInputFocus();
|
|
16042
16066
|
}
|
|
16043
16067
|
}, 0);
|
|
16044
16068
|
});
|
|
@@ -16057,13 +16081,24 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16057
16081
|
this.hideBib = this.hideBib.bind(this);
|
|
16058
16082
|
this.bibtemplate.addEventListener('close-click', this.hideBib);
|
|
16059
16083
|
|
|
16060
|
-
this.
|
|
16084
|
+
this.setInputFocus = this.setInputFocus.bind(this);
|
|
16061
16085
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
16062
16086
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
16063
|
-
setTimeout(this.
|
|
16087
|
+
setTimeout(this.setInputFocus, 0);
|
|
16064
16088
|
});
|
|
16065
16089
|
}
|
|
16066
16090
|
|
|
16091
|
+
/**
|
|
16092
|
+
* @private
|
|
16093
|
+
*/
|
|
16094
|
+
setInputFocus() {
|
|
16095
|
+
if (this.dropdown.isBibFullscreen && this.dropdown.isPopoverVisible) {
|
|
16096
|
+
this.inputInBib.focus();
|
|
16097
|
+
} else {
|
|
16098
|
+
this.input.focus();
|
|
16099
|
+
}
|
|
16100
|
+
}
|
|
16101
|
+
|
|
16067
16102
|
/**
|
|
16068
16103
|
* Binds all behavior needed to the menu after rendering.
|
|
16069
16104
|
* @private
|
|
@@ -16175,9 +16210,18 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16175
16210
|
/**
|
|
16176
16211
|
* Validate every time we remove focus from the datepicker.
|
|
16177
16212
|
*/
|
|
16178
|
-
this.addEventListener('focusout', () => {
|
|
16213
|
+
this.addEventListener('focusout', (event) => {
|
|
16214
|
+
if (event.relatedTarget === event.target) {
|
|
16215
|
+
// if the focus is moved within combobox, do nothing.
|
|
16216
|
+
return;
|
|
16217
|
+
}
|
|
16179
16218
|
if (document.activeElement !== this) {
|
|
16180
16219
|
this.validate();
|
|
16220
|
+
if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
|
|
16221
|
+
event.preventDefault();
|
|
16222
|
+
event.stopImmediatePropagation();
|
|
16223
|
+
this.focus();
|
|
16224
|
+
}
|
|
16181
16225
|
}
|
|
16182
16226
|
});
|
|
16183
16227
|
|
|
@@ -16353,10 +16397,8 @@ class AuroCombobox extends AuroElement$1 {
|
|
|
16353
16397
|
* @returns {void}
|
|
16354
16398
|
*/
|
|
16355
16399
|
focus() {
|
|
16356
|
-
if (
|
|
16357
|
-
this.
|
|
16358
|
-
} else {
|
|
16359
|
-
this.input.focus();
|
|
16400
|
+
if (document.activeElement !== this) {
|
|
16401
|
+
this.setInputFocus();
|
|
16360
16402
|
}
|
|
16361
16403
|
}
|
|
16362
16404
|
|
|
@@ -332,10 +332,9 @@ export class AuroCombobox extends AuroElement {
|
|
|
332
332
|
bibtemplate: any;
|
|
333
333
|
inputInBib: any;
|
|
334
334
|
/**
|
|
335
|
-
*
|
|
336
|
-
* @returns {void}
|
|
335
|
+
* @private
|
|
337
336
|
*/
|
|
338
|
-
|
|
337
|
+
private setInputFocus;
|
|
339
338
|
/**
|
|
340
339
|
* Binds all behavior needed to the menu after rendering.
|
|
341
340
|
* @private
|
|
@@ -381,6 +380,11 @@ export class AuroCombobox extends AuroElement {
|
|
|
381
380
|
firstUpdated(): void;
|
|
382
381
|
dropdown: any;
|
|
383
382
|
input: any;
|
|
383
|
+
/**
|
|
384
|
+
* Focuses the combobox trigger input.
|
|
385
|
+
* @returns {void}
|
|
386
|
+
*/
|
|
387
|
+
focus(): void;
|
|
384
388
|
/**
|
|
385
389
|
* Resets component to initial state.
|
|
386
390
|
* @returns {void}
|
|
@@ -3730,6 +3730,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
3732
|
});
|
|
3733
|
+
|
|
3734
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3735
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3736
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
disconnectedCallback() {
|
|
3740
|
+
super.disconnectedCallback();
|
|
3741
|
+
|
|
3742
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3743
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3733
3744
|
}
|
|
3734
3745
|
|
|
3735
3746
|
firstUpdated(changedProperties) {
|
|
@@ -3745,6 +3756,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
3745
3756
|
}));
|
|
3746
3757
|
}
|
|
3747
3758
|
|
|
3759
|
+
/**
|
|
3760
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3761
|
+
* @param {Event} event - The touchmove event.
|
|
3762
|
+
* @returns {void}
|
|
3763
|
+
*/
|
|
3764
|
+
preventBodyScroll(event) {
|
|
3765
|
+
// when touchmove/touchstart on empty space
|
|
3766
|
+
if (event.target === this) {
|
|
3767
|
+
event.preventDefault();
|
|
3768
|
+
event.stopImmediatePropagation();
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3748
3772
|
// function that renders the HTML and CSS into the scope of the component
|
|
3749
3773
|
render() {
|
|
3750
3774
|
const classes = {
|
|
@@ -15956,7 +15980,7 @@ class AuroCombobox extends AuroElement {
|
|
|
15956
15980
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
15957
15981
|
setTimeout(() => {
|
|
15958
15982
|
if (document.activeElement === this) {
|
|
15959
|
-
this.
|
|
15983
|
+
this.setInputFocus();
|
|
15960
15984
|
}
|
|
15961
15985
|
}, 0);
|
|
15962
15986
|
});
|
|
@@ -15975,13 +15999,24 @@ class AuroCombobox extends AuroElement {
|
|
|
15975
15999
|
this.hideBib = this.hideBib.bind(this);
|
|
15976
16000
|
this.bibtemplate.addEventListener('close-click', this.hideBib);
|
|
15977
16001
|
|
|
15978
|
-
this.
|
|
16002
|
+
this.setInputFocus = this.setInputFocus.bind(this);
|
|
15979
16003
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
15980
16004
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
15981
|
-
setTimeout(this.
|
|
16005
|
+
setTimeout(this.setInputFocus, 0);
|
|
15982
16006
|
});
|
|
15983
16007
|
}
|
|
15984
16008
|
|
|
16009
|
+
/**
|
|
16010
|
+
* @private
|
|
16011
|
+
*/
|
|
16012
|
+
setInputFocus() {
|
|
16013
|
+
if (this.dropdown.isBibFullscreen && this.dropdown.isPopoverVisible) {
|
|
16014
|
+
this.inputInBib.focus();
|
|
16015
|
+
} else {
|
|
16016
|
+
this.input.focus();
|
|
16017
|
+
}
|
|
16018
|
+
}
|
|
16019
|
+
|
|
15985
16020
|
/**
|
|
15986
16021
|
* Binds all behavior needed to the menu after rendering.
|
|
15987
16022
|
* @private
|
|
@@ -16093,9 +16128,18 @@ class AuroCombobox extends AuroElement {
|
|
|
16093
16128
|
/**
|
|
16094
16129
|
* Validate every time we remove focus from the datepicker.
|
|
16095
16130
|
*/
|
|
16096
|
-
this.addEventListener('focusout', () => {
|
|
16131
|
+
this.addEventListener('focusout', (event) => {
|
|
16132
|
+
if (event.relatedTarget === event.target) {
|
|
16133
|
+
// if the focus is moved within combobox, do nothing.
|
|
16134
|
+
return;
|
|
16135
|
+
}
|
|
16097
16136
|
if (document.activeElement !== this) {
|
|
16098
16137
|
this.validate();
|
|
16138
|
+
if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
|
|
16139
|
+
event.preventDefault();
|
|
16140
|
+
event.stopImmediatePropagation();
|
|
16141
|
+
this.focus();
|
|
16142
|
+
}
|
|
16099
16143
|
}
|
|
16100
16144
|
});
|
|
16101
16145
|
|
|
@@ -16271,10 +16315,8 @@ class AuroCombobox extends AuroElement {
|
|
|
16271
16315
|
* @returns {void}
|
|
16272
16316
|
*/
|
|
16273
16317
|
focus() {
|
|
16274
|
-
if (
|
|
16275
|
-
this.
|
|
16276
|
-
} else {
|
|
16277
|
-
this.input.focus();
|
|
16318
|
+
if (document.activeElement !== this) {
|
|
16319
|
+
this.setInputFocus();
|
|
16278
16320
|
}
|
|
16279
16321
|
}
|
|
16280
16322
|
|
|
@@ -3730,6 +3730,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
3732
|
});
|
|
3733
|
+
|
|
3734
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3735
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3736
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
disconnectedCallback() {
|
|
3740
|
+
super.disconnectedCallback();
|
|
3741
|
+
|
|
3742
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3743
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3733
3744
|
}
|
|
3734
3745
|
|
|
3735
3746
|
firstUpdated(changedProperties) {
|
|
@@ -3745,6 +3756,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
3745
3756
|
}));
|
|
3746
3757
|
}
|
|
3747
3758
|
|
|
3759
|
+
/**
|
|
3760
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3761
|
+
* @param {Event} event - The touchmove event.
|
|
3762
|
+
* @returns {void}
|
|
3763
|
+
*/
|
|
3764
|
+
preventBodyScroll(event) {
|
|
3765
|
+
// when touchmove/touchstart on empty space
|
|
3766
|
+
if (event.target === this) {
|
|
3767
|
+
event.preventDefault();
|
|
3768
|
+
event.stopImmediatePropagation();
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3748
3772
|
// function that renders the HTML and CSS into the scope of the component
|
|
3749
3773
|
render() {
|
|
3750
3774
|
const classes = {
|
|
@@ -15956,7 +15980,7 @@ class AuroCombobox extends AuroElement {
|
|
|
15956
15980
|
// wait a frame in case the bib gets hide immediately after showing because there is no value
|
|
15957
15981
|
setTimeout(() => {
|
|
15958
15982
|
if (document.activeElement === this) {
|
|
15959
|
-
this.
|
|
15983
|
+
this.setInputFocus();
|
|
15960
15984
|
}
|
|
15961
15985
|
}, 0);
|
|
15962
15986
|
});
|
|
@@ -15975,13 +15999,24 @@ class AuroCombobox extends AuroElement {
|
|
|
15975
15999
|
this.hideBib = this.hideBib.bind(this);
|
|
15976
16000
|
this.bibtemplate.addEventListener('close-click', this.hideBib);
|
|
15977
16001
|
|
|
15978
|
-
this.
|
|
16002
|
+
this.setInputFocus = this.setInputFocus.bind(this);
|
|
15979
16003
|
this.dropdown.addEventListener('auroDropdown-strategy-change', () => {
|
|
15980
16004
|
// event when the strategy(bib mode) is changed between fullscreen and floating
|
|
15981
|
-
setTimeout(this.
|
|
16005
|
+
setTimeout(this.setInputFocus, 0);
|
|
15982
16006
|
});
|
|
15983
16007
|
}
|
|
15984
16008
|
|
|
16009
|
+
/**
|
|
16010
|
+
* @private
|
|
16011
|
+
*/
|
|
16012
|
+
setInputFocus() {
|
|
16013
|
+
if (this.dropdown.isBibFullscreen && this.dropdown.isPopoverVisible) {
|
|
16014
|
+
this.inputInBib.focus();
|
|
16015
|
+
} else {
|
|
16016
|
+
this.input.focus();
|
|
16017
|
+
}
|
|
16018
|
+
}
|
|
16019
|
+
|
|
15985
16020
|
/**
|
|
15986
16021
|
* Binds all behavior needed to the menu after rendering.
|
|
15987
16022
|
* @private
|
|
@@ -16093,9 +16128,18 @@ class AuroCombobox extends AuroElement {
|
|
|
16093
16128
|
/**
|
|
16094
16129
|
* Validate every time we remove focus from the datepicker.
|
|
16095
16130
|
*/
|
|
16096
|
-
this.addEventListener('focusout', () => {
|
|
16131
|
+
this.addEventListener('focusout', (event) => {
|
|
16132
|
+
if (event.relatedTarget === event.target) {
|
|
16133
|
+
// if the focus is moved within combobox, do nothing.
|
|
16134
|
+
return;
|
|
16135
|
+
}
|
|
16097
16136
|
if (document.activeElement !== this) {
|
|
16098
16137
|
this.validate();
|
|
16138
|
+
if (this.dropdown.isPopoverVisible && this.dropdown.isBibFullscreen) {
|
|
16139
|
+
event.preventDefault();
|
|
16140
|
+
event.stopImmediatePropagation();
|
|
16141
|
+
this.focus();
|
|
16142
|
+
}
|
|
16099
16143
|
}
|
|
16100
16144
|
});
|
|
16101
16145
|
|
|
@@ -16271,10 +16315,8 @@ class AuroCombobox extends AuroElement {
|
|
|
16271
16315
|
* @returns {void}
|
|
16272
16316
|
*/
|
|
16273
16317
|
focus() {
|
|
16274
|
-
if (
|
|
16275
|
-
this.
|
|
16276
|
-
} else {
|
|
16277
|
-
this.input.focus();
|
|
16318
|
+
if (document.activeElement !== this) {
|
|
16319
|
+
this.setInputFocus();
|
|
16278
16320
|
}
|
|
16279
16321
|
}
|
|
16280
16322
|
|
|
@@ -5650,6 +5650,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
5650
5650
|
}
|
|
5651
5651
|
}
|
|
5652
5652
|
});
|
|
5653
|
+
|
|
5654
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
5655
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5656
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
disconnectedCallback() {
|
|
5660
|
+
super.disconnectedCallback();
|
|
5661
|
+
|
|
5662
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5663
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5653
5664
|
}
|
|
5654
5665
|
|
|
5655
5666
|
firstUpdated(changedProperties) {
|
|
@@ -5665,6 +5676,19 @@ class AuroDropdownBib extends i$2 {
|
|
|
5665
5676
|
}));
|
|
5666
5677
|
}
|
|
5667
5678
|
|
|
5679
|
+
/**
|
|
5680
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
5681
|
+
* @param {Event} event - The touchmove event.
|
|
5682
|
+
* @returns {void}
|
|
5683
|
+
*/
|
|
5684
|
+
preventBodyScroll(event) {
|
|
5685
|
+
// when touchmove/touchstart on empty space
|
|
5686
|
+
if (event.target === this) {
|
|
5687
|
+
event.preventDefault();
|
|
5688
|
+
event.stopImmediatePropagation();
|
|
5689
|
+
}
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5668
5692
|
// function that renders the HTML and CSS into the scope of the component
|
|
5669
5693
|
render() {
|
|
5670
5694
|
const classes = {
|
|
@@ -5650,6 +5650,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
5650
5650
|
}
|
|
5651
5651
|
}
|
|
5652
5652
|
});
|
|
5653
|
+
|
|
5654
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
5655
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5656
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5657
|
+
}
|
|
5658
|
+
|
|
5659
|
+
disconnectedCallback() {
|
|
5660
|
+
super.disconnectedCallback();
|
|
5661
|
+
|
|
5662
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5663
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5653
5664
|
}
|
|
5654
5665
|
|
|
5655
5666
|
firstUpdated(changedProperties) {
|
|
@@ -5665,6 +5676,19 @@ class AuroDropdownBib extends i$2 {
|
|
|
5665
5676
|
}));
|
|
5666
5677
|
}
|
|
5667
5678
|
|
|
5679
|
+
/**
|
|
5680
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
5681
|
+
* @param {Event} event - The touchmove event.
|
|
5682
|
+
* @returns {void}
|
|
5683
|
+
*/
|
|
5684
|
+
preventBodyScroll(event) {
|
|
5685
|
+
// when touchmove/touchstart on empty space
|
|
5686
|
+
if (event.target === this) {
|
|
5687
|
+
event.preventDefault();
|
|
5688
|
+
event.stopImmediatePropagation();
|
|
5689
|
+
}
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5668
5692
|
// function that renders the HTML and CSS into the scope of the component
|
|
5669
5693
|
render() {
|
|
5670
5694
|
const classes = {
|
|
@@ -5603,6 +5603,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
5603
5603
|
}
|
|
5604
5604
|
}
|
|
5605
5605
|
});
|
|
5606
|
+
|
|
5607
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
5608
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5609
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
disconnectedCallback() {
|
|
5613
|
+
super.disconnectedCallback();
|
|
5614
|
+
|
|
5615
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5616
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5606
5617
|
}
|
|
5607
5618
|
|
|
5608
5619
|
firstUpdated(changedProperties) {
|
|
@@ -5618,6 +5629,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
5618
5629
|
}));
|
|
5619
5630
|
}
|
|
5620
5631
|
|
|
5632
|
+
/**
|
|
5633
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
5634
|
+
* @param {Event} event - The touchmove event.
|
|
5635
|
+
* @returns {void}
|
|
5636
|
+
*/
|
|
5637
|
+
preventBodyScroll(event) {
|
|
5638
|
+
// when touchmove/touchstart on empty space
|
|
5639
|
+
if (event.target === this) {
|
|
5640
|
+
event.preventDefault();
|
|
5641
|
+
event.stopImmediatePropagation();
|
|
5642
|
+
}
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5621
5645
|
// function that renders the HTML and CSS into the scope of the component
|
|
5622
5646
|
render() {
|
|
5623
5647
|
const classes = {
|
|
@@ -5603,6 +5603,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
5603
5603
|
}
|
|
5604
5604
|
}
|
|
5605
5605
|
});
|
|
5606
|
+
|
|
5607
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
5608
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5609
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5610
|
+
}
|
|
5611
|
+
|
|
5612
|
+
disconnectedCallback() {
|
|
5613
|
+
super.disconnectedCallback();
|
|
5614
|
+
|
|
5615
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
5616
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
5606
5617
|
}
|
|
5607
5618
|
|
|
5608
5619
|
firstUpdated(changedProperties) {
|
|
@@ -5618,6 +5629,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
5618
5629
|
}));
|
|
5619
5630
|
}
|
|
5620
5631
|
|
|
5632
|
+
/**
|
|
5633
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
5634
|
+
* @param {Event} event - The touchmove event.
|
|
5635
|
+
* @returns {void}
|
|
5636
|
+
*/
|
|
5637
|
+
preventBodyScroll(event) {
|
|
5638
|
+
// when touchmove/touchstart on empty space
|
|
5639
|
+
if (event.target === this) {
|
|
5640
|
+
event.preventDefault();
|
|
5641
|
+
event.stopImmediatePropagation();
|
|
5642
|
+
}
|
|
5643
|
+
}
|
|
5644
|
+
|
|
5621
5645
|
// function that renders the HTML and CSS into the scope of the component
|
|
5622
5646
|
render() {
|
|
5623
5647
|
const classes = {
|
|
@@ -17234,6 +17234,17 @@ class AuroDropdownBib extends i {
|
|
|
17234
17234
|
}
|
|
17235
17235
|
}
|
|
17236
17236
|
});
|
|
17237
|
+
|
|
17238
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
17239
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
17240
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
17241
|
+
}
|
|
17242
|
+
|
|
17243
|
+
disconnectedCallback() {
|
|
17244
|
+
super.disconnectedCallback();
|
|
17245
|
+
|
|
17246
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
17247
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
17237
17248
|
}
|
|
17238
17249
|
|
|
17239
17250
|
firstUpdated(changedProperties) {
|
|
@@ -17249,6 +17260,19 @@ class AuroDropdownBib extends i {
|
|
|
17249
17260
|
}));
|
|
17250
17261
|
}
|
|
17251
17262
|
|
|
17263
|
+
/**
|
|
17264
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
17265
|
+
* @param {Event} event - The touchmove event.
|
|
17266
|
+
* @returns {void}
|
|
17267
|
+
*/
|
|
17268
|
+
preventBodyScroll(event) {
|
|
17269
|
+
// when touchmove/touchstart on empty space
|
|
17270
|
+
if (event.target === this) {
|
|
17271
|
+
event.preventDefault();
|
|
17272
|
+
event.stopImmediatePropagation();
|
|
17273
|
+
}
|
|
17274
|
+
}
|
|
17275
|
+
|
|
17252
17276
|
// function that renders the HTML and CSS into the scope of the component
|
|
17253
17277
|
render() {
|
|
17254
17278
|
const classes = {
|
|
@@ -16975,6 +16975,17 @@ class AuroDropdownBib extends i {
|
|
|
16975
16975
|
}
|
|
16976
16976
|
}
|
|
16977
16977
|
});
|
|
16978
|
+
|
|
16979
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
16980
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
16981
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
16982
|
+
}
|
|
16983
|
+
|
|
16984
|
+
disconnectedCallback() {
|
|
16985
|
+
super.disconnectedCallback();
|
|
16986
|
+
|
|
16987
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
16988
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
16978
16989
|
}
|
|
16979
16990
|
|
|
16980
16991
|
firstUpdated(changedProperties) {
|
|
@@ -16990,6 +17001,19 @@ class AuroDropdownBib extends i {
|
|
|
16990
17001
|
}));
|
|
16991
17002
|
}
|
|
16992
17003
|
|
|
17004
|
+
/**
|
|
17005
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
17006
|
+
* @param {Event} event - The touchmove event.
|
|
17007
|
+
* @returns {void}
|
|
17008
|
+
*/
|
|
17009
|
+
preventBodyScroll(event) {
|
|
17010
|
+
// when touchmove/touchstart on empty space
|
|
17011
|
+
if (event.target === this) {
|
|
17012
|
+
event.preventDefault();
|
|
17013
|
+
event.stopImmediatePropagation();
|
|
17014
|
+
}
|
|
17015
|
+
}
|
|
17016
|
+
|
|
16993
17017
|
// function that renders the HTML and CSS into the scope of the component
|
|
16994
17018
|
render() {
|
|
16995
17019
|
const classes = {
|
|
@@ -16924,6 +16924,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
16924
16924
|
}
|
|
16925
16925
|
}
|
|
16926
16926
|
});
|
|
16927
|
+
|
|
16928
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
16929
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
16930
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
16931
|
+
}
|
|
16932
|
+
|
|
16933
|
+
disconnectedCallback() {
|
|
16934
|
+
super.disconnectedCallback();
|
|
16935
|
+
|
|
16936
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
16937
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
16927
16938
|
}
|
|
16928
16939
|
|
|
16929
16940
|
firstUpdated(changedProperties) {
|
|
@@ -16939,6 +16950,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
16939
16950
|
}));
|
|
16940
16951
|
}
|
|
16941
16952
|
|
|
16953
|
+
/**
|
|
16954
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
16955
|
+
* @param {Event} event - The touchmove event.
|
|
16956
|
+
* @returns {void}
|
|
16957
|
+
*/
|
|
16958
|
+
preventBodyScroll(event) {
|
|
16959
|
+
// when touchmove/touchstart on empty space
|
|
16960
|
+
if (event.target === this) {
|
|
16961
|
+
event.preventDefault();
|
|
16962
|
+
event.stopImmediatePropagation();
|
|
16963
|
+
}
|
|
16964
|
+
}
|
|
16965
|
+
|
|
16942
16966
|
// function that renders the HTML and CSS into the scope of the component
|
|
16943
16967
|
render() {
|
|
16944
16968
|
const classes = {
|
|
@@ -16924,6 +16924,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
16924
16924
|
}
|
|
16925
16925
|
}
|
|
16926
16926
|
});
|
|
16927
|
+
|
|
16928
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
16929
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
16930
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
16931
|
+
}
|
|
16932
|
+
|
|
16933
|
+
disconnectedCallback() {
|
|
16934
|
+
super.disconnectedCallback();
|
|
16935
|
+
|
|
16936
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
16937
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
16927
16938
|
}
|
|
16928
16939
|
|
|
16929
16940
|
firstUpdated(changedProperties) {
|
|
@@ -16939,6 +16950,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
16939
16950
|
}));
|
|
16940
16951
|
}
|
|
16941
16952
|
|
|
16953
|
+
/**
|
|
16954
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
16955
|
+
* @param {Event} event - The touchmove event.
|
|
16956
|
+
* @returns {void}
|
|
16957
|
+
*/
|
|
16958
|
+
preventBodyScroll(event) {
|
|
16959
|
+
// when touchmove/touchstart on empty space
|
|
16960
|
+
if (event.target === this) {
|
|
16961
|
+
event.preventDefault();
|
|
16962
|
+
event.stopImmediatePropagation();
|
|
16963
|
+
}
|
|
16964
|
+
}
|
|
16965
|
+
|
|
16942
16966
|
// function that renders the HTML and CSS into the scope of the component
|
|
16943
16967
|
render() {
|
|
16944
16968
|
const classes = {
|
|
@@ -2914,6 +2914,17 @@ class AuroDropdownBib extends i {
|
|
|
2914
2914
|
}
|
|
2915
2915
|
}
|
|
2916
2916
|
});
|
|
2917
|
+
|
|
2918
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
2919
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2920
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
disconnectedCallback() {
|
|
2924
|
+
super.disconnectedCallback();
|
|
2925
|
+
|
|
2926
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2927
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2917
2928
|
}
|
|
2918
2929
|
|
|
2919
2930
|
firstUpdated(changedProperties) {
|
|
@@ -2929,6 +2940,19 @@ class AuroDropdownBib extends i {
|
|
|
2929
2940
|
}));
|
|
2930
2941
|
}
|
|
2931
2942
|
|
|
2943
|
+
/**
|
|
2944
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
2945
|
+
* @param {Event} event - The touchmove event.
|
|
2946
|
+
* @returns {void}
|
|
2947
|
+
*/
|
|
2948
|
+
preventBodyScroll(event) {
|
|
2949
|
+
// when touchmove/touchstart on empty space
|
|
2950
|
+
if (event.target === this) {
|
|
2951
|
+
event.preventDefault();
|
|
2952
|
+
event.stopImmediatePropagation();
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2932
2956
|
// function that renders the HTML and CSS into the scope of the component
|
|
2933
2957
|
render() {
|
|
2934
2958
|
const classes = {
|
|
@@ -2889,6 +2889,17 @@ class AuroDropdownBib extends i {
|
|
|
2889
2889
|
}
|
|
2890
2890
|
}
|
|
2891
2891
|
});
|
|
2892
|
+
|
|
2893
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
2894
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2895
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
disconnectedCallback() {
|
|
2899
|
+
super.disconnectedCallback();
|
|
2900
|
+
|
|
2901
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2902
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2892
2903
|
}
|
|
2893
2904
|
|
|
2894
2905
|
firstUpdated(changedProperties) {
|
|
@@ -2904,6 +2915,19 @@ class AuroDropdownBib extends i {
|
|
|
2904
2915
|
}));
|
|
2905
2916
|
}
|
|
2906
2917
|
|
|
2918
|
+
/**
|
|
2919
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
2920
|
+
* @param {Event} event - The touchmove event.
|
|
2921
|
+
* @returns {void}
|
|
2922
|
+
*/
|
|
2923
|
+
preventBodyScroll(event) {
|
|
2924
|
+
// when touchmove/touchstart on empty space
|
|
2925
|
+
if (event.target === this) {
|
|
2926
|
+
event.preventDefault();
|
|
2927
|
+
event.stopImmediatePropagation();
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
|
|
2907
2931
|
// function that renders the HTML and CSS into the scope of the component
|
|
2908
2932
|
render() {
|
|
2909
2933
|
const classes = {
|
|
@@ -62,6 +62,12 @@ export class AuroDropdownBib extends LitElement {
|
|
|
62
62
|
get mobileFullscreenBreakpoint(): string;
|
|
63
63
|
updated(changedProperties: any): void;
|
|
64
64
|
bibTemplate: any;
|
|
65
|
+
/**
|
|
66
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
67
|
+
* @param {Event} event - The touchmove event.
|
|
68
|
+
* @returns {void}
|
|
69
|
+
*/
|
|
70
|
+
preventBodyScroll(event: Event): void;
|
|
65
71
|
firstUpdated(changedProperties: any): void;
|
|
66
72
|
render(): import("lit-html").TemplateResult;
|
|
67
73
|
}
|
|
@@ -2842,6 +2842,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
2842
2842
|
}
|
|
2843
2843
|
}
|
|
2844
2844
|
});
|
|
2845
|
+
|
|
2846
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
2847
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2848
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
disconnectedCallback() {
|
|
2852
|
+
super.disconnectedCallback();
|
|
2853
|
+
|
|
2854
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2855
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2845
2856
|
}
|
|
2846
2857
|
|
|
2847
2858
|
firstUpdated(changedProperties) {
|
|
@@ -2857,6 +2868,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
2857
2868
|
}));
|
|
2858
2869
|
}
|
|
2859
2870
|
|
|
2871
|
+
/**
|
|
2872
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
2873
|
+
* @param {Event} event - The touchmove event.
|
|
2874
|
+
* @returns {void}
|
|
2875
|
+
*/
|
|
2876
|
+
preventBodyScroll(event) {
|
|
2877
|
+
// when touchmove/touchstart on empty space
|
|
2878
|
+
if (event.target === this) {
|
|
2879
|
+
event.preventDefault();
|
|
2880
|
+
event.stopImmediatePropagation();
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2860
2884
|
// function that renders the HTML and CSS into the scope of the component
|
|
2861
2885
|
render() {
|
|
2862
2886
|
const classes = {
|
|
@@ -2842,6 +2842,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
2842
2842
|
}
|
|
2843
2843
|
}
|
|
2844
2844
|
});
|
|
2845
|
+
|
|
2846
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
2847
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2848
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
disconnectedCallback() {
|
|
2852
|
+
super.disconnectedCallback();
|
|
2853
|
+
|
|
2854
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
2855
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
2845
2856
|
}
|
|
2846
2857
|
|
|
2847
2858
|
firstUpdated(changedProperties) {
|
|
@@ -2857,6 +2868,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
2857
2868
|
}));
|
|
2858
2869
|
}
|
|
2859
2870
|
|
|
2871
|
+
/**
|
|
2872
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
2873
|
+
* @param {Event} event - The touchmove event.
|
|
2874
|
+
* @returns {void}
|
|
2875
|
+
*/
|
|
2876
|
+
preventBodyScroll(event) {
|
|
2877
|
+
// when touchmove/touchstart on empty space
|
|
2878
|
+
if (event.target === this) {
|
|
2879
|
+
event.preventDefault();
|
|
2880
|
+
event.stopImmediatePropagation();
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2860
2884
|
// function that renders the HTML and CSS into the scope of the component
|
|
2861
2885
|
render() {
|
|
2862
2886
|
const classes = {
|
|
@@ -3978,6 +3978,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
3980
|
});
|
|
3981
|
+
|
|
3982
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3983
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3984
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3987
|
+
disconnectedCallback() {
|
|
3988
|
+
super.disconnectedCallback();
|
|
3989
|
+
|
|
3990
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3991
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3981
3992
|
}
|
|
3982
3993
|
|
|
3983
3994
|
firstUpdated(changedProperties) {
|
|
@@ -3993,6 +4004,19 @@ class AuroDropdownBib extends i$2 {
|
|
|
3993
4004
|
}));
|
|
3994
4005
|
}
|
|
3995
4006
|
|
|
4007
|
+
/**
|
|
4008
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
4009
|
+
* @param {Event} event - The touchmove event.
|
|
4010
|
+
* @returns {void}
|
|
4011
|
+
*/
|
|
4012
|
+
preventBodyScroll(event) {
|
|
4013
|
+
// when touchmove/touchstart on empty space
|
|
4014
|
+
if (event.target === this) {
|
|
4015
|
+
event.preventDefault();
|
|
4016
|
+
event.stopImmediatePropagation();
|
|
4017
|
+
}
|
|
4018
|
+
}
|
|
4019
|
+
|
|
3996
4020
|
// function that renders the HTML and CSS into the scope of the component
|
|
3997
4021
|
render() {
|
|
3998
4022
|
const classes = {
|
|
@@ -3875,6 +3875,17 @@ class AuroDropdownBib extends i$2 {
|
|
|
3875
3875
|
}
|
|
3876
3876
|
}
|
|
3877
3877
|
});
|
|
3878
|
+
|
|
3879
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3880
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3881
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3882
|
+
}
|
|
3883
|
+
|
|
3884
|
+
disconnectedCallback() {
|
|
3885
|
+
super.disconnectedCallback();
|
|
3886
|
+
|
|
3887
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3888
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3878
3889
|
}
|
|
3879
3890
|
|
|
3880
3891
|
firstUpdated(changedProperties) {
|
|
@@ -3890,6 +3901,19 @@ class AuroDropdownBib extends i$2 {
|
|
|
3890
3901
|
}));
|
|
3891
3902
|
}
|
|
3892
3903
|
|
|
3904
|
+
/**
|
|
3905
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3906
|
+
* @param {Event} event - The touchmove event.
|
|
3907
|
+
* @returns {void}
|
|
3908
|
+
*/
|
|
3909
|
+
preventBodyScroll(event) {
|
|
3910
|
+
// when touchmove/touchstart on empty space
|
|
3911
|
+
if (event.target === this) {
|
|
3912
|
+
event.preventDefault();
|
|
3913
|
+
event.stopImmediatePropagation();
|
|
3914
|
+
}
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3893
3917
|
// function that renders the HTML and CSS into the scope of the component
|
|
3894
3918
|
render() {
|
|
3895
3919
|
const classes = {
|
|
@@ -3829,6 +3829,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
3831
|
});
|
|
3832
|
+
|
|
3833
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3834
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3835
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
disconnectedCallback() {
|
|
3839
|
+
super.disconnectedCallback();
|
|
3840
|
+
|
|
3841
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3842
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3832
3843
|
}
|
|
3833
3844
|
|
|
3834
3845
|
firstUpdated(changedProperties) {
|
|
@@ -3844,6 +3855,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
3844
3855
|
}));
|
|
3845
3856
|
}
|
|
3846
3857
|
|
|
3858
|
+
/**
|
|
3859
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3860
|
+
* @param {Event} event - The touchmove event.
|
|
3861
|
+
* @returns {void}
|
|
3862
|
+
*/
|
|
3863
|
+
preventBodyScroll(event) {
|
|
3864
|
+
// when touchmove/touchstart on empty space
|
|
3865
|
+
if (event.target === this) {
|
|
3866
|
+
event.preventDefault();
|
|
3867
|
+
event.stopImmediatePropagation();
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3847
3871
|
// function that renders the HTML and CSS into the scope of the component
|
|
3848
3872
|
render() {
|
|
3849
3873
|
const classes = {
|
|
@@ -3829,6 +3829,17 @@ class AuroDropdownBib extends LitElement {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
}
|
|
3831
3831
|
});
|
|
3832
|
+
|
|
3833
|
+
this.preventBodyScroll = this.preventBodyScroll.bind(this);
|
|
3834
|
+
this.addEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3835
|
+
this.addEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
disconnectedCallback() {
|
|
3839
|
+
super.disconnectedCallback();
|
|
3840
|
+
|
|
3841
|
+
this.removeEventListener('touchmove', this.preventBodyScroll, { passive: false });
|
|
3842
|
+
this.removeEventListener('touchstart', this.preventBodyScroll, { passive: false });
|
|
3832
3843
|
}
|
|
3833
3844
|
|
|
3834
3845
|
firstUpdated(changedProperties) {
|
|
@@ -3844,6 +3855,19 @@ class AuroDropdownBib extends LitElement {
|
|
|
3844
3855
|
}));
|
|
3845
3856
|
}
|
|
3846
3857
|
|
|
3858
|
+
/**
|
|
3859
|
+
* Prevents scrolling of the body when touching empty areas of the component.
|
|
3860
|
+
* @param {Event} event - The touchmove event.
|
|
3861
|
+
* @returns {void}
|
|
3862
|
+
*/
|
|
3863
|
+
preventBodyScroll(event) {
|
|
3864
|
+
// when touchmove/touchstart on empty space
|
|
3865
|
+
if (event.target === this) {
|
|
3866
|
+
event.preventDefault();
|
|
3867
|
+
event.stopImmediatePropagation();
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3847
3871
|
// function that renders the HTML and CSS into the scope of the component
|
|
3848
3872
|
render() {
|
|
3849
3873
|
const classes = {
|
package/package.json
CHANGED