@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.js
CHANGED
|
@@ -3253,6 +3253,7 @@ var styles$1 = /* @__PURE__ */ new Map();
|
|
|
3253
3253
|
|
|
3254
3254
|
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>';
|
|
3255
3255
|
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>';
|
|
3256
|
+
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>';
|
|
3256
3257
|
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>';
|
|
3257
3258
|
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>';
|
|
3258
3259
|
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>';
|
|
@@ -3312,7 +3313,7 @@ class Accordion {
|
|
|
3312
3313
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3313
3314
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3314
3315
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3315
|
-
return (hAsync("details", { key: '
|
|
3316
|
+
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' }))));
|
|
3316
3317
|
}
|
|
3317
3318
|
static get style() { return accordionCss; }
|
|
3318
3319
|
static get cmpMeta() { return {
|
|
@@ -3346,7 +3347,7 @@ class Alert {
|
|
|
3346
3347
|
}
|
|
3347
3348
|
render() {
|
|
3348
3349
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3349
|
-
return (hAsync(Host, { key: '
|
|
3350
|
+
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)))));
|
|
3350
3351
|
}
|
|
3351
3352
|
static get style() { return alertCss; }
|
|
3352
3353
|
static get cmpMeta() { return {
|
|
@@ -3444,7 +3445,7 @@ class Asset {
|
|
|
3444
3445
|
}
|
|
3445
3446
|
}
|
|
3446
3447
|
render() {
|
|
3447
|
-
return (hAsync(Host, { key: '
|
|
3448
|
+
return (hAsync(Host, { key: '03fcca328e04d037849e3051c22d3f7a7a33d24d', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3448
3449
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3449
3450
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3450
3451
|
}
|
|
@@ -3513,8 +3514,8 @@ class Autocomplete {
|
|
|
3513
3514
|
}
|
|
3514
3515
|
}
|
|
3515
3516
|
render() {
|
|
3516
|
-
return (hAsync(Host, { key: '
|
|
3517
|
-
hAsync("ul", { key: '
|
|
3517
|
+
return (hAsync(Host, { key: 'c36a2ee2be17f376314f6cfe2be38470d1e27201' }, hAsync("slot", { key: 'af26b2da578538f1539677d84b25f6f43787a15e' }), this.visible && this.options.length > 0 &&
|
|
3518
|
+
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))))));
|
|
3518
3519
|
}
|
|
3519
3520
|
get el() { return getElement(this); }
|
|
3520
3521
|
static get style() { return autocompleteCss; }
|
|
@@ -3546,7 +3547,7 @@ class Avatar {
|
|
|
3546
3547
|
}
|
|
3547
3548
|
render() {
|
|
3548
3549
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3549
|
-
return (hAsync(Host, { key: '
|
|
3550
|
+
return (hAsync(Host, { key: 'cd4ebc58a244d1b9e775a2637bbce4c3b9f2d79d', class: `${sizeClass}` }, hAsync("slot", { key: '1e9195472cf7e6c01c016e41e7cebf120594ff0b' })));
|
|
3550
3551
|
}
|
|
3551
3552
|
static get style() { return avatarCss; }
|
|
3552
3553
|
static get cmpMeta() { return {
|
|
@@ -3586,7 +3587,7 @@ class Badge {
|
|
|
3586
3587
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3587
3588
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3588
3589
|
const sizeClass = this.size !== undefined ? `badge-${this.size}` : '';
|
|
3589
|
-
return (hAsync(Host, { key: '
|
|
3590
|
+
return (hAsync(Host, { key: '0c47b1c06c1dd0f0e700f75a0e313602337b21e1', class: `${colorClass} ${bubbleClass} ${sizeClass}` }, hAsync("slot", { key: 'ca0fbbb911202914ccd3240da4d385c61c527468' })));
|
|
3590
3591
|
}
|
|
3591
3592
|
static get style() { return badgeCss; }
|
|
3592
3593
|
static get cmpMeta() { return {
|
|
@@ -3635,7 +3636,7 @@ class Banner {
|
|
|
3635
3636
|
}
|
|
3636
3637
|
render() {
|
|
3637
3638
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3638
|
-
return (hAsync(Host, { key: '
|
|
3639
|
+
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" })))));
|
|
3639
3640
|
}
|
|
3640
3641
|
static get style() { return bannerCss; }
|
|
3641
3642
|
static get cmpMeta() { return {
|
|
@@ -3740,7 +3741,7 @@ let Button$1 = class Button {
|
|
|
3740
3741
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
3741
3742
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3742
3743
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3743
|
-
return (hAsync(Host, { key: '
|
|
3744
|
+
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" }))));
|
|
3744
3745
|
}
|
|
3745
3746
|
get el() { return getElement(this); }
|
|
3746
3747
|
static get style() { return buttonCss; }
|
|
@@ -3824,7 +3825,7 @@ class Button {
|
|
|
3824
3825
|
render() {
|
|
3825
3826
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3826
3827
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3827
|
-
return (hAsync(Host, { key: '
|
|
3828
|
+
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' }))));
|
|
3828
3829
|
}
|
|
3829
3830
|
get el() { return getElement(this); }
|
|
3830
3831
|
static get style() { return buttonFloatingCss; }
|
|
@@ -3868,7 +3869,7 @@ class ButtonBar {
|
|
|
3868
3869
|
this.selectedTabChanged();
|
|
3869
3870
|
}
|
|
3870
3871
|
render() {
|
|
3871
|
-
return (hAsync(Host, { key: '
|
|
3872
|
+
return (hAsync(Host, { key: '4e9d9b4be56f382b08a0db431b289498c55b3d87', role: "tablist" }, hAsync("slot", { key: '8bac9805ed4832865cf2581b4f11e8f6c3efd238' })));
|
|
3872
3873
|
}
|
|
3873
3874
|
get el() { return getElement(this); }
|
|
3874
3875
|
static get watchers() { return {
|
|
@@ -3950,7 +3951,7 @@ class Card {
|
|
|
3950
3951
|
render() {
|
|
3951
3952
|
const { elevation } = this;
|
|
3952
3953
|
const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
|
|
3953
|
-
return (hAsync(Host, { key: '
|
|
3954
|
+
return (hAsync(Host, { key: 'f92f1eab5547d2e4f0b762a60a21138d5658de5d', class: `${elevationClass}` }, this.renderCard()));
|
|
3954
3955
|
}
|
|
3955
3956
|
get el() { return getElement(this); }
|
|
3956
3957
|
static get style() { return cardCss; }
|
|
@@ -10697,7 +10698,7 @@ class Carousel {
|
|
|
10697
10698
|
});
|
|
10698
10699
|
}
|
|
10699
10700
|
render() {
|
|
10700
|
-
return (hAsync(Host, { key: '
|
|
10701
|
+
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 })))));
|
|
10701
10702
|
}
|
|
10702
10703
|
get el() { return getElement(this); }
|
|
10703
10704
|
static get watchers() { return {
|
|
@@ -10747,10 +10748,10 @@ class CarouselItem {
|
|
|
10747
10748
|
registerInstance(this, hostRef);
|
|
10748
10749
|
}
|
|
10749
10750
|
render() {
|
|
10750
|
-
return (hAsync(Host, { key: '
|
|
10751
|
+
return (hAsync(Host, { key: '46b4a5c7049321489d690ae59cbe3b73f485fad9', class: {
|
|
10751
10752
|
'swiper-slide': true,
|
|
10752
10753
|
'swiper-zoom-container': true,
|
|
10753
|
-
} }, hAsync("slot", { key: '
|
|
10754
|
+
} }, hAsync("slot", { key: 'e89f20eca7dfe24630746a797e61cfc223dbc39d' })));
|
|
10754
10755
|
}
|
|
10755
10756
|
static get style() { return carouselItemCss; }
|
|
10756
10757
|
static get cmpMeta() { return {
|
|
@@ -10840,7 +10841,7 @@ class Checkbox {
|
|
|
10840
10841
|
const labelId = this.checkboxId + '-label';
|
|
10841
10842
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10842
10843
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10843
|
-
return (hAsync(Host, { key: '
|
|
10844
|
+
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)));
|
|
10844
10845
|
}
|
|
10845
10846
|
static get watchers() { return {
|
|
10846
10847
|
"checked": ["checkedChanged"]
|
|
@@ -10875,7 +10876,7 @@ const chipCss = ":host{box-sizing:border-box;display:inline-flex;align-items:cen
|
|
|
10875
10876
|
/**
|
|
10876
10877
|
* @slot - Content of the chip.
|
|
10877
10878
|
*/
|
|
10878
|
-
class Chip {
|
|
10879
|
+
let Chip$1 = class Chip {
|
|
10879
10880
|
constructor(hostRef) {
|
|
10880
10881
|
registerInstance(this, hostRef);
|
|
10881
10882
|
/**
|
|
@@ -10897,7 +10898,7 @@ class Chip {
|
|
|
10897
10898
|
}
|
|
10898
10899
|
render() {
|
|
10899
10900
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10900
|
-
return (hAsync(Host, { key: '
|
|
10901
|
+
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 })));
|
|
10901
10902
|
}
|
|
10902
10903
|
static get style() { return chipCss; }
|
|
10903
10904
|
static get cmpMeta() { return {
|
|
@@ -10913,6 +10914,35 @@ class Chip {
|
|
|
10913
10914
|
"$lazyBundleId$": "-",
|
|
10914
10915
|
"$attrsToReflect$": []
|
|
10915
10916
|
}; }
|
|
10917
|
+
};
|
|
10918
|
+
|
|
10919
|
+
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)}";
|
|
10920
|
+
|
|
10921
|
+
/**
|
|
10922
|
+
* @slot - Content of the chip.
|
|
10923
|
+
*/
|
|
10924
|
+
class Chip {
|
|
10925
|
+
constructor(hostRef) {
|
|
10926
|
+
registerInstance(this, hostRef);
|
|
10927
|
+
/**
|
|
10928
|
+
* The chip size.
|
|
10929
|
+
*/
|
|
10930
|
+
this.size = 'sm';
|
|
10931
|
+
}
|
|
10932
|
+
render() {
|
|
10933
|
+
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' }))));
|
|
10934
|
+
}
|
|
10935
|
+
static get style() { return statusChipCss; }
|
|
10936
|
+
static get cmpMeta() { return {
|
|
10937
|
+
"$flags$": 9,
|
|
10938
|
+
"$tagName$": "road-status-chip",
|
|
10939
|
+
"$members$": {
|
|
10940
|
+
"size": [1]
|
|
10941
|
+
},
|
|
10942
|
+
"$listeners$": undefined,
|
|
10943
|
+
"$lazyBundleId$": "-",
|
|
10944
|
+
"$attrsToReflect$": []
|
|
10945
|
+
}; }
|
|
10916
10946
|
}
|
|
10917
10947
|
|
|
10918
10948
|
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%}}";
|
|
@@ -10925,7 +10955,7 @@ class Col {
|
|
|
10925
10955
|
registerInstance(this, hostRef);
|
|
10926
10956
|
}
|
|
10927
10957
|
render() {
|
|
10928
|
-
return (hAsync("slot", { key: '
|
|
10958
|
+
return (hAsync("slot", { key: '763a0c275f1ee779b84511d0575c9bfa300b7675' }));
|
|
10929
10959
|
}
|
|
10930
10960
|
static get style() { return colCss; }
|
|
10931
10961
|
static get cmpMeta() { return {
|
|
@@ -10974,7 +11004,7 @@ class Collapse {
|
|
|
10974
11004
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
10975
11005
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
10976
11006
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
10977
|
-
return (hAsync(Host, { key: '
|
|
11007
|
+
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))));
|
|
10978
11008
|
}
|
|
10979
11009
|
static get style() { return collapseCss; }
|
|
10980
11010
|
static get cmpMeta() { return {
|
|
@@ -11010,7 +11040,7 @@ class ContentCard {
|
|
|
11010
11040
|
}
|
|
11011
11041
|
render() {
|
|
11012
11042
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
11013
|
-
return (hAsync(Host, { key: '
|
|
11043
|
+
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' })))));
|
|
11014
11044
|
}
|
|
11015
11045
|
static get style() { return contentCardCss; }
|
|
11016
11046
|
static get cmpMeta() { return {
|
|
@@ -11185,7 +11215,7 @@ class Counter {
|
|
|
11185
11215
|
}
|
|
11186
11216
|
render() {
|
|
11187
11217
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11188
|
-
return (hAsync("road-input-group", { key: '
|
|
11218
|
+
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" }))));
|
|
11189
11219
|
}
|
|
11190
11220
|
get el() { return getElement(this); }
|
|
11191
11221
|
static get watchers() { return {
|
|
@@ -11304,11 +11334,11 @@ class Dialog {
|
|
|
11304
11334
|
break;
|
|
11305
11335
|
}
|
|
11306
11336
|
}
|
|
11307
|
-
return (hAsync(Host, { key: '
|
|
11337
|
+
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
|
|
11308
11338
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11309
|
-
: ''), hAsync("div", { key: '
|
|
11339
|
+
: ''), hAsync("div", { key: 'ab8833301d161b6d68f46e355f0bbe62048a3882', class: "dialog-body" }, this.color !== undefined
|
|
11310
11340
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11311
|
-
: '', hAsync("h2", { key: '
|
|
11341
|
+
: '', 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' }))))));
|
|
11312
11342
|
}
|
|
11313
11343
|
get el() { return getElement(this); }
|
|
11314
11344
|
static get style() { return dialogCss; }
|
|
@@ -11475,7 +11505,7 @@ class Drawer {
|
|
|
11475
11505
|
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
11476
11506
|
const footerSlotElement = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.querySelector('slot[name="footer"]');
|
|
11477
11507
|
const hasFooterContent = footerSlotElement instanceof HTMLSlotElement && footerSlotElement.assignedNodes().length > 0;
|
|
11478
|
-
return (hAsync(Host, { key: '
|
|
11508
|
+
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" }))))));
|
|
11479
11509
|
}
|
|
11480
11510
|
get el() { return getElement(this); }
|
|
11481
11511
|
static get watchers() { return {
|
|
@@ -11535,7 +11565,7 @@ let Dropdown$1 = class Dropdown {
|
|
|
11535
11565
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
11536
11566
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
11537
11567
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
11538
|
-
return (hAsync("details", { key: '
|
|
11568
|
+
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" }))));
|
|
11539
11569
|
}
|
|
11540
11570
|
get el() { return getElement(this); }
|
|
11541
11571
|
static get style() { return dropdownCss; }
|
|
@@ -11590,7 +11620,7 @@ class Dropdown {
|
|
|
11590
11620
|
this.isOpen = false;
|
|
11591
11621
|
}
|
|
11592
11622
|
render() {
|
|
11593
|
-
return (hAsync("details", { key: '
|
|
11623
|
+
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" }))));
|
|
11594
11624
|
}
|
|
11595
11625
|
get el() { return getElement(this); }
|
|
11596
11626
|
static get style() { return profilDropdownCss; }
|
|
@@ -11653,7 +11683,7 @@ class Duration {
|
|
|
11653
11683
|
this.isOpen = false;
|
|
11654
11684
|
}
|
|
11655
11685
|
render() {
|
|
11656
|
-
return (hAsync("road-drawer", { key: '
|
|
11686
|
+
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 })))))))));
|
|
11657
11687
|
}
|
|
11658
11688
|
get el() { return getElement(this); }
|
|
11659
11689
|
static get style() { return durationCss; }
|
|
@@ -11698,7 +11728,7 @@ class Flap {
|
|
|
11698
11728
|
}
|
|
11699
11729
|
render() {
|
|
11700
11730
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
11701
|
-
return (hAsync(Host, { key: '
|
|
11731
|
+
return (hAsync(Host, { key: 'c9e4068d75b640675d22406d8059d03e79ec50c4', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: '77f87a4577c10d0a964cc25d0b69ce0a852363cf' })));
|
|
11702
11732
|
}
|
|
11703
11733
|
static get style() { return flapCss; }
|
|
11704
11734
|
static get cmpMeta() { return {
|
|
@@ -11743,7 +11773,7 @@ class GlobalNavigation {
|
|
|
11743
11773
|
this.selectedTabChanged();
|
|
11744
11774
|
}
|
|
11745
11775
|
render() {
|
|
11746
|
-
return (hAsync(Host, { key: '
|
|
11776
|
+
return (hAsync(Host, { key: '6933e085d30138bd207072e08794b13ba5afcb54', role: "application" }, hAsync("slot", { key: 'b5a9dcc1d9545c3d6d343a10684df3f02f0620cf' })));
|
|
11747
11777
|
}
|
|
11748
11778
|
static get watchers() { return {
|
|
11749
11779
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -11890,7 +11920,7 @@ class GlobalNavigationV2 {
|
|
|
11890
11920
|
this.selectedTabChanged();
|
|
11891
11921
|
}
|
|
11892
11922
|
render() {
|
|
11893
|
-
return (hAsync(Host, { key: '
|
|
11923
|
+
return (hAsync(Host, { key: '2cb99c512eaba639cc1d8038a9da0612b8655ca0', role: "application" }, hAsync("slot", { key: 'b6e22b39a345f69aba42502e53a1797a10471e4e' })));
|
|
11894
11924
|
}
|
|
11895
11925
|
get host() { return getElement(this); }
|
|
11896
11926
|
static get watchers() { return {
|
|
@@ -11919,7 +11949,7 @@ class Grid {
|
|
|
11919
11949
|
registerInstance(this, hostRef);
|
|
11920
11950
|
}
|
|
11921
11951
|
render() {
|
|
11922
|
-
return (hAsync("slot", { key: '
|
|
11952
|
+
return (hAsync("slot", { key: 'b61547eee4d8410cd5ed573dc913b2cce7d785af' }));
|
|
11923
11953
|
}
|
|
11924
11954
|
static get style() { return gridCss; }
|
|
11925
11955
|
static get cmpMeta() { return {
|
|
@@ -12021,7 +12051,7 @@ class Icon {
|
|
|
12021
12051
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
12022
12052
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
12023
12053
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
12024
|
-
return (hAsync(Host, { key: '
|
|
12054
|
+
return (hAsync(Host, { key: '504f9ef14c8e32e9fd513f70ad6840dc529daba1', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
12025
12055
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
12026
12056
|
: hAsync("div", { class: "icon-inner" })));
|
|
12027
12057
|
}
|
|
@@ -12142,7 +12172,7 @@ class Illustration {
|
|
|
12142
12172
|
render() {
|
|
12143
12173
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
12144
12174
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
12145
|
-
return (hAsync(Host, { key: '
|
|
12175
|
+
return (hAsync(Host, { key: '707f0cb857f11a4f9204d59de47e18df041c9fed', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
12146
12176
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
12147
12177
|
: hAsync("div", { class: "icon-inner" }))));
|
|
12148
12178
|
}
|
|
@@ -12244,7 +12274,7 @@ class Img {
|
|
|
12244
12274
|
}
|
|
12245
12275
|
render() {
|
|
12246
12276
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
12247
|
-
return (hAsync(Host, { key: '
|
|
12277
|
+
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" })));
|
|
12248
12278
|
}
|
|
12249
12279
|
get el() { return getElement(this); }
|
|
12250
12280
|
static get watchers() { return {
|
|
@@ -29694,11 +29724,11 @@ class Input {
|
|
|
29694
29724
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29695
29725
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29696
29726
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29697
|
-
return (hAsync(Host, { key: '
|
|
29727
|
+
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)
|
|
29698
29728
|
? // Si error est un tableau, on itère et génère un <p> pour chaque élément
|
|
29699
29729
|
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(), " ")))
|
|
29700
29730
|
: // Si error est une chaîne, on la divise avec split et génère un <p> pour chaque élément
|
|
29701
|
-
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: '
|
|
29731
|
+
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" })));
|
|
29702
29732
|
}
|
|
29703
29733
|
static get watchers() { return {
|
|
29704
29734
|
"debounce": ["debounceChanged"],
|
|
@@ -29809,7 +29839,7 @@ class InputGroup {
|
|
|
29809
29839
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
29810
29840
|
: '';
|
|
29811
29841
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
29812
|
-
return (hAsync("div", { key: '
|
|
29842
|
+
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" }))));
|
|
29813
29843
|
}
|
|
29814
29844
|
get el() { return getElement(this); }
|
|
29815
29845
|
static get watchers() { return {
|
|
@@ -29888,13 +29918,13 @@ class Item {
|
|
|
29888
29918
|
target,
|
|
29889
29919
|
};
|
|
29890
29920
|
const showDetail = detail !== undefined && detail;
|
|
29891
|
-
return (hAsync(Host, { key: '
|
|
29921
|
+
return (hAsync(Host, { key: 'ed24316ec421ba4ce1a8c0176b4b1f02f5fe0f66', "aria-disabled": disabled ? 'true' : null, class: {
|
|
29892
29922
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
29893
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
29923
|
+
} }, hAsync(TagType, Object.assign({ key: '7ebcc595d5499ba9234040b1a674b623d5ea649d' }, attrs, { class: {
|
|
29894
29924
|
'item-native': true,
|
|
29895
29925
|
'item-active': this.active,
|
|
29896
29926
|
[`layout-${layout}`]: layout !== undefined,
|
|
29897
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
29927
|
+
}, 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" })))));
|
|
29898
29928
|
}
|
|
29899
29929
|
get el() { return getElement(this); }
|
|
29900
29930
|
static get style() { return itemCss; }
|
|
@@ -29934,7 +29964,7 @@ class Label {
|
|
|
29934
29964
|
registerInstance(this, hostRef);
|
|
29935
29965
|
}
|
|
29936
29966
|
render() {
|
|
29937
|
-
return (hAsync("slot", { key: '
|
|
29967
|
+
return (hAsync("slot", { key: '11494c860efa780bf502a439e98d2382454c2a02' }));
|
|
29938
29968
|
}
|
|
29939
29969
|
static get style() { return labelCss; }
|
|
29940
29970
|
static get cmpMeta() { return {
|
|
@@ -29958,9 +29988,9 @@ class List {
|
|
|
29958
29988
|
}
|
|
29959
29989
|
render() {
|
|
29960
29990
|
const { lines } = this;
|
|
29961
|
-
return (hAsync(Host, { key: '
|
|
29991
|
+
return (hAsync(Host, { key: '1ef8a8ba8c68cb9618fc43d486d43e67ce8dbe2f', class: {
|
|
29962
29992
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
29963
|
-
} }, hAsync("slot", { key: '
|
|
29993
|
+
} }, hAsync("slot", { key: '6b2eb3016d2d37f72337dc7052c379e9cc77e8f1' })));
|
|
29964
29994
|
}
|
|
29965
29995
|
static get style() { return listCss; }
|
|
29966
29996
|
static get cmpMeta() { return {
|
|
@@ -30044,7 +30074,7 @@ class Modal {
|
|
|
30044
30074
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
30045
30075
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
30046
30076
|
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" })) : '';
|
|
30047
|
-
return (hAsync(Host, { key: '
|
|
30077
|
+
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' }))))));
|
|
30048
30078
|
}
|
|
30049
30079
|
get el() { return getElement(this); }
|
|
30050
30080
|
static get style() { return modalCss; }
|
|
@@ -30094,7 +30124,7 @@ class Navbar {
|
|
|
30094
30124
|
this.selectedTabChanged();
|
|
30095
30125
|
}
|
|
30096
30126
|
render() {
|
|
30097
|
-
return (hAsync(Host, { key: '
|
|
30127
|
+
return (hAsync(Host, { key: '5b249df769ec96c722427c9a46c6cffcb95a0241', role: "menubar" }, hAsync("slot", { key: '1e40e21864570843c0816e0496b0703c61cb629e' })));
|
|
30098
30128
|
}
|
|
30099
30129
|
static get watchers() { return {
|
|
30100
30130
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30179,11 +30209,11 @@ let NavbarItem$1 = class NavbarItem {
|
|
|
30179
30209
|
rel,
|
|
30180
30210
|
target,
|
|
30181
30211
|
};
|
|
30182
|
-
return (hAsync(Host, { key: '
|
|
30212
|
+
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: {
|
|
30183
30213
|
'navbar-item': true,
|
|
30184
30214
|
'tab-selected': selected,
|
|
30185
30215
|
'tab-disabled': disabled,
|
|
30186
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30216
|
+
} }, 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' })))));
|
|
30187
30217
|
}
|
|
30188
30218
|
get el() { return getElement(this); }
|
|
30189
30219
|
static get watchers() { return {
|
|
@@ -30275,11 +30305,11 @@ class NavbarItem {
|
|
|
30275
30305
|
rel,
|
|
30276
30306
|
target,
|
|
30277
30307
|
};
|
|
30278
|
-
return (hAsync(Host, { key: '
|
|
30308
|
+
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: {
|
|
30279
30309
|
'navbar-item': true,
|
|
30280
30310
|
'tab-selected': selected,
|
|
30281
30311
|
'tab-disabled': disabled,
|
|
30282
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30312
|
+
} }, 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' })))));
|
|
30283
30313
|
}
|
|
30284
30314
|
get el() { return getElement(this); }
|
|
30285
30315
|
static get watchers() { return {
|
|
@@ -30337,7 +30367,7 @@ class NavbarV2 {
|
|
|
30337
30367
|
}
|
|
30338
30368
|
render() {
|
|
30339
30369
|
const compactClass = this.compact ? 'compact' : '';
|
|
30340
|
-
return (hAsync(Host, { key: '
|
|
30370
|
+
return (hAsync(Host, { key: '4241f26255edd1c41306c4c87a58fc347be5484e', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'e9e9d61201fc9d22a494ed7a0ecae5e62e24015c' })));
|
|
30341
30371
|
}
|
|
30342
30372
|
static get watchers() { return {
|
|
30343
30373
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30459,10 +30489,10 @@ class PlateNumber {
|
|
|
30459
30489
|
render() {
|
|
30460
30490
|
const value = this.getValue();
|
|
30461
30491
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
30462
|
-
return (hAsync("road-input-group", { key: '
|
|
30492
|
+
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
|
|
30463
30493
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
30464
30494
|
? (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 }))
|
|
30465
|
-
: (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: '
|
|
30495
|
+
: (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" }))));
|
|
30466
30496
|
}
|
|
30467
30497
|
static get watchers() { return {
|
|
30468
30498
|
"value": ["valueChanged"]
|
|
@@ -30529,7 +30559,7 @@ class ProgressBar {
|
|
|
30529
30559
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
30530
30560
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
30531
30561
|
const animation = this.animation ? 'animation' : '';
|
|
30532
|
-
return (hAsync(Host, { key: '
|
|
30562
|
+
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))));
|
|
30533
30563
|
}
|
|
30534
30564
|
static get style() { return progressCss; }
|
|
30535
30565
|
static get cmpMeta() { return {
|
|
@@ -30569,7 +30599,7 @@ class ProgressIndicatorVertical {
|
|
|
30569
30599
|
registerInstance(this, hostRef);
|
|
30570
30600
|
}
|
|
30571
30601
|
render() {
|
|
30572
|
-
return (hAsync(Host, { key: '
|
|
30602
|
+
return (hAsync(Host, { key: '92fe6d3fa130d14b744815a115ca1c3bf2451f4d' }, hAsync("nav", { key: 'ebf43e3904a581381adde7214390f6b73e47d447' }, hAsync("ul", { key: '9178eefc6d8c9861f11bf9d712622119859978b7' }, hAsync("li", { key: '6cb3f005057c136ceb4979c802eb2298da26585f' }, hAsync("slot", { key: '0bff9df0a413ec17d6c0bf790db752bc9e3aed0e' }))))));
|
|
30573
30603
|
}
|
|
30574
30604
|
static get style() { return progressIndicatorVerticalCss; }
|
|
30575
30605
|
static get cmpMeta() { return {
|
|
@@ -30592,7 +30622,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
30592
30622
|
registerInstance(this, hostRef);
|
|
30593
30623
|
}
|
|
30594
30624
|
render() {
|
|
30595
|
-
return (hAsync(Host, { key: '
|
|
30625
|
+
return (hAsync(Host, { key: 'b05b71c6a0fa3e07a8f33c54eef5d975bdafaaba' }, hAsync("slot", { key: '72291203d06d053b27631c35da74c3bc12d81c78' })));
|
|
30596
30626
|
}
|
|
30597
30627
|
static get style() { return progressIndicatorVerticalItemCss; }
|
|
30598
30628
|
static get cmpMeta() { return {
|
|
@@ -30620,7 +30650,7 @@ class ProgressTracker {
|
|
|
30620
30650
|
registerInstance(this, hostRef);
|
|
30621
30651
|
}
|
|
30622
30652
|
render() {
|
|
30623
|
-
return (hAsync(Host, { key: '
|
|
30653
|
+
return (hAsync(Host, { key: '615df39b7dce1234c45c82eeb38df8a036862a58' }, hAsync("nav", { key: '7ecc3be0c49914f7c4e59576d12ab6f7155592e2' }, hAsync("ul", { key: '305a2b22ea0226fe6ee6d98e30fe515e74351bf5' }, hAsync("li", { key: '455a33140bbf5bf2df942fee12a0db54cc1ab182' }, hAsync("slot", { key: '43ef7d71eb398c57271b85528f1f08894ae0a286' }))))));
|
|
30624
30654
|
}
|
|
30625
30655
|
static get style() { return progressTrackerCss; }
|
|
30626
30656
|
static get cmpMeta() { return {
|
|
@@ -30651,7 +30681,7 @@ class ProgressTrackerItem {
|
|
|
30651
30681
|
registerInstance(this, hostRef);
|
|
30652
30682
|
}
|
|
30653
30683
|
render() {
|
|
30654
|
-
return (hAsync(Host, { key: '
|
|
30684
|
+
return (hAsync(Host, { key: '16bf22b6c90d546b95e53b3a6d74313e3147bbf0' }, hAsync("slot", { key: 'bb4ad9275c208c571537aa53582fbdb6784f3215' })));
|
|
30655
30685
|
}
|
|
30656
30686
|
static get style() { return progressTrackerItemCss; }
|
|
30657
30687
|
static get cmpMeta() { return {
|
|
@@ -30743,7 +30773,7 @@ class Radio {
|
|
|
30743
30773
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
30744
30774
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
30745
30775
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30746
|
-
return (hAsync(Host, { key: '
|
|
30776
|
+
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))));
|
|
30747
30777
|
}
|
|
30748
30778
|
get el() { return getElement(this); }
|
|
30749
30779
|
static get style() { return radioCss; }
|
|
@@ -30826,7 +30856,7 @@ class RadioCard {
|
|
|
30826
30856
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30827
30857
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
30828
30858
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
30829
|
-
return (hAsync(Host, { key: '
|
|
30859
|
+
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' }))))));
|
|
30830
30860
|
}
|
|
30831
30861
|
get el() { return getElement(this); }
|
|
30832
30862
|
static get style() { return radioCardCss; }
|
|
@@ -30922,7 +30952,7 @@ class RadioGroup {
|
|
|
30922
30952
|
render() {
|
|
30923
30953
|
const labelId = `${this.radioGroupId}-label`;
|
|
30924
30954
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30925
|
-
return (hAsync(Host, { key: '
|
|
30955
|
+
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)));
|
|
30926
30956
|
}
|
|
30927
30957
|
get el() { return getElement(this); }
|
|
30928
30958
|
static get watchers() { return {
|
|
@@ -31051,14 +31081,14 @@ class Range {
|
|
|
31051
31081
|
render() {
|
|
31052
31082
|
const value = this.getValue();
|
|
31053
31083
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
31054
|
-
return (hAsync(Host, { key: '
|
|
31084
|
+
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: {
|
|
31055
31085
|
"--min": this.min,
|
|
31056
31086
|
"--max": this.max,
|
|
31057
31087
|
"--value": value,
|
|
31058
31088
|
"--background-color": this.disabled
|
|
31059
31089
|
? "var(--road-surface-disabled)"
|
|
31060
31090
|
: "initial",
|
|
31061
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
31091
|
+
} }, 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" })))));
|
|
31062
31092
|
}
|
|
31063
31093
|
get el() { return getElement(this); }
|
|
31064
31094
|
static get watchers() { return {
|
|
@@ -31126,7 +31156,7 @@ class Rating {
|
|
|
31126
31156
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
31127
31157
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
31128
31158
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
31129
|
-
return (hAsync(Host, { key: '
|
|
31159
|
+
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}`, ")")));
|
|
31130
31160
|
}
|
|
31131
31161
|
static get style() { return ratingCss; }
|
|
31132
31162
|
static get cmpMeta() { return {
|
|
@@ -31244,7 +31274,7 @@ class RoadAreaCode {
|
|
|
31244
31274
|
const labelId = this.selectId + '-label';
|
|
31245
31275
|
const valueId = this.selectId + '-value';
|
|
31246
31276
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
31247
|
-
return (hAsync(Host, { key: '
|
|
31277
|
+
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)));
|
|
31248
31278
|
}
|
|
31249
31279
|
static get watchers() { return {
|
|
31250
31280
|
"value": ["valueChanged"]
|
|
@@ -31290,7 +31320,7 @@ class RoadAspectRatio {
|
|
|
31290
31320
|
return `${w} / ${h}`;
|
|
31291
31321
|
}
|
|
31292
31322
|
render() {
|
|
31293
|
-
return (hAsync(Host, { key: '
|
|
31323
|
+
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' })))));
|
|
31294
31324
|
}
|
|
31295
31325
|
static get style() { return aspectRatioCss; }
|
|
31296
31326
|
static get cmpMeta() { return {
|
|
@@ -32679,9 +32709,9 @@ class RoadPhoneNumberInput {
|
|
|
32679
32709
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
32680
32710
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
32681
32711
|
const sizes = 'xl';
|
|
32682
|
-
return (hAsync(Host, { key: '
|
|
32712
|
+
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
|
|
32683
32713
|
&& this.errorMessage !== ''
|
|
32684
|
-
&& hAsync("p", { key: '
|
|
32714
|
+
&& 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)));
|
|
32685
32715
|
}
|
|
32686
32716
|
get el() { return getElement(this); }
|
|
32687
32717
|
static get style() { return phoneNumberInputCss; }
|
|
@@ -32710,6 +32740,120 @@ class RoadPhoneNumberInput {
|
|
|
32710
32740
|
}; }
|
|
32711
32741
|
}
|
|
32712
32742
|
|
|
32743
|
+
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}";
|
|
32744
|
+
|
|
32745
|
+
/**
|
|
32746
|
+
* @slot start - Input de début
|
|
32747
|
+
* @slot end - Input de fin
|
|
32748
|
+
* @slot separator - Label séparateur (optionnel)
|
|
32749
|
+
*/
|
|
32750
|
+
class RoadTimeRangePicker {
|
|
32751
|
+
constructor(hostRef) {
|
|
32752
|
+
registerInstance(this, hostRef);
|
|
32753
|
+
this.roadChange = createEvent(this, "roadChange", 7);
|
|
32754
|
+
this.roadInput = createEvent(this, "roadInput", 7);
|
|
32755
|
+
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
32756
|
+
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
32757
|
+
/** Désactivation du picker */
|
|
32758
|
+
this.disabled = false;
|
|
32759
|
+
/** Si `true`, l’utilisateur doit remplir avant submit */
|
|
32760
|
+
this.required = false;
|
|
32761
|
+
/** Taille du champ */
|
|
32762
|
+
this.sizes = 'lg';
|
|
32763
|
+
/** Handle change depuis le slot start */
|
|
32764
|
+
this.handleStartChange = (e) => {
|
|
32765
|
+
var _a;
|
|
32766
|
+
this.start = (_a = e.detail.value) !== null && _a !== void 0 ? _a : undefined;
|
|
32767
|
+
this.emitChange();
|
|
32768
|
+
};
|
|
32769
|
+
/** Handle change depuis le slot end */
|
|
32770
|
+
this.handleEndChange = (e) => {
|
|
32771
|
+
var _a;
|
|
32772
|
+
this.end = (_a = e.detail.value) !== null && _a !== void 0 ? _a : undefined;
|
|
32773
|
+
this.emitChange();
|
|
32774
|
+
};
|
|
32775
|
+
}
|
|
32776
|
+
/** Retourne les messages d'erreur sous forme de tableau */
|
|
32777
|
+
get errorMessages() {
|
|
32778
|
+
if (!this.error)
|
|
32779
|
+
return [];
|
|
32780
|
+
if (Array.isArray(this.error))
|
|
32781
|
+
return this.error.flatMap(e => (typeof e === 'string' ? e.split(',') : [e]));
|
|
32782
|
+
return this.error.split(',');
|
|
32783
|
+
}
|
|
32784
|
+
/** Ajoute ou retire la classe error-border sur le road-input */
|
|
32785
|
+
async updateInvalidClasses() {
|
|
32786
|
+
var _a;
|
|
32787
|
+
const inputs = Array.from(this.hostEl.querySelectorAll('road-input[slot="start"], road-input[slot="end"]'));
|
|
32788
|
+
for (const inputEl of inputs) {
|
|
32789
|
+
await ((_a = inputEl.componentOnReady) === null || _a === void 0 ? void 0 : _a.call(inputEl));
|
|
32790
|
+
if (this.errorMessages.length > 0) {
|
|
32791
|
+
inputEl.style.borderRadius = '0.25rem';
|
|
32792
|
+
inputEl.style.outline = `1px solid var(--road-danger-outline)`;
|
|
32793
|
+
inputEl.style.outlineOffset = '-1px';
|
|
32794
|
+
}
|
|
32795
|
+
else {
|
|
32796
|
+
inputEl.style.borderRadius = '';
|
|
32797
|
+
inputEl.style.outline = '';
|
|
32798
|
+
inputEl.style.outlineOffset = '';
|
|
32799
|
+
}
|
|
32800
|
+
}
|
|
32801
|
+
}
|
|
32802
|
+
/** Vérifie que start <= end et met à jour l’erreur */
|
|
32803
|
+
validateRange() {
|
|
32804
|
+
if (this.start && this.end && this.start > this.end) {
|
|
32805
|
+
this.error = 'L’heure de début doit être inférieure à l’heure de fin.';
|
|
32806
|
+
}
|
|
32807
|
+
else {
|
|
32808
|
+
this.error = undefined;
|
|
32809
|
+
}
|
|
32810
|
+
}
|
|
32811
|
+
/** Émet les changements */
|
|
32812
|
+
async emitChange() {
|
|
32813
|
+
this.validateRange();
|
|
32814
|
+
this.roadChange.emit({ start: this.start, end: this.end });
|
|
32815
|
+
await this.updateInvalidClasses();
|
|
32816
|
+
}
|
|
32817
|
+
componentDidLoad() {
|
|
32818
|
+
const startSlot = this.hostEl.querySelector('[slot="start"]');
|
|
32819
|
+
const endSlot = this.hostEl.querySelector('[slot="end"]');
|
|
32820
|
+
if (startSlot) {
|
|
32821
|
+
startSlot.addEventListener('roadChange', this.handleStartChange);
|
|
32822
|
+
}
|
|
32823
|
+
if (endSlot) {
|
|
32824
|
+
endSlot.addEventListener('roadChange', this.handleEndChange);
|
|
32825
|
+
}
|
|
32826
|
+
this.updateInvalidClasses();
|
|
32827
|
+
}
|
|
32828
|
+
async getRange() {
|
|
32829
|
+
return { start: this.start, end: this.end };
|
|
32830
|
+
}
|
|
32831
|
+
render() {
|
|
32832
|
+
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)));
|
|
32833
|
+
}
|
|
32834
|
+
get hostEl() { return getElement(this); }
|
|
32835
|
+
static get style() { return timeRangePickerCss; }
|
|
32836
|
+
static get cmpMeta() { return {
|
|
32837
|
+
"$flags$": 6,
|
|
32838
|
+
"$tagName$": "road-time-range-picker",
|
|
32839
|
+
"$members$": {
|
|
32840
|
+
"start": [1025],
|
|
32841
|
+
"end": [1025],
|
|
32842
|
+
"disabled": [4],
|
|
32843
|
+
"helper": [1],
|
|
32844
|
+
"separator": [1],
|
|
32845
|
+
"required": [4],
|
|
32846
|
+
"label": [1],
|
|
32847
|
+
"sizes": [1],
|
|
32848
|
+
"error": [1],
|
|
32849
|
+
"getRange": [64]
|
|
32850
|
+
},
|
|
32851
|
+
"$listeners$": undefined,
|
|
32852
|
+
"$lazyBundleId$": "-",
|
|
32853
|
+
"$attrsToReflect$": []
|
|
32854
|
+
}; }
|
|
32855
|
+
}
|
|
32856
|
+
|
|
32713
32857
|
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}";
|
|
32714
32858
|
|
|
32715
32859
|
/**
|
|
@@ -32720,7 +32864,7 @@ class Row {
|
|
|
32720
32864
|
registerInstance(this, hostRef);
|
|
32721
32865
|
}
|
|
32722
32866
|
render() {
|
|
32723
|
-
return (hAsync(Host, { key: '
|
|
32867
|
+
return (hAsync(Host, { key: '053964b4a591b7c2209542fd3dfb06ec9b142f7c' }, hAsync("slot", { key: '59889274785ed4362ef2e2dde78e68b7fc1d5181' })));
|
|
32724
32868
|
}
|
|
32725
32869
|
static get style() { return rowCss; }
|
|
32726
32870
|
static get cmpMeta() { return {
|
|
@@ -32791,10 +32935,10 @@ class SegmentedButton {
|
|
|
32791
32935
|
render() {
|
|
32792
32936
|
const { tabIndex, selected, tab } = this;
|
|
32793
32937
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
32794
|
-
return (hAsync(Host, { key: '
|
|
32938
|
+
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: {
|
|
32795
32939
|
'tab-selected': selected,
|
|
32796
32940
|
[`${sizeClass}`]: true,
|
|
32797
|
-
} }, hAsync("span", { key: '
|
|
32941
|
+
} }, 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' })))));
|
|
32798
32942
|
}
|
|
32799
32943
|
get el() { return getElement(this); }
|
|
32800
32944
|
static get style() { return segmentedButtonCss; }
|
|
@@ -32812,7 +32956,7 @@ class SegmentedButton {
|
|
|
32812
32956
|
}; }
|
|
32813
32957
|
}
|
|
32814
32958
|
|
|
32815
|
-
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}";
|
|
32959
|
+
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)}";
|
|
32816
32960
|
|
|
32817
32961
|
class Select {
|
|
32818
32962
|
constructor(hostRef) {
|
|
@@ -32914,7 +33058,7 @@ class Select {
|
|
|
32914
33058
|
const labelId = this.selectId + '-label';
|
|
32915
33059
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
32916
33060
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32917
|
-
return (hAsync(Host, { key: '
|
|
33061
|
+
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)));
|
|
32918
33062
|
}
|
|
32919
33063
|
static get watchers() { return {
|
|
32920
33064
|
"value": ["valueChanged"]
|
|
@@ -32930,6 +33074,7 @@ class Select {
|
|
|
32930
33074
|
"disabled": [4],
|
|
32931
33075
|
"name": [1],
|
|
32932
33076
|
"required": [4],
|
|
33077
|
+
"helper": [1],
|
|
32933
33078
|
"size": [2],
|
|
32934
33079
|
"sizes": [1],
|
|
32935
33080
|
"label": [1],
|
|
@@ -34894,7 +35039,7 @@ class SelectFilter {
|
|
|
34894
35039
|
const options = this.filteredOptions;
|
|
34895
35040
|
const isActive = this.isActive ? 'true' : 'false';
|
|
34896
35041
|
const notActive = this.isActive ? '' : 'not-active';
|
|
34897
|
-
return (hAsync(Host, { key: '
|
|
35042
|
+
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 })))))))));
|
|
34898
35043
|
}
|
|
34899
35044
|
get el() { return getElement(this); }
|
|
34900
35045
|
static get watchers() { return {
|
|
@@ -34929,7 +35074,7 @@ class Skeleton {
|
|
|
34929
35074
|
registerInstance(this, hostRef);
|
|
34930
35075
|
}
|
|
34931
35076
|
render() {
|
|
34932
|
-
return (hAsync("span", { key: '
|
|
35077
|
+
return (hAsync("span", { key: 'c0228e2542290ee3baa76c083ce476c5267826d1' }, "\u00A0"));
|
|
34933
35078
|
}
|
|
34934
35079
|
static get style() { return skeletonCss; }
|
|
34935
35080
|
static get cmpMeta() { return {
|
|
@@ -34959,7 +35104,7 @@ class Spinner {
|
|
|
34959
35104
|
render() {
|
|
34960
35105
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
34961
35106
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
34962
|
-
return (hAsync("svg", { key: '
|
|
35107
|
+
return (hAsync("svg", { key: '302f1af509768b684dbaada07370e2c74a29f9bc', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: '50fa12bf9f083d0cdbdd20360d6ea0cdbfea0466', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
34963
35108
|
}
|
|
34964
35109
|
static get style() { return spinnerCss; }
|
|
34965
35110
|
static get cmpMeta() { return {
|
|
@@ -35008,7 +35153,7 @@ class Stepper {
|
|
|
35008
35153
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
35009
35154
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
35010
35155
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
35011
|
-
return (hAsync(Host, { key: '
|
|
35156
|
+
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" }))))))));
|
|
35012
35157
|
}
|
|
35013
35158
|
static get style() { return progressIndicatorHorizontalCss; }
|
|
35014
35159
|
static get cmpMeta() { return {
|
|
@@ -35109,11 +35254,11 @@ class Switch {
|
|
|
35109
35254
|
}
|
|
35110
35255
|
render() {
|
|
35111
35256
|
const labelId = this.switchId + '-label';
|
|
35112
|
-
const textLabel = hAsync("label", { key: '
|
|
35257
|
+
const textLabel = hAsync("label", { key: '20bf9992d6f2fc319a839d707a3639823a35cc84', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
35113
35258
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
35114
35259
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
35115
35260
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
35116
|
-
return (hAsync(Host, { key: '
|
|
35261
|
+
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)));
|
|
35117
35262
|
}
|
|
35118
35263
|
static get watchers() { return {
|
|
35119
35264
|
"checked": ["checkedChanged"]
|
|
@@ -35167,9 +35312,9 @@ class Tab {
|
|
|
35167
35312
|
}
|
|
35168
35313
|
render() {
|
|
35169
35314
|
const { tab, active } = this;
|
|
35170
|
-
return (hAsync(Host, { key: '
|
|
35315
|
+
return (hAsync(Host, { key: 'c3aca6b888fe08c212a5c03394fdab1439171451', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35171
35316
|
'tab-hidden': !active,
|
|
35172
|
-
} }, hAsync("slot", { key: '
|
|
35317
|
+
} }, hAsync("slot", { key: '739adb77833a403962beb5485298de7dd394cfe4' })));
|
|
35173
35318
|
}
|
|
35174
35319
|
get el() { return getElement(this); }
|
|
35175
35320
|
static get style() { return tabCss; }
|
|
@@ -35228,11 +35373,11 @@ class TabBar {
|
|
|
35228
35373
|
}
|
|
35229
35374
|
render() {
|
|
35230
35375
|
const { expand, center, secondary } = this;
|
|
35231
|
-
return (hAsync(Host, { key: '
|
|
35376
|
+
return (hAsync(Host, { key: 'ef4eb4065b071b17a166db33b213122c3631d165', role: "tablist", class: {
|
|
35232
35377
|
'tab-expand': expand,
|
|
35233
35378
|
'tab-center': center,
|
|
35234
35379
|
'tab-secondary': secondary,
|
|
35235
|
-
} }, hAsync("slot", { key: '
|
|
35380
|
+
} }, hAsync("slot", { key: '3fadc2a434b55cc31dbfe783f16871a3b9068570' })));
|
|
35236
35381
|
}
|
|
35237
35382
|
get el() { return getElement(this); }
|
|
35238
35383
|
static get watchers() { return {
|
|
@@ -35331,7 +35476,7 @@ class TabButton {
|
|
|
35331
35476
|
rel,
|
|
35332
35477
|
target,
|
|
35333
35478
|
};
|
|
35334
|
-
return (hAsync(Host, { key: '
|
|
35479
|
+
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: {
|
|
35335
35480
|
'tab-selected': selected,
|
|
35336
35481
|
'tab-has-label': hasLabel,
|
|
35337
35482
|
'tab-has-icon': hasIcon,
|
|
@@ -35339,7 +35484,7 @@ class TabButton {
|
|
|
35339
35484
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
35340
35485
|
[`tab-layout-${layout}`]: true,
|
|
35341
35486
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
35342
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35487
|
+
} }, 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' })))));
|
|
35343
35488
|
}
|
|
35344
35489
|
get el() { return getElement(this); }
|
|
35345
35490
|
static get style() { return tabButtonCss; }
|
|
@@ -35372,7 +35517,7 @@ class Table {
|
|
|
35372
35517
|
registerInstance(this, hostRef);
|
|
35373
35518
|
}
|
|
35374
35519
|
render() {
|
|
35375
|
-
return (hAsync("slot", { key: '
|
|
35520
|
+
return (hAsync("slot", { key: '9d5ce23f3e304156df7a7b1d62a5f18653596ad1' }));
|
|
35376
35521
|
}
|
|
35377
35522
|
static get style() { return tableCss; }
|
|
35378
35523
|
static get cmpMeta() { return {
|
|
@@ -35479,7 +35624,7 @@ let Tabs$1 = class Tabs {
|
|
|
35479
35624
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35480
35625
|
}
|
|
35481
35626
|
render() {
|
|
35482
|
-
return (hAsync(Host, { key: '
|
|
35627
|
+
return (hAsync(Host, { key: '89abef9c6de5cf910c2b8d60339e33faff29dca2', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: 'ca0d60c29253a2674a21b622388bdef7b4d3de46', name: "top" }), hAsync("slot", { key: '2971095330446d9ba36da88863781b0778e78901' })));
|
|
35483
35628
|
}
|
|
35484
35629
|
get el() { return getElement(this); }
|
|
35485
35630
|
static get style() { return segmentedButtonsCss; }
|
|
@@ -35614,7 +35759,7 @@ class Tabs {
|
|
|
35614
35759
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35615
35760
|
}
|
|
35616
35761
|
render() {
|
|
35617
|
-
return (hAsync(Host, { key: '
|
|
35762
|
+
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' }))));
|
|
35618
35763
|
}
|
|
35619
35764
|
get el() { return getElement(this); }
|
|
35620
35765
|
static get style() { return tabsCss; }
|
|
@@ -35661,7 +35806,7 @@ class Tag {
|
|
|
35661
35806
|
}
|
|
35662
35807
|
render() {
|
|
35663
35808
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
35664
|
-
return (hAsync(Host, { key: '
|
|
35809
|
+
return (hAsync(Host, { key: 'b289870abbbcdfe08287f3d6d9d7abdc2b9126e4', class: `${contrastClass}` }, hAsync("slot", { key: '2ea8813f70942d6f2ff0cf61384e881724a986a1' })));
|
|
35665
35810
|
}
|
|
35666
35811
|
static get style() { return tagCss; }
|
|
35667
35812
|
static get cmpMeta() { return {
|
|
@@ -35692,7 +35837,7 @@ class Text {
|
|
|
35692
35837
|
}
|
|
35693
35838
|
render() {
|
|
35694
35839
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
35695
|
-
return (hAsync(Host, { key: '
|
|
35840
|
+
return (hAsync(Host, { key: 'a029dd08f94d2f26ad6c8dcff551899a9aec75e0', class: `${colorClass}` }, hAsync("slot", { key: 'c89d8409beab93476b7710bdf9bbc6c70a66e8f3' })));
|
|
35696
35841
|
}
|
|
35697
35842
|
static get style() { return textCss; }
|
|
35698
35843
|
static get cmpMeta() { return {
|
|
@@ -35801,7 +35946,7 @@ class Textarea {
|
|
|
35801
35946
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
35802
35947
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
35803
35948
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
35804
|
-
return (hAsync(Host, { key: '
|
|
35949
|
+
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)));
|
|
35805
35950
|
}
|
|
35806
35951
|
static get watchers() { return {
|
|
35807
35952
|
"value": ["valueChanged"]
|
|
@@ -35931,7 +36076,7 @@ class Toast {
|
|
|
35931
36076
|
if (this.color == 'danger') {
|
|
35932
36077
|
this.timeout = 0;
|
|
35933
36078
|
}
|
|
35934
|
-
return (hAsync(Host, { key: '
|
|
36079
|
+
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" }))));
|
|
35935
36080
|
}
|
|
35936
36081
|
static get watchers() { return {
|
|
35937
36082
|
"isOpen": ["isOpenChanged"]
|
|
@@ -35970,7 +36115,7 @@ class Toolbar {
|
|
|
35970
36115
|
}
|
|
35971
36116
|
render() {
|
|
35972
36117
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
35973
|
-
return (hAsync(Host, { key: '
|
|
36118
|
+
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" }))));
|
|
35974
36119
|
}
|
|
35975
36120
|
static get style() { return toolbarCss; }
|
|
35976
36121
|
static get cmpMeta() { return {
|
|
@@ -35995,7 +36140,7 @@ class ToolbarAppName {
|
|
|
35995
36140
|
registerInstance(this, hostRef);
|
|
35996
36141
|
}
|
|
35997
36142
|
render() {
|
|
35998
|
-
return (hAsync("div", { key: '
|
|
36143
|
+
return (hAsync("div", { key: '900d211ae74c415cc17a20d151f4e36cf3b04da8', class: "toolbar-title-page" }, hAsync("slot", { key: 'e6c4edfc4c154a03b1f820dfa5f0055b0b812248' })));
|
|
35999
36144
|
}
|
|
36000
36145
|
static get style() { return toolbarTitlePageCss; }
|
|
36001
36146
|
static get cmpMeta() { return {
|
|
@@ -36018,7 +36163,7 @@ class ToolbarTitle {
|
|
|
36018
36163
|
registerInstance(this, hostRef);
|
|
36019
36164
|
}
|
|
36020
36165
|
render() {
|
|
36021
|
-
return (hAsync("div", { key: '
|
|
36166
|
+
return (hAsync("div", { key: '88be686e24974281c73f594fe336d8e4f3d12f36', class: "toolbar-title" }, hAsync("slot", { key: 'd0618386d4bc414a8b06706d7445a9a137d6f34f' })));
|
|
36022
36167
|
}
|
|
36023
36168
|
static get style() { return toolbarTitleCss; }
|
|
36024
36169
|
static get cmpMeta() { return {
|
|
@@ -36046,7 +36191,7 @@ class ToolbarV2 {
|
|
|
36046
36191
|
registerInstance(this, hostRef);
|
|
36047
36192
|
}
|
|
36048
36193
|
render() {
|
|
36049
|
-
return (hAsync(Host, { key: '
|
|
36194
|
+
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" })))));
|
|
36050
36195
|
}
|
|
36051
36196
|
static get style() { return toolbarV2Css; }
|
|
36052
36197
|
static get cmpMeta() { return {
|
|
@@ -36158,12 +36303,12 @@ class Tooltip {
|
|
|
36158
36303
|
return triggers.includes(triggerType);
|
|
36159
36304
|
}
|
|
36160
36305
|
render() {
|
|
36161
|
-
return (hAsync(Host, { key: '
|
|
36306
|
+
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
|
|
36162
36307
|
,
|
|
36163
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
36308
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: '97b2a1dde0b8b79c2d3c023d7d18ee05ccde9f61', "aria-describedby": this.tooltipId }), hAsync("div", { key: 'acec6cc0e5cb246eaea6403b22d0e8349fd53b61', part: "tooltip", id: this.tooltipId, class: {
|
|
36164
36309
|
tooltip: true,
|
|
36165
36310
|
'tooltip-open': this.isOpen,
|
|
36166
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '
|
|
36311
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '25db554281d18291bccd2b7518bf8a4dc97afbb5', name: "tooltip-content" }))));
|
|
36167
36312
|
}
|
|
36168
36313
|
get el() { return getElement(this); }
|
|
36169
36314
|
static get style() { return tooltipCss; }
|
|
@@ -36254,11 +36399,11 @@ class toggle {
|
|
|
36254
36399
|
}
|
|
36255
36400
|
render() {
|
|
36256
36401
|
const labelId = this.toggleId + '-label';
|
|
36257
|
-
const textLabel = hAsync("label", { key: '
|
|
36402
|
+
const textLabel = hAsync("label", { key: '278ee82874075075eaa41c5c432a782d9dcc84d3', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
36258
36403
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
36259
36404
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
36260
36405
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
36261
|
-
return (hAsync(Host, { key: '
|
|
36406
|
+
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)));
|
|
36262
36407
|
}
|
|
36263
36408
|
static get watchers() { return {
|
|
36264
36409
|
"checked": ["checkedChanged"]
|
|
@@ -36299,6 +36444,7 @@ registerComponents([
|
|
|
36299
36444
|
Carousel,
|
|
36300
36445
|
CarouselItem,
|
|
36301
36446
|
Checkbox,
|
|
36447
|
+
Chip$1,
|
|
36302
36448
|
Chip,
|
|
36303
36449
|
Col,
|
|
36304
36450
|
Collapse,
|
|
@@ -36340,6 +36486,7 @@ registerComponents([
|
|
|
36340
36486
|
RoadAreaCode,
|
|
36341
36487
|
RoadAspectRatio,
|
|
36342
36488
|
RoadPhoneNumberInput,
|
|
36489
|
+
RoadTimeRangePicker,
|
|
36343
36490
|
Row,
|
|
36344
36491
|
SegmentedButton,
|
|
36345
36492
|
Select,
|