@roadtrip/components 3.39.2 → 3.40.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/app-globals-b7c6ddf0.js.map +1 -1
- package/dist/cjs/{index-bf8a763e.js → index-0e4df560.js} +3 -1
- package/dist/cjs/index-0e4df560.js.map +1 -0
- package/dist/cjs/index-fee0103c.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +3 -3
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-banner.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +1 -1
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- package/dist/cjs/road-select.cjs.entry.js +2 -2
- package/dist/cjs/road-select.cjs.entry.js.map +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 +28 -0
- package/dist/cjs/road-status-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-time-range-picker.cjs.entry.js +100 -0
- package/dist/cjs/road-time-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/road-toast.cjs.entry.js +2 -2
- 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 +2 -0
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/patterns/link.stories.js +5 -0
- package/dist/collection/components/select/select.css +9 -0
- package/dist/collection/components/select/select.js +20 -1
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/select.stories.js +10 -0
- 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 +94 -0
- package/dist/collection/components/status-chip/status-chip.js +54 -0
- package/dist/collection/components/status-chip/status-chip.js.map +1 -0
- package/dist/collection/components/status-chip/status-chip.stories.js +48 -0
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/time-range-picker/time-range-picker.css +43 -0
- package/dist/collection/components/time-range-picker/time-range-picker.js +362 -0
- package/dist/collection/components/time-range-picker/time-range-picker.js.map +1 -0
- package/dist/collection/components/time-range-picker/time-range-picker.stories.js +76 -0
- 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/esm/app-globals-05a7fd2f.js.map +1 -1
- package/dist/esm/{index-f1358629.js → index-6de77b28.js} +3 -2
- package/dist/esm/index-6de77b28.js.map +1 -0
- package/dist/esm/index-8dc34f94.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-accordion.entry.js +1 -1
- package/dist/esm/road-badge_14.entry.js +3 -3
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-banner.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- package/dist/esm/road-range.entry.js +1 -1
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- package/dist/esm/road-select.entry.js +2 -2
- package/dist/esm/road-select.entry.js.map +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 +24 -0
- package/dist/esm/road-status-chip.entry.js.map +1 -0
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +2 -2
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-time-range-picker.entry.js +96 -0
- package/dist/esm/road-time-range-picker.entry.js.map +1 -0
- package/dist/esm/road-toast.entry.js +2 -2
- 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 +172 -79
- package/dist/roadtrip/{p-727b8192.entry.js → p-017a76a9.entry.js} +3 -3
- package/dist/roadtrip/{p-727b8192.entry.js.map → p-017a76a9.entry.js.map} +1 -1
- package/dist/roadtrip/p-06bfef98.js.map +1 -1
- package/dist/roadtrip/{p-4c3c1480.entry.js → p-111df7a1.entry.js} +2 -2
- package/dist/roadtrip/{p-cfe1ebe3.entry.js → p-1352bc34.entry.js} +2 -2
- package/dist/roadtrip/{p-ad5bbf7b.entry.js → p-21adfb3f.entry.js} +2 -2
- package/dist/roadtrip/{p-3b05eb04.entry.js → p-2757cbd1.entry.js} +2 -2
- package/dist/roadtrip/{p-8405c529.entry.js → p-29485fb3.entry.js} +2 -2
- package/dist/roadtrip/p-2ae9b559.entry.js +2 -0
- package/dist/roadtrip/{p-1cce4f29.entry.js.map → p-2ae9b559.entry.js.map} +1 -1
- package/dist/roadtrip/{p-c8639b33.entry.js → p-2ff1292b.entry.js} +2 -2
- package/dist/roadtrip/{p-bfca0abd.entry.js → p-324522a1.entry.js} +2 -2
- package/dist/roadtrip/p-4401f218.entry.js +2 -0
- package/dist/roadtrip/p-4401f218.entry.js.map +1 -0
- package/dist/roadtrip/{p-773d810b.entry.js → p-4f1d3834.entry.js} +2 -2
- package/dist/roadtrip/p-55a946f4.js +2 -0
- package/dist/roadtrip/p-55a946f4.js.map +1 -0
- package/dist/roadtrip/{p-3e076a57.entry.js → p-58c773c3.entry.js} +2 -2
- package/dist/roadtrip/{p-a065e029.entry.js → p-6020b36a.entry.js} +2 -2
- package/dist/roadtrip/{p-a426ec75.entry.js → p-651105d3.entry.js} +2 -2
- package/dist/roadtrip/{p-47c44b2b.entry.js → p-6eb30876.entry.js} +2 -2
- package/dist/roadtrip/{p-05d0f91d.entry.js → p-71ea3c01.entry.js} +2 -2
- package/dist/roadtrip/{p-455e929c.entry.js → p-71fe2f8e.entry.js} +2 -2
- package/dist/roadtrip/p-74b17bd6.entry.js +2 -0
- package/dist/roadtrip/p-74b17bd6.entry.js.map +1 -0
- package/dist/roadtrip/{p-7ff27d65.entry.js → p-824b4a68.entry.js} +2 -2
- package/dist/roadtrip/{p-7dc95335.entry.js → p-83ea3a4e.entry.js} +2 -2
- package/dist/roadtrip/{p-ed4c84c4.entry.js → p-a4aa3628.entry.js} +2 -2
- package/dist/roadtrip/{p-713db434.entry.js → p-a4e4986d.entry.js} +2 -2
- package/dist/roadtrip/p-bb7583ee.entry.js +2 -0
- package/dist/roadtrip/{p-c75d28ae.entry.js → p-c1f1efd9.entry.js} +2 -2
- package/dist/roadtrip/{p-dab34668.entry.js → p-cd0c64cb.entry.js} +2 -2
- package/dist/roadtrip/{p-1fe92473.entry.js → p-db5107c4.entry.js} +2 -2
- package/dist/roadtrip/{p-64d67d81.entry.js → p-df353cb6.entry.js} +2 -2
- package/dist/roadtrip/{p-233b3f06.entry.js → p-df4cf8bb.entry.js} +2 -2
- package/dist/roadtrip/{p-18c2b855.entry.js → p-ea7ad722.entry.js} +2 -2
- package/dist/roadtrip/{p-6c43a952.entry.js → p-fbbe77e0.entry.js} +2 -2
- package/dist/roadtrip/{p-f293472d.entry.js → p-fd19056c.entry.js} +2 -2
- package/dist/roadtrip/{p-0c3acb06.entry.js → p-fef9b54c.entry.js} +2 -2
- package/dist/roadtrip/p-fef9b54c.entry.js.map +1 -0
- 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/select/select.d.ts +4 -0
- package/dist/types/components/status-chip/status-chip.d.ts +11 -0
- package/dist/types/components/time-range-picker/time-range-picker.d.ts +57 -0
- package/dist/types/components.d.ts +143 -0
- package/hydrate/index.js +249 -102
- package/hydrate/index.mjs +249 -102
- package/package.json +4 -4
- package/dist/cjs/index-bf8a763e.js.map +0 -1
- package/dist/esm/index-f1358629.js.map +0 -1
- package/dist/roadtrip/p-0c3acb06.entry.js.map +0 -1
- package/dist/roadtrip/p-1cce4f29.entry.js +0 -2
- package/dist/roadtrip/p-6d7895b7.entry.js +0 -2
- package/dist/roadtrip/p-db82e012.js +0 -2
- package/dist/roadtrip/p-db82e012.js.map +0 -1
- /package/dist/roadtrip/{p-4c3c1480.entry.js.map → p-111df7a1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cfe1ebe3.entry.js.map → p-1352bc34.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ad5bbf7b.entry.js.map → p-21adfb3f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3b05eb04.entry.js.map → p-2757cbd1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8405c529.entry.js.map → p-29485fb3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c8639b33.entry.js.map → p-2ff1292b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bfca0abd.entry.js.map → p-324522a1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-773d810b.entry.js.map → p-4f1d3834.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3e076a57.entry.js.map → p-58c773c3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a065e029.entry.js.map → p-6020b36a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a426ec75.entry.js.map → p-651105d3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47c44b2b.entry.js.map → p-6eb30876.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-05d0f91d.entry.js.map → p-71ea3c01.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-455e929c.entry.js.map → p-71fe2f8e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7ff27d65.entry.js.map → p-824b4a68.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7dc95335.entry.js.map → p-83ea3a4e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ed4c84c4.entry.js.map → p-a4aa3628.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-713db434.entry.js.map → p-a4e4986d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6d7895b7.entry.js.map → p-bb7583ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c75d28ae.entry.js.map → p-c1f1efd9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-dab34668.entry.js.map → p-cd0c64cb.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1fe92473.entry.js.map → p-db5107c4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-64d67d81.entry.js.map → p-df353cb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-233b3f06.entry.js.map → p-df4cf8bb.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-18c2b855.entry.js.map → p-ea7ad722.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6c43a952.entry.js.map → p-fbbe77e0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f293472d.entry.js.map → p-fd19056c.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -3251,6 +3251,7 @@ var styles$1 = /* @__PURE__ */ new Map();
|
|
|
3251
3251
|
|
|
3252
3252
|
const alertDangerOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M40.115 55.5h-15.74a4.222 4.222 0 0 1-3.005-1.245l-11.13-11.13a4.222 4.222 0 0 1-1.245-3.005V24.38a4.222 4.222 0 0 1 1.245-3l11.13-11.13a4.222 4.222 0 0 1 3.005-1.245h15.74a4.222 4.222 0 0 1 3.005 1.245l11.13 11.13a4.222 4.222 0 0 1 1.245 3v15.74a4.222 4.222 0 0 1-1.245 3.005l-11.13 11.13a4.222 4.222 0 0 1-3.005 1.245Zm-15.74-44a1.738 1.738 0 0 0-1.237.513l-11.13 11.13a1.738 1.738 0 0 0-.513 1.237v15.74a1.742 1.742 0 0 0 .513 1.238l11.13 11.129a1.738 1.738 0 0 0 1.237.513h15.74a1.738 1.738 0 0 0 1.237-.513l11.13-11.129a1.742 1.742 0 0 0 .513-1.238V24.38a1.738 1.738 0 0 0-.513-1.237l-11.13-11.13a1.738 1.738 0 0 0-1.237-.513Z"/><path d="M30.75 21.368h3v14.003h-3zm0 18.435h3v3.329h-3z"/></svg>';
|
|
3253
3253
|
const alertInfoOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M33.75 29.128h-3v14.004h3V29.128Zm0-7.76h-3v3.328h3v-3.328Z"/><path d="M32.25 55.5A23.276 23.276 0 0 1 9 32.25 23.276 23.276 0 0 1 32.25 9 23.276 23.276 0 0 1 55.5 32.25 23.276 23.276 0 0 1 32.25 55.5Zm0-44A20.774 20.774 0 0 0 11.5 32.25 20.773 20.773 0 0 0 32.25 53 20.774 20.774 0 0 0 53 32.25 20.774 20.774 0 0 0 32.25 11.5Z"/></svg>';
|
|
3254
|
+
const alertInfoSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M32.25 9A23.25 23.25 0 1 0 55.5 32.25 23.276 23.276 0 0 0 32.25 9Zm1.5 34.132h-3v-14h3v14Zm0-18.436h-3v-3.328h3v3.328Z"/></svg>';
|
|
3254
3255
|
const alertSuccessOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M32.25 55.5A23.276 23.276 0 0 1 9 32.25 23.276 23.276 0 0 1 32.25 9 23.276 23.276 0 0 1 55.5 32.25 23.276 23.276 0 0 1 32.25 55.5Zm0-44A20.774 20.774 0 0 0 11.5 32.25 20.774 20.774 0 0 0 32.25 53 20.773 20.773 0 0 0 53 32.25 20.774 20.774 0 0 0 32.25 11.5Z"/><path d="m29.53 40.779-6.964-6.963 1.768-1.768 5.2 5.2 12.637-12.64 1.768 1.768Z"/></svg>';
|
|
3255
3256
|
const alertWarningOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M34.295 23.155h-3v14.003h3V23.155Zm0 18.435h-3v3.329h3V41.59Z"/><path d="M53.334 53.074H12.256a4.206 4.206 0 0 1-3.68-2.125 4.21 4.21 0 0 1 0-4.25l20.539-35.574A4.208 4.208 0 0 1 32.795 9a4.208 4.208 0 0 1 3.681 2.125L57.015 46.7a4.21 4.21 0 0 1 0 4.25 4.208 4.208 0 0 1-3.681 2.125ZM32.795 11.5a1.73 1.73 0 0 0-1.515.875L10.741 47.95a1.734 1.734 0 0 0 0 1.75 1.734 1.734 0 0 0 1.515.875h41.078a1.733 1.733 0 0 0 1.516-.875 1.734 1.734 0 0 0 0-1.75L34.311 12.375a1.733 1.733 0 0 0-1.516-.875Z"/></svg>';
|
|
3256
3257
|
const checkWide = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="m25.59 39.75-8.34-8.34-2.84 2.82 11.18 11.18 24-24-2.82-2.82Z"/></svg>';
|
|
@@ -3310,7 +3311,7 @@ class Accordion {
|
|
|
3310
3311
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3311
3312
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3312
3313
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3313
|
-
return (hAsync("details", { key: '
|
|
3314
|
+
return (hAsync("details", { key: 'b5a223680ff4aa12832bb912143a7f5ba2fc81e9', class: `${accordionLight} ${accordionSmall} ${accordionLightSeparator}`, open: this.isOpen }, hAsync("summary", { key: '4fa194e58880bbfc8a11eacc759b7bb76915c2c5', class: "accordion-trigger", "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '50f31ed3e1f1afdbf63f9e237065ef72c461fc29', class: accordionLightHeader }, hAsync("slot", { key: 'bbec9a67037b433d5df202aefa8e69088602fbd6', name: "icon-left" }), hAsync("slot", { key: 'aefb1f8ba8b11ac3564f41f16cd9a54cd472901b', name: "header" }), hAsync("road-icon", { key: 'a6fdf091ec4c89c5d5db6a3408089e63a7169815', class: "accordion-arrow", icon: navigationChevron }))), hAsync("div", { key: '6f0722e5eb317150999e760e4c7c95a31c3fc834', class: accordionLightContent }, hAsync("slot", { key: 'fcb2899f0faf9d712da2f95059c66c99e80e9d4e' }))));
|
|
3314
3315
|
}
|
|
3315
3316
|
static get style() { return accordionCss; }
|
|
3316
3317
|
static get cmpMeta() { return {
|
|
@@ -3344,7 +3345,7 @@ class Alert {
|
|
|
3344
3345
|
}
|
|
3345
3346
|
render() {
|
|
3346
3347
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3347
|
-
return (hAsync(Host, { key: '
|
|
3348
|
+
return (hAsync(Host, { key: 'de2a63dc888a648f2983d2712d87af0aab6f49c6', class: colorClass, role: "alert" }, hAsync("div", { key: '1b78c1955fa5476d46501b35806f763555898914', class: "alert-icon" }, hAsync("slot", { key: 'f0b9428b86ee9f18cb63e5b99c52f8aafa42983d', name: "icon" })), hAsync("div", { key: '0334afe47c0b4d518350c5d466fed942f73e2619' }, this.label && hAsync("span", { key: '0fcdd8c11c70be5247b461c754b04b50b699a3b8', class: "alert-title d-block" }, this.label), hAsync("p", { key: '74816b1609b8008c61e741ce8f9e0ff1028144a2', class: "alert-description" }, hAsync("slot", { key: '817ae03f9b0e01a9902605190f0f0188daa7454b' }), this.link && hAsync("a", { key: 'b679adac1dcf71de287137f00a906ac4d0840433', href: this.url, class: "alert-link link link-default" }, this.link)))));
|
|
3348
3349
|
}
|
|
3349
3350
|
static get style() { return alertCss; }
|
|
3350
3351
|
static get cmpMeta() { return {
|
|
@@ -3442,7 +3443,7 @@ class Asset {
|
|
|
3442
3443
|
}
|
|
3443
3444
|
}
|
|
3444
3445
|
render() {
|
|
3445
|
-
return (hAsync(Host, { key: '
|
|
3446
|
+
return (hAsync(Host, { key: '03fcca328e04d037849e3051c22d3f7a7a33d24d', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3446
3447
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3447
3448
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3448
3449
|
}
|
|
@@ -3511,8 +3512,8 @@ class Autocomplete {
|
|
|
3511
3512
|
}
|
|
3512
3513
|
}
|
|
3513
3514
|
render() {
|
|
3514
|
-
return (hAsync(Host, { key: '
|
|
3515
|
-
hAsync("ul", { key: '
|
|
3515
|
+
return (hAsync(Host, { key: 'c36a2ee2be17f376314f6cfe2be38470d1e27201' }, hAsync("slot", { key: 'af26b2da578538f1539677d84b25f6f43787a15e' }), this.visible && this.options.length > 0 &&
|
|
3516
|
+
hAsync("ul", { key: 'ec9c582287ae3dca5235952474b44943ae6afbf5', class: "autocomplete-list" }, this.options && this.options.map(option => (hAsync("li", { class: "autocomplete-item", role: "menuitem", onClick: () => this.onClick(option.value, option.label), tabindex: "0" }, option.label))))));
|
|
3516
3517
|
}
|
|
3517
3518
|
get el() { return getElement(this); }
|
|
3518
3519
|
static get style() { return autocompleteCss; }
|
|
@@ -3544,7 +3545,7 @@ class Avatar {
|
|
|
3544
3545
|
}
|
|
3545
3546
|
render() {
|
|
3546
3547
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3547
|
-
return (hAsync(Host, { key: '
|
|
3548
|
+
return (hAsync(Host, { key: 'cd4ebc58a244d1b9e775a2637bbce4c3b9f2d79d', class: `${sizeClass}` }, hAsync("slot", { key: '1e9195472cf7e6c01c016e41e7cebf120594ff0b' })));
|
|
3548
3549
|
}
|
|
3549
3550
|
static get style() { return avatarCss; }
|
|
3550
3551
|
static get cmpMeta() { return {
|
|
@@ -3584,7 +3585,7 @@ class Badge {
|
|
|
3584
3585
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3585
3586
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3586
3587
|
const sizeClass = this.size !== undefined ? `badge-${this.size}` : '';
|
|
3587
|
-
return (hAsync(Host, { key: '
|
|
3588
|
+
return (hAsync(Host, { key: '0c47b1c06c1dd0f0e700f75a0e313602337b21e1', class: `${colorClass} ${bubbleClass} ${sizeClass}` }, hAsync("slot", { key: 'ca0fbbb911202914ccd3240da4d385c61c527468' })));
|
|
3588
3589
|
}
|
|
3589
3590
|
static get style() { return badgeCss; }
|
|
3590
3591
|
static get cmpMeta() { return {
|
|
@@ -3633,7 +3634,7 @@ class Banner {
|
|
|
3633
3634
|
}
|
|
3634
3635
|
render() {
|
|
3635
3636
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3636
|
-
return (hAsync(Host, { key: '
|
|
3637
|
+
return (hAsync(Host, { key: '45c0e4889c72d5f0c7f888076c7560932e1f517a', class: bannerIsOpenClass }, hAsync("div", { key: 'f7b5220e17eb281726763c47e64386a9a6598a63' }, hAsync("span", { key: '9ea1fe77f3b3f1e3d70b3c750b913c40f1b5174b', class: "banner-open-label" }, this.label), this.link && hAsync("a", { key: 'f63091c595a60da0b07d0cb715c2f44560410aa0', href: this.url, class: "banner-open-link" }, this.link), hAsync("button", { key: '55c13ce4039c3570149db99e80120d0d813a1cbf', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, hAsync("road-icon", { key: '11f093d08881f627a821d11f6bbc50d720584255', icon: navigationClose, size: "md" })))));
|
|
3637
3638
|
}
|
|
3638
3639
|
static get style() { return bannerCss; }
|
|
3639
3640
|
static get cmpMeta() { return {
|
|
@@ -3738,7 +3739,7 @@ let Button$1 = class Button {
|
|
|
3738
3739
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
3739
3740
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3740
3741
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3741
|
-
return (hAsync(Host, { key: '
|
|
3742
|
+
return (hAsync(Host, { key: '9541223bc2c1f6d9230b2762cf5e53522f37918e', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, hAsync(TagType, Object.assign({ key: '09a957b2c99720f30e96e1c99b65a85f469655a3' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("slot", { key: '9199232b0129384bb4023e23993bffbc6119ad7e', name: "start" }), hAsync("slot", { key: 'b2750832112f3e56d109ccb535c59456e7d8f874' }), hAsync("slot", { key: '4e886eab6c19ac07d13548121370c7b3045d7304', name: "end" }))));
|
|
3742
3743
|
}
|
|
3743
3744
|
get el() { return getElement(this); }
|
|
3744
3745
|
static get style() { return buttonCss; }
|
|
@@ -3822,7 +3823,7 @@ class Button {
|
|
|
3822
3823
|
render() {
|
|
3823
3824
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3824
3825
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3825
|
-
return (hAsync(Host, { key: '
|
|
3826
|
+
return (hAsync(Host, { key: 'fa4d479d5ff93240d6e9c49624d1398e655ec780', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: '895ed9831ec213deb2375577c89e9870d381dff2', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: '887830bef26122614356a6cd6cf4195e34a4f21b', name: "start" }), hAsync("slot", { key: '9c09e832bdff2d9b62d9b59a55ab876dc19b21be' }))));
|
|
3826
3827
|
}
|
|
3827
3828
|
get el() { return getElement(this); }
|
|
3828
3829
|
static get style() { return buttonFloatingCss; }
|
|
@@ -3866,7 +3867,7 @@ class ButtonBar {
|
|
|
3866
3867
|
this.selectedTabChanged();
|
|
3867
3868
|
}
|
|
3868
3869
|
render() {
|
|
3869
|
-
return (hAsync(Host, { key: '
|
|
3870
|
+
return (hAsync(Host, { key: '4e9d9b4be56f382b08a0db431b289498c55b3d87', role: "tablist" }, hAsync("slot", { key: '8bac9805ed4832865cf2581b4f11e8f6c3efd238' })));
|
|
3870
3871
|
}
|
|
3871
3872
|
get el() { return getElement(this); }
|
|
3872
3873
|
static get watchers() { return {
|
|
@@ -3948,7 +3949,7 @@ class Card {
|
|
|
3948
3949
|
render() {
|
|
3949
3950
|
const { elevation } = this;
|
|
3950
3951
|
const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
|
|
3951
|
-
return (hAsync(Host, { key: '
|
|
3952
|
+
return (hAsync(Host, { key: 'f92f1eab5547d2e4f0b762a60a21138d5658de5d', class: `${elevationClass}` }, this.renderCard()));
|
|
3952
3953
|
}
|
|
3953
3954
|
get el() { return getElement(this); }
|
|
3954
3955
|
static get style() { return cardCss; }
|
|
@@ -10695,7 +10696,7 @@ class Carousel {
|
|
|
10695
10696
|
});
|
|
10696
10697
|
}
|
|
10697
10698
|
render() {
|
|
10698
|
-
return (hAsync(Host, { key: '
|
|
10699
|
+
return (hAsync(Host, { key: '25f99bde3a20e2599923836bb335f64edaac91fc', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: 'a5936aa8128ae4193207ea8c18fbfe14f881bd0a', class: "swiper-wrapper" }, hAsync("slot", { key: 'e0a325e4f220c9fb0dfddd3dcd67343d46377ce2' })), this.pager && hAsync("div", { key: 'b3899c60d9dc27cad9a98834de6d838d602480ce', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (hAsync("div", { key: 'fc361ac2ae82b8f19ec50cd5e8318e9f198ded1c', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: 'be82eff9a29d6f8a8e5157520beb4e68107b62de', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: '08b3c05d5c200a4a7c781ddfd10cd47a3a3c3947', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: '03eda4120c060a7d484e5c7a54bc60463a487042', icon: navigationChevron })))));
|
|
10699
10700
|
}
|
|
10700
10701
|
get el() { return getElement(this); }
|
|
10701
10702
|
static get watchers() { return {
|
|
@@ -10745,10 +10746,10 @@ class CarouselItem {
|
|
|
10745
10746
|
registerInstance(this, hostRef);
|
|
10746
10747
|
}
|
|
10747
10748
|
render() {
|
|
10748
|
-
return (hAsync(Host, { key: '
|
|
10749
|
+
return (hAsync(Host, { key: '46b4a5c7049321489d690ae59cbe3b73f485fad9', class: {
|
|
10749
10750
|
'swiper-slide': true,
|
|
10750
10751
|
'swiper-zoom-container': true,
|
|
10751
|
-
} }, hAsync("slot", { key: '
|
|
10752
|
+
} }, hAsync("slot", { key: 'e89f20eca7dfe24630746a797e61cfc223dbc39d' })));
|
|
10752
10753
|
}
|
|
10753
10754
|
static get style() { return carouselItemCss; }
|
|
10754
10755
|
static get cmpMeta() { return {
|
|
@@ -10838,7 +10839,7 @@ class Checkbox {
|
|
|
10838
10839
|
const labelId = this.checkboxId + '-label';
|
|
10839
10840
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10840
10841
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10841
|
-
return (hAsync(Host, { key: '
|
|
10842
|
+
return (hAsync(Host, { key: 'e25eb18d6077eab299cefd0e370e1c08d1889fbb' }, hAsync("input", { key: '8a56e30d2c60cadc9209fefab6d9950cf7199438', 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: '26b7a3faf3347afb52db1371d327aa0a466dd2eb', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: '685992ef0df93648b405a1d3536c6981e8accc3b' }, this.label, " ", hAsync("span", { key: '887d317ab04390d81ebcf2e3abd6516fbb2c5ce7', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: 'e419e9caf05f6b54df8cb298125cc1015a3bf2bd' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '5d400613d4d96b0bf67a14dfbf8a392568cf0291', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: 'e8dfeff5a8326b06de061cab7c15bd9480516286', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: 'df244f7f783975c9834212c30bfbb555939ae57c', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '43b32952d76b8aa65cbd84130f6711abae28dab2', class: "helper" }, this.helper)));
|
|
10842
10843
|
}
|
|
10843
10844
|
static get watchers() { return {
|
|
10844
10845
|
"checked": ["checkedChanged"]
|
|
@@ -10873,7 +10874,7 @@ const chipCss = ":host{box-sizing:border-box;display:inline-flex;align-items:cen
|
|
|
10873
10874
|
/**
|
|
10874
10875
|
* @slot - Content of the chip.
|
|
10875
10876
|
*/
|
|
10876
|
-
class Chip {
|
|
10877
|
+
let Chip$1 = class Chip {
|
|
10877
10878
|
constructor(hostRef) {
|
|
10878
10879
|
registerInstance(this, hostRef);
|
|
10879
10880
|
/**
|
|
@@ -10895,7 +10896,7 @@ class Chip {
|
|
|
10895
10896
|
}
|
|
10896
10897
|
render() {
|
|
10897
10898
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10898
|
-
return (hAsync(Host, { key: '
|
|
10899
|
+
return (hAsync(Host, { key: '2c5c4431588648798749fb13415ee4236f03b486', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: 'd66f24c4b720f21b03320024ab24cd338e2aab09', class: "chip-description" }, hAsync("slot", { key: 'd69252e120ebf342273e18e9fce5333d1b38dded' })), this.hasCloseIcon && hAsync("road-icon", { key: '43e8221b8df5c65a6788f0810113124f1ca2c0bd', class: "chip-close", icon: navigationClose })));
|
|
10899
10900
|
}
|
|
10900
10901
|
static get style() { return chipCss; }
|
|
10901
10902
|
static get cmpMeta() { return {
|
|
@@ -10911,6 +10912,35 @@ class Chip {
|
|
|
10911
10912
|
"$lazyBundleId$": "-",
|
|
10912
10913
|
"$attrsToReflect$": []
|
|
10913
10914
|
}; }
|
|
10915
|
+
};
|
|
10916
|
+
|
|
10917
|
+
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)}";
|
|
10918
|
+
|
|
10919
|
+
/**
|
|
10920
|
+
* @slot - Content of the chip.
|
|
10921
|
+
*/
|
|
10922
|
+
class Chip {
|
|
10923
|
+
constructor(hostRef) {
|
|
10924
|
+
registerInstance(this, hostRef);
|
|
10925
|
+
/**
|
|
10926
|
+
* The chip size.
|
|
10927
|
+
*/
|
|
10928
|
+
this.size = 'sm';
|
|
10929
|
+
}
|
|
10930
|
+
render() {
|
|
10931
|
+
return (hAsync(Host, { key: 'e9ff4a973fb5e29b23b791585b5065171a070518', class: `chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: '118793562896327eeca8c75c457e03f28005c072', class: "chip-description" }, hAsync("road-icon", { key: 'af4048d201e502a186e5267a1d7fc2895e1e92d9', class: "chip-icon", color: "info", icon: alertInfoSolid }), hAsync("slot", { key: 'b728dd835f6e5a00ad2c461702b4f06be511a711' }))));
|
|
10932
|
+
}
|
|
10933
|
+
static get style() { return statusChipCss; }
|
|
10934
|
+
static get cmpMeta() { return {
|
|
10935
|
+
"$flags$": 9,
|
|
10936
|
+
"$tagName$": "road-status-chip",
|
|
10937
|
+
"$members$": {
|
|
10938
|
+
"size": [1]
|
|
10939
|
+
},
|
|
10940
|
+
"$listeners$": undefined,
|
|
10941
|
+
"$lazyBundleId$": "-",
|
|
10942
|
+
"$attrsToReflect$": []
|
|
10943
|
+
}; }
|
|
10914
10944
|
}
|
|
10915
10945
|
|
|
10916
10946
|
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%}}";
|
|
@@ -10923,7 +10953,7 @@ class Col {
|
|
|
10923
10953
|
registerInstance(this, hostRef);
|
|
10924
10954
|
}
|
|
10925
10955
|
render() {
|
|
10926
|
-
return (hAsync("slot", { key: '
|
|
10956
|
+
return (hAsync("slot", { key: '763a0c275f1ee779b84511d0575c9bfa300b7675' }));
|
|
10927
10957
|
}
|
|
10928
10958
|
static get style() { return colCss; }
|
|
10929
10959
|
static get cmpMeta() { return {
|
|
@@ -10972,7 +11002,7 @@ class Collapse {
|
|
|
10972
11002
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
10973
11003
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
10974
11004
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
10975
|
-
return (hAsync(Host, { key: '
|
|
11005
|
+
return (hAsync(Host, { key: 'fc236c61ffd72a65e4b6d517bd8ff15d161e4064' }, hAsync("slot", { key: '93e64a80e9c37b0abb3b06d381d067096994d675' }), hAsync("div", { key: '8673f278af7c849080d13260e74a8dec7228776f', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: '3d31c2c358c469460edca32a0d8df4f067793d51', name: "collapsed-content" })), hAsync("div", { key: 'b5ba9216420e027151a5b0b132456677f336ce8e', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: '2cf61b6a0aeb3a045f24a7fad45a411ca1cf520e', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
10976
11006
|
}
|
|
10977
11007
|
static get style() { return collapseCss; }
|
|
10978
11008
|
static get cmpMeta() { return {
|
|
@@ -11008,7 +11038,7 @@ class ContentCard {
|
|
|
11008
11038
|
}
|
|
11009
11039
|
render() {
|
|
11010
11040
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11011
|
-
return (hAsync(Host, { key: '
|
|
11041
|
+
return (hAsync(Host, { key: '667f537a9f22cd6882dbda38faa61dcbbdcfc582' }, hAsync("road-img", { key: 'eb8a2d48c608d203453f0cfa455001c3d4f79f50', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '682e8e38f23760e8f5bb67f6fd4d27dd358d4c88', class: "content-card-description" }, hAsync("road-label", { key: '5dc7d135e3740194aa27366fb04ccf262d523c89', class: "content-card-description-title" }, hAsync("slot", { key: 'b255c405d45cb72f74e8316452d2bbb7a2af938a', name: "label" })), hAsync("p", { key: '41dccc3bc4204ea897572f7d77d6c66c21b85c35', class: "content-card-description-text" }, hAsync("slot", { key: '30b00c76a63ef9a160fa0145561c348b85a86236', name: "description" })), hAsync("div", { key: 'b4005a2c91a1bdd1c850354d747e732485343e2c', class: "content-card-description-buttons" }, hAsync("slot", { key: 'ceea0ae9fa901b10cce7be92e5308f8412eb46b2' })))));
|
|
11012
11042
|
}
|
|
11013
11043
|
static get style() { return contentCardCss; }
|
|
11014
11044
|
static get cmpMeta() { return {
|
|
@@ -11183,7 +11213,7 @@ class Counter {
|
|
|
11183
11213
|
}
|
|
11184
11214
|
render() {
|
|
11185
11215
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11186
|
-
return (hAsync("road-input-group", { key: '
|
|
11216
|
+
return (hAsync("road-input-group", { key: 'a48902a2c7b9579cc9bdf3b2cf60247fddfe0f69', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: 'a457cc31336af5ffc61bf8dcc72d991ecb37d68d', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, hAsync("road-icon", { key: '25bbae886fad4084c7d8eb633dee74f863983385', 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: '0635e349c1561ac7bb2c31e91abc99d5a5762f75', 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: '12236cd73d4aece9f81ac7b4e2c2d0197aa0090e', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, hAsync("road-icon", { key: 'a6acb59966cc97f43d1d4ec351ff4812425cd6ea', name: "navigation-add-more", size: this.size, role: "button" }))));
|
|
11187
11217
|
}
|
|
11188
11218
|
get el() { return getElement(this); }
|
|
11189
11219
|
static get watchers() { return {
|
|
@@ -11302,11 +11332,11 @@ class Dialog {
|
|
|
11302
11332
|
break;
|
|
11303
11333
|
}
|
|
11304
11334
|
}
|
|
11305
|
-
return (hAsync(Host, { key: '
|
|
11335
|
+
return (hAsync(Host, { key: 'a5eecca8fa63221b83d6b061f3d3be247c80fa00', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: '2e5adbc655a166f801e49b3ab5841ee2e6949eaf', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: '01ed8da317cff46be7092cb7ab5c7dd9c599552e', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: '7fe2671d1789343bd1ef61a9d156f89f8b12c7c1', class: "dialog-content" }, hAsync("header", { key: '902386ac463f954e381bb00b21ab2294cc5305c5', class: "dialog-header" }, this.hasCloseIcon
|
|
11306
11336
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11307
|
-
: ''), hAsync("div", { key: '
|
|
11337
|
+
: ''), hAsync("div", { key: 'ab8833301d161b6d68f46e355f0bbe62048a3882', class: "dialog-body" }, this.color !== undefined
|
|
11308
11338
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11309
|
-
: '', hAsync("h2", { key: '
|
|
11339
|
+
: '', hAsync("h2", { key: '09b4748eb3b02e9671a453b5809c5082ddab9683', class: "dialog-title" }, this.label), hAsync("p", { key: 'fc59c7e10e4eabd52f60aa31ab46c3d8b52fca80', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: '1f74c9e3986fd3fd99c9658faae567d1d79c79ec', class: "dialog-footer" }, hAsync("slot", { key: 'ae5915e930f494d1963a6b80e9ce80d4e7eb5880' }))))));
|
|
11310
11340
|
}
|
|
11311
11341
|
get el() { return getElement(this); }
|
|
11312
11342
|
static get style() { return dialogCss; }
|
|
@@ -11473,7 +11503,7 @@ class Drawer {
|
|
|
11473
11503
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
11474
11504
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
11475
11505
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
11476
|
-
return (hAsync(Host, { key: '
|
|
11506
|
+
return (hAsync(Host, { key: '23098e7e7a6d45e7b135120531d8e09b44bc4623', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: '76d061f21b19d0001ab502e3a0bb820cc1028aed', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '37d8a5c4942849e5d21369bc2475de84df4b3385', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, hAsync("div", { key: '1a97998071d58c2a193316b3b2dbacc78dd18d99', class: "drawer-content" }, hAsync("header", { key: 'ea3d4a56ee46a8411f590dff2dc006f5a3f5539e', 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: '9e27674c4835a665688f21d5482b75b4173efc38', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: '4088a3001370eb44447485802df85a738de57d59' })), hAsync("footer", { key: 'affd792321b474662cc3c296ee25fbbdec3f0749', class: `drawer-footer ${removePaddingClass}`, style: { display: hasFooterContent ? 'block' : 'none' } }, hAsync("slot", { key: '7b6b7ea3ba26bf94516a386e33c6b000f688578b', name: "footer" }))))));
|
|
11477
11507
|
}
|
|
11478
11508
|
get el() { return getElement(this); }
|
|
11479
11509
|
static get watchers() { return {
|
|
@@ -11533,7 +11563,7 @@ let Dropdown$1 = class Dropdown {
|
|
|
11533
11563
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
11534
11564
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
11535
11565
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
11536
|
-
return (hAsync("details", { key: '
|
|
11566
|
+
return (hAsync("details", { key: '37f34646c564773cca1b90e024cc3f4a7ee88e1f', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: 'a7179d216d96e69749b2f9eb462e2a4bf4d0fab7', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: 'e16d7123bbe2dda99a2c708a51dc5786b224fd22', class: `d-flex ${positionClass}` }, hAsync("div", { key: '3ab7e009ac35dd0b3aff1876d229430337903468', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: 'd6a46bd55a33a944d08d70ca3b29427a2e9a27d0', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: 'c711123013ae29f5c11a78d607b78b923e1dced4', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: '97e22802aa196d580b60c64dc1dc0e0558e4d5c8', name: "list" }))));
|
|
11537
11567
|
}
|
|
11538
11568
|
get el() { return getElement(this); }
|
|
11539
11569
|
static get style() { return dropdownCss; }
|
|
@@ -11588,7 +11618,7 @@ class Dropdown {
|
|
|
11588
11618
|
this.isOpen = false;
|
|
11589
11619
|
}
|
|
11590
11620
|
render() {
|
|
11591
|
-
return (hAsync("details", { key: '
|
|
11621
|
+
return (hAsync("details", { key: 'd871d02d3b3a7f2713f14b8c0a62db43db6e1aa6', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: 'b6a556b87cae846ca8960e4b6d16c590dc052226', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: '1d5c1844ccabd08976643db092a408339ec8876f', class: `d-flex` }, hAsync("div", { key: 'b4893b8b7351dfbf0ef9c76fa08fcac020978840' }, hAsync("road-avatar", { key: 'a5626655a5e9fb14c8872231461d05a9010fe5bf' }, hAsync("slot", { key: '008ac04a3efdf059fd64de56f11c6ca53909117d', name: "avatar" }))))), hAsync("div", { key: '2f6bc8edd5359c6aca21809322c27016b4f8c93d', class: `dropdown-menu` }, hAsync("div", { key: 'd217acba2786290b1931ea86f8951607daaad88a', class: "profil-item" }, hAsync("road-avatar", { key: '9015c937c5528421494aabb09d79f8b1fff1b692', size: "sm" }, hAsync("slot", { key: '8ccccd95423f4c33b2f280329c936064f15e4ae2', name: "avatarItem" })), hAsync("div", { key: '287f95b1f377ce2b52707a050236041fadeb0248', class: "profil-item-info" }, hAsync("span", { key: 'cb447d71b37d21891c986d43a53cbff2c2b153cc', class: "profil-item-info-name" }, hAsync("slot", { key: 'be40c56aab8ad33cb861a8f4560f6216c4171645', name: "name" })), hAsync("road-label", { key: 'c2946cbe350456b9c2aba700bb293938d5a2a0da' }, hAsync("slot", { key: 'cad70d89a72a01d431624c8253245b34a309a0be', name: "email" })))), hAsync("slot", { key: '898273efbd93d78aeba942ac95b21897b8bbe5cf', name: "list" }))));
|
|
11592
11622
|
}
|
|
11593
11623
|
get el() { return getElement(this); }
|
|
11594
11624
|
static get style() { return profilDropdownCss; }
|
|
@@ -11651,7 +11681,7 @@ class Duration {
|
|
|
11651
11681
|
this.isOpen = false;
|
|
11652
11682
|
}
|
|
11653
11683
|
render() {
|
|
11654
|
-
return (hAsync("road-drawer", { key: '
|
|
11684
|
+
return (hAsync("road-drawer", { key: 'a55fbb12561124f9eab75516ab48597f92bdbac0', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: '4466deb806189ca18993525c9f819f02371d75eb' }, hAsync("road-row", { key: '65ec4aabf892f65b924e09023187b660b81ddfc8', 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 })))))))));
|
|
11655
11685
|
}
|
|
11656
11686
|
get el() { return getElement(this); }
|
|
11657
11687
|
static get style() { return durationCss; }
|
|
@@ -11696,7 +11726,7 @@ class Flap {
|
|
|
11696
11726
|
}
|
|
11697
11727
|
render() {
|
|
11698
11728
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
11699
|
-
return (hAsync(Host, { key: '
|
|
11729
|
+
return (hAsync(Host, { key: 'c9e4068d75b640675d22406d8059d03e79ec50c4', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '77f87a4577c10d0a964cc25d0b69ce0a852363cf' })));
|
|
11700
11730
|
}
|
|
11701
11731
|
static get style() { return flapCss; }
|
|
11702
11732
|
static get cmpMeta() { return {
|
|
@@ -11741,7 +11771,7 @@ class GlobalNavigation {
|
|
|
11741
11771
|
this.selectedTabChanged();
|
|
11742
11772
|
}
|
|
11743
11773
|
render() {
|
|
11744
|
-
return (hAsync(Host, { key: '
|
|
11774
|
+
return (hAsync(Host, { key: '6933e085d30138bd207072e08794b13ba5afcb54', role: "application" }, hAsync("slot", { key: 'b5a9dcc1d9545c3d6d343a10684df3f02f0620cf' })));
|
|
11745
11775
|
}
|
|
11746
11776
|
static get watchers() { return {
|
|
11747
11777
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -11888,7 +11918,7 @@ class GlobalNavigationV2 {
|
|
|
11888
11918
|
this.selectedTabChanged();
|
|
11889
11919
|
}
|
|
11890
11920
|
render() {
|
|
11891
|
-
return (hAsync(Host, { key: '
|
|
11921
|
+
return (hAsync(Host, { key: '2cb99c512eaba639cc1d8038a9da0612b8655ca0', role: "application" }, hAsync("slot", { key: 'b6e22b39a345f69aba42502e53a1797a10471e4e' })));
|
|
11892
11922
|
}
|
|
11893
11923
|
get host() { return getElement(this); }
|
|
11894
11924
|
static get watchers() { return {
|
|
@@ -11917,7 +11947,7 @@ class Grid {
|
|
|
11917
11947
|
registerInstance(this, hostRef);
|
|
11918
11948
|
}
|
|
11919
11949
|
render() {
|
|
11920
|
-
return (hAsync("slot", { key: '
|
|
11950
|
+
return (hAsync("slot", { key: 'b61547eee4d8410cd5ed573dc913b2cce7d785af' }));
|
|
11921
11951
|
}
|
|
11922
11952
|
static get style() { return gridCss; }
|
|
11923
11953
|
static get cmpMeta() { return {
|
|
@@ -12019,7 +12049,7 @@ class Icon {
|
|
|
12019
12049
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
12020
12050
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
12021
12051
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
12022
|
-
return (hAsync(Host, { key: '
|
|
12052
|
+
return (hAsync(Host, { key: '504f9ef14c8e32e9fd513f70ad6840dc529daba1', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
12023
12053
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
12024
12054
|
: hAsync("div", { class: "icon-inner" })));
|
|
12025
12055
|
}
|
|
@@ -12140,7 +12170,7 @@ class Illustration {
|
|
|
12140
12170
|
render() {
|
|
12141
12171
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
12142
12172
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
12143
|
-
return (hAsync(Host, { key: '
|
|
12173
|
+
return (hAsync(Host, { key: '707f0cb857f11a4f9204d59de47e18df041c9fed', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
12144
12174
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
12145
12175
|
: hAsync("div", { class: "icon-inner" }))));
|
|
12146
12176
|
}
|
|
@@ -12242,7 +12272,7 @@ class Img {
|
|
|
12242
12272
|
}
|
|
12243
12273
|
render() {
|
|
12244
12274
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
12245
|
-
return (hAsync(Host, { key: '
|
|
12275
|
+
return (hAsync(Host, { key: 'fb43af0e274ac5a78505c943472fac8ab27743e2', class: placeholder }, hAsync("img", { key: 'a95bd4f383fcaec138eaf7adf0421e6e64338bd6', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
12246
12276
|
}
|
|
12247
12277
|
get el() { return getElement(this); }
|
|
12248
12278
|
static get watchers() { return {
|
|
@@ -29692,11 +29722,11 @@ class Input {
|
|
|
29692
29722
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29693
29723
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29694
29724
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29695
|
-
return (hAsync(Host, { key: '
|
|
29725
|
+
return (hAsync(Host, { key: '9024f9e8e42d5a9b6b999e68c968512c3709f95e', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: '55f945e65b5e775a500cc052ce5c2a309f0a5b2a', class: `form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`, id: this.inputId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, enterKeyHint: this.enterkeyhint, autoFocus: this.autofocus, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, size: this.size, type: this.type, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.type === 'number' ? (event) => this.handleKeyDown(event) : undefined, "data-cy": 'road-input', ref: el => (this.inputEl = el) }), hAsync("label", { key: 'bad9c6d95500e74a9435526d60bc39bf3c18bf82', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && (Array.isArray(this.error)
|
|
29696
29726
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
29697
29727
|
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(), " ")))
|
|
29698
29728
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
29699
|
-
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: '
|
|
29729
|
+
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: 'b835db18da6a6cc588cfb1443211a3336b3ac6dc', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: '84bb75aba52eaf131f83a04a9c546506b90f5346', name: "checklistPassword" })));
|
|
29700
29730
|
}
|
|
29701
29731
|
static get watchers() { return {
|
|
29702
29732
|
"debounce": ["debounceChanged"],
|
|
@@ -29807,7 +29837,7 @@ class InputGroup {
|
|
|
29807
29837
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
29808
29838
|
: '';
|
|
29809
29839
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
29810
|
-
return (hAsync("div", { key: '
|
|
29840
|
+
return (hAsync("div", { key: '7f22883f08674e06a5ff2b95859d57ca0ee944dd', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: '423047f170e2d547c3081b85bfb75d2ca924dce9', class: "input-group-prepend" }, hAsync("slot", { key: '415b6e50a425b14acc13c48f2ea13a390abaf3c5', name: "prepend" })), hAsync("slot", { key: 'e5afc50a91e868dff8d6c52d24b14d31c735c138' }), hAsync("div", { key: '7ff570ad9e3f0ce2c018007b818ccf6f668b2431', class: "input-group-append" }, hAsync("slot", { key: '22ce56c4eef051738c3bd7f0c229aeee01691b23', name: "append" }))));
|
|
29811
29841
|
}
|
|
29812
29842
|
get el() { return getElement(this); }
|
|
29813
29843
|
static get watchers() { return {
|
|
@@ -29886,13 +29916,13 @@ class Item {
|
|
|
29886
29916
|
target,
|
|
29887
29917
|
};
|
|
29888
29918
|
const showDetail = detail !== undefined && detail;
|
|
29889
|
-
return (hAsync(Host, { key: '
|
|
29919
|
+
return (hAsync(Host, { key: 'ed24316ec421ba4ce1a8c0176b4b1f02f5fe0f66', "aria-disabled": disabled ? 'true' : null, class: {
|
|
29890
29920
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
29891
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
29921
|
+
} }, hAsync(TagType, Object.assign({ key: '7ebcc595d5499ba9234040b1a674b623d5ea649d' }, attrs, { class: {
|
|
29892
29922
|
'item-native': true,
|
|
29893
29923
|
'item-active': this.active,
|
|
29894
29924
|
[`layout-${layout}`]: layout !== undefined,
|
|
29895
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
29925
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: '3b6761302e8afcfffa2c6dc8fe922305b2fd4978', name: "start" }), hAsync("div", { key: '84102db1d756fefd1fdd8f23366eb5bd47f70ab8', class: "item-inner" }, hAsync("div", { key: '74739604b817cf1063fd8898e9f13022a2cda201', class: "input-wrapper" }, hAsync("slot", { key: 'a0629c591a190fbafa769f4aa2a7d10e9d917ebd' }), hAsync("div", { key: '17d6104bfaebd37f736fcb0c8865ef25172aece9', class: "input-wrapper-info" }, hAsync("road-label", { key: '52a730865577111cf96d58a7e52f2379c305c0ce', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: '495d3e63464bbecac69a1aabe0f612f891b95f3a', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: '4de557154b8d562eb4ab20ced7075fe74422931e', name: "end" }), showDetail && hAsync("road-icon", { key: 'b0734150c2c1bba8ce99fd005b724ad3f4bb6885', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
29896
29926
|
}
|
|
29897
29927
|
get el() { return getElement(this); }
|
|
29898
29928
|
static get style() { return itemCss; }
|
|
@@ -29932,7 +29962,7 @@ class Label {
|
|
|
29932
29962
|
registerInstance(this, hostRef);
|
|
29933
29963
|
}
|
|
29934
29964
|
render() {
|
|
29935
|
-
return (hAsync("slot", { key: '
|
|
29965
|
+
return (hAsync("slot", { key: '11494c860efa780bf502a439e98d2382454c2a02' }));
|
|
29936
29966
|
}
|
|
29937
29967
|
static get style() { return labelCss; }
|
|
29938
29968
|
static get cmpMeta() { return {
|
|
@@ -29956,9 +29986,9 @@ class List {
|
|
|
29956
29986
|
}
|
|
29957
29987
|
render() {
|
|
29958
29988
|
const { lines } = this;
|
|
29959
|
-
return (hAsync(Host, { key: '
|
|
29989
|
+
return (hAsync(Host, { key: '1ef8a8ba8c68cb9618fc43d486d43e67ce8dbe2f', class: {
|
|
29960
29990
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
29961
|
-
} }, hAsync("slot", { key: '
|
|
29991
|
+
} }, hAsync("slot", { key: '6b2eb3016d2d37f72337dc7052c379e9cc77e8f1' })));
|
|
29962
29992
|
}
|
|
29963
29993
|
static get style() { return listCss; }
|
|
29964
29994
|
static get cmpMeta() { return {
|
|
@@ -30042,7 +30072,7 @@ class Modal {
|
|
|
30042
30072
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
30043
30073
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
30044
30074
|
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" })) : '';
|
|
30045
|
-
return (hAsync(Host, { key: '
|
|
30075
|
+
return (hAsync(Host, { key: 'a53b1178a4403fe3a5555cc06550ff7d1a2bfb12', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: 'c5911399894cead74ef3335b0e809bed51907919', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '088a36fe89e927f5a35bd0b4e6d98689c4aeedb1', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: '4dfa761d0afb05d54c6a94065555bb6b7f69de99', class: "modal-content" }, hAsync("header", { key: '2af35d7169f73c0d126eff51775414b975b3dd07', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: '3d5158061aa9feba54c91bbfbb45919762b306ef', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: '4d1eb03793b16dc63801031c79a28cebdd6a7a3c', class: "modal-body" }, hAsync("slot", { key: 'c7dc8ba703ba88af25d16d9dc39ed553b1e64f72' }))))));
|
|
30046
30076
|
}
|
|
30047
30077
|
get el() { return getElement(this); }
|
|
30048
30078
|
static get style() { return modalCss; }
|
|
@@ -30092,7 +30122,7 @@ class Navbar {
|
|
|
30092
30122
|
this.selectedTabChanged();
|
|
30093
30123
|
}
|
|
30094
30124
|
render() {
|
|
30095
|
-
return (hAsync(Host, { key: '
|
|
30125
|
+
return (hAsync(Host, { key: '5b249df769ec96c722427c9a46c6cffcb95a0241', role: "menubar" }, hAsync("slot", { key: '1e40e21864570843c0816e0496b0703c61cb629e' })));
|
|
30096
30126
|
}
|
|
30097
30127
|
static get watchers() { return {
|
|
30098
30128
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30177,11 +30207,11 @@ let NavbarItem$1 = class NavbarItem {
|
|
|
30177
30207
|
rel,
|
|
30178
30208
|
target,
|
|
30179
30209
|
};
|
|
30180
|
-
return (hAsync(Host, { key: '
|
|
30210
|
+
return (hAsync(Host, { key: '097f2b7136070c2bfd59a267e3f32309e0a1141f', 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: {
|
|
30181
30211
|
'navbar-item': true,
|
|
30182
30212
|
'tab-selected': selected,
|
|
30183
30213
|
'tab-disabled': disabled,
|
|
30184
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30214
|
+
} }, hAsync("a", Object.assign({ key: '4158887f4e4e3c0bc4ef2e7f6f812ca514c72884' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: 'e3e514dab0c92b12ffeb7e9c9d8f3d2c6fec64e8', class: "button-inner" }, hAsync("slot", { key: '06ddea5337cd8ddabdbe30c6d3deb82dc76508ac' })))));
|
|
30185
30215
|
}
|
|
30186
30216
|
get el() { return getElement(this); }
|
|
30187
30217
|
static get watchers() { return {
|
|
@@ -30273,11 +30303,11 @@ class NavbarItem {
|
|
|
30273
30303
|
rel,
|
|
30274
30304
|
target,
|
|
30275
30305
|
};
|
|
30276
|
-
return (hAsync(Host, { key: '
|
|
30306
|
+
return (hAsync(Host, { key: '67e240b0c9fe547d8005b65bfde771919e97c064', 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: {
|
|
30277
30307
|
'navbar-item': true,
|
|
30278
30308
|
'tab-selected': selected,
|
|
30279
30309
|
'tab-disabled': disabled,
|
|
30280
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30310
|
+
} }, hAsync("a", Object.assign({ key: '913bdf210385216c4a567e357f10b1b93662ad86' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '4917f8be37386b851690a11837c9cbee7252f52e', class: "button-inner" }, hAsync("slot", { key: 'c8bb072f4e5c0320b05c9104e31deebb80211a58' })))));
|
|
30281
30311
|
}
|
|
30282
30312
|
get el() { return getElement(this); }
|
|
30283
30313
|
static get watchers() { return {
|
|
@@ -30335,7 +30365,7 @@ class NavbarV2 {
|
|
|
30335
30365
|
}
|
|
30336
30366
|
render() {
|
|
30337
30367
|
const compactClass = this.compact ? 'compact' : '';
|
|
30338
|
-
return (hAsync(Host, { key: '
|
|
30368
|
+
return (hAsync(Host, { key: '4241f26255edd1c41306c4c87a58fc347be5484e', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'e9e9d61201fc9d22a494ed7a0ecae5e62e24015c' })));
|
|
30339
30369
|
}
|
|
30340
30370
|
static get watchers() { return {
|
|
30341
30371
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30457,10 +30487,10 @@ class PlateNumber {
|
|
|
30457
30487
|
render() {
|
|
30458
30488
|
const value = this.getValue();
|
|
30459
30489
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
30460
|
-
return (hAsync("road-input-group", { key: '
|
|
30490
|
+
return (hAsync("road-input-group", { key: '3a689d96e28a95485169a0cfaf8f30a7fe66f637', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: 'e47b650a3901a1e6acdec0d82ea3040fe23b0652', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: '2c25b1f5004d95f54a97631cb851fac0dee7ef96', class: "plate-number-start" }, hAsync("road-icon", { key: 'b26d14baa58a05a142e9dd7e2f4cb210abed6759', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: 'bb78fe90d0a8ae585906deda3c0407a2d55bc5bf', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
30461
30491
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
30462
30492
|
? (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 }))
|
|
30463
|
-
: (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: '
|
|
30493
|
+
: (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: 'b9178e2b0b70c08e93efffaf816f240bf306512e', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'b6017d487d0dcab0c80f84be63dcddc606d853a8', class: "plate-number-end" }))));
|
|
30464
30494
|
}
|
|
30465
30495
|
static get watchers() { return {
|
|
30466
30496
|
"value": ["valueChanged"]
|
|
@@ -30527,7 +30557,7 @@ class ProgressBar {
|
|
|
30527
30557
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
30528
30558
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
30529
30559
|
const animation = this.animation ? 'animation' : '';
|
|
30530
|
-
return (hAsync(Host, { key: '
|
|
30560
|
+
return (hAsync(Host, { key: '8dac84e1b9ebaaaf811ea009539dcc294b4ff12b', class: "progress-element" }, hAsync("div", { key: 'a6f0c9f9df9ee94b5f2080d2abf07fcb41785692', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '0c05b374de9aa187d4dfcb0a99fb7f8cf02b632a', class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": "progress bar" })), hAsync("div", { key: 'a32d73060e934b41bc60e3ca78828e6756bdac57', class: `${fullwidth}` }, hAsync("span", { key: 'ef8aa997ab0136463d3d312bf217a16ace681a92', class: "progress-element-label" }, this.label), this.showstep && hAsync("span", { key: 'a72cc793d96df57cfff5b19f0ab9f9ca6463692a', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
30531
30561
|
}
|
|
30532
30562
|
static get style() { return progressCss; }
|
|
30533
30563
|
static get cmpMeta() { return {
|
|
@@ -30567,7 +30597,7 @@ class ProgressIndicatorVertical {
|
|
|
30567
30597
|
registerInstance(this, hostRef);
|
|
30568
30598
|
}
|
|
30569
30599
|
render() {
|
|
30570
|
-
return (hAsync(Host, { key: '
|
|
30600
|
+
return (hAsync(Host, { key: '92fe6d3fa130d14b744815a115ca1c3bf2451f4d' }, hAsync("nav", { key: 'ebf43e3904a581381adde7214390f6b73e47d447' }, hAsync("ul", { key: '9178eefc6d8c9861f11bf9d712622119859978b7' }, hAsync("li", { key: '6cb3f005057c136ceb4979c802eb2298da26585f' }, hAsync("slot", { key: '0bff9df0a413ec17d6c0bf790db752bc9e3aed0e' }))))));
|
|
30571
30601
|
}
|
|
30572
30602
|
static get style() { return progressIndicatorVerticalCss; }
|
|
30573
30603
|
static get cmpMeta() { return {
|
|
@@ -30590,7 +30620,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
30590
30620
|
registerInstance(this, hostRef);
|
|
30591
30621
|
}
|
|
30592
30622
|
render() {
|
|
30593
|
-
return (hAsync(Host, { key: '
|
|
30623
|
+
return (hAsync(Host, { key: 'b05b71c6a0fa3e07a8f33c54eef5d975bdafaaba' }, hAsync("slot", { key: '72291203d06d053b27631c35da74c3bc12d81c78' })));
|
|
30594
30624
|
}
|
|
30595
30625
|
static get style() { return progressIndicatorVerticalItemCss; }
|
|
30596
30626
|
static get cmpMeta() { return {
|
|
@@ -30618,7 +30648,7 @@ class ProgressTracker {
|
|
|
30618
30648
|
registerInstance(this, hostRef);
|
|
30619
30649
|
}
|
|
30620
30650
|
render() {
|
|
30621
|
-
return (hAsync(Host, { key: '
|
|
30651
|
+
return (hAsync(Host, { key: '615df39b7dce1234c45c82eeb38df8a036862a58' }, hAsync("nav", { key: '7ecc3be0c49914f7c4e59576d12ab6f7155592e2' }, hAsync("ul", { key: '305a2b22ea0226fe6ee6d98e30fe515e74351bf5' }, hAsync("li", { key: '455a33140bbf5bf2df942fee12a0db54cc1ab182' }, hAsync("slot", { key: '43ef7d71eb398c57271b85528f1f08894ae0a286' }))))));
|
|
30622
30652
|
}
|
|
30623
30653
|
static get style() { return progressTrackerCss; }
|
|
30624
30654
|
static get cmpMeta() { return {
|
|
@@ -30649,7 +30679,7 @@ class ProgressTrackerItem {
|
|
|
30649
30679
|
registerInstance(this, hostRef);
|
|
30650
30680
|
}
|
|
30651
30681
|
render() {
|
|
30652
|
-
return (hAsync(Host, { key: '
|
|
30682
|
+
return (hAsync(Host, { key: '16bf22b6c90d546b95e53b3a6d74313e3147bbf0' }, hAsync("slot", { key: 'bb4ad9275c208c571537aa53582fbdb6784f3215' })));
|
|
30653
30683
|
}
|
|
30654
30684
|
static get style() { return progressTrackerItemCss; }
|
|
30655
30685
|
static get cmpMeta() { return {
|
|
@@ -30741,7 +30771,7 @@ class Radio {
|
|
|
30741
30771
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
30742
30772
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
30743
30773
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30744
|
-
return (hAsync(Host, { key: '
|
|
30774
|
+
return (hAsync(Host, { key: 'f80c4b67ac171d6c5f649ba0f127825ed257fa8e', class: `form-radio ${inlineClass}` }, hAsync("input", { key: '4ded916dadb10b2086819f363773b215a446d33a', 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: 'cc6d4a56d669194f3bfc1113b6a5f2f070b1b564', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '95d04d25749d73aecdbb0f2b3df29b08d689c005', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
30745
30775
|
}
|
|
30746
30776
|
get el() { return getElement(this); }
|
|
30747
30777
|
static get style() { return radioCss; }
|
|
@@ -30824,7 +30854,7 @@ class RadioCard {
|
|
|
30824
30854
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30825
30855
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
30826
30856
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
30827
|
-
return (hAsync(Host, { key: '
|
|
30857
|
+
return (hAsync(Host, { key: '60267969a03bd3b76d770a7b9b4601554ecbb2e1', class: `form-radio ${inlineClass}` }, hAsync("div", { key: '984194284c47286fcec6c3ae4b878c86603704b2', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, hAsync("input", { key: '30bbaa03858883cb20713fe8493697461f40a966', 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: 'e847abcb193b388532670c8f135d363eee8fbb0f', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, hAsync("div", { key: '87fa6e0c18130871af5adb108439633ae3c4f5cf', class: "slot-wrapper" }, hAsync("slot", { key: 'f18fe1e92865619ad023367f7e31db3c7d110029' }))))));
|
|
30828
30858
|
}
|
|
30829
30859
|
get el() { return getElement(this); }
|
|
30830
30860
|
static get style() { return radioCardCss; }
|
|
@@ -30920,7 +30950,7 @@ class RadioGroup {
|
|
|
30920
30950
|
render() {
|
|
30921
30951
|
const labelId = `${this.radioGroupId}-label`;
|
|
30922
30952
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30923
|
-
return (hAsync(Host, { key: '
|
|
30953
|
+
return (hAsync(Host, { key: 'aa5964b56d1caa9edc8fabf99e11541d8dea39fc', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: '3025bf14af84919b71f1688fe87e12077fc516bd', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: 'fa27874d5bbd4cbe882e2115706865b725bfce6a', class: "asterisk" }, "*")), hAsync("slot", { key: 'cf9536a2d8389dd4508cb54549128933dbc3f8e7' }), this.error && this.error !== '' && hAsync("p", { key: '98ac0f3c1877667d21e629db287f5ec848129be1', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '9a9dec308f2151bc4715dc9ef1414e80325cef63', class: "helper" }, this.helper)));
|
|
30924
30954
|
}
|
|
30925
30955
|
get el() { return getElement(this); }
|
|
30926
30956
|
static get watchers() { return {
|
|
@@ -31049,14 +31079,14 @@ class Range {
|
|
|
31049
31079
|
render() {
|
|
31050
31080
|
const value = this.getValue();
|
|
31051
31081
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
31052
|
-
return (hAsync(Host, { key: '
|
|
31082
|
+
return (hAsync(Host, { key: '94651e9148fd97c1538005215d2cfde2080f038e', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: '6d7f330d204b0a470602d93e9ba136a1ff1460c9', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: '64ff84371be5086d81b6d8473a51837418665ded', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: 'dc0c34b11eb8105f0b7a21ac4d70ffbefdd5162d', class: "form-range", style: {
|
|
31053
31083
|
"--min": this.min,
|
|
31054
31084
|
"--max": this.max,
|
|
31055
31085
|
"--value": value,
|
|
31056
31086
|
"--background-color": this.disabled
|
|
31057
31087
|
? "var(--road-surface-disabled)"
|
|
31058
31088
|
: "initial",
|
|
31059
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
31089
|
+
} }, this.showValue && hAsync("output", { key: 'adefde8c5813221886000027bca20b6993d38631' }), this.showLabels && hAsync("slot", { key: 'beea9c4aa8a835631d72211143a9fc4e91403c63', name: "datalist" }), hAsync("input", { key: 'efa26559db7a2cab3dfaac6e66b0bcada1272746', 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: 'd5970123221328b967b8ee3e2c6d9c64e8828b22', class: "form-range-label" }, "Valeur"), hAsync("div", { key: '19636a376ad3a1dc5ed852d0016eec4ae98b3c3d', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: 'c15f07ce0e2601b5eee83ec6cfe9a9e04b7aaa5a', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
31060
31090
|
}
|
|
31061
31091
|
get el() { return getElement(this); }
|
|
31062
31092
|
static get watchers() { return {
|
|
@@ -31124,7 +31154,7 @@ class Rating {
|
|
|
31124
31154
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
31125
31155
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
31126
31156
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
31127
|
-
return (hAsync(Host, { key: '
|
|
31157
|
+
return (hAsync(Host, { key: 'c52989ac9805002b0340ed3ce5785443c8407f32' }, hAsync("div", { key: '43bcc0301d368affcd14f71e1fdbd6b6563dea0f', 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: '4e940ac7753947a189558976dec0b27ac03ccb90', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '6950deaf6c501b827333ecd237be5ecc443d4438', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
31128
31158
|
}
|
|
31129
31159
|
static get style() { return ratingCss; }
|
|
31130
31160
|
static get cmpMeta() { return {
|
|
@@ -31242,7 +31272,7 @@ class RoadAreaCode {
|
|
|
31242
31272
|
const labelId = this.selectId + '-label';
|
|
31243
31273
|
const valueId = this.selectId + '-value';
|
|
31244
31274
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31245
|
-
return (hAsync(Host, { key: '
|
|
31275
|
+
return (hAsync(Host, { key: 'a032d28fa430954abfba6bd0e8deed1635fcede0', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: 'f383e5170845ddec059ca2f5dddfbe4b54883939', class: `form-select-area has-value ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, this.options && this.options.map(option => (hAsync("option", { value: option.value, selected: option.selected }, option.label)))), hAsync("label", { key: 'ccbf2e622ba06329f3f9ca8c2dde967c087d5547', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), hAsync("label", { key: '22ce785f8ceed7ff9bce71f14146f5784fafddd8', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && hAsync("p", { key: '1ed01581f03d29201d3942d48e5c8b847e6beae1', class: "invalid-feedback" }, this.error)));
|
|
31246
31276
|
}
|
|
31247
31277
|
static get watchers() { return {
|
|
31248
31278
|
"value": ["valueChanged"]
|
|
@@ -31288,7 +31318,7 @@ class RoadAspectRatio {
|
|
|
31288
31318
|
return `${w} / ${h}`;
|
|
31289
31319
|
}
|
|
31290
31320
|
render() {
|
|
31291
|
-
return (hAsync(Host, { key: '
|
|
31321
|
+
return (hAsync(Host, { key: '15becbe5dacec5ef51cbb5b0926446e638adc2d6', style: { '--road-aspect-ratio': this.getCssRatio() } }, hAsync("div", { key: 'e3577954e29c53c7f6b05f571c38f90e41ac2c89', class: "aspect-ratio-wrapper" }, hAsync("div", { key: '72239f4a8fa06b1e6f7d40526286e9742c6620c0', class: "aspect-ratio-content" }, hAsync("slot", { key: '04e70249eccce0a9815a99b078a05706a4209ff0' })))));
|
|
31292
31322
|
}
|
|
31293
31323
|
static get style() { return aspectRatioCss; }
|
|
31294
31324
|
static get cmpMeta() { return {
|
|
@@ -32677,9 +32707,9 @@ class RoadPhoneNumberInput {
|
|
|
32677
32707
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
32678
32708
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
32679
32709
|
const sizes = 'xl';
|
|
32680
|
-
return (hAsync(Host, { key: '
|
|
32710
|
+
return (hAsync(Host, { key: '62d199ee7027d3982c990a2ad6dc36ccb62f136d' }, hAsync("div", { key: '6143ba96562f2120c0eda199afe3128d11228aef', class: 'phone-number-inputs-container' }, hAsync("div", { key: '44a1c8d5408d627ea01b6402490aef39a415da58', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: '4782020ae8b82165b9949ea10c7119219cb88ddc', 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: '40bc437d7149c4197d00ce8a78a4047326845256', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: '60868574491dd548cc7a6a5040a5d0df82ae09ce', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: 'a37180f50381dcb7d04d93ab1462ed9571952e11', 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: 'd059bd3d455c111066db9f873107d1a334a5b4bc', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
32681
32711
|
&& this.errorMessage !== ''
|
|
32682
|
-
&& hAsync("p", { key: '
|
|
32712
|
+
&& hAsync("p", { key: '165f6fc874100be3047567306c5f01945627d4ab', class: "invalid-feedback" }, hAsync("road-icon", { key: 'a300c0512e21809020040648238dbdd05387cd6a', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
32683
32713
|
}
|
|
32684
32714
|
get el() { return getElement(this); }
|
|
32685
32715
|
static get style() { return phoneNumberInputCss; }
|
|
@@ -32708,6 +32738,120 @@ class RoadPhoneNumberInput {
|
|
|
32708
32738
|
}; }
|
|
32709
32739
|
}
|
|
32710
32740
|
|
|
32741
|
+
const timeRangePickerCss = ".required-indicator.sc-road-time-range-picker{color:var(--road-on-danger-surface);content:\" *\"}.time-range-picker-content.sc-road-time-range-picker road-input.sc-road-time-range-picker{margin-bottom:0}.time-range-picker.sc-road-time-range-picker .messages.sc-road-time-range-picker{display:flex;flex-direction:column}.invalid-feedback.sc-road-time-range-picker{font-size:var(--road-helper-medium);color:var(--road-on-danger-surface);display:flex;align-items:center;gap:4px}.invalid-feedback.sc-road-time-range-picker road-icon.sc-road-time-range-picker{color:var(--road-danger-icon)}.sc-road-time-range-picker-h road-input.error-border.sc-road-time-range-picker{border-radius:0.25rem;outline:1px solid var(--road-danger-outline);outline-offset:-1px}";
|
|
32742
|
+
|
|
32743
|
+
/**
|
|
32744
|
+
* @slot start - Input de début
|
|
32745
|
+
* @slot end - Input de fin
|
|
32746
|
+
* @slot separator - Label séparateur (optionnel)
|
|
32747
|
+
*/
|
|
32748
|
+
class RoadTimeRangePicker {
|
|
32749
|
+
constructor(hostRef) {
|
|
32750
|
+
registerInstance(this, hostRef);
|
|
32751
|
+
this.roadChange = createEvent(this, "roadChange", 7);
|
|
32752
|
+
this.roadInput = createEvent(this, "roadInput", 7);
|
|
32753
|
+
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
32754
|
+
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
32755
|
+
/** Désactivation du picker */
|
|
32756
|
+
this.disabled = false;
|
|
32757
|
+
/** Si `true`, l’utilisateur doit remplir avant submit */
|
|
32758
|
+
this.required = false;
|
|
32759
|
+
/** Taille du champ */
|
|
32760
|
+
this.sizes = 'lg';
|
|
32761
|
+
/** Handle change depuis le slot start */
|
|
32762
|
+
this.handleStartChange = (e) => {
|
|
32763
|
+
var _a;
|
|
32764
|
+
this.start = (_a = e.detail.value) !== null && _a !== void 0 ? _a : undefined;
|
|
32765
|
+
this.emitChange();
|
|
32766
|
+
};
|
|
32767
|
+
/** Handle change depuis le slot end */
|
|
32768
|
+
this.handleEndChange = (e) => {
|
|
32769
|
+
var _a;
|
|
32770
|
+
this.end = (_a = e.detail.value) !== null && _a !== void 0 ? _a : undefined;
|
|
32771
|
+
this.emitChange();
|
|
32772
|
+
};
|
|
32773
|
+
}
|
|
32774
|
+
/** Retourne les messages d'erreur sous forme de tableau */
|
|
32775
|
+
get errorMessages() {
|
|
32776
|
+
if (!this.error)
|
|
32777
|
+
return [];
|
|
32778
|
+
if (Array.isArray(this.error))
|
|
32779
|
+
return this.error.flatMap(e => (typeof e === 'string' ? e.split(',') : [e]));
|
|
32780
|
+
return this.error.split(',');
|
|
32781
|
+
}
|
|
32782
|
+
/** Ajoute ou retire la classe error-border sur le road-input */
|
|
32783
|
+
async updateInvalidClasses() {
|
|
32784
|
+
var _a;
|
|
32785
|
+
const inputs = Array.from(this.hostEl.querySelectorAll('road-input[slot="start"], road-input[slot="end"]'));
|
|
32786
|
+
for (const inputEl of inputs) {
|
|
32787
|
+
await ((_a = inputEl.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(inputEl));
|
|
32788
|
+
if (this.errorMessages.length > 0) {
|
|
32789
|
+
inputEl.style.borderRadius = '0.25rem';
|
|
32790
|
+
inputEl.style.outline = `1px solid var(--road-danger-outline)`;
|
|
32791
|
+
inputEl.style.outlineOffset = '-1px';
|
|
32792
|
+
}
|
|
32793
|
+
else {
|
|
32794
|
+
inputEl.style.borderRadius = '';
|
|
32795
|
+
inputEl.style.outline = '';
|
|
32796
|
+
inputEl.style.outlineOffset = '';
|
|
32797
|
+
}
|
|
32798
|
+
}
|
|
32799
|
+
}
|
|
32800
|
+
/** Vérifie que start <= end et met à jour l’erreur */
|
|
32801
|
+
validateRange() {
|
|
32802
|
+
if (this.start && this.end && this.start > this.end) {
|
|
32803
|
+
this.error = 'L’heure de début doit être inférieure à l’heure de fin.';
|
|
32804
|
+
}
|
|
32805
|
+
else {
|
|
32806
|
+
this.error = undefined;
|
|
32807
|
+
}
|
|
32808
|
+
}
|
|
32809
|
+
/** Émet les changements */
|
|
32810
|
+
async emitChange() {
|
|
32811
|
+
this.validateRange();
|
|
32812
|
+
this.roadChange.emit({ start: this.start, end: this.end });
|
|
32813
|
+
await this.updateInvalidClasses();
|
|
32814
|
+
}
|
|
32815
|
+
componentDidLoad() {
|
|
32816
|
+
const startSlot = this.hostEl.querySelector('[slot="start"]');
|
|
32817
|
+
const endSlot = this.hostEl.querySelector('[slot="end"]');
|
|
32818
|
+
if (startSlot) {
|
|
32819
|
+
startSlot.addEventListener('roadChange', this.handleStartChange);
|
|
32820
|
+
}
|
|
32821
|
+
if (endSlot) {
|
|
32822
|
+
endSlot.addEventListener('roadChange', this.handleEndChange);
|
|
32823
|
+
}
|
|
32824
|
+
this.updateInvalidClasses();
|
|
32825
|
+
}
|
|
32826
|
+
async getRange() {
|
|
32827
|
+
return { start: this.start, end: this.end };
|
|
32828
|
+
}
|
|
32829
|
+
render() {
|
|
32830
|
+
return (hAsync(Host, { key: 'a534604647d88b080ca0090572ea3e13287395da', class: `time-range-picker input-${this.sizes}` }, this.label && (hAsync("p", { key: '39f97d280ce22da008d1269c6a3000faa45703ab', class: "label m-0" }, this.label, this.required && hAsync("span", { key: 'ffdb3d9d29350b528c2b2a90f7df1eb023585e70', class: "required-indicator" }, " *"))), hAsync("div", { key: '89f0f6b34af6f7eb549348061814e7c2a1f8950e', class: "time-range-picker-content d-flex align-items-center my-4" }, hAsync("slot", { key: '30c49be0924283113a736dce0250e063b82c8f40', name: "start" }), hAsync("span", { key: 'cc193144f2c0dd89cf95aa9b7ae78f5317c6cbbf', class: "separator mx-12" }, this.separator), hAsync("slot", { key: '0c9773e7aeccb88bb0b20596bff64573d63b2727', name: "end" })), hAsync("div", { key: 'a548f346a41eaf3016df653dbf78ec4a74b5c15b', 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: '7192db48b8e308e73f04d0fde541589e9a893c4c', class: "helper mt-1" }, this.helper)));
|
|
32831
|
+
}
|
|
32832
|
+
get hostEl() { return getElement(this); }
|
|
32833
|
+
static get style() { return timeRangePickerCss; }
|
|
32834
|
+
static get cmpMeta() { return {
|
|
32835
|
+
"$flags$": 6,
|
|
32836
|
+
"$tagName$": "road-time-range-picker",
|
|
32837
|
+
"$members$": {
|
|
32838
|
+
"start": [1025],
|
|
32839
|
+
"end": [1025],
|
|
32840
|
+
"disabled": [4],
|
|
32841
|
+
"helper": [1],
|
|
32842
|
+
"separator": [1],
|
|
32843
|
+
"required": [4],
|
|
32844
|
+
"label": [1],
|
|
32845
|
+
"sizes": [1],
|
|
32846
|
+
"error": [1],
|
|
32847
|
+
"getRange": [64]
|
|
32848
|
+
},
|
|
32849
|
+
"$listeners$": undefined,
|
|
32850
|
+
"$lazyBundleId$": "-",
|
|
32851
|
+
"$attrsToReflect$": []
|
|
32852
|
+
}; }
|
|
32853
|
+
}
|
|
32854
|
+
|
|
32711
32855
|
const rowCss = ":host{display:flex;flex-wrap:wrap;max-width:1440px;margin-right:-8px;margin-left:-8px}@media (min-width: 1440px){:host{margin-right:auto;margin-left:auto}}:host(.flex-wrap){flex-wrap:wrap}:host(.flex-nowrap){flex-wrap:nowrap}:host(.justify-content-start){justify-content:flex-start}:host(.justify-content-end){justify-content:flex-end}:host(.justify-content-center){justify-content:center}:host(.justify-content-between){justify-content:space-between}:host(.justify-content-around){justify-content:space-around}:host(.align-items-start){align-items:flex-start}:host(.align-items-end){align-items:flex-end}:host(.align-items-center){align-items:center}:host(.align-items-baseline){align-items:baseline}:host(.align-items-stretch){align-items:stretch}@media (min-width: 576px){:host(.flex-sm-wrap){flex-wrap:wrap}:host(.flex-sm-nowrap){flex-wrap:nowrap}:host(.justify-content-sm-start){justify-content:flex-start}:host(.justify-content-sm-end){justify-content:flex-end}:host(.justify-content-sm-center){justify-content:center}:host(.justify-content-sm-between){justify-content:space-between}:host(.justify-content-sm-around){justify-content:space-around}:host(.align-items-sm-start){align-items:flex-start}:host(.align-items-sm-end){align-items:flex-end}:host(.align-items-sm-center){align-items:center}:host(.align-items-sm-baseline){align-items:baseline}:host(.align-items-sm-stretch){align-items:stretch}}@media (min-width: 768px){:host(.flex-md-wrap){flex-wrap:wrap}:host(.flex-md-nowrap){flex-wrap:nowrap}:host(.justify-content-md-start){justify-content:flex-start}:host(.justify-content-md-end){justify-content:flex-end}:host(.justify-content-md-center){justify-content:center}:host(.justify-content-md-between){justify-content:space-between}:host(.justify-content-md-around){justify-content:space-around}:host(.align-items-md-start){align-items:flex-start}:host(.align-items-md-end){align-items:flex-end}:host(.align-items-md-center){align-items:center}:host(.align-items-md-baseline){align-items:baseline}:host(.align-items-md-stretch){align-items:stretch}}@media (min-width: 992px){:host(.flex-lg-wrap){flex-wrap:wrap}:host(.flex-lg-nowrap){flex-wrap:nowrap}:host(.justify-content-lg-start){justify-content:flex-start}:host(.justify-content-lg-end){justify-content:flex-end}:host(.justify-content-lg-center){justify-content:center}:host(.justify-content-lg-between){justify-content:space-between}:host(.justify-content-lg-around){justify-content:space-around}:host(.align-items-lg-start){align-items:flex-start}:host(.align-items-lg-end){align-items:flex-end}:host(.align-items-lg-center){align-items:center}:host(.align-items-lg-baseline){align-items:baseline}:host(.align-items-lg-stretch){align-items:stretch}}@media (min-width: 1200px){:host(.flex-xl-wrap){flex-wrap:wrap}:host(.flex-xl-nowrap){flex-wrap:nowrap}:host(.justify-content-xl-start){justify-content:flex-start}:host(.justify-content-xl-end){justify-content:flex-end}:host(.justify-content-xl-center){justify-content:center}:host(.justify-content-xl-between){justify-content:space-between}:host(.justify-content-xl-around){justify-content:space-around}:host(.align-items-xl-start){align-items:flex-start}:host(.align-items-xl-end){align-items:flex-end}:host(.align-items-xl-center){align-items:center}:host(.align-items-xl-baseline){align-items:baseline}:host(.align-items-xl-stretch){align-items:stretch}}:host(.align-content-start){align-content:flex-start}:host(.align-content-end){align-content:flex-end}:host(.align-content-center){align-content:center}:host(.align-content-between){align-content:space-between}:host(.align-content-around){align-content:space-around}:host(.align-content-stretch){align-content:stretch}:host(.align-self-auto){align-self:auto}:host(.align-self-start){align-self:flex-start}:host(.align-self-end){align-self:flex-end}:host(.align-self-center){align-self:center}:host(.align-self-baseline){align-self:baseline}:host(.align-self-stretch){align-self:stretch}";
|
|
32712
32856
|
|
|
32713
32857
|
/**
|
|
@@ -32718,7 +32862,7 @@ class Row {
|
|
|
32718
32862
|
registerInstance(this, hostRef);
|
|
32719
32863
|
}
|
|
32720
32864
|
render() {
|
|
32721
|
-
return (hAsync(Host, { key: '
|
|
32865
|
+
return (hAsync(Host, { key: '053964b4a591b7c2209542fd3dfb06ec9b142f7c' }, hAsync("slot", { key: '59889274785ed4362ef2e2dde78e68b7fc1d5181' })));
|
|
32722
32866
|
}
|
|
32723
32867
|
static get style() { return rowCss; }
|
|
32724
32868
|
static get cmpMeta() { return {
|
|
@@ -32789,10 +32933,10 @@ class SegmentedButton {
|
|
|
32789
32933
|
render() {
|
|
32790
32934
|
const { tabIndex, selected, tab } = this;
|
|
32791
32935
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
32792
|
-
return (hAsync(Host, { key: '
|
|
32936
|
+
return (hAsync(Host, { key: '9548592497ea2e878153b58d8d436bb2e5a2165c', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
32793
32937
|
'tab-selected': selected,
|
|
32794
32938
|
[`${sizeClass}`]: true,
|
|
32795
|
-
} }, hAsync("span", { key: '
|
|
32939
|
+
} }, hAsync("span", { key: '9b387f46d7e02df73fc900c40b9c943e89f07b5a', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("span", { key: '52eb768c25212fa17e832aa0839b43e7eba3ffd5', class: "button-content" }, hAsync("slot", { key: '748a0ebf7ad6656e8b8ceaac99b10d5291aa6678' })))));
|
|
32796
32940
|
}
|
|
32797
32941
|
get el() { return getElement(this); }
|
|
32798
32942
|
static get style() { return segmentedButtonCss; }
|
|
@@ -32810,7 +32954,7 @@ class SegmentedButton {
|
|
|
32810
32954
|
}; }
|
|
32811
32955
|
}
|
|
32812
32956
|
|
|
32813
|
-
const selectCss = ".sc-road-select-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--road-font, sans-serif);color:var(--road-on-surface)}.form-select.sc-road-select{box-sizing:border-box;display:block;width:100%;height:auto;padding:0.75rem 3rem 0 1rem;margin:0;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface);background:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0icmdiYSgyMywgMzAsIDUyLCAwLjcyKSI+PHBhdGggZD0iTTIzIDI2bDkgMTIgOS0xMnoiLz48L3N2Zz4=\") no-repeat right 1rem center/1.5rem 2rem;background-color:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;box-shadow:none;appearance:none}.form-select.sc-road-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000000}.form-select.sc-road-select::-ms-expand{display:none}.form-select.sc-road-select::placeholder{color:var(--road-on-surface-extra-weak)}@media (hover: hover){.form-select.sc-road-select:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-select.sc-road-select:focus~.form-select-label.sc-road-select,.form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.form-select.has-value.sc-road-select~.form-select-label.sc-road-select{transform:scale(0.625) translateY(-0.625rem)}.form-select.sc-road-select:disabled,.form-select[readonly].sc-road-select{color:var(--road-on-surface-disabled);cursor:not-allowed;background-color:var(--road-surface-disabled);opacity:1}.form-select-label.sc-road-select{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-label-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.form-select.sc-road-select:required~.form-select-label.sc-road-select::after{color:var(--road-on-danger-surface);content:\" *\"}.select-xl.sc-road-select-h .form-select.sc-road-select{min-height:3.5rem;padding:1rem 1rem 0}.select-xl.sc-road-select-h .form-select-label.sc-road-select{top:1rem}.select-xl.sc-road-select-h .form-select.sc-road-select:focus~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select.has-value.sc-road-select~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select[type=\"date\"].sc-road-select~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select[type=\"time\"].sc-road-select~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.select-xl.sc-road-select-h .form-select.sc-road-select:placeholder-shown~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.select-lg.sc-road-select-h .form-select.sc-road-select{min-height:3rem}.select-md.sc-road-select-h .form-select.sc-road-select{min-height:2.5rem;padding:1rem 1rem 0;font-size:var(--road-body-small)}.select-md.sc-road-select-h .form-select-label.sc-road-select{top:0.5rem}.select-md.sc-road-select-h .form-select.sc-road-select:focus~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select.has-value.sc-road-select~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select[type=\"date\"].sc-road-select~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select[type=\"time\"].sc-road-select~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.select-md.sc-road-select-h .form-select.sc-road-select:placeholder-shown~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.invalid-feedback.sc-road-select{display:none;width:100%;margin-top:0.5rem;font-size:var(--road-body-small);color:var(--road-on-danger-surface)}.form-select.is-invalid.sc-road-select,.was-validated.sc-road-select .form-select.sc-road-select:invalid{border-color:var(--road-on-danger-surface)}.form-select.is-invalid.sc-road-select~.invalid-feedback.sc-road-select,.was-validated.sc-road-select .form-select.sc-road-select:invalid~.invalid-feedback.sc-road-select{display:block}";
|
|
32957
|
+
const selectCss = ".sc-road-select-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--road-font, sans-serif);color:var(--road-on-surface)}.form-select.sc-road-select{box-sizing:border-box;display:block;width:100%;height:auto;padding:0.75rem 3rem 0 1rem;margin:0;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface);background:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0icmdiYSgyMywgMzAsIDUyLCAwLjcyKSI+PHBhdGggZD0iTTIzIDI2bDkgMTIgOS0xMnoiLz48L3N2Zz4=\") no-repeat right 1rem center/1.5rem 2rem;background-color:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;box-shadow:none;appearance:none}.form-select.sc-road-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000000}.form-select.sc-road-select::-ms-expand{display:none}.form-select.sc-road-select::placeholder{color:var(--road-on-surface-extra-weak)}@media (hover: hover){.form-select.sc-road-select:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-select.sc-road-select:focus~.form-select-label.sc-road-select,.form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.form-select.has-value.sc-road-select~.form-select-label.sc-road-select{transform:scale(0.625) translateY(-0.625rem)}.form-select.sc-road-select:disabled,.form-select[readonly].sc-road-select{color:var(--road-on-surface-disabled);cursor:not-allowed;background-color:var(--road-surface-disabled);opacity:1}.form-select-label.sc-road-select{position:absolute;top:0.75rem;left:1rem;display:block;font-size:var(--road-label-medium);line-height:1.5;color:var(--road-on-surface-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.form-select.sc-road-select:required~.form-select-label.sc-road-select::after{color:var(--road-on-danger-surface);content:\" *\"}.select-xl.sc-road-select-h .form-select.sc-road-select{min-height:3.5rem;padding:1rem 1rem 0}.select-xl.sc-road-select-h .form-select-label.sc-road-select{top:1rem}.select-xl.sc-road-select-h .form-select.sc-road-select:focus~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select.has-value.sc-road-select~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select[type=\"date\"].sc-road-select~.form-select-label.sc-road-select,.select-xl.sc-road-select-h .form-select[type=\"time\"].sc-road-select~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.select-xl.sc-road-select-h .form-select.sc-road-select:placeholder-shown~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.select-lg.sc-road-select-h .form-select.sc-road-select{min-height:3rem}.select-md.sc-road-select-h .form-select.sc-road-select{min-height:2.5rem;padding:1rem 1rem 0;font-size:var(--road-body-small)}.select-md.sc-road-select-h .form-select-label.sc-road-select{top:0.5rem}.select-md.sc-road-select-h .form-select.sc-road-select:focus~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select.has-value.sc-road-select~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select[type=\"date\"].sc-road-select~.form-select-label.sc-road-select,.select-md.sc-road-select-h .form-select[type=\"time\"].sc-road-select~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.select-md.sc-road-select-h .form-select.sc-road-select:placeholder-shown~.form-select-label.sc-road-select{transform:scale(0.75) translateY(-0.625rem)}.invalid-feedback.sc-road-select{display:none;width:100%;margin-top:0.5rem;font-size:var(--road-body-small);color:var(--road-on-danger-surface)}.form-select.is-invalid.sc-road-select,.was-validated.sc-road-select .form-select.sc-road-select:invalid{border-color:var(--road-on-danger-surface)}.form-select.is-invalid.sc-road-select~.invalid-feedback.sc-road-select,.was-validated.sc-road-select .form-select.sc-road-select:invalid~.invalid-feedback.sc-road-select{display:block}.helper.sc-road-select{margin-top:0.5rem;font-size:var(--road-body-small);color:var(--road-on-surface-weak)}";
|
|
32814
32958
|
|
|
32815
32959
|
class Select {
|
|
32816
32960
|
constructor(hostRef) {
|
|
@@ -32912,7 +33056,7 @@ class Select {
|
|
|
32912
33056
|
const labelId = this.selectId + '-label';
|
|
32913
33057
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
32914
33058
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32915
|
-
return (hAsync(Host, { key: '
|
|
33059
|
+
return (hAsync(Host, { key: '93bd88e7862a6e6c3e922216dcfcad9124853750', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: 'aae73ea3ed3447a35835d6b5667abbede8bfc8bb', 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: '3f87bb780d7a4bee96494c2ecd8cfcda2795b95f', 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: 'b59e1f9376e3103e9124b3892879971076ed3e94', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '4bee71ea53ca70ec5336e43e95bfef752e0e87df', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '0783c7286c02148a0af772afab8d4d8b8cb1823b', class: "helper" }, this.helper)));
|
|
32916
33060
|
}
|
|
32917
33061
|
static get watchers() { return {
|
|
32918
33062
|
"value": ["valueChanged"]
|
|
@@ -32928,6 +33072,7 @@ class Select {
|
|
|
32928
33072
|
"disabled": [4],
|
|
32929
33073
|
"name": [1],
|
|
32930
33074
|
"required": [4],
|
|
33075
|
+
"helper": [1],
|
|
32931
33076
|
"size": [2],
|
|
32932
33077
|
"sizes": [1],
|
|
32933
33078
|
"label": [1],
|
|
@@ -34892,7 +35037,7 @@ class SelectFilter {
|
|
|
34892
35037
|
const options = this.filteredOptions;
|
|
34893
35038
|
const isActive = this.isActive ? 'true' : 'false';
|
|
34894
35039
|
const notActive = this.isActive ? '' : 'not-active';
|
|
34895
|
-
return (hAsync(Host, { key: '
|
|
35040
|
+
return (hAsync(Host, { key: 'd011ddcb19c690180b8c7a658a08b60479454a74', "is-active": isActive }, hAsync("slot", { key: '47b5f1f9240a3435616281d3c3d679c06f0a0a14' }), this.isOpen && (hAsync("div", { key: '5bc8dbce5eff0d1300bda1128a3c4567c775a754', 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 })))))))));
|
|
34896
35041
|
}
|
|
34897
35042
|
get el() { return getElement(this); }
|
|
34898
35043
|
static get watchers() { return {
|
|
@@ -34927,7 +35072,7 @@ class Skeleton {
|
|
|
34927
35072
|
registerInstance(this, hostRef);
|
|
34928
35073
|
}
|
|
34929
35074
|
render() {
|
|
34930
|
-
return (hAsync("span", { key: '
|
|
35075
|
+
return (hAsync("span", { key: 'c0228e2542290ee3baa76c083ce476c5267826d1' }, "\u00A0"));
|
|
34931
35076
|
}
|
|
34932
35077
|
static get style() { return skeletonCss; }
|
|
34933
35078
|
static get cmpMeta() { return {
|
|
@@ -34957,7 +35102,7 @@ class Spinner {
|
|
|
34957
35102
|
render() {
|
|
34958
35103
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
34959
35104
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
34960
|
-
return (hAsync("svg", { key: '
|
|
35105
|
+
return (hAsync("svg", { key: '302f1af509768b684dbaada07370e2c74a29f9bc', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: '50fa12bf9f083d0cdbdd20360d6ea0cdbfea0466', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
34961
35106
|
}
|
|
34962
35107
|
static get style() { return spinnerCss; }
|
|
34963
35108
|
static get cmpMeta() { return {
|
|
@@ -35006,7 +35151,7 @@ class Stepper {
|
|
|
35006
35151
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
35007
35152
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
35008
35153
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
35009
|
-
return (hAsync(Host, { key: '
|
|
35154
|
+
return (hAsync(Host, { key: '484564b79ee330b456801828ebab4492dacacb15' }, hAsync("nav", { key: '297c5d19359a29ed020cf5cb53876cbe8e078e8d' }, hAsync("ul", { key: 'b3233785a4be76eb1518c0012cee4942bfe1307a', class: `${colorClass}` }, hAsync("li", { key: '2c31355bb490d04ea6ce958e0970040f6cd2cb54', class: `${stateClass}` }, hAsync("a", { key: 'd4f70e3981483ab0dd4c547a9bc68704bdc068b8', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: '5ace6d7d84006709164ec1649147a32a2a9bd438', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '135624d1bd577f2d7a2d5e3f8d075a2cc5ae9ab0', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: '3a31b5fc3e8a7bf7e0cba2d40a8737f1dc909039', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '94646ca5bb61be0d3d2072eb07c26140e47357ea', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: '6ebbfed8867f928a4e5537b48955d281dbe26444', class: `${stateSecondStepClass}` }, hAsync("a", { key: 'c357fc67702517796cd84f4f8e6a1908837006a8', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: '4486ee2ab6a1be2bad20a8f9f17b68576e756110', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '2036062f5f41ed726ac0b34eec83546c98b4d9e0', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '3ede4ed03caf6335f3aa53cbca0b18107bd76960', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: 'cff4e4f79ecc59f6c0a628a9c07ee76b83b4c0c5', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: '5e7600b3ea00042015cc7506df9e606cb40b0732', class: `${stateThirdStepClass}` }, hAsync("a", { key: 'afeee7f8e7334ff2be5f351d382be4bd71eb716b', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: '222fe55d3d9a2b8a69f71031e805fc70a3754096', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '875f394808a0855d795f70652b9408bb8b358eae', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: '47df644200107a64d6dcb2e8d19d4dd66787c381', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: 'b22e1bc2fda289e541f105993b9dbd37ab54a1e2', name: "progress-indicator-horizontal-title3" }))))))));
|
|
35010
35155
|
}
|
|
35011
35156
|
static get style() { return progressIndicatorHorizontalCss; }
|
|
35012
35157
|
static get cmpMeta() { return {
|
|
@@ -35107,11 +35252,11 @@ class Switch {
|
|
|
35107
35252
|
}
|
|
35108
35253
|
render() {
|
|
35109
35254
|
const labelId = this.switchId + '-label';
|
|
35110
|
-
const textLabel = hAsync("label", { key: '
|
|
35255
|
+
const textLabel = hAsync("label", { key: '20bf9992d6f2fc319a839d707a3639823a35cc84', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
35111
35256
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
35112
35257
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
35113
35258
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
35114
|
-
return (hAsync(Host, { key: '
|
|
35259
|
+
return (hAsync(Host, { key: '1ec39362f378a46b80867475420ab52efccd4fa9' }, hAsync("input", { key: '7f2f079f02bf5e300745aecabb1ba6812fac090f', 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: '1e064c4085509a0241ccf863ccbb595a2595212c', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: 'd1e3ad01eb1978be8c7b457d468d717d704d35c5', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
35115
35260
|
}
|
|
35116
35261
|
static get watchers() { return {
|
|
35117
35262
|
"checked": ["checkedChanged"]
|
|
@@ -35165,9 +35310,9 @@ class Tab {
|
|
|
35165
35310
|
}
|
|
35166
35311
|
render() {
|
|
35167
35312
|
const { tab, active } = this;
|
|
35168
|
-
return (hAsync(Host, { key: '
|
|
35313
|
+
return (hAsync(Host, { key: 'c3aca6b888fe08c212a5c03394fdab1439171451', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35169
35314
|
'tab-hidden': !active,
|
|
35170
|
-
} }, hAsync("slot", { key: '
|
|
35315
|
+
} }, hAsync("slot", { key: '739adb77833a403962beb5485298de7dd394cfe4' })));
|
|
35171
35316
|
}
|
|
35172
35317
|
get el() { return getElement(this); }
|
|
35173
35318
|
static get style() { return tabCss; }
|
|
@@ -35226,11 +35371,11 @@ class TabBar {
|
|
|
35226
35371
|
}
|
|
35227
35372
|
render() {
|
|
35228
35373
|
const { expand, center, secondary } = this;
|
|
35229
|
-
return (hAsync(Host, { key: '
|
|
35374
|
+
return (hAsync(Host, { key: 'ef4eb4065b071b17a166db33b213122c3631d165', role: "tablist", class: {
|
|
35230
35375
|
'tab-expand': expand,
|
|
35231
35376
|
'tab-center': center,
|
|
35232
35377
|
'tab-secondary': secondary,
|
|
35233
|
-
} }, hAsync("slot", { key: '
|
|
35378
|
+
} }, hAsync("slot", { key: '3fadc2a434b55cc31dbfe783f16871a3b9068570' })));
|
|
35234
35379
|
}
|
|
35235
35380
|
get el() { return getElement(this); }
|
|
35236
35381
|
static get watchers() { return {
|
|
@@ -35329,7 +35474,7 @@ class TabButton {
|
|
|
35329
35474
|
rel,
|
|
35330
35475
|
target,
|
|
35331
35476
|
};
|
|
35332
|
-
return (hAsync(Host, { key: '
|
|
35477
|
+
return (hAsync(Host, { key: 'caa00cfd5d250b3ddf4258ba6893eef15826c58d', 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: {
|
|
35333
35478
|
'tab-selected': selected,
|
|
35334
35479
|
'tab-has-label': hasLabel,
|
|
35335
35480
|
'tab-has-icon': hasIcon,
|
|
@@ -35337,7 +35482,7 @@ class TabButton {
|
|
|
35337
35482
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
35338
35483
|
[`tab-layout-${layout}`]: true,
|
|
35339
35484
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
35340
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35485
|
+
} }, hAsync("a", Object.assign({ key: 'a0f8af5a88bae2190ae5384c1430471e965f521c' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '79c66f17e67927e19e0ac21cbb4bcec3e742a621', class: "button-inner" }, hAsync("slot", { key: '9b887cdde6915b26dce575070b54750fc56685b1' })))));
|
|
35341
35486
|
}
|
|
35342
35487
|
get el() { return getElement(this); }
|
|
35343
35488
|
static get style() { return tabButtonCss; }
|
|
@@ -35370,7 +35515,7 @@ class Table {
|
|
|
35370
35515
|
registerInstance(this, hostRef);
|
|
35371
35516
|
}
|
|
35372
35517
|
render() {
|
|
35373
|
-
return (hAsync("slot", { key: '
|
|
35518
|
+
return (hAsync("slot", { key: '9d5ce23f3e304156df7a7b1d62a5f18653596ad1' }));
|
|
35374
35519
|
}
|
|
35375
35520
|
static get style() { return tableCss; }
|
|
35376
35521
|
static get cmpMeta() { return {
|
|
@@ -35477,7 +35622,7 @@ let Tabs$1 = class Tabs {
|
|
|
35477
35622
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35478
35623
|
}
|
|
35479
35624
|
render() {
|
|
35480
|
-
return (hAsync(Host, { key: '
|
|
35625
|
+
return (hAsync(Host, { key: '89abef9c6de5cf910c2b8d60339e33faff29dca2', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: 'ca0d60c29253a2674a21b622388bdef7b4d3de46', name: "top" }), hAsync("slot", { key: '2971095330446d9ba36da88863781b0778e78901' })));
|
|
35481
35626
|
}
|
|
35482
35627
|
get el() { return getElement(this); }
|
|
35483
35628
|
static get style() { return segmentedButtonsCss; }
|
|
@@ -35612,7 +35757,7 @@ class Tabs {
|
|
|
35612
35757
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35613
35758
|
}
|
|
35614
35759
|
render() {
|
|
35615
|
-
return (hAsync(Host, { key: '
|
|
35760
|
+
return (hAsync(Host, { key: 'e1069835da1b9a9d9ba60391fd65953fa340ec62', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '34ef52dce07ac42d9210e18c9f9c76eb7ea68604', name: "top" }), hAsync("div", { key: '0e687af5a7cc8b05706b0e948570b4024bd6ca43', class: "tabs-inner" }, hAsync("slot", { key: '6ddaecf0dcc3a7e4929dc07a3b81c31ceb414058' }))));
|
|
35616
35761
|
}
|
|
35617
35762
|
get el() { return getElement(this); }
|
|
35618
35763
|
static get style() { return tabsCss; }
|
|
@@ -35659,7 +35804,7 @@ class Tag {
|
|
|
35659
35804
|
}
|
|
35660
35805
|
render() {
|
|
35661
35806
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
35662
|
-
return (hAsync(Host, { key: '
|
|
35807
|
+
return (hAsync(Host, { key: 'b289870abbbcdfe08287f3d6d9d7abdc2b9126e4', class: `${contrastClass}` }, hAsync("slot", { key: '2ea8813f70942d6f2ff0cf61384e881724a986a1' })));
|
|
35663
35808
|
}
|
|
35664
35809
|
static get style() { return tagCss; }
|
|
35665
35810
|
static get cmpMeta() { return {
|
|
@@ -35690,7 +35835,7 @@ class Text {
|
|
|
35690
35835
|
}
|
|
35691
35836
|
render() {
|
|
35692
35837
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
35693
|
-
return (hAsync(Host, { key: '
|
|
35838
|
+
return (hAsync(Host, { key: 'a029dd08f94d2f26ad6c8dcff551899a9aec75e0', class: `${colorClass}` }, hAsync("slot", { key: 'c89d8409beab93476b7710bdf9bbc6c70a66e8f3' })));
|
|
35694
35839
|
}
|
|
35695
35840
|
static get style() { return textCss; }
|
|
35696
35841
|
static get cmpMeta() { return {
|
|
@@ -35799,7 +35944,7 @@ class Textarea {
|
|
|
35799
35944
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
35800
35945
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
35801
35946
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
35802
|
-
return (hAsync(Host, { key: '
|
|
35947
|
+
return (hAsync(Host, { key: '55e1309fc4cbfcf4b66b4c939f7fe4ba6d3dd8f2', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: 'a1edd4e41db8d1ffa557b9aa55986060f368bcf7', 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: '8336774e5a8b906d32a163a4a1bb4c986f06327b', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '9c6cae00a39b02bdf0551f7655c4d28198978ada', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '33a6477c47d758fad0d456328f61672bf44b0f04', class: "helper" }, this.helper)));
|
|
35803
35948
|
}
|
|
35804
35949
|
static get watchers() { return {
|
|
35805
35950
|
"value": ["valueChanged"]
|
|
@@ -35929,7 +36074,7 @@ class Toast {
|
|
|
35929
36074
|
if (this.color == 'danger') {
|
|
35930
36075
|
this.timeout = 0;
|
|
35931
36076
|
}
|
|
35932
|
-
return (hAsync(Host, { key: '
|
|
36077
|
+
return (hAsync(Host, { key: 'cb18038bfa4b44cd3d134a7657926bb9c8e24d17', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: 'ae0838688f77951bbfc85299f44051393d84a69b', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: '346819e2c1a772f221edabdeed2dd0a3d51ebb6a', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: 'f7e9e9b6e9bb26d97cd562e7100b6f75f1d3b9d2', class: "toast-label" }, this.label), hAsync("button", { key: '5426d28abe9620d459cb780b92c5a324cc3466c1', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: '49fa820b52a1342dbfd25bc9a62699a94d75141b', icon: navigationClose, size: "md" })), hAsync("slot", { key: 'aa5f419a9f0143a80f34b04260af00becd48d33b', name: "progress" }))));
|
|
35933
36078
|
}
|
|
35934
36079
|
static get watchers() { return {
|
|
35935
36080
|
"isOpen": ["isOpenChanged"]
|
|
@@ -35968,7 +36113,7 @@ class Toolbar {
|
|
|
35968
36113
|
}
|
|
35969
36114
|
render() {
|
|
35970
36115
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
35971
|
-
return (hAsync(Host, { key: '
|
|
36116
|
+
return (hAsync(Host, { key: '0b88600ebada869329fbc736103cce6185d58829', class: colorClass }, hAsync("div", { key: '46a5965add48c7f3b310ea37f0531fa636650d86', class: "toolbar-container" }, hAsync("slot", { key: '767cdd720f66807f6c626ae1176ecda4d1c7c3f1', name: "start" }), hAsync("slot", { key: '8905ca5022c8f02894877d9af61ed565927c3d62', name: "primary" }), hAsync("div", { key: '8fc5ce73c12cb186f43c3be0120433f5c93a5243', class: "toolbar-content" }, hAsync("slot", { key: '24f2a5093d97471a6a0521412c95afe67bf95a85' })), hAsync("slot", { key: '4efa26dcb798471ea61660a9fb5606f7c4c465ee', name: "secondary" }), hAsync("slot", { key: 'dc2f9434649ad3cf962c4c9e4059143e2ca668bc', name: "end" }))));
|
|
35972
36117
|
}
|
|
35973
36118
|
static get style() { return toolbarCss; }
|
|
35974
36119
|
static get cmpMeta() { return {
|
|
@@ -35993,7 +36138,7 @@ class ToolbarAppName {
|
|
|
35993
36138
|
registerInstance(this, hostRef);
|
|
35994
36139
|
}
|
|
35995
36140
|
render() {
|
|
35996
|
-
return (hAsync("div", { key: '
|
|
36141
|
+
return (hAsync("div", { key: '900d211ae74c415cc17a20d151f4e36cf3b04da8', class: "toolbar-title-page" }, hAsync("slot", { key: 'e6c4edfc4c154a03b1f820dfa5f0055b0b812248' })));
|
|
35997
36142
|
}
|
|
35998
36143
|
static get style() { return toolbarTitlePageCss; }
|
|
35999
36144
|
static get cmpMeta() { return {
|
|
@@ -36016,7 +36161,7 @@ class ToolbarTitle {
|
|
|
36016
36161
|
registerInstance(this, hostRef);
|
|
36017
36162
|
}
|
|
36018
36163
|
render() {
|
|
36019
|
-
return (hAsync("div", { key: '
|
|
36164
|
+
return (hAsync("div", { key: '88be686e24974281c73f594fe336d8e4f3d12f36', class: "toolbar-title" }, hAsync("slot", { key: 'd0618386d4bc414a8b06706d7445a9a137d6f34f' })));
|
|
36020
36165
|
}
|
|
36021
36166
|
static get style() { return toolbarTitleCss; }
|
|
36022
36167
|
static get cmpMeta() { return {
|
|
@@ -36044,7 +36189,7 @@ class ToolbarV2 {
|
|
|
36044
36189
|
registerInstance(this, hostRef);
|
|
36045
36190
|
}
|
|
36046
36191
|
render() {
|
|
36047
|
-
return (hAsync(Host, { key: '
|
|
36192
|
+
return (hAsync(Host, { key: '93273265d2594d2dd002b55d9865ef83762d835d', class: "toolbar" }, hAsync("div", { key: '932f94edd9a6b5e96f41ec7c147748e98f2c7884', class: "toolbar-container" }, hAsync("div", { key: '5a7acdf79a3b98f76e12e31a874ff7ced6fafda5', class: "toolbar-container-content-left" }, hAsync("slot", { key: '14b4a2ca30840e9ddb247b8770f7c9609af6ee3b', name: "start" }), hAsync("slot", { key: '11aa3a5515fdf419d8681a47318fd709d7722223', name: "primary" })), hAsync("div", { key: '7a8380cc8c4ab8485816d6b0b00b10c561b31255', class: "toolbar-content" }, hAsync("slot", { key: '14c4d7c87233ef3d20004a9d552eeac9431a06b7' })), hAsync("div", { key: 'e5433782d7152bb90f29de09d0f23b19b4ac6455', class: "toolbar-container-content-right" }, hAsync("slot", { key: '4b5272b64ffdaa6cce34091ff97ad99349dba724', name: "secondary" }), hAsync("slot", { key: '80e4e083c9a1569912b238ec268928c4175363aa', name: "end" })))));
|
|
36048
36193
|
}
|
|
36049
36194
|
static get style() { return toolbarV2Css; }
|
|
36050
36195
|
static get cmpMeta() { return {
|
|
@@ -36156,12 +36301,12 @@ class Tooltip {
|
|
|
36156
36301
|
return triggers.includes(triggerType);
|
|
36157
36302
|
}
|
|
36158
36303
|
render() {
|
|
36159
|
-
return (hAsync(Host, { key: '
|
|
36304
|
+
return (hAsync(Host, { key: '994ba069b08be16c5c50931cbf86a71d77311b24', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
36160
36305
|
,
|
|
36161
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
36306
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: '97b2a1dde0b8b79c2d3c023d7d18ee05ccde9f61', "aria-describedby": this.tooltipId }), hAsync("div", { key: 'acec6cc0e5cb246eaea6403b22d0e8349fd53b61', part: "tooltip", id: this.tooltipId, class: {
|
|
36162
36307
|
tooltip: true,
|
|
36163
36308
|
'tooltip-open': this.isOpen,
|
|
36164
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '
|
|
36309
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '25db554281d18291bccd2b7518bf8a4dc97afbb5', name: "tooltip-content" }))));
|
|
36165
36310
|
}
|
|
36166
36311
|
get el() { return getElement(this); }
|
|
36167
36312
|
static get style() { return tooltipCss; }
|
|
@@ -36252,11 +36397,11 @@ class toggle {
|
|
|
36252
36397
|
}
|
|
36253
36398
|
render() {
|
|
36254
36399
|
const labelId = this.toggleId + '-label';
|
|
36255
|
-
const textLabel = hAsync("label", { key: '
|
|
36400
|
+
const textLabel = hAsync("label", { key: '278ee82874075075eaa41c5c432a782d9dcc84d3', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
36256
36401
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
36257
36402
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
36258
36403
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
36259
|
-
return (hAsync(Host, { key: '
|
|
36404
|
+
return (hAsync(Host, { key: 'f80289d1ff682532536da8ba16de22fd1a914aa6' }, hAsync("input", { key: 'e8c2ad50bd9979bf7f7c055cc9c53acceec2d5de', 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: '100f35517ebbf53524b75fde96f961c9b5654766', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '8ed3174d11a4d42f4e5a1db591b64fda72816fcb', 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)));
|
|
36260
36405
|
}
|
|
36261
36406
|
static get watchers() { return {
|
|
36262
36407
|
"checked": ["checkedChanged"]
|
|
@@ -36297,6 +36442,7 @@ registerComponents([
|
|
|
36297
36442
|
Carousel,
|
|
36298
36443
|
CarouselItem,
|
|
36299
36444
|
Checkbox,
|
|
36445
|
+
Chip$1,
|
|
36300
36446
|
Chip,
|
|
36301
36447
|
Col,
|
|
36302
36448
|
Collapse,
|
|
@@ -36338,6 +36484,7 @@ registerComponents([
|
|
|
36338
36484
|
RoadAreaCode,
|
|
36339
36485
|
RoadAspectRatio,
|
|
36340
36486
|
RoadPhoneNumberInput,
|
|
36487
|
+
RoadTimeRangePicker,
|
|
36341
36488
|
Row,
|
|
36342
36489
|
SegmentedButton,
|
|
36343
36490
|
Select,
|