@roadtrip/components 3.34.0 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-fee0103c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +2 -2
- package/dist/cjs/road-radio-card.cjs.entry.js +73 -0
- package/dist/cjs/road-radio-card.cjs.entry.js.map +1 -0
- package/dist/cjs/road-radio-group.cjs.entry.js +8 -1
- package/dist/cjs/road-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/road-range.cjs.entry.js +2 -2
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +2 -2
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +2 -2
- package/dist/cjs/road-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/radio-card/radio-card.css +234 -0
- package/dist/collection/components/radio-card/radio-card.js +253 -0
- package/dist/collection/components/radio-card/radio-card.js.map +1 -0
- package/dist/collection/components/radio-card/radio-card.stories.js +90 -0
- package/dist/collection/components/radio-group/radio-group.js +8 -1
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select-filter/select-filter.js +2 -2
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.css +5 -2
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
- package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/esm/index-8dc34f94.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-badge_14.entry.js +2 -2
- package/dist/esm/road-radio-card.entry.js +69 -0
- package/dist/esm/road-radio-card.entry.js.map +1 -0
- package/dist/esm/road-radio-group.entry.js +8 -1
- package/dist/esm/road-radio-group.entry.js.map +1 -1
- package/dist/esm/road-range.entry.js +2 -2
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +2 -2
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +2 -2
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +2 -2
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +2 -2
- package/dist/esm/road-textarea.entry.js.map +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +39 -0
- package/dist/roadtrip/{p-78e6204e.entry.js → p-02a6e387.entry.js} +2 -2
- package/dist/roadtrip/{p-cb8924ee.entry.js → p-0b847a5d.entry.js} +2 -2
- package/dist/roadtrip/{p-4765c524.entry.js → p-0dce3168.entry.js} +2 -2
- package/dist/roadtrip/{p-061f6889.entry.js → p-1ca62c28.entry.js} +2 -2
- package/dist/roadtrip/{p-df897815.entry.js → p-355fcb74.entry.js} +2 -2
- package/dist/roadtrip/p-4a0711c8.entry.js +2 -0
- package/dist/roadtrip/p-4a0711c8.entry.js.map +1 -0
- package/dist/roadtrip/{p-4329a5ff.entry.js → p-4b1ac843.entry.js} +2 -2
- package/dist/roadtrip/{p-38fd91b3.entry.js → p-56f18548.entry.js} +2 -2
- package/dist/roadtrip/{p-ab550b59.entry.js → p-5f2a4cd5.entry.js} +2 -2
- package/dist/roadtrip/{p-f9ba8499.entry.js → p-5f6255ea.entry.js} +2 -2
- package/dist/roadtrip/{p-5ed9e829.entry.js → p-6cde1247.entry.js} +2 -2
- package/dist/roadtrip/{p-0de7b85d.entry.js → p-6e65c377.entry.js} +2 -2
- package/dist/roadtrip/p-6ef0a03b.entry.js +2 -0
- package/dist/roadtrip/{p-6fb0f8b8.entry.js.map → p-6ef0a03b.entry.js.map} +1 -1
- package/dist/roadtrip/{p-c4d3dda1.entry.js → p-780de42a.entry.js} +2 -2
- package/dist/roadtrip/p-80344aa2.entry.js +2 -0
- package/dist/roadtrip/p-80344aa2.entry.js.map +1 -0
- package/dist/roadtrip/{p-ebada9f6.entry.js → p-b0203787.entry.js} +2 -2
- package/dist/roadtrip/{p-7e1e110f.entry.js → p-c01aaf61.entry.js} +2 -2
- package/dist/roadtrip/{p-3aa617b1.entry.js → p-c09d87da.entry.js} +2 -2
- package/dist/roadtrip/p-cd1e078c.entry.js +2 -0
- package/dist/roadtrip/p-cd436a46.entry.js +2 -0
- package/dist/roadtrip/{p-93272a9d.entry.js.map → p-cd436a46.entry.js.map} +1 -1
- package/dist/roadtrip/p-d9cbd0b9.entry.js +2 -0
- package/dist/roadtrip/p-d9cbd0b9.entry.js.map +1 -0
- package/dist/roadtrip/{p-e82c8ca0.entry.js → p-da0e9f4e.entry.js} +2 -2
- package/dist/roadtrip/{p-e8bcf7a0.entry.js → p-df2f066e.entry.js} +2 -2
- package/dist/roadtrip/{p-dc9509b1.entry.js → p-dfc0d1c5.entry.js} +2 -2
- package/dist/roadtrip/{p-fafcecb2.entry.js → p-edfb6a90.entry.js} +2 -2
- package/dist/roadtrip/{p-7a7b1fb6.entry.js → p-f91b8ee7.entry.js} +2 -2
- package/dist/roadtrip/p-fb33aa91.entry.js +2 -0
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/radio-card/radio-card.d.ts +25 -0
- package/dist/types/components/radio-group/radio-group.d.ts +1 -0
- package/dist/types/components.d.ts +45 -0
- package/hydrate/index.js +188 -100
- package/hydrate/index.mjs +188 -100
- package/package.json +1 -1
- package/dist/roadtrip/p-2f89b651.entry.js +0 -2
- package/dist/roadtrip/p-2f89b651.entry.js.map +0 -1
- package/dist/roadtrip/p-41bab704.entry.js +0 -2
- package/dist/roadtrip/p-6fb0f8b8.entry.js +0 -2
- package/dist/roadtrip/p-93272a9d.entry.js +0 -2
- package/dist/roadtrip/p-97245610.entry.js +0 -2
- package/dist/roadtrip/p-ce386f80.entry.js +0 -2
- package/dist/roadtrip/p-ce386f80.entry.js.map +0 -1
- /package/dist/roadtrip/{p-78e6204e.entry.js.map → p-02a6e387.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cb8924ee.entry.js.map → p-0b847a5d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4765c524.entry.js.map → p-0dce3168.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-061f6889.entry.js.map → p-1ca62c28.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-df897815.entry.js.map → p-355fcb74.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4329a5ff.entry.js.map → p-4b1ac843.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-38fd91b3.entry.js.map → p-56f18548.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ab550b59.entry.js.map → p-5f2a4cd5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f9ba8499.entry.js.map → p-5f6255ea.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5ed9e829.entry.js.map → p-6cde1247.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0de7b85d.entry.js.map → p-6e65c377.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c4d3dda1.entry.js.map → p-780de42a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ebada9f6.entry.js.map → p-b0203787.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7e1e110f.entry.js.map → p-c01aaf61.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3aa617b1.entry.js.map → p-c09d87da.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-97245610.entry.js.map → p-cd1e078c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e82c8ca0.entry.js.map → p-da0e9f4e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e8bcf7a0.entry.js.map → p-df2f066e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-dc9509b1.entry.js.map → p-dfc0d1c5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fafcecb2.entry.js.map → p-edfb6a90.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7a7b1fb6.entry.js.map → p-f91b8ee7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-41bab704.entry.js.map → p-fb33aa91.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -3204,7 +3204,7 @@ class Accordion {
|
|
|
3204
3204
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3205
3205
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3206
3206
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3207
|
-
return (hAsync("details", { key: '
|
|
3207
|
+
return (hAsync("details", { key: 'c9a6c0e2ad437a103ebe91b0d41264e7e5dc7753', class: `${accordionLight} ${accordionSmall} ${accordionLightSeparator}`, open: this.isOpen }, hAsync("summary", { key: 'e7dc223d9fc954ec5475878d7e1b3dd439905f2c', class: "accordion-trigger", "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: 'ca999363093dc602f09d3a4e59564b0a63a3b0d7', class: accordionLightHeader }, hAsync("slot", { key: '9e52b302200f0701db942a3fe5be83bee840bcae', name: "icon-left" }), hAsync("slot", { key: '2bab52ed698e03616054ab683ad245df2e70f6e6', name: "header" }), hAsync("road-icon", { key: 'a86e295024d05d253667000c984de7f8098ced15', class: "accordion-arrow", icon: navigationChevron }))), hAsync("div", { key: '484cd033b86154b119bf84e29a0b8637c71ccd2c', class: accordionLightContent }, hAsync("slot", { key: '2e38ff82cd7bc4364cfba33a6a5484389a98874c' }))));
|
|
3208
3208
|
}
|
|
3209
3209
|
static get style() { return RoadAccordionStyle0; }
|
|
3210
3210
|
static get cmpMeta() { return {
|
|
@@ -3239,7 +3239,7 @@ class Alert {
|
|
|
3239
3239
|
}
|
|
3240
3240
|
render() {
|
|
3241
3241
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3242
|
-
return (hAsync(Host, { key: '
|
|
3242
|
+
return (hAsync(Host, { key: 'e1f259980ee87b4104daac18ce17f372cfdc43ba', class: colorClass, role: "alert" }, hAsync("div", { key: 'ed4f3b282d56519d77c6761f7bce5f77ef4e3c3e', class: "alert-icon" }, hAsync("slot", { key: '53d85d1cd95ac105d6f7cff0b79cbaebf844eee0', name: "icon" })), hAsync("div", { key: '9ed3179345055f9a88ff4db2155ff74501e2e5b6' }, this.label && hAsync("span", { key: '95ca58858f917445c0cde5cd258bfbe9d884b3d2', class: "alert-title d-block" }, this.label), hAsync("p", { key: '658769ffb57a7453d8eb211f367621c0836228cd', class: "alert-description" }, hAsync("slot", { key: '392355aced220deb7409c7b6dcaab16fad08428e' }), this.link && hAsync("a", { key: 'eaa4966c1b7116a19e971a76ce1c7d416c2ddbc8', href: this.url, class: "alert-link link link-default" }, this.link)))));
|
|
3243
3243
|
}
|
|
3244
3244
|
static get style() { return RoadAlertStyle0; }
|
|
3245
3245
|
static get cmpMeta() { return {
|
|
@@ -3338,7 +3338,7 @@ class Asset {
|
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
3340
3340
|
render() {
|
|
3341
|
-
return (hAsync(Host, { key: '
|
|
3341
|
+
return (hAsync(Host, { key: '54e16773c7d063c37bc746a1787d997ebcc95d58', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3342
3342
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3343
3343
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3344
3344
|
}
|
|
@@ -3408,8 +3408,8 @@ class Autocomplete {
|
|
|
3408
3408
|
}
|
|
3409
3409
|
}
|
|
3410
3410
|
render() {
|
|
3411
|
-
return (hAsync(Host, { key: '
|
|
3412
|
-
hAsync("ul", { key: '
|
|
3411
|
+
return (hAsync(Host, { key: 'd3225c0633a9a0d56aaab400d6a7d938aff7dec5' }, hAsync("slot", { key: '11ab196487abcf68e7604a1c631423b6036273bc' }), this.visible && this.options.length > 0 &&
|
|
3412
|
+
hAsync("ul", { key: '88cd664f0532c5d1b4c3f7d09c4ffd22aed09350', 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))))));
|
|
3413
3413
|
}
|
|
3414
3414
|
get el() { return getElement(this); }
|
|
3415
3415
|
static get style() { return RoadAutocompleteStyle0; }
|
|
@@ -3442,7 +3442,7 @@ class Avatar {
|
|
|
3442
3442
|
}
|
|
3443
3443
|
render() {
|
|
3444
3444
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3445
|
-
return (hAsync(Host, { key: '
|
|
3445
|
+
return (hAsync(Host, { key: '46a33469bde594adba75708c0c3d230fdb8a7b76', class: `${sizeClass}` }, hAsync("slot", { key: '6b71b43e29531d1a1e44acda344993690afda541' })));
|
|
3446
3446
|
}
|
|
3447
3447
|
static get style() { return RoadAvatarStyle0; }
|
|
3448
3448
|
static get cmpMeta() { return {
|
|
@@ -3478,7 +3478,7 @@ class Badge {
|
|
|
3478
3478
|
render() {
|
|
3479
3479
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3480
3480
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3481
|
-
return (hAsync(Host, { key: '
|
|
3481
|
+
return (hAsync(Host, { key: 'ef069cdcd5b08dbf474ba6b4bd31c187918e6bbc', class: `${colorClass} ${bubbleClass}` }, hAsync("slot", { key: '29bc563a09c8b1ccb18d83bb64346a4e5538e900' })));
|
|
3482
3482
|
}
|
|
3483
3483
|
static get style() { return RoadBadgeStyle0; }
|
|
3484
3484
|
static get cmpMeta() { return {
|
|
@@ -3527,7 +3527,7 @@ class Banner {
|
|
|
3527
3527
|
}
|
|
3528
3528
|
render() {
|
|
3529
3529
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3530
|
-
return (hAsync(Host, { key: '
|
|
3530
|
+
return (hAsync(Host, { key: 'b2d5f2e7624d58c3bf534c46c4f99d1fba5b71c0', class: bannerIsOpenClass }, hAsync("div", { key: 'c034322901d2c9901998516c389d878a78cd38fe' }, hAsync("span", { key: 'f3c0745f813299b3893469295a3d939c1ffdb660', class: "banner-open-label" }, this.label), this.link && hAsync("a", { key: '414421fadf26e5c69da53b99aa6fb8cc28fe5416', href: this.url, class: "banner-open-link" }, this.link), hAsync("button", { key: '474c1b3528da08c7be8be78d702067746b3159b6', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, hAsync("road-icon", { key: '91ec2717111d32f6f5610f113748a23d606dfbff', icon: navigationClose, size: "md" })))));
|
|
3531
3531
|
}
|
|
3532
3532
|
static get style() { return RoadBannerStyle0; }
|
|
3533
3533
|
static get cmpMeta() { return {
|
|
@@ -3633,7 +3633,7 @@ class Button$1 {
|
|
|
3633
3633
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
3634
3634
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3635
3635
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3636
|
-
return (hAsync(Host, { key: '
|
|
3636
|
+
return (hAsync(Host, { key: 'bbe777b477e761cd5fc819262b91f11d44b97221', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, hAsync(TagType, Object.assign({ key: '4baeb5a45090b9dbcf3fa4ca75d7e6077d7ab3db' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("slot", { key: '25c23461e9183be655d9b94301e8410063f325e7', name: "start" }), hAsync("slot", { key: 'a6cda90799dcf1ef528d0a6c677e3f89f9f39254' }), hAsync("slot", { key: '9d6742efca9fe7a766b4933c10fd524b4c8fb83e', name: "end" }))));
|
|
3637
3637
|
}
|
|
3638
3638
|
get el() { return getElement(this); }
|
|
3639
3639
|
static get style() { return RoadButtonStyle0; }
|
|
@@ -3718,7 +3718,7 @@ class Button {
|
|
|
3718
3718
|
render() {
|
|
3719
3719
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3720
3720
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3721
|
-
return (hAsync(Host, { key: '
|
|
3721
|
+
return (hAsync(Host, { key: 'abcbe3dc145798ca02f7805a368aa033499a8817', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: '038831804c27854cdef3a30ba6cdeafa4e4da8a8', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: '27af23a989485ed98d25813a20080c6e8dd38eb9', name: "start" }), hAsync("slot", { key: '73fa2a4f7cf2759ede3f2a39973e87d4b45eee0b' }))));
|
|
3722
3722
|
}
|
|
3723
3723
|
get el() { return getElement(this); }
|
|
3724
3724
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3763,7 +3763,7 @@ class ButtonBar {
|
|
|
3763
3763
|
this.selectedTabChanged();
|
|
3764
3764
|
}
|
|
3765
3765
|
render() {
|
|
3766
|
-
return (hAsync(Host, { key: '
|
|
3766
|
+
return (hAsync(Host, { key: '3b56e5b0054fe7a3125e5d52098ef0b6663a433c', role: "tablist" }, hAsync("slot", { key: 'a88459813ee1fff160167e9e641d886bd1166340' })));
|
|
3767
3767
|
}
|
|
3768
3768
|
get el() { return getElement(this); }
|
|
3769
3769
|
static get watchers() { return {
|
|
@@ -3846,7 +3846,7 @@ class Card {
|
|
|
3846
3846
|
render() {
|
|
3847
3847
|
const { elevation } = this;
|
|
3848
3848
|
const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
|
|
3849
|
-
return (hAsync(Host, { key: '
|
|
3849
|
+
return (hAsync(Host, { key: '78b04d594c0195bf1ac6e25f90767f6360c42a91', class: `${elevationClass}` }, this.renderCard()));
|
|
3850
3850
|
}
|
|
3851
3851
|
get el() { return getElement(this); }
|
|
3852
3852
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10593,7 +10593,7 @@ class Carousel {
|
|
|
10593
10593
|
});
|
|
10594
10594
|
}
|
|
10595
10595
|
render() {
|
|
10596
|
-
return (hAsync(Host, { key: '
|
|
10596
|
+
return (hAsync(Host, { key: '645f22fd23ab1ddb28eaa5cab849aa37db654cf2', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: '4411bf01efe537626722c530848d01c8fade1bcf', class: "swiper-wrapper" }, hAsync("slot", { key: '739b55337feedfbf03f6b0e7c2b4486ff40a4848' })), this.pager && hAsync("div", { key: '6cfb7a91ec9d8f19d084416d37834d652299fcf8', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (hAsync("div", { key: '1930a8699ab1eff2685311a322483c1fe8f186e6', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: '7b0b203f0aa0d780e6381dc9163daa39454234fa', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: 'd78e4c3edcacdc013518453d130974b60b4969ac', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: 'd8994e12018bdcc8763224ec8370e26333a320a2', icon: navigationChevron })))));
|
|
10597
10597
|
}
|
|
10598
10598
|
get el() { return getElement(this); }
|
|
10599
10599
|
static get watchers() { return {
|
|
@@ -10644,10 +10644,10 @@ class CarouselItem {
|
|
|
10644
10644
|
registerInstance(this, hostRef);
|
|
10645
10645
|
}
|
|
10646
10646
|
render() {
|
|
10647
|
-
return (hAsync(Host, { key: '
|
|
10647
|
+
return (hAsync(Host, { key: 'ba08f34c2462094f2126a5292781ef1f6fdddadf', class: {
|
|
10648
10648
|
'swiper-slide': true,
|
|
10649
10649
|
'swiper-zoom-container': true,
|
|
10650
|
-
} }, hAsync("slot", { key: '
|
|
10650
|
+
} }, hAsync("slot", { key: 'ac4cbadd5c3c52527c91237a0aac4ae1c418f9e4' })));
|
|
10651
10651
|
}
|
|
10652
10652
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10653
10653
|
static get cmpMeta() { return {
|
|
@@ -10738,7 +10738,7 @@ class Checkbox {
|
|
|
10738
10738
|
const labelId = this.checkboxId + '-label';
|
|
10739
10739
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10740
10740
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10741
|
-
return (hAsync(Host, { key: '
|
|
10741
|
+
return (hAsync(Host, { key: 'a9b3a534f49d1e01964ca38f4848d5ca71df745c' }, hAsync("input", { key: '3fdcc508c59fb8001b1bc42d66deee219dbef9df', 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: '3e0ea10707ecd09de620144c2715b5ece4bfc485', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: 'b0367e8f3f4466ebb5bc268a01aff2dde4063a92' }, this.label, " ", hAsync("span", { key: '01e59b102cb38ae272ef5b5005d5e9d77fdad841', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: 'b8d321888e846a95c97edb2cf521f666405ad0d8' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '6d99f46bc91f3a8d5e60ea4316e72472e041c12e', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: '4b364186e934f71c89df09616462ef7d55ae80fb', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: '1b770a17d4dc176ba546dc6a568cf4e73216958e', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '05b789fefc5a594b03f7f89e5c3cce331f1feafa', class: "helper" }, this.helper)));
|
|
10742
10742
|
}
|
|
10743
10743
|
static get watchers() { return {
|
|
10744
10744
|
"checked": ["checkedChanged"]
|
|
@@ -10796,7 +10796,7 @@ class Chip {
|
|
|
10796
10796
|
}
|
|
10797
10797
|
render() {
|
|
10798
10798
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10799
|
-
return (hAsync(Host, { key: '
|
|
10799
|
+
return (hAsync(Host, { key: '3c65bfe5167e9f025c5570bb097e374c52afe9a1', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: 'aa9962c51038ae3f63540a831fcaec255f18f4f6', class: "chip-description" }, hAsync("slot", { key: '6a39f40317870a66fe3e6aedf8ec2a1f8242ecbf' })), this.hasCloseIcon && hAsync("road-icon", { key: '7321cde210e1d9f8c25f25103eb28b96e9967cc0', class: "chip-close", icon: navigationClose })));
|
|
10800
10800
|
}
|
|
10801
10801
|
static get style() { return RoadChipStyle0; }
|
|
10802
10802
|
static get cmpMeta() { return {
|
|
@@ -10825,7 +10825,7 @@ class Col {
|
|
|
10825
10825
|
registerInstance(this, hostRef);
|
|
10826
10826
|
}
|
|
10827
10827
|
render() {
|
|
10828
|
-
return (hAsync("slot", { key: '
|
|
10828
|
+
return (hAsync("slot", { key: 'ce1f16dac19f180d1f7f8626113ef49b2743859b' }));
|
|
10829
10829
|
}
|
|
10830
10830
|
static get style() { return RoadColStyle0; }
|
|
10831
10831
|
static get cmpMeta() { return {
|
|
@@ -10875,7 +10875,7 @@ class Collapse {
|
|
|
10875
10875
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
10876
10876
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
10877
10877
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
10878
|
-
return (hAsync(Host, { key: '
|
|
10878
|
+
return (hAsync(Host, { key: '6462f4e84998e53dea6560b2ee3f25bc18297d3f' }, hAsync("slot", { key: 'b18f2b21d95bf82da6c25ba51612c5c80595f0da' }), hAsync("div", { key: 'e79d1c7454155b46402bb51217a9f76b166efae9', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: '360e80e5144b0e1f55a3cfaaa9d442978456af27', name: "collapsed-content" })), hAsync("div", { key: '60c493cc500a0c2baa46e62af8e770ad0524fcf8', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: '6a2dff305e994fb6da7c02ede2042095ff91e8ef', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
10879
10879
|
}
|
|
10880
10880
|
static get style() { return RoadCollapseStyle0; }
|
|
10881
10881
|
static get cmpMeta() { return {
|
|
@@ -10912,7 +10912,7 @@ class ContentCard {
|
|
|
10912
10912
|
}
|
|
10913
10913
|
render() {
|
|
10914
10914
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
10915
|
-
return (hAsync(Host, { key: '
|
|
10915
|
+
return (hAsync(Host, { key: '6cc39b5631d6a681be5feb750a53a3ff7483f419' }, hAsync("road-img", { key: '5c87655a4b336ff512c3ce79854d3f00dd9a5272', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '7f837a70a0791143c6d9cb01c1af17c1f9c23fa9', class: "content-card-description" }, hAsync("road-label", { key: 'aea47df25eb0df594ea376c895b39ba1bd5ff40e', class: "content-card-description-title" }, hAsync("slot", { key: '91438a424e3afae554fc6ff8b5e280651db4f58b', name: "label" })), hAsync("p", { key: '2d4956cb8a2679e60cd2c5e96461e8623e50edd7', class: "content-card-description-text" }, hAsync("slot", { key: '78fcbb4c9de33cf3b9971fd4e8ba37c54b905ac5', name: "description" })), hAsync("div", { key: '52e76e5fb626f0d8c89a931f0a93d5b4f3f2c111', class: "content-card-description-buttons" }, hAsync("slot", { key: '0256ffc8cb22d99e8d3311949e8f98e6676971f2' })))));
|
|
10916
10916
|
}
|
|
10917
10917
|
static get style() { return RoadContentCardStyle0; }
|
|
10918
10918
|
static get cmpMeta() { return {
|
|
@@ -11088,7 +11088,7 @@ class Counter {
|
|
|
11088
11088
|
}
|
|
11089
11089
|
render() {
|
|
11090
11090
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11091
|
-
return (hAsync("road-input-group", { key: '
|
|
11091
|
+
return (hAsync("road-input-group", { key: '780f5625366d1d0d5c79f8e37e26ee639c02ba3c', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: '7b6fbed539169f05d44e67f1dbadf34ee7af94a2', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, hAsync("road-icon", { key: '7816e90d5648e6ec4bcf92260032e84e87ae3c79', name: this.isDustbinVisible ? "delete-forever" : "navigation-add-less", ref: (el) => this.iconCounterLess = el, size: this.size, "data-cy": dataCi, role: "button" })), hAsync("road-input", { key: '3eb604c21829f15cc30ae2c4b4772d34f8f886f1', 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" }), hAsync("road-button", { key: '250c44a00ce565d5fd8ff73779890f9c31166d50', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, hAsync("road-icon", { key: 'defd2310b81e3bf9e2c1d4238dad57a255fdd089', name: "navigation-add-more", size: this.size, role: "button" }))));
|
|
11092
11092
|
}
|
|
11093
11093
|
get el() { return getElement(this); }
|
|
11094
11094
|
static get watchers() { return {
|
|
@@ -11204,11 +11204,11 @@ class Dialog {
|
|
|
11204
11204
|
break;
|
|
11205
11205
|
}
|
|
11206
11206
|
}
|
|
11207
|
-
return (hAsync(Host, { key: '
|
|
11207
|
+
return (hAsync(Host, { key: '9624b0fd293d55ecf28b2b0a1ec1804b1fde75e6', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: '2fc5f91ceef6ded3e031b8eaa219d7fcac369b18', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: '1258b772f514d0f84ff68dfae0acfc3745301fd5', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: '9c4612c44b9f0fc115943b7593c5d6a55be2ff9a', class: "dialog-content" }, hAsync("header", { key: '1ea714d353e3e35446b063963c17ebfa59a3510a', class: "dialog-header" }, this.hasCloseIcon
|
|
11208
11208
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11209
|
-
: ''), hAsync("div", { key: '
|
|
11209
|
+
: ''), hAsync("div", { key: '7ab4d960e856b4c8f0bd87b5b3fd13a8c75f509f', class: "dialog-body" }, this.color !== undefined
|
|
11210
11210
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11211
|
-
: '', hAsync("h2", { key: '
|
|
11211
|
+
: '', hAsync("h2", { key: '4186530d638a2bc308caec33339bbf1a173927e8', class: "dialog-title" }, this.label), hAsync("p", { key: '2ca7b4e6f681fb0af7557cc1cd859ffd58a048a6', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: 'd2844af62e03e78552c63f582eb3810fd58fa192', class: "dialog-footer" }, hAsync("slot", { key: '4e8a0feb5c903cf8699861e23496ab85f4976f8f' }))))));
|
|
11212
11212
|
}
|
|
11213
11213
|
get el() { return getElement(this); }
|
|
11214
11214
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -11376,7 +11376,7 @@ class Drawer {
|
|
|
11376
11376
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
11377
11377
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
11378
11378
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
11379
|
-
return (hAsync(Host, { key: '
|
|
11379
|
+
return (hAsync(Host, { key: 'c7823cf5431daed1933645db1191ca6f002343a4', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: '86858f2ad077446aaf408f6b561c040ca3df08d4', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: 'c2e3659a39faab0065be9ab3d267ca243e9e40bd', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, hAsync("div", { key: '5a21b2dab48bc37aa0c35a410405d8310bb01bed', class: "drawer-content" }, hAsync("header", { key: '47a0cee091385a15ff0f4050945cb32306e4169f', 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: '6d0bf6bb56629f75032d654685bb6f339ac4dbd9', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: '98a7724af28ce5673eb020d0602d2b1f508ab5d3' })), hAsync("footer", { key: '631c299841ade87daf424ff1eed04fb750465a3a', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, hAsync("slot", { key: 'dd31ef1327016e18d67e46c2b3ddedd84ca799fb', name: "footer" }))))));
|
|
11380
11380
|
}
|
|
11381
11381
|
get el() { return getElement(this); }
|
|
11382
11382
|
static get watchers() { return {
|
|
@@ -11437,7 +11437,7 @@ class Dropdown$1 {
|
|
|
11437
11437
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
11438
11438
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
11439
11439
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
11440
|
-
return (hAsync("details", { key: '
|
|
11440
|
+
return (hAsync("details", { key: '768ba1755139eab0d4855a04ab38ce4c45587d1b', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '5140f2dbef1c23006a46dc38bffe60d076ecac99', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: '41e6d5d0da014d537b4403e2ee19b1d38604a093', class: `d-flex ${positionClass}` }, hAsync("div", { key: '7dd0ef5cc443b7c196170f379ebef2ec0ad1261b', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: '4a0dbb64c3f219cf3d5935e9bec3db6f157d72a0', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: '46b638582bdf23197a6145d46fbb3a7aed52aec7', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: '84d785851d406f895d7494671a483b8c5c4cb446', name: "list" }))));
|
|
11441
11441
|
}
|
|
11442
11442
|
get el() { return getElement(this); }
|
|
11443
11443
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -11493,7 +11493,7 @@ class Dropdown {
|
|
|
11493
11493
|
this.isOpen = false;
|
|
11494
11494
|
}
|
|
11495
11495
|
render() {
|
|
11496
|
-
return (hAsync("details", { key: '
|
|
11496
|
+
return (hAsync("details", { key: '465df4a61faad0a1a765d7efaf6ade6f9b0a57b0', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '5ec3e807f19935cba27df57edc4a796b9006f03b', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '027c27595159564a358bbab8256cf8312da35b20', class: `d-flex` }, hAsync("div", { key: '7cdf25707609c894f83dc8efb4812cbb2566ab7b' }, hAsync("road-avatar", { key: '3513b743d0dec926869fb79a949ab2e5dfbc71a3' }, hAsync("slot", { key: '066a6b69c0c68e34b0b3fcbfcb47877a128b3d95', name: "avatar" }))))), hAsync("div", { key: 'ee7cda5c04a74a85a48fb7113029885ca1f56fa0', class: `dropdown-menu` }, hAsync("div", { key: 'defe24b3ebe1e990fa376187a55e2ca3fa42fa80', class: "profil-item" }, hAsync("road-avatar", { key: 'e6b214623c60dff1c3da21adefc9552f00ed7188', size: "sm" }, hAsync("slot", { key: '49ebfb58d2cf195df7be4d1e8570349a2c2635ce', name: "avatarItem" })), hAsync("div", { key: '29a6c4ee49db6f4364d79d1b00f73fb9deaacbd5', class: "profil-item-info" }, hAsync("span", { key: '2b7c8ba798061897dc23067d1dc487432d373960', class: "profil-item-info-name" }, hAsync("slot", { key: 'b89515a3d0de2291fa0fcfb0d4790e538bc11d45', name: "name" })), hAsync("road-label", { key: '8d2d308e545e82080ee8f53eb9e311f4ad3e5962' }, hAsync("slot", { key: '1060490e0fd022351c37abe277f8aea1d2523330', name: "email" })))), hAsync("slot", { key: '75004828f1d413aec4f6fcbba83398ce9272a2d6', name: "list" }))));
|
|
11497
11497
|
}
|
|
11498
11498
|
get el() { return getElement(this); }
|
|
11499
11499
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -11557,7 +11557,7 @@ class Duration {
|
|
|
11557
11557
|
this.isOpen = false;
|
|
11558
11558
|
}
|
|
11559
11559
|
render() {
|
|
11560
|
-
return (hAsync("road-drawer", { key: '
|
|
11560
|
+
return (hAsync("road-drawer", { key: 'af716b65178615e57b2ddabec15f63404ae67d0c', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: 'af2539c5c98ab4797a42889d3defb57a92377a66' }, hAsync("road-row", { key: '504b9c255f5e2b46fe9e5abac4723013b69d179f', 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 })))))))));
|
|
11561
11561
|
}
|
|
11562
11562
|
get el() { return getElement(this); }
|
|
11563
11563
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -11603,7 +11603,7 @@ class Flap {
|
|
|
11603
11603
|
}
|
|
11604
11604
|
render() {
|
|
11605
11605
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
11606
|
-
return (hAsync(Host, { key: '
|
|
11606
|
+
return (hAsync(Host, { key: '4d8ec221aee42ba140d4c77a8e53095ff52fd8fb', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '861ea350e8610a28860faf2649ca7e7f423fa9d9' })));
|
|
11607
11607
|
}
|
|
11608
11608
|
static get style() { return RoadFlapStyle0; }
|
|
11609
11609
|
static get cmpMeta() { return {
|
|
@@ -11649,7 +11649,7 @@ class GlobalNavigation {
|
|
|
11649
11649
|
this.selectedTabChanged();
|
|
11650
11650
|
}
|
|
11651
11651
|
render() {
|
|
11652
|
-
return (hAsync(Host, { key: '
|
|
11652
|
+
return (hAsync(Host, { key: '4f49be7031fd174d48e0e317faea73c6179c8067', role: "application" }, hAsync("slot", { key: '68ec7f774cd4c8eae3206535842e045a60872a92' })));
|
|
11653
11653
|
}
|
|
11654
11654
|
static get watchers() { return {
|
|
11655
11655
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -11797,7 +11797,7 @@ class GlobalNavigationV2 {
|
|
|
11797
11797
|
this.selectedTabChanged();
|
|
11798
11798
|
}
|
|
11799
11799
|
render() {
|
|
11800
|
-
return (hAsync(Host, { key: '
|
|
11800
|
+
return (hAsync(Host, { key: 'a7c2fc7d2023d694ef9dc3c9539ccdd965ab482d', role: "application" }, hAsync("slot", { key: '3434cb37b8e9974aaa8ba3fcb84d42b5063f9ee7' })));
|
|
11801
11801
|
}
|
|
11802
11802
|
get host() { return getElement(this); }
|
|
11803
11803
|
static get watchers() { return {
|
|
@@ -11827,7 +11827,7 @@ class Grid {
|
|
|
11827
11827
|
registerInstance(this, hostRef);
|
|
11828
11828
|
}
|
|
11829
11829
|
render() {
|
|
11830
|
-
return (hAsync("slot", { key: '
|
|
11830
|
+
return (hAsync("slot", { key: 'bb4b54907261b204fa0f01e461775443869b13f3' }));
|
|
11831
11831
|
}
|
|
11832
11832
|
static get style() { return RoadGridStyle0; }
|
|
11833
11833
|
static get cmpMeta() { return {
|
|
@@ -11930,7 +11930,7 @@ class Icon {
|
|
|
11930
11930
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
11931
11931
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
11932
11932
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
11933
|
-
return (hAsync(Host, { key: '
|
|
11933
|
+
return (hAsync(Host, { key: 'a88db35b55c51082a297606a0c10233dc2dbd590', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
11934
11934
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
11935
11935
|
: hAsync("div", { class: "icon-inner" })));
|
|
11936
11936
|
}
|
|
@@ -12052,7 +12052,7 @@ class Illustration {
|
|
|
12052
12052
|
render() {
|
|
12053
12053
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
12054
12054
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
12055
|
-
return (hAsync(Host, { key: '
|
|
12055
|
+
return (hAsync(Host, { key: '8f7e6fc000d366f707bd8baf8a6ecc98cd6cf5f1', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
12056
12056
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
12057
12057
|
: hAsync("div", { class: "icon-inner" }))));
|
|
12058
12058
|
}
|
|
@@ -12155,7 +12155,7 @@ class Img {
|
|
|
12155
12155
|
}
|
|
12156
12156
|
render() {
|
|
12157
12157
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
12158
|
-
return (hAsync(Host, { key: '
|
|
12158
|
+
return (hAsync(Host, { key: '1c674a59d7d5ad7c29e1ba3136bea0d6a4561cb7', class: placeholder }, hAsync("img", { key: 'a4af9833f614b670361dc7a39b41d63dfac338e6', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
12159
12159
|
}
|
|
12160
12160
|
get el() { return getElement(this); }
|
|
12161
12161
|
static get watchers() { return {
|
|
@@ -29596,11 +29596,11 @@ class Input {
|
|
|
29596
29596
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29597
29597
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29598
29598
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29599
|
-
return (hAsync(Host, { key: '
|
|
29599
|
+
return (hAsync(Host, { key: 'bedd32f45b01472e88c9b1809c60552aafad7907', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: '377f80a0feb329122fd74021892e5fdb0877ae1b', class: `form-control ${hasValueClass} ${isInvalidClass} ${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, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input' }), hAsync("label", { key: '64ec02c30346aa18a537bda37c336f2a940fcce6', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && (Array.isArray(this.error)
|
|
29600
29600
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
29601
29601
|
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(), " ")))
|
|
29602
29602
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
29603
|
-
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: '
|
|
29603
|
+
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: '417bbf24a6e47505364e6a51eb618e00a37c39dc', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: 'e999be5b75f62be52a3ea8b073f241327d89642e', name: "checklistPassword" })));
|
|
29604
29604
|
}
|
|
29605
29605
|
static get watchers() { return {
|
|
29606
29606
|
"debounce": ["debounceChanged"],
|
|
@@ -29711,7 +29711,7 @@ class InputGroup {
|
|
|
29711
29711
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
29712
29712
|
: '';
|
|
29713
29713
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
29714
|
-
return (hAsync("div", { key: '
|
|
29714
|
+
return (hAsync("div", { key: 'a12d00f2be3ba1bdbdf841ccc8dabeb931a00a03', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: '302f4763f18b4c8377d468ffa8001b1164da8a9d', class: "input-group-prepend" }, hAsync("slot", { key: '8087d326368e00ef883bf32ef5b0fcb08aae8c8c', name: "prepend" })), hAsync("slot", { key: '66c68ff1f701e7f8bbe6b1977ce71999edf8f629' }), hAsync("div", { key: '5100d13757b6052554608df1aa7d99b744498c01', class: "input-group-append" }, hAsync("slot", { key: 'ecd7de8a226fc406936b22adc0be275e5f0f5ce3', name: "append" }))));
|
|
29715
29715
|
}
|
|
29716
29716
|
get el() { return getElement(this); }
|
|
29717
29717
|
static get watchers() { return {
|
|
@@ -29791,13 +29791,13 @@ class Item {
|
|
|
29791
29791
|
target,
|
|
29792
29792
|
};
|
|
29793
29793
|
const showDetail = detail !== undefined && detail;
|
|
29794
|
-
return (hAsync(Host, { key: '
|
|
29794
|
+
return (hAsync(Host, { key: '860c302655c49126c87052a2edad16909a7a0682', "aria-disabled": disabled ? 'true' : null, class: {
|
|
29795
29795
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
29796
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
29796
|
+
} }, hAsync(TagType, Object.assign({ key: 'e6252d333da61aec647484568b212b92af2bce40' }, attrs, { class: {
|
|
29797
29797
|
'item-native': true,
|
|
29798
29798
|
'item-active': this.active,
|
|
29799
29799
|
[`layout-${layout}`]: layout !== undefined,
|
|
29800
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
29800
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: '501c57225015099404e5814dae2b329e8c7814bf', name: "start" }), hAsync("div", { key: '5b7e16728adb24df82a0a4de16b7e02015b8a034', class: "item-inner" }, hAsync("div", { key: '44c92546ae8bf7297141e7f88533a8775261d5a3', class: "input-wrapper" }, hAsync("slot", { key: '556c79ac119514a62e1e626ae2eedcb32d6c40b1' }), hAsync("div", { key: 'ee3945f18b76714800809c4f10f6e121db475759', class: "input-wrapper-info" }, hAsync("road-label", { key: '5230e1e7a77c1891d3c98ebefea9d9158a55759b', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: '59635795940cd5962e5f5333db89f9cf8fe7f4fe', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: 'd6aaf40b9e0b3aeb87fb33b76dfbb0c1cc4dab1a', name: "end" }), showDetail && hAsync("road-icon", { key: '1d335508feef34121bbd81f610d518241c5965e0', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
29801
29801
|
}
|
|
29802
29802
|
get el() { return getElement(this); }
|
|
29803
29803
|
static get style() { return RoadItemStyle0; }
|
|
@@ -29838,7 +29838,7 @@ class Label {
|
|
|
29838
29838
|
registerInstance(this, hostRef);
|
|
29839
29839
|
}
|
|
29840
29840
|
render() {
|
|
29841
|
-
return (hAsync("slot", { key: '
|
|
29841
|
+
return (hAsync("slot", { key: '82d053422e195816eabf52d53f8573e718dd1509' }));
|
|
29842
29842
|
}
|
|
29843
29843
|
static get style() { return RoadLabelStyle0; }
|
|
29844
29844
|
static get cmpMeta() { return {
|
|
@@ -29863,9 +29863,9 @@ class List {
|
|
|
29863
29863
|
}
|
|
29864
29864
|
render() {
|
|
29865
29865
|
const { lines } = this;
|
|
29866
|
-
return (hAsync(Host, { key: '
|
|
29866
|
+
return (hAsync(Host, { key: '887431743a493599f3d94712f82c578e80e337dd', class: {
|
|
29867
29867
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
29868
|
-
} }, hAsync("slot", { key: '
|
|
29868
|
+
} }, hAsync("slot", { key: '096ac671024d3cfe42a2fe0c638ef6004ee044bd' })));
|
|
29869
29869
|
}
|
|
29870
29870
|
static get style() { return RoadListStyle0; }
|
|
29871
29871
|
static get cmpMeta() { return {
|
|
@@ -29950,7 +29950,7 @@ class Modal {
|
|
|
29950
29950
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
29951
29951
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
29952
29952
|
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" })) : '';
|
|
29953
|
-
return (hAsync(Host, { key: '
|
|
29953
|
+
return (hAsync(Host, { key: '5498ad5f4fb6179f78d81cd1dfb9eebf76e00c32', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: '06ea6f3092ec5e251958ab512477bf6fbb79d136', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '8797e0c6fbb7ee5806ff2320bff65bb8e531a413', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: 'e0b1ee9a47f87b26d2ca8d7229af2e23810a6439', class: "modal-content" }, hAsync("header", { key: 'f7f956f2c18f27de28d826a512f9ca571775bf3a', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: 'c73d2faac50da28a176bbff7eeb428c676569227', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: 'c9875677df39735051d889be56ce439cbdd2f628', class: "modal-body" }, hAsync("slot", { key: 'f957ea7369037950ca9942ebe4376d4d4c31c1a7' }))))));
|
|
29954
29954
|
}
|
|
29955
29955
|
get el() { return getElement(this); }
|
|
29956
29956
|
static get style() { return RoadModalStyle0; }
|
|
@@ -30001,7 +30001,7 @@ class Navbar {
|
|
|
30001
30001
|
this.selectedTabChanged();
|
|
30002
30002
|
}
|
|
30003
30003
|
render() {
|
|
30004
|
-
return (hAsync(Host, { key: '
|
|
30004
|
+
return (hAsync(Host, { key: '336e865d937409e9492b68bc13f05e7180b6eafc', role: "menubar" }, hAsync("slot", { key: 'b0d7e18e1850e10416c608ed7393d3a9027e2067' })));
|
|
30005
30005
|
}
|
|
30006
30006
|
static get watchers() { return {
|
|
30007
30007
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30087,11 +30087,11 @@ class NavbarItem$1 {
|
|
|
30087
30087
|
rel,
|
|
30088
30088
|
target,
|
|
30089
30089
|
};
|
|
30090
|
-
return (hAsync(Host, { key: '
|
|
30090
|
+
return (hAsync(Host, { key: 'a6a1469965b66ae463df5b1d7040adca8b1305dc', 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: {
|
|
30091
30091
|
'navbar-item': true,
|
|
30092
30092
|
'tab-selected': selected,
|
|
30093
30093
|
'tab-disabled': disabled,
|
|
30094
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30094
|
+
} }, hAsync("a", Object.assign({ key: '74291e2413b2a818bee0493eb5671a9c8c12bc32' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '2f9be2ac47fcede36def9d33cd95ba63d8fe7e9e', class: "button-inner" }, hAsync("slot", { key: '6e9d8f12913df3a7630cb65c1a3fbe76776ef8b7' })))));
|
|
30095
30095
|
}
|
|
30096
30096
|
get el() { return getElement(this); }
|
|
30097
30097
|
static get watchers() { return {
|
|
@@ -30184,11 +30184,11 @@ class NavbarItem {
|
|
|
30184
30184
|
rel,
|
|
30185
30185
|
target,
|
|
30186
30186
|
};
|
|
30187
|
-
return (hAsync(Host, { key: '
|
|
30187
|
+
return (hAsync(Host, { key: '8a61cc7f6e8e74504ef820804ce56c861c8f8add', 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: {
|
|
30188
30188
|
'navbar-item': true,
|
|
30189
30189
|
'tab-selected': selected,
|
|
30190
30190
|
'tab-disabled': disabled,
|
|
30191
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30191
|
+
} }, hAsync("a", Object.assign({ key: '8b1907943e6627a2ad6f003ce0a65d83eb0c2298' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '12691fdf89f4663bfd952d8a9f170fecb55a14cc', class: "button-inner" }, hAsync("slot", { key: '3b0f63507265fae207e0ee7d48b4cbbc459e2e9e' })))));
|
|
30192
30192
|
}
|
|
30193
30193
|
get el() { return getElement(this); }
|
|
30194
30194
|
static get watchers() { return {
|
|
@@ -30247,7 +30247,7 @@ class NavbarV2 {
|
|
|
30247
30247
|
}
|
|
30248
30248
|
render() {
|
|
30249
30249
|
const compactClass = this.compact ? 'compact' : '';
|
|
30250
|
-
return (hAsync(Host, { key: '
|
|
30250
|
+
return (hAsync(Host, { key: 'fbc0396385b47acc868836aa281aeece36e49d14', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'df4dce0821e605c52329519341cfb9ce28667b90' })));
|
|
30251
30251
|
}
|
|
30252
30252
|
static get watchers() { return {
|
|
30253
30253
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30370,10 +30370,10 @@ class PlateNumber {
|
|
|
30370
30370
|
render() {
|
|
30371
30371
|
const value = this.getValue();
|
|
30372
30372
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
30373
|
-
return (hAsync("road-input-group", { key: '
|
|
30373
|
+
return (hAsync("road-input-group", { key: '256907a95695a0011ee6667bda1a55bff0ac196a', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: '86e4543279c05e8a96804c444d49ce5d59eead84', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: '5fbf63f6ee6b84ad851fdd7d667440aec7c54eb0', class: "plate-number-start" }, hAsync("road-icon", { key: '17518943683e9bf2c07b8727a26cc17e341efec9', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: '237e45e6cf3e718550196617210c9d4cb179d415', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
30374
30374
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
30375
30375
|
? (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 }))
|
|
30376
|
-
: (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: '
|
|
30376
|
+
: (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: '27a14734135f2d381b4565b2b74ec9ca82e9cd67', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'ff8d3d275c1526cc4f891b090dd94b4935b3520f', class: "plate-number-end" }))));
|
|
30377
30377
|
}
|
|
30378
30378
|
static get watchers() { return {
|
|
30379
30379
|
"value": ["valueChanged"]
|
|
@@ -30441,7 +30441,7 @@ class ProgressBar {
|
|
|
30441
30441
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
30442
30442
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
30443
30443
|
const animation = this.animation ? 'animation' : '';
|
|
30444
|
-
return (hAsync(Host, { key: '
|
|
30444
|
+
return (hAsync(Host, { key: '03fb563bba5dd680eec9dc4fd94ae5a4a750a0e2', class: "progress-element" }, hAsync("div", { key: 'f21471a177b8153941f06260453a93b80ef90062', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '14fd92aa9af6f4aa20dd89273f270e8cf2d283cc', class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": "progress bar" })), hAsync("div", { key: '1daaafdb40fe31d52a1110bc5215ec387a2c9a95', class: `${fullwidth}` }, hAsync("span", { key: '1c6c2e39bce4e912173da934d710a6ec18b56775', class: "progress-element-label" }, this.label), this.showstep && hAsync("span", { key: 'ae6ebe2463fb7f644e280adeec77939012f26c66', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
30445
30445
|
}
|
|
30446
30446
|
static get style() { return RoadProgressStyle0; }
|
|
30447
30447
|
static get cmpMeta() { return {
|
|
@@ -30482,7 +30482,7 @@ class ProgressIndicatorVertical {
|
|
|
30482
30482
|
registerInstance(this, hostRef);
|
|
30483
30483
|
}
|
|
30484
30484
|
render() {
|
|
30485
|
-
return (hAsync(Host, { key: '
|
|
30485
|
+
return (hAsync(Host, { key: 'c995e9bc8f4bf850d02f56dfa5341d2dc62e6fb7' }, hAsync("nav", { key: '13e9ac1c5756631e3a9214d9ea168e6bb696a889' }, hAsync("ul", { key: '35dc1e78cb55d60e11ed430327f1846bc1d19dd0' }, hAsync("li", { key: '7e2ef648a67567b4347c6b921e193143cdc9ed4d' }, hAsync("slot", { key: '55779bc2e3a71f8da207ceb3078a44cfb9c6a4f3' }))))));
|
|
30486
30486
|
}
|
|
30487
30487
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
30488
30488
|
static get cmpMeta() { return {
|
|
@@ -30506,7 +30506,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
30506
30506
|
registerInstance(this, hostRef);
|
|
30507
30507
|
}
|
|
30508
30508
|
render() {
|
|
30509
|
-
return (hAsync(Host, { key: '
|
|
30509
|
+
return (hAsync(Host, { key: 'da2c647496639ed90ec350969c01b5cb5f7d2001' }, hAsync("slot", { key: '450c50bd9001ee9e3dc4f8b6009b4fe7888a3dd4' })));
|
|
30510
30510
|
}
|
|
30511
30511
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
30512
30512
|
static get cmpMeta() { return {
|
|
@@ -30535,7 +30535,7 @@ class ProgressTracker {
|
|
|
30535
30535
|
registerInstance(this, hostRef);
|
|
30536
30536
|
}
|
|
30537
30537
|
render() {
|
|
30538
|
-
return (hAsync(Host, { key: '
|
|
30538
|
+
return (hAsync(Host, { key: 'b16efa209b6b91cccea1bb93b0643025d3bb1295' }, hAsync("nav", { key: 'b6adf35e49c42089efac56f0de052fc73d4fc7a7' }, hAsync("ul", { key: '3b6b381b77a0fc0e27baa4e07352479090a8c5d8' }, hAsync("li", { key: 'e931863154e84a5921ddb2d816a99153d9c0d509' }, hAsync("slot", { key: 'f8af67495e689ac2e8c71dd31d607ac9c9f395da' }))))));
|
|
30539
30539
|
}
|
|
30540
30540
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
30541
30541
|
static get cmpMeta() { return {
|
|
@@ -30567,7 +30567,7 @@ class ProgressTrackerItem {
|
|
|
30567
30567
|
registerInstance(this, hostRef);
|
|
30568
30568
|
}
|
|
30569
30569
|
render() {
|
|
30570
|
-
return (hAsync(Host, { key: '
|
|
30570
|
+
return (hAsync(Host, { key: 'fbd901e3b437e6812e38992c450a50094c9ad4e2' }, hAsync("slot", { key: '9af1234af14417ae3d56d33c3d4b9cf445fd044f' })));
|
|
30571
30571
|
}
|
|
30572
30572
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
30573
30573
|
static get cmpMeta() { return {
|
|
@@ -30660,7 +30660,7 @@ class Radio {
|
|
|
30660
30660
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
30661
30661
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
30662
30662
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30663
|
-
return (hAsync(Host, { key: '
|
|
30663
|
+
return (hAsync(Host, { key: '1425285f153d4e7b06b1baa3aea07d426c7a1ed4', class: `form-radio ${inlineClass}` }, hAsync("input", { key: '6af967d231c0d44e962a39265ab9ba9404ec3086', 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: '8955c0ab3895b3856119ed65d8ea3a8fd8435a42', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '81e91cd04d45c49a75e75bf26e84dfea14145758', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
30664
30664
|
}
|
|
30665
30665
|
get el() { return getElement(this); }
|
|
30666
30666
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -30688,6 +30688,86 @@ class Radio {
|
|
|
30688
30688
|
}
|
|
30689
30689
|
let radioIds = 0;
|
|
30690
30690
|
|
|
30691
|
+
const radioCardCss = ".radio-card.sc-road-radio-card{display:flex;align-items:flex-start;gap:0.75rem;padding:1rem;border:1px solid var(--road-outline);border-radius:0.5rem;transition:border-color 0.3s, background-color 0.3s;cursor:pointer}.radio-card-selected.sc-road-radio-card{outline:2px solid var(--road-outline-variant);outline-offset:-2px}.radio-card-disabled.sc-road-radio-card{outline:none;cursor:not-allowed;background-color:var(--road-surface-disabled);border:1px solid var(--road-outline)}.radio-card.sc-road-radio-card:hover{border-color:var(--road-outline-variant)}.radio-card-disabled.radio-card.sc-road-radio-card:hover{border:1px solid var(--road-outline)}.form-radio-input.sc-road-radio-card{position:absolute;opacity:0;pointer-events:none}.radio-card-label.sc-road-radio-card{font-weight:bold}.sc-road-radio-card-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface)}.form-radio-inline.sc-road-radio-card-h{display:inline-flex;flex-wrap:wrap;align-items:center;margin-right:1.5rem;margin-bottom:0}.form-radio-input.sc-road-radio-card{position:absolute;z-index:-1;width:20px;height:20px;opacity:0}.form-radio-input.sc-road-radio-card:disabled{z-index:1;width:100%;cursor:not-allowed}.form-radio-label.sc-road-radio-card{position:relative;display:inline-flex;align-items:flex-start;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-radio-label.sc-road-radio-card::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0.1rem 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:50%;transition:border-color 0.2s ease-in-out}.form-radio-label-span.sc-road-radio-card{margin-left:var(--road-spacing-02);color:var(--road-on-surface-weak)}.form-radio-label.sc-road-radio-card::after{position:absolute;top:0.285rem;left:0.1875rem;box-sizing:border-box;display:block;width:0.875rem;height:0.875rem;content:\"\";background:var(--road-on-surface-disabled);border:none;border-radius:50%;transition:background 0.2s ease-in-out, transform 0.2s ease-in-out;transform:scale(0);transform-origin:50% 50%}@media (hover: hover){.form-radio-input.sc-road-radio-card~.form-radio-label.sc-road-radio-card:hover::before{border-color:var(--road-input-surface)}.form-radio-input.sc-road-radio-card:checked~.form-radio-label.sc-road-radio-card:hover::after{background:var(--road-input-surface-variant)}.form-radio-input.sc-road-radio-card:checked:disabled~.form-radio-label.sc-road-radio-card:hover::after{background:var(--road-on-surface-disabled)}}.form-radio-input.sc-road-radio-card:checked~.form-radio-label.sc-road-radio-card::after{background:var(--road-input-surface);opacity:1;transform:scale(1)}.form-radio-input.focus-visible.sc-road-radio-card~.form-radio-label.sc-road-radio-card::before{box-shadow:0 0 0 0.125rem var(--road-grey-100-new), 0 0 0 0.1875rem var(--road-input-outline-variant)}.form-radio-input.focus-visible.sc-road-radio-card:checked~.form-radio-label.sc-road-radio-card::after{background:var(--road-primary-700)}.form-radio-input.sc-road-radio-card:disabled~.form-radio-label.sc-road-radio-card,.form-radio-input[readonly].sc-road-radio-card~.form-radio-label.sc-road-radio-card{cursor:not-allowed}.form-radio-input.sc-road-radio-card:disabled~.form-radio-label.sc-road-radio-card::before,.form-radio-input[readonly].sc-road-radio-card~.form-radio-label.sc-road-radio-card::before{background:var(--road-on-surface-disabled);border:none}.form-radio-input.sc-road-radio-card:disabled~.form-radio-label.sc-road-radio-card::after,.form-radio-input[readonly].sc-road-radio-card~.form-radio-label.sc-road-radio-card::after{background:var(--road-on-surface-disabled)}.form-radio-input.is-invalid.sc-road-radio-card~.form-radio-label.sc-road-radio-card::before{border-color:var(--road-danger-outline)}.form-radio-inverse.sc-road-radio-card{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-radio-inverse.sc-road-radio-card::before{margin:0 0 0 1rem}.form-radio-inverse.sc-road-radio-card::after{right:0.1875rem;left:auto}";
|
|
30692
|
+
var RoadRadioCardStyle0 = radioCardCss;
|
|
30693
|
+
|
|
30694
|
+
class RadioCard {
|
|
30695
|
+
constructor(hostRef) {
|
|
30696
|
+
registerInstance(this, hostRef);
|
|
30697
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
30698
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
30699
|
+
this.roadchange = createEvent(this, "roadchange", 7);
|
|
30700
|
+
this.disabled = false;
|
|
30701
|
+
this.selected = false;
|
|
30702
|
+
this.inline = true;
|
|
30703
|
+
this.isSelected = false;
|
|
30704
|
+
this.onFocus = () => {
|
|
30705
|
+
this.roadfocus.emit();
|
|
30706
|
+
};
|
|
30707
|
+
this.onBlur = () => {
|
|
30708
|
+
this.roadblur.emit();
|
|
30709
|
+
};
|
|
30710
|
+
this.onClick = () => {
|
|
30711
|
+
var _a;
|
|
30712
|
+
if (this.disabled)
|
|
30713
|
+
return;
|
|
30714
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.click();
|
|
30715
|
+
this.roadchange.emit(this.value);
|
|
30716
|
+
window.dispatchEvent(new CustomEvent('road-radio-selected', {
|
|
30717
|
+
detail: {
|
|
30718
|
+
name: this.name,
|
|
30719
|
+
value: this.value,
|
|
30720
|
+
},
|
|
30721
|
+
}));
|
|
30722
|
+
};
|
|
30723
|
+
this.onRadioSelected = (event) => {
|
|
30724
|
+
const { name, value } = event.detail;
|
|
30725
|
+
if (name === this.name) {
|
|
30726
|
+
this.isSelected = value === this.value;
|
|
30727
|
+
}
|
|
30728
|
+
};
|
|
30729
|
+
}
|
|
30730
|
+
componentWillLoad() {
|
|
30731
|
+
this.radioId = `road-radio-${RadioCard.idCounter++}`;
|
|
30732
|
+
if (!this.name) {
|
|
30733
|
+
this.name = this.radioId;
|
|
30734
|
+
}
|
|
30735
|
+
if (!this.label) {
|
|
30736
|
+
this.label = `${this.radioId}-label`;
|
|
30737
|
+
}
|
|
30738
|
+
}
|
|
30739
|
+
handleRadioSelected(event) {
|
|
30740
|
+
this.onRadioSelected(event);
|
|
30741
|
+
}
|
|
30742
|
+
render() {
|
|
30743
|
+
const labelId = `${this.radioId}-label`;
|
|
30744
|
+
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30745
|
+
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
30746
|
+
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
30747
|
+
return (hAsync(Host, { key: '88f2523349bd29e5cd4278466375a1684cae8ab1', class: `form-radio ${inlineClass}` }, hAsync("div", { key: 'ffea5f08a48cc23a8fc6dfac7062805b6ff36a11', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, hAsync("input", { key: '6a7bd89910aaf9abd388a48247d2f9307bdb4c58', 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: '2bde59e263ffebcfba8a80a73e37239a41978459', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, hAsync("div", { key: '077fd5c4b3a01f027ab75bbf69b32a4b9d8c4495', class: "slot-wrapper" }, hAsync("slot", { key: 'cea36691ce0845a8470b9ed66defd1c81ac12756' }))))));
|
|
30748
|
+
}
|
|
30749
|
+
get el() { return getElement(this); }
|
|
30750
|
+
static get style() { return RoadRadioCardStyle0; }
|
|
30751
|
+
static get cmpMeta() { return {
|
|
30752
|
+
"$flags$": 6,
|
|
30753
|
+
"$tagName$": "road-radio-card",
|
|
30754
|
+
"$members$": {
|
|
30755
|
+
"name": [1],
|
|
30756
|
+
"disabled": [4],
|
|
30757
|
+
"selected": [4],
|
|
30758
|
+
"value": [8],
|
|
30759
|
+
"label": [1],
|
|
30760
|
+
"inline": [4],
|
|
30761
|
+
"isSelected": [32],
|
|
30762
|
+
"radioId": [32]
|
|
30763
|
+
},
|
|
30764
|
+
"$listeners$": [[8, "road-radio-selected", "handleRadioSelected"]],
|
|
30765
|
+
"$lazyBundleId$": "-",
|
|
30766
|
+
"$attrsToReflect$": []
|
|
30767
|
+
}; }
|
|
30768
|
+
}
|
|
30769
|
+
RadioCard.idCounter = 0;
|
|
30770
|
+
|
|
30691
30771
|
const radioGroupCss = ".sc-road-radio-group-h{--asterisk-color:var(--road-on-surface);position:relative;display:block;margin-bottom:1rem}.asterisk.sc-road-radio-group{color:var(--asterisk-color)}.is-invalid.sc-road-radio-group-h .invalid-feedback.sc-road-radio-group{display:block}.invalid-feedback.sc-road-radio-group{display:none;flex:0 0 100%;width:100%;margin:0.5rem 0 0;font-size:var(--road-font-size-12);color:var(--road-on-danger-surface)}.helper.sc-road-radio-group{margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-on-surface-weak)}";
|
|
30692
30772
|
var RoadRadioGroupStyle0 = radioGroupCss;
|
|
30693
30773
|
|
|
@@ -30735,9 +30815,16 @@ class RadioGroup {
|
|
|
30735
30815
|
};
|
|
30736
30816
|
}
|
|
30737
30817
|
valueChanged(value) {
|
|
30818
|
+
this.updateRadios();
|
|
30738
30819
|
this.roadchange.emit({ value });
|
|
30739
30820
|
this.roadChange.emit({ value });
|
|
30740
30821
|
}
|
|
30822
|
+
updateRadios() {
|
|
30823
|
+
const radios = this.el.querySelectorAll('road-radio-card');
|
|
30824
|
+
radios.forEach(radio => {
|
|
30825
|
+
radio.checked = (radio.getAttribute('value') === this.value);
|
|
30826
|
+
});
|
|
30827
|
+
}
|
|
30741
30828
|
errorChanged() {
|
|
30742
30829
|
if (this.error !== undefined && this.error !== '') {
|
|
30743
30830
|
this.el.querySelectorAll('road-radio').forEach(item => item.error = true);
|
|
@@ -30754,7 +30841,7 @@ class RadioGroup {
|
|
|
30754
30841
|
render() {
|
|
30755
30842
|
const labelId = `${this.radioGroupId}-label`;
|
|
30756
30843
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30757
|
-
return (hAsync(Host, { key: '
|
|
30844
|
+
return (hAsync(Host, { key: 'e9752d4f6d5213894f19677213b288774cb043b4', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: 'a0bc7d840e128b39edb4ec626a29e1ffbc84e34f', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: '07a7e690b57b773a64d4a6cdc0387342e6cc9d4a', class: "asterisk" }, "*")), hAsync("slot", { key: 'f5740b9d48a56145d4bfd304177523f26f5c98ed' }), this.error && this.error !== '' && hAsync("p", { key: 'b83e97116b061be92d82fea00a2cbda25da82d12', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'f5a2ee67cb0c3800b304e7e04b75f15be9d4b0d6', class: "helper" }, this.helper)));
|
|
30758
30845
|
}
|
|
30759
30846
|
get el() { return getElement(this); }
|
|
30760
30847
|
static get watchers() { return {
|
|
@@ -30884,14 +30971,14 @@ class Range {
|
|
|
30884
30971
|
render() {
|
|
30885
30972
|
const value = this.getValue();
|
|
30886
30973
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
30887
|
-
return (hAsync(Host, { key: '
|
|
30974
|
+
return (hAsync(Host, { key: '933bf24845be4c38f03bcbdc25e68834b2cb0bbd', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: 'ea720a87daf84e34e5e5b22458c26dec289aa827', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: '551fbb0888e0bb0b0cdc99a82f6c6d8c0bb15b72', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: '6a443f81792939296ea68cfc5f1983b93238bec5', class: "form-range", style: {
|
|
30888
30975
|
"--min": this.min,
|
|
30889
30976
|
"--max": this.max,
|
|
30890
30977
|
"--value": value,
|
|
30891
30978
|
"--background-color": this.disabled
|
|
30892
30979
|
? "var(--road-surface-disabled)"
|
|
30893
30980
|
: "initial",
|
|
30894
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
30981
|
+
} }, this.showValue && hAsync("output", { key: '9bac7466a866a1e0e1341b07daa189f5ba045de6' }), this.showLabels && hAsync("slot", { key: '17a4485a49e5b533c0731cf3f5ce918a6b1523b9', name: "datalist" }), hAsync("input", { key: 'e5e3464c914837536214fac832793e2c962f20f1', 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: '4832c1d1bfaa0831e3efc3bafc8229056b7b99be', class: "form-range-label" }, "Valeur"), hAsync("div", { key: '12b95b10b3cef47219037103c70d778b46e2b78d', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: 'ccf889f29a6679788264d30c6fb98239774e1985', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
30895
30982
|
}
|
|
30896
30983
|
get el() { return getElement(this); }
|
|
30897
30984
|
static get watchers() { return {
|
|
@@ -30960,7 +31047,7 @@ class Rating {
|
|
|
30960
31047
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
30961
31048
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
30962
31049
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
30963
|
-
return (hAsync(Host, { key: '
|
|
31050
|
+
return (hAsync(Host, { key: '2e353a141d8c2230de7a03fe59ab62c14978ede7' }, hAsync("div", { key: 'a3caf5feb9d42943d7c13a566c55715eb444a47a', 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: 'a44fa6ad3a8f832eadc96e2cd9d306e32f84c8a8', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '59037e728180fd9179e01b0ccb89e7284d1f0b9d', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
30964
31051
|
}
|
|
30965
31052
|
static get style() { return RoadRatingStyle0; }
|
|
30966
31053
|
static get cmpMeta() { return {
|
|
@@ -31079,7 +31166,7 @@ class RoadAreaCode {
|
|
|
31079
31166
|
const labelId = this.selectId + '-label';
|
|
31080
31167
|
const valueId = this.selectId + '-value';
|
|
31081
31168
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31082
|
-
return (hAsync(Host, { key: '
|
|
31169
|
+
return (hAsync(Host, { key: '307b239f3b40c4f8e8d82281d27bd2fd34f3bb5a', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: 'f167940173fb88d422d2a86762dc2d6b0dbe8a6c', 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: '5ebf9a6938cd5919762d5ca329804e001ce187aa', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), hAsync("label", { key: '9a767f6ccb50c0ba85d4c1a968f39cc273a632d9', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && hAsync("p", { key: '61d933e8b60b4f1535f8059510890f4f71fe6279', class: "invalid-feedback" }, this.error)));
|
|
31083
31170
|
}
|
|
31084
31171
|
static get watchers() { return {
|
|
31085
31172
|
"value": ["valueChanged"]
|
|
@@ -32460,9 +32547,9 @@ class RoadPhoneNumberInput {
|
|
|
32460
32547
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
32461
32548
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
32462
32549
|
const sizes = 'xl';
|
|
32463
|
-
return (hAsync(Host, { key: '
|
|
32550
|
+
return (hAsync(Host, { key: '22601e308754696fd63b9bbb8dc7ebf2b6d0be55' }, hAsync("div", { key: 'b1c4941596ebf600cd8cc2960e53c711fae9b757', class: 'phone-number-inputs-container' }, hAsync("div", { key: 'f1275d2ef275c50680f6e42a39a356f3a3eb7a6f', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: 'ee30a39aef2d367dab90e25c06a4f81a55f4250f', 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: 'ff09e61a776783418ac07f935f0db072f7cade68', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: '6f20dfc6fb3b57eae6d5feeeedf386adf06f59a8', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: '2c1ccebf15866a1af59a92fa8e7e8580320cb4a5', 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: 'a079a6bdb5796e2cb0b478e5756eb3917178e011', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
32464
32551
|
&& this.errorMessage !== ''
|
|
32465
|
-
&& hAsync("p", { key: '
|
|
32552
|
+
&& hAsync("p", { key: '7f37655241bda017f4be5bbc45cac43b1d508f32', class: "invalid-feedback" }, hAsync("road-icon", { key: '1d683cdb332c11fb7ed237e2f359e67fecc3e2a2', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
32466
32553
|
}
|
|
32467
32554
|
get el() { return getElement(this); }
|
|
32468
32555
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
@@ -32502,7 +32589,7 @@ class Row {
|
|
|
32502
32589
|
registerInstance(this, hostRef);
|
|
32503
32590
|
}
|
|
32504
32591
|
render() {
|
|
32505
|
-
return (hAsync(Host, { key: '
|
|
32592
|
+
return (hAsync(Host, { key: '4e3cc44961f396a143826d4f588438b965144c9a' }, hAsync("slot", { key: 'cb8415991a4b8676e850e1c22ad2f47ed165db5c' })));
|
|
32506
32593
|
}
|
|
32507
32594
|
static get style() { return RoadRowStyle0; }
|
|
32508
32595
|
static get cmpMeta() { return {
|
|
@@ -32574,10 +32661,10 @@ class SegmentedButton {
|
|
|
32574
32661
|
render() {
|
|
32575
32662
|
const { tabIndex, selected, tab } = this;
|
|
32576
32663
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
32577
|
-
return (hAsync(Host, { key: '
|
|
32664
|
+
return (hAsync(Host, { key: '2bc54c8a88c02e9b6a17ed2c80ef72fd92c92b86', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
32578
32665
|
'tab-selected': selected,
|
|
32579
32666
|
[`${sizeClass}`]: true,
|
|
32580
|
-
} }, hAsync("span", { key: '
|
|
32667
|
+
} }, hAsync("span", { key: 'b13aa5e20b085d42b30d0a1efda6c2f42b7722b9', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("slot", { key: 'c2291a018e6e78e43b23e87edb19f91d1fe95040' }))));
|
|
32581
32668
|
}
|
|
32582
32669
|
get el() { return getElement(this); }
|
|
32583
32670
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -32698,7 +32785,7 @@ class Select {
|
|
|
32698
32785
|
const labelId = this.selectId + '-label';
|
|
32699
32786
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
32700
32787
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32701
|
-
return (hAsync(Host, { key: '
|
|
32788
|
+
return (hAsync(Host, { key: '013639a8fd3830ad94c1ca81484fa640143cd4ae', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '999cd7c2374afba9aaa3c6aaef536641fc9f5725', 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: '19e1c66191f3081ea6924e8b0aa2f353ea321e92', 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: '381053fdd050d1b79571a6ee86a61ae652669e5e', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '119631479c06faac1b025095648a1038a46d15ca', class: "invalid-feedback" }, this.error)));
|
|
32702
32789
|
}
|
|
32703
32790
|
static get watchers() { return {
|
|
32704
32791
|
"value": ["valueChanged"]
|
|
@@ -34619,8 +34706,8 @@ class SelectFilter {
|
|
|
34619
34706
|
const options = this.filteredOptions;
|
|
34620
34707
|
const isActive = this.isActive ? 'true' : 'false';
|
|
34621
34708
|
const notActive = this.isActive ? '' : 'not-active';
|
|
34622
|
-
return (hAsync(Host, { key: '
|
|
34623
|
-
hAsync("ul", { key: '
|
|
34709
|
+
return (hAsync(Host, { key: 'fb7c30800b6d5ca4dab9014dacfe573c6e3ed55e', "is-active": isActive }, hAsync("slot", { key: '07ce304bf4bd1dd7cefc9eb32d0811fd9dea1e21' }), this.isOpen &&
|
|
34710
|
+
hAsync("ul", { key: '61fb5f0e47d2d9667a515d9b8d2933fad9a5fb34', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (hAsync("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: () => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 }))))));
|
|
34624
34711
|
}
|
|
34625
34712
|
get el() { return getElement(this); }
|
|
34626
34713
|
static get style() { return RoadSelectFilterStyle0; }
|
|
@@ -34650,7 +34737,7 @@ class Skeleton {
|
|
|
34650
34737
|
registerInstance(this, hostRef);
|
|
34651
34738
|
}
|
|
34652
34739
|
render() {
|
|
34653
|
-
return (hAsync("span", { key: '
|
|
34740
|
+
return (hAsync("span", { key: '2308cf840f516b2403500122d03996c096e24e05' }, "\u00A0"));
|
|
34654
34741
|
}
|
|
34655
34742
|
static get style() { return RoadSkeletonStyle0; }
|
|
34656
34743
|
static get cmpMeta() { return {
|
|
@@ -34681,7 +34768,7 @@ class Spinner {
|
|
|
34681
34768
|
render() {
|
|
34682
34769
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
34683
34770
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
34684
|
-
return (hAsync("svg", { key: '
|
|
34771
|
+
return (hAsync("svg", { key: 'c122a380b0afdb5ef4041f0cf8a9434dba79b5b0', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'd400bacf50ae86a63e6cd33b7a284f2dbb66eef5', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
34685
34772
|
}
|
|
34686
34773
|
static get style() { return RoadSpinnerStyle0; }
|
|
34687
34774
|
static get cmpMeta() { return {
|
|
@@ -34731,7 +34818,7 @@ class Stepper {
|
|
|
34731
34818
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
34732
34819
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
34733
34820
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
34734
|
-
return (hAsync(Host, { key: '
|
|
34821
|
+
return (hAsync(Host, { key: 'ef29b6ec3ff7889b07d5219b4d7ff4b00b45f675' }, hAsync("nav", { key: 'ef835cefcefc6f0ee972e02a8cbfc4a66f55b9cf' }, hAsync("ul", { key: '82488969f9c10e40eca82d4a6187c38f2271c77c', class: `${colorClass}` }, hAsync("li", { key: 'e52451302119e8424799f5af06582ab6ad81f275', class: `${stateClass}` }, hAsync("a", { key: '78b5fcf76fc856f6560d1b4fdb5dcd7975131b85', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: '1300fad7c5f4321bcf477d8840c583fcddd97a5a', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '516a5e5f2c2be8ed2e8bbccbd2510f6dd4c5ebc3', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: '9a24c8890a2dcb260ff42bbe479ea9c207394470', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '5edfdbfcb40429c0d1fdde401c2264cb98d0104b', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: 'c0d984d6d75ad1b52de12642b490b1a3985cc575', class: `${stateSecondStepClass}` }, hAsync("a", { key: '90bdb01203e16e9277cee9934b90f7a1f57e955f', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: 'a1660e2adbf56d9d11d30873b4b0a63d42b487f7', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'b69fab09aae465126447d22c9faa55ffa732a897', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '43e7a49ccc6d1092cbda0e903a53c53a3f1814a9', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '7a2576d43f9c0cbe8c5e7d5e1ee90c62cdf596c4', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: '08fe3741b6525cdee16099c0de45eb78750bece6', class: `${stateThirdStepClass}` }, hAsync("a", { key: 'f03eb0a89837734a17dd78fb141b5eb1d2477749', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: '7773dcf91219d0353073bb3954dd01e5165aea60', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'a732cb7e2c302ab5c9f29bc7505a7be8ee376b8b', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: 'af22300b250cce3e499209f9f2891a374f0952b5', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '38a4e4f958bb8bfe375670cf50109e4fceb9983d', name: "progress-indicator-horizontal-title3" }))))))));
|
|
34735
34822
|
}
|
|
34736
34823
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
34737
34824
|
static get cmpMeta() { return {
|
|
@@ -34833,11 +34920,11 @@ class Switch {
|
|
|
34833
34920
|
}
|
|
34834
34921
|
render() {
|
|
34835
34922
|
const labelId = this.switchId + '-label';
|
|
34836
|
-
const textLabel = hAsync("label", { key: '
|
|
34923
|
+
const textLabel = hAsync("label", { key: 'cdcf4d06f79ff458b3a0861132e8883a7fdd63a9', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
34837
34924
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
34838
34925
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
34839
34926
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
34840
|
-
return (hAsync(Host, { key: '
|
|
34927
|
+
return (hAsync(Host, { key: 'f0f189b0027d0cc0ecc5c991f097880e9e2789f8' }, hAsync("input", { key: 'a4fe3103d954666453d77f11466c868868f20a0f', 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: '1b5020a171cf5adfd303327a8fd4a57a21747140', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '2808584a487002b6268ec05ab338b2a2d1fbe0db', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
34841
34928
|
}
|
|
34842
34929
|
static get watchers() { return {
|
|
34843
34930
|
"checked": ["checkedChanged"]
|
|
@@ -34892,9 +34979,9 @@ class Tab {
|
|
|
34892
34979
|
}
|
|
34893
34980
|
render() {
|
|
34894
34981
|
const { tab, active } = this;
|
|
34895
|
-
return (hAsync(Host, { key: '
|
|
34982
|
+
return (hAsync(Host, { key: 'b744583dd92ddba9d1b8c07180143a08b96e754f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34896
34983
|
'tab-hidden': !active,
|
|
34897
|
-
} }, hAsync("slot", { key: '
|
|
34984
|
+
} }, hAsync("slot", { key: 'f7435cc8cd63e93bd8566a72d20af855b71680c5' })));
|
|
34898
34985
|
}
|
|
34899
34986
|
get el() { return getElement(this); }
|
|
34900
34987
|
static get style() { return RoadTabStyle0; }
|
|
@@ -34954,11 +35041,11 @@ class TabBar {
|
|
|
34954
35041
|
}
|
|
34955
35042
|
render() {
|
|
34956
35043
|
const { expand, center, secondary } = this;
|
|
34957
|
-
return (hAsync(Host, { key: '
|
|
35044
|
+
return (hAsync(Host, { key: '15b38346a5f6ca231cfeb81463904ae6dd81816d', role: "tablist", class: {
|
|
34958
35045
|
'tab-expand': expand,
|
|
34959
35046
|
'tab-center': center,
|
|
34960
35047
|
'tab-secondary': secondary,
|
|
34961
|
-
} }, hAsync("slot", { key: '
|
|
35048
|
+
} }, hAsync("slot", { key: 'a0a2ea4d42b30f928535eaec10dc9b542a731cbc' })));
|
|
34962
35049
|
}
|
|
34963
35050
|
get el() { return getElement(this); }
|
|
34964
35051
|
static get watchers() { return {
|
|
@@ -35058,7 +35145,7 @@ class TabButton {
|
|
|
35058
35145
|
rel,
|
|
35059
35146
|
target,
|
|
35060
35147
|
};
|
|
35061
|
-
return (hAsync(Host, { key: '
|
|
35148
|
+
return (hAsync(Host, { key: '6d3b2ede0399a960d8e7aa5e285dc7cfe42f973e', 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: {
|
|
35062
35149
|
'tab-selected': selected,
|
|
35063
35150
|
'tab-has-label': hasLabel,
|
|
35064
35151
|
'tab-has-icon': hasIcon,
|
|
@@ -35066,7 +35153,7 @@ class TabButton {
|
|
|
35066
35153
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
35067
35154
|
[`tab-layout-${layout}`]: true,
|
|
35068
35155
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
35069
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35156
|
+
} }, hAsync("a", Object.assign({ key: 'c1ff25470cfbac51db402b926c199915791dc965' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '2cdfaa8ac540c85dabf3a652ef093c7c2b94209e', class: "button-inner" }, hAsync("slot", { key: 'edba308a6833643f98f0c2902211075f3b9a0a4c' })))));
|
|
35070
35157
|
}
|
|
35071
35158
|
get el() { return getElement(this); }
|
|
35072
35159
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -35100,7 +35187,7 @@ class Table {
|
|
|
35100
35187
|
registerInstance(this, hostRef);
|
|
35101
35188
|
}
|
|
35102
35189
|
render() {
|
|
35103
|
-
return (hAsync("slot", { key: '
|
|
35190
|
+
return (hAsync("slot", { key: 'be2059cdb41fbdf9934a31eaf24d1c3e2b785ecf' }));
|
|
35104
35191
|
}
|
|
35105
35192
|
static get style() { return RoadTableStyle0; }
|
|
35106
35193
|
static get cmpMeta() { return {
|
|
@@ -35208,7 +35295,7 @@ class Tabs$1 {
|
|
|
35208
35295
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35209
35296
|
}
|
|
35210
35297
|
render() {
|
|
35211
|
-
return (hAsync(Host, { key: '
|
|
35298
|
+
return (hAsync(Host, { key: '90a9001d7a86a6970d09feccbfc5fb8ea0774676', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '35773affdcd12aadce79eb77bcd507f59a87ce27', name: "top" }), hAsync("slot", { key: 'a35292550edfad0ebd8f799dc493d9557479c360' })));
|
|
35212
35299
|
}
|
|
35213
35300
|
get el() { return getElement(this); }
|
|
35214
35301
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -35344,7 +35431,7 @@ class Tabs {
|
|
|
35344
35431
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35345
35432
|
}
|
|
35346
35433
|
render() {
|
|
35347
|
-
return (hAsync(Host, { key: '
|
|
35434
|
+
return (hAsync(Host, { key: '81779329105d5c2624cd7fc66788d83f90279560', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '17f60a197e463769943fd4bd7ebb9aec948b6d97', name: "top" }), hAsync("div", { key: 'a697beb02f9235607342332444b0d02f0f6acfaf', class: "tabs-inner" }, hAsync("slot", { key: 'e14ff75ff1e338a0d9a69c65a698044e38f93b94' }))));
|
|
35348
35435
|
}
|
|
35349
35436
|
get el() { return getElement(this); }
|
|
35350
35437
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -35392,7 +35479,7 @@ class Tag {
|
|
|
35392
35479
|
}
|
|
35393
35480
|
render() {
|
|
35394
35481
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
35395
|
-
return (hAsync(Host, { key: '
|
|
35482
|
+
return (hAsync(Host, { key: '3667460c299406338997167fc6dd98d4b12a293c', class: `${contrastClass}` }, hAsync("slot", { key: '32bf7b0230d6565189d572a89a6935f802e1e9e0' })));
|
|
35396
35483
|
}
|
|
35397
35484
|
static get style() { return RoadTagStyle0; }
|
|
35398
35485
|
static get cmpMeta() { return {
|
|
@@ -35424,7 +35511,7 @@ class Text {
|
|
|
35424
35511
|
}
|
|
35425
35512
|
render() {
|
|
35426
35513
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
35427
|
-
return (hAsync(Host, { key: '
|
|
35514
|
+
return (hAsync(Host, { key: '85c95009d2595479bca90b6a5e91f86d1753c914', class: `${colorClass}` }, hAsync("slot", { key: '89c209b7bec2a7267778f1a85c14933ce1a3c983' })));
|
|
35428
35515
|
}
|
|
35429
35516
|
static get style() { return RoadTextStyle0; }
|
|
35430
35517
|
static get cmpMeta() { return {
|
|
@@ -35439,7 +35526,7 @@ class Text {
|
|
|
35439
35526
|
}; }
|
|
35440
35527
|
}
|
|
35441
35528
|
|
|
35442
|
-
const textareaCss = ".sc-road-textarea-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--road-font, sans-serif);color:var(--road-on-surface)}.form-control.sc-road-textarea{box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.75rem 1rem 0;margin:0;font-size:var(--road-body-medium);color:var(--road-on-surface);background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;box-shadow:none;appearance:none}.form-control.sc-road-textarea::placeholder{color:var(--road-on-surface-extra-weak);opacity:1}@media (hover: hover){.form-control.sc-road-textarea:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:-ms-input-placeholder~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:not(:disabled):focus{border-color:var(--road-input-outline-variant)}.form-control.sc-road-textarea:disabled,.form-control[readonly].sc-road-textarea{color:var(--road-on-surface-weak);cursor:not-allowed;background:var(--road-surface-disabled);opacity:1}.textarea-control.sc-road-textarea{height:auto;padding-top:1rem;padding-bottom:0.5rem;line-height:1.5}.textarea-control.no-resize.sc-road-textarea{resize:none}.form-label.sc-road-textarea{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.input-xl.sc-road-textarea-h{--height:3.5rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea{padding:1.5rem 1rem 0.5rem}.input-xl.sc-road-textarea-h .form-label.sc-road-textarea{top:1rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"date\"].sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"time\"].sc-road-textarea~.form-label.sc-road-textarea{width:
|
|
35529
|
+
const textareaCss = ".sc-road-textarea-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--road-font, sans-serif);color:var(--road-on-surface)}.form-control.sc-road-textarea{box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.75rem 1rem 0;margin:0;font-size:var(--road-body-medium);color:var(--road-on-surface);background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;box-shadow:none;appearance:none}.form-control.sc-road-textarea::placeholder{color:var(--road-on-surface-extra-weak);opacity:1}@media (hover: hover){.form-control.sc-road-textarea:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:-ms-input-placeholder~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:not(:disabled):focus{border-color:var(--road-input-outline-variant)}.form-control.sc-road-textarea:disabled,.form-control[readonly].sc-road-textarea{color:var(--road-on-surface-weak);cursor:not-allowed;background:var(--road-surface-disabled);opacity:1}.textarea-control.sc-road-textarea{height:auto;padding-top:1rem;padding-bottom:0.5rem;line-height:1.5}.textarea-control.no-resize.sc-road-textarea{resize:none}.form-label.sc-road-textarea{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0;width:95%;white-space:normal;overflow-wrap:break-word}.input-xl.sc-road-textarea-h{--height:3.5rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea{padding:1.5rem 1rem 0.5rem}.input-xl.sc-road-textarea-h .form-label.sc-road-textarea{top:1rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"date\"].sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"time\"].sc-road-textarea~.form-label.sc-road-textarea{width:100%;transform:scale(0.75) translateY(-0.625rem)}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{width:100%;transform:scale(0.75) translateY(-0.625rem)}.invalid-feedback.sc-road-textarea{display:none;width:100%;margin-top:0.5rem;font-size:var(--road-helper-medium);color:var(--road-on-danger-surface)}.form-control.is-invalid.sc-road-textarea,.was-validated.sc-road-textarea .form-control.sc-road-textarea:invalid{border-color:var(--road-danger-outline)}.form-control.is-invalid.sc-road-textarea~.invalid-feedback.sc-road-textarea,.was-validated.sc-road-textarea .form-control.sc-road-textarea:invalid~.invalid-feedback.sc-road-textarea{display:block}.helper.sc-road-textarea{margin-top:0.5rem;font-size:var(--road-helper-medium);color:var(--road-on-surface-weak)}";
|
|
35443
35530
|
var RoadTextareaStyle0 = textareaCss;
|
|
35444
35531
|
|
|
35445
35532
|
class Textarea {
|
|
@@ -35534,7 +35621,7 @@ class Textarea {
|
|
|
35534
35621
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
35535
35622
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
35536
35623
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
35537
|
-
return (hAsync(Host, { key: '
|
|
35624
|
+
return (hAsync(Host, { key: '3c67992e2115927c81f276e60583b6a83fd18efb', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: 'd7c6c1b8c976927d194fa0c21612da738bdd7ca9', 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, onBlur: this.onBlur, onFocus: this.onFocus }), hAsync("label", { key: '303a42722645e13e0f51d36cbb1f58a1f2b8133f', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '3cdfdf26100159f8670ec1af0adc7be3c7c0bc05', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '2c9005d2ee957c9f96715cb21dfe23c7d6e6da91', class: "helper" }, this.helper)));
|
|
35538
35625
|
}
|
|
35539
35626
|
static get watchers() { return {
|
|
35540
35627
|
"value": ["valueChanged"]
|
|
@@ -35665,7 +35752,7 @@ class Toast {
|
|
|
35665
35752
|
if (this.color == 'danger') {
|
|
35666
35753
|
this.timeout = 0;
|
|
35667
35754
|
}
|
|
35668
|
-
return (hAsync(Host, { key: '
|
|
35755
|
+
return (hAsync(Host, { key: '14cafc2777cedc95774645bdbaf2c65f15443ddd', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: 'a9cd0420baa43335ee7b4b3be817064b01128791', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: 'c1cc57fbade3a5ca30c92fafe869ab2004b75b6d', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: '91cedf94b14a2fc5dc87b5b22b28d1dcff9e9040', class: "toast-label" }, this.label), hAsync("button", { key: '2094e54b20d2f90529fd1a1e7232be28c2b58c08', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: '433be6a65e10079932e2c8e0b9d4eeea3703cf74', icon: navigationClose, size: "md" })), hAsync("slot", { key: '6b1265f7a7dface84369d4b89fceac1edac1f135', name: "progress" }))));
|
|
35669
35756
|
}
|
|
35670
35757
|
static get watchers() { return {
|
|
35671
35758
|
"isOpen": ["isOpenChanged"]
|
|
@@ -35705,7 +35792,7 @@ class Toolbar {
|
|
|
35705
35792
|
}
|
|
35706
35793
|
render() {
|
|
35707
35794
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
35708
|
-
return (hAsync(Host, { key: '
|
|
35795
|
+
return (hAsync(Host, { key: '25e1b1f62cb2275cf2064976854cab8906d8d1fa', class: colorClass }, hAsync("div", { key: '66a337f9b9e3de9a9973187b743a5fc38e656db6', class: "toolbar-container" }, hAsync("slot", { key: '3eac79d311d5a5eaf8f0360ed0ea06437311bc66', name: "start" }), hAsync("slot", { key: '86edbf1b1688336bd1da25d583ca292b68b2fd40', name: "primary" }), hAsync("div", { key: '82e243bed009c91a368c6d17d19fe44c8f1ab377', class: "toolbar-content" }, hAsync("slot", { key: '736422f09a2807cc66acd48100fb93dccee791d7' })), hAsync("slot", { key: 'a6dcc44aa6c60f1571439b28131779264bf40b4e', name: "secondary" }), hAsync("slot", { key: 'ed19add903ff44f3a0628f460c65d1b5b5b194f5', name: "end" }))));
|
|
35709
35796
|
}
|
|
35710
35797
|
static get style() { return RoadToolbarStyle0; }
|
|
35711
35798
|
static get cmpMeta() { return {
|
|
@@ -35731,7 +35818,7 @@ class ToolbarAppName {
|
|
|
35731
35818
|
registerInstance(this, hostRef);
|
|
35732
35819
|
}
|
|
35733
35820
|
render() {
|
|
35734
|
-
return (hAsync("div", { key: '
|
|
35821
|
+
return (hAsync("div", { key: '2b4e73d787a8ec0f798bebbedb23043668662744', class: "toolbar-title-page" }, hAsync("slot", { key: 'ceef06bf0c66476e815d8a31cd9f89e5fade48b9' })));
|
|
35735
35822
|
}
|
|
35736
35823
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
35737
35824
|
static get cmpMeta() { return {
|
|
@@ -35755,7 +35842,7 @@ class ToolbarTitle {
|
|
|
35755
35842
|
registerInstance(this, hostRef);
|
|
35756
35843
|
}
|
|
35757
35844
|
render() {
|
|
35758
|
-
return (hAsync("div", { key: '
|
|
35845
|
+
return (hAsync("div", { key: '1954318f1cf6c390f2a0fc2cd6c3edf9f5b925d2', class: "toolbar-title" }, hAsync("slot", { key: '5fa3cbe4dc328bc9d1dcaa7ee03a0596229d5403' })));
|
|
35759
35846
|
}
|
|
35760
35847
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
35761
35848
|
static get cmpMeta() { return {
|
|
@@ -35784,7 +35871,7 @@ class ToolbarV2 {
|
|
|
35784
35871
|
registerInstance(this, hostRef);
|
|
35785
35872
|
}
|
|
35786
35873
|
render() {
|
|
35787
|
-
return (hAsync(Host, { key: '
|
|
35874
|
+
return (hAsync(Host, { key: '8241a50d017faf63ea48be2a805c6e9a28dba747', class: "toolbar" }, hAsync("div", { key: '839c5b918ce655521cd8eb346ae9d768f8f44471', class: "toolbar-container" }, hAsync("div", { key: '8344f8e81e0d3c2b6efe5d2a4f41b459c9c7c3d8', class: "toolbar-container-content-left" }, hAsync("slot", { key: '28fd1e89041b162a1c29babfeb561d2f917a5ff6', name: "start" }), hAsync("slot", { key: 'be6faa36e7b68c4ec2ade6e00f08e2a9ed9d531e', name: "primary" })), hAsync("div", { key: '04bbb21381094ff64a6609906d9f1af722a50733', class: "toolbar-content" }, hAsync("slot", { key: 'd864189582f7ea215a2e6581f7b693e32e1ca770' })), hAsync("div", { key: 'cfa7b22e4e9f73b9f3678f8c342dcda87266f335', class: "toolbar-container-content-right" }, hAsync("slot", { key: '5195dbb5a0d3926cf02068cd8eb557e6c869c576', name: "secondary" }), hAsync("slot", { key: '46f2619f4b652ea8b4b154796ac0b7d7ffebbc15', name: "end" })))));
|
|
35788
35875
|
}
|
|
35789
35876
|
static get style() { return RoadToolbarV2Style0; }
|
|
35790
35877
|
static get cmpMeta() { return {
|
|
@@ -35897,12 +35984,12 @@ class Tooltip {
|
|
|
35897
35984
|
return triggers.includes(triggerType);
|
|
35898
35985
|
}
|
|
35899
35986
|
render() {
|
|
35900
|
-
return (hAsync(Host, { key: '
|
|
35987
|
+
return (hAsync(Host, { key: 'f4b4e3e268c1fe9c6dbac5494f2be211188972a1', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
35901
35988
|
,
|
|
35902
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
35989
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: 'e7af2532c2a5354ead0bf2967413e3430d35b497', "aria-describedby": this.tooltipId }), hAsync("div", { key: '519d1b3572ed6aa8598470789d1e1ed9c2997f31', part: "tooltip", id: this.tooltipId, class: {
|
|
35903
35990
|
tooltip: true,
|
|
35904
35991
|
'tooltip-open': this.isOpen,
|
|
35905
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '
|
|
35992
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: 'beea02dad69aec6cbc789c1118e833b10ef66162', name: "tooltip-content" }))));
|
|
35906
35993
|
}
|
|
35907
35994
|
get el() { return getElement(this); }
|
|
35908
35995
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -36002,11 +36089,11 @@ class toggle {
|
|
|
36002
36089
|
}
|
|
36003
36090
|
render() {
|
|
36004
36091
|
const labelId = this.toggleId + '-label';
|
|
36005
|
-
const textLabel = hAsync("label", { key: '
|
|
36092
|
+
const textLabel = hAsync("label", { key: 'c9c9c5c7638377a14f525b2b486023bd3ab3040c', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
36006
36093
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
36007
36094
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
36008
36095
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
36009
|
-
return (hAsync(Host, { key: '
|
|
36096
|
+
return (hAsync(Host, { key: '7e29c4e9dcefd818fa35a658cc6dfa655b6788f4' }, hAsync("input", { key: '9815ae75a0843c302eeaa9ec5166acc648e8d631', 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: '6c84b0119a054fd91bea80b839319a68d32da73b', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: 'af85da7f0aeb821366ab384eb3b5a3ebe39499bb', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
36010
36097
|
}
|
|
36011
36098
|
static get watchers() { return {
|
|
36012
36099
|
"checked": ["checkedChanged"]
|
|
@@ -36083,6 +36170,7 @@ registerComponents([
|
|
|
36083
36170
|
ProgressTracker,
|
|
36084
36171
|
ProgressTrackerItem,
|
|
36085
36172
|
Radio,
|
|
36173
|
+
RadioCard,
|
|
36086
36174
|
RadioGroup,
|
|
36087
36175
|
Range,
|
|
36088
36176
|
Rating,
|