@roadtrip/components 3.45.2 → 3.47.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-alert.cjs.entry.js +3 -1
- package/dist/cjs/road-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +31 -49
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-button-carousel.cjs.entry.js +73 -0
- package/dist/cjs/road-button-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +7 -2
- package/dist/cjs/road-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js +1 -1
- package/dist/cjs/road-content-card.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +3 -3
- 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 +15 -5
- package/dist/cjs/road-status-chip.cjs.entry.js.map +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 +3 -3
- package/dist/cjs/road-tab-button.cjs.entry.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.js +3 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/button-carousel/button-carousel.css +119 -0
- package/dist/collection/components/button-carousel/button-carousel.js +195 -0
- package/dist/collection/components/button-carousel/button-carousel.js.map +1 -0
- package/dist/collection/components/button-carousel/button-carousel.stories.js +87 -0
- package/dist/collection/components/button-floating/button-floating.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/carousel/carousel.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +2 -2
- package/dist/collection/components/checkbox/checkbox.css +16 -0
- package/dist/collection/components/checkbox/checkbox.js +26 -1
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +10 -0
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/collapse/collapse.js +1 -1
- package/dist/collection/components/content-card/content-card.js +1 -1
- package/dist/collection/components/counter/counter.js +14 -11
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/dialog/dialog.js +3 -3
- package/dist/collection/components/drawer/drawer.js +4 -1
- 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.css +8 -18
- package/dist/collection/components/input-group/input-group.js +1 -25
- package/dist/collection/components/input-group/input-group.js.map +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.css +13 -2
- package/dist/collection/components/status-chip/status-chip.js +29 -2
- package/dist/collection/components/status-chip/status-chip.js.map +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.css +7 -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 +3 -3
- 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-alert.entry.js +3 -1
- package/dist/esm/road-alert.entry.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +31 -49
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-button-carousel.entry.js +69 -0
- package/dist/esm/road-button-carousel.entry.js.map +1 -0
- package/dist/esm/road-button-floating.entry.js +1 -1
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-carousel-item.entry.js +2 -2
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +7 -2
- package/dist/esm/road-checkbox.entry.js.map +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-collapse.entry.js +1 -1
- package/dist/esm/road-content-card.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +3 -3
- 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 +16 -6
- package/dist/esm/road-status-chip.entry.js.map +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 +3 -3
- package/dist/esm/road-tab-button.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +38 -0
- package/dist/roadtrip/{p-351b3b04.entry.js → p-0c6ad72e.entry.js} +2 -2
- package/dist/roadtrip/p-0eba704f.entry.js +2 -0
- package/dist/roadtrip/{p-4798ebaa.entry.js → p-12e8e42a.entry.js} +2 -2
- package/dist/roadtrip/{p-944ce861.entry.js → p-163df174.entry.js} +2 -2
- package/dist/roadtrip/p-187ab5f5.entry.js +2 -0
- package/dist/roadtrip/p-187ab5f5.entry.js.map +1 -0
- package/dist/roadtrip/{p-e5f94b35.entry.js → p-1f1021bc.entry.js} +2 -2
- package/dist/roadtrip/{p-7f96eb76.entry.js → p-2301c9e2.entry.js} +2 -2
- package/dist/roadtrip/{p-294a4a83.entry.js → p-23b0d708.entry.js} +2 -2
- package/dist/roadtrip/p-23b0d708.entry.js.map +1 -0
- package/dist/roadtrip/p-249b8592.entry.js +2 -0
- package/dist/roadtrip/{p-b889f575.entry.js → p-2d68aa3a.entry.js} +2 -2
- package/dist/roadtrip/{p-43bb4e97.entry.js → p-335498ee.entry.js} +2 -2
- package/dist/roadtrip/{p-5f6771e5.entry.js → p-39b17e20.entry.js} +2 -2
- package/dist/roadtrip/{p-1ee55ec2.entry.js → p-3b906900.entry.js} +2 -2
- package/dist/roadtrip/{p-0a9d4cd3.entry.js → p-3bac817e.entry.js} +2 -2
- package/dist/roadtrip/{p-61c4b6f1.entry.js → p-3d4cd373.entry.js} +2 -2
- package/dist/roadtrip/{p-c96c0597.entry.js → p-3dfa5636.entry.js} +2 -2
- package/dist/roadtrip/{p-f41d2a41.entry.js → p-4374d63f.entry.js} +2 -2
- package/dist/roadtrip/{p-9c156562.entry.js → p-456f66fc.entry.js} +2 -2
- package/dist/roadtrip/{p-261177f6.entry.js → p-466c0ff9.entry.js} +2 -2
- package/dist/roadtrip/{p-6b0a37ba.entry.js → p-5381957c.entry.js} +2 -2
- package/dist/roadtrip/{p-fcb7a3e5.entry.js → p-596d37d0.entry.js} +2 -2
- package/dist/roadtrip/{p-8fad6cc9.entry.js → p-61190b12.entry.js} +2 -2
- package/dist/roadtrip/{p-1a75a359.entry.js → p-6311f3f0.entry.js} +2 -2
- package/dist/roadtrip/{p-f58f43d0.entry.js → p-6cdb1bf4.entry.js} +2 -2
- package/dist/roadtrip/{p-509ba166.entry.js → p-70909891.entry.js} +2 -2
- package/dist/roadtrip/{p-f157fec0.entry.js → p-718c6406.entry.js} +2 -2
- package/dist/roadtrip/{p-45cabcdf.entry.js → p-741d74fd.entry.js} +2 -2
- package/dist/roadtrip/p-741d74fd.entry.js.map +1 -0
- package/dist/roadtrip/{p-8eb19a44.entry.js → p-7a51b3e1.entry.js} +2 -2
- package/dist/roadtrip/p-7aceed1a.entry.js +2 -0
- package/dist/roadtrip/{p-48ceee77.entry.js.map → p-7aceed1a.entry.js.map} +1 -1
- package/dist/roadtrip/{p-d89d49b2.entry.js → p-7dae0270.entry.js} +2 -2
- package/dist/roadtrip/{p-c2e07db9.entry.js → p-83f9db8d.entry.js} +2 -2
- package/dist/roadtrip/p-8426998b.entry.js +2 -0
- package/dist/roadtrip/p-8426998b.entry.js.map +1 -0
- package/dist/roadtrip/{p-9f7d111d.entry.js → p-85e18b2f.entry.js} +2 -2
- package/dist/roadtrip/{p-77e7dc8a.entry.js → p-8630081f.entry.js} +2 -2
- package/dist/roadtrip/{p-110386d3.entry.js → p-977c467d.entry.js} +2 -2
- package/dist/roadtrip/p-99146e17.entry.js +2 -0
- package/dist/roadtrip/{p-f07047c1.entry.js → p-9a91254d.entry.js} +2 -2
- package/dist/roadtrip/p-9b1fa6a6.entry.js +2 -0
- package/dist/roadtrip/p-9b1fa6a6.entry.js.map +1 -0
- package/dist/roadtrip/{p-f30f96c2.entry.js → p-a1101905.entry.js} +2 -2
- package/dist/roadtrip/{p-395b9785.entry.js → p-ac64606d.entry.js} +2 -2
- package/dist/roadtrip/{p-9d01727d.entry.js → p-ad5538c1.entry.js} +2 -2
- package/dist/roadtrip/{p-9af318e9.entry.js → p-b40d0b3d.entry.js} +2 -2
- package/dist/roadtrip/{p-da60c3a9.entry.js → p-b6e3db42.entry.js} +2 -2
- package/dist/roadtrip/{p-8a806d96.entry.js → p-c0f2eca7.entry.js} +2 -2
- package/dist/roadtrip/{p-68ae654b.entry.js → p-c23dbac2.entry.js} +2 -2
- package/dist/roadtrip/{p-17dc5381.entry.js → p-cc42a593.entry.js} +2 -2
- package/dist/roadtrip/{p-47433b76.entry.js → p-ceb904c0.entry.js} +2 -2
- package/dist/roadtrip/{p-5d1d532a.entry.js → p-d1de4eb6.entry.js} +2 -2
- package/dist/roadtrip/{p-a597e606.entry.js → p-d344a749.entry.js} +2 -2
- package/dist/roadtrip/{p-93c1be55.entry.js → p-d4f30d5d.entry.js} +2 -2
- package/dist/roadtrip/{p-bfe3d3eb.entry.js → p-d7a56b79.entry.js} +2 -2
- package/dist/roadtrip/{p-4a69d010.entry.js → p-da0a75ff.entry.js} +2 -2
- package/dist/roadtrip/{p-cbbfe0ce.entry.js → p-dbb675a2.entry.js} +2 -2
- package/dist/roadtrip/{p-9e8ae5c3.entry.js → p-df4c2ff0.entry.js} +2 -2
- package/dist/roadtrip/{p-246ff4b4.entry.js → p-e2b587b6.entry.js} +4 -4
- package/dist/roadtrip/p-e2b587b6.entry.js.map +1 -0
- package/dist/roadtrip/p-e8d82a2e.entry.js +2 -0
- package/dist/roadtrip/{p-790d848a.entry.js → p-e9480f62.entry.js} +2 -2
- package/dist/roadtrip/{p-943e31a7.entry.js → p-eddc9353.entry.js} +2 -2
- package/dist/roadtrip/{p-f3e5e983.entry.js → p-f0d930e5.entry.js} +2 -2
- package/dist/roadtrip/{p-58b20099.entry.js → p-f2f26300.entry.js} +2 -2
- package/dist/roadtrip/{p-eca24e7d.entry.js → p-f99639e8.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/button-carousel/button-carousel.d.ts +35 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/input-group/input-group.d.ts +0 -2
- package/dist/types/components/status-chip/status-chip.d.ts +5 -1
- package/dist/types/components.d.ts +79 -0
- package/hydrate/index.js +242 -162
- package/hydrate/index.mjs +242 -162
- package/package.json +1 -1
- package/dist/roadtrip/p-246ff4b4.entry.js.map +0 -1
- package/dist/roadtrip/p-294a4a83.entry.js.map +0 -1
- package/dist/roadtrip/p-382828d4.entry.js +0 -2
- package/dist/roadtrip/p-382828d4.entry.js.map +0 -1
- package/dist/roadtrip/p-45cabcdf.entry.js.map +0 -1
- package/dist/roadtrip/p-47cef871.entry.js +0 -2
- package/dist/roadtrip/p-47cef871.entry.js.map +0 -1
- package/dist/roadtrip/p-48ceee77.entry.js +0 -2
- package/dist/roadtrip/p-7bef34c4.entry.js +0 -2
- package/dist/roadtrip/p-7ed5616c.entry.js +0 -2
- package/dist/roadtrip/p-c1cd98dc.entry.js +0 -2
- package/dist/roadtrip/p-f4da1ccf.entry.js +0 -2
- /package/dist/roadtrip/{p-351b3b04.entry.js.map → p-0c6ad72e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7ed5616c.entry.js.map → p-0eba704f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4798ebaa.entry.js.map → p-12e8e42a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-944ce861.entry.js.map → p-163df174.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e5f94b35.entry.js.map → p-1f1021bc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7f96eb76.entry.js.map → p-2301c9e2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f4da1ccf.entry.js.map → p-249b8592.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b889f575.entry.js.map → p-2d68aa3a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-43bb4e97.entry.js.map → p-335498ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5f6771e5.entry.js.map → p-39b17e20.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1ee55ec2.entry.js.map → p-3b906900.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0a9d4cd3.entry.js.map → p-3bac817e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-61c4b6f1.entry.js.map → p-3d4cd373.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c96c0597.entry.js.map → p-3dfa5636.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f41d2a41.entry.js.map → p-4374d63f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9c156562.entry.js.map → p-456f66fc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-261177f6.entry.js.map → p-466c0ff9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6b0a37ba.entry.js.map → p-5381957c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fcb7a3e5.entry.js.map → p-596d37d0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8fad6cc9.entry.js.map → p-61190b12.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1a75a359.entry.js.map → p-6311f3f0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f58f43d0.entry.js.map → p-6cdb1bf4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-509ba166.entry.js.map → p-70909891.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f157fec0.entry.js.map → p-718c6406.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8eb19a44.entry.js.map → p-7a51b3e1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d89d49b2.entry.js.map → p-7dae0270.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c2e07db9.entry.js.map → p-83f9db8d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9f7d111d.entry.js.map → p-85e18b2f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-77e7dc8a.entry.js.map → p-8630081f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-110386d3.entry.js.map → p-977c467d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c1cd98dc.entry.js.map → p-99146e17.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f07047c1.entry.js.map → p-9a91254d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f30f96c2.entry.js.map → p-a1101905.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-395b9785.entry.js.map → p-ac64606d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9d01727d.entry.js.map → p-ad5538c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9af318e9.entry.js.map → p-b40d0b3d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-da60c3a9.entry.js.map → p-b6e3db42.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8a806d96.entry.js.map → p-c0f2eca7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-68ae654b.entry.js.map → p-c23dbac2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-17dc5381.entry.js.map → p-cc42a593.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47433b76.entry.js.map → p-ceb904c0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5d1d532a.entry.js.map → p-d1de4eb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a597e606.entry.js.map → p-d344a749.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-93c1be55.entry.js.map → p-d4f30d5d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bfe3d3eb.entry.js.map → p-d7a56b79.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4a69d010.entry.js.map → p-da0a75ff.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cbbfe0ce.entry.js.map → p-dbb675a2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9e8ae5c3.entry.js.map → p-df4c2ff0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7bef34c4.entry.js.map → p-e8d82a2e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-790d848a.entry.js.map → p-e9480f62.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-943e31a7.entry.js.map → p-eddc9353.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f3e5e983.entry.js.map → p-f0d930e5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-58b20099.entry.js.map → p-f2f26300.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eca24e7d.entry.js.map → p-f99639e8.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -3291,14 +3291,16 @@ class Alert {
|
|
|
3291
3291
|
});
|
|
3292
3292
|
}
|
|
3293
3293
|
render() {
|
|
3294
|
+
var _a;
|
|
3294
3295
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3295
3296
|
let layoutClass = 'alert-container'; // valeur par défaut
|
|
3296
3297
|
if (this.layout === 'horizontal') {
|
|
3297
3298
|
layoutClass = 'alert-container-horizontal';
|
|
3298
3299
|
}
|
|
3299
3300
|
const btnContainerClass = this.hasCloseIcon ? 'btn-container justify-end' : 'btn-container';
|
|
3301
|
+
const hasButtonSlot = !!((_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelector('[slot="button"]'));
|
|
3300
3302
|
const closeIconElement = this.hasCloseIcon ? (hAsync("button", { type: "button", class: "alert-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))) : null;
|
|
3301
|
-
return (hAsync(Host, { key: '
|
|
3303
|
+
return (hAsync(Host, { key: 'e65caafc704e899307609c0d5ca8cd357463e497', class: colorClass, role: "alert" }, hAsync("div", { key: '5afa6c90fcc5d808995473f06f6971227b093129', class: "alert-icon" }, hAsync("slot", { key: '1268585d0e458a97a7ad249c8866b48a7876cf23', name: "icon" })), hAsync("div", { key: 'e4faacf17350bbda2a4f93fabbb0392d80917d9d', class: layoutClass }, hAsync("div", { key: 'd239178710d974b139b4eaad165a952953ee6d45', class: "alert-container-content" }, this.label && hAsync("span", { key: 'bf22f3bc13c592bbffc2aa5a64ffbc639cb3574d', class: "alert-title d-block" }, this.label), hAsync("p", { key: '9f7ac0175f98860b820c4d625818b4a500eb2489', class: "alert-description" }, hAsync("slot", { key: '05d56a7d011695020127342e8d9f6fde4d0315aa' })), this.link && hAsync("a", { key: '247fd1e098fb2d2425d2151c1573c516ab3b830b', href: this.url, class: "alert-link link link-default" }, this.link)), hasButtonSlot && (hAsync("div", { key: '534bfb647ab7d1b1e17521bec005f3a4ad6eb26a', class: btnContainerClass }, hAsync("slot", { key: '1c1bce38ae3c54ee5fcbc2afec51605b0ac486af', name: "button" }))), closeIconElement)));
|
|
3302
3304
|
}
|
|
3303
3305
|
get el() { return getElement(this); }
|
|
3304
3306
|
static get style() { return RoadAlertStyle0; }
|
|
@@ -3628,7 +3630,7 @@ var RoadButtonStyle0 = buttonCss;
|
|
|
3628
3630
|
*
|
|
3629
3631
|
* @part native - The native HTML button or anchor element that wraps all child elements.
|
|
3630
3632
|
*/
|
|
3631
|
-
class Button$
|
|
3633
|
+
class Button$2 {
|
|
3632
3634
|
constructor(hostRef) {
|
|
3633
3635
|
registerInstance(this, hostRef);
|
|
3634
3636
|
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
@@ -3736,6 +3738,85 @@ class Button$1 {
|
|
|
3736
3738
|
}; }
|
|
3737
3739
|
}
|
|
3738
3740
|
|
|
3741
|
+
const buttonCarouselCss = ":host{position:fixed;right:1rem;bottom:1rem;z-index:2;box-sizing:border-box;display:block;align-items:center;text-decoration:none;white-space:nowrap;border:1px solid transparent;max-width:3rem;height:3rem;border-radius:2rem}:host(.scroll-up){display:block;max-width:3.5rem}:host(.scroll-down) .button-native{display:flex}:host(.scroll-down){display:flex;max-width:max-content}.button-native{position:relative;display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host(.btn-outline){background:transparent;color:var(--road-on-overlay-inverse);border-color:var(--road-overlay)}:host([aria-disabled].btn-outline){border-color:var(--road-surface-disabled);background:var(--road-surface-disabled);color:var(--road-on-surface-disabled)}:host(.btn-outline:not([disabled]):hover),:host(.btn-outline:not([disabled]).focus-visible){border-color:var(--road-outline);background:var(--road-surface)}:host(.btn-default){background:var(--road-overlay);color:var(--road-on-overlay);border-color:var(--road-overlay-inverse)}:host([aria-disabled].btn-default){background:var(--road-surface-disabled);color:var(--road-on-surface-disabled)}:host(.btn-default:not([disabled]):hover),:host(.btn-default:not([disabled]).focus-visible){color:var(--road-on-surface);border-color:transparent;background:var(--road-surface)}";
|
|
3742
|
+
var RoadButtonCarouselStyle0 = buttonCarouselCss;
|
|
3743
|
+
|
|
3744
|
+
/**
|
|
3745
|
+
* @slot - Content of the carrousel button.
|
|
3746
|
+
*
|
|
3747
|
+
* @part native - The native HTML button or anchor element that wraps all child elements.
|
|
3748
|
+
*/
|
|
3749
|
+
class Button$1 {
|
|
3750
|
+
constructor(hostRef) {
|
|
3751
|
+
registerInstance(this, hostRef);
|
|
3752
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
3753
|
+
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
3754
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
3755
|
+
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
3756
|
+
/**
|
|
3757
|
+
* Set to `false` for a ghost button, set to `true` for a default outline button
|
|
3758
|
+
*/
|
|
3759
|
+
this.outline = false;
|
|
3760
|
+
/**
|
|
3761
|
+
* If `true`, the user cannot interact with the button.
|
|
3762
|
+
*/
|
|
3763
|
+
this.disabled = false;
|
|
3764
|
+
this.onClick = (ev) => {
|
|
3765
|
+
if (this.el.shadowRoot && this.el.attachShadow) {
|
|
3766
|
+
// this button wants to specifically submit a form
|
|
3767
|
+
// climb up the dom to see if we're in a <form>
|
|
3768
|
+
// and if so, then use JS to submit it
|
|
3769
|
+
const form = this.el.closest('form');
|
|
3770
|
+
if (form) {
|
|
3771
|
+
ev.preventDefault();
|
|
3772
|
+
const fakeButton = document.createElement('button');
|
|
3773
|
+
fakeButton.style.display = 'none';
|
|
3774
|
+
form.appendChild(fakeButton);
|
|
3775
|
+
fakeButton.click();
|
|
3776
|
+
fakeButton.remove();
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
};
|
|
3780
|
+
this.onFocus = () => {
|
|
3781
|
+
this.roadfocus.emit();
|
|
3782
|
+
this.roadFocus.emit();
|
|
3783
|
+
};
|
|
3784
|
+
this.onBlur = () => {
|
|
3785
|
+
this.roadblur.emit();
|
|
3786
|
+
this.roadBlur.emit();
|
|
3787
|
+
};
|
|
3788
|
+
}
|
|
3789
|
+
onScroll() {
|
|
3790
|
+
const positionScroll = window.scrollY;
|
|
3791
|
+
if (positionScroll < 300) {
|
|
3792
|
+
this.el.classList.add("scroll-down");
|
|
3793
|
+
this.el.classList.remove("scroll-up");
|
|
3794
|
+
}
|
|
3795
|
+
if (positionScroll > 300) {
|
|
3796
|
+
this.el.classList.add("scroll-up");
|
|
3797
|
+
this.el.classList.remove("scroll-down");
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3800
|
+
render() {
|
|
3801
|
+
const TagType = 'button';
|
|
3802
|
+
const outlineClass = this.outline ? 'btn-outline' : 'btn-default';
|
|
3803
|
+
return (hAsync(Host, { key: '1107b2f89efba230a6d0c207239fb80e90c8b877', onClick: this.onClick, class: [outlineClass].filter(Boolean).join(' '), "aria-disabled": this.disabled ? 'true' : null }, hAsync(TagType, { key: '125d636dce50637a3eeb67441db9ebd285b75322', class: "button-native", part: "native", disabled: this.disabled, onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: 'a1128035274089a9cfd252027ee25a1164bf1988' }))));
|
|
3804
|
+
}
|
|
3805
|
+
get el() { return getElement(this); }
|
|
3806
|
+
static get style() { return RoadButtonCarouselStyle0; }
|
|
3807
|
+
static get cmpMeta() { return {
|
|
3808
|
+
"$flags$": 9,
|
|
3809
|
+
"$tagName$": "road-button-carousel",
|
|
3810
|
+
"$members$": {
|
|
3811
|
+
"outline": [4],
|
|
3812
|
+
"disabled": [516]
|
|
3813
|
+
},
|
|
3814
|
+
"$listeners$": [[9, "scroll", "onScroll"]],
|
|
3815
|
+
"$lazyBundleId$": "-",
|
|
3816
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
3817
|
+
}; }
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3739
3820
|
const buttonFloatingCss = ":host{position:fixed;right:1rem;bottom:1rem;z-index:2;box-sizing:border-box;display:block;align-items:center;max-width:3.5rem;height:3.5rem;padding:0.6rem 0.75rem 0.75rem;overflow:hidden;font-family:var(--road-font, sans-serif);font-size:var(--road-button-medium);font-weight:700;line-height:1.375;color:var(--road-on-button-fab);text-decoration:none;white-space:nowrap;background:var(--road-button-fab);border:1px solid transparent;border-radius:2rem;box-shadow:var(--road-elevation-average);transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(.position-left){right:auto;left:1rem}:host(.position-center){right:0;left:0;margin:0 auto}:host(.scroll-up){display:block;max-width:3.5rem}:host(.position-center.scroll-up){display:flex;max-width:max-content}:host(.scroll-down) .button-native{display:flex}:host(.position-center.scroll-down) .button-native{display:flex}:host(.position-center) .button-native{display:flex}:host(.scroll-down){display:flex;max-width:max-content}:host ::slotted(road-icon){margin-right:0.5rem;color:var(--road-on-button-secondary)}:host(:hover){background-color:var(--road-button-fab-variant)}.button-native{position:relative;z-index:1;align-items:center;justify-content:center;width:100%;height:100%;padding:0;margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border:none;outline:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host([aria-disabled]){pointer-events:none;opacity:0.16}.button-native:disabled{cursor:not-allowed}";
|
|
3740
3821
|
var RoadButtonFloatingStyle0 = buttonFloatingCss;
|
|
3741
3822
|
|
|
@@ -3795,7 +3876,7 @@ class Button {
|
|
|
3795
3876
|
render() {
|
|
3796
3877
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3797
3878
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3798
|
-
return (hAsync(Host, { key: '
|
|
3879
|
+
return (hAsync(Host, { key: '80fc92dc2304506cc8d36b1f183af43057c8ed89', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: 'aeb4f497b2b35208b69a4fb09c28b08d42b1bf94', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: 'fd318fd17487cb99a8d898cfd09f9483963e65af', name: "start" }), hAsync("slot", { key: 'f4a7566371471270921991dd553ef201ea07b8b0' }))));
|
|
3799
3880
|
}
|
|
3800
3881
|
get el() { return getElement(this); }
|
|
3801
3882
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3840,7 +3921,7 @@ class ButtonBar {
|
|
|
3840
3921
|
this.selectedTabChanged();
|
|
3841
3922
|
}
|
|
3842
3923
|
render() {
|
|
3843
|
-
return (hAsync(Host, { key: '
|
|
3924
|
+
return (hAsync(Host, { key: '9d6937fa6b2840970dd93648f1e79724562d91bf', role: "tablist" }, hAsync("slot", { key: '63de3253cb8eb6e9d4fa2374a1fab04ff64b174a' })));
|
|
3844
3925
|
}
|
|
3845
3926
|
get el() { return getElement(this); }
|
|
3846
3927
|
static get watchers() { return {
|
|
@@ -3953,7 +4034,7 @@ class Card {
|
|
|
3953
4034
|
const selectedClass = this.selected ? "selected" : "";
|
|
3954
4035
|
const isButtonClass = isButtonMode ? "is-button" : "";
|
|
3955
4036
|
const disabledClass = isButtonMode && this.disabled ? "is-disabled" : "";
|
|
3956
|
-
return (hAsync(Host, { key: '
|
|
4037
|
+
return (hAsync(Host, { key: '44026953c66e6ee3421d5bbc03c92e60710feb94', class: `${elevationClass} ${selectedClass} ${isButtonClass} ${disabledClass}` }, this.renderCard()));
|
|
3957
4038
|
}
|
|
3958
4039
|
get el() { return getElement(this); }
|
|
3959
4040
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10708,7 +10789,7 @@ class Carousel {
|
|
|
10708
10789
|
});
|
|
10709
10790
|
}
|
|
10710
10791
|
render() {
|
|
10711
|
-
return (hAsync(Host, { key: '
|
|
10792
|
+
return (hAsync(Host, { key: '7de13f5ced4a2071d8a520ab9ad134ff0b551d17', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: '51c9909fcf085e5ee7d4c79b380f7a7edcd0b491', class: "swiper-wrapper" }, hAsync("slot", { key: '971f91cc7e356f9e9282e36b1de8beb8a8bb9c07' })), this.pager && (hAsync("div", { key: 'c78672aa427460488b5da344e6db4223040b7a10', class: "swiper-pagination", ref: (el) => (this.paginationEl = el) })), this.arrows && (hAsync("div", { key: 'aa5732a2c5885602f814e2e853bdb8bd5650f54d', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: '195af2ff8d2319a29dd64d5a4278dcb722cf26d0', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: '8700c937007ea062e0f3909deee887b8158b7085', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: 'b94e08b955343c34d2b5ecdeb3f385db649aadc5', icon: navigationChevron })))));
|
|
10712
10793
|
}
|
|
10713
10794
|
get el() { return getElement(this); }
|
|
10714
10795
|
static get watchers() { return {
|
|
@@ -10760,10 +10841,10 @@ class CarouselItem {
|
|
|
10760
10841
|
registerInstance(this, hostRef);
|
|
10761
10842
|
}
|
|
10762
10843
|
render() {
|
|
10763
|
-
return (hAsync(Host, { key: '
|
|
10844
|
+
return (hAsync(Host, { key: '66cf75481e1bb831c17a7a7ca01341dfd1f28cae', class: {
|
|
10764
10845
|
'swiper-slide': true,
|
|
10765
10846
|
'swiper-zoom-container': true,
|
|
10766
|
-
} }, hAsync("slot", { key: '
|
|
10847
|
+
} }, hAsync("slot", { key: 'ace4b6235ef59848e24915b3c8f17a54f78f18a7' })));
|
|
10767
10848
|
}
|
|
10768
10849
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10769
10850
|
static get cmpMeta() { return {
|
|
@@ -10776,7 +10857,7 @@ class CarouselItem {
|
|
|
10776
10857
|
}; }
|
|
10777
10858
|
}
|
|
10778
10859
|
|
|
10779
|
-
const checkboxCss = ".sc-road-checkbox-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-16);line-height:1.5;color:var(--road-on-surface)}.form-check-input.sc-road-checkbox{position:absolute;z-index:-1;opacity:0}.form-check-label.sc-road-checkbox{position:relative;display:inline-flex;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-check-label.sc-road-checkbox::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;transition:border 0.2s ease-in-out, background 0.2s ease-in-out}.form-check-label-span.sc-road-checkbox{color:var(--road-on-surface-weak)}.form-check-icon.sc-road-checkbox{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:1.25rem;height:1.25rem;color:var(--road-primary-contrast);opacity:0;transition:opacity 0.2s ease-in-out}@media (hover: hover){.form-check-input.sc-road-checkbox:not(:disabled)~.form-check-label.sc-road-checkbox:hover::before{border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:not(:disabled):checked~.form-check-label.sc-road-checkbox:hover::before,.form-check-input.sc-road-checkbox:not(:disabled):indeterminate~.form-check-label.sc-road-checkbox:hover::before{background:var(--road-input-surface-variant)}}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{opacity:1}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface);border-color:var(--road-input-surface)}.form-check-input.focus-visible.sc-road-checkbox~.form-check-label.sc-road-checkbox::before{box-shadow:0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700)}.form-check-input.focus-visible.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.focus-visible.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface-variant);border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox{cursor:not-allowed}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox::before,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox::before{background:var(--road-surface-disabled);border:none}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{fill:var(--road-on-surface-disabled)}.invalid-feedback.sc-road-checkbox{display:none;flex:0 0 100%;width:100%;margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-danger-default)}.form-check-input.is-invalid.sc-road-checkbox~.form-check-label.sc-road-checkbox::before,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.form-check-label.sc-road-checkbox::before{border-color:var(--road-danger-outline)}.form-check-input.is-invalid.sc-road-checkbox~.invalid-feedback.sc-road-checkbox,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.invalid-feedback.sc-road-checkbox{display:block}.form-checkbox-inverse.sc-road-checkbox{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-checkbox-inverse.sc-road-checkbox::before{margin:0 0 0 1rem}.form-checkbox-inverse.sc-road-checkbox .form-check-icon.sc-road-checkbox{right:0;left:auto}.helper.sc-road-checkbox{margin-top:0.5rem;margin-left:2rem;font-size:var(--road-font-size-14);color:var(--road-on-surface-weak)}";
|
|
10860
|
+
const checkboxCss = ".sc-road-checkbox-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-16);line-height:1.5;color:var(--road-on-surface)}.form-check-input.sc-road-checkbox{position:absolute;z-index:-1;opacity:0}.form-check-label.sc-road-checkbox{position:relative;display:inline-flex;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-check-label.sc-road-checkbox::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;transition:border 0.2s ease-in-out, background 0.2s ease-in-out}.form-check-label-span.sc-road-checkbox{color:var(--road-on-surface-weak)}.form-check-icon.sc-road-checkbox{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:1.25rem;height:1.25rem;color:var(--road-primary-contrast);opacity:0;transition:opacity 0.2s ease-in-out}@media (hover: hover){.form-check-input.sc-road-checkbox:not(:disabled)~.form-check-label.sc-road-checkbox:hover::before{border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:not(:disabled):checked~.form-check-label.sc-road-checkbox:hover::before,.form-check-input.sc-road-checkbox:not(:disabled):indeterminate~.form-check-label.sc-road-checkbox:hover::before{background:var(--road-input-surface-variant)}}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{opacity:1}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface);border-color:var(--road-input-surface)}.form-check-input.focus-visible.sc-road-checkbox~.form-check-label.sc-road-checkbox::before{box-shadow:0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700)}.form-check-input.focus-visible.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.focus-visible.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface-variant);border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox{cursor:not-allowed}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox::before,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox::before{background:var(--road-surface-disabled);border:none}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{fill:var(--road-on-surface-disabled)}.invalid-feedback.sc-road-checkbox{display:none;flex:0 0 100%;width:100%;margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-danger-default)}.form-check-input.is-invalid.sc-road-checkbox~.form-check-label.sc-road-checkbox::before,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.form-check-label.sc-road-checkbox::before{border-color:var(--road-danger-outline)}.form-check-input.is-invalid.sc-road-checkbox~.invalid-feedback.sc-road-checkbox,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.invalid-feedback.sc-road-checkbox{display:block}.form-checkbox-inverse.sc-road-checkbox{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-checkbox-inverse.sc-road-checkbox::before{margin:0 0 0 1rem}.form-checkbox-inverse.sc-road-checkbox .form-check-icon.sc-road-checkbox{right:0;left:auto}.helper.sc-road-checkbox{margin-top:0.5rem;margin-left:2rem;font-size:var(--road-font-size-14);color:var(--road-on-surface-weak)}.form-check-label-sm.sc-road-checkbox{font-size:var(--road-body-small)}.form-check-label-md.sc-road-checkbox{font-size:var(--road-body-medium)}.form-check-label-lg.sc-road-checkbox{font-size:var(--road-body-large)}";
|
|
10780
10861
|
var RoadCheckboxStyle0 = checkboxCss;
|
|
10781
10862
|
|
|
10782
10863
|
/**
|
|
@@ -10827,6 +10908,10 @@ class Checkbox {
|
|
|
10827
10908
|
* If `true`, the label and the checkbox are inverse and spaced
|
|
10828
10909
|
*/
|
|
10829
10910
|
this.inverse = false;
|
|
10911
|
+
/**
|
|
10912
|
+
* The checkbox label size.
|
|
10913
|
+
*/
|
|
10914
|
+
this.size = 'md';
|
|
10830
10915
|
this.onClick = () => {
|
|
10831
10916
|
this.checked = !this.checked;
|
|
10832
10917
|
this.indeterminate = false;
|
|
@@ -10853,8 +10938,9 @@ class Checkbox {
|
|
|
10853
10938
|
render() {
|
|
10854
10939
|
const labelId = this.checkboxId + '-label';
|
|
10855
10940
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10941
|
+
const sizeClass = this.size !== undefined ? `form-check-label-${this.size}` : '';
|
|
10856
10942
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10857
|
-
return (hAsync(Host, { key: '
|
|
10943
|
+
return (hAsync(Host, { key: '61a1420c717c25c8b09f6ecb52fa281bc7c0a4ff' }, hAsync("input", { key: 'b894bdab786b416ab46280c80a344fb1ea97fb82', 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: 'bc0b308f508cfbd15876c97f4dd381cf4f1cabe8', class: `form-check-label ${inverseClass} ${sizeClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: 'd78bb31d01f3ad0cbcb51e61f79d00b611599ee9' }, this.label, " ", hAsync("span", { key: '5154464b3ff2840408f57891f92b344e1fb0ecbc', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: '6ed42d75b5bf687a17e30f163a7d5c28a8d6d2e1' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '5dfdae2ea90921103427d2f8fca7b14625a80fc6', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: '9e4e76b62f504d24b114d8801cb4fe0c0319365b', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: 'eed17cd5b5aac44c93a02fbfa1eddc68252b6369', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '89e6e4739b2ddc39a1e850d1a4a55a9a723e6972', class: "helper" }, this.helper)));
|
|
10858
10944
|
}
|
|
10859
10945
|
static get watchers() { return {
|
|
10860
10946
|
"checked": ["checkedChanged"]
|
|
@@ -10875,11 +10961,12 @@ class Checkbox {
|
|
|
10875
10961
|
"secondaryLabel": [1, "secondary-label"],
|
|
10876
10962
|
"inverse": [4],
|
|
10877
10963
|
"error": [1],
|
|
10878
|
-
"helper": [1]
|
|
10964
|
+
"helper": [1],
|
|
10965
|
+
"size": [513]
|
|
10879
10966
|
},
|
|
10880
10967
|
"$listeners$": undefined,
|
|
10881
10968
|
"$lazyBundleId$": "-",
|
|
10882
|
-
"$attrsToReflect$": []
|
|
10969
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
10883
10970
|
}; }
|
|
10884
10971
|
}
|
|
10885
10972
|
let checkboxIds = 0;
|
|
@@ -10890,7 +10977,7 @@ var RoadChipStyle0 = chipCss;
|
|
|
10890
10977
|
/**
|
|
10891
10978
|
* @slot - Content of the chip.
|
|
10892
10979
|
*/
|
|
10893
|
-
class Chip
|
|
10980
|
+
class Chip {
|
|
10894
10981
|
constructor(hostRef) {
|
|
10895
10982
|
registerInstance(this, hostRef);
|
|
10896
10983
|
/**
|
|
@@ -10912,7 +10999,7 @@ class Chip$1 {
|
|
|
10912
10999
|
}
|
|
10913
11000
|
render() {
|
|
10914
11001
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10915
|
-
return (hAsync(Host, { key: '
|
|
11002
|
+
return (hAsync(Host, { key: 'ded3c67d6a534dfd46c54ecf503767f8283d2822', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: '2ba980cea6242d94be97da8da18d00c88980acc6', class: "chip-description" }, hAsync("slot", { key: '1360a26a52fa7f94c76f321f400258a37af29285' })), this.hasCloseIcon && hAsync("road-icon", { key: 'f4049de03437098c2e85cf8b7975cfcc408cdbcb', class: "chip-close", icon: navigationClose })));
|
|
10916
11003
|
}
|
|
10917
11004
|
static get style() { return RoadChipStyle0; }
|
|
10918
11005
|
static get cmpMeta() { return {
|
|
@@ -10930,36 +11017,6 @@ class Chip$1 {
|
|
|
10930
11017
|
}; }
|
|
10931
11018
|
}
|
|
10932
11019
|
|
|
10933
|
-
const statusChipCss = ":host{box-sizing:border-box;display:inline-flex;align-items:center;height:1.5rem;margin-bottom:0.5rem;font-size:var(--road-font-size-14);cursor:pointer;border:0;border-radius:1.625rem;outline:0;background-color:var(--road-info-surface);color:var(--road-on-info-surface);font-weight:700;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}.chip-description{display:inline-flex;align-items:center;padding:var(--road-spacing-01) var(--road-spacing-05) var(--road-spacing-01) var(--road-spacing-03)}.chip-icon{width:1rem;height:1rem;margin-right:var(--road-spacing-03);border-radius:50%;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(.chip-md){height:2rem;font-size:var(--road-font-size-16)}:host(.chip-md) .chip-description{padding:var(--road-spacing-02) var(--road-spacing-05) var(--road-spacing-02) var(--road-spacing-03)}:host(.chip-md) .chip-icon{width:1.25rem;height:1.25rem}:host(.chip-lg){height:2.5rem;font-size:var(--road-font-size-16)}:host(.chip-lg) .chip-description{padding:var(--road-spacing-02) var(--road-spacing-06) var(--road-spacing-02) var(--road-spacing-04)}:host(.chip-lg) .chip-icon{width:1.5rem;height:1.5rem}:host(:hover),:host(.focus-visible){background:var(--road-info-90)}:host(:active){background:var(--road-info-80)}";
|
|
10934
|
-
var RoadStatusChipStyle0 = statusChipCss;
|
|
10935
|
-
|
|
10936
|
-
/**
|
|
10937
|
-
* @slot - Content of the chip.
|
|
10938
|
-
*/
|
|
10939
|
-
class Chip {
|
|
10940
|
-
constructor(hostRef) {
|
|
10941
|
-
registerInstance(this, hostRef);
|
|
10942
|
-
/**
|
|
10943
|
-
* The chip size.
|
|
10944
|
-
*/
|
|
10945
|
-
this.size = 'sm';
|
|
10946
|
-
}
|
|
10947
|
-
render() {
|
|
10948
|
-
return (hAsync(Host, { key: '22343d5f99de6406223630ccc5ddc4c8363f87ff', class: `chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: '53693f688a08c07d7c5c5c8f6f4ab6ecbad5c783', class: "chip-description" }, hAsync("road-icon", { key: 'd66577297e5c33d7722c3026293830092e9f0239', class: "chip-icon", color: "info", icon: alertInfoSolid }), hAsync("slot", { key: '248ca83089bffdb3695d953cb14ac38a27e10b4d' }))));
|
|
10949
|
-
}
|
|
10950
|
-
static get style() { return RoadStatusChipStyle0; }
|
|
10951
|
-
static get cmpMeta() { return {
|
|
10952
|
-
"$flags$": 9,
|
|
10953
|
-
"$tagName$": "road-status-chip",
|
|
10954
|
-
"$members$": {
|
|
10955
|
-
"size": [1]
|
|
10956
|
-
},
|
|
10957
|
-
"$listeners$": undefined,
|
|
10958
|
-
"$lazyBundleId$": "-",
|
|
10959
|
-
"$attrsToReflect$": []
|
|
10960
|
-
}; }
|
|
10961
|
-
}
|
|
10962
|
-
|
|
10963
11020
|
const colCss = ":host{position:relative;flex-basis:0;flex-grow:1;width:100%;max-width:100%;min-height:1px;padding-right:8px;padding-left:8px}:host(.col-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-3){flex:0 0 25%;max-width:25%}:host(.col-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-6){flex:0 0 50%;max-width:50%}:host(.col-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-9){flex:0 0 75%;max-width:75%}:host(.col-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-12){flex:0 0 100%;max-width:100%}:host(.offset-1){margin-left:8.3333%}:host(.offset-2){margin-left:16.6667%}:host(.offset-3){margin-left:25%}:host(.offset-4){margin-left:33.3333%}:host(.offset-5){margin-left:41.6667%}:host(.offset-6){margin-left:50%}:host(.offset-7){margin-left:58.3333%}:host(.offset-8){margin-left:66.6667%}:host(.offset-9){margin-left:75%}:host(.offset-10){margin-left:83.3333%}:host(.offset-11){margin-left:91.6667%}@media (min-width: 576px){:host(.col-sm){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-sm-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-sm-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-sm-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-sm-3){flex:0 0 25%;max-width:25%}:host(.col-sm-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-sm-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-sm-6){flex:0 0 50%;max-width:50%}:host(.col-sm-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-sm-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-sm-9){flex:0 0 75%;max-width:75%}:host(.col-sm-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-sm-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-sm-12){flex:0 0 100%;max-width:100%}:host(.offset-sm-0){margin-left:0}:host(.offset-sm-1){margin-left:8.3333%}:host(.offset-sm-2){margin-left:16.6667%}:host(.offset-sm-3){margin-left:25%}:host(.offset-sm-4){margin-left:33.3333%}:host(.offset-sm-5){margin-left:41.6667%}:host(.offset-sm-6){margin-left:50%}:host(.offset-sm-7){margin-left:58.3333%}:host(.offset-sm-8){margin-left:66.6667%}:host(.offset-sm-9){margin-left:75%}:host(.offset-sm-10){margin-left:83.3333%}:host(.offset-sm-11){margin-left:91.6667%}}@media (min-width: 768px){:host(.col-md){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-md-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-md-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-md-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-md-3){flex:0 0 25%;max-width:25%}:host(.col-md-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-md-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-md-6){flex:0 0 50%;max-width:50%}:host(.col-md-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-md-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-md-9){flex:0 0 75%;max-width:75%}:host(.col-md-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-md-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-md-12){flex:0 0 100%;max-width:100%}:host(.offset-md-0){margin-left:0}:host(.offset-md-1){margin-left:8.3333%}:host(.offset-md-2){margin-left:16.6667%}:host(.offset-md-3){margin-left:25%}:host(.offset-md-4){margin-left:33.3333%}:host(.offset-md-5){margin-left:41.6667%}:host(.offset-md-6){margin-left:50%}:host(.offset-md-7){margin-left:58.3333%}:host(.offset-md-8){margin-left:66.6667%}:host(.offset-md-9){margin-left:75%}:host(.offset-md-10){margin-left:83.3333%}:host(.offset-md-11){margin-left:91.6667%}}@media (min-width: 992px){:host(.col-lg){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-lg-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-lg-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-lg-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-lg-3){flex:0 0 25%;max-width:25%}:host(.col-lg-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-lg-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-lg-6){flex:0 0 50%;max-width:50%}:host(.col-lg-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-lg-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-lg-9){flex:0 0 75%;max-width:75%}:host(.col-lg-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-lg-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-lg-12){flex:0 0 100%;max-width:100%}:host(.offset-lg-0){margin-left:0}:host(.offset-lg-1){margin-left:8.3333%}:host(.offset-lg-2){margin-left:16.6667%}:host(.offset-lg-3){margin-left:25%}:host(.offset-lg-4){margin-left:33.3333%}:host(.offset-lg-5){margin-left:41.6667%}:host(.offset-lg-6){margin-left:50%}:host(.offset-lg-7){margin-left:58.3333%}:host(.offset-lg-8){margin-left:66.6667%}:host(.offset-lg-9){margin-left:75%}:host(.offset-lg-10){margin-left:83.3333%}:host(.offset-lg-11){margin-left:91.6667%}}@media (min-width: 1200px){:host(.col-xl){flex-basis:0;flex-grow:1;max-width:100%}:host(.col-xl-auto){flex:0 0 auto;width:auto;max-width:none}:host(.col-xl-1){flex:0 0 8.3333%;max-width:8.3333%}:host(.col-xl-2){flex:0 0 16.6667%;max-width:16.6667%}:host(.col-xl-3){flex:0 0 25%;max-width:25%}:host(.col-xl-4){flex:0 0 33.3333%;max-width:33.3333%}:host(.col-xl-5){flex:0 0 41.6667%;max-width:41.6667%}:host(.col-xl-6){flex:0 0 50%;max-width:50%}:host(.col-xl-7){flex:0 0 58.3333%;max-width:58.3333%}:host(.col-xl-8){flex:0 0 66.6667%;max-width:66.6667%}:host(.col-xl-9){flex:0 0 75%;max-width:75%}:host(.col-xl-10){flex:0 0 83.3333%;max-width:83.3333%}:host(.col-xl-11){flex:0 0 91.6667%;max-width:91.6667%}:host(.col-xl-12){flex:0 0 100%;max-width:100%}:host(.offset-xl-0){margin-left:0}:host(.offset-xl-1){margin-left:8.3333%}:host(.offset-xl-2){margin-left:16.6667%}:host(.offset-xl-3){margin-left:25%}:host(.offset-xl-4){margin-left:33.3333%}:host(.offset-xl-5){margin-left:41.6667%}:host(.offset-xl-6){margin-left:50%}:host(.offset-xl-7){margin-left:58.3333%}:host(.offset-xl-8){margin-left:66.6667%}:host(.offset-xl-9){margin-left:75%}:host(.offset-xl-10){margin-left:83.3333%}:host(.offset-xl-11){margin-left:91.6667%}}";
|
|
10964
11021
|
var RoadColStyle0 = colCss;
|
|
10965
11022
|
|
|
@@ -10971,7 +11028,7 @@ class Col {
|
|
|
10971
11028
|
registerInstance(this, hostRef);
|
|
10972
11029
|
}
|
|
10973
11030
|
render() {
|
|
10974
|
-
return (hAsync("slot", { key: '
|
|
11031
|
+
return (hAsync("slot", { key: '4cca7757a5a8749eef49d826de2e3b3bd03aa6d0' }));
|
|
10975
11032
|
}
|
|
10976
11033
|
static get style() { return RoadColStyle0; }
|
|
10977
11034
|
static get cmpMeta() { return {
|
|
@@ -11021,7 +11078,7 @@ class Collapse {
|
|
|
11021
11078
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
11022
11079
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
11023
11080
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
11024
|
-
return (hAsync(Host, { key: '
|
|
11081
|
+
return (hAsync(Host, { key: '6c1f78aea13744aab6d9e39f5c415e38a070026e' }, hAsync("slot", { key: '3d369bc22707614e18b0b87b2ac880a696876a10' }), hAsync("div", { key: 'a2e58a860c41422159ac8a605431cb747934f1c4', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: 'db854e26de30f90268f3c0a209ed946a38fde7b4', name: "collapsed-content" })), hAsync("div", { key: '37ab581d3d384433e69ac37993adb116cdf3d787', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: '97d8bb625e6cac6108e0b4dc6263481b20da6f1c', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
11025
11082
|
}
|
|
11026
11083
|
static get style() { return RoadCollapseStyle0; }
|
|
11027
11084
|
static get cmpMeta() { return {
|
|
@@ -11058,7 +11115,7 @@ class ContentCard {
|
|
|
11058
11115
|
}
|
|
11059
11116
|
render() {
|
|
11060
11117
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11061
|
-
return (hAsync(Host, { key: '
|
|
11118
|
+
return (hAsync(Host, { key: '8e0b36b7d5e3906508a99ccd55b5ce38b0d8328d' }, hAsync("road-img", { key: '57d11f40a4678f141fdf7952c3663a4c3803bc42', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '2050e2fa7a84d84e0737308a1e977fca746eaf4c', class: "content-card-description" }, hAsync("road-label", { key: '3fe09993b8bf8c3a82cf8a7ec8efc6eed87fd78b', class: "content-card-description-title" }, hAsync("slot", { key: '3a37c63b30c874314aa764210b4b268a83f71645', name: "label" })), hAsync("p", { key: 'fb09e79bb1b73656e2bfa9b03a5b822640ec0638', class: "content-card-description-text" }, hAsync("slot", { key: '7c8c4ced139302c08dcf4b67436e92780a29ce67', name: "description" })), hAsync("div", { key: '209e1873e8f6e4e340109c46a9b11d3587e5a43b', class: "content-card-description-buttons" }, hAsync("slot", { key: '2feb58a1893aa6607cd1f89fc28ffb53729f1c6a' })))));
|
|
11062
11119
|
}
|
|
11063
11120
|
static get style() { return RoadContentCardStyle0; }
|
|
11064
11121
|
static get cmpMeta() { return {
|
|
@@ -11122,9 +11179,10 @@ class Counter {
|
|
|
11122
11179
|
}
|
|
11123
11180
|
};
|
|
11124
11181
|
this.increase = () => {
|
|
11125
|
-
this.inputElement.querySelector('input')
|
|
11126
|
-
|
|
11127
|
-
|
|
11182
|
+
const input = this.inputElement.querySelector('input');
|
|
11183
|
+
input.stepUp();
|
|
11184
|
+
let valueInput = parseInt(input.value);
|
|
11185
|
+
if (isNaN(valueInput)) {
|
|
11128
11186
|
valueInput = this.min;
|
|
11129
11187
|
}
|
|
11130
11188
|
this.onValueChange(valueInput);
|
|
@@ -11135,9 +11193,10 @@ class Counter {
|
|
|
11135
11193
|
this.roadDustbinClick.emit();
|
|
11136
11194
|
return;
|
|
11137
11195
|
}
|
|
11138
|
-
this.inputElement.querySelector('input')
|
|
11139
|
-
|
|
11140
|
-
|
|
11196
|
+
const input = this.inputElement.querySelector('input');
|
|
11197
|
+
input.stepDown();
|
|
11198
|
+
let valueInput = parseInt(input.value);
|
|
11199
|
+
if (isNaN(valueInput)) {
|
|
11141
11200
|
valueInput = this.min;
|
|
11142
11201
|
}
|
|
11143
11202
|
this.onValueChange(valueInput);
|
|
@@ -11182,8 +11241,8 @@ class Counter {
|
|
|
11182
11241
|
}
|
|
11183
11242
|
setIconsClasses(valueInput) {
|
|
11184
11243
|
valueInput = valueInput !== null && valueInput !== void 0 ? valueInput : parseInt(this.inputElement.querySelector('input').value);
|
|
11185
|
-
this.leftIconClasses = valueInput <= this.min && !this.dustbin ? "disabled" : "";
|
|
11186
|
-
this.rightIconClasses = this.max && valueInput >= this.max ? "disabled" : "";
|
|
11244
|
+
this.leftIconClasses = this.readonly || valueInput <= this.min && !this.dustbin ? "disabled" : "";
|
|
11245
|
+
this.rightIconClasses = this.readonly || this.max && valueInput >= this.max ? "disabled" : "";
|
|
11187
11246
|
}
|
|
11188
11247
|
componentWillLoad() {
|
|
11189
11248
|
this.onValueChange(this.value);
|
|
@@ -11234,11 +11293,12 @@ class Counter {
|
|
|
11234
11293
|
}
|
|
11235
11294
|
render() {
|
|
11236
11295
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11237
|
-
return (hAsync("road-input-group", { key: '
|
|
11296
|
+
return (hAsync("road-input-group", { key: 'a7dd9223220e372a64e71cf9755085198f1a2e34', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: '7ca6415c6c64d1f1b48cf1ceef9a35a1688672f2', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, hAsync("road-icon", { key: '425c90c236461094c1f257991a4c9a5b5c9b7f31', 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: 'bb869971ebdda0e8735e1fb3a1428243127b996a', 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: '88552d48126ac46073350fcb6ed6d5a9fb0e3fc2', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, hAsync("road-icon", { key: '0ab3ea8a8bfaadad2d3c1989aff983551d04f5cb', name: "navigation-add-more", size: this.size, role: "button" }))));
|
|
11238
11297
|
}
|
|
11239
11298
|
get el() { return getElement(this); }
|
|
11240
11299
|
static get watchers() { return {
|
|
11241
|
-
"value": ["onValueChange"]
|
|
11300
|
+
"value": ["onValueChange"],
|
|
11301
|
+
"readonly": ["onValueChange"]
|
|
11242
11302
|
}; }
|
|
11243
11303
|
static get style() { return RoadCounterStyle0; }
|
|
11244
11304
|
static get cmpMeta() { return {
|
|
@@ -11354,11 +11414,11 @@ class Dialog {
|
|
|
11354
11414
|
break;
|
|
11355
11415
|
}
|
|
11356
11416
|
}
|
|
11357
|
-
return (hAsync(Host, { key: '
|
|
11417
|
+
return (hAsync(Host, { key: '81a8f90ed4049e3485a6ab736accc9fec67d7594', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: 'b3225223c0bca4133cf60a748903c1b3011b8760', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: '1488377ca21798d95a54384268a0d365ba54b8ff', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: '3ed4499f0462bedb809118f5ba134930cdd3f0fe', class: "dialog-content" }, hAsync("header", { key: '9179af253c0babbbd378200dc0b6e53a54421fbd', class: "dialog-header" }, this.hasCloseIcon
|
|
11358
11418
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11359
|
-
: ''), hAsync("div", { key: '
|
|
11419
|
+
: ''), hAsync("div", { key: '5c1f4459f65cf0864a4bf257bef0f6682a9ae2c4', class: "dialog-body" }, this.color !== undefined
|
|
11360
11420
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11361
|
-
: '', hAsync("h2", { key: '
|
|
11421
|
+
: '', hAsync("h2", { key: 'ff143f65b583d0aeed73ea249c5091b8c9e5d64c', class: "dialog-title" }, this.label), hAsync("p", { key: 'f404363a6ba5af84300d506b391d986dcd87080a', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: '50947ca23bb9e9bd5a71c9c48a793f79e3096c89', class: "dialog-footer" }, hAsync("slot", { key: '87bcb8232aaba76e3ea703777d67abe220980ed1' }))))));
|
|
11362
11422
|
}
|
|
11363
11423
|
get el() { return getElement(this); }
|
|
11364
11424
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -13056,10 +13116,10 @@ class Drawer {
|
|
|
13056
13116
|
handleFocusTrapProp(value) {
|
|
13057
13117
|
var _a, _b;
|
|
13058
13118
|
if (value) {
|
|
13059
|
-
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.
|
|
13119
|
+
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.unpause();
|
|
13060
13120
|
}
|
|
13061
13121
|
else {
|
|
13062
|
-
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.
|
|
13122
|
+
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.pause();
|
|
13063
13123
|
}
|
|
13064
13124
|
}
|
|
13065
13125
|
// @Watch('isOpen')
|
|
@@ -13126,6 +13186,9 @@ class Drawer {
|
|
|
13126
13186
|
getShadowRoot: true,
|
|
13127
13187
|
},
|
|
13128
13188
|
});
|
|
13189
|
+
if (this.isOpen) {
|
|
13190
|
+
this.handleOpen(true);
|
|
13191
|
+
}
|
|
13129
13192
|
}
|
|
13130
13193
|
render() {
|
|
13131
13194
|
var _a, _b, _c, _d;
|
|
@@ -13141,7 +13204,7 @@ class Drawer {
|
|
|
13141
13204
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
13142
13205
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
13143
13206
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
13144
|
-
return (hAsync(Host, { key: '
|
|
13207
|
+
return (hAsync(Host, { key: 'f204c79488e3496f2b5de75bdbaf8af4a7912306', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: 'c75f6462bd7f7451d17784b72fb94ec343fe88f9', class: "road-drawer-wrapper" }, hAsync("div", { key: '2e5df3a95fa7344dfbe103e05714c74646f68c3c', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: 'dfc325bb20bebcc1cb41902d5acbd28b2b662d01', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document" }, hAsync("div", { key: 'efdf2daad76553c2b4d0df35353865abd29a170c', class: "drawer-content" }, hAsync("header", { key: '96cefa87d0a69594d2add43cbffa6cbbd6a491d9', 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: 'd5d13d447d46cd6e1df289a217aa8422e100afa7', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: '5d9aefc4ccbff803e332fd55998fb20b141b272d' })), hAsync("footer", { key: '767203a6ffdf081888a7d43f0e840598513832b6', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, hAsync("slot", { key: '7d67cff86df04ba7c0c694e88d982abc2e08da5b', name: "footer" })))))));
|
|
13145
13208
|
}
|
|
13146
13209
|
get el() { return getElement(this); }
|
|
13147
13210
|
static get watchers() { return {
|
|
@@ -13206,7 +13269,7 @@ class Dropdown$1 {
|
|
|
13206
13269
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
13207
13270
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
13208
13271
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
13209
|
-
return (hAsync("details", { key: '
|
|
13272
|
+
return (hAsync("details", { key: '96f98a43d15a43bc4e48354d0ad9734ca502455a', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: 'af1ff26056eaf4b6b3ff57cd9308b0f630f42ed1', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: '9e2149f6901a9b9f6b0b946336c8f037f35b1a12', class: `d-flex ${positionClass}` }, hAsync("div", { key: 'cc34ac31554224da891175c86ddc4fb0e824a509', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: '25fb15d3fd97ce75d77da1a3cce8f968d76b7ecf', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: '5d2e08dbd8e1d58eb6f94b2e6f4ae438d48b0ec5', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: '441c9b8f8177a90ca9d9b26ea2e0f6eab8eda176', name: "list" }))));
|
|
13210
13273
|
}
|
|
13211
13274
|
get el() { return getElement(this); }
|
|
13212
13275
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -13262,7 +13325,7 @@ class Dropdown {
|
|
|
13262
13325
|
this.isOpen = false;
|
|
13263
13326
|
}
|
|
13264
13327
|
render() {
|
|
13265
|
-
return (hAsync("details", { key: '
|
|
13328
|
+
return (hAsync("details", { key: '657ada2de370f6aaf76e2a98895ce3be28cc6f69', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '940d726d7d1c8ea126924b108bf57ab685a2a686', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '5857ab37b0438b2610d908094bbab9187c46e259', class: `d-flex` }, hAsync("div", { key: 'a317e761fa4b6b46097b04ebe309e2f752e2f2e1' }, hAsync("road-avatar", { key: 'b25236fa949b54ca0faf7bceb0b635fc4cb6b07b' }, hAsync("slot", { key: 'c18965b719882ecd60dcef091298401933f33c88', name: "avatar" }))))), hAsync("div", { key: '70fc69f9f0cccac896d5196bee1e6a9c866c6541', class: `dropdown-menu` }, hAsync("div", { key: '7d28cb139e59995c972c30217cc0a0fc1f96382c', class: "profil-item" }, hAsync("road-avatar", { key: 'f74a21b6c4fcb5e23bb073839fb77b4edd95818a', size: "sm" }, hAsync("slot", { key: '3da5faaa271a97c4a016853f77c24c8e5961680d', name: "avatarItem" })), hAsync("div", { key: 'd30bf6cb38ffde6720dc48baad4226c7b0cc0188', class: "profil-item-info" }, hAsync("span", { key: '676ab7af4733f92f8e9f1e4e11ea85364237068b', class: "profil-item-info-name" }, hAsync("slot", { key: '2e4b1a90c2f00e7e67e4db95931aaca9102e776f', name: "name" })), hAsync("road-label", { key: 'c09654f005fc0b322fd071e13349731ab16e62f5' }, hAsync("slot", { key: '661db4276128da1f7c2c1c6cfc72fd31ef50e413', name: "email" })))), hAsync("slot", { key: '22b9d5856379c958ab32fd67ca70eceed2d58725', name: "list" }))));
|
|
13266
13329
|
}
|
|
13267
13330
|
get el() { return getElement(this); }
|
|
13268
13331
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -13326,7 +13389,7 @@ class Duration {
|
|
|
13326
13389
|
this.isOpen = false;
|
|
13327
13390
|
}
|
|
13328
13391
|
render() {
|
|
13329
|
-
return (hAsync("road-drawer", { key: '
|
|
13392
|
+
return (hAsync("road-drawer", { key: '535f8253ed4077add28d3ef7089c41e292ef7d78', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: '0b82c91ceb9d64ff3e0ff1462d1197f7607de643' }, hAsync("road-row", { key: '0913921ee3b390f33a84b5a008665381e2d8bcea', 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 })))))))));
|
|
13330
13393
|
}
|
|
13331
13394
|
get el() { return getElement(this); }
|
|
13332
13395
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -13372,7 +13435,7 @@ class Flap {
|
|
|
13372
13435
|
}
|
|
13373
13436
|
render() {
|
|
13374
13437
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
13375
|
-
return (hAsync(Host, { key: '
|
|
13438
|
+
return (hAsync(Host, { key: 'd20f1aff196fce6d4b5a0abc93c412a8eb25a074', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '0be62bb6925782d1109981adbb67de911bcb29f3' })));
|
|
13376
13439
|
}
|
|
13377
13440
|
static get style() { return RoadFlapStyle0; }
|
|
13378
13441
|
static get cmpMeta() { return {
|
|
@@ -13418,7 +13481,7 @@ class GlobalNavigation {
|
|
|
13418
13481
|
this.selectedTabChanged();
|
|
13419
13482
|
}
|
|
13420
13483
|
render() {
|
|
13421
|
-
return (hAsync(Host, { key: '
|
|
13484
|
+
return (hAsync(Host, { key: '72901e74098db281d77f4200a744a63968f2e28c', role: "application" }, hAsync("slot", { key: '6b70d101f1d30a6888dd4176ac87bdc37bb9dd06' })));
|
|
13422
13485
|
}
|
|
13423
13486
|
static get watchers() { return {
|
|
13424
13487
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -13566,7 +13629,7 @@ class GlobalNavigationV2 {
|
|
|
13566
13629
|
this.selectedTabChanged();
|
|
13567
13630
|
}
|
|
13568
13631
|
render() {
|
|
13569
|
-
return (hAsync(Host, { key: '
|
|
13632
|
+
return (hAsync(Host, { key: 'f4fb2c22034b13b4937635c6427ce6a1db6da363', role: "application" }, hAsync("slot", { key: 'efc105887ec5a4f4ae417d075c30d6b9816b4850' })));
|
|
13570
13633
|
}
|
|
13571
13634
|
get host() { return getElement(this); }
|
|
13572
13635
|
static get watchers() { return {
|
|
@@ -13596,7 +13659,7 @@ class Grid {
|
|
|
13596
13659
|
registerInstance(this, hostRef);
|
|
13597
13660
|
}
|
|
13598
13661
|
render() {
|
|
13599
|
-
return (hAsync("slot", { key: '
|
|
13662
|
+
return (hAsync("slot", { key: '481ff02c6cce323a2546465805705e98c6ad0e98' }));
|
|
13600
13663
|
}
|
|
13601
13664
|
static get style() { return RoadGridStyle0; }
|
|
13602
13665
|
static get cmpMeta() { return {
|
|
@@ -13924,7 +13987,7 @@ class Img {
|
|
|
13924
13987
|
}
|
|
13925
13988
|
render() {
|
|
13926
13989
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
13927
|
-
return (hAsync(Host, { key: '
|
|
13990
|
+
return (hAsync(Host, { key: 'b62aaf9dd6afc9ce4727cd12375f1c4b760f41f2', class: placeholder }, hAsync("img", { key: 'e0fca9d6cf0b015e9d6be7d24b37eb7812814897', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
13928
13991
|
}
|
|
13929
13992
|
get el() { return getElement(this); }
|
|
13930
13993
|
static get watchers() { return {
|
|
@@ -31374,11 +31437,11 @@ class Input {
|
|
|
31374
31437
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
31375
31438
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31376
31439
|
const isValidClass = this.success == true ? 'is-valid' : '';
|
|
31377
|
-
return (hAsync(Host, { key: '
|
|
31440
|
+
return (hAsync(Host, { key: 'be099a0ea8338c8c4ed1ad3e73b0036156410d9e', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: '6bdc1d4f3648314134cd7790804430ca4292c5cd', class: `form-control ${hasValueClass} ${isInvalidClass} ${isValidClass} ${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, list: this.list, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input', ref: el => (this.inputEl = el) }), hAsync("label", { key: '38884ef3e266eece5f45a3746ab366fd5aa2810c', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && (Array.isArray(this.error)
|
|
31378
31441
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
31379
31442
|
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(), " ")))
|
|
31380
31443
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
31381
|
-
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: '
|
|
31444
|
+
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: 'eda924baf7920edab4432565e020d8f21a5f70f1', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: '52dbaeb8362e4949c48297ba32ae331143044f78', name: "checklistPassword" })));
|
|
31382
31445
|
}
|
|
31383
31446
|
static get watchers() { return {
|
|
31384
31447
|
"debounce": ["debounceChanged"],
|
|
@@ -31429,7 +31492,7 @@ class Input {
|
|
|
31429
31492
|
}
|
|
31430
31493
|
let inputIds = 0;
|
|
31431
31494
|
|
|
31432
|
-
const inputGroupCss = ":host{display:block}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;font-family:var(--road-font, sans-serif)}::slotted(road-input),::slotted(input),::slotted(textarea),::slotted(road-select){position:relative;flex:1 1 auto;width:1%;margin-bottom:0}::slotted([slot=\"prepend\"]){margin-right:-3px;border-right-color:transparent;border-color:var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0
|
|
31495
|
+
const inputGroupCss = ":host{display:block}.input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;font-family:var(--road-font, sans-serif)}::slotted(road-input),::slotted(input),::slotted(textarea),::slotted(road-select){position:relative;flex:1 1 auto;width:1%;margin-bottom:0}::slotted([slot=\"prepend\"]){margin-right:-3px;border-right-color:transparent;border-color:var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0}::slotted([slot=\"append\"]){margin-left:-0.25rem;border-color:var(--road-input-outline);border-left-width:0}@media (hover: hover){.input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]){border-right-color:transparent}.input-group:not(.is-disabled):hover ::slotted([slot=\"append\"]){border-left-color:transparent}:host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]){border-color:var(--road-input-outline-variant)}}.input-group:focus-within ::slotted([slot=\"prepend\"]),:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"]){border-color:var(--road-grey-0);border-width:2px;border-right-color:transparent;outline:none;}.input-group:focus-within ::slotted([slot=\"append\"]){border-color:var(--road-grey-0);border-width:2px;border-left-color:transparent;outline:none;}.input-group:focus-within ::slotted(road-input):focus-visible{border-color:var(--road-grey-0);border-width:2px;outline:none;}.input-group-prepend,.input-group-append{display:flex;height:3rem}::slotted(road-button){--padding-start:0.5rem;--padding-end:0.5rem;position:relative;z-index:2;min-width:3rem;margin:0;font-size:var(--road-font-size-14)}::slotted(road-button):hover{background-color:var(--road-button-ghost-variant)}.input-group-prepend{z-index:1;order:-1;position:relative}.input-group-prepend~.form-label{left:calc(3rem + 1px)}.input-group-append{position:relative;z-index:1;border-radius:0 0.25rem 0.25rem 0}::slotted(label){display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-on-surface);text-align:center;white-space:nowrap;cursor:text;background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}::slotted(road-label){display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-on-surface);text-align:center;white-space:nowrap;cursor:text;background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}::slotted(road-input:not(:first-child)),::slotted(road-select:not(:first-child)){border-radius:0}.input-group-append ::slotted([slot=\"append\"]){border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.input-group-prepend ::slotted([slot=\"prepend\"]){border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"]){border-right:1px solid var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0}.input-group-prepend ::slotted(label){margin-right:calc(-1rem + 1px)}.input-group-append:hover ::slotted(road-button){background-color:var(--road-button-ghost-variant)}.size-xl .input-group-prepend,.size-xl .input-group-append{height:3.5rem}.size-xl ::slotted(road-button){height:3.5rem}.input-group.is-invalid ::slotted([slot=\"append\"]),.input-group.is-invalid ::slotted([slot=\"prepend\"]){border-color:var(--road-danger-outline)}:host(.phone-number-group) .input-group.is-invalid ::slotted([slot=\"prepend\"]){border-color:var(--road-danger-outline)}:host([disabled]){cursor:not-allowed}:host([disabled]) .input-group{pointer-events:none;}:host([disabled]) ::slotted([slot=\"append\"]),:host([disabled]) ::slotted([slot=\"prepend\"]){color:var(--road-on-surface-disabled);cursor:not-allowed;background:#e4e5e9}:host([disabled]) ::slotted([slot=\"append\"] road-icon),:host([disabled]) ::slotted([slot=\"prepend\"] road-icon){color:var(--road-on-surface-disabled)}:host([disabled]) road-icon{color:var(--road-on-surface-disabled)}";
|
|
31433
31496
|
var RoadInputGroupStyle0 = inputGroupCss;
|
|
31434
31497
|
|
|
31435
31498
|
/**
|
|
@@ -31459,32 +31522,8 @@ class InputGroup {
|
|
|
31459
31522
|
}
|
|
31460
31523
|
});
|
|
31461
31524
|
}
|
|
31462
|
-
/** Vérifie et applique le `text-indent` si `prepend` est présent */
|
|
31463
|
-
updateIndentation() {
|
|
31464
|
-
const hasPrepend = !!this.el.querySelector('[slot="prepend"]');
|
|
31465
|
-
const formControl = this.el.querySelector('.form-control');
|
|
31466
|
-
const formLabel = this.el.querySelector('.form-label');
|
|
31467
|
-
const formSelect = this.el.querySelector('.form-select');
|
|
31468
|
-
const formSelectLabel = this.el.querySelector('.form-select-label');
|
|
31469
|
-
if (formControl) {
|
|
31470
|
-
formControl.style.textIndent = hasPrepend ? '2.1rem' : '';
|
|
31471
|
-
}
|
|
31472
|
-
if (formSelect) {
|
|
31473
|
-
formSelect.style.textIndent = hasPrepend ? '2.1rem' : '';
|
|
31474
|
-
}
|
|
31475
|
-
if (formLabel) {
|
|
31476
|
-
formLabel.style.textIndent = hasPrepend ? '2.8rem' : '';
|
|
31477
|
-
}
|
|
31478
|
-
if (formSelectLabel) {
|
|
31479
|
-
formSelectLabel.style.textIndent = hasPrepend ? '2.8rem' : '';
|
|
31480
|
-
}
|
|
31481
|
-
}
|
|
31482
31525
|
componentDidLoad() {
|
|
31483
31526
|
this.updateDisabledState(this.disabled);
|
|
31484
|
-
this.updateIndentation(); // Appliquer les styles au montage
|
|
31485
|
-
// Observer les mutations (au cas où des éléments sont ajoutés dynamiquement)
|
|
31486
|
-
const observer = new MutationObserver(() => this.updateIndentation());
|
|
31487
|
-
observer.observe(this.el, { childList: true, subtree: true });
|
|
31488
31527
|
}
|
|
31489
31528
|
render() {
|
|
31490
31529
|
const errorClass = this.el.querySelector('road-input[error]') ? 'is-invalid' : '';
|
|
@@ -31492,7 +31531,7 @@ class InputGroup {
|
|
|
31492
31531
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
31493
31532
|
: '';
|
|
31494
31533
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
31495
|
-
return (hAsync("div", { key: '
|
|
31534
|
+
return (hAsync("div", { key: '4bf7967be1d576ea1d2c2d0871da504e88d414fa', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: 'd61b7eaa8e5f95e9aba082adcef54e0cd96c6941', class: "input-group-prepend" }, hAsync("slot", { key: '49a6f9fb20adfbc558819db64b3d4150bf4b125d', name: "prepend" })), hAsync("slot", { key: 'e48b70e4ed7f7b52212ebb48a31a5421ac79dd0e' }), hAsync("div", { key: '8c6ab40b303c23ab7e4a68b8bdc952e39482c930', class: "input-group-append" }, hAsync("slot", { key: '76909512fc0ece8ee25a69716cefae2dda8ad308', name: "append" }))));
|
|
31496
31535
|
}
|
|
31497
31536
|
get el() { return getElement(this); }
|
|
31498
31537
|
static get watchers() { return {
|
|
@@ -31572,13 +31611,13 @@ class Item {
|
|
|
31572
31611
|
target,
|
|
31573
31612
|
};
|
|
31574
31613
|
const showDetail = detail !== undefined && detail;
|
|
31575
|
-
return (hAsync(Host, { key: '
|
|
31614
|
+
return (hAsync(Host, { key: 'ccd1ac1ac2751e8085ae02bb5b6b04e4778321b5', "aria-disabled": disabled ? 'true' : null, class: {
|
|
31576
31615
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
31577
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
31616
|
+
} }, hAsync(TagType, Object.assign({ key: 'beec26f56f8ec5bd1f4b20d4fb8127d27c05f6a9' }, attrs, { class: {
|
|
31578
31617
|
'item-native': true,
|
|
31579
31618
|
'item-active': this.active,
|
|
31580
31619
|
[`layout-${layout}`]: layout !== undefined,
|
|
31581
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
31620
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: '0d1f89c92d86782deb1e88c8cea28536c233a595', name: "start" }), hAsync("div", { key: 'a6f5e7032bb24f46a387abf47ec96d9b1c8dafba', class: "item-inner" }, hAsync("div", { key: '0157361f18a9cc95ea60a49e7677b0fb7f8f67cb', class: "input-wrapper" }, hAsync("slot", { key: '5aceb63fb6478d65fc9f495643c6698b62e68000' }), hAsync("div", { key: 'b8ad344270a7f30692fe96dfc6ad2048a835cf3a', class: "input-wrapper-info" }, hAsync("road-label", { key: '49b1e772e543af7cda1ca054586500c7ddced2c3', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: '3b7dd8f10a01a91c90de9d08835af3ed55a4eecd', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: '6294b507ed5e61a75dd989400da387e0c0917368', name: "end" }), showDetail && hAsync("road-icon", { key: '52655a6718fb66600b70c9b375f118b66092911b', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
31582
31621
|
}
|
|
31583
31622
|
get el() { return getElement(this); }
|
|
31584
31623
|
static get style() { return RoadItemStyle0; }
|
|
@@ -31619,7 +31658,7 @@ class Label {
|
|
|
31619
31658
|
registerInstance(this, hostRef);
|
|
31620
31659
|
}
|
|
31621
31660
|
render() {
|
|
31622
|
-
return (hAsync("slot", { key: '
|
|
31661
|
+
return (hAsync("slot", { key: '7676729c25af1f6fdd2d421926efb47074382fb8' }));
|
|
31623
31662
|
}
|
|
31624
31663
|
static get style() { return RoadLabelStyle0; }
|
|
31625
31664
|
static get cmpMeta() { return {
|
|
@@ -31644,9 +31683,9 @@ class List {
|
|
|
31644
31683
|
}
|
|
31645
31684
|
render() {
|
|
31646
31685
|
const { lines } = this;
|
|
31647
|
-
return (hAsync(Host, { key: '
|
|
31686
|
+
return (hAsync(Host, { key: '7d0cd12eaa7420a9576b3adf922f686888177d11', class: {
|
|
31648
31687
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
31649
|
-
} }, hAsync("slot", { key: '
|
|
31688
|
+
} }, hAsync("slot", { key: '5efe956c54bfd4713250c6e2c0afaa7a078cb691' })));
|
|
31650
31689
|
}
|
|
31651
31690
|
static get style() { return RoadListStyle0; }
|
|
31652
31691
|
static get cmpMeta() { return {
|
|
@@ -31731,7 +31770,7 @@ class Modal {
|
|
|
31731
31770
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
31732
31771
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
31733
31772
|
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" })) : '';
|
|
31734
|
-
return (hAsync(Host, { key: '
|
|
31773
|
+
return (hAsync(Host, { key: '6c244ce1b24c5bf03510f660f15875f0447971b5', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: '8e8dbb9998bac59c729f1aada64bc5b992f61df8', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '44d711823586fe5ba41e188401d80f50013b0c13', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: '419db268697ee725be611f58a60fabd0c00885c5', class: "modal-content" }, hAsync("header", { key: '7c827e7599d584cdd3cf32bea76f4f0eb7f28b92', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: '13c09b08282b8cd1194de014f4ce8d6729adb367', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: '7b876b870d1ca06b42af0bc62c778c23da78d6c4', class: "modal-body" }, hAsync("slot", { key: '5c1caff28e65e3a9bd256fd583857c590d805184' }))))));
|
|
31735
31774
|
}
|
|
31736
31775
|
get el() { return getElement(this); }
|
|
31737
31776
|
static get style() { return RoadModalStyle0; }
|
|
@@ -31782,7 +31821,7 @@ class Navbar {
|
|
|
31782
31821
|
this.selectedTabChanged();
|
|
31783
31822
|
}
|
|
31784
31823
|
render() {
|
|
31785
|
-
return (hAsync(Host, { key: '
|
|
31824
|
+
return (hAsync(Host, { key: '3c4b66461802de4f15cfffaddcd27a4672f5b575', role: "menubar" }, hAsync("slot", { key: '56e8f8fc09788ff82386c6cef50be1b984d35a87' })));
|
|
31786
31825
|
}
|
|
31787
31826
|
static get watchers() { return {
|
|
31788
31827
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -31868,11 +31907,11 @@ class NavbarItem$1 {
|
|
|
31868
31907
|
rel,
|
|
31869
31908
|
target,
|
|
31870
31909
|
};
|
|
31871
|
-
return (hAsync(Host, { key: '
|
|
31910
|
+
return (hAsync(Host, { key: 'fe103b4b40d2a2801b24f00ce2c6bc53052f2391', 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: {
|
|
31872
31911
|
'navbar-item': true,
|
|
31873
31912
|
'tab-selected': selected,
|
|
31874
31913
|
'tab-disabled': disabled,
|
|
31875
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
31914
|
+
} }, hAsync("a", Object.assign({ key: '6c593b2df20a7a1cd46c2d3260c96ee591cba02f' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '70ab22ac31e4af63594721b5e4cddf235257c156', class: "button-inner" }, hAsync("slot", { key: '3323e0c0aabc071f9aad3689956a9a6a89dba442' })))));
|
|
31876
31915
|
}
|
|
31877
31916
|
get el() { return getElement(this); }
|
|
31878
31917
|
static get watchers() { return {
|
|
@@ -31965,11 +32004,11 @@ class NavbarItem {
|
|
|
31965
32004
|
rel,
|
|
31966
32005
|
target,
|
|
31967
32006
|
};
|
|
31968
|
-
return (hAsync(Host, { key: '
|
|
32007
|
+
return (hAsync(Host, { key: '26cc0ac4caebe985b43b11227634008dbfc58d5c', 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: {
|
|
31969
32008
|
'navbar-item': true,
|
|
31970
32009
|
'tab-selected': selected,
|
|
31971
32010
|
'tab-disabled': disabled,
|
|
31972
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
32011
|
+
} }, hAsync("a", Object.assign({ key: '1dac4defe0a192239fb2d76770b9b38a4d56767e' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: 'd8a0b012ec8703c8fe46c2f7c98f00352748cc68', class: "button-inner" }, hAsync("slot", { key: 'bb3859b51d5d5b411c5490b7456faf51419a12aa' })))));
|
|
31973
32012
|
}
|
|
31974
32013
|
get el() { return getElement(this); }
|
|
31975
32014
|
static get watchers() { return {
|
|
@@ -32028,7 +32067,7 @@ class NavbarV2 {
|
|
|
32028
32067
|
}
|
|
32029
32068
|
render() {
|
|
32030
32069
|
const compactClass = this.compact ? 'compact' : '';
|
|
32031
|
-
return (hAsync(Host, { key: '
|
|
32070
|
+
return (hAsync(Host, { key: 'd8338b69a6dbdd71d1ca39e5ea5fff4c6b0e6de9', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: '59afd9379182b345858fd641aba05177fd8d71de' })));
|
|
32032
32071
|
}
|
|
32033
32072
|
static get watchers() { return {
|
|
32034
32073
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -32151,10 +32190,10 @@ class PlateNumber {
|
|
|
32151
32190
|
render() {
|
|
32152
32191
|
const value = this.getValue();
|
|
32153
32192
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
32154
|
-
return (hAsync("road-input-group", { key: '
|
|
32193
|
+
return (hAsync("road-input-group", { key: 'edaa7cd8e513932287becfcc4af72d723d7b729f', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: '49d3b7bdb6c63adceab1b13ae16f2bff1903e84c', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: '39760b0846d83e37e1f450819fe53e99650bab8b', class: "plate-number-start" }, hAsync("road-icon", { key: '1d08fc08600b06afa481cbd45df983591057a324', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: 'd8644ec27f56eb9d75f67dff85e39bd17d4b4f6e', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
32155
32194
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
32156
32195
|
? (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 }))
|
|
32157
|
-
: (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: '
|
|
32196
|
+
: (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: '06b33c03a7eabf6b591b35493e1135f2b5870aff', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'eedacf154846a5902aecca99a526c267c416eb35', class: "plate-number-end" }))));
|
|
32158
32197
|
}
|
|
32159
32198
|
static get watchers() { return {
|
|
32160
32199
|
"value": ["valueChanged"]
|
|
@@ -32236,7 +32275,7 @@ class ProgressBar {
|
|
|
32236
32275
|
let step = Math.ceil((this.value / 100) * this.numbersteps);
|
|
32237
32276
|
step = Math.min(step, this.numbersteps);
|
|
32238
32277
|
step = Math.max(step, 0);
|
|
32239
|
-
return (hAsync(Host, { key: '
|
|
32278
|
+
return (hAsync(Host, { key: 'afaa397b17cba4c71cf8b9899ea0272869ceace6', class: "progress-element" }, hAsync("div", { key: '8b049a8b3d40c3c23ceca9fd931be9e028f1a919', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '05c9a7efd42334e449cc9394dcaa4ed173e70870', class: "progress-bar", role: "progressbar", style: { width: `${progressBarFilledPercentage}%` }, "aria-valuenow": progressBarFilledPercentage, "aria-valuemin": "0", "aria-valuemax": "100", "aria-labelledby": "loadinglabel", "aria-label": "progress bar" })), hAsync("div", { key: '57c7b9d84886d5c96d633d3d85e95059cb113f2b', class: `${fullwidth}` }, hAsync("span", { key: 'befe4e5d339847a04bfa246edc0c809523e40aa9', id: "loadinglabel", class: "progress-element-label" }, this.label), this.showstep && (hAsync("span", { key: '6eb7e35b57306e67f5bf5ff45d592b926669f63a', class: "progress-element-step" }, step, "/", this.numbersteps)))));
|
|
32240
32279
|
}
|
|
32241
32280
|
static get style() { return RoadProgressStyle0; }
|
|
32242
32281
|
static get cmpMeta() { return {
|
|
@@ -32278,7 +32317,7 @@ class ProgressIndicatorVertical {
|
|
|
32278
32317
|
registerInstance(this, hostRef);
|
|
32279
32318
|
}
|
|
32280
32319
|
render() {
|
|
32281
|
-
return (hAsync(Host, { key: '
|
|
32320
|
+
return (hAsync(Host, { key: '4762ffd8a4fbf70b85dd9d21a370006e9c9f1dde' }, hAsync("nav", { key: 'b5582b03ea6525acab65853e3d816b96d7e1fbfc' }, hAsync("ul", { key: '3e368e7204eb13839ceac853dbdbe5037c8c11a0' }, hAsync("li", { key: '3304843de4f5fdd4b66dd4539b536bc87b506187' }, hAsync("slot", { key: 'bbbb9861ece279921924dc9fc04b8a9581783071' }))))));
|
|
32282
32321
|
}
|
|
32283
32322
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
32284
32323
|
static get cmpMeta() { return {
|
|
@@ -32302,7 +32341,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
32302
32341
|
registerInstance(this, hostRef);
|
|
32303
32342
|
}
|
|
32304
32343
|
render() {
|
|
32305
|
-
return (hAsync(Host, { key: '
|
|
32344
|
+
return (hAsync(Host, { key: '01e909268830e3729f771371fea8e22672c1f81f' }, hAsync("slot", { key: 'd613840f69ca8d4c9b0ae8e1d53b01acc027bcee' })));
|
|
32306
32345
|
}
|
|
32307
32346
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
32308
32347
|
static get cmpMeta() { return {
|
|
@@ -32331,7 +32370,7 @@ class ProgressTracker {
|
|
|
32331
32370
|
registerInstance(this, hostRef);
|
|
32332
32371
|
}
|
|
32333
32372
|
render() {
|
|
32334
|
-
return (hAsync(Host, { key: '
|
|
32373
|
+
return (hAsync(Host, { key: 'd90d4f149d2d2565b50258fa240ffe48510726d2' }, hAsync("nav", { key: '5b3a49448b26a10f6f9b237f91d8ca965744b62e' }, hAsync("ul", { key: '424fd565e2ef9fd7fa59196d8719563c6b6e8e61' }, hAsync("li", { key: '917ec2b3312c4569b0a8e3e5a1989116e815406d' }, hAsync("slot", { key: 'c0b16be12f3732882cee034adb66ce8aa78664f1' }))))));
|
|
32335
32374
|
}
|
|
32336
32375
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
32337
32376
|
static get cmpMeta() { return {
|
|
@@ -32363,7 +32402,7 @@ class ProgressTrackerItem {
|
|
|
32363
32402
|
registerInstance(this, hostRef);
|
|
32364
32403
|
}
|
|
32365
32404
|
render() {
|
|
32366
|
-
return (hAsync(Host, { key: '
|
|
32405
|
+
return (hAsync(Host, { key: 'd7232f28ef30258e59fff790e0a07677eacd13a1' }, hAsync("slot", { key: 'cf7e6d62701374235c58ef97f340b99d1b648847' })));
|
|
32367
32406
|
}
|
|
32368
32407
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
32369
32408
|
static get cmpMeta() { return {
|
|
@@ -32456,7 +32495,7 @@ class Radio {
|
|
|
32456
32495
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
32457
32496
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
32458
32497
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32459
|
-
return (hAsync(Host, { key: '
|
|
32498
|
+
return (hAsync(Host, { key: '1b2343fc9a114afc9506ff040f28a6061a5c9f56', class: `form-radio ${inlineClass}` }, hAsync("input", { key: 'ada87aa55c1d5a778e40fd25c103d0229ecfeec6', 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: '5690c2d0fc4a0c7b6e03c5fa3c1603a61a2a906f', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '84ce9ad88d4a2612a176b0420ac114c1a648a5a8', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
32460
32499
|
}
|
|
32461
32500
|
get el() { return getElement(this); }
|
|
32462
32501
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -32540,7 +32579,7 @@ class RadioCard {
|
|
|
32540
32579
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32541
32580
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
32542
32581
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
32543
|
-
return (hAsync(Host, { key: '
|
|
32582
|
+
return (hAsync(Host, { key: '5895d04cdb20013dc850dbded6005cd7280838af', class: `form-radio ${inlineClass}` }, hAsync("div", { key: 'd12cd0ba4ec697307f833afec78c7bbe058cb782', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, hAsync("input", { key: '30ff38097eeb93342dcfe8358642f8910bbd7a05', 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: '43e6a5f291aa394da3b0100c7c915987090dd863', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, hAsync("div", { key: '49a9e20e549ed5d79943a3fce2aa3f234774a76a', class: "slot-wrapper" }, hAsync("slot", { key: 'cbc19c8a4fa7a6be3511d5790247b39e5ded48a4' }))))));
|
|
32544
32583
|
}
|
|
32545
32584
|
get el() { return getElement(this); }
|
|
32546
32585
|
static get style() { return RoadRadioCardStyle0; }
|
|
@@ -32637,7 +32676,7 @@ class RadioGroup {
|
|
|
32637
32676
|
render() {
|
|
32638
32677
|
const labelId = `${this.radioGroupId}-label`;
|
|
32639
32678
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32640
|
-
return (hAsync(Host, { key: '
|
|
32679
|
+
return (hAsync(Host, { key: 'ee8965fbe7b9072e38258f08d913dce16499de1c', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: 'fc61d22496e8055fd10da0299d5ecb58b749bf5b', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: '5dbb41cab5c73fea7f3123f412d38914b7f2f5de', class: "asterisk" }, "*")), hAsync("slot", { key: '8ce125c2d08a3cfe325569d51c256e7d38c8ba6c' }), this.error && this.error !== '' && hAsync("p", { key: '468c378dc679b42e35118666a917c50c558f8f47', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'e453fd6c032ed75bb44099260fd40b033c5fa748', class: "helper" }, this.helper)));
|
|
32641
32680
|
}
|
|
32642
32681
|
get el() { return getElement(this); }
|
|
32643
32682
|
static get watchers() { return {
|
|
@@ -32767,14 +32806,14 @@ class Range {
|
|
|
32767
32806
|
render() {
|
|
32768
32807
|
const value = this.getValue();
|
|
32769
32808
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
32770
|
-
return (hAsync(Host, { key: '
|
|
32809
|
+
return (hAsync(Host, { key: 'c3920abc285183763dbc8f2aa4773cca370bcd07', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: 'dd1886b51d24f6c964d589759c69ee01984f8e37', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: '55aa2746dd83c6145722eb580a811607cb5dc07f', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: 'd17f88478bd99fca6656a9d14dc173e84e377310', class: "form-range", style: {
|
|
32771
32810
|
"--min": this.min,
|
|
32772
32811
|
"--max": this.max,
|
|
32773
32812
|
"--value": value,
|
|
32774
32813
|
"--background-color": this.disabled
|
|
32775
32814
|
? "var(--road-surface-disabled)"
|
|
32776
32815
|
: "initial",
|
|
32777
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
32816
|
+
} }, this.showValue && hAsync("output", { key: '85a0ba0f128f123b97ba55420bccfd39eb889c39' }), this.showLabels && hAsync("slot", { key: 'ff35158ff5adf21ce51b01ed74d109a3db0944be', name: "datalist" }), hAsync("input", { key: '5e6d7d1812c96be847f091003c0cb36ebc390802', 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: 'd0c8ec02d5ab901104b0d75a2b03ec759db92869', class: "form-range-label" }, "Valeur"), hAsync("div", { key: 'e95ec94dd77494301597108e379db793571aabaf', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: 'e3b009fb2cacb8e2b0bbc22fa99dda889911ebc6', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
32778
32817
|
}
|
|
32779
32818
|
get el() { return getElement(this); }
|
|
32780
32819
|
static get watchers() { return {
|
|
@@ -32843,7 +32882,7 @@ class Rating {
|
|
|
32843
32882
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
32844
32883
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
32845
32884
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
32846
|
-
return (hAsync(Host, { key: '
|
|
32885
|
+
return (hAsync(Host, { key: 'f746ba94159c130ca443d88ff3cb2f19183f014a' }, hAsync("div", { key: 'bd36bdd0b94d67ed435554a674a4a9aba0a12c2f', 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: '432a059b4b6e69201f90d0e807b6e30b25bd9b55', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '65aedc2c22b39e22b48afed4595a0db0829e373a', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
32847
32886
|
}
|
|
32848
32887
|
static get style() { return RoadRatingStyle0; }
|
|
32849
32888
|
static get cmpMeta() { return {
|
|
@@ -34386,9 +34425,9 @@ class RoadPhoneNumberInput {
|
|
|
34386
34425
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
34387
34426
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
34388
34427
|
const sizes = 'xl';
|
|
34389
|
-
return (hAsync(Host, { key: '
|
|
34428
|
+
return (hAsync(Host, { key: '552dcc0d24ed4d178f040fe8021050c74d902058' }, hAsync("div", { key: '70ca6c4f0bdec5dcebdc4b5591ab06b304cc95e0', class: 'phone-number-inputs-container' }, hAsync("div", { key: '4c992e0a1a8c9fa27b68f10c7216b344e6d645b1', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: '5e7261c78dd3d71c28e8dd340dec596a301d27ef', 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: '35a5db0450b99e05e76865316ff77261cebbdddf', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: '2cd83c2a7576d7d81d6a0845837093e6f537fc04', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: '141c74565f3d98943c94dc5f8bd0b5e4fd74a7b0', 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: '458b36d9170841d8eeedc2888c99b69beb21e013', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
34390
34429
|
&& this.errorMessage !== ''
|
|
34391
|
-
&& hAsync("p", { key: '
|
|
34430
|
+
&& hAsync("p", { key: '741d9f65e5f74ad938bb84e4d16d83b16e334ae3', class: "invalid-feedback" }, hAsync("road-icon", { key: '89b68bd1f9810d5ac495b951796e59dd02cb91f8', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
34392
34431
|
}
|
|
34393
34432
|
get el() { return getElement(this); }
|
|
34394
34433
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
@@ -34507,7 +34546,7 @@ class RoadTimeRangePicker {
|
|
|
34507
34546
|
return { start: this.start, end: this.end };
|
|
34508
34547
|
}
|
|
34509
34548
|
render() {
|
|
34510
|
-
return (hAsync(Host, { key: '
|
|
34549
|
+
return (hAsync(Host, { key: 'f7a337665eb1016b95f56541fdf7b6cdcdc780c8', class: `time-range-picker input-${this.sizes}` }, this.label && (hAsync("p", { key: '772b61e54d0ca9502478ad77c187a5cc335428d4', class: "label m-0" }, this.label, this.required && hAsync("span", { key: 'efabe848fff7e3ce895912147f88f6761a771ab0', class: "required-indicator" }, " *"))), hAsync("div", { key: '40b1b5929465e8535e228208c7296fa4deb3854f', class: "time-range-picker-content d-flex align-items-center my-4" }, hAsync("slot", { key: 'b49add1d8f8b7ae6555313e2d5bc0f53a885d3aa', name: "start" }), hAsync("span", { key: '2cdd55b31ddbe0d5746512ad1541caf98c5a63e2', class: "separator mx-12" }, this.separator), hAsync("slot", { key: '28b5151feb9c22781cb7c0a9f0896a5cd9138d92', name: "end" })), hAsync("div", { key: '478b58bb644b82daa44f0ca9660a3f5c16b0515e', class: "messages mt-1" }, this.errorMessages.map((msg, index) => (hAsync("p", { key: index, class: "invalid-feedback m-0" }, hAsync("road-icon", { slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), msg.trim())))), this.helper && hAsync("p", { key: '6fe2ec16f7f8094c8a023bba654252cc6f366cbc', class: "helper mt-1" }, this.helper)));
|
|
34511
34550
|
}
|
|
34512
34551
|
get hostEl() { return getElement(this); }
|
|
34513
34552
|
static get style() { return RoadTimeRangePickerStyle0; }
|
|
@@ -34543,7 +34582,7 @@ class Row {
|
|
|
34543
34582
|
registerInstance(this, hostRef);
|
|
34544
34583
|
}
|
|
34545
34584
|
render() {
|
|
34546
|
-
return (hAsync(Host, { key: '
|
|
34585
|
+
return (hAsync(Host, { key: '69fff326414139d63af822fff7704e092100924e' }, hAsync("slot", { key: '31bacdec0c2661d6bf417dc79693f8f6e7b5276c' })));
|
|
34547
34586
|
}
|
|
34548
34587
|
static get style() { return RoadRowStyle0; }
|
|
34549
34588
|
static get cmpMeta() { return {
|
|
@@ -34615,10 +34654,10 @@ class SegmentedButton {
|
|
|
34615
34654
|
render() {
|
|
34616
34655
|
const { tabIndex, selected, tab } = this;
|
|
34617
34656
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
34618
|
-
return (hAsync(Host, { key: '
|
|
34657
|
+
return (hAsync(Host, { key: '20194d71e8ca1c839c4a6287511fcb9ad1318e67', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
34619
34658
|
'tab-selected': selected,
|
|
34620
34659
|
[`${sizeClass}`]: true,
|
|
34621
|
-
} }, hAsync("span", { key: '
|
|
34660
|
+
} }, hAsync("span", { key: 'cf51481805c04571bc3ef97a150b011bd8c0e79e', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("span", { key: '595aae2ef9621aa6a39ef2388373ec3708972bbb', class: "button-content" }, hAsync("slot", { key: '9b6e874b79e88265b6c56465e9f84a5849363016' })))));
|
|
34622
34661
|
}
|
|
34623
34662
|
get el() { return getElement(this); }
|
|
34624
34663
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -34739,7 +34778,7 @@ class Select {
|
|
|
34739
34778
|
const labelId = this.selectId + '-label';
|
|
34740
34779
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
34741
34780
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
34742
|
-
return (hAsync(Host, { key: '
|
|
34781
|
+
return (hAsync(Host, { key: 'e86d30d1fe1fd95d7b70140a57d76f3992cbc035', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '9a438873eedc20213b7e6c8bae2c648c9c1e0ad1', 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: '67d63f752f9f0fa2d48ee4ec07029c7e43706729', 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: 'c07e091eb4b6da4ab793c2056131c16bf9ee4723', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: 'd01132cad717c35ca5a5afe2ad8effb697037a13', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '2f884ebd87cf990ab093ee5a023cd698c6883a8f', class: "helper" }, this.helper)));
|
|
34743
34782
|
}
|
|
34744
34783
|
static get watchers() { return {
|
|
34745
34784
|
"value": ["valueChanged"]
|
|
@@ -36733,7 +36772,7 @@ class SelectFilter {
|
|
|
36733
36772
|
const options = this.filteredOptions;
|
|
36734
36773
|
const isActive = this.isActive ? 'true' : 'false';
|
|
36735
36774
|
const notActive = this.isActive ? '' : 'not-active';
|
|
36736
|
-
return (hAsync(Host, { key: '
|
|
36775
|
+
return (hAsync(Host, { key: '5d0540d59c53f2506b97fdaa40a1fae6381098f5', "is-active": isActive }, hAsync("slot", { key: 'e7b5e449426fe5364b5a12a5aa408a98a033869e' }), this.isOpen && (hAsync("div", { key: '01f532bba66042887e23c5892609e4dd174d8330', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (hAsync("div", { class: "select-filter-empty" }, "Aucune option")) : (hAsync("ul", { class: "pl-0" }, options.map((option, idx) => (hAsync("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
|
|
36737
36776
|
}
|
|
36738
36777
|
get el() { return getElement(this); }
|
|
36739
36778
|
static get watchers() { return {
|
|
@@ -36769,7 +36808,7 @@ class Skeleton {
|
|
|
36769
36808
|
registerInstance(this, hostRef);
|
|
36770
36809
|
}
|
|
36771
36810
|
render() {
|
|
36772
|
-
return (hAsync("span", { key: '
|
|
36811
|
+
return (hAsync("span", { key: 'ec2419ddcf62a6b2aeedd68ec0c1eb8e430f8185' }, "\u00A0"));
|
|
36773
36812
|
}
|
|
36774
36813
|
static get style() { return RoadSkeletonStyle0; }
|
|
36775
36814
|
static get cmpMeta() { return {
|
|
@@ -36800,7 +36839,7 @@ class Spinner {
|
|
|
36800
36839
|
render() {
|
|
36801
36840
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
36802
36841
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
36803
|
-
return (hAsync("svg", { key: '
|
|
36842
|
+
return (hAsync("svg", { key: 'fc286db53f3b74155c3221474abb9472d774e89d', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'a40ef2366ff12fe69486f3db0d92b7d49affd370', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
36804
36843
|
}
|
|
36805
36844
|
static get style() { return RoadSpinnerStyle0; }
|
|
36806
36845
|
static get cmpMeta() { return {
|
|
@@ -36816,6 +36855,46 @@ class Spinner {
|
|
|
36816
36855
|
}; }
|
|
36817
36856
|
}
|
|
36818
36857
|
|
|
36858
|
+
const statusChipCss = ":host{box-sizing:border-box;display:inline-flex;align-items:center;height:1.5rem;margin-bottom:0.5rem;font-size:var(--road-font-size-14);cursor:pointer;border:0;border-radius:1.625rem;outline:0;background-color:var(--road-info-surface);color:var(--road-on-info-surface);font-weight:700;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;outline:1px solid var(--road-info-outline)}.chip-description{display:inline-flex;align-items:center;padding:var(--road-spacing-01) var(--road-spacing-05) var(--road-spacing-01) var(--road-spacing-03)}.chip-icon{width:1rem;height:1rem;margin-right:var(--road-spacing-03);border-radius:50%;transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(.chip-md){height:2rem;font-size:var(--road-font-size-16)}:host(.chip-md) .chip-description{padding:var(--road-spacing-02) var(--road-spacing-05) var(--road-spacing-02) var(--road-spacing-03)}:host(.chip-md) .chip-icon{width:1.25rem;height:1.25rem}:host(.chip-lg){height:2.5rem;font-size:var(--road-font-size-16)}:host(.chip-lg) .chip-description{padding:var(--road-spacing-02) var(--road-spacing-06) var(--road-spacing-02) var(--road-spacing-04)}:host(.chip-lg) .chip-icon{width:1.5rem;height:1.5rem}:host(:hover){background:var(--road-info-90);outline:2px solid var(--road-info-outline)}:host(:focus-visible),:host(.focus-visible){background:var(--road-info-90);border-radius:1.625rem;width:fit-content;overflow:auto;outline:6px double var(--road-info-outline)}:host(:active){background:var(--road-info-80);outline:3px solid var(--road-info-outline)}";
|
|
36859
|
+
var RoadStatusChipStyle0 = statusChipCss;
|
|
36860
|
+
|
|
36861
|
+
/**
|
|
36862
|
+
* @slot - Content of the chip.
|
|
36863
|
+
*/
|
|
36864
|
+
class StatusChip {
|
|
36865
|
+
constructor(hostRef) {
|
|
36866
|
+
registerInstance(this, hostRef);
|
|
36867
|
+
this.chipClick = createEvent(this, "chipClick", 7);
|
|
36868
|
+
/**
|
|
36869
|
+
* The chip size.
|
|
36870
|
+
*/
|
|
36871
|
+
this.size = 'sm';
|
|
36872
|
+
this.onActivate = () => {
|
|
36873
|
+
this.chipClick.emit();
|
|
36874
|
+
};
|
|
36875
|
+
this.onKeyDown = (e) => {
|
|
36876
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
36877
|
+
e.preventDefault();
|
|
36878
|
+
this.onActivate();
|
|
36879
|
+
}
|
|
36880
|
+
};
|
|
36881
|
+
}
|
|
36882
|
+
render() {
|
|
36883
|
+
return (hAsync(Host, { key: '178e109ebeac6b66b105e3aa12cfc1cd942e83cc', class: `chip-${this.size}`, tabindex: "0", role: "button", onClick: this.onActivate, onKeyDown: this.onKeyDown }, hAsync("div", { key: '5904c24f62ed7636205a0bf05431f698930ae615', class: "chip-description" }, hAsync("road-icon", { key: '5a6767d216edc33ba42b6788102e90469c276a7e', class: "chip-icon", color: "info", icon: alertInfoSolid }), hAsync("slot", { key: '03dfda63fce2ecbfeac0b16e1f54157f75bbe156' }))));
|
|
36884
|
+
}
|
|
36885
|
+
static get style() { return RoadStatusChipStyle0; }
|
|
36886
|
+
static get cmpMeta() { return {
|
|
36887
|
+
"$flags$": 9,
|
|
36888
|
+
"$tagName$": "road-status-chip",
|
|
36889
|
+
"$members$": {
|
|
36890
|
+
"size": [1]
|
|
36891
|
+
},
|
|
36892
|
+
"$listeners$": undefined,
|
|
36893
|
+
"$lazyBundleId$": "-",
|
|
36894
|
+
"$attrsToReflect$": []
|
|
36895
|
+
}; }
|
|
36896
|
+
}
|
|
36897
|
+
|
|
36819
36898
|
const progressIndicatorHorizontalCss = ":host{display:block}.progress-indicator-horizontal{display:flex;padding-left:0;margin:0;font-family:var(--road-font);line-height:1.5;list-style:none}.progress-indicator-horizontal.progress-indicator-horizontal-header{background-color:var(--road-header-surface)}.progress-indicator-horizontal-item{display:flex;flex:1;flex-direction:column;text-align:center}.progress-indicator-horizontal-item:last-child{margin-top:0.125rem}.progress-indicator-horizontal-item:not(:last-child)::after{position:relative;top:0.8rem;left:calc(50% + 12px);order:-1;width:calc(100% - 24px);height:2px;content:\"\";background:var(--road-surface-disabled)}.progress-indicator-horizontal-header .progress-indicator-horizontal-item:not(:last-child)::after{position:relative;top:0.8rem;left:calc(50% + 12px);order:-1;width:calc(100% - 24px);height:2px;content:\"\";background:var(--road-header-surface-disabled)}.progress-indicator-horizontal-item:not(.completed) .progress-indicator-horizontal-link{cursor:not-allowed}.progress-indicator-horizontal-link{z-index:1;display:flex;flex-direction:column;align-items:center;text-decoration:none}.progress-indicator-horizontal-icon{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;font-size:var(--road-font-size-12);font-weight:700;color:var(--road-on-surface-disabled);background:var(--road-surface-disabled);border-radius:50%;fill:currentColor}::slotted([slot=\"progress-indicator-horizontal-icon\"]) road-icon{color:currentColor}.progress-indicator-horizontal-header ::slotted([slot=\"progress-indicator-horizontal-icon\"]) road-icon{color:currentColor}.progress-indicator-horizontal-header .progress-indicator-horizontal-icon{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;font-size:var(--road-font-size-12);font-weight:700;color:var(--road-on-header-surface-disabled);background:var(--road-header-surface-disabled);border-radius:50%;fill:currentColor}.progress-indicator-horizontal-title{display:block;margin-top:0.25rem;font-size:var(--road-body-small);font-weight:700;color:var(--road-on-surface-disabled)}.progress-indicator-horizontal-title span{display:block;font-size:var(--road-body-small);font-weight:400;color:var(--road-on-surface-weak)}.progress-indicator-horizontal-header .progress-indicator-horizontal-title{display:block;margin-top:0.25rem;font-size:var(--road-body-small);font-weight:700;color:var(--road-on-header-surface-disabled)}.progress-indicator-horizontal-header .progress-indicator-horizontal-title span{display:block;font-size:var(--road-body-small);font-weight:400;color:var(--road-on-header-surface-weak)}.completed:not(:last-child)::after{background:var(--road-primary)}.progress-indicator-horizontal-header .completed:not(:last-child)::after,.progress-indicator-horizontal-header .in-progress:not(:last-child)::after{background:var(--road-header-badge)}.current .progress-indicator-horizontal-icon{color:var(--road-on-primary);background:var(--road-primary);border:0}.completed .progress-indicator-horizontal-icon,.in-progress .progress-indicator-horizontal-icon{width:calc(1.5rem - 4px);height:calc(1.5rem - 4px);color:var(--road-primary);background:var(--road-surface);border:2px solid var(--road-primary)}.progress-indicator-horizontal-header .completed .progress-indicator-horizontal-icon,.progress-indicator-horizontal-header .in-progress .progress-indicator-horizontal-icon{color:var(--road-header-badge);background:none;border:2px solid var(--road-header-badge)}.progress-indicator-horizontal-header .current .progress-indicator-horizontal-icon{width:calc(1.5rem);height:calc(1.5rem);color:var(--road-on-header-badge);background:var(--road-header-badge);border:0}.current .progress-indicator-horizontal-title,.completed .progress-indicator-horizontal-title,.in-progress .progress-indicator-horizontal-title{font-weight:700;color:var(--road-on-surface)}.progress-indicator-horizontal-header .current .progress-indicator-horizontal-title,.progress-indicator-horizontal-header .completed .progress-indicator-horizontal-title,.progress-indicator-horizontal-header .in-progress .progress-indicator-horizontal-title{font-weight:700;color:var(--road-on-header-surface)}.in-progress.progress-indicator-horizontal-item:not(:last-child)::before{position:relative;top:0.93rem;left:calc(50% + 12px);order:-1;width:calc(50% - 24px);height:2px;content:\"\";background:var(--road-primary)}";
|
|
36820
36899
|
var RoadProgressIndicatorHorizontalStyle0 = progressIndicatorHorizontalCss;
|
|
36821
36900
|
|
|
@@ -36850,7 +36929,7 @@ class Stepper {
|
|
|
36850
36929
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
36851
36930
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
36852
36931
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
36853
|
-
return (hAsync(Host, { key: '
|
|
36932
|
+
return (hAsync(Host, { key: 'ccb6347ccc6d69282b0b3de2e6371b4ae0da7d6d' }, hAsync("nav", { key: '4025380ac77abef5bf2cc517fe73e11112f768b0' }, hAsync("ul", { key: '84fa3d6446fe171ae5c167bec45fdbc8cdb4ce9c', class: `${colorClass}` }, hAsync("li", { key: 'a15bf9839e720c4587e06e64285352062a05fed0', class: `${stateClass}` }, hAsync("a", { key: '5f8b9233a3c63701d1e689666c295bf8687352b9', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: 'a388162f0a3399cd61f500ca1a6cd2195fc1cfaa', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '15c6e61fa315c0685b0163e303edcc6778b4c9a5', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: 'a46cd307a9ea8e6136d6404ef0c5a433ffb87666', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '9993529c48b5e0b77fc22864d649694cb1c2ee0c', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: '4d64c11c640b2f40f72f6dddd8c33438c4bdeb9b', class: `${stateSecondStepClass}` }, hAsync("a", { key: '03d659b8a60172b33c82b3a26957896c25e3b467', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: 'c1f9a3b9c9f0b0a54859ee7a3b0d7e9c2552740b', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '08db755e8c6b0a8b5103e4022710fb5e8ed5ae34', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '7c458f6a250c5f66b199019babb14e1373fae597', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: 'a2df3767db3baa71ed8e3d5e93f3fb86b2e71f8f', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: 'b7adeb48232b08b3a234829611af3b6a28d00a67', class: `${stateThirdStepClass}` }, hAsync("a", { key: 'e7537eddb421180a668ad31eddb034c5bdad4a23', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: 'e0ffebe33d163b2e37e5d8d54dabe96f5b12a171', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '2e077ab50eebe1d72e76e9dc04f451cf8c617b9f', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: '1cad575ca395bb5f2a718c49b32c01952e7faa8c', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: 'ee40e5251b5db0a55fdff81a903af67ac3ca5f93', name: "progress-indicator-horizontal-title3" }))))))));
|
|
36854
36933
|
}
|
|
36855
36934
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
36856
36935
|
static get cmpMeta() { return {
|
|
@@ -36952,11 +37031,11 @@ class Switch {
|
|
|
36952
37031
|
}
|
|
36953
37032
|
render() {
|
|
36954
37033
|
const labelId = this.switchId + '-label';
|
|
36955
|
-
const textLabel = hAsync("label", { key: '
|
|
37034
|
+
const textLabel = hAsync("label", { key: '22fa2b6f8be006647d123f0fc8eb077afad13aca', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
36956
37035
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
36957
37036
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
36958
37037
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
36959
|
-
return (hAsync(Host, { key: '
|
|
37038
|
+
return (hAsync(Host, { key: 'afcb3cea4c1ee2740769cc1364d9175d5a144ba7' }, hAsync("input", { key: '2dace2130557a4c73b79dcd494cc33a7541e6737', 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: '81450123a463b3619774e65b7e49c3637b5d0037', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '4bf60bf353f80414ac1bba264966b0ca00405b07', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
36960
37039
|
}
|
|
36961
37040
|
static get watchers() { return {
|
|
36962
37041
|
"checked": ["checkedChanged"]
|
|
@@ -37011,9 +37090,9 @@ class Tab {
|
|
|
37011
37090
|
}
|
|
37012
37091
|
render() {
|
|
37013
37092
|
const { tab, active } = this;
|
|
37014
|
-
return (hAsync(Host, { key: '
|
|
37093
|
+
return (hAsync(Host, { key: '1f2746fc33e9b879bc8558f18685bdf2f243fdf1', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
37015
37094
|
'tab-hidden': !active,
|
|
37016
|
-
} }, hAsync("slot", { key: '
|
|
37095
|
+
} }, hAsync("slot", { key: '38d4df4049aa57b8160855d33990f1b2db21d259' })));
|
|
37017
37096
|
}
|
|
37018
37097
|
get el() { return getElement(this); }
|
|
37019
37098
|
static get style() { return RoadTabStyle0; }
|
|
@@ -37073,11 +37152,11 @@ class TabBar {
|
|
|
37073
37152
|
}
|
|
37074
37153
|
render() {
|
|
37075
37154
|
const { expand, center, secondary } = this;
|
|
37076
|
-
return (hAsync(Host, { key: '
|
|
37155
|
+
return (hAsync(Host, { key: 'c44503ddd4b988d4c35891794c92998299811acb', role: "tablist", class: {
|
|
37077
37156
|
'tab-expand': expand,
|
|
37078
37157
|
'tab-center': center,
|
|
37079
37158
|
'tab-secondary': secondary,
|
|
37080
|
-
} }, hAsync("slot", { key: '
|
|
37159
|
+
} }, hAsync("slot", { key: '356756006ef297ea0933437004f703dc8eccacf9' })));
|
|
37081
37160
|
}
|
|
37082
37161
|
get el() { return getElement(this); }
|
|
37083
37162
|
static get watchers() { return {
|
|
@@ -37099,7 +37178,7 @@ class TabBar {
|
|
|
37099
37178
|
}; }
|
|
37100
37179
|
}
|
|
37101
37180
|
|
|
37102
|
-
const tabButtonCss = ":host{box-sizing:border-box;font-weight:700;color:var(--tab-color);outline:0;transition:background 0.15s ease-in-out}:host(.tab-secondary){--tab-underline-selected:var(--road-secondary-600)}:host(.tab-selected){color:var(--tab-color-selected)}:host(.tab-selected) ::slotted(road-icon){color:var(--tab-color-selected)}:host(.tab-selected) .button-native::after{height:2px;background:var(--tab-underline-selected);opacity:1;transform:none}:host(:hover){background:var(--tab-background-hover)}:host(.focus-visible){background:var(--tab-background-focused);outline:auto}:host(.tab-disabled){background:var(--road-surface-disabled)}:host(.tab-disabled) .button-native{cursor:not-allowed}:host(.tab-disabled) ::slotted(road-label){color:var(--road-on-surface-disabled)}.button-native{position:relative;box-sizing:border-box;display:flex;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;min-height:3.5rem;padding:0.75rem var(--padding-end, 1.5rem) 0.75rem var(--padding-start, 1.5rem);margin:0;overflow:hidden;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;-webkit-user-drag:none;border-color:initial;border-style:initial;border-width:0;border-radius:inherit;border-image:initial;outline:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.button-native::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:0;content:\"\";background-color:var(--road-input-outline);opacity:1;transition:transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);transform:none;transform-origin:center}.button-inner{position:relative;z-index:1;display:flex;flex-flow:inherit;align-items:center;justify-content:center;width:100%;height:100%}:host ::slotted(road-icon){color:var(--tab-color)}:host(.tab-layout-icon-start) ::slotted(road-icon){margin-right:0.5rem}:host(.tab-layout-icon-top) .button-inner{flex-direction:column}:host ::slotted(road-label){display
|
|
37181
|
+
const tabButtonCss = ":host{box-sizing:border-box;font-weight:700;color:var(--tab-color);outline:0;transition:background 0.15s ease-in-out}:host(.tab-secondary){--tab-underline-selected:var(--road-secondary-600)}:host(.tab-selected){color:var(--tab-color-selected)}:host(.tab-selected) ::slotted(road-icon){color:var(--tab-color-selected)}:host(.tab-selected) ::slotted(road-label){color:var(--road-on-surface)}:host(.tab-selected) .button-native::after{height:2px;background:var(--tab-underline-selected);opacity:1;transform:none}:host(:hover){background:var(--tab-background-hover)}:host(.focus-visible){background:var(--tab-background-focused);outline:auto}:host(.tab-disabled){background:var(--road-surface-disabled)}:host(.tab-disabled) .button-native{cursor:not-allowed}:host(.tab-disabled) ::slotted(road-label){color:var(--road-on-surface-disabled)}.button-native{position:relative;box-sizing:border-box;display:flex;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;min-height:3.5rem;padding:0.75rem var(--padding-end, 1.5rem) 0.75rem var(--padding-start, 1.5rem);margin:0;overflow:hidden;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;-webkit-user-drag:none;border-color:initial;border-style:initial;border-width:0;border-radius:inherit;border-image:initial;outline:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.button-native::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:0;content:\"\";background-color:var(--road-input-outline);opacity:1;transition:transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);transform:none;transform-origin:center}.button-inner{position:relative;z-index:1;display:flex;flex-flow:inherit;align-items:center;justify-content:center;width:100%;height:100%}:host ::slotted(road-icon){color:var(--tab-color)}:host(.tab-layout-icon-start) ::slotted(road-icon){margin-right:0.5rem}:host(.tab-layout-icon-top) .button-inner{flex-direction:column}:host ::slotted(road-label){display:flex;align-items:center;max-width:12.5rem;overflow:hidden;font-size:1rem;color:var(--road-on-surface-weak);-webkit-line-clamp:1;-webkit-box-orient:vertical;text-align:center;text-overflow:ellipsis;white-space:inherit}:host(.tab-layout-icon-top) ::slotted(road-label){margin-top:0.25rem;font-size:1rem}";
|
|
37103
37182
|
var RoadTabButtonStyle0 = tabButtonCss;
|
|
37104
37183
|
|
|
37105
37184
|
/**
|
|
@@ -37177,7 +37256,7 @@ class TabButton {
|
|
|
37177
37256
|
rel,
|
|
37178
37257
|
target,
|
|
37179
37258
|
};
|
|
37180
|
-
return (hAsync(Host, { key: '
|
|
37259
|
+
return (hAsync(Host, { key: '15684e85cbefb6d8646231adfc2bd423a59edb84', 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: {
|
|
37181
37260
|
'tab-selected': selected,
|
|
37182
37261
|
'tab-has-label': hasLabel,
|
|
37183
37262
|
'tab-has-icon': hasIcon,
|
|
@@ -37185,7 +37264,7 @@ class TabButton {
|
|
|
37185
37264
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
37186
37265
|
[`tab-layout-${layout}`]: true,
|
|
37187
37266
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
37188
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
37267
|
+
} }, hAsync("a", Object.assign({ key: '8808982bb613680dcf3e7e330d6ac113f2d2f47f' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: 'cc2bb1c13f607c1e3c8088179c3c6ce49f272222', class: "button-inner" }, hAsync("slot", { key: 'a471b49c35cdfc57bd2f5a7156381ea051f1649f' })))));
|
|
37189
37268
|
}
|
|
37190
37269
|
get el() { return getElement(this); }
|
|
37191
37270
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -37219,7 +37298,7 @@ class Table {
|
|
|
37219
37298
|
registerInstance(this, hostRef);
|
|
37220
37299
|
}
|
|
37221
37300
|
render() {
|
|
37222
|
-
return (hAsync("slot", { key: '
|
|
37301
|
+
return (hAsync("slot", { key: 'df60a444f486b688b982684f727e28468022b801' }));
|
|
37223
37302
|
}
|
|
37224
37303
|
static get style() { return RoadTableStyle0; }
|
|
37225
37304
|
static get cmpMeta() { return {
|
|
@@ -37327,7 +37406,7 @@ class Tabs$1 {
|
|
|
37327
37406
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37328
37407
|
}
|
|
37329
37408
|
render() {
|
|
37330
|
-
return (hAsync(Host, { key: '
|
|
37409
|
+
return (hAsync(Host, { key: 'df0d2cbe2bf0647686439e58ab7e47067bb85a18', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '0181d346ee8cf63cab8eac42c8932e1f5477288f', name: "top" }), hAsync("slot", { key: 'c3c0f5c41618721ace911e149d1218b0f8412369' })));
|
|
37331
37410
|
}
|
|
37332
37411
|
get el() { return getElement(this); }
|
|
37333
37412
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -37463,7 +37542,7 @@ class Tabs {
|
|
|
37463
37542
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37464
37543
|
}
|
|
37465
37544
|
render() {
|
|
37466
|
-
return (hAsync(Host, { key: '
|
|
37545
|
+
return (hAsync(Host, { key: '09627e578a4f116e875445939739ffb334429c05', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: 'ffe9f5b8d3ac85e47a16650254e94376a59376de', name: "top" }), hAsync("div", { key: '1443f709510efff63fdb972db851916406321ac5', class: "tabs-inner" }, hAsync("slot", { key: 'ce206df02b9e5e4933bf1dde5447313cb2ecd900' }))));
|
|
37467
37546
|
}
|
|
37468
37547
|
get el() { return getElement(this); }
|
|
37469
37548
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -37511,7 +37590,7 @@ class Tag {
|
|
|
37511
37590
|
}
|
|
37512
37591
|
render() {
|
|
37513
37592
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
37514
|
-
return (hAsync(Host, { key: '
|
|
37593
|
+
return (hAsync(Host, { key: 'e69d81ddb79dcbc736b38c9f7f0e15d5328444ee', class: `${contrastClass}` }, hAsync("slot", { key: '0dc393d2b05bb35d1d17696ea3771ad067a30962' })));
|
|
37515
37594
|
}
|
|
37516
37595
|
static get style() { return RoadTagStyle0; }
|
|
37517
37596
|
static get cmpMeta() { return {
|
|
@@ -37543,7 +37622,7 @@ class Text {
|
|
|
37543
37622
|
}
|
|
37544
37623
|
render() {
|
|
37545
37624
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
37546
|
-
return (hAsync(Host, { key: '
|
|
37625
|
+
return (hAsync(Host, { key: '0601af1046143f243308bb9923105842fe2c25ea', class: `${colorClass}` }, hAsync("slot", { key: '7aa5402a3d3bbface4a39414a5415bce1b0ac878' })));
|
|
37547
37626
|
}
|
|
37548
37627
|
static get style() { return RoadTextStyle0; }
|
|
37549
37628
|
static get cmpMeta() { return {
|
|
@@ -37653,7 +37732,7 @@ class Textarea {
|
|
|
37653
37732
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
37654
37733
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
37655
37734
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
37656
|
-
return (hAsync(Host, { key: '
|
|
37735
|
+
return (hAsync(Host, { key: '7f097d22080a94c592b2959db0f9102054bbdc9c', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: '96a40416be94b422af9b68d7aad0e7b3f4af3b1e', 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: 'a19dd99c28772692927f4b7d5652d8c76f7d84e0', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: 'cb94c1bac1f4e88df2b1b4b7502677298e09c599', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '03a2fea4ed00b0c1897161812dbc01598db4296f', class: "helper" }, this.helper)));
|
|
37657
37736
|
}
|
|
37658
37737
|
static get watchers() { return {
|
|
37659
37738
|
"value": ["valueChanged"]
|
|
@@ -37784,7 +37863,7 @@ class Toast {
|
|
|
37784
37863
|
if (this.color == 'danger') {
|
|
37785
37864
|
this.timeout = 0;
|
|
37786
37865
|
}
|
|
37787
|
-
return (hAsync(Host, { key: '
|
|
37866
|
+
return (hAsync(Host, { key: '3a4496171b17207f7a0511b651561e8044dc5254', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: '5f3849481ca612dd87581ffe82de019c19023c33', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: 'cd71e4aedb6571159d879ae2a04b003be7d35e7c', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: '4ab5b0b0ce22a200bde67b6d53ff895b3319ca70', class: "toast-label" }, this.label), hAsync("button", { key: '9c29206da5cc529f72af8423d551956574a1dfe9', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: '1c288981ec46bd178f457103a1cf50151ed2b112', icon: navigationClose, size: "md" })), hAsync("slot", { key: '0d1a04e456a142b1b6f3d6ecc851d775a4139a9f', name: "progress" }))));
|
|
37788
37867
|
}
|
|
37789
37868
|
static get watchers() { return {
|
|
37790
37869
|
"isOpen": ["isOpenChanged"]
|
|
@@ -37824,7 +37903,7 @@ class Toolbar {
|
|
|
37824
37903
|
}
|
|
37825
37904
|
render() {
|
|
37826
37905
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
37827
|
-
return (hAsync(Host, { key: '
|
|
37906
|
+
return (hAsync(Host, { key: '1d4f69b6833dfd4450b9f5cdca4e00ecbba6e4c1', class: colorClass }, hAsync("div", { key: '44bc8ae86ca2dafca7e4b5b5c55691445068f45b', class: "toolbar-container" }, hAsync("slot", { key: 'f861b62f08a1df22de0cfa57456043fb78edf3d0', name: "start" }), hAsync("slot", { key: 'd1f4105ff8c237d6a577d16c7db1934f9e6ee166', name: "primary" }), hAsync("div", { key: 'a5a7885ed09b0d40ee52fde0d1ff501735677021', class: "toolbar-content" }, hAsync("slot", { key: '25e6d4493835360bcce26f04308a84e000b01a09' })), hAsync("slot", { key: 'f324982ed3d62bfb26c000ce47d0343a4feae90a', name: "secondary" }), hAsync("slot", { key: 'dd1bb2b044a4614d76747472c814a43ba73e41a9', name: "end" }))));
|
|
37828
37907
|
}
|
|
37829
37908
|
static get style() { return RoadToolbarStyle0; }
|
|
37830
37909
|
static get cmpMeta() { return {
|
|
@@ -37850,7 +37929,7 @@ class ToolbarAppName {
|
|
|
37850
37929
|
registerInstance(this, hostRef);
|
|
37851
37930
|
}
|
|
37852
37931
|
render() {
|
|
37853
|
-
return (hAsync("div", { key: '
|
|
37932
|
+
return (hAsync("div", { key: '865af785629a79a7448df7721885cbe25eead4f1', class: "toolbar-title-page" }, hAsync("slot", { key: 'a0778c790e42b8b54db2c5407d874d5e7924ab86' })));
|
|
37854
37933
|
}
|
|
37855
37934
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
37856
37935
|
static get cmpMeta() { return {
|
|
@@ -37874,7 +37953,7 @@ class ToolbarTitle {
|
|
|
37874
37953
|
registerInstance(this, hostRef);
|
|
37875
37954
|
}
|
|
37876
37955
|
render() {
|
|
37877
|
-
return (hAsync("div", { key: '
|
|
37956
|
+
return (hAsync("div", { key: '67ddb57f9717084f519746e8f19fe61f1ccf9641', class: "toolbar-title" }, hAsync("slot", { key: '6bd026b79603afd9e96a09b4d52da882681fef50' })));
|
|
37878
37957
|
}
|
|
37879
37958
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
37880
37959
|
static get cmpMeta() { return {
|
|
@@ -37903,7 +37982,7 @@ class ToolbarV2 {
|
|
|
37903
37982
|
registerInstance(this, hostRef);
|
|
37904
37983
|
}
|
|
37905
37984
|
render() {
|
|
37906
|
-
return (hAsync(Host, { key: '
|
|
37985
|
+
return (hAsync(Host, { key: '09a228e4eafc2393b30c140b7287c6c881b8d7db', class: "toolbar" }, hAsync("div", { key: '562c83b301107143e3531f374ee4aab6c2d6a8a1', class: "toolbar-container" }, hAsync("div", { key: '9b6ddce805a701bab76529aac5c36e28161ec7e4', class: "toolbar-container-content-left" }, hAsync("slot", { key: '521da1cfda1737f3fb71b8a15380a890eded2b72', name: "start" }), hAsync("slot", { key: '4b777b4cbdabe61de6503d6f455c9952851aa1b8', name: "primary" })), hAsync("div", { key: '513270582ea6cab3852f71ebf5bbbcfa4a085bbe', class: "toolbar-content" }, hAsync("slot", { key: '41ae313ad235be1b2376199ea769fa48dec4cf20' })), hAsync("div", { key: 'd051c5ca9c5a97bb9598c25794dcfc79a446b983', class: "toolbar-container-content-right" }, hAsync("slot", { key: 'a9344e556ba87fb7041eb430ad401474bdf37385', name: "secondary" }), hAsync("slot", { key: '128c4b1aa6e53b84cb7112540f6cdbad02f942f1', name: "end" })))));
|
|
37907
37986
|
}
|
|
37908
37987
|
static get style() { return RoadToolbarV2Style0; }
|
|
37909
37988
|
static get cmpMeta() { return {
|
|
@@ -38030,12 +38109,12 @@ class Tooltip {
|
|
|
38030
38109
|
return triggers.includes(triggerType);
|
|
38031
38110
|
}
|
|
38032
38111
|
render() {
|
|
38033
|
-
return (hAsync(Host, { key: '
|
|
38112
|
+
return (hAsync(Host, { key: '1c4d0674f907e8e3006c88119ecd9d4c327597a7', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
38034
38113
|
,
|
|
38035
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
38114
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: '9540439d97de9867f32349f2b37dd50242522744', "aria-describedby": this.tooltipId }), hAsync("div", { key: '72eee89fa5a31dd67ddae13f444a2ba40ab55d95', part: "tooltip", id: this.tooltipId, class: {
|
|
38036
38115
|
tooltip: true,
|
|
38037
38116
|
"tooltip-open": this.isOpen,
|
|
38038
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: '
|
|
38117
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: '974f5455db23669fd1dbc9b4c15a8919ccd0b751', name: "tooltip-content" }))));
|
|
38039
38118
|
}
|
|
38040
38119
|
get el() { return getElement(this); }
|
|
38041
38120
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -38127,11 +38206,11 @@ class toggle {
|
|
|
38127
38206
|
}
|
|
38128
38207
|
render() {
|
|
38129
38208
|
const labelId = this.toggleId + '-label';
|
|
38130
|
-
const textLabel = hAsync("label", { key: '
|
|
38209
|
+
const textLabel = hAsync("label", { key: '8cc1a41d36f0201ba392d57fc2424aa3026f5b9e', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
38131
38210
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
38132
38211
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
38133
38212
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
38134
|
-
return (hAsync(Host, { key: '
|
|
38213
|
+
return (hAsync(Host, { key: 'babe45bd3028fdb56410decc3685ab608a5f73f1' }, hAsync("input", { key: 'eb99e00634ede458e45553c629a693a9faa4583e', 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: '523e11101552847180e7d9509345349940f449b0', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: 'ffc04b50698e2a4cd7ac59c1d6dd18423e298e48', class: `form-toggle-lever ${righttoggleClass}` }, this.checked ? (hAsync("road-icon", { name: "check-small-solid", class: "form-toggle-lever-check", size: "md" })) : (hAsync("road-icon", { name: "navigation-close-solid", class: "form-toggle-lever-close", size: "md" }))), this.hasLeftLabel ? '' : textLabel)));
|
|
38135
38214
|
}
|
|
38136
38215
|
static get watchers() { return {
|
|
38137
38216
|
"checked": ["checkedChanged"]
|
|
@@ -38165,6 +38244,7 @@ registerComponents([
|
|
|
38165
38244
|
Avatar,
|
|
38166
38245
|
Badge,
|
|
38167
38246
|
Banner,
|
|
38247
|
+
Button$2,
|
|
38168
38248
|
Button$1,
|
|
38169
38249
|
Button,
|
|
38170
38250
|
ButtonBar,
|
|
@@ -38172,7 +38252,6 @@ registerComponents([
|
|
|
38172
38252
|
Carousel,
|
|
38173
38253
|
CarouselItem,
|
|
38174
38254
|
Checkbox,
|
|
38175
|
-
Chip$1,
|
|
38176
38255
|
Chip,
|
|
38177
38256
|
Col,
|
|
38178
38257
|
Collapse,
|
|
@@ -38221,6 +38300,7 @@ registerComponents([
|
|
|
38221
38300
|
SelectFilter,
|
|
38222
38301
|
Skeleton,
|
|
38223
38302
|
Spinner,
|
|
38303
|
+
StatusChip,
|
|
38224
38304
|
Stepper,
|
|
38225
38305
|
Switch,
|
|
38226
38306
|
Tab,
|