@roadtrip/components 3.53.0 → 3.53.1
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.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.mjs
CHANGED
|
@@ -3201,7 +3201,7 @@ class Accordion {
|
|
|
3201
3201
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3202
3202
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3203
3203
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3204
|
-
return (hAsync("details", { key: '
|
|
3204
|
+
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' }))));
|
|
3205
3205
|
}
|
|
3206
3206
|
static get style() { return RoadAccordionStyle0; }
|
|
3207
3207
|
static get cmpMeta() { return {
|
|
@@ -3219,7 +3219,7 @@ class Accordion {
|
|
|
3219
3219
|
}; }
|
|
3220
3220
|
}
|
|
3221
3221
|
|
|
3222
|
-
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-
|
|
3222
|
+
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)}";
|
|
3223
3223
|
var RoadAlertStyle0 = alertCss;
|
|
3224
3224
|
|
|
3225
3225
|
/**
|
|
@@ -3296,7 +3296,7 @@ class Alert {
|
|
|
3296
3296
|
const btnContainerClass = this.hasCloseIcon ? 'btn-container justify-end' : 'btn-container';
|
|
3297
3297
|
const hasButtonSlot = !!((_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelector('[slot="button"]'));
|
|
3298
3298
|
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;
|
|
3299
|
-
return (hAsync(Host, { key: '
|
|
3299
|
+
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)));
|
|
3300
3300
|
}
|
|
3301
3301
|
get el() { return getElement(this); }
|
|
3302
3302
|
static get style() { return RoadAlertStyle0; }
|
|
@@ -3401,7 +3401,7 @@ class Asset {
|
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
3403
|
render() {
|
|
3404
|
-
return (hAsync(Host, { key: '
|
|
3404
|
+
return (hAsync(Host, { key: '8e7995b04221aaba4ec62613eb00bfdd32ca751d', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3405
3405
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3406
3406
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3407
3407
|
}
|
|
@@ -3471,8 +3471,8 @@ class Autocomplete {
|
|
|
3471
3471
|
}
|
|
3472
3472
|
}
|
|
3473
3473
|
render() {
|
|
3474
|
-
return (hAsync(Host, { key: '
|
|
3475
|
-
hAsync("ul", { key: '
|
|
3474
|
+
return (hAsync(Host, { key: 'a29547f605ff876affeb62d0c97cfc91fd78953e' }, hAsync("slot", { key: '7e230540ae914c49eca145abe87b4c7909236b5f' }), this.visible && this.options.length > 0 &&
|
|
3475
|
+
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))))));
|
|
3476
3476
|
}
|
|
3477
3477
|
get el() { return getElement(this); }
|
|
3478
3478
|
static get style() { return RoadAutocompleteStyle0; }
|
|
@@ -3505,7 +3505,7 @@ class Avatar {
|
|
|
3505
3505
|
}
|
|
3506
3506
|
render() {
|
|
3507
3507
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3508
|
-
return (hAsync(Host, { key: '
|
|
3508
|
+
return (hAsync(Host, { key: '7f884ebfae4a22966a5881e427f4b9faa3999553', class: `${sizeClass}` }, hAsync("slot", { key: '761a06284dcd0b89047c7b487b949f621fe87b24' })));
|
|
3509
3509
|
}
|
|
3510
3510
|
static get style() { return RoadAvatarStyle0; }
|
|
3511
3511
|
static get cmpMeta() { return {
|
|
@@ -3546,7 +3546,7 @@ class Badge {
|
|
|
3546
3546
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3547
3547
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3548
3548
|
const sizeClass = this.size !== undefined ? `badge-${this.size}` : '';
|
|
3549
|
-
return (hAsync(Host, { key: '
|
|
3549
|
+
return (hAsync(Host, { key: '6d46358940e3023bd25eb5aa5cce7b0bb2bc3f51', class: `${colorClass} ${bubbleClass} ${sizeClass}` }, hAsync("slot", { key: '766b5ce1dcc35847374722bbf61528254a53fa07' })));
|
|
3550
3550
|
}
|
|
3551
3551
|
static get style() { return RoadBadgeStyle0; }
|
|
3552
3552
|
static get cmpMeta() { return {
|
|
@@ -3596,7 +3596,7 @@ class Banner {
|
|
|
3596
3596
|
}
|
|
3597
3597
|
render() {
|
|
3598
3598
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3599
|
-
return (hAsync(Host, { key: '
|
|
3599
|
+
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" })))));
|
|
3600
3600
|
}
|
|
3601
3601
|
static get style() { return RoadBannerStyle0; }
|
|
3602
3602
|
static get cmpMeta() { return {
|
|
@@ -3707,7 +3707,7 @@ class Button$2 {
|
|
|
3707
3707
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3708
3708
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3709
3709
|
const inverseClass = this.inverse ? 'btn-inverse' : '';
|
|
3710
|
-
return (hAsync(Host, { key: '
|
|
3710
|
+
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" }))));
|
|
3711
3711
|
}
|
|
3712
3712
|
get el() { return getElement(this); }
|
|
3713
3713
|
static get style() { return RoadButtonStyle0; }
|
|
@@ -3796,7 +3796,7 @@ class Button$1 {
|
|
|
3796
3796
|
render() {
|
|
3797
3797
|
const TagType = 'button';
|
|
3798
3798
|
const outlineClass = this.outline ? 'btn-outline' : 'btn-default';
|
|
3799
|
-
return (hAsync(Host, { key: '
|
|
3799
|
+
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' }))));
|
|
3800
3800
|
}
|
|
3801
3801
|
get el() { return getElement(this); }
|
|
3802
3802
|
static get style() { return RoadButtonCarouselStyle0; }
|
|
@@ -3872,7 +3872,7 @@ class Button {
|
|
|
3872
3872
|
render() {
|
|
3873
3873
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3874
3874
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3875
|
-
return (hAsync(Host, { key: '
|
|
3875
|
+
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' }))));
|
|
3876
3876
|
}
|
|
3877
3877
|
get el() { return getElement(this); }
|
|
3878
3878
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3917,7 +3917,7 @@ class ButtonBar {
|
|
|
3917
3917
|
this.selectedTabChanged();
|
|
3918
3918
|
}
|
|
3919
3919
|
render() {
|
|
3920
|
-
return (hAsync(Host, { key: '
|
|
3920
|
+
return (hAsync(Host, { key: '4220c429f18200f507e395f04971820d4615bc3b', role: "tablist" }, hAsync("slot", { key: 'f0e87a296ac87aa0f5507d536fe183e4c26bc138' })));
|
|
3921
3921
|
}
|
|
3922
3922
|
get el() { return getElement(this); }
|
|
3923
3923
|
static get watchers() { return {
|
|
@@ -3936,7 +3936,7 @@ class ButtonBar {
|
|
|
3936
3936
|
}; }
|
|
3937
3937
|
}
|
|
3938
3938
|
|
|
3939
|
-
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
|
|
3939
|
+
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}";
|
|
3940
3940
|
var RoadCardStyle0 = cardCss;
|
|
3941
3941
|
|
|
3942
3942
|
/**
|
|
@@ -4040,7 +4040,7 @@ class Card {
|
|
|
4040
4040
|
const isButtonClass = isButtonMode ? "is-button" : "";
|
|
4041
4041
|
const disabledClass = isButtonMode && this.disabled ? "is-disabled" : "";
|
|
4042
4042
|
const singleClass = isButtonMode && this.selectionMode === "single" ? "is-single" : "";
|
|
4043
|
-
return (hAsync(Host, { key: '
|
|
4043
|
+
return (hAsync(Host, { key: '7eeca2e8ea56b84c7f4e137ad192871c8a9da811', class: `${elevationClass} ${selectedClass} ${isButtonClass} ${disabledClass} ${singleClass}` }, this.renderCard()));
|
|
4044
4044
|
}
|
|
4045
4045
|
get el() { return getElement(this); }
|
|
4046
4046
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10796,7 +10796,7 @@ class Carousel {
|
|
|
10796
10796
|
});
|
|
10797
10797
|
}
|
|
10798
10798
|
render() {
|
|
10799
|
-
return (hAsync(Host, { key: '
|
|
10799
|
+
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 })))));
|
|
10800
10800
|
}
|
|
10801
10801
|
get el() { return getElement(this); }
|
|
10802
10802
|
static get watchers() { return {
|
|
@@ -10848,10 +10848,10 @@ class CarouselItem {
|
|
|
10848
10848
|
registerInstance(this, hostRef);
|
|
10849
10849
|
}
|
|
10850
10850
|
render() {
|
|
10851
|
-
return (hAsync(Host, { key: '
|
|
10851
|
+
return (hAsync(Host, { key: '1d25b2fe5373b43fa711793a695b3d48e015ff81', class: {
|
|
10852
10852
|
'swiper-slide': true,
|
|
10853
10853
|
'swiper-zoom-container': true,
|
|
10854
|
-
} }, hAsync("slot", { key: '
|
|
10854
|
+
} }, hAsync("slot", { key: 'dcedfe5b5ba8904ccee633efb9d2d5b8f411941a' })));
|
|
10855
10855
|
}
|
|
10856
10856
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10857
10857
|
static get cmpMeta() { return {
|
|
@@ -10947,7 +10947,7 @@ class Checkbox {
|
|
|
10947
10947
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10948
10948
|
const sizeClass = this.size !== undefined ? `form-check-label-${this.size}` : '';
|
|
10949
10949
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10950
|
-
return (hAsync(Host, { key: '
|
|
10950
|
+
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)));
|
|
10951
10951
|
}
|
|
10952
10952
|
static get watchers() { return {
|
|
10953
10953
|
"checked": ["checkedChanged"]
|
|
@@ -11006,7 +11006,7 @@ class Chip {
|
|
|
11006
11006
|
}
|
|
11007
11007
|
render() {
|
|
11008
11008
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
11009
|
-
return (hAsync(Host, { key: '
|
|
11009
|
+
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 })));
|
|
11010
11010
|
}
|
|
11011
11011
|
static get style() { return RoadChipStyle0; }
|
|
11012
11012
|
static get cmpMeta() { return {
|
|
@@ -11035,7 +11035,7 @@ class Col {
|
|
|
11035
11035
|
registerInstance(this, hostRef);
|
|
11036
11036
|
}
|
|
11037
11037
|
render() {
|
|
11038
|
-
return (hAsync("slot", { key: '
|
|
11038
|
+
return (hAsync("slot", { key: '8f856a980820ad194551d4fe59eb73c0dcc1515e' }));
|
|
11039
11039
|
}
|
|
11040
11040
|
static get style() { return RoadColStyle0; }
|
|
11041
11041
|
static get cmpMeta() { return {
|
|
@@ -11085,7 +11085,7 @@ class Collapse {
|
|
|
11085
11085
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
11086
11086
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
11087
11087
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
11088
|
-
return (hAsync(Host, { key: '
|
|
11088
|
+
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))));
|
|
11089
11089
|
}
|
|
11090
11090
|
static get style() { return RoadCollapseStyle0; }
|
|
11091
11091
|
static get cmpMeta() { return {
|
|
@@ -11122,7 +11122,7 @@ class ContentCard {
|
|
|
11122
11122
|
}
|
|
11123
11123
|
render() {
|
|
11124
11124
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11125
|
-
return (hAsync(Host, { key: '
|
|
11125
|
+
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' })))));
|
|
11126
11126
|
}
|
|
11127
11127
|
static get style() { return RoadContentCardStyle0; }
|
|
11128
11128
|
static get cmpMeta() { return {
|
|
@@ -11150,6 +11150,8 @@ class Counter {
|
|
|
11150
11150
|
this.leftIconClasses = "";
|
|
11151
11151
|
this.rightIconClasses = "";
|
|
11152
11152
|
this.isDustbinVisible = false;
|
|
11153
|
+
this.decreaseAriaLabel = "";
|
|
11154
|
+
this.increaseAriaLabel = "";
|
|
11153
11155
|
/**
|
|
11154
11156
|
* The id of counter
|
|
11155
11157
|
*/
|
|
@@ -11174,6 +11176,22 @@ class Counter {
|
|
|
11174
11176
|
* Set to `true` to not modify the input field
|
|
11175
11177
|
*/
|
|
11176
11178
|
this.readonly = false;
|
|
11179
|
+
/**
|
|
11180
|
+
* Accessible label for the dustbin button when `dustbin` is enabled and value equals `min`.
|
|
11181
|
+
*/
|
|
11182
|
+
this.dustbinLabelA11y = "Supprimer l'article";
|
|
11183
|
+
/**
|
|
11184
|
+
* Accessible label for the decrease button (suffix `, minimum {min}` is appended when not in dustbin mode).
|
|
11185
|
+
*/
|
|
11186
|
+
this.decreaseLabelA11y = 'Diminuer la quantité';
|
|
11187
|
+
/**
|
|
11188
|
+
* Accessible label for the increase button (suffix `, maximum {max}` is appended when not in dustbin mode).
|
|
11189
|
+
*/
|
|
11190
|
+
this.increaseLabelA11y = 'Augmenter la quantité';
|
|
11191
|
+
/**
|
|
11192
|
+
* Accessible label for the input field.
|
|
11193
|
+
*/
|
|
11194
|
+
this.quantityLabelA11y = 'Quantité';
|
|
11177
11195
|
this.setIsDustbinVisible = (valueInput) => {
|
|
11178
11196
|
if (valueInput > this.min) {
|
|
11179
11197
|
this.isDustbinVisible = false;
|
|
@@ -11245,6 +11263,23 @@ class Counter {
|
|
|
11245
11263
|
onValueChange(valueInput) {
|
|
11246
11264
|
this.setIsDustbinVisible(valueInput);
|
|
11247
11265
|
this.setIconsClasses(valueInput);
|
|
11266
|
+
this.updateAriaLabels(valueInput);
|
|
11267
|
+
}
|
|
11268
|
+
onA11yLabelChange() {
|
|
11269
|
+
var _a, _b, _c;
|
|
11270
|
+
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));
|
|
11271
|
+
this.updateAriaLabels(currentValue);
|
|
11272
|
+
}
|
|
11273
|
+
updateAriaLabels(valueInput) {
|
|
11274
|
+
const isDustbin = this.isDustbinVisible || (valueInput <= this.min && this.dustbin);
|
|
11275
|
+
this.decreaseAriaLabel = isDustbin
|
|
11276
|
+
? this.dustbinLabelA11y
|
|
11277
|
+
: this.min > 0
|
|
11278
|
+
? `${this.decreaseLabelA11y}, minimum ${this.min}`
|
|
11279
|
+
: this.decreaseLabelA11y;
|
|
11280
|
+
this.increaseAriaLabel = this.max
|
|
11281
|
+
? `${this.increaseLabelA11y}, maximum ${this.max}`
|
|
11282
|
+
: this.increaseLabelA11y;
|
|
11248
11283
|
}
|
|
11249
11284
|
setIconsClasses(valueInput) {
|
|
11250
11285
|
valueInput = valueInput !== null && valueInput !== void 0 ? valueInput : parseInt(this.inputElement.querySelector('input').value);
|
|
@@ -11300,12 +11335,15 @@ class Counter {
|
|
|
11300
11335
|
}
|
|
11301
11336
|
render() {
|
|
11302
11337
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11303
|
-
return (hAsync("road-input-group", { key: '
|
|
11338
|
+
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" }))));
|
|
11304
11339
|
}
|
|
11305
11340
|
get el() { return getElement(this); }
|
|
11306
11341
|
static get watchers() { return {
|
|
11307
11342
|
"value": ["onValueChange"],
|
|
11308
|
-
"readonly": ["onValueChange"]
|
|
11343
|
+
"readonly": ["onValueChange"],
|
|
11344
|
+
"decreaseLabelA11y": ["onA11yLabelChange"],
|
|
11345
|
+
"increaseLabelA11y": ["onA11yLabelChange"],
|
|
11346
|
+
"dustbinLabelA11y": ["onA11yLabelChange"]
|
|
11309
11347
|
}; }
|
|
11310
11348
|
static get style() { return RoadCounterStyle0; }
|
|
11311
11349
|
static get cmpMeta() { return {
|
|
@@ -11320,9 +11358,15 @@ class Counter {
|
|
|
11320
11358
|
"size": [1],
|
|
11321
11359
|
"dustbin": [4],
|
|
11322
11360
|
"readonly": [4],
|
|
11361
|
+
"dustbinLabelA11y": [1, "dustbin-label-a11y"],
|
|
11362
|
+
"decreaseLabelA11y": [1, "decrease-label-a11y"],
|
|
11363
|
+
"increaseLabelA11y": [1, "increase-label-a11y"],
|
|
11364
|
+
"quantityLabelA11y": [1, "quantity-label-a11y"],
|
|
11323
11365
|
"leftIconClasses": [32],
|
|
11324
11366
|
"rightIconClasses": [32],
|
|
11325
|
-
"isDustbinVisible": [32]
|
|
11367
|
+
"isDustbinVisible": [32],
|
|
11368
|
+
"decreaseAriaLabel": [32],
|
|
11369
|
+
"increaseAriaLabel": [32]
|
|
11326
11370
|
},
|
|
11327
11371
|
"$listeners$": undefined,
|
|
11328
11372
|
"$lazyBundleId$": "-",
|
|
@@ -11421,11 +11465,11 @@ class Dialog {
|
|
|
11421
11465
|
break;
|
|
11422
11466
|
}
|
|
11423
11467
|
}
|
|
11424
|
-
return (hAsync(Host, { key: '
|
|
11468
|
+
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
|
|
11425
11469
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11426
|
-
: ''), hAsync("div", { key: '
|
|
11470
|
+
: ''), hAsync("div", { key: '1ea1334eacc0218440d5ad13d1988269602f2f3d', class: "dialog-body" }, this.color !== undefined
|
|
11427
11471
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11428
|
-
: '', hAsync("h2", { key: '
|
|
11472
|
+
: '', 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' }))))));
|
|
11429
11473
|
}
|
|
11430
11474
|
get el() { return getElement(this); }
|
|
11431
11475
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -13028,7 +13072,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
|
|
|
13028
13072
|
return trap;
|
|
13029
13073
|
};
|
|
13030
13074
|
|
|
13031
|
-
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:
|
|
13075
|
+
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}}}";
|
|
13032
13076
|
var RoadDrawerStyle0 = drawerCss;
|
|
13033
13077
|
|
|
13034
13078
|
/**
|
|
@@ -13268,7 +13312,7 @@ class Drawer {
|
|
|
13268
13312
|
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;
|
|
13269
13313
|
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;
|
|
13270
13314
|
const drawerWidthValue = this.position === "bottom" ? "100%" : `${this.drawerWidth}px`;
|
|
13271
|
-
return (hAsync(Host, { key: '
|
|
13315
|
+
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 })))))));
|
|
13272
13316
|
}
|
|
13273
13317
|
get el() { return getElement(this); }
|
|
13274
13318
|
static get watchers() { return {
|
|
@@ -13336,7 +13380,7 @@ class Dropdown$1 {
|
|
|
13336
13380
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
13337
13381
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
13338
13382
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
13339
|
-
return (hAsync("details", { key: '
|
|
13383
|
+
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" }))));
|
|
13340
13384
|
}
|
|
13341
13385
|
get el() { return getElement(this); }
|
|
13342
13386
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -13392,7 +13436,7 @@ class Dropdown {
|
|
|
13392
13436
|
this.isOpen = false;
|
|
13393
13437
|
}
|
|
13394
13438
|
render() {
|
|
13395
|
-
return (hAsync("details", { key: '
|
|
13439
|
+
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" }))));
|
|
13396
13440
|
}
|
|
13397
13441
|
get el() { return getElement(this); }
|
|
13398
13442
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -13456,7 +13500,7 @@ class Duration {
|
|
|
13456
13500
|
this.isOpen = false;
|
|
13457
13501
|
}
|
|
13458
13502
|
render() {
|
|
13459
|
-
return (hAsync("road-drawer", { key: '
|
|
13503
|
+
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 })))))))));
|
|
13460
13504
|
}
|
|
13461
13505
|
get el() { return getElement(this); }
|
|
13462
13506
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -13502,7 +13546,7 @@ class Flap {
|
|
|
13502
13546
|
}
|
|
13503
13547
|
render() {
|
|
13504
13548
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
13505
|
-
return (hAsync(Host, { key: '
|
|
13549
|
+
return (hAsync(Host, { key: '739602eeec63bce938298c58e66f2ab4bbf44f01', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '38dbde63176a646bbc5985364ccd265aa1e8fddf' })));
|
|
13506
13550
|
}
|
|
13507
13551
|
static get style() { return RoadFlapStyle0; }
|
|
13508
13552
|
static get cmpMeta() { return {
|
|
@@ -13548,7 +13592,7 @@ class GlobalNavigation {
|
|
|
13548
13592
|
this.selectedTabChanged();
|
|
13549
13593
|
}
|
|
13550
13594
|
render() {
|
|
13551
|
-
return (hAsync(Host, { key: '
|
|
13595
|
+
return (hAsync(Host, { key: '30bcf69f0b6bf8daf643db2d4ff16a6b03dcdbbf', role: "application" }, hAsync("slot", { key: 'd3602ab16bf4c420dfc84668ea3b6478fdcf5a6c' })));
|
|
13552
13596
|
}
|
|
13553
13597
|
static get watchers() { return {
|
|
13554
13598
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -13696,7 +13740,7 @@ class GlobalNavigationV2 {
|
|
|
13696
13740
|
this.selectedTabChanged();
|
|
13697
13741
|
}
|
|
13698
13742
|
render() {
|
|
13699
|
-
return (hAsync(Host, { key: '
|
|
13743
|
+
return (hAsync(Host, { key: '5710e04a3f7f9bf93155944647937aac8a5d464c', role: "application" }, hAsync("slot", { key: '52c85d81b143c6725751ddeea13c47d915692053' })));
|
|
13700
13744
|
}
|
|
13701
13745
|
get host() { return getElement(this); }
|
|
13702
13746
|
static get watchers() { return {
|
|
@@ -13726,7 +13770,7 @@ class Grid {
|
|
|
13726
13770
|
registerInstance(this, hostRef);
|
|
13727
13771
|
}
|
|
13728
13772
|
render() {
|
|
13729
|
-
return (hAsync("slot", { key: '
|
|
13773
|
+
return (hAsync("slot", { key: '9fcc36d5c4a156df21c853116ee493c12f1da4fd' }));
|
|
13730
13774
|
}
|
|
13731
13775
|
static get style() { return RoadGridStyle0; }
|
|
13732
13776
|
static get cmpMeta() { return {
|
|
@@ -13829,7 +13873,7 @@ class Icon {
|
|
|
13829
13873
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
13830
13874
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
13831
13875
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
13832
|
-
return (hAsync(Host, { key: '
|
|
13876
|
+
return (hAsync(Host, { key: '7d5d2a6cb1e04af2b2016b7c235c69b6df990153', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
13833
13877
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
13834
13878
|
: hAsync("div", { class: "icon-inner" })));
|
|
13835
13879
|
}
|
|
@@ -13951,7 +13995,7 @@ class Illustration {
|
|
|
13951
13995
|
render() {
|
|
13952
13996
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
13953
13997
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
13954
|
-
return (hAsync(Host, { key: '
|
|
13998
|
+
return (hAsync(Host, { key: '279204d03ea78a03ad2c78286e9c23ca30f9192c', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
13955
13999
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
13956
14000
|
: hAsync("div", { class: "icon-inner" }))));
|
|
13957
14001
|
}
|
|
@@ -14054,7 +14098,7 @@ class Img {
|
|
|
14054
14098
|
}
|
|
14055
14099
|
render() {
|
|
14056
14100
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
14057
|
-
return (hAsync(Host, { key: '
|
|
14101
|
+
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" })));
|
|
14058
14102
|
}
|
|
14059
14103
|
get el() { return getElement(this); }
|
|
14060
14104
|
static get watchers() { return {
|
|
@@ -31525,11 +31569,11 @@ class Input {
|
|
|
31525
31569
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
31526
31570
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31527
31571
|
const isValidClass = this.success == true ? 'is-valid' : '';
|
|
31528
|
-
return (hAsync(Host, { key: '
|
|
31572
|
+
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)
|
|
31529
31573
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
31530
31574
|
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(), " ")))
|
|
31531
31575
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
31532
|
-
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: '
|
|
31576
|
+
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" })));
|
|
31533
31577
|
}
|
|
31534
31578
|
static get watchers() { return {
|
|
31535
31579
|
"debounce": ["debounceChanged"],
|
|
@@ -31619,7 +31663,7 @@ class InputGroup {
|
|
|
31619
31663
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
31620
31664
|
: '';
|
|
31621
31665
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
31622
|
-
return (hAsync("div", { key: '
|
|
31666
|
+
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" }))));
|
|
31623
31667
|
}
|
|
31624
31668
|
get el() { return getElement(this); }
|
|
31625
31669
|
static get watchers() { return {
|
|
@@ -31699,13 +31743,13 @@ class Item {
|
|
|
31699
31743
|
target,
|
|
31700
31744
|
};
|
|
31701
31745
|
const showDetail = detail !== undefined && detail;
|
|
31702
|
-
return (hAsync(Host, { key: '
|
|
31746
|
+
return (hAsync(Host, { key: '7827649c774c20cb6c3e002f6437475431f6a74f', "aria-disabled": disabled ? 'true' : null, class: {
|
|
31703
31747
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
31704
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
31748
|
+
} }, hAsync(TagType, Object.assign({ key: '1d3a248acf34aa9313393a4f24207650393fc0d7' }, attrs, { class: {
|
|
31705
31749
|
'item-native': true,
|
|
31706
31750
|
'item-active': this.active,
|
|
31707
31751
|
[`layout-${layout}`]: layout !== undefined,
|
|
31708
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
31752
|
+
}, 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" })))));
|
|
31709
31753
|
}
|
|
31710
31754
|
get el() { return getElement(this); }
|
|
31711
31755
|
static get style() { return RoadItemStyle0; }
|
|
@@ -31746,7 +31790,7 @@ class Label {
|
|
|
31746
31790
|
registerInstance(this, hostRef);
|
|
31747
31791
|
}
|
|
31748
31792
|
render() {
|
|
31749
|
-
return (hAsync("slot", { key: '
|
|
31793
|
+
return (hAsync("slot", { key: 'cbca2967aab7b7a1ece0cffbc2618fec7aab02f0' }));
|
|
31750
31794
|
}
|
|
31751
31795
|
static get style() { return RoadLabelStyle0; }
|
|
31752
31796
|
static get cmpMeta() { return {
|
|
@@ -31771,9 +31815,9 @@ class List {
|
|
|
31771
31815
|
}
|
|
31772
31816
|
render() {
|
|
31773
31817
|
const { lines } = this;
|
|
31774
|
-
return (hAsync(Host, { key: '
|
|
31818
|
+
return (hAsync(Host, { key: '95c852cf27f008a6078f9a7776b0b1fabb24f156', class: {
|
|
31775
31819
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
31776
|
-
} }, hAsync("slot", { key: '
|
|
31820
|
+
} }, hAsync("slot", { key: 'ab1ec479073541979646cd7ac90cf6eb0239126a' })));
|
|
31777
31821
|
}
|
|
31778
31822
|
static get style() { return RoadListStyle0; }
|
|
31779
31823
|
static get cmpMeta() { return {
|
|
@@ -31858,7 +31902,7 @@ class Modal {
|
|
|
31858
31902
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
31859
31903
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
31860
31904
|
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" })) : '';
|
|
31861
|
-
return (hAsync(Host, { key: '
|
|
31905
|
+
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' }))))));
|
|
31862
31906
|
}
|
|
31863
31907
|
get el() { return getElement(this); }
|
|
31864
31908
|
static get style() { return RoadModalStyle0; }
|
|
@@ -31909,7 +31953,7 @@ class Navbar {
|
|
|
31909
31953
|
this.selectedTabChanged();
|
|
31910
31954
|
}
|
|
31911
31955
|
render() {
|
|
31912
|
-
return (hAsync(Host, { key: '
|
|
31956
|
+
return (hAsync(Host, { key: '856ecb6ab9ca8791d6b27a9167e99fc7bbf5563e', role: "menubar" }, hAsync("slot", { key: '683e5f402623992d814b1667fa6f1e1ec10ca4de' })));
|
|
31913
31957
|
}
|
|
31914
31958
|
static get watchers() { return {
|
|
31915
31959
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -31995,11 +32039,11 @@ class NavbarItem$1 {
|
|
|
31995
32039
|
rel,
|
|
31996
32040
|
target,
|
|
31997
32041
|
};
|
|
31998
|
-
return (hAsync(Host, { key: '
|
|
32042
|
+
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: {
|
|
31999
32043
|
'navbar-item': true,
|
|
32000
32044
|
'tab-selected': selected,
|
|
32001
32045
|
'tab-disabled': disabled,
|
|
32002
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
32046
|
+
} }, 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' })))));
|
|
32003
32047
|
}
|
|
32004
32048
|
get el() { return getElement(this); }
|
|
32005
32049
|
static get watchers() { return {
|
|
@@ -32092,11 +32136,11 @@ class NavbarItem {
|
|
|
32092
32136
|
rel,
|
|
32093
32137
|
target,
|
|
32094
32138
|
};
|
|
32095
|
-
return (hAsync(Host, { key: '
|
|
32139
|
+
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: {
|
|
32096
32140
|
'navbar-item': true,
|
|
32097
32141
|
'tab-selected': selected,
|
|
32098
32142
|
'tab-disabled': disabled,
|
|
32099
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
32143
|
+
} }, 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' })))));
|
|
32100
32144
|
}
|
|
32101
32145
|
get el() { return getElement(this); }
|
|
32102
32146
|
static get watchers() { return {
|
|
@@ -32155,7 +32199,7 @@ class NavbarV2 {
|
|
|
32155
32199
|
}
|
|
32156
32200
|
render() {
|
|
32157
32201
|
const compactClass = this.compact ? 'compact' : '';
|
|
32158
|
-
return (hAsync(Host, { key: '
|
|
32202
|
+
return (hAsync(Host, { key: 'dbe3efbf3dfb5a6fad5a1a5f11b8b35c4628a668', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'babb69adc19512b222822fd3aab9692e4f79141b' })));
|
|
32159
32203
|
}
|
|
32160
32204
|
static get watchers() { return {
|
|
32161
32205
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -32278,10 +32322,10 @@ class PlateNumber {
|
|
|
32278
32322
|
render() {
|
|
32279
32323
|
const value = this.getValue();
|
|
32280
32324
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
32281
|
-
return (hAsync("road-input-group", { key: '
|
|
32325
|
+
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
|
|
32282
32326
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
32283
32327
|
? (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 }))
|
|
32284
|
-
: (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: '
|
|
32328
|
+
: (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" }))));
|
|
32285
32329
|
}
|
|
32286
32330
|
static get watchers() { return {
|
|
32287
32331
|
"value": ["valueChanged"]
|
|
@@ -32304,7 +32348,7 @@ class PlateNumber {
|
|
|
32304
32348
|
}; }
|
|
32305
32349
|
}
|
|
32306
32350
|
|
|
32307
|
-
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%}}";
|
|
32351
|
+
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%}}";
|
|
32308
32352
|
var RoadProgressStyle0 = progressCss;
|
|
32309
32353
|
|
|
32310
32354
|
class ProgressBar {
|
|
@@ -32363,7 +32407,7 @@ class ProgressBar {
|
|
|
32363
32407
|
let step = Math.ceil((this.value / 100) * this.numbersteps);
|
|
32364
32408
|
step = Math.min(step, this.numbersteps);
|
|
32365
32409
|
step = Math.max(step, 0);
|
|
32366
|
-
return (hAsync(Host, { key: '
|
|
32410
|
+
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)))));
|
|
32367
32411
|
}
|
|
32368
32412
|
static get style() { return RoadProgressStyle0; }
|
|
32369
32413
|
static get cmpMeta() { return {
|
|
@@ -32405,7 +32449,7 @@ class ProgressIndicatorVertical {
|
|
|
32405
32449
|
registerInstance(this, hostRef);
|
|
32406
32450
|
}
|
|
32407
32451
|
render() {
|
|
32408
|
-
return (hAsync(Host, { key: '
|
|
32452
|
+
return (hAsync(Host, { key: 'beb66fb988e3aa831e0f35ce048acc475830baad' }, hAsync("nav", { key: '338c96614e2a2727e3c796a55a9f200e3f9caa34' }, hAsync("ul", { key: 'e37ac6d452a71aa56f686dcf68872f1f45bf7d1a' }, hAsync("li", { key: 'c2678653c29dcd23be4b868f813dfeff81deee39' }, hAsync("slot", { key: '67610abb009942ef9da77ec2347de152c5ea836b' }))))));
|
|
32409
32453
|
}
|
|
32410
32454
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
32411
32455
|
static get cmpMeta() { return {
|
|
@@ -32429,7 +32473,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
32429
32473
|
registerInstance(this, hostRef);
|
|
32430
32474
|
}
|
|
32431
32475
|
render() {
|
|
32432
|
-
return (hAsync(Host, { key: '
|
|
32476
|
+
return (hAsync(Host, { key: '2ecabc840c0c3167762d99b2b26d523594789159' }, hAsync("slot", { key: '6e821abe0314f885be46ef02bbf2fa5f2de3200e' })));
|
|
32433
32477
|
}
|
|
32434
32478
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
32435
32479
|
static get cmpMeta() { return {
|
|
@@ -32458,7 +32502,7 @@ class ProgressTracker {
|
|
|
32458
32502
|
registerInstance(this, hostRef);
|
|
32459
32503
|
}
|
|
32460
32504
|
render() {
|
|
32461
|
-
return (hAsync(Host, { key: '
|
|
32505
|
+
return (hAsync(Host, { key: 'cd8e624e5935fee60d6c2806b10f35f063670a7e' }, hAsync("nav", { key: 'd466e731e0206360490a48181ceecfbe90cbd80f' }, hAsync("ul", { key: '4d43281f9ea40fcc1d3a00d643a8f80dfea3dc06' }, hAsync("li", { key: 'c98da0bd4e82dd5b0698364cae1cd8366179a8ad' }, hAsync("slot", { key: '6be22ff72a0c776ee690f00d5325e781118ee9c0' }))))));
|
|
32462
32506
|
}
|
|
32463
32507
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
32464
32508
|
static get cmpMeta() { return {
|
|
@@ -32490,7 +32534,7 @@ class ProgressTrackerItem {
|
|
|
32490
32534
|
registerInstance(this, hostRef);
|
|
32491
32535
|
}
|
|
32492
32536
|
render() {
|
|
32493
|
-
return (hAsync(Host, { key: '
|
|
32537
|
+
return (hAsync(Host, { key: '4974c1adc0f1b94fc7b9b38ce6dfbc6ec5b6a83c' }, hAsync("slot", { key: '1017553cb17d0ee0a3e50beba3a8937190aec3ea' })));
|
|
32494
32538
|
}
|
|
32495
32539
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
32496
32540
|
static get cmpMeta() { return {
|
|
@@ -32583,7 +32627,7 @@ class Radio {
|
|
|
32583
32627
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
32584
32628
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
32585
32629
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32586
|
-
return (hAsync(Host, { key: '
|
|
32630
|
+
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))));
|
|
32587
32631
|
}
|
|
32588
32632
|
get el() { return getElement(this); }
|
|
32589
32633
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -32667,7 +32711,7 @@ class RadioCard {
|
|
|
32667
32711
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32668
32712
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
32669
32713
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
32670
|
-
return (hAsync(Host, { key: '
|
|
32714
|
+
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' }))))));
|
|
32671
32715
|
}
|
|
32672
32716
|
get el() { return getElement(this); }
|
|
32673
32717
|
static get style() { return RoadRadioCardStyle0; }
|
|
@@ -32764,7 +32808,7 @@ class RadioGroup {
|
|
|
32764
32808
|
render() {
|
|
32765
32809
|
const labelId = `${this.radioGroupId}-label`;
|
|
32766
32810
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32767
|
-
return (hAsync(Host, { key: '
|
|
32811
|
+
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)));
|
|
32768
32812
|
}
|
|
32769
32813
|
get el() { return getElement(this); }
|
|
32770
32814
|
static get watchers() { return {
|
|
@@ -32894,14 +32938,14 @@ class Range {
|
|
|
32894
32938
|
render() {
|
|
32895
32939
|
const value = this.getValue();
|
|
32896
32940
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
32897
|
-
return (hAsync(Host, { key: '
|
|
32941
|
+
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: {
|
|
32898
32942
|
"--min": this.min,
|
|
32899
32943
|
"--max": this.max,
|
|
32900
32944
|
"--value": value,
|
|
32901
32945
|
"--background-color": this.disabled
|
|
32902
32946
|
? "var(--road-surface-disabled)"
|
|
32903
32947
|
: "initial",
|
|
32904
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
32948
|
+
} }, 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" })))));
|
|
32905
32949
|
}
|
|
32906
32950
|
get el() { return getElement(this); }
|
|
32907
32951
|
static get watchers() { return {
|
|
@@ -32970,7 +33014,7 @@ class Rating {
|
|
|
32970
33014
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
32971
33015
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
32972
33016
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
32973
|
-
return (hAsync(Host, { key: '
|
|
33017
|
+
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}`, ")")));
|
|
32974
33018
|
}
|
|
32975
33019
|
static get style() { return RoadRatingStyle0; }
|
|
32976
33020
|
static get cmpMeta() { return {
|
|
@@ -33089,7 +33133,7 @@ class RoadAreaCode {
|
|
|
33089
33133
|
const labelId = this.selectId + '-label';
|
|
33090
33134
|
const valueId = this.selectId + '-value';
|
|
33091
33135
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
33092
|
-
return (hAsync(Host, { key: '
|
|
33136
|
+
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)));
|
|
33093
33137
|
}
|
|
33094
33138
|
static get watchers() { return {
|
|
33095
33139
|
"value": ["valueChanged"]
|
|
@@ -33136,7 +33180,7 @@ class RoadAspectRatio {
|
|
|
33136
33180
|
return `${w} / ${h}`;
|
|
33137
33181
|
}
|
|
33138
33182
|
render() {
|
|
33139
|
-
return (hAsync(Host, { key: '
|
|
33183
|
+
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' })))));
|
|
33140
33184
|
}
|
|
33141
33185
|
static get style() { return RoadAspectRatioStyle0; }
|
|
33142
33186
|
static get cmpMeta() { return {
|
|
@@ -34513,9 +34557,9 @@ class RoadPhoneNumberInput {
|
|
|
34513
34557
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
34514
34558
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
34515
34559
|
const sizes = 'xl';
|
|
34516
|
-
return (hAsync(Host, { key: '
|
|
34560
|
+
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
|
|
34517
34561
|
&& this.errorMessage !== ''
|
|
34518
|
-
&& hAsync("p", { key: '
|
|
34562
|
+
&& 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)));
|
|
34519
34563
|
}
|
|
34520
34564
|
get el() { return getElement(this); }
|
|
34521
34565
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
@@ -34634,7 +34678,7 @@ class RoadTimeRangePicker {
|
|
|
34634
34678
|
return { start: this.start, end: this.end };
|
|
34635
34679
|
}
|
|
34636
34680
|
render() {
|
|
34637
|
-
return (hAsync(Host, { key: '
|
|
34681
|
+
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)));
|
|
34638
34682
|
}
|
|
34639
34683
|
get hostEl() { return getElement(this); }
|
|
34640
34684
|
static get style() { return RoadTimeRangePickerStyle0; }
|
|
@@ -34670,7 +34714,7 @@ class Row {
|
|
|
34670
34714
|
registerInstance(this, hostRef);
|
|
34671
34715
|
}
|
|
34672
34716
|
render() {
|
|
34673
|
-
return (hAsync(Host, { key: '
|
|
34717
|
+
return (hAsync(Host, { key: 'afa1b952153c85d65d8d934291b6de4ded45f5c6' }, hAsync("slot", { key: '19d35af492b9db9b52d45be4fabafa03a6b1cc71' })));
|
|
34674
34718
|
}
|
|
34675
34719
|
static get style() { return RoadRowStyle0; }
|
|
34676
34720
|
static get cmpMeta() { return {
|
|
@@ -34742,11 +34786,11 @@ class SegmentedButton {
|
|
|
34742
34786
|
render() {
|
|
34743
34787
|
const { tabIndex, selected, tab } = this;
|
|
34744
34788
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
34745
|
-
return (hAsync(Host, { key: '
|
|
34789
|
+
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: {
|
|
34746
34790
|
'tab-selected': selected,
|
|
34747
34791
|
[`${sizeClass}`]: true,
|
|
34748
|
-
} }, hAsync("span", { key: '
|
|
34749
|
-
hAsync("road-badge", { key: '
|
|
34792
|
+
} }, 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 &&
|
|
34793
|
+
hAsync("road-badge", { key: 'a097702e82fddfac65166bd0bbd19bc31146f2a5', color: this.selected ? 'primary' : 'neutral', class: "button-content-badge" }, this.badge)))));
|
|
34750
34794
|
}
|
|
34751
34795
|
get el() { return getElement(this); }
|
|
34752
34796
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -34868,7 +34912,7 @@ class Select {
|
|
|
34868
34912
|
const labelId = this.selectId + '-label';
|
|
34869
34913
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
34870
34914
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
34871
|
-
return (hAsync(Host, { key: '
|
|
34915
|
+
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)));
|
|
34872
34916
|
}
|
|
34873
34917
|
static get watchers() { return {
|
|
34874
34918
|
"value": ["valueChanged"]
|
|
@@ -36862,7 +36906,7 @@ class SelectFilter {
|
|
|
36862
36906
|
const options = this.filteredOptions;
|
|
36863
36907
|
const isActive = this.isActive ? 'true' : 'false';
|
|
36864
36908
|
const notActive = this.isActive ? '' : 'not-active';
|
|
36865
|
-
return (hAsync(Host, { key: '
|
|
36909
|
+
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 })))))))));
|
|
36866
36910
|
}
|
|
36867
36911
|
get el() { return getElement(this); }
|
|
36868
36912
|
static get watchers() { return {
|
|
@@ -36898,7 +36942,7 @@ class Skeleton {
|
|
|
36898
36942
|
registerInstance(this, hostRef);
|
|
36899
36943
|
}
|
|
36900
36944
|
render() {
|
|
36901
|
-
return (hAsync("span", { key: '
|
|
36945
|
+
return (hAsync("span", { key: '3ea322ba0c0478ae98e116ca0a14c6db8cf83fa5' }, "\u00A0"));
|
|
36902
36946
|
}
|
|
36903
36947
|
static get style() { return RoadSkeletonStyle0; }
|
|
36904
36948
|
static get cmpMeta() { return {
|
|
@@ -36929,7 +36973,7 @@ class Spinner {
|
|
|
36929
36973
|
render() {
|
|
36930
36974
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
36931
36975
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
36932
|
-
return (hAsync("svg", { key: '
|
|
36976
|
+
return (hAsync("svg", { key: 'ba8404bfa593df14d50579b442066e7cd07c49ff', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'ed113cdc5a2478d9acd6081da1000193f6580b68', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
36933
36977
|
}
|
|
36934
36978
|
static get style() { return RoadSpinnerStyle0; }
|
|
36935
36979
|
static get cmpMeta() { return {
|
|
@@ -36970,7 +37014,7 @@ class StatusChip {
|
|
|
36970
37014
|
};
|
|
36971
37015
|
}
|
|
36972
37016
|
render() {
|
|
36973
|
-
return (hAsync(Host, { key: '
|
|
37017
|
+
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' }))));
|
|
36974
37018
|
}
|
|
36975
37019
|
static get style() { return RoadStatusChipStyle0; }
|
|
36976
37020
|
static get cmpMeta() { return {
|
|
@@ -37019,7 +37063,7 @@ class Stepper {
|
|
|
37019
37063
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
37020
37064
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
37021
37065
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
37022
|
-
return (hAsync(Host, { key: '
|
|
37066
|
+
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" }))))))));
|
|
37023
37067
|
}
|
|
37024
37068
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
37025
37069
|
static get cmpMeta() { return {
|
|
@@ -37121,11 +37165,11 @@ class Switch {
|
|
|
37121
37165
|
}
|
|
37122
37166
|
render() {
|
|
37123
37167
|
const labelId = this.switchId + '-label';
|
|
37124
|
-
const textLabel = hAsync("label", { key: '
|
|
37168
|
+
const textLabel = hAsync("label", { key: 'c63f963676593a49bfb56c9d7c33a9e98cee2715', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
37125
37169
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
37126
37170
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
37127
37171
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
37128
|
-
return (hAsync(Host, { key: '
|
|
37172
|
+
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)));
|
|
37129
37173
|
}
|
|
37130
37174
|
static get watchers() { return {
|
|
37131
37175
|
"checked": ["checkedChanged"]
|
|
@@ -37180,9 +37224,9 @@ class Tab {
|
|
|
37180
37224
|
}
|
|
37181
37225
|
render() {
|
|
37182
37226
|
const { tab, active } = this;
|
|
37183
|
-
return (hAsync(Host, { key: '
|
|
37227
|
+
return (hAsync(Host, { key: 'e77050a903a5bc618c0a95dbdcac55987ba90ef6', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
37184
37228
|
'tab-hidden': !active,
|
|
37185
|
-
} }, hAsync("slot", { key: '
|
|
37229
|
+
} }, hAsync("slot", { key: '7d8e9336bbafd68e2bb8449e617dd0132c132192' })));
|
|
37186
37230
|
}
|
|
37187
37231
|
get el() { return getElement(this); }
|
|
37188
37232
|
static get style() { return RoadTabStyle0; }
|
|
@@ -37242,11 +37286,11 @@ class TabBar {
|
|
|
37242
37286
|
}
|
|
37243
37287
|
render() {
|
|
37244
37288
|
const { expand, center, secondary } = this;
|
|
37245
|
-
return (hAsync(Host, { key: '
|
|
37289
|
+
return (hAsync(Host, { key: 'f152f7039aa51f964ce7885d2f38e09212af53b1', role: "tablist", class: {
|
|
37246
37290
|
'tab-expand': expand,
|
|
37247
37291
|
'tab-center': center,
|
|
37248
37292
|
'tab-secondary': secondary,
|
|
37249
|
-
} }, hAsync("slot", { key: '
|
|
37293
|
+
} }, hAsync("slot", { key: '1f478b0967e23fde82e5fcc706aacd6c8ed64132' })));
|
|
37250
37294
|
}
|
|
37251
37295
|
get el() { return getElement(this); }
|
|
37252
37296
|
static get watchers() { return {
|
|
@@ -37346,7 +37390,7 @@ class TabButton {
|
|
|
37346
37390
|
rel,
|
|
37347
37391
|
target,
|
|
37348
37392
|
};
|
|
37349
|
-
return (hAsync(Host, { key: '
|
|
37393
|
+
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: {
|
|
37350
37394
|
'tab-selected': selected,
|
|
37351
37395
|
'tab-has-label': hasLabel,
|
|
37352
37396
|
'tab-has-icon': hasIcon,
|
|
@@ -37354,7 +37398,7 @@ class TabButton {
|
|
|
37354
37398
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
37355
37399
|
[`tab-layout-${layout}`]: true,
|
|
37356
37400
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
37357
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
37401
|
+
} }, 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' })))));
|
|
37358
37402
|
}
|
|
37359
37403
|
get el() { return getElement(this); }
|
|
37360
37404
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -37388,7 +37432,7 @@ class Table {
|
|
|
37388
37432
|
registerInstance(this, hostRef);
|
|
37389
37433
|
}
|
|
37390
37434
|
render() {
|
|
37391
|
-
return (hAsync("slot", { key: '
|
|
37435
|
+
return (hAsync("slot", { key: 'bf75831fb9aaeddb5d0d48914427042d2d22477c' }));
|
|
37392
37436
|
}
|
|
37393
37437
|
static get style() { return RoadTableStyle0; }
|
|
37394
37438
|
static get cmpMeta() { return {
|
|
@@ -37496,7 +37540,7 @@ class Tabs$1 {
|
|
|
37496
37540
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37497
37541
|
}
|
|
37498
37542
|
render() {
|
|
37499
|
-
return (hAsync(Host, { key: '
|
|
37543
|
+
return (hAsync(Host, { key: '04b1801e9f8e91e39581c8f449ee6b839763c688', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '554c778cdf10304cb32d5ab743945f717f97b8e9', name: "top" }), hAsync("slot", { key: '47d1e5b9f1227a79a7883825fcddd23853b676a4' })));
|
|
37500
37544
|
}
|
|
37501
37545
|
get el() { return getElement(this); }
|
|
37502
37546
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -37632,7 +37676,7 @@ class Tabs {
|
|
|
37632
37676
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37633
37677
|
}
|
|
37634
37678
|
render() {
|
|
37635
|
-
return (hAsync(Host, { key: '
|
|
37679
|
+
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' }))));
|
|
37636
37680
|
}
|
|
37637
37681
|
get el() { return getElement(this); }
|
|
37638
37682
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -37680,7 +37724,7 @@ class Tag {
|
|
|
37680
37724
|
}
|
|
37681
37725
|
render() {
|
|
37682
37726
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
37683
|
-
return (hAsync(Host, { key: '
|
|
37727
|
+
return (hAsync(Host, { key: '07aa9eaf941fd3e6820304e5698ff7a379c27d96', class: `${contrastClass}` }, hAsync("slot", { key: '3777ebead8dd1ecad0f10eb176c9187580e771e1' })));
|
|
37684
37728
|
}
|
|
37685
37729
|
static get style() { return RoadTagStyle0; }
|
|
37686
37730
|
static get cmpMeta() { return {
|
|
@@ -37712,7 +37756,7 @@ class Text {
|
|
|
37712
37756
|
}
|
|
37713
37757
|
render() {
|
|
37714
37758
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
37715
|
-
return (hAsync(Host, { key: '
|
|
37759
|
+
return (hAsync(Host, { key: '8462ec056e351302fcbdf0b046a6160d94733de6', class: `${colorClass}` }, hAsync("slot", { key: 'ac32d9732a1cb417a5fef9fea546ce478d9b4123' })));
|
|
37716
37760
|
}
|
|
37717
37761
|
static get style() { return RoadTextStyle0; }
|
|
37718
37762
|
static get cmpMeta() { return {
|
|
@@ -37843,7 +37887,7 @@ class Textarea {
|
|
|
37843
37887
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
37844
37888
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
37845
37889
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
37846
|
-
return (hAsync(Host, { key: '
|
|
37890
|
+
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)));
|
|
37847
37891
|
}
|
|
37848
37892
|
static get watchers() { return {
|
|
37849
37893
|
"value": ["valueChanged"]
|
|
@@ -37883,7 +37927,7 @@ class Textarea {
|
|
|
37883
37927
|
}
|
|
37884
37928
|
let textareaIds = 0;
|
|
37885
37929
|
|
|
37886
|
-
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);
|
|
37930
|
+
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%}}";
|
|
37887
37931
|
var RoadToastStyle0 = toastCss;
|
|
37888
37932
|
|
|
37889
37933
|
/**
|
|
@@ -37898,6 +37942,8 @@ class Toast {
|
|
|
37898
37942
|
constructor(hostRef) {
|
|
37899
37943
|
registerInstance(this, hostRef);
|
|
37900
37944
|
this.onClose = createEvent(this, "close", 7);
|
|
37945
|
+
this.isHovered = false;
|
|
37946
|
+
this.isFocusWithin = false;
|
|
37901
37947
|
/**
|
|
37902
37948
|
* Set `open` propertie to `true` to open the toast
|
|
37903
37949
|
*/
|
|
@@ -37911,6 +37957,26 @@ class Toast {
|
|
|
37911
37957
|
* until `close()` is called.
|
|
37912
37958
|
*/
|
|
37913
37959
|
this.timeout = 5000;
|
|
37960
|
+
this.onMouseEnter = () => {
|
|
37961
|
+
this.isHovered = true;
|
|
37962
|
+
this.clearAutoClose();
|
|
37963
|
+
};
|
|
37964
|
+
this.onMouseLeave = () => {
|
|
37965
|
+
this.isHovered = false;
|
|
37966
|
+
this.scheduleAutoClose();
|
|
37967
|
+
};
|
|
37968
|
+
this.onFocusIn = () => {
|
|
37969
|
+
this.isFocusWithin = true;
|
|
37970
|
+
this.clearAutoClose();
|
|
37971
|
+
};
|
|
37972
|
+
this.onFocusOut = (ev) => {
|
|
37973
|
+
const next = ev.relatedTarget;
|
|
37974
|
+
const current = ev.currentTarget;
|
|
37975
|
+
if (current && next && current.contains(next))
|
|
37976
|
+
return;
|
|
37977
|
+
this.isFocusWithin = false;
|
|
37978
|
+
this.scheduleAutoClose();
|
|
37979
|
+
};
|
|
37914
37980
|
/**
|
|
37915
37981
|
* Close the dialog when clicking on the cross or layer
|
|
37916
37982
|
*/
|
|
@@ -37924,35 +37990,64 @@ class Toast {
|
|
|
37924
37990
|
* Watch the isOpen property to start the timeout before closing
|
|
37925
37991
|
*/
|
|
37926
37992
|
isOpenChanged() {
|
|
37927
|
-
if (this.isOpen
|
|
37928
|
-
|
|
37993
|
+
if (this.isOpen)
|
|
37994
|
+
this.scheduleAutoClose();
|
|
37995
|
+
else
|
|
37996
|
+
this.clearAutoClose();
|
|
37997
|
+
}
|
|
37998
|
+
timeoutChanged() {
|
|
37999
|
+
if (this.isOpen)
|
|
38000
|
+
this.scheduleAutoClose();
|
|
38001
|
+
}
|
|
38002
|
+
colorChanged() {
|
|
38003
|
+
if (this.isOpen)
|
|
38004
|
+
this.scheduleAutoClose();
|
|
38005
|
+
}
|
|
38006
|
+
getEffectiveTimeout() {
|
|
38007
|
+
if (this.color === 'danger')
|
|
38008
|
+
return 0;
|
|
38009
|
+
return this.timeout;
|
|
38010
|
+
}
|
|
38011
|
+
clearAutoClose() {
|
|
38012
|
+
if (this.autoCloseTimeoutId != null) {
|
|
38013
|
+
clearTimeout(this.autoCloseTimeoutId);
|
|
38014
|
+
this.autoCloseTimeoutId = undefined;
|
|
37929
38015
|
}
|
|
37930
38016
|
}
|
|
38017
|
+
scheduleAutoClose() {
|
|
38018
|
+
this.clearAutoClose();
|
|
38019
|
+
if (!this.isOpen)
|
|
38020
|
+
return;
|
|
38021
|
+
if (this.isHovered || this.isFocusWithin)
|
|
38022
|
+
return;
|
|
38023
|
+
const effectiveTimeout = this.getEffectiveTimeout();
|
|
38024
|
+
if (effectiveTimeout <= 0)
|
|
38025
|
+
return;
|
|
38026
|
+
this.autoCloseTimeoutId = window.setTimeout(() => {
|
|
38027
|
+
this.close();
|
|
38028
|
+
}, effectiveTimeout);
|
|
38029
|
+
}
|
|
37931
38030
|
/**
|
|
37932
38031
|
* Open the toast
|
|
37933
38032
|
*/
|
|
37934
38033
|
async open() {
|
|
37935
38034
|
this.isOpen = true;
|
|
37936
|
-
if (this.timeout > 0) {
|
|
37937
|
-
setTimeout(() => {
|
|
37938
|
-
this.close();
|
|
37939
|
-
}, this.timeout);
|
|
37940
|
-
}
|
|
37941
38035
|
}
|
|
37942
38036
|
/**
|
|
37943
38037
|
* Close the toast
|
|
37944
38038
|
*/
|
|
37945
38039
|
async close() {
|
|
38040
|
+
this.clearAutoClose();
|
|
37946
38041
|
this.isOpen = false;
|
|
37947
38042
|
this.onClose.emit();
|
|
37948
38043
|
}
|
|
37949
38044
|
componentDidLoad() {
|
|
37950
|
-
if (this.isOpen
|
|
37951
|
-
|
|
37952
|
-
}
|
|
38045
|
+
if (this.isOpen)
|
|
38046
|
+
this.scheduleAutoClose();
|
|
37953
38047
|
}
|
|
37954
38048
|
render() {
|
|
37955
38049
|
const toastIsOpenClass = this.isOpen ? 'toast-open' : '';
|
|
38050
|
+
const effectiveTimeout = this.getEffectiveTimeout();
|
|
37956
38051
|
let icon;
|
|
37957
38052
|
switch (this.color) {
|
|
37958
38053
|
case 'info':
|
|
@@ -37974,10 +38069,12 @@ class Toast {
|
|
|
37974
38069
|
if (this.color == 'danger') {
|
|
37975
38070
|
this.timeout = 0;
|
|
37976
38071
|
}
|
|
37977
|
-
return (hAsync(Host, { key: '
|
|
38072
|
+
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" }))));
|
|
37978
38073
|
}
|
|
37979
38074
|
static get watchers() { return {
|
|
37980
|
-
"isOpen": ["isOpenChanged"]
|
|
38075
|
+
"isOpen": ["isOpenChanged"],
|
|
38076
|
+
"timeout": ["timeoutChanged"],
|
|
38077
|
+
"color": ["colorChanged"]
|
|
37981
38078
|
}; }
|
|
37982
38079
|
static get style() { return RoadToastStyle0; }
|
|
37983
38080
|
static get cmpMeta() { return {
|
|
@@ -38014,7 +38111,7 @@ class Toolbar {
|
|
|
38014
38111
|
}
|
|
38015
38112
|
render() {
|
|
38016
38113
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
38017
|
-
return (hAsync(Host, { key: '
|
|
38114
|
+
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" }))));
|
|
38018
38115
|
}
|
|
38019
38116
|
static get style() { return RoadToolbarStyle0; }
|
|
38020
38117
|
static get cmpMeta() { return {
|
|
@@ -38040,7 +38137,7 @@ class ToolbarAppName {
|
|
|
38040
38137
|
registerInstance(this, hostRef);
|
|
38041
38138
|
}
|
|
38042
38139
|
render() {
|
|
38043
|
-
return (hAsync("div", { key: '
|
|
38140
|
+
return (hAsync("div", { key: 'c7911e600db0a7b05ccad45a41b6e9b25b73c35a', class: "toolbar-title-page" }, hAsync("slot", { key: 'adc988f3c3087c8deac5e39300915bd0456d986a' })));
|
|
38044
38141
|
}
|
|
38045
38142
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
38046
38143
|
static get cmpMeta() { return {
|
|
@@ -38064,7 +38161,7 @@ class ToolbarTitle {
|
|
|
38064
38161
|
registerInstance(this, hostRef);
|
|
38065
38162
|
}
|
|
38066
38163
|
render() {
|
|
38067
|
-
return (hAsync("div", { key: '
|
|
38164
|
+
return (hAsync("div", { key: 'f333ab20e211d7813ee97a020a71f3852676f89c', class: "toolbar-title" }, hAsync("slot", { key: '840e69f86c31a4be7965bb290776e45a3278c167' })));
|
|
38068
38165
|
}
|
|
38069
38166
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
38070
38167
|
static get cmpMeta() { return {
|
|
@@ -38093,7 +38190,7 @@ class ToolbarV2 {
|
|
|
38093
38190
|
registerInstance(this, hostRef);
|
|
38094
38191
|
}
|
|
38095
38192
|
render() {
|
|
38096
|
-
return (hAsync(Host, { key: '
|
|
38193
|
+
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" })))));
|
|
38097
38194
|
}
|
|
38098
38195
|
static get style() { return RoadToolbarV2Style0; }
|
|
38099
38196
|
static get cmpMeta() { return {
|
|
@@ -38220,12 +38317,12 @@ class Tooltip {
|
|
|
38220
38317
|
return triggers.includes(triggerType);
|
|
38221
38318
|
}
|
|
38222
38319
|
render() {
|
|
38223
|
-
return (hAsync(Host, { key: '
|
|
38320
|
+
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
|
|
38224
38321
|
,
|
|
38225
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
38322
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: '944189110f599941f8214e5a9e766096f10ab36d', "aria-describedby": this.tooltipId }), hAsync("div", { key: 'efa16f01312bd27d9a80e5429302daa3656d8da0', part: "tooltip", id: this.tooltipId, class: {
|
|
38226
38323
|
tooltip: true,
|
|
38227
38324
|
"tooltip-open": this.isOpen,
|
|
38228
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: '
|
|
38325
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: 'e4956c45c1f42ae8326f36b2b1f8a737374f375f', name: "tooltip-content" }))));
|
|
38229
38326
|
}
|
|
38230
38327
|
get el() { return getElement(this); }
|
|
38231
38328
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -38317,11 +38414,11 @@ class toggle {
|
|
|
38317
38414
|
}
|
|
38318
38415
|
render() {
|
|
38319
38416
|
const labelId = this.toggleId + '-label';
|
|
38320
|
-
const textLabel = hAsync("label", { key: '
|
|
38417
|
+
const textLabel = hAsync("label", { key: '5c9d81a2dcabfd489edfa4085812225892fdc200', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
38321
38418
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
38322
38419
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
38323
38420
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
38324
|
-
return (hAsync(Host, { key: '
|
|
38421
|
+
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)));
|
|
38325
38422
|
}
|
|
38326
38423
|
static get watchers() { return {
|
|
38327
38424
|
"checked": ["checkedChanged"]
|