@aurodesignsystem-dev/auro-formkit 0.0.0-pr1348.1 → 0.0.0-pr1348.3
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/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +26 -39
- package/components/combobox/demo/index.min.js +26 -39
- package/components/combobox/dist/index.js +26 -39
- package/components/combobox/dist/registered.js +26 -39
- package/components/counter/demo/api.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/api.min.js +26 -39
- package/components/datepicker/demo/index.min.js +26 -39
- package/components/datepicker/dist/index.js +26 -39
- package/components/datepicker/dist/registered.js +26 -39
- package/components/dropdown/demo/api.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/input/demo/api.min.js +24 -37
- package/components/input/demo/index.min.js +24 -37
- package/components/input/dist/index.js +24 -37
- package/components/input/dist/registered.js +24 -37
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +2 -2
- package/components/select/demo/index.min.js +2 -2
- package/components/select/dist/index.js +2 -2
- package/components/select/dist/registered.js +2 -2
- package/package.json +1 -1
|
@@ -1687,7 +1687,7 @@ class AuroHelpText extends i$2 {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
1690
|
-
var formkitVersion = '
|
|
1690
|
+
var formkitVersion = '202602201712';
|
|
1691
1691
|
|
|
1692
1692
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1693
1693
|
// See LICENSE in the project root for license information.
|
|
@@ -1679,7 +1679,7 @@ class AuroHelpText extends i$2 {
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
|
|
1682
|
-
var formkitVersion = '
|
|
1682
|
+
var formkitVersion = '202602201712';
|
|
1683
1683
|
|
|
1684
1684
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1685
1685
|
// See LICENSE in the project root for license information.
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202602201712';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -1632,7 +1632,7 @@ class AuroHelpText extends LitElement {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
var formkitVersion = '
|
|
1635
|
+
var formkitVersion = '202602201712';
|
|
1636
1636
|
|
|
1637
1637
|
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1638
1638
|
// See LICENSE in the project root for license information.
|
|
@@ -4389,7 +4389,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4389
4389
|
}
|
|
4390
4390
|
};
|
|
4391
4391
|
|
|
4392
|
-
var formkitVersion$2 = '
|
|
4392
|
+
var formkitVersion$2 = '202602201712';
|
|
4393
4393
|
|
|
4394
4394
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4395
4395
|
static get properties() {
|
|
@@ -11213,12 +11213,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11213
11213
|
|
|
11214
11214
|
this.maskInstance.on('accept', () => {
|
|
11215
11215
|
this.value = this.maskInstance.value;
|
|
11216
|
-
|
|
11217
|
-
// For credit card inputs, validate on every accept event when validateOnInput is true
|
|
11218
|
-
if (this.type === 'credit-card' && this.validateOnInput) {
|
|
11219
|
-
this.touched = true;
|
|
11220
|
-
this.validation.validate(this);
|
|
11221
|
-
}
|
|
11222
11216
|
});
|
|
11223
11217
|
|
|
11224
11218
|
this.maskInstance.on('complete', () => {
|
|
@@ -11231,12 +11225,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11231
11225
|
this.formattedDate = formattedDates.formattedDate;
|
|
11232
11226
|
this.comparisonDate = formattedDates.dateForComparison;
|
|
11233
11227
|
}
|
|
11234
|
-
|
|
11235
|
-
this.touched = true;
|
|
11236
|
-
this.validation.validate(this);
|
|
11237
|
-
|
|
11238
|
-
this.touched = true;
|
|
11239
|
-
this.validation.validate(this);
|
|
11240
11228
|
});
|
|
11241
11229
|
}
|
|
11242
11230
|
}
|
|
@@ -11323,35 +11311,34 @@ class BaseInput extends AuroElement$1 {
|
|
|
11323
11311
|
// Process credit card type detection and formatting during input
|
|
11324
11312
|
if (this.type === 'credit-card') {
|
|
11325
11313
|
this.processCreditCard();
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
this.value = this.inputElement.value;
|
|
11314
|
+
this.touched = true;
|
|
11315
|
+
this.validation.validate(this);
|
|
11316
|
+
} else {
|
|
11330
11317
|
|
|
11331
|
-
|
|
11332
|
-
|
|
11318
|
+
// Sets value property to value of element value (el.value).
|
|
11319
|
+
this.value = this.inputElement.value;
|
|
11333
11320
|
|
|
11334
|
-
|
|
11335
|
-
|
|
11336
|
-
const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
|
|
11321
|
+
// Determine if the value change was programmatic, including autofill.
|
|
11322
|
+
const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
|
|
11337
11323
|
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
|
|
11341
|
-
|
|
11342
|
-
|
|
11324
|
+
// Validation on input or programmatic value change (including autofill).
|
|
11325
|
+
if (this.validateOnInput || inputWasProgrammatic) {
|
|
11326
|
+
this.touched = true;
|
|
11327
|
+
this.validation.validate(this);
|
|
11328
|
+
}
|
|
11343
11329
|
|
|
11344
|
-
|
|
11345
|
-
|
|
11330
|
+
// Prevents cursor jumping in Safari.
|
|
11331
|
+
const { selectionStart } = this.inputElement;
|
|
11346
11332
|
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
|
|
11354
|
-
|
|
11333
|
+
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
11334
|
+
this.updateComplete.then(() => {
|
|
11335
|
+
try {
|
|
11336
|
+
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
11337
|
+
} catch (error) { // eslint-disable-line
|
|
11338
|
+
// do nothing
|
|
11339
|
+
}
|
|
11340
|
+
});
|
|
11341
|
+
}
|
|
11355
11342
|
}
|
|
11356
11343
|
}
|
|
11357
11344
|
|
|
@@ -12037,7 +12024,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
12037
12024
|
}
|
|
12038
12025
|
};
|
|
12039
12026
|
|
|
12040
|
-
var formkitVersion$1 = '
|
|
12027
|
+
var formkitVersion$1 = '202602201712';
|
|
12041
12028
|
|
|
12042
12029
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
12043
12030
|
// See LICENSE in the project root for license information.
|
|
@@ -13063,7 +13050,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
13063
13050
|
}
|
|
13064
13051
|
}
|
|
13065
13052
|
|
|
13066
|
-
var formkitVersion = '
|
|
13053
|
+
var formkitVersion = '202602201712';
|
|
13067
13054
|
|
|
13068
13055
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
13069
13056
|
|
|
@@ -4312,7 +4312,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
4312
4312
|
}
|
|
4313
4313
|
};
|
|
4314
4314
|
|
|
4315
|
-
var formkitVersion$2 = '
|
|
4315
|
+
var formkitVersion$2 = '202602201712';
|
|
4316
4316
|
|
|
4317
4317
|
let AuroElement$2 = class AuroElement extends i$4 {
|
|
4318
4318
|
static get properties() {
|
|
@@ -11136,12 +11136,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11136
11136
|
|
|
11137
11137
|
this.maskInstance.on('accept', () => {
|
|
11138
11138
|
this.value = this.maskInstance.value;
|
|
11139
|
-
|
|
11140
|
-
// For credit card inputs, validate on every accept event when validateOnInput is true
|
|
11141
|
-
if (this.type === 'credit-card' && this.validateOnInput) {
|
|
11142
|
-
this.touched = true;
|
|
11143
|
-
this.validation.validate(this);
|
|
11144
|
-
}
|
|
11145
11139
|
});
|
|
11146
11140
|
|
|
11147
11141
|
this.maskInstance.on('complete', () => {
|
|
@@ -11154,12 +11148,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11154
11148
|
this.formattedDate = formattedDates.formattedDate;
|
|
11155
11149
|
this.comparisonDate = formattedDates.dateForComparison;
|
|
11156
11150
|
}
|
|
11157
|
-
|
|
11158
|
-
this.touched = true;
|
|
11159
|
-
this.validation.validate(this);
|
|
11160
|
-
|
|
11161
|
-
this.touched = true;
|
|
11162
|
-
this.validation.validate(this);
|
|
11163
11151
|
});
|
|
11164
11152
|
}
|
|
11165
11153
|
}
|
|
@@ -11246,35 +11234,34 @@ class BaseInput extends AuroElement$1 {
|
|
|
11246
11234
|
// Process credit card type detection and formatting during input
|
|
11247
11235
|
if (this.type === 'credit-card') {
|
|
11248
11236
|
this.processCreditCard();
|
|
11249
|
-
|
|
11250
|
-
|
|
11251
|
-
|
|
11252
|
-
this.value = this.inputElement.value;
|
|
11237
|
+
this.touched = true;
|
|
11238
|
+
this.validation.validate(this);
|
|
11239
|
+
} else {
|
|
11253
11240
|
|
|
11254
|
-
|
|
11255
|
-
|
|
11241
|
+
// Sets value property to value of element value (el.value).
|
|
11242
|
+
this.value = this.inputElement.value;
|
|
11256
11243
|
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
|
|
11244
|
+
// Determine if the value change was programmatic, including autofill.
|
|
11245
|
+
const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
|
|
11260
11246
|
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
|
|
11264
|
-
|
|
11265
|
-
|
|
11247
|
+
// Validation on input or programmatic value change (including autofill).
|
|
11248
|
+
if (this.validateOnInput || inputWasProgrammatic) {
|
|
11249
|
+
this.touched = true;
|
|
11250
|
+
this.validation.validate(this);
|
|
11251
|
+
}
|
|
11266
11252
|
|
|
11267
|
-
|
|
11268
|
-
|
|
11253
|
+
// Prevents cursor jumping in Safari.
|
|
11254
|
+
const { selectionStart } = this.inputElement;
|
|
11269
11255
|
|
|
11270
|
-
|
|
11271
|
-
|
|
11272
|
-
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
|
-
|
|
11276
|
-
|
|
11277
|
-
|
|
11256
|
+
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
11257
|
+
this.updateComplete.then(() => {
|
|
11258
|
+
try {
|
|
11259
|
+
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
11260
|
+
} catch (error) { // eslint-disable-line
|
|
11261
|
+
// do nothing
|
|
11262
|
+
}
|
|
11263
|
+
});
|
|
11264
|
+
}
|
|
11278
11265
|
}
|
|
11279
11266
|
}
|
|
11280
11267
|
|
|
@@ -11960,7 +11947,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
11960
11947
|
}
|
|
11961
11948
|
};
|
|
11962
11949
|
|
|
11963
|
-
var formkitVersion$1 = '
|
|
11950
|
+
var formkitVersion$1 = '202602201712';
|
|
11964
11951
|
|
|
11965
11952
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11966
11953
|
// See LICENSE in the project root for license information.
|
|
@@ -12986,7 +12973,7 @@ class AuroBibtemplate extends i$4 {
|
|
|
12986
12973
|
}
|
|
12987
12974
|
}
|
|
12988
12975
|
|
|
12989
|
-
var formkitVersion = '
|
|
12976
|
+
var formkitVersion = '202602201712';
|
|
12990
12977
|
|
|
12991
12978
|
var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12992
12979
|
|
|
@@ -4249,7 +4249,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
};
|
|
4251
4251
|
|
|
4252
|
-
var formkitVersion$2 = '
|
|
4252
|
+
var formkitVersion$2 = '202602201712';
|
|
4253
4253
|
|
|
4254
4254
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4255
4255
|
static get properties() {
|
|
@@ -11066,12 +11066,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11066
11066
|
|
|
11067
11067
|
this.maskInstance.on('accept', () => {
|
|
11068
11068
|
this.value = this.maskInstance.value;
|
|
11069
|
-
|
|
11070
|
-
// For credit card inputs, validate on every accept event when validateOnInput is true
|
|
11071
|
-
if (this.type === 'credit-card' && this.validateOnInput) {
|
|
11072
|
-
this.touched = true;
|
|
11073
|
-
this.validation.validate(this);
|
|
11074
|
-
}
|
|
11075
11069
|
});
|
|
11076
11070
|
|
|
11077
11071
|
this.maskInstance.on('complete', () => {
|
|
@@ -11084,12 +11078,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11084
11078
|
this.formattedDate = formattedDates.formattedDate;
|
|
11085
11079
|
this.comparisonDate = formattedDates.dateForComparison;
|
|
11086
11080
|
}
|
|
11087
|
-
|
|
11088
|
-
this.touched = true;
|
|
11089
|
-
this.validation.validate(this);
|
|
11090
|
-
|
|
11091
|
-
this.touched = true;
|
|
11092
|
-
this.validation.validate(this);
|
|
11093
11081
|
});
|
|
11094
11082
|
}
|
|
11095
11083
|
}
|
|
@@ -11176,35 +11164,34 @@ class BaseInput extends AuroElement$1 {
|
|
|
11176
11164
|
// Process credit card type detection and formatting during input
|
|
11177
11165
|
if (this.type === 'credit-card') {
|
|
11178
11166
|
this.processCreditCard();
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
this.value = this.inputElement.value;
|
|
11167
|
+
this.touched = true;
|
|
11168
|
+
this.validation.validate(this);
|
|
11169
|
+
} else {
|
|
11183
11170
|
|
|
11184
|
-
|
|
11185
|
-
|
|
11171
|
+
// Sets value property to value of element value (el.value).
|
|
11172
|
+
this.value = this.inputElement.value;
|
|
11186
11173
|
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
|
|
11174
|
+
// Determine if the value change was programmatic, including autofill.
|
|
11175
|
+
const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
|
|
11190
11176
|
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11177
|
+
// Validation on input or programmatic value change (including autofill).
|
|
11178
|
+
if (this.validateOnInput || inputWasProgrammatic) {
|
|
11179
|
+
this.touched = true;
|
|
11180
|
+
this.validation.validate(this);
|
|
11181
|
+
}
|
|
11196
11182
|
|
|
11197
|
-
|
|
11198
|
-
|
|
11183
|
+
// Prevents cursor jumping in Safari.
|
|
11184
|
+
const { selectionStart } = this.inputElement;
|
|
11199
11185
|
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11186
|
+
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
11187
|
+
this.updateComplete.then(() => {
|
|
11188
|
+
try {
|
|
11189
|
+
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
11190
|
+
} catch (error) { // eslint-disable-line
|
|
11191
|
+
// do nothing
|
|
11192
|
+
}
|
|
11193
|
+
});
|
|
11194
|
+
}
|
|
11208
11195
|
}
|
|
11209
11196
|
}
|
|
11210
11197
|
|
|
@@ -11890,7 +11877,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
11890
11877
|
}
|
|
11891
11878
|
};
|
|
11892
11879
|
|
|
11893
|
-
var formkitVersion$1 = '
|
|
11880
|
+
var formkitVersion$1 = '202602201712';
|
|
11894
11881
|
|
|
11895
11882
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11896
11883
|
// See LICENSE in the project root for license information.
|
|
@@ -12916,7 +12903,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12916
12903
|
}
|
|
12917
12904
|
}
|
|
12918
12905
|
|
|
12919
|
-
var formkitVersion = '
|
|
12906
|
+
var formkitVersion = '202602201712';
|
|
12920
12907
|
|
|
12921
12908
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12922
12909
|
|
|
@@ -4249,7 +4249,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
4249
4249
|
}
|
|
4250
4250
|
};
|
|
4251
4251
|
|
|
4252
|
-
var formkitVersion$2 = '
|
|
4252
|
+
var formkitVersion$2 = '202602201712';
|
|
4253
4253
|
|
|
4254
4254
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
4255
4255
|
static get properties() {
|
|
@@ -11066,12 +11066,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11066
11066
|
|
|
11067
11067
|
this.maskInstance.on('accept', () => {
|
|
11068
11068
|
this.value = this.maskInstance.value;
|
|
11069
|
-
|
|
11070
|
-
// For credit card inputs, validate on every accept event when validateOnInput is true
|
|
11071
|
-
if (this.type === 'credit-card' && this.validateOnInput) {
|
|
11072
|
-
this.touched = true;
|
|
11073
|
-
this.validation.validate(this);
|
|
11074
|
-
}
|
|
11075
11069
|
});
|
|
11076
11070
|
|
|
11077
11071
|
this.maskInstance.on('complete', () => {
|
|
@@ -11084,12 +11078,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
11084
11078
|
this.formattedDate = formattedDates.formattedDate;
|
|
11085
11079
|
this.comparisonDate = formattedDates.dateForComparison;
|
|
11086
11080
|
}
|
|
11087
|
-
|
|
11088
|
-
this.touched = true;
|
|
11089
|
-
this.validation.validate(this);
|
|
11090
|
-
|
|
11091
|
-
this.touched = true;
|
|
11092
|
-
this.validation.validate(this);
|
|
11093
11081
|
});
|
|
11094
11082
|
}
|
|
11095
11083
|
}
|
|
@@ -11176,35 +11164,34 @@ class BaseInput extends AuroElement$1 {
|
|
|
11176
11164
|
// Process credit card type detection and formatting during input
|
|
11177
11165
|
if (this.type === 'credit-card') {
|
|
11178
11166
|
this.processCreditCard();
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
this.value = this.inputElement.value;
|
|
11167
|
+
this.touched = true;
|
|
11168
|
+
this.validation.validate(this);
|
|
11169
|
+
} else {
|
|
11183
11170
|
|
|
11184
|
-
|
|
11185
|
-
|
|
11171
|
+
// Sets value property to value of element value (el.value).
|
|
11172
|
+
this.value = this.inputElement.value;
|
|
11186
11173
|
|
|
11187
|
-
|
|
11188
|
-
|
|
11189
|
-
const shouldSkipValidation = this.type === 'credit-card' && this.maskInstance;
|
|
11174
|
+
// Determine if the value change was programmatic, including autofill.
|
|
11175
|
+
const inputWasProgrammatic = !this.matches(":focus") || event.isProgrammatic;
|
|
11190
11176
|
|
|
11191
|
-
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11177
|
+
// Validation on input or programmatic value change (including autofill).
|
|
11178
|
+
if (this.validateOnInput || inputWasProgrammatic) {
|
|
11179
|
+
this.touched = true;
|
|
11180
|
+
this.validation.validate(this);
|
|
11181
|
+
}
|
|
11196
11182
|
|
|
11197
|
-
|
|
11198
|
-
|
|
11183
|
+
// Prevents cursor jumping in Safari.
|
|
11184
|
+
const { selectionStart } = this.inputElement;
|
|
11199
11185
|
|
|
11200
|
-
|
|
11201
|
-
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11207
|
-
|
|
11186
|
+
if (this.setSelectionInputTypes.includes(this.type)) {
|
|
11187
|
+
this.updateComplete.then(() => {
|
|
11188
|
+
try {
|
|
11189
|
+
this.inputElement.setSelectionRange(selectionStart, selectionStart);
|
|
11190
|
+
} catch (error) { // eslint-disable-line
|
|
11191
|
+
// do nothing
|
|
11192
|
+
}
|
|
11193
|
+
});
|
|
11194
|
+
}
|
|
11208
11195
|
}
|
|
11209
11196
|
}
|
|
11210
11197
|
|
|
@@ -11890,7 +11877,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
11890
11877
|
}
|
|
11891
11878
|
};
|
|
11892
11879
|
|
|
11893
|
-
var formkitVersion$1 = '
|
|
11880
|
+
var formkitVersion$1 = '202602201712';
|
|
11894
11881
|
|
|
11895
11882
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
11896
11883
|
// See LICENSE in the project root for license information.
|
|
@@ -12916,7 +12903,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
12916
12903
|
}
|
|
12917
12904
|
}
|
|
12918
12905
|
|
|
12919
|
-
var formkitVersion = '
|
|
12906
|
+
var formkitVersion = '202602201712';
|
|
12920
12907
|
|
|
12921
12908
|
var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
|
|
12922
12909
|
|
|
@@ -1442,7 +1442,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
|
-
var formkitVersion$1 = '
|
|
1445
|
+
var formkitVersion$1 = '202602201712';
|
|
1446
1446
|
|
|
1447
1447
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1448
1448
|
// See LICENSE in the project root for license information.
|
|
@@ -5135,7 +5135,7 @@ class AuroHelpText extends i$2 {
|
|
|
5135
5135
|
}
|
|
5136
5136
|
}
|
|
5137
5137
|
|
|
5138
|
-
var formkitVersion = '
|
|
5138
|
+
var formkitVersion = '202602201712';
|
|
5139
5139
|
|
|
5140
5140
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5141
5141
|
static get properties() {
|
|
@@ -1442,7 +1442,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
|
-
var formkitVersion$1 = '
|
|
1445
|
+
var formkitVersion$1 = '202602201712';
|
|
1446
1446
|
|
|
1447
1447
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1448
1448
|
// See LICENSE in the project root for license information.
|
|
@@ -5135,7 +5135,7 @@ class AuroHelpText extends i$2 {
|
|
|
5135
5135
|
}
|
|
5136
5136
|
}
|
|
5137
5137
|
|
|
5138
|
-
var formkitVersion = '
|
|
5138
|
+
var formkitVersion = '202602201712';
|
|
5139
5139
|
|
|
5140
5140
|
let AuroElement$1 = class AuroElement extends i$2 {
|
|
5141
5141
|
static get properties() {
|
|
@@ -1392,7 +1392,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
1394
|
|
|
1395
|
-
var formkitVersion$1 = '
|
|
1395
|
+
var formkitVersion$1 = '202602201712';
|
|
1396
1396
|
|
|
1397
1397
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1398
1398
|
// See LICENSE in the project root for license information.
|
|
@@ -5067,7 +5067,7 @@ class AuroHelpText extends LitElement {
|
|
|
5067
5067
|
}
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
|
-
var formkitVersion = '
|
|
5070
|
+
var formkitVersion = '202602201712';
|
|
5071
5071
|
|
|
5072
5072
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5073
5073
|
static get properties() {
|
|
@@ -1392,7 +1392,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
1394
|
|
|
1395
|
-
var formkitVersion$1 = '
|
|
1395
|
+
var formkitVersion$1 = '202602201712';
|
|
1396
1396
|
|
|
1397
1397
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
1398
1398
|
// See LICENSE in the project root for license information.
|
|
@@ -5067,7 +5067,7 @@ class AuroHelpText extends LitElement {
|
|
|
5067
5067
|
}
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
|
-
var formkitVersion = '
|
|
5070
|
+
var formkitVersion = '202602201712';
|
|
5071
5071
|
|
|
5072
5072
|
let AuroElement$1 = class AuroElement extends LitElement {
|
|
5073
5073
|
static get properties() {
|