@aurodesignsystem/auro-formkit 5.9.0 → 5.9.2
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/CHANGELOG.md +13 -4
- package/README.md +4 -4
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +2 -2
- package/components/bibtemplate/dist/registered.js +2 -2
- package/components/checkbox/README.md +62 -62
- package/components/checkbox/demo/api.js +1 -1
- package/components/checkbox/demo/api.md +127 -84
- package/components/checkbox/demo/api.min.js +125 -42
- package/components/checkbox/demo/index.md +9 -281
- package/components/checkbox/demo/index.min.js +125 -42
- package/components/checkbox/demo/readme.html +3 -4
- package/components/checkbox/demo/readme.md +62 -62
- package/components/checkbox/dist/auro-checkbox-group.d.ts +7 -8
- package/components/checkbox/dist/auro-checkbox.d.ts +74 -20
- package/components/checkbox/dist/index.js +125 -42
- package/components/checkbox/dist/registered.js +125 -42
- package/components/combobox/README.md +76 -74
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +11 -12
- package/components/combobox/demo/api.md +1302 -875
- package/components/combobox/demo/api.min.js +416 -492
- package/components/combobox/demo/index.html +1 -7
- package/components/combobox/demo/index.js +0 -19
- package/components/combobox/demo/index.md +43 -723
- package/components/combobox/demo/index.min.js +369 -302
- package/components/combobox/demo/readme.html +3 -4
- package/components/combobox/demo/readme.md +76 -74
- package/components/combobox/dist/auro-combobox.d.ts +42 -42
- package/components/combobox/dist/index.js +204 -210
- package/components/combobox/dist/registered.js +204 -210
- package/components/counter/README.md +81 -66
- package/components/counter/demo/api.html +1 -2
- package/components/counter/demo/api.js +2 -2
- package/components/counter/demo/api.md +777 -259
- package/components/counter/demo/api.min.js +119 -171
- package/components/counter/demo/index.html +0 -2
- package/components/counter/demo/index.md +20 -329
- package/components/counter/demo/index.min.js +117 -152
- package/components/counter/demo/readme.html +3 -4
- package/components/counter/demo/readme.md +81 -66
- package/components/counter/dist/auro-counter-group.d.ts +21 -36
- package/components/counter/dist/auro-counter-wrapper.d.ts +1 -6
- package/components/counter/dist/auro-counter.d.ts +5 -8
- package/components/counter/dist/index.js +117 -152
- package/components/counter/dist/registered.js +117 -152
- package/components/datepicker/README.md +57 -61
- package/components/datepicker/demo/api.js +8 -8
- package/components/datepicker/demo/api.md +720 -561
- package/components/datepicker/demo/api.min.js +678 -2769
- package/components/datepicker/demo/index.md +65 -117
- package/components/datepicker/demo/index.min.js +678 -2769
- package/components/datepicker/demo/readme.html +3 -4
- package/components/datepicker/demo/readme.md +57 -61
- package/components/datepicker/dist/auro-calendar.d.ts +60 -34
- package/components/datepicker/dist/auro-datepicker.d.ts +32 -32
- package/components/datepicker/dist/iconVersion.d.ts +1 -1
- package/components/datepicker/dist/index.js +505 -2596
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +505 -2596
- package/components/dropdown/README.md +78 -62
- package/components/dropdown/demo/api.js +4 -4
- package/components/dropdown/demo/api.md +520 -478
- package/components/dropdown/demo/api.min.js +80 -95
- package/components/dropdown/demo/index.md +65 -119
- package/components/dropdown/demo/index.min.js +70 -85
- package/components/dropdown/demo/readme.html +3 -4
- package/components/dropdown/demo/readme.md +78 -62
- package/components/dropdown/dist/auro-dropdown.d.ts +42 -33
- package/components/dropdown/dist/iconVersion.d.ts +1 -1
- package/components/dropdown/dist/index.js +70 -85
- package/components/dropdown/dist/registered.js +70 -85
- package/components/form/README.md +16 -58
- package/components/form/demo/api.md +16 -21
- package/components/form/demo/api.min.js +13 -8
- package/components/form/demo/index.md +38 -39
- package/components/form/demo/index.min.js +13 -8
- package/components/form/demo/readme.md +16 -58
- package/components/form/demo/working.html +1 -1
- package/components/form/dist/auro-form.d.ts +15 -3
- package/components/form/dist/index.js +13 -8
- package/components/form/dist/registered.js +13 -8
- package/components/input/README.md +55 -60
- package/components/input/demo/api.js +3 -5
- package/components/input/demo/api.md +558 -537
- package/components/input/demo/api.min.js +102 -115
- package/components/input/demo/index.js +0 -1
- package/components/input/demo/index.md +90 -203
- package/components/input/demo/index.min.js +87 -99
- package/components/input/demo/readme.html +3 -4
- package/components/input/demo/readme.md +55 -60
- package/components/input/dist/auro-input.d.ts +6 -5
- package/components/input/dist/base-input.d.ts +68 -69
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +87 -82
- package/components/input/dist/registered.js +87 -82
- package/components/menu/README.md +61 -61
- package/components/menu/demo/api.js +6 -8
- package/components/menu/demo/api.md +520 -577
- package/components/menu/demo/api.min.js +199 -97
- package/components/menu/demo/index.js +0 -5
- package/components/menu/demo/index.md +36 -119
- package/components/menu/demo/index.min.js +164 -101
- package/components/menu/demo/readme.html +3 -4
- package/components/menu/demo/readme.md +61 -61
- package/components/menu/dist/auro-menu.context.d.ts +5 -0
- package/components/menu/dist/auro-menu.d.ts +75 -37
- package/components/menu/dist/auro-menuoption.d.ts +38 -13
- package/components/menu/dist/index.js +164 -50
- package/components/menu/dist/registered.js +164 -50
- package/components/radio/README.md +61 -57
- package/components/radio/demo/api.js +2 -2
- package/components/radio/demo/api.md +241 -170
- package/components/radio/demo/api.min.js +154 -77
- package/components/radio/demo/index.md +22 -99
- package/components/radio/demo/index.min.js +145 -68
- package/components/radio/demo/readme.html +3 -4
- package/components/radio/demo/readme.md +61 -57
- package/components/radio/dist/auro-radio-group.d.ts +67 -35
- package/components/radio/dist/auro-radio.d.ts +56 -33
- package/components/radio/dist/index.js +145 -68
- package/components/radio/dist/registered.js +145 -68
- package/components/select/README.md +68 -65
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +7 -7
- package/components/select/demo/api.md +1305 -625
- package/components/select/demo/api.min.js +357 -262
- package/components/select/demo/index.html +0 -2
- package/components/select/demo/index.md +25 -833
- package/components/select/demo/index.min.js +356 -230
- package/components/select/demo/readme.html +3 -4
- package/components/select/demo/readme.md +68 -65
- package/components/select/dist/auro-select.d.ts +99 -90
- package/components/select/dist/index.js +192 -180
- package/components/select/dist/registered.js +192 -180
- package/package.json +9 -4
|
@@ -422,7 +422,7 @@ const {
|
|
|
422
422
|
|
|
423
423
|
/* eslint-disable line-comment-position, no-inline-comments, no-confusing-arrow, no-nested-ternary, implicit-arrow-linebreak */
|
|
424
424
|
|
|
425
|
-
let AuroLibraryRuntimeUtils$
|
|
425
|
+
let AuroLibraryRuntimeUtils$5 = class AuroLibraryRuntimeUtils {
|
|
426
426
|
|
|
427
427
|
/* eslint-disable jsdoc/require-param */
|
|
428
428
|
|
|
@@ -505,7 +505,7 @@ let AuroLibraryRuntimeUtils$6 = class AuroLibraryRuntimeUtils {
|
|
|
505
505
|
let AuroFormValidation$1 = class AuroFormValidation {
|
|
506
506
|
|
|
507
507
|
constructor() {
|
|
508
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
508
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
/**
|
|
@@ -1355,11 +1355,11 @@ class UtilitiesCalendarRender {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
|
|
1358
|
-
var styleCss$9 = 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}.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}.accents{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center}.accents.left{padding-right:var(--ds-size-100, 0.5rem)}.accents.right{width:var(--ds-size-400, 2rem)}.accents .notification:not(.util_displayHidden){display:flex;align-items:center;justify-content:center}.mainContent{height:100%;max-height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.inputSection{display:flex;flex-direction:row;align-items:center;width:100%;margin:0 auto}.inputContainer{display:flex;flex-direction:row;align-items:center;width:100%}.inputContainer:first-of-type{justify-content:flex-end}.inputContainer:last-of-type{justify-content:flex-start}.dpTriggerContent{width:100%}.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
|
|
1358
|
+
var styleCss$8 = 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}.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}.accents{flex-grow:0;flex-shrink:0;display:flex;align-items:center;justify-content:center}.accents.left{padding-right:var(--ds-size-100, 0.5rem)}.accents.right{width:var(--ds-size-400, 2rem)}.accents .notification:not(.util_displayHidden){display:flex;align-items:center;justify-content:center}.mainContent{height:100%;max-height:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}.inputSection{display:flex;flex-direction:row;align-items:center;width:100%;margin:0 auto}.inputContainer{display:flex;flex-direction:row;align-items:center;width:100%}.inputContainer:first-of-type{justify-content:flex-end}.inputContainer:last-of-type{justify-content:flex-start}.dpTriggerContent{width:100%}.wrapper:not(:focus-within):not(:hover) .notification.clear{display:none}@media screen and (max-width: 576px){::part(popover){position:fixed !important;top:0 !important;left:0 !important;width:100vw !important;height:100vh !important;margin-bottom:var(--ds-size-200, 1rem);transform:unset !important}.calendarWrapper{display:flex;height:100dvh;flex-direction:row;justify-content:center}}`;
|
|
1359
1359
|
|
|
1360
|
-
var colorCss$
|
|
1360
|
+
var colorCss$8 = 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 label{color:var(--ds-auro-datepicker-label-text-color)}:host .inputDivider{background-color:var(--ds-auro-datepicker-range-input-divider-color)}:host .error{color:var(--ds-auro-datepicker-error-icon-color)}[auro-dropdown]{--ds-auro-dropdown-trigger-outline-color: var(--ds-auro-datepicker-outline-color)}[auro-input]::part(wrapper){--ds-auro-input-border-color: transparent;--ds-auro-input-container-color: transparent}.dpTriggerContent [auro-input]:nth-child(2):before{background-color:var(--ds-auro-datepicker-range-input-divider-color)}:host(:not([ondark])[disabled]),:host(:not([appearance=inverse])[disabled]){--ds-auro-datepicker-border-color: var(--ds-basic-color-border-subtle, #dddddd);--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-datepicker-placeholder-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host([ondark][disabled]),:host([appearance=inverse][disabled]){--ds-auro-datepicker-border-color: var(--ds-advanced-color-button-primary-border-inverse-disabled, rgba(255, 255, 255, 0.75));--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894);--ds-auro-datepicker-placeholder-text-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host(:not([ondark]):is([validity]:not([validity=valid]))),:host(:not([appearance=inverse]):is([validity]:not([validity=valid]))){--ds-auro-datepicker-outline-color: var(--ds-basic-color-status-error, #e31f26)}:host([ondark]:is([validity]:not([validity=valid]))),:host([appearance=inverse]:is([validity]:not([validity=valid]))){--ds-auro-datepicker-outline-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}`;
|
|
1361
1361
|
|
|
1362
|
-
var tokensCss$
|
|
1362
|
+
var tokensCss$4 = css`:host(:not([ondark])),:host(:not([appearance=inverse])){--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-border-bold, #585e67);--ds-auro-datepicker-error-icon-color: var(--ds-basic-color-status-error, #e31f26);--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-datepicker-outline-color: transparent;--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host([ondark]),:host([appearance=inverse]){--ds-auro-datepicker-range-input-divider-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-datepicker-error-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8);--ds-auro-datepicker-label-text-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db);--ds-auro-datepicker-outline-color: transparent;--ds-auro-calendar-mobile-header-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-mobile-header-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-mobile-header-text-color: var(--ds-basic-color-texticon-muted, #676767);--ds-auro-calendar-nav-btn-border-color: transparent;--ds-auro-calendar-nav-btn-chevron-color: var(--ds-basic-color-brand-primary, #01426a);--ds-auro-calendar-nav-btn-container-color: transparent;--ds-auro-calendar-month-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-calendar-month-divider-color: var(--ds-basic-color-border-divider, rgba(0, 0, 0, 0.15));--ds-auro-calendar-month-header-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-border-color: transparent;--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-in-range-color: var(--ds-advanced-color-shared-background-muted, #f7f7f7);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}`;
|
|
1363
1363
|
|
|
1364
1364
|
var shapeSizeCss$2 = css`.shape-classic-xl,.shape-classic-lg,.shape-classic-md,.shape-classic-sm,.shape-classic-xs{min-height:56px;max-height:56px;border-style:solid;border-width:1px;border-radius:var(--ds-border-radius, 0.375rem)}.shape-classic-xl.simple,.shape-classic-lg.simple,.shape-classic-md.simple,.shape-classic-sm.simple,.shape-classic-xs.simple{border-width:0px;min-height:58px;max-height:58px;background-color:unset;box-shadow:none}.shape-classic-xl.thin,.shape-classic-lg.thin,.shape-classic-md.thin,.shape-classic-sm.thin,.shape-classic-xs.thin{border-width:1px;min-height:56px;max-height:56px;background-color:unset}.shape-classic-xl.parentBorder,.shape-classic-lg.parentBorder,.shape-classic-md.parentBorder,.shape-classic-sm.parentBorder,.shape-classic-xs.parentBorder{border:0;box-shadow:unset;min-height:54px;max-height:54px}.shape-snowflake-xl,.shape-snowflake-lg,.shape-snowflake-md,.shape-snowflake-sm,.shape-snowflake-xs{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:30px}.shape-snowflake-xl.simple,.shape-snowflake-lg.simple,.shape-snowflake-md.simple,.shape-snowflake-sm.simple,.shape-snowflake-xs.simple{border-width:0px;min-height:60px;max-height:60px;background-color:unset;box-shadow:none}.shape-snowflake-xl.thin,.shape-snowflake-lg.thin,.shape-snowflake-md.thin,.shape-snowflake-sm.thin,.shape-snowflake-xs.thin{border-width:1px;min-height:58px;max-height:58px;background-color:unset}.shape-snowflake-xl.parentBorder,.shape-snowflake-lg.parentBorder,.shape-snowflake-md.parentBorder,.shape-snowflake-sm.parentBorder,.shape-snowflake-xs.parentBorder{border:0;box-shadow:unset;min-height:56px;max-height:56px}.shape-box-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-box-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-box-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-box-lg{min-height:52px;max-height:52px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-box-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-box-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-box-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-box-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-box-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-box-sm{min-height:32px;max-height:32px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-sm.simple{border-width:0px;min-height:36px;max-height:36px;background-color:unset;box-shadow:none}.shape-box-sm.thin{border-width:1px;min-height:34px;max-height:34px;background-color:unset}.shape-box-sm.parentBorder{border:0;box-shadow:unset;min-height:32px;max-height:32px}.shape-box-xs{min-height:20px;max-height:20px;border-style:solid;border-width:2px;border-color:transparent}.shape-box-xs.simple{border-width:0px;min-height:24px;max-height:24px;background-color:unset;box-shadow:none}.shape-box-xs.thin{border-width:1px;min-height:22px;max-height:22px;background-color:unset}.shape-box-xs.parentBorder{border:0;box-shadow:unset;min-height:20px;max-height:20px}.shape-rounded-lg{min-height:56px;max-height:56px;border-style:solid;border-width:2px;border-color:transparent;border-radius:6px}.shape-rounded-lg.simple{border-width:0px;min-height:56px;max-height:56px;background-color:unset;box-shadow:none}.shape-rounded-lg.thin{border-width:1px;min-height:54px;max-height:54px;background-color:unset}.shape-rounded-lg.parentBorder{border:0;box-shadow:unset;min-height:52px;max-height:52px}.shape-pill-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-left-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-left-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-left-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-right-xl{min-height:68px;max-height:68px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-xl.simple{border-width:0px;min-height:72px;max-height:72px;background-color:unset;box-shadow:none}.shape-pill-right-xl.thin{border-width:1px;min-height:70px;max-height:70px;background-color:unset}.shape-pill-right-xl.parentBorder{border:0;box-shadow:unset;min-height:68px;max-height:68px}.shape-pill-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px}.shape-pill-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-left-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:36px 0 0 36px}.shape-pill-left-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-left-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-left-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}.shape-pill-right-md{min-height:44px;max-height:44px;border-style:solid;border-width:2px;border-color:transparent;border-radius:0 36px 36px 0}.shape-pill-right-md.simple{border-width:0px;min-height:48px;max-height:48px;background-color:unset;box-shadow:none}.shape-pill-right-md.thin{border-width:1px;min-height:46px;max-height:46px;background-color:unset}.shape-pill-right-md.parentBorder{border:0;box-shadow:unset;min-height:44px;max-height:44px}`;
|
|
1365
1365
|
|
|
@@ -1371,13 +1371,13 @@ var snowflakeStyle = css`:host([layout*=snowflake]) [auro-input]{flex:1;text-ali
|
|
|
1371
1371
|
|
|
1372
1372
|
var snowflakeColors = css`:host([layout=snowflake]) [auro-dropdown]:not(:is([error],.hasFocus)){--ds-auro-dropdown-trigger-border-color: transparent}`;
|
|
1373
1373
|
|
|
1374
|
-
var styleCss$8 = css`.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{padding:var(--ds-size-25, 0.125rem) 0}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
|
|
1374
|
+
var styleCss$7 = css`.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}:host{--calendar-width: 336px;--mobile-footer-height: 150px;--mobile-header-height: 68px;height:100vh;height:100dvh}.calendars{display:flex;flex-direction:row}.calendarNavButtons{position:absolute;top:var(--ds-size-200, 1rem);right:var(--ds-size-50, 0.25rem);left:var(--ds-size-50, 0.25rem)}.calendarNavBtn{display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.prevMonth,.nextMonth{position:absolute;top:0}.prevMonth{left:0}.nextMonth{right:0}.headerActions{padding:0 var(--ds-size-200, 1rem)}.mobileHeader{width:100%;height:var(--mobile-header-height);z-index:1;align-items:center;flex-direction:row}.headerDateFrom{display:flex;height:var(--mobile-header-height);flex:1;flex-direction:column;justify-content:center;padding:0 var(--ds-size-150, 0.75rem) 0 var(--ds-size-200, 1rem)}.mobileDateLabel{padding:var(--ds-size-25, 0.125rem) 0}.headerDateTo{height:calc(var(--mobile-header-height) - var(--ds-size-300, 1.5rem));padding:var(--ds-size-300, 1.5rem) var(--ds-size-100, 0.5rem) 0 var(--ds-size-200, 1rem)}:host(:not([noRange])) .headerDateTo{position:relative;display:flex;flex:1;flex-direction:column;justify-content:center}:host(:not([noRange])) .headerDateTo:after{position:absolute;top:calc(50% + 10px);left:0;display:block;width:1px;height:var(--ds-size-300, 1.5rem);content:"";transform:translateY(-50%)}.mobileFooter{display:none;width:100%;align-items:flex-end;flex-direction:column;justify-content:flex-end}.mobileFooterActions{position:relative;bottom:0;left:50%;display:none;width:calc(100% - var(--ds-size-200, 1rem)*2);align-items:flex-end;flex-direction:column;justify-content:flex-end;padding:var(--ds-size-150) calc(var(--ds-size-200, 1rem));transform:translateX(-50%)}.mobileFooterActions auro-button{width:100%}:host([isfullscreen]){width:100%;max-height:100dvh;overflow:hidden}:host([isfullscreen]) .prevMonth,:host([isfullscreen]) .nextMonth{display:none}:host([isfullscreen]) .mobileHeader,:host([isfullscreen]) .mobileFooter,:host([isfullscreen]) .mobileFooterActions{display:flex}:host([isfullscreen]) .calendarWrapper{display:flex;flex-direction:column}:host([isfullscreen]) .calendars{display:flex;flex-direction:column;flex:1;align-items:center;width:100%;overscroll-behavior:contain}:host([isfullscreen]) .calendars:after{display:block;width:100%;height:var(--mobile-footer-height);content:""}`;
|
|
1375
1375
|
|
|
1376
|
-
var colorCss$
|
|
1376
|
+
var colorCss$7 = css`.calendarNavBtn{border-color:var(--ds-auro-calendar-nav-btn-border-color);background-color:var(--ds-auro-calendar-nav-btn-container-color);color:var(--ds-auro-calendar-nav-btn-chevron-color)}.calendarNavBtn:hover{--ds-auro-calendar-nav-btn-container-color: var(--ds-advanced-color-state-background-hover, #f2f2f2);--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:focus{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}.calendarNavBtn:active{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a);box-shadow:inset 0 0 0 1px var(--ds-auro-calendar-nav-btn-border-color)}.mobileHeader{background-color:var(--ds-auro-calendar-mobile-header-container-color)}.mobileDateLabel{color:var(--ds-auro-calendar-mobile-header-text-color)}:host(:not([noRange])) .headerDateTo:after{background-color:var(--ds-auro-calendar-mobile-header-divider-color)}::slotted([slot="bib.fullscreen.fromStr"]),::slotted([slot=mobileDateToStr]){color:var(--ds-auro-datepicker-placeholder-color)}@media screen and (max-width: 576px){.calendarNavBtn{--ds-auro-calendar-nav-btn-border-color: var(--ds-basic-color-brand-primary, #01426a)}}`;
|
|
1377
1377
|
|
|
1378
|
-
var styleCss$7 = css`:focus:not(:focus-visible){outline:3px solid transparent}.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;height:var(--ds-size-500, 2.5rem);margin-bottom:var(--ds-size-150, 0.75rem);align-items:center;flex-direction:row;text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
1378
|
+
var styleCss$6 = css`:focus:not(:focus-visible){outline:3px solid transparent}.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}:host{position:relative;display:block;width:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));margin:0 var(--ds-size-200, 1rem)}@media screen and (min-width: 576px){:host{width:336px;padding:var(--ds-size-200, 1rem)}}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{position:absolute;top:var(--ds-size-200, 1rem);right:calc(-1*var(--ds-size-200, 1rem));height:calc(100% - var(--ds-size-200, 1rem) - var(--ds-size-200, 1rem));display:block;width:1px;content:""}}.header{display:flex;height:var(--ds-size-500, 2.5rem);margin-bottom:var(--ds-size-150, 0.75rem);align-items:center;flex-direction:row;text-align:center}.headerTitle{display:flex;align-items:center;flex:1;flex-direction:row;justify-content:center}.headerTitle div:first-child{margin-right:var(--ds-size-100, 0.5rem)}.calendarNavBtn{position:relative;display:flex;width:var(--ds-size-500, 2.5rem);height:var(--ds-size-500, 2.5rem);align-items:center;justify-content:center;border-width:1px;border-style:solid;border-radius:50%;cursor:pointer}.table{width:100%;border-collapse:collapse}.thead{margin-bottom:var(--ds-size-100, 0.5rem)}.th{display:flex;flex:1;align-items:center;justify-content:center}.tbody{width:100%;transition:all 0ms;transform:translateX(0)}@media screen and (min-width: 576px){.tbody{height:384px}}.td{flex:1;margin:0;padding:0}.tr{display:flex;flex-direction:row;width:100%}`;
|
|
1379
1379
|
|
|
1380
|
-
var colorCss$
|
|
1380
|
+
var colorCss$6 = css`:focus:not(:focus-visible){outline:3px solid transparent}:host{background-color:var(--ds-auro-calendar-month-container-color)}@media screen and (min-width: 576px){:host(:not(:last-of-type)):after{background-color:var(--ds-auro-calendar-month-divider-color)}}.header{color:var(--ds-auro-calendar-month-header-color)}`;
|
|
1381
1381
|
|
|
1382
1382
|
/******************************************************************************
|
|
1383
1383
|
Copyright (c) Microsoft Corporation.
|
|
@@ -7364,7 +7364,7 @@ __decorate([property({ type: Array })], RangeDatepickerCell.prototype, "disabled
|
|
|
7364
7364
|
__decorate([property({ type: String })], RangeDatepickerCell.prototype, "hoveredDate", void 0);
|
|
7365
7365
|
__decorate([property({ type: Boolean })], RangeDatepickerCell.prototype, "isCurrentDate", void 0);
|
|
7366
7366
|
__decorate([property({ type: Object })], RangeDatepickerCell.prototype, "locale", null);
|
|
7367
|
-
AuroLibraryRuntimeUtils$
|
|
7367
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent('wc-range-datepicker-cell', RangeDatepickerCell);
|
|
7368
7368
|
|
|
7369
7369
|
class Day {
|
|
7370
7370
|
constructor(date) {
|
|
@@ -7882,2390 +7882,265 @@ __decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "year
|
|
|
7882
7882
|
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "monthsList", void 0);
|
|
7883
7883
|
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "dayNamesOfTheWeek", void 0);
|
|
7884
7884
|
__decorate([property({ type: Array })], RangeDatepickerCalendar.prototype, "daysOfMonth", void 0);
|
|
7885
|
-
AuroLibraryRuntimeUtils$
|
|
7885
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent('wc-range-datepicker-calendar', RangeDatepickerCalendar);
|
|
7886
7886
|
|
|
7887
|
-
var styleCss$6 = css`.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;user-select:none}.day.disabled{cursor:default !important}.day.reference{box-shadow:inset 0 0 0 2px var(--ds-advanced-color-shared-background, #ffffff)}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:100%;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem)}.day:hover{cursor:pointer}}`;
|
|
7887
|
+
var styleCss$5 = css`.body-default{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);font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5rem)}.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);font-size:var(--wcss-body-lg-font-size, 1.125rem);line-height:var(--wcss-body-lg-line-height, 1.625rem)}.body-sm{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);font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25rem)}.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);font-size:var(--wcss-body-xs-font-size, 0.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-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);font-size:var(--wcss-body-2xs-font-size, 0.625rem);line-height:var(--wcss-body-2xs-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);letter-spacing:var(--wcss-display-2xl-letter-spacing, 0);font-weight:var(--wcss-display-2xl-weight, 300);line-height:var(--wcss-display-2xl-line-height, 1.3);font-size:var(--wcss-display-2xl-font-size, clamp(3.5rem, 6vw, 5.375rem))}.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);letter-spacing:var(--wcss-display-xl-letter-spacing, 0);font-weight:var(--wcss-display-xl-weight, 300);line-height:var(--wcss-display-xl-line-height, 1.3);font-size:var(--wcss-display-xl-font-size, clamp(3rem, 5.3333333333vw, 4.5rem))}.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);letter-spacing:var(--wcss-display-lg-letter-spacing, 0);font-weight:var(--wcss-display-lg-weight, 300);line-height:var(--wcss-display-lg-line-height, 1.3);font-size:var(--wcss-display-lg-font-size, clamp(2.75rem, 4.6666666667vw, 4rem))}.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);letter-spacing:var(--wcss-display-md-letter-spacing, 0);font-weight:var(--wcss-display-md-weight, 300);line-height:var(--wcss-display-md-line-height, 1.3);font-size:var(--wcss-display-md-font-size, clamp(2.5rem, 4vw, 3.5rem))}.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);letter-spacing:var(--wcss-display-sm-letter-spacing, 0);font-weight:var(--wcss-display-sm-weight, 300);line-height:var(--wcss-display-sm-line-height, 1.3);font-size:var(--wcss-display-sm-font-size, clamp(2rem, 3.6666666667vw, 3rem))}.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);letter-spacing:var(--wcss-display-xs-letter-spacing, 0);font-weight:var(--wcss-display-xs-weight, 300);line-height:var(--wcss-display-xs-line-height, 1.3);font-size:var(--wcss-display-xs-font-size, clamp(1.75rem, 3vw, 2.375rem))}.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);letter-spacing:var(--wcss-heading-xl-letter-spacing, 0);font-weight:var(--wcss-heading-xl-weight, 300);line-height:var(--wcss-heading-xl-line-height, 1.3);font-size:var(--wcss-heading-xl-font-size, clamp(2rem, 3vw, 2.5rem))}.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);letter-spacing:var(--wcss-heading-lg-letter-spacing, 0);font-weight:var(--wcss-heading-lg-weight, 300);line-height:var(--wcss-heading-lg-line-height, 1.3);font-size:var(--wcss-heading-lg-font-size, clamp(1.75rem, 2.6666666667vw, 2.25rem))}.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);letter-spacing:var(--wcss-heading-md-letter-spacing, 0);font-weight:var(--wcss-heading-md-weight, 300);line-height:var(--wcss-heading-md-line-height, 1.3);font-size:var(--wcss-heading-md-font-size, clamp(1.625rem, 2.3333333333vw, 1.75rem))}.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);letter-spacing:var(--wcss-heading-sm-letter-spacing, 0);font-weight:var(--wcss-heading-sm-weight, 300);line-height:var(--wcss-heading-sm-line-height, 1.3);font-size:var(--wcss-heading-sm-font-size, clamp(1.375rem, 2vw, 1.5rem))}.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);letter-spacing:var(--wcss-heading-xs-letter-spacing, 0);font-weight:var(--wcss-heading-xs-weight, 450);line-height:var(--wcss-heading-xs-line-height, 1.3);font-size:var(--wcss-heading-xs-font-size, clamp(1.25rem, 1.6666666667vw, 1.25rem))}.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);letter-spacing:var(--wcss-heading-2xs-letter-spacing, 0);font-weight:var(--wcss-heading-2xs-weight, 450);line-height:var(--wcss-heading-2xs-line-height, 1.3);font-size:var(--wcss-heading-2xs-font-size, clamp(1.125rem, 1.5vw, 1.125rem))}.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);letter-spacing:var(--wcss-accent-2xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-2xl-weight, 450);line-height:var(--wcss-accent-2xl-line-height, 1);font-size:var(--wcss-accent-2xl-font-size, clamp(2rem, 3.1666666667vw, 2.375rem));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);letter-spacing:var(--wcss-accent-xl-letter-spacing, 0.05em);font-weight:var(--wcss-accent-xl-weight, 450);line-height:var(--wcss-accent-xl-line-height, 1.3);font-size:var(--wcss-accent-xl-font-size, clamp(1.625rem, 2.3333333333vw, 2rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-lg-letter-spacing, 0.05em);font-weight:var(--wcss-accent-lg-weight, 450);line-height:var(--wcss-accent-lg-line-height, 1.3);font-size:var(--wcss-accent-lg-font-size, clamp(1.5rem, 2.1666666667vw, 1.75rem));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);letter-spacing:var(--wcss-accent-md-letter-spacing, 0.05em);font-weight:var(--wcss-accent-md-weight, 500);line-height:var(--wcss-accent-md-line-height, 1.3);font-size:var(--wcss-accent-md-font-size, clamp(1.375rem, 1.8333333333vw, 1.5rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-sm-letter-spacing, 0.05em);font-weight:var(--wcss-accent-sm-weight, 500);line-height:var(--wcss-accent-sm-line-height, 1.3);font-size:var(--wcss-accent-sm-font-size, clamp(1.125rem, 1.5vw, 1.25rem));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);letter-spacing:var(--wcss-accent-xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-xs-weight, 500);line-height:var(--wcss-accent-xs-line-height, 1.3);font-size:var(--wcss-accent-xs-font-size, clamp(1rem, 1.3333333333vw, 1rem));text-transform:uppercase}.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);letter-spacing:var(--wcss-accent-2xs-letter-spacing, 0.1em);font-weight:var(--wcss-accent-2xs-weight, 450);line-height:var(--wcss-accent-2xs-line-height, 1.3);font-size:var(--wcss-accent-2xs-font-size, clamp(0.875rem, 1.1666666667vw, 0.875rem));text-transform:uppercase}@media screen and (max-width: 576px){:host{display:flex;justify-content:center}}.day{position:relative;width:var(--ds-size-500, 2.5rem);height:calc(var(--ds-size-700, 3.5rem) - 2px);padding:0;border-width:1px;border-style:solid;border-radius:var(--ds-size-300, 1.5rem);cursor:pointer;user-select:none}.day.disabled{cursor:default !important}.day.reference{box-shadow:inset 0 0 0 2px var(--ds-advanced-color-shared-background, #ffffff)}.day.inRange::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%)}@media screen and (min-width: 576px){.day.inRange::before{width:var(--ds-size-600, 3rem)}}.day.rangeDepartDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(0%, -50%)}@media screen and (min-width: 576px){.day.rangeDepartDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.day.rangeReturnDate::before,.day.lastHoveredDate::before{position:absolute;z-index:-1;top:50%;left:50%;display:block;width:14.2857142857vw;height:var(--ds-size-600, 3rem);content:"";transform:translate(-50%, -50%);width:7.1428571429vw;transform:translate(-100%, -50%)}@media screen and (min-width: 576px){.day.rangeReturnDate::before,.day.lastHoveredDate::before{width:calc(var(--ds-size-600, 3rem)/2)}}.dateSlot{display:flex;flex-direction:column}::slotted([slot^=date_]){position:absolute;top:80%;left:50%;width:100%;white-space:nowrap;transform:translate(-50%, -50%)}::slotted(auro-icon){max-height:24px;max-width:24px}:host([renderForDateSlot]) .buttonWrapper{position:relative;width:100%;top:5px}:host([renderForDateSlot]) .currentDayMarker{position:relative;padding-bottom:5px;top:-8px}@media screen and (min-width: 576px){.day{width:var(--ds-size-600, 3rem);height:var(--ds-size-800, 4rem)}.day:hover{cursor:pointer}}`;
|
|
7888
7888
|
|
|
7889
|
-
var colorCss$
|
|
7889
|
+
var colorCss$5 = css`:host ::slotted([slot^=date_]){color:var(--ds-auro-calendar-cell-price-text-color)}:host ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-status-success, #447a1f)}:host .day{border-color:var(--ds-auro-calendar-cell-border-color);background-color:var(--ds-auro-calendar-cell-container-color);color:var(--ds-auro-calendar-cell-text-color)}:host .day.selected{--ds-auro-calendar-cell-container-color: var(--ds-advanced-color-state-selected, #01426a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-inverse, #ffffff);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host .day.selected ::slotted([slot^=date_][highlight]){--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host .day.selected:hover{--ds-auro-calendar-cell-container-color: var(--ds-advanced-color-state-selected-hover, #00274a);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host .day.reference{--ds-auro-calendar-cell-border-color: var(--ds-basic-color-border-default, #959595)}:host .day.reference:not(.selected):not(.disabled){--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-muted, #676767)}:host .day.reference.selected{--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host .day:hover{--ds-auro-calendar-cell-container-color: var(--ds-advanced-color-state-background-hover, #f2f2f2);--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}:host .day.disabled{--ds-auro-calendar-cell-container-color: transparent;--ds-auro-calendar-cell-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0);--ds-auro-calendar-cell-price-text-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host .day.inRange:before,:host .day.rangeDepartDate:before,:host .day.rangeReturnDate:before,:host .day.lastHoveredDate:before{background-color:var(--ds-auro-calendar-cell-in-range-color)}:host .day.sameDateTrip:before{--ds-auro-calendar-cell-in-range-color: transparent}`;
|
|
7890
7890
|
|
|
7891
|
-
// Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
|
|
7892
|
-
// See LICENSE in the project root for license information.
|
|
7891
|
+
class s{registerComponent(e,t){customElements.get(e)||customElements.define(e,class extends t{});}closestElement(e,t=this,i=(t,s=t&&t.closest(e))=>t&&t!==document&&t!==window?s||i(t.getRootNode().host):null){return i(t)}handleComponentTagRename(e,t){const i=t.toLowerCase();e.tagName.toLowerCase()!==i&&e.setAttribute(i,true);}elementMatch(e,t){const i=t.toLowerCase();return e.tagName.toLowerCase()===i||e.hasAttribute(i)}}var r="top",a="bottom",n$1="right",o="left",l$3="auto",c$3=[r,a,n$1,o],p$6="start",d$3="end",f$6="viewport",m$6="popper",u$6=c$3.reduce(function(e,t){return e.concat([t+"-"+p$6,t+"-"+d$3])},[]),h$3=[].concat(c$3,[l$3]).reduce(function(e,t){return e.concat([t,t+"-"+p$6,t+"-"+d$3])},[]),g$6=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function v$3(e){return e?(e.nodeName||"").toLowerCase():null}function y$6(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w$6(e){return e instanceof y$6(e).Element||e instanceof Element}function b$3(e){return e instanceof y$6(e).HTMLElement||e instanceof HTMLElement}function x$6(e){return "undefined"!=typeof ShadowRoot&&(e instanceof y$6(e).ShadowRoot||e instanceof ShadowRoot)}var S$3={name:"applyStyles",enabled:true,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var i=t.styles[e]||{},s=t.attributes[e]||{},r=t.elements[e];b$3(r)&&v$3(r)&&(Object.assign(r.style,i),Object.keys(s).forEach(function(e){var t=s[e];false===t?r.removeAttribute(e):r.setAttribute(e,true===t?"":t);}));});},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach(function(e){var s=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce(function(e,t){return e[t]="",e},{});b$3(s)&&v$3(s)&&(Object.assign(s.style,a),Object.keys(r).forEach(function(e){s.removeAttribute(e);}));});}},requires:["computeStyles"]};function O(e){return e.split("-")[0]}var k$6=Math.max,z$6=Math.min,A$3=Math.round;function E(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function H$3(){return !/^((?!chrome|android).)*safari/i.test(E())}function M$3(e,t,i){ void 0===t&&(t=false),void 0===i&&(i=false);var s=e.getBoundingClientRect(),r=1,a=1;t&&b$3(e)&&(r=e.offsetWidth>0&&A$3(s.width)/e.offsetWidth||1,a=e.offsetHeight>0&&A$3(s.height)/e.offsetHeight||1);var n=(w$6(e)?y$6(e):window).visualViewport,o=!H$3()&&i,l=(s.left+(o&&n?n.offsetLeft:0))/r,c=(s.top+(o&&n?n.offsetTop:0))/a,p=s.width/r,d=s.height/a;return {width:p,height:d,top:c,right:l+p,bottom:c+d,left:l,x:l,y:c}}function B$3(e){var t=M$3(e),i=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:s}}function R$3(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return true;if(i&&x$6(i)){var s=t;do{if(s&&e.isSameNode(s))return true;s=s.parentNode||s.host;}while(s)}return false}function C$3(e){return y$6(e).getComputedStyle(e)}function L(e){return ["table","td","th"].indexOf(v$3(e))>=0}function _(e){return ((w$6(e)?e.ownerDocument:e.document)||window.document).documentElement}function j(e){return "html"===v$3(e)?e:e.assignedSlot||e.parentNode||(x$6(e)?e.host:null)||_(e)}function N$3(e){return b$3(e)&&"fixed"!==C$3(e).position?e.offsetParent:null}function D(e){for(var t=y$6(e),i=N$3(e);i&&L(i)&&"static"===C$3(i).position;)i=N$3(i);return i&&("html"===v$3(i)||"body"===v$3(i)&&"static"===C$3(i).position)?t:i||function(e){var t=/firefox/i.test(E());if(/Trident/i.test(E())&&b$3(e)&&"fixed"===C$3(e).position)return null;var i=j(e);for(x$6(i)&&(i=i.host);b$3(i)&&["html","body"].indexOf(v$3(i))<0;){var s=C$3(i);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return i;i=i.parentNode;}return null}(e)||t}function P(e){return ["top","bottom"].indexOf(e)>=0?"x":"y"}function U$3(e,t,i){return k$6(e,z$6(t,i))}function I(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function F(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}var q$3={name:"arrow",enabled:true,phase:"main",fn:function(e){var t,i=e.state,s=e.name,l=e.options,p=i.elements.arrow,d=i.modifiersData.popperOffsets,f=O(i.placement),m=P(f),u=[o,n$1].indexOf(f)>=0?"height":"width";if(p&&d){var h=function(e,t){return I("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:F(e,c$3))}(l.padding,i),g=B$3(p),v="y"===m?r:o,y="y"===m?a:n$1,w=i.rects.reference[u]+i.rects.reference[m]-d[m]-i.rects.popper[u],b=d[m]-i.rects.reference[m],x=D(p),S=x?"y"===m?x.clientHeight||0:x.clientWidth||0:0,k=w/2-b/2,z=h[v],A=S-g[u]-h[y],E=S/2-g[u]/2+k,H=U$3(z,E,A),M=m;i.modifiersData[s]=((t={})[M]=H,t.centerOffset=H-E,t);}},effect:function(e){var t=e.state,i=e.options.element,s=void 0===i?"[data-popper-arrow]":i;null!=s&&("string"!=typeof s||(s=t.elements.popper.querySelector(s)))&&R$3(t.elements.popper,s)&&(t.elements.arrow=s);},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function T$3(e){return e.split("-")[1]}var W={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,i=e.popper,s=e.popperRect,l=e.placement,c=e.variation,p=e.offsets,f=e.position,m=e.gpuAcceleration,u=e.adaptive,h=e.roundOffsets,g=e.isFixed,v=p.x,w=void 0===v?0:v,b=p.y,x=void 0===b?0:b,S="function"==typeof h?h({x:w,y:x}):{x:w,y:x};w=S.x,x=S.y;var O=p.hasOwnProperty("x"),k=p.hasOwnProperty("y"),z=o,E=r,H=window;if(u){var M=D(i),B="clientHeight",R="clientWidth";if(M===y$6(i)&&"static"!==C$3(M=_(i)).position&&"absolute"===f&&(B="scrollHeight",R="scrollWidth"),l===r||(l===o||l===n$1)&&c===d$3)E=a,x-=(g&&M===H&&H.visualViewport?H.visualViewport.height:M[B])-s.height,x*=m?1:-1;if(l===o||(l===r||l===a)&&c===d$3)z=n$1,w-=(g&&M===H&&H.visualViewport?H.visualViewport.width:M[R])-s.width,w*=m?1:-1;}var L,j=Object.assign({position:f},u&&W),N=true===h?function(e,t){var i=e.x,s=e.y,r=t.devicePixelRatio||1;return {x:A$3(i*r)/r||0,y:A$3(s*r)/r||0}}({x:w,y:x},y$6(i)):{x:w,y:x};return w=N.x,x=N.y,m?Object.assign({},j,((L={})[E]=k?"0":"",L[z]=O?"0":"",L.transform=(H.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",L)):Object.assign({},j,((t={})[E]=k?x+"px":"",t[z]=O?w+"px":"",t.transform="",t))}var V={passive:true};var $={left:"right",right:"left",bottom:"top",top:"bottom"};function G(e){return e.replace(/left|right|bottom|top/g,function(e){return $[e]})}var Y={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,function(e){return Y[e]})}function K(e){var t=y$6(e);return {scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Q(e){return M$3(_(e)).left+K(e).scrollLeft}function Z(e){var t=C$3(e),i=t.overflow,s=t.overflowX,r=t.overflowY;return /auto|scroll|overlay|hidden/.test(i+r+s)}function ee(e){return ["html","body","#document"].indexOf(v$3(e))>=0?e.ownerDocument.body:b$3(e)&&Z(e)?e:ee(j(e))}function te(e,t){var i;void 0===t&&(t=[]);var s=ee(e),r=s===(null==(i=e.ownerDocument)?void 0:i.body),a=y$6(s),n=r?[a].concat(a.visualViewport||[],Z(s)?s:[]):s,o=t.concat(n);return r?o:o.concat(te(j(n)))}function ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,i){return t===f$6?ie(function(e,t){var i=y$6(e),s=_(e),r=i.visualViewport,a=s.clientWidth,n=s.clientHeight,o=0,l=0;if(r){a=r.width,n=r.height;var c=H$3();(c||!c&&"fixed"===t)&&(o=r.offsetLeft,l=r.offsetTop);}return {width:a,height:n,x:o+Q(e),y:l}}(e,i)):w$6(t)?function(e,t){var i=M$3(e,false,"fixed"===t);return i.top=i.top+e.clientTop,i.left=i.left+e.clientLeft,i.bottom=i.top+e.clientHeight,i.right=i.left+e.clientWidth,i.width=e.clientWidth,i.height=e.clientHeight,i.x=i.left,i.y=i.top,i}(t,i):ie(function(e){var t,i=_(e),s=K(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=k$6(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),n=k$6(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-s.scrollLeft+Q(e),l=-s.scrollTop;return "rtl"===C$3(r||i).direction&&(o+=k$6(i.clientWidth,r?r.clientWidth:0)-a),{width:a,height:n,x:o,y:l}}(_(e)))}function re(e,t,i,s){var r="clippingParents"===t?function(e){var t=te(j(e)),i=["absolute","fixed"].indexOf(C$3(e).position)>=0&&b$3(e)?D(e):e;return w$6(i)?t.filter(function(e){return w$6(e)&&R$3(e,i)&&"body"!==v$3(e)}):[]}(e):[].concat(t),a=[].concat(r,[i]),n=a[0],o=a.reduce(function(t,i){var r=se(e,i,s);return t.top=k$6(r.top,t.top),t.right=z$6(r.right,t.right),t.bottom=z$6(r.bottom,t.bottom),t.left=k$6(r.left,t.left),t},se(e,n,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function ae(e){var t,i=e.reference,s=e.element,l=e.placement,c=l?O(l):null,f=l?T$3(l):null,m=i.x+i.width/2-s.width/2,u=i.y+i.height/2-s.height/2;switch(c){case r:t={x:m,y:i.y-s.height};break;case a:t={x:m,y:i.y+i.height};break;case n$1:t={x:i.x+i.width,y:u};break;case o:t={x:i.x-s.width,y:u};break;default:t={x:i.x,y:i.y};}var h=c?P(c):null;if(null!=h){var g="y"===h?"height":"width";switch(f){case p$6:t[h]=t[h]-(i[g]/2-s[g]/2);break;case d$3:t[h]=t[h]+(i[g]/2-s[g]/2);}}return t}function ne(e,t){ void 0===t&&(t={});var i=t,s=i.placement,o=void 0===s?e.placement:s,l=i.strategy,p=void 0===l?e.strategy:l,d=i.boundary,u=void 0===d?"clippingParents":d,h=i.rootBoundary,g=void 0===h?f$6:h,v=i.elementContext,y=void 0===v?m$6:v,b=i.altBoundary,x=void 0!==b&&b,S=i.padding,O=void 0===S?0:S,k=I("number"!=typeof O?O:F(O,c$3)),z=y===m$6?"reference":m$6,A=e.rects.popper,E=e.elements[x?z:y],H=re(w$6(E)?E:E.contextElement||_(e.elements.popper),u,g,p),B=M$3(e.elements.reference),R=ae({reference:B,element:A,placement:o}),C=ie(Object.assign({},A,R)),L=y===m$6?C:B,j={top:H.top-L.top+k.top,bottom:L.bottom-H.bottom+k.bottom,left:H.left-L.left+k.left,right:L.right-H.right+k.right},N=e.modifiersData.offset;if(y===m$6&&N){var D=N[o];Object.keys(j).forEach(function(e){var t=[n$1,a].indexOf(e)>=0?1:-1,i=[r,a].indexOf(e)>=0?"y":"x";j[e]+=D[i]*t;});}return j}function oe(e,t){ void 0===t&&(t={});var i=t,s=i.placement,r=i.boundary,a=i.rootBoundary,n=i.padding,o=i.flipVariations,l=i.allowedAutoPlacements,p=void 0===l?h$3:l,d=T$3(s),f=d?o?u$6:u$6.filter(function(e){return T$3(e)===d}):c$3,m=f.filter(function(e){return p.indexOf(e)>=0});0===m.length&&(m=f);var g=m.reduce(function(t,i){return t[i]=ne(e,{placement:i,boundary:r,rootBoundary:a,padding:n})[O(i)],t},{});return Object.keys(g).sort(function(e,t){return g[e]-g[t]})}var le={name:"flip",enabled:true,phase:"main",fn:function(e){var t=e.state,i=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var c=i.mainAxis,d=void 0===c||c,f=i.altAxis,m=void 0===f||f,u=i.fallbackPlacements,h=i.padding,g=i.boundary,v=i.rootBoundary,y=i.altBoundary,w=i.flipVariations,b=void 0===w||w,x=i.allowedAutoPlacements,S=t.options.placement,k=O(S),z=u||(k===S||!b?[G(S)]:function(e){if(O(e)===l$3)return [];var t=G(e);return [J(e),t,J(t)]}(S)),A=[S].concat(z).reduce(function(e,i){return e.concat(O(i)===l$3?oe(t,{placement:i,boundary:g,rootBoundary:v,padding:h,flipVariations:b,allowedAutoPlacements:x}):i)},[]),E=t.rects.reference,H=t.rects.popper,M=new Map,B=true,R=A[0],C=0;C<A.length;C++){var L=A[C],_=O(L),j=T$3(L)===p$6,N=[r,a].indexOf(_)>=0,D=N?"width":"height",P=ne(t,{placement:L,boundary:g,rootBoundary:v,altBoundary:y,padding:h}),U=N?j?n$1:o:j?a:r;E[D]>H[D]&&(U=G(U));var I=G(U),F=[];if(d&&F.push(P[_]<=0),m&&F.push(P[U]<=0,P[I]<=0),F.every(function(e){return e})){R=L,B=false;break}M.set(L,F);}if(B)for(var q=function(e){var t=A.find(function(t){var i=M.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return R=t,"break"},W=b?3:1;W>0;W--){if("break"===q(W))break}t.placement!==R&&(t.modifiersData[s]._skip=true,t.placement=R,t.reset=true);}},requiresIfExists:["offset"],data:{_skip:false}};function ce(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function pe(e){return [r,n$1,a,o].some(function(t){return e[t]>=0})}var de={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,s=e.name,a=i.offset,l=void 0===a?[0,0]:a,c=h$3.reduce(function(e,i){return e[i]=function(e,t,i){var s=O(e),a=[o,r].indexOf(s)>=0?-1:1,l="function"==typeof i?i(Object.assign({},t,{placement:e})):i,c=l[0],p=l[1];return c=c||0,p=(p||0)*a,[o,n$1].indexOf(s)>=0?{x:p,y:c}:{x:c,y:p}}(i,t.rects,l),e},{}),p=c[t.placement],d=p.x,f=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=f),t.modifiersData[s]=c;}};var fe={name:"preventOverflow",enabled:true,phase:"main",fn:function(e){var t=e.state,i=e.options,s=e.name,l=i.mainAxis,c=void 0===l||l,d=i.altAxis,f=void 0!==d&&d,m=i.boundary,u=i.rootBoundary,h=i.altBoundary,g=i.padding,v=i.tether,y=void 0===v||v,w=i.tetherOffset,b=void 0===w?0:w,x=ne(t,{boundary:m,rootBoundary:u,padding:g,altBoundary:h}),S=O(t.placement),A=T$3(t.placement),E=!A,H=P(S),M="x"===H?"y":"x",R=t.modifiersData.popperOffsets,C=t.rects.reference,L=t.rects.popper,_="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,j="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(R){if(c){var F,q="y"===H?r:o,W="y"===H?a:n$1,X="y"===H?"height":"width",V=R[H],$=V+x[q],G=V-x[W],Y=y?-L[X]/2:0,J=A===p$6?C[X]:L[X],K=A===p$6?-L[X]:-C[X],Q=t.elements.arrow,Z=y&&Q?B$3(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[q],ie=ee[W],se=U$3(0,C[X],Z[X]),re=E?C[X]/2-Y-se-te-j.mainAxis:J-se-te-j.mainAxis,ae=E?-C[X]/2+Y+se+ie+j.mainAxis:K+se+ie+j.mainAxis,oe=t.elements.arrow&&D(t.elements.arrow),le=oe?"y"===H?oe.clientTop||0:oe.clientLeft||0:0,ce=null!=(F=null==N?void 0:N[H])?F:0,pe=V+ae-ce,de=U$3(y?z$6($,V+re-ce-le):$,V,y?k$6(G,pe):G);R[H]=de,I[H]=de-V;}if(f){var fe,me="x"===H?r:o,ue="x"===H?a:n$1,he=R[M],ge="y"===M?"height":"width",ve=he+x[me],ye=he-x[ue],we=-1!==[r,o].indexOf(S),be=null!=(fe=null==N?void 0:N[M])?fe:0,xe=we?ve:he-C[ge]-L[ge]-be+j.altAxis,Se=we?he+C[ge]+L[ge]-be-j.altAxis:ye,Oe=y&&we?function(e,t,i){var s=U$3(e,t,i);return s>i?i:s}(xe,he,Se):U$3(y?xe:ve,he,y?Se:ye);R[M]=Oe,I[M]=Oe-he;}t.modifiersData[s]=I;}},requiresIfExists:["offset"]};function me(e,t,i){ void 0===i&&(i=false);var s,r,a=b$3(t),n=b$3(t)&&function(e){var t=e.getBoundingClientRect(),i=A$3(t.width)/e.offsetWidth||1,s=A$3(t.height)/e.offsetHeight||1;return 1!==i||1!==s}(t),o=_(t),l=M$3(e,n,i),c={scrollLeft:0,scrollTop:0},p={x:0,y:0};return (a||!a&&!i)&&(("body"!==v$3(t)||Z(o))&&(c=(s=t)!==y$6(s)&&b$3(s)?{scrollLeft:(r=s).scrollLeft,scrollTop:r.scrollTop}:K(s)),b$3(t)?((p=M$3(t,true)).x+=t.clientLeft,p.y+=t.clientTop):o&&(p.x=Q(o))),{x:l.left+c.scrollLeft-p.x,y:l.top+c.scrollTop-p.y,width:l.width,height:l.height}}function ue(e){var t=new Map,i=new Set,s=[];function r(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!i.has(e)){var s=t.get(e);s&&r(s);}}),s.push(e);}return e.forEach(function(e){t.set(e.name,e);}),e.forEach(function(e){i.has(e.name)||r(e);}),s}var he={placement:"bottom",modifiers:[],strategy:"absolute"};function ge(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return !t.some(function(e){return !(e&&"function"==typeof e.getBoundingClientRect)})}function ve(e){ void 0===e&&(e={});var t=e,i=t.defaultModifiers,s=void 0===i?[]:i,r=t.defaultOptions,a=void 0===r?he:r;return function(e,t,i){ void 0===i&&(i=a);var r,n,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},he,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=false,p={state:o,setOptions:function(i){var r="function"==typeof i?i(o.options):i;d(),o.options=Object.assign({},a,o.options,r),o.scrollParents={reference:w$6(e)?te(e):e.contextElement?te(e.contextElement):[],popper:te(t)};var n,c,f=function(e){var t=ue(e);return g$6.reduce(function(e,i){return e.concat(t.filter(function(e){return e.phase===i}))},[])}((n=[].concat(s,o.options.modifiers),c=n.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return o.orderedModifiers=f.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,s=void 0===i?{}:i,r=e.effect;if("function"==typeof r){var a=r({state:o,name:t,instance:p,options:s}),n=function(){};l.push(a||n);}}),p.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,i=e.popper;if(ge(t,i)){o.rects={reference:me(t,D(i),"fixed"===o.options.strategy),popper:B$3(i)},o.reset=false,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var s=0;s<o.orderedModifiers.length;s++)if(true!==o.reset){var r=o.orderedModifiers[s],a=r.fn,n=r.options,l=void 0===n?{}:n,d=r.name;"function"==typeof a&&(o=a({state:o,options:l,name:d,instance:p})||o);}else o.reset=false,s=-1;}}},update:(r=function(){return new Promise(function(e){p.forceUpdate(),e(o);})},function(){return n||(n=new Promise(function(e){Promise.resolve().then(function(){n=void 0,e(r());});})),n}),destroy:function(){d(),c=true;}};if(!ge(e,t))return p;function d(){l.forEach(function(e){return e()}),l=[];}return p.setOptions(i).then(function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e);}),p}}var ye=ve({defaultModifiers:[{name:"eventListeners",enabled:true,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,s=e.options,r=s.scroll,a=void 0===r||r,n=s.resize,o=void 0===n||n,l=y$6(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",i.update,V);}),o&&l.addEventListener("resize",i.update,V),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",i.update,V);}),o&&l.removeEventListener("resize",i.update,V);}},data:{}},{name:"popperOffsets",enabled:true,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=ae({reference:t.rects.reference,element:t.rects.popper,placement:t.placement});},data:{}},{name:"computeStyles",enabled:true,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,s=i.gpuAcceleration,r=void 0===s||s,a=i.adaptive,n=void 0===a||a,o=i.roundOffsets,l=void 0===o||o,c={placement:O(t.placement),variation:T$3(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement});},data:{}},S$3,de,le,fe,q$3,{name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,s=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,n=ne(t,{elementContext:"reference"}),o=ne(t,{altBoundary:true}),l=ce(n,s),c=ce(o,r,a),p=pe(l),d=pe(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":d});}}]});class we{constructor(e,t,i,s){this.anchor=e,this.popover=t,this.boundaryElement=this.setBoundary(s),this.options={placement:i,visibleClass:"data-show"},this.popover.classList.remove(this.options.visibleClass);}setBoundary(e){return "string"==typeof e?document.querySelector(e)||document.body:e||document.body}show(){this.popper&&this.popper.destroy(),this.popper=ye(this.anchor,this.popover,{tooltip:this.anchor,placement:this.options.placement,modifiers:[{name:"offset",options:{offset:[0,18]}},{name:"preventOverflow",options:{mainAxis:true,boundary:this.boundaryElement,rootBoundary:"document",padding:16}}]});}triggerUpdate(){this.popper.update();}hide(){this.popover.classList.remove(this.options.visibleClass);}}var be=css`::slotted(*){color:var(--ds-auro-popover-text-color)}.popover{background-color:var(--ds-auro-popover-container-color);box-shadow:var(--ds-auro-popover-boxshadow-color)}.arrow:before{background-color:var(--ds-auro-popover-container-color);box-shadow:2px 2px 1px 0 var(--ds-auro-popover-boxshadow-color)}
|
|
7892
|
+
`,xe=css`.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}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host(:not([data-show])) .popover,:host([disabled]) .popover,:host([addSpace]) :host(:not([data-show])) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, .25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1 * (var(--ds-size-200, 1rem) + var(--ds-size-50, .25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1 * (var(--ds-size-200, 1rem) + var(--ds-size-50, .25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 400)}:host([removeSpace]) .popover{margin:calc(-1 * (var(--ds-size-50, .25rem) + 1px)) 0!important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0!important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1 * var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1 * var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, .375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1 * (var(--ds-size-100, .5rem) + var(--ds-size-25, .125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1 * var(--ds-size-200, 1rem));left:calc(-1 * var(--ds-size-75, .375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1 * (var(--ds-size-100, .5rem) + var(--ds-size-25, .125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, .25rem);right:calc(-1 * var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100,.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, .75rem);height:var(--ds-size-150, .75rem);content:""}
|
|
7893
|
+
`,Se=css`:host{--ds-auro-popover-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, .15));--ds-auro-popover-container-color: var(--ds-basic-color-surface-default, #ffffff);--ds-auro-popover-text-color: var(--ds-basic-color-texticon-default, #2a2a2a)}
|
|
7894
|
+
`;class Oe extends LitElement{constructor(){super(),this.placement="top";}privateDefaults(){this.isPopoverVisible=false,this.id=`popover-${(Math.random()+1).toString(36).substring(7)}`,this.runtimeUtils=new s;}static get properties(){return {placement:{type:String},for:{type:String},disabled:{type:Boolean},boundary:{type:String}}}static get styles(){return [css`${xe}`,css`${be}`,css`${Se}`]}static register(e="auro-popover"){s.prototype.registerComponent(e,Oe);}connectedCallback(){super.connectedCallback(),this.privateDefaults(),this.addEventListener("touchstart",function(){this.toggle(),this.setAttribute("isTouch","true");});}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.documentClickHandler);}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-popover"),this.for&&(this.trigger=document.querySelector(`#${this.for}`)||this.getRootNode().querySelector(`#${this.for}`)),this.trigger||([this.trigger]=this.shadowRoot.querySelector('slot[name="trigger"]').assignedElements()),this.auroPopover=this.shadowRoot.querySelector("#popover"),this.popper=new we(this.trigger,this.auroPopover,this.placement,this.boundary);const e=()=>{this.toggleShow();},t=()=>{this.toggleHide();},i="AURO-POPOVER"===this.trigger.parentElement.nodeName?this:this.trigger;i.addEventListener("mouseenter",e),i.addEventListener("mouseleave",t),this.trigger.addEventListener("keydown",e=>{const t=e.key.toLowerCase();this.isPopoverVisible&&("tab"!==t&&"escape"!==t||this.toggleHide())," "!==t&&"enter"!==t||this.toggle();}),this.trigger.addEventListener("focus",e),this.trigger.addEventListener("blur",t),this.addEventListener("hidePopover",t);}toggle(){this.isPopoverVisible?this.toggleHide():this.toggleShow();}toggleHide(){this.popper.hide(),this.isPopoverVisible=false,this.removeAttribute("data-show"),document.querySelector("body").removeEventListener("mouseover",this.mouseoverHandler);}toggleShow(){this.popper.show(),this.isPopoverVisible=true,this.setAttribute("data-show",true),this.mouseoverHandler=e=>this.handleMouseoverEvent(e),document.querySelector("body").addEventListener("mouseover",this.mouseoverHandler);}handleMouseoverEvent(e){this.isPopoverVisible&&!e.composedPath().includes(this)&&this.toggleHide();}updated(e){e.has("boundary")&&(this.popper.boundaryElement=this.boundary);}render(){return html`
|
|
7895
|
+
<div id="popover" class="popover util_insetLg body-default" aria-live="polite" part="popover">
|
|
7896
|
+
<div id="arrow" class="arrow" data-popper-arrow></div>
|
|
7897
|
+
<span role="tooltip" aria-labelledby="${this.id}"><slot></slot></span>
|
|
7898
|
+
</div>
|
|
7893
7899
|
|
|
7894
|
-
|
|
7900
|
+
<span id="${this.id}">
|
|
7901
|
+
<slot name="trigger" data-trigger-placement="${this.placement}"></slot>
|
|
7902
|
+
</span>
|
|
7903
|
+
`}}
|
|
7895
7904
|
|
|
7896
|
-
|
|
7905
|
+
var popoverVersion = '6.0.0';
|
|
7897
7906
|
|
|
7898
|
-
|
|
7907
|
+
/* eslint-disable curly, max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
7899
7908
|
|
|
7900
|
-
|
|
7909
|
+
class AuroCalendarCell extends LitElement {
|
|
7910
|
+
constructor() {
|
|
7911
|
+
super();
|
|
7912
|
+
|
|
7913
|
+
this.day = null;
|
|
7914
|
+
this.selected = false;
|
|
7915
|
+
this.hovered = false;
|
|
7916
|
+
this.dateTo = null;
|
|
7917
|
+
this.dateFrom = null;
|
|
7918
|
+
this.month = null;
|
|
7919
|
+
this.min = null;
|
|
7920
|
+
this.max = null;
|
|
7921
|
+
this.disabled = false;
|
|
7922
|
+
this.disabledDays = [];
|
|
7923
|
+
this.hoveredDate = null;
|
|
7924
|
+
this.isCurrentDate = false;
|
|
7925
|
+
this._locale = null;
|
|
7926
|
+
this.dateStr = null;
|
|
7927
|
+
this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
|
|
7928
|
+
|
|
7929
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
|
|
7930
|
+
|
|
7931
|
+
/**
|
|
7932
|
+
* Generate unique names for dependency components.
|
|
7933
|
+
*/
|
|
7934
|
+
const versioning = new AuroDependencyVersioning$3();
|
|
7935
|
+
this.popoverTag = versioning.generateTag('auro-formkit-datepicker-popover', popoverVersion, Oe);
|
|
7936
|
+
}
|
|
7937
|
+
|
|
7938
|
+
// This function is to define props used within the scope of this component
|
|
7939
|
+
// Be sure to review https://lit-element.polymer-project.org/guide/properties#reflected-attributes
|
|
7940
|
+
// to understand how to use reflected attributes with your property settings.
|
|
7941
|
+
static get properties() {
|
|
7942
|
+
return {
|
|
7943
|
+
// ...super.properties,
|
|
7944
|
+
day: { type: Object },
|
|
7945
|
+
selected: { type: Boolean },
|
|
7946
|
+
hovered: { type: Boolean },
|
|
7947
|
+
dateTo: { type: String },
|
|
7948
|
+
dateFrom: { type: String },
|
|
7949
|
+
month: { type: String },
|
|
7950
|
+
min: { type: Number },
|
|
7951
|
+
max: { type: Number },
|
|
7952
|
+
disabled: {
|
|
7953
|
+
type: Boolean,
|
|
7954
|
+
reflect: true
|
|
7955
|
+
},
|
|
7956
|
+
disabledDays: { type: Array },
|
|
7957
|
+
hoveredDate: { type: String },
|
|
7958
|
+
isCurrentDate: { type: Boolean },
|
|
7959
|
+
locale: { type: Object },
|
|
7960
|
+
dateStr: { type: String },
|
|
7961
|
+
renderForDateSlot: { type: Boolean }
|
|
7962
|
+
};
|
|
7963
|
+
}
|
|
7964
|
+
|
|
7965
|
+
get locale() {
|
|
7966
|
+
return this._locale ? this._locale : enUS;
|
|
7967
|
+
}
|
|
7968
|
+
|
|
7969
|
+
set locale(value) {
|
|
7970
|
+
const oldValue = this._locale;
|
|
7971
|
+
this._locale = value;
|
|
7972
|
+
this.requestUpdate('locale', oldValue);
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
static get styles() {
|
|
7976
|
+
return [
|
|
7977
|
+
// ...super.styles,
|
|
7978
|
+
styleCss$5,
|
|
7979
|
+
colorCss$5,
|
|
7980
|
+
tokensCss$4
|
|
7981
|
+
];
|
|
7982
|
+
}
|
|
7901
7983
|
|
|
7902
7984
|
/**
|
|
7903
|
-
*
|
|
7904
|
-
* @
|
|
7905
|
-
* @param {
|
|
7985
|
+
* Handles selected and hovered states of the calendar cell when the date changes.
|
|
7986
|
+
* @private
|
|
7987
|
+
* @param {Number} dateFrom - Depart date.
|
|
7988
|
+
* @param {Number} dateTo - Return date.
|
|
7989
|
+
* @param {Number} hoveredDate - Hovered date.
|
|
7990
|
+
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
7906
7991
|
* @returns {void}
|
|
7907
7992
|
*/
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7993
|
+
dateChanged(dateFrom, dateTo, hoveredDate, day) {
|
|
7994
|
+
this.selected = false;
|
|
7995
|
+
this.hovered = false;
|
|
7996
|
+
|
|
7997
|
+
const parsedDateFrom = parseInt(dateFrom, 10);
|
|
7998
|
+
const parsedDateTo = parseInt(dateTo, 10);
|
|
7999
|
+
|
|
8000
|
+
if (day) {
|
|
8001
|
+
const departTimestamp = startOfDay(parsedDateFrom * 1000) / 1000;
|
|
8002
|
+
const returnTimestamp = startOfDay(parsedDateTo * 1000) / 1000;
|
|
8003
|
+
|
|
8004
|
+
if (day.date === departTimestamp || day.date === returnTimestamp) {
|
|
8005
|
+
this.selected = true;
|
|
8006
|
+
}
|
|
8007
|
+
|
|
8008
|
+
if (((hoveredDate === day.date || day.date < hoveredDate) && day.date > parsedDateFrom && !parsedDateTo && !Number.isNaN(parsedDateFrom) && parsedDateFrom !== undefined && !this.selected) || (day.date > parsedDateFrom && day.date < parsedDateTo)) {
|
|
8009
|
+
this.hovered = true;
|
|
8010
|
+
}
|
|
7911
8011
|
}
|
|
7912
8012
|
}
|
|
7913
8013
|
|
|
7914
8014
|
/**
|
|
7915
|
-
*
|
|
8015
|
+
* Handles user click events and calls datepicker to update the value(s).
|
|
8016
|
+
* @private
|
|
7916
8017
|
* @returns {void}
|
|
7917
8018
|
*/
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
|
|
7921
|
-
|
|
7922
|
-
!el || el === document || el === window
|
|
7923
|
-
? null // standard .closest() returns null for non-found selectors also
|
|
7924
|
-
: found
|
|
7925
|
-
? found // found a selector INside this element
|
|
7926
|
-
: __Closest(el.getRootNode().host) // recursion!! break out to parent DOM
|
|
7927
|
-
) {
|
|
7928
|
-
return __Closest(base);
|
|
8019
|
+
handleTap() {
|
|
8020
|
+
if (!this.disabled) {
|
|
8021
|
+
this.datepicker.handleCellClick(this.day.date);
|
|
8022
|
+
}
|
|
7929
8023
|
}
|
|
7930
|
-
/* eslint-enable jsdoc/require-param */
|
|
7931
8024
|
|
|
7932
8025
|
/**
|
|
7933
|
-
*
|
|
7934
|
-
* @
|
|
7935
|
-
* @param {String} tagName - The name of the Auro component to check for or add as an attribute.
|
|
8026
|
+
* Handles user hover events and dispatches a custom event.
|
|
8027
|
+
* @private
|
|
7936
8028
|
* @returns {void}
|
|
7937
8029
|
*/
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
8030
|
+
handleHover() {
|
|
8031
|
+
this.hovered = true;
|
|
7941
8032
|
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
8033
|
+
let _a;
|
|
8034
|
+
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
8035
|
+
detail: { date: (_a = this.day) === null || _a === void 0 ? void 0 : _a.date },
|
|
8036
|
+
}));
|
|
7945
8037
|
}
|
|
7946
8038
|
|
|
7947
8039
|
/**
|
|
7948
|
-
*
|
|
7949
|
-
* @
|
|
7950
|
-
* @param {
|
|
7951
|
-
* @
|
|
8040
|
+
* Checks if the current date is a valid date depending on the min and max values.
|
|
8041
|
+
* @private
|
|
8042
|
+
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
8043
|
+
* @param {Number} min - The minimum date value.
|
|
8044
|
+
* @param {Number} max - The maximum date value.
|
|
8045
|
+
* @param {Array} disabledDays - An array of disabled dates.
|
|
8046
|
+
* @returns {Boolean} - True if the date is disabled.
|
|
7952
8047
|
*/
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
const elemTag = elem.tagName.toLowerCase();
|
|
8048
|
+
isEnabled(day, min, max, disabledDays) {
|
|
8049
|
+
this.removeAttribute('disabled');
|
|
7956
8050
|
|
|
7957
|
-
|
|
8051
|
+
if (disabledDays && day && day.date) {
|
|
8052
|
+
if (day.date < min || day.date > max || disabledDays.findIndex(disabledDay => parseInt(disabledDay, 10) === day.date) !== -1) {
|
|
8053
|
+
this.setAttribute('disabled', true);
|
|
8054
|
+
return true;
|
|
8055
|
+
}
|
|
8056
|
+
}
|
|
8057
|
+
return false;
|
|
7958
8058
|
}
|
|
7959
|
-
};
|
|
7960
8059
|
|
|
7961
|
-
var styleCss$5 = css`.body-default{font-size:var(--wcss-body-default-font-size, 1rem);line-height:var(--wcss-body-default-line-height, 1.5)}.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.63)}.body-sm{font-size:var(--wcss-body-sm-font-size, 0.875rem);line-height:var(--wcss-body-sm-line-height, 1.25)}.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, 0.75rem);line-height:var(--wcss-body-xs-line-height, 1)}.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, 0.625rem);font-weight:var(--wcss-body-weight, 450);letter-spacing:var(--wcss-body-letter-spacing, 0);line-height:var(--wcss-body-2xs-line-height, 0.88)}.display-2xl{font-family:var(--wcss-display-2xl-family, "AS Circular", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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", 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-xl{font-family:var(--wcss-accent-xl-family, "Good OT", 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", 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-md{font-family:var(--wcss-accent-md-family, "Good OT", 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", 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-xs{font-family:var(--wcss-accent-xs-family, "Good OT", 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", 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)}:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host(:not([data-show])) .popover,:host([disabled]) .popover,:host([addSpace]) :host(:not([data-show])) .popover{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}.util_insetNone{padding:0}.util_insetXxxs{padding:.125rem}.util_insetXxxs--stretch{padding:.25rem .125rem}.util_insetXxxs--squish{padding:0 .125rem}.util_insetXxs{padding:.25rem}.util_insetXxs--stretch{padding:.375rem .25rem}.util_insetXxs--squish{padding:.125rem .25rem}.util_insetXs{padding:.5rem}.util_insetXs--stretch{padding:.75rem .5rem}.util_insetXs--squish{padding:.25rem .5rem}.util_insetSm{padding:.75rem}.util_insetSm--stretch{padding:1.125rem .75rem}.util_insetSm--squish{padding:.375rem .75rem}.util_insetMd{padding:1rem}.util_insetMd--stretch{padding:1.5rem 1rem}.util_insetMd--squish{padding:.5rem 1rem}.util_insetLg{padding:1.5rem}.util_insetLg--stretch{padding:2.25rem 1.5rem}.util_insetLg--squish{padding:.75rem 1.5rem}.util_insetXl{padding:2rem}.util_insetXl--stretch{padding:3rem 2rem}.util_insetXl--squish{padding:1rem 2rem}.util_insetXxl{padding:3rem}.util_insetXxl--stretch{padding:4.5rem 3rem}.util_insetXxl--squish{padding:1.5rem 3rem}.util_insetXxxl{padding:4rem}.util_insetXxxl--stretch{padding:6rem 4rem}.util_insetXxxl--squish{padding:2rem 4rem}::slotted(*){white-space:normal}::slotted(*:hover){cursor:pointer}[data-trigger-placement]::slotted(*:hover){position:relative}[data-trigger-placement]::slotted(*:hover):before{position:absolute;left:0;display:block;width:100%;height:calc(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem));content:""}[data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}[data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*(var(--ds-size-200, 1rem) + var(--ds-size-50, 0.25rem)))}:host([data-show]) .popover{z-index:var(--ds-depth-tooltip, 400)}:host([removeSpace]) .popover{margin:calc(-1*(var(--ds-size-50, 0.25rem) + 1px)) 0 !important}:host([addSpace]) .popover{margin:var(--ds-size-200, 1rem) 0 !important}:host([addSpace]) [data-trigger-placement]::slotted(*:hover):before{height:var(--ds-size-500, 2.5rem)}:host([addSpace]) [data-trigger-placement^=top]::slotted(*:hover):before{top:calc(-1*var(--ds-size-500, 2.5rem))}:host([addSpace]) [data-trigger-placement^=bottom]::slotted(*:hover):before{bottom:calc(-1*var(--ds-size-500, 2.5rem))}.popover{display:inline-block;max-width:calc(100% - var(--ds-size-400, 2rem));border-radius:var(--ds-border-radius, 0.375rem)}@media screen and (min-width: 576px){.popover{max-width:50%}}@media screen and (min-width: 768px){.popover{max-width:40%}}@media screen and (min-width: 1024px){.popover{max-width:27rem}}[data-popper-placement^=top]>.arrow{bottom:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=top]>.arrow:before{top:calc(-1*var(--ds-size-200, 1rem));left:calc(-1*var(--ds-size-75, 0.375rem));transform:rotate(45deg)}[data-popper-placement^=bottom]>.arrow{top:calc(-1*(var(--ds-size-100, 0.5rem) + var(--ds-size-25, 0.125rem)))}[data-popper-placement^=bottom]>.arrow:before{top:var(--ds-size-50, 0.25rem);right:calc(-1*var(--ds-size-200, 1rem));transform:rotate(-135deg)}.arrow{position:relative;margin-top:-var(--ds-size-100, 0.5rem)}.arrow:before{position:absolute;width:var(--ds-size-150, 0.75rem);height:var(--ds-size-150, 0.75rem);content:""}`;
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7967
|
-
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
var auto = 'auto';
|
|
7972
|
-
var basePlacements = [top, bottom, right, left];
|
|
7973
|
-
var start = 'start';
|
|
7974
|
-
var end = 'end';
|
|
7975
|
-
var clippingParents = 'clippingParents';
|
|
7976
|
-
var viewport = 'viewport';
|
|
7977
|
-
var popper = 'popper';
|
|
7978
|
-
var reference = 'reference';
|
|
7979
|
-
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
|
|
7980
|
-
return acc.concat([placement + "-" + start, placement + "-" + end]);
|
|
7981
|
-
}, []);
|
|
7982
|
-
var placements$1 = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
|
|
7983
|
-
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
|
|
7984
|
-
}, []); // modifiers that need to read the DOM
|
|
7985
|
-
|
|
7986
|
-
var beforeRead = 'beforeRead';
|
|
7987
|
-
var read = 'read';
|
|
7988
|
-
var afterRead = 'afterRead'; // pure-logic modifiers
|
|
7989
|
-
|
|
7990
|
-
var beforeMain = 'beforeMain';
|
|
7991
|
-
var main = 'main';
|
|
7992
|
-
var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
|
|
7993
|
-
|
|
7994
|
-
var beforeWrite = 'beforeWrite';
|
|
7995
|
-
var write = 'write';
|
|
7996
|
-
var afterWrite = 'afterWrite';
|
|
7997
|
-
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
|
|
7998
|
-
|
|
7999
|
-
function getNodeName$1(element) {
|
|
8000
|
-
return element ? (element.nodeName || '').toLowerCase() : null;
|
|
8001
|
-
}
|
|
8060
|
+
/**
|
|
8061
|
+
* Checks if the current date is the depart date.
|
|
8062
|
+
* @private
|
|
8063
|
+
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
8064
|
+
* @param {Number} dateFrom - Depart date.
|
|
8065
|
+
* @returns {Boolean} True if the date is the depart date.
|
|
8066
|
+
*/
|
|
8067
|
+
isDepartDate(day, dateFrom) {
|
|
8068
|
+
const parsedDateFrom = parseInt(dateFrom, 10);
|
|
8069
|
+
const departTimestamp = startOfDay(parsedDateFrom * 1000) / 1000;
|
|
8002
8070
|
|
|
8003
|
-
|
|
8004
|
-
if (node == null) {
|
|
8005
|
-
return window;
|
|
8071
|
+
return this.selected && day.date === departTimestamp;
|
|
8006
8072
|
}
|
|
8007
8073
|
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8074
|
+
/**
|
|
8075
|
+
* Checks if the current date is the return date.
|
|
8076
|
+
* @private
|
|
8077
|
+
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
8078
|
+
* @param {Number} dateFrom - Depart date.
|
|
8079
|
+
* @param {Number} dateTo - Return date.
|
|
8080
|
+
* @returns {Boolean} True if the date is the return date.
|
|
8081
|
+
*/
|
|
8082
|
+
isReturnDate(day, dateFrom, dateTo) {
|
|
8083
|
+
const parsedDateTo = parseInt(dateTo, 10);
|
|
8084
|
+
const returnTimestamp = startOfDay(parsedDateTo * 1000) / 1000;
|
|
8012
8085
|
|
|
8013
|
-
|
|
8014
|
-
}
|
|
8086
|
+
return this.selected && day.date === returnTimestamp && dateFrom;
|
|
8087
|
+
}
|
|
8015
8088
|
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
}
|
|
8089
|
+
/**
|
|
8090
|
+
* Checks if the current date is between dateFrom and dateTo.
|
|
8091
|
+
* @private
|
|
8092
|
+
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
8093
|
+
* @param {Number} dateFrom - Depart date.
|
|
8094
|
+
* @param {Number} dateTo - Return date.
|
|
8095
|
+
* @returns {Boolean} True if the current date is between dateFrom and dateTo.
|
|
8096
|
+
*/
|
|
8097
|
+
isInRange(day, dateFrom, dateTo) {
|
|
8020
8098
|
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8099
|
+
/**
|
|
8100
|
+
* Cell is in not range if any of the following are true:
|
|
8101
|
+
* - Datepicker does not support range selection.
|
|
8102
|
+
* - First date has not been selected.
|
|
8103
|
+
* - Cell date is before or equal first date.
|
|
8104
|
+
* - Both range dates selected and current cell is after the second date.
|
|
8105
|
+
*/
|
|
8106
|
+
if (!this.datepicker.hasAttribute('range') || (!dateFrom || day.date <= dateFrom) || (dateTo && day.date >= dateTo)) {
|
|
8107
|
+
return false;
|
|
8108
|
+
}
|
|
8025
8109
|
|
|
8026
|
-
|
|
8027
|
-
// IE 11 has no ShadowRoot
|
|
8028
|
-
if (typeof ShadowRoot === 'undefined') {
|
|
8029
|
-
return false;
|
|
8110
|
+
return true;
|
|
8030
8111
|
}
|
|
8031
8112
|
|
|
8032
|
-
|
|
8033
|
-
|
|
8034
|
-
|
|
8113
|
+
/**
|
|
8114
|
+
* Determines the hovered date appearing latest in the calendar.
|
|
8115
|
+
* @private
|
|
8116
|
+
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
8117
|
+
* @param {Number} dateFrom - Depart date.
|
|
8118
|
+
* @param {Number} dateTo - Return date.
|
|
8119
|
+
* @param {Number} hoveredDate - Hovered date.
|
|
8120
|
+
* @returns {Boolean} True if the hovered date is the latest hovered date in the calendar.
|
|
8121
|
+
*/
|
|
8122
|
+
isLastHoveredDate(day, dateFrom, dateTo, hoveredDate) {
|
|
8123
|
+
return dateFrom && hoveredDate > dateFrom && day.date === hoveredDate && !dateTo;
|
|
8124
|
+
}
|
|
8035
8125
|
|
|
8036
|
-
|
|
8126
|
+
/**
|
|
8127
|
+
* Checks if the current date is a highlighted date.
|
|
8128
|
+
* @param {Object} dateStr - The date string in MM_DD_YYYY format.
|
|
8129
|
+
* @returns Boolean - True if the date is a highlighted date.
|
|
8130
|
+
*/
|
|
8131
|
+
isReferenceDate(dateStr) {
|
|
8037
8132
|
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
Object.keys(state.elements).forEach(function (name) {
|
|
8041
|
-
var style = state.styles[name] || {};
|
|
8042
|
-
var attributes = state.attributes[name] || {};
|
|
8043
|
-
var element = state.elements[name]; // arrow is optional + virtual elements
|
|
8133
|
+
// If the datepicker has highlighted dates specified
|
|
8134
|
+
if (this.datepicker && this.datepicker.hasAttribute('referenceDates')) {
|
|
8044
8135
|
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
} // Flow doesn't support to extend this property, but it's the most
|
|
8048
|
-
// effective way to apply styles to an HTMLElement
|
|
8049
|
-
// $FlowFixMe[cannot-write]
|
|
8136
|
+
// Get the referenceDates attribute from the datepicker
|
|
8137
|
+
const {referenceDates} = this.datepicker;
|
|
8050
8138
|
|
|
8139
|
+
// Guard clause: no dates in the array
|
|
8140
|
+
if (!Array.isArray(referenceDates) || referenceDates.length === 0) return false;
|
|
8051
8141
|
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
var value = attributes[name];
|
|
8055
|
-
|
|
8056
|
-
if (value === false) {
|
|
8057
|
-
element.removeAttribute(name);
|
|
8058
|
-
} else {
|
|
8059
|
-
element.setAttribute(name, value === true ? '' : value);
|
|
8060
|
-
}
|
|
8061
|
-
});
|
|
8062
|
-
});
|
|
8063
|
-
}
|
|
8064
|
-
|
|
8065
|
-
function effect$2(_ref2) {
|
|
8066
|
-
var state = _ref2.state;
|
|
8067
|
-
var initialStyles = {
|
|
8068
|
-
popper: {
|
|
8069
|
-
position: state.options.strategy,
|
|
8070
|
-
left: '0',
|
|
8071
|
-
top: '0',
|
|
8072
|
-
margin: '0'
|
|
8073
|
-
},
|
|
8074
|
-
arrow: {
|
|
8075
|
-
position: 'absolute'
|
|
8076
|
-
},
|
|
8077
|
-
reference: {}
|
|
8078
|
-
};
|
|
8079
|
-
Object.assign(state.elements.popper.style, initialStyles.popper);
|
|
8080
|
-
state.styles = initialStyles;
|
|
8081
|
-
|
|
8082
|
-
if (state.elements.arrow) {
|
|
8083
|
-
Object.assign(state.elements.arrow.style, initialStyles.arrow);
|
|
8084
|
-
}
|
|
8085
|
-
|
|
8086
|
-
return function () {
|
|
8087
|
-
Object.keys(state.elements).forEach(function (name) {
|
|
8088
|
-
var element = state.elements[name];
|
|
8089
|
-
var attributes = state.attributes[name] || {};
|
|
8090
|
-
var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
|
|
8091
|
-
|
|
8092
|
-
var style = styleProperties.reduce(function (style, property) {
|
|
8093
|
-
style[property] = '';
|
|
8094
|
-
return style;
|
|
8095
|
-
}, {}); // arrow is optional + virtual elements
|
|
8096
|
-
|
|
8097
|
-
if (!isHTMLElement$1(element) || !getNodeName$1(element)) {
|
|
8098
|
-
return;
|
|
8099
|
-
}
|
|
8100
|
-
|
|
8101
|
-
Object.assign(element.style, style);
|
|
8102
|
-
Object.keys(attributes).forEach(function (attribute) {
|
|
8103
|
-
element.removeAttribute(attribute);
|
|
8104
|
-
});
|
|
8105
|
-
});
|
|
8106
|
-
};
|
|
8107
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
var applyStyles$1 = {
|
|
8111
|
-
name: 'applyStyles',
|
|
8112
|
-
enabled: true,
|
|
8113
|
-
phase: 'write',
|
|
8114
|
-
fn: applyStyles,
|
|
8115
|
-
effect: effect$2,
|
|
8116
|
-
requires: ['computeStyles']
|
|
8117
|
-
};
|
|
8118
|
-
|
|
8119
|
-
function getBasePlacement(placement) {
|
|
8120
|
-
return placement.split('-')[0];
|
|
8121
|
-
}
|
|
8122
|
-
|
|
8123
|
-
var max$1 = Math.max;
|
|
8124
|
-
var min$1 = Math.min;
|
|
8125
|
-
var round$1 = Math.round;
|
|
8126
|
-
|
|
8127
|
-
function getUAString() {
|
|
8128
|
-
var uaData = navigator.userAgentData;
|
|
8129
|
-
|
|
8130
|
-
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
8131
|
-
return uaData.brands.map(function (item) {
|
|
8132
|
-
return item.brand + "/" + item.version;
|
|
8133
|
-
}).join(' ');
|
|
8134
|
-
}
|
|
8135
|
-
|
|
8136
|
-
return navigator.userAgent;
|
|
8137
|
-
}
|
|
8138
|
-
|
|
8139
|
-
function isLayoutViewport() {
|
|
8140
|
-
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
|
8141
|
-
}
|
|
8142
|
-
|
|
8143
|
-
function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
|
|
8144
|
-
if (includeScale === void 0) {
|
|
8145
|
-
includeScale = false;
|
|
8146
|
-
}
|
|
8147
|
-
|
|
8148
|
-
if (isFixedStrategy === void 0) {
|
|
8149
|
-
isFixedStrategy = false;
|
|
8150
|
-
}
|
|
8151
|
-
|
|
8152
|
-
var clientRect = element.getBoundingClientRect();
|
|
8153
|
-
var scaleX = 1;
|
|
8154
|
-
var scaleY = 1;
|
|
8155
|
-
|
|
8156
|
-
if (includeScale && isHTMLElement$1(element)) {
|
|
8157
|
-
scaleX = element.offsetWidth > 0 ? round$1(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
8158
|
-
scaleY = element.offsetHeight > 0 ? round$1(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
8159
|
-
}
|
|
8160
|
-
|
|
8161
|
-
var _ref = isElement$1(element) ? getWindow$1(element) : window,
|
|
8162
|
-
visualViewport = _ref.visualViewport;
|
|
8163
|
-
|
|
8164
|
-
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
8165
|
-
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
8166
|
-
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
8167
|
-
var width = clientRect.width / scaleX;
|
|
8168
|
-
var height = clientRect.height / scaleY;
|
|
8169
|
-
return {
|
|
8170
|
-
width: width,
|
|
8171
|
-
height: height,
|
|
8172
|
-
top: y,
|
|
8173
|
-
right: x + width,
|
|
8174
|
-
bottom: y + height,
|
|
8175
|
-
left: x,
|
|
8176
|
-
x: x,
|
|
8177
|
-
y: y
|
|
8178
|
-
};
|
|
8179
|
-
}
|
|
8180
|
-
|
|
8181
|
-
// means it doesn't take into account transforms.
|
|
8182
|
-
|
|
8183
|
-
function getLayoutRect(element) {
|
|
8184
|
-
var clientRect = getBoundingClientRect$1(element); // Use the clientRect sizes if it's not been transformed.
|
|
8185
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
8186
|
-
|
|
8187
|
-
var width = element.offsetWidth;
|
|
8188
|
-
var height = element.offsetHeight;
|
|
8189
|
-
|
|
8190
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
8191
|
-
width = clientRect.width;
|
|
8192
|
-
}
|
|
8193
|
-
|
|
8194
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
8195
|
-
height = clientRect.height;
|
|
8196
|
-
}
|
|
8197
|
-
|
|
8198
|
-
return {
|
|
8199
|
-
x: element.offsetLeft,
|
|
8200
|
-
y: element.offsetTop,
|
|
8201
|
-
width: width,
|
|
8202
|
-
height: height
|
|
8203
|
-
};
|
|
8204
|
-
}
|
|
8205
|
-
|
|
8206
|
-
function contains(parent, child) {
|
|
8207
|
-
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
8208
|
-
|
|
8209
|
-
if (parent.contains(child)) {
|
|
8210
|
-
return true;
|
|
8211
|
-
} // then fallback to custom implementation with Shadow DOM support
|
|
8212
|
-
else if (rootNode && isShadowRoot$1(rootNode)) {
|
|
8213
|
-
var next = child;
|
|
8214
|
-
|
|
8215
|
-
do {
|
|
8216
|
-
if (next && parent.isSameNode(next)) {
|
|
8217
|
-
return true;
|
|
8218
|
-
} // $FlowFixMe[prop-missing]: need a better way to handle this...
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
next = next.parentNode || next.host;
|
|
8222
|
-
} while (next);
|
|
8223
|
-
} // Give up, the result is false
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
return false;
|
|
8227
|
-
}
|
|
8228
|
-
|
|
8229
|
-
function getComputedStyle$2(element) {
|
|
8230
|
-
return getWindow$1(element).getComputedStyle(element);
|
|
8231
|
-
}
|
|
8232
|
-
|
|
8233
|
-
function isTableElement$1(element) {
|
|
8234
|
-
return ['table', 'td', 'th'].indexOf(getNodeName$1(element)) >= 0;
|
|
8235
|
-
}
|
|
8236
|
-
|
|
8237
|
-
function getDocumentElement$1(element) {
|
|
8238
|
-
// $FlowFixMe[incompatible-return]: assume body is always available
|
|
8239
|
-
return ((isElement$1(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
|
|
8240
|
-
element.document) || window.document).documentElement;
|
|
8241
|
-
}
|
|
8242
|
-
|
|
8243
|
-
function getParentNode$1(element) {
|
|
8244
|
-
if (getNodeName$1(element) === 'html') {
|
|
8245
|
-
return element;
|
|
8246
|
-
}
|
|
8247
|
-
|
|
8248
|
-
return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
8249
|
-
// $FlowFixMe[incompatible-return]
|
|
8250
|
-
// $FlowFixMe[prop-missing]
|
|
8251
|
-
element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
8252
|
-
element.parentNode || ( // DOM Element detected
|
|
8253
|
-
isShadowRoot$1(element) ? element.host : null) || // ShadowRoot detected
|
|
8254
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
8255
|
-
getDocumentElement$1(element) // fallback
|
|
8256
|
-
|
|
8257
|
-
);
|
|
8258
|
-
}
|
|
8259
|
-
|
|
8260
|
-
function getTrueOffsetParent$1(element) {
|
|
8261
|
-
if (!isHTMLElement$1(element) || // https://github.com/popperjs/popper-core/issues/837
|
|
8262
|
-
getComputedStyle$2(element).position === 'fixed') {
|
|
8263
|
-
return null;
|
|
8264
|
-
}
|
|
8265
|
-
|
|
8266
|
-
return element.offsetParent;
|
|
8267
|
-
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
|
|
8268
|
-
// return the containing block
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
function getContainingBlock$1(element) {
|
|
8272
|
-
var isFirefox = /firefox/i.test(getUAString());
|
|
8273
|
-
var isIE = /Trident/i.test(getUAString());
|
|
8274
|
-
|
|
8275
|
-
if (isIE && isHTMLElement$1(element)) {
|
|
8276
|
-
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
8277
|
-
var elementCss = getComputedStyle$2(element);
|
|
8278
|
-
|
|
8279
|
-
if (elementCss.position === 'fixed') {
|
|
8280
|
-
return null;
|
|
8281
|
-
}
|
|
8282
|
-
}
|
|
8283
|
-
|
|
8284
|
-
var currentNode = getParentNode$1(element);
|
|
8285
|
-
|
|
8286
|
-
if (isShadowRoot$1(currentNode)) {
|
|
8287
|
-
currentNode = currentNode.host;
|
|
8288
|
-
}
|
|
8289
|
-
|
|
8290
|
-
while (isHTMLElement$1(currentNode) && ['html', 'body'].indexOf(getNodeName$1(currentNode)) < 0) {
|
|
8291
|
-
var css = getComputedStyle$2(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
8292
|
-
// create a containing block.
|
|
8293
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
8294
|
-
|
|
8295
|
-
if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
|
|
8296
|
-
return currentNode;
|
|
8297
|
-
} else {
|
|
8298
|
-
currentNode = currentNode.parentNode;
|
|
8299
|
-
}
|
|
8300
|
-
}
|
|
8301
|
-
|
|
8302
|
-
return null;
|
|
8303
|
-
} // Gets the closest ancestor positioned element. Handles some edge cases,
|
|
8304
|
-
// such as table ancestors and cross browser bugs.
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
function getOffsetParent$1(element) {
|
|
8308
|
-
var window = getWindow$1(element);
|
|
8309
|
-
var offsetParent = getTrueOffsetParent$1(element);
|
|
8310
|
-
|
|
8311
|
-
while (offsetParent && isTableElement$1(offsetParent) && getComputedStyle$2(offsetParent).position === 'static') {
|
|
8312
|
-
offsetParent = getTrueOffsetParent$1(offsetParent);
|
|
8313
|
-
}
|
|
8314
|
-
|
|
8315
|
-
if (offsetParent && (getNodeName$1(offsetParent) === 'html' || getNodeName$1(offsetParent) === 'body' && getComputedStyle$2(offsetParent).position === 'static')) {
|
|
8316
|
-
return window;
|
|
8317
|
-
}
|
|
8318
|
-
|
|
8319
|
-
return offsetParent || getContainingBlock$1(element) || window;
|
|
8320
|
-
}
|
|
8321
|
-
|
|
8322
|
-
function getMainAxisFromPlacement(placement) {
|
|
8323
|
-
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
8324
|
-
}
|
|
8325
|
-
|
|
8326
|
-
function within(min, value, max) {
|
|
8327
|
-
return max$1(min, min$1(value, max));
|
|
8328
|
-
}
|
|
8329
|
-
function withinMaxClamp(min, value, max) {
|
|
8330
|
-
var v = within(min, value, max);
|
|
8331
|
-
return v > max ? max : v;
|
|
8332
|
-
}
|
|
8333
|
-
|
|
8334
|
-
function getFreshSideObject() {
|
|
8335
|
-
return {
|
|
8336
|
-
top: 0,
|
|
8337
|
-
right: 0,
|
|
8338
|
-
bottom: 0,
|
|
8339
|
-
left: 0
|
|
8340
|
-
};
|
|
8341
|
-
}
|
|
8342
|
-
|
|
8343
|
-
function mergePaddingObject(paddingObject) {
|
|
8344
|
-
return Object.assign({}, getFreshSideObject(), paddingObject);
|
|
8345
|
-
}
|
|
8346
|
-
|
|
8347
|
-
function expandToHashMap(value, keys) {
|
|
8348
|
-
return keys.reduce(function (hashMap, key) {
|
|
8349
|
-
hashMap[key] = value;
|
|
8350
|
-
return hashMap;
|
|
8351
|
-
}, {});
|
|
8352
|
-
}
|
|
8353
|
-
|
|
8354
|
-
var toPaddingObject = function toPaddingObject(padding, state) {
|
|
8355
|
-
padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
|
|
8356
|
-
placement: state.placement
|
|
8357
|
-
})) : padding;
|
|
8358
|
-
return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
8359
|
-
};
|
|
8360
|
-
|
|
8361
|
-
function arrow(_ref) {
|
|
8362
|
-
var _state$modifiersData$;
|
|
8363
|
-
|
|
8364
|
-
var state = _ref.state,
|
|
8365
|
-
name = _ref.name,
|
|
8366
|
-
options = _ref.options;
|
|
8367
|
-
var arrowElement = state.elements.arrow;
|
|
8368
|
-
var popperOffsets = state.modifiersData.popperOffsets;
|
|
8369
|
-
var basePlacement = getBasePlacement(state.placement);
|
|
8370
|
-
var axis = getMainAxisFromPlacement(basePlacement);
|
|
8371
|
-
var isVertical = [left, right].indexOf(basePlacement) >= 0;
|
|
8372
|
-
var len = isVertical ? 'height' : 'width';
|
|
8373
|
-
|
|
8374
|
-
if (!arrowElement || !popperOffsets) {
|
|
8375
|
-
return;
|
|
8376
|
-
}
|
|
8377
|
-
|
|
8378
|
-
var paddingObject = toPaddingObject(options.padding, state);
|
|
8379
|
-
var arrowRect = getLayoutRect(arrowElement);
|
|
8380
|
-
var minProp = axis === 'y' ? top : left;
|
|
8381
|
-
var maxProp = axis === 'y' ? bottom : right;
|
|
8382
|
-
var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
|
|
8383
|
-
var startDiff = popperOffsets[axis] - state.rects.reference[axis];
|
|
8384
|
-
var arrowOffsetParent = getOffsetParent$1(arrowElement);
|
|
8385
|
-
var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
|
|
8386
|
-
var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
|
|
8387
|
-
// outside of the popper bounds
|
|
8388
|
-
|
|
8389
|
-
var min = paddingObject[minProp];
|
|
8390
|
-
var max = clientSize - arrowRect[len] - paddingObject[maxProp];
|
|
8391
|
-
var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
|
|
8392
|
-
var offset = within(min, center, max); // Prevents breaking syntax highlighting...
|
|
8393
|
-
|
|
8394
|
-
var axisProp = axis;
|
|
8395
|
-
state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
|
|
8396
|
-
}
|
|
8397
|
-
|
|
8398
|
-
function effect$1(_ref2) {
|
|
8399
|
-
var state = _ref2.state,
|
|
8400
|
-
options = _ref2.options;
|
|
8401
|
-
var _options$element = options.element,
|
|
8402
|
-
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
|
|
8403
|
-
|
|
8404
|
-
if (arrowElement == null) {
|
|
8405
|
-
return;
|
|
8406
|
-
} // CSS selector
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
if (typeof arrowElement === 'string') {
|
|
8410
|
-
arrowElement = state.elements.popper.querySelector(arrowElement);
|
|
8411
|
-
|
|
8412
|
-
if (!arrowElement) {
|
|
8413
|
-
return;
|
|
8414
|
-
}
|
|
8415
|
-
}
|
|
8416
|
-
|
|
8417
|
-
if (!contains(state.elements.popper, arrowElement)) {
|
|
8418
|
-
return;
|
|
8419
|
-
}
|
|
8420
|
-
|
|
8421
|
-
state.elements.arrow = arrowElement;
|
|
8422
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
var arrow$1 = {
|
|
8426
|
-
name: 'arrow',
|
|
8427
|
-
enabled: true,
|
|
8428
|
-
phase: 'main',
|
|
8429
|
-
fn: arrow,
|
|
8430
|
-
effect: effect$1,
|
|
8431
|
-
requires: ['popperOffsets'],
|
|
8432
|
-
requiresIfExists: ['preventOverflow']
|
|
8433
|
-
};
|
|
8434
|
-
|
|
8435
|
-
function getVariation(placement) {
|
|
8436
|
-
return placement.split('-')[1];
|
|
8437
|
-
}
|
|
8438
|
-
|
|
8439
|
-
var unsetSides = {
|
|
8440
|
-
top: 'auto',
|
|
8441
|
-
right: 'auto',
|
|
8442
|
-
bottom: 'auto',
|
|
8443
|
-
left: 'auto'
|
|
8444
|
-
}; // Round the offsets to the nearest suitable subpixel based on the DPR.
|
|
8445
|
-
// Zooming can change the DPR, but it seems to report a value that will
|
|
8446
|
-
// cleanly divide the values into the appropriate subpixels.
|
|
8447
|
-
|
|
8448
|
-
function roundOffsetsByDPR(_ref, win) {
|
|
8449
|
-
var x = _ref.x,
|
|
8450
|
-
y = _ref.y;
|
|
8451
|
-
var dpr = win.devicePixelRatio || 1;
|
|
8452
|
-
return {
|
|
8453
|
-
x: round$1(x * dpr) / dpr || 0,
|
|
8454
|
-
y: round$1(y * dpr) / dpr || 0
|
|
8455
|
-
};
|
|
8456
|
-
}
|
|
8457
|
-
|
|
8458
|
-
function mapToStyles(_ref2) {
|
|
8459
|
-
var _Object$assign2;
|
|
8460
|
-
|
|
8461
|
-
var popper = _ref2.popper,
|
|
8462
|
-
popperRect = _ref2.popperRect,
|
|
8463
|
-
placement = _ref2.placement,
|
|
8464
|
-
variation = _ref2.variation,
|
|
8465
|
-
offsets = _ref2.offsets,
|
|
8466
|
-
position = _ref2.position,
|
|
8467
|
-
gpuAcceleration = _ref2.gpuAcceleration,
|
|
8468
|
-
adaptive = _ref2.adaptive,
|
|
8469
|
-
roundOffsets = _ref2.roundOffsets,
|
|
8470
|
-
isFixed = _ref2.isFixed;
|
|
8471
|
-
var _offsets$x = offsets.x,
|
|
8472
|
-
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
8473
|
-
_offsets$y = offsets.y,
|
|
8474
|
-
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
8475
|
-
|
|
8476
|
-
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
8477
|
-
x: x,
|
|
8478
|
-
y: y
|
|
8479
|
-
}) : {
|
|
8480
|
-
x: x,
|
|
8481
|
-
y: y
|
|
8482
|
-
};
|
|
8483
|
-
|
|
8484
|
-
x = _ref3.x;
|
|
8485
|
-
y = _ref3.y;
|
|
8486
|
-
var hasX = offsets.hasOwnProperty('x');
|
|
8487
|
-
var hasY = offsets.hasOwnProperty('y');
|
|
8488
|
-
var sideX = left;
|
|
8489
|
-
var sideY = top;
|
|
8490
|
-
var win = window;
|
|
8491
|
-
|
|
8492
|
-
if (adaptive) {
|
|
8493
|
-
var offsetParent = getOffsetParent$1(popper);
|
|
8494
|
-
var heightProp = 'clientHeight';
|
|
8495
|
-
var widthProp = 'clientWidth';
|
|
8496
|
-
|
|
8497
|
-
if (offsetParent === getWindow$1(popper)) {
|
|
8498
|
-
offsetParent = getDocumentElement$1(popper);
|
|
8499
|
-
|
|
8500
|
-
if (getComputedStyle$2(offsetParent).position !== 'static' && position === 'absolute') {
|
|
8501
|
-
heightProp = 'scrollHeight';
|
|
8502
|
-
widthProp = 'scrollWidth';
|
|
8503
|
-
}
|
|
8504
|
-
} // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
offsetParent = offsetParent;
|
|
8508
|
-
|
|
8509
|
-
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
8510
|
-
sideY = bottom;
|
|
8511
|
-
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
8512
|
-
offsetParent[heightProp];
|
|
8513
|
-
y -= offsetY - popperRect.height;
|
|
8514
|
-
y *= gpuAcceleration ? 1 : -1;
|
|
8515
|
-
}
|
|
8516
|
-
|
|
8517
|
-
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
8518
|
-
sideX = right;
|
|
8519
|
-
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
8520
|
-
offsetParent[widthProp];
|
|
8521
|
-
x -= offsetX - popperRect.width;
|
|
8522
|
-
x *= gpuAcceleration ? 1 : -1;
|
|
8523
|
-
}
|
|
8524
|
-
}
|
|
8525
|
-
|
|
8526
|
-
var commonStyles = Object.assign({
|
|
8527
|
-
position: position
|
|
8528
|
-
}, adaptive && unsetSides);
|
|
8529
|
-
|
|
8530
|
-
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
8531
|
-
x: x,
|
|
8532
|
-
y: y
|
|
8533
|
-
}, getWindow$1(popper)) : {
|
|
8534
|
-
x: x,
|
|
8535
|
-
y: y
|
|
8536
|
-
};
|
|
8537
|
-
|
|
8538
|
-
x = _ref4.x;
|
|
8539
|
-
y = _ref4.y;
|
|
8540
|
-
|
|
8541
|
-
if (gpuAcceleration) {
|
|
8542
|
-
var _Object$assign;
|
|
8543
|
-
|
|
8544
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
8545
|
-
}
|
|
8546
|
-
|
|
8547
|
-
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
8548
|
-
}
|
|
8549
|
-
|
|
8550
|
-
function computeStyles(_ref5) {
|
|
8551
|
-
var state = _ref5.state,
|
|
8552
|
-
options = _ref5.options;
|
|
8553
|
-
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
8554
|
-
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
8555
|
-
_options$adaptive = options.adaptive,
|
|
8556
|
-
adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
|
|
8557
|
-
_options$roundOffsets = options.roundOffsets,
|
|
8558
|
-
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
8559
|
-
var commonStyles = {
|
|
8560
|
-
placement: getBasePlacement(state.placement),
|
|
8561
|
-
variation: getVariation(state.placement),
|
|
8562
|
-
popper: state.elements.popper,
|
|
8563
|
-
popperRect: state.rects.popper,
|
|
8564
|
-
gpuAcceleration: gpuAcceleration,
|
|
8565
|
-
isFixed: state.options.strategy === 'fixed'
|
|
8566
|
-
};
|
|
8567
|
-
|
|
8568
|
-
if (state.modifiersData.popperOffsets != null) {
|
|
8569
|
-
state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
|
|
8570
|
-
offsets: state.modifiersData.popperOffsets,
|
|
8571
|
-
position: state.options.strategy,
|
|
8572
|
-
adaptive: adaptive,
|
|
8573
|
-
roundOffsets: roundOffsets
|
|
8574
|
-
})));
|
|
8575
|
-
}
|
|
8576
|
-
|
|
8577
|
-
if (state.modifiersData.arrow != null) {
|
|
8578
|
-
state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
|
|
8579
|
-
offsets: state.modifiersData.arrow,
|
|
8580
|
-
position: 'absolute',
|
|
8581
|
-
adaptive: false,
|
|
8582
|
-
roundOffsets: roundOffsets
|
|
8583
|
-
})));
|
|
8584
|
-
}
|
|
8585
|
-
|
|
8586
|
-
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
8587
|
-
'data-popper-placement': state.placement
|
|
8588
|
-
});
|
|
8589
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
8590
|
-
|
|
8591
|
-
|
|
8592
|
-
var computeStyles$1 = {
|
|
8593
|
-
name: 'computeStyles',
|
|
8594
|
-
enabled: true,
|
|
8595
|
-
phase: 'beforeWrite',
|
|
8596
|
-
fn: computeStyles,
|
|
8597
|
-
data: {}
|
|
8598
|
-
};
|
|
8599
|
-
|
|
8600
|
-
var passive = {
|
|
8601
|
-
passive: true
|
|
8602
|
-
};
|
|
8603
|
-
|
|
8604
|
-
function effect(_ref) {
|
|
8605
|
-
var state = _ref.state,
|
|
8606
|
-
instance = _ref.instance,
|
|
8607
|
-
options = _ref.options;
|
|
8608
|
-
var _options$scroll = options.scroll,
|
|
8609
|
-
scroll = _options$scroll === void 0 ? true : _options$scroll,
|
|
8610
|
-
_options$resize = options.resize,
|
|
8611
|
-
resize = _options$resize === void 0 ? true : _options$resize;
|
|
8612
|
-
var window = getWindow$1(state.elements.popper);
|
|
8613
|
-
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
8614
|
-
|
|
8615
|
-
if (scroll) {
|
|
8616
|
-
scrollParents.forEach(function (scrollParent) {
|
|
8617
|
-
scrollParent.addEventListener('scroll', instance.update, passive);
|
|
8618
|
-
});
|
|
8619
|
-
}
|
|
8620
|
-
|
|
8621
|
-
if (resize) {
|
|
8622
|
-
window.addEventListener('resize', instance.update, passive);
|
|
8623
|
-
}
|
|
8624
|
-
|
|
8625
|
-
return function () {
|
|
8626
|
-
if (scroll) {
|
|
8627
|
-
scrollParents.forEach(function (scrollParent) {
|
|
8628
|
-
scrollParent.removeEventListener('scroll', instance.update, passive);
|
|
8629
|
-
});
|
|
8630
|
-
}
|
|
8631
|
-
|
|
8632
|
-
if (resize) {
|
|
8633
|
-
window.removeEventListener('resize', instance.update, passive);
|
|
8634
|
-
}
|
|
8635
|
-
};
|
|
8636
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
var eventListeners = {
|
|
8640
|
-
name: 'eventListeners',
|
|
8641
|
-
enabled: true,
|
|
8642
|
-
phase: 'write',
|
|
8643
|
-
fn: function fn() {},
|
|
8644
|
-
effect: effect,
|
|
8645
|
-
data: {}
|
|
8646
|
-
};
|
|
8647
|
-
|
|
8648
|
-
var hash$1 = {
|
|
8649
|
-
left: 'right',
|
|
8650
|
-
right: 'left',
|
|
8651
|
-
bottom: 'top',
|
|
8652
|
-
top: 'bottom'
|
|
8653
|
-
};
|
|
8654
|
-
function getOppositePlacement$1(placement) {
|
|
8655
|
-
return placement.replace(/left|right|bottom|top/g, function (matched) {
|
|
8656
|
-
return hash$1[matched];
|
|
8657
|
-
});
|
|
8658
|
-
}
|
|
8659
|
-
|
|
8660
|
-
var hash = {
|
|
8661
|
-
start: 'end',
|
|
8662
|
-
end: 'start'
|
|
8663
|
-
};
|
|
8664
|
-
function getOppositeVariationPlacement(placement) {
|
|
8665
|
-
return placement.replace(/start|end/g, function (matched) {
|
|
8666
|
-
return hash[matched];
|
|
8667
|
-
});
|
|
8668
|
-
}
|
|
8669
|
-
|
|
8670
|
-
function getWindowScroll(node) {
|
|
8671
|
-
var win = getWindow$1(node);
|
|
8672
|
-
var scrollLeft = win.pageXOffset;
|
|
8673
|
-
var scrollTop = win.pageYOffset;
|
|
8674
|
-
return {
|
|
8675
|
-
scrollLeft: scrollLeft,
|
|
8676
|
-
scrollTop: scrollTop
|
|
8677
|
-
};
|
|
8678
|
-
}
|
|
8679
|
-
|
|
8680
|
-
function getWindowScrollBarX$1(element) {
|
|
8681
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
8682
|
-
// incorrect for RTL.
|
|
8683
|
-
// Popper 1 is broken in this case and never had a bug report so let's assume
|
|
8684
|
-
// it's not an issue. I don't think anyone ever specifies width on <html>
|
|
8685
|
-
// anyway.
|
|
8686
|
-
// Browsers where the left scrollbar doesn't cause an issue report `0` for
|
|
8687
|
-
// this (e.g. Edge 2019, IE11, Safari)
|
|
8688
|
-
return getBoundingClientRect$1(getDocumentElement$1(element)).left + getWindowScroll(element).scrollLeft;
|
|
8689
|
-
}
|
|
8690
|
-
|
|
8691
|
-
function getViewportRect$1(element, strategy) {
|
|
8692
|
-
var win = getWindow$1(element);
|
|
8693
|
-
var html = getDocumentElement$1(element);
|
|
8694
|
-
var visualViewport = win.visualViewport;
|
|
8695
|
-
var width = html.clientWidth;
|
|
8696
|
-
var height = html.clientHeight;
|
|
8697
|
-
var x = 0;
|
|
8698
|
-
var y = 0;
|
|
8699
|
-
|
|
8700
|
-
if (visualViewport) {
|
|
8701
|
-
width = visualViewport.width;
|
|
8702
|
-
height = visualViewport.height;
|
|
8703
|
-
var layoutViewport = isLayoutViewport();
|
|
8704
|
-
|
|
8705
|
-
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
|
8706
|
-
x = visualViewport.offsetLeft;
|
|
8707
|
-
y = visualViewport.offsetTop;
|
|
8708
|
-
}
|
|
8709
|
-
}
|
|
8710
|
-
|
|
8711
|
-
return {
|
|
8712
|
-
width: width,
|
|
8713
|
-
height: height,
|
|
8714
|
-
x: x + getWindowScrollBarX$1(element),
|
|
8715
|
-
y: y
|
|
8716
|
-
};
|
|
8717
|
-
}
|
|
8718
|
-
|
|
8719
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
8720
|
-
|
|
8721
|
-
function getDocumentRect$1(element) {
|
|
8722
|
-
var _element$ownerDocumen;
|
|
8723
|
-
|
|
8724
|
-
var html = getDocumentElement$1(element);
|
|
8725
|
-
var winScroll = getWindowScroll(element);
|
|
8726
|
-
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
8727
|
-
var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
8728
|
-
var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
8729
|
-
var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
|
|
8730
|
-
var y = -winScroll.scrollTop;
|
|
8731
|
-
|
|
8732
|
-
if (getComputedStyle$2(body || html).direction === 'rtl') {
|
|
8733
|
-
x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
8734
|
-
}
|
|
8735
|
-
|
|
8736
|
-
return {
|
|
8737
|
-
width: width,
|
|
8738
|
-
height: height,
|
|
8739
|
-
x: x,
|
|
8740
|
-
y: y
|
|
8741
|
-
};
|
|
8742
|
-
}
|
|
8743
|
-
|
|
8744
|
-
function isScrollParent(element) {
|
|
8745
|
-
// Firefox wants us to check `-x` and `-y` variations as well
|
|
8746
|
-
var _getComputedStyle = getComputedStyle$2(element),
|
|
8747
|
-
overflow = _getComputedStyle.overflow,
|
|
8748
|
-
overflowX = _getComputedStyle.overflowX,
|
|
8749
|
-
overflowY = _getComputedStyle.overflowY;
|
|
8750
|
-
|
|
8751
|
-
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
|
|
8752
|
-
}
|
|
8753
|
-
|
|
8754
|
-
function getScrollParent(node) {
|
|
8755
|
-
if (['html', 'body', '#document'].indexOf(getNodeName$1(node)) >= 0) {
|
|
8756
|
-
// $FlowFixMe[incompatible-return]: assume body is always available
|
|
8757
|
-
return node.ownerDocument.body;
|
|
8758
|
-
}
|
|
8759
|
-
|
|
8760
|
-
if (isHTMLElement$1(node) && isScrollParent(node)) {
|
|
8761
|
-
return node;
|
|
8762
|
-
}
|
|
8763
|
-
|
|
8764
|
-
return getScrollParent(getParentNode$1(node));
|
|
8765
|
-
}
|
|
8766
|
-
|
|
8767
|
-
/*
|
|
8768
|
-
given a DOM element, return the list of all scroll parents, up the list of ancesors
|
|
8769
|
-
until we get to the top window object. This list is what we attach scroll listeners
|
|
8770
|
-
to, because if any of these parent elements scroll, we'll need to re-calculate the
|
|
8771
|
-
reference element's position.
|
|
8772
|
-
*/
|
|
8773
|
-
|
|
8774
|
-
function listScrollParents(element, list) {
|
|
8775
|
-
var _element$ownerDocumen;
|
|
8776
|
-
|
|
8777
|
-
if (list === void 0) {
|
|
8778
|
-
list = [];
|
|
8779
|
-
}
|
|
8780
|
-
|
|
8781
|
-
var scrollParent = getScrollParent(element);
|
|
8782
|
-
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
|
8783
|
-
var win = getWindow$1(scrollParent);
|
|
8784
|
-
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
8785
|
-
var updatedList = list.concat(target);
|
|
8786
|
-
return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
8787
|
-
updatedList.concat(listScrollParents(getParentNode$1(target)));
|
|
8788
|
-
}
|
|
8789
|
-
|
|
8790
|
-
function rectToClientRect$1(rect) {
|
|
8791
|
-
return Object.assign({}, rect, {
|
|
8792
|
-
left: rect.x,
|
|
8793
|
-
top: rect.y,
|
|
8794
|
-
right: rect.x + rect.width,
|
|
8795
|
-
bottom: rect.y + rect.height
|
|
8796
|
-
});
|
|
8797
|
-
}
|
|
8798
|
-
|
|
8799
|
-
function getInnerBoundingClientRect$1(element, strategy) {
|
|
8800
|
-
var rect = getBoundingClientRect$1(element, false, strategy === 'fixed');
|
|
8801
|
-
rect.top = rect.top + element.clientTop;
|
|
8802
|
-
rect.left = rect.left + element.clientLeft;
|
|
8803
|
-
rect.bottom = rect.top + element.clientHeight;
|
|
8804
|
-
rect.right = rect.left + element.clientWidth;
|
|
8805
|
-
rect.width = element.clientWidth;
|
|
8806
|
-
rect.height = element.clientHeight;
|
|
8807
|
-
rect.x = rect.left;
|
|
8808
|
-
rect.y = rect.top;
|
|
8809
|
-
return rect;
|
|
8810
|
-
}
|
|
8811
|
-
|
|
8812
|
-
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
8813
|
-
return clippingParent === viewport ? rectToClientRect$1(getViewportRect$1(element, strategy)) : isElement$1(clippingParent) ? getInnerBoundingClientRect$1(clippingParent, strategy) : rectToClientRect$1(getDocumentRect$1(getDocumentElement$1(element)));
|
|
8814
|
-
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
8815
|
-
// clipping (or hiding) overflowing elements with a position different from
|
|
8816
|
-
// `initial`
|
|
8817
|
-
|
|
8818
|
-
|
|
8819
|
-
function getClippingParents(element) {
|
|
8820
|
-
var clippingParents = listScrollParents(getParentNode$1(element));
|
|
8821
|
-
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$2(element).position) >= 0;
|
|
8822
|
-
var clipperElement = canEscapeClipping && isHTMLElement$1(element) ? getOffsetParent$1(element) : element;
|
|
8823
|
-
|
|
8824
|
-
if (!isElement$1(clipperElement)) {
|
|
8825
|
-
return [];
|
|
8826
|
-
} // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
return clippingParents.filter(function (clippingParent) {
|
|
8830
|
-
return isElement$1(clippingParent) && contains(clippingParent, clipperElement) && getNodeName$1(clippingParent) !== 'body';
|
|
8831
|
-
});
|
|
8832
|
-
} // Gets the maximum area that the element is visible in due to any number of
|
|
8833
|
-
// clipping parents
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
function getClippingRect$1(element, boundary, rootBoundary, strategy) {
|
|
8837
|
-
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
|
8838
|
-
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
8839
|
-
var firstClippingParent = clippingParents[0];
|
|
8840
|
-
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
8841
|
-
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
8842
|
-
accRect.top = max$1(rect.top, accRect.top);
|
|
8843
|
-
accRect.right = min$1(rect.right, accRect.right);
|
|
8844
|
-
accRect.bottom = min$1(rect.bottom, accRect.bottom);
|
|
8845
|
-
accRect.left = max$1(rect.left, accRect.left);
|
|
8846
|
-
return accRect;
|
|
8847
|
-
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
8848
|
-
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
8849
|
-
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
8850
|
-
clippingRect.x = clippingRect.left;
|
|
8851
|
-
clippingRect.y = clippingRect.top;
|
|
8852
|
-
return clippingRect;
|
|
8853
|
-
}
|
|
8854
|
-
|
|
8855
|
-
function computeOffsets(_ref) {
|
|
8856
|
-
var reference = _ref.reference,
|
|
8857
|
-
element = _ref.element,
|
|
8858
|
-
placement = _ref.placement;
|
|
8859
|
-
var basePlacement = placement ? getBasePlacement(placement) : null;
|
|
8860
|
-
var variation = placement ? getVariation(placement) : null;
|
|
8861
|
-
var commonX = reference.x + reference.width / 2 - element.width / 2;
|
|
8862
|
-
var commonY = reference.y + reference.height / 2 - element.height / 2;
|
|
8863
|
-
var offsets;
|
|
8864
|
-
|
|
8865
|
-
switch (basePlacement) {
|
|
8866
|
-
case top:
|
|
8867
|
-
offsets = {
|
|
8868
|
-
x: commonX,
|
|
8869
|
-
y: reference.y - element.height
|
|
8870
|
-
};
|
|
8871
|
-
break;
|
|
8872
|
-
|
|
8873
|
-
case bottom:
|
|
8874
|
-
offsets = {
|
|
8875
|
-
x: commonX,
|
|
8876
|
-
y: reference.y + reference.height
|
|
8877
|
-
};
|
|
8878
|
-
break;
|
|
8879
|
-
|
|
8880
|
-
case right:
|
|
8881
|
-
offsets = {
|
|
8882
|
-
x: reference.x + reference.width,
|
|
8883
|
-
y: commonY
|
|
8884
|
-
};
|
|
8885
|
-
break;
|
|
8886
|
-
|
|
8887
|
-
case left:
|
|
8888
|
-
offsets = {
|
|
8889
|
-
x: reference.x - element.width,
|
|
8890
|
-
y: commonY
|
|
8891
|
-
};
|
|
8892
|
-
break;
|
|
8893
|
-
|
|
8894
|
-
default:
|
|
8895
|
-
offsets = {
|
|
8896
|
-
x: reference.x,
|
|
8897
|
-
y: reference.y
|
|
8898
|
-
};
|
|
8899
|
-
}
|
|
8900
|
-
|
|
8901
|
-
var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
|
|
8902
|
-
|
|
8903
|
-
if (mainAxis != null) {
|
|
8904
|
-
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
8905
|
-
|
|
8906
|
-
switch (variation) {
|
|
8907
|
-
case start:
|
|
8908
|
-
offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
|
|
8909
|
-
break;
|
|
8910
|
-
|
|
8911
|
-
case end:
|
|
8912
|
-
offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
|
|
8913
|
-
break;
|
|
8914
|
-
}
|
|
8915
|
-
}
|
|
8916
|
-
|
|
8917
|
-
return offsets;
|
|
8918
|
-
}
|
|
8919
|
-
|
|
8920
|
-
function detectOverflow$1(state, options) {
|
|
8921
|
-
if (options === void 0) {
|
|
8922
|
-
options = {};
|
|
8923
|
-
}
|
|
8924
|
-
|
|
8925
|
-
var _options = options,
|
|
8926
|
-
_options$placement = _options.placement,
|
|
8927
|
-
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
8928
|
-
_options$strategy = _options.strategy,
|
|
8929
|
-
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
8930
|
-
_options$boundary = _options.boundary,
|
|
8931
|
-
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
8932
|
-
_options$rootBoundary = _options.rootBoundary,
|
|
8933
|
-
rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
|
|
8934
|
-
_options$elementConte = _options.elementContext,
|
|
8935
|
-
elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
|
|
8936
|
-
_options$altBoundary = _options.altBoundary,
|
|
8937
|
-
altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
|
|
8938
|
-
_options$padding = _options.padding,
|
|
8939
|
-
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
8940
|
-
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
8941
|
-
var altContext = elementContext === popper ? reference : popper;
|
|
8942
|
-
var popperRect = state.rects.popper;
|
|
8943
|
-
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
8944
|
-
var clippingClientRect = getClippingRect$1(isElement$1(element) ? element : element.contextElement || getDocumentElement$1(state.elements.popper), boundary, rootBoundary, strategy);
|
|
8945
|
-
var referenceClientRect = getBoundingClientRect$1(state.elements.reference);
|
|
8946
|
-
var popperOffsets = computeOffsets({
|
|
8947
|
-
reference: referenceClientRect,
|
|
8948
|
-
element: popperRect,
|
|
8949
|
-
placement: placement
|
|
8950
|
-
});
|
|
8951
|
-
var popperClientRect = rectToClientRect$1(Object.assign({}, popperRect, popperOffsets));
|
|
8952
|
-
var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
|
|
8953
|
-
// 0 or negative = within the clipping rect
|
|
8954
|
-
|
|
8955
|
-
var overflowOffsets = {
|
|
8956
|
-
top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
|
|
8957
|
-
bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
|
|
8958
|
-
left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
|
|
8959
|
-
right: elementClientRect.right - clippingClientRect.right + paddingObject.right
|
|
8960
|
-
};
|
|
8961
|
-
var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element
|
|
8962
|
-
|
|
8963
|
-
if (elementContext === popper && offsetData) {
|
|
8964
|
-
var offset = offsetData[placement];
|
|
8965
|
-
Object.keys(overflowOffsets).forEach(function (key) {
|
|
8966
|
-
var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
|
|
8967
|
-
var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';
|
|
8968
|
-
overflowOffsets[key] += offset[axis] * multiply;
|
|
8969
|
-
});
|
|
8970
|
-
}
|
|
8971
|
-
|
|
8972
|
-
return overflowOffsets;
|
|
8973
|
-
}
|
|
8974
|
-
|
|
8975
|
-
function computeAutoPlacement(state, options) {
|
|
8976
|
-
if (options === void 0) {
|
|
8977
|
-
options = {};
|
|
8978
|
-
}
|
|
8979
|
-
|
|
8980
|
-
var _options = options,
|
|
8981
|
-
placement = _options.placement,
|
|
8982
|
-
boundary = _options.boundary,
|
|
8983
|
-
rootBoundary = _options.rootBoundary,
|
|
8984
|
-
padding = _options.padding,
|
|
8985
|
-
flipVariations = _options.flipVariations,
|
|
8986
|
-
_options$allowedAutoP = _options.allowedAutoPlacements,
|
|
8987
|
-
allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements$1 : _options$allowedAutoP;
|
|
8988
|
-
var variation = getVariation(placement);
|
|
8989
|
-
var placements = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
|
8990
|
-
return getVariation(placement) === variation;
|
|
8991
|
-
}) : basePlacements;
|
|
8992
|
-
var allowedPlacements = placements.filter(function (placement) {
|
|
8993
|
-
return allowedAutoPlacements.indexOf(placement) >= 0;
|
|
8994
|
-
});
|
|
8995
|
-
|
|
8996
|
-
if (allowedPlacements.length === 0) {
|
|
8997
|
-
allowedPlacements = placements;
|
|
8998
|
-
} // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
var overflows = allowedPlacements.reduce(function (acc, placement) {
|
|
9002
|
-
acc[placement] = detectOverflow$1(state, {
|
|
9003
|
-
placement: placement,
|
|
9004
|
-
boundary: boundary,
|
|
9005
|
-
rootBoundary: rootBoundary,
|
|
9006
|
-
padding: padding
|
|
9007
|
-
})[getBasePlacement(placement)];
|
|
9008
|
-
return acc;
|
|
9009
|
-
}, {});
|
|
9010
|
-
return Object.keys(overflows).sort(function (a, b) {
|
|
9011
|
-
return overflows[a] - overflows[b];
|
|
9012
|
-
});
|
|
9013
|
-
}
|
|
9014
|
-
|
|
9015
|
-
function getExpandedFallbackPlacements(placement) {
|
|
9016
|
-
if (getBasePlacement(placement) === auto) {
|
|
9017
|
-
return [];
|
|
9018
|
-
}
|
|
9019
|
-
|
|
9020
|
-
var oppositePlacement = getOppositePlacement$1(placement);
|
|
9021
|
-
return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
|
|
9022
|
-
}
|
|
9023
|
-
|
|
9024
|
-
function flip$2(_ref) {
|
|
9025
|
-
var state = _ref.state,
|
|
9026
|
-
options = _ref.options,
|
|
9027
|
-
name = _ref.name;
|
|
9028
|
-
|
|
9029
|
-
if (state.modifiersData[name]._skip) {
|
|
9030
|
-
return;
|
|
9031
|
-
}
|
|
9032
|
-
|
|
9033
|
-
var _options$mainAxis = options.mainAxis,
|
|
9034
|
-
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
|
9035
|
-
_options$altAxis = options.altAxis,
|
|
9036
|
-
checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
|
|
9037
|
-
specifiedFallbackPlacements = options.fallbackPlacements,
|
|
9038
|
-
padding = options.padding,
|
|
9039
|
-
boundary = options.boundary,
|
|
9040
|
-
rootBoundary = options.rootBoundary,
|
|
9041
|
-
altBoundary = options.altBoundary,
|
|
9042
|
-
_options$flipVariatio = options.flipVariations,
|
|
9043
|
-
flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
|
|
9044
|
-
allowedAutoPlacements = options.allowedAutoPlacements;
|
|
9045
|
-
var preferredPlacement = state.options.placement;
|
|
9046
|
-
var basePlacement = getBasePlacement(preferredPlacement);
|
|
9047
|
-
var isBasePlacement = basePlacement === preferredPlacement;
|
|
9048
|
-
var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement$1(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
|
|
9049
|
-
var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
|
|
9050
|
-
return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {
|
|
9051
|
-
placement: placement,
|
|
9052
|
-
boundary: boundary,
|
|
9053
|
-
rootBoundary: rootBoundary,
|
|
9054
|
-
padding: padding,
|
|
9055
|
-
flipVariations: flipVariations,
|
|
9056
|
-
allowedAutoPlacements: allowedAutoPlacements
|
|
9057
|
-
}) : placement);
|
|
9058
|
-
}, []);
|
|
9059
|
-
var referenceRect = state.rects.reference;
|
|
9060
|
-
var popperRect = state.rects.popper;
|
|
9061
|
-
var checksMap = new Map();
|
|
9062
|
-
var makeFallbackChecks = true;
|
|
9063
|
-
var firstFittingPlacement = placements[0];
|
|
9064
|
-
|
|
9065
|
-
for (var i = 0; i < placements.length; i++) {
|
|
9066
|
-
var placement = placements[i];
|
|
9067
|
-
|
|
9068
|
-
var _basePlacement = getBasePlacement(placement);
|
|
9069
|
-
|
|
9070
|
-
var isStartVariation = getVariation(placement) === start;
|
|
9071
|
-
var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;
|
|
9072
|
-
var len = isVertical ? 'width' : 'height';
|
|
9073
|
-
var overflow = detectOverflow$1(state, {
|
|
9074
|
-
placement: placement,
|
|
9075
|
-
boundary: boundary,
|
|
9076
|
-
rootBoundary: rootBoundary,
|
|
9077
|
-
altBoundary: altBoundary,
|
|
9078
|
-
padding: padding
|
|
9079
|
-
});
|
|
9080
|
-
var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;
|
|
9081
|
-
|
|
9082
|
-
if (referenceRect[len] > popperRect[len]) {
|
|
9083
|
-
mainVariationSide = getOppositePlacement$1(mainVariationSide);
|
|
9084
|
-
}
|
|
9085
|
-
|
|
9086
|
-
var altVariationSide = getOppositePlacement$1(mainVariationSide);
|
|
9087
|
-
var checks = [];
|
|
9088
|
-
|
|
9089
|
-
if (checkMainAxis) {
|
|
9090
|
-
checks.push(overflow[_basePlacement] <= 0);
|
|
9091
|
-
}
|
|
9092
|
-
|
|
9093
|
-
if (checkAltAxis) {
|
|
9094
|
-
checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
|
|
9095
|
-
}
|
|
9096
|
-
|
|
9097
|
-
if (checks.every(function (check) {
|
|
9098
|
-
return check;
|
|
9099
|
-
})) {
|
|
9100
|
-
firstFittingPlacement = placement;
|
|
9101
|
-
makeFallbackChecks = false;
|
|
9102
|
-
break;
|
|
9103
|
-
}
|
|
9104
|
-
|
|
9105
|
-
checksMap.set(placement, checks);
|
|
9106
|
-
}
|
|
9107
|
-
|
|
9108
|
-
if (makeFallbackChecks) {
|
|
9109
|
-
// `2` may be desired in some cases – research later
|
|
9110
|
-
var numberOfChecks = flipVariations ? 3 : 1;
|
|
9111
|
-
|
|
9112
|
-
var _loop = function _loop(_i) {
|
|
9113
|
-
var fittingPlacement = placements.find(function (placement) {
|
|
9114
|
-
var checks = checksMap.get(placement);
|
|
9115
|
-
|
|
9116
|
-
if (checks) {
|
|
9117
|
-
return checks.slice(0, _i).every(function (check) {
|
|
9118
|
-
return check;
|
|
9119
|
-
});
|
|
9120
|
-
}
|
|
9121
|
-
});
|
|
9122
|
-
|
|
9123
|
-
if (fittingPlacement) {
|
|
9124
|
-
firstFittingPlacement = fittingPlacement;
|
|
9125
|
-
return "break";
|
|
9126
|
-
}
|
|
9127
|
-
};
|
|
9128
|
-
|
|
9129
|
-
for (var _i = numberOfChecks; _i > 0; _i--) {
|
|
9130
|
-
var _ret = _loop(_i);
|
|
9131
|
-
|
|
9132
|
-
if (_ret === "break") break;
|
|
9133
|
-
}
|
|
9134
|
-
}
|
|
9135
|
-
|
|
9136
|
-
if (state.placement !== firstFittingPlacement) {
|
|
9137
|
-
state.modifiersData[name]._skip = true;
|
|
9138
|
-
state.placement = firstFittingPlacement;
|
|
9139
|
-
state.reset = true;
|
|
9140
|
-
}
|
|
9141
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
var flip$3 = {
|
|
9145
|
-
name: 'flip',
|
|
9146
|
-
enabled: true,
|
|
9147
|
-
phase: 'main',
|
|
9148
|
-
fn: flip$2,
|
|
9149
|
-
requiresIfExists: ['offset'],
|
|
9150
|
-
data: {
|
|
9151
|
-
_skip: false
|
|
9152
|
-
}
|
|
9153
|
-
};
|
|
9154
|
-
|
|
9155
|
-
function getSideOffsets(overflow, rect, preventedOffsets) {
|
|
9156
|
-
if (preventedOffsets === void 0) {
|
|
9157
|
-
preventedOffsets = {
|
|
9158
|
-
x: 0,
|
|
9159
|
-
y: 0
|
|
9160
|
-
};
|
|
9161
|
-
}
|
|
9162
|
-
|
|
9163
|
-
return {
|
|
9164
|
-
top: overflow.top - rect.height - preventedOffsets.y,
|
|
9165
|
-
right: overflow.right - rect.width + preventedOffsets.x,
|
|
9166
|
-
bottom: overflow.bottom - rect.height + preventedOffsets.y,
|
|
9167
|
-
left: overflow.left - rect.width - preventedOffsets.x
|
|
9168
|
-
};
|
|
9169
|
-
}
|
|
9170
|
-
|
|
9171
|
-
function isAnySideFullyClipped(overflow) {
|
|
9172
|
-
return [top, right, bottom, left].some(function (side) {
|
|
9173
|
-
return overflow[side] >= 0;
|
|
9174
|
-
});
|
|
9175
|
-
}
|
|
9176
|
-
|
|
9177
|
-
function hide(_ref) {
|
|
9178
|
-
var state = _ref.state,
|
|
9179
|
-
name = _ref.name;
|
|
9180
|
-
var referenceRect = state.rects.reference;
|
|
9181
|
-
var popperRect = state.rects.popper;
|
|
9182
|
-
var preventedOffsets = state.modifiersData.preventOverflow;
|
|
9183
|
-
var referenceOverflow = detectOverflow$1(state, {
|
|
9184
|
-
elementContext: 'reference'
|
|
9185
|
-
});
|
|
9186
|
-
var popperAltOverflow = detectOverflow$1(state, {
|
|
9187
|
-
altBoundary: true
|
|
9188
|
-
});
|
|
9189
|
-
var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
|
|
9190
|
-
var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
|
|
9191
|
-
var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
|
|
9192
|
-
var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
|
|
9193
|
-
state.modifiersData[name] = {
|
|
9194
|
-
referenceClippingOffsets: referenceClippingOffsets,
|
|
9195
|
-
popperEscapeOffsets: popperEscapeOffsets,
|
|
9196
|
-
isReferenceHidden: isReferenceHidden,
|
|
9197
|
-
hasPopperEscaped: hasPopperEscaped
|
|
9198
|
-
};
|
|
9199
|
-
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
9200
|
-
'data-popper-reference-hidden': isReferenceHidden,
|
|
9201
|
-
'data-popper-escaped': hasPopperEscaped
|
|
9202
|
-
});
|
|
9203
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
var hide$1 = {
|
|
9207
|
-
name: 'hide',
|
|
9208
|
-
enabled: true,
|
|
9209
|
-
phase: 'main',
|
|
9210
|
-
requiresIfExists: ['preventOverflow'],
|
|
9211
|
-
fn: hide
|
|
9212
|
-
};
|
|
9213
|
-
|
|
9214
|
-
function distanceAndSkiddingToXY(placement, rects, offset) {
|
|
9215
|
-
var basePlacement = getBasePlacement(placement);
|
|
9216
|
-
var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
|
|
9217
|
-
|
|
9218
|
-
var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
|
|
9219
|
-
placement: placement
|
|
9220
|
-
})) : offset,
|
|
9221
|
-
skidding = _ref[0],
|
|
9222
|
-
distance = _ref[1];
|
|
9223
|
-
|
|
9224
|
-
skidding = skidding || 0;
|
|
9225
|
-
distance = (distance || 0) * invertDistance;
|
|
9226
|
-
return [left, right].indexOf(basePlacement) >= 0 ? {
|
|
9227
|
-
x: distance,
|
|
9228
|
-
y: skidding
|
|
9229
|
-
} : {
|
|
9230
|
-
x: skidding,
|
|
9231
|
-
y: distance
|
|
9232
|
-
};
|
|
9233
|
-
}
|
|
9234
|
-
|
|
9235
|
-
function offset$2(_ref2) {
|
|
9236
|
-
var state = _ref2.state,
|
|
9237
|
-
options = _ref2.options,
|
|
9238
|
-
name = _ref2.name;
|
|
9239
|
-
var _options$offset = options.offset,
|
|
9240
|
-
offset = _options$offset === void 0 ? [0, 0] : _options$offset;
|
|
9241
|
-
var data = placements$1.reduce(function (acc, placement) {
|
|
9242
|
-
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
|
9243
|
-
return acc;
|
|
9244
|
-
}, {});
|
|
9245
|
-
var _data$state$placement = data[state.placement],
|
|
9246
|
-
x = _data$state$placement.x,
|
|
9247
|
-
y = _data$state$placement.y;
|
|
9248
|
-
|
|
9249
|
-
if (state.modifiersData.popperOffsets != null) {
|
|
9250
|
-
state.modifiersData.popperOffsets.x += x;
|
|
9251
|
-
state.modifiersData.popperOffsets.y += y;
|
|
9252
|
-
}
|
|
9253
|
-
|
|
9254
|
-
state.modifiersData[name] = data;
|
|
9255
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
var offset$3 = {
|
|
9259
|
-
name: 'offset',
|
|
9260
|
-
enabled: true,
|
|
9261
|
-
phase: 'main',
|
|
9262
|
-
requires: ['popperOffsets'],
|
|
9263
|
-
fn: offset$2
|
|
9264
|
-
};
|
|
9265
|
-
|
|
9266
|
-
function popperOffsets(_ref) {
|
|
9267
|
-
var state = _ref.state,
|
|
9268
|
-
name = _ref.name;
|
|
9269
|
-
// Offsets are the actual position the popper needs to have to be
|
|
9270
|
-
// properly positioned near its reference element
|
|
9271
|
-
// This is the most basic placement, and will be adjusted by
|
|
9272
|
-
// the modifiers in the next step
|
|
9273
|
-
state.modifiersData[name] = computeOffsets({
|
|
9274
|
-
reference: state.rects.reference,
|
|
9275
|
-
element: state.rects.popper,
|
|
9276
|
-
placement: state.placement
|
|
9277
|
-
});
|
|
9278
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
var popperOffsets$1 = {
|
|
9282
|
-
name: 'popperOffsets',
|
|
9283
|
-
enabled: true,
|
|
9284
|
-
phase: 'read',
|
|
9285
|
-
fn: popperOffsets,
|
|
9286
|
-
data: {}
|
|
9287
|
-
};
|
|
9288
|
-
|
|
9289
|
-
function getAltAxis(axis) {
|
|
9290
|
-
return axis === 'x' ? 'y' : 'x';
|
|
9291
|
-
}
|
|
9292
|
-
|
|
9293
|
-
function preventOverflow(_ref) {
|
|
9294
|
-
var state = _ref.state,
|
|
9295
|
-
options = _ref.options,
|
|
9296
|
-
name = _ref.name;
|
|
9297
|
-
var _options$mainAxis = options.mainAxis,
|
|
9298
|
-
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
|
9299
|
-
_options$altAxis = options.altAxis,
|
|
9300
|
-
checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
|
|
9301
|
-
boundary = options.boundary,
|
|
9302
|
-
rootBoundary = options.rootBoundary,
|
|
9303
|
-
altBoundary = options.altBoundary,
|
|
9304
|
-
padding = options.padding,
|
|
9305
|
-
_options$tether = options.tether,
|
|
9306
|
-
tether = _options$tether === void 0 ? true : _options$tether,
|
|
9307
|
-
_options$tetherOffset = options.tetherOffset,
|
|
9308
|
-
tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
|
|
9309
|
-
var overflow = detectOverflow$1(state, {
|
|
9310
|
-
boundary: boundary,
|
|
9311
|
-
rootBoundary: rootBoundary,
|
|
9312
|
-
padding: padding,
|
|
9313
|
-
altBoundary: altBoundary
|
|
9314
|
-
});
|
|
9315
|
-
var basePlacement = getBasePlacement(state.placement);
|
|
9316
|
-
var variation = getVariation(state.placement);
|
|
9317
|
-
var isBasePlacement = !variation;
|
|
9318
|
-
var mainAxis = getMainAxisFromPlacement(basePlacement);
|
|
9319
|
-
var altAxis = getAltAxis(mainAxis);
|
|
9320
|
-
var popperOffsets = state.modifiersData.popperOffsets;
|
|
9321
|
-
var referenceRect = state.rects.reference;
|
|
9322
|
-
var popperRect = state.rects.popper;
|
|
9323
|
-
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
9324
|
-
placement: state.placement
|
|
9325
|
-
})) : tetherOffset;
|
|
9326
|
-
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
9327
|
-
mainAxis: tetherOffsetValue,
|
|
9328
|
-
altAxis: tetherOffsetValue
|
|
9329
|
-
} : Object.assign({
|
|
9330
|
-
mainAxis: 0,
|
|
9331
|
-
altAxis: 0
|
|
9332
|
-
}, tetherOffsetValue);
|
|
9333
|
-
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
9334
|
-
var data = {
|
|
9335
|
-
x: 0,
|
|
9336
|
-
y: 0
|
|
9337
|
-
};
|
|
9338
|
-
|
|
9339
|
-
if (!popperOffsets) {
|
|
9340
|
-
return;
|
|
9341
|
-
}
|
|
9342
|
-
|
|
9343
|
-
if (checkMainAxis) {
|
|
9344
|
-
var _offsetModifierState$;
|
|
9345
|
-
|
|
9346
|
-
var mainSide = mainAxis === 'y' ? top : left;
|
|
9347
|
-
var altSide = mainAxis === 'y' ? bottom : right;
|
|
9348
|
-
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
9349
|
-
var offset = popperOffsets[mainAxis];
|
|
9350
|
-
var min = offset + overflow[mainSide];
|
|
9351
|
-
var max = offset - overflow[altSide];
|
|
9352
|
-
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
9353
|
-
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
9354
|
-
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
9355
|
-
// outside the reference bounds
|
|
9356
|
-
|
|
9357
|
-
var arrowElement = state.elements.arrow;
|
|
9358
|
-
var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
|
|
9359
|
-
width: 0,
|
|
9360
|
-
height: 0
|
|
9361
|
-
};
|
|
9362
|
-
var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
|
|
9363
|
-
var arrowPaddingMin = arrowPaddingObject[mainSide];
|
|
9364
|
-
var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
|
|
9365
|
-
// to include its full size in the calculation. If the reference is small
|
|
9366
|
-
// and near the edge of a boundary, the popper can overflow even if the
|
|
9367
|
-
// reference is not overflowing as well (e.g. virtual elements with no
|
|
9368
|
-
// width or height)
|
|
9369
|
-
|
|
9370
|
-
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
9371
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
9372
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
9373
|
-
var arrowOffsetParent = state.elements.arrow && getOffsetParent$1(state.elements.arrow);
|
|
9374
|
-
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
9375
|
-
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
9376
|
-
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
9377
|
-
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
9378
|
-
var preventedOffset = within(tether ? min$1(min, tetherMin) : min, offset, tether ? max$1(max, tetherMax) : max);
|
|
9379
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
9380
|
-
data[mainAxis] = preventedOffset - offset;
|
|
9381
|
-
}
|
|
9382
|
-
|
|
9383
|
-
if (checkAltAxis) {
|
|
9384
|
-
var _offsetModifierState$2;
|
|
9385
|
-
|
|
9386
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
9387
|
-
|
|
9388
|
-
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
9389
|
-
|
|
9390
|
-
var _offset = popperOffsets[altAxis];
|
|
9391
|
-
|
|
9392
|
-
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
9393
|
-
|
|
9394
|
-
var _min = _offset + overflow[_mainSide];
|
|
9395
|
-
|
|
9396
|
-
var _max = _offset - overflow[_altSide];
|
|
9397
|
-
|
|
9398
|
-
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
9399
|
-
|
|
9400
|
-
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
9401
|
-
|
|
9402
|
-
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
9403
|
-
|
|
9404
|
-
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
9405
|
-
|
|
9406
|
-
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
9407
|
-
|
|
9408
|
-
popperOffsets[altAxis] = _preventedOffset;
|
|
9409
|
-
data[altAxis] = _preventedOffset - _offset;
|
|
9410
|
-
}
|
|
9411
|
-
|
|
9412
|
-
state.modifiersData[name] = data;
|
|
9413
|
-
} // eslint-disable-next-line import/no-unused-modules
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
var preventOverflow$1 = {
|
|
9417
|
-
name: 'preventOverflow',
|
|
9418
|
-
enabled: true,
|
|
9419
|
-
phase: 'main',
|
|
9420
|
-
fn: preventOverflow,
|
|
9421
|
-
requiresIfExists: ['offset']
|
|
9422
|
-
};
|
|
9423
|
-
|
|
9424
|
-
function getHTMLElementScroll(element) {
|
|
9425
|
-
return {
|
|
9426
|
-
scrollLeft: element.scrollLeft,
|
|
9427
|
-
scrollTop: element.scrollTop
|
|
9428
|
-
};
|
|
9429
|
-
}
|
|
9430
|
-
|
|
9431
|
-
function getNodeScroll$1(node) {
|
|
9432
|
-
if (node === getWindow$1(node) || !isHTMLElement$1(node)) {
|
|
9433
|
-
return getWindowScroll(node);
|
|
9434
|
-
} else {
|
|
9435
|
-
return getHTMLElementScroll(node);
|
|
9436
|
-
}
|
|
9437
|
-
}
|
|
9438
|
-
|
|
9439
|
-
function isElementScaled(element) {
|
|
9440
|
-
var rect = element.getBoundingClientRect();
|
|
9441
|
-
var scaleX = round$1(rect.width) / element.offsetWidth || 1;
|
|
9442
|
-
var scaleY = round$1(rect.height) / element.offsetHeight || 1;
|
|
9443
|
-
return scaleX !== 1 || scaleY !== 1;
|
|
9444
|
-
} // Returns the composite rect of an element relative to its offsetParent.
|
|
9445
|
-
// Composite means it takes into account transforms as well as layout.
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
9449
|
-
if (isFixed === void 0) {
|
|
9450
|
-
isFixed = false;
|
|
9451
|
-
}
|
|
9452
|
-
|
|
9453
|
-
var isOffsetParentAnElement = isHTMLElement$1(offsetParent);
|
|
9454
|
-
var offsetParentIsScaled = isHTMLElement$1(offsetParent) && isElementScaled(offsetParent);
|
|
9455
|
-
var documentElement = getDocumentElement$1(offsetParent);
|
|
9456
|
-
var rect = getBoundingClientRect$1(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
9457
|
-
var scroll = {
|
|
9458
|
-
scrollLeft: 0,
|
|
9459
|
-
scrollTop: 0
|
|
9460
|
-
};
|
|
9461
|
-
var offsets = {
|
|
9462
|
-
x: 0,
|
|
9463
|
-
y: 0
|
|
9464
|
-
};
|
|
9465
|
-
|
|
9466
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
9467
|
-
if (getNodeName$1(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
|
|
9468
|
-
isScrollParent(documentElement)) {
|
|
9469
|
-
scroll = getNodeScroll$1(offsetParent);
|
|
9470
|
-
}
|
|
9471
|
-
|
|
9472
|
-
if (isHTMLElement$1(offsetParent)) {
|
|
9473
|
-
offsets = getBoundingClientRect$1(offsetParent, true);
|
|
9474
|
-
offsets.x += offsetParent.clientLeft;
|
|
9475
|
-
offsets.y += offsetParent.clientTop;
|
|
9476
|
-
} else if (documentElement) {
|
|
9477
|
-
offsets.x = getWindowScrollBarX$1(documentElement);
|
|
9478
|
-
}
|
|
9479
|
-
}
|
|
9480
|
-
|
|
9481
|
-
return {
|
|
9482
|
-
x: rect.left + scroll.scrollLeft - offsets.x,
|
|
9483
|
-
y: rect.top + scroll.scrollTop - offsets.y,
|
|
9484
|
-
width: rect.width,
|
|
9485
|
-
height: rect.height
|
|
9486
|
-
};
|
|
9487
|
-
}
|
|
9488
|
-
|
|
9489
|
-
function order(modifiers) {
|
|
9490
|
-
var map = new Map();
|
|
9491
|
-
var visited = new Set();
|
|
9492
|
-
var result = [];
|
|
9493
|
-
modifiers.forEach(function (modifier) {
|
|
9494
|
-
map.set(modifier.name, modifier);
|
|
9495
|
-
}); // On visiting object, check for its dependencies and visit them recursively
|
|
9496
|
-
|
|
9497
|
-
function sort(modifier) {
|
|
9498
|
-
visited.add(modifier.name);
|
|
9499
|
-
var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
|
|
9500
|
-
requires.forEach(function (dep) {
|
|
9501
|
-
if (!visited.has(dep)) {
|
|
9502
|
-
var depModifier = map.get(dep);
|
|
9503
|
-
|
|
9504
|
-
if (depModifier) {
|
|
9505
|
-
sort(depModifier);
|
|
9506
|
-
}
|
|
9507
|
-
}
|
|
9508
|
-
});
|
|
9509
|
-
result.push(modifier);
|
|
9510
|
-
}
|
|
9511
|
-
|
|
9512
|
-
modifiers.forEach(function (modifier) {
|
|
9513
|
-
if (!visited.has(modifier.name)) {
|
|
9514
|
-
// check for visited object
|
|
9515
|
-
sort(modifier);
|
|
9516
|
-
}
|
|
9517
|
-
});
|
|
9518
|
-
return result;
|
|
9519
|
-
}
|
|
9520
|
-
|
|
9521
|
-
function orderModifiers(modifiers) {
|
|
9522
|
-
// order based on dependencies
|
|
9523
|
-
var orderedModifiers = order(modifiers); // order based on phase
|
|
9524
|
-
|
|
9525
|
-
return modifierPhases.reduce(function (acc, phase) {
|
|
9526
|
-
return acc.concat(orderedModifiers.filter(function (modifier) {
|
|
9527
|
-
return modifier.phase === phase;
|
|
9528
|
-
}));
|
|
9529
|
-
}, []);
|
|
9530
|
-
}
|
|
9531
|
-
|
|
9532
|
-
function debounce(fn) {
|
|
9533
|
-
var pending;
|
|
9534
|
-
return function () {
|
|
9535
|
-
if (!pending) {
|
|
9536
|
-
pending = new Promise(function (resolve) {
|
|
9537
|
-
Promise.resolve().then(function () {
|
|
9538
|
-
pending = undefined;
|
|
9539
|
-
resolve(fn());
|
|
9540
|
-
});
|
|
9541
|
-
});
|
|
9542
|
-
}
|
|
9543
|
-
|
|
9544
|
-
return pending;
|
|
9545
|
-
};
|
|
9546
|
-
}
|
|
9547
|
-
|
|
9548
|
-
function mergeByName(modifiers) {
|
|
9549
|
-
var merged = modifiers.reduce(function (merged, current) {
|
|
9550
|
-
var existing = merged[current.name];
|
|
9551
|
-
merged[current.name] = existing ? Object.assign({}, existing, current, {
|
|
9552
|
-
options: Object.assign({}, existing.options, current.options),
|
|
9553
|
-
data: Object.assign({}, existing.data, current.data)
|
|
9554
|
-
}) : current;
|
|
9555
|
-
return merged;
|
|
9556
|
-
}, {}); // IE11 does not support Object.values
|
|
9557
|
-
|
|
9558
|
-
return Object.keys(merged).map(function (key) {
|
|
9559
|
-
return merged[key];
|
|
9560
|
-
});
|
|
9561
|
-
}
|
|
9562
|
-
|
|
9563
|
-
var DEFAULT_OPTIONS = {
|
|
9564
|
-
placement: 'bottom',
|
|
9565
|
-
modifiers: [],
|
|
9566
|
-
strategy: 'absolute'
|
|
9567
|
-
};
|
|
9568
|
-
|
|
9569
|
-
function areValidElements() {
|
|
9570
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
9571
|
-
args[_key] = arguments[_key];
|
|
9572
|
-
}
|
|
9573
|
-
|
|
9574
|
-
return !args.some(function (element) {
|
|
9575
|
-
return !(element && typeof element.getBoundingClientRect === 'function');
|
|
9576
|
-
});
|
|
9577
|
-
}
|
|
9578
|
-
|
|
9579
|
-
function popperGenerator(generatorOptions) {
|
|
9580
|
-
if (generatorOptions === void 0) {
|
|
9581
|
-
generatorOptions = {};
|
|
9582
|
-
}
|
|
9583
|
-
|
|
9584
|
-
var _generatorOptions = generatorOptions,
|
|
9585
|
-
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
|
9586
|
-
defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
|
|
9587
|
-
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
|
9588
|
-
defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
|
9589
|
-
return function createPopper(reference, popper, options) {
|
|
9590
|
-
if (options === void 0) {
|
|
9591
|
-
options = defaultOptions;
|
|
9592
|
-
}
|
|
9593
|
-
|
|
9594
|
-
var state = {
|
|
9595
|
-
placement: 'bottom',
|
|
9596
|
-
orderedModifiers: [],
|
|
9597
|
-
options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
|
|
9598
|
-
modifiersData: {},
|
|
9599
|
-
elements: {
|
|
9600
|
-
reference: reference,
|
|
9601
|
-
popper: popper
|
|
9602
|
-
},
|
|
9603
|
-
attributes: {},
|
|
9604
|
-
styles: {}
|
|
9605
|
-
};
|
|
9606
|
-
var effectCleanupFns = [];
|
|
9607
|
-
var isDestroyed = false;
|
|
9608
|
-
var instance = {
|
|
9609
|
-
state: state,
|
|
9610
|
-
setOptions: function setOptions(setOptionsAction) {
|
|
9611
|
-
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
9612
|
-
cleanupModifierEffects();
|
|
9613
|
-
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
9614
|
-
state.scrollParents = {
|
|
9615
|
-
reference: isElement$1(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
|
|
9616
|
-
popper: listScrollParents(popper)
|
|
9617
|
-
}; // Orders the modifiers based on their dependencies and `phase`
|
|
9618
|
-
// properties
|
|
9619
|
-
|
|
9620
|
-
var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers
|
|
9621
|
-
|
|
9622
|
-
state.orderedModifiers = orderedModifiers.filter(function (m) {
|
|
9623
|
-
return m.enabled;
|
|
9624
|
-
});
|
|
9625
|
-
runModifierEffects();
|
|
9626
|
-
return instance.update();
|
|
9627
|
-
},
|
|
9628
|
-
// Sync update – it will always be executed, even if not necessary. This
|
|
9629
|
-
// is useful for low frequency updates where sync behavior simplifies the
|
|
9630
|
-
// logic.
|
|
9631
|
-
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
9632
|
-
// prefer the async Popper#update method
|
|
9633
|
-
forceUpdate: function forceUpdate() {
|
|
9634
|
-
if (isDestroyed) {
|
|
9635
|
-
return;
|
|
9636
|
-
}
|
|
9637
|
-
|
|
9638
|
-
var _state$elements = state.elements,
|
|
9639
|
-
reference = _state$elements.reference,
|
|
9640
|
-
popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
|
|
9641
|
-
// anymore
|
|
9642
|
-
|
|
9643
|
-
if (!areValidElements(reference, popper)) {
|
|
9644
|
-
return;
|
|
9645
|
-
} // Store the reference and popper rects to be read by modifiers
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
state.rects = {
|
|
9649
|
-
reference: getCompositeRect(reference, getOffsetParent$1(popper), state.options.strategy === 'fixed'),
|
|
9650
|
-
popper: getLayoutRect(popper)
|
|
9651
|
-
}; // Modifiers have the ability to reset the current update cycle. The
|
|
9652
|
-
// most common use case for this is the `flip` modifier changing the
|
|
9653
|
-
// placement, which then needs to re-run all the modifiers, because the
|
|
9654
|
-
// logic was previously ran for the previous placement and is therefore
|
|
9655
|
-
// stale/incorrect
|
|
9656
|
-
|
|
9657
|
-
state.reset = false;
|
|
9658
|
-
state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
|
|
9659
|
-
// is filled with the initial data specified by the modifier. This means
|
|
9660
|
-
// it doesn't persist and is fresh on each update.
|
|
9661
|
-
// To ensure persistent data, use `${name}#persistent`
|
|
9662
|
-
|
|
9663
|
-
state.orderedModifiers.forEach(function (modifier) {
|
|
9664
|
-
return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
|
|
9665
|
-
});
|
|
9666
|
-
|
|
9667
|
-
for (var index = 0; index < state.orderedModifiers.length; index++) {
|
|
9668
|
-
if (state.reset === true) {
|
|
9669
|
-
state.reset = false;
|
|
9670
|
-
index = -1;
|
|
9671
|
-
continue;
|
|
9672
|
-
}
|
|
9673
|
-
|
|
9674
|
-
var _state$orderedModifie = state.orderedModifiers[index],
|
|
9675
|
-
fn = _state$orderedModifie.fn,
|
|
9676
|
-
_state$orderedModifie2 = _state$orderedModifie.options,
|
|
9677
|
-
_options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
|
|
9678
|
-
name = _state$orderedModifie.name;
|
|
9679
|
-
|
|
9680
|
-
if (typeof fn === 'function') {
|
|
9681
|
-
state = fn({
|
|
9682
|
-
state: state,
|
|
9683
|
-
options: _options,
|
|
9684
|
-
name: name,
|
|
9685
|
-
instance: instance
|
|
9686
|
-
}) || state;
|
|
9687
|
-
}
|
|
9688
|
-
}
|
|
9689
|
-
},
|
|
9690
|
-
// Async and optimistically optimized update – it will not be executed if
|
|
9691
|
-
// not necessary (debounced to run at most once-per-tick)
|
|
9692
|
-
update: debounce(function () {
|
|
9693
|
-
return new Promise(function (resolve) {
|
|
9694
|
-
instance.forceUpdate();
|
|
9695
|
-
resolve(state);
|
|
9696
|
-
});
|
|
9697
|
-
}),
|
|
9698
|
-
destroy: function destroy() {
|
|
9699
|
-
cleanupModifierEffects();
|
|
9700
|
-
isDestroyed = true;
|
|
9701
|
-
}
|
|
9702
|
-
};
|
|
9703
|
-
|
|
9704
|
-
if (!areValidElements(reference, popper)) {
|
|
9705
|
-
return instance;
|
|
9706
|
-
}
|
|
9707
|
-
|
|
9708
|
-
instance.setOptions(options).then(function (state) {
|
|
9709
|
-
if (!isDestroyed && options.onFirstUpdate) {
|
|
9710
|
-
options.onFirstUpdate(state);
|
|
9711
|
-
}
|
|
9712
|
-
}); // Modifiers have the ability to execute arbitrary code before the first
|
|
9713
|
-
// update cycle runs. They will be executed in the same order as the update
|
|
9714
|
-
// cycle. This is useful when a modifier adds some persistent data that
|
|
9715
|
-
// other modifiers need to use, but the modifier is run after the dependent
|
|
9716
|
-
// one.
|
|
9717
|
-
|
|
9718
|
-
function runModifierEffects() {
|
|
9719
|
-
state.orderedModifiers.forEach(function (_ref) {
|
|
9720
|
-
var name = _ref.name,
|
|
9721
|
-
_ref$options = _ref.options,
|
|
9722
|
-
options = _ref$options === void 0 ? {} : _ref$options,
|
|
9723
|
-
effect = _ref.effect;
|
|
9724
|
-
|
|
9725
|
-
if (typeof effect === 'function') {
|
|
9726
|
-
var cleanupFn = effect({
|
|
9727
|
-
state: state,
|
|
9728
|
-
name: name,
|
|
9729
|
-
instance: instance,
|
|
9730
|
-
options: options
|
|
9731
|
-
});
|
|
9732
|
-
|
|
9733
|
-
var noopFn = function noopFn() {};
|
|
9734
|
-
|
|
9735
|
-
effectCleanupFns.push(cleanupFn || noopFn);
|
|
9736
|
-
}
|
|
9737
|
-
});
|
|
9738
|
-
}
|
|
9739
|
-
|
|
9740
|
-
function cleanupModifierEffects() {
|
|
9741
|
-
effectCleanupFns.forEach(function (fn) {
|
|
9742
|
-
return fn();
|
|
9743
|
-
});
|
|
9744
|
-
effectCleanupFns = [];
|
|
9745
|
-
}
|
|
9746
|
-
|
|
9747
|
-
return instance;
|
|
9748
|
-
};
|
|
9749
|
-
}
|
|
9750
|
-
|
|
9751
|
-
var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$3, flip$3, preventOverflow$1, arrow$1, hide$1];
|
|
9752
|
-
var createPopper = /*#__PURE__*/popperGenerator({
|
|
9753
|
-
defaultModifiers: defaultModifiers
|
|
9754
|
-
}); // eslint-disable-next-line import/no-unused-modules
|
|
9755
|
-
|
|
9756
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9757
|
-
// See LICENSE in the project root for license information.
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
// build the component class
|
|
9761
|
-
const popoverOffsetDistance = 18,
|
|
9762
|
-
popoverOffsetSkidding = 0;
|
|
9763
|
-
|
|
9764
|
-
class Popover {
|
|
9765
|
-
|
|
9766
|
-
constructor(anchor, popover, placement, boundary) {
|
|
9767
|
-
this.anchor = anchor;
|
|
9768
|
-
this.popover = popover;
|
|
9769
|
-
this.boundaryElement = this.setBoundary(boundary);
|
|
9770
|
-
this.options = {
|
|
9771
|
-
placement,
|
|
9772
|
-
visibleClass: 'data-show'
|
|
9773
|
-
};
|
|
9774
|
-
this.popover.classList.remove(this.options.visibleClass);
|
|
9775
|
-
}
|
|
9776
|
-
|
|
9777
|
-
setBoundary(boundary) {
|
|
9778
|
-
if (typeof boundary === 'string') {
|
|
9779
|
-
return document.querySelector(boundary) || document.body;
|
|
9780
|
-
}
|
|
9781
|
-
|
|
9782
|
-
return boundary || document.body;
|
|
9783
|
-
}
|
|
9784
|
-
|
|
9785
|
-
show() {
|
|
9786
|
-
if (this.popper) {
|
|
9787
|
-
this.popper.destroy();
|
|
9788
|
-
}
|
|
9789
|
-
|
|
9790
|
-
this.popper = createPopper(this.anchor, this.popover, {
|
|
9791
|
-
tooltip: this.anchor,
|
|
9792
|
-
placement: this.options.placement,
|
|
9793
|
-
modifiers: [
|
|
9794
|
-
{
|
|
9795
|
-
name: 'offset',
|
|
9796
|
-
options: {
|
|
9797
|
-
offset: [
|
|
9798
|
-
popoverOffsetSkidding,
|
|
9799
|
-
popoverOffsetDistance
|
|
9800
|
-
]
|
|
9801
|
-
}
|
|
9802
|
-
},
|
|
9803
|
-
{
|
|
9804
|
-
name: 'preventOverflow',
|
|
9805
|
-
options: {
|
|
9806
|
-
mainAxis: true,
|
|
9807
|
-
boundary: this.boundaryElement,
|
|
9808
|
-
rootBoundary: 'document',
|
|
9809
|
-
padding: 16,
|
|
9810
|
-
}
|
|
9811
|
-
},
|
|
9812
|
-
]
|
|
9813
|
-
});
|
|
9814
|
-
}
|
|
9815
|
-
|
|
9816
|
-
triggerUpdate() {
|
|
9817
|
-
this.popper.update();
|
|
9818
|
-
}
|
|
9819
|
-
|
|
9820
|
-
hide() {
|
|
9821
|
-
this.popover.classList.remove(this.options.visibleClass);
|
|
9822
|
-
}
|
|
9823
|
-
}
|
|
9824
|
-
|
|
9825
|
-
// Copyright (c) 2020 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
9826
|
-
// See LICENSE in the project root for license information.
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
/**
|
|
9830
|
-
* Popover attaches to an element and displays on hover/blur.
|
|
9831
|
-
*
|
|
9832
|
-
* @attr {boolean} addSpace - If true, will add additional top and bottom space around the appearance of the popover in relation to the trigger
|
|
9833
|
-
* @attr {boolean} disabled - If true, will disable the popover from showing on hover and focus
|
|
9834
|
-
* @attr {String} for - Directly associate the popover with a trigger element with the given ID. In most cases, this should not be necessary and set slot="trigger" on the element instead.
|
|
9835
|
-
* @attr {String} placement - Expects top/bottom - position for popover in relation to the element
|
|
9836
|
-
* @attr {boolean} removeSpace - If true, will remove top and bottom space around the appearance of the popover in relation to the trigger
|
|
9837
|
-
* @attr {String | Object} boundary - The element to use as the boundary for the popover. Can be a query selector or an HTML element.
|
|
9838
|
-
* @slot - Default unnamed slot for the use of popover content
|
|
9839
|
-
* @slot trigger - The element in this slot triggers hiding and showing the popover.
|
|
9840
|
-
*/
|
|
9841
|
-
class AuroPopover extends LitElement {
|
|
9842
|
-
constructor() {
|
|
9843
|
-
super();
|
|
9844
|
-
|
|
9845
|
-
this.placement = 'top';
|
|
9846
|
-
}
|
|
9847
|
-
|
|
9848
|
-
/**
|
|
9849
|
-
* Internal Defaults.
|
|
9850
|
-
* @private
|
|
9851
|
-
* @returns {void}
|
|
9852
|
-
*/
|
|
9853
|
-
privateDefaults() {
|
|
9854
|
-
this.isPopoverVisible = false;
|
|
9855
|
-
this.id = `popover-${(Math.random() + 1).toString(36).substring(7)}`;
|
|
9856
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
|
|
9857
|
-
}
|
|
9858
|
-
|
|
9859
|
-
// function to define props used within the scope of this component
|
|
9860
|
-
static get properties() {
|
|
9861
|
-
return {
|
|
9862
|
-
placement: { type: String },
|
|
9863
|
-
for: { type: String },
|
|
9864
|
-
disabled: { type: Boolean },
|
|
9865
|
-
boundary: { type: String }
|
|
9866
|
-
};
|
|
9867
|
-
}
|
|
9868
|
-
|
|
9869
|
-
static get styles() {
|
|
9870
|
-
return [
|
|
9871
|
-
css`${styleCss$5}`,
|
|
9872
|
-
css`${colorCss$5}`,
|
|
9873
|
-
css`${tokensCss$4}`
|
|
9874
|
-
];
|
|
9875
|
-
}
|
|
9876
|
-
|
|
9877
|
-
/**
|
|
9878
|
-
* This will register this element with the browser.
|
|
9879
|
-
* @param {string} [name="auro-popover"] - The name of element that you want to register to.
|
|
9880
|
-
*
|
|
9881
|
-
* @example
|
|
9882
|
-
* AuroPopover.register("custom-popover") // this will register this element to <custom-popover/>
|
|
9883
|
-
*
|
|
9884
|
-
*/
|
|
9885
|
-
static register(name = "auro-popover") {
|
|
9886
|
-
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroPopover);
|
|
9887
|
-
}
|
|
9888
|
-
|
|
9889
|
-
connectedCallback() {
|
|
9890
|
-
super.connectedCallback();
|
|
9891
|
-
|
|
9892
|
-
this.privateDefaults();
|
|
9893
|
-
|
|
9894
|
-
// adds toggle function to root element based on touch
|
|
9895
|
-
this.addEventListener('touchstart', function() {
|
|
9896
|
-
this.toggle();
|
|
9897
|
-
this.setAttribute("isTouch", "true");
|
|
9898
|
-
});
|
|
9899
|
-
}
|
|
9900
|
-
|
|
9901
|
-
disconnectedCallback() {
|
|
9902
|
-
super.disconnectedCallback();
|
|
9903
|
-
document.removeEventListener('click', this.documentClickHandler);
|
|
9904
|
-
}
|
|
9905
|
-
|
|
9906
|
-
firstUpdated() {
|
|
9907
|
-
// Add the tag name as an attribute if it is different than the component name
|
|
9908
|
-
this.runtimeUtils.handleComponentTagRename(this, 'auro-popover');
|
|
9909
|
-
|
|
9910
|
-
if (this.for) {
|
|
9911
|
-
this.trigger = document.querySelector(`#${this.for}`) || this.getRootNode().querySelector(`#${this.for}`);
|
|
9912
|
-
}
|
|
9913
|
-
|
|
9914
|
-
if (!this.trigger) {
|
|
9915
|
-
[this.trigger] = this.shadowRoot.querySelector('slot[name="trigger"]').assignedElements();
|
|
9916
|
-
}
|
|
9917
|
-
|
|
9918
|
-
this.auroPopover = this.shadowRoot.querySelector('#popover');
|
|
9919
|
-
this.popper = new Popover(this.trigger, this.auroPopover, this.placement, this.boundary);
|
|
9920
|
-
|
|
9921
|
-
const handleShow = () => {
|
|
9922
|
-
this.toggleShow();
|
|
9923
|
-
},
|
|
9924
|
-
handleHide = () => {
|
|
9925
|
-
this.toggleHide();
|
|
9926
|
-
},
|
|
9927
|
-
handleKeyboardWhenFocusOnTrigger = (event) => {
|
|
9928
|
-
const key = event.key.toLowerCase();
|
|
9929
|
-
|
|
9930
|
-
if (this.isPopoverVisible) {
|
|
9931
|
-
if (key === 'tab' || key === 'escape') {
|
|
9932
|
-
this.toggleHide();
|
|
9933
|
-
}
|
|
9934
|
-
}
|
|
9935
|
-
|
|
9936
|
-
if (key === ' ' || key === 'enter') {
|
|
9937
|
-
this.toggle();
|
|
9938
|
-
}
|
|
9939
|
-
},
|
|
9940
|
-
element = this.trigger.parentElement.nodeName === 'AURO-POPOVER' ? this : this.trigger;
|
|
9941
|
-
|
|
9942
|
-
element.addEventListener('mouseenter', handleShow);
|
|
9943
|
-
element.addEventListener('mouseleave', handleHide);
|
|
9944
|
-
|
|
9945
|
-
// if user tabs off of trigger, then hide the popover.
|
|
9946
|
-
this.trigger.addEventListener('keydown', handleKeyboardWhenFocusOnTrigger);
|
|
9947
|
-
|
|
9948
|
-
// handle gain/loss of focus
|
|
9949
|
-
this.trigger.addEventListener('focus', handleShow);
|
|
9950
|
-
this.trigger.addEventListener('blur', handleHide);
|
|
9951
|
-
|
|
9952
|
-
// e.g. for a closePopover button in the popover
|
|
9953
|
-
this.addEventListener('hidePopover', handleHide);
|
|
9954
|
-
}
|
|
9955
|
-
|
|
9956
|
-
/**
|
|
9957
|
-
* Toggles the display of the popover content.
|
|
9958
|
-
* @private
|
|
9959
|
-
* @returns {void} Fires an update lifecycle.
|
|
9960
|
-
*/
|
|
9961
|
-
toggle() {
|
|
9962
|
-
if (this.isPopoverVisible) {
|
|
9963
|
-
this.toggleHide();
|
|
9964
|
-
} else {
|
|
9965
|
-
this.toggleShow();
|
|
9966
|
-
}
|
|
9967
|
-
}
|
|
9968
|
-
|
|
9969
|
-
/**
|
|
9970
|
-
* Hides the popover.
|
|
9971
|
-
* @private
|
|
9972
|
-
* @returns {void} Fires an update lifecycle.
|
|
9973
|
-
*/
|
|
9974
|
-
toggleHide() {
|
|
9975
|
-
this.popper.hide();
|
|
9976
|
-
this.isPopoverVisible = false;
|
|
9977
|
-
this.removeAttribute('data-show');
|
|
9978
|
-
|
|
9979
|
-
document.querySelector('body').removeEventListener('mouseover', this.mouseoverHandler);
|
|
9980
|
-
}
|
|
9981
|
-
|
|
9982
|
-
/**
|
|
9983
|
-
* Shows the popover.
|
|
9984
|
-
* @private
|
|
9985
|
-
* @returns {void} Fires an update lifecycle.
|
|
9986
|
-
*/
|
|
9987
|
-
toggleShow() {
|
|
9988
|
-
this.popper.show();
|
|
9989
|
-
this.isPopoverVisible = true;
|
|
9990
|
-
this.setAttribute('data-show', true);
|
|
9991
|
-
|
|
9992
|
-
this.mouseoverHandler = (evt) => this.handleMouseoverEvent(evt);
|
|
9993
|
-
|
|
9994
|
-
document.querySelector('body').addEventListener('mouseover', this.mouseoverHandler);
|
|
9995
|
-
}
|
|
9996
|
-
|
|
9997
|
-
/**
|
|
9998
|
-
* Hides the popover when hovering outside of the popover or it's trigger.
|
|
9999
|
-
* @private
|
|
10000
|
-
* @param {Event} evt - The event object.
|
|
10001
|
-
* @returns {void}
|
|
10002
|
-
*/
|
|
10003
|
-
handleMouseoverEvent(evt) {
|
|
10004
|
-
if (this.isPopoverVisible && !evt.composedPath().includes(this)) {
|
|
10005
|
-
this.toggleHide();
|
|
10006
|
-
}
|
|
10007
|
-
}
|
|
10008
|
-
|
|
10009
|
-
updated(changedProperties) {
|
|
10010
|
-
if (changedProperties.has('boundary')) {
|
|
10011
|
-
this.popper.boundaryElement = this.boundary;
|
|
10012
|
-
}
|
|
10013
|
-
}
|
|
10014
|
-
|
|
10015
|
-
// function that renders the HTML and CSS into the scope of the component
|
|
10016
|
-
render() {
|
|
10017
|
-
return html`
|
|
10018
|
-
<div id="popover" class="popover util_insetLg body-default" aria-live="polite" part="popover">
|
|
10019
|
-
<div id="arrow" class="arrow" data-popper-arrow></div>
|
|
10020
|
-
<span role="tooltip" aria-labelledby="${this.id}"><slot></slot></span>
|
|
10021
|
-
</div>
|
|
10022
|
-
|
|
10023
|
-
<span id="${this.id}">
|
|
10024
|
-
<slot name="trigger" data-trigger-placement="${this.placement}"></slot>
|
|
10025
|
-
</span>
|
|
10026
|
-
`;
|
|
10027
|
-
}
|
|
10028
|
-
}
|
|
10029
|
-
|
|
10030
|
-
var popoverVersion = '5.1.0';
|
|
10031
|
-
|
|
10032
|
-
/* eslint-disable curly, max-lines, no-underscore-dangle, no-magic-numbers, no-underscore-dangle, max-params, no-void, init-declarations, no-extra-parens, arrow-parens, max-lines, line-comment-position, no-inline-comments, lit/binding-positions, lit/no-invalid-html */
|
|
10033
|
-
|
|
10034
|
-
class AuroCalendarCell extends LitElement {
|
|
10035
|
-
constructor() {
|
|
10036
|
-
super();
|
|
10037
|
-
|
|
10038
|
-
this.day = null;
|
|
10039
|
-
this.selected = false;
|
|
10040
|
-
this.hovered = false;
|
|
10041
|
-
this.dateTo = null;
|
|
10042
|
-
this.dateFrom = null;
|
|
10043
|
-
this.month = null;
|
|
10044
|
-
this.min = null;
|
|
10045
|
-
this.max = null;
|
|
10046
|
-
this.disabled = false;
|
|
10047
|
-
this.disabledDays = [];
|
|
10048
|
-
this.hoveredDate = null;
|
|
10049
|
-
this.isCurrentDate = false;
|
|
10050
|
-
this._locale = null;
|
|
10051
|
-
this.dateStr = null;
|
|
10052
|
-
this.renderForDateSlot = false; // When false, the numerical date will render vertically centered. When true, the date will render off-center to the top and leave room below for the slot content.
|
|
10053
|
-
|
|
10054
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$6();
|
|
10055
|
-
|
|
10056
|
-
/**
|
|
10057
|
-
* Generate unique names for dependency components.
|
|
10058
|
-
*/
|
|
10059
|
-
const versioning = new AuroDependencyVersioning$3();
|
|
10060
|
-
this.popoverTag = versioning.generateTag('auro-formkit-datepicker-popover', popoverVersion, AuroPopover);
|
|
10061
|
-
}
|
|
10062
|
-
|
|
10063
|
-
// This function is to define props used within the scope of this component
|
|
10064
|
-
// Be sure to review https://lit-element.polymer-project.org/guide/properties#reflected-attributes
|
|
10065
|
-
// to understand how to use reflected attributes with your property settings.
|
|
10066
|
-
static get properties() {
|
|
10067
|
-
return {
|
|
10068
|
-
// ...super.properties,
|
|
10069
|
-
day: { type: Object },
|
|
10070
|
-
selected: { type: Boolean },
|
|
10071
|
-
hovered: { type: Boolean },
|
|
10072
|
-
dateTo: { type: String },
|
|
10073
|
-
dateFrom: { type: String },
|
|
10074
|
-
month: { type: String },
|
|
10075
|
-
min: { type: Number },
|
|
10076
|
-
max: { type: Number },
|
|
10077
|
-
disabled: {
|
|
10078
|
-
type: Boolean,
|
|
10079
|
-
reflect: true
|
|
10080
|
-
},
|
|
10081
|
-
disabledDays: { type: Array },
|
|
10082
|
-
hoveredDate: { type: String },
|
|
10083
|
-
isCurrentDate: { type: Boolean },
|
|
10084
|
-
locale: { type: Object },
|
|
10085
|
-
dateStr: { type: String },
|
|
10086
|
-
renderForDateSlot: { type: Boolean }
|
|
10087
|
-
};
|
|
10088
|
-
}
|
|
10089
|
-
|
|
10090
|
-
get locale() {
|
|
10091
|
-
return this._locale ? this._locale : enUS;
|
|
10092
|
-
}
|
|
10093
|
-
|
|
10094
|
-
set locale(value) {
|
|
10095
|
-
const oldValue = this._locale;
|
|
10096
|
-
this._locale = value;
|
|
10097
|
-
this.requestUpdate('locale', oldValue);
|
|
10098
|
-
}
|
|
10099
|
-
|
|
10100
|
-
static get styles() {
|
|
10101
|
-
return [
|
|
10102
|
-
// ...super.styles,
|
|
10103
|
-
styleCss$6,
|
|
10104
|
-
colorCss$6,
|
|
10105
|
-
tokensCss$5
|
|
10106
|
-
];
|
|
10107
|
-
}
|
|
10108
|
-
|
|
10109
|
-
/**
|
|
10110
|
-
* Handles selected and hovered states of the calendar cell when the date changes.
|
|
10111
|
-
* @private
|
|
10112
|
-
* @param {Number} dateFrom - Depart date.
|
|
10113
|
-
* @param {Number} dateTo - Return date.
|
|
10114
|
-
* @param {Number} hoveredDate - Hovered date.
|
|
10115
|
-
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
10116
|
-
* @returns {void}
|
|
10117
|
-
*/
|
|
10118
|
-
dateChanged(dateFrom, dateTo, hoveredDate, day) {
|
|
10119
|
-
this.selected = false;
|
|
10120
|
-
this.hovered = false;
|
|
10121
|
-
|
|
10122
|
-
const parsedDateFrom = parseInt(dateFrom, 10);
|
|
10123
|
-
const parsedDateTo = parseInt(dateTo, 10);
|
|
10124
|
-
|
|
10125
|
-
if (day) {
|
|
10126
|
-
const departTimestamp = startOfDay(parsedDateFrom * 1000) / 1000;
|
|
10127
|
-
const returnTimestamp = startOfDay(parsedDateTo * 1000) / 1000;
|
|
10128
|
-
|
|
10129
|
-
if (day.date === departTimestamp || day.date === returnTimestamp) {
|
|
10130
|
-
this.selected = true;
|
|
10131
|
-
}
|
|
10132
|
-
|
|
10133
|
-
if (((hoveredDate === day.date || day.date < hoveredDate) && day.date > parsedDateFrom && !parsedDateTo && !Number.isNaN(parsedDateFrom) && parsedDateFrom !== undefined && !this.selected) || (day.date > parsedDateFrom && day.date < parsedDateTo)) {
|
|
10134
|
-
this.hovered = true;
|
|
10135
|
-
}
|
|
10136
|
-
}
|
|
10137
|
-
}
|
|
10138
|
-
|
|
10139
|
-
/**
|
|
10140
|
-
* Handles user click events and calls datepicker to update the value(s).
|
|
10141
|
-
* @private
|
|
10142
|
-
* @returns {void}
|
|
10143
|
-
*/
|
|
10144
|
-
handleTap() {
|
|
10145
|
-
if (!this.disabled) {
|
|
10146
|
-
this.datepicker.handleCellClick(this.day.date);
|
|
10147
|
-
}
|
|
10148
|
-
}
|
|
10149
|
-
|
|
10150
|
-
/**
|
|
10151
|
-
* Handles user hover events and dispatches a custom event.
|
|
10152
|
-
* @private
|
|
10153
|
-
* @returns {void}
|
|
10154
|
-
*/
|
|
10155
|
-
handleHover() {
|
|
10156
|
-
this.hovered = true;
|
|
10157
|
-
|
|
10158
|
-
let _a;
|
|
10159
|
-
this.dispatchEvent(new CustomEvent('date-is-hovered', {
|
|
10160
|
-
detail: { date: (_a = this.day) === null || _a === void 0 ? void 0 : _a.date },
|
|
10161
|
-
}));
|
|
10162
|
-
}
|
|
10163
|
-
|
|
10164
|
-
/**
|
|
10165
|
-
* Checks if the current date is a valid date depending on the min and max values.
|
|
10166
|
-
* @private
|
|
10167
|
-
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
10168
|
-
* @param {Number} min - The minimum date value.
|
|
10169
|
-
* @param {Number} max - The maximum date value.
|
|
10170
|
-
* @param {Array} disabledDays - An array of disabled dates.
|
|
10171
|
-
* @returns {Boolean} - True if the date is disabled.
|
|
10172
|
-
*/
|
|
10173
|
-
isEnabled(day, min, max, disabledDays) {
|
|
10174
|
-
this.removeAttribute('disabled');
|
|
10175
|
-
|
|
10176
|
-
if (disabledDays && day && day.date) {
|
|
10177
|
-
if (day.date < min || day.date > max || disabledDays.findIndex(disabledDay => parseInt(disabledDay, 10) === day.date) !== -1) {
|
|
10178
|
-
this.setAttribute('disabled', true);
|
|
10179
|
-
return true;
|
|
10180
|
-
}
|
|
10181
|
-
}
|
|
10182
|
-
return false;
|
|
10183
|
-
}
|
|
10184
|
-
|
|
10185
|
-
/**
|
|
10186
|
-
* Checks if the current date is the depart date.
|
|
10187
|
-
* @private
|
|
10188
|
-
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
10189
|
-
* @param {Number} dateFrom - Depart date.
|
|
10190
|
-
* @returns {Boolean} True if the date is the depart date.
|
|
10191
|
-
*/
|
|
10192
|
-
isDepartDate(day, dateFrom) {
|
|
10193
|
-
const parsedDateFrom = parseInt(dateFrom, 10);
|
|
10194
|
-
const departTimestamp = startOfDay(parsedDateFrom * 1000) / 1000;
|
|
10195
|
-
|
|
10196
|
-
return this.selected && day.date === departTimestamp;
|
|
10197
|
-
}
|
|
10198
|
-
|
|
10199
|
-
/**
|
|
10200
|
-
* Checks if the current date is the return date.
|
|
10201
|
-
* @private
|
|
10202
|
-
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
10203
|
-
* @param {Number} dateFrom - Depart date.
|
|
10204
|
-
* @param {Number} dateTo - Return date.
|
|
10205
|
-
* @returns {Boolean} True if the date is the return date.
|
|
10206
|
-
*/
|
|
10207
|
-
isReturnDate(day, dateFrom, dateTo) {
|
|
10208
|
-
const parsedDateTo = parseInt(dateTo, 10);
|
|
10209
|
-
const returnTimestamp = startOfDay(parsedDateTo * 1000) / 1000;
|
|
10210
|
-
|
|
10211
|
-
return this.selected && day.date === returnTimestamp && dateFrom;
|
|
10212
|
-
}
|
|
10213
|
-
|
|
10214
|
-
/**
|
|
10215
|
-
* Checks if the current date is between dateFrom and dateTo.
|
|
10216
|
-
* @private
|
|
10217
|
-
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
10218
|
-
* @param {Number} dateFrom - Depart date.
|
|
10219
|
-
* @param {Number} dateTo - Return date.
|
|
10220
|
-
* @returns {Boolean} True if the current date is between dateFrom and dateTo.
|
|
10221
|
-
*/
|
|
10222
|
-
isInRange(day, dateFrom, dateTo) {
|
|
10223
|
-
|
|
10224
|
-
/**
|
|
10225
|
-
* Cell is in not range if any of the following are true:
|
|
10226
|
-
* - Datepicker does not support range selection.
|
|
10227
|
-
* - First date has not been selected.
|
|
10228
|
-
* - Cell date is before or equal first date.
|
|
10229
|
-
* - Both range dates selected and current cell is after the second date.
|
|
10230
|
-
*/
|
|
10231
|
-
if (!this.datepicker.hasAttribute('range') || (!dateFrom || day.date <= dateFrom) || (dateTo && day.date >= dateTo)) {
|
|
10232
|
-
return false;
|
|
10233
|
-
}
|
|
10234
|
-
|
|
10235
|
-
return true;
|
|
10236
|
-
}
|
|
10237
|
-
|
|
10238
|
-
/**
|
|
10239
|
-
* Determines the hovered date appearing latest in the calendar.
|
|
10240
|
-
* @private
|
|
10241
|
-
* @param {Object} day - An object containing the dateFrom and day of month values.
|
|
10242
|
-
* @param {Number} dateFrom - Depart date.
|
|
10243
|
-
* @param {Number} dateTo - Return date.
|
|
10244
|
-
* @param {Number} hoveredDate - Hovered date.
|
|
10245
|
-
* @returns {Boolean} True if the hovered date is the latest hovered date in the calendar.
|
|
10246
|
-
*/
|
|
10247
|
-
isLastHoveredDate(day, dateFrom, dateTo, hoveredDate) {
|
|
10248
|
-
return dateFrom && hoveredDate > dateFrom && day.date === hoveredDate && !dateTo;
|
|
10249
|
-
}
|
|
10250
|
-
|
|
10251
|
-
/**
|
|
10252
|
-
* Checks if the current date is a highlighted date.
|
|
10253
|
-
* @param {Object} dateStr - The date string in MM_DD_YYYY format.
|
|
10254
|
-
* @returns Boolean - True if the date is a highlighted date.
|
|
10255
|
-
*/
|
|
10256
|
-
isReferenceDate(dateStr) {
|
|
10257
|
-
|
|
10258
|
-
// If the datepicker has highlighted dates specified
|
|
10259
|
-
if (this.datepicker && this.datepicker.hasAttribute('referenceDates')) {
|
|
10260
|
-
|
|
10261
|
-
// Get the referenceDates attribute from the datepicker
|
|
10262
|
-
const {referenceDates} = this.datepicker;
|
|
10263
|
-
|
|
10264
|
-
// Guard clause: no dates in the array
|
|
10265
|
-
if (!Array.isArray(referenceDates) || referenceDates.length === 0) return false;
|
|
10266
|
-
|
|
10267
|
-
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM-DD-YYYY)
|
|
10268
|
-
const compareDateStr = dateStr.replace(/_/gu, '-');
|
|
8142
|
+
// Compare the dateStr (MM_DD_YYYY) to the referenceDates (MM-DD-YYYY)
|
|
8143
|
+
const compareDateStr = dateStr.replace(/_/gu, '-');
|
|
10269
8144
|
|
|
10270
8145
|
// Check if the compareDateStr is in the referenceDates array
|
|
10271
8146
|
return referenceDates.includes(compareDateStr);
|
|
@@ -10432,9 +8307,9 @@ class AuroCalendarMonth extends RangeDatepickerCalendar {
|
|
|
10432
8307
|
static get styles() {
|
|
10433
8308
|
return [
|
|
10434
8309
|
// ...super.styles,
|
|
10435
|
-
styleCss$
|
|
10436
|
-
colorCss$
|
|
10437
|
-
tokensCss$
|
|
8310
|
+
styleCss$6,
|
|
8311
|
+
colorCss$6,
|
|
8312
|
+
tokensCss$4
|
|
10438
8313
|
];
|
|
10439
8314
|
}
|
|
10440
8315
|
|
|
@@ -11164,7 +9039,7 @@ let l$1$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(
|
|
|
11164
9039
|
|
|
11165
9040
|
var buttonVersion$2 = '12.3.0';
|
|
11166
9041
|
|
|
11167
|
-
let p$5 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$5='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$5 = class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$5=new Map,f$5=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$5.has(t)||g$5.set(t,fetch(t).then(e)),g$5.get(t)};var w$5=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
9042
|
+
let p$5 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$5='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$5 = class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$5=new Map,f$5=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$5.has(t)||g$5.set(t,fetch(t).then(e)),g$5.get(t)};var w$5=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
11168
9043
|
`;let z$5 = class z extends m$5{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m$5.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w$5}async fetchIcon(t,a){let e="";e="logos"===t?await f$5(`${this.uri}/${t}/${a}.svg`):await f$5(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u$5,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}};css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
11169
9044
|
`;var y$5=css`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
11170
9045
|
`;var k$5=css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -11188,7 +9063,7 @@ let p$5 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
11188
9063
|
</div>
|
|
11189
9064
|
`}};
|
|
11190
9065
|
|
|
11191
|
-
var iconVersion$3 = '9.1.
|
|
9066
|
+
var iconVersion$3 = '9.1.1';
|
|
11192
9067
|
|
|
11193
9068
|
let l$2 = class l{registerComponent(e,s){customElements.get(e)||customElements.define(e,class extends s{});}closestElement(e,s=this,t=(s,a=s&&s.closest(e))=>s&&s!==document&&s!==window?a||t(s.getRootNode().host):null){return t(s)}handleComponentTagRename(e,s){const t=s.toLowerCase();e.tagName.toLowerCase()!==t&&e.setAttribute(t,true);}elementMatch(e,s){const t=s.toLowerCase();return e.tagName.toLowerCase()===t||e.hasAttribute(t)}};var n=css`.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}:host{display:block}:host .heading{margin-block:0}.util_stackMarginnone--bottom{margin-bottom:0}.util_stackMargin25--bottom{margin-bottom:var(--ds-size-25, .125rem)}.util_stackMargin50--bottom{margin-bottom:var(--ds-size-50, .25rem)}.util_stackMargin100--bottom{margin-bottom:var(--ds-size-100, .5rem)}.util_stackMargin150--bottom{margin-bottom:var(--ds-size-150, .75rem)}.util_stackMargin200--bottom{margin-bottom:var(--ds-size-200, 1rem)}.util_stackMargin300--bottom{margin-bottom:var(--ds-size-300, 1.5rem)}.util_stackMargin400--bottom{margin-bottom:var(--ds-size-400, 2rem)}.util_stackMargin600--bottom{margin-bottom:var(--ds-size-600, 3rem)}.util_stackMargin800--bottom{margin-bottom:var(--ds-size-800, 4rem)}.util_stackMarginnone--top{margin-top:0}.util_stackMargin25--top{margin-top:var(--ds-size-25, .125rem)}.util_stackMargin50--top{margin-top:var(--ds-size-50, .25rem)}.util_stackMargin100--top{margin-top:var(--ds-size-100, .5rem)}.util_stackMargin150--top{margin-top:var(--ds-size-150, .75rem)}.util_stackMargin200--top{margin-top:var(--ds-size-200, 1rem)}.util_stackMargin300--top{margin-top:var(--ds-size-300, 1.5rem)}.util_stackMargin400--top{margin-top:var(--ds-size-400, 2rem)}.util_stackMargin600--top{margin-top:var(--ds-size-600, 3rem)}.util_stackMargin800--top{margin-top:var(--ds-size-800, 4rem)}
|
|
11194
9069
|
`;let c$2 = class c extends LitElement{constructor(){super(),this.level=1,this.typography="heading",this.runtimeUtils=new l$2;}static get properties(){return {level:{type:Number,reflect:true,converter(e){const s=Number(e);return Number.isNaN(s)||s<1?1:s>6?6:s}},display:{type:String,reflect:true},visualLevel:{type:Number,reflect:true,converter(e){const s=Number(e);return Number.isNaN(s)||s<1?1:s>6?6:s}},typography:{type:String,reflect:true},color:{type:String,reflect:true},margin:{type:String,reflect:true},size:{type:String,reflect:true}}}static get styles(){return [n]}static get displayClassMap(){return {800:"heading-xl",700:"heading-lg",600:"heading-md",500:"heading-sm",400:"heading-xs",300:"heading-2xs",heading:{1:"heading-xl",2:"heading-lg",3:"heading-md",4:"heading-sm",5:"heading-xs",6:"heading-2xs"},display:{1:"display-2xl",2:"display-xl",3:"display-lg",4:"display-md",5:"display-sm",6:"display-xs"}}}static register(e="auro-header"){l$2.prototype.registerComponent(e,c);}firstUpdated(){this.runtimeUtils.handleComponentTagRename(this,"auro-header");}spacingDecision(e){if("both"===this.margin)switch(e){case "none":return "util_stackMarginnone--top util_stackMarginnone--bottom";case "25":return "util_stackMargin25--top util_stackMargin25--bottom";case "50":return "util_stackMargin50--top util_stackMargin50--bottom";case "100":return "util_stackMargin100--top util_stackMargin100--bottom";case "150":return "util_stackMargin150--top util_stackMargin150--bottom";case "200":return "util_stackMargin200--top util_stackMargin200--bottom";case "300":return "util_stackMargin300--top util_stackMargin300--bottom";case "400":return "util_stackMargin400--top util_stackMargin400--bottom";case "600":return "util_stackMargin600--top util_stackMargin600--bottom";case "800":return "util_stackMargin800--top util_stackMargin800--bottom";default:return ""}return this.spacingApplied(e)}spacingApplied(e){switch(e){case "none":return `util_stackMarginnone--${this.margin}`;case "25":return `util_stackMargin25--${this.margin}`;case "50":return `util_stackMargin50--${this.margin}`;case "100":return `util_stackMargin100--${this.margin}`;case "150":return `util_stackMargin150--${this.margin}`;case "200":return `util_stackMargin200--${this.margin}`;case "300":return `util_stackMargin300--${this.margin}`;case "400":return `util_stackMargin400--${this.margin}`;case "600":return `util_stackMarginX600--${this.margin}`;case "800":return `util_stackMargin800--${this.margin}`;default:return ""}}template(e){this.visualLevel||this.display||(this.visualLevel=this.level);const s=e||"1",l=this.spacingDecision(this.size),n=this.visualLevel?c.displayClassMap[this.typography][this.visualLevel]:c.displayClassMap[this.display],o={heading:true,[n]:true};if(l){l.split(" ").forEach(e=>{e.trim()&&(o[e.trim()]=true);});}const m=classMap(o),g=unsafeStatic(`h${s}`);return html$1`<${g} class="${m}" style="color: ${ifDefined(this.color?this.color:void 0)}"><slot></slot></${g}>`}render(){return this.template(this.level)}};
|
|
@@ -11343,7 +9218,7 @@ class AuroBibtemplate extends LitElement {
|
|
|
11343
9218
|
}
|
|
11344
9219
|
}
|
|
11345
9220
|
|
|
11346
|
-
var formkitVersion$2 = '
|
|
9221
|
+
var formkitVersion$2 = '202601271813';
|
|
11347
9222
|
|
|
11348
9223
|
let l$1 = 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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}};let d$1 = 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}"]`);return (o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim()||null}};let h$1 = 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=css`: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]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--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}
|
|
11349
9224
|
`,u$4=css`.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}: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:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs) * 6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:5.5rem}: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}}
|
|
@@ -11404,28 +9279,14 @@ let l$1 = class l{generateElementName(t,e){let o=t;return o+="-",o+=e.replace(/[
|
|
|
11404
9279
|
|
|
11405
9280
|
var buttonVersion$1 = '12.3.0';
|
|
11406
9281
|
|
|
9282
|
+
/* eslint-disable no-magic-numbers, no-undef-init, max-lines, lit/binding-positions, lit/no-invalid-html */
|
|
9283
|
+
|
|
9284
|
+
|
|
11407
9285
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
11408
9286
|
/**
|
|
11409
|
-
* @prop {Object} firstDayOfWeek - Weekday that will be displayed in first column of month grid.
|
|
11410
|
-
* 0: sunday, 1: monday, 2: tuesday, 3: wednesday , 4: thursday, 5: friday, 6: saturday
|
|
11411
|
-
* Default is 0.
|
|
11412
|
-
* @prop {Date | null} focusedDate - The currently focused date (if any).
|
|
11413
|
-
* @prop {Date} maxDate - Maximum date. All dates after will be disabled.
|
|
11414
|
-
* @prop {Date} minDate - Minimum date. All dates before will be disabled.
|
|
11415
|
-
* @prop {Date | undefined} selectedDate - The selected date, usually synchronized with datepicker-input.
|
|
11416
|
-
* Not to be confused with the focused date (therefore not necessarily in active month view).
|
|
11417
|
-
* @prop {string} weekdayHeaderNotation - Weekday header notation, based on Intl DatetimeFormat:.
|
|
11418
|
-
* @prop {Boolean} visible - Flag indicating if the calendar is visible.
|
|
11419
|
-
* - 'short' (e.g., Thu)
|
|
11420
|
-
* - 'narrow' (e.g., T).
|
|
11421
|
-
* Default is 'short'.
|
|
11422
9287
|
* @event auroCalendar-dateSelected - Notifies that a date has been selected in the calendar.
|
|
11423
9288
|
* @event auroCalendar-monthChanged - Notifies that the visible calendar month(s) have changed.
|
|
11424
9289
|
*/
|
|
11425
|
-
|
|
11426
|
-
/* eslint-disable no-magic-numbers, no-undef-init, max-lines, lit/binding-positions, lit/no-invalid-html */
|
|
11427
|
-
|
|
11428
|
-
// class AuroCalendar extends LitElement {
|
|
11429
9290
|
class AuroCalendar extends RangeDatepicker {
|
|
11430
9291
|
constructor() {
|
|
11431
9292
|
super();
|
|
@@ -11492,57 +9353,91 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11492
9353
|
|
|
11493
9354
|
static get styles() {
|
|
11494
9355
|
return [
|
|
11495
|
-
styleCss$
|
|
11496
|
-
colorCss$
|
|
11497
|
-
tokensCss$
|
|
9356
|
+
styleCss$7,
|
|
9357
|
+
colorCss$7,
|
|
9358
|
+
tokensCss$4
|
|
11498
9359
|
];
|
|
11499
9360
|
}
|
|
11500
9361
|
|
|
11501
9362
|
static get properties() {
|
|
11502
9363
|
return {
|
|
11503
|
-
|
|
11504
|
-
|
|
11505
|
-
|
|
11506
|
-
|
|
11507
|
-
type: String
|
|
11508
|
-
},
|
|
11509
|
-
dateTo: {
|
|
11510
|
-
type: String
|
|
11511
|
-
},
|
|
11512
|
-
maxDate: {
|
|
11513
|
-
type: String,
|
|
11514
|
-
reflect: true
|
|
11515
|
-
},
|
|
11516
|
-
minDate: {
|
|
9364
|
+
/**
|
|
9365
|
+
* The last month that may be displayed in the calendar.
|
|
9366
|
+
*/
|
|
9367
|
+
calendarEndMonth: {
|
|
11517
9368
|
type: String,
|
|
11518
9369
|
reflect: true
|
|
11519
9370
|
},
|
|
9371
|
+
|
|
9372
|
+
/**
|
|
9373
|
+
* The first month that may be displayed in the calendar.
|
|
9374
|
+
*/
|
|
11520
9375
|
calendarStartMonth: {
|
|
11521
9376
|
type: String,
|
|
11522
9377
|
reflect: true
|
|
11523
9378
|
},
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
|
|
9379
|
+
|
|
9380
|
+
/**
|
|
9381
|
+
* The date that determines the currently visible month.
|
|
9382
|
+
*/
|
|
11528
9383
|
centralDate: {
|
|
11529
9384
|
type: String,
|
|
11530
9385
|
reflect: true
|
|
11531
9386
|
},
|
|
11532
|
-
|
|
9387
|
+
|
|
9388
|
+
/**
|
|
9389
|
+
* The starting date of the selected range.
|
|
9390
|
+
*/
|
|
9391
|
+
dateFrom: {
|
|
9392
|
+
type: String
|
|
9393
|
+
},
|
|
9394
|
+
|
|
9395
|
+
/**
|
|
9396
|
+
* The ending date of the selected range.
|
|
9397
|
+
*/
|
|
9398
|
+
dateTo: {
|
|
9399
|
+
type: String
|
|
9400
|
+
},
|
|
9401
|
+
|
|
9402
|
+
/**
|
|
9403
|
+
* Dropdown element that contains the calendar.
|
|
9404
|
+
* @private
|
|
9405
|
+
*/
|
|
9406
|
+
dropdown: {
|
|
9407
|
+
type: Object
|
|
9408
|
+
},
|
|
9409
|
+
|
|
9410
|
+
/**
|
|
9411
|
+
* Flag indicating if the calendar is in fullscreen mode.
|
|
9412
|
+
*/
|
|
9413
|
+
isFullscreen: {
|
|
11533
9414
|
type: Boolean,
|
|
11534
|
-
reflect:
|
|
9415
|
+
reflect: true
|
|
11535
9416
|
},
|
|
9417
|
+
|
|
9418
|
+
/**
|
|
9419
|
+
* If declared, make bib.fullscreen.headline in HeadingDisplay.
|
|
9420
|
+
* Otherwise, Heading 600.
|
|
9421
|
+
*/
|
|
11536
9422
|
largeFullscreenHeadline: {
|
|
11537
9423
|
type: Boolean,
|
|
11538
9424
|
reflect: true
|
|
11539
9425
|
},
|
|
11540
|
-
|
|
11541
|
-
|
|
9426
|
+
|
|
9427
|
+
/**
|
|
9428
|
+
* Maximum date. All dates after will be disabled.
|
|
9429
|
+
*/
|
|
9430
|
+
maxDate: {
|
|
9431
|
+
type: String,
|
|
11542
9432
|
reflect: true
|
|
11543
9433
|
},
|
|
11544
|
-
|
|
11545
|
-
|
|
9434
|
+
|
|
9435
|
+
/**
|
|
9436
|
+
* Minimum date. All dates before will be disabled.
|
|
9437
|
+
*/
|
|
9438
|
+
minDate: {
|
|
9439
|
+
type: String,
|
|
9440
|
+
reflect: true
|
|
11546
9441
|
},
|
|
11547
9442
|
|
|
11548
9443
|
/**
|
|
@@ -11559,6 +9454,22 @@ class AuroCalendar extends RangeDatepicker {
|
|
|
11559
9454
|
*/
|
|
11560
9455
|
monthFirst: {
|
|
11561
9456
|
type: Boolean
|
|
9457
|
+
},
|
|
9458
|
+
|
|
9459
|
+
/**
|
|
9460
|
+
* Number of calendars to render.
|
|
9461
|
+
* @private
|
|
9462
|
+
*/
|
|
9463
|
+
numCalendars: {
|
|
9464
|
+
type: Number
|
|
9465
|
+
},
|
|
9466
|
+
|
|
9467
|
+
/**
|
|
9468
|
+
* Flag indicating if the calendar is visible.
|
|
9469
|
+
*/
|
|
9470
|
+
visible: {
|
|
9471
|
+
type: Boolean,
|
|
9472
|
+
reflect: false
|
|
11562
9473
|
}
|
|
11563
9474
|
};
|
|
11564
9475
|
}
|
|
@@ -11897,9 +9808,8 @@ function getOppositeAxis(axis) {
|
|
|
11897
9808
|
function getAxisLength(axis) {
|
|
11898
9809
|
return axis === 'y' ? 'height' : 'width';
|
|
11899
9810
|
}
|
|
11900
|
-
const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
|
|
11901
9811
|
function getSideAxis(placement) {
|
|
11902
|
-
return
|
|
9812
|
+
return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';
|
|
11903
9813
|
}
|
|
11904
9814
|
function getAlignmentAxis(placement) {
|
|
11905
9815
|
return getOppositeAxis(getSideAxis(placement));
|
|
@@ -11924,19 +9834,19 @@ function getExpandedPlacements(placement) {
|
|
|
11924
9834
|
function getOppositeAlignmentPlacement(placement) {
|
|
11925
9835
|
return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
|
|
11926
9836
|
}
|
|
11927
|
-
const lrPlacement = ['left', 'right'];
|
|
11928
|
-
const rlPlacement = ['right', 'left'];
|
|
11929
|
-
const tbPlacement = ['top', 'bottom'];
|
|
11930
|
-
const btPlacement = ['bottom', 'top'];
|
|
11931
9837
|
function getSideList(side, isStart, rtl) {
|
|
9838
|
+
const lr = ['left', 'right'];
|
|
9839
|
+
const rl = ['right', 'left'];
|
|
9840
|
+
const tb = ['top', 'bottom'];
|
|
9841
|
+
const bt = ['bottom', 'top'];
|
|
11932
9842
|
switch (side) {
|
|
11933
9843
|
case 'top':
|
|
11934
9844
|
case 'bottom':
|
|
11935
|
-
if (rtl) return isStart ?
|
|
11936
|
-
return isStart ?
|
|
9845
|
+
if (rtl) return isStart ? rl : lr;
|
|
9846
|
+
return isStart ? lr : rl;
|
|
11937
9847
|
case 'left':
|
|
11938
9848
|
case 'right':
|
|
11939
|
-
return isStart ?
|
|
9849
|
+
return isStart ? tb : bt;
|
|
11940
9850
|
default:
|
|
11941
9851
|
return [];
|
|
11942
9852
|
}
|
|
@@ -12377,22 +10287,16 @@ const flip$1 = function (options) {
|
|
|
12377
10287
|
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
12378
10288
|
const nextPlacement = placements[nextIndex];
|
|
12379
10289
|
if (nextPlacement) {
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
},
|
|
12391
|
-
reset: {
|
|
12392
|
-
placement: nextPlacement
|
|
12393
|
-
}
|
|
12394
|
-
};
|
|
12395
|
-
}
|
|
10290
|
+
// Try next placement and re-run the lifecycle.
|
|
10291
|
+
return {
|
|
10292
|
+
data: {
|
|
10293
|
+
index: nextIndex,
|
|
10294
|
+
overflows: overflowsData
|
|
10295
|
+
},
|
|
10296
|
+
reset: {
|
|
10297
|
+
placement: nextPlacement
|
|
10298
|
+
}
|
|
10299
|
+
};
|
|
12396
10300
|
}
|
|
12397
10301
|
|
|
12398
10302
|
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
@@ -12438,8 +10342,6 @@ const flip$1 = function (options) {
|
|
|
12438
10342
|
};
|
|
12439
10343
|
};
|
|
12440
10344
|
|
|
12441
|
-
const originSides = /*#__PURE__*/new Set(['left', 'top']);
|
|
12442
|
-
|
|
12443
10345
|
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
12444
10346
|
// Derivable.
|
|
12445
10347
|
|
|
@@ -12453,7 +10355,7 @@ async function convertValueToCoords(state, options) {
|
|
|
12453
10355
|
const side = getSide(placement);
|
|
12454
10356
|
const alignment = getAlignment(placement);
|
|
12455
10357
|
const isVertical = getSideAxis(placement) === 'y';
|
|
12456
|
-
const mainAxisMulti =
|
|
10358
|
+
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
12457
10359
|
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
12458
10360
|
const rawValue = evaluate(options, state);
|
|
12459
10361
|
|
|
@@ -12646,7 +10548,6 @@ function isShadowRoot(value) {
|
|
|
12646
10548
|
}
|
|
12647
10549
|
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
12648
10550
|
}
|
|
12649
|
-
const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
|
|
12650
10551
|
function isOverflowElement(element) {
|
|
12651
10552
|
const {
|
|
12652
10553
|
overflow,
|
|
@@ -12654,32 +10555,27 @@ function isOverflowElement(element) {
|
|
|
12654
10555
|
overflowY,
|
|
12655
10556
|
display
|
|
12656
10557
|
} = getComputedStyle$1(element);
|
|
12657
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !
|
|
10558
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
|
|
12658
10559
|
}
|
|
12659
|
-
const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
|
|
12660
10560
|
function isTableElement(element) {
|
|
12661
|
-
return
|
|
10561
|
+
return ['table', 'td', 'th'].includes(getNodeName(element));
|
|
12662
10562
|
}
|
|
12663
|
-
const topLayerSelectors = [':popover-open', ':modal'];
|
|
12664
10563
|
function isTopLayer(element) {
|
|
12665
|
-
return
|
|
10564
|
+
return [':popover-open', ':modal'].some(selector => {
|
|
12666
10565
|
try {
|
|
12667
10566
|
return element.matches(selector);
|
|
12668
|
-
} catch (
|
|
10567
|
+
} catch (e) {
|
|
12669
10568
|
return false;
|
|
12670
10569
|
}
|
|
12671
10570
|
});
|
|
12672
10571
|
}
|
|
12673
|
-
const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
|
|
12674
|
-
const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
|
|
12675
|
-
const containValues = ['paint', 'layout', 'strict', 'content'];
|
|
12676
10572
|
function isContainingBlock(elementOrCss) {
|
|
12677
10573
|
const webkit = isWebKit();
|
|
12678
10574
|
const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
|
|
12679
10575
|
|
|
12680
10576
|
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
12681
10577
|
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
12682
|
-
return
|
|
10578
|
+
return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
|
|
12683
10579
|
}
|
|
12684
10580
|
function getContainingBlock(element) {
|
|
12685
10581
|
let currentNode = getParentNode(element);
|
|
@@ -12697,9 +10593,8 @@ function isWebKit() {
|
|
|
12697
10593
|
if (typeof CSS === 'undefined' || !CSS.supports) return false;
|
|
12698
10594
|
return CSS.supports('-webkit-backdrop-filter', 'none');
|
|
12699
10595
|
}
|
|
12700
|
-
const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
|
|
12701
10596
|
function isLastTraversableNode(node) {
|
|
12702
|
-
return
|
|
10597
|
+
return ['html', 'body', '#document'].includes(getNodeName(node));
|
|
12703
10598
|
}
|
|
12704
10599
|
function getComputedStyle$1(element) {
|
|
12705
10600
|
return getWindow(element).getComputedStyle(element);
|
|
@@ -13004,7 +10899,6 @@ function getViewportRect(element, strategy) {
|
|
|
13004
10899
|
};
|
|
13005
10900
|
}
|
|
13006
10901
|
|
|
13007
|
-
const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
|
|
13008
10902
|
// Returns the inner client rect, subtracting scrollbars if present.
|
|
13009
10903
|
function getInnerBoundingClientRect(element, strategy) {
|
|
13010
10904
|
const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
|
|
@@ -13069,7 +10963,7 @@ function getClippingElementAncestors(element, cache) {
|
|
|
13069
10963
|
if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
|
|
13070
10964
|
currentContainingBlockComputedStyle = null;
|
|
13071
10965
|
}
|
|
13072
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle &&
|
|
10966
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
13073
10967
|
if (shouldDropCurrentNode) {
|
|
13074
10968
|
// Drop non-containing blocks.
|
|
13075
10969
|
result = result.filter(ancestor => ancestor !== currentNode);
|
|
@@ -13132,12 +11026,6 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
13132
11026
|
scrollTop: 0
|
|
13133
11027
|
};
|
|
13134
11028
|
const offsets = createCoords(0);
|
|
13135
|
-
|
|
13136
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
13137
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
13138
|
-
function setLeftRTLScrollbarOffset() {
|
|
13139
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
13140
|
-
}
|
|
13141
11029
|
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
13142
11030
|
if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
|
|
13143
11031
|
scroll = getNodeScroll(offsetParent);
|
|
@@ -13147,12 +11035,11 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
|
13147
11035
|
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
13148
11036
|
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
13149
11037
|
} else if (documentElement) {
|
|
13150
|
-
|
|
11038
|
+
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
11039
|
+
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
11040
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
13151
11041
|
}
|
|
13152
11042
|
}
|
|
13153
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
13154
|
-
setLeftRTLScrollbarOffset();
|
|
13155
|
-
}
|
|
13156
11043
|
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
13157
11044
|
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
13158
11045
|
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
@@ -13329,7 +11216,7 @@ function observeMove(element, onMove) {
|
|
|
13329
11216
|
// Handle <iframe>s
|
|
13330
11217
|
root: root.ownerDocument
|
|
13331
11218
|
});
|
|
13332
|
-
} catch (
|
|
11219
|
+
} catch (e) {
|
|
13333
11220
|
io = new IntersectionObserver(handleObserve, options);
|
|
13334
11221
|
}
|
|
13335
11222
|
io.observe(element);
|
|
@@ -14419,7 +12306,7 @@ let AuroDependencyVersioning$1 = class AuroDependencyVersioning {
|
|
|
14419
12306
|
}
|
|
14420
12307
|
};
|
|
14421
12308
|
|
|
14422
|
-
let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$3='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$3 = class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$3=new Map,f$3=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$3.has(t)||g$3.set(t,fetch(t).then(e)),g$3.get(t)};var w$3=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
12309
|
+
let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$3='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$3 = class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$3=new Map,f$3=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$3.has(t)||g$3.set(t,fetch(t).then(e)),g$3.get(t)};var w$3=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
14423
12310
|
`;let z$3 = class z extends m$3{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m$3.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w$3}async fetchIcon(t,a){let e="";e="logos"===t?await f$3(`${this.uri}/${t}/${a}.svg`):await f$3(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u$3,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}};css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
14424
12311
|
`;var y$3=css`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
14425
12312
|
`;var k$3=css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -14443,7 +12330,7 @@ let p$3 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
14443
12330
|
</div>
|
|
14444
12331
|
`}};
|
|
14445
12332
|
|
|
14446
|
-
var iconVersion$2 = '9.1.
|
|
12333
|
+
var iconVersion$2 = '9.1.1';
|
|
14447
12334
|
|
|
14448
12335
|
var styleCss$2$1 = css`:host{position:fixed;z-index:var(--depth-tooltip, 400);display:none;isolation:isolate}:host(:not([matchWidth])) .container{min-width:fit-content}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset;overscroll-behavior:contain}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}:host(:not([isfullscreen])) .container.shape-box{border-radius:unset}:host(:not([isfullscreen])) .container[class*=shape-pill],:host(:not([isfullscreen])) .container[class*=shape-snowflake]{border-radius:30px}:host(:not([isfullscreen])) .container[class*=shape-rounded]{border-radius:16px}.container{display:inline-block;overflow:auto;box-sizing:border-box;border-radius:var(--ds-border-radius, 0.375rem);margin:var(--ds-size-50, 0.25rem) 0}`;
|
|
14449
12336
|
|
|
@@ -14884,7 +12771,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
|
|
|
14884
12771
|
}
|
|
14885
12772
|
};
|
|
14886
12773
|
|
|
14887
|
-
var formkitVersion$1 = '
|
|
12774
|
+
var formkitVersion$1 = '202601271813';
|
|
14888
12775
|
|
|
14889
12776
|
let AuroElement$2 = class AuroElement extends LitElement {
|
|
14890
12777
|
static get properties() {
|
|
@@ -14990,12 +12877,14 @@ let AuroElement$2 = class AuroElement extends LitElement {
|
|
|
14990
12877
|
}
|
|
14991
12878
|
};
|
|
14992
12879
|
|
|
14993
|
-
// Copyright (c)
|
|
12880
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
14994
12881
|
// See LICENSE in the project root for license information.
|
|
14995
12882
|
|
|
14996
12883
|
|
|
14997
|
-
|
|
14998
|
-
|
|
12884
|
+
/**
|
|
12885
|
+
* The `auro-dropdown` element provides a way to place content in a bib that can be toggled.
|
|
12886
|
+
* @customElement auro-dropdown
|
|
12887
|
+
*
|
|
14999
12888
|
* @slot - Default slot for the popover content.
|
|
15000
12889
|
* @slot helpText - Defines the content of the helpText.
|
|
15001
12890
|
* @slot trigger - Defines the content of the trigger.
|
|
@@ -15031,7 +12920,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15031
12920
|
/** @private */
|
|
15032
12921
|
this.bibElement = createRef();
|
|
15033
12922
|
|
|
15034
|
-
this.
|
|
12923
|
+
this._intializeDefaults();
|
|
15035
12924
|
}
|
|
15036
12925
|
|
|
15037
12926
|
/**
|
|
@@ -15052,7 +12941,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15052
12941
|
* @private
|
|
15053
12942
|
* @returns {void} Internal defaults.
|
|
15054
12943
|
*/
|
|
15055
|
-
|
|
12944
|
+
_intializeDefaults() {
|
|
15056
12945
|
this.appearance = 'default';
|
|
15057
12946
|
this.chevron = false;
|
|
15058
12947
|
this.disabled = false;
|
|
@@ -15173,9 +13062,18 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15173
13062
|
static get properties() {
|
|
15174
13063
|
return {
|
|
15175
13064
|
|
|
13065
|
+
/**
|
|
13066
|
+
* The value for the role attribute of the trigger element.
|
|
13067
|
+
*/
|
|
13068
|
+
a11yRole: {
|
|
13069
|
+
type: String || undefined,
|
|
13070
|
+
attribute: false,
|
|
13071
|
+
reflect: false
|
|
13072
|
+
},
|
|
13073
|
+
|
|
15176
13074
|
/**
|
|
15177
13075
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
15178
|
-
* @
|
|
13076
|
+
* @type {'default' | 'inverse'}
|
|
15179
13077
|
* @default 'default'
|
|
15180
13078
|
*/
|
|
15181
13079
|
appearance: {
|
|
@@ -15185,7 +13083,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15185
13083
|
|
|
15186
13084
|
/**
|
|
15187
13085
|
* If declared, bib's position will be automatically calculated where to appear.
|
|
15188
|
-
* @default false
|
|
15189
13086
|
*/
|
|
15190
13087
|
autoPlacement: {
|
|
15191
13088
|
type: Boolean,
|
|
@@ -15194,7 +13091,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15194
13091
|
|
|
15195
13092
|
/**
|
|
15196
13093
|
* If declared, the dropdown will only show by calling the API .show() public method.
|
|
15197
|
-
* @default false
|
|
15198
13094
|
*/
|
|
15199
13095
|
disableEventShow: {
|
|
15200
13096
|
type: Boolean,
|
|
@@ -15211,11 +13107,11 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15211
13107
|
|
|
15212
13108
|
/**
|
|
15213
13109
|
* If declared, the dropdown displays a chevron on the right.
|
|
15214
|
-
* @attr {Boolean} chevron
|
|
15215
13110
|
*/
|
|
15216
13111
|
chevron: {
|
|
15217
13112
|
type: Boolean,
|
|
15218
|
-
reflect: true
|
|
13113
|
+
reflect: true,
|
|
13114
|
+
attribute: 'chevron'
|
|
15219
13115
|
},
|
|
15220
13116
|
|
|
15221
13117
|
/**
|
|
@@ -15252,7 +13148,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15252
13148
|
},
|
|
15253
13149
|
|
|
15254
13150
|
/**
|
|
15255
|
-
* If declared
|
|
13151
|
+
* If declared, will apply error UI to the dropdown.
|
|
15256
13152
|
*/
|
|
15257
13153
|
error: {
|
|
15258
13154
|
type: Boolean,
|
|
@@ -15307,18 +13203,28 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15307
13203
|
},
|
|
15308
13204
|
|
|
15309
13205
|
/**
|
|
15310
|
-
* Defines the screen size breakpoint
|
|
15311
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
13206
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
15312
13207
|
*
|
|
15313
13208
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
15314
13209
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
15315
|
-
* @
|
|
13210
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
13211
|
+
* @default 'sm'
|
|
15316
13212
|
*/
|
|
15317
13213
|
fullscreenBreakpoint: {
|
|
15318
13214
|
type: String,
|
|
15319
13215
|
reflect: true
|
|
15320
13216
|
},
|
|
15321
13217
|
|
|
13218
|
+
/**
|
|
13219
|
+
* Sets the layout of the dropdown.
|
|
13220
|
+
* @type {'classic' | 'emphasized' | 'snowflake'}
|
|
13221
|
+
* @default 'classic'
|
|
13222
|
+
*/
|
|
13223
|
+
layout: {
|
|
13224
|
+
type: String,
|
|
13225
|
+
reflect: true
|
|
13226
|
+
},
|
|
13227
|
+
|
|
15322
13228
|
/**
|
|
15323
13229
|
* Defines if the trigger should size based on the parent element providing the border UI.
|
|
15324
13230
|
* @private
|
|
@@ -15339,7 +13245,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15339
13245
|
/**
|
|
15340
13246
|
* If declared, the bib will NOT flip to an alternate position
|
|
15341
13247
|
* when there isn't enough space in the specified `placement`.
|
|
15342
|
-
* @default false
|
|
15343
13248
|
*/
|
|
15344
13249
|
noFlip: {
|
|
15345
13250
|
type: Boolean,
|
|
@@ -15348,7 +13253,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15348
13253
|
|
|
15349
13254
|
/**
|
|
15350
13255
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
15351
|
-
* @default false
|
|
15352
13256
|
*/
|
|
15353
13257
|
shift: {
|
|
15354
13258
|
type: Boolean,
|
|
@@ -15381,7 +13285,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15381
13285
|
},
|
|
15382
13286
|
|
|
15383
13287
|
/**
|
|
15384
|
-
* DEPRECATED - use `appearance` instead.
|
|
13288
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
15385
13289
|
*/
|
|
15386
13290
|
onDark: {
|
|
15387
13291
|
type: Boolean,
|
|
@@ -15398,7 +13302,8 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15398
13302
|
|
|
15399
13303
|
/**
|
|
15400
13304
|
* Position where the bib should appear relative to the trigger.
|
|
15401
|
-
* @
|
|
13305
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
13306
|
+
* @default 'bottom-start'
|
|
15402
13307
|
*/
|
|
15403
13308
|
placement: {
|
|
15404
13309
|
type: String,
|
|
@@ -15410,15 +13315,6 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15410
13315
|
*/
|
|
15411
13316
|
tabIndex: {
|
|
15412
13317
|
type: Number
|
|
15413
|
-
},
|
|
15414
|
-
|
|
15415
|
-
/**
|
|
15416
|
-
* The value for the role attribute of the trigger element.
|
|
15417
|
-
*/
|
|
15418
|
-
a11yRole: {
|
|
15419
|
-
type: String || undefined,
|
|
15420
|
-
attribute: false,
|
|
15421
|
-
reflect: false
|
|
15422
13318
|
}
|
|
15423
13319
|
};
|
|
15424
13320
|
}
|
|
@@ -15445,7 +13341,7 @@ class AuroDropdown extends AuroElement$2 {
|
|
|
15445
13341
|
|
|
15446
13342
|
/**
|
|
15447
13343
|
* This will register this element with the browser.
|
|
15448
|
-
* @param {string} [name="auro-dropdown"] - The name of element that you want to register
|
|
13344
|
+
* @param {string} [name="auro-dropdown"] - The name of the element that you want to register.
|
|
15449
13345
|
*
|
|
15450
13346
|
* @example
|
|
15451
13347
|
* AuroDropdown.register("custom-dropdown") // this will register this element to <custom-dropdown/>
|
|
@@ -15945,7 +13841,7 @@ var emphasizedStyleCss = css`:host([layout*=emphasized][shape*=pill]:not([layout
|
|
|
15945
13841
|
|
|
15946
13842
|
var emphasizedColorCss = css`.layout-emphasized:focus-within,.layout-emphasized-left:focus-within,.layout-emphasized-right:focus-within{--auro-input-border-color: var(--ds-auro-input-border-color)}`;
|
|
15947
13843
|
|
|
15948
|
-
var snowflakeStyleCss = css`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-dropdown-emphasized-background: #00274A1a;--ds-advanced-color-dropdown-emphasized-background-hover: #00274A33;--ds-advanced-color-expanded-widget-background: #00274a;--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #676767;--ds-advanced-color-shared-emphasized-background: rgba(1, 66, 106, 0.1);--ds-advanced-color-shared-emphasized-background-hover: rgba(1, 66, 106, 0.2);--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ffffff;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: 1.3;--ds-basic-type-brand-line-height-secondary: 1;--ds-basic-type-brand-letter-spacing-primary: 0;--ds-basic-type-brand-letter-spacing-secondary: 0.05em;--ds-basic-type-brand-letter-spacing-tertiary: 0.10em;--ds-basic-type-family-accent: "Good OT";--ds-basic-type-family-accent-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular";--ds-basic-type-family-body-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular";--ds-basic-type-family-display-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular";--ds-basic-type-family-heading-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: 0.05em;--ds-basic-type-letter-spacing-accent2: 0.10em;--ds-basic-type-letter-spacing-body: 0;--ds-basic-type-letter-spacing-display: 0;--ds-basic-type-letter-spacing-heading: 0;--ds-basic-type-line-height-accent: 1.3;--ds-basic-type-line-height-accent2: 1;--ds-basic-type-line-height-body: 1.625rem;--ds-basic-type-line-height-body2: 1.5rem;--ds-basic-type-line-height-body3: 1.25rem;--ds-basic-type-line-height-body4: 1rem;--ds-basic-type-line-height-body5: 0.875rem;--ds-basic-type-line-height-display: 1.3;--ds-basic-type-line-height-heading: 1.3;--ds-basic-type-weight-accent: 450;--ds-basic-type-weight-accent2: 500;--ds-basic-type-weight-body: 450;--ds-basic-type-weight-display: 300;--ds-basic-type-weight-heading: 300;--ds-basic-type-weight-heading2: 450}:host([layout*=snowflake]) .leftIndent{margin-left:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-200, 1rem)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:var(--ds-size-50, 0.25rem)}.layout-snowflake input{transition:all 1ms linear;text-align:center}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;overflow:hidden}.layout-snowflake .displayValue{display:none;width:100%}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake.withValue:hover .alertNotification{display:none}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-200, 1rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
|
|
13844
|
+
var snowflakeStyleCss = css`:root{--ds-advanced-color-button-flat-text: #676767;--ds-advanced-color-button-flat-text-disabled: #d0d0d0;--ds-advanced-color-button-flat-text-hover: #525252;--ds-advanced-color-button-flat-text-inverse: #ffffff;--ds-advanced-color-button-flat-text-inverse-disabled: #7e8894;--ds-advanced-color-button-flat-text-inverse-hover: #adadad;--ds-advanced-color-button-ghost-background-hover: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-ghost-background-inverse-hover: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-ghost-text: #01426a;--ds-advanced-color-button-ghost-text-disabled: #d0d0d0;--ds-advanced-color-button-ghost-text-inverse: #ffffff;--ds-advanced-color-button-ghost-text-inverse-disabled: #7e8894;--ds-advanced-color-button-primary-background: #01426a;--ds-advanced-color-button-primary-background-disabled: #acc9e2;--ds-advanced-color-button-primary-background-hover: #00274a;--ds-advanced-color-button-primary-background-inactive: #cfe0ef;--ds-advanced-color-button-primary-background-inactive-hover: #89b2d4;--ds-advanced-color-button-primary-background-inverse: #ffffff;--ds-advanced-color-button-primary-background-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-background-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-border: #01426a;--ds-advanced-color-button-primary-border-disabled: #acc9e2;--ds-advanced-color-button-primary-border-hover: #00274a;--ds-advanced-color-button-primary-border-inverse: #ffffff;--ds-advanced-color-button-primary-border-inverse-disabled: rgba(255, 255, 255, 0.75);--ds-advanced-color-button-primary-border-inverse-hover: #ebf3f9;--ds-advanced-color-button-primary-text: #ffffff;--ds-advanced-color-button-primary-text-disabled: #ffffff;--ds-advanced-color-button-primary-text-inverse: #01426a;--ds-advanced-color-button-secondary-background: #ffffff;--ds-advanced-color-button-secondary-background-disabled: #f7f7f7;--ds-advanced-color-button-secondary-background-hover: #f2f2f2;--ds-advanced-color-button-secondary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-secondary-border: #01426a;--ds-advanced-color-button-secondary-border-hover: #00274a;--ds-advanced-color-button-secondary-border-disabled: #cfe0ef;--ds-advanced-color-button-secondary-border-inverse: #ffffff;--ds-advanced-color-button-secondary-border-inverse-disabled: #dddddd;--ds-advanced-color-button-secondary-text: #01426a;--ds-advanced-color-button-secondary-text-hover: #00274a;--ds-advanced-color-button-secondary-text-inverse: #ffffff;--ds-advanced-color-button-tertiary-background: rgba(0, 0, 0, 0.05);--ds-advanced-color-button-tertiary-background-hover: rgba(0, 0, 0, 0.1);--ds-advanced-color-button-tertiary-background-inverse: rgba(255, 255, 255, 0.05);--ds-advanced-color-button-tertiary-background-inverse-hover: rgba(255, 255, 255, 0.1);--ds-advanced-color-button-tertiary-text: #01426a;--ds-advanced-color-button-tertiary-text-hover: #00274a;--ds-advanced-color-button-tertiary-text-inverse: #ffffff;--ds-advanced-color-accents-accent1: #b2d583;--ds-advanced-color-accents-accent1-bold: #92c450;--ds-advanced-color-accents-accent1-muted: #deedca;--ds-advanced-color-accents-accent2: #fad362;--ds-advanced-color-accents-accent2-bold: #f2ba14;--ds-advanced-color-accents-accent2-muted: #fde398;--ds-advanced-color-accents-accent3: #63beff;--ds-advanced-color-accents-accent3-bold: #0074ca;--ds-advanced-color-accents-accent3-muted: #aedeff;--ds-advanced-color-accents-accent4: #feb17a;--ds-advanced-color-accents-accent4-bold: #fb7f24;--ds-advanced-color-accents-accent4-muted: #ffe2cf;--ds-advanced-color-accents-transparency: rgba(0, 0, 0, 0.1);--ds-advanced-color-accents-transparency-inverse: rgba(255, 255, 255, 0.2);--ds-advanced-color-avatar-gradient-bottom: #cfe0ef;--ds-advanced-color-avatar-gradient-top: #6899c6;--ds-advanced-color-boolean-disabled-inverse: #7e8894;--ds-advanced-color-boolean-error: #e31f26;--ds-advanced-color-boolean-error-hover: #b1161c;--ds-advanced-color-boolean-error-inverse: #f9a4a8;--ds-advanced-color-boolean-error-inverse-hover: #f15f65;--ds-advanced-color-boolean-indicator: #ffffff;--ds-advanced-color-boolean-indicator-inverse: #00274a;--ds-advanced-color-boolean-isfalse: #ffffff;--ds-advanced-color-boolean-isfalse-border: #585e67;--ds-advanced-color-boolean-isfalse-border-inverse: #ffffff;--ds-advanced-color-boolean-isfalse-hover: #f2f2f2;--ds-advanced-color-boolean-isfalse-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-boolean-isfalse-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-boolean-istrue: #01426a;--ds-advanced-color-boolean-istrue-hover: #00274a;--ds-advanced-color-boolean-istrue-inverse: #ffffff;--ds-advanced-color-boolean-istrue-inverse-hover: rgba(255, 255, 255, 0.7);--ds-advanced-color-dropdown-emphasized-background: #00274A1a;--ds-advanced-color-dropdown-emphasized-background-hover: #00274A33;--ds-advanced-color-flightline-indicator: #00274a;--ds-advanced-color-flightline-line: #00274a;--ds-advanced-color-footer-background: #01426a;--ds-advanced-color-footer-foreground: #00274a;--ds-advanced-color-footer-pattern: #ffffff;--ds-advanced-color-hyperlink-text: #2875b5;--ds-advanced-color-hyperlink-text-hover: #01426a;--ds-advanced-color-hyperlink-text-inverse: #ffffff;--ds-advanced-color-hyperlink-text-inverse-hover: #ebf3f9;--ds-advanced-color-shared-background: #ffffff;--ds-advanced-color-shared-background-inverse: rgba(255, 255, 255, 0.15);--ds-advanced-color-shared-background-inverse-disabled: rgba(255, 255, 255, 0.1);--ds-advanced-color-shared-background-inverse-hover: rgba(255, 255, 255, 0.2);--ds-advanced-color-shared-background-muted: #f7f7f7;--ds-advanced-color-shared-background-strong: #676767;--ds-advanced-color-shared-emphasized-background: rgba(1, 66, 106, 0.1);--ds-advanced-color-shared-emphasized-background-hover: rgba(1, 66, 106, 0.2);--ds-advanced-color-shared-scrim: rgba(0, 0, 0, 0.5);--ds-advanced-color-shared-text-accent: #2875b5;--ds-advanced-color-skeleton-background: #f7f8fa;--ds-advanced-color-skeleton-wave: #e4e8ec;--ds-advanced-color-state-background-disabled: #dddddd;--ds-advanced-color-state-background-hover: #f2f2f2;--ds-advanced-color-state-background-inverse-disabled: #7e8894;--ds-advanced-color-state-error-inverse: #f9a4a8;--ds-advanced-color-state-focused: #01426a;--ds-advanced-color-state-focused-inverse: #ffffff;--ds-advanced-color-state-selected: #01426a;--ds-advanced-color-state-selected-hover: #00274a;--ds-basic-color-border-bold: #585e67;--ds-basic-color-border-brand: #00274a;--ds-basic-color-border-default: #959595;--ds-basic-color-border-divider: rgba(0, 0, 0, 0.15);--ds-basic-color-border-divider-inverse: rgba(255, 255, 255, 0.4);--ds-basic-color-border-inverse: #ffffff;--ds-basic-color-border-subtle: #dddddd;--ds-basic-color-brand-primary: #01426a;--ds-basic-color-brand-primary-bold: #00274a;--ds-basic-color-brand-primary-muted: #ebf3f9;--ds-basic-color-brand-primary-subtle: #2875b5;--ds-basic-color-brand-secondary: #5de3f7;--ds-basic-color-brand-secondary-bold: #18c3dd;--ds-basic-color-brand-secondary-muted: #ebfafd;--ds-basic-color-brand-secondary-subtle: #b4eff9;--ds-basic-color-brand-tertiary: #a3cd6a;--ds-basic-color-brand-tertiary-bold: #7daf3b;--ds-basic-color-brand-tertiary-muted: #eaf3dd;--ds-basic-color-brand-tertiary-subtle: #c9e1a7;--ds-basic-color-fare-basiceconomy: #97eaf8;--ds-basic-color-fare-business: #01426a;--ds-basic-color-fare-economy: #0074ca;--ds-basic-color-fare-first: #00274a;--ds-basic-color-fare-premiumeconomy: #005154;--ds-basic-color-page-background-default: #ffffff;--ds-basic-color-page-background-utility: #ffffff;--ds-basic-color-status-default: #afb9c6;--ds-basic-color-status-error: #e31f26;--ds-basic-color-status-error-subtle: #fbc6c6;--ds-basic-color-status-info: #01426a;--ds-basic-color-status-info-subtle: #ebf3f9;--ds-basic-color-status-success: #447a1f;--ds-basic-color-status-success-subtle: #d6eac7;--ds-basic-color-status-warning: #fac200;--ds-basic-color-status-warning-subtle: #fff0b2;--ds-basic-color-surface-accent1: #5de3f7;--ds-basic-color-surface-accent1-muted: #ebfafd;--ds-basic-color-surface-accent1-subtle: #b4eff9;--ds-basic-color-surface-accent2: #a3cd6a;--ds-basic-color-surface-accent2-muted: #eaf3dd;--ds-basic-color-surface-default: #ffffff;--ds-basic-color-surface-inverse: #00274a;--ds-basic-color-surface-inverse-subtle: #2875b5;--ds-basic-color-surface-neutral: #f2f2f2;--ds-basic-color-surface-neutral-medium: #c5c5c5;--ds-basic-color-surface-neutral-subtle: #f7f7f7;--ds-basic-color-texticon-accent1: #265688;--ds-basic-color-texticon-default: #2a2a2a;--ds-basic-color-texticon-disabled: #d0d0d0;--ds-basic-color-texticon-inverse: #ffffff;--ds-basic-color-texticon-inverse-disabled: #7e8894;--ds-basic-color-texticon-inverse-muted: #ccd2db;--ds-basic-color-texticon-muted: #676767;--ds-basic-color-tier-program-loungetier-lounge: #01426a;--ds-basic-color-tier-program-loungetier-loungeplus: #53b390;--ds-basic-color-tier-program-loyaltytier-bronze: #d99f6d;--ds-basic-color-tier-program-loyaltytier-bronze-muted: #eed4be;--ds-basic-color-tier-program-loyaltytier-cobalt: #030772;--ds-basic-color-tier-program-loyaltytier-cobalt-muted: #a9b6d6;--ds-basic-color-tier-program-loyaltytier-copper: #cb7457;--ds-basic-color-tier-program-loyaltytier-copper-muted: #e7bfb1;--ds-basic-color-tier-program-loyaltytier-gold: #fbdc7a;--ds-basic-color-tier-program-loyaltytier-gold-muted: #fdefc4;--ds-basic-color-tier-program-loyaltytier-nickel: #abaab1;--ds-basic-color-tier-program-loyaltytier-nickel-muted: #e5e4e7;--ds-basic-color-tier-program-loyaltytier-platinum: #bcb8a4;--ds-basic-color-tier-program-loyaltytier-platinum-muted: #dad8cd;--ds-basic-color-tier-program-loyaltytier-silver: #e4e9ec;--ds-basic-color-tier-program-loyaltytier-silver-muted: #f9fafb;--ds-basic-color-tier-program-loyaltytier-titanium: #282828;--ds-basic-color-tier-program-loyaltytier-titanium-muted: #545454;--ds-basic-color-tier-program-oneworld-emerald: #139142;--ds-basic-color-tier-program-oneworld-ruby: #a41d4a;--ds-basic-color-tier-program-oneworld-sapphire: #015daa;--ds-basic-type-brand-family-primary: "AS Circular";--ds-basic-type-brand-family-secondary: "Good OT";--ds-basic-type-brand-line-height-primary: 1.3;--ds-basic-type-brand-line-height-secondary: 1;--ds-basic-type-brand-letter-spacing-primary: 0;--ds-basic-type-brand-letter-spacing-secondary: 0.05em;--ds-basic-type-brand-letter-spacing-tertiary: 0.10em;--ds-basic-type-family-accent: "Good OT";--ds-basic-type-family-accent-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-body: "AS Circular";--ds-basic-type-family-body-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-display: "AS Circular";--ds-basic-type-family-display-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-family-heading: "AS Circular";--ds-basic-type-family-heading-fallback: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--ds-basic-type-letter-spacing-accent: 0.05em;--ds-basic-type-letter-spacing-accent2: 0.10em;--ds-basic-type-letter-spacing-body: 0;--ds-basic-type-letter-spacing-display: 0;--ds-basic-type-letter-spacing-heading: 0;--ds-basic-type-line-height-accent: 1.3;--ds-basic-type-line-height-accent2: 1;--ds-basic-type-line-height-body: 1.625rem;--ds-basic-type-line-height-body2: 1.5rem;--ds-basic-type-line-height-body3: 1.25rem;--ds-basic-type-line-height-body4: 1rem;--ds-basic-type-line-height-body5: 0.875rem;--ds-basic-type-line-height-display: 1.3;--ds-basic-type-line-height-heading: 1.3;--ds-basic-type-weight-accent: 450;--ds-basic-type-weight-accent2: 500;--ds-basic-type-weight-body: 450;--ds-basic-type-weight-body2: 700;--ds-basic-type-weight-display: 300;--ds-basic-type-weight-heading: 300;--ds-basic-type-weight-heading2: 450}:host([layout*=snowflake]) .leftIndent{margin-left:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .rightIndent{margin-right:var(--ds-size-200, 1rem)}.layout-snowflake{display:flex;flex-direction:row;align-items:center;justify-content:center}.layout-snowflake label{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding-block-start:var(--ds-size-50, 0.25rem)}.layout-snowflake input{transition:all 1ms linear;text-align:center}.layout-snowflake .mainContent{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;overflow:hidden}.layout-snowflake .displayValue{display:none;width:100%}.layout-snowflake .displayValue.hasContent:is(.withValue):not(.hasFocus){display:block}.layout-snowflake .displayValueWrapper{display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}.layout-snowflake.withValue{justify-content:flex-start}.layout-snowflake.withValue:hover .alertNotification{display:none}.layout-snowflake:not(:focus-within):not(:is([validity]:not([validity=valid]))){--ds-auro-input-border-color: transparent}.layout-snowflake:focus-within{justify-content:flex-start}.layout-snowflake:focus-within .alertNotification{display:none}.layout-snowflake .accents{width:var(--ds-size-300, 1.5rem)}.layout-snowflake .accents.left{padding-left:var(--ds-size-200, 1rem)}.layout-snowflake .accents.right{padding-right:var(--ds-size-200, 1rem)}:host([layout*=snowflake]) .helpTextWrapper{text-align:center}`;
|
|
15949
13845
|
|
|
15950
13846
|
const watchedItems$1 = new Set();
|
|
15951
13847
|
|
|
@@ -20977,19 +18873,16 @@ let AuroElement$1 = class AuroElement extends LitElement {
|
|
|
20977
18873
|
|
|
20978
18874
|
|
|
20979
18875
|
/**
|
|
20980
|
-
*
|
|
20981
|
-
*
|
|
20982
|
-
* @prop {string} id - The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
20983
|
-
* @attr id
|
|
18876
|
+
* The `auro-input` element provides users a way to enter data into a text field.
|
|
18877
|
+
* @customElement auro-input
|
|
20984
18878
|
*
|
|
20985
18879
|
* @slot ariaLabel.clear - Sets aria-label on clear button for screen reader to read
|
|
20986
18880
|
* @slot ariaLabel.password.show - Sets aria-label on password button to toggle on showing password
|
|
20987
18881
|
* @slot ariaLabel.password.hide - Sets aria-label on password button to toggle off showing password
|
|
20988
18882
|
* @slot helpText - Sets the help text displayed below the input.
|
|
20989
18883
|
* @slot label - Sets the label text for the input.
|
|
20990
|
-
* @slot
|
|
18884
|
+
* @slot optionalLabel - Allows overriding the optional display text "(optional)", which appears next to the label.
|
|
20991
18885
|
* @slot displayValue - Allows custom HTML content to display in place of the value when the input is not focused.
|
|
20992
|
-
*
|
|
20993
18886
|
* @csspart wrapper - Use for customizing the style of the root element
|
|
20994
18887
|
* @csspart label - Use for customizing the style of the label element
|
|
20995
18888
|
* @csspart helpText - Use for customizing the style of the helpText element
|
|
@@ -21007,6 +18900,15 @@ class BaseInput extends AuroElement$1 {
|
|
|
21007
18900
|
constructor() {
|
|
21008
18901
|
super();
|
|
21009
18902
|
|
|
18903
|
+
this._initializeDefaults();
|
|
18904
|
+
}
|
|
18905
|
+
|
|
18906
|
+
/**
|
|
18907
|
+
* Internal Defaults.
|
|
18908
|
+
* @private
|
|
18909
|
+
* @returns {void}
|
|
18910
|
+
*/
|
|
18911
|
+
_initializeDefaults() {
|
|
21010
18912
|
this.activeLabel = false;
|
|
21011
18913
|
this.appearance = "default";
|
|
21012
18914
|
this.icon = false;
|
|
@@ -21036,15 +18938,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
21036
18938
|
*/
|
|
21037
18939
|
this.size = 'lg';
|
|
21038
18940
|
|
|
21039
|
-
this.privateDefaults();
|
|
21040
|
-
}
|
|
21041
|
-
|
|
21042
|
-
/**
|
|
21043
|
-
* Internal Defaults.
|
|
21044
|
-
* @private
|
|
21045
|
-
* @returns {void}
|
|
21046
|
-
*/
|
|
21047
|
-
privateDefaults() {
|
|
21048
18941
|
this.touched = false;
|
|
21049
18942
|
this.util = new AuroInputUtilities();
|
|
21050
18943
|
this.validation = new AuroFormValidation();
|
|
@@ -21105,17 +18998,17 @@ class BaseInput extends AuroElement$1 {
|
|
|
21105
18998
|
...super.properties,
|
|
21106
18999
|
|
|
21107
19000
|
/**
|
|
21108
|
-
*
|
|
19001
|
+
* The value for the role attribute.
|
|
21109
19002
|
*/
|
|
21110
|
-
|
|
21111
|
-
type:
|
|
19003
|
+
a11yRole: {
|
|
19004
|
+
type: String,
|
|
21112
19005
|
reflect: true
|
|
21113
19006
|
},
|
|
21114
19007
|
|
|
21115
19008
|
/**
|
|
21116
|
-
* The value for the
|
|
19009
|
+
* The value for the aria-controls attribute.
|
|
21117
19010
|
*/
|
|
21118
|
-
|
|
19011
|
+
a11yControls: {
|
|
21119
19012
|
type: String,
|
|
21120
19013
|
reflect: true
|
|
21121
19014
|
},
|
|
@@ -21128,14 +19021,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
21128
19021
|
reflect: true
|
|
21129
19022
|
},
|
|
21130
19023
|
|
|
21131
|
-
/**
|
|
21132
|
-
* The value for the aria-controls attribute.
|
|
21133
|
-
*/
|
|
21134
|
-
a11yControls: {
|
|
21135
|
-
type: String,
|
|
21136
|
-
reflect: true
|
|
21137
|
-
},
|
|
21138
|
-
|
|
21139
19024
|
/**
|
|
21140
19025
|
* If set, the label will remain fixed in the active position.
|
|
21141
19026
|
*/
|
|
@@ -21146,7 +19031,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
21146
19031
|
|
|
21147
19032
|
/**
|
|
21148
19033
|
* Defines whether the component will be on lighter or darker backgrounds.
|
|
21149
|
-
* @
|
|
19034
|
+
* @type {'default' | 'inverse'}
|
|
21150
19035
|
* @default 'default'
|
|
21151
19036
|
*/
|
|
21152
19037
|
appearance: {
|
|
@@ -21178,6 +19063,13 @@ class BaseInput extends AuroElement$1 {
|
|
|
21178
19063
|
reflect: true
|
|
21179
19064
|
},
|
|
21180
19065
|
|
|
19066
|
+
/**
|
|
19067
|
+
* Custom help text message for email type validity.
|
|
19068
|
+
*/
|
|
19069
|
+
customValidityTypeEmail: {
|
|
19070
|
+
type: String
|
|
19071
|
+
},
|
|
19072
|
+
|
|
21181
19073
|
/**
|
|
21182
19074
|
* If set, disables the input.
|
|
21183
19075
|
*/
|
|
@@ -21186,6 +19078,14 @@ class BaseInput extends AuroElement$1 {
|
|
|
21186
19078
|
reflect: true
|
|
21187
19079
|
},
|
|
21188
19080
|
|
|
19081
|
+
/**
|
|
19082
|
+
* If defined, the display value slot content will only mask the HTML5 input element. The input's label will not be masked.
|
|
19083
|
+
*/
|
|
19084
|
+
dvInputOnly: {
|
|
19085
|
+
type: Boolean,
|
|
19086
|
+
reflect: true
|
|
19087
|
+
},
|
|
19088
|
+
|
|
21189
19089
|
/**
|
|
21190
19090
|
* When defined, sets persistent validity to `customError` and sets `setCustomValidity` = attribute value.
|
|
21191
19091
|
*/
|
|
@@ -21210,20 +19110,18 @@ class BaseInput extends AuroElement$1 {
|
|
|
21210
19110
|
},
|
|
21211
19111
|
|
|
21212
19112
|
/**
|
|
21213
|
-
*
|
|
21214
|
-
* Flag to indicate if the input currently has value.
|
|
19113
|
+
* Flag to indicate if the input currently has focus.
|
|
21215
19114
|
*/
|
|
21216
|
-
|
|
19115
|
+
hasFocus: {
|
|
21217
19116
|
type: Boolean,
|
|
21218
19117
|
reflect: false,
|
|
21219
19118
|
attribute: false
|
|
21220
19119
|
},
|
|
21221
19120
|
|
|
21222
19121
|
/**
|
|
21223
|
-
*
|
|
21224
|
-
* Flag to indicate if the input currently has focus.
|
|
19122
|
+
* Flag to indicate if the input currently has value.
|
|
21225
19123
|
*/
|
|
21226
|
-
|
|
19124
|
+
hasValue: {
|
|
21227
19125
|
type: Boolean,
|
|
21228
19126
|
reflect: false,
|
|
21229
19127
|
attribute: false
|
|
@@ -21237,6 +19135,23 @@ class BaseInput extends AuroElement$1 {
|
|
|
21237
19135
|
reflect: true
|
|
21238
19136
|
},
|
|
21239
19137
|
|
|
19138
|
+
/**
|
|
19139
|
+
* The id global attribute defines an identifier (ID) which must be unique in the whole document.
|
|
19140
|
+
*/
|
|
19141
|
+
id: {
|
|
19142
|
+
type: String
|
|
19143
|
+
},
|
|
19144
|
+
|
|
19145
|
+
/**
|
|
19146
|
+
* The id for input node.
|
|
19147
|
+
* @private
|
|
19148
|
+
*/
|
|
19149
|
+
inputId: {
|
|
19150
|
+
type: String,
|
|
19151
|
+
reflect: false,
|
|
19152
|
+
attribute: false
|
|
19153
|
+
},
|
|
19154
|
+
|
|
21240
19155
|
/** Exposes inputmode attribute for input. */
|
|
21241
19156
|
inputmode: {
|
|
21242
19157
|
type: String,
|
|
@@ -21307,7 +19222,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
21307
19222
|
},
|
|
21308
19223
|
|
|
21309
19224
|
/**
|
|
21310
|
-
* DEPRECATED - use `appearance` instead.
|
|
19225
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
21311
19226
|
*/
|
|
21312
19227
|
onDark: {
|
|
21313
19228
|
type: Boolean,
|
|
@@ -21346,13 +19261,6 @@ class BaseInput extends AuroElement$1 {
|
|
|
21346
19261
|
reflect: true
|
|
21347
19262
|
},
|
|
21348
19263
|
|
|
21349
|
-
/**
|
|
21350
|
-
* @ignore
|
|
21351
|
-
*/
|
|
21352
|
-
showPassword: {
|
|
21353
|
-
state: true
|
|
21354
|
-
},
|
|
21355
|
-
|
|
21356
19264
|
/**
|
|
21357
19265
|
* Sets a custom help text message to display for all validityStates.
|
|
21358
19266
|
*/
|
|
@@ -21417,18 +19325,18 @@ class BaseInput extends AuroElement$1 {
|
|
|
21417
19325
|
},
|
|
21418
19326
|
|
|
21419
19327
|
/**
|
|
21420
|
-
*
|
|
19328
|
+
* @ignore
|
|
21421
19329
|
*/
|
|
21422
|
-
|
|
21423
|
-
|
|
21424
|
-
reflect: true
|
|
19330
|
+
showPassword: {
|
|
19331
|
+
state: true
|
|
21425
19332
|
},
|
|
21426
19333
|
|
|
21427
19334
|
/**
|
|
21428
|
-
*
|
|
19335
|
+
* Simple makes the input render without a border.
|
|
21429
19336
|
*/
|
|
21430
|
-
|
|
21431
|
-
type:
|
|
19337
|
+
simple: {
|
|
19338
|
+
type: Boolean,
|
|
19339
|
+
reflect: true
|
|
21432
19340
|
},
|
|
21433
19341
|
|
|
21434
19342
|
/**
|
|
@@ -21440,18 +19348,23 @@ class BaseInput extends AuroElement$1 {
|
|
|
21440
19348
|
},
|
|
21441
19349
|
|
|
21442
19350
|
/**
|
|
21443
|
-
*
|
|
19351
|
+
* Indicates whether the input is in a dirty state (has been interacted with).
|
|
19352
|
+
* @private
|
|
21444
19353
|
*/
|
|
21445
|
-
|
|
21446
|
-
type:
|
|
21447
|
-
reflect: true
|
|
19354
|
+
touched: {
|
|
19355
|
+
type: Boolean,
|
|
19356
|
+
reflect: true,
|
|
19357
|
+
attribute: false
|
|
21448
19358
|
},
|
|
21449
19359
|
|
|
21450
19360
|
/**
|
|
21451
|
-
* Populates the `
|
|
19361
|
+
* Populates the `type` attribute on the input.
|
|
19362
|
+
* @type {'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'}
|
|
19363
|
+
* @default 'text'
|
|
21452
19364
|
*/
|
|
21453
|
-
|
|
21454
|
-
type: String
|
|
19365
|
+
type: {
|
|
19366
|
+
type: String,
|
|
19367
|
+
reflect: true
|
|
21455
19368
|
},
|
|
21456
19369
|
|
|
21457
19370
|
/**
|
|
@@ -21470,25 +19383,10 @@ class BaseInput extends AuroElement$1 {
|
|
|
21470
19383
|
},
|
|
21471
19384
|
|
|
21472
19385
|
/**
|
|
21473
|
-
*
|
|
21474
|
-
* @type {boolean}
|
|
21475
|
-
* @default false
|
|
21476
|
-
* @private
|
|
21477
|
-
*/
|
|
21478
|
-
touched: {
|
|
21479
|
-
type: Boolean,
|
|
21480
|
-
reflect: true,
|
|
21481
|
-
attribute: false
|
|
21482
|
-
},
|
|
21483
|
-
|
|
21484
|
-
/**
|
|
21485
|
-
* The id for input node.
|
|
21486
|
-
* @private
|
|
19386
|
+
* Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.
|
|
21487
19387
|
*/
|
|
21488
|
-
|
|
21489
|
-
type: String
|
|
21490
|
-
reflect: false,
|
|
21491
|
-
attribute: false
|
|
19388
|
+
value: {
|
|
19389
|
+
type: String
|
|
21492
19390
|
}
|
|
21493
19391
|
};
|
|
21494
19392
|
}
|
|
@@ -21797,7 +19695,7 @@ class BaseInput extends AuroElement$1 {
|
|
|
21797
19695
|
}
|
|
21798
19696
|
|
|
21799
19697
|
/**
|
|
21800
|
-
* @param {Event} event - The input event
|
|
19698
|
+
* @param {Event} event - The input event.
|
|
21801
19699
|
* @private
|
|
21802
19700
|
* @returns {void}
|
|
21803
19701
|
*/
|
|
@@ -22189,7 +20087,7 @@ class AuroDependencyVersioning {
|
|
|
22189
20087
|
}
|
|
22190
20088
|
}
|
|
22191
20089
|
|
|
22192
|
-
let p$1 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$1='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$1 = class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$1=new Map,f$1=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$1.has(t)||g$1.set(t,fetch(t).then(e)),g$1.get(t)};var w$1=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
20090
|
+
let p$1 = class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}};var u$1='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';let m$1 = class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}};const g$1=new Map,f$1=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g$1.has(t)||g$1.set(t,fetch(t).then(e)),g$1.get(t)};var w$1=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
22193
20091
|
`;let z$1 = class z extends m$1{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m$1.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w$1}async fetchIcon(t,a){let e="";e="logos"===t?await f$1(`${this.uri}/${t}/${a}.svg`):await f$1(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u$1,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}};css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
22194
20092
|
`;var y$1=css`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
22195
20093
|
`;var k$1=css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -22213,7 +20111,7 @@ let p$1 = class p{registerComponent(t,a){customElements.get(t)||customElements.d
|
|
|
22213
20111
|
</div>
|
|
22214
20112
|
`}};
|
|
22215
20113
|
|
|
22216
|
-
var iconVersion$1 = '9.1.
|
|
20114
|
+
var iconVersion$1 = '9.1.1';
|
|
22217
20115
|
|
|
22218
20116
|
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=literal`${unsafeStatic(r)}`;return customElements.get(r)||customElements.define(r,class extends a{}),i}}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}"]`);return (o?.assignedNodes({flatten:true})||[]).map(t=>t.textContent?.trim()).join(" ").trim()||null}}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=css`: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]){--ds-auro-loader-color: var(--ds-basic-color-brand-primary, #01426a)}:host([ondark]){--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}
|
|
22219
20117
|
`,u$2=css`.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}: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:1.5rem}:host([pulse])>span{width:1rem;height:1rem;margin:var(--margin);animation:pulse 1.5s ease infinite}:host([pulse][xs]){width:calc(2.55rem + var(--margin-xs) * 6);height:1.55rem}:host([pulse][xs])>span{margin:var(--margin-xs);width:.65rem;height:.65rem}:host([pulse][sm]){width:calc(6rem + var(--margin-sm) * 6);height:2.5rem}:host([pulse][sm])>span{margin:var(--margin-sm);width:2rem;height:2rem}:host([pulse][md]){width:calc(9rem + var(--margin-md) * 6);height:3.5rem}:host([pulse][md])>span{margin:var(--margin-md);width:3rem;height:3rem}:host([pulse][lg]){width:calc(15rem + var(--margin-lg) * 6);height:5.5rem}: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}}
|
|
@@ -22502,13 +20400,12 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
|
|
|
22502
20400
|
}
|
|
22503
20401
|
};
|
|
22504
20402
|
|
|
22505
|
-
var formkitVersion = '
|
|
20403
|
+
var formkitVersion = '202601271813';
|
|
22506
20404
|
|
|
22507
20405
|
// Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
22508
20406
|
// See LICENSE in the project root for license information.
|
|
22509
20407
|
|
|
22510
20408
|
|
|
22511
|
-
// build the component class
|
|
22512
20409
|
class AuroInput extends BaseInput {
|
|
22513
20410
|
|
|
22514
20411
|
constructor() {
|
|
@@ -22680,6 +20577,10 @@ class AuroInput extends BaseInput {
|
|
|
22680
20577
|
};
|
|
22681
20578
|
}
|
|
22682
20579
|
|
|
20580
|
+
/**
|
|
20581
|
+
* Common display value wrapper classes.
|
|
20582
|
+
* @private
|
|
20583
|
+
*/
|
|
22683
20584
|
get commonDisplayValueWrapperClasses() {
|
|
22684
20585
|
return {
|
|
22685
20586
|
'displayValueWrapper': true,
|
|
@@ -22727,7 +20628,7 @@ class AuroInput extends BaseInput {
|
|
|
22727
20628
|
|
|
22728
20629
|
/**
|
|
22729
20630
|
* This will register this element with the browser.
|
|
22730
|
-
* @param {string} [name="auro-input"] - The name of element that you want to register
|
|
20631
|
+
* @param {string} [name="auro-input"] - The name of the element that you want to register.
|
|
22731
20632
|
*
|
|
22732
20633
|
* @example
|
|
22733
20634
|
* AuroInput.register("custom-input") // this will register this element to <custom-input/>
|
|
@@ -23563,7 +21464,7 @@ function i18n(lang, requestedString) {
|
|
|
23563
21464
|
return stringsEN[requestedString];
|
|
23564
21465
|
}
|
|
23565
21466
|
|
|
23566
|
-
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;
|
|
21467
|
+
class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,class extends a{});}closestElement(t,a=this,e=(a,s=a&&a.closest(t))=>a&&a!==document&&a!==window?s||e(a.getRootNode().host):null){return e(a)}handleComponentTagRename(t,a){const e=a.toLowerCase();t.tagName.toLowerCase()!==e&&t.setAttribute(e,true);}elementMatch(t,a){const e=a.toLowerCase();return t.tagName.toLowerCase()===e||t.hasAttribute(e)}}var u='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="error__desc" class="ico_squareLarge" data-deprecated="true" role="img" style="min-width:var(--auro-size-lg, var(--ds-size-300, 1.5rem));height:var(--auro-size-lg, var(--ds-size-300, 1.5rem));fill:currentColor" viewBox="0 0 24 24" part="svg"><title/><desc id="error__desc">Error alert indicator.</desc><path d="m13.047 5.599 6.786 11.586A1.207 1.207 0 0 1 18.786 19H5.214a1.207 1.207 0 0 1-1.047-1.815l6.786-11.586a1.214 1.214 0 0 1 2.094 0m-1.165.87a.23.23 0 0 0-.085.085L5.419 17.442a.232.232 0 0 0 .203.35h12.756a.234.234 0 0 0 .203-.35L12.203 6.554a.236.236 0 0 0-.321-.084M12 15.5a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-.024-6.22c.325 0 .589.261.589.583v4.434a.586.586 0 0 1-.589.583.586.586 0 0 1-.588-.583V9.863c0-.322.264-.583.588-.583"/></svg>';class m extends LitElement{static get properties(){return {hidden:{type:Boolean,reflect:true},hiddenVisually:{type:Boolean,reflect:true},hiddenAudible:{type:Boolean,reflect:true}}}hideAudible(t){return t?"true":"false"}}const g=new Map,f=(t,a={})=>{const e=a.responseParser||(t=>t.text());return g.has(t)||g.set(t,fetch(t).then(e)),g.get(t)};var w=css`:focus:not(:focus-visible){outline:3px solid transparent}.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}.ico_squareLarge{fill:currentColor;height:var(--auro-size-lg, var(--ds-size-300, 1.5rem))}.ico_squareSmall{fill:currentColor;height:.6rem}.ico_squareMed{fill:currentColor;height:var(--auro-size-md, var(--ds-size-200, 1rem))}.ico_squareSml{fill:currentColor;height:var(--auro-size-sm, var(--ds-size-150, .75rem))}:host{color:currentColor;vertical-align:middle;display:inline-block}svg{min-width:var(--ds-auro-icon-size, 1.5rem)!important;width:var(--ds-auro-icon-size, 1.5rem)!important;height:var(--ds-auro-icon-size, 1.5rem)!important}.componentWrapper{display:flex;line-height:var(--ds-auro-icon-size)}.svgWrapper{height:var(--ds-auro-icon-size);width:var(--ds-auro-icon-size)}.svgWrapper [part=svg]{display:flex}.labelWrapper{margin-left:var(--ds-size-50, .25rem)}.labelWrapper ::slotted(*){line-height:inherit!important}
|
|
23567
21468
|
`;class z extends m{constructor(){super(),this.onDark=false,this.appearance="default";}static get properties(){return {...m.properties,onDark:{type:Boolean,reflect:true},appearance:{type:String,reflect:true},svg:{attribute:false,reflect:true}}}static get styles(){return w}async fetchIcon(t,a){let e="";e="logos"===t?await f(`${this.uri}/${t}/${a}.svg`):await f(`${this.uri}/icons/${t}/${a}.svg`);return (new DOMParser).parseFromString(e,"text/html").body.querySelector("svg")}async firstUpdated(){try{if(!this.customSvg){const t=await this.fetchIcon(this.category,this.name);if(t)this.svg=t;else if(!t){const t=(new DOMParser).parseFromString(u,"text/html");this.svg=t.body.firstChild;}}}catch(t){this.svg=void 0;}}}css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock,:host{display:block}.util_displayFlex{display:flex}.util_displayHidden,:host([hidden]:not(:focus):not(:active)){display:none}.util_displayHiddenVisually,:host([hiddenVisually]:not(:focus):not(:active)){position:absolute;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;padding:0;border:0}:host{display:inline-block;--ds-auro-icon-size: 100%;width:100%;height:100%}:host .logo{color:var(--ds-auro-alaska-color)}:host([onDark]),:host([appearance=inverse]){--ds-auro-alaska-color: #FFF}
|
|
23568
21469
|
`;var y=css`:host{--ds-auro-icon-color: var(--ds-basic-color-texticon-default, #2a2a2a);--ds-auro-alaska-color: #02426D;--ds-auro-icon-size: var(--ds-size-300, 1.5rem)}
|
|
23569
21470
|
`;var k=css`:host{color:var(--ds-auro-icon-color)}:host([customColor]){color:inherit}:host(:not([onDark])[variant=accent1]),:host(:not([appearance=inverse])[variant=accent1]){--ds-auro-icon-color: var(--ds-basic-color-texticon-accent1, #265688)}:host(:not([onDark])[variant=disabled]),:host(:not([appearance=inverse])[variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-disabled, #d0d0d0)}:host(:not([onDark])[variant=muted]),:host(:not([appearance=inverse])[variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-muted, #676767)}:host(:not([onDark])[variant=statusDefault]),:host(:not([appearance=inverse])[variant=statusDefault]){--ds-auro-icon-color: var(--ds-basic-color-status-default, #afb9c6)}:host(:not([onDark])[variant=statusInfo]),:host(:not([appearance=inverse])[variant=statusInfo]){--ds-auro-icon-color: var(--ds-basic-color-status-info, #01426a)}:host(:not([onDark])[variant=statusSuccess]),:host(:not([appearance=inverse])[variant=statusSuccess]){--ds-auro-icon-color: var(--ds-basic-color-status-success, #447a1f)}:host(:not([onDark])[variant=statusWarning]),:host(:not([appearance=inverse])[variant=statusWarning]){--ds-auro-icon-color: var(--ds-basic-color-status-warning, #fac200)}:host(:not([onDark])[variant=statusError]),:host(:not([appearance=inverse])[variant=statusError]){--ds-auro-icon-color: var(--ds-basic-color-status-error, #e31f26)}:host(:not([onDark])[variant=statusInfoSubtle]),:host(:not([appearance=inverse])[variant=statusInfoSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-info-subtle, #ebf3f9)}:host(:not([onDark])[variant=statusSuccessSubtle]),:host(:not([appearance=inverse])[variant=statusSuccessSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-success-subtle, #d6eac7)}:host(:not([onDark])[variant=statusWarningSubtle]),:host(:not([appearance=inverse])[variant=statusWarningSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-warning-subtle, #fff0b2)}:host(:not([onDark])[variant=statusErrorSubtle]),:host(:not([appearance=inverse])[variant=statusErrorSubtle]){--ds-auro-icon-color: var(--ds-basic-color-status-error-subtle, #fbc6c6)}:host(:not([onDark])[variant=fareBasicEconomy]),:host(:not([appearance=inverse])[variant=fareBasicEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-basiceconomy, #97eaf8)}:host(:not([onDark])[variant=fareBusiness]),:host(:not([appearance=inverse])[variant=fareBusiness]){--ds-auro-icon-color: var(--ds-basic-color-fare-business, #01426a)}:host(:not([onDark])[variant=fareEconomy]),:host(:not([appearance=inverse])[variant=fareEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-economy, #0074ca)}:host(:not([onDark])[variant=fareFirst]),:host(:not([appearance=inverse])[variant=fareFirst]){--ds-auro-icon-color: var(--ds-basic-color-fare-first, #00274a)}:host(:not([onDark])[variant=farePremiumEconomy]),:host(:not([appearance=inverse])[variant=farePremiumEconomy]){--ds-auro-icon-color: var(--ds-basic-color-fare-premiumeconomy, #005154)}:host(:not([onDark])[variant=tierOneWorldEmerald]),:host(:not([appearance=inverse])[variant=tierOneWorldEmerald]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-emerald, #139142)}:host(:not([onDark])[variant=tierOneWorldSapphire]),:host(:not([appearance=inverse])[variant=tierOneWorldSapphire]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-sapphire, #015daa)}:host(:not([onDark])[variant=tierOneWorldRuby]),:host(:not([appearance=inverse])[variant=tierOneWorldRuby]){--ds-auro-icon-color: var(--ds-basic-color-tier-program-oneworld-ruby, #a41d4a)}:host([onDark]),:host([appearance=inverse]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse, #ffffff)}:host([onDark][variant=disabled]),:host([appearance=inverse][variant=disabled]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-disabled, #7e8894)}:host([onDark][variant=muted]),:host([appearance=inverse][variant=muted]){--ds-auro-icon-color: var(--ds-basic-color-texticon-inverse-muted, #ccd2db)}:host([onDark][variant=statusError]),:host([appearance=inverse][variant=statusError]){--ds-auro-icon-color: var(--ds-advanced-color-state-error-inverse, #f9a4a8)}
|
|
@@ -23587,20 +21488,24 @@ class p{registerComponent(t,a){customElements.get(t)||customElements.define(t,cl
|
|
|
23587
21488
|
</div>
|
|
23588
21489
|
`}}
|
|
23589
21490
|
|
|
23590
|
-
var iconVersion = '9.1.
|
|
21491
|
+
var iconVersion = '9.1.1';
|
|
23591
21492
|
|
|
23592
|
-
// Copyright (c)
|
|
21493
|
+
// Copyright (c) 2026 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
|
|
23593
21494
|
// See LICENSE in the project root for license information.
|
|
23594
21495
|
|
|
23595
21496
|
|
|
23596
21497
|
|
|
23597
21498
|
// See https://git.io/JJ6SJ for "How to document your components using JSDoc"
|
|
23598
21499
|
/**
|
|
21500
|
+
* The `auro-datepicker` component provides users with a way to select a date or date range from a calendar popup or fullscreen calendar on mobile.
|
|
21501
|
+
* @customElement auro-datepicker
|
|
21502
|
+
*
|
|
23599
21503
|
* @slot helpText - Defines the content of the helpText.
|
|
23600
21504
|
* @slot ariaLabel.bib.close - Sets aria-label on close button in fullscreen bib
|
|
23601
21505
|
* @slot ariaLabel.input.clear - Sets aria-label on clear button
|
|
23602
21506
|
* @slot bib.fullscreen.headline - Defines the headline to display above bib.fullscreen.dateLabels in the mobile layout.
|
|
23603
21507
|
* @slot bib.fullscreen.dateLabel - Defines the content to display above selected dates in the mobile layout.
|
|
21508
|
+
* @slot label - Defines the label content for the entire datepicker when `layout="snowflake"`.
|
|
23604
21509
|
* @slot toLabel - Defines the label content for the second input when the `range` attribute is used.
|
|
23605
21510
|
* @slot fromLabel - Defines the label content for the first input.
|
|
23606
21511
|
* @slot date_MM_DD_YYYY - Defines the content to display in the auro-calendar-cell for the specified date. The content text is colored using the success state token when the `highlight` attribute is applied to the slot.
|
|
@@ -23618,8 +21523,6 @@ var iconVersion = '9.1.0';
|
|
|
23618
21523
|
* @event auroFormElement-validated - Notifies that the component value(s) have been validated.
|
|
23619
21524
|
* @event auroDatePicker-newSlotContent - Notifies that new slot content has been added to the datepicker.
|
|
23620
21525
|
*/
|
|
23621
|
-
|
|
23622
|
-
// build the component class
|
|
23623
21526
|
class AuroDatePicker extends AuroElement {
|
|
23624
21527
|
constructor() {
|
|
23625
21528
|
super();
|
|
@@ -23716,7 +21619,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23716
21619
|
/**
|
|
23717
21620
|
* @private
|
|
23718
21621
|
*/
|
|
23719
|
-
this.runtimeUtils = new AuroLibraryRuntimeUtils$
|
|
21622
|
+
this.runtimeUtils = new AuroLibraryRuntimeUtils$5();
|
|
23720
21623
|
|
|
23721
21624
|
/**
|
|
23722
21625
|
* @private
|
|
@@ -23882,19 +21785,19 @@ class AuroDatePicker extends AuroElement {
|
|
|
23882
21785
|
},
|
|
23883
21786
|
|
|
23884
21787
|
/**
|
|
23885
|
-
* Defines the screen size breakpoint
|
|
23886
|
-
* at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
21788
|
+
* Defines the screen size breakpoint at which the dropdown switches to fullscreen mode on mobile. `disabled` indicates a dropdown should _never_ enter fullscreen.
|
|
23887
21789
|
*
|
|
23888
21790
|
* When expanded, the dropdown will automatically display in fullscreen mode
|
|
23889
21791
|
* if the screen size is equal to or smaller than the selected breakpoint.
|
|
23890
|
-
* @
|
|
21792
|
+
* @type {'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'disabled'}
|
|
21793
|
+
* @default 'sm'
|
|
23891
21794
|
*/
|
|
23892
21795
|
fullscreenBreakpoint: {
|
|
23893
21796
|
type: String,
|
|
23894
21797
|
reflect: true
|
|
23895
21798
|
},
|
|
23896
21799
|
|
|
23897
|
-
/** Exposes inputmode attribute for input.
|
|
21800
|
+
/** Exposes inputmode attribute for input. */
|
|
23898
21801
|
inputmode: {
|
|
23899
21802
|
type: String,
|
|
23900
21803
|
attribute: true,
|
|
@@ -23910,6 +21813,16 @@ class AuroDatePicker extends AuroElement {
|
|
|
23910
21813
|
reflect: true
|
|
23911
21814
|
},
|
|
23912
21815
|
|
|
21816
|
+
/**
|
|
21817
|
+
* Sets the layout of the datepicker.
|
|
21818
|
+
* @type {'classic' | 'snowflake'}
|
|
21819
|
+
* @default 'classic'
|
|
21820
|
+
*/
|
|
21821
|
+
layout: {
|
|
21822
|
+
type: String,
|
|
21823
|
+
reflect: true
|
|
21824
|
+
},
|
|
21825
|
+
|
|
23913
21826
|
/**
|
|
23914
21827
|
* Maximum date. All dates after will be disabled.
|
|
23915
21828
|
*/
|
|
@@ -23943,7 +21856,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
23943
21856
|
/**
|
|
23944
21857
|
* If declared, the bib will NOT flip to an alternate position
|
|
23945
21858
|
* when there isn't enough space in the specified `placement`.
|
|
23946
|
-
* @default false
|
|
23947
21859
|
*/
|
|
23948
21860
|
noFlip: {
|
|
23949
21861
|
type: Boolean,
|
|
@@ -23952,7 +21864,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
23952
21864
|
|
|
23953
21865
|
/**
|
|
23954
21866
|
* If declared, the dropdown will shift its position to avoid being cut off by the viewport.
|
|
23955
|
-
* @default false
|
|
23956
21867
|
*/
|
|
23957
21868
|
shift: {
|
|
23958
21869
|
type: Boolean,
|
|
@@ -23977,7 +21888,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
23977
21888
|
},
|
|
23978
21889
|
|
|
23979
21890
|
/**
|
|
23980
|
-
* DEPRECATED - use `appearance` instead.
|
|
21891
|
+
* DEPRECATED - use `appearance="inverse"` instead.
|
|
23981
21892
|
*/
|
|
23982
21893
|
onDark: {
|
|
23983
21894
|
type: Boolean,
|
|
@@ -24004,12 +21915,8 @@ class AuroDatePicker extends AuroElement {
|
|
|
24004
21915
|
|
|
24005
21916
|
/**
|
|
24006
21917
|
* Position where the bib should appear relative to the trigger.
|
|
24007
|
-
*
|
|
24008
|
-
*
|
|
24009
|
-
* "bottom-start" | "top-start" | "top-end" |
|
|
24010
|
-
* "right-start" | "right-end" | "bottom-end" |
|
|
24011
|
-
* "left-start" | "left-end"
|
|
24012
|
-
* @default bottom-start
|
|
21918
|
+
* @type {'top' | 'right' | 'bottom' | 'left' | 'bottom-start' | 'top-start' | 'top-end' | 'right-start' | 'right-end' | 'bottom-end' | 'left-start' | 'left-end'}
|
|
21919
|
+
* @default 'bottom-start'
|
|
24013
21920
|
*/
|
|
24014
21921
|
placement: {
|
|
24015
21922
|
type: String,
|
|
@@ -24108,8 +22015,6 @@ class AuroDatePicker extends AuroElement {
|
|
|
24108
22015
|
|
|
24109
22016
|
/**
|
|
24110
22017
|
* Indicates whether the datepicker is in a dirty state (has been interacted with).
|
|
24111
|
-
* @type {boolean}
|
|
24112
|
-
* @default false
|
|
24113
22018
|
* @private
|
|
24114
22019
|
*/
|
|
24115
22020
|
touched: {
|
|
@@ -24122,9 +22027,9 @@ class AuroDatePicker extends AuroElement {
|
|
|
24122
22027
|
|
|
24123
22028
|
static get styles() {
|
|
24124
22029
|
return [
|
|
24125
|
-
styleCss$
|
|
24126
|
-
colorCss$
|
|
24127
|
-
tokensCss$
|
|
22030
|
+
styleCss$8,
|
|
22031
|
+
colorCss$8,
|
|
22032
|
+
tokensCss$4,
|
|
24128
22033
|
|
|
24129
22034
|
// layout util
|
|
24130
22035
|
shapeSizeCss$2,
|
|
@@ -24139,14 +22044,14 @@ class AuroDatePicker extends AuroElement {
|
|
|
24139
22044
|
|
|
24140
22045
|
/**
|
|
24141
22046
|
* This will register this element with the browser.
|
|
24142
|
-
* @param {string} [name="auro-datepicker"] - The name of element that you want to register
|
|
22047
|
+
* @param {string} [name="auro-datepicker"] - The name of the element that you want to register.
|
|
24143
22048
|
*
|
|
24144
22049
|
* @example
|
|
24145
22050
|
* AuroDatePicker.register("custom-datepicker") // this will register this element to <custom-datepicker/>
|
|
24146
22051
|
*
|
|
24147
22052
|
*/
|
|
24148
22053
|
static register(name = "auro-datepicker") {
|
|
24149
|
-
AuroLibraryRuntimeUtils$
|
|
22054
|
+
AuroLibraryRuntimeUtils$5.prototype.registerComponent(name, AuroDatePicker);
|
|
24150
22055
|
}
|
|
24151
22056
|
|
|
24152
22057
|
/**
|
|
@@ -24223,6 +22128,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
24223
22128
|
return 'body-default';
|
|
24224
22129
|
}
|
|
24225
22130
|
|
|
22131
|
+
/**
|
|
22132
|
+
* @private
|
|
22133
|
+
* Common display value wrapper classes.
|
|
22134
|
+
*/
|
|
24226
22135
|
get commonDisplayValueWrapperClasses() {
|
|
24227
22136
|
return {
|
|
24228
22137
|
'displayValueWrapper': true,
|
|
@@ -24709,7 +22618,7 @@ class AuroDatePicker extends AuroElement {
|
|
|
24709
22618
|
return this.validity !== undefined && this.validity !== 'valid';
|
|
24710
22619
|
}
|
|
24711
22620
|
|
|
24712
|
-
updated(changedProperties) {
|
|
22621
|
+
async updated(changedProperties) {
|
|
24713
22622
|
if (changedProperties.has('format')) {
|
|
24714
22623
|
this.monthFirst = this.format.indexOf('mm') < this.format.indexOf('yyyy');
|
|
24715
22624
|
}
|
|
@@ -24840,10 +22749,10 @@ class AuroDatePicker extends AuroElement {
|
|
|
24840
22749
|
|
|
24841
22750
|
if (this.hasAttribute('error')) {
|
|
24842
22751
|
// Set the error attribute on the last input
|
|
24843
|
-
lastInput.setAttribute('error', this.getAttribute('error'));
|
|
22752
|
+
await lastInput.setAttribute('error', this.getAttribute('error'));
|
|
24844
22753
|
} else {
|
|
24845
22754
|
// Remove the error attribute on the last input
|
|
24846
|
-
lastInput.removeAttribute('error');
|
|
22755
|
+
await lastInput.removeAttribute('error');
|
|
24847
22756
|
}
|
|
24848
22757
|
|
|
24849
22758
|
// Validate the last input
|