@roadtrip/components 3.53.0 → 3.53.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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +41 -3
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +66 -16
- package/dist/cjs/road-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/alert/alert.css +5 -1
- package/dist/collection/components/counter/counter.js +128 -2
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/counter/counter.stories.js +36 -0
- package/dist/collection/components/drawer/drawer.css +6 -6
- package/dist/collection/components/progress/progress.css +2 -1
- package/dist/collection/components/toast/toast.css +20 -1
- package/dist/collection/components/toast/toast.js +68 -14
- package/dist/collection/components/toast/toast.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-alert.entry.js +1 -1
- package/dist/esm/road-alert.entry.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +41 -3
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-progress.entry.js.map +1 -1
- package/dist/esm/road-toast.entry.js +66 -16
- package/dist/esm/road-toast.entry.js.map +1 -1
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +16 -0
- package/dist/roadtrip/p-12f2b114.entry.js +2 -0
- package/dist/roadtrip/p-12f2b114.entry.js.map +1 -0
- package/dist/roadtrip/{p-319a0ef7.entry.js → p-27dea4d1.entry.js} +5 -5
- package/dist/roadtrip/p-27dea4d1.entry.js.map +1 -0
- package/dist/roadtrip/p-ad2f2c53.entry.js +2 -0
- package/dist/roadtrip/p-ad2f2c53.entry.js.map +1 -0
- package/dist/roadtrip/p-f94214a1.entry.js +2 -0
- package/dist/roadtrip/p-f94214a1.entry.js.map +1 -0
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/counter/counter.d.ts +20 -0
- package/dist/types/components/toast/toast.d.ts +12 -0
- package/dist/types/components.d.ts +64 -0
- package/hydrate/index.js +219 -122
- package/hydrate/index.mjs +219 -122
- package/package.json +1 -1
- package/dist/roadtrip/p-23b0d708.entry.js +0 -2
- package/dist/roadtrip/p-23b0d708.entry.js.map +0 -1
- package/dist/roadtrip/p-319a0ef7.entry.js.map +0 -1
- package/dist/roadtrip/p-3646f072.entry.js +0 -2
- package/dist/roadtrip/p-3646f072.entry.js.map +0 -1
- package/dist/roadtrip/p-8630081f.entry.js +0 -2
- package/dist/roadtrip/p-8630081f.entry.js.map +0 -1
package/hydrate/index.js
CHANGED
|
@@ -3205,7 +3205,7 @@ class Accordion {
|
|
|
3205
3205
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3206
3206
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3207
3207
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3208
|
-
return (hAsync("details", { key: '
|
|
3208
|
+
return (hAsync("details", { key: 'fd8981f6305596574853ba3bf5562515a2fa7797', class: `${accordionLight} ${accordionSmall} ${accordionLightSeparator}`, open: this.isOpen }, hAsync("summary", { key: '5c684a15e26850e869780576ff92561725ffaa17', class: "accordion-trigger", "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: 'df632939bd5306d6e0c8fd31efd8d63e3099d982', class: accordionLightHeader }, hAsync("slot", { key: '6856127e4930e34e9f7bcd46e6f07867feb65c7f', name: "icon-left" }), hAsync("slot", { key: '55220b0f53b62a4f3e9f338c3102213e92413615', name: "header" }), hAsync("road-icon", { key: '1025256a4bc638f4ba41208643dbe33a3ffec006', class: "accordion-arrow", icon: navigationChevron }))), hAsync("div", { key: '805d9c5576f2386edf56e3aa685daeb72cf74592', class: accordionLightContent }, hAsync("slot", { key: '2dd818dd7e6a92f3c5ddb30ed4dac4c6a5d797d0' }))));
|
|
3209
3209
|
}
|
|
3210
3210
|
static get style() { return RoadAccordionStyle0; }
|
|
3211
3211
|
static get cmpMeta() { return {
|
|
@@ -3223,7 +3223,7 @@ class Accordion {
|
|
|
3223
3223
|
}; }
|
|
3224
3224
|
}
|
|
3225
3225
|
|
|
3226
|
-
const alertCss = ":host{position:relative;display:flex;align-items:flex-start;padding:0.5rem 1rem 0.5rem 0.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-body-medium);line-height:1.25;color:var(--road-on-surface);border:1px solid transparent;border-radius:0.25rem}.alert-icon{flex-shrink:0;width:2rem;height:2rem;margin-right:0.5rem}.alert-title{margin:var(--road-spacing-
|
|
3226
|
+
const alertCss = ":host{position:relative;display:flex;align-items:flex-start;padding:0.5rem 1rem 0.5rem 0.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-body-medium);line-height:1.25;color:var(--road-on-surface);border:1px solid transparent;border-radius:0.25rem}.alert-icon{flex-shrink:0;width:2rem;height:2rem;margin-right:0.5rem}.alert-title{margin-bottom:var(--road-spacing-03);display:block;font-weight:700}.alert-container{position:relative;display:flex;align-items:start;justify-content:space-between;width:100%;flex-direction:column}.alert-container-content{margin-top:var(--road-spacing-02)}.alert-container-horizontal{position:relative;display:flex;align-items:start;justify-content:space-between;width:100%;flex-direction:row}.alert-link{display:block;margin:0;margin:var(--road-spacing-03) 0 0;color:var(--road-on-surface);text-decoration:underline}.alert-description{margin:0}.btn-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;justify-content:center;margin-top:var(--road-spacing-03)}.btn-container.justify-end{padding-top:var(--road-spacing-07);justify-content:end}.alert-button{margin-left:var(--road-spacing-07)}.alert-close{display:flex;position:absolute;top:0;right:0;align-items:center;justify-content:center;padding:0;font-weight:700;color:inherit;cursor:pointer;background:transparent;border:0;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host(.alert-info){color:var(--road-on-info-surface);background:var(--road-info-surface);border-color:var(--road-info-outline)}:host(.alert-info) ::slotted(road-icon){fill:var(--road-info-default)}:host(.alert-info) ::slotted(road-button){display:block;margin:0.375rem 0 0;color:var(--road-on-info-surface-inverse);background:var(--road-info-surface-inverse);fill:var(--road-on-info-surface-inverse)}:host(.alert-info) .alert-link{color:var(--road-on-info-surface)}:host(.alert-success){color:var(--road-on-success-surface);background:var(--road-success-surface);border-color:var(--road-success-outline)}:host(.alert-success) ::slotted(road-icon){fill:var(--road-success-icon)}:host(.alert-success) ::slotted(road-button){display:block;margin:0.375rem 0 0;color:var(--road-on-success-surface-inverse);background:var(--road-success-surface-inverse);fill:var(--road-on-success-surface-inverse)}:host(.alert-success) .alert-link{color:var(--road-on-success-surface)}:host(.alert-warning){color:var(--road-on-warning-surface);background:var(--road-warning-surface);border-color:var(--road-warning-outline)}:host(.alert-warning) ::slotted(road-icon){fill:var(--road-warning-icon)}:host(.alert-warning) ::slotted(road-button){display:block;margin:0.375rem 0 0;color:var(--road-on-warning-surface-inverse);background:var(--road-warning-surface-inverse);fill:var(--road-on-warning-surface-inverse)}:host(.alert-warning) .alert-link{color:var(--road-on-warning-surface)}:host(.alert-danger){color:var(--road-on-danger-surface);background:var(--road-danger-surface);border-color:var(--road-danger-outline)}:host(.alert-danger) ::slotted(road-icon){fill:var(--road-danger-icon)}:host(.alert-danger) ::slotted(road-button){display:block;margin:0.375rem 0 0;color:var(--road-on-danger-surface-inverse);background:var(--road-danger-surface-inverse);fill:var(--road-on-danger-surface-inverse)}:host(.alert-danger) .alert-link{color:var(--road-on-danger-surface)}";
|
|
3227
3227
|
var RoadAlertStyle0 = alertCss;
|
|
3228
3228
|
|
|
3229
3229
|
/**
|
|
@@ -3300,7 +3300,7 @@ class Alert {
|
|
|
3300
3300
|
const btnContainerClass = this.hasCloseIcon ? 'btn-container justify-end' : 'btn-container';
|
|
3301
3301
|
const hasButtonSlot = !!((_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelector('[slot="button"]'));
|
|
3302
3302
|
const closeIconElement = this.hasCloseIcon ? (hAsync("button", { type: "button", class: "alert-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))) : null;
|
|
3303
|
-
return (hAsync(Host, { key: '
|
|
3303
|
+
return (hAsync(Host, { key: '8d3a9861d6730b760dddbe139d4699c47f86c0dd', class: colorClass, role: "alert" }, hAsync("div", { key: '5fdfef650a881a81eb80cd50084a057998ad3142', class: "alert-icon" }, hAsync("slot", { key: '7f293b58bfc1c5f1e0e260c65b788f4775ee76f5', name: "icon" })), hAsync("div", { key: 'c5fc641ba70ae081d17b63c8c1e7cc984ceb9899', class: layoutClass }, hAsync("div", { key: '8def3477a32cf1bbcff10a381d9d5d30abe9366a', class: "alert-container-content" }, this.label && hAsync("span", { key: '124e6feedb257a57f1c05c71d5f574c33756d9b2', class: "alert-title d-block" }, this.label), hAsync("p", { key: '1a521139001b804063aa671dccd75f3a01a6572e', class: "alert-description" }, hAsync("slot", { key: 'b7fb28b90e82c652a10003cd81d1eacd5df88a69' })), this.link && hAsync("a", { key: 'a44aa92a4e967557fe3720f412990671233f2b5d', href: this.url, class: "alert-link link link-default" }, this.link)), hasButtonSlot && (hAsync("div", { key: '1c93117e833c8f4ab3bfb1ff8781884013fc6d6a', class: btnContainerClass }, hAsync("slot", { key: '1dc9b845c22754a2fa6ed6673a27de14b8037c2f', name: "button" }))), closeIconElement)));
|
|
3304
3304
|
}
|
|
3305
3305
|
get el() { return getElement(this); }
|
|
3306
3306
|
static get style() { return RoadAlertStyle0; }
|
|
@@ -3405,7 +3405,7 @@ class Asset {
|
|
|
3405
3405
|
}
|
|
3406
3406
|
}
|
|
3407
3407
|
render() {
|
|
3408
|
-
return (hAsync(Host, { key: '
|
|
3408
|
+
return (hAsync(Host, { key: '8e7995b04221aaba4ec62613eb00bfdd32ca751d', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3409
3409
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3410
3410
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3411
3411
|
}
|
|
@@ -3475,8 +3475,8 @@ class Autocomplete {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
render() {
|
|
3478
|
-
return (hAsync(Host, { key: '
|
|
3479
|
-
hAsync("ul", { key: '
|
|
3478
|
+
return (hAsync(Host, { key: 'a29547f605ff876affeb62d0c97cfc91fd78953e' }, hAsync("slot", { key: '7e230540ae914c49eca145abe87b4c7909236b5f' }), this.visible && this.options.length > 0 &&
|
|
3479
|
+
hAsync("ul", { key: '9d653f372a438d224812091aada89874a9255fe6', class: "autocomplete-list" }, this.options && this.options.map(option => (hAsync("li", { class: "autocomplete-item", role: "menuitem", onClick: () => this.onClick(option.value, option.label), tabindex: "0" }, option.label))))));
|
|
3480
3480
|
}
|
|
3481
3481
|
get el() { return getElement(this); }
|
|
3482
3482
|
static get style() { return RoadAutocompleteStyle0; }
|
|
@@ -3509,7 +3509,7 @@ class Avatar {
|
|
|
3509
3509
|
}
|
|
3510
3510
|
render() {
|
|
3511
3511
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3512
|
-
return (hAsync(Host, { key: '
|
|
3512
|
+
return (hAsync(Host, { key: '7f884ebfae4a22966a5881e427f4b9faa3999553', class: `${sizeClass}` }, hAsync("slot", { key: '761a06284dcd0b89047c7b487b949f621fe87b24' })));
|
|
3513
3513
|
}
|
|
3514
3514
|
static get style() { return RoadAvatarStyle0; }
|
|
3515
3515
|
static get cmpMeta() { return {
|
|
@@ -3550,7 +3550,7 @@ class Badge {
|
|
|
3550
3550
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3551
3551
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3552
3552
|
const sizeClass = this.size !== undefined ? `badge-${this.size}` : '';
|
|
3553
|
-
return (hAsync(Host, { key: '
|
|
3553
|
+
return (hAsync(Host, { key: '6d46358940e3023bd25eb5aa5cce7b0bb2bc3f51', class: `${colorClass} ${bubbleClass} ${sizeClass}` }, hAsync("slot", { key: '766b5ce1dcc35847374722bbf61528254a53fa07' })));
|
|
3554
3554
|
}
|
|
3555
3555
|
static get style() { return RoadBadgeStyle0; }
|
|
3556
3556
|
static get cmpMeta() { return {
|
|
@@ -3600,7 +3600,7 @@ class Banner {
|
|
|
3600
3600
|
}
|
|
3601
3601
|
render() {
|
|
3602
3602
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3603
|
-
return (hAsync(Host, { key: '
|
|
3603
|
+
return (hAsync(Host, { key: '1ec389ef2766a2ce86c8e3f985c72f024931f5d9', class: bannerIsOpenClass }, hAsync("div", { key: '494f507a78b4b516a334fdcd9ff912a49e728cb9' }, hAsync("span", { key: '885b9f5feee40df84c83e3c27130ad074b50c901', class: "banner-open-label" }, this.label), this.link && hAsync("a", { key: '819c55d5ce00a26ab9ce50ebb91abb29ea7af358', href: this.url, class: "banner-open-link" }, this.link), hAsync("button", { key: 'a9d241791c04a22ca194a3311294ad8a40f535dc', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, hAsync("road-icon", { key: '36a068e5a2fd412a4f6de394dc55d9797a783824', icon: navigationClose, size: "md" })))));
|
|
3604
3604
|
}
|
|
3605
3605
|
static get style() { return RoadBannerStyle0; }
|
|
3606
3606
|
static get cmpMeta() { return {
|
|
@@ -3711,7 +3711,7 @@ class Button$2 {
|
|
|
3711
3711
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3712
3712
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3713
3713
|
const inverseClass = this.inverse ? 'btn-inverse' : '';
|
|
3714
|
-
return (hAsync(Host, { key: '
|
|
3714
|
+
return (hAsync(Host, { key: 'c8075b55e02931572795b61df96506d35ecbbbaf', class: [colorClass, sizeClass, expandClass, iconOnlyClass, inverseClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, hAsync(TagType, Object.assign({ key: 'a1c5f09a0a0d9047f6bf301e57f1e2adacf9e845' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("slot", { key: 'b9aa9d91ebc828aa679cec1d31a909e255f3ecae', name: "start" }), hAsync("slot", { key: '0291b0982593e7781bdc24e0d09ef20e7e1c3216' }), hAsync("slot", { key: 'fa17ccbe699eed853161fd2694ea970a14ae86c7', name: "end" }))));
|
|
3715
3715
|
}
|
|
3716
3716
|
get el() { return getElement(this); }
|
|
3717
3717
|
static get style() { return RoadButtonStyle0; }
|
|
@@ -3800,7 +3800,7 @@ class Button$1 {
|
|
|
3800
3800
|
render() {
|
|
3801
3801
|
const TagType = 'button';
|
|
3802
3802
|
const outlineClass = this.outline ? 'btn-outline' : 'btn-default';
|
|
3803
|
-
return (hAsync(Host, { key: '
|
|
3803
|
+
return (hAsync(Host, { key: '520a43690adcea3ff9c2e0a8549bafc0cbee20b7', onClick: this.onClick, class: [outlineClass].filter(Boolean).join(' '), "aria-disabled": this.disabled ? 'true' : null }, hAsync(TagType, { key: 'ec23eb063517b6eb9052ea3d9d972202326d06f7', class: "button-native", part: "native", disabled: this.disabled, onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: '4b25d8f31f25539a3bb4b8ff619e35edfedbf6cb' }))));
|
|
3804
3804
|
}
|
|
3805
3805
|
get el() { return getElement(this); }
|
|
3806
3806
|
static get style() { return RoadButtonCarouselStyle0; }
|
|
@@ -3876,7 +3876,7 @@ class Button {
|
|
|
3876
3876
|
render() {
|
|
3877
3877
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3878
3878
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3879
|
-
return (hAsync(Host, { key: '
|
|
3879
|
+
return (hAsync(Host, { key: '9ce107d336c1811bc2b8a877f802e88b4472d9ad', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: '4dd08a75e71b84621801a4e219e4d1d90702b4d6', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: '30b7cd19bea166092d99e2f43c01788f058306fd', name: "start" }), hAsync("slot", { key: '7f568a97f373b99f8a92371fea02fec6d7d9462f' }))));
|
|
3880
3880
|
}
|
|
3881
3881
|
get el() { return getElement(this); }
|
|
3882
3882
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3921,7 +3921,7 @@ class ButtonBar {
|
|
|
3921
3921
|
this.selectedTabChanged();
|
|
3922
3922
|
}
|
|
3923
3923
|
render() {
|
|
3924
|
-
return (hAsync(Host, { key: '
|
|
3924
|
+
return (hAsync(Host, { key: '4220c429f18200f507e395f04971820d4615bc3b', role: "tablist" }, hAsync("slot", { key: 'f0e87a296ac87aa0f5507d536fe183e4c26bc138' })));
|
|
3925
3925
|
}
|
|
3926
3926
|
get el() { return getElement(this); }
|
|
3927
3927
|
static get watchers() { return {
|
|
@@ -3940,7 +3940,7 @@ class ButtonBar {
|
|
|
3940
3940
|
}; }
|
|
3941
3941
|
}
|
|
3942
3942
|
|
|
3943
|
-
const cardCss = ":host{position:relative;box-sizing:border-box;display:block;margin-bottom:var(--margin-bottom, 1rem);background:var(--road-surface);border:1px solid var(--road-outline-weak);border-radius:var(--road-spacing-02);padding:var(--road-spacing-03)}:host(.card-elevation-none){box-shadow:none}:host(.card-elevation-lowest){box-shadow:var(--road-elevation-lowest)}:host(.card-elevation-average){box-shadow:var(--road-elevation-average)}:host(.is-button){border:1px solid var(--road-outline);padding:0}:host(.is-button:hover){border:1px solid var(--road-outline-variant);outline:2px solid var(--road-button-ghost-variant)}:host(.is-button:focus-visible),:host(.is-button:focus){border:1px solid var(--road-outline);outline-offset:1px;outline:2px solid var(--road-outline-variant)}:host(.is-button.is-disabled){cursor:not-allowed;pointer-events:none;border:1px solid var(--road-surface-disabled);background:var(--road-surface-disabled)}:host(.is-button.is-disabled) .card-native,:host(.is-button.selected.is-disabled) .card-native{background:none}:host(.is-button.selected){border:2px solid var(--road-primary);outline:none}:host(.is-button.selected:hover){border:2px solid var(--road-outline-variant);outline:2px solid var(--road-button-ghost-variant)}:host(.is-button.selected
|
|
3943
|
+
const cardCss = ":host{position:relative;box-sizing:border-box;display:block;margin-bottom:var(--margin-bottom, 1rem);background:var(--road-surface);border:1px solid var(--road-outline-weak);border-radius:var(--road-spacing-02);padding:var(--road-spacing-03)}:host(.card-elevation-none){box-shadow:none}:host(.card-elevation-lowest){box-shadow:var(--road-elevation-lowest)}:host(.card-elevation-average){box-shadow:var(--road-elevation-average)}:host(.is-button){border:1px solid var(--road-outline);padding:0}:host(.is-button:hover){border:1px solid var(--road-outline-variant);outline:2px solid var(--road-button-ghost-variant)}:host(.is-button:focus-visible),:host(.is-button:focus){border:1px solid var(--road-outline);outline-offset:1px;outline:2px solid var(--road-outline-variant)}:host(.is-button.is-disabled){cursor:not-allowed;pointer-events:none;border:1px solid var(--road-surface-disabled);background:var(--road-surface-disabled)}:host(.is-button.is-disabled) .card-native,:host(.is-button.selected.is-disabled) .card-native{background:none}:host(.is-button.selected){border:2px solid var(--road-primary);outline:none}:host(.is-button.selected:hover){border:2px solid var(--road-outline-variant);outline:2px solid var(--road-button-ghost-variant)}:host(.is-button.selected.is-single:hover){border:2px solid var(--road-primary);outline:2px solid var(--road-button-ghost-variant)}:host(.is-button.selected:focus-visible),:host(.is-button.selected:focus){border:2px solid var(--road-outline-variant);outline-offset:1px;outline:2px solid var(--road-outline-variant)}:host(.is-button.selected.is-single:focus){border:2px solid var(--road-primary);outline:2px solid var(--road-outline-variant)}:host(.is-button.selected.is-disabled){cursor:not-allowed;pointer-events:none;outline:none;background:var(--road-surface-disabled);border:2px solid var(--road-surface-disabled)}.card-native{box-sizing:border-box;display:block;width:100%;height:100%;padding:var(--road-spacing-06);margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;background:var(--road-surface);border:0;border-radius:0.25rem;outline:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}a,button{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}::slotted(road-icon){text-align:center}";
|
|
3944
3944
|
var RoadCardStyle0 = cardCss;
|
|
3945
3945
|
|
|
3946
3946
|
/**
|
|
@@ -4044,7 +4044,7 @@ class Card {
|
|
|
4044
4044
|
const isButtonClass = isButtonMode ? "is-button" : "";
|
|
4045
4045
|
const disabledClass = isButtonMode && this.disabled ? "is-disabled" : "";
|
|
4046
4046
|
const singleClass = isButtonMode && this.selectionMode === "single" ? "is-single" : "";
|
|
4047
|
-
return (hAsync(Host, { key: '
|
|
4047
|
+
return (hAsync(Host, { key: '7eeca2e8ea56b84c7f4e137ad192871c8a9da811', class: `${elevationClass} ${selectedClass} ${isButtonClass} ${disabledClass} ${singleClass}` }, this.renderCard()));
|
|
4048
4048
|
}
|
|
4049
4049
|
get el() { return getElement(this); }
|
|
4050
4050
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10800,7 +10800,7 @@ class Carousel {
|
|
|
10800
10800
|
});
|
|
10801
10801
|
}
|
|
10802
10802
|
render() {
|
|
10803
|
-
return (hAsync(Host, { key: '
|
|
10803
|
+
return (hAsync(Host, { key: '96eb73ccda7cff00f2dcf66cc06be77fed190eeb', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: '9c0dd1baec220fb101020f1b64c6e1bcbf3bdd5b', class: "swiper-wrapper" }, hAsync("slot", { key: '507f0aec4c4c96e0a7b23059831d2a15914917b5' })), this.pager && (hAsync("div", { key: '5d48e628cba52e7eaf12f3e3a1b0f35cad79da0a', class: "swiper-pagination", ref: (el) => (this.paginationEl = el) })), this.arrows && (hAsync("div", { key: 'baf16d217a82435ad678e6d9920f5de02dfe7dc2', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: '1265ba880a6d0268ca45ce6a57c7bc74984e0733', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: 'caa2168745a3cd92b4e44b4131161cf56869a43c', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: 'd1f328118ada8e591f85f1ebc8c35d0ad8234751', icon: navigationChevron })))));
|
|
10804
10804
|
}
|
|
10805
10805
|
get el() { return getElement(this); }
|
|
10806
10806
|
static get watchers() { return {
|
|
@@ -10852,10 +10852,10 @@ class CarouselItem {
|
|
|
10852
10852
|
registerInstance(this, hostRef);
|
|
10853
10853
|
}
|
|
10854
10854
|
render() {
|
|
10855
|
-
return (hAsync(Host, { key: '
|
|
10855
|
+
return (hAsync(Host, { key: '1d25b2fe5373b43fa711793a695b3d48e015ff81', class: {
|
|
10856
10856
|
'swiper-slide': true,
|
|
10857
10857
|
'swiper-zoom-container': true,
|
|
10858
|
-
} }, hAsync("slot", { key: '
|
|
10858
|
+
} }, hAsync("slot", { key: 'dcedfe5b5ba8904ccee633efb9d2d5b8f411941a' })));
|
|
10859
10859
|
}
|
|
10860
10860
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10861
10861
|
static get cmpMeta() { return {
|
|
@@ -10951,7 +10951,7 @@ class Checkbox {
|
|
|
10951
10951
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10952
10952
|
const sizeClass = this.size !== undefined ? `form-check-label-${this.size}` : '';
|
|
10953
10953
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10954
|
-
return (hAsync(Host, { key: '
|
|
10954
|
+
return (hAsync(Host, { key: 'debeb7eb74a696f929db83bec1b7163160950995' }, hAsync("input", { key: '3b0dc94985056683dc3b6fdf0764990c7b46056c', class: `form-check-input ${isInvalidClass}`, type: "checkbox", id: this.checkboxId, name: this.name, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: '1b28f38bf33fb0864deb803012a8a0e301ecf6f0', class: `form-check-label ${inverseClass} ${sizeClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: 'bf292165d29c4d352984d8f7344d8d5c80f2f214' }, this.label, " ", hAsync("span", { key: 'a21360f6719f57d867725b5977a752c27fafc4b0', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: 'e6533aa3773e512393c9078b3ade2a3aebb527a9' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '3cf72d13844fdde37aa568768de4096e7ca928a9', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: '50852b4333b513e8f23beaf4422a5868e458a956', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: 'dfa0542f59042741a85acbb80383395c7f37e0a6', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'a4982ed4fab93d7131bde6cca6df16dd4febb84d', class: "helper" }, this.helper)));
|
|
10955
10955
|
}
|
|
10956
10956
|
static get watchers() { return {
|
|
10957
10957
|
"checked": ["checkedChanged"]
|
|
@@ -11010,7 +11010,7 @@ class Chip {
|
|
|
11010
11010
|
}
|
|
11011
11011
|
render() {
|
|
11012
11012
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
11013
|
-
return (hAsync(Host, { key: '
|
|
11013
|
+
return (hAsync(Host, { key: '297bb9862a6a7367e31a4ff12c47ef5d206ab14a', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: '8010119adc482c88273f7f31f74b87d1c4ca7943', class: "chip-description" }, hAsync("slot", { key: '5f372945420bdac30f014356fd4abf921c4f0f6a' })), this.hasCloseIcon && hAsync("road-icon", { key: '0c1b67651c20acc671633d23d3eab30b774b6f24', class: "chip-close", icon: navigationClose })));
|
|
11014
11014
|
}
|
|
11015
11015
|
static get style() { return RoadChipStyle0; }
|
|
11016
11016
|
static get cmpMeta() { return {
|
|
@@ -11039,7 +11039,7 @@ class Col {
|
|
|
11039
11039
|
registerInstance(this, hostRef);
|
|
11040
11040
|
}
|
|
11041
11041
|
render() {
|
|
11042
|
-
return (hAsync("slot", { key: '
|
|
11042
|
+
return (hAsync("slot", { key: '8f856a980820ad194551d4fe59eb73c0dcc1515e' }));
|
|
11043
11043
|
}
|
|
11044
11044
|
static get style() { return RoadColStyle0; }
|
|
11045
11045
|
static get cmpMeta() { return {
|
|
@@ -11089,7 +11089,7 @@ class Collapse {
|
|
|
11089
11089
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
11090
11090
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
11091
11091
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
11092
|
-
return (hAsync(Host, { key: '
|
|
11092
|
+
return (hAsync(Host, { key: '79aef9ac691ab8ad63bf3035ef982983591f7c11' }, hAsync("slot", { key: 'f365fd80a08a4fcc1129a94f67db1fdb1c3b18e6' }), hAsync("div", { key: 'c77428b17434fa6054f20b4688e4f1fb6beab310', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: '33a02893d686f862a45ae605cc07926d41fdb5bd', name: "collapsed-content" })), hAsync("div", { key: '548377cd3d3a4870810df01e21f80466acf4cecd', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: '6704e336904e22984ea07032707116ce05a992a2', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
11093
11093
|
}
|
|
11094
11094
|
static get style() { return RoadCollapseStyle0; }
|
|
11095
11095
|
static get cmpMeta() { return {
|
|
@@ -11126,7 +11126,7 @@ class ContentCard {
|
|
|
11126
11126
|
}
|
|
11127
11127
|
render() {
|
|
11128
11128
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11129
|
-
return (hAsync(Host, { key: '
|
|
11129
|
+
return (hAsync(Host, { key: 'd4e6a26db6d686a8f81901bbf43763c47381bd65' }, hAsync("road-img", { key: '6b7df2483841bb73a3596980372cf0d225b56101', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '6ff1b831a41aef72070bb4aa642ff001d5a36c46', class: "content-card-description" }, hAsync("road-label", { key: 'c75a52a1b69f91b2889991a2c2cafd4210d525a1', class: "content-card-description-title" }, hAsync("slot", { key: '31737158eac62a8d3c6de53aa508505e8437176e', name: "label" })), hAsync("p", { key: 'afbba8775b1cceeb98cd7603be8a19b693fc1adb', class: "content-card-description-text" }, hAsync("slot", { key: '40a9dde71ea16d31d93ba92e69b759e695d7e796', name: "description" })), hAsync("div", { key: '2935402d4042e319c37d685e833f3e65660ae572', class: "content-card-description-buttons" }, hAsync("slot", { key: '1657529eca315cc648fb3bbd27425e579de5fe3b' })))));
|
|
11130
11130
|
}
|
|
11131
11131
|
static get style() { return RoadContentCardStyle0; }
|
|
11132
11132
|
static get cmpMeta() { return {
|
|
@@ -11154,6 +11154,8 @@ class Counter {
|
|
|
11154
11154
|
this.leftIconClasses = "";
|
|
11155
11155
|
this.rightIconClasses = "";
|
|
11156
11156
|
this.isDustbinVisible = false;
|
|
11157
|
+
this.decreaseAriaLabel = "";
|
|
11158
|
+
this.increaseAriaLabel = "";
|
|
11157
11159
|
/**
|
|
11158
11160
|
* The id of counter
|
|
11159
11161
|
*/
|
|
@@ -11178,6 +11180,22 @@ class Counter {
|
|
|
11178
11180
|
* Set to `true` to not modify the input field
|
|
11179
11181
|
*/
|
|
11180
11182
|
this.readonly = false;
|
|
11183
|
+
/**
|
|
11184
|
+
* Accessible label for the dustbin button when `dustbin` is enabled and value equals `min`.
|
|
11185
|
+
*/
|
|
11186
|
+
this.dustbinLabelA11y = "Supprimer l'article";
|
|
11187
|
+
/**
|
|
11188
|
+
* Accessible label for the decrease button (suffix `, minimum {min}` is appended when not in dustbin mode).
|
|
11189
|
+
*/
|
|
11190
|
+
this.decreaseLabelA11y = 'Diminuer la quantité';
|
|
11191
|
+
/**
|
|
11192
|
+
* Accessible label for the increase button (suffix `, maximum {max}` is appended when not in dustbin mode).
|
|
11193
|
+
*/
|
|
11194
|
+
this.increaseLabelA11y = 'Augmenter la quantité';
|
|
11195
|
+
/**
|
|
11196
|
+
* Accessible label for the input field.
|
|
11197
|
+
*/
|
|
11198
|
+
this.quantityLabelA11y = 'Quantité';
|
|
11181
11199
|
this.setIsDustbinVisible = (valueInput) => {
|
|
11182
11200
|
if (valueInput > this.min) {
|
|
11183
11201
|
this.isDustbinVisible = false;
|
|
@@ -11249,6 +11267,23 @@ class Counter {
|
|
|
11249
11267
|
onValueChange(valueInput) {
|
|
11250
11268
|
this.setIsDustbinVisible(valueInput);
|
|
11251
11269
|
this.setIconsClasses(valueInput);
|
|
11270
|
+
this.updateAriaLabels(valueInput);
|
|
11271
|
+
}
|
|
11272
|
+
onA11yLabelChange() {
|
|
11273
|
+
var _a, _b, _c;
|
|
11274
|
+
const currentValue = parseInt((_c = (_b = (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.querySelector('input')) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : String(this.value));
|
|
11275
|
+
this.updateAriaLabels(currentValue);
|
|
11276
|
+
}
|
|
11277
|
+
updateAriaLabels(valueInput) {
|
|
11278
|
+
const isDustbin = this.isDustbinVisible || (valueInput <= this.min && this.dustbin);
|
|
11279
|
+
this.decreaseAriaLabel = isDustbin
|
|
11280
|
+
? this.dustbinLabelA11y
|
|
11281
|
+
: this.min > 0
|
|
11282
|
+
? `${this.decreaseLabelA11y}, minimum ${this.min}`
|
|
11283
|
+
: this.decreaseLabelA11y;
|
|
11284
|
+
this.increaseAriaLabel = this.max
|
|
11285
|
+
? `${this.increaseLabelA11y}, maximum ${this.max}`
|
|
11286
|
+
: this.increaseLabelA11y;
|
|
11252
11287
|
}
|
|
11253
11288
|
setIconsClasses(valueInput) {
|
|
11254
11289
|
valueInput = valueInput !== null && valueInput !== void 0 ? valueInput : parseInt(this.inputElement.querySelector('input').value);
|
|
@@ -11304,12 +11339,15 @@ class Counter {
|
|
|
11304
11339
|
}
|
|
11305
11340
|
render() {
|
|
11306
11341
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11307
|
-
return (hAsync("road-input-group", { key: '
|
|
11342
|
+
return (hAsync("road-input-group", { key: '33ba88d25931c54c023de1e20876789fd948281d', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: 'a8fc0c7819c357bee9e591c9c6a76611b039cfbd', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, disabled: this.readonly || (this.leftIconClasses === "disabled"), "aria-label": this.decreaseAriaLabel, "data-cy": "road-decrease" }, hAsync("road-icon", { key: 'e8dd742666b3e1da9e01c2b51c1c8c683b5613c9', name: this.isDustbinVisible ? "delete-forever" : "navigation-add-less", ref: (el) => this.iconCounterLess = el, size: this.size, "data-cy": dataCi, "aria-hidden": "true" })), hAsync("road-input", { key: '2938b887550cbdb918e2d3a6db6fa0e71a003220', ref: (el) => this.inputElement = el, type: "number", min: this.min.toString(), max: (this.max && this.max.toString()), step: this.step, value: this.value, onRoadChange: this.onRoadChange, onKeyUp: this.checkValue, "data-cy": "road-input-counter", readonly: this.readonly, label: "Quantit\u00E9", "aria-valuenow": this.value, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-label": this.quantityLabelA11y, "aria-live": "polite" }), hAsync("road-button", { key: '5ab56728ce62496bd47e1aa8b2d015022ae7f290', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, disabled: this.readonly || (this.rightIconClasses === "disabled"), "aria-label": this.increaseAriaLabel, "data-cy": "road-increase" }, hAsync("road-icon", { key: '8c7b34eefecd0d825cffa8681fb122906c3631c6', name: "navigation-add-more", size: this.size, "aria-hidden": "true" }))));
|
|
11308
11343
|
}
|
|
11309
11344
|
get el() { return getElement(this); }
|
|
11310
11345
|
static get watchers() { return {
|
|
11311
11346
|
"value": ["onValueChange"],
|
|
11312
|
-
"readonly": ["onValueChange"]
|
|
11347
|
+
"readonly": ["onValueChange"],
|
|
11348
|
+
"decreaseLabelA11y": ["onA11yLabelChange"],
|
|
11349
|
+
"increaseLabelA11y": ["onA11yLabelChange"],
|
|
11350
|
+
"dustbinLabelA11y": ["onA11yLabelChange"]
|
|
11313
11351
|
}; }
|
|
11314
11352
|
static get style() { return RoadCounterStyle0; }
|
|
11315
11353
|
static get cmpMeta() { return {
|
|
@@ -11324,9 +11362,15 @@ class Counter {
|
|
|
11324
11362
|
"size": [1],
|
|
11325
11363
|
"dustbin": [4],
|
|
11326
11364
|
"readonly": [4],
|
|
11365
|
+
"dustbinLabelA11y": [1, "dustbin-label-a11y"],
|
|
11366
|
+
"decreaseLabelA11y": [1, "decrease-label-a11y"],
|
|
11367
|
+
"increaseLabelA11y": [1, "increase-label-a11y"],
|
|
11368
|
+
"quantityLabelA11y": [1, "quantity-label-a11y"],
|
|
11327
11369
|
"leftIconClasses": [32],
|
|
11328
11370
|
"rightIconClasses": [32],
|
|
11329
|
-
"isDustbinVisible": [32]
|
|
11371
|
+
"isDustbinVisible": [32],
|
|
11372
|
+
"decreaseAriaLabel": [32],
|
|
11373
|
+
"increaseAriaLabel": [32]
|
|
11330
11374
|
},
|
|
11331
11375
|
"$listeners$": undefined,
|
|
11332
11376
|
"$lazyBundleId$": "-",
|
|
@@ -11425,11 +11469,11 @@ class Dialog {
|
|
|
11425
11469
|
break;
|
|
11426
11470
|
}
|
|
11427
11471
|
}
|
|
11428
|
-
return (hAsync(Host, { key: '
|
|
11472
|
+
return (hAsync(Host, { key: '3cd2572babc9fde82e42a059090ff98586bd8770', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: 'fbc4ee3193fe712acdc884be9195ebea22c7e20c', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: 'a7cc0a53e2145f7c2772b8cbace032bae6054539', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: 'e6dd73409bd5f19f340d2d337a1751d0a555a8d4', class: "dialog-content" }, hAsync("header", { key: '5576424404938464efa043627438b32c2519a184', class: "dialog-header" }, this.hasCloseIcon
|
|
11429
11473
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11430
|
-
: ''), hAsync("div", { key: '
|
|
11474
|
+
: ''), hAsync("div", { key: '1ea1334eacc0218440d5ad13d1988269602f2f3d', class: "dialog-body" }, this.color !== undefined
|
|
11431
11475
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11432
|
-
: '', hAsync("h2", { key: '
|
|
11476
|
+
: '', hAsync("h2", { key: '4a2af9fb2184054c259ff4a26c614efa99e0f5fb', class: "dialog-title" }, this.label), hAsync("p", { key: 'ec577b92e7d75a837a166a039956acd6ffb1ee60', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: '533a99b29ba07474fb440c45aae0b69d45da34a6', class: "dialog-footer" }, hAsync("slot", { key: 'fdc249c2dab4295806ae7dae723b8c7aa499ff58' }))))));
|
|
11433
11477
|
}
|
|
11434
11478
|
get el() { return getElement(this); }
|
|
11435
11479
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -13032,7 +13076,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
13032
13076
|
return trap;
|
|
13033
13077
|
};
|
|
13034
13078
|
|
|
13035
|
-
const drawerCss = ":host{--background:var(--road-surface);--color:var(--road-on-surface);--header-icon:var(--road-on-surface);--header-color:var(--road-on-surface);--header-background:var(--road-surface);--header-delimiter:0;--back-chevron-color:var(--road-icon);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;transition:visibility 0s linear 0.3s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay);opacity:0}.road-drawer-wrapper{width:100%}.road-drawer-wrapper .drawer-dialog{position:absolute;right:0;width:100%;pointer-events:none;transition:transform 0.3s ease-out;opacity:0;transform:
|
|
13079
|
+
const drawerCss = ":host{--background:var(--road-surface);--color:var(--road-on-surface);--header-icon:var(--road-on-surface);--header-color:var(--road-on-surface);--header-background:var(--road-surface);--header-delimiter:0;--back-chevron-color:var(--road-icon);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;transition:visibility 0s linear 0.3s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay);opacity:0}.road-drawer-wrapper{width:100%}.road-drawer-wrapper .drawer-dialog{position:absolute;right:0;width:100%;pointer-events:none;transition:transform 0.3s ease-out;opacity:0;transform:none}:host(.drawer-right){justify-content:flex-end}:host(.drawer-right) .road-drawer-wrapper .drawer-dialog{transform:translateX(100%)}:host(.drawer-left) .road-drawer-wrapper .drawer-dialog{left:0;transform:translateX(-100%)}:host(.drawer-bottom){align-items:flex-end}:host(.drawer-bottom) .road-drawer-wrapper .drawer-dialog{width:100%;max-height:var(--max-height);bottom:0;transform:translateY(100%)}:host(.drawer-bottom) .drawer-content{height:auto}.drawer-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;pointer-events:auto;background-color:var(--background);background-clip:padding-box;box-shadow:var(--road-elevation-hight)}.drawer-header{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;color:var(--header-color);background:var(--header-background);border-color:var(--road-grey-300);border-style:solid;border-width:var(--header-delimiter)}.drawer-header road-icon{flex-shrink:0;color:var(--header-icon)}.drawer-footer{padding:var(--road-spacing-05);background-color:var(--road-surface)}.drawer-footer.remove-padding{padding:0}.drawer-header-inverse{--header-icon:var(--road-on-primary);--header-color:var(--road-on-primary);--header-background:var(--road-primary-variant);margin-bottom:2.5rem}.drawer-action,.drawer-close{display:flex;align-items:center;justify-content:center;padding:0.5rem;font-family:inherit;font-size:0.875rem;color:inherit;cursor:pointer;background:transparent;border:0;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon{color:var(--back-chevron-color)}.drawer-action~.drawer-title,.drawer-close~.drawer-title{padding-left:0}.drawer-action-left,.drawer-close-left{margin-right:auto}.drawer-title{display:flex;flex-grow:1;align-items:center;justify-content:center;padding-left:3.5rem;margin:0;font-size:var(--road-body-medium)}.drawer-body{overflow-y:auto;padding:0 var(--road-spacing-05) var(--road-spacing-05)}.drawer-body.remove-padding{padding:0}:host(.drawer-right) .drawer-body,:host(.drawer-left) .drawer-body{height:calc(100vh - 3.5rem)}.drawer-inner{padding:0 1rem 2.5rem}@media (min-width: 768px){.drawer-inner{padding:0 2rem 2.5rem}.drawer-body{padding:0 var(--road-spacing-08) var(--road-spacing-05)}.drawer-body.remove-padding{padding:0}.drawer-footer{padding:var(--road-spacing-05) var(--road-spacing-08)}.drawer-footer.remove-padding{padding:0}}:host(.drawer-open){visibility:visible !important;transition:visibility 0s linear 0s}:host(.drawer-open) .drawer-overlay,:host(.drawer-open) .drawer-dialog,:host(.drawer-open) .road-drawer-wrapper .drawer-dialog{opacity:1;transform:translateY(0) translateX(0)}@media (prefers-reduced-motion: no-preference){:host(.drawer-open) .drawer-overlay,:host(.drawer-open) .drawer-dialog{animation:road-drawer-fade-in 0.3s ease-out both}.drawer-overlay,.drawer-dialog{animation:road-drawer-fade-out 0.3s ease-out both}@keyframes road-drawer-fade-in{from{opacity:0}to{opacity:1}}@keyframes road-drawer-fade-out{from{opacity:1}to{opacity:0}}}";
|
|
13036
13080
|
var RoadDrawerStyle0 = drawerCss;
|
|
13037
13081
|
|
|
13038
13082
|
/**
|
|
@@ -13272,7 +13316,7 @@ class Drawer {
|
|
|
13272
13316
|
const backIconElement = this.hasBackIcon ? (hAsync("button", { type: "button", class: "drawer-action", "aria-label": ariaLabelBack, onClick: this.onClickBack }, hAsync("road-icon", { icon: navigationChevron, rotate: "180" }), this.backText)) : null;
|
|
13273
13317
|
const closeIconElement = this.hasCloseIcon ? (hAsync("button", { type: "button", class: "drawer-close", onClick: this.onClick, "aria-label": ariaLabelClose }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))) : null;
|
|
13274
13318
|
const drawerWidthValue = this.position === "bottom" ? "100%" : `${this.drawerWidth}px`;
|
|
13275
|
-
return (hAsync(Host, { key: '
|
|
13319
|
+
return (hAsync(Host, { key: '28e6c2a6c4c0e6bf9615323faeb4fefe5d0c4a5e', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: '58c9436538f430aead500867e7e3eb5b899a3d45', class: "road-drawer-wrapper" }, hAsync("div", { key: '7e27688cdde1db9aa87ecab1f13bfe02346cd8d6', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '00c9c61582a7dd58eecba17edc097c9fe61cf80e', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document" }, hAsync("div", { key: '184698929c59c91792f6b7224bee67e85e849c54', class: "drawer-content" }, hAsync("header", { key: 'd9b73a2c6bb8bf54ec5cf9a1d5f7df082496b50c', class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle ? (hAsync("h2", { class: "drawer-title" }, this.drawerTitle)) : (hAsync("div", { class: "drawer-title" }, hAsync("slot", { name: "title" }))), closeIconElement), hAsync("div", { key: '24f654481e962aa43988f3afc08824ba5f3b35b1', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: '5c9c15ac96758fa2fbc17587dd0d991af5818da8' })), hAsync("footer", { key: 'a69988a01e7f3b21c050f253fb56f49101cf2013', class: `drawer-footer ${removePaddingClass}`, hidden: !this.hasFooterContent }, hAsync("slot", { key: 'd5c83194a260f10da51f98c8fe7b580d729916cb', name: "footer", onSlotchange: this.onFooterSlotChange })))))));
|
|
13276
13320
|
}
|
|
13277
13321
|
get el() { return getElement(this); }
|
|
13278
13322
|
static get watchers() { return {
|
|
@@ -13340,7 +13384,7 @@ class Dropdown$1 {
|
|
|
13340
13384
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
13341
13385
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
13342
13386
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
13343
|
-
return (hAsync("details", { key: '
|
|
13387
|
+
return (hAsync("details", { key: 'bc5fa818c7d5dd91c94722776f48b87d1c6991ca', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: 'c1202f485300634612f97ae2484cc7ed01e3ebc4', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: '9a95605996d95b071265419776518a89d25a65e7', class: `d-flex ${positionClass}` }, hAsync("div", { key: '3f84e6126c806c91d7e9e22f34394dcbed042a44', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: '85a7f6eebf12359e7d4e2a1a1f66792faa7c88f2', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: 'aaa684114947dad8ae0411eb2e24b3a0b2543166', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: '176cd6252641ffecf6a2a7ec4aa4bf26cdfa0421', name: "list" }))));
|
|
13344
13388
|
}
|
|
13345
13389
|
get el() { return getElement(this); }
|
|
13346
13390
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -13396,7 +13440,7 @@ class Dropdown {
|
|
|
13396
13440
|
this.isOpen = false;
|
|
13397
13441
|
}
|
|
13398
13442
|
render() {
|
|
13399
|
-
return (hAsync("details", { key: '
|
|
13443
|
+
return (hAsync("details", { key: 'd7580832b6ef2627416ffa619bb48e0a85fe9459', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: 'f8e2e2dcb8e2f8f66206db661d93824cc9370e2a', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: 'ea25e6db168725444c8d3ff00790589a273436b8', class: `d-flex` }, hAsync("div", { key: 'cb09a7404c609829133824827102e3e61c337ef3' }, hAsync("road-avatar", { key: 'f21a0e03058c5f2061c2b2b80102003a69254312' }, hAsync("slot", { key: 'ed8a435e1c7f74c4e563b8f91af5865e20a4968f', name: "avatar" }))))), hAsync("div", { key: 'e1157d5fa05b422aef4b2484efd530ef40d7acc6', class: `dropdown-menu` }, hAsync("div", { key: '864fab60e22d361523b64897acb8d7db916077fc', class: "profil-item" }, hAsync("road-avatar", { key: '879a531e5a2d884b070656769379d77524aa464b', size: "sm" }, hAsync("slot", { key: '9b3b62fa7d289157e8fb71b1e08ac68eca6ce0c5', name: "avatarItem" })), hAsync("div", { key: '400d086eda78ee335a74078fa42231f326969372', class: "profil-item-info" }, hAsync("span", { key: '15abca4ad4b9c98c85de1d3431e1163dc049af7c', class: "profil-item-info-name" }, hAsync("slot", { key: '5351f9847476da8b27cb8dfead17c03171605a24', name: "name" })), hAsync("road-label", { key: 'b5eecf5230251befaf52d4c7602efa8ad4c4b6fc' }, hAsync("slot", { key: 'd14353bfb5bf6d6ec69fb1c8554ba94179a3a2db', name: "email" })))), hAsync("slot", { key: '49cd8ad79bac751b8b1edda5873864a14fd7f4e5', name: "list" }))));
|
|
13400
13444
|
}
|
|
13401
13445
|
get el() { return getElement(this); }
|
|
13402
13446
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -13460,7 +13504,7 @@ class Duration {
|
|
|
13460
13504
|
this.isOpen = false;
|
|
13461
13505
|
}
|
|
13462
13506
|
render() {
|
|
13463
|
-
return (hAsync("road-drawer", { key: '
|
|
13507
|
+
return (hAsync("road-drawer", { key: '64ddf5ad3182385db8fd87700a3725f59cee0912', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: '29bcb02b6e4bd0b9c41d34c7ee36de3ed2392976' }, hAsync("road-row", { key: 'ce8f02f3c03c2f18fc058ef7ec8cb8167bab6ab6', class: "duration-values" }, Array(Math.floor((this.max - this.min) / this.step) + 1).fill(this.min).map(((item, index) => (item + index * this.step))).map(item => hAsync("road-col", { class: "col-3 col-md-2" }, hAsync("road-card", { button: true, value: item }, hAsync("road-label", null, Math.floor(item / 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false }), ":", (item % 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false })))))))));
|
|
13464
13508
|
}
|
|
13465
13509
|
get el() { return getElement(this); }
|
|
13466
13510
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -13506,7 +13550,7 @@ class Flap {
|
|
|
13506
13550
|
}
|
|
13507
13551
|
render() {
|
|
13508
13552
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
13509
|
-
return (hAsync(Host, { key: '
|
|
13553
|
+
return (hAsync(Host, { key: '739602eeec63bce938298c58e66f2ab4bbf44f01', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '38dbde63176a646bbc5985364ccd265aa1e8fddf' })));
|
|
13510
13554
|
}
|
|
13511
13555
|
static get style() { return RoadFlapStyle0; }
|
|
13512
13556
|
static get cmpMeta() { return {
|
|
@@ -13552,7 +13596,7 @@ class GlobalNavigation {
|
|
|
13552
13596
|
this.selectedTabChanged();
|
|
13553
13597
|
}
|
|
13554
13598
|
render() {
|
|
13555
|
-
return (hAsync(Host, { key: '
|
|
13599
|
+
return (hAsync(Host, { key: '30bcf69f0b6bf8daf643db2d4ff16a6b03dcdbbf', role: "application" }, hAsync("slot", { key: 'd3602ab16bf4c420dfc84668ea3b6478fdcf5a6c' })));
|
|
13556
13600
|
}
|
|
13557
13601
|
static get watchers() { return {
|
|
13558
13602
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -13700,7 +13744,7 @@ class GlobalNavigationV2 {
|
|
|
13700
13744
|
this.selectedTabChanged();
|
|
13701
13745
|
}
|
|
13702
13746
|
render() {
|
|
13703
|
-
return (hAsync(Host, { key: '
|
|
13747
|
+
return (hAsync(Host, { key: '5710e04a3f7f9bf93155944647937aac8a5d464c', role: "application" }, hAsync("slot", { key: '52c85d81b143c6725751ddeea13c47d915692053' })));
|
|
13704
13748
|
}
|
|
13705
13749
|
get host() { return getElement(this); }
|
|
13706
13750
|
static get watchers() { return {
|
|
@@ -13730,7 +13774,7 @@ class Grid {
|
|
|
13730
13774
|
registerInstance(this, hostRef);
|
|
13731
13775
|
}
|
|
13732
13776
|
render() {
|
|
13733
|
-
return (hAsync("slot", { key: '
|
|
13777
|
+
return (hAsync("slot", { key: '9fcc36d5c4a156df21c853116ee493c12f1da4fd' }));
|
|
13734
13778
|
}
|
|
13735
13779
|
static get style() { return RoadGridStyle0; }
|
|
13736
13780
|
static get cmpMeta() { return {
|
|
@@ -13833,7 +13877,7 @@ class Icon {
|
|
|
13833
13877
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
13834
13878
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
13835
13879
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
13836
|
-
return (hAsync(Host, { key: '
|
|
13880
|
+
return (hAsync(Host, { key: '7d5d2a6cb1e04af2b2016b7c235c69b6df990153', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
13837
13881
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
13838
13882
|
: hAsync("div", { class: "icon-inner" })));
|
|
13839
13883
|
}
|
|
@@ -13955,7 +13999,7 @@ class Illustration {
|
|
|
13955
13999
|
render() {
|
|
13956
14000
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
13957
14001
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
13958
|
-
return (hAsync(Host, { key: '
|
|
14002
|
+
return (hAsync(Host, { key: '279204d03ea78a03ad2c78286e9c23ca30f9192c', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
13959
14003
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
13960
14004
|
: hAsync("div", { class: "icon-inner" }))));
|
|
13961
14005
|
}
|
|
@@ -14058,7 +14102,7 @@ class Img {
|
|
|
14058
14102
|
}
|
|
14059
14103
|
render() {
|
|
14060
14104
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
14061
|
-
return (hAsync(Host, { key: '
|
|
14105
|
+
return (hAsync(Host, { key: '4f6efeb4a9f1fa0effa60a9f97e722b05e38e85e', class: placeholder }, hAsync("img", { key: '8f4b1a2618f3cdf57a53909b59cc9d82d72b412a', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
14062
14106
|
}
|
|
14063
14107
|
get el() { return getElement(this); }
|
|
14064
14108
|
static get watchers() { return {
|
|
@@ -31529,11 +31573,11 @@ class Input {
|
|
|
31529
31573
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
31530
31574
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31531
31575
|
const isValidClass = this.success == true ? 'is-valid' : '';
|
|
31532
|
-
return (hAsync(Host, { key: '
|
|
31576
|
+
return (hAsync(Host, { key: 'f0e25b90c99329da56cf8274c6cf50be36c51e91', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: 'c7431e17075d1a35e4f3bb938f5dc3ab1a0f2c3a', class: `form-control ${hasValueClass} ${isInvalidClass} ${isValidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, list: this.list, value: value, onInput: this.onInput, onCompositionstart: this.onCompositionStart, onCompositionupdate: this.onCompositionUpdate, onCompositionend: this.onCompositionEnd, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input', ref: el => (this.inputEl = el) }), hAsync("label", { key: '825c682a64dee282f204ebe5f675a36ef5044bf0', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && (Array.isArray(this.error)
|
|
31533
31577
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
31534
31578
|
this.error.map((err, index) => (hAsync("p", { key: index, class: "invalid-feedback" }, hAsync("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), err.trim(), " ")))
|
|
31535
31579
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
31536
|
-
this.error.split(',').map((err, index) => (hAsync("p", { key: index, class: "invalid-feedback" }, hAsync("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), err.trim(), " ")))), this.helper && this.helper !== '' && hAsync("p", { key: '
|
|
31580
|
+
this.error.split(',').map((err, index) => (hAsync("p", { key: index, class: "invalid-feedback" }, hAsync("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), err.trim(), " ")))), this.helper && this.helper !== '' && hAsync("p", { key: '949b8ff55cb5855bd512d4c7c8ab8bcb745748db', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: '98301d785e551b8ac08cddbd21838a56bfca36f2', name: "checklistPassword" })));
|
|
31537
31581
|
}
|
|
31538
31582
|
static get watchers() { return {
|
|
31539
31583
|
"debounce": ["debounceChanged"],
|
|
@@ -31623,7 +31667,7 @@ class InputGroup {
|
|
|
31623
31667
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
31624
31668
|
: '';
|
|
31625
31669
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
31626
|
-
return (hAsync("div", { key: '
|
|
31670
|
+
return (hAsync("div", { key: 'ad94dffcb9756e848f286abbc1f8759eb39330a2', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: '25a28d5299dc19be40a3ac8311dafb0d853d1a4d', class: "input-group-prepend" }, hAsync("slot", { key: '6be76f25a7960551da8f5887ceac6550ef5fa2c9', name: "prepend" })), hAsync("slot", { key: '7a244ac6f46d5a4b15b2665107eb889c336603df' }), hAsync("div", { key: '54684dc4ff55e859dfaaab3138c168925a2722b0', class: "input-group-append" }, hAsync("slot", { key: '1ba12616c1451aebc3b5f3e4593f5804999c0897', name: "append" }))));
|
|
31627
31671
|
}
|
|
31628
31672
|
get el() { return getElement(this); }
|
|
31629
31673
|
static get watchers() { return {
|
|
@@ -31703,13 +31747,13 @@ class Item {
|
|
|
31703
31747
|
target,
|
|
31704
31748
|
};
|
|
31705
31749
|
const showDetail = detail !== undefined && detail;
|
|
31706
|
-
return (hAsync(Host, { key: '
|
|
31750
|
+
return (hAsync(Host, { key: '7827649c774c20cb6c3e002f6437475431f6a74f', "aria-disabled": disabled ? 'true' : null, class: {
|
|
31707
31751
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
31708
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
31752
|
+
} }, hAsync(TagType, Object.assign({ key: '1d3a248acf34aa9313393a4f24207650393fc0d7' }, attrs, { class: {
|
|
31709
31753
|
'item-native': true,
|
|
31710
31754
|
'item-active': this.active,
|
|
31711
31755
|
[`layout-${layout}`]: layout !== undefined,
|
|
31712
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
31756
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: '692ce07b8a57be6bf8049b0f549691653de3b9cb', name: "start" }), hAsync("div", { key: '5751a638d0e9ca2d0c76e212d8828487c5ff4a30', class: "item-inner" }, hAsync("div", { key: '1091db80d20d14de9f827be6fffd232b18064c21', class: "input-wrapper" }, hAsync("slot", { key: '039d82a579b6b59993e70d494bbff278d7870cf7' }), hAsync("div", { key: '1834170303f13dd4ed292745a7314b47be9353f8', class: "input-wrapper-info" }, hAsync("road-label", { key: '703fd6be278b1286225d5f3f4f56e26261d9bab1', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: 'e2c63cfd208c51c9fb7e2dd1fc89a1dff96e11f2', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: '596fb23ec500bb815f4d7792c366b3fecdc30c2b', name: "end" }), showDetail && hAsync("road-icon", { key: '1751d7a7077d5e745d18cc1d3f55ee8f2360279e', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
31713
31757
|
}
|
|
31714
31758
|
get el() { return getElement(this); }
|
|
31715
31759
|
static get style() { return RoadItemStyle0; }
|
|
@@ -31750,7 +31794,7 @@ class Label {
|
|
|
31750
31794
|
registerInstance(this, hostRef);
|
|
31751
31795
|
}
|
|
31752
31796
|
render() {
|
|
31753
|
-
return (hAsync("slot", { key: '
|
|
31797
|
+
return (hAsync("slot", { key: 'cbca2967aab7b7a1ece0cffbc2618fec7aab02f0' }));
|
|
31754
31798
|
}
|
|
31755
31799
|
static get style() { return RoadLabelStyle0; }
|
|
31756
31800
|
static get cmpMeta() { return {
|
|
@@ -31775,9 +31819,9 @@ class List {
|
|
|
31775
31819
|
}
|
|
31776
31820
|
render() {
|
|
31777
31821
|
const { lines } = this;
|
|
31778
|
-
return (hAsync(Host, { key: '
|
|
31822
|
+
return (hAsync(Host, { key: '95c852cf27f008a6078f9a7776b0b1fabb24f156', class: {
|
|
31779
31823
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
31780
|
-
} }, hAsync("slot", { key: '
|
|
31824
|
+
} }, hAsync("slot", { key: 'ab1ec479073541979646cd7ac90cf6eb0239126a' })));
|
|
31781
31825
|
}
|
|
31782
31826
|
static get style() { return RoadListStyle0; }
|
|
31783
31827
|
static get cmpMeta() { return {
|
|
@@ -31862,7 +31906,7 @@ class Modal {
|
|
|
31862
31906
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
31863
31907
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
31864
31908
|
const closeIconElement = this.hasCloseIcon ? hAsync("button", { type: "button", class: "modal-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" })) : '';
|
|
31865
|
-
return (hAsync(Host, { key: '
|
|
31909
|
+
return (hAsync(Host, { key: '5c1f41604830d3daaab873fa532630c41886ea70', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: '3a72bfa4dfcdf3c488cfeacccaefac87be7de0d6', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: 'f3a768b5ecc51aaf8ec7a59051dc0092df6f0392', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: 'acba5dc153015d6f9085cc700c7ce045980f5833', class: "modal-content" }, hAsync("header", { key: '952c1cc52566161de413504cdaa98e5167c3ae99', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: 'a956e2e6682142e2f151efcc06b670ab46e8217e', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: '693dcdc5e8bafc6a2bf88f6ed0e72ab2a47f3780', class: "modal-body" }, hAsync("slot", { key: 'a60d391d06c62c882048e1abc291359053654177' }))))));
|
|
31866
31910
|
}
|
|
31867
31911
|
get el() { return getElement(this); }
|
|
31868
31912
|
static get style() { return RoadModalStyle0; }
|
|
@@ -31913,7 +31957,7 @@ class Navbar {
|
|
|
31913
31957
|
this.selectedTabChanged();
|
|
31914
31958
|
}
|
|
31915
31959
|
render() {
|
|
31916
|
-
return (hAsync(Host, { key: '
|
|
31960
|
+
return (hAsync(Host, { key: '856ecb6ab9ca8791d6b27a9167e99fc7bbf5563e', role: "menubar" }, hAsync("slot", { key: '683e5f402623992d814b1667fa6f1e1ec10ca4de' })));
|
|
31917
31961
|
}
|
|
31918
31962
|
static get watchers() { return {
|
|
31919
31963
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -31999,11 +32043,11 @@ class NavbarItem$1 {
|
|
|
31999
32043
|
rel,
|
|
32000
32044
|
target,
|
|
32001
32045
|
};
|
|
32002
|
-
return (hAsync(Host, { key: '
|
|
32046
|
+
return (hAsync(Host, { key: '91fef5d8e233e6665c1b7d43361fe13bfc26ddb2', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
32003
32047
|
'navbar-item': true,
|
|
32004
32048
|
'tab-selected': selected,
|
|
32005
32049
|
'tab-disabled': disabled,
|
|
32006
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
32050
|
+
} }, hAsync("a", Object.assign({ key: 'c6e2adbc2f9da2ad953676a994bd577dea40af2d' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: 'a0f09043954178d75d9583b10f45b0634779c570', class: "button-inner" }, hAsync("slot", { key: 'd9fe86630fa6568c7ec54c85cacce32f28dc75a5' })))));
|
|
32007
32051
|
}
|
|
32008
32052
|
get el() { return getElement(this); }
|
|
32009
32053
|
static get watchers() { return {
|
|
@@ -32096,11 +32140,11 @@ class NavbarItem {
|
|
|
32096
32140
|
rel,
|
|
32097
32141
|
target,
|
|
32098
32142
|
};
|
|
32099
|
-
return (hAsync(Host, { key: '
|
|
32143
|
+
return (hAsync(Host, { key: 'a875497429de3d17585d39f031d7ecc92920ae24', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
32100
32144
|
'navbar-item': true,
|
|
32101
32145
|
'tab-selected': selected,
|
|
32102
32146
|
'tab-disabled': disabled,
|
|
32103
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
32147
|
+
} }, hAsync("a", Object.assign({ key: '45cd2becb3e737538387068622ce1cfec04dfdc6' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '2bef4c8f38adc9bcdb0b2a114c0d3944534eed69', class: "button-inner" }, hAsync("slot", { key: 'd70fe75f58e7b55e9636db46e67885c2e8ebfa1e' })))));
|
|
32104
32148
|
}
|
|
32105
32149
|
get el() { return getElement(this); }
|
|
32106
32150
|
static get watchers() { return {
|
|
@@ -32159,7 +32203,7 @@ class NavbarV2 {
|
|
|
32159
32203
|
}
|
|
32160
32204
|
render() {
|
|
32161
32205
|
const compactClass = this.compact ? 'compact' : '';
|
|
32162
|
-
return (hAsync(Host, { key: '
|
|
32206
|
+
return (hAsync(Host, { key: 'dbe3efbf3dfb5a6fad5a1a5f11b8b35c4628a668', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'babb69adc19512b222822fd3aab9692e4f79141b' })));
|
|
32163
32207
|
}
|
|
32164
32208
|
static get watchers() { return {
|
|
32165
32209
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -32282,10 +32326,10 @@ class PlateNumber {
|
|
|
32282
32326
|
render() {
|
|
32283
32327
|
const value = this.getValue();
|
|
32284
32328
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
32285
|
-
return (hAsync("road-input-group", { key: '
|
|
32329
|
+
return (hAsync("road-input-group", { key: '106f6f3293a295db84efbfca72b1dfe50df7eea1', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: '62a9d441198badd6216982a6cd2654de8b7fa27d', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: 'f0c042a50d25033f4aa0d611159b4674eec3781c', class: "plate-number-start" }, hAsync("road-icon", { key: '1045fb8ae0beae59496ae5056c972b0876299039', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: 'c9c88289cdfd2835a228e485c24933c55e91bbdd', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
32286
32330
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
32287
32331
|
? (hAsync("textarea", { class: "form-control plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, maxlength: "9", rows: 2, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }))
|
|
32288
|
-
: (hAsync("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), hAsync("label", { key: '
|
|
32332
|
+
: (hAsync("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), hAsync("label", { key: 'c5426f84945934ae69a6ed4049241ac8ec02e9f7', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'eb7f769a4c8bef59229f76cf4313ff83fdf750a8', class: "plate-number-end" }))));
|
|
32289
32333
|
}
|
|
32290
32334
|
static get watchers() { return {
|
|
32291
32335
|
"value": ["valueChanged"]
|
|
@@ -32308,7 +32352,7 @@ class PlateNumber {
|
|
|
32308
32352
|
}; }
|
|
32309
32353
|
}
|
|
32310
32354
|
|
|
32311
|
-
const progressCss = ".progress{--border-radius:0.25rem;display:flex;height:0.25rem;overflow:hidden;font-size:var(--road-label-small);background-color:var(--road-surface-disabled);border-radius:var(--border-radius)}.progress-light{background-color:var(--road-overlay-inverse)}.progress-element-info{display:flex;justify-content:space-between;margin-top:0.5rem}.progress-element-info-full-width{display:flex;justify-content:space-between;padding:0 1rem;margin-top:0.5rem}.progress-element-label{font-size:var(--road-label-medium);text-align:left}.progress-element-step{font-size:var(--road-label-medium);text-align:right}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;text-align:center;white-space:nowrap;transition:width 0.6s ease}.progress.progress-primary .progress-bar{background:var(--road-primary)}.progress.progress-secondary .progress-bar{background:var(--road-secondary)}.progress.progress-info .progress-bar{background:var(--road-info-surface-inverse)}.progress.progress-success .progress-bar{background:var(--road-success-surface-inverse)}.progress.progress-warning .progress-bar{background:var(--road-warning-surface-inverse)}.progress.progress-danger .progress-bar{background:var(--road-danger-surface-inverse)}.progress.progress-rating .progress-bar{background:var(--road-rating)}.animation .progress-bar{animation:load 5s normal forwards}@keyframes load{0%{width:0}100%{width:100%}}";
|
|
32355
|
+
const progressCss = ".progress{--border-radius:0.25rem;display:flex;height:0.25rem;overflow:hidden;font-size:var(--road-label-small);background-color:var(--road-surface-disabled);border-radius:var(--border-radius)}.progress-light{background-color:var(--road-overlay-inverse)}.progress-element-info{display:flex;justify-content:space-between;margin-top:0.5rem}.progress-element-info-full-width{display:flex;justify-content:space-between;padding:0 1rem;margin-top:0.5rem}.progress-element-label{font-size:var(--road-label-medium);text-align:left}.progress-element-step{font-size:var(--road-label-medium);text-align:right}.progress-bar{display:flex;flex-direction:column;justify-content:center;overflow:hidden;text-align:center;white-space:nowrap;transition:width 0.6s ease}.progress.progress-primary .progress-bar{background:var(--road-primary)}.progress.progress-secondary .progress-bar{background:var(--road-secondary)}.progress.progress-info .progress-bar{background:var(--road-info-surface-inverse)}.progress.progress-success .progress-bar{background:var(--road-success-surface-inverse)}.progress.progress-warning .progress-bar{background:var(--road-warning-surface-inverse)}.progress.progress-danger .progress-bar{background:var(--road-danger-surface-inverse)}.progress.progress-rating .progress-bar{background:var(--road-rating)}.animation .progress-bar{animation:load var(--road-progress-animation-duration, 5s) normal forwards;animation-play-state:var(--road-progress-animation-play-state, running)}@keyframes load{0%{width:0}100%{width:100%}}";
|
|
32312
32356
|
var RoadProgressStyle0 = progressCss;
|
|
32313
32357
|
|
|
32314
32358
|
class ProgressBar {
|
|
@@ -32367,7 +32411,7 @@ class ProgressBar {
|
|
|
32367
32411
|
let step = Math.ceil((this.value / 100) * this.numbersteps);
|
|
32368
32412
|
step = Math.min(step, this.numbersteps);
|
|
32369
32413
|
step = Math.max(step, 0);
|
|
32370
|
-
return (hAsync(Host, { key: '
|
|
32414
|
+
return (hAsync(Host, { key: '3f6b27c3e143da8850233df017b4ef60293b0551', class: "progress-element" }, hAsync("div", { key: '1181b717d1c2cdc54d6a1a8e6283f6f8e5cea95f', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '8201a0be5073744c6458aa5e1ec3ffb188b575a5', class: "progress-bar", role: "progressbar", style: { width: `${progressBarFilledPercentage}%` }, "aria-valuenow": progressBarFilledPercentage, "aria-valuemin": "0", "aria-valuemax": "100", "aria-labelledby": "loadinglabel", "aria-label": "progress bar" })), hAsync("div", { key: '9b80d59fb76a9766f9f8b13cccd9f69057028187', class: `${fullwidth}` }, hAsync("span", { key: 'd967d4f34524d42e01e6ddea5fb5f46b1b8193ac', id: "loadinglabel", class: "progress-element-label" }, this.label), this.showstep && (hAsync("span", { key: '0726f1e83ac1c1ade5218e4b1ab9d59b23c68764', class: "progress-element-step" }, step, "/", this.numbersteps)))));
|
|
32371
32415
|
}
|
|
32372
32416
|
static get style() { return RoadProgressStyle0; }
|
|
32373
32417
|
static get cmpMeta() { return {
|
|
@@ -32409,7 +32453,7 @@ class ProgressIndicatorVertical {
|
|
|
32409
32453
|
registerInstance(this, hostRef);
|
|
32410
32454
|
}
|
|
32411
32455
|
render() {
|
|
32412
|
-
return (hAsync(Host, { key: '
|
|
32456
|
+
return (hAsync(Host, { key: 'beb66fb988e3aa831e0f35ce048acc475830baad' }, hAsync("nav", { key: '338c96614e2a2727e3c796a55a9f200e3f9caa34' }, hAsync("ul", { key: 'e37ac6d452a71aa56f686dcf68872f1f45bf7d1a' }, hAsync("li", { key: 'c2678653c29dcd23be4b868f813dfeff81deee39' }, hAsync("slot", { key: '67610abb009942ef9da77ec2347de152c5ea836b' }))))));
|
|
32413
32457
|
}
|
|
32414
32458
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
32415
32459
|
static get cmpMeta() { return {
|
|
@@ -32433,7 +32477,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
32433
32477
|
registerInstance(this, hostRef);
|
|
32434
32478
|
}
|
|
32435
32479
|
render() {
|
|
32436
|
-
return (hAsync(Host, { key: '
|
|
32480
|
+
return (hAsync(Host, { key: '2ecabc840c0c3167762d99b2b26d523594789159' }, hAsync("slot", { key: '6e821abe0314f885be46ef02bbf2fa5f2de3200e' })));
|
|
32437
32481
|
}
|
|
32438
32482
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
32439
32483
|
static get cmpMeta() { return {
|
|
@@ -32462,7 +32506,7 @@ class ProgressTracker {
|
|
|
32462
32506
|
registerInstance(this, hostRef);
|
|
32463
32507
|
}
|
|
32464
32508
|
render() {
|
|
32465
|
-
return (hAsync(Host, { key: '
|
|
32509
|
+
return (hAsync(Host, { key: 'cd8e624e5935fee60d6c2806b10f35f063670a7e' }, hAsync("nav", { key: 'd466e731e0206360490a48181ceecfbe90cbd80f' }, hAsync("ul", { key: '4d43281f9ea40fcc1d3a00d643a8f80dfea3dc06' }, hAsync("li", { key: 'c98da0bd4e82dd5b0698364cae1cd8366179a8ad' }, hAsync("slot", { key: '6be22ff72a0c776ee690f00d5325e781118ee9c0' }))))));
|
|
32466
32510
|
}
|
|
32467
32511
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
32468
32512
|
static get cmpMeta() { return {
|
|
@@ -32494,7 +32538,7 @@ class ProgressTrackerItem {
|
|
|
32494
32538
|
registerInstance(this, hostRef);
|
|
32495
32539
|
}
|
|
32496
32540
|
render() {
|
|
32497
|
-
return (hAsync(Host, { key: '
|
|
32541
|
+
return (hAsync(Host, { key: '4974c1adc0f1b94fc7b9b38ce6dfbc6ec5b6a83c' }, hAsync("slot", { key: '1017553cb17d0ee0a3e50beba3a8937190aec3ea' })));
|
|
32498
32542
|
}
|
|
32499
32543
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
32500
32544
|
static get cmpMeta() { return {
|
|
@@ -32587,7 +32631,7 @@ class Radio {
|
|
|
32587
32631
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
32588
32632
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
32589
32633
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32590
|
-
return (hAsync(Host, { key: '
|
|
32634
|
+
return (hAsync(Host, { key: 'd6494b4cb75474c0d0f7ebf01fa0f7a621ff6bfb', class: `form-radio ${inlineClass}` }, hAsync("input", { key: '10a6f04b26f3b9fa4d3be3230624b37157329883', class: `form-radio-input ${isInvalidClass}`, type: "radio", id: this.radioId, name: this.name, required: this.required, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null, checked: this.checked, "aria-checked": `${this.checked}`, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: 'd7d473f4e9bdbab42851b79e5e99180d32d1044a', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '754ecd61b73ff60e5b33ebbdc64df9846a18da27', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
32591
32635
|
}
|
|
32592
32636
|
get el() { return getElement(this); }
|
|
32593
32637
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -32671,7 +32715,7 @@ class RadioCard {
|
|
|
32671
32715
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32672
32716
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
32673
32717
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
32674
|
-
return (hAsync(Host, { key: '
|
|
32718
|
+
return (hAsync(Host, { key: '14ae9032c86481f960d41dbddf0511ba8a5473f0', class: `form-radio ${inlineClass}` }, hAsync("div", { key: '1e45b9d4ae27d7918b3a57e66540d3bfd3dee679', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, hAsync("input", { key: 'a7efac819af7f78cd12df3fd24d38c81523bf7e6', ref: el => this.inputEl = el, class: "form-radio-input", type: "radio", id: this.radioId, name: this.name, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, checked: this.isSelected || this.selected, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur, onChange: () => { } }), hAsync("label", { key: '3f13946f208c84de987f07b33acf58fea29163bf', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, hAsync("div", { key: '0a0050a9a4265ba805baa9cd3170cd67afb62c45', class: "slot-wrapper" }, hAsync("slot", { key: '8bf0053c5f8ca25737577965506f2e74e2349a9e' }))))));
|
|
32675
32719
|
}
|
|
32676
32720
|
get el() { return getElement(this); }
|
|
32677
32721
|
static get style() { return RoadRadioCardStyle0; }
|
|
@@ -32768,7 +32812,7 @@ class RadioGroup {
|
|
|
32768
32812
|
render() {
|
|
32769
32813
|
const labelId = `${this.radioGroupId}-label`;
|
|
32770
32814
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32771
|
-
return (hAsync(Host, { key: '
|
|
32815
|
+
return (hAsync(Host, { key: '031512f29cff332bc4ea9e72faa125ee393df1cc', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: 'af10ff2a928246bc82e09ca4d3b4c621f74d8ab4', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: '6d5fb003d47dda437aed9f0304f717382b674f1c', class: "asterisk" }, "*")), hAsync("slot", { key: '1a43f2617f1020130afcd27a81db9b7bc218a297' }), this.error && this.error !== '' && hAsync("p", { key: '482dadfaea1a4ee2650b65dc5ef4de207ba6bb86', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '9c7da7cfaaf48537c8cc1149dd5d34ac450b1c27', class: "helper" }, this.helper)));
|
|
32772
32816
|
}
|
|
32773
32817
|
get el() { return getElement(this); }
|
|
32774
32818
|
static get watchers() { return {
|
|
@@ -32898,14 +32942,14 @@ class Range {
|
|
|
32898
32942
|
render() {
|
|
32899
32943
|
const value = this.getValue();
|
|
32900
32944
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
32901
|
-
return (hAsync(Host, { key: '
|
|
32945
|
+
return (hAsync(Host, { key: '3e066cbe4e1e65fa75efd027eb04d15b17dcf71d', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: '5f914e22f5ba6c9d2d8125fbc10ccddd1a7e5b18', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: '91c5de2c81f0ceb500df75279dacbd3d4b6243eb', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: '70cc1aa9091e9f88a3b8b9259159bd2a2b9add19', class: "form-range", style: {
|
|
32902
32946
|
"--min": this.min,
|
|
32903
32947
|
"--max": this.max,
|
|
32904
32948
|
"--value": value,
|
|
32905
32949
|
"--background-color": this.disabled
|
|
32906
32950
|
? "var(--road-surface-disabled)"
|
|
32907
32951
|
: "initial",
|
|
32908
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
32952
|
+
} }, this.showValue && hAsync("output", { key: 'a9ba48f65596d47840fd18a85799d7a8a50f9e19' }), this.showLabels && hAsync("slot", { key: '1115ac60b9752d458245da0acf6c2639b76a9780', name: "datalist" }), hAsync("input", { key: '8238712354cfa16b071f99459c539ec3009263ee', type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput, list: datalist, "aria-label": "Valeur", tabindex: "0", disabled: this.disabled }), hAsync("label", { key: '75c0ecc48fe29009a0f853210b64e2639681dce5', class: "form-range-label" }, "Valeur"), hAsync("div", { key: 'e9f54d9c51cb585da328db3566ac629fadabf9bb', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: 'b1b4bd3567bae3b31b61af136a2ae96ca45edb13', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
32909
32953
|
}
|
|
32910
32954
|
get el() { return getElement(this); }
|
|
32911
32955
|
static get watchers() { return {
|
|
@@ -32974,7 +33018,7 @@ class Rating {
|
|
|
32974
33018
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
32975
33019
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
32976
33020
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
32977
|
-
return (hAsync(Host, { key: '
|
|
33021
|
+
return (hAsync(Host, { key: '852a04480eb9cf4363845c33c6b1f660f94b766e' }, hAsync("div", { key: '39ddf4c8c030e0565e5f640689bf0b47f77dcd3f', class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => hAsync("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => hAsync("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => hAsync("road-icon", { icon: star, size: "sm", class: "rating-star" }))), this.readonly == false && this.showreviews && hAsync("a", { key: '2ab83abd728887cc1cce4abf5ccdfa950363ad03', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '6277bb7d0a773d2438c6fb07df4e4b19da231d30', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
32978
33022
|
}
|
|
32979
33023
|
static get style() { return RoadRatingStyle0; }
|
|
32980
33024
|
static get cmpMeta() { return {
|
|
@@ -33093,7 +33137,7 @@ class RoadAreaCode {
|
|
|
33093
33137
|
const labelId = this.selectId + '-label';
|
|
33094
33138
|
const valueId = this.selectId + '-value';
|
|
33095
33139
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
33096
|
-
return (hAsync(Host, { key: '
|
|
33140
|
+
return (hAsync(Host, { key: '26ee33f6bad3410d3808dc40546924e467dcd8ef', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '43795fb19216aac9d5611757b461cd23775ba9db', class: `form-select-area has-value ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, this.options && this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected }, option.label)))), hAsync("label", { key: 'd26bc6c8a3c5c10d4f61a130a0bc2b7d8756f1c7', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), hAsync("label", { key: '6a239c740e00b9aa178e850a59506e2dfe2a0495', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && hAsync("p", { key: '94338356640510278731eb132e913a73f5019157', class: "invalid-feedback" }, this.error)));
|
|
33097
33141
|
}
|
|
33098
33142
|
static get watchers() { return {
|
|
33099
33143
|
"value": ["valueChanged"]
|
|
@@ -33140,7 +33184,7 @@ class RoadAspectRatio {
|
|
|
33140
33184
|
return `${w} / ${h}`;
|
|
33141
33185
|
}
|
|
33142
33186
|
render() {
|
|
33143
|
-
return (hAsync(Host, { key: '
|
|
33187
|
+
return (hAsync(Host, { key: '5b79fe9eb5a7086f6b2325d919dd706f3171f2ba', style: { '--road-aspect-ratio': this.getCssRatio() } }, hAsync("div", { key: '0a0f5491ad73dc1003cddef9e0bfb2841b20313a', class: "aspect-ratio-wrapper" }, hAsync("div", { key: '5a48baa8c02cd255d86641d049f1bea42bb61fd9', class: "aspect-ratio-content" }, hAsync("slot", { key: '42f99f24730e096c1456cbbae0bb28af8ab5be67' })))));
|
|
33144
33188
|
}
|
|
33145
33189
|
static get style() { return RoadAspectRatioStyle0; }
|
|
33146
33190
|
static get cmpMeta() { return {
|
|
@@ -34517,9 +34561,9 @@ class RoadPhoneNumberInput {
|
|
|
34517
34561
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
34518
34562
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
34519
34563
|
const sizes = 'xl';
|
|
34520
|
-
return (hAsync(Host, { key: '
|
|
34564
|
+
return (hAsync(Host, { key: 'c300b396ad419dd1d22ddf8656f1492d31b43891' }, hAsync("div", { key: '1dd6a34e0dd1fb0b1d0fe46405e5a6302cc6ce24', class: 'phone-number-inputs-container' }, hAsync("div", { key: '534749041bdd989af8455cda79a679c9f69e0360', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: 'e06ee487afda5761b3bb355aadf0c1eeaf6eef5a', id: selectId, class: `form-select-area has-value`, "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, onChange: (event) => this.handleSelect(event), "aria-label": this.codeLabel, tabIndex: this.disabled ? -1 : 0 }, this.countryOptions && this.countryOptions.map(option => (hAsync("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), hAsync("label", { key: '62cead26a8bb565c48784911521decb452f9d27e', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: 'ec15acdc2bb7e7c931e76337d7c59b9998d4fc21', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: '01e325e7a02443017d4876e844c66d46a8b1471f', type: 'tel', id: inputId, class: `input-${sizes} phone-number-input-field ${hasValueClass} ${isErrorClass}`, value: this.phoneValue, required: this.required, tabIndex: 0, onInput: (event) => this.handleInput(event) }), hAsync("label", { key: 'c223ec8eb38e8a849eb0e656a4e865fd403121c5', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
34521
34565
|
&& this.errorMessage !== ''
|
|
34522
|
-
&& hAsync("p", { key: '
|
|
34566
|
+
&& hAsync("p", { key: 'a1a82a8e4c41ff6b584ce80b07b268ddd6356840', class: "invalid-feedback" }, hAsync("road-icon", { key: 'b28ee908fb8626c5c891aad6a9f2ccb2fd3d47b1', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
34523
34567
|
}
|
|
34524
34568
|
get el() { return getElement(this); }
|
|
34525
34569
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
@@ -34638,7 +34682,7 @@ class RoadTimeRangePicker {
|
|
|
34638
34682
|
return { start: this.start, end: this.end };
|
|
34639
34683
|
}
|
|
34640
34684
|
render() {
|
|
34641
|
-
return (hAsync(Host, { key: '
|
|
34685
|
+
return (hAsync(Host, { key: '09a7238b070bd471ca7e129f89528c34c9ee5cd7', class: `time-range-picker input-${this.sizes}` }, this.label && (hAsync("p", { key: '9bd29e28efe88c965c5007fbcadd10d8c0688fd3', class: "label m-0" }, this.label, this.required && hAsync("span", { key: '29b8577337047177fb4e1baae22ff5bc860303a8', class: "required-indicator" }, " *"))), hAsync("div", { key: '50bb320324c425ae30724d4160707590a0484b87', class: "time-range-picker-content d-flex align-items-center my-4" }, hAsync("slot", { key: '2b7dcf90c23d762cc3e6a1becf30ca3c4072ae48', name: "start" }), hAsync("span", { key: 'c9c93c212b949e59b18fdd79ffbd047bea41e502', class: "separator mx-12" }, this.separator), hAsync("slot", { key: 'f013f7f8fb0a47780d45ae6353fdf3d4c3448e4a', name: "end" })), hAsync("div", { key: '1897f8902f28912624da8a2d35252093064b0b19', class: "messages mt-1" }, this.errorMessages.map((msg, index) => (hAsync("p", { key: index, class: "invalid-feedback m-0" }, hAsync("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), msg.trim())))), this.helper && hAsync("p", { key: 'c05b1a8b51dc01105508139936fa1794954ea76f', class: "helper mt-1" }, this.helper)));
|
|
34642
34686
|
}
|
|
34643
34687
|
get hostEl() { return getElement(this); }
|
|
34644
34688
|
static get style() { return RoadTimeRangePickerStyle0; }
|
|
@@ -34674,7 +34718,7 @@ class Row {
|
|
|
34674
34718
|
registerInstance(this, hostRef);
|
|
34675
34719
|
}
|
|
34676
34720
|
render() {
|
|
34677
|
-
return (hAsync(Host, { key: '
|
|
34721
|
+
return (hAsync(Host, { key: 'afa1b952153c85d65d8d934291b6de4ded45f5c6' }, hAsync("slot", { key: '19d35af492b9db9b52d45be4fabafa03a6b1cc71' })));
|
|
34678
34722
|
}
|
|
34679
34723
|
static get style() { return RoadRowStyle0; }
|
|
34680
34724
|
static get cmpMeta() { return {
|
|
@@ -34746,11 +34790,11 @@ class SegmentedButton {
|
|
|
34746
34790
|
render() {
|
|
34747
34791
|
const { tabIndex, selected, tab } = this;
|
|
34748
34792
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
34749
|
-
return (hAsync(Host, { key: '
|
|
34793
|
+
return (hAsync(Host, { key: 'fd69e361fd1e176b70cc50bf10dcbef9aad672cd', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
34750
34794
|
'tab-selected': selected,
|
|
34751
34795
|
[`${sizeClass}`]: true,
|
|
34752
|
-
} }, hAsync("span", { key: '
|
|
34753
|
-
hAsync("road-badge", { key: '
|
|
34796
|
+
} }, hAsync("span", { key: 'df419883a7d440fcd205e81e721c2f1640de231e', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("span", { key: 'ad1f41ee0aaa11c2dba8fb3a09b6065fe5e8bedf', class: "button-content" }, hAsync("slot", { key: 'dfb4e9649cc4ae7b41bd5a181d40c1fa3c9a0f92' }), this.badge &&
|
|
34797
|
+
hAsync("road-badge", { key: 'a097702e82fddfac65166bd0bbd19bc31146f2a5', color: this.selected ? 'primary' : 'neutral', class: "button-content-badge" }, this.badge)))));
|
|
34754
34798
|
}
|
|
34755
34799
|
get el() { return getElement(this); }
|
|
34756
34800
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -34872,7 +34916,7 @@ class Select {
|
|
|
34872
34916
|
const labelId = this.selectId + '-label';
|
|
34873
34917
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
34874
34918
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
34875
|
-
return (hAsync(Host, { key: '
|
|
34919
|
+
return (hAsync(Host, { key: 'b4cafa168a39a721ebb8befb821851af64815909', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: 'bc8c195bad4142da8a495e14a9d56a0ed0de9349', class: `form-select ${hasValueClass} ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("option", { key: 'fe320dbe0052e71a9b11219c842800adf518a758', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (hAsync("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), hAsync("label", { key: 'e7a0482a1ae9116e1a8fe6fdc65eca8dfc607661', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '7055cbe47e2b43288e472646b4ca4d0724f7d82e', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '1946f4c9d0818298e9135e3a6d447a967f52e7ba', class: "helper" }, this.helper)));
|
|
34876
34920
|
}
|
|
34877
34921
|
static get watchers() { return {
|
|
34878
34922
|
"value": ["valueChanged"]
|
|
@@ -36866,7 +36910,7 @@ class SelectFilter {
|
|
|
36866
36910
|
const options = this.filteredOptions;
|
|
36867
36911
|
const isActive = this.isActive ? 'true' : 'false';
|
|
36868
36912
|
const notActive = this.isActive ? '' : 'not-active';
|
|
36869
|
-
return (hAsync(Host, { key: '
|
|
36913
|
+
return (hAsync(Host, { key: 'd6c3a042fc1e44b330d4f9a84827a3659a512caf', "is-active": isActive }, hAsync("slot", { key: '128d98278c897190c2b2e475ac851181570dbf49' }), this.isOpen && (hAsync("div", { key: 'c09f07e2d024c67fd1bac3ffbf0b562d157826d2', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (hAsync("div", { class: "select-filter-empty" }, "Aucune option")) : (hAsync("ul", { class: "pl-0" }, options.map((option, idx) => (hAsync("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
|
|
36870
36914
|
}
|
|
36871
36915
|
get el() { return getElement(this); }
|
|
36872
36916
|
static get watchers() { return {
|
|
@@ -36902,7 +36946,7 @@ class Skeleton {
|
|
|
36902
36946
|
registerInstance(this, hostRef);
|
|
36903
36947
|
}
|
|
36904
36948
|
render() {
|
|
36905
|
-
return (hAsync("span", { key: '
|
|
36949
|
+
return (hAsync("span", { key: '3ea322ba0c0478ae98e116ca0a14c6db8cf83fa5' }, "\u00A0"));
|
|
36906
36950
|
}
|
|
36907
36951
|
static get style() { return RoadSkeletonStyle0; }
|
|
36908
36952
|
static get cmpMeta() { return {
|
|
@@ -36933,7 +36977,7 @@ class Spinner {
|
|
|
36933
36977
|
render() {
|
|
36934
36978
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
36935
36979
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
36936
|
-
return (hAsync("svg", { key: '
|
|
36980
|
+
return (hAsync("svg", { key: 'ba8404bfa593df14d50579b442066e7cd07c49ff', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'ed113cdc5a2478d9acd6081da1000193f6580b68', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
36937
36981
|
}
|
|
36938
36982
|
static get style() { return RoadSpinnerStyle0; }
|
|
36939
36983
|
static get cmpMeta() { return {
|
|
@@ -36974,7 +37018,7 @@ class StatusChip {
|
|
|
36974
37018
|
};
|
|
36975
37019
|
}
|
|
36976
37020
|
render() {
|
|
36977
|
-
return (hAsync(Host, { key: '
|
|
37021
|
+
return (hAsync(Host, { key: '836c5b7abbe5ac3b42e5cc53d16bfb01457aaed3', class: `chip-${this.size}`, tabindex: "0", role: "button", onClick: this.onActivate, onKeyDown: this.onKeyDown }, hAsync("div", { key: 'b3956466b009f103579b1daf48b355a1ef8c6d4a', class: "chip-description" }, hAsync("road-icon", { key: '6c3c901790b0b83b5d59fd79ff5d7b1c1edd262b', class: "chip-icon", color: "info", icon: alertInfoSolid }), hAsync("slot", { key: '2971da2e3f4d5759046f547aad0ccc5e4d152b12' }))));
|
|
36978
37022
|
}
|
|
36979
37023
|
static get style() { return RoadStatusChipStyle0; }
|
|
36980
37024
|
static get cmpMeta() { return {
|
|
@@ -37023,7 +37067,7 @@ class Stepper {
|
|
|
37023
37067
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
37024
37068
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
37025
37069
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
37026
|
-
return (hAsync(Host, { key: '
|
|
37070
|
+
return (hAsync(Host, { key: 'f73aeb1cf58b9d45eb82694b54dcf5f1b5039e4d' }, hAsync("nav", { key: 'f4d26418da4e3dcdb34902e11e6aad4bb6c8b000' }, hAsync("ul", { key: '4c71a1a906c4530496dcaab1c276e4a8dcce1c18', class: `${colorClass}` }, hAsync("li", { key: '27999972b03f4be0134e1f01ecd5bd49fab7a977', class: `${stateClass}` }, hAsync("a", { key: '77e946a448095ac01b891f493500cb1513170e5c', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: '69935ba6f7fb94b3cf945c9385a99dc73e39ce63', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '4afe253f303b6120b1b0b4a46994a2b0ac1769a3', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: '48d8f28440e0d25bf390737fcd3978e3130be48d', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '42319dd7b419341eb4a8ebe5b519b9bc696cd3f8', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: 'f0d7ceac532e39a686ea4077c29118bf99e7582b', class: `${stateSecondStepClass}` }, hAsync("a", { key: '9b2050e0b9d96a29c2354e4cb4a24b3c011cc39f', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: '37505e542762c3ed5bb9525ef375d05889c5d5da', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'e9c3395d7fe1b670dc904c87976c824c6e9a56ff', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '1a636a616b0ad870ca20e5321cedfd7e0109e228', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '243145835dfe703cf4c533f3671ba5cdaa3b3a6e', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: 'b991c413bc2ca7f325764ff8ede460ef8cf2bc62', class: `${stateThirdStepClass}` }, hAsync("a", { key: '79314fe63d4ee58d988ab5fc466b5536d651f690', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: '422ae64cbd0c01f141a76c1dcbc8a59a636df022', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'd19ca0938a4d159d10e1d7db366f1ee2a75a73be', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: 'cda180415f7a56a7135625d8939452069e2893e0', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: 'a7b46c759e1f754987db88e50b5b32e1acbb0503', name: "progress-indicator-horizontal-title3" }))))))));
|
|
37027
37071
|
}
|
|
37028
37072
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
37029
37073
|
static get cmpMeta() { return {
|
|
@@ -37125,11 +37169,11 @@ class Switch {
|
|
|
37125
37169
|
}
|
|
37126
37170
|
render() {
|
|
37127
37171
|
const labelId = this.switchId + '-label';
|
|
37128
|
-
const textLabel = hAsync("label", { key: '
|
|
37172
|
+
const textLabel = hAsync("label", { key: 'c63f963676593a49bfb56c9d7c33a9e98cee2715', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
37129
37173
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
37130
37174
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
37131
37175
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
37132
|
-
return (hAsync(Host, { key: '
|
|
37176
|
+
return (hAsync(Host, { key: 'f20db3c48659d8708758130b4d96587774504f02' }, hAsync("input", { key: 'bfe919d227e9403bf044243af064c45b89e8ae53', class: "form-switch-input", type: "checkbox", id: this.switchId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: '8db0e91b1d833e29a5e3ca93a2747cf8fd202840', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '80236cacfc5636bdef63c8f06dd20add0fa7a705', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
37133
37177
|
}
|
|
37134
37178
|
static get watchers() { return {
|
|
37135
37179
|
"checked": ["checkedChanged"]
|
|
@@ -37184,9 +37228,9 @@ class Tab {
|
|
|
37184
37228
|
}
|
|
37185
37229
|
render() {
|
|
37186
37230
|
const { tab, active } = this;
|
|
37187
|
-
return (hAsync(Host, { key: '
|
|
37231
|
+
return (hAsync(Host, { key: 'e77050a903a5bc618c0a95dbdcac55987ba90ef6', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
37188
37232
|
'tab-hidden': !active,
|
|
37189
|
-
} }, hAsync("slot", { key: '
|
|
37233
|
+
} }, hAsync("slot", { key: '7d8e9336bbafd68e2bb8449e617dd0132c132192' })));
|
|
37190
37234
|
}
|
|
37191
37235
|
get el() { return getElement(this); }
|
|
37192
37236
|
static get style() { return RoadTabStyle0; }
|
|
@@ -37246,11 +37290,11 @@ class TabBar {
|
|
|
37246
37290
|
}
|
|
37247
37291
|
render() {
|
|
37248
37292
|
const { expand, center, secondary } = this;
|
|
37249
|
-
return (hAsync(Host, { key: '
|
|
37293
|
+
return (hAsync(Host, { key: 'f152f7039aa51f964ce7885d2f38e09212af53b1', role: "tablist", class: {
|
|
37250
37294
|
'tab-expand': expand,
|
|
37251
37295
|
'tab-center': center,
|
|
37252
37296
|
'tab-secondary': secondary,
|
|
37253
|
-
} }, hAsync("slot", { key: '
|
|
37297
|
+
} }, hAsync("slot", { key: '1f478b0967e23fde82e5fcc706aacd6c8ed64132' })));
|
|
37254
37298
|
}
|
|
37255
37299
|
get el() { return getElement(this); }
|
|
37256
37300
|
static get watchers() { return {
|
|
@@ -37350,7 +37394,7 @@ class TabButton {
|
|
|
37350
37394
|
rel,
|
|
37351
37395
|
target,
|
|
37352
37396
|
};
|
|
37353
|
-
return (hAsync(Host, { key: '
|
|
37397
|
+
return (hAsync(Host, { key: '561d03fa0ebc0fe282db9c3e5030e514bc045a16', onClick: (ev) => !disabled && this.onClick(ev), onKeyup: (ev) => !disabled && this.onKeyUp(ev), role: "tab", tabindex: disabled ? -1 : tabIndex, "aria-selected": selected ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
37354
37398
|
'tab-selected': selected,
|
|
37355
37399
|
'tab-has-label': hasLabel,
|
|
37356
37400
|
'tab-has-icon': hasIcon,
|
|
@@ -37358,7 +37402,7 @@ class TabButton {
|
|
|
37358
37402
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
37359
37403
|
[`tab-layout-${layout}`]: true,
|
|
37360
37404
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
37361
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
37405
|
+
} }, hAsync("a", Object.assign({ key: '05869bf57b41803041856c17aaa80c2432c71470' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '8c60935c2a74a4e53472c3be5d3829ab0c3116f8', class: "button-inner" }, hAsync("slot", { key: '1d317edbc8b2553b85a2077b0e5a978f828b9351' })))));
|
|
37362
37406
|
}
|
|
37363
37407
|
get el() { return getElement(this); }
|
|
37364
37408
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -37392,7 +37436,7 @@ class Table {
|
|
|
37392
37436
|
registerInstance(this, hostRef);
|
|
37393
37437
|
}
|
|
37394
37438
|
render() {
|
|
37395
|
-
return (hAsync("slot", { key: '
|
|
37439
|
+
return (hAsync("slot", { key: 'bf75831fb9aaeddb5d0d48914427042d2d22477c' }));
|
|
37396
37440
|
}
|
|
37397
37441
|
static get style() { return RoadTableStyle0; }
|
|
37398
37442
|
static get cmpMeta() { return {
|
|
@@ -37500,7 +37544,7 @@ class Tabs$1 {
|
|
|
37500
37544
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37501
37545
|
}
|
|
37502
37546
|
render() {
|
|
37503
|
-
return (hAsync(Host, { key: '
|
|
37547
|
+
return (hAsync(Host, { key: '04b1801e9f8e91e39581c8f449ee6b839763c688', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '554c778cdf10304cb32d5ab743945f717f97b8e9', name: "top" }), hAsync("slot", { key: '47d1e5b9f1227a79a7883825fcddd23853b676a4' })));
|
|
37504
37548
|
}
|
|
37505
37549
|
get el() { return getElement(this); }
|
|
37506
37550
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -37636,7 +37680,7 @@ class Tabs {
|
|
|
37636
37680
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37637
37681
|
}
|
|
37638
37682
|
render() {
|
|
37639
|
-
return (hAsync(Host, { key: '
|
|
37683
|
+
return (hAsync(Host, { key: '696e52454356341fc30234d26597c4bd88f9aa54', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: 'e45c7580bd61aa8b6e5245a263bbe6ef6651132e', name: "top" }), hAsync("div", { key: '6c8b5332fa2ee081319199d8e71dd463d6249676', class: "tabs-inner" }, hAsync("slot", { key: '4974046b327b3d4ddef1bbb82b2ecd39c62a9472' }))));
|
|
37640
37684
|
}
|
|
37641
37685
|
get el() { return getElement(this); }
|
|
37642
37686
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -37684,7 +37728,7 @@ class Tag {
|
|
|
37684
37728
|
}
|
|
37685
37729
|
render() {
|
|
37686
37730
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
37687
|
-
return (hAsync(Host, { key: '
|
|
37731
|
+
return (hAsync(Host, { key: '07aa9eaf941fd3e6820304e5698ff7a379c27d96', class: `${contrastClass}` }, hAsync("slot", { key: '3777ebead8dd1ecad0f10eb176c9187580e771e1' })));
|
|
37688
37732
|
}
|
|
37689
37733
|
static get style() { return RoadTagStyle0; }
|
|
37690
37734
|
static get cmpMeta() { return {
|
|
@@ -37716,7 +37760,7 @@ class Text {
|
|
|
37716
37760
|
}
|
|
37717
37761
|
render() {
|
|
37718
37762
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
37719
|
-
return (hAsync(Host, { key: '
|
|
37763
|
+
return (hAsync(Host, { key: '8462ec056e351302fcbdf0b046a6160d94733de6', class: `${colorClass}` }, hAsync("slot", { key: 'ac32d9732a1cb417a5fef9fea546ce478d9b4123' })));
|
|
37720
37764
|
}
|
|
37721
37765
|
static get style() { return RoadTextStyle0; }
|
|
37722
37766
|
static get cmpMeta() { return {
|
|
@@ -37847,7 +37891,7 @@ class Textarea {
|
|
|
37847
37891
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
37848
37892
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
37849
37893
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
37850
|
-
return (hAsync(Host, { key: '
|
|
37894
|
+
return (hAsync(Host, { key: 'ddc120f885c45aa6201eaf945a250ec70ff96283', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: '33ba211611355b13fbdd30b05cf0efdee598fc1a', class: `form-control textarea-control ${hasValueClass} ${noResizeClass} ${isInvalidClass}`, id: this.textareaId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, value: value, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onCompositionstart: this.onCompositionStart, onCompositionupdate: this.onCompositionUpdate, onCompositionend: this.onCompositionEnd, onBlur: this.onBlur, onFocus: this.onFocus, ref: el => (this.textareaEl = el) }), hAsync("label", { key: '2d71214f423086aae57f0167a8c8cb808c7b247b', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '04770bc5971336927c0aa77327a0823ecc049e37', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'a274cad5d2cb2e8076fb17505f491f52bd0dfac7', class: "helper" }, this.helper)));
|
|
37851
37895
|
}
|
|
37852
37896
|
static get watchers() { return {
|
|
37853
37897
|
"value": ["valueChanged"]
|
|
@@ -37887,7 +37931,7 @@ class Textarea {
|
|
|
37887
37931
|
}
|
|
37888
37932
|
let textareaIds = 0;
|
|
37889
37933
|
|
|
37890
|
-
const toastCss = ":host{position:fixed;right:0;bottom:1rem;left:0;z-index:1;display:flex;justify-content:center;width:328px;margin:0 auto;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .3s ease-in-out,visibility .15s,transform .3s ease-in-out;transform:translateY(-100%)}@media (min-width: 1200px){:host{right:1.5rem;bottom:3rem;left:auto;width:auto;transform:translateX(100%)}}:host(.toast-open){visibility:visible;opacity:1;transform:none}.toast{position:relative;box-sizing:border-box;display:flex;flex:0 0 100%;flex-flow:wrap;align-items:flex-start;width:328px;padding:0.75rem 2rem 0.6rem 1rem;font-family:var(--road-font);font-size:var(--road-body-medium);line-height:1.4;color:var(--road-on-info-surface-inverse);text-align:left;background:var(--road-info-surface-inverse);border-radius:0.25rem}@media (min-width: 575px){.toast{padding:1rem;margin-right:auto;margin-left:auto}}.toast-danger{color:var(--road-on-danger-surface-inverse);
|
|
37934
|
+
const toastCss = ":host{position:fixed;right:0;bottom:1rem;left:0;z-index:1;display:flex;justify-content:center;width:328px;margin:0 auto;--road-toast-timeout:5000ms;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .3s ease-in-out,visibility .15s,transform .3s ease-in-out;transform:translateY(-100%)}@media (min-width: 1200px){:host{right:1.5rem;bottom:3rem;left:auto;width:auto;transform:translateX(100%)}}:host(.toast-open){visibility:visible;opacity:1;transform:none}.toast{position:relative;box-sizing:border-box;display:flex;flex:0 0 100%;flex-flow:wrap;align-items:flex-start;width:328px;padding:0.75rem 2rem 0.6rem 1rem;font-family:var(--road-font);font-size:var(--road-body-medium);line-height:1.4;color:var(--road-on-info-surface-inverse);text-align:left;background:var(--road-info-surface-inverse);border-radius:0.25rem;pointer-events:all;--road-progress-animation-play-state:running}.toast:hover,.toast:focus-within{--road-progress-animation-play-state:paused}@media (min-width: 575px){.toast{padding:1rem;margin-right:auto;margin-left:auto}}.toast-danger{color:var(--road-on-danger-surface-inverse);background:var(--road-danger-surface-inverse)}.toast-danger road-icon{color:var(--road-danger-icon-inverse)}.toast-warning{color:var(--road-on-warning-surface-inverse);background:var(--road-warning-surface-inverse)}.toast-warning road-icon{color:var(--road-warning-icon-inverse)}.toast-success{color:var(--road-on-success-surface-inverse);background:var(--road-success-surface-inverse)}.toast-success road-icon{color:var(--road-success-icon-inverse)}.toast-info{color:var(--road-on-info-surface-inverse);background:var(--road-info-surface-inverse)}.toast-info road-icon{color:var(--road-info-icon-inverse)}.toast-icon{top:auto;left:0.5rem;margin-top:-5px;margin-right:0.5rem}@media (min-width: 575px){.toast-icon{position:relative;top:auto;left:auto;margin-right:0.5rem}}.toast-close{position:absolute;right:0.5rem;padding:0;color:inherit;cursor:pointer;background:none;border:0;border-radius:4px;fill:var(--road-info-icon-inverse);height:1.5rem}.toast-warning .toast-close{fill:var(--road-warning-icon-inverse)}.toast-close:focus{border-color:var(--road-info-surface-inverse);outline:none}.toast-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}.toast:focus-within{outline:2px solid currentColor;outline-offset:2px}.toast-label{width:240px;margin:0}:host ::slotted(road-progress){position:absolute;bottom:-8px;left:0;flex-basis:100%;width:100%;margin-top:0.5rem;--road-progress-animation-duration:var(--road-toast-timeout)}@keyframes load{0%{width:0}100%{width:100%}}";
|
|
37891
37935
|
var RoadToastStyle0 = toastCss;
|
|
37892
37936
|
|
|
37893
37937
|
/**
|
|
@@ -37902,6 +37946,8 @@ class Toast {
|
|
|
37902
37946
|
constructor(hostRef) {
|
|
37903
37947
|
registerInstance(this, hostRef);
|
|
37904
37948
|
this.onClose = createEvent(this, "close", 7);
|
|
37949
|
+
this.isHovered = false;
|
|
37950
|
+
this.isFocusWithin = false;
|
|
37905
37951
|
/**
|
|
37906
37952
|
* Set `open` propertie to `true` to open the toast
|
|
37907
37953
|
*/
|
|
@@ -37915,6 +37961,26 @@ class Toast {
|
|
|
37915
37961
|
* until `close()` is called.
|
|
37916
37962
|
*/
|
|
37917
37963
|
this.timeout = 5000;
|
|
37964
|
+
this.onMouseEnter = () => {
|
|
37965
|
+
this.isHovered = true;
|
|
37966
|
+
this.clearAutoClose();
|
|
37967
|
+
};
|
|
37968
|
+
this.onMouseLeave = () => {
|
|
37969
|
+
this.isHovered = false;
|
|
37970
|
+
this.scheduleAutoClose();
|
|
37971
|
+
};
|
|
37972
|
+
this.onFocusIn = () => {
|
|
37973
|
+
this.isFocusWithin = true;
|
|
37974
|
+
this.clearAutoClose();
|
|
37975
|
+
};
|
|
37976
|
+
this.onFocusOut = (ev) => {
|
|
37977
|
+
const next = ev.relatedTarget;
|
|
37978
|
+
const current = ev.currentTarget;
|
|
37979
|
+
if (current && next && current.contains(next))
|
|
37980
|
+
return;
|
|
37981
|
+
this.isFocusWithin = false;
|
|
37982
|
+
this.scheduleAutoClose();
|
|
37983
|
+
};
|
|
37918
37984
|
/**
|
|
37919
37985
|
* Close the dialog when clicking on the cross or layer
|
|
37920
37986
|
*/
|
|
@@ -37928,35 +37994,64 @@ class Toast {
|
|
|
37928
37994
|
* Watch the isOpen property to start the timeout before closing
|
|
37929
37995
|
*/
|
|
37930
37996
|
isOpenChanged() {
|
|
37931
|
-
if (this.isOpen
|
|
37932
|
-
|
|
37997
|
+
if (this.isOpen)
|
|
37998
|
+
this.scheduleAutoClose();
|
|
37999
|
+
else
|
|
38000
|
+
this.clearAutoClose();
|
|
38001
|
+
}
|
|
38002
|
+
timeoutChanged() {
|
|
38003
|
+
if (this.isOpen)
|
|
38004
|
+
this.scheduleAutoClose();
|
|
38005
|
+
}
|
|
38006
|
+
colorChanged() {
|
|
38007
|
+
if (this.isOpen)
|
|
38008
|
+
this.scheduleAutoClose();
|
|
38009
|
+
}
|
|
38010
|
+
getEffectiveTimeout() {
|
|
38011
|
+
if (this.color === 'danger')
|
|
38012
|
+
return 0;
|
|
38013
|
+
return this.timeout;
|
|
38014
|
+
}
|
|
38015
|
+
clearAutoClose() {
|
|
38016
|
+
if (this.autoCloseTimeoutId != null) {
|
|
38017
|
+
clearTimeout(this.autoCloseTimeoutId);
|
|
38018
|
+
this.autoCloseTimeoutId = undefined;
|
|
37933
38019
|
}
|
|
37934
38020
|
}
|
|
38021
|
+
scheduleAutoClose() {
|
|
38022
|
+
this.clearAutoClose();
|
|
38023
|
+
if (!this.isOpen)
|
|
38024
|
+
return;
|
|
38025
|
+
if (this.isHovered || this.isFocusWithin)
|
|
38026
|
+
return;
|
|
38027
|
+
const effectiveTimeout = this.getEffectiveTimeout();
|
|
38028
|
+
if (effectiveTimeout <= 0)
|
|
38029
|
+
return;
|
|
38030
|
+
this.autoCloseTimeoutId = window.setTimeout(() => {
|
|
38031
|
+
this.close();
|
|
38032
|
+
}, effectiveTimeout);
|
|
38033
|
+
}
|
|
37935
38034
|
/**
|
|
37936
38035
|
* Open the toast
|
|
37937
38036
|
*/
|
|
37938
38037
|
async open() {
|
|
37939
38038
|
this.isOpen = true;
|
|
37940
|
-
if (this.timeout > 0) {
|
|
37941
|
-
setTimeout(() => {
|
|
37942
|
-
this.close();
|
|
37943
|
-
}, this.timeout);
|
|
37944
|
-
}
|
|
37945
38039
|
}
|
|
37946
38040
|
/**
|
|
37947
38041
|
* Close the toast
|
|
37948
38042
|
*/
|
|
37949
38043
|
async close() {
|
|
38044
|
+
this.clearAutoClose();
|
|
37950
38045
|
this.isOpen = false;
|
|
37951
38046
|
this.onClose.emit();
|
|
37952
38047
|
}
|
|
37953
38048
|
componentDidLoad() {
|
|
37954
|
-
if (this.isOpen
|
|
37955
|
-
|
|
37956
|
-
}
|
|
38049
|
+
if (this.isOpen)
|
|
38050
|
+
this.scheduleAutoClose();
|
|
37957
38051
|
}
|
|
37958
38052
|
render() {
|
|
37959
38053
|
const toastIsOpenClass = this.isOpen ? 'toast-open' : '';
|
|
38054
|
+
const effectiveTimeout = this.getEffectiveTimeout();
|
|
37960
38055
|
let icon;
|
|
37961
38056
|
switch (this.color) {
|
|
37962
38057
|
case 'info':
|
|
@@ -37978,10 +38073,12 @@ class Toast {
|
|
|
37978
38073
|
if (this.color == 'danger') {
|
|
37979
38074
|
this.timeout = 0;
|
|
37980
38075
|
}
|
|
37981
|
-
return (hAsync(Host, { key: '
|
|
38076
|
+
return (hAsync(Host, { key: '6a5641b844537484ad87d8310f44bec732a84fab', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: '73a8ab651e28430ec4b6feef2918df26ee242291', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: '35511f526c1ce411b6d597edb4147b03b83a65b7', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: 'f2b4358588f74a4e5c79aa5eac8b235a7715712c', class: "toast-label" }, this.label), hAsync("button", { key: '6fc5cbd9d4b90028151a761af1a6ac288971bddc', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: 'e2e4c5c5b65471b87a00d994c57f8df48aeaf4a5', icon: navigationClose, size: "md" })), hAsync("slot", { key: '370181e3e948d369b95baa006d28fe22b88ba84c', name: "progress" }))));
|
|
37982
38077
|
}
|
|
37983
38078
|
static get watchers() { return {
|
|
37984
|
-
"isOpen": ["isOpenChanged"]
|
|
38079
|
+
"isOpen": ["isOpenChanged"],
|
|
38080
|
+
"timeout": ["timeoutChanged"],
|
|
38081
|
+
"color": ["colorChanged"]
|
|
37985
38082
|
}; }
|
|
37986
38083
|
static get style() { return RoadToastStyle0; }
|
|
37987
38084
|
static get cmpMeta() { return {
|
|
@@ -38018,7 +38115,7 @@ class Toolbar {
|
|
|
38018
38115
|
}
|
|
38019
38116
|
render() {
|
|
38020
38117
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
38021
|
-
return (hAsync(Host, { key: '
|
|
38118
|
+
return (hAsync(Host, { key: '69b08fceaa3fbdf9da4ca42f14fc227875e40233', class: colorClass }, hAsync("div", { key: '6168cb5d7084d7c241ee5b522a8375cee71ad8a6', class: "toolbar-container" }, hAsync("slot", { key: '030b5477ee92706cad1d4a349503129a2b255bb5', name: "start" }), hAsync("slot", { key: '16e6c5418744f807659f160a288df7e14834748f', name: "primary" }), hAsync("div", { key: 'ac3c8ccf8a10cdce55d67133d3c30326cc501c16', class: "toolbar-content" }, hAsync("slot", { key: 'cc650e6357e66b625b884127a4156947cf183ea5' })), hAsync("slot", { key: '713e3c955d8edf617049016d9194b39487774c12', name: "secondary" }), hAsync("slot", { key: '9ae71e60c5fbe054bc4acbab2fa7b833d2e4e1fb', name: "end" }))));
|
|
38022
38119
|
}
|
|
38023
38120
|
static get style() { return RoadToolbarStyle0; }
|
|
38024
38121
|
static get cmpMeta() { return {
|
|
@@ -38044,7 +38141,7 @@ class ToolbarAppName {
|
|
|
38044
38141
|
registerInstance(this, hostRef);
|
|
38045
38142
|
}
|
|
38046
38143
|
render() {
|
|
38047
|
-
return (hAsync("div", { key: '
|
|
38144
|
+
return (hAsync("div", { key: 'c7911e600db0a7b05ccad45a41b6e9b25b73c35a', class: "toolbar-title-page" }, hAsync("slot", { key: 'adc988f3c3087c8deac5e39300915bd0456d986a' })));
|
|
38048
38145
|
}
|
|
38049
38146
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
38050
38147
|
static get cmpMeta() { return {
|
|
@@ -38068,7 +38165,7 @@ class ToolbarTitle {
|
|
|
38068
38165
|
registerInstance(this, hostRef);
|
|
38069
38166
|
}
|
|
38070
38167
|
render() {
|
|
38071
|
-
return (hAsync("div", { key: '
|
|
38168
|
+
return (hAsync("div", { key: 'f333ab20e211d7813ee97a020a71f3852676f89c', class: "toolbar-title" }, hAsync("slot", { key: '840e69f86c31a4be7965bb290776e45a3278c167' })));
|
|
38072
38169
|
}
|
|
38073
38170
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
38074
38171
|
static get cmpMeta() { return {
|
|
@@ -38097,7 +38194,7 @@ class ToolbarV2 {
|
|
|
38097
38194
|
registerInstance(this, hostRef);
|
|
38098
38195
|
}
|
|
38099
38196
|
render() {
|
|
38100
|
-
return (hAsync(Host, { key: '
|
|
38197
|
+
return (hAsync(Host, { key: 'f197e6aa93f24d61f4424adac51dc0f1451690d7', class: "toolbar" }, hAsync("div", { key: '4f02a7ca538683f23ba8166400f4bb10f35bb20e', class: "toolbar-container" }, hAsync("div", { key: '1b20c5b2e0cfb5fc5c1aaf4260883a67de52e111', class: "toolbar-container-content-left" }, hAsync("slot", { key: 'b4e3956e1bc5cc7d902a2f6b73184c282e84ca8c', name: "start" }), hAsync("slot", { key: 'b45e8781a6ddd94095892a382bafa799b2b841ab', name: "primary" })), hAsync("div", { key: '3d796b9cb78f7d3c77e42473cfd61833507593af', class: "toolbar-content" }, hAsync("slot", { key: '8c9ff56ad415b57211f6c0268330832959659a1c' })), hAsync("div", { key: '7de2f6fac6941d176454b6c2386cee85f8aeceb2', class: "toolbar-container-content-right" }, hAsync("slot", { key: 'f3e911e9f54d9831664cdb705b7401d2a75a12af', name: "secondary" }), hAsync("slot", { key: 'f803799d38325b0aaff33cd6476392e1b02f8030', name: "end" })))));
|
|
38101
38198
|
}
|
|
38102
38199
|
static get style() { return RoadToolbarV2Style0; }
|
|
38103
38200
|
static get cmpMeta() { return {
|
|
@@ -38224,12 +38321,12 @@ class Tooltip {
|
|
|
38224
38321
|
return triggers.includes(triggerType);
|
|
38225
38322
|
}
|
|
38226
38323
|
render() {
|
|
38227
|
-
return (hAsync(Host, { key: '
|
|
38324
|
+
return (hAsync(Host, { key: 'd5820fd1bf93fc00fcaae3f48d27d09a7c478906', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
38228
38325
|
,
|
|
38229
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
38326
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: '944189110f599941f8214e5a9e766096f10ab36d', "aria-describedby": this.tooltipId }), hAsync("div", { key: 'efa16f01312bd27d9a80e5429302daa3656d8da0', part: "tooltip", id: this.tooltipId, class: {
|
|
38230
38327
|
tooltip: true,
|
|
38231
38328
|
"tooltip-open": this.isOpen,
|
|
38232
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: '
|
|
38329
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: 'e4956c45c1f42ae8326f36b2b1f8a737374f375f', name: "tooltip-content" }))));
|
|
38233
38330
|
}
|
|
38234
38331
|
get el() { return getElement(this); }
|
|
38235
38332
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -38321,11 +38418,11 @@ class toggle {
|
|
|
38321
38418
|
}
|
|
38322
38419
|
render() {
|
|
38323
38420
|
const labelId = this.toggleId + '-label';
|
|
38324
|
-
const textLabel = hAsync("label", { key: '
|
|
38421
|
+
const textLabel = hAsync("label", { key: '5c9d81a2dcabfd489edfa4085812225892fdc200', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
38325
38422
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
38326
38423
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
38327
38424
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
38328
|
-
return (hAsync(Host, { key: '
|
|
38425
|
+
return (hAsync(Host, { key: 'd5621dbe1003bb50f9cf6762ad1cddf1e3db5186' }, hAsync("input", { key: '41e9b04d49fcf57d203643c7860a0762aaf2d354', class: "form-toggle-input", type: "checkbox", id: this.toggleId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: 'b6352e3b42d667528a6852ed4126b1a5ace5430c', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '13ce7ce2c26a9e819aa8dde3a8b5976c3bfccb8a', class: `form-toggle-lever ${righttoggleClass}` }, this.checked ? (hAsync("road-icon", { name: "check-small-solid", class: "form-toggle-lever-check", size: "md" })) : (hAsync("road-icon", { name: "navigation-close-solid", class: "form-toggle-lever-close", size: "md" }))), this.hasLeftLabel ? '' : textLabel)));
|
|
38329
38426
|
}
|
|
38330
38427
|
static get watchers() { return {
|
|
38331
38428
|
"checked": ["checkedChanged"]
|