@roadtrip/components 3.33.7 → 3.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-fee0103c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +14 -10
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
- package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-card.cjs.entry.js +73 -0
- package/dist/cjs/road-radio-card.cjs.entry.js.map +1 -0
- package/dist/cjs/road-radio-group.cjs.entry.js +8 -1
- package/dist/cjs/road-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/road-radio.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +2 -2
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +2 -2
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +2 -2
- package/dist/cjs/road-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/input/input.css +1 -0
- package/dist/collection/components/input/input.js +8 -4
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.stories.js +25 -9
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/modal.stories.js +4 -3
- package/dist/collection/components/navbar/navbar.js +1 -1
- package/dist/collection/components/navbar-item/navbar-item.js +2 -2
- package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
- package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
- package/dist/collection/components/plate-number/plate-number.js +2 -2
- package/dist/collection/components/plate-number/plate-number.stories.js +18 -12
- package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
- package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
- package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio/radio.stories.js +12 -6
- package/dist/collection/components/radio-card/radio-card.css +234 -0
- package/dist/collection/components/radio-card/radio-card.js +253 -0
- package/dist/collection/components/radio-card/radio-card.js.map +1 -0
- package/dist/collection/components/radio-card/radio-card.stories.js +90 -0
- package/dist/collection/components/radio-group/radio-group.js +8 -1
- package/dist/collection/components/radio-group/radio-group.js.map +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/range/range.stories.js +4 -3
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select/select.stories.js +12 -7
- package/dist/collection/components/select-filter/select-filter.js +2 -2
- package/dist/collection/components/select-filter/select-filter.stories.js +4 -2
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.css +5 -2
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +18 -12
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.stories.js +4 -2
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle/toggle.stories.js +12 -7
- 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.css +31 -0
- package/dist/collection/components/tooltip/tooltip.js +5 -5
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/esm/index-8dc34f94.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-badge_14.entry.js +14 -10
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item-v2.entry.js +2 -2
- package/dist/esm/road-navbar-item.entry.js +2 -2
- package/dist/esm/road-navbar-v2.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-phone-number-input.entry.js +2 -2
- package/dist/esm/road-plate-number.entry.js +2 -2
- package/dist/esm/road-profil-dropdown.entry.js +1 -1
- package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
- package/dist/esm/road-progress-tracker-item.entry.js +1 -1
- package/dist/esm/road-progress-tracker.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-card.entry.js +69 -0
- package/dist/esm/road-radio-card.entry.js.map +1 -0
- package/dist/esm/road-radio-group.entry.js +8 -1
- package/dist/esm/road-radio-group.entry.js.map +1 -1
- package/dist/esm/road-radio.entry.js +1 -1
- package/dist/esm/road-range.entry.js +2 -2
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +2 -2
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +2 -2
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +2 -2
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +2 -2
- package/dist/esm/road-textarea.entry.js.map +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +4 -4
- package/dist/esm/road-tooltip.entry.js.map +1 -1
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +52 -1
- package/dist/roadtrip/{p-6c617506.entry.js → p-02a6e387.entry.js} +2 -2
- package/dist/roadtrip/{p-03656f9a.entry.js → p-0a6c9571.entry.js} +2 -2
- package/dist/roadtrip/{p-3f5dff96.entry.js → p-0b847a5d.entry.js} +2 -2
- package/dist/roadtrip/{p-e0421465.entry.js → p-0d7b6e32.entry.js} +2 -2
- package/dist/roadtrip/{p-a67eaba7.entry.js → p-0dce3168.entry.js} +3 -3
- package/dist/roadtrip/p-0dce3168.entry.js.map +1 -0
- package/dist/roadtrip/p-16726940.entry.js +2 -0
- package/dist/roadtrip/p-1ca62c28.entry.js +2 -0
- package/dist/roadtrip/{p-6d3d947e.entry.js.map → p-1ca62c28.entry.js.map} +1 -1
- package/dist/roadtrip/{p-60bd73ad.entry.js → p-327d424c.entry.js} +2 -2
- package/dist/roadtrip/{p-c6824205.entry.js → p-355fcb74.entry.js} +2 -2
- package/dist/roadtrip/p-4a0711c8.entry.js +2 -0
- package/dist/roadtrip/p-4a0711c8.entry.js.map +1 -0
- package/dist/roadtrip/p-4b1ac843.entry.js +2 -0
- package/dist/roadtrip/p-50d9ed52.entry.js +2 -0
- package/dist/roadtrip/{p-db77c354.entry.js.map → p-50d9ed52.entry.js.map} +1 -1
- package/dist/roadtrip/{p-e75ec60f.entry.js → p-56f18548.entry.js} +2 -2
- package/dist/roadtrip/{p-fe40ab3d.entry.js → p-5f2a4cd5.entry.js} +2 -2
- package/dist/roadtrip/{p-fd3c58b6.entry.js → p-5f6255ea.entry.js} +2 -2
- package/dist/roadtrip/{p-c28e7add.entry.js → p-6cde1247.entry.js} +2 -2
- package/dist/roadtrip/{p-6ff3b37c.entry.js → p-6e65c377.entry.js} +2 -2
- package/dist/roadtrip/p-6ef0a03b.entry.js +2 -0
- package/dist/roadtrip/{p-d80e7563.entry.js.map → p-6ef0a03b.entry.js.map} +1 -1
- package/dist/roadtrip/{p-2e049c8e.entry.js → p-780de42a.entry.js} +2 -2
- package/dist/roadtrip/{p-b5fa8c5a.entry.js → p-7d693464.entry.js} +2 -2
- package/dist/roadtrip/{p-517aeeca.entry.js → p-7ea16bfa.entry.js} +2 -2
- package/dist/roadtrip/p-80344aa2.entry.js +2 -0
- package/dist/roadtrip/p-80344aa2.entry.js.map +1 -0
- package/dist/roadtrip/p-8c6ad79a.entry.js +2 -0
- package/dist/roadtrip/{p-a254df6d.entry.js → p-a0c91322.entry.js} +2 -2
- package/dist/roadtrip/{p-c465f551.entry.js → p-a406a342.entry.js} +2 -2
- package/dist/roadtrip/{p-e6e9882b.entry.js → p-a5c363f2.entry.js} +2 -2
- package/dist/roadtrip/{p-5fea6a74.entry.js → p-ad9055c1.entry.js} +2 -2
- package/dist/roadtrip/{p-37430583.entry.js → p-b0203787.entry.js} +2 -2
- package/dist/roadtrip/{p-3dcaa947.entry.js → p-c01aaf61.entry.js} +2 -2
- package/dist/roadtrip/p-c09d87da.entry.js +2 -0
- package/dist/roadtrip/{p-8b04fc62.entry.js → p-cd1e078c.entry.js} +2 -2
- package/dist/roadtrip/p-cd436a46.entry.js +2 -0
- package/dist/roadtrip/{p-b8c5d292.entry.js.map → p-cd436a46.entry.js.map} +1 -1
- package/dist/roadtrip/p-d9cbd0b9.entry.js +2 -0
- package/dist/roadtrip/p-d9cbd0b9.entry.js.map +1 -0
- package/dist/roadtrip/{p-eac313e4.entry.js → p-da0e9f4e.entry.js} +2 -2
- package/dist/roadtrip/{p-ea1a175d.entry.js → p-df2f066e.entry.js} +2 -2
- package/dist/roadtrip/p-dfc0d1c5.entry.js +2 -0
- package/dist/roadtrip/p-dfc0d1c5.entry.js.map +1 -0
- package/dist/roadtrip/{p-c47ccbf2.entry.js → p-edfb6a90.entry.js} +2 -2
- package/dist/roadtrip/{p-950b8a43.entry.js → p-f1ef265d.entry.js} +2 -2
- package/dist/roadtrip/{p-167cd2fc.entry.js → p-f5bcb8d6.entry.js} +2 -2
- package/dist/roadtrip/{p-99a6faae.entry.js → p-f91b8ee7.entry.js} +2 -2
- package/dist/roadtrip/p-fb33aa91.entry.js +2 -0
- package/dist/roadtrip/{p-f1b53143.entry.js → p-ff430279.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/radio-card/radio-card.d.ts +25 -0
- package/dist/types/components/radio-group/radio-group.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +57 -4
- package/hydrate/index.js +192 -100
- package/hydrate/index.mjs +192 -100
- package/package.json +1 -1
- package/dist/roadtrip/p-06fbd2ea.entry.js +0 -2
- package/dist/roadtrip/p-06fbd2ea.entry.js.map +0 -1
- package/dist/roadtrip/p-215afdbd.entry.js +0 -2
- package/dist/roadtrip/p-449affa6.entry.js +0 -2
- package/dist/roadtrip/p-4675ea6d.entry.js +0 -2
- package/dist/roadtrip/p-65f9bd9c.entry.js +0 -2
- package/dist/roadtrip/p-6d3d947e.entry.js +0 -2
- package/dist/roadtrip/p-85b1e505.entry.js +0 -2
- package/dist/roadtrip/p-a67eaba7.entry.js.map +0 -1
- package/dist/roadtrip/p-b8c5d292.entry.js +0 -2
- package/dist/roadtrip/p-cfd2919e.entry.js +0 -2
- package/dist/roadtrip/p-cfd2919e.entry.js.map +0 -1
- package/dist/roadtrip/p-d80e7563.entry.js +0 -2
- package/dist/roadtrip/p-db77c354.entry.js +0 -2
- package/dist/roadtrip/p-e6c4c576.entry.js +0 -2
- package/dist/roadtrip/p-e6c4c576.entry.js.map +0 -1
- /package/dist/roadtrip/{p-6c617506.entry.js.map → p-02a6e387.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-03656f9a.entry.js.map → p-0a6c9571.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3f5dff96.entry.js.map → p-0b847a5d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e0421465.entry.js.map → p-0d7b6e32.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-65f9bd9c.entry.js.map → p-16726940.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-60bd73ad.entry.js.map → p-327d424c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c6824205.entry.js.map → p-355fcb74.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-215afdbd.entry.js.map → p-4b1ac843.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e75ec60f.entry.js.map → p-56f18548.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fe40ab3d.entry.js.map → p-5f2a4cd5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fd3c58b6.entry.js.map → p-5f6255ea.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c28e7add.entry.js.map → p-6cde1247.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6ff3b37c.entry.js.map → p-6e65c377.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2e049c8e.entry.js.map → p-780de42a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b5fa8c5a.entry.js.map → p-7d693464.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-517aeeca.entry.js.map → p-7ea16bfa.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4675ea6d.entry.js.map → p-8c6ad79a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a254df6d.entry.js.map → p-a0c91322.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c465f551.entry.js.map → p-a406a342.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e6e9882b.entry.js.map → p-a5c363f2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5fea6a74.entry.js.map → p-ad9055c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-37430583.entry.js.map → p-b0203787.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3dcaa947.entry.js.map → p-c01aaf61.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-85b1e505.entry.js.map → p-c09d87da.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8b04fc62.entry.js.map → p-cd1e078c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eac313e4.entry.js.map → p-da0e9f4e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ea1a175d.entry.js.map → p-df2f066e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c47ccbf2.entry.js.map → p-edfb6a90.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-950b8a43.entry.js.map → p-f1ef265d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-167cd2fc.entry.js.map → p-f5bcb8d6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-99a6faae.entry.js.map → p-f91b8ee7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-449affa6.entry.js.map → p-fb33aa91.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f1b53143.entry.js.map → p-ff430279.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -3200,7 +3200,7 @@ class Accordion {
|
|
|
3200
3200
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3201
3201
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3202
3202
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3203
|
-
return (hAsync("details", { key: '
|
|
3203
|
+
return (hAsync("details", { key: 'c9a6c0e2ad437a103ebe91b0d41264e7e5dc7753', class: `${accordionLight} ${accordionSmall} ${accordionLightSeparator}`, open: this.isOpen }, hAsync("summary", { key: 'e7dc223d9fc954ec5475878d7e1b3dd439905f2c', class: "accordion-trigger", "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: 'ca999363093dc602f09d3a4e59564b0a63a3b0d7', class: accordionLightHeader }, hAsync("slot", { key: '9e52b302200f0701db942a3fe5be83bee840bcae', name: "icon-left" }), hAsync("slot", { key: '2bab52ed698e03616054ab683ad245df2e70f6e6', name: "header" }), hAsync("road-icon", { key: 'a86e295024d05d253667000c984de7f8098ced15', class: "accordion-arrow", icon: navigationChevron }))), hAsync("div", { key: '484cd033b86154b119bf84e29a0b8637c71ccd2c', class: accordionLightContent }, hAsync("slot", { key: '2e38ff82cd7bc4364cfba33a6a5484389a98874c' }))));
|
|
3204
3204
|
}
|
|
3205
3205
|
static get style() { return RoadAccordionStyle0; }
|
|
3206
3206
|
static get cmpMeta() { return {
|
|
@@ -3235,7 +3235,7 @@ class Alert {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
render() {
|
|
3237
3237
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3238
|
-
return (hAsync(Host, { key: '
|
|
3238
|
+
return (hAsync(Host, { key: 'e1f259980ee87b4104daac18ce17f372cfdc43ba', class: colorClass, role: "alert" }, hAsync("div", { key: 'ed4f3b282d56519d77c6761f7bce5f77ef4e3c3e', class: "alert-icon" }, hAsync("slot", { key: '53d85d1cd95ac105d6f7cff0b79cbaebf844eee0', name: "icon" })), hAsync("div", { key: '9ed3179345055f9a88ff4db2155ff74501e2e5b6' }, this.label && hAsync("span", { key: '95ca58858f917445c0cde5cd258bfbe9d884b3d2', class: "alert-title d-block" }, this.label), hAsync("p", { key: '658769ffb57a7453d8eb211f367621c0836228cd', class: "alert-description" }, hAsync("slot", { key: '392355aced220deb7409c7b6dcaab16fad08428e' }), this.link && hAsync("a", { key: 'eaa4966c1b7116a19e971a76ce1c7d416c2ddbc8', href: this.url, class: "alert-link link link-default" }, this.link)))));
|
|
3239
3239
|
}
|
|
3240
3240
|
static get style() { return RoadAlertStyle0; }
|
|
3241
3241
|
static get cmpMeta() { return {
|
|
@@ -3334,7 +3334,7 @@ class Asset {
|
|
|
3334
3334
|
}
|
|
3335
3335
|
}
|
|
3336
3336
|
render() {
|
|
3337
|
-
return (hAsync(Host, { key: '
|
|
3337
|
+
return (hAsync(Host, { key: '54e16773c7d063c37bc746a1787d997ebcc95d58', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3338
3338
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3339
3339
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3340
3340
|
}
|
|
@@ -3404,8 +3404,8 @@ class Autocomplete {
|
|
|
3404
3404
|
}
|
|
3405
3405
|
}
|
|
3406
3406
|
render() {
|
|
3407
|
-
return (hAsync(Host, { key: '
|
|
3408
|
-
hAsync("ul", { key: '
|
|
3407
|
+
return (hAsync(Host, { key: 'd3225c0633a9a0d56aaab400d6a7d938aff7dec5' }, hAsync("slot", { key: '11ab196487abcf68e7604a1c631423b6036273bc' }), this.visible && this.options.length > 0 &&
|
|
3408
|
+
hAsync("ul", { key: '88cd664f0532c5d1b4c3f7d09c4ffd22aed09350', class: "autocomplete-list" }, this.options && this.options.map(option => (hAsync("li", { class: "autocomplete-item", role: "menuitem", onClick: () => this.onClick(option.value, option.label), tabindex: "0" }, option.label))))));
|
|
3409
3409
|
}
|
|
3410
3410
|
get el() { return getElement(this); }
|
|
3411
3411
|
static get style() { return RoadAutocompleteStyle0; }
|
|
@@ -3438,7 +3438,7 @@ class Avatar {
|
|
|
3438
3438
|
}
|
|
3439
3439
|
render() {
|
|
3440
3440
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3441
|
-
return (hAsync(Host, { key: '
|
|
3441
|
+
return (hAsync(Host, { key: '46a33469bde594adba75708c0c3d230fdb8a7b76', class: `${sizeClass}` }, hAsync("slot", { key: '6b71b43e29531d1a1e44acda344993690afda541' })));
|
|
3442
3442
|
}
|
|
3443
3443
|
static get style() { return RoadAvatarStyle0; }
|
|
3444
3444
|
static get cmpMeta() { return {
|
|
@@ -3474,7 +3474,7 @@ class Badge {
|
|
|
3474
3474
|
render() {
|
|
3475
3475
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3476
3476
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3477
|
-
return (hAsync(Host, { key: '
|
|
3477
|
+
return (hAsync(Host, { key: 'ef069cdcd5b08dbf474ba6b4bd31c187918e6bbc', class: `${colorClass} ${bubbleClass}` }, hAsync("slot", { key: '29bc563a09c8b1ccb18d83bb64346a4e5538e900' })));
|
|
3478
3478
|
}
|
|
3479
3479
|
static get style() { return RoadBadgeStyle0; }
|
|
3480
3480
|
static get cmpMeta() { return {
|
|
@@ -3523,7 +3523,7 @@ class Banner {
|
|
|
3523
3523
|
}
|
|
3524
3524
|
render() {
|
|
3525
3525
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3526
|
-
return (hAsync(Host, { key: '
|
|
3526
|
+
return (hAsync(Host, { key: 'b2d5f2e7624d58c3bf534c46c4f99d1fba5b71c0', class: bannerIsOpenClass }, hAsync("div", { key: 'c034322901d2c9901998516c389d878a78cd38fe' }, hAsync("span", { key: 'f3c0745f813299b3893469295a3d939c1ffdb660', class: "banner-open-label" }, this.label), this.link && hAsync("a", { key: '414421fadf26e5c69da53b99aa6fb8cc28fe5416', href: this.url, class: "banner-open-link" }, this.link), hAsync("button", { key: '474c1b3528da08c7be8be78d702067746b3159b6', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, hAsync("road-icon", { key: '91ec2717111d32f6f5610f113748a23d606dfbff', icon: navigationClose, size: "md" })))));
|
|
3527
3527
|
}
|
|
3528
3528
|
static get style() { return RoadBannerStyle0; }
|
|
3529
3529
|
static get cmpMeta() { return {
|
|
@@ -3629,7 +3629,7 @@ class Button$1 {
|
|
|
3629
3629
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
3630
3630
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3631
3631
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3632
|
-
return (hAsync(Host, { key: '
|
|
3632
|
+
return (hAsync(Host, { key: 'bbe777b477e761cd5fc819262b91f11d44b97221', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, hAsync(TagType, Object.assign({ key: '4baeb5a45090b9dbcf3fa4ca75d7e6077d7ab3db' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("slot", { key: '25c23461e9183be655d9b94301e8410063f325e7', name: "start" }), hAsync("slot", { key: 'a6cda90799dcf1ef528d0a6c677e3f89f9f39254' }), hAsync("slot", { key: '9d6742efca9fe7a766b4933c10fd524b4c8fb83e', name: "end" }))));
|
|
3633
3633
|
}
|
|
3634
3634
|
get el() { return getElement(this); }
|
|
3635
3635
|
static get style() { return RoadButtonStyle0; }
|
|
@@ -3714,7 +3714,7 @@ class Button {
|
|
|
3714
3714
|
render() {
|
|
3715
3715
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3716
3716
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3717
|
-
return (hAsync(Host, { key: '
|
|
3717
|
+
return (hAsync(Host, { key: 'abcbe3dc145798ca02f7805a368aa033499a8817', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: '038831804c27854cdef3a30ba6cdeafa4e4da8a8', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: '27af23a989485ed98d25813a20080c6e8dd38eb9', name: "start" }), hAsync("slot", { key: '73fa2a4f7cf2759ede3f2a39973e87d4b45eee0b' }))));
|
|
3718
3718
|
}
|
|
3719
3719
|
get el() { return getElement(this); }
|
|
3720
3720
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3759,7 +3759,7 @@ class ButtonBar {
|
|
|
3759
3759
|
this.selectedTabChanged();
|
|
3760
3760
|
}
|
|
3761
3761
|
render() {
|
|
3762
|
-
return (hAsync(Host, { key: '
|
|
3762
|
+
return (hAsync(Host, { key: '3b56e5b0054fe7a3125e5d52098ef0b6663a433c', role: "tablist" }, hAsync("slot", { key: 'a88459813ee1fff160167e9e641d886bd1166340' })));
|
|
3763
3763
|
}
|
|
3764
3764
|
get el() { return getElement(this); }
|
|
3765
3765
|
static get watchers() { return {
|
|
@@ -3842,7 +3842,7 @@ class Card {
|
|
|
3842
3842
|
render() {
|
|
3843
3843
|
const { elevation } = this;
|
|
3844
3844
|
const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
|
|
3845
|
-
return (hAsync(Host, { key: '
|
|
3845
|
+
return (hAsync(Host, { key: '78b04d594c0195bf1ac6e25f90767f6360c42a91', class: `${elevationClass}` }, this.renderCard()));
|
|
3846
3846
|
}
|
|
3847
3847
|
get el() { return getElement(this); }
|
|
3848
3848
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10589,7 +10589,7 @@ class Carousel {
|
|
|
10589
10589
|
});
|
|
10590
10590
|
}
|
|
10591
10591
|
render() {
|
|
10592
|
-
return (hAsync(Host, { key: '
|
|
10592
|
+
return (hAsync(Host, { key: '645f22fd23ab1ddb28eaa5cab849aa37db654cf2', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: '4411bf01efe537626722c530848d01c8fade1bcf', class: "swiper-wrapper" }, hAsync("slot", { key: '739b55337feedfbf03f6b0e7c2b4486ff40a4848' })), this.pager && hAsync("div", { key: '6cfb7a91ec9d8f19d084416d37834d652299fcf8', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (hAsync("div", { key: '1930a8699ab1eff2685311a322483c1fe8f186e6', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: '7b0b203f0aa0d780e6381dc9163daa39454234fa', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: 'd78e4c3edcacdc013518453d130974b60b4969ac', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: 'd8994e12018bdcc8763224ec8370e26333a320a2', icon: navigationChevron })))));
|
|
10593
10593
|
}
|
|
10594
10594
|
get el() { return getElement(this); }
|
|
10595
10595
|
static get watchers() { return {
|
|
@@ -10640,10 +10640,10 @@ class CarouselItem {
|
|
|
10640
10640
|
registerInstance(this, hostRef);
|
|
10641
10641
|
}
|
|
10642
10642
|
render() {
|
|
10643
|
-
return (hAsync(Host, { key: '
|
|
10643
|
+
return (hAsync(Host, { key: 'ba08f34c2462094f2126a5292781ef1f6fdddadf', class: {
|
|
10644
10644
|
'swiper-slide': true,
|
|
10645
10645
|
'swiper-zoom-container': true,
|
|
10646
|
-
} }, hAsync("slot", { key: '
|
|
10646
|
+
} }, hAsync("slot", { key: 'ac4cbadd5c3c52527c91237a0aac4ae1c418f9e4' })));
|
|
10647
10647
|
}
|
|
10648
10648
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10649
10649
|
static get cmpMeta() { return {
|
|
@@ -10734,7 +10734,7 @@ class Checkbox {
|
|
|
10734
10734
|
const labelId = this.checkboxId + '-label';
|
|
10735
10735
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10736
10736
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10737
|
-
return (hAsync(Host, { key: '
|
|
10737
|
+
return (hAsync(Host, { key: 'a9b3a534f49d1e01964ca38f4848d5ca71df745c' }, hAsync("input", { key: '3fdcc508c59fb8001b1bc42d66deee219dbef9df', class: `form-check-input ${isInvalidClass}`, type: "checkbox", id: this.checkboxId, name: this.name, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: '3e0ea10707ecd09de620144c2715b5ece4bfc485', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: 'b0367e8f3f4466ebb5bc268a01aff2dde4063a92' }, this.label, " ", hAsync("span", { key: '01e59b102cb38ae272ef5b5005d5e9d77fdad841', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: 'b8d321888e846a95c97edb2cf521f666405ad0d8' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '6d99f46bc91f3a8d5e60ea4316e72472e041c12e', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: '4b364186e934f71c89df09616462ef7d55ae80fb', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: '1b770a17d4dc176ba546dc6a568cf4e73216958e', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '05b789fefc5a594b03f7f89e5c3cce331f1feafa', class: "helper" }, this.helper)));
|
|
10738
10738
|
}
|
|
10739
10739
|
static get watchers() { return {
|
|
10740
10740
|
"checked": ["checkedChanged"]
|
|
@@ -10792,7 +10792,7 @@ class Chip {
|
|
|
10792
10792
|
}
|
|
10793
10793
|
render() {
|
|
10794
10794
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10795
|
-
return (hAsync(Host, { key: '
|
|
10795
|
+
return (hAsync(Host, { key: '3c65bfe5167e9f025c5570bb097e374c52afe9a1', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: 'aa9962c51038ae3f63540a831fcaec255f18f4f6', class: "chip-description" }, hAsync("slot", { key: '6a39f40317870a66fe3e6aedf8ec2a1f8242ecbf' })), this.hasCloseIcon && hAsync("road-icon", { key: '7321cde210e1d9f8c25f25103eb28b96e9967cc0', class: "chip-close", icon: navigationClose })));
|
|
10796
10796
|
}
|
|
10797
10797
|
static get style() { return RoadChipStyle0; }
|
|
10798
10798
|
static get cmpMeta() { return {
|
|
@@ -10821,7 +10821,7 @@ class Col {
|
|
|
10821
10821
|
registerInstance(this, hostRef);
|
|
10822
10822
|
}
|
|
10823
10823
|
render() {
|
|
10824
|
-
return (hAsync("slot", { key: '
|
|
10824
|
+
return (hAsync("slot", { key: 'ce1f16dac19f180d1f7f8626113ef49b2743859b' }));
|
|
10825
10825
|
}
|
|
10826
10826
|
static get style() { return RoadColStyle0; }
|
|
10827
10827
|
static get cmpMeta() { return {
|
|
@@ -10871,7 +10871,7 @@ class Collapse {
|
|
|
10871
10871
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
10872
10872
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
10873
10873
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
10874
|
-
return (hAsync(Host, { key: '
|
|
10874
|
+
return (hAsync(Host, { key: '6462f4e84998e53dea6560b2ee3f25bc18297d3f' }, hAsync("slot", { key: 'b18f2b21d95bf82da6c25ba51612c5c80595f0da' }), hAsync("div", { key: 'e79d1c7454155b46402bb51217a9f76b166efae9', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: '360e80e5144b0e1f55a3cfaaa9d442978456af27', name: "collapsed-content" })), hAsync("div", { key: '60c493cc500a0c2baa46e62af8e770ad0524fcf8', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: '6a2dff305e994fb6da7c02ede2042095ff91e8ef', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
10875
10875
|
}
|
|
10876
10876
|
static get style() { return RoadCollapseStyle0; }
|
|
10877
10877
|
static get cmpMeta() { return {
|
|
@@ -10908,7 +10908,7 @@ class ContentCard {
|
|
|
10908
10908
|
}
|
|
10909
10909
|
render() {
|
|
10910
10910
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
10911
|
-
return (hAsync(Host, { key: '
|
|
10911
|
+
return (hAsync(Host, { key: '6cc39b5631d6a681be5feb750a53a3ff7483f419' }, hAsync("road-img", { key: '5c87655a4b336ff512c3ce79854d3f00dd9a5272', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '7f837a70a0791143c6d9cb01c1af17c1f9c23fa9', class: "content-card-description" }, hAsync("road-label", { key: 'aea47df25eb0df594ea376c895b39ba1bd5ff40e', class: "content-card-description-title" }, hAsync("slot", { key: '91438a424e3afae554fc6ff8b5e280651db4f58b', name: "label" })), hAsync("p", { key: '2d4956cb8a2679e60cd2c5e96461e8623e50edd7', class: "content-card-description-text" }, hAsync("slot", { key: '78fcbb4c9de33cf3b9971fd4e8ba37c54b905ac5', name: "description" })), hAsync("div", { key: '52e76e5fb626f0d8c89a931f0a93d5b4f3f2c111', class: "content-card-description-buttons" }, hAsync("slot", { key: '0256ffc8cb22d99e8d3311949e8f98e6676971f2' })))));
|
|
10912
10912
|
}
|
|
10913
10913
|
static get style() { return RoadContentCardStyle0; }
|
|
10914
10914
|
static get cmpMeta() { return {
|
|
@@ -11084,7 +11084,7 @@ class Counter {
|
|
|
11084
11084
|
}
|
|
11085
11085
|
render() {
|
|
11086
11086
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11087
|
-
return (hAsync("road-input-group", { key: '
|
|
11087
|
+
return (hAsync("road-input-group", { key: '780f5625366d1d0d5c79f8e37e26ee639c02ba3c', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: '7b6fbed539169f05d44e67f1dbadf34ee7af94a2', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, hAsync("road-icon", { key: '7816e90d5648e6ec4bcf92260032e84e87ae3c79', name: this.isDustbinVisible ? "delete-forever" : "navigation-add-less", ref: (el) => this.iconCounterLess = el, size: this.size, "data-cy": dataCi, role: "button" })), hAsync("road-input", { key: '3eb604c21829f15cc30ae2c4b4772d34f8f886f1', ref: (el) => this.inputElement = el, type: "number", min: this.min.toString(), max: (this.max && this.max.toString()), step: this.step, value: this.value, onRoadChange: this.onRoadChange, onKeyUp: this.checkValue, "data-cy": "road-input-counter", readonly: this.readonly, label: "Quantit\u00E9" }), hAsync("road-button", { key: '250c44a00ce565d5fd8ff73779890f9c31166d50', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, hAsync("road-icon", { key: 'defd2310b81e3bf9e2c1d4238dad57a255fdd089', name: "navigation-add-more", size: this.size, role: "button" }))));
|
|
11088
11088
|
}
|
|
11089
11089
|
get el() { return getElement(this); }
|
|
11090
11090
|
static get watchers() { return {
|
|
@@ -11200,11 +11200,11 @@ class Dialog {
|
|
|
11200
11200
|
break;
|
|
11201
11201
|
}
|
|
11202
11202
|
}
|
|
11203
|
-
return (hAsync(Host, { key: '
|
|
11203
|
+
return (hAsync(Host, { key: '9624b0fd293d55ecf28b2b0a1ec1804b1fde75e6', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: '2fc5f91ceef6ded3e031b8eaa219d7fcac369b18', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: '1258b772f514d0f84ff68dfae0acfc3745301fd5', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: '9c4612c44b9f0fc115943b7593c5d6a55be2ff9a', class: "dialog-content" }, hAsync("header", { key: '1ea714d353e3e35446b063963c17ebfa59a3510a', class: "dialog-header" }, this.hasCloseIcon
|
|
11204
11204
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11205
|
-
: ''), hAsync("div", { key: '
|
|
11205
|
+
: ''), hAsync("div", { key: '7ab4d960e856b4c8f0bd87b5b3fd13a8c75f509f', class: "dialog-body" }, this.color !== undefined
|
|
11206
11206
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11207
|
-
: '', hAsync("h2", { key: '
|
|
11207
|
+
: '', hAsync("h2", { key: '4186530d638a2bc308caec33339bbf1a173927e8', class: "dialog-title" }, this.label), hAsync("p", { key: '2ca7b4e6f681fb0af7557cc1cd859ffd58a048a6', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: 'd2844af62e03e78552c63f582eb3810fd58fa192', class: "dialog-footer" }, hAsync("slot", { key: '4e8a0feb5c903cf8699861e23496ab85f4976f8f' }))))));
|
|
11208
11208
|
}
|
|
11209
11209
|
get el() { return getElement(this); }
|
|
11210
11210
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -11372,7 +11372,7 @@ class Drawer {
|
|
|
11372
11372
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
11373
11373
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
11374
11374
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
11375
|
-
return (hAsync(Host, { key: '
|
|
11375
|
+
return (hAsync(Host, { key: 'c7823cf5431daed1933645db1191ca6f002343a4', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: '86858f2ad077446aaf408f6b561c040ca3df08d4', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: 'c2e3659a39faab0065be9ab3d267ca243e9e40bd', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, hAsync("div", { key: '5a21b2dab48bc37aa0c35a410405d8310bb01bed', class: "drawer-content" }, hAsync("header", { key: '47a0cee091385a15ff0f4050945cb32306e4169f', class: `drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}` }, backIconElement, this.drawerTitle ? (hAsync("h2", { class: "drawer-title" }, this.drawerTitle)) : (hAsync("div", { class: "drawer-title" }, hAsync("slot", { name: "title" }))), closeIconElement), hAsync("div", { key: '6d0bf6bb56629f75032d654685bb6f339ac4dbd9', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: '98a7724af28ce5673eb020d0602d2b1f508ab5d3' })), hAsync("footer", { key: '631c299841ade87daf424ff1eed04fb750465a3a', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, hAsync("slot", { key: 'dd31ef1327016e18d67e46c2b3ddedd84ca799fb', name: "footer" }))))));
|
|
11376
11376
|
}
|
|
11377
11377
|
get el() { return getElement(this); }
|
|
11378
11378
|
static get watchers() { return {
|
|
@@ -11433,7 +11433,7 @@ class Dropdown$1 {
|
|
|
11433
11433
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
11434
11434
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
11435
11435
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
11436
|
-
return (hAsync("details", { key: '
|
|
11436
|
+
return (hAsync("details", { key: '768ba1755139eab0d4855a04ab38ce4c45587d1b', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '5140f2dbef1c23006a46dc38bffe60d076ecac99', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: '41e6d5d0da014d537b4403e2ee19b1d38604a093', class: `d-flex ${positionClass}` }, hAsync("div", { key: '7dd0ef5cc443b7c196170f379ebef2ec0ad1261b', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: '4a0dbb64c3f219cf3d5935e9bec3db6f157d72a0', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: '46b638582bdf23197a6145d46fbb3a7aed52aec7', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: '84d785851d406f895d7494671a483b8c5c4cb446', name: "list" }))));
|
|
11437
11437
|
}
|
|
11438
11438
|
get el() { return getElement(this); }
|
|
11439
11439
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -11489,7 +11489,7 @@ class Dropdown {
|
|
|
11489
11489
|
this.isOpen = false;
|
|
11490
11490
|
}
|
|
11491
11491
|
render() {
|
|
11492
|
-
return (hAsync("details", { key: '
|
|
11492
|
+
return (hAsync("details", { key: '465df4a61faad0a1a765d7efaf6ade6f9b0a57b0', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '5ec3e807f19935cba27df57edc4a796b9006f03b', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '027c27595159564a358bbab8256cf8312da35b20', class: `d-flex` }, hAsync("div", { key: '7cdf25707609c894f83dc8efb4812cbb2566ab7b' }, hAsync("road-avatar", { key: '3513b743d0dec926869fb79a949ab2e5dfbc71a3' }, hAsync("slot", { key: '066a6b69c0c68e34b0b3fcbfcb47877a128b3d95', name: "avatar" }))))), hAsync("div", { key: 'ee7cda5c04a74a85a48fb7113029885ca1f56fa0', class: `dropdown-menu` }, hAsync("div", { key: 'defe24b3ebe1e990fa376187a55e2ca3fa42fa80', class: "profil-item" }, hAsync("road-avatar", { key: 'e6b214623c60dff1c3da21adefc9552f00ed7188', size: "sm" }, hAsync("slot", { key: '49ebfb58d2cf195df7be4d1e8570349a2c2635ce', name: "avatarItem" })), hAsync("div", { key: '29a6c4ee49db6f4364d79d1b00f73fb9deaacbd5', class: "profil-item-info" }, hAsync("span", { key: '2b7c8ba798061897dc23067d1dc487432d373960', class: "profil-item-info-name" }, hAsync("slot", { key: 'b89515a3d0de2291fa0fcfb0d4790e538bc11d45', name: "name" })), hAsync("road-label", { key: '8d2d308e545e82080ee8f53eb9e311f4ad3e5962' }, hAsync("slot", { key: '1060490e0fd022351c37abe277f8aea1d2523330', name: "email" })))), hAsync("slot", { key: '75004828f1d413aec4f6fcbba83398ce9272a2d6', name: "list" }))));
|
|
11493
11493
|
}
|
|
11494
11494
|
get el() { return getElement(this); }
|
|
11495
11495
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -11553,7 +11553,7 @@ class Duration {
|
|
|
11553
11553
|
this.isOpen = false;
|
|
11554
11554
|
}
|
|
11555
11555
|
render() {
|
|
11556
|
-
return (hAsync("road-drawer", { key: '
|
|
11556
|
+
return (hAsync("road-drawer", { key: 'af716b65178615e57b2ddabec15f63404ae67d0c', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: 'af2539c5c98ab4797a42889d3defb57a92377a66' }, hAsync("road-row", { key: '504b9c255f5e2b46fe9e5abac4723013b69d179f', class: "duration-values" }, Array(Math.floor((this.max - this.min) / this.step) + 1).fill(this.min).map(((item, index) => (item + index * this.step))).map(item => hAsync("road-col", { class: "col-3 col-md-2" }, hAsync("road-card", { button: true, value: item }, hAsync("road-label", null, Math.floor(item / 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false }), ":", (item % 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false })))))))));
|
|
11557
11557
|
}
|
|
11558
11558
|
get el() { return getElement(this); }
|
|
11559
11559
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -11599,7 +11599,7 @@ class Flap {
|
|
|
11599
11599
|
}
|
|
11600
11600
|
render() {
|
|
11601
11601
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
11602
|
-
return (hAsync(Host, { key: '
|
|
11602
|
+
return (hAsync(Host, { key: '4d8ec221aee42ba140d4c77a8e53095ff52fd8fb', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '861ea350e8610a28860faf2649ca7e7f423fa9d9' })));
|
|
11603
11603
|
}
|
|
11604
11604
|
static get style() { return RoadFlapStyle0; }
|
|
11605
11605
|
static get cmpMeta() { return {
|
|
@@ -11645,7 +11645,7 @@ class GlobalNavigation {
|
|
|
11645
11645
|
this.selectedTabChanged();
|
|
11646
11646
|
}
|
|
11647
11647
|
render() {
|
|
11648
|
-
return (hAsync(Host, { key: '
|
|
11648
|
+
return (hAsync(Host, { key: '4f49be7031fd174d48e0e317faea73c6179c8067', role: "application" }, hAsync("slot", { key: '68ec7f774cd4c8eae3206535842e045a60872a92' })));
|
|
11649
11649
|
}
|
|
11650
11650
|
static get watchers() { return {
|
|
11651
11651
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -11793,7 +11793,7 @@ class GlobalNavigationV2 {
|
|
|
11793
11793
|
this.selectedTabChanged();
|
|
11794
11794
|
}
|
|
11795
11795
|
render() {
|
|
11796
|
-
return (hAsync(Host, { key: '
|
|
11796
|
+
return (hAsync(Host, { key: 'a7c2fc7d2023d694ef9dc3c9539ccdd965ab482d', role: "application" }, hAsync("slot", { key: '3434cb37b8e9974aaa8ba3fcb84d42b5063f9ee7' })));
|
|
11797
11797
|
}
|
|
11798
11798
|
get host() { return getElement(this); }
|
|
11799
11799
|
static get watchers() { return {
|
|
@@ -11823,7 +11823,7 @@ class Grid {
|
|
|
11823
11823
|
registerInstance(this, hostRef);
|
|
11824
11824
|
}
|
|
11825
11825
|
render() {
|
|
11826
|
-
return (hAsync("slot", { key: '
|
|
11826
|
+
return (hAsync("slot", { key: 'bb4b54907261b204fa0f01e461775443869b13f3' }));
|
|
11827
11827
|
}
|
|
11828
11828
|
static get style() { return RoadGridStyle0; }
|
|
11829
11829
|
static get cmpMeta() { return {
|
|
@@ -11926,7 +11926,7 @@ class Icon {
|
|
|
11926
11926
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
11927
11927
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
11928
11928
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
11929
|
-
return (hAsync(Host, { key: '
|
|
11929
|
+
return (hAsync(Host, { key: 'a88db35b55c51082a297606a0c10233dc2dbd590', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
11930
11930
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
11931
11931
|
: hAsync("div", { class: "icon-inner" })));
|
|
11932
11932
|
}
|
|
@@ -12048,7 +12048,7 @@ class Illustration {
|
|
|
12048
12048
|
render() {
|
|
12049
12049
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
12050
12050
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
12051
|
-
return (hAsync(Host, { key: '
|
|
12051
|
+
return (hAsync(Host, { key: '8f7e6fc000d366f707bd8baf8a6ecc98cd6cf5f1', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
12052
12052
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
12053
12053
|
: hAsync("div", { class: "icon-inner" }))));
|
|
12054
12054
|
}
|
|
@@ -12151,7 +12151,7 @@ class Img {
|
|
|
12151
12151
|
}
|
|
12152
12152
|
render() {
|
|
12153
12153
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
12154
|
-
return (hAsync(Host, { key: '
|
|
12154
|
+
return (hAsync(Host, { key: '1c674a59d7d5ad7c29e1ba3136bea0d6a4561cb7', class: placeholder }, hAsync("img", { key: 'a4af9833f614b670361dc7a39b41d63dfac338e6', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
12155
12155
|
}
|
|
12156
12156
|
get el() { return getElement(this); }
|
|
12157
12157
|
static get watchers() { return {
|
|
@@ -29592,7 +29592,11 @@ class Input {
|
|
|
29592
29592
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29593
29593
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29594
29594
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29595
|
-
return (hAsync(Host, { key: '
|
|
29595
|
+
return (hAsync(Host, { key: 'bedd32f45b01472e88c9b1809c60552aafad7907', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: '377f80a0feb329122fd74021892e5fdb0877ae1b', class: `form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input' }), hAsync("label", { key: '64ec02c30346aa18a537bda37c336f2a940fcce6', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && (Array.isArray(this.error)
|
|
29596
|
+
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
29597
|
+
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(), " ")))
|
|
29598
|
+
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
29599
|
+
this.error.split(',').map((err, index) => (hAsync("p", { key: index, class: "invalid-feedback" }, hAsync("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), err.trim(), " ")))), this.helper && this.helper !== '' && hAsync("p", { key: '417bbf24a6e47505364e6a51eb618e00a37c39dc', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: 'e999be5b75f62be52a3ea8b073f241327d89642e', name: "checklistPassword" })));
|
|
29596
29600
|
}
|
|
29597
29601
|
static get watchers() { return {
|
|
29598
29602
|
"debounce": ["debounceChanged"],
|
|
@@ -29703,7 +29707,7 @@ class InputGroup {
|
|
|
29703
29707
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
29704
29708
|
: '';
|
|
29705
29709
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
29706
|
-
return (hAsync("div", { key: '
|
|
29710
|
+
return (hAsync("div", { key: 'a12d00f2be3ba1bdbdf841ccc8dabeb931a00a03', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: '302f4763f18b4c8377d468ffa8001b1164da8a9d', class: "input-group-prepend" }, hAsync("slot", { key: '8087d326368e00ef883bf32ef5b0fcb08aae8c8c', name: "prepend" })), hAsync("slot", { key: '66c68ff1f701e7f8bbe6b1977ce71999edf8f629' }), hAsync("div", { key: '5100d13757b6052554608df1aa7d99b744498c01', class: "input-group-append" }, hAsync("slot", { key: 'ecd7de8a226fc406936b22adc0be275e5f0f5ce3', name: "append" }))));
|
|
29707
29711
|
}
|
|
29708
29712
|
get el() { return getElement(this); }
|
|
29709
29713
|
static get watchers() { return {
|
|
@@ -29783,13 +29787,13 @@ class Item {
|
|
|
29783
29787
|
target,
|
|
29784
29788
|
};
|
|
29785
29789
|
const showDetail = detail !== undefined && detail;
|
|
29786
|
-
return (hAsync(Host, { key: '
|
|
29790
|
+
return (hAsync(Host, { key: '860c302655c49126c87052a2edad16909a7a0682', "aria-disabled": disabled ? 'true' : null, class: {
|
|
29787
29791
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
29788
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
29792
|
+
} }, hAsync(TagType, Object.assign({ key: 'e6252d333da61aec647484568b212b92af2bce40' }, attrs, { class: {
|
|
29789
29793
|
'item-native': true,
|
|
29790
29794
|
'item-active': this.active,
|
|
29791
29795
|
[`layout-${layout}`]: layout !== undefined,
|
|
29792
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
29796
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: '501c57225015099404e5814dae2b329e8c7814bf', name: "start" }), hAsync("div", { key: '5b7e16728adb24df82a0a4de16b7e02015b8a034', class: "item-inner" }, hAsync("div", { key: '44c92546ae8bf7297141e7f88533a8775261d5a3', class: "input-wrapper" }, hAsync("slot", { key: '556c79ac119514a62e1e626ae2eedcb32d6c40b1' }), hAsync("div", { key: 'ee3945f18b76714800809c4f10f6e121db475759', class: "input-wrapper-info" }, hAsync("road-label", { key: '5230e1e7a77c1891d3c98ebefea9d9158a55759b', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: '59635795940cd5962e5f5333db89f9cf8fe7f4fe', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: 'd6aaf40b9e0b3aeb87fb33b76dfbb0c1cc4dab1a', name: "end" }), showDetail && hAsync("road-icon", { key: '1d335508feef34121bbd81f610d518241c5965e0', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
29793
29797
|
}
|
|
29794
29798
|
get el() { return getElement(this); }
|
|
29795
29799
|
static get style() { return RoadItemStyle0; }
|
|
@@ -29830,7 +29834,7 @@ class Label {
|
|
|
29830
29834
|
registerInstance(this, hostRef);
|
|
29831
29835
|
}
|
|
29832
29836
|
render() {
|
|
29833
|
-
return (hAsync("slot", { key: '
|
|
29837
|
+
return (hAsync("slot", { key: '82d053422e195816eabf52d53f8573e718dd1509' }));
|
|
29834
29838
|
}
|
|
29835
29839
|
static get style() { return RoadLabelStyle0; }
|
|
29836
29840
|
static get cmpMeta() { return {
|
|
@@ -29855,9 +29859,9 @@ class List {
|
|
|
29855
29859
|
}
|
|
29856
29860
|
render() {
|
|
29857
29861
|
const { lines } = this;
|
|
29858
|
-
return (hAsync(Host, { key: '
|
|
29862
|
+
return (hAsync(Host, { key: '887431743a493599f3d94712f82c578e80e337dd', class: {
|
|
29859
29863
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
29860
|
-
} }, hAsync("slot", { key: '
|
|
29864
|
+
} }, hAsync("slot", { key: '096ac671024d3cfe42a2fe0c638ef6004ee044bd' })));
|
|
29861
29865
|
}
|
|
29862
29866
|
static get style() { return RoadListStyle0; }
|
|
29863
29867
|
static get cmpMeta() { return {
|
|
@@ -29942,7 +29946,7 @@ class Modal {
|
|
|
29942
29946
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
29943
29947
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
29944
29948
|
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" })) : '';
|
|
29945
|
-
return (hAsync(Host, { key: '
|
|
29949
|
+
return (hAsync(Host, { key: '5498ad5f4fb6179f78d81cd1dfb9eebf76e00c32', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: '06ea6f3092ec5e251958ab512477bf6fbb79d136', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '8797e0c6fbb7ee5806ff2320bff65bb8e531a413', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: 'e0b1ee9a47f87b26d2ca8d7229af2e23810a6439', class: "modal-content" }, hAsync("header", { key: 'f7f956f2c18f27de28d826a512f9ca571775bf3a', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: 'c73d2faac50da28a176bbff7eeb428c676569227', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: 'c9875677df39735051d889be56ce439cbdd2f628', class: "modal-body" }, hAsync("slot", { key: 'f957ea7369037950ca9942ebe4376d4d4c31c1a7' }))))));
|
|
29946
29950
|
}
|
|
29947
29951
|
get el() { return getElement(this); }
|
|
29948
29952
|
static get style() { return RoadModalStyle0; }
|
|
@@ -29993,7 +29997,7 @@ class Navbar {
|
|
|
29993
29997
|
this.selectedTabChanged();
|
|
29994
29998
|
}
|
|
29995
29999
|
render() {
|
|
29996
|
-
return (hAsync(Host, { key: '
|
|
30000
|
+
return (hAsync(Host, { key: '336e865d937409e9492b68bc13f05e7180b6eafc', role: "menubar" }, hAsync("slot", { key: 'b0d7e18e1850e10416c608ed7393d3a9027e2067' })));
|
|
29997
30001
|
}
|
|
29998
30002
|
static get watchers() { return {
|
|
29999
30003
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30079,11 +30083,11 @@ class NavbarItem$1 {
|
|
|
30079
30083
|
rel,
|
|
30080
30084
|
target,
|
|
30081
30085
|
};
|
|
30082
|
-
return (hAsync(Host, { key: '
|
|
30086
|
+
return (hAsync(Host, { key: 'a6a1469965b66ae463df5b1d7040adca8b1305dc', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
30083
30087
|
'navbar-item': true,
|
|
30084
30088
|
'tab-selected': selected,
|
|
30085
30089
|
'tab-disabled': disabled,
|
|
30086
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30090
|
+
} }, hAsync("a", Object.assign({ key: '74291e2413b2a818bee0493eb5671a9c8c12bc32' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '2f9be2ac47fcede36def9d33cd95ba63d8fe7e9e', class: "button-inner" }, hAsync("slot", { key: '6e9d8f12913df3a7630cb65c1a3fbe76776ef8b7' })))));
|
|
30087
30091
|
}
|
|
30088
30092
|
get el() { return getElement(this); }
|
|
30089
30093
|
static get watchers() { return {
|
|
@@ -30176,11 +30180,11 @@ class NavbarItem {
|
|
|
30176
30180
|
rel,
|
|
30177
30181
|
target,
|
|
30178
30182
|
};
|
|
30179
|
-
return (hAsync(Host, { key: '
|
|
30183
|
+
return (hAsync(Host, { key: '8a61cc7f6e8e74504ef820804ce56c861c8f8add', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
30180
30184
|
'navbar-item': true,
|
|
30181
30185
|
'tab-selected': selected,
|
|
30182
30186
|
'tab-disabled': disabled,
|
|
30183
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30187
|
+
} }, hAsync("a", Object.assign({ key: '8b1907943e6627a2ad6f003ce0a65d83eb0c2298' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '12691fdf89f4663bfd952d8a9f170fecb55a14cc', class: "button-inner" }, hAsync("slot", { key: '3b0f63507265fae207e0ee7d48b4cbbc459e2e9e' })))));
|
|
30184
30188
|
}
|
|
30185
30189
|
get el() { return getElement(this); }
|
|
30186
30190
|
static get watchers() { return {
|
|
@@ -30239,7 +30243,7 @@ class NavbarV2 {
|
|
|
30239
30243
|
}
|
|
30240
30244
|
render() {
|
|
30241
30245
|
const compactClass = this.compact ? 'compact' : '';
|
|
30242
|
-
return (hAsync(Host, { key: '
|
|
30246
|
+
return (hAsync(Host, { key: 'fbc0396385b47acc868836aa281aeece36e49d14', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'df4dce0821e605c52329519341cfb9ce28667b90' })));
|
|
30243
30247
|
}
|
|
30244
30248
|
static get watchers() { return {
|
|
30245
30249
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30362,10 +30366,10 @@ class PlateNumber {
|
|
|
30362
30366
|
render() {
|
|
30363
30367
|
const value = this.getValue();
|
|
30364
30368
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
30365
|
-
return (hAsync("road-input-group", { key: '
|
|
30369
|
+
return (hAsync("road-input-group", { key: '256907a95695a0011ee6667bda1a55bff0ac196a', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: '86e4543279c05e8a96804c444d49ce5d59eead84', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: '5fbf63f6ee6b84ad851fdd7d667440aec7c54eb0', class: "plate-number-start" }, hAsync("road-icon", { key: '17518943683e9bf2c07b8727a26cc17e341efec9', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: '237e45e6cf3e718550196617210c9d4cb179d415', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
30366
30370
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
30367
30371
|
? (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 }))
|
|
30368
|
-
: (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: '
|
|
30372
|
+
: (hAsync("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), hAsync("label", { key: '27a14734135f2d381b4565b2b74ec9ca82e9cd67', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'ff8d3d275c1526cc4f891b090dd94b4935b3520f', class: "plate-number-end" }))));
|
|
30369
30373
|
}
|
|
30370
30374
|
static get watchers() { return {
|
|
30371
30375
|
"value": ["valueChanged"]
|
|
@@ -30433,7 +30437,7 @@ class ProgressBar {
|
|
|
30433
30437
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
30434
30438
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
30435
30439
|
const animation = this.animation ? 'animation' : '';
|
|
30436
|
-
return (hAsync(Host, { key: '
|
|
30440
|
+
return (hAsync(Host, { key: '03fb563bba5dd680eec9dc4fd94ae5a4a750a0e2', class: "progress-element" }, hAsync("div", { key: 'f21471a177b8153941f06260453a93b80ef90062', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '14fd92aa9af6f4aa20dd89273f270e8cf2d283cc', class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": "progress bar" })), hAsync("div", { key: '1daaafdb40fe31d52a1110bc5215ec387a2c9a95', class: `${fullwidth}` }, hAsync("span", { key: '1c6c2e39bce4e912173da934d710a6ec18b56775', class: "progress-element-label" }, this.label), this.showstep && hAsync("span", { key: 'ae6ebe2463fb7f644e280adeec77939012f26c66', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
30437
30441
|
}
|
|
30438
30442
|
static get style() { return RoadProgressStyle0; }
|
|
30439
30443
|
static get cmpMeta() { return {
|
|
@@ -30474,7 +30478,7 @@ class ProgressIndicatorVertical {
|
|
|
30474
30478
|
registerInstance(this, hostRef);
|
|
30475
30479
|
}
|
|
30476
30480
|
render() {
|
|
30477
|
-
return (hAsync(Host, { key: '
|
|
30481
|
+
return (hAsync(Host, { key: 'c995e9bc8f4bf850d02f56dfa5341d2dc62e6fb7' }, hAsync("nav", { key: '13e9ac1c5756631e3a9214d9ea168e6bb696a889' }, hAsync("ul", { key: '35dc1e78cb55d60e11ed430327f1846bc1d19dd0' }, hAsync("li", { key: '7e2ef648a67567b4347c6b921e193143cdc9ed4d' }, hAsync("slot", { key: '55779bc2e3a71f8da207ceb3078a44cfb9c6a4f3' }))))));
|
|
30478
30482
|
}
|
|
30479
30483
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
30480
30484
|
static get cmpMeta() { return {
|
|
@@ -30498,7 +30502,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
30498
30502
|
registerInstance(this, hostRef);
|
|
30499
30503
|
}
|
|
30500
30504
|
render() {
|
|
30501
|
-
return (hAsync(Host, { key: '
|
|
30505
|
+
return (hAsync(Host, { key: 'da2c647496639ed90ec350969c01b5cb5f7d2001' }, hAsync("slot", { key: '450c50bd9001ee9e3dc4f8b6009b4fe7888a3dd4' })));
|
|
30502
30506
|
}
|
|
30503
30507
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
30504
30508
|
static get cmpMeta() { return {
|
|
@@ -30527,7 +30531,7 @@ class ProgressTracker {
|
|
|
30527
30531
|
registerInstance(this, hostRef);
|
|
30528
30532
|
}
|
|
30529
30533
|
render() {
|
|
30530
|
-
return (hAsync(Host, { key: '
|
|
30534
|
+
return (hAsync(Host, { key: 'b16efa209b6b91cccea1bb93b0643025d3bb1295' }, hAsync("nav", { key: 'b6adf35e49c42089efac56f0de052fc73d4fc7a7' }, hAsync("ul", { key: '3b6b381b77a0fc0e27baa4e07352479090a8c5d8' }, hAsync("li", { key: 'e931863154e84a5921ddb2d816a99153d9c0d509' }, hAsync("slot", { key: 'f8af67495e689ac2e8c71dd31d607ac9c9f395da' }))))));
|
|
30531
30535
|
}
|
|
30532
30536
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
30533
30537
|
static get cmpMeta() { return {
|
|
@@ -30559,7 +30563,7 @@ class ProgressTrackerItem {
|
|
|
30559
30563
|
registerInstance(this, hostRef);
|
|
30560
30564
|
}
|
|
30561
30565
|
render() {
|
|
30562
|
-
return (hAsync(Host, { key: '
|
|
30566
|
+
return (hAsync(Host, { key: 'fbd901e3b437e6812e38992c450a50094c9ad4e2' }, hAsync("slot", { key: '9af1234af14417ae3d56d33c3d4b9cf445fd044f' })));
|
|
30563
30567
|
}
|
|
30564
30568
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
30565
30569
|
static get cmpMeta() { return {
|
|
@@ -30652,7 +30656,7 @@ class Radio {
|
|
|
30652
30656
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
30653
30657
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
30654
30658
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30655
|
-
return (hAsync(Host, { key: '
|
|
30659
|
+
return (hAsync(Host, { key: '1425285f153d4e7b06b1baa3aea07d426c7a1ed4', class: `form-radio ${inlineClass}` }, hAsync("input", { key: '6af967d231c0d44e962a39265ab9ba9404ec3086', class: `form-radio-input ${isInvalidClass}`, type: "radio", id: this.radioId, name: this.name, required: this.required, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null, checked: this.checked, "aria-checked": `${this.checked}`, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: '8955c0ab3895b3856119ed65d8ea3a8fd8435a42', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '81e91cd04d45c49a75e75bf26e84dfea14145758', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
30656
30660
|
}
|
|
30657
30661
|
get el() { return getElement(this); }
|
|
30658
30662
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -30680,6 +30684,86 @@ class Radio {
|
|
|
30680
30684
|
}
|
|
30681
30685
|
let radioIds = 0;
|
|
30682
30686
|
|
|
30687
|
+
const radioCardCss = ".radio-card.sc-road-radio-card{display:flex;align-items:flex-start;gap:0.75rem;padding:1rem;border:1px solid var(--road-outline);border-radius:0.5rem;transition:border-color 0.3s, background-color 0.3s;cursor:pointer}.radio-card-selected.sc-road-radio-card{outline:2px solid var(--road-outline-variant);outline-offset:-2px}.radio-card-disabled.sc-road-radio-card{outline:none;cursor:not-allowed;background-color:var(--road-surface-disabled);border:1px solid var(--road-outline)}.radio-card.sc-road-radio-card:hover{border-color:var(--road-outline-variant)}.radio-card-disabled.radio-card.sc-road-radio-card:hover{border:1px solid var(--road-outline)}.form-radio-input.sc-road-radio-card{position:absolute;opacity:0;pointer-events:none}.radio-card-label.sc-road-radio-card{font-weight:bold}.sc-road-radio-card-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface)}.form-radio-inline.sc-road-radio-card-h{display:inline-flex;flex-wrap:wrap;align-items:center;margin-right:1.5rem;margin-bottom:0}.form-radio-input.sc-road-radio-card{position:absolute;z-index:-1;width:20px;height:20px;opacity:0}.form-radio-input.sc-road-radio-card:disabled{z-index:1;width:100%;cursor:not-allowed}.form-radio-label.sc-road-radio-card{position:relative;display:inline-flex;align-items:flex-start;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-radio-label.sc-road-radio-card::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0.1rem 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:50%;transition:border-color 0.2s ease-in-out}.form-radio-label-span.sc-road-radio-card{margin-left:var(--road-spacing-02);color:var(--road-on-surface-weak)}.form-radio-label.sc-road-radio-card::after{position:absolute;top:0.285rem;left:0.1875rem;box-sizing:border-box;display:block;width:0.875rem;height:0.875rem;content:\"\";background:var(--road-on-surface-disabled);border:none;border-radius:50%;transition:background 0.2s ease-in-out, transform 0.2s ease-in-out;transform:scale(0);transform-origin:50% 50%}@media (hover: hover){.form-radio-input.sc-road-radio-card~.form-radio-label.sc-road-radio-card:hover::before{border-color:var(--road-input-surface)}.form-radio-input.sc-road-radio-card:checked~.form-radio-label.sc-road-radio-card:hover::after{background:var(--road-input-surface-variant)}.form-radio-input.sc-road-radio-card:checked:disabled~.form-radio-label.sc-road-radio-card:hover::after{background:var(--road-on-surface-disabled)}}.form-radio-input.sc-road-radio-card:checked~.form-radio-label.sc-road-radio-card::after{background:var(--road-input-surface);opacity:1;transform:scale(1)}.form-radio-input.focus-visible.sc-road-radio-card~.form-radio-label.sc-road-radio-card::before{box-shadow:0 0 0 0.125rem var(--road-grey-100-new), 0 0 0 0.1875rem var(--road-input-outline-variant)}.form-radio-input.focus-visible.sc-road-radio-card:checked~.form-radio-label.sc-road-radio-card::after{background:var(--road-primary-700)}.form-radio-input.sc-road-radio-card:disabled~.form-radio-label.sc-road-radio-card,.form-radio-input[readonly].sc-road-radio-card~.form-radio-label.sc-road-radio-card{cursor:not-allowed}.form-radio-input.sc-road-radio-card:disabled~.form-radio-label.sc-road-radio-card::before,.form-radio-input[readonly].sc-road-radio-card~.form-radio-label.sc-road-radio-card::before{background:var(--road-on-surface-disabled);border:none}.form-radio-input.sc-road-radio-card:disabled~.form-radio-label.sc-road-radio-card::after,.form-radio-input[readonly].sc-road-radio-card~.form-radio-label.sc-road-radio-card::after{background:var(--road-on-surface-disabled)}.form-radio-input.is-invalid.sc-road-radio-card~.form-radio-label.sc-road-radio-card::before{border-color:var(--road-danger-outline)}.form-radio-inverse.sc-road-radio-card{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-radio-inverse.sc-road-radio-card::before{margin:0 0 0 1rem}.form-radio-inverse.sc-road-radio-card::after{right:0.1875rem;left:auto}";
|
|
30688
|
+
var RoadRadioCardStyle0 = radioCardCss;
|
|
30689
|
+
|
|
30690
|
+
class RadioCard {
|
|
30691
|
+
constructor(hostRef) {
|
|
30692
|
+
registerInstance(this, hostRef);
|
|
30693
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
30694
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
30695
|
+
this.roadchange = createEvent(this, "roadchange", 7);
|
|
30696
|
+
this.disabled = false;
|
|
30697
|
+
this.selected = false;
|
|
30698
|
+
this.inline = true;
|
|
30699
|
+
this.isSelected = false;
|
|
30700
|
+
this.onFocus = () => {
|
|
30701
|
+
this.roadfocus.emit();
|
|
30702
|
+
};
|
|
30703
|
+
this.onBlur = () => {
|
|
30704
|
+
this.roadblur.emit();
|
|
30705
|
+
};
|
|
30706
|
+
this.onClick = () => {
|
|
30707
|
+
var _a;
|
|
30708
|
+
if (this.disabled)
|
|
30709
|
+
return;
|
|
30710
|
+
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.click();
|
|
30711
|
+
this.roadchange.emit(this.value);
|
|
30712
|
+
window.dispatchEvent(new CustomEvent('road-radio-selected', {
|
|
30713
|
+
detail: {
|
|
30714
|
+
name: this.name,
|
|
30715
|
+
value: this.value,
|
|
30716
|
+
},
|
|
30717
|
+
}));
|
|
30718
|
+
};
|
|
30719
|
+
this.onRadioSelected = (event) => {
|
|
30720
|
+
const { name, value } = event.detail;
|
|
30721
|
+
if (name === this.name) {
|
|
30722
|
+
this.isSelected = value === this.value;
|
|
30723
|
+
}
|
|
30724
|
+
};
|
|
30725
|
+
}
|
|
30726
|
+
componentWillLoad() {
|
|
30727
|
+
this.radioId = `road-radio-${RadioCard.idCounter++}`;
|
|
30728
|
+
if (!this.name) {
|
|
30729
|
+
this.name = this.radioId;
|
|
30730
|
+
}
|
|
30731
|
+
if (!this.label) {
|
|
30732
|
+
this.label = `${this.radioId}-label`;
|
|
30733
|
+
}
|
|
30734
|
+
}
|
|
30735
|
+
handleRadioSelected(event) {
|
|
30736
|
+
this.onRadioSelected(event);
|
|
30737
|
+
}
|
|
30738
|
+
render() {
|
|
30739
|
+
const labelId = `${this.radioId}-label`;
|
|
30740
|
+
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30741
|
+
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
30742
|
+
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
30743
|
+
return (hAsync(Host, { key: '88f2523349bd29e5cd4278466375a1684cae8ab1', class: `form-radio ${inlineClass}` }, hAsync("div", { key: 'ffea5f08a48cc23a8fc6dfac7062805b6ff36a11', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, hAsync("input", { key: '6a7bd89910aaf9abd388a48247d2f9307bdb4c58', ref: el => this.inputEl = el, class: "form-radio-input", type: "radio", id: this.radioId, name: this.name, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, checked: this.isSelected || this.selected, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur, onChange: () => { } }), hAsync("label", { key: '2bde59e263ffebcfba8a80a73e37239a41978459', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, hAsync("div", { key: '077fd5c4b3a01f027ab75bbf69b32a4b9d8c4495', class: "slot-wrapper" }, hAsync("slot", { key: 'cea36691ce0845a8470b9ed66defd1c81ac12756' }))))));
|
|
30744
|
+
}
|
|
30745
|
+
get el() { return getElement(this); }
|
|
30746
|
+
static get style() { return RoadRadioCardStyle0; }
|
|
30747
|
+
static get cmpMeta() { return {
|
|
30748
|
+
"$flags$": 6,
|
|
30749
|
+
"$tagName$": "road-radio-card",
|
|
30750
|
+
"$members$": {
|
|
30751
|
+
"name": [1],
|
|
30752
|
+
"disabled": [4],
|
|
30753
|
+
"selected": [4],
|
|
30754
|
+
"value": [8],
|
|
30755
|
+
"label": [1],
|
|
30756
|
+
"inline": [4],
|
|
30757
|
+
"isSelected": [32],
|
|
30758
|
+
"radioId": [32]
|
|
30759
|
+
},
|
|
30760
|
+
"$listeners$": [[8, "road-radio-selected", "handleRadioSelected"]],
|
|
30761
|
+
"$lazyBundleId$": "-",
|
|
30762
|
+
"$attrsToReflect$": []
|
|
30763
|
+
}; }
|
|
30764
|
+
}
|
|
30765
|
+
RadioCard.idCounter = 0;
|
|
30766
|
+
|
|
30683
30767
|
const radioGroupCss = ".sc-road-radio-group-h{--asterisk-color:var(--road-on-surface);position:relative;display:block;margin-bottom:1rem}.asterisk.sc-road-radio-group{color:var(--asterisk-color)}.is-invalid.sc-road-radio-group-h .invalid-feedback.sc-road-radio-group{display:block}.invalid-feedback.sc-road-radio-group{display:none;flex:0 0 100%;width:100%;margin:0.5rem 0 0;font-size:var(--road-font-size-12);color:var(--road-on-danger-surface)}.helper.sc-road-radio-group{margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-on-surface-weak)}";
|
|
30684
30768
|
var RoadRadioGroupStyle0 = radioGroupCss;
|
|
30685
30769
|
|
|
@@ -30727,9 +30811,16 @@ class RadioGroup {
|
|
|
30727
30811
|
};
|
|
30728
30812
|
}
|
|
30729
30813
|
valueChanged(value) {
|
|
30814
|
+
this.updateRadios();
|
|
30730
30815
|
this.roadchange.emit({ value });
|
|
30731
30816
|
this.roadChange.emit({ value });
|
|
30732
30817
|
}
|
|
30818
|
+
updateRadios() {
|
|
30819
|
+
const radios = this.el.querySelectorAll('road-radio-card');
|
|
30820
|
+
radios.forEach(radio => {
|
|
30821
|
+
radio.checked = (radio.getAttribute('value') === this.value);
|
|
30822
|
+
});
|
|
30823
|
+
}
|
|
30733
30824
|
errorChanged() {
|
|
30734
30825
|
if (this.error !== undefined && this.error !== '') {
|
|
30735
30826
|
this.el.querySelectorAll('road-radio').forEach(item => item.error = true);
|
|
@@ -30746,7 +30837,7 @@ class RadioGroup {
|
|
|
30746
30837
|
render() {
|
|
30747
30838
|
const labelId = `${this.radioGroupId}-label`;
|
|
30748
30839
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30749
|
-
return (hAsync(Host, { key: '
|
|
30840
|
+
return (hAsync(Host, { key: 'e9752d4f6d5213894f19677213b288774cb043b4', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: 'a0bc7d840e128b39edb4ec626a29e1ffbc84e34f', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: '07a7e690b57b773a64d4a6cdc0387342e6cc9d4a', class: "asterisk" }, "*")), hAsync("slot", { key: 'f5740b9d48a56145d4bfd304177523f26f5c98ed' }), this.error && this.error !== '' && hAsync("p", { key: 'b83e97116b061be92d82fea00a2cbda25da82d12', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'f5a2ee67cb0c3800b304e7e04b75f15be9d4b0d6', class: "helper" }, this.helper)));
|
|
30750
30841
|
}
|
|
30751
30842
|
get el() { return getElement(this); }
|
|
30752
30843
|
static get watchers() { return {
|
|
@@ -30876,14 +30967,14 @@ class Range {
|
|
|
30876
30967
|
render() {
|
|
30877
30968
|
const value = this.getValue();
|
|
30878
30969
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
30879
|
-
return (hAsync(Host, { key: '
|
|
30970
|
+
return (hAsync(Host, { key: '933bf24845be4c38f03bcbdc25e68834b2cb0bbd', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: 'ea720a87daf84e34e5e5b22458c26dec289aa827', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: '551fbb0888e0bb0b0cdc99a82f6c6d8c0bb15b72', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: '6a443f81792939296ea68cfc5f1983b93238bec5', class: "form-range", style: {
|
|
30880
30971
|
"--min": this.min,
|
|
30881
30972
|
"--max": this.max,
|
|
30882
30973
|
"--value": value,
|
|
30883
30974
|
"--background-color": this.disabled
|
|
30884
30975
|
? "var(--road-surface-disabled)"
|
|
30885
30976
|
: "initial",
|
|
30886
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
30977
|
+
} }, this.showValue && hAsync("output", { key: '9bac7466a866a1e0e1341b07daa189f5ba045de6' }), this.showLabels && hAsync("slot", { key: '17a4485a49e5b533c0731cf3f5ce918a6b1523b9', name: "datalist" }), hAsync("input", { key: 'e5e3464c914837536214fac832793e2c962f20f1', type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput, list: datalist, "aria-label": "Valeur", tabindex: "0", disabled: this.disabled }), hAsync("label", { key: '4832c1d1bfaa0831e3efc3bafc8229056b7b99be', class: "form-range-label" }, "Valeur"), hAsync("div", { key: '12b95b10b3cef47219037103c70d778b46e2b78d', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: 'ccf889f29a6679788264d30c6fb98239774e1985', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
30887
30978
|
}
|
|
30888
30979
|
get el() { return getElement(this); }
|
|
30889
30980
|
static get watchers() { return {
|
|
@@ -30952,7 +31043,7 @@ class Rating {
|
|
|
30952
31043
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
30953
31044
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
30954
31045
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
30955
|
-
return (hAsync(Host, { key: '
|
|
31046
|
+
return (hAsync(Host, { key: '2e353a141d8c2230de7a03fe59ab62c14978ede7' }, hAsync("div", { key: 'a3caf5feb9d42943d7c13a566c55715eb444a47a', class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => hAsync("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => hAsync("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => hAsync("road-icon", { icon: star, size: "sm", class: "rating-star" }))), this.readonly == false && this.showreviews && hAsync("a", { key: 'a44fa6ad3a8f832eadc96e2cd9d306e32f84c8a8', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '59037e728180fd9179e01b0ccb89e7284d1f0b9d', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
30956
31047
|
}
|
|
30957
31048
|
static get style() { return RoadRatingStyle0; }
|
|
30958
31049
|
static get cmpMeta() { return {
|
|
@@ -31071,7 +31162,7 @@ class RoadAreaCode {
|
|
|
31071
31162
|
const labelId = this.selectId + '-label';
|
|
31072
31163
|
const valueId = this.selectId + '-value';
|
|
31073
31164
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31074
|
-
return (hAsync(Host, { key: '
|
|
31165
|
+
return (hAsync(Host, { key: '307b239f3b40c4f8e8d82281d27bd2fd34f3bb5a', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: 'f167940173fb88d422d2a86762dc2d6b0dbe8a6c', class: `form-select-area has-value ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, this.options && this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected }, option.label)))), hAsync("label", { key: '5ebf9a6938cd5919762d5ca329804e001ce187aa', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), hAsync("label", { key: '9a767f6ccb50c0ba85d4c1a968f39cc273a632d9', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && hAsync("p", { key: '61d933e8b60b4f1535f8059510890f4f71fe6279', class: "invalid-feedback" }, this.error)));
|
|
31075
31166
|
}
|
|
31076
31167
|
static get watchers() { return {
|
|
31077
31168
|
"value": ["valueChanged"]
|
|
@@ -32452,9 +32543,9 @@ class RoadPhoneNumberInput {
|
|
|
32452
32543
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
32453
32544
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
32454
32545
|
const sizes = 'xl';
|
|
32455
|
-
return (hAsync(Host, { key: '
|
|
32546
|
+
return (hAsync(Host, { key: '22601e308754696fd63b9bbb8dc7ebf2b6d0be55' }, hAsync("div", { key: 'b1c4941596ebf600cd8cc2960e53c711fae9b757', class: 'phone-number-inputs-container' }, hAsync("div", { key: 'f1275d2ef275c50680f6e42a39a356f3a3eb7a6f', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: 'ee30a39aef2d367dab90e25c06a4f81a55f4250f', id: selectId, class: `form-select-area has-value`, "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, onChange: (event) => this.handleSelect(event), "aria-label": this.codeLabel, tabIndex: this.disabled ? -1 : 0 }, this.countryOptions && this.countryOptions.map(option => (hAsync("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), hAsync("label", { key: 'ff09e61a776783418ac07f935f0db072f7cade68', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: '6f20dfc6fb3b57eae6d5feeeedf386adf06f59a8', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: '2c1ccebf15866a1af59a92fa8e7e8580320cb4a5', type: 'tel', id: inputId, class: `input-${sizes} phone-number-input-field ${hasValueClass} ${isErrorClass}`, value: this.phoneValue, required: this.required, tabIndex: 0, onInput: (event) => this.handleInput(event) }), hAsync("label", { key: 'a079a6bdb5796e2cb0b478e5756eb3917178e011', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
32456
32547
|
&& this.errorMessage !== ''
|
|
32457
|
-
&& hAsync("p", { key: '
|
|
32548
|
+
&& hAsync("p", { key: '7f37655241bda017f4be5bbc45cac43b1d508f32', class: "invalid-feedback" }, hAsync("road-icon", { key: '1d683cdb332c11fb7ed237e2f359e67fecc3e2a2', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
32458
32549
|
}
|
|
32459
32550
|
get el() { return getElement(this); }
|
|
32460
32551
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
@@ -32494,7 +32585,7 @@ class Row {
|
|
|
32494
32585
|
registerInstance(this, hostRef);
|
|
32495
32586
|
}
|
|
32496
32587
|
render() {
|
|
32497
|
-
return (hAsync(Host, { key: '
|
|
32588
|
+
return (hAsync(Host, { key: '4e3cc44961f396a143826d4f588438b965144c9a' }, hAsync("slot", { key: 'cb8415991a4b8676e850e1c22ad2f47ed165db5c' })));
|
|
32498
32589
|
}
|
|
32499
32590
|
static get style() { return RoadRowStyle0; }
|
|
32500
32591
|
static get cmpMeta() { return {
|
|
@@ -32566,10 +32657,10 @@ class SegmentedButton {
|
|
|
32566
32657
|
render() {
|
|
32567
32658
|
const { tabIndex, selected, tab } = this;
|
|
32568
32659
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
32569
|
-
return (hAsync(Host, { key: '
|
|
32660
|
+
return (hAsync(Host, { key: '2bc54c8a88c02e9b6a17ed2c80ef72fd92c92b86', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
32570
32661
|
'tab-selected': selected,
|
|
32571
32662
|
[`${sizeClass}`]: true,
|
|
32572
|
-
} }, hAsync("span", { key: '
|
|
32663
|
+
} }, hAsync("span", { key: 'b13aa5e20b085d42b30d0a1efda6c2f42b7722b9', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("slot", { key: 'c2291a018e6e78e43b23e87edb19f91d1fe95040' }))));
|
|
32573
32664
|
}
|
|
32574
32665
|
get el() { return getElement(this); }
|
|
32575
32666
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -32690,7 +32781,7 @@ class Select {
|
|
|
32690
32781
|
const labelId = this.selectId + '-label';
|
|
32691
32782
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
32692
32783
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32693
|
-
return (hAsync(Host, { key: '
|
|
32784
|
+
return (hAsync(Host, { key: '013639a8fd3830ad94c1ca81484fa640143cd4ae', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '999cd7c2374afba9aaa3c6aaef536641fc9f5725', class: `form-select ${hasValueClass} ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("option", { key: '19e1c66191f3081ea6924e8b0aa2f353ea321e92', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (hAsync("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), hAsync("label", { key: '381053fdd050d1b79571a6ee86a61ae652669e5e', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '119631479c06faac1b025095648a1038a46d15ca', class: "invalid-feedback" }, this.error)));
|
|
32694
32785
|
}
|
|
32695
32786
|
static get watchers() { return {
|
|
32696
32787
|
"value": ["valueChanged"]
|
|
@@ -34611,8 +34702,8 @@ class SelectFilter {
|
|
|
34611
34702
|
const options = this.filteredOptions;
|
|
34612
34703
|
const isActive = this.isActive ? 'true' : 'false';
|
|
34613
34704
|
const notActive = this.isActive ? '' : 'not-active';
|
|
34614
|
-
return (hAsync(Host, { key: '
|
|
34615
|
-
hAsync("ul", { key: '
|
|
34705
|
+
return (hAsync(Host, { key: 'fb7c30800b6d5ca4dab9014dacfe573c6e3ed55e', "is-active": isActive }, hAsync("slot", { key: '07ce304bf4bd1dd7cefc9eb32d0811fd9dea1e21' }), this.isOpen &&
|
|
34706
|
+
hAsync("ul", { key: '61fb5f0e47d2d9667a515d9b8d2933fad9a5fb34', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (hAsync("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: () => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 }))))));
|
|
34616
34707
|
}
|
|
34617
34708
|
get el() { return getElement(this); }
|
|
34618
34709
|
static get style() { return RoadSelectFilterStyle0; }
|
|
@@ -34642,7 +34733,7 @@ class Skeleton {
|
|
|
34642
34733
|
registerInstance(this, hostRef);
|
|
34643
34734
|
}
|
|
34644
34735
|
render() {
|
|
34645
|
-
return (hAsync("span", { key: '
|
|
34736
|
+
return (hAsync("span", { key: '2308cf840f516b2403500122d03996c096e24e05' }, "\u00A0"));
|
|
34646
34737
|
}
|
|
34647
34738
|
static get style() { return RoadSkeletonStyle0; }
|
|
34648
34739
|
static get cmpMeta() { return {
|
|
@@ -34673,7 +34764,7 @@ class Spinner {
|
|
|
34673
34764
|
render() {
|
|
34674
34765
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
34675
34766
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
34676
|
-
return (hAsync("svg", { key: '
|
|
34767
|
+
return (hAsync("svg", { key: 'c122a380b0afdb5ef4041f0cf8a9434dba79b5b0', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'd400bacf50ae86a63e6cd33b7a284f2dbb66eef5', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
34677
34768
|
}
|
|
34678
34769
|
static get style() { return RoadSpinnerStyle0; }
|
|
34679
34770
|
static get cmpMeta() { return {
|
|
@@ -34723,7 +34814,7 @@ class Stepper {
|
|
|
34723
34814
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
34724
34815
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
34725
34816
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
34726
|
-
return (hAsync(Host, { key: '
|
|
34817
|
+
return (hAsync(Host, { key: 'ef29b6ec3ff7889b07d5219b4d7ff4b00b45f675' }, hAsync("nav", { key: 'ef835cefcefc6f0ee972e02a8cbfc4a66f55b9cf' }, hAsync("ul", { key: '82488969f9c10e40eca82d4a6187c38f2271c77c', class: `${colorClass}` }, hAsync("li", { key: 'e52451302119e8424799f5af06582ab6ad81f275', class: `${stateClass}` }, hAsync("a", { key: '78b5fcf76fc856f6560d1b4fdb5dcd7975131b85', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: '1300fad7c5f4321bcf477d8840c583fcddd97a5a', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '516a5e5f2c2be8ed2e8bbccbd2510f6dd4c5ebc3', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: '9a24c8890a2dcb260ff42bbe479ea9c207394470', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '5edfdbfcb40429c0d1fdde401c2264cb98d0104b', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: 'c0d984d6d75ad1b52de12642b490b1a3985cc575', class: `${stateSecondStepClass}` }, hAsync("a", { key: '90bdb01203e16e9277cee9934b90f7a1f57e955f', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: 'a1660e2adbf56d9d11d30873b4b0a63d42b487f7', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'b69fab09aae465126447d22c9faa55ffa732a897', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '43e7a49ccc6d1092cbda0e903a53c53a3f1814a9', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '7a2576d43f9c0cbe8c5e7d5e1ee90c62cdf596c4', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: '08fe3741b6525cdee16099c0de45eb78750bece6', class: `${stateThirdStepClass}` }, hAsync("a", { key: 'f03eb0a89837734a17dd78fb141b5eb1d2477749', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: '7773dcf91219d0353073bb3954dd01e5165aea60', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'a732cb7e2c302ab5c9f29bc7505a7be8ee376b8b', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: 'af22300b250cce3e499209f9f2891a374f0952b5', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '38a4e4f958bb8bfe375670cf50109e4fceb9983d', name: "progress-indicator-horizontal-title3" }))))))));
|
|
34727
34818
|
}
|
|
34728
34819
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
34729
34820
|
static get cmpMeta() { return {
|
|
@@ -34825,11 +34916,11 @@ class Switch {
|
|
|
34825
34916
|
}
|
|
34826
34917
|
render() {
|
|
34827
34918
|
const labelId = this.switchId + '-label';
|
|
34828
|
-
const textLabel = hAsync("label", { key: '
|
|
34919
|
+
const textLabel = hAsync("label", { key: 'cdcf4d06f79ff458b3a0861132e8883a7fdd63a9', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
34829
34920
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
34830
34921
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
34831
34922
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
34832
|
-
return (hAsync(Host, { key: '
|
|
34923
|
+
return (hAsync(Host, { key: 'f0f189b0027d0cc0ecc5c991f097880e9e2789f8' }, hAsync("input", { key: 'a4fe3103d954666453d77f11466c868868f20a0f', class: "form-switch-input", type: "checkbox", id: this.switchId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: '1b5020a171cf5adfd303327a8fd4a57a21747140', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '2808584a487002b6268ec05ab338b2a2d1fbe0db', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
34833
34924
|
}
|
|
34834
34925
|
static get watchers() { return {
|
|
34835
34926
|
"checked": ["checkedChanged"]
|
|
@@ -34884,9 +34975,9 @@ class Tab {
|
|
|
34884
34975
|
}
|
|
34885
34976
|
render() {
|
|
34886
34977
|
const { tab, active } = this;
|
|
34887
|
-
return (hAsync(Host, { key: '
|
|
34978
|
+
return (hAsync(Host, { key: 'b744583dd92ddba9d1b8c07180143a08b96e754f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34888
34979
|
'tab-hidden': !active,
|
|
34889
|
-
} }, hAsync("slot", { key: '
|
|
34980
|
+
} }, hAsync("slot", { key: 'f7435cc8cd63e93bd8566a72d20af855b71680c5' })));
|
|
34890
34981
|
}
|
|
34891
34982
|
get el() { return getElement(this); }
|
|
34892
34983
|
static get style() { return RoadTabStyle0; }
|
|
@@ -34946,11 +35037,11 @@ class TabBar {
|
|
|
34946
35037
|
}
|
|
34947
35038
|
render() {
|
|
34948
35039
|
const { expand, center, secondary } = this;
|
|
34949
|
-
return (hAsync(Host, { key: '
|
|
35040
|
+
return (hAsync(Host, { key: '15b38346a5f6ca231cfeb81463904ae6dd81816d', role: "tablist", class: {
|
|
34950
35041
|
'tab-expand': expand,
|
|
34951
35042
|
'tab-center': center,
|
|
34952
35043
|
'tab-secondary': secondary,
|
|
34953
|
-
} }, hAsync("slot", { key: '
|
|
35044
|
+
} }, hAsync("slot", { key: 'a0a2ea4d42b30f928535eaec10dc9b542a731cbc' })));
|
|
34954
35045
|
}
|
|
34955
35046
|
get el() { return getElement(this); }
|
|
34956
35047
|
static get watchers() { return {
|
|
@@ -35050,7 +35141,7 @@ class TabButton {
|
|
|
35050
35141
|
rel,
|
|
35051
35142
|
target,
|
|
35052
35143
|
};
|
|
35053
|
-
return (hAsync(Host, { key: '
|
|
35144
|
+
return (hAsync(Host, { key: '6d3b2ede0399a960d8e7aa5e285dc7cfe42f973e', onClick: (ev) => !disabled && this.onClick(ev), onKeyup: (ev) => !disabled && this.onKeyUp(ev), role: "tab", tabindex: disabled ? -1 : tabIndex, "aria-selected": selected ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35054
35145
|
'tab-selected': selected,
|
|
35055
35146
|
'tab-has-label': hasLabel,
|
|
35056
35147
|
'tab-has-icon': hasIcon,
|
|
@@ -35058,7 +35149,7 @@ class TabButton {
|
|
|
35058
35149
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
35059
35150
|
[`tab-layout-${layout}`]: true,
|
|
35060
35151
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
35061
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35152
|
+
} }, hAsync("a", Object.assign({ key: 'c1ff25470cfbac51db402b926c199915791dc965' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '2cdfaa8ac540c85dabf3a652ef093c7c2b94209e', class: "button-inner" }, hAsync("slot", { key: 'edba308a6833643f98f0c2902211075f3b9a0a4c' })))));
|
|
35062
35153
|
}
|
|
35063
35154
|
get el() { return getElement(this); }
|
|
35064
35155
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -35092,7 +35183,7 @@ class Table {
|
|
|
35092
35183
|
registerInstance(this, hostRef);
|
|
35093
35184
|
}
|
|
35094
35185
|
render() {
|
|
35095
|
-
return (hAsync("slot", { key: '
|
|
35186
|
+
return (hAsync("slot", { key: 'be2059cdb41fbdf9934a31eaf24d1c3e2b785ecf' }));
|
|
35096
35187
|
}
|
|
35097
35188
|
static get style() { return RoadTableStyle0; }
|
|
35098
35189
|
static get cmpMeta() { return {
|
|
@@ -35200,7 +35291,7 @@ class Tabs$1 {
|
|
|
35200
35291
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35201
35292
|
}
|
|
35202
35293
|
render() {
|
|
35203
|
-
return (hAsync(Host, { key: '
|
|
35294
|
+
return (hAsync(Host, { key: '90a9001d7a86a6970d09feccbfc5fb8ea0774676', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '35773affdcd12aadce79eb77bcd507f59a87ce27', name: "top" }), hAsync("slot", { key: 'a35292550edfad0ebd8f799dc493d9557479c360' })));
|
|
35204
35295
|
}
|
|
35205
35296
|
get el() { return getElement(this); }
|
|
35206
35297
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -35336,7 +35427,7 @@ class Tabs {
|
|
|
35336
35427
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35337
35428
|
}
|
|
35338
35429
|
render() {
|
|
35339
|
-
return (hAsync(Host, { key: '
|
|
35430
|
+
return (hAsync(Host, { key: '81779329105d5c2624cd7fc66788d83f90279560', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '17f60a197e463769943fd4bd7ebb9aec948b6d97', name: "top" }), hAsync("div", { key: 'a697beb02f9235607342332444b0d02f0f6acfaf', class: "tabs-inner" }, hAsync("slot", { key: 'e14ff75ff1e338a0d9a69c65a698044e38f93b94' }))));
|
|
35340
35431
|
}
|
|
35341
35432
|
get el() { return getElement(this); }
|
|
35342
35433
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -35384,7 +35475,7 @@ class Tag {
|
|
|
35384
35475
|
}
|
|
35385
35476
|
render() {
|
|
35386
35477
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
35387
|
-
return (hAsync(Host, { key: '
|
|
35478
|
+
return (hAsync(Host, { key: '3667460c299406338997167fc6dd98d4b12a293c', class: `${contrastClass}` }, hAsync("slot", { key: '32bf7b0230d6565189d572a89a6935f802e1e9e0' })));
|
|
35388
35479
|
}
|
|
35389
35480
|
static get style() { return RoadTagStyle0; }
|
|
35390
35481
|
static get cmpMeta() { return {
|
|
@@ -35416,7 +35507,7 @@ class Text {
|
|
|
35416
35507
|
}
|
|
35417
35508
|
render() {
|
|
35418
35509
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
35419
|
-
return (hAsync(Host, { key: '
|
|
35510
|
+
return (hAsync(Host, { key: '85c95009d2595479bca90b6a5e91f86d1753c914', class: `${colorClass}` }, hAsync("slot", { key: '89c209b7bec2a7267778f1a85c14933ce1a3c983' })));
|
|
35420
35511
|
}
|
|
35421
35512
|
static get style() { return RoadTextStyle0; }
|
|
35422
35513
|
static get cmpMeta() { return {
|
|
@@ -35431,7 +35522,7 @@ class Text {
|
|
|
35431
35522
|
}; }
|
|
35432
35523
|
}
|
|
35433
35524
|
|
|
35434
|
-
const textareaCss = ".sc-road-textarea-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--road-font, sans-serif);color:var(--road-on-surface)}.form-control.sc-road-textarea{box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.75rem 1rem 0;margin:0;font-size:var(--road-body-medium);color:var(--road-on-surface);background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;box-shadow:none;appearance:none}.form-control.sc-road-textarea::placeholder{color:var(--road-on-surface-extra-weak);opacity:1}@media (hover: hover){.form-control.sc-road-textarea:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:-ms-input-placeholder~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:not(:disabled):focus{border-color:var(--road-input-outline-variant)}.form-control.sc-road-textarea:disabled,.form-control[readonly].sc-road-textarea{color:var(--road-on-surface-weak);cursor:not-allowed;background:var(--road-surface-disabled);opacity:1}.textarea-control.sc-road-textarea{height:auto;padding-top:1rem;padding-bottom:0.5rem;line-height:1.5}.textarea-control.no-resize.sc-road-textarea{resize:none}.form-label.sc-road-textarea{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.input-xl.sc-road-textarea-h{--height:3.5rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea{padding:1.5rem 1rem 0.5rem}.input-xl.sc-road-textarea-h .form-label.sc-road-textarea{top:1rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"date\"].sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"time\"].sc-road-textarea~.form-label.sc-road-textarea{width:
|
|
35525
|
+
const textareaCss = ".sc-road-textarea-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--road-font, sans-serif);color:var(--road-on-surface)}.form-control.sc-road-textarea{box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.75rem 1rem 0;margin:0;font-size:var(--road-body-medium);color:var(--road-on-surface);background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;box-shadow:none;appearance:none}.form-control.sc-road-textarea::placeholder{color:var(--road-on-surface-extra-weak);opacity:1}@media (hover: hover){.form-control.sc-road-textarea:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:-ms-input-placeholder~.form-label.sc-road-textarea{transform:scale(0.625) translateY(-0.625rem)}.form-control.sc-road-textarea:not(:disabled):focus{border-color:var(--road-input-outline-variant)}.form-control.sc-road-textarea:disabled,.form-control[readonly].sc-road-textarea{color:var(--road-on-surface-weak);cursor:not-allowed;background:var(--road-surface-disabled);opacity:1}.textarea-control.sc-road-textarea{height:auto;padding-top:1rem;padding-bottom:0.5rem;line-height:1.5}.textarea-control.no-resize.sc-road-textarea{resize:none}.form-label.sc-road-textarea{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0;width:95%;white-space:normal;overflow-wrap:break-word}.input-xl.sc-road-textarea-h{--height:3.5rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea{padding:1.5rem 1rem 0.5rem}.input-xl.sc-road-textarea-h .form-label.sc-road-textarea{top:1rem}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"date\"].sc-road-textarea~.form-label.sc-road-textarea,.input-xl.sc-road-textarea-h .form-control[type=\"time\"].sc-road-textarea~.form-label.sc-road-textarea{width:100%;transform:scale(0.75) translateY(-0.625rem)}.input-xl.sc-road-textarea-h .form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{width:100%;transform:scale(0.75) translateY(-0.625rem)}.invalid-feedback.sc-road-textarea{display:none;width:100%;margin-top:0.5rem;font-size:var(--road-helper-medium);color:var(--road-on-danger-surface)}.form-control.is-invalid.sc-road-textarea,.was-validated.sc-road-textarea .form-control.sc-road-textarea:invalid{border-color:var(--road-danger-outline)}.form-control.is-invalid.sc-road-textarea~.invalid-feedback.sc-road-textarea,.was-validated.sc-road-textarea .form-control.sc-road-textarea:invalid~.invalid-feedback.sc-road-textarea{display:block}.helper.sc-road-textarea{margin-top:0.5rem;font-size:var(--road-helper-medium);color:var(--road-on-surface-weak)}";
|
|
35435
35526
|
var RoadTextareaStyle0 = textareaCss;
|
|
35436
35527
|
|
|
35437
35528
|
class Textarea {
|
|
@@ -35526,7 +35617,7 @@ class Textarea {
|
|
|
35526
35617
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
35527
35618
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
35528
35619
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
35529
|
-
return (hAsync(Host, { key: '
|
|
35620
|
+
return (hAsync(Host, { key: '3c67992e2115927c81f276e60583b6a83fd18efb', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: 'd7c6c1b8c976927d194fa0c21612da738bdd7ca9', class: `form-control textarea-control ${hasValueClass} ${noResizeClass} ${isInvalidClass}`, id: this.textareaId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, value: value, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }), hAsync("label", { key: '303a42722645e13e0f51d36cbb1f58a1f2b8133f', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '3cdfdf26100159f8670ec1af0adc7be3c7c0bc05', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '2c9005d2ee957c9f96715cb21dfe23c7d6e6da91', class: "helper" }, this.helper)));
|
|
35530
35621
|
}
|
|
35531
35622
|
static get watchers() { return {
|
|
35532
35623
|
"value": ["valueChanged"]
|
|
@@ -35657,7 +35748,7 @@ class Toast {
|
|
|
35657
35748
|
if (this.color == 'danger') {
|
|
35658
35749
|
this.timeout = 0;
|
|
35659
35750
|
}
|
|
35660
|
-
return (hAsync(Host, { key: '
|
|
35751
|
+
return (hAsync(Host, { key: '14cafc2777cedc95774645bdbaf2c65f15443ddd', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: 'a9cd0420baa43335ee7b4b3be817064b01128791', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: 'c1cc57fbade3a5ca30c92fafe869ab2004b75b6d', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: '91cedf94b14a2fc5dc87b5b22b28d1dcff9e9040', class: "toast-label" }, this.label), hAsync("button", { key: '2094e54b20d2f90529fd1a1e7232be28c2b58c08', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: '433be6a65e10079932e2c8e0b9d4eeea3703cf74', icon: navigationClose, size: "md" })), hAsync("slot", { key: '6b1265f7a7dface84369d4b89fceac1edac1f135', name: "progress" }))));
|
|
35661
35752
|
}
|
|
35662
35753
|
static get watchers() { return {
|
|
35663
35754
|
"isOpen": ["isOpenChanged"]
|
|
@@ -35697,7 +35788,7 @@ class Toolbar {
|
|
|
35697
35788
|
}
|
|
35698
35789
|
render() {
|
|
35699
35790
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
35700
|
-
return (hAsync(Host, { key: '
|
|
35791
|
+
return (hAsync(Host, { key: '25e1b1f62cb2275cf2064976854cab8906d8d1fa', class: colorClass }, hAsync("div", { key: '66a337f9b9e3de9a9973187b743a5fc38e656db6', class: "toolbar-container" }, hAsync("slot", { key: '3eac79d311d5a5eaf8f0360ed0ea06437311bc66', name: "start" }), hAsync("slot", { key: '86edbf1b1688336bd1da25d583ca292b68b2fd40', name: "primary" }), hAsync("div", { key: '82e243bed009c91a368c6d17d19fe44c8f1ab377', class: "toolbar-content" }, hAsync("slot", { key: '736422f09a2807cc66acd48100fb93dccee791d7' })), hAsync("slot", { key: 'a6dcc44aa6c60f1571439b28131779264bf40b4e', name: "secondary" }), hAsync("slot", { key: 'ed19add903ff44f3a0628f460c65d1b5b5b194f5', name: "end" }))));
|
|
35701
35792
|
}
|
|
35702
35793
|
static get style() { return RoadToolbarStyle0; }
|
|
35703
35794
|
static get cmpMeta() { return {
|
|
@@ -35723,7 +35814,7 @@ class ToolbarAppName {
|
|
|
35723
35814
|
registerInstance(this, hostRef);
|
|
35724
35815
|
}
|
|
35725
35816
|
render() {
|
|
35726
|
-
return (hAsync("div", { key: '
|
|
35817
|
+
return (hAsync("div", { key: '2b4e73d787a8ec0f798bebbedb23043668662744', class: "toolbar-title-page" }, hAsync("slot", { key: 'ceef06bf0c66476e815d8a31cd9f89e5fade48b9' })));
|
|
35727
35818
|
}
|
|
35728
35819
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
35729
35820
|
static get cmpMeta() { return {
|
|
@@ -35747,7 +35838,7 @@ class ToolbarTitle {
|
|
|
35747
35838
|
registerInstance(this, hostRef);
|
|
35748
35839
|
}
|
|
35749
35840
|
render() {
|
|
35750
|
-
return (hAsync("div", { key: '
|
|
35841
|
+
return (hAsync("div", { key: '1954318f1cf6c390f2a0fc2cd6c3edf9f5b925d2', class: "toolbar-title" }, hAsync("slot", { key: '5fa3cbe4dc328bc9d1dcaa7ee03a0596229d5403' })));
|
|
35751
35842
|
}
|
|
35752
35843
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
35753
35844
|
static get cmpMeta() { return {
|
|
@@ -35776,7 +35867,7 @@ class ToolbarV2 {
|
|
|
35776
35867
|
registerInstance(this, hostRef);
|
|
35777
35868
|
}
|
|
35778
35869
|
render() {
|
|
35779
|
-
return (hAsync(Host, { key: '
|
|
35870
|
+
return (hAsync(Host, { key: '8241a50d017faf63ea48be2a805c6e9a28dba747', class: "toolbar" }, hAsync("div", { key: '839c5b918ce655521cd8eb346ae9d768f8f44471', class: "toolbar-container" }, hAsync("div", { key: '8344f8e81e0d3c2b6efe5d2a4f41b459c9c7c3d8', class: "toolbar-container-content-left" }, hAsync("slot", { key: '28fd1e89041b162a1c29babfeb561d2f917a5ff6', name: "start" }), hAsync("slot", { key: 'be6faa36e7b68c4ec2ade6e00f08e2a9ed9d531e', name: "primary" })), hAsync("div", { key: '04bbb21381094ff64a6609906d9f1af722a50733', class: "toolbar-content" }, hAsync("slot", { key: 'd864189582f7ea215a2e6581f7b693e32e1ca770' })), hAsync("div", { key: 'cfa7b22e4e9f73b9f3678f8c342dcda87266f335', class: "toolbar-container-content-right" }, hAsync("slot", { key: '5195dbb5a0d3926cf02068cd8eb557e6c869c576', name: "secondary" }), hAsync("slot", { key: '46f2619f4b652ea8b4b154796ac0b7d7ffebbc15', name: "end" })))));
|
|
35780
35871
|
}
|
|
35781
35872
|
static get style() { return RoadToolbarV2Style0; }
|
|
35782
35873
|
static get cmpMeta() { return {
|
|
@@ -35789,7 +35880,7 @@ class ToolbarV2 {
|
|
|
35789
35880
|
}; }
|
|
35790
35881
|
}
|
|
35791
35882
|
|
|
35792
|
-
const tooltipCss = ":host{--max-width:85vw;--z-index:1;--width:max-content;position:relative;display:inline-block}:host(:hover){cursor:pointer}:host([trigger=\"hover\"]) .tooltip{transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out}.tooltip{position:absolute;top:-0.5rem;left:50%;z-index:1;width:var(--width);min-width:100%;max-width:var(--max-width);padding:0.5rem;font-family:var(--road-font);font-size:var(--road-body-small);color:var(--road-on-surface);text-align:center;pointer-events:none;visibility:hidden;background:var(--road-surface);border:1px solid var(--road-outline-weak);border-radius:0.25rem;box-shadow:var(--road-elevation-low);opacity:0;transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out;transform:translateX(-50%) translateY(-100%)}:host([contentalign=\"left\"]) .tooltip{text-align:left}.tooltip.tooltip-text-left::after{text-align:left}.tooltip-open{visibility:visible;opacity:1}:host([data-tooltip-position=\"top\"]) .tooltip{left:50%;transform:translateX(-50%) translateY(-70%)}:host([data-tooltip-position=\"top\"]) .tooltip-open{left:50%;transform:translateX(-50%) translateY(-100%)}:host([data-tooltip-position=\"top-left\"]) .tooltip{left:0%;transform:translateY(-70%)}:host([data-tooltip-position=\"top-left\"]) .tooltip-open{transform:translateY(-100%)}:host([data-tooltip-position=\"top-right\"]) .tooltip{left:50%;transform:translateY(-70%)}:host([data-tooltip-position=\"top-right\"]) .tooltip-open{left:100%;transform:translateY(-100%)}:host([data-tooltip-position=\"left\"]) .tooltip{top:50%;left:0%;margin-right:0.5rem;transform:translateX(-94%) translateY(-55%)}:host([data-tooltip-position=\"left\"]) .tooltip-open{transform:translateX(-103%) translateY(-55%)}:host([data-tooltip-position=\"bottom\"]) .tooltip{top:100%;left:50%;margin-top:0.5rem;transform:translateX(-50%) translateY(-40%)}:host([data-tooltip-position=\"bottom\"]) .tooltip-open{transform:translateX(-50%) translateY(-6%)}:host([data-tooltip-position=\"bottom-left\"]) .tooltip{top:100%;left:0;margin-top:0.5rem;transform:translateY(-40%)}:host([data-tooltip-position=\"bottom-left\"]) .tooltip-open{transform:translateY(-6%)}:host([data-tooltip-position=\"bottom-right\"]) .tooltip{top:100%;left:100%;margin-top:0.5rem;transform:translateY(-40%)}:host([data-tooltip-position=\"bottom-right\"]) .tooltip-open{transform:translateY(-6%)}:host([data-tooltip-position=\"right\"]) .tooltip{top:50%;left:100%;margin-left:0.5rem;transform:translateX(-14%) translateY(-55%)}:host([data-tooltip-position=\"right\"]) .tooltip-open{transform:translateX(-4%) translateY(-55%)}";
|
|
35883
|
+
const tooltipCss = ":host{--max-width:85vw;--z-index:1;--width:max-content;position:relative;display:inline-block}:host(:hover){cursor:pointer}:host([trigger=\"hover\"]) .tooltip{transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out}.tooltip{position:absolute;top:-0.5rem;left:50%;z-index:1;width:var(--width);min-width:100%;max-width:var(--max-width);padding:0.5rem;font-family:var(--road-font);font-size:var(--road-body-small);color:var(--road-on-surface);text-align:center;pointer-events:none;visibility:hidden;background:var(--road-surface);border:1px solid var(--road-outline-weak);border-radius:0.25rem;box-shadow:var(--road-elevation-low);opacity:0;transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out;transform:translateX(-50%) translateY(-100%)}:host([contentalign=\"left\"]) .tooltip{text-align:left}.tooltip.tooltip-text-left::after{text-align:left}.tooltip-open{visibility:visible;opacity:1}:host([data-tooltip-position=\"top\"]) .tooltip{left:50%;transform:translateX(-50%) translateY(-70%)}:host([data-tooltip-position=\"top\"]) .tooltip-open{left:50%;transform:translateX(-50%) translateY(-100%)}:host([data-tooltip-position=\"top-left\"]) .tooltip{left:0%;transform:translateY(-70%)}:host([data-tooltip-position=\"top-left\"]) .tooltip-open{transform:translateY(-100%)}:host([data-tooltip-position=\"top-right\"]) .tooltip{left:50%;transform:translateY(-70%)}:host([data-tooltip-position=\"top-right\"]) .tooltip-open{left:100%;transform:translateY(-100%)}:host([data-tooltip-position=\"top-end\"]) .tooltip{left:auto;right:0%;transform:translateY(-70%)}:host([data-tooltip-position=\"top-end\"]) .tooltip-open{transform:translateY(-100%)}:host([data-tooltip-position=\"left\"]) .tooltip{top:50%;left:0%;margin-right:0.5rem;transform:translateX(-94%) translateY(-55%)}:host([data-tooltip-position=\"left\"]) .tooltip-open{transform:translateX(-103%) translateY(-55%)}:host([data-tooltip-position=\"bottom\"]) .tooltip{top:100%;left:50%;margin-top:0.5rem;transform:translateX(-50%) translateY(-40%)}:host([data-tooltip-position=\"bottom\"]) .tooltip-open{transform:translateX(-50%) translateY(-6%)}:host([data-tooltip-position=\"bottom-left\"]) .tooltip{top:100%;left:0;margin-top:0.5rem;transform:translateY(-40%)}:host([data-tooltip-position=\"bottom-left\"]) .tooltip-open{transform:translateY(-6%)}:host([data-tooltip-position=\"bottom-right\"]) .tooltip{top:100%;left:100%;margin-top:0.5rem;transform:translateY(-40%)}:host([data-tooltip-position=\"bottom-right\"]) .tooltip-open{transform:translateY(-6%)}:host([data-tooltip-position=\"bottom-end\"]) .tooltip{margin-top:0.5rem;left:auto;top:100%;right:0;transform:translateY(-40%)}:host([data-tooltip-position=\"bottom-end\"]) .tooltip-open{transform:translateY(-6%)}:host([data-tooltip-position=\"right\"]) .tooltip{top:50%;left:100%;margin-left:0.5rem;transform:translateX(-14%) translateY(-55%)}:host([data-tooltip-position=\"right\"]) .tooltip-open{transform:translateX(-4%) translateY(-55%)}";
|
|
35793
35884
|
var RoadTooltipStyle0 = tooltipCss;
|
|
35794
35885
|
|
|
35795
35886
|
/**
|
|
@@ -35889,12 +35980,12 @@ class Tooltip {
|
|
|
35889
35980
|
return triggers.includes(triggerType);
|
|
35890
35981
|
}
|
|
35891
35982
|
render() {
|
|
35892
|
-
return (hAsync(Host, { key: '
|
|
35983
|
+
return (hAsync(Host, { key: 'f4b4e3e268c1fe9c6dbac5494f2be211188972a1', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
35893
35984
|
,
|
|
35894
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
35985
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: 'e7af2532c2a5354ead0bf2967413e3430d35b497', "aria-describedby": this.tooltipId }), hAsync("div", { key: '519d1b3572ed6aa8598470789d1e1ed9c2997f31', part: "tooltip", id: this.tooltipId, class: {
|
|
35895
35986
|
tooltip: true,
|
|
35896
35987
|
'tooltip-open': this.isOpen,
|
|
35897
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '
|
|
35988
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: 'beea02dad69aec6cbc789c1118e833b10ef66162', name: "tooltip-content" }))));
|
|
35898
35989
|
}
|
|
35899
35990
|
get el() { return getElement(this); }
|
|
35900
35991
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -35994,11 +36085,11 @@ class toggle {
|
|
|
35994
36085
|
}
|
|
35995
36086
|
render() {
|
|
35996
36087
|
const labelId = this.toggleId + '-label';
|
|
35997
|
-
const textLabel = hAsync("label", { key: '
|
|
36088
|
+
const textLabel = hAsync("label", { key: 'c9c9c5c7638377a14f525b2b486023bd3ab3040c', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
35998
36089
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
35999
36090
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
36000
36091
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
36001
|
-
return (hAsync(Host, { key: '
|
|
36092
|
+
return (hAsync(Host, { key: '7e29c4e9dcefd818fa35a658cc6dfa655b6788f4' }, hAsync("input", { key: '9815ae75a0843c302eeaa9ec5166acc648e8d631', class: "form-toggle-input", type: "checkbox", id: this.toggleId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("label", { key: '6c84b0119a054fd91bea80b839319a68d32da73b', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: 'af85da7f0aeb821366ab384eb3b5a3ebe39499bb', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
36002
36093
|
}
|
|
36003
36094
|
static get watchers() { return {
|
|
36004
36095
|
"checked": ["checkedChanged"]
|
|
@@ -36075,6 +36166,7 @@ registerComponents([
|
|
|
36075
36166
|
ProgressTracker,
|
|
36076
36167
|
ProgressTrackerItem,
|
|
36077
36168
|
Radio,
|
|
36169
|
+
RadioCard,
|
|
36078
36170
|
RadioGroup,
|
|
36079
36171
|
Range,
|
|
36080
36172
|
Rating,
|