@roadtrip/components 3.37.0 → 3.38.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-KT6nBj3z.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +7 -3
- package/dist/cjs/road-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/road-segmented-button-bar.entry.cjs.js.map +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-button.cjs.entry.js.map +1 -1
- package/dist/cjs/road-segmented-button.entry.cjs.js.map +1 -1
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- 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 +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/collection/components/dialog/dialog.js +9 -4
- package/dist/collection/components/dialog/dialog.js.map +1 -1
- package/dist/collection/components/dialog/dialog.stories.js +3 -0
- package/dist/collection/components/icon/svg/baby-seat-outline.svg +1 -1
- package/dist/collection/components/icon/svg/flag-morocco-color.svg +1 -0
- package/dist/collection/components/icon/svg/vehicle-cover-outline.svg +1 -1
- package/dist/collection/components/segmented-button/segmented-button.css +36 -28
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js.map +1 -1
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.css +5 -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/segmented-buttons/segmented-buttons.stories.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select-filter/select-filter.js +1 -1
- 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.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-D4L9-8Jc.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +7 -3
- package/dist/esm/road-dialog.entry.js.map +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +2 -2
- package/dist/esm/road-segmented-button-bar.entry.js.map +1 -1
- package/dist/esm/road-segmented-button.entry.js +2 -2
- package/dist/esm/road-segmented-button.entry.js.map +1 -1
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- 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 +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/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +3 -2
- package/dist/roadtrip/{p-e2199c84.entry.js → p-189a516a.entry.js} +2 -2
- package/dist/roadtrip/{p-f48ccd8b.entry.js → p-271b69d8.entry.js} +2 -2
- package/dist/roadtrip/{p-1f550ee1.entry.js → p-356a2ca4.entry.js} +2 -2
- package/dist/roadtrip/p-3ce8deab.entry.js +2 -0
- package/dist/roadtrip/p-3ce8deab.entry.js.map +1 -0
- package/dist/roadtrip/{p-4fee0864.entry.js → p-413d9ee8.entry.js} +2 -2
- package/dist/roadtrip/{p-2dd7d3bf.entry.js → p-41cd3e74.entry.js} +2 -2
- package/dist/roadtrip/{p-cd4d6154.entry.js → p-4d4e1282.entry.js} +2 -2
- package/dist/roadtrip/{p-85edfef8.entry.js → p-52b20e0d.entry.js} +2 -2
- package/dist/roadtrip/p-5fac9508.entry.js +2 -0
- package/dist/roadtrip/p-5fac9508.entry.js.map +1 -0
- package/dist/roadtrip/{p-cf3f4b9a.entry.js → p-654e15ca.entry.js} +2 -2
- package/dist/roadtrip/{p-21e4f868.entry.js → p-6f635bb3.entry.js} +2 -2
- package/dist/roadtrip/{p-e678228c.entry.js → p-759a5979.entry.js} +2 -2
- package/dist/roadtrip/{p-92ba90f5.entry.js → p-7ba4bd92.entry.js} +2 -2
- package/dist/roadtrip/{p-3f9d1111.entry.js → p-905ed5dd.entry.js} +2 -2
- package/dist/roadtrip/{p-0f7c2bb1.entry.js → p-9e350801.entry.js} +2 -2
- package/dist/roadtrip/p-9fde410f.entry.js +2 -0
- package/dist/roadtrip/p-D4L9-8Jc.js.map +1 -1
- package/dist/roadtrip/{p-e2ddeaf4.entry.js → p-a0ecd888.entry.js} +2 -2
- package/dist/roadtrip/{p-5cb2cf87.entry.js → p-cfa2d288.entry.js} +2 -2
- package/dist/roadtrip/{p-1c0a56f8.entry.js → p-d8754409.entry.js} +2 -2
- package/dist/roadtrip/{p-c341c65d.entry.js → p-db8047f7.entry.js} +2 -2
- package/dist/roadtrip/{p-ca469434.entry.js → p-dbfad609.entry.js} +2 -2
- package/dist/roadtrip/{p-ff9c5c19.entry.js → p-e63ebfd0.entry.js} +2 -2
- package/dist/roadtrip/{p-d25ecf9b.entry.js → p-f0845e60.entry.js} +2 -2
- package/dist/roadtrip/p-f7eaf7cc.entry.js +2 -0
- package/dist/roadtrip/p-f7eaf7cc.entry.js.map +1 -0
- package/dist/roadtrip/road-dialog.entry.esm.js.map +1 -1
- package/dist/roadtrip/road-segmented-button-bar.entry.esm.js.map +1 -1
- package/dist/roadtrip/road-segmented-button.entry.esm.js.map +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/svg/baby-seat-outline.svg +1 -1
- package/dist/roadtrip/svg/flag-morocco-color.svg +1 -0
- package/dist/roadtrip/svg/vehicle-cover-outline.svg +1 -1
- package/dist/types/components.d.ts +2 -0
- package/hydrate/index.js +149 -106
- package/hydrate/index.mjs +149 -106
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +1 -0
- package/icons/index.js +3 -2
- package/package.json +1 -1
- package/dist/roadtrip/p-15fc9b83.entry.js +0 -2
- package/dist/roadtrip/p-15fc9b83.entry.js.map +0 -1
- package/dist/roadtrip/p-1a38d043.entry.js +0 -2
- package/dist/roadtrip/p-1a38d043.entry.js.map +0 -1
- package/dist/roadtrip/p-3e9f11a6.entry.js +0 -2
- package/dist/roadtrip/p-93f69a61.entry.js +0 -2
- package/dist/roadtrip/p-93f69a61.entry.js.map +0 -1
- /package/dist/roadtrip/{p-e2199c84.entry.js.map → p-189a516a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f48ccd8b.entry.js.map → p-271b69d8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1f550ee1.entry.js.map → p-356a2ca4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4fee0864.entry.js.map → p-413d9ee8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2dd7d3bf.entry.js.map → p-41cd3e74.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cd4d6154.entry.js.map → p-4d4e1282.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-85edfef8.entry.js.map → p-52b20e0d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cf3f4b9a.entry.js.map → p-654e15ca.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-21e4f868.entry.js.map → p-6f635bb3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e678228c.entry.js.map → p-759a5979.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-92ba90f5.entry.js.map → p-7ba4bd92.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3f9d1111.entry.js.map → p-905ed5dd.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0f7c2bb1.entry.js.map → p-9e350801.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3e9f11a6.entry.js.map → p-9fde410f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e2ddeaf4.entry.js.map → p-a0ecd888.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5cb2cf87.entry.js.map → p-cfa2d288.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1c0a56f8.entry.js.map → p-d8754409.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c341c65d.entry.js.map → p-db8047f7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ca469434.entry.js.map → p-dbfad609.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ff9c5c19.entry.js.map → p-e63ebfd0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d25ecf9b.entry.js.map → p-f0845e60.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -3310,7 +3310,7 @@ class Accordion {
|
|
|
3310
3310
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3311
3311
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3312
3312
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3313
|
-
return (hAsync("details", { key: '
|
|
3313
|
+
return (hAsync("details", { key: 'bdc59011cdb29cc86b91117643993cfd03ac64d0', class: `${accordionLight} ${accordionSmall} ${accordionLightSeparator}`, open: this.isOpen }, hAsync("summary", { key: '2935b807d31ee2d53b3224529e20d3ca23f47ba2', class: "accordion-trigger", "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '049ca7acf2e522fe72049a8e3cf203201f80cced', class: accordionLightHeader }, hAsync("slot", { key: 'c04f649483cc7e2fbaaad8c65dab0cbfd82f4f30', name: "icon-left" }), hAsync("slot", { key: '52376b9831d4ca5e765df6a3d4ffa632a9b54282', name: "header" }), hAsync("road-icon", { key: 'c75e59babd2260920253033eb9b4250ed4a4739c', class: "accordion-arrow", icon: navigationChevron }))), hAsync("div", { key: '7ed5857260c69428c8497207137a2ace58716e1d', class: accordionLightContent }, hAsync("slot", { key: '28af39be795684544d6583008c882badccb9cca4' }))));
|
|
3314
3314
|
}
|
|
3315
3315
|
static get style() { return accordionCss; }
|
|
3316
3316
|
static get cmpMeta() { return {
|
|
@@ -3344,7 +3344,7 @@ class Alert {
|
|
|
3344
3344
|
}
|
|
3345
3345
|
render() {
|
|
3346
3346
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3347
|
-
return (hAsync(Host, { key: '
|
|
3347
|
+
return (hAsync(Host, { key: 'abdc89dc86b210c2776a0cb5ce905bbe88df493c', class: colorClass, role: "alert" }, hAsync("div", { key: 'babd92815098920f98b71937df7bfd205cdba703', class: "alert-icon" }, hAsync("slot", { key: '9c08f3f80ff24b9dac48213d97995e8999f67867', name: "icon" })), hAsync("div", { key: '13226ac1b9ca58b44eead955389ccb7d78fe3353' }, this.label && hAsync("span", { key: 'fc3622c348685bf5b55ba16844d9e20b808d9f3d', class: "alert-title d-block" }, this.label), hAsync("p", { key: '71fd4ca6af71d49bbc1969d7096dda9bc1754ada', class: "alert-description" }, hAsync("slot", { key: '41ba242fb905666b7adf4bfbbd0708a1f7355f24' }), this.link && hAsync("a", { key: '18759826e18416a18b2e0d31514e200163e8157b', href: this.url, class: "alert-link link link-default" }, this.link)))));
|
|
3348
3348
|
}
|
|
3349
3349
|
static get style() { return alertCss; }
|
|
3350
3350
|
static get cmpMeta() { return {
|
|
@@ -3442,7 +3442,7 @@ class Asset {
|
|
|
3442
3442
|
}
|
|
3443
3443
|
}
|
|
3444
3444
|
render() {
|
|
3445
|
-
return (hAsync(Host, { key: '
|
|
3445
|
+
return (hAsync(Host, { key: 'd6f891b3ba4f5096f97a95799de8efc5dd156a99', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3446
3446
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3447
3447
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3448
3448
|
}
|
|
@@ -3511,8 +3511,8 @@ class Autocomplete {
|
|
|
3511
3511
|
}
|
|
3512
3512
|
}
|
|
3513
3513
|
render() {
|
|
3514
|
-
return (hAsync(Host, { key: '
|
|
3515
|
-
hAsync("ul", { key: '
|
|
3514
|
+
return (hAsync(Host, { key: 'ec57cdf71c15e557e56cc542b2c486ecdf52a49c' }, hAsync("slot", { key: '656e9483b8bc5e5e7430720d930a389a3de0550a' }), this.visible && this.options.length > 0 &&
|
|
3515
|
+
hAsync("ul", { key: '8d503a46b47047d5c3fb99018d45466611399b63', 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))))));
|
|
3516
3516
|
}
|
|
3517
3517
|
get el() { return getElement(this); }
|
|
3518
3518
|
static get style() { return autocompleteCss; }
|
|
@@ -3544,7 +3544,7 @@ class Avatar {
|
|
|
3544
3544
|
}
|
|
3545
3545
|
render() {
|
|
3546
3546
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3547
|
-
return (hAsync(Host, { key: '
|
|
3547
|
+
return (hAsync(Host, { key: 'ac27dae1450bd0f57fba254e2765e315274c7166', class: `${sizeClass}` }, hAsync("slot", { key: 'cf5c20551d6fe7a372297b42b1ed386a50dbf458' })));
|
|
3548
3548
|
}
|
|
3549
3549
|
static get style() { return avatarCss; }
|
|
3550
3550
|
static get cmpMeta() { return {
|
|
@@ -3579,7 +3579,7 @@ class Badge {
|
|
|
3579
3579
|
render() {
|
|
3580
3580
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3581
3581
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3582
|
-
return (hAsync(Host, { key: '
|
|
3582
|
+
return (hAsync(Host, { key: 'f8677ee0c8d2984bcfb3f4a0e03a4fddcbffaa09', class: `${colorClass} ${bubbleClass}` }, hAsync("slot", { key: '0b31ab0a43507417d8a82dd4584f595fccb9c270' })));
|
|
3583
3583
|
}
|
|
3584
3584
|
static get style() { return badgeCss; }
|
|
3585
3585
|
static get cmpMeta() { return {
|
|
@@ -3627,7 +3627,7 @@ class Banner {
|
|
|
3627
3627
|
}
|
|
3628
3628
|
render() {
|
|
3629
3629
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3630
|
-
return (hAsync(Host, { key: '
|
|
3630
|
+
return (hAsync(Host, { key: '386a6b67c3b747f17c8b8556f943b12867e196c9', class: bannerIsOpenClass }, hAsync("div", { key: '8fa2199ec548e02315e22ebdc0617edeca4ec34e' }, hAsync("span", { key: 'eb9890e5dc36c9b41d9435733f7d2121419c153d', class: "banner-open-label" }, this.label), this.link && hAsync("a", { key: '5dafaaa5e99b61ecd8ab69841e0708cc64d8b4da', href: this.url, class: "banner-open-link" }, this.link), hAsync("button", { key: '1d99fceecbb03d69c0cdf09efb8a237392c6aa94', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, hAsync("road-icon", { key: 'f4266c183dc39a2a36dd87d4dc3c477f739a28bc', icon: navigationClose, size: "md" })))));
|
|
3631
3631
|
}
|
|
3632
3632
|
static get style() { return bannerCss; }
|
|
3633
3633
|
static get cmpMeta() { return {
|
|
@@ -3732,7 +3732,7 @@ let Button$1 = class Button {
|
|
|
3732
3732
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
3733
3733
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3734
3734
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3735
|
-
return (hAsync(Host, { key: '
|
|
3735
|
+
return (hAsync(Host, { key: 'a5114aeacb1e80a51d78ed9700d68de0a9d7b020', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, hAsync(TagType, Object.assign({ key: 'b3c49f1bafb2d04980bf065e0c5a07ae80052ad4' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("slot", { key: '888d3beae1417512b9cd3220bccb5b90988a0ba1', name: "start" }), hAsync("slot", { key: 'a347a3a9a8537d4ad0496fefe624d8c93ca28be7' }), hAsync("slot", { key: 'b8ac95962aedb64ac70cf1628a6cf1c2fb54f74f', name: "end" }))));
|
|
3736
3736
|
}
|
|
3737
3737
|
get el() { return getElement(this); }
|
|
3738
3738
|
static get style() { return buttonCss; }
|
|
@@ -3816,7 +3816,7 @@ class Button {
|
|
|
3816
3816
|
render() {
|
|
3817
3817
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3818
3818
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3819
|
-
return (hAsync(Host, { key: '
|
|
3819
|
+
return (hAsync(Host, { key: '48f33914e56393777941005f0ee8d30a7a3eef9a', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: '794af88f1c8697cb5a5e9a4ad1243aab7295464a', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: 'aa3c256087d4bb02e1bcd75259891629cb1ff766', name: "start" }), hAsync("slot", { key: '7409e00915812c7e9bfadecd38707c0e052490b5' }))));
|
|
3820
3820
|
}
|
|
3821
3821
|
get el() { return getElement(this); }
|
|
3822
3822
|
static get style() { return buttonFloatingCss; }
|
|
@@ -3835,7 +3835,7 @@ class Button {
|
|
|
3835
3835
|
}; }
|
|
3836
3836
|
}
|
|
3837
3837
|
|
|
3838
|
-
const segmentedButtonBarCss = ":host{
|
|
3838
|
+
const segmentedButtonBarCss = ":host{background-color:var(--road-surface);outline:1px solid var(--road-outline-weak);border-radius:12px;padding:var(--road-spacing-02);display:flex}";
|
|
3839
3839
|
|
|
3840
3840
|
/**
|
|
3841
3841
|
* @slot - Content of the segmentedButtonBar, it should be road-segmented-button elements.
|
|
@@ -3860,7 +3860,7 @@ class ButtonBar {
|
|
|
3860
3860
|
this.selectedTabChanged();
|
|
3861
3861
|
}
|
|
3862
3862
|
render() {
|
|
3863
|
-
return (hAsync(Host, { key: '
|
|
3863
|
+
return (hAsync(Host, { key: 'fe6a2fb4d0972e9aca15b9083a934b154d4f089f', role: "tablist" }, hAsync("slot", { key: 'dd34236a4add142460f04e7274c2090b17b797cf' })));
|
|
3864
3864
|
}
|
|
3865
3865
|
get el() { return getElement(this); }
|
|
3866
3866
|
static get watchers() { return {
|
|
@@ -3942,7 +3942,7 @@ class Card {
|
|
|
3942
3942
|
render() {
|
|
3943
3943
|
const { elevation } = this;
|
|
3944
3944
|
const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
|
|
3945
|
-
return (hAsync(Host, { key: '
|
|
3945
|
+
return (hAsync(Host, { key: '25f0ef201d3b6ebb24a46197419850a455f9dd89', class: `${elevationClass}` }, this.renderCard()));
|
|
3946
3946
|
}
|
|
3947
3947
|
get el() { return getElement(this); }
|
|
3948
3948
|
static get style() { return cardCss; }
|
|
@@ -10689,7 +10689,7 @@ class Carousel {
|
|
|
10689
10689
|
});
|
|
10690
10690
|
}
|
|
10691
10691
|
render() {
|
|
10692
|
-
return (hAsync(Host, { key: '
|
|
10692
|
+
return (hAsync(Host, { key: 'c8709474c51f0dbefe881e975f4329275671719d', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: '3a4f86e17e2986fa835330da17d7ebcb4da2d5e1', class: "swiper-wrapper" }, hAsync("slot", { key: '0e6957caa41d01f76c0368805bb1254156b6388c' })), this.pager && hAsync("div", { key: 'f1281c23861d67662b15cd8166d661584bf38f79', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (hAsync("div", { key: 'b3be0234982dc6ae78f2fdc75b446c5cd668fbdb', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: 'e1139127b3f6ac201d2769bcdfd112cd36051ef9', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: 'c704f4da09eae8baff188170d5cca0571d62188f', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: 'ca8c665a8e1598cb521c37177fa81ab428e26ce8', icon: navigationChevron })))));
|
|
10693
10693
|
}
|
|
10694
10694
|
get el() { return getElement(this); }
|
|
10695
10695
|
static get watchers() { return {
|
|
@@ -10739,10 +10739,10 @@ class CarouselItem {
|
|
|
10739
10739
|
registerInstance(this, hostRef);
|
|
10740
10740
|
}
|
|
10741
10741
|
render() {
|
|
10742
|
-
return (hAsync(Host, { key: '
|
|
10742
|
+
return (hAsync(Host, { key: '7c8fec4409d82aab14d5997ed40f353363d867fa', class: {
|
|
10743
10743
|
'swiper-slide': true,
|
|
10744
10744
|
'swiper-zoom-container': true,
|
|
10745
|
-
} }, hAsync("slot", { key: '
|
|
10745
|
+
} }, hAsync("slot", { key: '4ba093a0a5ba1dafd2e67edb3f23a35e87988568' })));
|
|
10746
10746
|
}
|
|
10747
10747
|
static get style() { return carouselItemCss; }
|
|
10748
10748
|
static get cmpMeta() { return {
|
|
@@ -10832,7 +10832,7 @@ class Checkbox {
|
|
|
10832
10832
|
const labelId = this.checkboxId + '-label';
|
|
10833
10833
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10834
10834
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10835
|
-
return (hAsync(Host, { key: '
|
|
10835
|
+
return (hAsync(Host, { key: '62a2baf8e4a948ee3d5167eac5142e9aeb965e9c' }, hAsync("input", { key: '67e951958ca6b347918c6148f6ef656399c8378b', 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: '3335c03128ac0df164102286ecb342e41fe2353d', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: 'bc2efb180219e40aee379bc9e0e63634b1baa6f9' }, this.label, " ", hAsync("span", { key: '8c73c1145fa7143a022ecf14da78fcc0d930868c', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: '4e4c38b615758f9dc7a4cf9e87eab0ec53843461' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '65a8f8f80d25c86c201a80d383be0316dd5a797a', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: '0c0e8762d1ef14567f329fc00c3e21356b0e1c6d', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: '0d51e3d91fd47bb7bf6ee327692f7d1b0b371d56', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '71de760750b7648d70fa32cdde8ee3060631bb1f', class: "helper" }, this.helper)));
|
|
10836
10836
|
}
|
|
10837
10837
|
static get watchers() { return {
|
|
10838
10838
|
"checked": ["checkedChanged"]
|
|
@@ -10889,7 +10889,7 @@ class Chip {
|
|
|
10889
10889
|
}
|
|
10890
10890
|
render() {
|
|
10891
10891
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10892
|
-
return (hAsync(Host, { key: '
|
|
10892
|
+
return (hAsync(Host, { key: 'ac5b6981f4c55c7fd7aababf9a6ec05e3052358b', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: '34484d9072a5118efdcf18e815df2c56699294af', class: "chip-description" }, hAsync("slot", { key: '08562e50f4db83a54bedf98c3097525a48a30ead' })), this.hasCloseIcon && hAsync("road-icon", { key: 'b92e861c4bb1a78f2c16b2734acdd2f066c63b32', class: "chip-close", icon: navigationClose })));
|
|
10893
10893
|
}
|
|
10894
10894
|
static get style() { return chipCss; }
|
|
10895
10895
|
static get cmpMeta() { return {
|
|
@@ -10917,7 +10917,7 @@ class Col {
|
|
|
10917
10917
|
registerInstance(this, hostRef);
|
|
10918
10918
|
}
|
|
10919
10919
|
render() {
|
|
10920
|
-
return (hAsync("slot", { key: '
|
|
10920
|
+
return (hAsync("slot", { key: '81e8cf78b7fe41c0fa4a8b49766837c4926274d2' }));
|
|
10921
10921
|
}
|
|
10922
10922
|
static get style() { return colCss; }
|
|
10923
10923
|
static get cmpMeta() { return {
|
|
@@ -10966,7 +10966,7 @@ class Collapse {
|
|
|
10966
10966
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
10967
10967
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
10968
10968
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
10969
|
-
return (hAsync(Host, { key: '
|
|
10969
|
+
return (hAsync(Host, { key: '48253e17c72c783a0f7351d4476189c340bdb0ca' }, hAsync("slot", { key: '27bb5472b046b11776463b50bcb6eb79bb09e966' }), hAsync("div", { key: 'ca2cc3cfa9a14cb4ae5306a9d43da4b6f3341ece', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: '4d5ab448450ce472d9fe8d1c13c85d9a1007558d', name: "collapsed-content" })), hAsync("div", { key: 'fe63b16bda8878f5d22d5225c803f874f5985119', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: '51f7d4343e7635d4f678bc7f6f2671f307603c8e', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
10970
10970
|
}
|
|
10971
10971
|
static get style() { return collapseCss; }
|
|
10972
10972
|
static get cmpMeta() { return {
|
|
@@ -11002,7 +11002,7 @@ class ContentCard {
|
|
|
11002
11002
|
}
|
|
11003
11003
|
render() {
|
|
11004
11004
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11005
|
-
return (hAsync(Host, { key: '
|
|
11005
|
+
return (hAsync(Host, { key: '44deb86bac455dbea20eb36655515da36c4f6ba5' }, hAsync("road-img", { key: '6ad6c1597a754784bfd52b17b5c99926ce11d7fa', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '7b213827e43cdc227e28f46c76a90016095e7682', class: "content-card-description" }, hAsync("road-label", { key: '7c131e52e897d9054048bc85dba2e8442b45c794', class: "content-card-description-title" }, hAsync("slot", { key: '0a53c6a5aba804ce63e703ad1242c99b6ee29d58', name: "label" })), hAsync("p", { key: 'c036de86107612e35aaf71caddd1bc1ca85dac01', class: "content-card-description-text" }, hAsync("slot", { key: '884367060d85ea423d36c0a2084a55d45e7a7b46', name: "description" })), hAsync("div", { key: 'f361aeac86440c2de66e8d946ca6b7ada4a01bcd', class: "content-card-description-buttons" }, hAsync("slot", { key: '42c3e7534c5d419ed80e3b02fc7d5d15c71c8ed0' })))));
|
|
11006
11006
|
}
|
|
11007
11007
|
static get style() { return contentCardCss; }
|
|
11008
11008
|
static get cmpMeta() { return {
|
|
@@ -11177,7 +11177,7 @@ class Counter {
|
|
|
11177
11177
|
}
|
|
11178
11178
|
render() {
|
|
11179
11179
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11180
|
-
return (hAsync("road-input-group", { key: '
|
|
11180
|
+
return (hAsync("road-input-group", { key: 'c081a63092c8a2389f587aa7bd224f0219eb2bd2', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: 'd12c846e1360ba74979e52a7b393f74b91b3ec90', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, hAsync("road-icon", { key: '16b7d59b940a45b5a8e53441b19ce39ace0f4776', 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: '086b7515b23c531a69385fa6ad7c0485f76122d1', 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: '988f1da0853bbcf491a0ca10d5e0651e1855584f', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, hAsync("road-icon", { key: 'c4fc16c90d47e8c2df9e48374368320296b03c89', name: "navigation-add-more", size: this.size, role: "button" }))));
|
|
11181
11181
|
}
|
|
11182
11182
|
get el() { return getElement(this); }
|
|
11183
11183
|
static get watchers() { return {
|
|
@@ -11226,6 +11226,10 @@ class Dialog {
|
|
|
11226
11226
|
* Show / hide the close icon
|
|
11227
11227
|
*/
|
|
11228
11228
|
this.hasCloseIcon = true;
|
|
11229
|
+
/**
|
|
11230
|
+
* Set the color of information dialog. e.g. info, success, warning, danger
|
|
11231
|
+
*/
|
|
11232
|
+
this.color = 'info';
|
|
11229
11233
|
/**
|
|
11230
11234
|
* Close the dialog when clicking on the cross or layer
|
|
11231
11235
|
*/
|
|
@@ -11292,11 +11296,11 @@ class Dialog {
|
|
|
11292
11296
|
break;
|
|
11293
11297
|
}
|
|
11294
11298
|
}
|
|
11295
|
-
return (hAsync(Host, { key: '
|
|
11299
|
+
return (hAsync(Host, { key: 'f637f98a3a70d6156bb167c527b15d2c6ffc7e5d', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: 'fa621b0628a62743c8b7a233a8eba41f7980096d', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: '8afe32a301fecd494a0fa3a25e5bb26cb2bef276', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: '009d5255b0ac98b8571e31e8201ffefe31c75f48', class: "dialog-content" }, hAsync("header", { key: 'b1310e61796b93d961717c9be38ccfddbaa7d9c6', class: "dialog-header" }, this.hasCloseIcon
|
|
11296
11300
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11297
|
-
: ''), hAsync("div", { key: '
|
|
11301
|
+
: ''), hAsync("div", { key: '6858740e816d454da59bf506bc7c17bcb29f1734', class: "dialog-body" }, this.color !== undefined
|
|
11298
11302
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11299
|
-
: '', hAsync("h2", { key: '
|
|
11303
|
+
: '', hAsync("h2", { key: 'bb6245c0e6fad883f7db4edb72be367acfa56e03', class: "dialog-title" }, this.label), hAsync("p", { key: 'a577cd6c7127221b2b7cb3f0e771e8fd31fad85e', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: 'd01b50c64828f59ae6f489e26fec749c1d364e77', class: "dialog-footer" }, hAsync("slot", { key: '27ba598495ab7ac1086d63c51d97ce24726755f0' }))))));
|
|
11300
11304
|
}
|
|
11301
11305
|
get el() { return getElement(this); }
|
|
11302
11306
|
static get style() { return dialogCss; }
|
|
@@ -11463,7 +11467,7 @@ class Drawer {
|
|
|
11463
11467
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
11464
11468
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
11465
11469
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
11466
|
-
return (hAsync(Host, { key: '
|
|
11470
|
+
return (hAsync(Host, { key: '343c6fe4703771781b5b1b1cbe34c825895ebd6c', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: '3bc8d54fc65740b6d3916d201674fb8e1cde5115', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '0b1e058d77e75159dd9165a1a86e51d6db73ae2b', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, hAsync("div", { key: '95bf614180cab332beae9d6b8d4a04c06a3ad5ac', class: "drawer-content" }, hAsync("header", { key: 'a4afcf211cf7d1c6a28a97567d17d9b33799b89b', 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: '6fe738c5b725d4b695f44e1e4227f9431bc97f28', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: 'e27c29b1583f6b469ed9b70412b70af48fc1cafb' })), hAsync("footer", { key: '680324e6fe83ea5a387ce7358c8734c634a11759', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, hAsync("slot", { key: '6b0017be4d73cc3230f1d2d4e36c5b4899677a55', name: "footer" }))))));
|
|
11467
11471
|
}
|
|
11468
11472
|
get el() { return getElement(this); }
|
|
11469
11473
|
static get watchers() { return {
|
|
@@ -11523,7 +11527,7 @@ let Dropdown$1 = class Dropdown {
|
|
|
11523
11527
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
11524
11528
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
11525
11529
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
11526
|
-
return (hAsync("details", { key: '
|
|
11530
|
+
return (hAsync("details", { key: '666aed9ed77ca8a7830d7d9863b2fc031e43d452', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '743e050797fc26df250c12fc57921ec9d9340a8f', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: 'fa99ef9afbd10eb214756c83cbe6559c9c794cae', class: `d-flex ${positionClass}` }, hAsync("div", { key: '15bbf1d1b681970726c9702016f19d94098e2d7c', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: '914c9f0b05ba7f43d9412ff4e64f5223c570df2d', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: '8af51d9591a676c9f2920a89aff3b2ce3ef32989', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: '97ffc359a528440ec2c6ebf84d08de0e75e1b39a', name: "list" }))));
|
|
11527
11531
|
}
|
|
11528
11532
|
get el() { return getElement(this); }
|
|
11529
11533
|
static get style() { return dropdownCss; }
|
|
@@ -11578,7 +11582,7 @@ class Dropdown {
|
|
|
11578
11582
|
this.isOpen = false;
|
|
11579
11583
|
}
|
|
11580
11584
|
render() {
|
|
11581
|
-
return (hAsync("details", { key: '
|
|
11585
|
+
return (hAsync("details", { key: 'e947106ef9c4caba6a241a02cf01e61395aa488e', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '9c1fe137b2123745d69cdf4d92a341feac989a02', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '2192125a786f148b233b769d6ea4b0b63faeba52', class: `d-flex` }, hAsync("div", { key: 'cf25d45b10534ce950a9dae2bdc4b8b354be4345' }, hAsync("road-avatar", { key: '5e76005a457fcfbbeffc6cef477fc2e959595bb0' }, hAsync("slot", { key: 'a14a870eb660c315b2217d271a7c67014afb0fa6', name: "avatar" }))))), hAsync("div", { key: '4fb21339347e5d3dab37eabc69f2e2a5f1f916a8', class: `dropdown-menu` }, hAsync("div", { key: '64c4925387f70b3ee431b9fcf016d9dba22fe3a8', class: "profil-item" }, hAsync("road-avatar", { key: '4669635cd93e18210afcb3d0b85ebbcafe5c3928', size: "sm" }, hAsync("slot", { key: '4f1069c91a4b3a057ed8c39a95b25209e03b3900', name: "avatarItem" })), hAsync("div", { key: 'dc055a8299d628c3ae16aaf63964819611177545', class: "profil-item-info" }, hAsync("span", { key: '63c9d3826fc11d7c7a4e3d61f45f4f8f88816a0f', class: "profil-item-info-name" }, hAsync("slot", { key: '07e67a50df8a146c630f21fc17886268072767ed', name: "name" })), hAsync("road-label", { key: 'c9775892829479e07d9a33d7c6cbcb8a3838aeaf' }, hAsync("slot", { key: 'bb4a59d80176e47292db3c332af0b01f403fdbd4', name: "email" })))), hAsync("slot", { key: 'f51c6b6c0138f35866bcf4038473f53c17d278c2', name: "list" }))));
|
|
11582
11586
|
}
|
|
11583
11587
|
get el() { return getElement(this); }
|
|
11584
11588
|
static get style() { return profilDropdownCss; }
|
|
@@ -11641,7 +11645,7 @@ class Duration {
|
|
|
11641
11645
|
this.isOpen = false;
|
|
11642
11646
|
}
|
|
11643
11647
|
render() {
|
|
11644
|
-
return (hAsync("road-drawer", { key: '
|
|
11648
|
+
return (hAsync("road-drawer", { key: '7174d6bff0b668a440eba7c01b6cb00a3ac8c316', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: 'f6ada019b742b8f81ddd0d9708d379503c98c587' }, hAsync("road-row", { key: 'f51a13bb8fb5bc131f39f93dafd4d4a6714fd991', 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 })))))))));
|
|
11645
11649
|
}
|
|
11646
11650
|
get el() { return getElement(this); }
|
|
11647
11651
|
static get style() { return durationCss; }
|
|
@@ -11686,7 +11690,7 @@ class Flap {
|
|
|
11686
11690
|
}
|
|
11687
11691
|
render() {
|
|
11688
11692
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
11689
|
-
return (hAsync(Host, { key: '
|
|
11693
|
+
return (hAsync(Host, { key: '3d762c6f497921860864029ac64adb135a7fc5c4', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '27cfff932ecf2260ce0f67956c30a394cd6450be' })));
|
|
11690
11694
|
}
|
|
11691
11695
|
static get style() { return flapCss; }
|
|
11692
11696
|
static get cmpMeta() { return {
|
|
@@ -11731,7 +11735,7 @@ class GlobalNavigation {
|
|
|
11731
11735
|
this.selectedTabChanged();
|
|
11732
11736
|
}
|
|
11733
11737
|
render() {
|
|
11734
|
-
return (hAsync(Host, { key: '
|
|
11738
|
+
return (hAsync(Host, { key: 'abc53616cb98aa6db7f5163b676cd63c1b701ebe', role: "application" }, hAsync("slot", { key: '15fdfc5effeafdc03cb38178303b5ff906b02b73' })));
|
|
11735
11739
|
}
|
|
11736
11740
|
static get watchers() { return {
|
|
11737
11741
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -11878,7 +11882,7 @@ class GlobalNavigationV2 {
|
|
|
11878
11882
|
this.selectedTabChanged();
|
|
11879
11883
|
}
|
|
11880
11884
|
render() {
|
|
11881
|
-
return (hAsync(Host, { key: '
|
|
11885
|
+
return (hAsync(Host, { key: '1a66a89de61ff867114b5b3121d8760bda4564c2', role: "application" }, hAsync("slot", { key: '9cd0edfb46071389cbdbbbf903045ab98ab69bbd' })));
|
|
11882
11886
|
}
|
|
11883
11887
|
get host() { return getElement(this); }
|
|
11884
11888
|
static get watchers() { return {
|
|
@@ -11907,7 +11911,7 @@ class Grid {
|
|
|
11907
11911
|
registerInstance(this, hostRef);
|
|
11908
11912
|
}
|
|
11909
11913
|
render() {
|
|
11910
|
-
return (hAsync("slot", { key: '
|
|
11914
|
+
return (hAsync("slot", { key: 'f4d44dd4cc72e59df9c788612ee9421cc3763a9f' }));
|
|
11911
11915
|
}
|
|
11912
11916
|
static get style() { return gridCss; }
|
|
11913
11917
|
static get cmpMeta() { return {
|
|
@@ -12009,7 +12013,7 @@ class Icon {
|
|
|
12009
12013
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
12010
12014
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
12011
12015
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
12012
|
-
return (hAsync(Host, { key: '
|
|
12016
|
+
return (hAsync(Host, { key: '95b32a265d359636c313ffbe72acede250a68daa', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
12013
12017
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
12014
12018
|
: hAsync("div", { class: "icon-inner" })));
|
|
12015
12019
|
}
|
|
@@ -12130,7 +12134,7 @@ class Illustration {
|
|
|
12130
12134
|
render() {
|
|
12131
12135
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
12132
12136
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
12133
|
-
return (hAsync(Host, { key: '
|
|
12137
|
+
return (hAsync(Host, { key: '69036c95d1de5bc4745e31bbebc2ac9ecf881898', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
12134
12138
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
12135
12139
|
: hAsync("div", { class: "icon-inner" }))));
|
|
12136
12140
|
}
|
|
@@ -12232,7 +12236,7 @@ class Img {
|
|
|
12232
12236
|
}
|
|
12233
12237
|
render() {
|
|
12234
12238
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
12235
|
-
return (hAsync(Host, { key: '
|
|
12239
|
+
return (hAsync(Host, { key: '976ab0d692503daa8ff7ac9d95b83c7d4fba790f', class: placeholder }, hAsync("img", { key: 'b5f0c9d5113eb906033bb012c36bedc420012364', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
12236
12240
|
}
|
|
12237
12241
|
get el() { return getElement(this); }
|
|
12238
12242
|
static get watchers() { return {
|
|
@@ -29682,11 +29686,11 @@ class Input {
|
|
|
29682
29686
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29683
29687
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29684
29688
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29685
|
-
return (hAsync(Host, { key: '
|
|
29689
|
+
return (hAsync(Host, { key: '8a714fca76ef339bd751331bbeb4d58e7ccb0056', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: 'b21c77923c6cede245f5af456fd258dc885b0367', 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', ref: el => (this.inputEl = el) }), hAsync("label", { key: 'a3dc3d2e183f943604305d04ac260726317d7503', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && (Array.isArray(this.error)
|
|
29686
29690
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
29687
29691
|
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(), " ")))
|
|
29688
29692
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
29689
|
-
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: '
|
|
29693
|
+
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: 'f6cc5101ccaab1e07ac8cdb323fbd1e948782af5', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: '0094f3f260c314a7fd4a3a74262183fa7f1b5b65', name: "checklistPassword" })));
|
|
29690
29694
|
}
|
|
29691
29695
|
static get watchers() { return {
|
|
29692
29696
|
"debounce": ["debounceChanged"],
|
|
@@ -29797,7 +29801,7 @@ class InputGroup {
|
|
|
29797
29801
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
29798
29802
|
: '';
|
|
29799
29803
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
29800
|
-
return (hAsync("div", { key: '
|
|
29804
|
+
return (hAsync("div", { key: 'a5bcaef252967c757347f4fad0be0d338dc296bb', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: '158ca209265d59d1ec1ab06d31960e34fb1d7489', class: "input-group-prepend" }, hAsync("slot", { key: '580c826cda5bf4e19cfc649cee2631de070c716b', name: "prepend" })), hAsync("slot", { key: '6822f49f1de35a64f841f44be407a1d9d8ef9dfb' }), hAsync("div", { key: 'a6f34144268e33be2d46d5142853224673477c58', class: "input-group-append" }, hAsync("slot", { key: '6689c6fa0fc73cb909c67ef4b9b116712781cfb1', name: "append" }))));
|
|
29801
29805
|
}
|
|
29802
29806
|
get el() { return getElement(this); }
|
|
29803
29807
|
static get watchers() { return {
|
|
@@ -29876,13 +29880,13 @@ class Item {
|
|
|
29876
29880
|
target,
|
|
29877
29881
|
};
|
|
29878
29882
|
const showDetail = detail !== undefined && detail;
|
|
29879
|
-
return (hAsync(Host, { key: '
|
|
29883
|
+
return (hAsync(Host, { key: 'ffcfb7291adef5eddbd521b2ef59c9d64da73204', "aria-disabled": disabled ? 'true' : null, class: {
|
|
29880
29884
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
29881
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
29885
|
+
} }, hAsync(TagType, Object.assign({ key: 'e2dacd76ce641194bde2e03f77a4143423c52200' }, attrs, { class: {
|
|
29882
29886
|
'item-native': true,
|
|
29883
29887
|
'item-active': this.active,
|
|
29884
29888
|
[`layout-${layout}`]: layout !== undefined,
|
|
29885
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
29889
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: 'b54a9eb4348bfcfe2173555a519ee6456ebd366d', name: "start" }), hAsync("div", { key: 'c37fb3fd8cf22a83f6b09f1e5135359c7a8d85b4', class: "item-inner" }, hAsync("div", { key: '132a756bf59085be22e2c60c768bdc7c03df695a', class: "input-wrapper" }, hAsync("slot", { key: 'b2c8814642d455ccb367ecb2b73e9a4ec3ff56a8' }), hAsync("div", { key: 'beb2337357755b0da2ffcea2527a378cae497317', class: "input-wrapper-info" }, hAsync("road-label", { key: '950680294f3600fd4e596ed59eb0f4b9e005ab5b', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: '7d0c1ab0b5defbce3222755f763011f7c5400af9', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: '6166ded9d2b8cfa26cbc550c9cc8cac4e84a8c93', name: "end" }), showDetail && hAsync("road-icon", { key: 'ebd37468e5695fb40cecca4a437777273dfc8a0c', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
29886
29890
|
}
|
|
29887
29891
|
get el() { return getElement(this); }
|
|
29888
29892
|
static get style() { return itemCss; }
|
|
@@ -29922,7 +29926,7 @@ class Label {
|
|
|
29922
29926
|
registerInstance(this, hostRef);
|
|
29923
29927
|
}
|
|
29924
29928
|
render() {
|
|
29925
|
-
return (hAsync("slot", { key: '
|
|
29929
|
+
return (hAsync("slot", { key: '57b2da72eeadd0c64a5bf9eb4fd5cbf3b35498e4' }));
|
|
29926
29930
|
}
|
|
29927
29931
|
static get style() { return labelCss; }
|
|
29928
29932
|
static get cmpMeta() { return {
|
|
@@ -29946,9 +29950,9 @@ class List {
|
|
|
29946
29950
|
}
|
|
29947
29951
|
render() {
|
|
29948
29952
|
const { lines } = this;
|
|
29949
|
-
return (hAsync(Host, { key: '
|
|
29953
|
+
return (hAsync(Host, { key: 'd78084090acfe3312fa7737fd0d8b029f3b39e0a', class: {
|
|
29950
29954
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
29951
|
-
} }, hAsync("slot", { key: '
|
|
29955
|
+
} }, hAsync("slot", { key: '92fd9bd7a217314efe192cb0d8c399be2102be0e' })));
|
|
29952
29956
|
}
|
|
29953
29957
|
static get style() { return listCss; }
|
|
29954
29958
|
static get cmpMeta() { return {
|
|
@@ -30032,7 +30036,7 @@ class Modal {
|
|
|
30032
30036
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
30033
30037
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
30034
30038
|
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" })) : '';
|
|
30035
|
-
return (hAsync(Host, { key: '
|
|
30039
|
+
return (hAsync(Host, { key: '1fdd589e9f51997b4d0f3ea8a1ddc07e99c10001', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: 'd902050424f8ea7e9b56e12da5cc13d82711639f', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: 'c5d41ad21a14f87b997ab89804a53ef8651c59f2', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: '05c6ec2feb0f85405acbeedd0e3c8d12d834e1cf', class: "modal-content" }, hAsync("header", { key: '882e8cc7d782752ce99a29b7012d3eefb292899a', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: '98f549a4a32c448ffeabc617b617fba300a51354', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: '3c2d64b587d8b710845eae45e12c2abf7e9b6b75', class: "modal-body" }, hAsync("slot", { key: '47af629bc27a1c31fdc8da12045a68f8cbc2232c' }))))));
|
|
30036
30040
|
}
|
|
30037
30041
|
get el() { return getElement(this); }
|
|
30038
30042
|
static get style() { return modalCss; }
|
|
@@ -30082,7 +30086,7 @@ class Navbar {
|
|
|
30082
30086
|
this.selectedTabChanged();
|
|
30083
30087
|
}
|
|
30084
30088
|
render() {
|
|
30085
|
-
return (hAsync(Host, { key: '
|
|
30089
|
+
return (hAsync(Host, { key: 'efe7958879143afb92e87774b1befc120a858750', role: "menubar" }, hAsync("slot", { key: 'afe13f560cf6e93c88a5aa0dddb188d1476e9f63' })));
|
|
30086
30090
|
}
|
|
30087
30091
|
static get watchers() { return {
|
|
30088
30092
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30167,11 +30171,11 @@ let NavbarItem$1 = class NavbarItem {
|
|
|
30167
30171
|
rel,
|
|
30168
30172
|
target,
|
|
30169
30173
|
};
|
|
30170
|
-
return (hAsync(Host, { key: '
|
|
30174
|
+
return (hAsync(Host, { key: '5f3f4d5dee65958510bbd3aa666bd8bce1d89d9d', 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: {
|
|
30171
30175
|
'navbar-item': true,
|
|
30172
30176
|
'tab-selected': selected,
|
|
30173
30177
|
'tab-disabled': disabled,
|
|
30174
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30178
|
+
} }, hAsync("a", Object.assign({ key: 'e96b32b8c383d2b5b010dfab3e5ab15b51bc1854' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '773564fd22c7606b15cf150b62975f42d3f84d56', class: "button-inner" }, hAsync("slot", { key: '1aa2363819e9cea17bec4af105ce1d788e5968ec' })))));
|
|
30175
30179
|
}
|
|
30176
30180
|
get el() { return getElement(this); }
|
|
30177
30181
|
static get watchers() { return {
|
|
@@ -30263,11 +30267,11 @@ class NavbarItem {
|
|
|
30263
30267
|
rel,
|
|
30264
30268
|
target,
|
|
30265
30269
|
};
|
|
30266
|
-
return (hAsync(Host, { key: '
|
|
30270
|
+
return (hAsync(Host, { key: 'bb17a83b219caa3b5b7dd3a0c98ba38be889d901', 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: {
|
|
30267
30271
|
'navbar-item': true,
|
|
30268
30272
|
'tab-selected': selected,
|
|
30269
30273
|
'tab-disabled': disabled,
|
|
30270
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30274
|
+
} }, hAsync("a", Object.assign({ key: 'cfc7250785fb4785f6fd4ae78be2b31feac5f508' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: 'd4152384d69fe44f37d34a1fc797d1d7fb986e5f', class: "button-inner" }, hAsync("slot", { key: 'ad5a68da83e88f06e445dc86ece622dd08c42e39' })))));
|
|
30271
30275
|
}
|
|
30272
30276
|
get el() { return getElement(this); }
|
|
30273
30277
|
static get watchers() { return {
|
|
@@ -30325,7 +30329,7 @@ class NavbarV2 {
|
|
|
30325
30329
|
}
|
|
30326
30330
|
render() {
|
|
30327
30331
|
const compactClass = this.compact ? 'compact' : '';
|
|
30328
|
-
return (hAsync(Host, { key: '
|
|
30332
|
+
return (hAsync(Host, { key: 'a9c26c1d017c70adb791bba025a7ce9f1a22a490', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'a6af8ea119922343b6bfb17f694b6620cd4d7b8e' })));
|
|
30329
30333
|
}
|
|
30330
30334
|
static get watchers() { return {
|
|
30331
30335
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30447,10 +30451,10 @@ class PlateNumber {
|
|
|
30447
30451
|
render() {
|
|
30448
30452
|
const value = this.getValue();
|
|
30449
30453
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
30450
|
-
return (hAsync("road-input-group", { key: '
|
|
30454
|
+
return (hAsync("road-input-group", { key: 'ab5e69f2ce02705c3eb46c533f18fc5a7215b07a', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: '4f932c390759f09df542e3122c7783c292726afe', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: 'ada72437982f7fad0d9f78b52603a9a047ec90e0', class: "plate-number-start" }, hAsync("road-icon", { key: 'eed8cc3ac1b52a3b254d643447de64f6dce19ba2', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: '388cc5e3e68ba63a7af1e29e21f939583f23ebf8', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
30451
30455
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
30452
30456
|
? (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 }))
|
|
30453
|
-
: (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: '
|
|
30457
|
+
: (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: '4a7d160c6a666ace1c19d9509b307a1d8af62f97', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'e805a53a4a445bffa010e79251a27f7c3d193374', class: "plate-number-end" }))));
|
|
30454
30458
|
}
|
|
30455
30459
|
static get watchers() { return {
|
|
30456
30460
|
"value": ["valueChanged"]
|
|
@@ -30517,7 +30521,7 @@ class ProgressBar {
|
|
|
30517
30521
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
30518
30522
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
30519
30523
|
const animation = this.animation ? 'animation' : '';
|
|
30520
|
-
return (hAsync(Host, { key: '
|
|
30524
|
+
return (hAsync(Host, { key: 'e075ca51836988ce830393246d27fddf73a9e4aa', class: "progress-element" }, hAsync("div", { key: '7d7f4d81e6c6ad2865b45650ba6da751f7d9a883', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '8596d15ae87b76f53c0594e8293b13c5648332bf', 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: '3c09c1c898a5e116aa01c12f1323a618c0ca0be3', class: `${fullwidth}` }, hAsync("span", { key: '335f202f365e19080d6d1199af8423cb8e5812d3', class: "progress-element-label" }, this.label), this.showstep && hAsync("span", { key: 'a7c3bd4b59ebca8f86d614afa836dca21018b335', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
30521
30525
|
}
|
|
30522
30526
|
static get style() { return progressCss; }
|
|
30523
30527
|
static get cmpMeta() { return {
|
|
@@ -30557,7 +30561,7 @@ class ProgressIndicatorVertical {
|
|
|
30557
30561
|
registerInstance(this, hostRef);
|
|
30558
30562
|
}
|
|
30559
30563
|
render() {
|
|
30560
|
-
return (hAsync(Host, { key: '
|
|
30564
|
+
return (hAsync(Host, { key: '144b1fffb62a3d6f83cefb47c5b965c2e5de2b65' }, hAsync("nav", { key: '6489e93e952d9803555b7301442cbc17cf7e810f' }, hAsync("ul", { key: 'a1aa21b8f8e5a7f250f0491806594954d9756041' }, hAsync("li", { key: 'ecb8111c9cab3e0c739f24a17fc979022e40c66f' }, hAsync("slot", { key: '92b597cb1e76f0e0a528f5e914fc6f9d7c266c4c' }))))));
|
|
30561
30565
|
}
|
|
30562
30566
|
static get style() { return progressIndicatorVerticalCss; }
|
|
30563
30567
|
static get cmpMeta() { return {
|
|
@@ -30580,7 +30584,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
30580
30584
|
registerInstance(this, hostRef);
|
|
30581
30585
|
}
|
|
30582
30586
|
render() {
|
|
30583
|
-
return (hAsync(Host, { key: '
|
|
30587
|
+
return (hAsync(Host, { key: '1e31c321974f20cda308a48f6de6f8935bc9bdd9' }, hAsync("slot", { key: '94a8836cb687c2b9d7d331bc083ea81a15e00309' })));
|
|
30584
30588
|
}
|
|
30585
30589
|
static get style() { return progressIndicatorVerticalItemCss; }
|
|
30586
30590
|
static get cmpMeta() { return {
|
|
@@ -30608,7 +30612,7 @@ class ProgressTracker {
|
|
|
30608
30612
|
registerInstance(this, hostRef);
|
|
30609
30613
|
}
|
|
30610
30614
|
render() {
|
|
30611
|
-
return (hAsync(Host, { key: '
|
|
30615
|
+
return (hAsync(Host, { key: 'ffcdba129f53cc514c388dba2c94e479e23d22bf' }, hAsync("nav", { key: '3c8b2fcf783dfabeb823b13393a225901ed8755b' }, hAsync("ul", { key: 'b0059c3c0d1f77f14816c190f66a9b0f23569486' }, hAsync("li", { key: '7a487ac3b0822e663bca07e5e8b6cca773d18d14' }, hAsync("slot", { key: 'dfcf7069fbff57367eb61c545d9d9182a63c489c' }))))));
|
|
30612
30616
|
}
|
|
30613
30617
|
static get style() { return progressTrackerCss; }
|
|
30614
30618
|
static get cmpMeta() { return {
|
|
@@ -30639,7 +30643,7 @@ class ProgressTrackerItem {
|
|
|
30639
30643
|
registerInstance(this, hostRef);
|
|
30640
30644
|
}
|
|
30641
30645
|
render() {
|
|
30642
|
-
return (hAsync(Host, { key: '
|
|
30646
|
+
return (hAsync(Host, { key: 'ecc42bd2a9cb4f5929c19e9b0be26feb11eb11a1' }, hAsync("slot", { key: '9ef689b7473549addcab35bd8eff9d5787a23d0a' })));
|
|
30643
30647
|
}
|
|
30644
30648
|
static get style() { return progressTrackerItemCss; }
|
|
30645
30649
|
static get cmpMeta() { return {
|
|
@@ -30731,7 +30735,7 @@ class Radio {
|
|
|
30731
30735
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
30732
30736
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
30733
30737
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30734
|
-
return (hAsync(Host, { key: '
|
|
30738
|
+
return (hAsync(Host, { key: '02478f228af153868964eb5d34744649221e6a9b', class: `form-radio ${inlineClass}` }, hAsync("input", { key: 'b9a91cad1bebdc517c104a8b0ee3a9a7e0805843', 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: 'c03e2b3b6085fefdb20a99c87257f125f4835d4a', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '025348388d70decf06d806904ddbc999dd9ff5d7', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
30735
30739
|
}
|
|
30736
30740
|
get el() { return getElement(this); }
|
|
30737
30741
|
static get style() { return radioCss; }
|
|
@@ -30814,7 +30818,7 @@ class RadioCard {
|
|
|
30814
30818
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30815
30819
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
30816
30820
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
30817
|
-
return (hAsync(Host, { key: '
|
|
30821
|
+
return (hAsync(Host, { key: '31d7399cd26ce4ae7e091ac137cfeb90f0ab2af6', class: `form-radio ${inlineClass}` }, hAsync("div", { key: 'b84258fd381d5c7f552e7d1814ab58ff2b70c84a', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, hAsync("input", { key: '77810f03f27788cc3fa76344b1e7153c8a5d91d1', 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: 'e45b363c5a5c737c7926c5c9d8a1e03bdb2694f3', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, hAsync("div", { key: '4290f0010805a39293fb85d608c3ea45ffef2a84', class: "slot-wrapper" }, hAsync("slot", { key: '479fcc8b36f50e8e50eb2de19d6360b99e7eea8c' }))))));
|
|
30818
30822
|
}
|
|
30819
30823
|
get el() { return getElement(this); }
|
|
30820
30824
|
static get style() { return radioCardCss; }
|
|
@@ -30910,7 +30914,7 @@ class RadioGroup {
|
|
|
30910
30914
|
render() {
|
|
30911
30915
|
const labelId = `${this.radioGroupId}-label`;
|
|
30912
30916
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30913
|
-
return (hAsync(Host, { key: '
|
|
30917
|
+
return (hAsync(Host, { key: '8e1dc205a1a0265edd3c006587877bcc2c32b41d', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: 'd54aeaf80b89327353e82af4f6e0f64357c8b3e7', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: 'b2136cd114930667b17f0a25afca7aa66d740d32', class: "asterisk" }, "*")), hAsync("slot", { key: '81e91d7c61a3f0ab2792b6bb380a44863f2a433a' }), this.error && this.error !== '' && hAsync("p", { key: 'a4b6e91555b3d8c81088f9cb109dbdce3e831733', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'd9b7ca8ef6a7e5507847cff5221993f0ba213708', class: "helper" }, this.helper)));
|
|
30914
30918
|
}
|
|
30915
30919
|
get el() { return getElement(this); }
|
|
30916
30920
|
static get watchers() { return {
|
|
@@ -31039,14 +31043,14 @@ class Range {
|
|
|
31039
31043
|
render() {
|
|
31040
31044
|
const value = this.getValue();
|
|
31041
31045
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
31042
|
-
return (hAsync(Host, { key: '
|
|
31046
|
+
return (hAsync(Host, { key: 'ecac18cdfb006a96a72efea1c27d2f57c5597016', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: '7bc112d7b727816281bb58078cc1bccecaa5b2cc', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: 'dd2d7bcba9a9d1110b4529302f6224c59d57c32e', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: 'd57e0e72704f90ce9c28fa2abd8b3fe2df501202', class: "form-range", style: {
|
|
31043
31047
|
"--min": this.min,
|
|
31044
31048
|
"--max": this.max,
|
|
31045
31049
|
"--value": value,
|
|
31046
31050
|
"--background-color": this.disabled
|
|
31047
31051
|
? "var(--road-surface-disabled)"
|
|
31048
31052
|
: "initial",
|
|
31049
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
31053
|
+
} }, this.showValue && hAsync("output", { key: 'a83dc1adb2154f1eb2003f7e68ebbebea1a3c760' }), this.showLabels && hAsync("slot", { key: 'fafa44f9aa405c10c387d0c15f9f1a04b01edac7', name: "datalist" }), hAsync("input", { key: 'bdbc9dcaee2c8e9fc58eff3fd74c9895fc6b9ac5', 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: 'ff7d8e924677cb611f64bff097e7199f671b0d00', class: "form-range-label" }, "Valeur"), hAsync("div", { key: '0b2275d7bdecfffc176835281c7f5d7422f6e304', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: '60e4200e485e351edaafaa6e178ff2a13430f481', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
31050
31054
|
}
|
|
31051
31055
|
get el() { return getElement(this); }
|
|
31052
31056
|
static get watchers() { return {
|
|
@@ -31114,7 +31118,7 @@ class Rating {
|
|
|
31114
31118
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
31115
31119
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
31116
31120
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
31117
|
-
return (hAsync(Host, { key: '
|
|
31121
|
+
return (hAsync(Host, { key: '3c85829b44081dd80e1d7515e68aa0a42171658d' }, hAsync("div", { key: '79b13ad443febe7bb7d76945f2bc5976c1647db2', 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: '86733047f13e800d482a414a2c89cac441ce7c10', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '715de650af95fb2fdff9b33238cfe8862027656d', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
31118
31122
|
}
|
|
31119
31123
|
static get style() { return ratingCss; }
|
|
31120
31124
|
static get cmpMeta() { return {
|
|
@@ -31232,7 +31236,7 @@ class RoadAreaCode {
|
|
|
31232
31236
|
const labelId = this.selectId + '-label';
|
|
31233
31237
|
const valueId = this.selectId + '-value';
|
|
31234
31238
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31235
|
-
return (hAsync(Host, { key: '
|
|
31239
|
+
return (hAsync(Host, { key: 'b5faa4c34393fe3c4601c27d2dcb3f71314ed8f0', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: 'c38b4babe142cbf4555582fcc2f8a8081737e11c', 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: 'ea84d648ab398f39e1fa2eecd6fd9b24b7d122c3', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), hAsync("label", { key: '2795df05f6f0ac6e4705ea04a1034a526e6ad5e6', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && hAsync("p", { key: '78a677126b60d1bbbd95ceecffef3d0408578dba', class: "invalid-feedback" }, this.error)));
|
|
31236
31240
|
}
|
|
31237
31241
|
static get watchers() { return {
|
|
31238
31242
|
"value": ["valueChanged"]
|
|
@@ -31263,6 +31267,40 @@ class RoadAreaCode {
|
|
|
31263
31267
|
}
|
|
31264
31268
|
let selectIds$2 = 0;
|
|
31265
31269
|
|
|
31270
|
+
const aspectRatioCss = ":host{display:block;width:100%;--road-aspect-ratio:16 / 9}.aspect-ratio-wrapper{aspect-ratio:var(--road-aspect-ratio);width:100%;display:block;position:relative;overflow:hidden}.aspect-ratio-content{width:100%;height:100%;position:absolute;inset:0}::slotted(img),::slotted(road-img),::slotted(video),::slotted(iframe){width:100%;height:100%;object-fit:cover;display:block}";
|
|
31271
|
+
|
|
31272
|
+
class RoadAspectRatio {
|
|
31273
|
+
constructor(hostRef) {
|
|
31274
|
+
registerInstance(this, hostRef);
|
|
31275
|
+
/**
|
|
31276
|
+
* Ratio allowed: "1/1", "16/9", "9/16", "4/3", "21/9", "3/4", "3/2"
|
|
31277
|
+
*/
|
|
31278
|
+
this.ratio = '1/1';
|
|
31279
|
+
}
|
|
31280
|
+
getCssRatio() {
|
|
31281
|
+
const [w, h] = this.ratio.split('/').map(Number);
|
|
31282
|
+
return `${w} / ${h}`;
|
|
31283
|
+
}
|
|
31284
|
+
render() {
|
|
31285
|
+
return (hAsync(Host, { key: 'b92ad68ab60f2cf5000e3dff38c11b69819d3233', style: { '--road-aspect-ratio': this.getCssRatio() } }, hAsync("div", { key: '75b1cff0bfa5572556d6680051286a4c498ac3b0', class: "aspect-ratio-wrapper" }, hAsync("div", { key: 'b0d42b6be22e1801c61045499d0482805d848071', class: "aspect-ratio-content" }, hAsync("slot", { key: 'b98dace10ed279c238ba61a443b5646ae99d389c' })))));
|
|
31286
|
+
}
|
|
31287
|
+
static get style() { return aspectRatioCss; }
|
|
31288
|
+
static get cmpMeta() { return {
|
|
31289
|
+
"$flags$": 9,
|
|
31290
|
+
"$tagName$": "road-aspect-ratio",
|
|
31291
|
+
"$members$": {
|
|
31292
|
+
"ratio": [1]
|
|
31293
|
+
},
|
|
31294
|
+
"$listeners$": undefined,
|
|
31295
|
+
"$lazyBundleId$": "-",
|
|
31296
|
+
"$attrsToReflect$": []
|
|
31297
|
+
}; }
|
|
31298
|
+
}
|
|
31299
|
+
|
|
31300
|
+
function commonjsRequire(path) {
|
|
31301
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
31302
|
+
}
|
|
31303
|
+
|
|
31266
31304
|
var libphonenumber = {exports: {}};
|
|
31267
31305
|
|
|
31268
31306
|
var hasRequiredLibphonenumber;
|
|
@@ -32568,7 +32606,10 @@ class RoadPhoneNumberInput {
|
|
|
32568
32606
|
const phoneType = Object.entries(libphonenumberExports.PhoneNumberType).find(entry => entry[1] === phoneUtil.getNumberType(parsedPhoneNumber));
|
|
32569
32607
|
this.returnObject.phone.numberType = phoneType[0];
|
|
32570
32608
|
}
|
|
32571
|
-
catch (_b) {
|
|
32609
|
+
catch (_b) {
|
|
32610
|
+
// Triggered when user enters a single digit value so we need to set the isError value manually
|
|
32611
|
+
this.returnObject.isError = true;
|
|
32612
|
+
}
|
|
32572
32613
|
finally {
|
|
32573
32614
|
this.roadPhoneNumberInput.emit(this.returnObject);
|
|
32574
32615
|
}
|
|
@@ -32630,9 +32671,9 @@ class RoadPhoneNumberInput {
|
|
|
32630
32671
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
32631
32672
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
32632
32673
|
const sizes = 'xl';
|
|
32633
|
-
return (hAsync(Host, { key: '
|
|
32674
|
+
return (hAsync(Host, { key: '96f1d888ec7b40c99f2a1c471302433ac359d4a8' }, hAsync("div", { key: '103dbde148d4a5a985b0d6e5fecb8df0f065c604', class: 'phone-number-inputs-container' }, hAsync("div", { key: '65c061a78585947baec8163a23d7574b3d8e5afa', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: '9109a14d6a0ee07121d60bacf5eff76471ba8bed', 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: '2bafbcfaadba933b2a192f75a7ff7740b04d9d1a', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: 'c325ffe0812ce2b4dbf6eae2143cf17163d18e05', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: 'e45b7a1378ce34b467383b274eb9b5dd87ecee88', 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: '8bf19db5fbf96d362699a0525d6dcddd69012df0', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
32634
32675
|
&& this.errorMessage !== ''
|
|
32635
|
-
&& hAsync("p", { key: '
|
|
32676
|
+
&& hAsync("p", { key: '4e19f941032f827a17e440df906656dc072c00e9', class: "invalid-feedback" }, hAsync("road-icon", { key: '99302a9a7f89d19ea942a3e7cadb4928daf31178', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
32636
32677
|
}
|
|
32637
32678
|
get el() { return getElement(this); }
|
|
32638
32679
|
static get style() { return phoneNumberInputCss; }
|
|
@@ -32671,7 +32712,7 @@ class Row {
|
|
|
32671
32712
|
registerInstance(this, hostRef);
|
|
32672
32713
|
}
|
|
32673
32714
|
render() {
|
|
32674
|
-
return (hAsync(Host, { key: '
|
|
32715
|
+
return (hAsync(Host, { key: '45ae65f3086ac3bc8d3da485f4896deebf9a4d44' }, hAsync("slot", { key: '08da822ce8337b3b0789239622f15d4f54bb8b48' })));
|
|
32675
32716
|
}
|
|
32676
32717
|
static get style() { return rowCss; }
|
|
32677
32718
|
static get cmpMeta() { return {
|
|
@@ -32684,7 +32725,7 @@ class Row {
|
|
|
32684
32725
|
}; }
|
|
32685
32726
|
}
|
|
32686
32727
|
|
|
32687
|
-
const segmentedButtonCss = ":host{--border-radius:0.25rem;--font-size:var(--road-button-medium);--margin-bottom:1rem;--padding-start:1.5rem;--padding-end:1.5rem;box-sizing:border-box;flex:1;align-items:center;justify-content:center;max-height:2.
|
|
32728
|
+
const segmentedButtonCss = ":host{--border-radius:0.25rem;--font-size:var(--road-button-medium);--margin-bottom:1rem;--padding-start:1.5rem;--padding-end:1.5rem;box-sizing:border-box;flex:1;align-items:center;justify-content:center;max-height:2.75rem;font-size:var(--road-button-medium);font-weight:700;color:var(--road-on-surface-weak);text-decoration:none;white-space:nowrap;vertical-align:middle;background-color:var(--road-surface);border-radius:8px;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;margin-right:var(--road-spacing-02);overflow:hidden}:host(:last-child){margin-right:0}:host(.btn-sm){height:2.5rem}:host(.btn-md){height:2.75rem}:host(.tab-selected){color:var(--road-button-primary);fill:var(--road-button-primary);background-color:var(--road-button-tertiary-variant)}:host(.tab-selected:hover){color:var(--road-button-primary);background-color:var(--road-button-tertiary-variant)}:host(:hover){color:var(--road-on-surface);background-color:var(--road-surface-inverse)}:host(.focus-visible){outline:auto}.button-native{position:relative;box-sizing:border-box;display:flex;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;padding:0.75rem var(--padding-end, 1.5rem) 0.75rem var(--padding-start, 1.5rem);margin:0;overflow:hidden;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;-webkit-user-drag:none;border-color:initial;border-style:initial;border-width:0;border-radius:inherit;border-image:initial;outline:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host ::slotted(road-icon){margin:-0.2rem var(--road-spacing-03) -0.2rem 0;float:left}.text-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}";
|
|
32688
32729
|
|
|
32689
32730
|
/**
|
|
32690
32731
|
*
|
|
@@ -32742,10 +32783,10 @@ class SegmentedButton {
|
|
|
32742
32783
|
render() {
|
|
32743
32784
|
const { tabIndex, selected, tab } = this;
|
|
32744
32785
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
32745
|
-
return (hAsync(Host, { key: '
|
|
32786
|
+
return (hAsync(Host, { key: 'cae21d6bc14231fcb48118dfa0fa6b031a99d4ea', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
32746
32787
|
'tab-selected': selected,
|
|
32747
32788
|
[`${sizeClass}`]: true,
|
|
32748
|
-
} }, hAsync("span", { key: '
|
|
32789
|
+
} }, hAsync("span", { key: '7531e7faf5dc244e584caddd45d93f1bb73e00d0', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("span", { key: '571c8d32176b69971dcf2e8c44dee4118daca298', class: "text-content" }, hAsync("slot", { key: '8cd94d461439d9929c94e026d46530504de22a2c' })))));
|
|
32749
32790
|
}
|
|
32750
32791
|
get el() { return getElement(this); }
|
|
32751
32792
|
static get style() { return segmentedButtonCss; }
|
|
@@ -32865,7 +32906,7 @@ class Select {
|
|
|
32865
32906
|
const labelId = this.selectId + '-label';
|
|
32866
32907
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
32867
32908
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32868
|
-
return (hAsync(Host, { key: '
|
|
32909
|
+
return (hAsync(Host, { key: 'd2b2a1746d196c3e7beffd36b0f7868bafbe49f3', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '02a0e3000fbda9dc1dee34817cbe10f028462e6b', 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: 'e5f667767952c4bb2f8c024861251a5a7b62b51c', 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: '4593752644f50270d09093c0530eba549aa98d7d', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '8b2d3387366e710ea7d1027911768aa3d49f2205', class: "invalid-feedback" }, this.error)));
|
|
32869
32910
|
}
|
|
32870
32911
|
static get watchers() { return {
|
|
32871
32912
|
"value": ["valueChanged"]
|
|
@@ -34661,8 +34702,7 @@ Fuse.config = Config;
|
|
|
34661
34702
|
register(ExtendedSearch);
|
|
34662
34703
|
}
|
|
34663
34704
|
|
|
34664
|
-
const selectFilterCss = ".sc-road-select-filter-h{--margin-top:3rem;position:relative;display:block}.select-filter-list.sc-road-select-filter{position:absolute;top:var(--margin-top);z-index:2;width:100%;max-height:16rem;padding:0;margin:0;overflow-y:scroll;font-family:var(--road-font, sans-serif);font-size:1rem;color:var(--road-on-surface);list-style-type:none;background:var(--road-surface);border-radius:0 0 0.25rem 0.25rem;box-shadow:var(--road-elevation-low)}.select-filter-list.not-active.sc-road-select-filter{opacity:0}.select-filter-item.sc-road-select-filter{display:flex;align-items:center;padding:0.75rem 1rem;cursor:pointer}.select-filter-item.active.sc-road-select-filter{outline:1px solid var(--road-input-outline-variant)}.select-filter-item.sc-road-select-filter:hover,.select-filter-item.sc-road-select-filter:focus,.select-filter-item.highlight.sc-road-select-filter{color:var(--road-on-primary);background:var(--road-primary)}";
|
|
34665
|
-
var RoadSelectFilterStyle0 = selectFilterCss;
|
|
34705
|
+
const selectFilterCss = ".sc-road-select-filter-h{--margin-top:3rem;position:relative;display:block}.select-filter-list.sc-road-select-filter{position:absolute;top:var(--margin-top);z-index:2;width:100%;max-height:16rem;padding:0;margin:0;overflow-y:scroll;font-family:var(--road-font, sans-serif);font-size:1rem;color:var(--road-on-surface);list-style-type:none;background:var(--road-surface);border-radius:0 0 0.25rem 0.25rem;box-shadow:var(--road-elevation-low)}.select-filter-list.not-active.sc-road-select-filter{opacity:0}.select-filter-item.sc-road-select-filter{display:flex;align-items:center;padding:0.75rem 1rem;cursor:pointer}.select-filter-item.active.sc-road-select-filter{outline:1px solid var(--road-input-outline-variant)}.select-filter-item.sc-road-select-filter:hover,.select-filter-item.sc-road-select-filter:focus,.select-filter-item.highlight.sc-road-select-filter{color:var(--road-on-primary);background:var(--road-primary)}.select-filter-loading.sc-road-select-filter,.select-filter-empty.sc-road-select-filter{padding:var(--road-spacing-04);color:var(--road-on-surface-disabled);font-style:italic}";
|
|
34666
34706
|
|
|
34667
34707
|
class SelectFilter {
|
|
34668
34708
|
constructor(hostRef) {
|
|
@@ -34846,11 +34886,14 @@ class SelectFilter {
|
|
|
34846
34886
|
const options = this.filteredOptions;
|
|
34847
34887
|
const isActive = this.isActive ? 'true' : 'false';
|
|
34848
34888
|
const notActive = this.isActive ? '' : 'not-active';
|
|
34849
|
-
return (hAsync(Host, { key: '
|
|
34850
|
-
hAsync("ul", { key: '41e10aed226c8131e4313ea33da1ea6c79969b80', 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 }))))));
|
|
34889
|
+
return (hAsync(Host, { key: 'f5763e583a52e37736c66d315c9e2f0da4732aa7', "is-active": isActive }, hAsync("slot", { key: 'a245c86d7017426c664a9820f74c7007f239886a' }), this.isOpen && (hAsync("div", { key: '2e1adae9f36d36cb87eec0f12ca947d018739a85', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (hAsync("div", { class: "select-filter-empty" }, "Aucune option")) : (hAsync("ul", { class: "pl-0" }, options.map((option, idx) => (hAsync("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
|
|
34851
34890
|
}
|
|
34852
34891
|
get el() { return getElement(this); }
|
|
34853
|
-
static get
|
|
34892
|
+
static get watchers() { return {
|
|
34893
|
+
"loading": ["loadingChanged"],
|
|
34894
|
+
"options": ["onOptionsChange"]
|
|
34895
|
+
}; }
|
|
34896
|
+
static get style() { return selectFilterCss; }
|
|
34854
34897
|
static get cmpMeta() { return {
|
|
34855
34898
|
"$flags$": 6,
|
|
34856
34899
|
"$tagName$": "road-select-filter",
|
|
@@ -34878,7 +34921,7 @@ class Skeleton {
|
|
|
34878
34921
|
registerInstance(this, hostRef);
|
|
34879
34922
|
}
|
|
34880
34923
|
render() {
|
|
34881
|
-
return (hAsync("span", { key: '
|
|
34924
|
+
return (hAsync("span", { key: '1c73d98365f4ca0c2c79d5eaf6811f0b8e376227' }, "\u00A0"));
|
|
34882
34925
|
}
|
|
34883
34926
|
static get style() { return skeletonCss; }
|
|
34884
34927
|
static get cmpMeta() { return {
|
|
@@ -34908,7 +34951,7 @@ class Spinner {
|
|
|
34908
34951
|
render() {
|
|
34909
34952
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
34910
34953
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
34911
|
-
return (hAsync("svg", { key: '
|
|
34954
|
+
return (hAsync("svg", { key: '2d36f9d19cfc06dffdc7e68f52b844653f9e26ba', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'bdec60751f861702318032951fd0afb5fb162b3e', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
34912
34955
|
}
|
|
34913
34956
|
static get style() { return spinnerCss; }
|
|
34914
34957
|
static get cmpMeta() { return {
|
|
@@ -34957,7 +35000,7 @@ class Stepper {
|
|
|
34957
35000
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
34958
35001
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
34959
35002
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
34960
|
-
return (hAsync(Host, { key: '
|
|
35003
|
+
return (hAsync(Host, { key: '5fb4f95feb51504849f8ec692a44b0516036e73c' }, hAsync("nav", { key: '007f8ec143591bf4f8ba9add32cac54b09522f8f' }, hAsync("ul", { key: '6edf248b5df5262010321337ce62002be463993b', class: `${colorClass}` }, hAsync("li", { key: 'a6b96a6b492a4aa2fa7e459656fc6ba083b1f5d8', class: `${stateClass}` }, hAsync("a", { key: '03bc4659d4e6574e08877e6d3bb7ea1bcc13ee8a', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: '7ace5884ea084805837be9e6a9fba491de2c8b77', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'd54f4b305686115494d5925c489d363dc038f8cc', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: '4ccec0697171d08dd61b443376edeaaf9e39ea96', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '4e65f4db51af6cac17da3e867ec24f26dcda7ee1', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: '9b367a54778d78d3ffd128c0962e9b7975da3686', class: `${stateSecondStepClass}` }, hAsync("a", { key: '82d891b27a1e54c281093206c6451fcc80ee4ce9', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: 'cf674779aff0615b323a744a947640b050422b21', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '09d920c9f69e9beb6ebe6d380cbd3d88d5a3e17b', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '52352186d1119c3c8e1af91a0930c8098a93c20e', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '251ef8cc66a7ec0c98b5e8dec9c4b5fd89966187', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: 'c1377248fd8fb572f3bf130b02bfc5088fd84f71', class: `${stateThirdStepClass}` }, hAsync("a", { key: 'c10481522aaa019b610a25f2edef96d32cb8a707', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: 'b3ad8e2ab92443549f4d570d293ad6ba3f1a2598', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'f4131acbc5db9d7a39aabac82c8a7e287020b3e9', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: '19b2437e2d1733083ef8a3257a2b1611ae53c742', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: 'a851398573ee5c0c0955f31fa94a29767af778fa', name: "progress-indicator-horizontal-title3" }))))))));
|
|
34961
35004
|
}
|
|
34962
35005
|
static get style() { return progressIndicatorHorizontalCss; }
|
|
34963
35006
|
static get cmpMeta() { return {
|
|
@@ -35058,11 +35101,11 @@ class Switch {
|
|
|
35058
35101
|
}
|
|
35059
35102
|
render() {
|
|
35060
35103
|
const labelId = this.switchId + '-label';
|
|
35061
|
-
const textLabel = hAsync("label", { key: '
|
|
35104
|
+
const textLabel = hAsync("label", { key: '79cb0ac4d868a5fe6b107e6abdb16936b771730e', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
35062
35105
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
35063
35106
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
35064
35107
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
35065
|
-
return (hAsync(Host, { key: '
|
|
35108
|
+
return (hAsync(Host, { key: '89921d2b279ed0a021d907b5f7eab042817284f4' }, hAsync("input", { key: '413c1408442dbcb3c9c0cc9d85eceb0aec364d4e', 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: 'f05d0fc455024b8e9317847a3b339463263e6df8', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: 'e454b77ea855f3dc26a3fcb3a67567cda411f715', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
35066
35109
|
}
|
|
35067
35110
|
static get watchers() { return {
|
|
35068
35111
|
"checked": ["checkedChanged"]
|
|
@@ -35116,9 +35159,9 @@ class Tab {
|
|
|
35116
35159
|
}
|
|
35117
35160
|
render() {
|
|
35118
35161
|
const { tab, active } = this;
|
|
35119
|
-
return (hAsync(Host, { key: '
|
|
35162
|
+
return (hAsync(Host, { key: 'eeecdb63e824d96654db156516c643dc2730a699', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35120
35163
|
'tab-hidden': !active,
|
|
35121
|
-
} }, hAsync("slot", { key: '
|
|
35164
|
+
} }, hAsync("slot", { key: '8b9f70389aac4c6e89e4c3515b2cd73197b1d170' })));
|
|
35122
35165
|
}
|
|
35123
35166
|
get el() { return getElement(this); }
|
|
35124
35167
|
static get style() { return tabCss; }
|
|
@@ -35177,11 +35220,11 @@ class TabBar {
|
|
|
35177
35220
|
}
|
|
35178
35221
|
render() {
|
|
35179
35222
|
const { expand, center, secondary } = this;
|
|
35180
|
-
return (hAsync(Host, { key: '
|
|
35223
|
+
return (hAsync(Host, { key: 'cca42c0494daa656fd39cd0740c7eb27b6369c2a', role: "tablist", class: {
|
|
35181
35224
|
'tab-expand': expand,
|
|
35182
35225
|
'tab-center': center,
|
|
35183
35226
|
'tab-secondary': secondary,
|
|
35184
|
-
} }, hAsync("slot", { key: '
|
|
35227
|
+
} }, hAsync("slot", { key: '7e22173ee4e35e6c54f56ac3faa67d373adcea59' })));
|
|
35185
35228
|
}
|
|
35186
35229
|
get el() { return getElement(this); }
|
|
35187
35230
|
static get watchers() { return {
|
|
@@ -35280,7 +35323,7 @@ class TabButton {
|
|
|
35280
35323
|
rel,
|
|
35281
35324
|
target,
|
|
35282
35325
|
};
|
|
35283
|
-
return (hAsync(Host, { key: '
|
|
35326
|
+
return (hAsync(Host, { key: '774a4a284c4fb2deeba7dc439b8b4177fe041d2d', 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: {
|
|
35284
35327
|
'tab-selected': selected,
|
|
35285
35328
|
'tab-has-label': hasLabel,
|
|
35286
35329
|
'tab-has-icon': hasIcon,
|
|
@@ -35288,7 +35331,7 @@ class TabButton {
|
|
|
35288
35331
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
35289
35332
|
[`tab-layout-${layout}`]: true,
|
|
35290
35333
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
35291
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35334
|
+
} }, hAsync("a", Object.assign({ key: 'd82227bfee1ece6cdcf0145f5eb855bf6b4d3db3' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: 'a73488f39bc479bd9c8c15c633a727badef2071b', class: "button-inner" }, hAsync("slot", { key: '5cc214c73506c8be17edfc9102c1501cb762d70f' })))));
|
|
35292
35335
|
}
|
|
35293
35336
|
get el() { return getElement(this); }
|
|
35294
35337
|
static get style() { return tabButtonCss; }
|
|
@@ -35321,7 +35364,7 @@ class Table {
|
|
|
35321
35364
|
registerInstance(this, hostRef);
|
|
35322
35365
|
}
|
|
35323
35366
|
render() {
|
|
35324
|
-
return (hAsync("slot", { key: '
|
|
35367
|
+
return (hAsync("slot", { key: '5c0048ebd54c9af4d14580d36bab82048b3763a1' }));
|
|
35325
35368
|
}
|
|
35326
35369
|
static get style() { return tableCss; }
|
|
35327
35370
|
static get cmpMeta() { return {
|
|
@@ -35428,7 +35471,7 @@ let Tabs$1 = class Tabs {
|
|
|
35428
35471
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35429
35472
|
}
|
|
35430
35473
|
render() {
|
|
35431
|
-
return (hAsync(Host, { key: '
|
|
35474
|
+
return (hAsync(Host, { key: 'b77bc4e87de9962751c0b9358d61d2a58dd86951', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: 'e2e92cdea7072359cdd1694cbe61e5e3de327dcb', name: "top" }), hAsync("slot", { key: '0b06bb991f12c9be548da9a4beb997aec05f90af' })));
|
|
35432
35475
|
}
|
|
35433
35476
|
get el() { return getElement(this); }
|
|
35434
35477
|
static get style() { return segmentedButtonsCss; }
|
|
@@ -35563,7 +35606,7 @@ class Tabs {
|
|
|
35563
35606
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35564
35607
|
}
|
|
35565
35608
|
render() {
|
|
35566
|
-
return (hAsync(Host, { key: '
|
|
35609
|
+
return (hAsync(Host, { key: '05acecd3910295bc0127c3cf6cc55d676b6efea7', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '095651dfddb022c5d0ebe08caeddfa78c69c835d', name: "top" }), hAsync("div", { key: '296e1fdf6af02b111360d421aecabaab221c20f2', class: "tabs-inner" }, hAsync("slot", { key: '9e810a2c143a412e96206d7c368a63068ea48b65' }))));
|
|
35567
35610
|
}
|
|
35568
35611
|
get el() { return getElement(this); }
|
|
35569
35612
|
static get style() { return tabsCss; }
|
|
@@ -35610,7 +35653,7 @@ class Tag {
|
|
|
35610
35653
|
}
|
|
35611
35654
|
render() {
|
|
35612
35655
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
35613
|
-
return (hAsync(Host, { key: '
|
|
35656
|
+
return (hAsync(Host, { key: '9a20d9c253b2d77f6b4e6c9e7afb855b5decdcef', class: `${contrastClass}` }, hAsync("slot", { key: 'e10080b0988a3232bd59ebbc41f004dfeb07f73d' })));
|
|
35614
35657
|
}
|
|
35615
35658
|
static get style() { return tagCss; }
|
|
35616
35659
|
static get cmpMeta() { return {
|
|
@@ -35641,7 +35684,7 @@ class Text {
|
|
|
35641
35684
|
}
|
|
35642
35685
|
render() {
|
|
35643
35686
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
35644
|
-
return (hAsync(Host, { key: '
|
|
35687
|
+
return (hAsync(Host, { key: 'b66cff38ca6f5cf38b6371548b01242beffcfce2', class: `${colorClass}` }, hAsync("slot", { key: '73e52f4c30b53e24219ebcc9599b2f6411a43f28' })));
|
|
35645
35688
|
}
|
|
35646
35689
|
static get style() { return textCss; }
|
|
35647
35690
|
static get cmpMeta() { return {
|
|
@@ -35750,7 +35793,7 @@ class Textarea {
|
|
|
35750
35793
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
35751
35794
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
35752
35795
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
35753
|
-
return (hAsync(Host, { key: '
|
|
35796
|
+
return (hAsync(Host, { key: 'a087d6d34a5fefca1b1ec80c4a76bab25bc7b1c8', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: 'eb80bd7388af2c214acf97e2d72220abc6e8445f', 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: 'f6c416ac6404faeb4c9195df0d8ceafc1c469f94', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '991471834ee8703f11b8e860e4b901245ea6ea1a', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'b1cb8b4aa6f222c2ccf4b59998aa72661741fd0c', class: "helper" }, this.helper)));
|
|
35754
35797
|
}
|
|
35755
35798
|
static get watchers() { return {
|
|
35756
35799
|
"value": ["valueChanged"]
|
|
@@ -35880,7 +35923,7 @@ class Toast {
|
|
|
35880
35923
|
if (this.color == 'danger') {
|
|
35881
35924
|
this.timeout = 0;
|
|
35882
35925
|
}
|
|
35883
|
-
return (hAsync(Host, { key: '
|
|
35926
|
+
return (hAsync(Host, { key: '7d4bf35944f54f4deec4c40653a125da96f0099e', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: '329c3fce2b5102d0ac4a17a6976bdad2b0298483', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: '311c77f71f368823abc4bdb0070293bae2d27fd7', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: '889bade1e4f660924d0a6cf0f911c63185565401', class: "toast-label" }, this.label), hAsync("button", { key: '01751acd7a0e6b31a8615a90fd90b755ff96472f', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: '82582a26256ffb719f2c363a28c81d34fa215834', icon: navigationClose, size: "md" })), hAsync("slot", { key: '0b3f93e31824066f95c657d193e931b1b75c64f4', name: "progress" }))));
|
|
35884
35927
|
}
|
|
35885
35928
|
static get watchers() { return {
|
|
35886
35929
|
"isOpen": ["isOpenChanged"]
|
|
@@ -35919,7 +35962,7 @@ class Toolbar {
|
|
|
35919
35962
|
}
|
|
35920
35963
|
render() {
|
|
35921
35964
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
35922
|
-
return (hAsync(Host, { key: '
|
|
35965
|
+
return (hAsync(Host, { key: '63a364ad167e43015451bbeab90c253f59608cda', class: colorClass }, hAsync("div", { key: 'fb8756c250c6db8670a3eaa520474af12a970028', class: "toolbar-container" }, hAsync("slot", { key: '98eb64533672bb4185a0b11a44372dc667baa82f', name: "start" }), hAsync("slot", { key: 'a243f1202503ac86eb8e416d751b122826606a02', name: "primary" }), hAsync("div", { key: 'bef1f6af1753f2340da2a66e86404dfba24ee555', class: "toolbar-content" }, hAsync("slot", { key: '23d28c7dcbc2255c590c1c3f4c034daf8176106a' })), hAsync("slot", { key: 'a3ca8cda5b1552e7161888590c2b95c5862cb485', name: "secondary" }), hAsync("slot", { key: '81c4ac8ea5e41913e2d1a255c08dba1dcaa70f95', name: "end" }))));
|
|
35923
35966
|
}
|
|
35924
35967
|
static get style() { return toolbarCss; }
|
|
35925
35968
|
static get cmpMeta() { return {
|
|
@@ -35944,7 +35987,7 @@ class ToolbarAppName {
|
|
|
35944
35987
|
registerInstance(this, hostRef);
|
|
35945
35988
|
}
|
|
35946
35989
|
render() {
|
|
35947
|
-
return (hAsync("div", { key: '
|
|
35990
|
+
return (hAsync("div", { key: '01094ecc6837837b8fd18e5829078c1a54221dc1', class: "toolbar-title-page" }, hAsync("slot", { key: '53ca9b11ef21cda9604c7e0362dc4176c4108716' })));
|
|
35948
35991
|
}
|
|
35949
35992
|
static get style() { return toolbarTitlePageCss; }
|
|
35950
35993
|
static get cmpMeta() { return {
|
|
@@ -35967,7 +36010,7 @@ class ToolbarTitle {
|
|
|
35967
36010
|
registerInstance(this, hostRef);
|
|
35968
36011
|
}
|
|
35969
36012
|
render() {
|
|
35970
|
-
return (hAsync("div", { key: '
|
|
36013
|
+
return (hAsync("div", { key: '141f31d50d366f00d2e5a29361c421be0180feff', class: "toolbar-title" }, hAsync("slot", { key: 'c64e22a74199df1d633094abcee58d3b1a5f2252' })));
|
|
35971
36014
|
}
|
|
35972
36015
|
static get style() { return toolbarTitleCss; }
|
|
35973
36016
|
static get cmpMeta() { return {
|
|
@@ -35995,7 +36038,7 @@ class ToolbarV2 {
|
|
|
35995
36038
|
registerInstance(this, hostRef);
|
|
35996
36039
|
}
|
|
35997
36040
|
render() {
|
|
35998
|
-
return (hAsync(Host, { key: '
|
|
36041
|
+
return (hAsync(Host, { key: '1aca93203e2021c4888b7996e15c44dd2cf16360', class: "toolbar" }, hAsync("div", { key: '6f9083336620b3d21b134cf4f10af438c7e0d3e7', class: "toolbar-container" }, hAsync("div", { key: 'd67fa62a701365df3862194fd4c43367319e3c4b', class: "toolbar-container-content-left" }, hAsync("slot", { key: '2612270bd2c4d9ded2eb201fb842ca26bca3c951', name: "start" }), hAsync("slot", { key: '81afffdab7ffb72af8beaa3ec295d1e25e2e19b6', name: "primary" })), hAsync("div", { key: 'b01be324da15085113be7b531dec3cea251d50eb', class: "toolbar-content" }, hAsync("slot", { key: 'ba20e8ab415a28b1b9bcfc619c73f6ad00e33c6e' })), hAsync("div", { key: 'cebee1842be3c423902f4dc8d773df47cf7c65c9', class: "toolbar-container-content-right" }, hAsync("slot", { key: '961be50c2445691c6f3e0078aa6854c554eb4f1e', name: "secondary" }), hAsync("slot", { key: 'ba1e39456c24b2fb7afc6433e85ee73090e28fec', name: "end" })))));
|
|
35999
36042
|
}
|
|
36000
36043
|
static get style() { return toolbarV2Css; }
|
|
36001
36044
|
static get cmpMeta() { return {
|
|
@@ -36107,12 +36150,12 @@ class Tooltip {
|
|
|
36107
36150
|
return triggers.includes(triggerType);
|
|
36108
36151
|
}
|
|
36109
36152
|
render() {
|
|
36110
|
-
return (hAsync(Host, { key: '
|
|
36153
|
+
return (hAsync(Host, { key: '8a5f15892863cee464a2c99ee67462cac8bc4174', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
36111
36154
|
,
|
|
36112
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
36155
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: 'b5979e5fdf3b992e4abdddf54859370e5b77a29b', "aria-describedby": this.tooltipId }), hAsync("div", { key: 'f4753ffc337c8c06d56a4a993942d9d1f1193fba', part: "tooltip", id: this.tooltipId, class: {
|
|
36113
36156
|
tooltip: true,
|
|
36114
36157
|
'tooltip-open': this.isOpen,
|
|
36115
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '
|
|
36158
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: 'b0d08c77ee74a8fd03b5d1c685a6a9087ccc5b5e', name: "tooltip-content" }))));
|
|
36116
36159
|
}
|
|
36117
36160
|
get el() { return getElement(this); }
|
|
36118
36161
|
static get style() { return tooltipCss; }
|
|
@@ -36211,11 +36254,11 @@ class toggle {
|
|
|
36211
36254
|
}
|
|
36212
36255
|
render() {
|
|
36213
36256
|
const labelId = this.toggleId + '-label';
|
|
36214
|
-
const textLabel = hAsync("label", { key: '
|
|
36257
|
+
const textLabel = hAsync("label", { key: 'baf147d5104cf001ba4eff0261c564194d394c77', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
36215
36258
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
36216
36259
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
36217
36260
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
36218
|
-
return (hAsync(Host, { key: '
|
|
36261
|
+
return (hAsync(Host, { key: '9e80f24bd145abdfd7d7c42cecac18e41f327af8' }, hAsync("input", { key: 'eed53afb0304954f33f1f723778ce5e177cf4894', 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: '3befc881f67d10102778e67703627e9ecef5e73d', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '1d1b093542cfd8b20f42363d0f16cde73ca89026', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
36219
36262
|
}
|
|
36220
36263
|
static get watchers() { return {
|
|
36221
36264
|
"checked": ["checkedChanged"]
|