@aurodesignsystem-dev/auro-formkit 0.0.0-pr1471.4 → 0.0.0-pr1474.0
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/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.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/customize.min.js +3 -3
- package/components/combobox/demo/getting-started.min.js +3 -3
- package/components/combobox/demo/index.min.js +3 -3
- package/components/combobox/dist/index.js +3 -3
- package/components/combobox/dist/registered.js +3 -3
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +1 -1
- package/components/counter/dist/registered.js +1 -1
- package/components/datepicker/demo/index.min.js +3 -3
- package/components/datepicker/dist/index.js +3 -3
- package/components/datepicker/dist/registered.js +3 -3
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.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/form/demo/customize.html +7 -5
- package/components/form/demo/customize.js +17 -0
- package/components/form/demo/customize.md +98 -51
- package/components/form/demo/customize.min.js +128 -20
- package/components/form/demo/getting-started.min.js +89 -20
- package/components/form/demo/index.min.js +89 -20
- package/components/form/demo/registerDemoDeps.min.js +13 -13
- package/components/form/dist/auro-form.d.ts +22 -5
- package/components/form/dist/index.js +76 -7
- package/components/form/dist/registered.js +76 -7
- package/components/input/demo/customize.min.js +1 -1
- package/components/input/demo/getting-started.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.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/customize.min.js +2 -2
- package/components/select/demo/getting-started.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/custom-elements.json +1519 -1469
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
<auro-anchorlink fluid href="#layout">Layout</auro-anchorlink>
|
|
8
8
|
<auro-anchorlink fluid href="#columnLayout" class="level2 body-xs">Column Layout</auro-anchorlink>
|
|
9
9
|
<auro-anchorlink fluid href="#complexForm" class="level2 body-xs">Complex Form</auro-anchorlink>
|
|
10
|
+
<auro-anchorlink fluid href="#fieldState">Field State</auro-anchorlink>
|
|
11
|
+
<auro-anchorlink fluid href="#disabledFields" class="level2 body-xs">Disabled Fields</auro-anchorlink>
|
|
10
12
|
</auro-nav>
|
|
11
13
|
</nav>
|
|
12
14
|
<div class="mainContent">
|
|
@@ -24,16 +26,14 @@
|
|
|
24
26
|
display: grid;
|
|
25
27
|
grid-template-columns: 1fr 1fr;
|
|
26
28
|
gap: 1rem;
|
|
29
|
+
align-items: start;
|
|
27
30
|
}
|
|
28
31
|
|
|
29
|
-
.columned-form
|
|
30
|
-
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
padding: 1rem;
|
|
33
|
-
gap: 1rem;
|
|
32
|
+
.columned-form .span-2 {
|
|
33
|
+
grid-column: span 2;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.controls {
|
|
36
|
+
.columned-form-controls {
|
|
37
37
|
display: flex;
|
|
38
38
|
justify-content: flex-end;
|
|
39
39
|
margin-top: 1rem;
|
|
@@ -41,29 +41,25 @@
|
|
|
41
41
|
</style>
|
|
42
42
|
<auro-form>
|
|
43
43
|
<div class="columned-form">
|
|
44
|
-
<
|
|
45
|
-
<
|
|
46
|
-
<span slot="label">Search flights</span>
|
|
44
|
+
<auro-input id="cl-first-name" name="firstName" required>
|
|
45
|
+
<span slot="label">First Name</span>
|
|
47
46
|
</auro-input>
|
|
48
|
-
<auro-input id="last-name" name="lastName" required>
|
|
47
|
+
<auro-input id="cl-last-name" name="lastName" required>
|
|
49
48
|
<span slot="label">Last Name</span>
|
|
50
|
-
</auro-input>
|
|
51
|
-
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
<
|
|
55
|
-
<
|
|
56
|
-
<span slot="
|
|
57
|
-
<span slot="
|
|
58
|
-
<span slot="bib.fullscreen.
|
|
59
|
-
<span slot="bib.fullscreen.toLabel">End</span>
|
|
49
|
+
</auro-input>
|
|
50
|
+
<auro-input id="cl-email" name="email" type="email" class="span-2" required>
|
|
51
|
+
<span slot="label">Email</span>
|
|
52
|
+
</auro-input>
|
|
53
|
+
<auro-datepicker id="cl-date-range" name="dateRange" class="span-2" required range>
|
|
54
|
+
<span slot="fromLabel">Departure</span>
|
|
55
|
+
<span slot="toLabel">Return</span>
|
|
56
|
+
<span slot="bib.fullscreen.fromLabel">Departure</span>
|
|
57
|
+
<span slot="bib.fullscreen.toLabel">Return</span>
|
|
60
58
|
</auro-datepicker>
|
|
61
59
|
</div>
|
|
62
|
-
<div class="controls">
|
|
60
|
+
<div class="columned-form-controls">
|
|
63
61
|
<auro-button type="submit">Submit</auro-button>
|
|
64
62
|
</div>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
63
|
</auro-form>
|
|
68
64
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
69
65
|
</div>
|
|
@@ -76,16 +72,14 @@
|
|
|
76
72
|
display: grid;
|
|
77
73
|
grid-template-columns: 1fr 1fr;
|
|
78
74
|
gap: 1rem;
|
|
75
|
+
align-items: start;
|
|
79
76
|
}
|
|
80
77
|
|
|
81
|
-
.columned-form
|
|
82
|
-
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
padding: 1rem;
|
|
85
|
-
gap: 1rem;
|
|
78
|
+
.columned-form .span-2 {
|
|
79
|
+
grid-column: span 2;
|
|
86
80
|
}
|
|
87
81
|
|
|
88
|
-
.controls {
|
|
82
|
+
.columned-form-controls {
|
|
89
83
|
display: flex;
|
|
90
84
|
justify-content: flex-end;
|
|
91
85
|
margin-top: 1rem;
|
|
@@ -93,28 +87,24 @@
|
|
|
93
87
|
</style>
|
|
94
88
|
<auro-form>
|
|
95
89
|
<div class="columned-form">
|
|
96
|
-
<
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
<
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
<
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<div class="controls">
|
|
115
|
-
<auro-button type="submit">Submit</auro-button>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
90
|
+
<auro-input id="cl-first-name" name="firstName" required>
|
|
91
|
+
<span slot="label">First Name</span>
|
|
92
|
+
</auro-input>
|
|
93
|
+
<auro-input id="cl-last-name" name="lastName" required>
|
|
94
|
+
<span slot="label">Last Name</span>
|
|
95
|
+
</auro-input>
|
|
96
|
+
<auro-input id="cl-email" name="email" type="email" class="span-2" required>
|
|
97
|
+
<span slot="label">Email</span>
|
|
98
|
+
</auro-input>
|
|
99
|
+
<auro-datepicker id="cl-date-range" name="dateRange" class="span-2" required range>
|
|
100
|
+
<span slot="fromLabel">Departure</span>
|
|
101
|
+
<span slot="toLabel">Return</span>
|
|
102
|
+
<span slot="bib.fullscreen.fromLabel">Departure</span>
|
|
103
|
+
<span slot="bib.fullscreen.toLabel">Return</span>
|
|
104
|
+
</auro-datepicker>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="columned-form-controls">
|
|
107
|
+
<auro-button type="submit">Submit</auro-button>
|
|
118
108
|
</div>
|
|
119
109
|
</auro-form></code></pre>
|
|
120
110
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -241,6 +231,63 @@
|
|
|
241
231
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
242
232
|
</auro-accordion>
|
|
243
233
|
</section>
|
|
234
|
+
<section>
|
|
235
|
+
<auro-header level="2" id="fieldState">Field State</auro-header>
|
|
236
|
+
<p>Per the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/disabled">HTML spec</a>, form controls with the <code>disabled</code> attribute are excluded from form submission and are not validated. <code>auro-form</code> mirrors that behavior.</p>
|
|
237
|
+
<auro-header level="3" id="disabledFields">Disabled Fields</auro-header>
|
|
238
|
+
<p>When a child form element has the <code>disabled</code> attribute:</p>
|
|
239
|
+
<ul>
|
|
240
|
+
<li>Its <code>name</code> is omitted from <code>form.value</code> and from the <code>submit</code> event's <code>detail.value</code>, even if the element carries a value.</li>
|
|
241
|
+
<li>It does not contribute to <code>validity</code> — a disabled <code>required</code> field will not block submission.</li>
|
|
242
|
+
<li>It does not taint <code>isInitialState</code> — a disabled field carrying a preset value still leaves the form in its initial state.</li>
|
|
243
|
+
</ul>
|
|
244
|
+
<p>In the example below the Mileage Plan number is preset and disabled. Fill in the remaining required fields and submit the form — the output region below the form will show the contents of the <code>submit</code> event's <code>detail.value</code>. Notice that only <code>firstName</code> and <code>lastName</code> appear; <code>loyaltyNumber</code> is omitted even though the field has a value.</p>
|
|
245
|
+
<div class="exampleWrapper">
|
|
246
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
247
|
+
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
248
|
+
<auro-form id="disabledExampleForm">
|
|
249
|
+
<auro-input id="first-name" name="firstName" required>
|
|
250
|
+
<span slot="label">First Name</span>
|
|
251
|
+
</auro-input>
|
|
252
|
+
<br />
|
|
253
|
+
<auro-input id="last-name" name="lastName" required>
|
|
254
|
+
<span slot="label">Last Name</span>
|
|
255
|
+
</auro-input>
|
|
256
|
+
<br />
|
|
257
|
+
<auro-input id="loyalty-number" name="loyaltyNumber" value="AS-123456" disabled>
|
|
258
|
+
<span slot="label">Mileage Plan number</span>
|
|
259
|
+
<span slot="helpText">Account number is read-only and is not submitted with the form.</span>
|
|
260
|
+
</auro-input>
|
|
261
|
+
<br />
|
|
262
|
+
<auro-button type="submit">Submit</auro-button>
|
|
263
|
+
</auro-form>
|
|
264
|
+
<output id="disabledExampleOutput" for="disabledExampleForm" aria-live="polite">Submit the form to see what gets sent.</output>
|
|
265
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
266
|
+
</div>
|
|
267
|
+
<auro-accordion alignRight>
|
|
268
|
+
<span slot="trigger">See code</span>
|
|
269
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/disabled.html) -->
|
|
270
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/disabled.html -->
|
|
271
|
+
<pre class="language-html"><code class="language-html"><auro-form id="disabledExampleForm">
|
|
272
|
+
<auro-input id="first-name" name="firstName" required>
|
|
273
|
+
<span slot="label">First Name</span>
|
|
274
|
+
</auro-input>
|
|
275
|
+
<br />
|
|
276
|
+
<auro-input id="last-name" name="lastName" required>
|
|
277
|
+
<span slot="label">Last Name</span>
|
|
278
|
+
</auro-input>
|
|
279
|
+
<br />
|
|
280
|
+
<auro-input id="loyalty-number" name="loyaltyNumber" value="AS-123456" disabled>
|
|
281
|
+
<span slot="label">Mileage Plan number</span>
|
|
282
|
+
<span slot="helpText">Account number is read-only and is not submitted with the form.</span>
|
|
283
|
+
</auro-input>
|
|
284
|
+
<br />
|
|
285
|
+
<auro-button type="submit">Submit</auro-button>
|
|
286
|
+
</auro-form>
|
|
287
|
+
<output id="disabledExampleOutput" for="disabledExampleForm" aria-live="polite">Submit the form to see what gets sent.</output></code></pre>
|
|
288
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
289
|
+
</auro-accordion>
|
|
290
|
+
</section>
|
|
244
291
|
</div>
|
|
245
292
|
</div>
|
|
246
293
|
</div>
|
|
@@ -117,7 +117,6 @@ let AuroLibraryRuntimeUtils$c = class AuroLibraryRuntimeUtils {
|
|
|
117
117
|
* @property {string | number | boolean | string[] | null} value - The value of the form element.
|
|
118
118
|
* @property {ValidityState} validity - The validity state of the form element, stored when fired from the form element.
|
|
119
119
|
* @property {boolean} required - Whether the form element is required or not.
|
|
120
|
-
* @property {HTMLElement} element - Whether the form element is required or not.
|
|
121
120
|
*/
|
|
122
121
|
|
|
123
122
|
/**
|
|
@@ -201,6 +200,14 @@ class AuroForm extends i$4 {
|
|
|
201
200
|
*/
|
|
202
201
|
this.mutationObservers = [];
|
|
203
202
|
|
|
203
|
+
/**
|
|
204
|
+
* Per-form-element observers that watch for `disabled` attribute toggles so
|
|
205
|
+
* value/validity/button-state stay fresh when consumers enable/disable a field.
|
|
206
|
+
* @private
|
|
207
|
+
* @type {MutationObserver[]}
|
|
208
|
+
*/
|
|
209
|
+
this._disabledObservers = [];
|
|
210
|
+
|
|
204
211
|
// Bind listeners
|
|
205
212
|
/** @private */
|
|
206
213
|
this.reset = this.reset.bind(this);
|
|
@@ -269,6 +276,28 @@ class AuroForm extends i$4 {
|
|
|
269
276
|
return this._isInElementCollection(AuroForm.formElementTags, element);
|
|
270
277
|
}
|
|
271
278
|
|
|
279
|
+
/**
|
|
280
|
+
* Whether a given element is currently disabled. Disabled controls are excluded
|
|
281
|
+
* from submission, validity, and initial-state checks (per the HTML spec).
|
|
282
|
+
* @param {HTMLElement | undefined | null} element - The element to check.
|
|
283
|
+
* @returns {boolean}
|
|
284
|
+
* @private
|
|
285
|
+
*/
|
|
286
|
+
_isDisabled(element) {
|
|
287
|
+
return Boolean(element?.hasAttribute('disabled'));
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Whether the tracked form element registered under `name` is currently disabled.
|
|
292
|
+
* @param {string} name - The `name` attribute used to register the element.
|
|
293
|
+
* @returns {boolean}
|
|
294
|
+
* @private
|
|
295
|
+
*/
|
|
296
|
+
_isNameDisabled(name) {
|
|
297
|
+
const element = this._elements.find((el) => el.getAttribute('name') === name);
|
|
298
|
+
return this._isDisabled(element);
|
|
299
|
+
}
|
|
300
|
+
|
|
272
301
|
/**
|
|
273
302
|
* Validates if an event is from a valid form element with a name.
|
|
274
303
|
* @param {Event} event - The event to validate.
|
|
@@ -308,6 +337,10 @@ class AuroForm extends i$4 {
|
|
|
308
337
|
*/
|
|
309
338
|
get value() {
|
|
310
339
|
return Object.keys(this.formState).reduce((acc, key) => {
|
|
340
|
+
if (this._isNameDisabled(key)) {
|
|
341
|
+
return acc;
|
|
342
|
+
}
|
|
343
|
+
|
|
311
344
|
acc[key] = this.formState[key].value;
|
|
312
345
|
return acc;
|
|
313
346
|
}, {});
|
|
@@ -342,6 +375,10 @@ class AuroForm extends i$4 {
|
|
|
342
375
|
// go through validity states and return the first invalid state (if any)
|
|
343
376
|
const invalidKey = Object.keys(this.formState).
|
|
344
377
|
find((key) => {
|
|
378
|
+
if (this._isNameDisabled(key)) {
|
|
379
|
+
return false;
|
|
380
|
+
}
|
|
381
|
+
|
|
345
382
|
const formKey = this.formState[key];
|
|
346
383
|
// these are NOT extra parens
|
|
347
384
|
// eslint-disable-next-line no-extra-parens
|
|
@@ -368,7 +405,13 @@ class AuroForm extends i$4 {
|
|
|
368
405
|
* @private
|
|
369
406
|
*/
|
|
370
407
|
_setInitialState() {
|
|
371
|
-
const anyTainted = Object.keys(this.formState).some((key) =>
|
|
408
|
+
const anyTainted = Object.keys(this.formState).some((key) => {
|
|
409
|
+
if (this._isNameDisabled(key)) {
|
|
410
|
+
return false;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
return this.formState[key].validity !== null || this.formState[key].value !== null;
|
|
414
|
+
});
|
|
372
415
|
|
|
373
416
|
this._isInitialState = !anyTainted;
|
|
374
417
|
|
|
@@ -452,7 +495,6 @@ class AuroForm extends i$4 {
|
|
|
452
495
|
value: element.value || element.getAttribute('value'),
|
|
453
496
|
validity: element.validity || null,
|
|
454
497
|
required: element.hasAttribute('required'),
|
|
455
|
-
// element
|
|
456
498
|
};
|
|
457
499
|
|
|
458
500
|
this._elements.push(element);
|
|
@@ -535,10 +577,13 @@ class AuroForm extends i$4 {
|
|
|
535
577
|
* @returns {Promise<void>}
|
|
536
578
|
*/
|
|
537
579
|
async submit() {
|
|
538
|
-
// Force validation on
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
580
|
+
// Force validation on all enabled elements. Disabled fields are skipped
|
|
581
|
+
// because disabled controls are not validated nor submitted per the HTML spec.
|
|
582
|
+
this._elements.
|
|
583
|
+
filter((element) => !this._isDisabled(element)).
|
|
584
|
+
forEach((element) => {
|
|
585
|
+
element.validate(true);
|
|
586
|
+
});
|
|
542
587
|
|
|
543
588
|
// Wait for validation to complete and formState to update
|
|
544
589
|
await this.updateComplete;
|
|
@@ -626,6 +671,11 @@ class AuroForm extends i$4 {
|
|
|
626
671
|
*/
|
|
627
672
|
handleKeyDown(event) {
|
|
628
673
|
if (event.key === 'Enter' && this.isFormElement(event.target)) {
|
|
674
|
+
// Disabled controls do not submit a form natively.
|
|
675
|
+
if (this._isDisabled(event.target)) {
|
|
676
|
+
return;
|
|
677
|
+
}
|
|
678
|
+
|
|
629
679
|
// Don't submit if it's a textarea (allow new lines)
|
|
630
680
|
if (event.target.tagName.toLowerCase() === 'textarea' ||
|
|
631
681
|
event.target.hasAttribute('textarea')) {
|
|
@@ -644,6 +694,10 @@ class AuroForm extends i$4 {
|
|
|
644
694
|
* @private
|
|
645
695
|
*/
|
|
646
696
|
_attachEventListeners() {
|
|
697
|
+
// Disconnect any prior disabled observers; we re-create them per element below.
|
|
698
|
+
this._disabledObservers.forEach((observer) => observer.disconnect());
|
|
699
|
+
this._disabledObservers = [];
|
|
700
|
+
|
|
647
701
|
this.queryAuroElements().forEach((element) => {
|
|
648
702
|
// remove any existing event listeners (in case of re-initialization)
|
|
649
703
|
element.removeEventListener('input', this.sharedInputListener);
|
|
@@ -654,6 +708,21 @@ class AuroForm extends i$4 {
|
|
|
654
708
|
element.addEventListener('input', this.sharedInputListener);
|
|
655
709
|
element.addEventListener('auroFormElement-validated', this.sharedValidationListener);
|
|
656
710
|
element.addEventListener('keydown', this.handleKeyDown);
|
|
711
|
+
|
|
712
|
+
// Watch `disabled` toggles on tracked form elements so value/validity stay fresh.
|
|
713
|
+
if (this.isFormElement(element)) {
|
|
714
|
+
const observer = new MutationObserver(() => {
|
|
715
|
+
this.requestUpdate('formState');
|
|
716
|
+
this.setDisabledStateOnButtons();
|
|
717
|
+
});
|
|
718
|
+
|
|
719
|
+
observer.observe(element, {
|
|
720
|
+
attributes: true,
|
|
721
|
+
attributeFilter: ['disabled']
|
|
722
|
+
});
|
|
723
|
+
|
|
724
|
+
this._disabledObservers.push(observer);
|
|
725
|
+
}
|
|
657
726
|
});
|
|
658
727
|
}
|
|
659
728
|
|
|
@@ -7458,7 +7527,7 @@ let AuroHelpText$9 = class AuroHelpText extends i$4 {
|
|
|
7458
7527
|
}
|
|
7459
7528
|
};
|
|
7460
7529
|
|
|
7461
|
-
var formkitVersion$9 = '
|
|
7530
|
+
var formkitVersion$9 = '202605121647';
|
|
7462
7531
|
|
|
7463
7532
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
7464
7533
|
// See LICENSE in the project root for license information.
|
|
@@ -17378,7 +17447,7 @@ let AuroBibtemplate$3 = class AuroBibtemplate extends i$4 {
|
|
|
17378
17447
|
}
|
|
17379
17448
|
};
|
|
17380
17449
|
|
|
17381
|
-
var formkitVersion$2$1 = '
|
|
17450
|
+
var formkitVersion$2$1 = '202605121647';
|
|
17382
17451
|
|
|
17383
17452
|
let l$1$2 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[.]/g,"_"),o}generateTag(o,s,a){const r=this.generateElementName(o,s),i=i$3`${s$6(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1$2 = class d{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}getSlotText(t,e){const o=t.shadowRoot?.querySelector(`slot[name="${e}"]`),s=(o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim();return s||null}};let h$1$2 = class h{registerComponent(t,e){customElements.get(t)||customElements.define(t,class extends e{});}closestElement(t,e=this,o=(e,s=e&&e.closest(t))=>e&&e!==document&&e!==window?s||o(e.getRootNode().host):null){return o(e)}handleComponentTagRename(t,e){const o=e.toLowerCase();t.tagName.toLowerCase()!==o&&t.setAttribute(o,true);}elementMatch(t,e){const o=e.toLowerCase();return t.tagName.toLowerCase()===o||t.hasAttribute(o)}};var c$1$3=i$7`:host{color:var(--ds-auro-loader-color)}:host>span{background-color:var(--ds-auro-loader-background-color);border-color:var(--ds-auro-loader-border-color)}:host([onlight]),:host([appearance=brand]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-loader-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([orbit])>span{--ds-auro-loader-background-color: transparent}:host([orbit])>span:nth-child(1){--ds-auro-loader-border-color: currentcolor;opacity:.25}:host([orbit])>span:nth-child(2){--ds-auro-loader-border-color: currentcolor;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}
|
|
17384
17453
|
`,u$4$1=i$7`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-lg{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, .875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs{font-size:var(--wcss-body-xs-font-size, .75rem);line-height:var(--wcss-body-xs-line-height, 1rem)}.body-2xs{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:var(--wcss-body-2xs-font-size, .625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, .875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 450);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 450);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, .05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, .05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, .05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, .05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, .05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, .1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(.875rem, 1.1666666667vw, .875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, .1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}:focus:not(:focus-visible){outline:3px solid transparent}:host,:host>span{position:relative}:host{width:2rem;height:2rem;display:inline-block;font-size:0}:host>span{position:absolute;display:inline-block;float:none;top:0;left:0;width:2rem;height:2rem;border-radius:100%;border-style:solid;border-width:0;box-sizing:border-box}:host([xs]),:host([xs])>span{width:1.2rem;height:1.2rem}:host([sm]),:host([sm])>span{width:3rem;height:3rem}:host([md]),:host([md])>span{width:5rem;height:5rem}:host([lg]),:host([lg])>span{width:8rem;height:8rem}:host{--margin: .375rem;--margin-xs: .2rem;--margin-sm: .5rem;--margin-md: .75rem;--margin-lg: 1rem}:host([pulse]),:host([pulse])>span{position:relative}:host([pulse]){width:calc(3rem + var(--margin) * 6);height:calc(1rem + var(--margin) * 2)}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(1.95rem + var(--margin-xs) * 6);height:calc(.65rem + var(--margin-xs) * 2)}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:calc(2rem + var(--margin-sm) * 2)}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:calc(3rem + var(--margin-md) * 2)}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:calc(5rem + var(--margin-lg) * 2)}:host([pulse][lg])>span{margin:var(--margin-lg);width:5rem;height:5rem}:host([pulse])>span:nth-child(1){animation-delay:-.4s}:host([pulse])>span:nth-child(2){animation-delay:-.2s}:host([pulse])>span:nth-child(3){animation-delay:0ms}@keyframes pulse{0%,to{opacity:.1;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}:host([orbit]),:host([orbit])>span{opacity:1}:host([orbit])>span{border-width:5px}:host([orbit])>span:nth-child(2){animation:orbit 2s linear infinite}:host([orbit][sm])>span{border-width:8px}:host([orbit][md])>span{border-width:13px}:host([orbit][lg])>span{border-width:21px}@keyframes orbit{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([ringworm])>svg{animation:rotate 2s linear infinite;height:100%;width:100%;stroke:currentcolor;stroke-width:8}:host([ringworm]) .path{stroke-dashoffset:0;animation:ringworm 1.5s ease-in-out infinite;stroke-linecap:round}@keyframes rotate{to{transform:rotate(360deg)}}@keyframes ringworm{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}:host([laser]){position:static;width:100%;display:block;height:0;overflow:hidden;font-size:unset}:host([laser])>span{position:fixed;width:100%;height:.25rem;border-radius:0;z-index:100}:host([laser])>span:nth-child(1){border-color:currentcolor;opacity:.25}:host([laser])>span:nth-child(2){border-color:currentcolor;animation:laser 2s linear infinite;opacity:1;width:50%}:host([laser][sm])>span:nth-child(2){width:20%}:host([laser][md])>span:nth-child(2){width:30%}:host([laser][lg])>span:nth-child(2){width:50%;animation-duration:1.5s}:host([laser][xl])>span:nth-child(2){width:80%;animation-duration:1.5s}@keyframes laser{0%{left:-100%}to{left:110%}}:host>.no-animation{display:none}@media (prefers-reduced-motion: reduce){:host{display:flex;align-items:center;justify-content:center}:host>span{opacity:1}:host>.loader{display:none}:host>svg{display:none}:host>.no-animation{display:block}}
|
|
@@ -21722,7 +21791,7 @@ let AuroHelpText$2$1 = class AuroHelpText extends i$4 {
|
|
|
21722
21791
|
}
|
|
21723
21792
|
};
|
|
21724
21793
|
|
|
21725
|
-
var formkitVersion$1$2 = '
|
|
21794
|
+
var formkitVersion$1$2 = '202605121647';
|
|
21726
21795
|
|
|
21727
21796
|
let AuroElement$2$2 = class AuroElement extends i$4 {
|
|
21728
21797
|
static get properties() {
|
|
@@ -29467,7 +29536,7 @@ let AuroHelpText$1$2 = class AuroHelpText extends i$4 {
|
|
|
29467
29536
|
}
|
|
29468
29537
|
};
|
|
29469
29538
|
|
|
29470
|
-
var formkitVersion$8 = '
|
|
29539
|
+
var formkitVersion$8 = '202605121647';
|
|
29471
29540
|
|
|
29472
29541
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
29473
29542
|
// See LICENSE in the project root for license information.
|
|
@@ -36538,7 +36607,7 @@ let AuroHelpText$7 = class AuroHelpText extends i$4 {
|
|
|
36538
36607
|
}
|
|
36539
36608
|
};
|
|
36540
36609
|
|
|
36541
|
-
var formkitVersion$7 = '
|
|
36610
|
+
var formkitVersion$7 = '202605121647';
|
|
36542
36611
|
|
|
36543
36612
|
let AuroElement$5 = class AuroElement extends i$4 {
|
|
36544
36613
|
static get properties() {
|
|
@@ -39139,7 +39208,7 @@ let AuroHelpText$6 = class AuroHelpText extends i$4 {
|
|
|
39139
39208
|
}
|
|
39140
39209
|
};
|
|
39141
39210
|
|
|
39142
|
-
var formkitVersion$6 = '
|
|
39211
|
+
var formkitVersion$6 = '202605121647';
|
|
39143
39212
|
|
|
39144
39213
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
39145
39214
|
// See LICENSE in the project root for license information.
|
|
@@ -42557,7 +42626,7 @@ let AuroHelpText$5 = class AuroHelpText extends i$4 {
|
|
|
42557
42626
|
}
|
|
42558
42627
|
};
|
|
42559
42628
|
|
|
42560
|
-
var formkitVersion$5 = '
|
|
42629
|
+
var formkitVersion$5 = '202605121647';
|
|
42561
42630
|
|
|
42562
42631
|
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
42563
42632
|
// See LICENSE in the project root for license information.
|
|
@@ -44729,7 +44798,7 @@ let AuroHelpText$4 = class AuroHelpText extends i$4 {
|
|
|
44729
44798
|
}
|
|
44730
44799
|
};
|
|
44731
44800
|
|
|
44732
|
-
var formkitVersion$4 = '
|
|
44801
|
+
var formkitVersion$4 = '202605121647';
|
|
44733
44802
|
|
|
44734
44803
|
// Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
|
|
44735
44804
|
// See LICENSE in the project root for license information.
|
|
@@ -50349,7 +50418,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
|
|
|
50349
50418
|
}
|
|
50350
50419
|
};
|
|
50351
50420
|
|
|
50352
|
-
var formkitVersion$2 = '
|
|
50421
|
+
var formkitVersion$2 = '202605121647';
|
|
50353
50422
|
|
|
50354
50423
|
let AuroElement$2$1 = class AuroElement extends i$4 {
|
|
50355
50424
|
static get properties() {
|
|
@@ -58094,7 +58163,7 @@ let AuroHelpText$1$1 = class AuroHelpText extends i$4 {
|
|
|
58094
58163
|
}
|
|
58095
58164
|
};
|
|
58096
58165
|
|
|
58097
|
-
var formkitVersion$1$1 = '
|
|
58166
|
+
var formkitVersion$1$1 = '202605121647';
|
|
58098
58167
|
|
|
58099
58168
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
58100
58169
|
// See LICENSE in the project root for license information.
|
|
@@ -59159,7 +59228,7 @@ let AuroBibtemplate$1 = class AuroBibtemplate extends i$4 {
|
|
|
59159
59228
|
}
|
|
59160
59229
|
};
|
|
59161
59230
|
|
|
59162
|
-
var formkitVersion$3 = '
|
|
59231
|
+
var formkitVersion$3 = '202605121647';
|
|
59163
59232
|
|
|
59164
59233
|
var styleCss$1$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}`;
|
|
59165
59234
|
|
|
@@ -68649,7 +68718,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
|
|
|
68649
68718
|
}
|
|
68650
68719
|
};
|
|
68651
68720
|
|
|
68652
|
-
var formkitVersion$1 = '
|
|
68721
|
+
var formkitVersion$1 = '202605121647';
|
|
68653
68722
|
|
|
68654
68723
|
class AuroElement extends i$4 {
|
|
68655
68724
|
static get properties() {
|
|
@@ -70402,7 +70471,7 @@ class AuroHelpText extends i$4 {
|
|
|
70402
70471
|
}
|
|
70403
70472
|
}
|
|
70404
70473
|
|
|
70405
|
-
var formkitVersion = '
|
|
70474
|
+
var formkitVersion = '202605121647';
|
|
70406
70475
|
|
|
70407
70476
|
var styleCss = 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}.body-default{font-size:var(--wcss-body-default-font-size, 1rem);font-weight:var(--wcss-body-default-weight, );line-height:var(--wcss-body-default-line-height, 1.5rem)}.body-default,.body-default-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-default-emphasized{font-size:var(--wcss-body-default-emphasized-font-size, 1rem);font-weight:var(--wcss-body-default-emphasized-weight, );line-height:var(--wcss-body-default-emphasized-line-height, 1.5rem)}.body-lg{font-size:var(--wcss-body-lg-font-size, 1.125rem);font-weight:var(--wcss-body-lg-weight, );line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-lg,.body-lg-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-lg-emphasized{font-size:var(--wcss-body-lg-emphasized-font-size, 1.125rem);font-weight:var(--wcss-body-lg-emphasized-weight, );line-height:var(--wcss-body-lg-emphasized-line-height, 1.625rem)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);font-weight:var(--wcss-body-sm-weight, );line-height:var(--wcss-body-sm-line-height, 1.25rem)}.body-sm,.body-sm-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-sm-emphasized{font-size:var(--wcss-body-sm-emphasized-font-size, 0.875rem);font-weight:var(--wcss-body-sm-emphasized-weight, );line-height:var(--wcss-body-sm-emphasized-line-height, 1.25rem)}.body-xs{font-size:var(--wcss-body-xs-font-size, 0.75rem);font-weight:var(--wcss-body-xs-weight, );line-height:var(--wcss-body-xs-line-height, 1rem)}.body-xs,.body-xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-xs-emphasized{font-size:var(--wcss-body-xs-emphasized-font-size, 0.75rem);font-weight:var(--wcss-body-xs-emphasized-weight, );line-height:var(--wcss-body-xs-emphasized-line-height, 1rem)}.body-2xs{font-size:var(--wcss-body-2xs-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-weight, );line-height:var(--wcss-body-2xs-line-height, 0.875rem)}.body-2xs,.body-2xs-emphasized{font-family:var(--wcss-body-family, "AS Circular"),system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;letter-spacing:var(--wcss-body-letter-spacing, 0)}.body-2xs-emphasized{font-size:var(--wcss-body-2xs-emphasized-font-size, 0.625rem);font-weight:var(--wcss-body-2xs-emphasized-weight, );line-height:var(--wcss-body-2xs-emphasized-line-height, 0.875rem)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular"),var(--wcss-display-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem));font-weight:var(--wcss-display-2xl-weight, 300);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);line-height:var(--wcss-display-2xl-line-height, 1.3)}.display-xl{font-family:var(--wcss-display-xl-family, "AS Circular"),var(--wcss-display-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem));font-weight:var(--wcss-display-xl-weight, 300);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);line-height:var(--wcss-display-xl-line-height, 1.3)}.display-lg{font-family:var(--wcss-display-lg-family, "AS Circular"),var(--wcss-display-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem));font-weight:var(--wcss-display-lg-weight, 300);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);line-height:var(--wcss-display-lg-line-height, 1.3)}.display-md{font-family:var(--wcss-display-md-family, "AS Circular"),var(--wcss-display-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem));font-weight:var(--wcss-display-md-weight, 300);letter-spacing:var(--wcss-display-md-letter-spacing, 0);line-height:var(--wcss-display-md-line-height, 1.3)}.display-sm{font-family:var(--wcss-display-sm-family, "AS Circular"),var(--wcss-display-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem));font-weight:var(--wcss-display-sm-weight, 300);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);line-height:var(--wcss-display-sm-line-height, 1.3)}.display-xs{font-family:var(--wcss-display-xs-family, "AS Circular"),var(--wcss-display-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem));font-weight:var(--wcss-display-xs-weight, 300);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);line-height:var(--wcss-display-xs-line-height, 1.3)}.heading-xl{font-family:var(--wcss-heading-xl-family, "AS Circular"),var(--wcss-heading-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem));font-weight:var(--wcss-heading-xl-weight, 300);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);line-height:var(--wcss-heading-xl-line-height, 1.3)}.heading-lg{font-family:var(--wcss-heading-lg-family, "AS Circular"),var(--wcss-heading-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem));font-weight:var(--wcss-heading-lg-weight, 300);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);line-height:var(--wcss-heading-lg-line-height, 1.3)}.heading-md{font-family:var(--wcss-heading-md-family, "AS Circular"),var(--wcss-heading-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem));font-weight:var(--wcss-heading-md-weight, 300);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);line-height:var(--wcss-heading-md-line-height, 1.3)}.heading-sm{font-family:var(--wcss-heading-sm-family, "AS Circular"),var(--wcss-heading-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem));font-weight:var(--wcss-heading-sm-weight, 300);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);line-height:var(--wcss-heading-sm-line-height, 1.3)}.heading-xs{font-family:var(--wcss-heading-xs-family, "AS Circular"),var(--wcss-heading-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem));font-weight:var(--wcss-heading-xs-weight, 300);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);line-height:var(--wcss-heading-xs-line-height, 1.3)}.heading-2xs{font-family:var(--wcss-heading-2xs-family, "AS Circular"),var(--wcss-heading-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem));font-weight:var(--wcss-heading-2xs-weight, 300);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);line-height:var(--wcss-heading-2xs-line-height, 1.3)}.accent-2xl{font-family:var(--wcss-accent-2xl-family, "Good OT"),var(--wcss-accent-2xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));font-weight:var(--wcss-accent-2xl-weight, 450);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-2xl-line-height, 1)}.accent-2xl,.accent-xl{text-transform:uppercase}.accent-xl{font-family:var(--wcss-accent-xl-family, "Good OT"),var(--wcss-accent-xl-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));font-weight:var(--wcss-accent-xl-weight, 450);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);line-height:var(--wcss-accent-xl-line-height, 1.3)}.accent-lg{font-family:var(--wcss-accent-lg-family, "Good OT"),var(--wcss-accent-lg-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));font-weight:var(--wcss-accent-lg-weight, 450);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);line-height:var(--wcss-accent-lg-line-height, 1.3)}.accent-lg,.accent-md{text-transform:uppercase}.accent-md{font-family:var(--wcss-accent-md-family, "Good OT"),var(--wcss-accent-md-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));font-weight:var(--wcss-accent-md-weight, 500);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);line-height:var(--wcss-accent-md-line-height, 1.3)}.accent-sm{font-family:var(--wcss-accent-sm-family, "Good OT"),var(--wcss-accent-sm-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));font-weight:var(--wcss-accent-sm-weight, 500);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);line-height:var(--wcss-accent-sm-line-height, 1.3)}.accent-sm,.accent-xs{text-transform:uppercase}.accent-xs{font-family:var(--wcss-accent-xs-family, "Good OT"),var(--wcss-accent-xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));font-weight:var(--wcss-accent-xs-weight, 500);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-xs-line-height, 1.3)}.accent-2xs{font-family:var(--wcss-accent-2xs-family, "Good OT"),var(--wcss-accent-2xs-family-fallback, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));font-weight:var(--wcss-accent-2xs-weight, 450);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);line-height:var(--wcss-accent-2xs-line-height, 1.3);text-transform:uppercase}[auro-dropdown]{--ds-auro-dropdown-trigger-border-color: var(--ds-auro-select-border-color);--ds-auro-dropdown-trigger-background-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-container-color: var(--ds-auro-select-background-color);--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-select-outline-color)}:host{display:inline-block;text-align:left;vertical-align:top}:host([layout*=emphasized]) [auro-dropdown],:host([layout*=snowflake]) [auro-dropdown]{--ds-auro-select-border-color: transparent}:host([layout*=emphasized]) .mainContent,:host([layout*=snowflake]) .mainContent{text-align:center}.mainContent{position:relative;display:flex;overflow:hidden;flex:1;flex-direction:column;align-items:center;justify-content:center}.valueContainer [slot=displayValue]{display:none}.accents{display:flex;flex-direction:row;align-items:center;justify-content:center}::slotted([slot=typeIcon]){margin-right:var(--ds-size-100, 0.5rem)}.displayValue{display:block}.displayValue:not(.force){display:none}.displayValue:not(.force).hasContent:is(.withValue):not(.hasFocus){display:block}.triggerContent{display:flex;width:100%;align-items:center;justify-content:center}:host([layout*=emphasized]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-300, 1.5rem)}:host([layout*=snowflake]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host([layout*=snowflake]) label{padding-block:var(--ds-size-25, 0.125rem)}:host([layout*=classic]) .triggerContent{padding:0 var(--ds-size-100, 0.5rem)}:host([layout*=classic]) .mainContent{align-items:start}:host([layout*=classic]) label{overflow:hidden;cursor:text;text-overflow:ellipsis;white-space:nowrap}:host([layout*=classic]) .value{height:auto}label{color:var(--ds-auro-select-label-text-color)}:host(:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-select-outline-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]:is([validity]:not([validity=valid]))) [auro-dropdown],:host([appearance=inverse]:is([validity]:not([validity=valid]))) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-select-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-dropdown-helptext-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}#slotHolder{display:none}:host([fluid]){width:100%}:host([disabled]){pointer-events:none;user-select:none}:host([disabled]:not([ondark])) [auro-dropdown],:host([disabled]:not([appearance=inverse])) [auro-dropdown]{--ds-auro-select-border-color: var(--ds-basic-color-border-subtle, #dddddd)}:host(:not([layout*=classic])[disabled][ondark]) [auro-dropdown],:host(:not([layout*=classic])[disabled][appearance=inverse]) [auro-dropdown]{--ds-auro-select-border-color: transparent}`;
|
|
70408
70477
|
|
|
@@ -71940,7 +72009,46 @@ AuroMenu.register();
|
|
|
71940
72009
|
AuroMenuOption.register();
|
|
71941
72010
|
AuroSelect.register();
|
|
71942
72011
|
|
|
72012
|
+
// Javascript example file
|
|
72013
|
+
// -----------------------
|
|
72014
|
+
|
|
72015
|
+
async function disabledExample() {
|
|
72016
|
+
await customElements.whenDefined('auro-form');
|
|
72017
|
+
|
|
72018
|
+
const form = document.querySelector('#disabledExampleForm');
|
|
72019
|
+
const output = document.querySelector('#disabledExampleOutput');
|
|
72020
|
+
|
|
72021
|
+
if (!form || !output) {
|
|
72022
|
+
throw new Error('disabledExample: required nodes not yet rendered');
|
|
72023
|
+
}
|
|
72024
|
+
|
|
72025
|
+
await form.updateComplete;
|
|
72026
|
+
|
|
72027
|
+
form.addEventListener('submit', (event) => {
|
|
72028
|
+
output.textContent = JSON.stringify(event.detail.value, null, 2);
|
|
72029
|
+
});
|
|
72030
|
+
}
|
|
72031
|
+
|
|
72032
|
+
/* eslint-disable jsdoc/require-jsdoc */
|
|
72033
|
+
|
|
72034
|
+
|
|
71943
72035
|
AuroInput$2.register('input-two');
|
|
71944
72036
|
AuroDatePicker.register();
|
|
71945
72037
|
AuroForm.register();
|
|
71946
72038
|
AuroForm.register('custom-form');
|
|
72039
|
+
|
|
72040
|
+
async function initExamples(initCount) {
|
|
72041
|
+
initCount = initCount || 0;
|
|
72042
|
+
|
|
72043
|
+
try {
|
|
72044
|
+
await disabledExample();
|
|
72045
|
+
} catch (err) {
|
|
72046
|
+
if (initCount <= 20) {
|
|
72047
|
+
setTimeout(() => {
|
|
72048
|
+
initExamples(initCount + 1);
|
|
72049
|
+
}, 100);
|
|
72050
|
+
}
|
|
72051
|
+
}
|
|
72052
|
+
}
|
|
72053
|
+
|
|
72054
|
+
export { initExamples };
|