@roadtrip/components 3.32.4 → 3.33.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/loader.cjs.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +17 -15
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +26 -61
- package/dist/cjs/road-phone-number-input.cjs.entry.js.map +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/road-radio.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +2 -2
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +2 -2
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-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-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.stories.js +38 -4
- package/dist/collection/components/alert/alert.stories.js +7 -0
- package/dist/collection/components/asset/asset.stories.js +6 -0
- package/dist/collection/components/autocomplete/autocomplete.stories.js +43 -47
- package/dist/collection/components/avatar/avatar.stories.js +6 -0
- package/dist/collection/components/badge/badge.stories.js +6 -0
- package/dist/collection/components/banner/banner.stories.js +33 -3
- package/dist/collection/components/button/button.stories.js +58 -67
- package/dist/collection/components/button-floating/button-floating.stories.js +32 -23
- package/dist/collection/components/card/card.stories.js +25 -15
- package/dist/collection/components/carousel/carousel.stories.js +72 -280
- package/dist/collection/components/checkbox/checkbox.stories.js +54 -33
- package/dist/collection/components/chip/chip.stories.js +32 -47
- package/dist/collection/components/collapse/collapse.stories.js +88 -78
- package/dist/collection/components/content-card/content-card.stories.js +30 -11
- package/dist/collection/components/counter/counter.stories.js +40 -11
- package/dist/collection/components/dialog/dialog.stories.js +37 -51
- package/dist/collection/components/drawer/drawer.css +9 -0
- package/dist/collection/components/drawer/drawer.js +34 -12
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer/drawer.stories.js +70 -134
- package/dist/collection/components/dropdown/dropdown.css +1 -1
- package/dist/collection/components/dropdown/dropdown.stories.js +69 -53
- package/dist/collection/components/duration/duration.stories.js +49 -45
- package/dist/collection/components/flap/flap.stories.js +22 -10
- package/dist/collection/components/input/input.stories.js +33 -0
- package/dist/collection/components/item/item.stories.js +25 -0
- package/dist/collection/components/list/list.stories.js +2 -0
- package/dist/collection/components/modal/modal.stories.js +14 -0
- package/dist/collection/components/navbar/navbar.stories.js +3 -0
- package/dist/collection/components/navbar-v2/navbar-v2.stories.js +4 -0
- package/dist/collection/components/phone-number-input/constants.js +3 -0
- package/dist/collection/components/phone-number-input/constants.js.map +1 -0
- package/dist/collection/components/phone-number-input/phone-number-input.css +198 -129
- package/dist/collection/components/phone-number-input/phone-number-input.js +23 -63
- package/dist/collection/components/phone-number-input/phone-number-input.js.map +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.stories.js +15 -1
- package/dist/collection/components/plate-number/plate-number.js +2 -2
- package/dist/collection/components/plate-number/plate-number.stories.js +13 -0
- package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
- package/dist/collection/components/profil-dropdown/profil-dropdown.stories.js +8 -0
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/progress/progress.stories.js +12 -0
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.stories.js +8 -0
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.stories.js +1 -0
- package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.stories.js +1 -0
- package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio/radio.stories.js +13 -0
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/range/range.stories.js +11 -0
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/rating.stories.js +7 -0
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.stories.js +2 -0
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select/select.stories.js +13 -0
- package/dist/collection/components/select-filter/select-filter.js +2 -2
- package/dist/collection/components/select-filter/select-filter.stories.js +5 -0
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/skeleton/skeleton.stories.js +2 -0
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/spinner/spinner.stories.js +2 -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/table/table.stories.js +1 -0
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tabs/tabs.stories.js +2 -0
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/tag/tag.stories.js +3 -0
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/text/text.stories.js +2 -0
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +26 -0
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.stories.js +6 -0
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle/toggle.stories.js +14 -0
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar/toolbar.stories.js +6 -0
- 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/toolbar-v2/toolbar-v2.stories.js +5 -0
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip/tooltip.stories.js +11 -0
- package/dist/collection/components/utilities/text.stories.js +2 -0
- package/dist/collection/fonts/Muli-Black.woff +0 -0
- package/dist/collection/fonts/Muli-Black.woff2 +0 -0
- package/dist/collection/fonts/Muli-SemiBold.woff +0 -0
- package/dist/collection/fonts/Muli-SemiBold.woff2 +0 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-badge_14.entry.js +17 -15
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-dropdown.entry.js +1 -1
- package/dist/esm/road-dropdown.entry.js.map +1 -1
- package/dist/esm/road-phone-number-input.entry.js +26 -61
- package/dist/esm/road-phone-number-input.entry.js.map +1 -1
- package/dist/esm/road-plate-number.entry.js +2 -2
- package/dist/esm/road-profil-dropdown.entry.js +1 -1
- package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
- package/dist/esm/road-progress-tracker-item.entry.js +1 -1
- package/dist/esm/road-progress-tracker.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-group.entry.js +1 -1
- package/dist/esm/road-radio.entry.js +1 -1
- package/dist/esm/road-range.entry.js +2 -2
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +2 -2
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +2 -2
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-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-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +4 -0
- package/dist/roadtrip/fonts/Muli-Black.woff +0 -0
- package/dist/roadtrip/fonts/Muli-Black.woff2 +0 -0
- package/dist/roadtrip/fonts/Muli-SemiBold.woff +0 -0
- package/dist/roadtrip/fonts/Muli-SemiBold.woff2 +0 -0
- package/dist/roadtrip/{p-c1e2aa67.entry.js → p-04913d58.entry.js} +2 -2
- package/dist/roadtrip/{p-494aab48.entry.js → p-06fbd2ea.entry.js} +2 -2
- package/dist/roadtrip/{p-2a4a0928.entry.js → p-167cd2fc.entry.js} +2 -2
- package/dist/roadtrip/p-215afdbd.entry.js +2 -0
- package/dist/roadtrip/{p-8f7375bc.entry.js → p-2e049c8e.entry.js} +2 -2
- package/dist/roadtrip/{p-8ca23318.entry.js → p-37430583.entry.js} +2 -2
- package/dist/roadtrip/{p-9fce16aa.entry.js → p-3dcaa947.entry.js} +2 -2
- package/dist/roadtrip/{p-1e61ca1f.entry.js → p-3f5dff96.entry.js} +2 -2
- package/dist/roadtrip/{p-f8817c0e.entry.js → p-449affa6.entry.js} +2 -2
- package/dist/roadtrip/p-4675ea6d.entry.js +2 -0
- package/dist/roadtrip/{p-4a47999a.entry.js → p-5fea6a74.entry.js} +2 -2
- package/dist/roadtrip/{p-f9754547.entry.js → p-60bd73ad.entry.js} +2 -2
- package/dist/roadtrip/p-65f9bd9c.entry.js +2 -0
- package/dist/roadtrip/{p-c68fc795.entry.js → p-6c617506.entry.js} +2 -2
- package/dist/roadtrip/{p-4e779fd6.entry.js → p-6ff3b37c.entry.js} +2 -2
- package/dist/roadtrip/p-85b1e505.entry.js +2 -0
- package/dist/roadtrip/{p-a990a8b6.entry.js → p-862c1831.entry.js} +2 -2
- package/dist/roadtrip/{p-a990a8b6.entry.js.map → p-862c1831.entry.js.map} +1 -1
- package/dist/roadtrip/p-8b04fc62.entry.js +2 -0
- package/dist/roadtrip/{p-e2a00f9c.entry.js → p-913b72de.entry.js} +3 -3
- package/dist/roadtrip/p-913b72de.entry.js.map +1 -0
- package/dist/roadtrip/{p-87c1ff76.entry.js → p-99a6faae.entry.js} +2 -2
- package/dist/roadtrip/{p-bba18327.entry.js → p-b5fa8c5a.entry.js} +2 -2
- package/dist/roadtrip/{p-db243855.entry.js → p-b8c5d292.entry.js} +2 -2
- package/dist/roadtrip/{p-d68e64a8.entry.js → p-c28e7add.entry.js} +2 -2
- package/dist/roadtrip/{p-10e65612.entry.js → p-c47ccbf2.entry.js} +2 -2
- package/dist/roadtrip/{p-c3ef32ef.entry.js → p-c6824205.entry.js} +2 -2
- package/dist/roadtrip/{p-833c1e78.entry.js → p-cfd2919e.entry.js} +2 -2
- package/dist/roadtrip/{p-a0a95c0a.entry.js → p-d80e7563.entry.js} +2 -2
- package/dist/roadtrip/p-db77c354.entry.js +2 -0
- package/dist/roadtrip/{p-5fab1bc3.entry.js.map → p-db77c354.entry.js.map} +1 -1
- package/dist/roadtrip/{p-0cacf829.entry.js → p-ddfe088f.entry.js} +2 -2
- package/dist/roadtrip/p-ddfe088f.entry.js.map +1 -0
- package/dist/roadtrip/{p-4bbc889b.entry.js → p-e6c4c576.entry.js} +2 -2
- package/dist/roadtrip/{p-01be5517.entry.js → p-e6e9882b.entry.js} +2 -2
- package/dist/roadtrip/{p-5a6fbd7f.entry.js → p-e75ec60f.entry.js} +2 -2
- package/dist/roadtrip/{p-edbbe884.entry.js → p-ea1a175d.entry.js} +2 -2
- package/dist/roadtrip/{p-2903bdc0.entry.js → p-eac313e4.entry.js} +2 -2
- package/dist/roadtrip/{p-fb26ed7e.entry.js → p-f1b53143.entry.js} +2 -2
- package/dist/roadtrip/{p-b18cda16.entry.js → p-fd3c58b6.entry.js} +2 -2
- package/dist/roadtrip/{p-32845e72.entry.js → p-fe40ab3d.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/drawer/drawer.d.ts +4 -1
- package/dist/types/components/phone-number-input/constants.d.ts +1 -0
- package/dist/types/components/phone-number-input/phone-number-input.d.ts +3 -9
- package/dist/types/components-react.d.ts +4 -4
- package/dist/types/components.d.ts +16 -0
- package/hydrate/index.js +305 -318
- package/hydrate/index.mjs +305 -318
- package/package.json +1 -1
- package/dist/roadtrip/p-0cacf829.entry.js.map +0 -1
- package/dist/roadtrip/p-427bd935.entry.js +0 -2
- package/dist/roadtrip/p-5fab1bc3.entry.js +0 -2
- package/dist/roadtrip/p-78b51033.entry.js +0 -2
- package/dist/roadtrip/p-9737182c.entry.js +0 -2
- package/dist/roadtrip/p-a925ff64.entry.js +0 -2
- package/dist/roadtrip/p-e2a00f9c.entry.js.map +0 -1
- package/dist/roadtrip/p-ee92b78d.entry.js +0 -2
- /package/dist/roadtrip/{p-c1e2aa67.entry.js.map → p-04913d58.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-494aab48.entry.js.map → p-06fbd2ea.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2a4a0928.entry.js.map → p-167cd2fc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-427bd935.entry.js.map → p-215afdbd.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8f7375bc.entry.js.map → p-2e049c8e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8ca23318.entry.js.map → p-37430583.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9fce16aa.entry.js.map → p-3dcaa947.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1e61ca1f.entry.js.map → p-3f5dff96.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f8817c0e.entry.js.map → p-449affa6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ee92b78d.entry.js.map → p-4675ea6d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4a47999a.entry.js.map → p-5fea6a74.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f9754547.entry.js.map → p-60bd73ad.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a925ff64.entry.js.map → p-65f9bd9c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c68fc795.entry.js.map → p-6c617506.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4e779fd6.entry.js.map → p-6ff3b37c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9737182c.entry.js.map → p-85b1e505.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-78b51033.entry.js.map → p-8b04fc62.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-87c1ff76.entry.js.map → p-99a6faae.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bba18327.entry.js.map → p-b5fa8c5a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-db243855.entry.js.map → p-b8c5d292.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d68e64a8.entry.js.map → p-c28e7add.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-10e65612.entry.js.map → p-c47ccbf2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c3ef32ef.entry.js.map → p-c6824205.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-833c1e78.entry.js.map → p-cfd2919e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a0a95c0a.entry.js.map → p-d80e7563.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4bbc889b.entry.js.map → p-e6c4c576.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-01be5517.entry.js.map → p-e6e9882b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5a6fbd7f.entry.js.map → p-e75ec60f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-edbbe884.entry.js.map → p-ea1a175d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2903bdc0.entry.js.map → p-eac313e4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fb26ed7e.entry.js.map → p-f1b53143.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b18cda16.entry.js.map → p-fd3c58b6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-32845e72.entry.js.map → p-fe40ab3d.entry.js.map} +0 -0
package/hydrate/index.mjs
CHANGED
|
@@ -127,7 +127,7 @@ const NAMESPACE = 'roadtrip';
|
|
|
127
127
|
const BUILD = /* roadtrip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, constructableCSS: false, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
128
128
|
|
|
129
129
|
/*
|
|
130
|
-
Stencil Hydrate Platform v4.27.
|
|
130
|
+
Stencil Hydrate Platform v4.27.2 | MIT Licensed | https://stenciljs.com
|
|
131
131
|
*/
|
|
132
132
|
var __defProp = Object.defineProperty;
|
|
133
133
|
var __export = (target, all) => {
|
|
@@ -147,9 +147,9 @@ var isComplexType = (o) => {
|
|
|
147
147
|
};
|
|
148
148
|
|
|
149
149
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
150
|
-
function queryNonceMetaTagContent(
|
|
150
|
+
function queryNonceMetaTagContent(doc) {
|
|
151
151
|
var _a, _b, _c;
|
|
152
|
-
return (_c = (_b = (_a =
|
|
152
|
+
return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
// src/utils/regular-expression.ts
|
|
@@ -506,8 +506,8 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
506
506
|
delete hostElm["s-sc"];
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
if (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size) {
|
|
510
|
-
initializeDocumentHydrate(
|
|
509
|
+
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
|
510
|
+
initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
511
511
|
}
|
|
512
512
|
hostElm[HYDRATE_ID] = hostId;
|
|
513
513
|
hostElm.removeAttribute(HYDRATE_ID);
|
|
@@ -830,8 +830,8 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
830
830
|
childVNode.$name$ = slotName || null;
|
|
831
831
|
childVNode.$tag$ = "slot";
|
|
832
832
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
833
|
-
if (shadowRootNodes) {
|
|
834
|
-
const slot = childVNode.$elm$ =
|
|
833
|
+
if (shadowRootNodes && win.document) {
|
|
834
|
+
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
835
835
|
if (childVNode.$name$) {
|
|
836
836
|
childVNode.$elm$.setAttribute("name", slotName);
|
|
837
837
|
}
|
|
@@ -1275,7 +1275,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1275
1275
|
var _a;
|
|
1276
1276
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1277
1277
|
const style = styles$1.get(scopeId2);
|
|
1278
|
-
|
|
1278
|
+
if (!win.document) {
|
|
1279
|
+
return scopeId2;
|
|
1280
|
+
}
|
|
1281
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
1279
1282
|
if (style) {
|
|
1280
1283
|
if (typeof style === "string") {
|
|
1281
1284
|
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
@@ -1288,9 +1291,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
1288
1291
|
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1289
1292
|
styleElm.innerHTML = style;
|
|
1290
1293
|
} else {
|
|
1291
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) ||
|
|
1294
|
+
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
|
1292
1295
|
styleElm.innerHTML = style;
|
|
1293
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(
|
|
1296
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1294
1297
|
if (nonce != null) {
|
|
1295
1298
|
styleElm.setAttribute("nonce", nonce);
|
|
1296
1299
|
}
|
|
@@ -1540,7 +1543,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
1540
1543
|
}
|
|
1541
1544
|
}
|
|
1542
1545
|
if (newVNode2.$text$ !== null) {
|
|
1543
|
-
elm = newVNode2.$elm$ =
|
|
1546
|
+
elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
|
|
1544
1547
|
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
1545
1548
|
elm = newVNode2.$elm$ = slotReferenceDebugNode(newVNode2) ;
|
|
1546
1549
|
{
|
|
@@ -1550,7 +1553,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
1550
1553
|
if (!isSvgMode) {
|
|
1551
1554
|
isSvgMode = newVNode2.$tag$ === "svg";
|
|
1552
1555
|
}
|
|
1553
|
-
|
|
1556
|
+
if (!win.document) {
|
|
1557
|
+
throw new Error(
|
|
1558
|
+
"You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
|
|
1559
|
+
);
|
|
1560
|
+
}
|
|
1561
|
+
elm = newVNode2.$elm$ = win.document.createElementNS(
|
|
1554
1562
|
isSvgMode ? SVG_NS : HTML_NS,
|
|
1555
1563
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
1556
1564
|
) ;
|
|
@@ -1932,7 +1940,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1932
1940
|
markSlotContentForRelocation(rootVnode.$elm$);
|
|
1933
1941
|
for (const relocateData of relocateNodes) {
|
|
1934
1942
|
const nodeToRelocate = relocateData.$nodeToRelocate$;
|
|
1935
|
-
if (!nodeToRelocate["s-ol"]) {
|
|
1943
|
+
if (!nodeToRelocate["s-ol"] && win.document) {
|
|
1936
1944
|
const orgLocationNode = originalLocationDebugNode(nodeToRelocate) ;
|
|
1937
1945
|
orgLocationNode["s-nr"] = nodeToRelocate;
|
|
1938
1946
|
insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
|
|
@@ -1976,12 +1984,18 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
1976
1984
|
}
|
|
1977
1985
|
contentRef = void 0;
|
|
1978
1986
|
};
|
|
1979
|
-
var slotReferenceDebugNode = (slotVNode) =>
|
|
1980
|
-
|
|
1981
|
-
)
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1987
|
+
var slotReferenceDebugNode = (slotVNode) => {
|
|
1988
|
+
var _a;
|
|
1989
|
+
return (_a = win.document) == null ? void 0 : _a.createComment(
|
|
1990
|
+
`<slot${slotVNode.$name$ ? ' name="' + slotVNode.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`
|
|
1991
|
+
);
|
|
1992
|
+
};
|
|
1993
|
+
var originalLocationDebugNode = (nodeToRelocate) => {
|
|
1994
|
+
var _a;
|
|
1995
|
+
return (_a = win.document) == null ? void 0 : _a.createComment(
|
|
1996
|
+
`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
|
|
1997
|
+
);
|
|
1998
|
+
};
|
|
1985
1999
|
|
|
1986
2000
|
// src/runtime/update-component.ts
|
|
1987
2001
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
@@ -2178,7 +2192,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2178
2192
|
const hostRef = getHostRef(ref);
|
|
2179
2193
|
if (!hostRef) {
|
|
2180
2194
|
throw new Error(
|
|
2181
|
-
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/
|
|
2195
|
+
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
|
2182
2196
|
);
|
|
2183
2197
|
}
|
|
2184
2198
|
const elm = hostRef.$hostElement$ ;
|
|
@@ -2482,16 +2496,19 @@ var connectedCallback = (elm) => {
|
|
|
2482
2496
|
}
|
|
2483
2497
|
};
|
|
2484
2498
|
var setContentReference = (elm) => {
|
|
2485
|
-
|
|
2499
|
+
if (!win.document) {
|
|
2500
|
+
return;
|
|
2501
|
+
}
|
|
2502
|
+
const contentRefElm = elm["s-cr"] = win.document.createComment(
|
|
2486
2503
|
""
|
|
2487
2504
|
);
|
|
2488
2505
|
contentRefElm["s-cn"] = true;
|
|
2489
2506
|
insertBefore(elm, contentRefElm, elm.firstChild);
|
|
2490
2507
|
};
|
|
2491
2508
|
var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
2492
|
-
if (listeners) {
|
|
2509
|
+
if (listeners && win.document) {
|
|
2493
2510
|
listeners.map(([flags, name, method]) => {
|
|
2494
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
2511
|
+
const target = getHostListenerTarget(win.document, elm, flags) ;
|
|
2495
2512
|
const handler = hostListenerProxy(hostRef, method);
|
|
2496
2513
|
const opts = hostListenerOpts(flags);
|
|
2497
2514
|
plt.ael(target, name, handler, opts);
|
|
@@ -2513,20 +2530,24 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
2513
2530
|
consoleError(e, hostRef.$hostElement$);
|
|
2514
2531
|
}
|
|
2515
2532
|
};
|
|
2516
|
-
var getHostListenerTarget = (elm, flags) => {
|
|
2517
|
-
if (flags & 4 /* TargetDocument */)
|
|
2518
|
-
|
|
2533
|
+
var getHostListenerTarget = (doc, elm, flags) => {
|
|
2534
|
+
if (flags & 4 /* TargetDocument */) {
|
|
2535
|
+
return doc;
|
|
2536
|
+
}
|
|
2537
|
+
if (flags & 8 /* TargetWindow */) {
|
|
2538
|
+
return win;
|
|
2539
|
+
}
|
|
2519
2540
|
return elm;
|
|
2520
2541
|
};
|
|
2521
2542
|
var hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
|
|
2522
2543
|
|
|
2523
2544
|
// src/runtime/vdom/vdom-annotations.ts
|
|
2524
|
-
var insertVdomAnnotations = (
|
|
2525
|
-
if (
|
|
2526
|
-
const docData = STENCIL_DOC_DATA in
|
|
2545
|
+
var insertVdomAnnotations = (doc, staticComponents) => {
|
|
2546
|
+
if (doc != null) {
|
|
2547
|
+
const docData = STENCIL_DOC_DATA in doc ? doc[STENCIL_DOC_DATA] : { ...DEFAULT_DOC_DATA };
|
|
2527
2548
|
docData.staticComponents = new Set(staticComponents);
|
|
2528
2549
|
const orgLocationNodes = [];
|
|
2529
|
-
parseVNodeAnnotations(
|
|
2550
|
+
parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);
|
|
2530
2551
|
orgLocationNodes.forEach((orgLocationNode) => {
|
|
2531
2552
|
var _a;
|
|
2532
2553
|
if (orgLocationNode != null && orgLocationNode["s-nr"]) {
|
|
@@ -2552,11 +2573,11 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
|
|
|
2552
2573
|
return;
|
|
2553
2574
|
}
|
|
2554
2575
|
}
|
|
2555
|
-
const commentBeforeTextNode =
|
|
2576
|
+
const commentBeforeTextNode = doc.createComment(childId);
|
|
2556
2577
|
commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;
|
|
2557
2578
|
insertBefore(nodeRef.parentNode, commentBeforeTextNode, nodeRef);
|
|
2558
2579
|
} else if (nodeRef.nodeType === 8 /* CommentNode */) {
|
|
2559
|
-
const commentBeforeTextNode =
|
|
2580
|
+
const commentBeforeTextNode = doc.createComment(childId);
|
|
2560
2581
|
commentBeforeTextNode.nodeValue = `${COMMENT_NODE_ID}.${childId}`;
|
|
2561
2582
|
nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);
|
|
2562
2583
|
}
|
|
@@ -2575,7 +2596,7 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
|
|
|
2575
2596
|
});
|
|
2576
2597
|
}
|
|
2577
2598
|
};
|
|
2578
|
-
var parseVNodeAnnotations = (
|
|
2599
|
+
var parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {
|
|
2579
2600
|
var _a;
|
|
2580
2601
|
if (node == null) {
|
|
2581
2602
|
return;
|
|
@@ -2591,13 +2612,13 @@ var parseVNodeAnnotations = (doc2, node, docData, orgLocationNodes) => {
|
|
|
2591
2612
|
const cmpData = {
|
|
2592
2613
|
nodeIds: 0
|
|
2593
2614
|
};
|
|
2594
|
-
insertVNodeAnnotations(
|
|
2615
|
+
insertVNodeAnnotations(doc, childNode, hostRef.$vnode$, docData, cmpData);
|
|
2595
2616
|
}
|
|
2596
|
-
parseVNodeAnnotations(
|
|
2617
|
+
parseVNodeAnnotations(doc, childNode, docData, orgLocationNodes);
|
|
2597
2618
|
});
|
|
2598
2619
|
}
|
|
2599
2620
|
};
|
|
2600
|
-
var insertVNodeAnnotations = (
|
|
2621
|
+
var insertVNodeAnnotations = (doc, hostElm, vnode, docData, cmpData) => {
|
|
2601
2622
|
if (vnode != null) {
|
|
2602
2623
|
const hostId = ++docData.hostIds;
|
|
2603
2624
|
hostElm.setAttribute(HYDRATE_ID, hostId);
|
|
@@ -2607,7 +2628,7 @@ var insertVNodeAnnotations = (doc2, hostElm, vnode, docData, cmpData) => {
|
|
|
2607
2628
|
if (vnode.$children$ != null) {
|
|
2608
2629
|
const depth = 0;
|
|
2609
2630
|
vnode.$children$.forEach((vnodeChild, index) => {
|
|
2610
|
-
insertChildVNodeAnnotations(
|
|
2631
|
+
insertChildVNodeAnnotations(doc, vnodeChild, cmpData, hostId, depth, index);
|
|
2611
2632
|
});
|
|
2612
2633
|
}
|
|
2613
2634
|
if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute(HYDRATE_CHILD_ID)) {
|
|
@@ -2628,7 +2649,7 @@ var insertVNodeAnnotations = (doc2, hostElm, vnode, docData, cmpData) => {
|
|
|
2628
2649
|
}
|
|
2629
2650
|
}
|
|
2630
2651
|
};
|
|
2631
|
-
var insertChildVNodeAnnotations = (
|
|
2652
|
+
var insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, index) => {
|
|
2632
2653
|
const childElm = vnodeChild.$elm$;
|
|
2633
2654
|
if (childElm == null) {
|
|
2634
2655
|
return;
|
|
@@ -2647,7 +2668,7 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
|
|
|
2647
2668
|
const nodeName = parentNode == null ? void 0 : parentNode.nodeName;
|
|
2648
2669
|
if (nodeName !== "STYLE" && nodeName !== "SCRIPT") {
|
|
2649
2670
|
const textNodeId = `${TEXT_NODE_ID}.${childId}`;
|
|
2650
|
-
const commentBeforeTextNode =
|
|
2671
|
+
const commentBeforeTextNode = doc.createComment(textNodeId);
|
|
2651
2672
|
insertBefore(parentNode, commentBeforeTextNode, childElm);
|
|
2652
2673
|
}
|
|
2653
2674
|
} else if (childElm.nodeType === 8 /* CommentNode */) {
|
|
@@ -2660,7 +2681,7 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
|
|
|
2660
2681
|
if (vnodeChild.$children$ != null) {
|
|
2661
2682
|
const childDepth = depth + 1;
|
|
2662
2683
|
vnodeChild.$children$.forEach((vnode, index2) => {
|
|
2663
|
-
insertChildVNodeAnnotations(
|
|
2684
|
+
insertChildVNodeAnnotations(doc, vnode, cmpData, hostId, childDepth, index2);
|
|
2664
2685
|
});
|
|
2665
2686
|
}
|
|
2666
2687
|
};
|
|
@@ -2876,7 +2897,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
2876
2897
|
return elm;
|
|
2877
2898
|
};
|
|
2878
2899
|
tmrId = globalThis.setTimeout(timeoutExceeded, opts.timeout);
|
|
2879
|
-
plt.$resourcesUrl$ = new URL(opts.resourcesUrl || "./",
|
|
2900
|
+
plt.$resourcesUrl$ = new URL(opts.resourcesUrl || "./", win2.document.baseURI).href;
|
|
2880
2901
|
patchChild2(win2.document.body);
|
|
2881
2902
|
waitLoop2().then(hydratedComplete).catch(hydratedError);
|
|
2882
2903
|
} catch (e) {
|
|
@@ -3083,7 +3104,6 @@ var registerComponents = (Cstrs) => {
|
|
|
3083
3104
|
}
|
|
3084
3105
|
};
|
|
3085
3106
|
var win = window;
|
|
3086
|
-
var doc = win.document;
|
|
3087
3107
|
var writeTask = (cb) => {
|
|
3088
3108
|
nextTick$1(() => {
|
|
3089
3109
|
try {
|
|
@@ -3200,7 +3220,7 @@ class Accordion {
|
|
|
3200
3220
|
const accordionLightContent = this.isLight ? 'accordion-content accordion-light-content' : 'accordion-content';
|
|
3201
3221
|
const accordionLightSeparator = this.isLightSeparator ? 'accordion accordion-light accordion-light--border' : 'accordion';
|
|
3202
3222
|
const accordionSmall = this.isSmall ? 'accordion accordion-light accordion-light--small' : 'accordion';
|
|
3203
|
-
return (hAsync("details", { key: '
|
|
3223
|
+
return (hAsync("details", { key: 'a3469eb6d8aef3b880677284c59e69eb62f205e8', class: `${accordionLight} ${accordionSmall} ${accordionLightSeparator}`, open: this.isOpen }, hAsync("summary", { key: 'b0c18225580028ad00098aa494a29b2c956b7561', class: "accordion-trigger", "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: 'a066d273354e022c095978edeae2040eddb75804', class: accordionLightHeader }, hAsync("slot", { key: '13056e6babf83f00ebfd538aa79a9fae24ab344f', name: "icon-left" }), hAsync("slot", { key: '7f54051ce9e12dc9ef8e30f7262096a1248d19bb', name: "header" }), hAsync("road-icon", { key: '4161743fdea3953e151525481a338c7a87edd159', class: "accordion-arrow", icon: navigationChevron }))), hAsync("div", { key: '42f14c07ceabf357f4042207e35f828e782aefbc', class: accordionLightContent }, hAsync("slot", { key: 'c0e67f0215366eb9e129b341f02ff88a5c019b43' }))));
|
|
3204
3224
|
}
|
|
3205
3225
|
static get style() { return RoadAccordionStyle0; }
|
|
3206
3226
|
static get cmpMeta() { return {
|
|
@@ -3235,7 +3255,7 @@ class Alert {
|
|
|
3235
3255
|
}
|
|
3236
3256
|
render() {
|
|
3237
3257
|
const colorClass = this.color !== undefined ? `alert-${this.color}` : '';
|
|
3238
|
-
return (hAsync(Host, { key: '
|
|
3258
|
+
return (hAsync(Host, { key: 'b654cd8f516e47f8a6c0e7a1a4bfd9cae09076e0', class: colorClass, role: "alert" }, hAsync("div", { key: '280b009d269a3dd510bcfabf8f4d7e5eb61cda80', class: "alert-icon" }, hAsync("slot", { key: '17d81df60b117ab8b246d9b73c832954ec7296d1', name: "icon" })), hAsync("div", { key: '46f8799b8b2ef9e525a4d7f00b5c53ddd98fe4d1' }, this.label && hAsync("span", { key: '900b5b9f095356d008fb2bae5c03cc28eb828a8a', class: "alert-title d-block" }, this.label), hAsync("p", { key: 'c65304f2cb7c7109350f3265a88a507ff84bb0c8', class: "alert-description" }, hAsync("slot", { key: '3f34a35e3bbfd3a2fe96531e9d7a0cfd00df7b74' }), this.link && hAsync("a", { key: '4149db714ea2fc13148d1e44d6e0dd9cc73dee45', href: this.url, class: "alert-link link link-default" }, this.link)))));
|
|
3239
3259
|
}
|
|
3240
3260
|
static get style() { return RoadAlertStyle0; }
|
|
3241
3261
|
static get cmpMeta() { return {
|
|
@@ -3334,7 +3354,7 @@ class Asset {
|
|
|
3334
3354
|
}
|
|
3335
3355
|
}
|
|
3336
3356
|
render() {
|
|
3337
|
-
return (hAsync(Host, { key: '
|
|
3357
|
+
return (hAsync(Host, { key: '64331c0cd4f5a805be16cd746dfe78d7eeea118e', "aria-hidden": "true", role: "img" }, ((this.assetSvgContent !== '')
|
|
3338
3358
|
? hAsync("div", { class: "icon-inner", innerHTML: this.assetSvgContent })
|
|
3339
3359
|
: hAsync("div", { class: "icon-inner" }))));
|
|
3340
3360
|
}
|
|
@@ -3404,8 +3424,8 @@ class Autocomplete {
|
|
|
3404
3424
|
}
|
|
3405
3425
|
}
|
|
3406
3426
|
render() {
|
|
3407
|
-
return (hAsync(Host, { key: '
|
|
3408
|
-
hAsync("ul", { key: '
|
|
3427
|
+
return (hAsync(Host, { key: '46eeec7665a075a37025173b3a86f42e9263c835' }, hAsync("slot", { key: 'f3513033a2e4a3e22d30218c47e1eed0e2e7bc94' }), this.visible && this.options.length > 0 &&
|
|
3428
|
+
hAsync("ul", { key: '1527ef97b9885082769751a9b5aaf254df54d94b', 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))))));
|
|
3409
3429
|
}
|
|
3410
3430
|
get el() { return getElement(this); }
|
|
3411
3431
|
static get style() { return RoadAutocompleteStyle0; }
|
|
@@ -3438,7 +3458,7 @@ class Avatar {
|
|
|
3438
3458
|
}
|
|
3439
3459
|
render() {
|
|
3440
3460
|
const sizeClass = this.size !== undefined ? `avatar-${this.size}` : '';
|
|
3441
|
-
return (hAsync(Host, { key: '
|
|
3461
|
+
return (hAsync(Host, { key: '6f57ba54014a8220d4262e0fd61dd807ed09f5e2', class: `${sizeClass}` }, hAsync("slot", { key: '3152a4be46b7d1d68df32861f690ae7bf5cf1c37' })));
|
|
3442
3462
|
}
|
|
3443
3463
|
static get style() { return RoadAvatarStyle0; }
|
|
3444
3464
|
static get cmpMeta() { return {
|
|
@@ -3474,7 +3494,7 @@ class Badge {
|
|
|
3474
3494
|
render() {
|
|
3475
3495
|
const colorClass = this.color !== undefined ? `badge-${this.color}` : '';
|
|
3476
3496
|
const bubbleClass = this.bubble ? 'badge-bubble' : '';
|
|
3477
|
-
return (hAsync(Host, { key: '
|
|
3497
|
+
return (hAsync(Host, { key: '16742c39b5260aadf2da3067ce5a2812fe4c462f', class: `${colorClass} ${bubbleClass}` }, hAsync("slot", { key: 'd989a2f2bcdd588fc483b71e8d630387997deb95' })));
|
|
3478
3498
|
}
|
|
3479
3499
|
static get style() { return RoadBadgeStyle0; }
|
|
3480
3500
|
static get cmpMeta() { return {
|
|
@@ -3523,7 +3543,7 @@ class Banner {
|
|
|
3523
3543
|
}
|
|
3524
3544
|
render() {
|
|
3525
3545
|
const bannerIsOpenClass = this.isOpen ? 'banner-open' : '';
|
|
3526
|
-
return (hAsync(Host, { key: '
|
|
3546
|
+
return (hAsync(Host, { key: '3b26ce08382bc4c226be95bce24f45f10727bc3a', class: bannerIsOpenClass }, hAsync("div", { key: '30438032a71d86cc054ed048c4362f891dd958f5' }, hAsync("span", { key: 'be69b7116ff47b43490534d86428f1c38f98259b', class: "banner-open-label" }, this.label), this.link && hAsync("a", { key: 'b8ff1de1d13dbc06f64a7378b1d959d2c80546c5', href: this.url, class: "banner-open-link" }, this.link), hAsync("button", { key: '35a63144540b01d7eb148970d1cb872cc3c499af', type: "button", class: "banner-close", onClick: this.onClick, "aria-label": "closed" }, hAsync("road-icon", { key: '89043091f5e7503601584b59403f0addb8287eb9', icon: navigationClose, size: "md" })))));
|
|
3527
3547
|
}
|
|
3528
3548
|
static get style() { return RoadBannerStyle0; }
|
|
3529
3549
|
static get cmpMeta() { return {
|
|
@@ -3629,7 +3649,7 @@ class Button$1 {
|
|
|
3629
3649
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
3630
3650
|
const expandClass = this.expand ? 'btn-block' : '';
|
|
3631
3651
|
const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';
|
|
3632
|
-
return (hAsync(Host, { key: '
|
|
3652
|
+
return (hAsync(Host, { key: '57327cf5e013e564975f2d89f0e58b8b616e714b', class: [colorClass, sizeClass, expandClass, iconOnlyClass].filter(Boolean).join(' '), onClick: this.onClick, "aria-disabled": disabled ? 'true' : null }, hAsync(TagType, Object.assign({ key: '58e517e5e47714f0de398ab5fb98b7499b1da2d3' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }), hAsync("slot", { key: '06e5d39c87cd40a4cb419125bb486f8d54afaf9f', name: "start" }), hAsync("slot", { key: 'cf7b775a0a57bfb3f6bba1128a6462e2c7d02c07' }), hAsync("slot", { key: 'd04aa7d04dc9d3d22d912aed80ea163be3fa3a3f', name: "end" }))));
|
|
3633
3653
|
}
|
|
3634
3654
|
get el() { return getElement(this); }
|
|
3635
3655
|
static get style() { return RoadButtonStyle0; }
|
|
@@ -3714,7 +3734,7 @@ class Button {
|
|
|
3714
3734
|
render() {
|
|
3715
3735
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
3716
3736
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
3717
|
-
return (hAsync(Host, { key: '
|
|
3737
|
+
return (hAsync(Host, { key: 'ffb60871f5d27b54ec48f9ba8e699960e5edf16d', onClick: this.onClick, class: `${positionClass}` }, hAsync(TagType, { key: 'd62ca1111a2bce02e942e91fd867470974269cee', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, hAsync("slot", { key: 'd0b29a5717d1386f8dc145b945b79994e36e039e', name: "start" }), hAsync("slot", { key: '9db183b8b6533b7bc091364033f167b2d0b7004b' }))));
|
|
3718
3738
|
}
|
|
3719
3739
|
get el() { return getElement(this); }
|
|
3720
3740
|
static get style() { return RoadButtonFloatingStyle0; }
|
|
@@ -3759,7 +3779,7 @@ class ButtonBar {
|
|
|
3759
3779
|
this.selectedTabChanged();
|
|
3760
3780
|
}
|
|
3761
3781
|
render() {
|
|
3762
|
-
return (hAsync(Host, { key: '
|
|
3782
|
+
return (hAsync(Host, { key: 'cbe94587012819876109399d72bb1715ac334a9f', role: "tablist" }, hAsync("slot", { key: 'a1ba2feec5c649ea44f6b534a10a18fc738fede5' })));
|
|
3763
3783
|
}
|
|
3764
3784
|
get el() { return getElement(this); }
|
|
3765
3785
|
static get watchers() { return {
|
|
@@ -3842,7 +3862,7 @@ class Card {
|
|
|
3842
3862
|
render() {
|
|
3843
3863
|
const { elevation } = this;
|
|
3844
3864
|
const elevationClass = this.elevation ? `card-elevation-${elevation}` : ``;
|
|
3845
|
-
return (hAsync(Host, { key: '
|
|
3865
|
+
return (hAsync(Host, { key: '4b33b971a83bdc61a6f263d0d875fc4ce001b1e2', class: `${elevationClass}` }, this.renderCard()));
|
|
3846
3866
|
}
|
|
3847
3867
|
get el() { return getElement(this); }
|
|
3848
3868
|
static get style() { return RoadCardStyle0; }
|
|
@@ -10589,7 +10609,7 @@ class Carousel {
|
|
|
10589
10609
|
});
|
|
10590
10610
|
}
|
|
10591
10611
|
render() {
|
|
10592
|
-
return (hAsync(Host, { key: '
|
|
10612
|
+
return (hAsync(Host, { key: 'bd56a3d4295733f9ccd9d44178b71fdf8d6faf80', class: "swiper-container", tabindex: "0" }, hAsync("div", { key: 'c0f8061060089cce5cfd4e1a73dc6d139ca5882f', class: "swiper-wrapper" }, hAsync("slot", { key: 'b21ada18d0c456767d540ccd59e5c1cce00e9fa2' })), this.pager && hAsync("div", { key: 'ed3e6e57cb5ff73b4ab3990d3e6ad307f8487451', class: "swiper-pagination", ref: el => this.paginationEl = el }), this.arrows && (hAsync("div", { key: '891f70fa003492b46bf2426b772a2a6c4a72cf45', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, hAsync("road-icon", { key: 'd6dc350a2f30a0bb74152755d410edf19f3dc87c', icon: navigationChevron, rotate: "180" }))), this.arrows && (hAsync("div", { key: '6248c621551d1a972b6448135b98353b493f7b50', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, hAsync("road-icon", { key: '20d0af76b9d2486f122835ad5bd125edc06777ae', icon: navigationChevron })))));
|
|
10593
10613
|
}
|
|
10594
10614
|
get el() { return getElement(this); }
|
|
10595
10615
|
static get watchers() { return {
|
|
@@ -10640,10 +10660,10 @@ class CarouselItem {
|
|
|
10640
10660
|
registerInstance(this, hostRef);
|
|
10641
10661
|
}
|
|
10642
10662
|
render() {
|
|
10643
|
-
return (hAsync(Host, { key: '
|
|
10663
|
+
return (hAsync(Host, { key: 'ad1fcbb1419b1ca05ddfbd0d398c5fc2a7b4e55c', class: {
|
|
10644
10664
|
'swiper-slide': true,
|
|
10645
10665
|
'swiper-zoom-container': true,
|
|
10646
|
-
} }, hAsync("slot", { key: '
|
|
10666
|
+
} }, hAsync("slot", { key: 'e38a514a6965db10c79e5ece9ef7bbc273a32fe7' })));
|
|
10647
10667
|
}
|
|
10648
10668
|
static get style() { return RoadCarouselItemStyle0; }
|
|
10649
10669
|
static get cmpMeta() { return {
|
|
@@ -10734,7 +10754,7 @@ class Checkbox {
|
|
|
10734
10754
|
const labelId = this.checkboxId + '-label';
|
|
10735
10755
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
10736
10756
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
10737
|
-
return (hAsync(Host, { key: '
|
|
10757
|
+
return (hAsync(Host, { key: 'f16e29d51017bee1efb9600331cf9ecadc81b8ef' }, hAsync("input", { key: 'b0323e72a41252b61165cef98ec0d4018e05c0c6', 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: 'f707e5f80448890998b3f17024dcdaa8440f1676', class: `form-check-label ${inverseClass}`, id: labelId, htmlFor: this.checkboxId }, hAsync("div", { key: 'd114ab8b878a19b3abbf81a09b2e5d5d8b42a74d' }, this.label, " ", hAsync("span", { key: '6999e86aa34752d5a583143ca797c4fcde6ec123', class: "form-check-label-span" }, this.secondaryLabel), hAsync("slot", { key: '4a3e284226fd18ecc87f2f3a749de8caf31a5da1' })), this.checked && !this.indeterminate && hAsync("road-icon", { key: '2bb4df593e57edba39acbb171dd807bde34ab286', class: "form-check-icon", icon: checkWide }), this.indeterminate && hAsync("road-icon", { key: '48f0661a7810dfe8e3f32d4fefe2eafac0c294ec', class: "form-check-icon", icon: navigationAddLess })), this.error && this.error !== '' && hAsync("p", { key: '9ee03128a2f23fd6bebcc60e9ae73f2035bd9b25', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '0a4d6d19679549b2fa006129a9319c1106ac7d85', class: "helper" }, this.helper)));
|
|
10738
10758
|
}
|
|
10739
10759
|
static get watchers() { return {
|
|
10740
10760
|
"checked": ["checkedChanged"]
|
|
@@ -10792,7 +10812,7 @@ class Chip {
|
|
|
10792
10812
|
}
|
|
10793
10813
|
render() {
|
|
10794
10814
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
10795
|
-
return (hAsync(Host, { key: '
|
|
10815
|
+
return (hAsync(Host, { key: '6984fe20341a84195a6e855b242f9d4b52a90448', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, hAsync("div", { key: '27080c8b8a87a10b8943aea1563da0174a0405aa', class: "chip-description" }, hAsync("slot", { key: 'dc915b09d73c31b40447a25e99c9c8e2cb490932' })), this.hasCloseIcon && hAsync("road-icon", { key: 'fb6e297f93e7d2a71f34e51c77eafc57391080e2', class: "chip-close", icon: navigationClose })));
|
|
10796
10816
|
}
|
|
10797
10817
|
static get style() { return RoadChipStyle0; }
|
|
10798
10818
|
static get cmpMeta() { return {
|
|
@@ -10821,7 +10841,7 @@ class Col {
|
|
|
10821
10841
|
registerInstance(this, hostRef);
|
|
10822
10842
|
}
|
|
10823
10843
|
render() {
|
|
10824
|
-
return (hAsync("slot", { key: '
|
|
10844
|
+
return (hAsync("slot", { key: '31d1c2466605d958b1e09d2a3560df534e27fcfb' }));
|
|
10825
10845
|
}
|
|
10826
10846
|
static get style() { return RoadColStyle0; }
|
|
10827
10847
|
static get cmpMeta() { return {
|
|
@@ -10871,7 +10891,7 @@ class Collapse {
|
|
|
10871
10891
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
10872
10892
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
10873
10893
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
10874
|
-
return (hAsync(Host, { key: '
|
|
10894
|
+
return (hAsync(Host, { key: '6e386b6d38d82a531552aa51a75c1936aa648086' }, hAsync("slot", { key: '4f2a6c4da34fb988a2502c42e84cf04e2ff8b3d9' }), hAsync("div", { key: 'd526b164e59b383060181b421348bf841ebfc87b', class: `collapsed-content ${isOpenClass}` }, hAsync("slot", { key: 'b9f02396aa6b7599bda288ef90eaf86bf6840be4', name: "collapsed-content" })), hAsync("div", { key: 'f8295bbd155c7516b0fdd3e2a58ccd4b5188844b', class: `collapse-btn-wrapper ${centerClass}` }, hAsync("road-button", { key: 'e93ff7cbb3038bf93fc47467708485edec2c9a13', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
10875
10895
|
}
|
|
10876
10896
|
static get style() { return RoadCollapseStyle0; }
|
|
10877
10897
|
static get cmpMeta() { return {
|
|
@@ -10908,7 +10928,7 @@ class ContentCard {
|
|
|
10908
10928
|
}
|
|
10909
10929
|
render() {
|
|
10910
10930
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
10911
|
-
return (hAsync(Host, { key: '
|
|
10931
|
+
return (hAsync(Host, { key: 'e053ef7978db53d7fecd4628ccc4e5708e128e93' }, hAsync("road-img", { key: 'bb7b363f08ada6385b0744da1b145d8c190ef309', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), hAsync("div", { key: '70143643e05373e3230aab8a151d7f6986a2c6ef', class: "content-card-description" }, hAsync("road-label", { key: '4dbf374d7fee075b782af68e3627a6fedaf69cb2', class: "content-card-description-title" }, hAsync("slot", { key: '1f70c536151777a0ce5a002c2054306123bcf2ec', name: "label" })), hAsync("p", { key: 'e62f439d92a7ca6a406ab2fcdc5501488613872c', class: "content-card-description-text" }, hAsync("slot", { key: '42bbeb6043724fa897ae49c453f5339ea893fcfc', name: "description" })), hAsync("div", { key: '971bad2a897bce4a4180db88d8a7f0abacd23aee', class: "content-card-description-buttons" }, hAsync("slot", { key: '7c33368ae9c3a748d52b03dbf52fe40e7c738562' })))));
|
|
10912
10932
|
}
|
|
10913
10933
|
static get style() { return RoadContentCardStyle0; }
|
|
10914
10934
|
static get cmpMeta() { return {
|
|
@@ -11068,7 +11088,7 @@ class Counter {
|
|
|
11068
11088
|
}
|
|
11069
11089
|
render() {
|
|
11070
11090
|
const dataCi = this.isDustbinVisible ? "road-dustbin" : "";
|
|
11071
|
-
return (hAsync("road-input-group", { key: '
|
|
11091
|
+
return (hAsync("road-input-group", { key: '8c5c49f3a335f5becc5b1c67823b3bede8847d7b', class: this.size && `counter-${this.size}` }, hAsync("road-button", { key: 'b31f4ea302a78333283578875bfe488891da73e9', slot: "prepend", size: this.size, onClick: this.decrease, class: this.leftIconClasses, "data-cy": "road-decrease" }, hAsync("road-icon", { key: '1b18e482d8cc3d2975c9cf3c52a42f3ae4660238', 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: '01475e769b04aa4080be3e24cf1f16d1651bb5a1', 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: '4a27e374ce3cee4d1c47a5f921af4b2e2d6fbc53', slot: "append", size: this.size, onClick: this.increase, class: this.rightIconClasses, "data-cy": "road-increase" }, hAsync("road-icon", { key: '3a53a84956795e8576a3e4ba240a17f074d96575', name: "navigation-add-more", size: this.size, role: "button" }))));
|
|
11072
11092
|
}
|
|
11073
11093
|
get el() { return getElement(this); }
|
|
11074
11094
|
static get watchers() { return {
|
|
@@ -11184,11 +11204,11 @@ class Dialog {
|
|
|
11184
11204
|
break;
|
|
11185
11205
|
}
|
|
11186
11206
|
}
|
|
11187
|
-
return (hAsync(Host, { key: '
|
|
11207
|
+
return (hAsync(Host, { key: '2c8db56b9961b0344f525d832351583ddcfbf3b2', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, hAsync("div", { key: 'c931f46217f533acf46f70968fe04319f639f7ad', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), hAsync("div", { key: '0b141dde632d78b058263431af0f5d4470f267c5', class: "dialog-modal", role: "document", tabindex: "0" }, hAsync("div", { key: '78ed93fb9251f925bc0f33e43961bd4a656777ab', class: "dialog-content" }, hAsync("header", { key: '5e4bfdd20864ff18f8352536f918d801d338a9d5', class: "dialog-header" }, this.hasCloseIcon
|
|
11188
11208
|
? hAsync("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))
|
|
11189
|
-
: ''), hAsync("div", { key: '
|
|
11209
|
+
: ''), hAsync("div", { key: '787c2b4a2791f0098424159f1a1f1462973d7f88', class: "dialog-body" }, this.color !== undefined
|
|
11190
11210
|
? hAsync("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
11191
|
-
: '', hAsync("h2", { key: '
|
|
11211
|
+
: '', hAsync("h2", { key: '3445750e2edadb33dc2219b72642ff0209b3c1c6', class: "dialog-title" }, this.label), hAsync("p", { key: 'db5324827d724d10a38cb7187dc717fa74a57cc7', class: "dialog-description", id: "dialogDesc" }, this.description)), hAsync("footer", { key: '59ba58e5ab179d493b21f6a2d42b8bc5e4bb04d3', class: "dialog-footer" }, hAsync("slot", { key: 'c4e5b3236e31f94bf0d08c00f4c21161b3d09969' }))))));
|
|
11192
11212
|
}
|
|
11193
11213
|
get el() { return getElement(this); }
|
|
11194
11214
|
static get style() { return RoadDialogStyle0; }
|
|
@@ -11211,7 +11231,7 @@ class Dialog {
|
|
|
11211
11231
|
}; }
|
|
11212
11232
|
}
|
|
11213
11233
|
|
|
11214
|
-
const drawerCss = ":host{--background:var(--road-surface);--color:var(--road-on-surface);--header-icon:var(--road-on-surface);--header-color:var(--road-on-surface);--header-background:var(--road-surface);--header-delimiter:0;--back-chevron-color:var(--road-icon);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay)}.drawer-dialog{position:relative;width:100%;pointer-events:none;transition:transform 0.3s ease-out;transform:translateX(-100%)}:host(.drawer-right){justify-content:flex-end}:host(.drawer-right) .drawer-dialog{transform:translateX(100%)}:host(.drawer-bottom){align-items:flex-end}:host(.drawer-bottom) .drawer-dialog{width:100%;max-height:var(--max-height);transform:translateY(100%)}:host(.drawer-bottom) .drawer-content{height:auto}.drawer-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;pointer-events:auto;background-color:var(--background);background-clip:padding-box;box-shadow:var(--road-elevation-hight)}.drawer-header{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;height:3.5rem;color:var(--header-color);background:var(--header-background);border-color:var(--road-grey-300);border-style:solid;border-width:var(--header-delimiter)}.drawer-header road-icon{flex-shrink:0;color:var(--header-icon)}.drawer-footer{padding:var(--road-spacing-05);background-color:var(--road-surface)}.drawer-header-inverse{--header-icon:var(--road-on-primary);--header-color:var(--road-on-primary);--header-background:var(--road-primary-variant);margin-bottom:2.5rem}.drawer-action,.drawer-close{display:flex;align-items:center;justify-content:center;height:3.5rem;padding:0.5rem;font-family:inherit;font-size:0.875rem;color:inherit;cursor:pointer;background:transparent;border:0;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon{color:var(--back-chevron-color)}.drawer-action~.drawer-title,.drawer-close~.drawer-title{padding-left:0}.drawer-action-left,.drawer-close-left{margin-right:auto}.drawer-title{display:flex;flex-grow:1;align-items:center;justify-content:center;height:3.5rem;padding-left:3.5rem;margin:0;font-size:var(--road-body-medium)}.drawer-body{overflow-y:auto}:host(.drawer-right) .drawer-body,:host(.drawer-left) .drawer-body{height:calc(100vh - 3.5rem)}.drawer-inner{padding:0 1rem 2.5rem}@media (min-width: 768px){.drawer-inner{padding:0 2rem 2.5rem}.drawer-body{padding:0 var(--road-spacing-08) var(--road-spacing-05)}.drawer-footer{padding:var(--road-spacing-05) var(--road-spacing-08)}}:host(.drawer-open){visibility:visible !important;opacity:1}:host(.drawer-open) .drawer-dialog{transform:none}";
|
|
11234
|
+
const drawerCss = ":host{--background:var(--road-surface);--color:var(--road-on-surface);--header-icon:var(--road-on-surface);--header-color:var(--road-on-surface);--header-background:var(--road-surface);--header-delimiter:0;--back-chevron-color:var(--road-icon);--max-height:auto;--z-index:10;position:fixed;top:0;left:0;z-index:var(--z-index);display:flex;justify-content:flex-start;width:100%;height:100%;overflow:hidden;font-family:var(--road-font, sans-serif);line-height:1.5;color:var(--color);visibility:hidden !important;opacity:0;transition:opacity 0.15s linear, visibility 0.15s}.drawer-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:block;touch-action:none;cursor:pointer;background:var(--road-overlay)}.drawer-dialog{position:relative;width:100%;pointer-events:none;transition:transform 0.3s ease-out;transform:translateX(-100%)}:host(.drawer-right){justify-content:flex-end}:host(.drawer-right) .drawer-dialog{transform:translateX(100%)}:host(.drawer-bottom){align-items:flex-end}:host(.drawer-bottom) .drawer-dialog{width:100%;max-height:var(--max-height);transform:translateY(100%)}:host(.drawer-bottom) .drawer-content{height:auto}.drawer-content{position:relative;display:flex;flex-direction:column;width:100%;height:100vh;pointer-events:auto;background-color:var(--background);background-clip:padding-box;box-shadow:var(--road-elevation-hight)}.drawer-header{display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;height:3.5rem;color:var(--header-color);background:var(--header-background);border-color:var(--road-grey-300);border-style:solid;border-width:var(--header-delimiter)}.drawer-header road-icon{flex-shrink:0;color:var(--header-icon)}.drawer-footer{padding:var(--road-spacing-05);background-color:var(--road-surface)}.drawer-header-inverse{--header-icon:var(--road-on-primary);--header-color:var(--road-on-primary);--header-background:var(--road-primary-variant);margin-bottom:2.5rem}.drawer-action,.drawer-close{display:flex;align-items:center;justify-content:center;height:3.5rem;padding:0.5rem;font-family:inherit;font-size:0.875rem;color:inherit;cursor:pointer;background:transparent;border:0;appearance:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon{color:var(--back-chevron-color)}.drawer-action~.drawer-title,.drawer-close~.drawer-title{padding-left:0}.drawer-action-left,.drawer-close-left{margin-right:auto}.drawer-title{display:flex;flex-grow:1;align-items:center;justify-content:center;height:3.5rem;padding-left:3.5rem;margin:0;font-size:var(--road-body-medium)}.drawer-body{overflow-y:auto;padding:0 var(--road-spacing-05) var(--road-spacing-05)}.drawer-body.remove-padding{padding:0}:host(.drawer-right) .drawer-body,:host(.drawer-left) .drawer-body{height:calc(100vh - 3.5rem)}.drawer-inner{padding:0 1rem 2.5rem}@media (min-width: 768px){.drawer-inner{padding:0 2rem 2.5rem}.drawer-body{padding:0 var(--road-spacing-08) var(--road-spacing-05)}.drawer-body.remove-padding{padding:0}.drawer-footer{padding:var(--road-spacing-05) var(--road-spacing-08)}}:host(.drawer-open){visibility:visible !important;opacity:1}:host(.drawer-open) .drawer-dialog{transform:none}";
|
|
11215
11235
|
var RoadDrawerStyle0 = drawerCss;
|
|
11216
11236
|
|
|
11217
11237
|
/**
|
|
@@ -11233,6 +11253,10 @@ class Drawer {
|
|
|
11233
11253
|
* Set isOpen property to true to open the drawer
|
|
11234
11254
|
*/
|
|
11235
11255
|
this.isOpen = false;
|
|
11256
|
+
/**
|
|
11257
|
+
* Set removePadding property to true to remove padding for drawer body
|
|
11258
|
+
*/
|
|
11259
|
+
this.removePadding = false;
|
|
11236
11260
|
/**
|
|
11237
11261
|
* position of the drawer. e.g. left, right, bottom
|
|
11238
11262
|
*/
|
|
@@ -11338,21 +11362,19 @@ class Drawer {
|
|
|
11338
11362
|
item.addEventListener('click', () => this.close());
|
|
11339
11363
|
});
|
|
11340
11364
|
}
|
|
11341
|
-
hasFooterContent() {
|
|
11342
|
-
const footerSlot = this.el.querySelector('[slot="footer"]');
|
|
11343
|
-
return footerSlot !== null && footerSlot.childElementCount > 0;
|
|
11344
|
-
}
|
|
11345
11365
|
render() {
|
|
11366
|
+
var _a, _b, _c;
|
|
11346
11367
|
const drawerIsOpenClass = this.isOpen ? 'drawer-open' : '';
|
|
11368
|
+
const removePaddingClass = this.removePadding ? 'remove-padding' : '';
|
|
11347
11369
|
const inverseHeaderClass = this.hasInverseHeader ? 'drawer-header-inverse' : '';
|
|
11348
|
-
const ariaLabel = this.ariaLabel !==
|
|
11349
|
-
const ariaLabelBack = this.ariaLabelBack !==
|
|
11350
|
-
const ariaLabelClose = this.ariaLabelClose !==
|
|
11351
|
-
const drawerDelimiterClass = this.drawerTitle
|
|
11352
|
-
const backIconElement = this.hasBackIcon ? hAsync("button", { type: "button", class: "drawer-action", "aria-label":
|
|
11353
|
-
const closeIconElement = this.hasCloseIcon ? hAsync("button", { type: "button", class: "drawer-close", onClick: this.onClick, "aria-label":
|
|
11354
|
-
const drawerWidthValue = this.position === 'bottom' ? '100%' : this.drawerWidth
|
|
11355
|
-
return (hAsync(Host, { key: '
|
|
11370
|
+
const ariaLabel = (_a = this.ariaLabel) !== null && _a !== void 0 ? _a : 'drawer';
|
|
11371
|
+
const ariaLabelBack = (_b = this.ariaLabelBack) !== null && _b !== void 0 ? _b : 'Back';
|
|
11372
|
+
const ariaLabelClose = (_c = this.ariaLabelClose) !== null && _c !== void 0 ? _c : 'Close';
|
|
11373
|
+
const drawerDelimiterClass = this.drawerTitle && !this.hasInverseHeader ? 'drawer-delimiter' : '';
|
|
11374
|
+
const backIconElement = this.hasBackIcon ? (hAsync("button", { type: "button", class: "drawer-action", "aria-label": ariaLabelBack, onClick: this.onClickBack }, hAsync("road-icon", { icon: navigationChevron, rotate: "180" }), this.backText)) : null;
|
|
11375
|
+
const closeIconElement = this.hasCloseIcon ? (hAsync("button", { type: "button", class: "drawer-close", onClick: this.onClick, "aria-label": ariaLabelClose }, hAsync("road-icon", { icon: navigationClose, "aria-hidden": "true" }))) : null;
|
|
11376
|
+
const drawerWidthValue = this.position === 'bottom' ? '100%' : `${this.drawerWidth}px`;
|
|
11377
|
+
return (hAsync(Host, { key: 'd9a65c4b3b7943dc6cdfa4daba84533e718a38a2', class: `${drawerIsOpenClass} drawer-${this.position}`, tabindex: "0", role: "dialog", "aria-label": ariaLabel }, hAsync("div", { key: 'cdd0a950c739328870c8e723a6daf69c8077e7ae', class: "drawer-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: 'b23bff3a5d546f27c8286ee4b94b27813375a65e', class: "drawer-dialog", style: { maxWidth: drawerWidthValue }, role: "document", tabindex: "0" }, hAsync("div", { key: '71440a2eee17b35266a64468e0de497e96f90553', class: "drawer-content" }, hAsync("header", { key: '6c351edec21172afa7ddef62d6b3043becebde35', 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: '81298d6f43743beacc945c15db1f645f23ba87b1', class: `drawer-body ${removePaddingClass}` }, hAsync("slot", { key: 'b9ecd6bad23c1707c4204084170f54d1944b2d78' })), hAsync("footer", { key: '21f03c9d7b70b62892f088c026e5df0b255e5d4e', class: "drawer-footer" }, hAsync("slot", { key: 'aa1ff90c55ff00b99733c2955542f0a173cd6f2b', name: "footer" }))))));
|
|
11356
11378
|
}
|
|
11357
11379
|
get el() { return getElement(this); }
|
|
11358
11380
|
static get watchers() { return {
|
|
@@ -11364,6 +11386,7 @@ class Drawer {
|
|
|
11364
11386
|
"$tagName$": "road-drawer",
|
|
11365
11387
|
"$members$": {
|
|
11366
11388
|
"isOpen": [1028, "is-open"],
|
|
11389
|
+
"removePadding": [1028, "remove-padding"],
|
|
11367
11390
|
"position": [1],
|
|
11368
11391
|
"drawerWidth": [2, "drawer-width"],
|
|
11369
11392
|
"hasInverseHeader": [4, "has-inverse-header"],
|
|
@@ -11384,7 +11407,7 @@ class Drawer {
|
|
|
11384
11407
|
}; }
|
|
11385
11408
|
}
|
|
11386
11409
|
|
|
11387
|
-
const dropdownCss = ":host{--margin-top:0.5rem;display:block;width:max-content}.dropdown{position:relative;font-family:var(--road-font)}.dropdown summary{display:block;background-color:var(--road-surface);border-radius:0.25rem}.dropdown summary:focus,.dropdown summary.focus-visible,.dropdown summary:focus-within{background:var(--road-surface-inverse)}.dropdown summary::-webkit-details-marker{display:none}.dropdown-button{position:relative;display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;cursor:pointer;border-radius:0.25rem}.dropdown-medium-button{width:2.5rem;height:2.5rem}.position-right{display:flex;justify-content:flex-end}.bg-white{background:var(--road-grey-000)}.dropdown-button-icon{width:2.5rem;height:2.5rem}.dropdown-medium-button .dropdown-button-icon{width:1.75rem;height:1.75rem}.dropdown[open] .dropdown-menu{transform:scaleY(1)}.dropdown[open] .dropdown-menu.direction-top{position:absolute;bottom:0;left:auto;transform:translate3d(0, -56px, 0);will-change:transform}.dropdown-menu{position:absolute;z-index:
|
|
11410
|
+
const dropdownCss = ":host{--margin-top:0.5rem;display:block;width:max-content}.dropdown{position:relative;font-family:var(--road-font)}.dropdown summary{display:block;background-color:var(--road-surface);border-radius:0.25rem}.dropdown summary:focus,.dropdown summary.focus-visible,.dropdown summary:focus-within{background:var(--road-surface-inverse)}.dropdown summary::-webkit-details-marker{display:none}.dropdown-button{position:relative;display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;cursor:pointer;border-radius:0.25rem}.dropdown-medium-button{width:2.5rem;height:2.5rem}.position-right{display:flex;justify-content:flex-end}.bg-white{background:var(--road-grey-000)}.dropdown-button-icon{width:2.5rem;height:2.5rem}.dropdown-medium-button .dropdown-button-icon{width:1.75rem;height:1.75rem}.dropdown[open] .dropdown-menu{transform:scaleY(1)}.dropdown[open] .dropdown-menu.direction-top{position:absolute;bottom:0;left:auto;transform:translate3d(0, -56px, 0);will-change:transform}.dropdown-menu{position:absolute;z-index:2;display:flex;flex-direction:column;width:100%;min-width:16.875rem;padding:0.5rem 0;color:var(--road-on-surface);background:var(--road-surface);border:1px solid;border-color:var(--road-outline-weak);border-radius:0.25rem;box-shadow:var(--road-elevation-low);transition:transform 0.2s ease-in-out;transform:scaleY(0);transform-origin:0 0}.dropdown-left{left:0}.dropdown-right{right:0}.dropdown-item{min-height:40px;padding:0 1rem;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface);text-align:left;text-decoration:none;cursor:pointer;background:var(--road-surface);border:none}.dropdown-item-border{border-color:var(--road-outline-weak);border-bottom:1px solid}.dropdown-item:hover{background:var(--road-surface-inverse)}.dropdown-item.focus-visible{outline:auto}";
|
|
11388
11411
|
var RoadDropdownStyle0 = dropdownCss;
|
|
11389
11412
|
|
|
11390
11413
|
class Dropdown$1 {
|
|
@@ -11412,7 +11435,7 @@ class Dropdown$1 {
|
|
|
11412
11435
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
11413
11436
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
11414
11437
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
11415
|
-
return (hAsync("details", { key: '
|
|
11438
|
+
return (hAsync("details", { key: '63664ef857943b6aeccfa742262132ccd0f0ea3d', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '5286cc9ed3f2d928350bafb6e8420faa34b25b33', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, hAsync("div", { key: '5c8849bea5ed2a5bcee7432d5a59597c490b1bb2', class: `d-flex ${positionClass}` }, hAsync("div", { key: '0e5ca32d720b1230083469d39c0a032ae345abc3', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, hAsync("road-icon", { key: 'd65534d956a28d5238f38fdea121491ff7923900', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), hAsync("div", { key: '9e9a77d0c43b5770b443967c9e828d758d55dd3f', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, hAsync("slot", { key: 'c5693e782f0a05dfd5f62a7d96eb2418e619e2f9', name: "list" }))));
|
|
11416
11439
|
}
|
|
11417
11440
|
get el() { return getElement(this); }
|
|
11418
11441
|
static get style() { return RoadDropdownStyle0; }
|
|
@@ -11468,7 +11491,7 @@ class Dropdown {
|
|
|
11468
11491
|
this.isOpen = false;
|
|
11469
11492
|
}
|
|
11470
11493
|
render() {
|
|
11471
|
-
return (hAsync("details", { key: '
|
|
11494
|
+
return (hAsync("details", { key: '1ea3c85ea39041b51cd7b87e5e3bf8457d04d8d2', class: "dropdown", open: this.isOpen }, hAsync("summary", { key: '31722222765df7c7fb7716f1d28c719e71e3c50b', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, hAsync("div", { key: 'e395e588854018e3aa01a535df994281a17e76e7', class: `d-flex` }, hAsync("div", { key: '8bb2ba7393ad71a0fb01bfaae2626cddff73b974' }, hAsync("road-avatar", { key: '6d05a101ce8015714a85fea57c583f8cf20e8ce4' }, hAsync("slot", { key: 'c1a1408aa8e9eafedb2f3cb1791dcc02a2aba504', name: "avatar" }))))), hAsync("div", { key: '31b4b8e31798cdbba1f144cd7c75417e5aed1dcc', class: `dropdown-menu` }, hAsync("div", { key: 'daaa7e6156bd9e4cf093dcd895aabc58a5a75835', class: "profil-item" }, hAsync("road-avatar", { key: 'efe9b628482a2f27c8224e5a836677e55aab0a53', size: "sm" }, hAsync("slot", { key: 'b9def88d2732c0ff87353e163437f303bf921175', name: "avatarItem" })), hAsync("div", { key: 'de3f1acfabff5c15cb409ff32c9f3d03ff80b256', class: "profil-item-info" }, hAsync("span", { key: '01909017ffda821626024a5db9c77b5a5fa79988', class: "profil-item-info-name" }, hAsync("slot", { key: 'e7ecab682533008f8aa41deb00a30a80ba027c09', name: "name" })), hAsync("road-label", { key: 'e23ae331f406c69d5702055a31f8445518983fbc' }, hAsync("slot", { key: '4ee00896125440f2f3a904516052edecc3ccaefc', name: "email" })))), hAsync("slot", { key: '51a8603e7be8c8df634d69fe74a34845b75aff2f', name: "list" }))));
|
|
11472
11495
|
}
|
|
11473
11496
|
get el() { return getElement(this); }
|
|
11474
11497
|
static get style() { return RoadProfilDropdownStyle0; }
|
|
@@ -11532,7 +11555,7 @@ class Duration {
|
|
|
11532
11555
|
this.isOpen = false;
|
|
11533
11556
|
}
|
|
11534
11557
|
render() {
|
|
11535
|
-
return (hAsync("road-drawer", { key: '
|
|
11558
|
+
return (hAsync("road-drawer", { key: '18883acabae49df9f9e957e673d118356011d28c', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, hAsync("road-grid", { key: '7e0e1b64d1748880df6eb12b06dbd14a6eba8c70' }, hAsync("road-row", { key: '02e407a9f1a56f8c8fc8a48751d95848c7fc5c4f', 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 })))))))));
|
|
11536
11559
|
}
|
|
11537
11560
|
get el() { return getElement(this); }
|
|
11538
11561
|
static get style() { return RoadDurationStyle0; }
|
|
@@ -11578,7 +11601,7 @@ class Flap {
|
|
|
11578
11601
|
}
|
|
11579
11602
|
render() {
|
|
11580
11603
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
11581
|
-
return (hAsync(Host, { key: '
|
|
11604
|
+
return (hAsync(Host, { key: '3070a00a39088bc22f27b1e97a4aa635bc27c34d', class: `${colorClass} flap-${this.size}` }, hAsync("slot", { key: 'd2c0af9309ce6200b5055a152f26cea71e3c859f' })));
|
|
11582
11605
|
}
|
|
11583
11606
|
static get style() { return RoadFlapStyle0; }
|
|
11584
11607
|
static get cmpMeta() { return {
|
|
@@ -11624,7 +11647,7 @@ class GlobalNavigation {
|
|
|
11624
11647
|
this.selectedTabChanged();
|
|
11625
11648
|
}
|
|
11626
11649
|
render() {
|
|
11627
|
-
return (hAsync(Host, { key: '
|
|
11650
|
+
return (hAsync(Host, { key: 'b9dc9e434336aac0badabc03361dee0536ca1382', role: "application" }, hAsync("slot", { key: 'b4d9e5ec254a413489b81b720bd20f5ce18d9da4' })));
|
|
11628
11651
|
}
|
|
11629
11652
|
static get watchers() { return {
|
|
11630
11653
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -11772,7 +11795,7 @@ class GlobalNavigationV2 {
|
|
|
11772
11795
|
this.selectedTabChanged();
|
|
11773
11796
|
}
|
|
11774
11797
|
render() {
|
|
11775
|
-
return (hAsync(Host, { key: '
|
|
11798
|
+
return (hAsync(Host, { key: 'c9d5417b5d92177482a620e7baa5879fa7d04731', role: "application" }, hAsync("slot", { key: '6d189aef035de7d1816328f150e3402582b97bd7' })));
|
|
11776
11799
|
}
|
|
11777
11800
|
get host() { return getElement(this); }
|
|
11778
11801
|
static get watchers() { return {
|
|
@@ -11802,7 +11825,7 @@ class Grid {
|
|
|
11802
11825
|
registerInstance(this, hostRef);
|
|
11803
11826
|
}
|
|
11804
11827
|
render() {
|
|
11805
|
-
return (hAsync("slot", { key: '
|
|
11828
|
+
return (hAsync("slot", { key: 'afda2c7ec410ce0c1c06b12091a1416394a3b506' }));
|
|
11806
11829
|
}
|
|
11807
11830
|
static get style() { return RoadGridStyle0; }
|
|
11808
11831
|
static get cmpMeta() { return {
|
|
@@ -11905,7 +11928,7 @@ class Icon {
|
|
|
11905
11928
|
const rotateClass = this.rotate ? `icon-rotate-${this.rotate}` : '';
|
|
11906
11929
|
// Ajouter une classe "default" si aucune des valeurs n'est définie
|
|
11907
11930
|
const classes = [colorClass, sizeClass, rotateClass].filter(Boolean).join(' ');
|
|
11908
|
-
return (hAsync(Host, { key: '
|
|
11931
|
+
return (hAsync(Host, { key: '1da1702db901bcfb80638d9ae30a8c5cc4a2ac26', class: classes, "aria-hidden": "true" }, this.svgContent !== ''
|
|
11909
11932
|
? hAsync("div", { class: "icon-inner", innerHTML: this.svgContent })
|
|
11910
11933
|
: hAsync("div", { class: "icon-inner" })));
|
|
11911
11934
|
}
|
|
@@ -12027,7 +12050,7 @@ class Illustration {
|
|
|
12027
12050
|
render() {
|
|
12028
12051
|
const sizeClass = this.size !== undefined ? `illustration-${this.size}` : '';
|
|
12029
12052
|
const rotateClass = this.rotate !== undefined ? `illustration-rotate-${this.rotate}` : '';
|
|
12030
|
-
return (hAsync(Host, { key: '
|
|
12053
|
+
return (hAsync(Host, { key: '0c1d3f02b235f7f69dbdca9969fd3a637929e0bd', class: `${sizeClass} ${rotateClass}`, "aria-hidden": "true", role: "img" }, ((this.illustrationSvgContent !== '')
|
|
12031
12054
|
? hAsync("div", { class: "icon-inner", innerHTML: this.illustrationSvgContent })
|
|
12032
12055
|
: hAsync("div", { class: "icon-inner" }))));
|
|
12033
12056
|
}
|
|
@@ -12130,7 +12153,7 @@ class Img {
|
|
|
12130
12153
|
}
|
|
12131
12154
|
render() {
|
|
12132
12155
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
12133
|
-
return (hAsync(Host, { key: '
|
|
12156
|
+
return (hAsync(Host, { key: 'f53be3ccdaadcae1091cab8e04678f1e709d30cd', class: placeholder }, hAsync("img", { key: '2e9b71fd42e3eff11402a195a93d2b93cc7446e6', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
12134
12157
|
}
|
|
12135
12158
|
get el() { return getElement(this); }
|
|
12136
12159
|
static get watchers() { return {
|
|
@@ -29524,7 +29547,7 @@ class Input {
|
|
|
29524
29547
|
const hasValueClass = this.value !== '' && this.value !== null ? 'has-value' : '';
|
|
29525
29548
|
const lessLabelClass = this.label !== '' ? '' : 'less-label';
|
|
29526
29549
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
29527
|
-
return (hAsync(Host, { key: '
|
|
29550
|
+
return (hAsync(Host, { key: '9251985e0b07d2b85f319d30bd6e4cc46cf78147', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}`, value: value, blockdecimal: this.blockdecimal }, hAsync("input", { key: 'b0d87d5bde0d232615d200c1b4c611a997931595', 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, onKeyUp: (event) => this.enforceMinMax(event.target), "data-cy": 'road-input' }), hAsync("label", { key: '910506a3f147908dd802d645c9d985862cf4126b', class: "form-label", id: labelId, htmlFor: this.inputId }, this.label), this.error && this.error !== '' && hAsync("p", { key: 'feb2985f978e936bcde5328233a433eda6f2d16c', class: "invalid-feedback" }, hAsync("road-icon", { key: 'f5d8a3c8edc1ccac2d5b9f9d6b2bcc3f3f7bc283', slot: "start", name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.error), this.helper && this.helper !== '' && hAsync("p", { key: '3e11fd43dc68951c17d3ab267bc4a25316e1efce', class: "helper" }, this.helper), this.type && this.type == 'password' && hAsync("slot", { key: '0a2df2f8c92a52d18b6d1063765eaf47809a60b3', name: "checklistPassword" })));
|
|
29528
29551
|
}
|
|
29529
29552
|
static get watchers() { return {
|
|
29530
29553
|
"debounce": ["debounceChanged"],
|
|
@@ -29611,7 +29634,7 @@ class InputGroup {
|
|
|
29611
29634
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
29612
29635
|
: '';
|
|
29613
29636
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
29614
|
-
return (hAsync("div", { key: '
|
|
29637
|
+
return (hAsync("div", { key: '1dc07a13ad76efc4b8ab8e2ce83b1c90ca283459', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, hAsync("div", { key: '1c44dad07b031661812715bff42dafcb9eba22a4', class: "input-group-prepend" }, hAsync("slot", { key: 'ecc99ec7f39e7ecd3f3ee229957e0f97ae63467a', name: "prepend" })), hAsync("slot", { key: '2026617a9bdf3c6b31fa4492dd14d56e635fe464' }), hAsync("div", { key: '4e134a2e344f345d021e0ec1d3100da88dd17a88', class: "input-group-append" }, hAsync("slot", { key: '1cec89a371a53e753813fc61f388fee0108ae695', name: "append" }))));
|
|
29615
29638
|
}
|
|
29616
29639
|
get el() { return getElement(this); }
|
|
29617
29640
|
static get watchers() { return {
|
|
@@ -29691,13 +29714,13 @@ class Item {
|
|
|
29691
29714
|
target,
|
|
29692
29715
|
};
|
|
29693
29716
|
const showDetail = detail !== undefined && detail;
|
|
29694
|
-
return (hAsync(Host, { key: '
|
|
29717
|
+
return (hAsync(Host, { key: '9fb4b35e594ec2393232ad0a9403e279e2e2889c', "aria-disabled": disabled ? 'true' : null, class: {
|
|
29695
29718
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
29696
|
-
} }, hAsync(TagType, Object.assign({ key: '
|
|
29719
|
+
} }, hAsync(TagType, Object.assign({ key: '9fba47364f496d51e09e3b2a5a92dd00ef71ff87' }, attrs, { class: {
|
|
29697
29720
|
'item-native': true,
|
|
29698
29721
|
'item-active': this.active,
|
|
29699
29722
|
[`layout-${layout}`]: layout !== undefined,
|
|
29700
|
-
}, part: "native", disabled: disabled }), hAsync("slot", { key: '
|
|
29723
|
+
}, part: "native", disabled: disabled }), hAsync("slot", { key: 'fe656d0fa4a1f518f6ab7a43524e244d6eb37d30', name: "start" }), hAsync("div", { key: 'd1c19e1d0a10b578799970249bf4e40cdddd9dc3', class: "item-inner" }, hAsync("div", { key: '3523d2bd743dc2f16cc1dc2de844a3ab3be93ff2', class: "input-wrapper" }, hAsync("slot", { key: 'a7da0e4dcf42fc54130eaafa1a08d16315b52d54' }), hAsync("div", { key: 'd63ad621b6f43da35bec1a270ceacd40876b4d3e', class: "input-wrapper-info" }, hAsync("road-label", { key: '14763d79d648cfbbb21136998287411ab3231cbc', class: "input-wrapper-info-title" }, this.titleItem), hAsync("p", { key: '5048f0bab07eb191b4ba3d8655a7890a45926541', class: "input-wrapper-info-text" }, this.text))), hAsync("slot", { key: 'ef5cef7e326421ea28f0420a81a1773b74adc8bf', name: "end" }), showDetail && hAsync("road-icon", { key: 'ecb61fe5b2cd5e3ba3ba8b30427337cbde78fd78', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
29701
29724
|
}
|
|
29702
29725
|
get el() { return getElement(this); }
|
|
29703
29726
|
static get style() { return RoadItemStyle0; }
|
|
@@ -29738,7 +29761,7 @@ class Label {
|
|
|
29738
29761
|
registerInstance(this, hostRef);
|
|
29739
29762
|
}
|
|
29740
29763
|
render() {
|
|
29741
|
-
return (hAsync("slot", { key: '
|
|
29764
|
+
return (hAsync("slot", { key: '3ba99679bcd840c743cbc724843909bd267d0ab2' }));
|
|
29742
29765
|
}
|
|
29743
29766
|
static get style() { return RoadLabelStyle0; }
|
|
29744
29767
|
static get cmpMeta() { return {
|
|
@@ -29763,9 +29786,9 @@ class List {
|
|
|
29763
29786
|
}
|
|
29764
29787
|
render() {
|
|
29765
29788
|
const { lines } = this;
|
|
29766
|
-
return (hAsync(Host, { key: '
|
|
29789
|
+
return (hAsync(Host, { key: 'ddd543051e3de681b5672d7ab87ebe742858da9c', class: {
|
|
29767
29790
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
29768
|
-
} }, hAsync("slot", { key: '
|
|
29791
|
+
} }, hAsync("slot", { key: '56e04b9869dc48d1011e422c57ec2578e61301c6' })));
|
|
29769
29792
|
}
|
|
29770
29793
|
static get style() { return RoadListStyle0; }
|
|
29771
29794
|
static get cmpMeta() { return {
|
|
@@ -29850,7 +29873,7 @@ class Modal {
|
|
|
29850
29873
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
29851
29874
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
29852
29875
|
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" })) : '';
|
|
29853
|
-
return (hAsync(Host, { key: '
|
|
29876
|
+
return (hAsync(Host, { key: 'b87d292936b3298bd9e0fef68931b1197d89990f', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, hAsync("div", { key: '9c9ce64aca4d7e856b1a36de791aebd6b7b7affb', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), hAsync("div", { key: '9afc412d8a8f819d265d2d9102c1c96c14314816', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, hAsync("div", { key: '3ed271357372e1e6306280c7eaa7283ac2336ab3', class: "modal-content" }, hAsync("header", { key: '806e9a7258847239b31b89576213470e04b2c03d', class: `modal-header ${inverseHeaderClass}` }, hAsync("h2", { key: 'aca390c8fbb825c385d43e667f9563a1204eafcb', class: "modal-title" }, this.modalTitle), closeIconElement), hAsync("div", { key: '000d132ec44dff846b4cc7d55039ded734f7db4c', class: "modal-body" }, hAsync("slot", { key: '87025f81c5fd3498e38656d96772ba495b34f66e' }))))));
|
|
29854
29877
|
}
|
|
29855
29878
|
get el() { return getElement(this); }
|
|
29856
29879
|
static get style() { return RoadModalStyle0; }
|
|
@@ -29901,7 +29924,7 @@ class Navbar {
|
|
|
29901
29924
|
this.selectedTabChanged();
|
|
29902
29925
|
}
|
|
29903
29926
|
render() {
|
|
29904
|
-
return (hAsync(Host, { key: '
|
|
29927
|
+
return (hAsync(Host, { key: '1413fa96200fad5a83abd97f951c46b6a6a25777', role: "menubar" }, hAsync("slot", { key: 'c6f91f0af00788a5708cb95f44789938c7d6eeda' })));
|
|
29905
29928
|
}
|
|
29906
29929
|
static get watchers() { return {
|
|
29907
29930
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -29987,11 +30010,11 @@ class NavbarItem$1 {
|
|
|
29987
30010
|
rel,
|
|
29988
30011
|
target,
|
|
29989
30012
|
};
|
|
29990
|
-
return (hAsync(Host, { key: '
|
|
30013
|
+
return (hAsync(Host, { key: '8d13f1295c10b09012ee6f0c3a683c44ea9575de', 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: {
|
|
29991
30014
|
'navbar-item': true,
|
|
29992
30015
|
'tab-selected': selected,
|
|
29993
30016
|
'tab-disabled': disabled,
|
|
29994
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30017
|
+
} }, hAsync("a", Object.assign({ key: '3053f87c13f67102e2b3e10c9f1e536a083fdf3e' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '74b5de95c1cbcaa1f5bef7dded2e8949134241b5', class: "button-inner" }, hAsync("slot", { key: '84f6e5bf2ba906fdd7356dce268a7e7d8d399bff' })))));
|
|
29995
30018
|
}
|
|
29996
30019
|
get el() { return getElement(this); }
|
|
29997
30020
|
static get watchers() { return {
|
|
@@ -30084,11 +30107,11 @@ class NavbarItem {
|
|
|
30084
30107
|
rel,
|
|
30085
30108
|
target,
|
|
30086
30109
|
};
|
|
30087
|
-
return (hAsync(Host, { key: '
|
|
30110
|
+
return (hAsync(Host, { key: '191e295ae457ff383a61caf39b2b14b361dfd208', 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: {
|
|
30088
30111
|
'navbar-item': true,
|
|
30089
30112
|
'tab-selected': selected,
|
|
30090
30113
|
'tab-disabled': disabled,
|
|
30091
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
30114
|
+
} }, hAsync("a", Object.assign({ key: '445f29f9ba3534f1b4c02861ea4ac3768cc48b0c' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '3d7a3ac9b15cef609ab6402ed35b030830e03dd8', class: "button-inner" }, hAsync("slot", { key: '059d10fdd31ed3a4e8caecaa62b9aacd4483883f' })))));
|
|
30092
30115
|
}
|
|
30093
30116
|
get el() { return getElement(this); }
|
|
30094
30117
|
static get watchers() { return {
|
|
@@ -30147,7 +30170,7 @@ class NavbarV2 {
|
|
|
30147
30170
|
}
|
|
30148
30171
|
render() {
|
|
30149
30172
|
const compactClass = this.compact ? 'compact' : '';
|
|
30150
|
-
return (hAsync(Host, { key: '
|
|
30173
|
+
return (hAsync(Host, { key: 'e4fe4a407edcf036a5f3da534cc88eb4b863ab71', role: "menubar", class: `${compactClass}` }, hAsync("slot", { key: 'ef7df2d2775c533592267b1b420e522e23836d7e' })));
|
|
30151
30174
|
}
|
|
30152
30175
|
static get watchers() { return {
|
|
30153
30176
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -30270,10 +30293,10 @@ class PlateNumber {
|
|
|
30270
30293
|
render() {
|
|
30271
30294
|
const value = this.getValue();
|
|
30272
30295
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
30273
|
-
return (hAsync("road-input-group", { key: '
|
|
30296
|
+
return (hAsync("road-input-group", { key: 'd99ec720113a121c58794385a2a697459cc4e0eb', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, hAsync("label", { key: '559c8428a6403ee087bc219b6027b12a48c658d8', slot: "prepend", class: "input-group-prepend" }, hAsync("div", { key: '8483940a622fb54e8bc29dfeaf3ade7aaeeb0e8c', class: "plate-number-start" }, hAsync("road-icon", { key: 'ba60f444919f5b6221fe4d910ced4bec521e4101', class: "plate-number-icon", icon: licensePlateStarEu }), hAsync("div", { key: '095d70b607191a292c5857559566954122c5081c', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
30274
30297
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
30275
30298
|
? (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 }))
|
|
30276
|
-
: (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: '
|
|
30299
|
+
: (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: '28ce8da1e17d33750056cbbb7b62686f492b4f6d', slot: "append", class: "input-group-append" }, hAsync("div", { key: 'a7fd028f9e8457e1b865abbe79539223d64c7087', class: "plate-number-end" }))));
|
|
30277
30300
|
}
|
|
30278
30301
|
static get watchers() { return {
|
|
30279
30302
|
"value": ["valueChanged"]
|
|
@@ -30341,7 +30364,7 @@ class ProgressBar {
|
|
|
30341
30364
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
30342
30365
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
30343
30366
|
const animation = this.animation ? 'animation' : '';
|
|
30344
|
-
return (hAsync(Host, { key: '
|
|
30367
|
+
return (hAsync(Host, { key: '6c93b381f40367646f5ccb653a9062c7ac342679', class: "progress-element" }, hAsync("div", { key: 'cb975e51bd98f03fa7d52bd3f20af7b5f8f25379', class: `${light} progress-${this.color} ${animation}` }, hAsync("div", { key: '33b21314f01938916afaea7a58e0425b03616d06', 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: '3d31e5265359ddb21a8517ccdb6408c3a0503478', class: `${fullwidth}` }, hAsync("span", { key: '0965abaec5dc0737d04ddc05da7b4a6423fe6bb1', class: "progress-element-label" }, this.label), this.showstep && hAsync("span", { key: '1f8b48a83db7c3d70f4a7756a43969d0782ee35a', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
30345
30368
|
}
|
|
30346
30369
|
static get style() { return RoadProgressStyle0; }
|
|
30347
30370
|
static get cmpMeta() { return {
|
|
@@ -30382,7 +30405,7 @@ class ProgressIndicatorVertical {
|
|
|
30382
30405
|
registerInstance(this, hostRef);
|
|
30383
30406
|
}
|
|
30384
30407
|
render() {
|
|
30385
|
-
return (hAsync(Host, { key: '
|
|
30408
|
+
return (hAsync(Host, { key: '53374580ae8974a098d78a601f16c11d046d05a0' }, hAsync("nav", { key: '172b56e4f067cd3aff24cbc8f619f623cee6e7fc' }, hAsync("ul", { key: '76fc4af3a83915d53365f3e813612e10ac7bbca7' }, hAsync("li", { key: 'a30ca0d908dc432e31cf04748df08d87bc527f61' }, hAsync("slot", { key: '2bb8112daa5f3799b8936939dce9818fa17f756d' }))))));
|
|
30386
30409
|
}
|
|
30387
30410
|
static get style() { return RoadProgressIndicatorVerticalStyle0; }
|
|
30388
30411
|
static get cmpMeta() { return {
|
|
@@ -30406,7 +30429,7 @@ class ProgressIndicatorVerticalItem {
|
|
|
30406
30429
|
registerInstance(this, hostRef);
|
|
30407
30430
|
}
|
|
30408
30431
|
render() {
|
|
30409
|
-
return (hAsync(Host, { key: '
|
|
30432
|
+
return (hAsync(Host, { key: 'd3ba92c8ba422c910a790c232cc6c43acf21a316' }, hAsync("slot", { key: '471a58e0dbbcad1601c6bfec7e90cc4ced55f172' })));
|
|
30410
30433
|
}
|
|
30411
30434
|
static get style() { return RoadProgressIndicatorVerticalItemStyle0; }
|
|
30412
30435
|
static get cmpMeta() { return {
|
|
@@ -30435,7 +30458,7 @@ class ProgressTracker {
|
|
|
30435
30458
|
registerInstance(this, hostRef);
|
|
30436
30459
|
}
|
|
30437
30460
|
render() {
|
|
30438
|
-
return (hAsync(Host, { key: '
|
|
30461
|
+
return (hAsync(Host, { key: '9a0c92424113ac6ed3a422e2b72a597a1c7e56ae' }, hAsync("nav", { key: '1f4a7756e005ecaac2ae04d69cfa56f44a3db114' }, hAsync("ul", { key: 'dd386017509fcabfbc30d8970fa60d293d209e9e' }, hAsync("li", { key: '1e2ca3005116579b3917b51867a09d975c9c1891' }, hAsync("slot", { key: 'aa5268a3e7f35906bb37354e88b825f839d2774d' }))))));
|
|
30439
30462
|
}
|
|
30440
30463
|
static get style() { return RoadProgressTrackerStyle0; }
|
|
30441
30464
|
static get cmpMeta() { return {
|
|
@@ -30467,7 +30490,7 @@ class ProgressTrackerItem {
|
|
|
30467
30490
|
registerInstance(this, hostRef);
|
|
30468
30491
|
}
|
|
30469
30492
|
render() {
|
|
30470
|
-
return (hAsync(Host, { key: '
|
|
30493
|
+
return (hAsync(Host, { key: 'fa846bf7750217b756e2c63925636d75100e52f0' }, hAsync("slot", { key: '3b37dca6ac078595ce7e739cd980661387f50e59' })));
|
|
30471
30494
|
}
|
|
30472
30495
|
static get style() { return RoadProgressTrackerItemStyle0; }
|
|
30473
30496
|
static get cmpMeta() { return {
|
|
@@ -30560,7 +30583,7 @@ class Radio {
|
|
|
30560
30583
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
30561
30584
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
30562
30585
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
30563
|
-
return (hAsync(Host, { key: '
|
|
30586
|
+
return (hAsync(Host, { key: 'fbec228f3266ccdef92e82ee29b7aa9f604f603a', class: `form-radio ${inlineClass}` }, hAsync("input", { key: '4493e3345ad10d983dab715035a77fe66025e3ba', 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: '85b6bc778ca441e37bd47a51227307051a9bc80a', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", hAsync("span", { key: '22b184045be0995831f3b34065d0e8d97cf90cdc', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
30564
30587
|
}
|
|
30565
30588
|
get el() { return getElement(this); }
|
|
30566
30589
|
static get style() { return RoadRadioStyle0; }
|
|
@@ -30654,7 +30677,7 @@ class RadioGroup {
|
|
|
30654
30677
|
render() {
|
|
30655
30678
|
const labelId = `${this.radioGroupId}-label`;
|
|
30656
30679
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30657
|
-
return (hAsync(Host, { key: '
|
|
30680
|
+
return (hAsync(Host, { key: '6c3948ad9428d3ae8aeb411a776419784831c714', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && hAsync("p", { key: '943199c6a4eda68c82245660e81ba04032a62209', class: "text-content", id: labelId }, this.label, " ", this.asterisk && hAsync("span", { key: '772ae18837d54d6aa313e3a8791bc715f66c183d', class: "asterisk" }, "*")), hAsync("slot", { key: '7f4a8c9ec3a201f695a6731467c138abf587e52f' }), this.error && this.error !== '' && hAsync("p", { key: '9149bc1981323584219a13a392e77c8313f7fd58', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: 'a662d0e810e27d6392750d778e13573ed365e358', class: "helper" }, this.helper)));
|
|
30658
30681
|
}
|
|
30659
30682
|
get el() { return getElement(this); }
|
|
30660
30683
|
static get watchers() { return {
|
|
@@ -30784,14 +30807,14 @@ class Range {
|
|
|
30784
30807
|
render() {
|
|
30785
30808
|
const value = this.getValue();
|
|
30786
30809
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
30787
|
-
return (hAsync(Host, { key: '
|
|
30810
|
+
return (hAsync(Host, { key: 'b2c9aa060ae841e99ba5751c128e8df1fa257277', tabindex: "0", class: { disabled: this.disabled } }, hAsync("div", { key: 'b7696f36afd6083f61b0498ff80b911743f6713e', class: "form-group d-flex align-items-end" }, this.showTick && (hAsync("road-icon", { key: '9c09977ad8ea7b60380cd0b245b2b78df75a851e', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), hAsync("div", { key: 'dbcf378a5ce259394cc0ed12f6437100292aa015', class: "form-range", style: {
|
|
30788
30811
|
"--min": this.min,
|
|
30789
30812
|
"--max": this.max,
|
|
30790
30813
|
"--value": value,
|
|
30791
30814
|
"--background-color": this.disabled
|
|
30792
30815
|
? "var(--road-surface-disabled)"
|
|
30793
30816
|
: "initial",
|
|
30794
|
-
} }, this.showValue && hAsync("output", { key: '
|
|
30817
|
+
} }, this.showValue && hAsync("output", { key: '11fbbec081e1ae2b86a5ad5d387b91f26104d6e8' }), this.showLabels && hAsync("slot", { key: '1dd932c4e17968e794370c5468e13fed1b84df25', name: "datalist" }), hAsync("input", { key: 'afe1c2ef6f8006e2c0dcbd3cbe14103393a57a4a', 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: '6f2bca3f10bdc5dcadf6756bfe953afffe4bf2c7', class: "form-range-label" }, "Valeur"), hAsync("div", { key: '065f974aa51980322402a0c3d0c168a96c076ecf', class: "form-range-progress" })), this.showTick && (hAsync("road-icon", { key: '283d46c77a585064840ee91a861fbd2c0bdaa5aa', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
30795
30818
|
}
|
|
30796
30819
|
get el() { return getElement(this); }
|
|
30797
30820
|
static get watchers() { return {
|
|
@@ -30860,7 +30883,7 @@ class Rating {
|
|
|
30860
30883
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
30861
30884
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
30862
30885
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
30863
|
-
return (hAsync(Host, { key: '
|
|
30886
|
+
return (hAsync(Host, { key: 'd81a376cdf8e7a268335c62cadff3a3a5945c334' }, hAsync("div", { key: 'c7f9a63a11399a60d3daa6e3f8f11b8b4f640e96', 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: '5b1a38a0f8fdabe757a79f7b5000481d03d8225e', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && hAsync("road-label", { key: '337a9e94914d57278d8d15c8889b258bff8ea751', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
30864
30887
|
}
|
|
30865
30888
|
static get style() { return RoadRatingStyle0; }
|
|
30866
30889
|
static get cmpMeta() { return {
|
|
@@ -30979,7 +31002,7 @@ class RoadAreaCode {
|
|
|
30979
31002
|
const labelId = this.selectId + '-label';
|
|
30980
31003
|
const valueId = this.selectId + '-value';
|
|
30981
31004
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
30982
|
-
return (hAsync(Host, { key: '
|
|
31005
|
+
return (hAsync(Host, { key: '5284737f6b5095e033ea92a070f097c5f484228c', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '4dc67cb4f98cedadf7e9e37ac9ec21e7626e549e', 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: '91861b51dc10637ecf2a224209bd0b189fa50430', class: "form-select-area-label", id: labelId, htmlFor: this.selectId }, this.label), hAsync("label", { key: '426fa27d96b289f7197e533fc350e0fcfe6e6522', class: "form-select-area-value", id: valueId, htmlFor: this.selectId }, "+", this.selectedValue), this.error && this.error !== '' && hAsync("p", { key: 'c3d0eda1463b66ce02d6ae126454b27696283fbe', class: "invalid-feedback" }, this.error)));
|
|
30983
31006
|
}
|
|
30984
31007
|
static get watchers() { return {
|
|
30985
31008
|
"value": ["valueChanged"]
|
|
@@ -32204,7 +32227,10 @@ i18n.phonenumbers.AsYouTypeFormatter.prototype.inputDigitHelper_=function(a){var
|
|
|
32204
32227
|
});
|
|
32205
32228
|
}(libphonenumber));
|
|
32206
32229
|
|
|
32207
|
-
|
|
32230
|
+
// list of forbidden characters
|
|
32231
|
+
const forbiddenChars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '=', '[', ']', '{', '}', '|', ';', ':', "'", '"', ',', '.', '<', '>', '/', '?'];
|
|
32232
|
+
|
|
32233
|
+
const phoneNumberInputCss = ".is-invalid.sc-road-phone-number-input .phone-number-input-field.sc-road-input.sc-road-phone-number-input{border-color:var(--road-danger-outline)}.road-phone-input-select.sc-road-phone-number-input{position:relative;display:block;font-family:var(--road-font, sans-serif);color:var(--road-on-surface);background-color:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;border-top-right-radius:0;border-bottom-right-radius:0;box-shadow:none;appearance:none;width:5rem;height:3.5rem}.sc-road-phone-number-input-h .is-error.sc-road-phone-number-input{border-color:var(--road-danger-outline)}.form-select-area.sc-road-phone-number-input{box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.75rem 3rem 0 2rem;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 -5px center/2.5rem 2rem;position:absolute;top:0;left:0;height:100%;width:95%;z-index:1;border:0;appearance:none;opacity:1;cursor:pointer}.form-select-area.sc-road-phone-number-input:-moz-focusring{color:transparent;text-shadow:0 0 0 #000000}.form-select-area.sc-road-phone-number-input::-ms-expand{display:none}.form-select-area.sc-road-phone-number-input::placeholder{color:var(--road-on-surface-extra-weak)}@media (hover: hover){.form-select-area.sc-road-phone-number-input:not(:disabled):hover{border-color:var(--road-input-outline-variant)}}.form-select-area.sc-road-phone-number-input:focus~.form-select-area-label.sc-road-phone-number-input,.form-select-area[required].sc-road-phone-number-input:valid~.form-select-area-label.sc-road-phone-number-input,.form-select-area.has-value.sc-road-phone-number-input~.form-select-area-label.sc-road-phone-number-input{transform:scale(0.625) translateY(-0.625rem)}.form-select-area.sc-road-phone-number-input:not(:disabled):focus{border-color:var(--road-input-outline-variant)}.form-select-area.sc-road-phone-number-input:disabled,.form-select-area[readonly].sc-road-phone-number-input{color:transparent;cursor:not-allowed;background:var(--road-surface-disabled);opacity:1}.form-select-area-label.sc-road-phone-number-input{position:absolute;top:0.9rem;left:1rem;display:block;font-size:var(--road-font-size-18);line-height:1.5;color:var(--road-on-surface-extra-weak);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.form-select-area.sc-road-phone-number-input:required~.form-select-area-label.sc-road-phone-number-input::after{color:var(--road-on-danger-surface);content:\" *\"}.form-select-area-value.sc-road-phone-number-input{position:absolute;top:1.4rem;left:1rem;display:block;font-size:var(--road-label-medium);line-height:1.5;color:var(--road-on-surface);pointer-events:none;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transform-origin:0 0}.select-xl.sc-road-phone-number-input-h .form-select-area.sc-road-phone-number-input{height:3.5rem;padding:0.75rem 0 0 1rem}.input-xl.sc-road-phone-number-input{height:3.5rem;padding:0.75rem 0 0 1rem}.select-xl.sc-road-phone-number-input-h .form-select-area-label.sc-road-phone-number-input{top:1rem}.select-xl.sc-road-phone-number-input-h .form-select-area.sc-road-phone-number-input:focus~.form-select-area-label.sc-road-phone-number-input,.select-xl.sc-road-phone-number-input-h .form-select-area[required].sc-road-phone-number-input:valid~.form-select-area-label.sc-road-phone-number-input,.select-xl.sc-road-phone-number-input-h .form-select-area.has-value.sc-road-phone-number-input~.form-select-area-label.sc-road-phone-number-input,.select-xl.sc-road-phone-number-input-h .form-select-area[type=\"date\"].sc-road-phone-number-input~.form-select-area-label.sc-road-phone-number-input,.select-xl.sc-road-phone-number-input-h .form-select-area[type=\"time\"].sc-road-phone-number-input~.form-select-area-label.sc-road-phone-number-input{transform:scale(0.75) translateY(-0.625rem)}.select-xl.sc-road-phone-number-input-h .form-select-area.sc-road-phone-number-input:placeholder-shown~.form-select-area-label.sc-road-phone-number-input{transform:scale(0.75) translateY(-0.625rem)}.invalid-feedback.sc-road-phone-number-input{gap:.25rem;display:flex;width:100%;margin:0.5rem 0;font-size:var(--road-body-small);color:var(--road-on-danger-surface)}.form-select-area.is-invalid.sc-road-phone-number-input,.was-validated.sc-road-phone-number-input .form-select-area.sc-road-phone-number-input:invalid{border-color:var(--road-on-danger-surface)}.form-select-area.is-invalid.sc-road-phone-number-input~.invalid-feedback.sc-road-phone-number-input,.was-validated.sc-road-phone-number-input .form-select-area.sc-road-phone-number-input:invalid~.invalid-feedback.sc-road-phone-number-input{display:block}.form-select-area.sc-road-phone-number-input option.sc-road-phone-number-input:checked::after{position:absolute;top:0;left:0;content:attr(data-content)}.form-select-area.sc-road-phone-number-input::after{position:absolute;top:0;left:0;content:var(--selected-content, '')}.phone-number-input-label.sc-road-phone-number-input{position:absolute;top:1rem;left:6rem;display:block;font-size:var(--road-body-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}.phone-number-input-field.sc-road-phone-number-input:required~.phone-number-input-label.sc-road-phone-number-input::after{color:var(--road-danger-default);content:\" *\"}.phone-number-input-field.sc-road-phone-number-input:focus~.phone-number-input-label.sc-road-phone-number-input,.phone-number-input-field[required].sc-road-phone-number-input:valid~.phone-number-input-label.sc-road-phone-number-input,.phone-number-input-field.has-value.sc-road-phone-number-input~.phone-number-input-label.sc-road-phone-number-input{transform:scale(0.625) translateY(-0.625rem)}.phone-number-input-field.sc-road-phone-number-input:placeholder-shown~.phone-number-input-label.sc-road-phone-number-input{transform:scale(0.625) translateY(-0.625rem)}.phone-number-input-field.sc-road-phone-number-input:-ms-input-placeholder~.phone-number-input-label.sc-road-phone-number-input{transform:scale(0.625) translateY(-0.625rem)}.phone-number-inputs-container.sc-road-phone-number-input{position:relative;display:flex}.road-phone-input-select.sc-road-phone-number-input{margin-bottom:1rem}.is-error.sc-road-phone-number-input{margin-bottom:0}.phone-number-input-field.sc-road-phone-number-input{flex-grow:1;border:1px solid var(--road-input-outline);border-left:0;border-radius:0.25rem;border-bottom-left-radius:0;border-top-left-radius:0}";
|
|
32208
32234
|
var RoadPhoneNumberInputStyle0 = phoneNumberInputCss;
|
|
32209
32235
|
|
|
32210
32236
|
let selectIds$1 = 0;
|
|
@@ -32235,12 +32261,8 @@ class RoadPhoneNumberInput {
|
|
|
32235
32261
|
phone: this.resetPhoneUtilData(),
|
|
32236
32262
|
};
|
|
32237
32263
|
}
|
|
32238
|
-
updateMessagePosition() {
|
|
32239
|
-
this.placeErrorMessage();
|
|
32240
|
-
}
|
|
32241
32264
|
// On component load
|
|
32242
32265
|
componentWillLoad() {
|
|
32243
|
-
this.placeErrorMessage();
|
|
32244
32266
|
let fromSelect = false;
|
|
32245
32267
|
if (this.phoneValue) {
|
|
32246
32268
|
this.phoneNumber = this.phoneValue;
|
|
@@ -32257,35 +32279,17 @@ class RoadPhoneNumberInput {
|
|
|
32257
32279
|
}
|
|
32258
32280
|
// On user input
|
|
32259
32281
|
handleInput(event) {
|
|
32260
|
-
|
|
32282
|
+
const input = event.target;
|
|
32283
|
+
this.phoneNumber = input.value;
|
|
32261
32284
|
this.createAndDispatchPhoneData();
|
|
32262
32285
|
}
|
|
32263
32286
|
// On user key down
|
|
32264
32287
|
handleKeyDown(event) {
|
|
32265
|
-
//
|
|
32266
|
-
|
|
32267
|
-
// Vérifier si la touche pressée est dans la liste des caractères interdits
|
|
32268
|
-
if (caracteresInterdits.includes(event.key)) {
|
|
32288
|
+
// checks if the forbidden characters's list contains the pressed key
|
|
32289
|
+
if (forbiddenChars.includes(event.key)) {
|
|
32269
32290
|
event.preventDefault();
|
|
32270
32291
|
}
|
|
32271
32292
|
}
|
|
32272
|
-
// On user key up
|
|
32273
|
-
handleKeyUp(event) {
|
|
32274
|
-
// Récupérer la valeur saisie
|
|
32275
|
-
const inputValue = event.target.value || '';
|
|
32276
|
-
// Vérifier si la valeur contient uniquement des chiffres ou le symbole "+"
|
|
32277
|
-
const containsOnlyNumbersAndPlus = /^[0-9+]*$/.test(inputValue);
|
|
32278
|
-
// Si la valeur ne contient pas uniquement des chiffres ou le symbole "+", réinitialiser le champ de saisie à son état précédent
|
|
32279
|
-
if (!containsOnlyNumbersAndPlus) {
|
|
32280
|
-
// Réinitialiser la valeur du champ de saisie à son état précédent
|
|
32281
|
-
event.target.value = this.phoneNumber;
|
|
32282
|
-
}
|
|
32283
|
-
else {
|
|
32284
|
-
// Si la valeur contient uniquement des chiffres ou le symbole "+", mettre à jour la valeur du numéro de téléphone
|
|
32285
|
-
this.phoneNumber = inputValue;
|
|
32286
|
-
this.createAndDispatchPhoneData();
|
|
32287
|
-
}
|
|
32288
|
-
}
|
|
32289
32293
|
// On user select
|
|
32290
32294
|
handleSelect(event) {
|
|
32291
32295
|
const select = event.target;
|
|
@@ -32297,6 +32301,7 @@ class RoadPhoneNumberInput {
|
|
|
32297
32301
|
this.updateCountryOptions();
|
|
32298
32302
|
}
|
|
32299
32303
|
createAndDispatchPhoneData(fromSelect) {
|
|
32304
|
+
var _a;
|
|
32300
32305
|
// Init phone util
|
|
32301
32306
|
const phoneUtil = libphonenumber.exports.PhoneNumberUtil.getInstance();
|
|
32302
32307
|
const PNF = libphonenumber.exports.PhoneNumberFormat;
|
|
@@ -32304,7 +32309,7 @@ class RoadPhoneNumberInput {
|
|
|
32304
32309
|
this.returnObject.phone = this.resetPhoneUtilData();
|
|
32305
32310
|
const tmpCountry = this.selectedCountry.length ? this.selectedCountry : this.countryData[0].countryCode;
|
|
32306
32311
|
try {
|
|
32307
|
-
const parsedPhoneNumber = phoneUtil.parse(this.phoneNumber, tmpCountry);
|
|
32312
|
+
const parsedPhoneNumber = phoneUtil.parse((_a = this.phoneNumber) !== null && _a !== void 0 ? _a : '', tmpCountry);
|
|
32308
32313
|
this.returnObject.isError = !phoneUtil.isValidNumber(parsedPhoneNumber) && !this.isEmptyPhoneNumber();
|
|
32309
32314
|
this.returnObject.phone.nationalNumber = phoneUtil.format(parsedPhoneNumber, PNF.NATIONAL);
|
|
32310
32315
|
this.returnObject.phone.internationalNumber = phoneUtil.format(parsedPhoneNumber, PNF.INTERNATIONAL);
|
|
@@ -32326,7 +32331,7 @@ class RoadPhoneNumberInput {
|
|
|
32326
32331
|
const phoneType = Object.entries(libphonenumber.exports.PhoneNumberType).find(entry => entry[1] === phoneUtil.getNumberType(parsedPhoneNumber));
|
|
32327
32332
|
this.returnObject.phone.numberType = phoneType[0];
|
|
32328
32333
|
}
|
|
32329
|
-
catch (
|
|
32334
|
+
catch (_b) { }
|
|
32330
32335
|
finally {
|
|
32331
32336
|
this.roadPhoneNumberInput.emit(this.returnObject);
|
|
32332
32337
|
}
|
|
@@ -32339,16 +32344,18 @@ class RoadPhoneNumberInput {
|
|
|
32339
32344
|
this.selectedCountry = value;
|
|
32340
32345
|
}
|
|
32341
32346
|
resetPhoneUtilData() {
|
|
32347
|
+
var _a, _b;
|
|
32342
32348
|
return {
|
|
32343
32349
|
numberType: 'UNKNOWN',
|
|
32344
32350
|
countryCode: this.selectedCountry,
|
|
32345
32351
|
code: this.selectedCountryCode,
|
|
32346
|
-
nationalNumber: this.phoneNumber,
|
|
32347
|
-
internationalNumber: this.phoneNumber,
|
|
32352
|
+
nationalNumber: (_a = this.phoneNumber) !== null && _a !== void 0 ? _a : '',
|
|
32353
|
+
internationalNumber: (_b = this.phoneNumber) !== null && _b !== void 0 ? _b : '',
|
|
32348
32354
|
};
|
|
32349
32355
|
}
|
|
32350
32356
|
isEmptyPhoneNumber() {
|
|
32351
|
-
|
|
32357
|
+
var _a;
|
|
32358
|
+
return !((_a = this.phoneNumber) === null || _a === void 0 ? void 0 : _a.length);
|
|
32352
32359
|
}
|
|
32353
32360
|
getPhoneCodeFromCountryCode(countryCode) {
|
|
32354
32361
|
var _a;
|
|
@@ -32373,43 +32380,24 @@ class RoadPhoneNumberInput {
|
|
|
32373
32380
|
},
|
|
32374
32381
|
];
|
|
32375
32382
|
}
|
|
32376
|
-
|
|
32377
|
-
this.
|
|
32378
|
-
messError.style.display = "flex";
|
|
32379
|
-
messError.style.marginTop = "-0.5rem";
|
|
32380
|
-
const phoneNumberInput = this.el;
|
|
32381
|
-
phoneNumberInput.appendChild(messError);
|
|
32382
|
-
});
|
|
32383
|
-
}
|
|
32384
|
-
waitForElementToExist(selector) {
|
|
32385
|
-
return new Promise(resolve => {
|
|
32386
|
-
if (document.querySelector(selector)) {
|
|
32387
|
-
return resolve(document.querySelector(selector));
|
|
32388
|
-
}
|
|
32389
|
-
const observer = new MutationObserver(() => {
|
|
32390
|
-
if (document.querySelector(selector)) {
|
|
32391
|
-
resolve(document.querySelector(selector));
|
|
32392
|
-
observer.disconnect();
|
|
32393
|
-
}
|
|
32394
|
-
});
|
|
32395
|
-
observer.observe(document.body, {
|
|
32396
|
-
subtree: true,
|
|
32397
|
-
childList: true,
|
|
32398
|
-
});
|
|
32399
|
-
});
|
|
32383
|
+
hasValue() {
|
|
32384
|
+
return this.phoneNumber !== '' && this.phoneNumber !== null;
|
|
32400
32385
|
}
|
|
32401
32386
|
render() {
|
|
32402
|
-
const
|
|
32387
|
+
const id = selectIds$1++;
|
|
32388
|
+
const selectId = `road-phone-number-select-${id}`;
|
|
32389
|
+
const inputId = `road-phone-number-input-${id}`;
|
|
32403
32390
|
const labelId = selectId + '-label';
|
|
32404
32391
|
const valueId = selectId + '-value';
|
|
32405
32392
|
const isInvalidClass = this.errorMessage.length ? 'is-invalid' : '';
|
|
32406
32393
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
32407
|
-
|
|
32394
|
+
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
32395
|
+
const sizes = 'xl';
|
|
32396
|
+
return (hAsync(Host, { key: '9f90460c652db496fc88dd4b8e611bdf348e3f5a' }, hAsync("div", { key: '03fceb8966c9622782a0341a2f0a01511cfe7006', class: 'phone-number-inputs-container' }, hAsync("div", { key: '4a889f1e223cf354a262fd68d948c05dc265a14b', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, hAsync("select", { key: 'cc520dea43d2b64645f9cbf67c768efce7790079', 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: '6769d2bda09b72449a566ece542ebf7edc5a0e40', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), hAsync("label", { key: '513bfd2c0eab6609d74eb7b9ebc14a212be4cc9d', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), hAsync("input", { key: 'db609e065a32f7014c6d32dec4aae86b2b607e77', 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), onKeyDown: (event) => this.handleKeyDown(event) }), hAsync("label", { key: 'cac7f2ae8afa700db8871bc4d2b35f49822ca179', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
32397
|
+
&& this.errorMessage !== ''
|
|
32398
|
+
&& hAsync("p", { key: 'cb521ea80ae33ce0743a64270d47234cc0bdf114', class: "invalid-feedback" }, hAsync("road-icon", { key: '1dcf2587dabc46402d1c16bbf75604aedfc4d54d', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
32408
32399
|
}
|
|
32409
32400
|
get el() { return getElement(this); }
|
|
32410
|
-
static get watchers() { return {
|
|
32411
|
-
"errorMessage": ["updateMessagePosition"]
|
|
32412
|
-
}; }
|
|
32413
32401
|
static get style() { return RoadPhoneNumberInputStyle0; }
|
|
32414
32402
|
static get cmpMeta() { return {
|
|
32415
32403
|
"$flags$": 2,
|
|
@@ -32447,7 +32435,7 @@ class Row {
|
|
|
32447
32435
|
registerInstance(this, hostRef);
|
|
32448
32436
|
}
|
|
32449
32437
|
render() {
|
|
32450
|
-
return (hAsync(Host, { key: '
|
|
32438
|
+
return (hAsync(Host, { key: '891c70924e7955aa953e3e233cd57dd6aff4068a' }, hAsync("slot", { key: 'acb726260f4492a126b9aa1f51d89b329bf6a09c' })));
|
|
32451
32439
|
}
|
|
32452
32440
|
static get style() { return RoadRowStyle0; }
|
|
32453
32441
|
static get cmpMeta() { return {
|
|
@@ -32519,10 +32507,10 @@ class SegmentedButton {
|
|
|
32519
32507
|
render() {
|
|
32520
32508
|
const { tabIndex, selected, tab } = this;
|
|
32521
32509
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
32522
|
-
return (hAsync(Host, { key: '
|
|
32510
|
+
return (hAsync(Host, { key: 'c94bfffcbff45b20dc349a3545bd195a95d68273', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
32523
32511
|
'tab-selected': selected,
|
|
32524
32512
|
[`${sizeClass}`]: true,
|
|
32525
|
-
} }, hAsync("span", { key: '
|
|
32513
|
+
} }, hAsync("span", { key: '87ee95ccb7c44cfe7bff797d1b693f1ae4cf0ad7', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, hAsync("slot", { key: 'a6fd94b01bba4f71b3689f62a736050e7132add0' }))));
|
|
32526
32514
|
}
|
|
32527
32515
|
get el() { return getElement(this); }
|
|
32528
32516
|
static get style() { return RoadSegmentedButtonStyle0; }
|
|
@@ -32643,7 +32631,7 @@ class Select {
|
|
|
32643
32631
|
const labelId = this.selectId + '-label';
|
|
32644
32632
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
32645
32633
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
32646
|
-
return (hAsync(Host, { key: '
|
|
32634
|
+
return (hAsync(Host, { key: '81206f7f9840b7700814260f6a7b8cf78fd7e536', class: this.sizes && `select-${this.sizes}` }, hAsync("select", { key: '8118f6d0f6c2d59be3d0c873398c195a8525c0cc', 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: '4e87320134e62248e7c9e805761226f5403472a9', 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: '32191859474bee5f86d21ad9f81d01bc088d07cd', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '47ecadf397bc303ca9347fc2c426dd4a3f608057', class: "invalid-feedback" }, this.error)));
|
|
32647
32635
|
}
|
|
32648
32636
|
static get watchers() { return {
|
|
32649
32637
|
"value": ["valueChanged"]
|
|
@@ -34564,8 +34552,8 @@ class SelectFilter {
|
|
|
34564
34552
|
const options = this.filteredOptions;
|
|
34565
34553
|
const isActive = this.isActive ? 'true' : 'false';
|
|
34566
34554
|
const notActive = this.isActive ? '' : 'not-active';
|
|
34567
|
-
return (hAsync(Host, { key: '
|
|
34568
|
-
hAsync("ul", { key: '
|
|
34555
|
+
return (hAsync(Host, { key: '4443cee3d13ade9d17d364aa112f7d13ac9a27d1', "is-active": isActive }, hAsync("slot", { key: 'ed15841a9e665154f9988f76e8ac56c1788fd750' }), this.isOpen &&
|
|
34556
|
+
hAsync("ul", { key: '4ab28fd0fb00759e86e30fe14ded0de207dfde7c', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (hAsync("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: () => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 }))))));
|
|
34569
34557
|
}
|
|
34570
34558
|
get el() { return getElement(this); }
|
|
34571
34559
|
static get style() { return RoadSelectFilterStyle0; }
|
|
@@ -34595,7 +34583,7 @@ class Skeleton {
|
|
|
34595
34583
|
registerInstance(this, hostRef);
|
|
34596
34584
|
}
|
|
34597
34585
|
render() {
|
|
34598
|
-
return (hAsync("span", { key: '
|
|
34586
|
+
return (hAsync("span", { key: '76fc5d6e478e6486b0f4f3e5e3afd7e1a8c0049f' }, "\u00A0"));
|
|
34599
34587
|
}
|
|
34600
34588
|
static get style() { return RoadSkeletonStyle0; }
|
|
34601
34589
|
static get cmpMeta() { return {
|
|
@@ -34626,7 +34614,7 @@ class Spinner {
|
|
|
34626
34614
|
render() {
|
|
34627
34615
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
34628
34616
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
34629
|
-
return (hAsync("svg", { key: '
|
|
34617
|
+
return (hAsync("svg", { key: '66ff9c668eec8fc73a2f93015094934b9fb0b181', class: `${sizeClass}`, viewBox: "25 25 50 50" }, hAsync("circle", { key: '5b2c9b4c104607084c0d2249c5b7dc31429ad39a', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
34630
34618
|
}
|
|
34631
34619
|
static get style() { return RoadSpinnerStyle0; }
|
|
34632
34620
|
static get cmpMeta() { return {
|
|
@@ -34676,7 +34664,7 @@ class Stepper {
|
|
|
34676
34664
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
34677
34665
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
34678
34666
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
34679
|
-
return (hAsync(Host, { key: '
|
|
34667
|
+
return (hAsync(Host, { key: '92b255c26f67f4aad1051adc570b4838064b050b' }, hAsync("nav", { key: '44f9ff6889874b55dc5078d1571cde655afc3a6b' }, hAsync("ul", { key: 'e6b0e5e75db170bd8bf6412ed1d6bb5f228eda4b', class: `${colorClass}` }, hAsync("li", { key: 'f48231734646f68f91bc256cd935a13dfe5277cf', class: `${stateClass}` }, hAsync("a", { key: '8ca3bebb5e710c5a3fbbada6ef1f6f0ad6518956', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, hAsync("span", { key: '752b27e04ab6799c19912a193a89e8084dc82ff9', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: '3c25ed41f39a011e61aafec0ca65917b72dbe967', name: "progress-indicator-horizontal-icon" })), hAsync("span", { key: '2bf09fe120b2ae4c4074a5357f5133bc22120e2c', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '752e16d8c3895c2ee91a222c7789431ad27e34dd', name: "progress-indicator-horizontal-title" })))), hAsync("li", { key: '09bcfc2711dc68b5b233b0306fa7d3d2b8e753c3', class: `${stateSecondStepClass}` }, hAsync("a", { key: '9b5c9c60abecfed752c0332696c3c509ef4d5074', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, hAsync("span", { key: '1e3c3113967379a97597c13044493ff3693d1b4e', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'fe8312cd31ca099c690379f500f20466a3f76555', name: "progress-indicator-horizontal-icon2" })), hAsync("span", { key: '885e16b9917fbbcc0df05c2960083cb679902d2d', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '0b6709b4b8390f58854d2a37528fe1b98a0b4481', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && hAsync("li", { key: 'fa106837abe66d6ee557f800916b39df8efac9a7', class: `${stateThirdStepClass}` }, hAsync("a", { key: '9607d28f066e4b22778f66d0b5657611af3b15ed', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, hAsync("span", { key: 'ce19ae6a6b774c0d5cb8c7b91af8d03ee88400a4', class: "progress-indicator-horizontal-icon" }, hAsync("slot", { key: 'e0a52ce61b043af9137340a5651a120f1a8ff0dd', name: "progress-indicator-horizontal-icon3" })), hAsync("span", { key: '1c8870afc7dc2630fb58c4c2f17d4f4f9109dea6', class: "progress-indicator-horizontal-title" }, hAsync("slot", { key: '91fb0f5283ddbe5c62c2292579df9045b4c543f7', name: "progress-indicator-horizontal-title3" }))))))));
|
|
34680
34668
|
}
|
|
34681
34669
|
static get style() { return RoadProgressIndicatorHorizontalStyle0; }
|
|
34682
34670
|
static get cmpMeta() { return {
|
|
@@ -34778,11 +34766,11 @@ class Switch {
|
|
|
34778
34766
|
}
|
|
34779
34767
|
render() {
|
|
34780
34768
|
const labelId = this.switchId + '-label';
|
|
34781
|
-
const textLabel = hAsync("label", { key: '
|
|
34769
|
+
const textLabel = hAsync("label", { key: 'f8a8b7641286294d251bc6d10b45fc97607cba49', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
34782
34770
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
34783
34771
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
34784
34772
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
34785
|
-
return (hAsync(Host, { key: '
|
|
34773
|
+
return (hAsync(Host, { key: '9c43f0996fdcd4962776919b92b94eb7fbb9ad57' }, hAsync("input", { key: '756db832dbd73ec0c59ed9ec2ae76b1851a8f22d', 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: '927bdd4ef11db9a6039ffd028994caa4667519fe', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '0f3011ab70a432f99319331bb0e2009fa11e50ce', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
34786
34774
|
}
|
|
34787
34775
|
static get watchers() { return {
|
|
34788
34776
|
"checked": ["checkedChanged"]
|
|
@@ -34837,9 +34825,9 @@ class Tab {
|
|
|
34837
34825
|
}
|
|
34838
34826
|
render() {
|
|
34839
34827
|
const { tab, active } = this;
|
|
34840
|
-
return (hAsync(Host, { key: '
|
|
34828
|
+
return (hAsync(Host, { key: '24b66a77921452273dbf57f3f44ac3cffbaecf8f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34841
34829
|
'tab-hidden': !active,
|
|
34842
|
-
} }, hAsync("slot", { key: '
|
|
34830
|
+
} }, hAsync("slot", { key: '63f0d57bf74b8d562fecfbc881f8199d68080e89' })));
|
|
34843
34831
|
}
|
|
34844
34832
|
get el() { return getElement(this); }
|
|
34845
34833
|
static get style() { return RoadTabStyle0; }
|
|
@@ -34899,11 +34887,11 @@ class TabBar {
|
|
|
34899
34887
|
}
|
|
34900
34888
|
render() {
|
|
34901
34889
|
const { expand, center, secondary } = this;
|
|
34902
|
-
return (hAsync(Host, { key: '
|
|
34890
|
+
return (hAsync(Host, { key: '7c2795d50362e570f6a3371fde1e987bfc6389fd', role: "tablist", class: {
|
|
34903
34891
|
'tab-expand': expand,
|
|
34904
34892
|
'tab-center': center,
|
|
34905
34893
|
'tab-secondary': secondary,
|
|
34906
|
-
} }, hAsync("slot", { key: '
|
|
34894
|
+
} }, hAsync("slot", { key: '94d18f97a0e96a8e8cef400b4b08feef32210782' })));
|
|
34907
34895
|
}
|
|
34908
34896
|
get el() { return getElement(this); }
|
|
34909
34897
|
static get watchers() { return {
|
|
@@ -35003,7 +34991,7 @@ class TabButton {
|
|
|
35003
34991
|
rel,
|
|
35004
34992
|
target,
|
|
35005
34993
|
};
|
|
35006
|
-
return (hAsync(Host, { key: '
|
|
34994
|
+
return (hAsync(Host, { key: '1bf7c7301f66cecd4bfbf5cb332fb443dbd17a73', 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: {
|
|
35007
34995
|
'tab-selected': selected,
|
|
35008
34996
|
'tab-has-label': hasLabel,
|
|
35009
34997
|
'tab-has-icon': hasIcon,
|
|
@@ -35011,7 +34999,7 @@ class TabButton {
|
|
|
35011
34999
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
35012
35000
|
[`tab-layout-${layout}`]: true,
|
|
35013
35001
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
35014
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35002
|
+
} }, hAsync("a", Object.assign({ key: 'c15a1634befc28787a96baa630bcb65bfac9dcc7' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), hAsync("span", { key: '8f1f273aea98fd8680b5787223f8fe730055d9c3', class: "button-inner" }, hAsync("slot", { key: '24f7dceead533f266dcdd4cb80f792b2ae85db2c' })))));
|
|
35015
35003
|
}
|
|
35016
35004
|
get el() { return getElement(this); }
|
|
35017
35005
|
static get style() { return RoadTabButtonStyle0; }
|
|
@@ -35045,7 +35033,7 @@ class Table {
|
|
|
35045
35033
|
registerInstance(this, hostRef);
|
|
35046
35034
|
}
|
|
35047
35035
|
render() {
|
|
35048
|
-
return (hAsync("slot", { key: '
|
|
35036
|
+
return (hAsync("slot", { key: '1255550161fc3591df1269296d7dbd2bd2dc86b6' }));
|
|
35049
35037
|
}
|
|
35050
35038
|
static get style() { return RoadTableStyle0; }
|
|
35051
35039
|
static get cmpMeta() { return {
|
|
@@ -35153,7 +35141,7 @@ class Tabs$1 {
|
|
|
35153
35141
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35154
35142
|
}
|
|
35155
35143
|
render() {
|
|
35156
|
-
return (hAsync(Host, { key: '
|
|
35144
|
+
return (hAsync(Host, { key: '8e28299a9d4821c74d9e62b25b6b8ad72fac01da', onRoadSegmentedButtonClick: this.onTabClicked }, hAsync("slot", { key: '2e154363be587d35480818a016f9bc8973709724', name: "top" }), hAsync("slot", { key: '77044401892a3a9245eb9029178d82df516c7252' })));
|
|
35157
35145
|
}
|
|
35158
35146
|
get el() { return getElement(this); }
|
|
35159
35147
|
static get style() { return RoadSegmentedButtonsStyle0; }
|
|
@@ -35289,7 +35277,7 @@ class Tabs {
|
|
|
35289
35277
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
35290
35278
|
}
|
|
35291
35279
|
render() {
|
|
35292
|
-
return (hAsync(Host, { key: '
|
|
35280
|
+
return (hAsync(Host, { key: 'bc3d78f5653f637d9b0c23a732cfb715a0490e09', onRoadTabButtonClick: this.onTabClicked }, hAsync("slot", { key: 'be1082d53eb88ff1e0aa1222dbea8a5bcc65c77a', name: "top" }), hAsync("div", { key: '4e29d83d3f1473b27b720a049c7201f632fbe11b', class: "tabs-inner" }, hAsync("slot", { key: 'd9ed82d2d6cb976d65c9349e286190033f859ebd' }))));
|
|
35293
35281
|
}
|
|
35294
35282
|
get el() { return getElement(this); }
|
|
35295
35283
|
static get style() { return RoadTabsStyle0; }
|
|
@@ -35337,7 +35325,7 @@ class Tag {
|
|
|
35337
35325
|
}
|
|
35338
35326
|
render() {
|
|
35339
35327
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
35340
|
-
return (hAsync(Host, { key: '
|
|
35328
|
+
return (hAsync(Host, { key: '474f7b6662f78c0258d4573377bca6c8cda09bbb', class: `${contrastClass}` }, hAsync("slot", { key: 'f58667d0bd8ffc1839df5b0c1572447d8445d4ae' })));
|
|
35341
35329
|
}
|
|
35342
35330
|
static get style() { return RoadTagStyle0; }
|
|
35343
35331
|
static get cmpMeta() { return {
|
|
@@ -35369,7 +35357,7 @@ class Text {
|
|
|
35369
35357
|
}
|
|
35370
35358
|
render() {
|
|
35371
35359
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
35372
|
-
return (hAsync(Host, { key: '
|
|
35360
|
+
return (hAsync(Host, { key: 'bb23b71b76a33ff446f23c24ba4f53f41bf2445f', class: `${colorClass}` }, hAsync("slot", { key: 'd1a14d98cae107a96314bbaea01687183cf60447' })));
|
|
35373
35361
|
}
|
|
35374
35362
|
static get style() { return RoadTextStyle0; }
|
|
35375
35363
|
static get cmpMeta() { return {
|
|
@@ -35479,7 +35467,7 @@ class Textarea {
|
|
|
35479
35467
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
35480
35468
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
35481
35469
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
35482
|
-
return (hAsync(Host, { key: '
|
|
35470
|
+
return (hAsync(Host, { key: '8f1bce355f73fef1b81fb71025b23aa9734106a2', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, hAsync("textarea", { key: 'eefe6f4bcb3723e01c5b5a7b30b52eddd947de54', 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: '8a2dd19323c6bb8b889b35328081d75d143a36e9', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && hAsync("p", { key: '514875f36258918863ec6320c870fe4454d3ece2', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && hAsync("p", { key: '586ba5819e534bc379788b45b6160e8880cff3a0', class: "helper" }, this.helper)));
|
|
35483
35471
|
}
|
|
35484
35472
|
static get watchers() { return {
|
|
35485
35473
|
"value": ["valueChanged"]
|
|
@@ -35610,7 +35598,7 @@ class Toast {
|
|
|
35610
35598
|
if (this.color == 'danger') {
|
|
35611
35599
|
this.timeout = 0;
|
|
35612
35600
|
}
|
|
35613
|
-
return (hAsync(Host, { key: '
|
|
35601
|
+
return (hAsync(Host, { key: '1e5de437f471e4a0a4c4a328b41c39e2f84aeb87', class: `${toastIsOpenClass}`, role: "alert" }, hAsync("div", { key: '1086cd53128b3312632be7e791fdb83c2b44a931', class: `toast toast-${this.color}` }, hAsync("road-icon", { key: '053ac170976e5266f80b584943ef9fe6c440d290', class: "toast-icon", icon: icon, "aria-hidden": "true" }), hAsync("p", { key: 'edcbf5c89984660d5c8eb82a329d22ea941e6fdc', class: "toast-label" }, this.label), hAsync("button", { key: '7ca0f0ee6c0166be548ff66423772dd8f74b0ecb', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, hAsync("road-icon", { key: 'd11b87da89cf1057349214b04468e387484db3da', icon: navigationClose, size: "md" })), hAsync("slot", { key: 'd4db3d4c547ea47bd1aab1a462b8975d8b4368d6', name: "progress" }))));
|
|
35614
35602
|
}
|
|
35615
35603
|
static get watchers() { return {
|
|
35616
35604
|
"isOpen": ["isOpenChanged"]
|
|
@@ -35650,7 +35638,7 @@ class Toolbar {
|
|
|
35650
35638
|
}
|
|
35651
35639
|
render() {
|
|
35652
35640
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
35653
|
-
return (hAsync(Host, { key: '
|
|
35641
|
+
return (hAsync(Host, { key: '3babdf893a7a89e310b620737ef852ee133ccebb', class: colorClass }, hAsync("div", { key: 'de9400a86c87d427d22b496cd6ceb31cb93ccf54', class: "toolbar-container" }, hAsync("slot", { key: '50559e69631b7581ad67338aea96acd42926b9ab', name: "start" }), hAsync("slot", { key: '40bcbd63fb2f83d7c8294154734c58c0650ee182', name: "primary" }), hAsync("div", { key: '4eec60ca600f33e3e0c6d9056c9913d8df7e62bd', class: "toolbar-content" }, hAsync("slot", { key: 'f1105dc9a8ac7ff4cfc7e8e166d8a0e13c1bee73' })), hAsync("slot", { key: 'ca6e18fc20fb0a636d54573ffb99074940e41bcc', name: "secondary" }), hAsync("slot", { key: 'c73721561d9d3d38c38a9dc453757b185bbd81a5', name: "end" }))));
|
|
35654
35642
|
}
|
|
35655
35643
|
static get style() { return RoadToolbarStyle0; }
|
|
35656
35644
|
static get cmpMeta() { return {
|
|
@@ -35676,7 +35664,7 @@ class ToolbarAppName {
|
|
|
35676
35664
|
registerInstance(this, hostRef);
|
|
35677
35665
|
}
|
|
35678
35666
|
render() {
|
|
35679
|
-
return (hAsync("div", { key: '
|
|
35667
|
+
return (hAsync("div", { key: 'dc61258415913c4112dd06bcc23a94db38fab00e', class: "toolbar-title-page" }, hAsync("slot", { key: 'f39c19ff690566100558556751e8380bb448eb72' })));
|
|
35680
35668
|
}
|
|
35681
35669
|
static get style() { return RoadToolbarTitlePageStyle0; }
|
|
35682
35670
|
static get cmpMeta() { return {
|
|
@@ -35700,7 +35688,7 @@ class ToolbarTitle {
|
|
|
35700
35688
|
registerInstance(this, hostRef);
|
|
35701
35689
|
}
|
|
35702
35690
|
render() {
|
|
35703
|
-
return (hAsync("div", { key: '
|
|
35691
|
+
return (hAsync("div", { key: '79254e204a533572207f3779ee0d20d814bbbecd', class: "toolbar-title" }, hAsync("slot", { key: '29cce3ccf19f113e99e1b2b4c84322efc0b94f94' })));
|
|
35704
35692
|
}
|
|
35705
35693
|
static get style() { return RoadToolbarTitleStyle0; }
|
|
35706
35694
|
static get cmpMeta() { return {
|
|
@@ -35729,7 +35717,7 @@ class ToolbarV2 {
|
|
|
35729
35717
|
registerInstance(this, hostRef);
|
|
35730
35718
|
}
|
|
35731
35719
|
render() {
|
|
35732
|
-
return (hAsync(Host, { key: '
|
|
35720
|
+
return (hAsync(Host, { key: 'a020bd723a459c6bb443645007df7b1f215ea851', class: "toolbar" }, hAsync("div", { key: '2d2cc4b896593cf69c7046ee877b5c9b7ba53eb5', class: "toolbar-container" }, hAsync("div", { key: '55c6f4b55cc7c5ddae5965a156bcfb6cafec1d49', class: "toolbar-container-content-left" }, hAsync("slot", { key: '6b249b32d73240846717ac50a8d1544511a2fe6d', name: "start" }), hAsync("slot", { key: '9187ad0c4fc712d3ad16af1f72db9bd7382d8e6e', name: "primary" })), hAsync("div", { key: 'f5936eb58c38d6cd5758d213f40e6bc09df3f7e8', class: "toolbar-content" }, hAsync("slot", { key: 'c61051186fb1f726fcc104d9f3a827e091b46ff3' })), hAsync("div", { key: '7ee04f220d5377315bc8c320461963def7a7d05f', class: "toolbar-container-content-right" }, hAsync("slot", { key: '196976ade22edf382dee91352082d31b5fce015f', name: "secondary" }), hAsync("slot", { key: 'ea25da8140c7525ce6ed3e712c64ccb105fcbb71', name: "end" })))));
|
|
35733
35721
|
}
|
|
35734
35722
|
static get style() { return RoadToolbarV2Style0; }
|
|
35735
35723
|
static get cmpMeta() { return {
|
|
@@ -35842,12 +35830,12 @@ class Tooltip {
|
|
|
35842
35830
|
return triggers.includes(triggerType);
|
|
35843
35831
|
}
|
|
35844
35832
|
render() {
|
|
35845
|
-
return (hAsync(Host, { key: '
|
|
35833
|
+
return (hAsync(Host, { key: 'a41350a6114e63e0d73759b29c0afa19d467ac4b', onMouseOver: this.onMouseOver, onMouseOut: this.onMouseOut, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur, tabindex: "0" // Makes the element focusable
|
|
35846
35834
|
,
|
|
35847
|
-
"data-tooltip-position": this.position }, hAsync("slot", { key: '
|
|
35835
|
+
"data-tooltip-position": this.position }, hAsync("slot", { key: 'e2985be0f2af606eb675875a1ef0e53190c54b50', "aria-describedby": this.tooltipId }), hAsync("div", { key: '45f8da72265c812ebbc781cafd7356f02294c2ae', part: "tooltip", id: this.tooltipId, class: {
|
|
35848
35836
|
tooltip: true,
|
|
35849
35837
|
'tooltip-open': this.isOpen,
|
|
35850
|
-
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: '
|
|
35838
|
+
}, role: "tooltip", "aria-hidden": !this.isOpen ? 'true' : 'false' }, this.content, hAsync("slot", { key: 'a3d80cc2d48e26c0a5c2f45e38854601c1f3ea83', name: "tooltip-content" }))));
|
|
35851
35839
|
}
|
|
35852
35840
|
get el() { return getElement(this); }
|
|
35853
35841
|
static get style() { return RoadTooltipStyle0; }
|
|
@@ -35947,11 +35935,11 @@ class toggle {
|
|
|
35947
35935
|
}
|
|
35948
35936
|
render() {
|
|
35949
35937
|
const labelId = this.toggleId + '-label';
|
|
35950
|
-
const textLabel = hAsync("label", { key: '
|
|
35938
|
+
const textLabel = hAsync("label", { key: 'd8f6f793ae322fc4f3c78d627858836a8ace0b1e', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
35951
35939
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
35952
35940
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
35953
35941
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
35954
|
-
return (hAsync(Host, { key: '
|
|
35942
|
+
return (hAsync(Host, { key: '5b975533cbd7705fb47773942d43ca00f9c67777' }, hAsync("input", { key: '2f02aaaf3815db82b246eccc65b95ff80028fef3', 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: '922fd52175937ca1749eac085776411c2f6b2517', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, hAsync("div", { key: '0b7e003b92aaa2bb7f02ac19bba110d959349d84', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
35955
35943
|
}
|
|
35956
35944
|
static get watchers() { return {
|
|
35957
35945
|
"checked": ["checkedChanged"]
|
|
@@ -36476,7 +36464,7 @@ var NAMESPACE = (
|
|
|
36476
36464
|
);
|
|
36477
36465
|
|
|
36478
36466
|
/*
|
|
36479
|
-
Stencil Hydrate Runner v4.27.
|
|
36467
|
+
Stencil Hydrate Runner v4.27.2 | MIT Licensed | https://stenciljs.com
|
|
36480
36468
|
*/
|
|
36481
36469
|
var __defProp = Object.defineProperty;
|
|
36482
36470
|
var __export = (target, all) => {
|
|
@@ -36822,19 +36810,19 @@ var MockCustomElementRegistry = class {
|
|
|
36822
36810
|
this.__whenDefined.delete(tagName);
|
|
36823
36811
|
}
|
|
36824
36812
|
}
|
|
36825
|
-
const
|
|
36826
|
-
if (
|
|
36827
|
-
const hosts =
|
|
36813
|
+
const doc = this.win.document;
|
|
36814
|
+
if (doc != null) {
|
|
36815
|
+
const hosts = doc.querySelectorAll(tagName);
|
|
36828
36816
|
hosts.forEach((host) => {
|
|
36829
36817
|
if (upgradedElements.has(host) === false) {
|
|
36830
|
-
tempDisableCallbacks.add(
|
|
36831
|
-
const upgradedCmp = createCustomElement(this,
|
|
36818
|
+
tempDisableCallbacks.add(doc);
|
|
36819
|
+
const upgradedCmp = createCustomElement(this, doc, tagName);
|
|
36832
36820
|
for (let i = 0; i < host.childNodes.length; i++) {
|
|
36833
36821
|
const childNode = host.childNodes[i];
|
|
36834
36822
|
childNode.remove();
|
|
36835
36823
|
upgradedCmp.appendChild(childNode);
|
|
36836
36824
|
}
|
|
36837
|
-
tempDisableCallbacks.delete(
|
|
36825
|
+
tempDisableCallbacks.delete(doc);
|
|
36838
36826
|
if (proxyElements.has(host)) {
|
|
36839
36827
|
proxyElements.set(host, upgradedCmp);
|
|
36840
36828
|
}
|
|
@@ -45278,11 +45266,11 @@ function parseFragment(fragmentContext, html, options) {
|
|
|
45278
45266
|
// src/mock-doc/parse-util.ts
|
|
45279
45267
|
var docParser = /* @__PURE__ */ new WeakMap();
|
|
45280
45268
|
function parseDocumentUtil(ownerDocument, html) {
|
|
45281
|
-
const
|
|
45282
|
-
|
|
45283
|
-
|
|
45284
|
-
|
|
45285
|
-
return
|
|
45269
|
+
const doc = parse(html.trim(), getParser(ownerDocument));
|
|
45270
|
+
doc.documentElement = doc.firstElementChild;
|
|
45271
|
+
doc.head = doc.documentElement.firstElementChild;
|
|
45272
|
+
doc.body = doc.head.nextElementSibling;
|
|
45273
|
+
return doc;
|
|
45286
45274
|
}
|
|
45287
45275
|
function parseFragmentUtil(ownerDocument, html) {
|
|
45288
45276
|
if (typeof html === "string") {
|
|
@@ -45300,9 +45288,9 @@ function getParser(ownerDocument) {
|
|
|
45300
45288
|
}
|
|
45301
45289
|
const treeAdapter = {
|
|
45302
45290
|
createDocument() {
|
|
45303
|
-
const
|
|
45304
|
-
|
|
45305
|
-
return
|
|
45291
|
+
const doc = ownerDocument.createElement("#document" /* DOCUMENT_NODE */);
|
|
45292
|
+
doc["x-mode"] = "no-quirks";
|
|
45293
|
+
return doc;
|
|
45306
45294
|
},
|
|
45307
45295
|
setNodeSourceCodeLocation(node, location2) {
|
|
45308
45296
|
node.sourceCodeLocation = location2;
|
|
@@ -45340,22 +45328,22 @@ function getParser(ownerDocument) {
|
|
|
45340
45328
|
getTemplateContent(templateElement) {
|
|
45341
45329
|
return templateElement.content;
|
|
45342
45330
|
},
|
|
45343
|
-
setDocumentType(
|
|
45344
|
-
let doctypeNode =
|
|
45331
|
+
setDocumentType(doc, name, publicId, systemId) {
|
|
45332
|
+
let doctypeNode = doc.childNodes.find((n) => n.nodeType === 10 /* DOCUMENT_TYPE_NODE */);
|
|
45345
45333
|
if (doctypeNode == null) {
|
|
45346
45334
|
doctypeNode = ownerDocument.createDocumentTypeNode();
|
|
45347
|
-
|
|
45335
|
+
doc.insertBefore(doctypeNode, doc.firstChild);
|
|
45348
45336
|
}
|
|
45349
45337
|
doctypeNode.nodeValue = "!DOCTYPE";
|
|
45350
45338
|
doctypeNode["x-name"] = name;
|
|
45351
45339
|
doctypeNode["x-publicId"] = publicId;
|
|
45352
45340
|
doctypeNode["x-systemId"] = systemId;
|
|
45353
45341
|
},
|
|
45354
|
-
setDocumentMode(
|
|
45355
|
-
|
|
45342
|
+
setDocumentMode(doc, mode) {
|
|
45343
|
+
doc["x-mode"] = mode;
|
|
45356
45344
|
},
|
|
45357
|
-
getDocumentMode(
|
|
45358
|
-
return
|
|
45345
|
+
getDocumentMode(doc) {
|
|
45346
|
+
return doc["x-mode"];
|
|
45359
45347
|
},
|
|
45360
45348
|
detachNode(node) {
|
|
45361
45349
|
node.remove();
|
|
@@ -45531,9 +45519,9 @@ var jquery_default = (
|
|
|
45531
45519
|
nonce: true,
|
|
45532
45520
|
noModule: true
|
|
45533
45521
|
};
|
|
45534
|
-
function DOMEval(code, node,
|
|
45535
|
-
|
|
45536
|
-
var i2, script =
|
|
45522
|
+
function DOMEval(code, node, doc) {
|
|
45523
|
+
doc = doc || document2;
|
|
45524
|
+
var i2, script = doc.createElement("script");
|
|
45537
45525
|
script.text = code;
|
|
45538
45526
|
if (node) {
|
|
45539
45527
|
for (i2 in preservedScriptAttributes) {
|
|
@@ -45542,7 +45530,7 @@ var jquery_default = (
|
|
|
45542
45530
|
}
|
|
45543
45531
|
}
|
|
45544
45532
|
}
|
|
45545
|
-
|
|
45533
|
+
doc.head.appendChild(script).parentNode.removeChild(script);
|
|
45546
45534
|
}
|
|
45547
45535
|
const jQuery = {};
|
|
45548
45536
|
var version = "4.0.0-pre+9352011a7.dirty +selector", rhtmlSuffix = /HTML$/i, jQueryOrig = function(selector, context) {
|
|
@@ -45679,8 +45667,8 @@ var jquery_default = (
|
|
|
45679
45667
|
},
|
|
45680
45668
|
// Evaluates a script in a provided context; falls back to the global one
|
|
45681
45669
|
// if not specified.
|
|
45682
|
-
globalEval: function(code, options,
|
|
45683
|
-
DOMEval(code, { nonce: options && options.nonce },
|
|
45670
|
+
globalEval: function(code, options, doc) {
|
|
45671
|
+
DOMEval(code, { nonce: options && options.nonce }, doc);
|
|
45684
45672
|
},
|
|
45685
45673
|
each: function(obj, callback) {
|
|
45686
45674
|
var length, i2 = 0;
|
|
@@ -46169,11 +46157,11 @@ var jquery_default = (
|
|
|
46169
46157
|
});
|
|
46170
46158
|
}
|
|
46171
46159
|
function setDocument(node) {
|
|
46172
|
-
var subWindow,
|
|
46173
|
-
if (
|
|
46160
|
+
var subWindow, doc = node ? node.ownerDocument || node : document2;
|
|
46161
|
+
if (doc == document$1 || doc.nodeType !== 9) {
|
|
46174
46162
|
return;
|
|
46175
46163
|
}
|
|
46176
|
-
document$1 =
|
|
46164
|
+
document$1 = doc;
|
|
46177
46165
|
documentElement$1 = document$1.documentElement;
|
|
46178
46166
|
documentIsHTML = !jQuery.isXMLDoc(document$1);
|
|
46179
46167
|
if (isIE && document2 != document$1 && (subWindow = document$1.defaultView) && subWindow.top !== subWindow) {
|
|
@@ -50518,10 +50506,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
50518
50506
|
}
|
|
50519
50507
|
createElement(tagName) {
|
|
50520
50508
|
if (tagName === "#document" /* DOCUMENT_NODE */) {
|
|
50521
|
-
const
|
|
50522
|
-
|
|
50523
|
-
|
|
50524
|
-
return
|
|
50509
|
+
const doc = new _MockDocument(false);
|
|
50510
|
+
doc.nodeName = tagName;
|
|
50511
|
+
doc.parentNode = null;
|
|
50512
|
+
return doc;
|
|
50525
50513
|
}
|
|
50526
50514
|
return createElement(this, tagName);
|
|
50527
50515
|
}
|
|
@@ -50561,10 +50549,10 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
50561
50549
|
title.textContent = value;
|
|
50562
50550
|
}
|
|
50563
50551
|
};
|
|
50564
|
-
function resetDocument(
|
|
50565
|
-
if (
|
|
50566
|
-
resetEventListeners(
|
|
50567
|
-
const documentElement =
|
|
50552
|
+
function resetDocument(doc) {
|
|
50553
|
+
if (doc != null) {
|
|
50554
|
+
resetEventListeners(doc);
|
|
50555
|
+
const documentElement = doc.documentElement;
|
|
50568
50556
|
if (documentElement != null) {
|
|
50569
50557
|
resetElement(documentElement);
|
|
50570
50558
|
for (let i = 0, ii = documentElement.childNodes.length; i < ii; i++) {
|
|
@@ -50573,25 +50561,25 @@ function resetDocument(doc2) {
|
|
|
50573
50561
|
childNode.childNodes.length = 0;
|
|
50574
50562
|
}
|
|
50575
50563
|
}
|
|
50576
|
-
for (const key in
|
|
50577
|
-
if (
|
|
50578
|
-
delete
|
|
50564
|
+
for (const key in doc) {
|
|
50565
|
+
if (doc.hasOwnProperty(key) && !DOC_KEY_KEEPERS.has(key)) {
|
|
50566
|
+
delete doc[key];
|
|
50579
50567
|
}
|
|
50580
50568
|
}
|
|
50581
50569
|
try {
|
|
50582
|
-
|
|
50570
|
+
doc.nodeName = "#document" /* DOCUMENT_NODE */;
|
|
50583
50571
|
} catch (e) {
|
|
50584
50572
|
}
|
|
50585
50573
|
try {
|
|
50586
|
-
|
|
50574
|
+
doc.nodeType = 9 /* DOCUMENT_NODE */;
|
|
50587
50575
|
} catch (e) {
|
|
50588
50576
|
}
|
|
50589
50577
|
try {
|
|
50590
|
-
|
|
50578
|
+
doc.cookie = "";
|
|
50591
50579
|
} catch (e) {
|
|
50592
50580
|
}
|
|
50593
50581
|
try {
|
|
50594
|
-
|
|
50582
|
+
doc.referrer = "";
|
|
50595
50583
|
} catch (e) {
|
|
50596
50584
|
}
|
|
50597
50585
|
}
|
|
@@ -50661,7 +50649,6 @@ var STENCIL_DEV_MODE = BUILD.isTesting ? ["STENCIL:"] : [
|
|
|
50661
50649
|
"color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
|
|
50662
50650
|
];
|
|
50663
50651
|
var win = typeof window !== "undefined" ? window : {};
|
|
50664
|
-
var doc = win.document || { head: {} };
|
|
50665
50652
|
var H = win.HTMLElement || class {
|
|
50666
50653
|
};
|
|
50667
50654
|
var supportsShadow = BUILD.shadowDom;
|
|
@@ -50795,14 +50782,14 @@ var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
|
50795
50782
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
50796
50783
|
|
|
50797
50784
|
// src/compiler/html/canonical-link.ts
|
|
50798
|
-
var updateCanonicalLink = (
|
|
50785
|
+
var updateCanonicalLink = (doc, href) => {
|
|
50799
50786
|
var _a2;
|
|
50800
|
-
let canonicalLinkElm =
|
|
50787
|
+
let canonicalLinkElm = doc.head.querySelector('link[rel="canonical"]');
|
|
50801
50788
|
if (typeof href === "string") {
|
|
50802
50789
|
if (canonicalLinkElm == null) {
|
|
50803
|
-
canonicalLinkElm =
|
|
50790
|
+
canonicalLinkElm = doc.createElement("link");
|
|
50804
50791
|
canonicalLinkElm.setAttribute("rel", "canonical");
|
|
50805
|
-
|
|
50792
|
+
doc.head.appendChild(canonicalLinkElm);
|
|
50806
50793
|
}
|
|
50807
50794
|
canonicalLinkElm.setAttribute("href", href);
|
|
50808
50795
|
} else {
|
|
@@ -50816,11 +50803,11 @@ var updateCanonicalLink = (doc2, href) => {
|
|
|
50816
50803
|
};
|
|
50817
50804
|
|
|
50818
50805
|
// src/compiler/html/relocate-meta-charset.ts
|
|
50819
|
-
var relocateMetaCharset = (
|
|
50820
|
-
const head =
|
|
50806
|
+
var relocateMetaCharset = (doc) => {
|
|
50807
|
+
const head = doc.head;
|
|
50821
50808
|
let charsetElm = head.querySelector("meta[charset]");
|
|
50822
50809
|
if (charsetElm == null) {
|
|
50823
|
-
charsetElm =
|
|
50810
|
+
charsetElm = doc.createElement("meta");
|
|
50824
50811
|
charsetElm.setAttribute("charset", "utf-8");
|
|
50825
50812
|
} else {
|
|
50826
50813
|
charsetElm.remove();
|
|
@@ -51095,13 +51082,13 @@ var parseCss = (css, filePath) => {
|
|
|
51095
51082
|
const m = match(/^@([-\w]+)?document *([^{]+)/);
|
|
51096
51083
|
if (!m) return null;
|
|
51097
51084
|
const vendor = trim(m[1]);
|
|
51098
|
-
const
|
|
51085
|
+
const doc = trim(m[2]);
|
|
51099
51086
|
if (!open()) return error(`@document missing '{'`);
|
|
51100
51087
|
const style = comments().concat(rules());
|
|
51101
51088
|
if (!close()) return error(`@document missing '}'`);
|
|
51102
51089
|
return pos({
|
|
51103
51090
|
type: 3 /* Document */,
|
|
51104
|
-
document:
|
|
51091
|
+
document: doc,
|
|
51105
51092
|
vendor,
|
|
51106
51093
|
rules: style
|
|
51107
51094
|
});
|
|
@@ -51427,11 +51414,11 @@ var serializeCssPage = (opts, node) => {
|
|
|
51427
51414
|
};
|
|
51428
51415
|
var serializeCssDocument = (opts, node) => {
|
|
51429
51416
|
const documentCss = serializeCssMapVisit(opts, node.rules);
|
|
51430
|
-
const
|
|
51417
|
+
const doc = "@" + (node.vendor || "") + "document " + node.document;
|
|
51431
51418
|
if (documentCss === "") {
|
|
51432
51419
|
return "";
|
|
51433
51420
|
}
|
|
51434
|
-
return
|
|
51421
|
+
return doc + "{" + documentCss + "}";
|
|
51435
51422
|
};
|
|
51436
51423
|
var serializeCssMapVisit = (opts, nodes) => {
|
|
51437
51424
|
let rtn = "";
|
|
@@ -51529,12 +51516,12 @@ var collectUsedSelectors = (usedSelectors, elm) => {
|
|
|
51529
51516
|
};
|
|
51530
51517
|
|
|
51531
51518
|
// src/compiler/html/remove-unused-styles.ts
|
|
51532
|
-
var removeUnusedStyles = (
|
|
51519
|
+
var removeUnusedStyles = (doc, diagnostics) => {
|
|
51533
51520
|
try {
|
|
51534
|
-
const styleElms =
|
|
51521
|
+
const styleElms = doc.head.querySelectorAll(`style[data-styles]`);
|
|
51535
51522
|
const styleLen = styleElms.length;
|
|
51536
51523
|
if (styleLen > 0) {
|
|
51537
|
-
const usedSelectors = getUsedSelectors(
|
|
51524
|
+
const usedSelectors = getUsedSelectors(doc.documentElement);
|
|
51538
51525
|
for (let i = 0; i < styleLen; i++) {
|
|
51539
51526
|
removeUnusedStyleText(usedSelectors, diagnostics, styleElms[i]);
|
|
51540
51527
|
}
|
|
@@ -51667,41 +51654,41 @@ function collectAttributes(node) {
|
|
|
51667
51654
|
var SKIP_ATTRS = /* @__PURE__ */ new Set(["s-id", "c-id"]);
|
|
51668
51655
|
|
|
51669
51656
|
// src/hydrate/runner/patch-dom-implementation.ts
|
|
51670
|
-
function patchDomImplementation(
|
|
51657
|
+
function patchDomImplementation(doc, opts) {
|
|
51671
51658
|
let win2;
|
|
51672
|
-
if (
|
|
51659
|
+
if (doc.defaultView != null) {
|
|
51673
51660
|
opts.destroyWindow = true;
|
|
51674
|
-
patchWindow(
|
|
51675
|
-
win2 =
|
|
51661
|
+
patchWindow(doc.defaultView);
|
|
51662
|
+
win2 = doc.defaultView;
|
|
51676
51663
|
} else {
|
|
51677
51664
|
opts.destroyWindow = true;
|
|
51678
51665
|
opts.destroyDocument = false;
|
|
51679
51666
|
win2 = new MockWindow(false);
|
|
51680
51667
|
}
|
|
51681
|
-
if (win2.document !==
|
|
51682
|
-
win2.document =
|
|
51668
|
+
if (win2.document !== doc) {
|
|
51669
|
+
win2.document = doc;
|
|
51683
51670
|
}
|
|
51684
|
-
if (
|
|
51685
|
-
|
|
51671
|
+
if (doc.defaultView !== win2) {
|
|
51672
|
+
doc.defaultView = win2;
|
|
51686
51673
|
}
|
|
51687
|
-
const HTMLElement2 =
|
|
51674
|
+
const HTMLElement2 = doc.documentElement.constructor.prototype;
|
|
51688
51675
|
if (typeof HTMLElement2.getRootNode !== "function") {
|
|
51689
|
-
const elm =
|
|
51676
|
+
const elm = doc.createElement("unknown-element");
|
|
51690
51677
|
const HTMLUnknownElement = elm.constructor.prototype;
|
|
51691
51678
|
HTMLUnknownElement.getRootNode = getRootNode;
|
|
51692
51679
|
}
|
|
51693
|
-
if (typeof
|
|
51694
|
-
const CustomEvent2 =
|
|
51680
|
+
if (typeof doc.createEvent === "function") {
|
|
51681
|
+
const CustomEvent2 = doc.createEvent("CustomEvent").constructor;
|
|
51695
51682
|
if (win2.CustomEvent !== CustomEvent2) {
|
|
51696
51683
|
win2.CustomEvent = CustomEvent2;
|
|
51697
51684
|
}
|
|
51698
51685
|
}
|
|
51699
51686
|
try {
|
|
51700
|
-
win2.__stencil_baseURI =
|
|
51687
|
+
win2.__stencil_baseURI = doc.baseURI;
|
|
51701
51688
|
} catch (e) {
|
|
51702
|
-
Object.defineProperty(
|
|
51689
|
+
Object.defineProperty(doc, "baseURI", {
|
|
51703
51690
|
get() {
|
|
51704
|
-
const baseElm =
|
|
51691
|
+
const baseElm = doc.querySelector("base[href]");
|
|
51705
51692
|
if (baseElm) {
|
|
51706
51693
|
return new URL(baseElm.getAttribute("href"), win2.location.href).href;
|
|
51707
51694
|
}
|
|
@@ -51912,7 +51899,7 @@ var docData = {
|
|
|
51912
51899
|
rootLevelIds: 0,
|
|
51913
51900
|
staticComponents: /* @__PURE__ */ new Set()
|
|
51914
51901
|
};
|
|
51915
|
-
function initializeWindow(win2,
|
|
51902
|
+
function initializeWindow(win2, doc, opts, results) {
|
|
51916
51903
|
if (typeof opts.url === "string") {
|
|
51917
51904
|
try {
|
|
51918
51905
|
win2.location.href = opts.url;
|
|
@@ -51927,31 +51914,31 @@ function initializeWindow(win2, doc2, opts, results) {
|
|
|
51927
51914
|
}
|
|
51928
51915
|
if (typeof opts.cookie === "string") {
|
|
51929
51916
|
try {
|
|
51930
|
-
|
|
51917
|
+
doc.cookie = opts.cookie;
|
|
51931
51918
|
} catch (e) {
|
|
51932
51919
|
}
|
|
51933
51920
|
}
|
|
51934
51921
|
if (typeof opts.referrer === "string") {
|
|
51935
51922
|
try {
|
|
51936
|
-
|
|
51923
|
+
doc.referrer = opts.referrer;
|
|
51937
51924
|
} catch (e) {
|
|
51938
51925
|
}
|
|
51939
51926
|
}
|
|
51940
51927
|
if (typeof opts.direction === "string") {
|
|
51941
51928
|
try {
|
|
51942
|
-
|
|
51929
|
+
doc.documentElement.setAttribute("dir", opts.direction);
|
|
51943
51930
|
} catch (e) {
|
|
51944
51931
|
}
|
|
51945
51932
|
}
|
|
51946
51933
|
if (typeof opts.language === "string") {
|
|
51947
51934
|
try {
|
|
51948
|
-
|
|
51935
|
+
doc.documentElement.setAttribute("lang", opts.language);
|
|
51949
51936
|
} catch (e) {
|
|
51950
51937
|
}
|
|
51951
51938
|
}
|
|
51952
51939
|
if (typeof opts.buildId === "string") {
|
|
51953
51940
|
try {
|
|
51954
|
-
|
|
51941
|
+
doc.documentElement.setAttribute("data-stencil-build", opts.buildId);
|
|
51955
51942
|
} catch (e) {
|
|
51956
51943
|
}
|
|
51957
51944
|
}
|
|
@@ -51963,7 +51950,7 @@ function initializeWindow(win2, doc2, opts, results) {
|
|
|
51963
51950
|
constrainTimeouts(win2);
|
|
51964
51951
|
}
|
|
51965
51952
|
runtimeLogging(win2, opts, results);
|
|
51966
|
-
|
|
51953
|
+
doc[STENCIL_DOC_DATA] = docData;
|
|
51967
51954
|
return win2;
|
|
51968
51955
|
}
|
|
51969
51956
|
|
|
@@ -51981,18 +51968,18 @@ function renderToString(html, options, asStream) {
|
|
|
51981
51968
|
opts.constrainTimeouts = false;
|
|
51982
51969
|
return hydrateDocument(html, opts, asStream);
|
|
51983
51970
|
}
|
|
51984
|
-
function hydrateDocument(
|
|
51971
|
+
function hydrateDocument(doc, options, asStream) {
|
|
51985
51972
|
const opts = normalizeHydrateOptions(options);
|
|
51986
51973
|
let win2 = null;
|
|
51987
51974
|
const results = generateHydrateResults(opts);
|
|
51988
51975
|
if (hasError(results.diagnostics)) {
|
|
51989
51976
|
return Promise.resolve(results);
|
|
51990
51977
|
}
|
|
51991
|
-
if (typeof
|
|
51978
|
+
if (typeof doc === "string") {
|
|
51992
51979
|
try {
|
|
51993
51980
|
opts.destroyWindow = true;
|
|
51994
51981
|
opts.destroyDocument = true;
|
|
51995
|
-
win2 = new MockWindow(
|
|
51982
|
+
win2 = new MockWindow(doc);
|
|
51996
51983
|
if (!asStream) {
|
|
51997
51984
|
return render(win2, opts, results).then(() => results);
|
|
51998
51985
|
}
|
|
@@ -52006,10 +51993,10 @@ function hydrateDocument(doc2, options, asStream) {
|
|
|
52006
51993
|
return Promise.resolve(results);
|
|
52007
51994
|
}
|
|
52008
51995
|
}
|
|
52009
|
-
if (isValidDocument(
|
|
51996
|
+
if (isValidDocument(doc)) {
|
|
52010
51997
|
try {
|
|
52011
51998
|
opts.destroyDocument = false;
|
|
52012
|
-
win2 = patchDomImplementation(
|
|
51999
|
+
win2 = patchDomImplementation(doc, opts);
|
|
52013
52000
|
if (!asStream) {
|
|
52014
52001
|
return render(win2, opts, results).then(() => results);
|
|
52015
52002
|
}
|
|
@@ -52066,41 +52053,41 @@ async function afterHydrate(win2, opts, results, resolve) {
|
|
|
52066
52053
|
return resolve(finalizeHydrate(win2, win2.document, opts, results));
|
|
52067
52054
|
}
|
|
52068
52055
|
}
|
|
52069
|
-
function finalizeHydrate(win2,
|
|
52056
|
+
function finalizeHydrate(win2, doc, opts, results) {
|
|
52070
52057
|
try {
|
|
52071
|
-
inspectElement(results,
|
|
52058
|
+
inspectElement(results, doc.documentElement, 0);
|
|
52072
52059
|
if (opts.removeUnusedStyles !== false) {
|
|
52073
52060
|
try {
|
|
52074
|
-
removeUnusedStyles(
|
|
52061
|
+
removeUnusedStyles(doc, results.diagnostics);
|
|
52075
52062
|
} catch (e) {
|
|
52076
52063
|
renderCatchError(results, e);
|
|
52077
52064
|
}
|
|
52078
52065
|
}
|
|
52079
52066
|
if (typeof opts.title === "string") {
|
|
52080
52067
|
try {
|
|
52081
|
-
|
|
52068
|
+
doc.title = opts.title;
|
|
52082
52069
|
} catch (e) {
|
|
52083
52070
|
renderCatchError(results, e);
|
|
52084
52071
|
}
|
|
52085
52072
|
}
|
|
52086
|
-
results.title =
|
|
52073
|
+
results.title = doc.title;
|
|
52087
52074
|
if (opts.removeScripts) {
|
|
52088
|
-
removeScripts(
|
|
52075
|
+
removeScripts(doc.documentElement);
|
|
52089
52076
|
}
|
|
52090
52077
|
try {
|
|
52091
|
-
updateCanonicalLink(
|
|
52078
|
+
updateCanonicalLink(doc, opts.canonicalUrl);
|
|
52092
52079
|
} catch (e) {
|
|
52093
52080
|
renderCatchError(results, e);
|
|
52094
52081
|
}
|
|
52095
52082
|
try {
|
|
52096
|
-
relocateMetaCharset(
|
|
52083
|
+
relocateMetaCharset(doc);
|
|
52097
52084
|
} catch (e) {
|
|
52098
52085
|
}
|
|
52099
52086
|
if (!hasError(results.diagnostics)) {
|
|
52100
52087
|
results.httpStatus = 200;
|
|
52101
52088
|
}
|
|
52102
52089
|
try {
|
|
52103
|
-
const metaStatus =
|
|
52090
|
+
const metaStatus = doc.head.querySelector('meta[http-equiv="status"]');
|
|
52104
52091
|
if (metaStatus != null) {
|
|
52105
52092
|
const metaStatusContent = metaStatus.getAttribute("content");
|
|
52106
52093
|
if (metaStatusContent && metaStatusContent.length > 0) {
|
|
@@ -52110,25 +52097,25 @@ function finalizeHydrate(win2, doc2, opts, results) {
|
|
|
52110
52097
|
} catch (e) {
|
|
52111
52098
|
}
|
|
52112
52099
|
if (opts.clientHydrateAnnotations) {
|
|
52113
|
-
|
|
52100
|
+
doc.documentElement.classList.add("hydrated");
|
|
52114
52101
|
}
|
|
52115
52102
|
if (opts.serializeToHtml) {
|
|
52116
|
-
results.html = serializeDocumentToString(
|
|
52103
|
+
results.html = serializeDocumentToString(doc, opts);
|
|
52117
52104
|
}
|
|
52118
52105
|
} catch (e) {
|
|
52119
52106
|
renderCatchError(results, e);
|
|
52120
52107
|
}
|
|
52121
|
-
destroyWindow(win2,
|
|
52108
|
+
destroyWindow(win2, doc, opts, results);
|
|
52122
52109
|
return results;
|
|
52123
52110
|
}
|
|
52124
|
-
function destroyWindow(win2,
|
|
52111
|
+
function destroyWindow(win2, doc, opts, results) {
|
|
52125
52112
|
if (!opts.destroyWindow) {
|
|
52126
52113
|
return;
|
|
52127
52114
|
}
|
|
52128
52115
|
try {
|
|
52129
52116
|
if (!opts.destroyDocument) {
|
|
52130
52117
|
win2.document = null;
|
|
52131
|
-
|
|
52118
|
+
doc.defaultView = null;
|
|
52132
52119
|
}
|
|
52133
52120
|
if (win2.close) {
|
|
52134
52121
|
win2.close();
|
|
@@ -52137,8 +52124,8 @@ function destroyWindow(win2, doc2, opts, results) {
|
|
|
52137
52124
|
renderCatchError(results, e);
|
|
52138
52125
|
}
|
|
52139
52126
|
}
|
|
52140
|
-
function serializeDocumentToString(
|
|
52141
|
-
return serializeNodeToHtml(
|
|
52127
|
+
function serializeDocumentToString(doc, opts) {
|
|
52128
|
+
return serializeNodeToHtml(doc, {
|
|
52142
52129
|
approximateLineWidth: opts.approximateLineWidth,
|
|
52143
52130
|
outerHtml: false,
|
|
52144
52131
|
prettyHtml: opts.prettyHtml,
|
|
@@ -52150,8 +52137,8 @@ function serializeDocumentToString(doc2, opts) {
|
|
|
52150
52137
|
fullDocument: opts.fullDocument
|
|
52151
52138
|
});
|
|
52152
52139
|
}
|
|
52153
|
-
function isValidDocument(
|
|
52154
|
-
return
|
|
52140
|
+
function isValidDocument(doc) {
|
|
52141
|
+
return doc != null && doc.nodeType === 9 && doc.documentElement != null && doc.documentElement.nodeType === 1 && doc.body != null && doc.body.nodeType === 1;
|
|
52155
52142
|
}
|
|
52156
52143
|
function removeScripts(elm) {
|
|
52157
52144
|
const children = elm.children;
|