@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.mjs
CHANGED
|
@@ -3287,14 +3287,16 @@ class Alert {
|
|
|
3287
3287
|
});
|
|
3288
3288
|
}
|
|
3289
3289
|
render() {
|
|
3290
|
+
var _a;
|
|
3290
3291
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3291
3292
|
let layoutClass = 'alert-container'; // valeur par défaut
|
|
3292
3293
|
if (this.layout === 'horizontal') {
|
|
3293
3294
|
layoutClass = 'alert-container-horizontal';
|
|
3294
3295
|
}
|
|
3295
3296
|
const btnContainerClass = this.hasCloseIcon ? 'btn-container justify-end' : 'btn-container';
|
|
3297
|
+
const hasButtonSlot = !!((_a = this.el) === null || _a === void 0 ? void 0 : _a.querySelector('[slot="button"]'));
|
|
3296
3298
|
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;
|
|
3297
|
-
return (hAsync(Host, { key: '
|
|
3299
|
+
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)));
|
|
3298
3300
|
}
|
|
3299
3301
|
get el() { return getElement(this); }
|
|
3300
3302
|
static get style() { return RoadAlertStyle0; }
|
|
@@ -3624,7 +3626,7 @@ var RoadButtonStyle0 = buttonCss;
|
|
|
3624
3626
|
*
|
|
3625
3627
|
* @part native - The native HTML button or anchor element that wraps all child elements.
|
|
3626
3628
|
*/
|
|
3627
|
-
class Button$
|
|
3629
|
+
class Button$2 {
|
|
3628
3630
|
constructor(hostRef) {
|
|
3629
3631
|
registerInstance(this, hostRef);
|
|
3630
3632
|
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
@@ -3732,6 +3734,85 @@ class Button$1 {
|
|
|
3732
3734
|
}; }
|
|
3733
3735
|
}
|
|
3734
3736
|
|
|
3737
|
+
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)}";
|
|
3738
|
+
var RoadButtonCarouselStyle0 = buttonCarouselCss;
|
|
3739
|
+
|
|
3740
|
+
/**
|
|
3741
|
+
* @slot - Content of the carrousel button.
|
|
3742
|
+
*
|
|
3743
|
+
* @part native - The native HTML button or anchor element that wraps all child elements.
|
|
3744
|
+
*/
|
|
3745
|
+
class Button$1 {
|
|
3746
|
+
constructor(hostRef) {
|
|
3747
|
+
registerInstance(this, hostRef);
|
|
3748
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
3749
|
+
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
3750
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
3751
|
+
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
3752
|
+
/**
|
|
3753
|
+
* Set to `false` for a ghost button, set to `true` for a default outline button
|
|
3754
|
+
*/
|
|
3755
|
+
this.outline = false;
|
|
3756
|
+
/**
|
|
3757
|
+
* If `true`, the user cannot interact with the button.
|
|
3758
|
+
*/
|
|
3759
|
+
this.disabled = false;
|
|
3760
|
+
this.onClick = (ev) => {
|
|
3761
|
+
if (this.el.shadowRoot && this.el.attachShadow) {
|
|
3762
|
+
// this button wants to specifically submit a form
|
|
3763
|
+
// climb up the dom to see if we're in a <form>
|
|
3764
|
+
// and if so, then use JS to submit it
|
|
3765
|
+
const form = this.el.closest('form');
|
|
3766
|
+
if (form) {
|
|
3767
|
+
ev.preventDefault();
|
|
3768
|
+
const fakeButton = document.createElement('button');
|
|
3769
|
+
fakeButton.style.display = 'none';
|
|
3770
|
+
form.appendChild(fakeButton);
|
|
3771
|
+
fakeButton.click();
|
|
3772
|
+
fakeButton.remove();
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
};
|
|
3776
|
+
this.onFocus = () => {
|
|
3777
|
+
this.roadfocus.emit();
|
|
3778
|
+
this.roadFocus.emit();
|
|
3779
|
+
};
|
|
3780
|
+
this.onBlur = () => {
|
|
3781
|
+
this.roadblur.emit();
|
|
3782
|
+
this.roadBlur.emit();
|
|
3783
|
+
};
|
|
3784
|
+
}
|
|
3785
|
+
onScroll() {
|
|
3786
|
+
const positionScroll = window.scrollY;
|
|
3787
|
+
if (positionScroll < 300) {
|
|
3788
|
+
this.el.classList.add("scroll-down");
|
|
3789
|
+
this.el.classList.remove("scroll-up");
|
|
3790
|
+
}
|
|
3791
|
+
if (positionScroll > 300) {
|
|
3792
|
+
this.el.classList.add("scroll-up");
|
|
3793
|
+
this.el.classList.remove("scroll-down");
|
|
3794
|
+
}
|
|
3795
|
+
}
|
|
3796
|
+
render() {
|
|
3797
|
+
const TagType = 'button';
|
|
3798
|
+
const outlineClass = this.outline ? 'btn-outline' : 'btn-default';
|
|
3799
|
+
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' }))));
|
|
3800
|
+
}
|
|
3801
|
+
get el() { return getElement(this); }
|
|
3802
|
+
static get style() { return RoadButtonCarouselStyle0; }
|
|
3803
|
+
static get cmpMeta() { return {
|
|
3804
|
+
"$flags$": 9,
|
|
3805
|
+
"$tagName$": "road-button-carousel",
|
|
3806
|
+
"$members$": {
|
|
3807
|
+
"outline": [4],
|
|
3808
|
+
"disabled": [516]
|
|
3809
|
+
},
|
|
3810
|
+
"$listeners$": [[9, "scroll", "onScroll"]],
|
|
3811
|
+
"$lazyBundleId$": "-",
|
|
3812
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
3813
|
+
}; }
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3735
3816
|
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}";
|
|
3736
3817
|
var RoadButtonFloatingStyle0 = buttonFloatingCss;
|
|
3737
3818
|
|
|
@@ -3791,7 +3872,7 @@ class Button {
|
|
|
3791
3872
|
render() {
|
|
3792
3873
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3793
3874
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3794
|
-
return (hAsync(Host, { key: '
|
|
3875
|
+
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' }))));
|
|
3795
3876
|
}
|
|
3796
3877
|
get el() { return getElement(this); }
|
|
3797
3878
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3836,7 +3917,7 @@ class ButtonBar {
|
|
|
3836
3917
|
this.selectedTabChanged();
|
|
3837
3918
|
}
|
|
3838
3919
|
render() {
|
|
3839
|
-
return (hAsync(Host, { key: '
|
|
3920
|
+
return (hAsync(Host, { key: '9d6937fa6b2840970dd93648f1e79724562d91bf', role: "tablist" }, hAsync("slot", { key: '63de3253cb8eb6e9d4fa2374a1fab04ff64b174a' })));
|
|
3840
3921
|
}
|
|
3841
3922
|
get el() { return getElement(this); }
|
|
3842
3923
|
static get watchers() { return {
|
|
@@ -3949,7 +4030,7 @@ class Card {
|
|
|
3949
4030
|
const selectedClass = this.selected ? "selected" : "";
|
|
3950
4031
|
const isButtonClass = isButtonMode ? "is-button" : "";
|
|
3951
4032
|
const disabledClass = isButtonMode && this.disabled ? "is-disabled" : "";
|
|
3952
|
-
return (hAsync(Host, { key: '
|
|
4033
|
+
return (hAsync(Host, { key: '44026953c66e6ee3421d5bbc03c92e60710feb94', class: `${elevationClass} ${selectedClass} ${isButtonClass} ${disabledClass}` }, this.renderCard()));
|
|
3953
4034
|
}
|
|
3954
4035
|
get el() { return getElement(this); }
|
|
3955
4036
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10704,7 +10785,7 @@ class Carousel {
|
|
|
10704
10785
|
});
|
|
10705
10786
|
}
|
|
10706
10787
|
render() {
|
|
10707
|
-
return (hAsync(Host, { key: '
|
|
10788
|
+
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 })))));
|
|
10708
10789
|
}
|
|
10709
10790
|
get el() { return getElement(this); }
|
|
10710
10791
|
static get watchers() { return {
|
|
@@ -10756,10 +10837,10 @@ class CarouselItem {
|
|
|
10756
10837
|
registerInstance(this, hostRef);
|
|
10757
10838
|
}
|
|
10758
10839
|
render() {
|
|
10759
|
-
return (hAsync(Host, { key: '
|
|
10840
|
+
return (hAsync(Host, { key: '66cf75481e1bb831c17a7a7ca01341dfd1f28cae', class: {
|
|
10760
10841
|
'swiper-slide': true,
|
|
10761
10842
|
'swiper-zoom-container': true,
|
|
10762
|
-
} }, hAsync("slot", { key: '
|
|
10843
|
+
} }, hAsync("slot", { key: 'ace4b6235ef59848e24915b3c8f17a54f78f18a7' })));
|
|
10763
10844
|
}
|
|
10764
10845
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10765
10846
|
static get cmpMeta() { return {
|
|
@@ -10772,7 +10853,7 @@ class CarouselItem {
|
|
|
10772
10853
|
}; }
|
|
10773
10854
|
}
|
|
10774
10855
|
|
|
10775
|
-
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)}";
|
|
10856
|
+
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)}";
|
|
10776
10857
|
var RoadCheckboxStyle0 = checkboxCss;
|
|
10777
10858
|
|
|
10778
10859
|
/**
|
|
@@ -10823,6 +10904,10 @@ class Checkbox {
|
|
|
10823
10904
|
* If `true`, the label and the checkbox are inverse and spaced
|
|
10824
10905
|
*/
|
|
10825
10906
|
this.inverse = false;
|
|
10907
|
+
/**
|
|
10908
|
+
* The checkbox label size.
|
|
10909
|
+
*/
|
|
10910
|
+
this.size = 'md';
|
|
10826
10911
|
this.onClick = () => {
|
|
10827
10912
|
this.checked = !this.checked;
|
|
10828
10913
|
this.indeterminate = false;
|
|
@@ -10849,8 +10934,9 @@ class Checkbox {
|
|
|
10849
10934
|
render() {
|
|
10850
10935
|
const labelId = this.checkboxId + '-label';
|
|
10851
10936
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10937
|
+
const sizeClass = this.size !== undefined ? `form-check-label-${this.size}` : '';
|
|
10852
10938
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10853
|
-
return (hAsync(Host, { key: '
|
|
10939
|
+
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)));
|
|
10854
10940
|
}
|
|
10855
10941
|
static get watchers() { return {
|
|
10856
10942
|
"checked": ["checkedChanged"]
|
|
@@ -10871,11 +10957,12 @@ class Checkbox {
|
|
|
10871
10957
|
"secondaryLabel": [1, "secondary-label"],
|
|
10872
10958
|
"inverse": [4],
|
|
10873
10959
|
"error": [1],
|
|
10874
|
-
"helper": [1]
|
|
10960
|
+
"helper": [1],
|
|
10961
|
+
"size": [513]
|
|
10875
10962
|
},
|
|
10876
10963
|
"$listeners$": undefined,
|
|
10877
10964
|
"$lazyBundleId$": "-",
|
|
10878
|
-
"$attrsToReflect$": []
|
|
10965
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
10879
10966
|
}; }
|
|
10880
10967
|
}
|
|
10881
10968
|
let checkboxIds = 0;
|
|
@@ -10886,7 +10973,7 @@ var RoadChipStyle0 = chipCss;
|
|
|
10886
10973
|
/**
|
|
10887
10974
|
* @slot - Content of the chip.
|
|
10888
10975
|
*/
|
|
10889
|
-
class Chip
|
|
10976
|
+
class Chip {
|
|
10890
10977
|
constructor(hostRef) {
|
|
10891
10978
|
registerInstance(this, hostRef);
|
|
10892
10979
|
/**
|
|
@@ -10908,7 +10995,7 @@ class Chip$1 {
|
|
|
10908
10995
|
}
|
|
10909
10996
|
render() {
|
|
10910
10997
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10911
|
-
return (hAsync(Host, { key: '
|
|
10998
|
+
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 })));
|
|
10912
10999
|
}
|
|
10913
11000
|
static get style() { return RoadChipStyle0; }
|
|
10914
11001
|
static get cmpMeta() { return {
|
|
@@ -10926,36 +11013,6 @@ class Chip$1 {
|
|
|
10926
11013
|
}; }
|
|
10927
11014
|
}
|
|
10928
11015
|
|
|
10929
|
-
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)}";
|
|
10930
|
-
var RoadStatusChipStyle0 = statusChipCss;
|
|
10931
|
-
|
|
10932
|
-
/**
|
|
10933
|
-
* @slot - Content of the chip.
|
|
10934
|
-
*/
|
|
10935
|
-
class Chip {
|
|
10936
|
-
constructor(hostRef) {
|
|
10937
|
-
registerInstance(this, hostRef);
|
|
10938
|
-
/**
|
|
10939
|
-
* The chip size.
|
|
10940
|
-
*/
|
|
10941
|
-
this.size = 'sm';
|
|
10942
|
-
}
|
|
10943
|
-
render() {
|
|
10944
|
-
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' }))));
|
|
10945
|
-
}
|
|
10946
|
-
static get style() { return RoadStatusChipStyle0; }
|
|
10947
|
-
static get cmpMeta() { return {
|
|
10948
|
-
"$flags$": 9,
|
|
10949
|
-
"$tagName$": "road-status-chip",
|
|
10950
|
-
"$members$": {
|
|
10951
|
-
"size": [1]
|
|
10952
|
-
},
|
|
10953
|
-
"$listeners$": undefined,
|
|
10954
|
-
"$lazyBundleId$": "-",
|
|
10955
|
-
"$attrsToReflect$": []
|
|
10956
|
-
}; }
|
|
10957
|
-
}
|
|
10958
|
-
|
|
10959
11016
|
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%}}";
|
|
10960
11017
|
var RoadColStyle0 = colCss;
|
|
10961
11018
|
|
|
@@ -10967,7 +11024,7 @@ class Col {
|
|
|
10967
11024
|
registerInstance(this, hostRef);
|
|
10968
11025
|
}
|
|
10969
11026
|
render() {
|
|
10970
|
-
return (hAsync("slot", { key: '
|
|
11027
|
+
return (hAsync("slot", { key: '4cca7757a5a8749eef49d826de2e3b3bd03aa6d0' }));
|
|
10971
11028
|
}
|
|
10972
11029
|
static get style() { return RoadColStyle0; }
|
|
10973
11030
|
static get cmpMeta() { return {
|
|
@@ -11017,7 +11074,7 @@ class Collapse {
|
|
|
11017
11074
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
11018
11075
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
11019
11076
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
11020
|
-
return (hAsync(Host, { key: '
|
|
11077
|
+
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))));
|
|
11021
11078
|
}
|
|
11022
11079
|
static get style() { return RoadCollapseStyle0; }
|
|
11023
11080
|
static get cmpMeta() { return {
|
|
@@ -11054,7 +11111,7 @@ class ContentCard {
|
|
|
11054
11111
|
}
|
|
11055
11112
|
render() {
|
|
11056
11113
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11057
|
-
return (hAsync(Host, { key: '
|
|
11114
|
+
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' })))));
|
|
11058
11115
|
}
|
|
11059
11116
|
static get style() { return RoadContentCardStyle0; }
|
|
11060
11117
|
static get cmpMeta() { return {
|
|
@@ -11118,9 +11175,10 @@ class Counter {
|
|
|
11118
11175
|
}
|
|
11119
11176
|
};
|
|
11120
11177
|
this.increase = () => {
|
|
11121
|
-
this.inputElement.querySelector('input')
|
|
11122
|
-
|
|
11123
|
-
|
|
11178
|
+
const input = this.inputElement.querySelector('input');
|
|
11179
|
+
input.stepUp();
|
|
11180
|
+
let valueInput = parseInt(input.value);
|
|
11181
|
+
if (isNaN(valueInput)) {
|
|
11124
11182
|
valueInput = this.min;
|
|
11125
11183
|
}
|
|
11126
11184
|
this.onValueChange(valueInput);
|
|
@@ -11131,9 +11189,10 @@ class Counter {
|
|
|
11131
11189
|
this.roadDustbinClick.emit();
|
|
11132
11190
|
return;
|
|
11133
11191
|
}
|
|
11134
|
-
this.inputElement.querySelector('input')
|
|
11135
|
-
|
|
11136
|
-
|
|
11192
|
+
const input = this.inputElement.querySelector('input');
|
|
11193
|
+
input.stepDown();
|
|
11194
|
+
let valueInput = parseInt(input.value);
|
|
11195
|
+
if (isNaN(valueInput)) {
|
|
11137
11196
|
valueInput = this.min;
|
|
11138
11197
|
}
|
|
11139
11198
|
this.onValueChange(valueInput);
|
|
@@ -11178,8 +11237,8 @@ class Counter {
|
|
|
11178
11237
|
}
|
|
11179
11238
|
setIconsClasses(valueInput) {
|
|
11180
11239
|
valueInput = valueInput !== null && valueInput !== void 0 ? valueInput : parseInt(this.inputElement.querySelector('input').value);
|
|
11181
|
-
this.leftIconClasses = valueInput <= this.min && !this.dustbin ? "disabled" : "";
|
|
11182
|
-
this.rightIconClasses = this.max && valueInput >= this.max ? "disabled" : "";
|
|
11240
|
+
this.leftIconClasses = this.readonly || valueInput <= this.min && !this.dustbin ? "disabled" : "";
|
|
11241
|
+
this.rightIconClasses = this.readonly || this.max && valueInput >= this.max ? "disabled" : "";
|
|
11183
11242
|
}
|
|
11184
11243
|
componentWillLoad() {
|
|
11185
11244
|
this.onValueChange(this.value);
|
|
@@ -11230,11 +11289,12 @@ class Counter {
|
|
|
11230
11289
|
}
|
|
11231
11290
|
render() {
|
|
11232
11291
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11233
|
-
return (hAsync("road-input-group", { key: '
|
|
11292
|
+
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" }))));
|
|
11234
11293
|
}
|
|
11235
11294
|
get el() { return getElement(this); }
|
|
11236
11295
|
static get watchers() { return {
|
|
11237
|
-
"value": ["onValueChange"]
|
|
11296
|
+
"value": ["onValueChange"],
|
|
11297
|
+
"readonly": ["onValueChange"]
|
|
11238
11298
|
}; }
|
|
11239
11299
|
static get style() { return RoadCounterStyle0; }
|
|
11240
11300
|
static get cmpMeta() { return {
|
|
@@ -11350,11 +11410,11 @@ class Dialog {
|
|
|
11350
11410
|
break;
|
|
11351
11411
|
}
|
|
11352
11412
|
}
|
|
11353
|
-
return (hAsync(Host, { key: '
|
|
11413
|
+
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
|
|
11354
11414
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11355
|
-
: ''), hAsync("div", { key: '
|
|
11415
|
+
: ''), hAsync("div", { key: '5c1f4459f65cf0864a4bf257bef0f6682a9ae2c4', class: "dialog-body" }, this.color !== undefined
|
|
11356
11416
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11357
|
-
: '', hAsync("h2", { key: '
|
|
11417
|
+
: '', 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' }))))));
|
|
11358
11418
|
}
|
|
11359
11419
|
get el() { return getElement(this); }
|
|
11360
11420
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -13052,10 +13112,10 @@ class Drawer {
|
|
|
13052
13112
|
handleFocusTrapProp(value) {
|
|
13053
13113
|
var _a, _b;
|
|
13054
13114
|
if (value) {
|
|
13055
|
-
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.
|
|
13115
|
+
(_a = this.focusTrap) === null || _a === void 0 ? void 0 : _a.unpause();
|
|
13056
13116
|
}
|
|
13057
13117
|
else {
|
|
13058
|
-
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.
|
|
13118
|
+
(_b = this.focusTrap) === null || _b === void 0 ? void 0 : _b.pause();
|
|
13059
13119
|
}
|
|
13060
13120
|
}
|
|
13061
13121
|
// @Watch('isOpen')
|
|
@@ -13122,6 +13182,9 @@ class Drawer {
|
|
|
13122
13182
|
getShadowRoot: true,
|
|
13123
13183
|
},
|
|
13124
13184
|
});
|
|
13185
|
+
if (this.isOpen) {
|
|
13186
|
+
this.handleOpen(true);
|
|
13187
|
+
}
|
|
13125
13188
|
}
|
|
13126
13189
|
render() {
|
|
13127
13190
|
var _a, _b, _c, _d;
|
|
@@ -13137,7 +13200,7 @@ class Drawer {
|
|
|
13137
13200
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
13138
13201
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
13139
13202
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
13140
|
-
return (hAsync(Host, { key: '
|
|
13203
|
+
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" })))))));
|
|
13141
13204
|
}
|
|
13142
13205
|
get el() { return getElement(this); }
|
|
13143
13206
|
static get watchers() { return {
|
|
@@ -13202,7 +13265,7 @@ class Dropdown$1 {
|
|
|
13202
13265
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
13203
13266
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
13204
13267
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
13205
|
-
return (hAsync("details", { key: '
|
|
13268
|
+
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" }))));
|
|
13206
13269
|
}
|
|
13207
13270
|
get el() { return getElement(this); }
|
|
13208
13271
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -13258,7 +13321,7 @@ class Dropdown {
|
|
|
13258
13321
|
this.isOpen = false;
|
|
13259
13322
|
}
|
|
13260
13323
|
render() {
|
|
13261
|
-
return (hAsync("details", { key: '
|
|
13324
|
+
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" }))));
|
|
13262
13325
|
}
|
|
13263
13326
|
get el() { return getElement(this); }
|
|
13264
13327
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -13322,7 +13385,7 @@ class Duration {
|
|
|
13322
13385
|
this.isOpen = false;
|
|
13323
13386
|
}
|
|
13324
13387
|
render() {
|
|
13325
|
-
return (hAsync("road-drawer", { key: '
|
|
13388
|
+
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 })))))))));
|
|
13326
13389
|
}
|
|
13327
13390
|
get el() { return getElement(this); }
|
|
13328
13391
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -13368,7 +13431,7 @@ class Flap {
|
|
|
13368
13431
|
}
|
|
13369
13432
|
render() {
|
|
13370
13433
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
13371
|
-
return (hAsync(Host, { key: '
|
|
13434
|
+
return (hAsync(Host, { key: 'd20f1aff196fce6d4b5a0abc93c412a8eb25a074', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '0be62bb6925782d1109981adbb67de911bcb29f3' })));
|
|
13372
13435
|
}
|
|
13373
13436
|
static get style() { return RoadFlapStyle0; }
|
|
13374
13437
|
static get cmpMeta() { return {
|
|
@@ -13414,7 +13477,7 @@ class GlobalNavigation {
|
|
|
13414
13477
|
this.selectedTabChanged();
|
|
13415
13478
|
}
|
|
13416
13479
|
render() {
|
|
13417
|
-
return (hAsync(Host, { key: '
|
|
13480
|
+
return (hAsync(Host, { key: '72901e74098db281d77f4200a744a63968f2e28c', role: "application" }, hAsync("slot", { key: '6b70d101f1d30a6888dd4176ac87bdc37bb9dd06' })));
|
|
13418
13481
|
}
|
|
13419
13482
|
static get watchers() { return {
|
|
13420
13483
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -13562,7 +13625,7 @@ class GlobalNavigationV2 {
|
|
|
13562
13625
|
this.selectedTabChanged();
|
|
13563
13626
|
}
|
|
13564
13627
|
render() {
|
|
13565
|
-
return (hAsync(Host, { key: '
|
|
13628
|
+
return (hAsync(Host, { key: 'f4fb2c22034b13b4937635c6427ce6a1db6da363', role: "application" }, hAsync("slot", { key: 'efc105887ec5a4f4ae417d075c30d6b9816b4850' })));
|
|
13566
13629
|
}
|
|
13567
13630
|
get host() { return getElement(this); }
|
|
13568
13631
|
static get watchers() { return {
|
|
@@ -13592,7 +13655,7 @@ class Grid {
|
|
|
13592
13655
|
registerInstance(this, hostRef);
|
|
13593
13656
|
}
|
|
13594
13657
|
render() {
|
|
13595
|
-
return (hAsync("slot", { key: '
|
|
13658
|
+
return (hAsync("slot", { key: '481ff02c6cce323a2546465805705e98c6ad0e98' }));
|
|
13596
13659
|
}
|
|
13597
13660
|
static get style() { return RoadGridStyle0; }
|
|
13598
13661
|
static get cmpMeta() { return {
|
|
@@ -13920,7 +13983,7 @@ class Img {
|
|
|
13920
13983
|
}
|
|
13921
13984
|
render() {
|
|
13922
13985
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
13923
|
-
return (hAsync(Host, { key: '
|
|
13986
|
+
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" })));
|
|
13924
13987
|
}
|
|
13925
13988
|
get el() { return getElement(this); }
|
|
13926
13989
|
static get watchers() { return {
|
|
@@ -31370,11 +31433,11 @@ class Input {
|
|
|
31370
31433
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
31371
31434
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31372
31435
|
const isValidClass = this.success == true ? 'is-valid' : '';
|
|
31373
|
-
return (hAsync(Host, { key: '
|
|
31436
|
+
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)
|
|
31374
31437
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
31375
31438
|
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(), " ")))
|
|
31376
31439
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
31377
|
-
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: '
|
|
31440
|
+
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" })));
|
|
31378
31441
|
}
|
|
31379
31442
|
static get watchers() { return {
|
|
31380
31443
|
"debounce": ["debounceChanged"],
|
|
@@ -31425,7 +31488,7 @@ class Input {
|
|
|
31425
31488
|
}
|
|
31426
31489
|
let inputIds = 0;
|
|
31427
31490
|
|
|
31428
|
-
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
|
|
31491
|
+
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)}";
|
|
31429
31492
|
var RoadInputGroupStyle0 = inputGroupCss;
|
|
31430
31493
|
|
|
31431
31494
|
/**
|
|
@@ -31455,32 +31518,8 @@ class InputGroup {
|
|
|
31455
31518
|
}
|
|
31456
31519
|
});
|
|
31457
31520
|
}
|
|
31458
|
-
/** Vérifie et applique le `text-indent` si `prepend` est présent */
|
|
31459
|
-
updateIndentation() {
|
|
31460
|
-
const hasPrepend = !!this.el.querySelector('[slot="prepend"]');
|
|
31461
|
-
const formControl = this.el.querySelector('.form-control');
|
|
31462
|
-
const formLabel = this.el.querySelector('.form-label');
|
|
31463
|
-
const formSelect = this.el.querySelector('.form-select');
|
|
31464
|
-
const formSelectLabel = this.el.querySelector('.form-select-label');
|
|
31465
|
-
if (formControl) {
|
|
31466
|
-
formControl.style.textIndent = hasPrepend ? '2.1rem' : '';
|
|
31467
|
-
}
|
|
31468
|
-
if (formSelect) {
|
|
31469
|
-
formSelect.style.textIndent = hasPrepend ? '2.1rem' : '';
|
|
31470
|
-
}
|
|
31471
|
-
if (formLabel) {
|
|
31472
|
-
formLabel.style.textIndent = hasPrepend ? '2.8rem' : '';
|
|
31473
|
-
}
|
|
31474
|
-
if (formSelectLabel) {
|
|
31475
|
-
formSelectLabel.style.textIndent = hasPrepend ? '2.8rem' : '';
|
|
31476
|
-
}
|
|
31477
|
-
}
|
|
31478
31521
|
componentDidLoad() {
|
|
31479
31522
|
this.updateDisabledState(this.disabled);
|
|
31480
|
-
this.updateIndentation(); // Appliquer les styles au montage
|
|
31481
|
-
// Observer les mutations (au cas où des éléments sont ajoutés dynamiquement)
|
|
31482
|
-
const observer = new MutationObserver(() => this.updateIndentation());
|
|
31483
|
-
observer.observe(this.el, { childList: true, subtree: true });
|
|
31484
31523
|
}
|
|
31485
31524
|
render() {
|
|
31486
31525
|
const errorClass = this.el.querySelector('road-input[error]') ? 'is-invalid' : '';
|
|
@@ -31488,7 +31527,7 @@ class InputGroup {
|
|
|
31488
31527
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
31489
31528
|
: '';
|
|
31490
31529
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
31491
|
-
return (hAsync("div", { key: '
|
|
31530
|
+
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" }))));
|
|
31492
31531
|
}
|
|
31493
31532
|
get el() { return getElement(this); }
|
|
31494
31533
|
static get watchers() { return {
|
|
@@ -31568,13 +31607,13 @@ class Item {
|
|
|
31568
31607
|
target,
|
|
31569
31608
|
};
|
|
31570
31609
|
const showDetail = detail !== undefined && detail;
|
|
31571
|
-
return (hAsync(Host, { key: '
|
|
31610
|
+
return (hAsync(Host, { key: 'ccd1ac1ac2751e8085ae02bb5b6b04e4778321b5', "aria-disabled": disabled ? 'true' : null, class: {
|
|
31572
31611
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
31573
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
31612
|
+
} }, hAsync(TagType, Object.assign({ key: 'beec26f56f8ec5bd1f4b20d4fb8127d27c05f6a9' }, attrs, { class: {
|
|
31574
31613
|
'item-native': true,
|
|
31575
31614
|
'item-active': this.active,
|
|
31576
31615
|
[`layout-${layout}`]: layout !== undefined,
|
|
31577
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
31616
|
+
}, 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" })))));
|
|
31578
31617
|
}
|
|
31579
31618
|
get el() { return getElement(this); }
|
|
31580
31619
|
static get style() { return RoadItemStyle0; }
|
|
@@ -31615,7 +31654,7 @@ class Label {
|
|
|
31615
31654
|
registerInstance(this, hostRef);
|
|
31616
31655
|
}
|
|
31617
31656
|
render() {
|
|
31618
|
-
return (hAsync("slot", { key: '
|
|
31657
|
+
return (hAsync("slot", { key: '7676729c25af1f6fdd2d421926efb47074382fb8' }));
|
|
31619
31658
|
}
|
|
31620
31659
|
static get style() { return RoadLabelStyle0; }
|
|
31621
31660
|
static get cmpMeta() { return {
|
|
@@ -31640,9 +31679,9 @@ class List {
|
|
|
31640
31679
|
}
|
|
31641
31680
|
render() {
|
|
31642
31681
|
const { lines } = this;
|
|
31643
|
-
return (hAsync(Host, { key: '
|
|
31682
|
+
return (hAsync(Host, { key: '7d0cd12eaa7420a9576b3adf922f686888177d11', class: {
|
|
31644
31683
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
31645
|
-
} }, hAsync("slot", { key: '
|
|
31684
|
+
} }, hAsync("slot", { key: '5efe956c54bfd4713250c6e2c0afaa7a078cb691' })));
|
|
31646
31685
|
}
|
|
31647
31686
|
static get style() { return RoadListStyle0; }
|
|
31648
31687
|
static get cmpMeta() { return {
|
|
@@ -31727,7 +31766,7 @@ class Modal {
|
|
|
31727
31766
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
31728
31767
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
31729
31768
|
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" })) : '';
|
|
31730
|
-
return (hAsync(Host, { key: '
|
|
31769
|
+
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' }))))));
|
|
31731
31770
|
}
|
|
31732
31771
|
get el() { return getElement(this); }
|
|
31733
31772
|
static get style() { return RoadModalStyle0; }
|
|
@@ -31778,7 +31817,7 @@ class Navbar {
|
|
|
31778
31817
|
this.selectedTabChanged();
|
|
31779
31818
|
}
|
|
31780
31819
|
render() {
|
|
31781
|
-
return (hAsync(Host, { key: '
|
|
31820
|
+
return (hAsync(Host, { key: '3c4b66461802de4f15cfffaddcd27a4672f5b575', role: "menubar" }, hAsync("slot", { key: '56e8f8fc09788ff82386c6cef50be1b984d35a87' })));
|
|
31782
31821
|
}
|
|
31783
31822
|
static get watchers() { return {
|
|
31784
31823
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -31864,11 +31903,11 @@ class NavbarItem$1 {
|
|
|
31864
31903
|
rel,
|
|
31865
31904
|
target,
|
|
31866
31905
|
};
|
|
31867
|
-
return (hAsync(Host, { key: '
|
|
31906
|
+
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: {
|
|
31868
31907
|
'navbar-item': true,
|
|
31869
31908
|
'tab-selected': selected,
|
|
31870
31909
|
'tab-disabled': disabled,
|
|
31871
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
31910
|
+
} }, 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' })))));
|
|
31872
31911
|
}
|
|
31873
31912
|
get el() { return getElement(this); }
|
|
31874
31913
|
static get watchers() { return {
|
|
@@ -31961,11 +32000,11 @@ class NavbarItem {
|
|
|
31961
32000
|
rel,
|
|
31962
32001
|
target,
|
|
31963
32002
|
};
|
|
31964
|
-
return (hAsync(Host, { key: '
|
|
32003
|
+
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: {
|
|
31965
32004
|
'navbar-item': true,
|
|
31966
32005
|
'tab-selected': selected,
|
|
31967
32006
|
'tab-disabled': disabled,
|
|
31968
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
32007
|
+
} }, 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' })))));
|
|
31969
32008
|
}
|
|
31970
32009
|
get el() { return getElement(this); }
|
|
31971
32010
|
static get watchers() { return {
|
|
@@ -32024,7 +32063,7 @@ class NavbarV2 {
|
|
|
32024
32063
|
}
|
|
32025
32064
|
render() {
|
|
32026
32065
|
const compactClass = this.compact ? 'compact' : '';
|
|
32027
|
-
return (hAsync(Host, { key: '
|
|
32066
|
+
return (hAsync(Host, { key: 'd8338b69a6dbdd71d1ca39e5ea5fff4c6b0e6de9', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: '59afd9379182b345858fd641aba05177fd8d71de' })));
|
|
32028
32067
|
}
|
|
32029
32068
|
static get watchers() { return {
|
|
32030
32069
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -32147,10 +32186,10 @@ class PlateNumber {
|
|
|
32147
32186
|
render() {
|
|
32148
32187
|
const value = this.getValue();
|
|
32149
32188
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
32150
|
-
return (hAsync("road-input-group", { key: '
|
|
32189
|
+
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
|
|
32151
32190
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
32152
32191
|
? (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 }))
|
|
32153
|
-
: (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: '
|
|
32192
|
+
: (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" }))));
|
|
32154
32193
|
}
|
|
32155
32194
|
static get watchers() { return {
|
|
32156
32195
|
"value": ["valueChanged"]
|
|
@@ -32232,7 +32271,7 @@ class ProgressBar {
|
|
|
32232
32271
|
let step = Math.ceil((this.value / 100) * this.numbersteps);
|
|
32233
32272
|
step = Math.min(step, this.numbersteps);
|
|
32234
32273
|
step = Math.max(step, 0);
|
|
32235
|
-
return (hAsync(Host, { key: '
|
|
32274
|
+
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)))));
|
|
32236
32275
|
}
|
|
32237
32276
|
static get style() { return RoadProgressStyle0; }
|
|
32238
32277
|
static get cmpMeta() { return {
|
|
@@ -32274,7 +32313,7 @@ class ProgressIndicatorVertical {
|
|
|
32274
32313
|
registerInstance(this, hostRef);
|
|
32275
32314
|
}
|
|
32276
32315
|
render() {
|
|
32277
|
-
return (hAsync(Host, { key: '
|
|
32316
|
+
return (hAsync(Host, { key: '4762ffd8a4fbf70b85dd9d21a370006e9c9f1dde' }, hAsync("nav", { key: 'b5582b03ea6525acab65853e3d816b96d7e1fbfc' }, hAsync("ul", { key: '3e368e7204eb13839ceac853dbdbe5037c8c11a0' }, hAsync("li", { key: '3304843de4f5fdd4b66dd4539b536bc87b506187' }, hAsync("slot", { key: 'bbbb9861ece279921924dc9fc04b8a9581783071' }))))));
|
|
32278
32317
|
}
|
|
32279
32318
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
32280
32319
|
static get cmpMeta() { return {
|
|
@@ -32298,7 +32337,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
32298
32337
|
registerInstance(this, hostRef);
|
|
32299
32338
|
}
|
|
32300
32339
|
render() {
|
|
32301
|
-
return (hAsync(Host, { key: '
|
|
32340
|
+
return (hAsync(Host, { key: '01e909268830e3729f771371fea8e22672c1f81f' }, hAsync("slot", { key: 'd613840f69ca8d4c9b0ae8e1d53b01acc027bcee' })));
|
|
32302
32341
|
}
|
|
32303
32342
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
32304
32343
|
static get cmpMeta() { return {
|
|
@@ -32327,7 +32366,7 @@ class ProgressTracker {
|
|
|
32327
32366
|
registerInstance(this, hostRef);
|
|
32328
32367
|
}
|
|
32329
32368
|
render() {
|
|
32330
|
-
return (hAsync(Host, { key: '
|
|
32369
|
+
return (hAsync(Host, { key: 'd90d4f149d2d2565b50258fa240ffe48510726d2' }, hAsync("nav", { key: '5b3a49448b26a10f6f9b237f91d8ca965744b62e' }, hAsync("ul", { key: '424fd565e2ef9fd7fa59196d8719563c6b6e8e61' }, hAsync("li", { key: '917ec2b3312c4569b0a8e3e5a1989116e815406d' }, hAsync("slot", { key: 'c0b16be12f3732882cee034adb66ce8aa78664f1' }))))));
|
|
32331
32370
|
}
|
|
32332
32371
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
32333
32372
|
static get cmpMeta() { return {
|
|
@@ -32359,7 +32398,7 @@ class ProgressTrackerItem {
|
|
|
32359
32398
|
registerInstance(this, hostRef);
|
|
32360
32399
|
}
|
|
32361
32400
|
render() {
|
|
32362
|
-
return (hAsync(Host, { key: '
|
|
32401
|
+
return (hAsync(Host, { key: 'd7232f28ef30258e59fff790e0a07677eacd13a1' }, hAsync("slot", { key: 'cf7e6d62701374235c58ef97f340b99d1b648847' })));
|
|
32363
32402
|
}
|
|
32364
32403
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
32365
32404
|
static get cmpMeta() { return {
|
|
@@ -32452,7 +32491,7 @@ class Radio {
|
|
|
32452
32491
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
32453
32492
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
32454
32493
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32455
|
-
return (hAsync(Host, { key: '
|
|
32494
|
+
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))));
|
|
32456
32495
|
}
|
|
32457
32496
|
get el() { return getElement(this); }
|
|
32458
32497
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -32536,7 +32575,7 @@ class RadioCard {
|
|
|
32536
32575
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
32537
32576
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
32538
32577
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
32539
|
-
return (hAsync(Host, { key: '
|
|
32578
|
+
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' }))))));
|
|
32540
32579
|
}
|
|
32541
32580
|
get el() { return getElement(this); }
|
|
32542
32581
|
static get style() { return RoadRadioCardStyle0; }
|
|
@@ -32633,7 +32672,7 @@ class RadioGroup {
|
|
|
32633
32672
|
render() {
|
|
32634
32673
|
const labelId = `${this.radioGroupId}-label`;
|
|
32635
32674
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32636
|
-
return (hAsync(Host, { key: '
|
|
32675
|
+
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)));
|
|
32637
32676
|
}
|
|
32638
32677
|
get el() { return getElement(this); }
|
|
32639
32678
|
static get watchers() { return {
|
|
@@ -32763,14 +32802,14 @@ class Range {
|
|
|
32763
32802
|
render() {
|
|
32764
32803
|
const value = this.getValue();
|
|
32765
32804
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
32766
|
-
return (hAsync(Host, { key: '
|
|
32805
|
+
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: {
|
|
32767
32806
|
"--min": this.min,
|
|
32768
32807
|
"--max": this.max,
|
|
32769
32808
|
"--value": value,
|
|
32770
32809
|
"--background-color": this.disabled
|
|
32771
32810
|
? "var(--road-surface-disabled)"
|
|
32772
32811
|
: "initial",
|
|
32773
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
32812
|
+
} }, 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" })))));
|
|
32774
32813
|
}
|
|
32775
32814
|
get el() { return getElement(this); }
|
|
32776
32815
|
static get watchers() { return {
|
|
@@ -32839,7 +32878,7 @@ class Rating {
|
|
|
32839
32878
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
32840
32879
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
32841
32880
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
32842
|
-
return (hAsync(Host, { key: '
|
|
32881
|
+
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}`, ")")));
|
|
32843
32882
|
}
|
|
32844
32883
|
static get style() { return RoadRatingStyle0; }
|
|
32845
32884
|
static get cmpMeta() { return {
|
|
@@ -34382,9 +34421,9 @@ class RoadPhoneNumberInput {
|
|
|
34382
34421
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
34383
34422
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
34384
34423
|
const sizes = 'xl';
|
|
34385
|
-
return (hAsync(Host, { key: '
|
|
34424
|
+
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
|
|
34386
34425
|
&& this.errorMessage !== ''
|
|
34387
|
-
&& hAsync("p", { key: '
|
|
34426
|
+
&& 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)));
|
|
34388
34427
|
}
|
|
34389
34428
|
get el() { return getElement(this); }
|
|
34390
34429
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
@@ -34503,7 +34542,7 @@ class RoadTimeRangePicker {
|
|
|
34503
34542
|
return { start: this.start, end: this.end };
|
|
34504
34543
|
}
|
|
34505
34544
|
render() {
|
|
34506
|
-
return (hAsync(Host, { key: '
|
|
34545
|
+
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)));
|
|
34507
34546
|
}
|
|
34508
34547
|
get hostEl() { return getElement(this); }
|
|
34509
34548
|
static get style() { return RoadTimeRangePickerStyle0; }
|
|
@@ -34539,7 +34578,7 @@ class Row {
|
|
|
34539
34578
|
registerInstance(this, hostRef);
|
|
34540
34579
|
}
|
|
34541
34580
|
render() {
|
|
34542
|
-
return (hAsync(Host, { key: '
|
|
34581
|
+
return (hAsync(Host, { key: '69fff326414139d63af822fff7704e092100924e' }, hAsync("slot", { key: '31bacdec0c2661d6bf417dc79693f8f6e7b5276c' })));
|
|
34543
34582
|
}
|
|
34544
34583
|
static get style() { return RoadRowStyle0; }
|
|
34545
34584
|
static get cmpMeta() { return {
|
|
@@ -34611,10 +34650,10 @@ class SegmentedButton {
|
|
|
34611
34650
|
render() {
|
|
34612
34651
|
const { tabIndex, selected, tab } = this;
|
|
34613
34652
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
34614
|
-
return (hAsync(Host, { key: '
|
|
34653
|
+
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: {
|
|
34615
34654
|
'tab-selected': selected,
|
|
34616
34655
|
[`${sizeClass}`]: true,
|
|
34617
|
-
} }, hAsync("span", { key: '
|
|
34656
|
+
} }, 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' })))));
|
|
34618
34657
|
}
|
|
34619
34658
|
get el() { return getElement(this); }
|
|
34620
34659
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -34735,7 +34774,7 @@ class Select {
|
|
|
34735
34774
|
const labelId = this.selectId + '-label';
|
|
34736
34775
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
34737
34776
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
34738
|
-
return (hAsync(Host, { key: '
|
|
34777
|
+
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)));
|
|
34739
34778
|
}
|
|
34740
34779
|
static get watchers() { return {
|
|
34741
34780
|
"value": ["valueChanged"]
|
|
@@ -36729,7 +36768,7 @@ class SelectFilter {
|
|
|
36729
36768
|
const options = this.filteredOptions;
|
|
36730
36769
|
const isActive = this.isActive ? 'true' : 'false';
|
|
36731
36770
|
const notActive = this.isActive ? '' : 'not-active';
|
|
36732
|
-
return (hAsync(Host, { key: '
|
|
36771
|
+
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 })))))))));
|
|
36733
36772
|
}
|
|
36734
36773
|
get el() { return getElement(this); }
|
|
36735
36774
|
static get watchers() { return {
|
|
@@ -36765,7 +36804,7 @@ class Skeleton {
|
|
|
36765
36804
|
registerInstance(this, hostRef);
|
|
36766
36805
|
}
|
|
36767
36806
|
render() {
|
|
36768
|
-
return (hAsync("span", { key: '
|
|
36807
|
+
return (hAsync("span", { key: 'ec2419ddcf62a6b2aeedd68ec0c1eb8e430f8185' }, "\u00A0"));
|
|
36769
36808
|
}
|
|
36770
36809
|
static get style() { return RoadSkeletonStyle0; }
|
|
36771
36810
|
static get cmpMeta() { return {
|
|
@@ -36796,7 +36835,7 @@ class Spinner {
|
|
|
36796
36835
|
render() {
|
|
36797
36836
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
36798
36837
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
36799
|
-
return (hAsync("svg", { key: '
|
|
36838
|
+
return (hAsync("svg", { key: 'fc286db53f3b74155c3221474abb9472d774e89d', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: 'a40ef2366ff12fe69486f3db0d92b7d49affd370', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
36800
36839
|
}
|
|
36801
36840
|
static get style() { return RoadSpinnerStyle0; }
|
|
36802
36841
|
static get cmpMeta() { return {
|
|
@@ -36812,6 +36851,46 @@ class Spinner {
|
|
|
36812
36851
|
}; }
|
|
36813
36852
|
}
|
|
36814
36853
|
|
|
36854
|
+
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)}";
|
|
36855
|
+
var RoadStatusChipStyle0 = statusChipCss;
|
|
36856
|
+
|
|
36857
|
+
/**
|
|
36858
|
+
* @slot - Content of the chip.
|
|
36859
|
+
*/
|
|
36860
|
+
class StatusChip {
|
|
36861
|
+
constructor(hostRef) {
|
|
36862
|
+
registerInstance(this, hostRef);
|
|
36863
|
+
this.chipClick = createEvent(this, "chipClick", 7);
|
|
36864
|
+
/**
|
|
36865
|
+
* The chip size.
|
|
36866
|
+
*/
|
|
36867
|
+
this.size = 'sm';
|
|
36868
|
+
this.onActivate = () => {
|
|
36869
|
+
this.chipClick.emit();
|
|
36870
|
+
};
|
|
36871
|
+
this.onKeyDown = (e) => {
|
|
36872
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
36873
|
+
e.preventDefault();
|
|
36874
|
+
this.onActivate();
|
|
36875
|
+
}
|
|
36876
|
+
};
|
|
36877
|
+
}
|
|
36878
|
+
render() {
|
|
36879
|
+
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' }))));
|
|
36880
|
+
}
|
|
36881
|
+
static get style() { return RoadStatusChipStyle0; }
|
|
36882
|
+
static get cmpMeta() { return {
|
|
36883
|
+
"$flags$": 9,
|
|
36884
|
+
"$tagName$": "road-status-chip",
|
|
36885
|
+
"$members$": {
|
|
36886
|
+
"size": [1]
|
|
36887
|
+
},
|
|
36888
|
+
"$listeners$": undefined,
|
|
36889
|
+
"$lazyBundleId$": "-",
|
|
36890
|
+
"$attrsToReflect$": []
|
|
36891
|
+
}; }
|
|
36892
|
+
}
|
|
36893
|
+
|
|
36815
36894
|
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)}";
|
|
36816
36895
|
var RoadProgressIndicatorHorizontalStyle0 = progressIndicatorHorizontalCss;
|
|
36817
36896
|
|
|
@@ -36846,7 +36925,7 @@ class Stepper {
|
|
|
36846
36925
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
36847
36926
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
36848
36927
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
36849
|
-
return (hAsync(Host, { key: '
|
|
36928
|
+
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" }))))))));
|
|
36850
36929
|
}
|
|
36851
36930
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
36852
36931
|
static get cmpMeta() { return {
|
|
@@ -36948,11 +37027,11 @@ class Switch {
|
|
|
36948
37027
|
}
|
|
36949
37028
|
render() {
|
|
36950
37029
|
const labelId = this.switchId + '-label';
|
|
36951
|
-
const textLabel = hAsync("label", { key: '
|
|
37030
|
+
const textLabel = hAsync("label", { key: '22fa2b6f8be006647d123f0fc8eb077afad13aca', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
36952
37031
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
36953
37032
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
36954
37033
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
36955
|
-
return (hAsync(Host, { key: '
|
|
37034
|
+
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)));
|
|
36956
37035
|
}
|
|
36957
37036
|
static get watchers() { return {
|
|
36958
37037
|
"checked": ["checkedChanged"]
|
|
@@ -37007,9 +37086,9 @@ class Tab {
|
|
|
37007
37086
|
}
|
|
37008
37087
|
render() {
|
|
37009
37088
|
const { tab, active } = this;
|
|
37010
|
-
return (hAsync(Host, { key: '
|
|
37089
|
+
return (hAsync(Host, { key: '1f2746fc33e9b879bc8558f18685bdf2f243fdf1', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
37011
37090
|
'tab-hidden': !active,
|
|
37012
|
-
} }, hAsync("slot", { key: '
|
|
37091
|
+
} }, hAsync("slot", { key: '38d4df4049aa57b8160855d33990f1b2db21d259' })));
|
|
37013
37092
|
}
|
|
37014
37093
|
get el() { return getElement(this); }
|
|
37015
37094
|
static get style() { return RoadTabStyle0; }
|
|
@@ -37069,11 +37148,11 @@ class TabBar {
|
|
|
37069
37148
|
}
|
|
37070
37149
|
render() {
|
|
37071
37150
|
const { expand, center, secondary } = this;
|
|
37072
|
-
return (hAsync(Host, { key: '
|
|
37151
|
+
return (hAsync(Host, { key: 'c44503ddd4b988d4c35891794c92998299811acb', role: "tablist", class: {
|
|
37073
37152
|
'tab-expand': expand,
|
|
37074
37153
|
'tab-center': center,
|
|
37075
37154
|
'tab-secondary': secondary,
|
|
37076
|
-
} }, hAsync("slot", { key: '
|
|
37155
|
+
} }, hAsync("slot", { key: '356756006ef297ea0933437004f703dc8eccacf9' })));
|
|
37077
37156
|
}
|
|
37078
37157
|
get el() { return getElement(this); }
|
|
37079
37158
|
static get watchers() { return {
|
|
@@ -37095,7 +37174,7 @@ class TabBar {
|
|
|
37095
37174
|
}; }
|
|
37096
37175
|
}
|
|
37097
37176
|
|
|
37098
|
-
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
|
|
37177
|
+
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}";
|
|
37099
37178
|
var RoadTabButtonStyle0 = tabButtonCss;
|
|
37100
37179
|
|
|
37101
37180
|
/**
|
|
@@ -37173,7 +37252,7 @@ class TabButton {
|
|
|
37173
37252
|
rel,
|
|
37174
37253
|
target,
|
|
37175
37254
|
};
|
|
37176
|
-
return (hAsync(Host, { key: '
|
|
37255
|
+
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: {
|
|
37177
37256
|
'tab-selected': selected,
|
|
37178
37257
|
'tab-has-label': hasLabel,
|
|
37179
37258
|
'tab-has-icon': hasIcon,
|
|
@@ -37181,7 +37260,7 @@ class TabButton {
|
|
|
37181
37260
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
37182
37261
|
[`tab-layout-${layout}`]: true,
|
|
37183
37262
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
37184
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
37263
|
+
} }, 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' })))));
|
|
37185
37264
|
}
|
|
37186
37265
|
get el() { return getElement(this); }
|
|
37187
37266
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -37215,7 +37294,7 @@ class Table {
|
|
|
37215
37294
|
registerInstance(this, hostRef);
|
|
37216
37295
|
}
|
|
37217
37296
|
render() {
|
|
37218
|
-
return (hAsync("slot", { key: '
|
|
37297
|
+
return (hAsync("slot", { key: 'df60a444f486b688b982684f727e28468022b801' }));
|
|
37219
37298
|
}
|
|
37220
37299
|
static get style() { return RoadTableStyle0; }
|
|
37221
37300
|
static get cmpMeta() { return {
|
|
@@ -37323,7 +37402,7 @@ class Tabs$1 {
|
|
|
37323
37402
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37324
37403
|
}
|
|
37325
37404
|
render() {
|
|
37326
|
-
return (hAsync(Host, { key: '
|
|
37405
|
+
return (hAsync(Host, { key: 'df0d2cbe2bf0647686439e58ab7e47067bb85a18', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '0181d346ee8cf63cab8eac42c8932e1f5477288f', name: "top" }), hAsync("slot", { key: 'c3c0f5c41618721ace911e149d1218b0f8412369' })));
|
|
37327
37406
|
}
|
|
37328
37407
|
get el() { return getElement(this); }
|
|
37329
37408
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -37459,7 +37538,7 @@ class Tabs {
|
|
|
37459
37538
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
37460
37539
|
}
|
|
37461
37540
|
render() {
|
|
37462
|
-
return (hAsync(Host, { key: '
|
|
37541
|
+
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' }))));
|
|
37463
37542
|
}
|
|
37464
37543
|
get el() { return getElement(this); }
|
|
37465
37544
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -37507,7 +37586,7 @@ class Tag {
|
|
|
37507
37586
|
}
|
|
37508
37587
|
render() {
|
|
37509
37588
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
37510
|
-
return (hAsync(Host, { key: '
|
|
37589
|
+
return (hAsync(Host, { key: 'e69d81ddb79dcbc736b38c9f7f0e15d5328444ee', class: `${contrastClass}` }, hAsync("slot", { key: '0dc393d2b05bb35d1d17696ea3771ad067a30962' })));
|
|
37511
37590
|
}
|
|
37512
37591
|
static get style() { return RoadTagStyle0; }
|
|
37513
37592
|
static get cmpMeta() { return {
|
|
@@ -37539,7 +37618,7 @@ class Text {
|
|
|
37539
37618
|
}
|
|
37540
37619
|
render() {
|
|
37541
37620
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
37542
|
-
return (hAsync(Host, { key: '
|
|
37621
|
+
return (hAsync(Host, { key: '0601af1046143f243308bb9923105842fe2c25ea', class: `${colorClass}` }, hAsync("slot", { key: '7aa5402a3d3bbface4a39414a5415bce1b0ac878' })));
|
|
37543
37622
|
}
|
|
37544
37623
|
static get style() { return RoadTextStyle0; }
|
|
37545
37624
|
static get cmpMeta() { return {
|
|
@@ -37649,7 +37728,7 @@ class Textarea {
|
|
|
37649
37728
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
37650
37729
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
37651
37730
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
37652
|
-
return (hAsync(Host, { key: '
|
|
37731
|
+
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)));
|
|
37653
37732
|
}
|
|
37654
37733
|
static get watchers() { return {
|
|
37655
37734
|
"value": ["valueChanged"]
|
|
@@ -37780,7 +37859,7 @@ class Toast {
|
|
|
37780
37859
|
if (this.color == 'danger') {
|
|
37781
37860
|
this.timeout = 0;
|
|
37782
37861
|
}
|
|
37783
|
-
return (hAsync(Host, { key: '
|
|
37862
|
+
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" }))));
|
|
37784
37863
|
}
|
|
37785
37864
|
static get watchers() { return {
|
|
37786
37865
|
"isOpen": ["isOpenChanged"]
|
|
@@ -37820,7 +37899,7 @@ class Toolbar {
|
|
|
37820
37899
|
}
|
|
37821
37900
|
render() {
|
|
37822
37901
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
37823
|
-
return (hAsync(Host, { key: '
|
|
37902
|
+
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" }))));
|
|
37824
37903
|
}
|
|
37825
37904
|
static get style() { return RoadToolbarStyle0; }
|
|
37826
37905
|
static get cmpMeta() { return {
|
|
@@ -37846,7 +37925,7 @@ class ToolbarAppName {
|
|
|
37846
37925
|
registerInstance(this, hostRef);
|
|
37847
37926
|
}
|
|
37848
37927
|
render() {
|
|
37849
|
-
return (hAsync("div", { key: '
|
|
37928
|
+
return (hAsync("div", { key: '865af785629a79a7448df7721885cbe25eead4f1', class: "toolbar-title-page" }, hAsync("slot", { key: 'a0778c790e42b8b54db2c5407d874d5e7924ab86' })));
|
|
37850
37929
|
}
|
|
37851
37930
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
37852
37931
|
static get cmpMeta() { return {
|
|
@@ -37870,7 +37949,7 @@ class ToolbarTitle {
|
|
|
37870
37949
|
registerInstance(this, hostRef);
|
|
37871
37950
|
}
|
|
37872
37951
|
render() {
|
|
37873
|
-
return (hAsync("div", { key: '
|
|
37952
|
+
return (hAsync("div", { key: '67ddb57f9717084f519746e8f19fe61f1ccf9641', class: "toolbar-title" }, hAsync("slot", { key: '6bd026b79603afd9e96a09b4d52da882681fef50' })));
|
|
37874
37953
|
}
|
|
37875
37954
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
37876
37955
|
static get cmpMeta() { return {
|
|
@@ -37899,7 +37978,7 @@ class ToolbarV2 {
|
|
|
37899
37978
|
registerInstance(this, hostRef);
|
|
37900
37979
|
}
|
|
37901
37980
|
render() {
|
|
37902
|
-
return (hAsync(Host, { key: '
|
|
37981
|
+
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" })))));
|
|
37903
37982
|
}
|
|
37904
37983
|
static get style() { return RoadToolbarV2Style0; }
|
|
37905
37984
|
static get cmpMeta() { return {
|
|
@@ -38026,12 +38105,12 @@ class Tooltip {
|
|
|
38026
38105
|
return triggers.includes(triggerType);
|
|
38027
38106
|
}
|
|
38028
38107
|
render() {
|
|
38029
|
-
return (hAsync(Host, { key: '
|
|
38108
|
+
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
|
|
38030
38109
|
,
|
|
38031
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
38110
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: '9540439d97de9867f32349f2b37dd50242522744', "aria-describedby": this.tooltipId }), hAsync("div", { key: '72eee89fa5a31dd67ddae13f444a2ba40ab55d95', part: "tooltip", id: this.tooltipId, class: {
|
|
38032
38111
|
tooltip: true,
|
|
38033
38112
|
"tooltip-open": this.isOpen,
|
|
38034
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: '
|
|
38113
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? "true" : "false" }, this.content, hAsync("slot", { key: '974f5455db23669fd1dbc9b4c15a8919ccd0b751', name: "tooltip-content" }))));
|
|
38035
38114
|
}
|
|
38036
38115
|
get el() { return getElement(this); }
|
|
38037
38116
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -38123,11 +38202,11 @@ class toggle {
|
|
|
38123
38202
|
}
|
|
38124
38203
|
render() {
|
|
38125
38204
|
const labelId = this.toggleId + '-label';
|
|
38126
|
-
const textLabel = hAsync("label", { key: '
|
|
38205
|
+
const textLabel = hAsync("label", { key: '8cc1a41d36f0201ba392d57fc2424aa3026f5b9e', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
38127
38206
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
38128
38207
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
38129
38208
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
38130
|
-
return (hAsync(Host, { key: '
|
|
38209
|
+
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)));
|
|
38131
38210
|
}
|
|
38132
38211
|
static get watchers() { return {
|
|
38133
38212
|
"checked": ["checkedChanged"]
|
|
@@ -38161,6 +38240,7 @@ registerComponents([
|
|
|
38161
38240
|
Avatar,
|
|
38162
38241
|
Badge,
|
|
38163
38242
|
Banner,
|
|
38243
|
+
Button$2,
|
|
38164
38244
|
Button$1,
|
|
38165
38245
|
Button,
|
|
38166
38246
|
ButtonBar,
|
|
@@ -38168,7 +38248,6 @@ registerComponents([
|
|
|
38168
38248
|
Carousel,
|
|
38169
38249
|
CarouselItem,
|
|
38170
38250
|
Checkbox,
|
|
38171
|
-
Chip$1,
|
|
38172
38251
|
Chip,
|
|
38173
38252
|
Col,
|
|
38174
38253
|
Collapse,
|
|
@@ -38217,6 +38296,7 @@ registerComponents([
|
|
|
38217
38296
|
SelectFilter,
|
|
38218
38297
|
Skeleton,
|
|
38219
38298
|
Spinner,
|
|
38299
|
+
StatusChip,
|
|
38220
38300
|
Stepper,
|
|
38221
38301
|
Switch,
|
|
38222
38302
|
Tab,
|