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