@roadtrip/components 3.45.0 → 3.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +35 -20
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-duration.cjs.entry.js +1 -1
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
- package/dist/cjs/road-img.cjs.entry.js +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 +1 -1
- package/dist/cjs/road-radio-group.cjs.entry.js +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 +1 -1
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-status-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-time-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +46 -32
- package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/drawer/drawer.css +10 -5
- package/dist/collection/components/drawer/drawer.js +44 -7
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/duration/duration.js +1 -1
- package/dist/collection/components/flap/flap.js +1 -1
- package/dist/collection/components/global-navigation/global-navigation.js +1 -1
- package/dist/collection/components/global-navigation-v2/global-navigation-v2.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/input/input.js +2 -2
- 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/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/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-card/radio-card.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select-filter/select-filter.js +1 -1
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/status-chip/status-chip.js +1 -1
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/time-range-picker/time-range-picker.js +1 -1
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
- package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +52 -38
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-badge_14.entry.js +35 -20
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-dropdown.entry.js +1 -1
- package/dist/esm/road-duration.entry.js +1 -1
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-global-navigation-v2.entry.js +1 -1
- package/dist/esm/road-global-navigation.entry.js +1 -1
- package/dist/esm/road-img.entry.js +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 +1 -1
- package/dist/esm/road-radio-group.entry.js +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 +1 -1
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-status-chip.entry.js +1 -1
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +2 -2
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-time-range-picker.entry.js +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +46 -32
- package/dist/esm/road-tooltip.entry.js.map +1 -1
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +4 -0
- package/dist/roadtrip/{p-b5b2e36c.entry.js → p-0a9d4cd3.entry.js} +2 -2
- package/dist/roadtrip/{p-fdcebcc3.entry.js → p-110386d3.entry.js} +2 -2
- package/dist/roadtrip/{p-7955499d.entry.js → p-17dc5381.entry.js} +2 -2
- package/dist/roadtrip/{p-29ac611e.entry.js → p-1a75a359.entry.js} +2 -2
- package/dist/roadtrip/{p-a264377a.entry.js → p-1ee55ec2.entry.js} +2 -2
- package/dist/roadtrip/{p-1449b7c8.entry.js → p-261177f6.entry.js} +2 -2
- package/dist/roadtrip/{p-3a310d3d.entry.js → p-351b3b04.entry.js} +2 -2
- package/dist/roadtrip/p-382828d4.entry.js +2 -0
- package/dist/roadtrip/{p-e56c84ec.entry.js.map → p-382828d4.entry.js.map} +1 -1
- package/dist/roadtrip/{p-e7b4f257.entry.js → p-395b9785.entry.js} +2 -2
- package/dist/roadtrip/{p-4bb49a92.entry.js → p-43bb4e97.entry.js} +2 -2
- package/dist/roadtrip/p-43bb4e97.entry.js.map +1 -0
- package/dist/roadtrip/{p-24196fd2.entry.js → p-47433b76.entry.js} +2 -2
- package/dist/roadtrip/{p-45b9521f.entry.js → p-4798ebaa.entry.js} +2 -2
- package/dist/roadtrip/{p-d6a7644e.entry.js → p-47cef871.entry.js} +2 -2
- package/dist/roadtrip/{p-2797e2f2.entry.js → p-48ceee77.entry.js} +2 -2
- package/dist/roadtrip/{p-b61abebd.entry.js → p-4a69d010.entry.js} +2 -2
- package/dist/roadtrip/{p-39173ac2.entry.js → p-5d1d532a.entry.js} +2 -2
- package/dist/roadtrip/{p-b292d3fc.entry.js → p-61c4b6f1.entry.js} +2 -2
- package/dist/roadtrip/{p-9cbd5ae9.entry.js → p-68ae654b.entry.js} +2 -2
- package/dist/roadtrip/{p-c9527301.entry.js → p-6b0a37ba.entry.js} +2 -2
- package/dist/roadtrip/{p-f89e588a.entry.js → p-77e7dc8a.entry.js} +2 -2
- package/dist/roadtrip/{p-65dfd1e8.entry.js → p-790d848a.entry.js} +2 -2
- package/dist/roadtrip/{p-927cf307.entry.js → p-7bef34c4.entry.js} +2 -2
- package/dist/roadtrip/p-7ed5616c.entry.js +2 -0
- package/dist/roadtrip/{p-d881a66c.entry.js → p-7f96eb76.entry.js} +2 -2
- package/dist/roadtrip/{p-52d56ed2.entry.js → p-8a806d96.entry.js} +2 -2
- package/dist/roadtrip/{p-875b5999.entry.js → p-8eb19a44.entry.js} +2 -2
- package/dist/roadtrip/{p-6e9fac54.entry.js → p-8fad6cc9.entry.js} +2 -2
- package/dist/roadtrip/{p-302f51c6.entry.js → p-93c1be55.entry.js} +2 -2
- package/dist/roadtrip/{p-70f4387a.entry.js → p-943e31a7.entry.js} +2 -2
- package/dist/roadtrip/{p-d1517c27.entry.js → p-944ce861.entry.js} +2 -2
- package/dist/roadtrip/{p-79c3152e.entry.js → p-9af318e9.entry.js} +2 -2
- package/dist/roadtrip/{p-377d6b5b.entry.js → p-9c156562.entry.js} +2 -2
- package/dist/roadtrip/{p-c28fbcc0.entry.js → p-9d01727d.entry.js} +2 -2
- package/dist/roadtrip/{p-26b852e2.entry.js → p-9e8ae5c3.entry.js} +2 -2
- package/dist/roadtrip/{p-36288d23.entry.js → p-9f7d111d.entry.js} +2 -2
- package/dist/roadtrip/{p-b8132587.entry.js → p-a597e606.entry.js} +2 -2
- package/dist/roadtrip/{p-23315788.entry.js → p-bb1aeca6.entry.js} +4 -4
- package/dist/roadtrip/p-bb1aeca6.entry.js.map +1 -0
- package/dist/roadtrip/p-bfe3d3eb.entry.js +2 -0
- package/dist/roadtrip/{p-61191773.entry.js.map → p-bfe3d3eb.entry.js.map} +1 -1
- package/dist/roadtrip/p-c1cd98dc.entry.js +2 -0
- package/dist/roadtrip/{p-11d896b1.entry.js → p-c2e07db9.entry.js} +2 -2
- package/dist/roadtrip/{p-8cd69117.entry.js → p-c96c0597.entry.js} +2 -2
- package/dist/roadtrip/{p-4e3cc7e9.entry.js → p-cbbfe0ce.entry.js} +2 -2
- package/dist/roadtrip/{p-5b738d24.entry.js → p-da60c3a9.entry.js} +2 -2
- package/dist/roadtrip/{p-de35fded.entry.js → p-e5f94b35.entry.js} +2 -2
- package/dist/roadtrip/{p-7e0bdcf9.entry.js → p-f07047c1.entry.js} +2 -2
- package/dist/roadtrip/p-f157fec0.entry.js +2 -0
- package/dist/roadtrip/{p-c4550384.entry.js → p-f3e5e983.entry.js} +2 -2
- package/dist/roadtrip/{p-75ebf102.entry.js → p-f41d2a41.entry.js} +2 -2
- package/dist/roadtrip/{p-8753beba.entry.js → p-f4da1ccf.entry.js} +2 -2
- package/dist/roadtrip/{p-c7dd579d.entry.js → p-fcb7a3e5.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/drawer/drawer.d.ts +8 -1
- package/dist/types/components/tooltip/tooltip.d.ts +4 -8
- package/dist/types/components.d.ts +44 -32
- package/hydrate/index.js +142 -114
- package/hydrate/index.mjs +142 -114
- package/package.json +1 -1
- package/dist/roadtrip/p-23315788.entry.js.map +0 -1
- package/dist/roadtrip/p-2ae82371.entry.js +0 -2
- package/dist/roadtrip/p-4334d85b.entry.js +0 -2
- package/dist/roadtrip/p-4bb49a92.entry.js.map +0 -1
- package/dist/roadtrip/p-61191773.entry.js +0 -2
- package/dist/roadtrip/p-e56c84ec.entry.js +0 -2
- package/dist/roadtrip/p-ff189f73.entry.js +0 -2
- /package/dist/roadtrip/{p-b5b2e36c.entry.js.map → p-0a9d4cd3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fdcebcc3.entry.js.map → p-110386d3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7955499d.entry.js.map → p-17dc5381.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-29ac611e.entry.js.map → p-1a75a359.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a264377a.entry.js.map → p-1ee55ec2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1449b7c8.entry.js.map → p-261177f6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3a310d3d.entry.js.map → p-351b3b04.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e7b4f257.entry.js.map → p-395b9785.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-24196fd2.entry.js.map → p-47433b76.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-45b9521f.entry.js.map → p-4798ebaa.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d6a7644e.entry.js.map → p-47cef871.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2797e2f2.entry.js.map → p-48ceee77.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b61abebd.entry.js.map → p-4a69d010.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-39173ac2.entry.js.map → p-5d1d532a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b292d3fc.entry.js.map → p-61c4b6f1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9cbd5ae9.entry.js.map → p-68ae654b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c9527301.entry.js.map → p-6b0a37ba.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f89e588a.entry.js.map → p-77e7dc8a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-65dfd1e8.entry.js.map → p-790d848a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-927cf307.entry.js.map → p-7bef34c4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4334d85b.entry.js.map → p-7ed5616c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d881a66c.entry.js.map → p-7f96eb76.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-52d56ed2.entry.js.map → p-8a806d96.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-875b5999.entry.js.map → p-8eb19a44.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6e9fac54.entry.js.map → p-8fad6cc9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-302f51c6.entry.js.map → p-93c1be55.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-70f4387a.entry.js.map → p-943e31a7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d1517c27.entry.js.map → p-944ce861.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-79c3152e.entry.js.map → p-9af318e9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-377d6b5b.entry.js.map → p-9c156562.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c28fbcc0.entry.js.map → p-9d01727d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-26b852e2.entry.js.map → p-9e8ae5c3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-36288d23.entry.js.map → p-9f7d111d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b8132587.entry.js.map → p-a597e606.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2ae82371.entry.js.map → p-c1cd98dc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-11d896b1.entry.js.map → p-c2e07db9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8cd69117.entry.js.map → p-c96c0597.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4e3cc7e9.entry.js.map → p-cbbfe0ce.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5b738d24.entry.js.map → p-da60c3a9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-de35fded.entry.js.map → p-e5f94b35.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7e0bdcf9.entry.js.map → p-f07047c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ff189f73.entry.js.map → p-f157fec0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c4550384.entry.js.map → p-f3e5e983.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-75ebf102.entry.js.map → p-f41d2a41.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8753beba.entry.js.map → p-f4da1ccf.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c7dd579d.entry.js.map → p-fcb7a3e5.entry.js.map} +0 -0
|
@@ -32,7 +32,7 @@ const Dropdown = class {
|
|
|
32
32
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
33
33
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
34
34
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
35
|
-
return (index.h("details", { key: '
|
|
35
|
+
return (index.h("details", { key: '369ce1cfb90f00ccdf3a513b074871f74587ea60', class: "dropdown", open: this.isOpen }, index.h("summary", { key: '7892d1f9a8dd3167d3894b3c8cd2f2ee3feda8f4', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, index.h("div", { key: 'a24ca536cf7f3e6cf44c46f6dae355d527224570', class: `d-flex ${positionClass}` }, index.h("div", { key: '1e7ba5b51a68a4b0c79cd7bf256853dfa4b8ab3a', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, index.h("road-icon", { key: '64256d8c446025fa7199fbb7cda0777cf02c46c9', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), index.h("div", { key: 'b2020719de2304d5c4f606ed3f306aaf4f8a382a', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, index.h("slot", { key: 'ee017bc6678acc0f8770a5c52921d8f886f35aa6', name: "list" }))));
|
|
36
36
|
}
|
|
37
37
|
get el() { return index.getElement(this); }
|
|
38
38
|
};
|
|
@@ -52,7 +52,7 @@ const Duration = class {
|
|
|
52
52
|
this.isOpen = false;
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h("road-drawer", { key: '
|
|
55
|
+
return (index.h("road-drawer", { key: '17db42f462da76b54a24eb6dd52a0ce637be4c86', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, index.h("road-grid", { key: '51fb1715dc70ffe94e82e171db3759c308c562e4' }, index.h("road-row", { key: 'a4b5d1e6489f39bb6bc698c7beadf5135d46e3e9', 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 => index.h("road-col", { class: "col-3 col-md-2" }, index.h("road-card", { button: true, value: item }, index.h("road-label", null, Math.floor(item / 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false }), ":", (item % 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false })))))))));
|
|
56
56
|
}
|
|
57
57
|
get el() { return index.getElement(this); }
|
|
58
58
|
};
|
|
@@ -25,7 +25,7 @@ const Flap = class {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
28
|
-
return (index.h(index.Host, { key: '
|
|
28
|
+
return (index.h(index.Host, { key: '17654f70a4f17fb19164ebb3f29ca576768cda54', class: `${colorClass} flap-${this.size}` }, index.h("slot", { key: '06d531af72c1d328976fcc23f9877da54e39b667' })));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
Flap.style = RoadFlapStyle0;
|
|
@@ -132,7 +132,7 @@ const GlobalNavigationV2 = class {
|
|
|
132
132
|
this.selectedTabChanged();
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (index.h(index.Host, { key: '
|
|
135
|
+
return (index.h(index.Host, { key: '71284cfbbb2297134bfed397d45af88fc035d95f', role: "application" }, index.h("slot", { key: '04c47f8f5c69d72ef7c74e405037deeba4aa6019' })));
|
|
136
136
|
}
|
|
137
137
|
get host() { return index.getElement(this); }
|
|
138
138
|
static get watchers() { return {
|
|
@@ -31,7 +31,7 @@ const GlobalNavigation = class {
|
|
|
31
31
|
this.selectedTabChanged();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '3153f9036b6fcbf625b4b6c2fb22dc270b20ac58', role: "application" }, index.h("slot", { key: '5bc133bc9abe1abcae66c1247215c1884ead0a3c' })));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -70,7 +70,7 @@ const Img = class {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: 'f059a8a30c536d517219ac57c2fb085a669cfcef', class: placeholder }, index.h("img", { key: 'c624708aaa39e50e26bfe1725225b6038949ad5b', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
74
74
|
}
|
|
75
75
|
get el() { return index.getElement(this); }
|
|
76
76
|
static get watchers() { return {
|
|
@@ -72,7 +72,7 @@ const Modal = class {
|
|
|
72
72
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
73
73
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
74
74
|
const closeIconElement = this.hasCloseIcon ? index.h("button", { type: "button", class: "modal-close", onClick: this.onClick, "aria-label": "Close" }, index.h("road-icon", { icon: index$1.navigationClose, "aria-hidden": "true" })) : '';
|
|
75
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
return (index.h(index.Host, { key: '230e6f6eaae339d5314c46db9fd0d67fc2d846fc', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, index.h("div", { key: '2080e60ffe8a97a331f68f314d2aee59c7a86bf5', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), index.h("div", { key: '47044cf9e0b9dd04550db1ec3a82c263b4c547ee', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, index.h("div", { key: 'e6abe2cb25564e1aff45d1c4a29a8504224b4456', class: "modal-content" }, index.h("header", { key: '6459cf83929bbf51b797bb636fd88369fabda3d3', class: `modal-header ${inverseHeaderClass}` }, index.h("h2", { key: '050a8988f516aa9573f2d29b952dad3f52ead85e', class: "modal-title" }, this.modalTitle), closeIconElement), index.h("div", { key: 'eed07ba054f757aeba4f676727c101dd12c94a7d', class: "modal-body" }, index.h("slot", { key: '221f6df6bf95583b4edd0d1dfe3a2eaec3fe7dae' }))))));
|
|
76
76
|
}
|
|
77
77
|
get el() { return index.getElement(this); }
|
|
78
78
|
};
|
|
@@ -67,11 +67,11 @@ const NavbarItem = class {
|
|
|
67
67
|
rel,
|
|
68
68
|
target,
|
|
69
69
|
};
|
|
70
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: 'b5d5414801e5eb897dd1f346834fda3f6408ef4d', 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: {
|
|
71
71
|
'navbar-item': true,
|
|
72
72
|
'tab-selected': selected,
|
|
73
73
|
'tab-disabled': disabled,
|
|
74
|
-
} }, index.h("a", Object.assign({ key: '
|
|
74
|
+
} }, index.h("a", Object.assign({ key: '88b26c7312ff31508d4d231ec04036185f877fc6' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), index.h("span", { key: '97a6306b28115a3d1aa8961895aaa84f5a0fbe10', class: "button-inner" }, index.h("slot", { key: 'd5dfe7aae57d389c6cd71fbe0b01e6cd5ec4ed5e' })))));
|
|
75
75
|
}
|
|
76
76
|
get el() { return index.getElement(this); }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -67,11 +67,11 @@ const NavbarItem = class {
|
|
|
67
67
|
rel,
|
|
68
68
|
target,
|
|
69
69
|
};
|
|
70
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: '7ff4e21f2f090d7b2bee47c1395468c89d619c63', 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: {
|
|
71
71
|
'navbar-item': true,
|
|
72
72
|
'tab-selected': selected,
|
|
73
73
|
'tab-disabled': disabled,
|
|
74
|
-
} }, index.h("a", Object.assign({ key: '
|
|
74
|
+
} }, index.h("a", Object.assign({ key: 'cb857860824f7b5244d014868b37c5242664f2d2' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), index.h("span", { key: '6d03a2caf31f24f12f0cd0d833a0c546ca01155f', class: "button-inner" }, index.h("slot", { key: '6c64a44e43ef3d0f42ab1630b88b3e5a7529968a' })))));
|
|
75
75
|
}
|
|
76
76
|
get el() { return index.getElement(this); }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -36,7 +36,7 @@ const NavbarV2 = class {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const compactClass = this.compact ? 'compact' : '';
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: 'a7dbd950685bc968dde55225595dfda20e2ede07', role: "menubar", class: `${compactClass}` }, index.h("slot", { key: '0181dc8feee84135b55ee42d2b1aaaf1d8e24a78' })));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() { return {
|
|
42
42
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -31,7 +31,7 @@ const Navbar = class {
|
|
|
31
31
|
this.selectedTabChanged();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: 'c121e166433a74cb9bfe086872e29d0aceff6a4f', role: "menubar" }, index.h("slot", { key: '4152762dbcbf5467698a3cde344c7898b579d505' })));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -1367,9 +1367,9 @@ const RoadPhoneNumberInput = class {
|
|
|
1367
1367
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
1368
1368
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
1369
1369
|
const sizes = 'xl';
|
|
1370
|
-
return (index.h(index.Host, { key: '
|
|
1370
|
+
return (index.h(index.Host, { key: '24cd537172b031b54a8d4b551316c6d35ebfb457' }, index.h("div", { key: 'fb2728e530fca3d44e2bd54ad5c326bffdec704e', class: 'phone-number-inputs-container' }, index.h("div", { key: 'f8143383f1a4d27a6e1d0f5d31396b08fee31ad7', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, index.h("select", { key: 'bc5cd7865dced3c1a7a8c412ce487a1e95c74bd9', 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 => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), index.h("label", { key: '2a460863f32b098caa5bc47aade77089038d1cb1', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), index.h("label", { key: '747540f6cf9f2402e12f370970631c44177fda73', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), index.h("input", { key: '02b9cb47645876729fb4206c8c930f4a214f53a3', 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) }), index.h("label", { key: 'c3de74c259cc32edd1cd107bab4bb8c00be91fb5', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
1371
1371
|
&& this.errorMessage !== ''
|
|
1372
|
-
&& index.h("p", { key: '
|
|
1372
|
+
&& index.h("p", { key: '334407a43c985abd508a0dd38a88af4e2587a525', class: "invalid-feedback" }, index.h("road-icon", { key: 'c9bfb7b1a24f0ea3f2cc8a335e28c99c38a5c004', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
1373
1373
|
}
|
|
1374
1374
|
get el() { return index.getElement(this); }
|
|
1375
1375
|
};
|
|
@@ -109,10 +109,10 @@ const PlateNumber = class {
|
|
|
109
109
|
render() {
|
|
110
110
|
const value = this.getValue();
|
|
111
111
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
112
|
-
return (index.h("road-input-group", { key: '
|
|
112
|
+
return (index.h("road-input-group", { key: '078fe518c39b731041ebff1825b9119d0f0ceb94', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, index.h("label", { key: '7eb5ad6dc9eaff3f22398d37fc0f352779aa70c7', slot: "prepend", class: "input-group-prepend" }, index.h("div", { key: '1b40d4b4f5cafedbc76cf31441012a1c006d6afb', class: "plate-number-start" }, index.h("road-icon", { key: 'aacc90e679c24a386964d6d12088a1a4e499ac80', class: "plate-number-icon", icon: index$1.licensePlateStarEu }), index.h("div", { key: 'bfc3dee0ba4400aed94e31f3bbb6ce0c716f15b4', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
113
113
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
114
114
|
? (index.h("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 }))
|
|
115
|
-
: (index.h("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 })), index.h("label", { key: '
|
|
115
|
+
: (index.h("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 })), index.h("label", { key: 'bbdbde5a98aec4e5d91b3c39af8f5e8d7141730d', slot: "append", class: "input-group-append" }, index.h("div", { key: '506043ccefb71abc11caf7f0f865ca13d1cd2bdc', class: "plate-number-end" }))));
|
|
116
116
|
}
|
|
117
117
|
static get watchers() { return {
|
|
118
118
|
"value": ["valueChanged"]
|
|
@@ -30,7 +30,7 @@ const Dropdown = class {
|
|
|
30
30
|
this.isOpen = false;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h("details", { key: '
|
|
33
|
+
return (index.h("details", { key: '6b4e442ce01f574182606e7c09e63e6d8e0d96b9', class: "dropdown", open: this.isOpen }, index.h("summary", { key: '96a1c367ac0b6602e6e8151579b108783ba53c8e', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, index.h("div", { key: 'f01c4d03a12d00874238e2aa3abb7be483e45476', class: `d-flex` }, index.h("div", { key: 'ec9d487f6cffc7e6e754f560302ecf209b48805a' }, index.h("road-avatar", { key: '3f6b7e0ad05414771176f7b7e28cfc79b9590e34' }, index.h("slot", { key: 'd38ff4e91a859e64da6788f10cf341ade9efdfd5', name: "avatar" }))))), index.h("div", { key: '49c70f04f60cd49f8f7dea3f3edf538886245a6e', class: `dropdown-menu` }, index.h("div", { key: '251bc17b6dd66d76d780f8736df547b07b8ea028', class: "profil-item" }, index.h("road-avatar", { key: '0facee183c2290c5dbfaf78a38bbd040693124c0', size: "sm" }, index.h("slot", { key: '578b32315727e7193fc88e3a2c3f8dde364970da', name: "avatarItem" })), index.h("div", { key: '7faa802856269a4440b8602772acc2cfde110341', class: "profil-item-info" }, index.h("span", { key: 'efbeb25518e9a70da4fa52d6633abcc304efd9ae', class: "profil-item-info-name" }, index.h("slot", { key: 'bbfe23bb0e4832bb62a9f4232fd0291981fdbaa4', name: "name" })), index.h("road-label", { key: '2abf8f36c90e55491484a9c8f040a68bd2255be6' }, index.h("slot", { key: '4fb41b62b83d688e1ba940c784d1947a64e7a17a', name: "email" })))), index.h("slot", { key: '0fa5e3352f774d950d5d2cd4ad3e44b0eb106140', name: "list" }))));
|
|
34
34
|
}
|
|
35
35
|
get el() { return index.getElement(this); }
|
|
36
36
|
};
|
|
@@ -27,7 +27,7 @@ const Stepper = class {
|
|
|
27
27
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
28
28
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
29
29
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: 'f111144edc55e730674a4bd5e1633e5a91b97015' }, index.h("nav", { key: '7591c2c39a2827b36d351a3b28a85c6156b64b2d' }, index.h("ul", { key: '78fa0a7bd33e11c970ce71df3e86ad82adf092f4', class: `${colorClass}` }, index.h("li", { key: '3e395290532c35a096b9c6f24936ed37041f6205', class: `${stateClass}` }, index.h("a", { key: 'c5eea4f543e4d74d1a0616b2352961edfd5516b5', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, index.h("span", { key: 'de796e773f0e4529d0b7fdbe61e6c11d8e6279ca', class: "progress-indicator-horizontal-icon" }, index.h("slot", { key: 'fb65dc7ad9d3f422bacc3ccba87e2be2171d7f9e', name: "progress-indicator-horizontal-icon" })), index.h("span", { key: 'd7cf1de8faa1821bba9280c171735e10448b9453', class: "progress-indicator-horizontal-title" }, index.h("slot", { key: 'f0d15278bee067c765fa466e1e4a368b23c06703', name: "progress-indicator-horizontal-title" })))), index.h("li", { key: '25fb14e2d761124258ac90fcd3c7df82a3d77e16', class: `${stateSecondStepClass}` }, index.h("a", { key: 'f253c9d89b3fa7f430be3bdcdfe8cacd828fdbe0', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, index.h("span", { key: 'd85c7358d428abb5ee621355cab2c8c1f87c802a', class: "progress-indicator-horizontal-icon" }, index.h("slot", { key: '1c7b3678964d7cb76420b427654488f745f58491', name: "progress-indicator-horizontal-icon2" })), index.h("span", { key: 'f9df661db7d252d4660652a3c1a4cfbbc000a7d0', class: "progress-indicator-horizontal-title" }, index.h("slot", { key: 'b58b9a83c49dbf5883f12380d659f65a68167181', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && index.h("li", { key: '93e3ff18e0f07844d00fed42acb091b9482798d5', class: `${stateThirdStepClass}` }, index.h("a", { key: '10ea0a5904d2308eeefc1707a3fdb596c4cdb4e3', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, index.h("span", { key: '7da570caa2a771389acc1b44870f2712afb17b96', class: "progress-indicator-horizontal-icon" }, index.h("slot", { key: '5235530ca67e9c2730eb1130e7f98454bb3c58d1', name: "progress-indicator-horizontal-icon3" })), index.h("span", { key: '22d8d0d86ad2b8035b91a63783381c8f7c40e2dd', class: "progress-indicator-horizontal-title" }, index.h("slot", { key: '06193f06fa83c0d64ed13ad40e6a37f73da7592e', name: "progress-indicator-horizontal-title3" }))))))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Stepper.style = RoadProgressIndicatorHorizontalStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressIndicatorVerticalItem = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '0c9d2ff669b0e8c23d2e319e02811af7b572c7d9' }, index.h("slot", { key: 'd8c61ee8af278f07e4431fe67551b9627b1e8fe1' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressIndicatorVerticalItem.style = RoadProgressIndicatorVerticalItemStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressIndicatorVertical = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '7cb6fe2a4a78937fc84bd9b0daf0c9445a051fc5' }, index.h("nav", { key: 'da179588065c7d0e9469a067eee27aeb7d497ab5' }, index.h("ul", { key: '232392a6dc63b3923550dd58db7ba2eae621a79b' }, index.h("li", { key: '7e545e5818a67bc4fce6b97b4d26191da6f58c4c' }, index.h("slot", { key: 'c815524158b6e599dfbbaaae21cee71abc33583a' }))))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressIndicatorVertical.style = RoadProgressIndicatorVerticalStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressTrackerItem = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: 'f080eb45be07dd54b9f028b96febd5b7090527cf' }, index.h("slot", { key: '9ac63fa7a9a0d4e533dbc1a0a96fe93ea9a8034e' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressTrackerItem.style = RoadProgressTrackerItemStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressTracker = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '32c91397fb443308453f8756ffbbb4b3aef1ac80' }, index.h("nav", { key: '9eada9c4e79a0deddce2f431834e454bd184dc1e' }, index.h("ul", { key: '9c51d05a05e3395ec75ee2ec99c466c545075719' }, index.h("li", { key: '551f69d0d79aa99104e38d52b1b17686fc0bd82c' }, index.h("slot", { key: '64c3a9c01936473628282b0caa49746bb97f1b78' }))))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressTracker.style = RoadProgressTrackerStyle0;
|
|
@@ -63,7 +63,7 @@ const ProgressBar = class {
|
|
|
63
63
|
let step = Math.ceil((this.value / 100) * this.numbersteps);
|
|
64
64
|
step = Math.min(step, this.numbersteps);
|
|
65
65
|
step = Math.max(step, 0);
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: '09665cbad7d552d5fdedb655e474a917bbc7108c', class: "progress-element" }, index.h("div", { key: '3fd59f777ad3b7a0de6079b24e2ff5369574a1be', class: `${light} progress-${this.color} ${animation}` }, index.h("div", { key: 'ffc8433bdb99c8ad33e025b39ff032be6f7b5c0d', class: "progress-bar", role: "progressbar", style: { width: `${progressBarFilledPercentage}%` }, "aria-valuenow": progressBarFilledPercentage, "aria-valuemin": "0", "aria-valuemax": "100", "aria-labelledby": "loadinglabel", "aria-label": "progress bar" })), index.h("div", { key: '9974af0eb6c68404b5ed3b11aa8f3f9e814181a0', class: `${fullwidth}` }, index.h("span", { key: '2f9724da220d0c3148d62b251a8a249efb974bd2', id: "loadinglabel", class: "progress-element-label" }, this.label), this.showstep && (index.h("span", { key: '695c562d666a72a9d4e29dc0d8a060bbd9745895', class: "progress-element-step" }, step, "/", this.numbersteps)))));
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
ProgressBar.style = RoadProgressStyle0;
|
|
@@ -61,7 +61,7 @@ const RadioCard = class {
|
|
|
61
61
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
62
62
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
63
63
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: '855a082bcd5ab1d2a76e276c9e026efda529b785', class: `form-radio ${inlineClass}` }, index.h("div", { key: '1b76deba72dbfb07eb160c7791a9b02b4b5bcc5b', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, index.h("input", { key: '34d7a61463f55efcb9a13b4651f297d89e0a922b', 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: () => { } }), index.h("label", { key: '1f0d49a8d711e9c6f232f82bce3f9a942544b124', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, index.h("div", { key: '7349a2e57c95bcc4c43314cdfe270b7c51f33146', class: "slot-wrapper" }, index.h("slot", { key: '433d85a6e2807076f215d2c52f1d077030e9f2da' }))))));
|
|
65
65
|
}
|
|
66
66
|
get el() { return index.getElement(this); }
|
|
67
67
|
};
|
|
@@ -74,7 +74,7 @@ const RadioGroup = class {
|
|
|
74
74
|
render() {
|
|
75
75
|
const labelId = `${this.radioGroupId}-label`;
|
|
76
76
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
77
|
-
return (index.h(index.Host, { key: '
|
|
77
|
+
return (index.h(index.Host, { key: 'a92111d5ffff6b6eda6efa01fe8c92a390c1df04', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && index.h("p", { key: 'fdb15769c6127b65fb2751aceef0dcb92f7c058d', class: "text-content", id: labelId }, this.label, " ", this.asterisk && index.h("span", { key: '8a32ab70a954b770ce0c71c1d1c3b17154184d5e', class: "asterisk" }, "*")), index.h("slot", { key: '69e54cd769b20ef75f5c0fe5ad4410ff9939ccc2' }), this.error && this.error !== '' && index.h("p", { key: '92f290c57411ea5600c45548f5b02d9a66db43a8', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && index.h("p", { key: '90fd15fe58413798a2de75b7636d8a3df749df5b', class: "helper" }, this.helper)));
|
|
78
78
|
}
|
|
79
79
|
get el() { return index.getElement(this); }
|
|
80
80
|
static get watchers() { return {
|
|
@@ -85,7 +85,7 @@ const Radio = class {
|
|
|
85
85
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
86
86
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
87
87
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
88
|
-
return (index.h(index.Host, { key: '
|
|
88
|
+
return (index.h(index.Host, { key: '8527b5ca6ed9c45a9fe7fc8dca12b6dafb159175', class: `form-radio ${inlineClass}` }, index.h("input", { key: '82f44c9ebb76379f1c2ae8e7978b82167929729d', 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 }), index.h("label", { key: '5e12d52490a2ae6cacf0eef9abb225626ec75a2c', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", index.h("span", { key: '8c1c4c69075836741bbc89a0460fc47f8d4486e1', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
89
89
|
}
|
|
90
90
|
get el() { return index.getElement(this); }
|
|
91
91
|
};
|
|
@@ -90,14 +90,14 @@ const Range = class {
|
|
|
90
90
|
render() {
|
|
91
91
|
const value = this.getValue();
|
|
92
92
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
93
|
+
return (index.h(index.Host, { key: '4a3eac8fe972c4da37712c2bfb9f9368a2c5e0e4', tabindex: "0", class: { disabled: this.disabled } }, index.h("div", { key: '7ede74bdbb7f85124b250a02f312e0fa8672b445', class: "form-group d-flex align-items-end" }, this.showTick && (index.h("road-icon", { key: 'bbfe778ba2082b82dac80d2c9b11b032ae4d3dc5', icon: index$1.navigationAddLessSolid, class: "mr-8", size: "sm" })), index.h("div", { key: 'a5617bb934ee0e8f481d4cbbe334ecdcccb80f4a', class: "form-range", style: {
|
|
94
94
|
"--min": this.min,
|
|
95
95
|
"--max": this.max,
|
|
96
96
|
"--value": value,
|
|
97
97
|
"--background-color": this.disabled
|
|
98
98
|
? "var(--road-surface-disabled)"
|
|
99
99
|
: "initial",
|
|
100
|
-
} }, this.showValue && index.h("output", { key: '
|
|
100
|
+
} }, this.showValue && index.h("output", { key: 'f8fb6174412f03e9e0ada70b79715b8892c394e7' }), this.showLabels && index.h("slot", { key: '77278e535a1cf754b21ef12ebd1650aa03942ad0', name: "datalist" }), index.h("input", { key: 'c40fc31c0744955b440b162e5cddaa7c7b2119a3', 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 }), index.h("label", { key: 'ec72158b6b0f7128aee76222506a6ecf80bbf43c', class: "form-range-label" }, "Valeur"), index.h("div", { key: 'ec3ba04cbb45a2af707f81e0fd05fbbb868c8187', class: "form-range-progress" })), this.showTick && (index.h("road-icon", { key: '293312e73482a2dafe8ef694ae2e56e3f37955bb', icon: index$1.navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
101
101
|
}
|
|
102
102
|
get el() { return index.getElement(this); }
|
|
103
103
|
static get watchers() { return {
|
|
@@ -46,7 +46,7 @@ const Rating = class {
|
|
|
46
46
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
47
47
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
48
48
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
49
|
-
return (index.h(index.Host, { key: '
|
|
49
|
+
return (index.h(index.Host, { key: 'f3317daf4cdd2e6a539936c9dbe095c791ce883d' }, index.h("div", { key: 'fe4e3b262592ca714e26f7cc03ac9ba4435d0b51', class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => index.h("road-icon", { icon: index$1.star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => index.h("road-icon", { icon: index$1.starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => index.h("road-icon", { icon: index$1.star, size: "sm", class: "rating-star" }))), this.readonly == false && this.showreviews && index.h("a", { key: '17bd3fb3ecbbd6e040c3c9c70fb92b9af90ee6b1', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && index.h("road-label", { key: '5dba1d64ca367649797df7b872789e7cdc130e8c', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
Rating.style = RoadRatingStyle0;
|
|
@@ -28,7 +28,7 @@ const ButtonBar = class {
|
|
|
28
28
|
this.selectedTabChanged();
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (index.h(index.Host, { key: '
|
|
31
|
+
return (index.h(index.Host, { key: 'd4cf00bc997e0ed05484681fb5fc5f554b3d6fbd', role: "tablist" }, index.h("slot", { key: 'cadf449cf80d55a0fe297fff440f65f6c096c371' })));
|
|
32
32
|
}
|
|
33
33
|
get el() { return index.getElement(this); }
|
|
34
34
|
static get watchers() { return {
|
|
@@ -59,10 +59,10 @@ const SegmentedButton = class {
|
|
|
59
59
|
render() {
|
|
60
60
|
const { tabIndex, selected, tab } = this;
|
|
61
61
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: '8b14a7cc7b693e9738cc01498921b86f01a5e2a5', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
63
63
|
'tab-selected': selected,
|
|
64
64
|
[`${sizeClass}`]: true,
|
|
65
|
-
} }, index.h("span", { key: '
|
|
65
|
+
} }, index.h("span", { key: '2e4d84a1561a9c09b441fd858c3625f784c6794c', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, index.h("span", { key: '2acfa633cb9a32c3554ac7067fd62737bc45b172', class: "button-content" }, index.h("slot", { key: '1b133f39ff11f8bdd8be0b3d7f780262f0af2e18' })))));
|
|
66
66
|
}
|
|
67
67
|
get el() { return index.getElement(this); }
|
|
68
68
|
};
|
|
@@ -95,7 +95,7 @@ const Tabs = class {
|
|
|
95
95
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (index.h(index.Host, { key: '
|
|
98
|
+
return (index.h(index.Host, { key: '51b943aa1730a5869b8d4616e5b9d0a883c3e17c', onRoadSegmentedButtonClick: this.onTabClicked }, index.h("slot", { key: '14c0de7b24f8a960a331c258ac91dd2ec4e1dda2', name: "top" }), index.h("slot", { key: 'b8d71615b2b6bbee3ce95754f0b2f0a7c5ef3385' })));
|
|
99
99
|
}
|
|
100
100
|
get el() { return index.getElement(this); }
|
|
101
101
|
};
|
|
@@ -1968,7 +1968,7 @@ const SelectFilter = class {
|
|
|
1968
1968
|
const options = this.filteredOptions;
|
|
1969
1969
|
const isActive = this.isActive ? 'true' : 'false';
|
|
1970
1970
|
const notActive = this.isActive ? '' : 'not-active';
|
|
1971
|
-
return (index.h(index.Host, { key: '
|
|
1971
|
+
return (index.h(index.Host, { key: '56283f348c18c9f4da780910a296dff17656881e', "is-active": isActive }, index.h("slot", { key: '43a5b9dadb04f532e62259a415d921b731b7911e' }), this.isOpen && (index.h("div", { key: 'cac8b402cfaa77e6c84e60a50f73d148475c93f7', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (index.h("div", { class: "select-filter-empty" }, "Aucune option")) : (index.h("ul", { class: "pl-0" }, options.map((option, idx) => (index.h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
|
|
1972
1972
|
}
|
|
1973
1973
|
get el() { return index.getElement(this); }
|
|
1974
1974
|
static get watchers() { return {
|
|
@@ -107,7 +107,7 @@ const Select = class {
|
|
|
107
107
|
const labelId = this.selectId + '-label';
|
|
108
108
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
109
109
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
110
|
-
return (index.h(index.Host, { key: '
|
|
110
|
+
return (index.h(index.Host, { key: '252c4ae08501f73688cf0c7c7b0830439f1f8e1f', class: this.sizes && `select-${this.sizes}` }, index.h("select", { key: '28001067f4222640b9a7d4a93692ff94593651c1', 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 }, index.h("option", { key: '8933f32a5982c18c456bb06e22a28f67320927b0', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (index.h("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), index.h("label", { key: '49e2bd5cff399c79900ac65dd37e73bc862f3d00', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && index.h("p", { key: 'e3a55cc35184e8767ba35ac87cb45e7e24f3c116', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && index.h("p", { key: 'd824610dfb9031aecee47f63c288069ca3aed0b6', class: "helper" }, this.helper)));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
113
113
|
"value": ["valueChanged"]
|
|
@@ -12,7 +12,7 @@ const Skeleton = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h("span", { key: '
|
|
15
|
+
return (index.h("span", { key: 'f938a4cd82c542599e6729e9bbfca3fa51573956' }, "\u00A0"));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
Skeleton.style = RoadSkeletonStyle0;
|
|
@@ -22,7 +22,7 @@ const Spinner = class {
|
|
|
22
22
|
render() {
|
|
23
23
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
24
24
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
25
|
-
return (index.h("svg", { key: '
|
|
25
|
+
return (index.h("svg", { key: '1465d5db948734bba9d01c1371fbe97fba33ccb5', class: `${sizeClass}`, viewBox: "25 25 50 50" }, index.h("circle", { key: 'f7dd929e5cdef073f60d8e6d651fc3e64e594ced', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
Spinner.style = RoadSpinnerStyle0;
|
|
@@ -18,7 +18,7 @@ const Chip = class {
|
|
|
18
18
|
this.size = 'sm';
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: '22343d5f99de6406223630ccc5ddc4c8363f87ff', class: `chip-${this.size}`, tabindex: "0" }, index.h("div", { key: '53693f688a08c07d7c5c5c8f6f4ab6ecbad5c783', class: "chip-description" }, index.h("road-icon", { key: 'd66577297e5c33d7722c3026293830092e9f0239', class: "chip-icon", color: "info", icon: index$1.alertInfoSolid }), index.h("slot", { key: '248ca83089bffdb3695d953cb14ac38a27e10b4d' }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Chip.style = RoadStatusChipStyle0;
|
|
@@ -85,11 +85,11 @@ const Switch = class {
|
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
87
|
const labelId = this.switchId + '-label';
|
|
88
|
-
const textLabel = index.h("label", { key: '
|
|
88
|
+
const textLabel = index.h("label", { key: 'b0499c36ab0eb33ac879c37115b6a4754c5d1529', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
89
89
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
90
90
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
91
91
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
92
|
-
return (index.h(index.Host, { key: '
|
|
92
|
+
return (index.h(index.Host, { key: 'a9365fb9fd70d406e5a90d740cead5094861ac79' }, index.h("input", { key: '8714e6da068a91604e19dfbdba6f6c712c339c07', 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 }), index.h("label", { key: 'b181aecf57662fe3d9c4032ef5fbd47709730e85', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, index.h("div", { key: '4c6da52b6e04657d6749eec12c3c6ff5f97ce762', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
93
93
|
}
|
|
94
94
|
static get watchers() { return {
|
|
95
95
|
"checked": ["checkedChanged"]
|
|
@@ -44,11 +44,11 @@ const TabBar = class {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const { expand, center, secondary } = this;
|
|
47
|
-
return (index.h(index.Host, { key: '
|
|
47
|
+
return (index.h(index.Host, { key: 'c88f5a50d83ec07361ed5dd08d5b8a29fd4ac13d', role: "tablist", class: {
|
|
48
48
|
'tab-expand': expand,
|
|
49
49
|
'tab-center': center,
|
|
50
50
|
'tab-secondary': secondary,
|
|
51
|
-
} }, index.h("slot", { key: '
|
|
51
|
+
} }, index.h("slot", { key: '9a9f51b48cef50e484e4e6b0696108e9263f0f48' })));
|
|
52
52
|
}
|
|
53
53
|
get el() { return index.getElement(this); }
|
|
54
54
|
static get watchers() { return {
|
|
@@ -77,7 +77,7 @@ const TabButton = class {
|
|
|
77
77
|
rel,
|
|
78
78
|
target,
|
|
79
79
|
};
|
|
80
|
-
return (index.h(index.Host, { key: '
|
|
80
|
+
return (index.h(index.Host, { key: 'd10e81cf00ff7acb3888181bf7b60db6b7e24162', 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: {
|
|
81
81
|
'tab-selected': selected,
|
|
82
82
|
'tab-has-label': hasLabel,
|
|
83
83
|
'tab-has-icon': hasIcon,
|
|
@@ -85,7 +85,7 @@ const TabButton = class {
|
|
|
85
85
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
86
86
|
[`tab-layout-${layout}`]: true,
|
|
87
87
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
88
|
-
} }, index.h("a", Object.assign({ key: '
|
|
88
|
+
} }, index.h("a", Object.assign({ key: '81f0045d7d4b05e70ddcbab15866ed09d70eff11' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), index.h("span", { key: 'f167d63f29af54aa2632a0e46ca64499a70b3a22', class: "button-inner" }, index.h("slot", { key: '1b91f5ba629820ef6764eba4064d551ac8b6f820' })))));
|
|
89
89
|
}
|
|
90
90
|
get el() { return index.getElement(this); }
|
|
91
91
|
};
|
|
@@ -27,9 +27,9 @@ const Tab = class {
|
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
const { tab, active } = this;
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: '925b7e9bcb116de9081e0f238799e28a31d385a1', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
31
31
|
'tab-hidden': !active,
|
|
32
|
-
} }, index.h("slot", { key: '
|
|
32
|
+
} }, index.h("slot", { key: 'c4ae28afb00bd729cc5b2c434b8ac62d94d8b5f3' })));
|
|
33
33
|
}
|
|
34
34
|
get el() { return index.getElement(this); }
|
|
35
35
|
};
|
|
@@ -12,7 +12,7 @@ const Table = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h("slot", { key: '
|
|
15
|
+
return (index.h("slot", { key: '62d09e884d94443c31146ec24273a787c6ee3787' }));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
Table.style = RoadTableStyle0;
|
|
@@ -108,7 +108,7 @@ const Tabs = class {
|
|
|
108
108
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (index.h(index.Host, { key: '
|
|
111
|
+
return (index.h(index.Host, { key: '27ab87f41f3d6751434e8d6a2631cbe82d0a0cbc', onRoadTabButtonClick: this.onTabClicked }, index.h("slot", { key: 'bbb551131576e4eee16b94217507c31c2c60a6be', name: "top" }), index.h("div", { key: 'f8b534238faee2fc29784b7e1725b15191349838', class: "tabs-inner" }, index.h("slot", { key: 'a7314be1ed2375a652afab28df2c3bb0e5a154f2' }))));
|
|
112
112
|
}
|
|
113
113
|
get el() { return index.getElement(this); }
|
|
114
114
|
};
|
|
@@ -22,7 +22,7 @@ const Tag = class {
|
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
24
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
25
|
-
return (index.h(index.Host, { key: '
|
|
25
|
+
return (index.h(index.Host, { key: '0310697bbc0e468cfb7a7c2c2d1b6c7b00e5c8a1', class: `${contrastClass}` }, index.h("slot", { key: '70eb0d5b559ca409cb1eae30a258fada641009d3' })));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
Tag.style = RoadTagStyle0;
|
|
@@ -17,7 +17,7 @@ const Text = class {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: '9d1a62edc9a4602497b542292a0313ed52fc6156', class: `${colorClass}` }, index.h("slot", { key: '9aa0f728eae087590555f108f6562b96f5a926ed' })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
Text.style = RoadTextStyle0;
|