@roadtrip/components 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-d94011e3.js → app-04522e32.js} +1 -1
- package/dist/cjs/{index-a2306350.js → index-2e5d330e.js} +247 -2
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +1 -1
- package/dist/cjs/road-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/road-avatar.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +3 -3
- package/dist/cjs/road-banner.cjs.entry.js +1 -1
- package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-duration.cjs.entry.js +1 -1
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
- package/dist/cjs/road-img.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/road-rating.cjs.entry.js +6 -2
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +1 -1
- package/dist/cjs/road-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/road-tab.cjs.entry.js +1 -1
- 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 +1 -1
- 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-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/roadtrip.cjs.js +3 -3
- package/dist/cjs/{utils-5c31da25.js → utils-396a6425.js} +1 -1
- package/dist/collection/components/icon/svg/cookie-color.svg +1 -0
- package/dist/collection/components/icon/svg/cookie-outline.svg +1 -0
- package/dist/collection/components/icon/svg/player-arrow-play-outline.svg +1 -0
- package/dist/collection/components/icon/svg/player-break-outline.svg +1 -0
- package/dist/collection/components/icon/svg/player-irregular-outline.svg +1 -0
- package/dist/collection/components/icon/svg/player-pause-outline.svg +1 -0
- package/dist/collection/components/icon/svg/player-regular-outline.svg +1 -0
- package/dist/collection/components/icon/svg/player-unlimited-outline.svg +1 -0
- package/dist/collection/components/icon/svg/season-swap-color.svg +1 -1
- package/dist/collection/components/icon/svg/season-swap-outline.svg +1 -1
- package/dist/collection/components/input/input.css +3 -1
- package/dist/collection/components/patterns/breadcrumb.stories.js +9 -9
- package/dist/collection/components/rating/rating.js +23 -1
- package/dist/collection/components/rating/rating.stories.js +13 -1
- package/dist/esm/{app-ca51f056.js → app-36d3a1be.js} +1 -1
- package/dist/esm/{index-a99a5e7b.js → index-3648a167.js} +247 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/road-accordion.entry.js +1 -1
- package/dist/esm/road-alert.entry.js +1 -1
- package/dist/esm/road-autocomplete.entry.js +1 -1
- package/dist/esm/road-avatar.entry.js +1 -1
- package/dist/esm/road-badge_14.entry.js +3 -3
- package/dist/esm/road-banner.entry.js +1 -1
- package/dist/esm/road-button-floating.entry.js +1 -1
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-carousel-item.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-collapse.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-dropdown.entry.js +1 -1
- package/dist/esm/road-duration.entry.js +1 -1
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-global-navigation.entry.js +1 -1
- package/dist/esm/road-img.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/road-rating.entry.js +6 -2
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +1 -1
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-switch.entry.js +1 -1
- package/dist/esm/road-tab-bar.entry.js +1 -1
- package/dist/esm/road-tab-button.entry.js +1 -1
- package/dist/esm/road-tab.entry.js +1 -1
- 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 +1 -1
- 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-tooltip.entry.js +1 -1
- package/dist/esm/roadtrip.js +3 -3
- package/dist/esm/{utils-0ec32b47.js → utils-4fb81650.js} +1 -1
- package/dist/html.html-data.json +4 -0
- package/dist/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +11 -3
- package/dist/icons/index.js +10 -9
- package/dist/roadtrip/index.esm.js +1 -1
- package/dist/roadtrip/{p-e51617fb.entry.js → p-028fbc98.entry.js} +1 -1
- package/dist/roadtrip/{p-e6a69601.entry.js → p-047f9d06.entry.js} +1 -1
- package/dist/roadtrip/{p-df5abb4b.entry.js → p-0ecd9c44.entry.js} +1 -1
- package/dist/roadtrip/{p-0ad2e739.entry.js → p-11198399.entry.js} +1 -1
- package/dist/roadtrip/{p-b6925b27.entry.js → p-11e8b7d8.entry.js} +1 -1
- package/dist/roadtrip/{p-07ff311d.entry.js → p-17019ebc.entry.js} +1 -1
- package/dist/roadtrip/{p-1294ad0d.entry.js → p-1aa14002.entry.js} +1 -1
- package/dist/roadtrip/{p-b4381f61.entry.js → p-20474fa0.entry.js} +1 -1
- package/dist/roadtrip/{p-b3f165f4.entry.js → p-25dbf5ae.entry.js} +1 -1
- package/dist/roadtrip/{p-6cef5b4e.entry.js → p-2c70343a.entry.js} +1 -1
- package/dist/roadtrip/{p-2128ac77.entry.js → p-3ca57e80.entry.js} +1 -1
- package/dist/roadtrip/{p-7ef481b0.entry.js → p-3f9914a0.entry.js} +1 -1
- package/dist/roadtrip/{p-e189433e.entry.js → p-4530a324.entry.js} +1 -1
- package/dist/roadtrip/{p-d24c06f2.entry.js → p-4694f970.entry.js} +1 -1
- package/dist/roadtrip/{p-cfbb1cd3.entry.js → p-479f7ce5.entry.js} +1 -1
- package/dist/roadtrip/{p-0ce3567a.entry.js → p-4977f51b.entry.js} +1 -1
- package/dist/roadtrip/{p-85d01de7.entry.js → p-52fb41ab.entry.js} +1 -1
- package/dist/roadtrip/{p-3e6f0b0f.entry.js → p-5901cc95.entry.js} +1 -1
- package/dist/roadtrip/{p-df3469df.entry.js → p-5a19ef74.entry.js} +1 -1
- package/dist/roadtrip/{p-0f2ef43f.entry.js → p-5b4962a5.entry.js} +1 -1
- package/dist/roadtrip/{p-7a724931.entry.js → p-5cd99182.entry.js} +1 -1
- package/dist/roadtrip/{p-dc18333b.entry.js → p-60a3cc90.entry.js} +1 -1
- package/dist/roadtrip/{p-b65936d0.entry.js → p-635ee169.entry.js} +1 -1
- package/dist/roadtrip/p-66507c19.js +1 -0
- package/dist/roadtrip/{p-ea321cc5.entry.js → p-6663a74c.entry.js} +1 -1
- package/dist/roadtrip/{p-451c3bbf.entry.js → p-66bb99b9.entry.js} +1 -1
- package/dist/roadtrip/{p-d6a872f3.entry.js → p-69bd9471.entry.js} +1 -1
- package/dist/roadtrip/{p-10024b8f.entry.js → p-6aef81aa.entry.js} +1 -1
- package/dist/roadtrip/{p-00762fb0.entry.js → p-6e6ebf56.entry.js} +1 -1
- package/dist/roadtrip/{p-88aad04d.entry.js → p-70c75b69.entry.js} +1 -1
- package/dist/roadtrip/{p-38cf1a21.entry.js → p-7a5882c0.entry.js} +1 -1
- package/dist/roadtrip/{p-f5f42766.entry.js → p-89d61829.entry.js} +1 -1
- package/dist/roadtrip/{p-870feb87.entry.js → p-8de8c288.entry.js} +1 -1
- package/dist/roadtrip/{p-6312516e.js → p-8e76838b.js} +1 -1
- package/dist/roadtrip/{p-5d29e9c8.entry.js → p-8ee48870.entry.js} +1 -1
- package/dist/roadtrip/{p-e10c9e2d.entry.js → p-95c62aad.entry.js} +1 -1
- package/dist/roadtrip/{p-510fe45c.entry.js → p-9a95dd74.entry.js} +1 -1
- package/dist/roadtrip/p-9b0bc49b.js +2 -0
- package/dist/roadtrip/{p-e9bbb36d.entry.js → p-9ec3e9c2.entry.js} +1 -1
- package/dist/roadtrip/{p-07bb357f.entry.js → p-af65ced2.entry.js} +1 -1
- package/dist/roadtrip/{p-850ed3d4.entry.js → p-aff2ba21.entry.js} +1 -1
- package/dist/roadtrip/{p-9ef4cedb.entry.js → p-b5d485a2.entry.js} +1 -1
- package/dist/roadtrip/{p-fb23c9b4.entry.js → p-bb114085.entry.js} +1 -1
- package/dist/roadtrip/{p-a41b478a.entry.js → p-bf731c34.entry.js} +1 -1
- package/dist/roadtrip/{p-300fe50e.entry.js → p-c07004df.entry.js} +1 -1
- package/dist/roadtrip/{p-2db00cbc.entry.js → p-c4365897.entry.js} +1 -1
- package/dist/roadtrip/{p-173c9d0d.entry.js → p-c91a0dce.entry.js} +1 -1
- package/dist/roadtrip/{p-e7e55fc6.entry.js → p-d018d6d2.entry.js} +1 -1
- package/dist/roadtrip/{p-a2999a4e.entry.js → p-d437641f.entry.js} +1 -1
- package/dist/roadtrip/{p-604b9899.entry.js → p-d9b5400f.entry.js} +1 -1
- package/dist/roadtrip/{p-a4e187ea.entry.js → p-e2120e8f.entry.js} +1 -1
- package/dist/roadtrip/{p-400b12e7.entry.js → p-e4423dbb.entry.js} +1 -1
- package/dist/roadtrip/{p-921fd6c1.entry.js → p-e7686dab.entry.js} +1 -1
- package/dist/roadtrip/{p-e669be7b.entry.js → p-eb83cab4.entry.js} +1 -1
- package/dist/roadtrip/{p-6298ef24.entry.js → p-eb8f7fc4.entry.js} +1 -1
- package/dist/roadtrip/{p-72612490.entry.js → p-f38dbbb7.entry.js} +1 -1
- package/dist/roadtrip/p-f5e78215.entry.js +1 -0
- package/dist/roadtrip/{p-0ca6fb50.entry.js → p-fa38ac58.entry.js} +1 -1
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/svg/cookie-color.svg +1 -0
- package/dist/roadtrip/svg/cookie-outline.svg +1 -0
- package/dist/roadtrip/svg/player-arrow-play-outline.svg +1 -0
- package/dist/roadtrip/svg/player-break-outline.svg +1 -0
- package/dist/roadtrip/svg/player-irregular-outline.svg +1 -0
- package/dist/roadtrip/svg/player-pause-outline.svg +1 -0
- package/dist/roadtrip/svg/player-regular-outline.svg +1 -0
- package/dist/roadtrip/svg/player-unlimited-outline.svg +1 -0
- package/dist/roadtrip/svg/season-swap-color.svg +1 -1
- package/dist/roadtrip/svg/season-swap-outline.svg +1 -1
- package/dist/types/components/rating/rating.d.ts +4 -0
- package/dist/types/components.d.ts +8 -0
- package/hydrate/index.d.ts +217 -0
- package/hydrate/index.js +20108 -0
- package/hydrate/package.json +6 -0
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +11 -3
- package/icons/index.js +10 -9
- package/package.json +3 -2
- package/dist/roadtrip/p-cdc666bc.js +0 -2
- package/dist/roadtrip/p-dced2265.entry.js +0 -1
- package/dist/roadtrip/p-e64fe690.js +0 -1
- /package/dist/collection/components/icon/svg/{cookie.svg → cookie-solid.svg} +0 -0
- /package/dist/roadtrip/svg/{cookie.svg → cookie-solid.svg} +0 -0
package/dist/cjs/roadtrip.cjs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
require('./app-
|
|
3
|
+
const index = require('./index-2e5d330e.js');
|
|
4
|
+
require('./app-04522e32.js');
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
Stencil Client Patch Browser v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -83,5 +83,5 @@ const patchDynamicImport = (base, orgScriptElm) => {
|
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
patchBrowser().then(options => {
|
|
86
|
-
return index.bootstrapLazy(JSON.parse("[[\"road-badge_14.cjs\",[[2,\"road-counter\",{\"inputId\":[1,\"input-id\"],\"min\":[2],\"max\":[2],\"step\":[1],\"value\":[2],\"size\":[1],\"dustbin\":[4],\"leftIconClasses\":[32],\"rightIconClasses\":[32],\"isDustbinVisible\":[32]}],[1,\"road-item\",{\"button\":[4],\"detail\":[4],\"active\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"target\":[1],\"type\":[1],\"multipleInputs\":[32]}],[1,\"road-badge\",{\"color\":[1],\"bubble\":[4]}],[1,\"road-list\",{\"lines\":[1]}],[1,\"road-toolbar\",{\"color\":[1]}],[33,\"road-drawer\",{\"isOpen\":[1028,\"is-open\"],\"position\":[1],\"drawerWidth\":[2,\"drawer-width\"],\"hasInverseHeader\":[4,\"has-inverse-header\"],\"hasBackIcon\":[4,\"has-back-icon\"],\"backText\":[1,\"back-text\"],\"drawerTitle\":[1,\"drawer-title\"],\"hasCloseIcon\":[4,\"has-close-icon\"],\"open\":[64],\"close\":[64],\"back\":[64]},[[4,\"keyup\",\"onEscape\"]]],[1,\"road-col\"],[1,\"road-grid\"],[6,\"road-input\",{\"inputId\":[1,\"input-id\"],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[1],\"maxlength\":[2],\"min\":[1],\"minlength\":[2],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"sizes\":[1],\"type\":[1],\"value\":[1032],\"label\":[1],\"error\":[1],\"helper\":[1],\"debounce\":[2]}],[1,\"road-row\"],[1,\"road-button\",{\"color\":[1],\"size\":[513],\"buttonType\":[1,\"button-type\"],\"disabled\":[516],\"expand\":[516],\"download\":[1],\"href\":[1],\"rel\":[1],\"target\":[1],\"outline\":[4]}],[1,\"road-input-group\"],[1,\"road-label\"],[1,\"road-icon\",{\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"name\":[1],\"src\":[1],\"icon\":[8],\"size\":[1],\"rotate\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}]]],[\"road-duration.cjs\",[[1,\"road-duration\",{\"isOpen\":[1028,\"is-open\"],\"header\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"open\":[64],\"close\":[64]},[[0,\"roadcardclick\",\"handleClick\"]]]]],[\"road-plate-number.cjs\",[[2,\"road-plate-number\",{\"country\":[1],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"value\":[1032],\"motorbike\":[4]}]]],[\"road-profil-dropdown.cjs\",[[1,\"road-profil-dropdown\",{\"isOpen\":[1028,\"is-open\"]}]]],[\"road-accordion.cjs\",[[1,\"road-accordion\",{\"isOpen\":[1028,\"is-open\"],\"isLight\":[4,\"is-light\"],\"isLightSeparator\":[4,\"is-light-separator\"],\"isSmall\":[4,\"is-small\"]}]]],[\"road-banner.cjs\",[[1,\"road-banner\",{\"isOpen\":[1028,\"is-open\"],\"label\":[1],\"link\":[1],\"url\":[1],\"close\":[64]}]]],[\"road-carousel.cjs\",[[1,\"road-carousel\",{\"options\":[8],\"pager\":[4],\"arrows\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"road-checkbox.cjs\",[[6,\"road-checkbox\",{\"checkboxId\":[1,\"checkbox-id\"],\"name\":[1],\"required\":[4],\"checked\":[1028],\"indeterminate\":[4],\"disabled\":[4],\"value\":[1],\"label\":[1],\"inverse\":[4],\"error\":[1],\"helper\":[1]}]]],[\"road-chip.cjs\",[[1,\"road-chip\",{\"color\":[1],\"outline\":[4],\"size\":[1],\"hasCloseIcon\":[4,\"has-close-icon\"]}]]],[\"road-collapse.cjs\",[[1,\"road-collapse\",{\"isOpen\":[1028,\"is-open\"],\"showMore\":[1,\"show-more\"],\"showLess\":[1,\"show-less\"],\"centered\":[4]}]]],[\"road-dialog.cjs\",[[1,\"road-dialog\",{\"isOpen\":[1028,\"is-open\"],\"hasCloseIcon\":[4,\"has-close-icon\"],\"color\":[1],\"icon\":[1],\"label\":[1],\"description\":[1],\"open\":[64],\"close\":[64]},[[4,\"keyup\",\"onEscape\"]]]]],[\"road-dropdown.cjs\",[[1,\"road-dropdown\",{\"isOpen\":[1028,\"is-open\"],\"isLight\":[4,\"is-light\"],\"isMedium\":[4,\"is-medium\"],\"position\":[513],\"direction\":[513]}]]],[\"road-modal.cjs\",[[1,\"road-modal\",{\"maxWidth\":[2,\"max-width\"],\"isOpen\":[1028,\"is-open\"],\"hasInverseHeader\":[4,\"has-inverse-header\"],\"modalTitle\":[1,\"modal-title\"],\"hasCloseIcon\":[4,\"has-close-icon\"],\"open\":[64],\"close\":[64]},[[4,\"keyup\",\"onEscape\"]]]]],[\"road-range.cjs\",[[6,\"road-range\",{\"rangeId\":[1,\"range-id\"],\"value\":[1032],\"min\":[1],\"max\":[1],\"step\":[1],\"showValue\":[4,\"show-value\"],\"showTick\":[4,\"show-tick\"],\"showLabels\":[4,\"show-labels\"]}]]],[\"road-rating.cjs\",[[1,\"road-rating\",{\"size\":[513],\"rate\":[2],\"reviews\":[2],\"reviewsText\":[1,\"reviews-text\"]}]]],[\"road-toast.cjs\",[[1,\"road-toast\",{\"isOpen\":[1028,\"is-open\"],\"color\":[1],\"label\":[1],\"timeout\":[2],\"open\":[64],\"close\":[64]}]]],[\"road-alert.cjs\",[[1,\"road-alert\",{\"color\":[1],\"label\":[1],\"link\":[1],\"url\":[1]}]]],[\"road-autocomplete.cjs\",[[6,\"road-autocomplete\",{\"options\":[16],\"visible\":[32]},[[0,\"roadFocus\",\"handleFocus\"],[0,\"roadfocus\",\"handleFocus\"],[4,\"click\",\"onClickOutside\"]]]]],[\"road-button-floating.cjs\",[[1,\"road-button-floating\",{\"position\":[513],\"href\":[1],\"rel\":[1],\"target\":[1]},[[9,\"scroll\",\"onScroll\"]]]]],[\"road-carousel-item.cjs\",[[4,\"road-carousel-item\"]]],[\"road-flap.cjs\",[[1,\"road-flap\",{\"color\":[1],\"size\":[513]}]]],[\"road-global-navigation.cjs\",[[1,\"road-global-navigation\",{\"selectedTab\":[1,\"selected-tab\"]},[[0,\"roadNavbarItemClick\",\"onNavbarChanged\"],[0,\"roadnavbaritemclick\",\"onNavbarChanged\"]]]]],[\"road-img.cjs\",[[1,\"road-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"road-navbar.cjs\",[[1,\"road-navbar\",{\"selectedTab\":[1,\"selected-tab\"]},[[0,\"roadNavbarItemClick\",\"onNavbarChanged\"],[0,\"roadnavbaritemclick\",\"onNavbarChanged\"]]]]],[\"road-navbar-item.cjs\",[[1,\"road-navbar-item\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"roadNavbarChanged\",\"onNavbarChanged\"],[8,\"roadnavbarchanged\",\"onNavbarChanged\"]]]]],[\"road-progress.cjs\",[[1,\"road-progress\",{\"value\":[2],\"numbersteps\":[1],\"label\":[1],\"showstep\":[4],\"animation\":[4],\"light\":[4],\"fullwidth\":[4],\"color\":[1]}]]],[\"road-progress-indicator-horizontal.cjs\",[[1,\"road-progress-indicator-horizontal\",{\"color\":[513],\"stateFirstStep\":[1,\"state-first-step\"],\"stateSecondStep\":[1,\"state-second-step\"],\"stateThirdStep\":[1,\"state-third-step\"],\"urlStep1\":[1,\"url-step-1\"],\"urlStep2\":[1,\"url-step-2\"],\"urlStep3\":[1,\"url-step-3\"]}]]],[\"road-progress-indicator-vertical.cjs\",[[1,\"road-progress-indicator-vertical\"]]],[\"road-progress-indicator-vertical-item.cjs\",[[4,\"road-progress-indicator-vertical-item\"]]],[\"road-progress-tracker.cjs\",[[1,\"road-progress-tracker\"]]],[\"road-progress-tracker-item.cjs\",[[4,\"road-progress-tracker-item\"]]],[\"road-radio.cjs\",[[2,\"road-radio\",{\"radioId\":[1,\"radio-id\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"value\":[8],\"label\":[1],\"inverse\":[4],\"error\":[4],\"helper\":[1],\"inline\":[4],\"checked\":[32]},[[8,\"roadChange\",\"onRoadChangedChanged\"],[8,\"roadchange\",\"onRoadChangedChanged\"]]]]],[\"road-radio-group.cjs\",[[6,\"road-radio-group\",{\"radioGroupId\":[1,\"radio-group-id\"],\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032],\"label\":[1],\"asterisk\":[4],\"ariaLabel\":[513,\"aria-label\"],\"error\":[1025],\"helper\":[1]}]]],[\"road-segmented-button.cjs\",[[1,\"road-segmented-button\",{\"size\":[1],\"selected\":[1028],\"tab\":[1]},[[8,\"roadSegmentedButtonBarChanged\",\"onButtonBarChanged\"],[8,\"roadSegmentedButtonbarchanged\",\"onButtonBarChanged\"]]]]],[\"road-segmented-button-bar.cjs\",[[1,\"road-segmented-button-bar\",{\"selectedTab\":[1,\"selected-tab\"]}]]],[\"road-segmented-buttons.cjs\",[[1,\"road-segmented-buttons\",{\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64]}]]],[\"road-select.cjs\",[[2,\"road-select\",{\"selectId\":[1,\"select-id\"],\"options\":[16],\"autofocus\":[4],\"disabled\":[4],\"name\":[1],\"required\":[4],\"size\":[2],\"sizes\":[1],\"label\":[1],\"error\":[1],\"value\":[1032]}]]],[\"road-select-filter.cjs\",[[6,\"road-select-filter\",{\"options\":[16],\"parameters\":[8],\"isActive\":[4,\"is-active\"],\"onlySelect\":[4,\"only-select\"],\"isOpen\":[32],\"currentValue\":[32]},[[0,\"roadFocus\",\"handleFocus\"],[0,\"roadfocus\",\"handleFocus\"],[0,\"roadBlur\",\"handleBlur\"],[0,\"roadblur\",\"handleBlur\"],[0,\"roadChange\",\"handleChange\"],[0,\"roadchange\",\"handleChange\"],[4,\"click\",\"onClickOutside\"]]]]],[\"road-skeleton.cjs\",[[1,\"road-skeleton\"]]],[\"road-spinner.cjs\",[[1,\"road-spinner\",{\"size\":[513],\"color\":[513]}]]],[\"road-switch.cjs\",[[2,\"road-switch\",{\"switchId\":[1,\"switch-id\"],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"label\":[1],\"color\":[1],\"hasLeftLabel\":[4,\"has-left-label\"],\"isSpaced\":[4,\"is-spaced\"],\"value\":[1],\"on\":[1],\"off\":[1]}]]],[\"road-tab.cjs\",[[1,\"road-tab\",{\"active\":[1028],\"tab\":[1],\"setActive\":[64]}]]],[\"road-tab-bar.cjs\",[[1,\"road-tab-bar\",{\"secondary\":[4],\"expand\":[4],\"center\":[4],\"selectedTab\":[1,\"selected-tab\"]}]]],[\"road-tab-button.cjs\",[[1,\"road-tab-button\",{\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"roadTabBarChanged\",\"onTabBarChanged\"],[8,\"roadTabbarchanged\",\"onTabBarChanged\"]]]]],[\"road-table.cjs\",[[6,\"road-table\"]]],[\"road-tabs.cjs\",[[1,\"road-tabs\",{\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64]}]]],[\"road-tag.cjs\",[[1,\"road-tag\",{\"color\":[1],\"contrast\":[4]}]]],[\"road-text.cjs\",[[1,\"road-text\",{\"color\":[1]}]]],[\"road-textarea.cjs\",[[2,\"road-textarea\",{\"textareaId\":[1,\"textarea-id\"],\"autocapitalize\":[1],\"autofocus\":[4],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"sizes\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"resize\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"value\":[1025],\"label\":[1],\"error\":[1],\"helper\":[1]}]]],[\"road-toggle.cjs\",[[2,\"road-toggle\",{\"toggleId\":[1,\"toggle-id\"],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"label\":[1],\"color\":[1],\"hasLeftLabel\":[4,\"has-left-label\"],\"isSpaced\":[4,\"is-spaced\"],\"value\":[1],\"on\":[1],\"off\":[1]}]]],[\"road-toolbar-title.cjs\",[[1,\"road-toolbar-title\"]]],[\"road-toolbar-title-page.cjs\",[[1,\"road-toolbar-title-page\"]]],[\"road-tooltip.cjs\",[[1,\"road-tooltip\",{\"tooltipId\":[1,\"tooltip-id\"],\"content\":[1],\"position\":[1],\"contentAlign\":[1,\"content-align\"],\"isOpen\":[1028,\"is-open\"],\"trigger\":[1],\"open\":[64],\"close\":[64]}]]],[\"road-avatar.cjs\",[[1,\"road-avatar\",{\"size\":[513]}]]],[\"road-card.cjs\",[[1,\"road-card\",{\"button\":[4],\"value\":[1],\"type\":[1],\"download\":[1],\"href\":[1],\"rel\":[1],\"target\":[1]}]]]]"), options);
|
|
86
|
+
return index.bootstrapLazy(JSON.parse("[[\"road-badge_14.cjs\",[[2,\"road-counter\",{\"inputId\":[1,\"input-id\"],\"min\":[2],\"max\":[2],\"step\":[1],\"value\":[2],\"size\":[1],\"dustbin\":[4],\"leftIconClasses\":[32],\"rightIconClasses\":[32],\"isDustbinVisible\":[32]}],[1,\"road-item\",{\"button\":[4],\"detail\":[4],\"active\":[4],\"detailIcon\":[1,\"detail-icon\"],\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"lines\":[1],\"target\":[1],\"type\":[1],\"multipleInputs\":[32]}],[1,\"road-badge\",{\"color\":[1],\"bubble\":[4]}],[1,\"road-list\",{\"lines\":[1]}],[1,\"road-toolbar\",{\"color\":[1]}],[33,\"road-drawer\",{\"isOpen\":[1028,\"is-open\"],\"position\":[1],\"drawerWidth\":[2,\"drawer-width\"],\"hasInverseHeader\":[4,\"has-inverse-header\"],\"hasBackIcon\":[4,\"has-back-icon\"],\"backText\":[1,\"back-text\"],\"drawerTitle\":[1,\"drawer-title\"],\"hasCloseIcon\":[4,\"has-close-icon\"],\"open\":[64],\"close\":[64],\"back\":[64]},[[4,\"keyup\",\"onEscape\"]]],[1,\"road-col\"],[1,\"road-grid\"],[6,\"road-input\",{\"inputId\":[1,\"input-id\"],\"autocapitalize\":[1],\"autocomplete\":[1],\"autocorrect\":[1],\"autofocus\":[4],\"disabled\":[4],\"enterkeyhint\":[1],\"inputmode\":[1],\"max\":[1],\"maxlength\":[2],\"min\":[1],\"minlength\":[2],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"step\":[1],\"size\":[2],\"sizes\":[1],\"type\":[1],\"value\":[1032],\"label\":[1],\"error\":[1],\"helper\":[1],\"debounce\":[2]}],[1,\"road-row\"],[1,\"road-button\",{\"color\":[1],\"size\":[513],\"buttonType\":[1,\"button-type\"],\"disabled\":[516],\"expand\":[516],\"download\":[1],\"href\":[1],\"rel\":[1],\"target\":[1],\"outline\":[4]}],[1,\"road-input-group\"],[1,\"road-label\"],[1,\"road-icon\",{\"color\":[1],\"ariaLabel\":[1537,\"aria-label\"],\"ariaHidden\":[513,\"aria-hidden\"],\"name\":[1],\"src\":[1],\"icon\":[8],\"size\":[1],\"rotate\":[1],\"lazy\":[4],\"sanitize\":[4],\"svgContent\":[32],\"isVisible\":[32]}]]],[\"road-duration.cjs\",[[1,\"road-duration\",{\"isOpen\":[1028,\"is-open\"],\"header\":[1],\"min\":[2],\"max\":[2],\"step\":[2],\"open\":[64],\"close\":[64]},[[0,\"roadcardclick\",\"handleClick\"]]]]],[\"road-plate-number.cjs\",[[2,\"road-plate-number\",{\"country\":[1],\"disabled\":[4],\"placeholder\":[1],\"readonly\":[4],\"value\":[1032],\"motorbike\":[4]}]]],[\"road-profil-dropdown.cjs\",[[1,\"road-profil-dropdown\",{\"isOpen\":[1028,\"is-open\"]}]]],[\"road-accordion.cjs\",[[1,\"road-accordion\",{\"isOpen\":[1028,\"is-open\"],\"isLight\":[4,\"is-light\"],\"isLightSeparator\":[4,\"is-light-separator\"],\"isSmall\":[4,\"is-small\"]}]]],[\"road-banner.cjs\",[[1,\"road-banner\",{\"isOpen\":[1028,\"is-open\"],\"label\":[1],\"link\":[1],\"url\":[1],\"close\":[64]}]]],[\"road-carousel.cjs\",[[1,\"road-carousel\",{\"options\":[8],\"pager\":[4],\"arrows\":[4],\"update\":[64],\"updateAutoHeight\":[64],\"slideTo\":[64],\"slideNext\":[64],\"slidePrev\":[64],\"getActiveIndex\":[64],\"getPreviousIndex\":[64],\"length\":[64],\"isEnd\":[64],\"isBeginning\":[64],\"startAutoplay\":[64],\"stopAutoplay\":[64],\"lockSwipeToNext\":[64],\"lockSwipeToPrev\":[64],\"lockSwipes\":[64],\"getSwiper\":[64]}]]],[\"road-checkbox.cjs\",[[6,\"road-checkbox\",{\"checkboxId\":[1,\"checkbox-id\"],\"name\":[1],\"required\":[4],\"checked\":[1028],\"indeterminate\":[4],\"disabled\":[4],\"value\":[1],\"label\":[1],\"inverse\":[4],\"error\":[1],\"helper\":[1]}]]],[\"road-chip.cjs\",[[1,\"road-chip\",{\"color\":[1],\"outline\":[4],\"size\":[1],\"hasCloseIcon\":[4,\"has-close-icon\"]}]]],[\"road-collapse.cjs\",[[1,\"road-collapse\",{\"isOpen\":[1028,\"is-open\"],\"showMore\":[1,\"show-more\"],\"showLess\":[1,\"show-less\"],\"centered\":[4]}]]],[\"road-dialog.cjs\",[[1,\"road-dialog\",{\"isOpen\":[1028,\"is-open\"],\"hasCloseIcon\":[4,\"has-close-icon\"],\"color\":[1],\"icon\":[1],\"label\":[1],\"description\":[1],\"open\":[64],\"close\":[64]},[[4,\"keyup\",\"onEscape\"]]]]],[\"road-dropdown.cjs\",[[1,\"road-dropdown\",{\"isOpen\":[1028,\"is-open\"],\"isLight\":[4,\"is-light\"],\"isMedium\":[4,\"is-medium\"],\"position\":[513],\"direction\":[513]}]]],[\"road-modal.cjs\",[[1,\"road-modal\",{\"maxWidth\":[2,\"max-width\"],\"isOpen\":[1028,\"is-open\"],\"hasInverseHeader\":[4,\"has-inverse-header\"],\"modalTitle\":[1,\"modal-title\"],\"hasCloseIcon\":[4,\"has-close-icon\"],\"open\":[64],\"close\":[64]},[[4,\"keyup\",\"onEscape\"]]]]],[\"road-range.cjs\",[[6,\"road-range\",{\"rangeId\":[1,\"range-id\"],\"value\":[1032],\"min\":[1],\"max\":[1],\"step\":[1],\"showValue\":[4,\"show-value\"],\"showTick\":[4,\"show-tick\"],\"showLabels\":[4,\"show-labels\"]}]]],[\"road-rating.cjs\",[[1,\"road-rating\",{\"size\":[513],\"rate\":[2],\"showreviews\":[4],\"reviews\":[2],\"reviewsText\":[1,\"reviews-text\"]}]]],[\"road-toast.cjs\",[[1,\"road-toast\",{\"isOpen\":[1028,\"is-open\"],\"color\":[1],\"label\":[1],\"timeout\":[2],\"open\":[64],\"close\":[64]}]]],[\"road-alert.cjs\",[[1,\"road-alert\",{\"color\":[1],\"label\":[1],\"link\":[1],\"url\":[1]}]]],[\"road-autocomplete.cjs\",[[6,\"road-autocomplete\",{\"options\":[16],\"visible\":[32]},[[0,\"roadFocus\",\"handleFocus\"],[0,\"roadfocus\",\"handleFocus\"],[4,\"click\",\"onClickOutside\"]]]]],[\"road-button-floating.cjs\",[[1,\"road-button-floating\",{\"position\":[513],\"href\":[1],\"rel\":[1],\"target\":[1]},[[9,\"scroll\",\"onScroll\"]]]]],[\"road-carousel-item.cjs\",[[4,\"road-carousel-item\"]]],[\"road-flap.cjs\",[[1,\"road-flap\",{\"color\":[1],\"size\":[513]}]]],[\"road-global-navigation.cjs\",[[1,\"road-global-navigation\",{\"selectedTab\":[1,\"selected-tab\"]},[[0,\"roadNavbarItemClick\",\"onNavbarChanged\"],[0,\"roadnavbaritemclick\",\"onNavbarChanged\"]]]]],[\"road-img.cjs\",[[1,\"road-img\",{\"alt\":[1],\"src\":[1],\"loadSrc\":[32],\"loadError\":[32]}]]],[\"road-navbar.cjs\",[[1,\"road-navbar\",{\"selectedTab\":[1,\"selected-tab\"]},[[0,\"roadNavbarItemClick\",\"onNavbarChanged\"],[0,\"roadnavbaritemclick\",\"onNavbarChanged\"]]]]],[\"road-navbar-item.cjs\",[[1,\"road-navbar-item\",{\"disabled\":[4],\"download\":[1],\"href\":[1],\"rel\":[1],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"roadNavbarChanged\",\"onNavbarChanged\"],[8,\"roadnavbarchanged\",\"onNavbarChanged\"]]]]],[\"road-progress.cjs\",[[1,\"road-progress\",{\"value\":[2],\"numbersteps\":[1],\"label\":[1],\"showstep\":[4],\"animation\":[4],\"light\":[4],\"fullwidth\":[4],\"color\":[1]}]]],[\"road-progress-indicator-horizontal.cjs\",[[1,\"road-progress-indicator-horizontal\",{\"color\":[513],\"stateFirstStep\":[1,\"state-first-step\"],\"stateSecondStep\":[1,\"state-second-step\"],\"stateThirdStep\":[1,\"state-third-step\"],\"urlStep1\":[1,\"url-step-1\"],\"urlStep2\":[1,\"url-step-2\"],\"urlStep3\":[1,\"url-step-3\"]}]]],[\"road-progress-indicator-vertical.cjs\",[[1,\"road-progress-indicator-vertical\"]]],[\"road-progress-indicator-vertical-item.cjs\",[[4,\"road-progress-indicator-vertical-item\"]]],[\"road-progress-tracker.cjs\",[[1,\"road-progress-tracker\"]]],[\"road-progress-tracker-item.cjs\",[[4,\"road-progress-tracker-item\"]]],[\"road-radio.cjs\",[[2,\"road-radio\",{\"radioId\":[1,\"radio-id\"],\"name\":[1],\"required\":[4],\"disabled\":[4],\"value\":[8],\"label\":[1],\"inverse\":[4],\"error\":[4],\"helper\":[1],\"inline\":[4],\"checked\":[32]},[[8,\"roadChange\",\"onRoadChangedChanged\"],[8,\"roadchange\",\"onRoadChangedChanged\"]]]]],[\"road-radio-group.cjs\",[[6,\"road-radio-group\",{\"radioGroupId\":[1,\"radio-group-id\"],\"allowEmptySelection\":[4,\"allow-empty-selection\"],\"name\":[1],\"value\":[1032],\"label\":[1],\"asterisk\":[4],\"ariaLabel\":[513,\"aria-label\"],\"error\":[1025],\"helper\":[1]}]]],[\"road-segmented-button.cjs\",[[1,\"road-segmented-button\",{\"size\":[1],\"selected\":[1028],\"tab\":[1]},[[8,\"roadSegmentedButtonBarChanged\",\"onButtonBarChanged\"],[8,\"roadSegmentedButtonbarchanged\",\"onButtonBarChanged\"]]]]],[\"road-segmented-button-bar.cjs\",[[1,\"road-segmented-button-bar\",{\"selectedTab\":[1,\"selected-tab\"]}]]],[\"road-segmented-buttons.cjs\",[[1,\"road-segmented-buttons\",{\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64]}]]],[\"road-select.cjs\",[[2,\"road-select\",{\"selectId\":[1,\"select-id\"],\"options\":[16],\"autofocus\":[4],\"disabled\":[4],\"name\":[1],\"required\":[4],\"size\":[2],\"sizes\":[1],\"label\":[1],\"error\":[1],\"value\":[1032]}]]],[\"road-select-filter.cjs\",[[6,\"road-select-filter\",{\"options\":[16],\"parameters\":[8],\"isActive\":[4,\"is-active\"],\"onlySelect\":[4,\"only-select\"],\"isOpen\":[32],\"currentValue\":[32]},[[0,\"roadFocus\",\"handleFocus\"],[0,\"roadfocus\",\"handleFocus\"],[0,\"roadBlur\",\"handleBlur\"],[0,\"roadblur\",\"handleBlur\"],[0,\"roadChange\",\"handleChange\"],[0,\"roadchange\",\"handleChange\"],[4,\"click\",\"onClickOutside\"]]]]],[\"road-skeleton.cjs\",[[1,\"road-skeleton\"]]],[\"road-spinner.cjs\",[[1,\"road-spinner\",{\"size\":[513],\"color\":[513]}]]],[\"road-switch.cjs\",[[2,\"road-switch\",{\"switchId\":[1,\"switch-id\"],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"label\":[1],\"color\":[1],\"hasLeftLabel\":[4,\"has-left-label\"],\"isSpaced\":[4,\"is-spaced\"],\"value\":[1],\"on\":[1],\"off\":[1]}]]],[\"road-tab.cjs\",[[1,\"road-tab\",{\"active\":[1028],\"tab\":[1],\"setActive\":[64]}]]],[\"road-tab-bar.cjs\",[[1,\"road-tab-bar\",{\"secondary\":[4],\"expand\":[4],\"center\":[4],\"selectedTab\":[1,\"selected-tab\"]}]]],[\"road-tab-button.cjs\",[[1,\"road-tab-button\",{\"download\":[1],\"href\":[1],\"rel\":[1],\"layout\":[1],\"selected\":[1028],\"tab\":[1],\"target\":[1]},[[8,\"roadTabBarChanged\",\"onTabBarChanged\"],[8,\"roadTabbarchanged\",\"onTabBarChanged\"]]]]],[\"road-table.cjs\",[[6,\"road-table\"]]],[\"road-tabs.cjs\",[[1,\"road-tabs\",{\"selectedTab\":[32],\"select\":[64],\"getTab\":[64],\"getSelected\":[64]}]]],[\"road-tag.cjs\",[[1,\"road-tag\",{\"color\":[1],\"contrast\":[4]}]]],[\"road-text.cjs\",[[1,\"road-text\",{\"color\":[1]}]]],[\"road-textarea.cjs\",[[2,\"road-textarea\",{\"textareaId\":[1,\"textarea-id\"],\"autocapitalize\":[1],\"autofocus\":[4],\"disabled\":[4],\"inputmode\":[1],\"enterkeyhint\":[1],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"placeholder\":[1],\"sizes\":[1],\"readonly\":[4],\"required\":[4],\"spellcheck\":[4],\"resize\":[4],\"cols\":[2],\"rows\":[2],\"wrap\":[1],\"value\":[1025],\"label\":[1],\"error\":[1],\"helper\":[1]}]]],[\"road-toggle.cjs\",[[2,\"road-toggle\",{\"toggleId\":[1,\"toggle-id\"],\"name\":[1],\"checked\":[1028],\"disabled\":[4],\"label\":[1],\"color\":[1],\"hasLeftLabel\":[4,\"has-left-label\"],\"isSpaced\":[4,\"is-spaced\"],\"value\":[1],\"on\":[1],\"off\":[1]}]]],[\"road-toolbar-title.cjs\",[[1,\"road-toolbar-title\"]]],[\"road-toolbar-title-page.cjs\",[[1,\"road-toolbar-title-page\"]]],[\"road-tooltip.cjs\",[[1,\"road-tooltip\",{\"tooltipId\":[1,\"tooltip-id\"],\"content\":[1],\"position\":[1],\"contentAlign\":[1,\"content-align\"],\"isOpen\":[1028,\"is-open\"],\"trigger\":[1],\"open\":[64],\"close\":[64]}]]],[\"road-avatar.cjs\",[[1,\"road-avatar\",{\"size\":[513]}]]],[\"road-card.cjs\",[[1,\"road-card\",{\"button\":[4],\"value\":[1],\"type\":[1],\"download\":[1],\"href\":[1],\"rel\":[1],\"target\":[1]}]]]]"), options);
|
|
87
87
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m31.508 8.666-.723 1.905a8.23 8.23 0 0 0-.535 2.929 8.25 8.25 0 0 0 10.497 7.94l1.361-.384.214 1.398a6.252 6.252 0 0 0 10.31 3.736l1.58-1.395.466 2.056c.374 1.658.572 3.381.572 5.149 0 12.84-10.41 23.25-23.25 23.25S8.75 44.84 8.75 32c0-11.99 9.075-21.86 20.732-23.115l2.026-.219Zm-3.6 2.987C18.408 13.553 11.25 21.941 11.25 32c0 11.46 9.29 20.75 20.75 20.75S52.75 43.46 52.75 32c0-.934-.062-1.852-.18-2.752a8.753 8.753 0 0 1-12.419-5.124 10.82 10.82 0 0 1-1.651.126c-5.937 0-10.75-4.813-10.75-10.75 0-.63.054-1.246.158-1.847ZM23 17.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-3.25.75a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0ZM22 25.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5ZM15.75 29a6.25 6.25 0 1 1 12.5 0 6.25 6.25 0 0 1-12.5 0ZM34 32.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-3.25.75a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm14.25.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-3.25.75a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm-26 7a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM35.75 43a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM24.75 44a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M42.25 9.846v2.136l1.526-1.525-1.526-.61Zm-2.5-1.107a1.75 1.75 0 0 1 2.4-1.625l3.61 1.444a1.75 1.75 0 0 1 .588 2.862l-3.61 3.61c-1.103 1.103-2.988.322-2.988-1.237V8.739Zm13.328 3.994-2.313 3.702 4.164-1.157-1.85-2.545Zm-1.53-2.267a1.75 1.75 0 0 1 2.899-.102l3.14 4.318a1.75 1.75 0 0 1-.947 2.715l-7.066 1.963c-1.538.427-2.798-1.26-1.952-2.614l3.925-6.28Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m31.508 8.666-.723 1.905a8.23 8.23 0 0 0-.535 2.929 8.25 8.25 0 0 0 10.497 7.94l1.361-.384.214 1.398a6.252 6.252 0 0 0 10.31 3.736l1.58-1.395.466 2.056c.374 1.658.572 3.381.572 5.149 0 12.84-10.41 23.25-23.25 23.25S8.75 44.84 8.75 32c0-11.99 9.075-21.86 20.732-23.115l2.026-.219Zm-3.6 2.987C18.408 13.553 11.25 21.941 11.25 32c0 11.46 9.29 20.75 20.75 20.75S52.75 43.46 52.75 32c0-.934-.062-1.852-.18-2.752a8.753 8.753 0 0 1-12.419-5.124 10.82 10.82 0 0 1-1.651.126c-5.937 0-10.75-4.813-10.75-10.75 0-.63.054-1.246.158-1.847ZM23 17.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-3.25.75a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0ZM22 25.25a3.75 3.75 0 1 0 0 7.5 3.75 3.75 0 0 0 0-7.5ZM15.75 29a6.25 6.25 0 1 1 12.5 0 6.25 6.25 0 0 1-12.5 0ZM34 32.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-3.25.75a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm14.25.25a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-3.25.75a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm-26 7a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM35.75 43a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5ZM24.75 44a3.25 3.25 0 1 1 6.5 0 3.25 3.25 0 0 1-6.5 0Zm3.25-.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M42.25 9.846v2.136l1.526-1.525-1.526-.61Zm-2.5-1.107a1.75 1.75 0 0 1 2.4-1.625l3.61 1.444a1.75 1.75 0 0 1 .588 2.862l-3.61 3.61c-1.103 1.103-2.988.322-2.988-1.237V8.739Zm13.328 3.994-2.313 3.702 4.164-1.157-1.85-2.545Zm-1.53-2.267a1.75 1.75 0 0 1 2.899-.102l3.14 4.318a1.75 1.75 0 0 1-.947 2.715l-7.066 1.963c-1.538.427-2.798-1.26-1.952-2.614l3.925-6.28Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M21.333 50.667 50.667 32 21.333 13.333v37.334Zm2.5-32.78v28.226L46.01 32 23.833 17.887Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.5 32c0 11.874-9.626 21.5-21.5 21.5a21.422 21.422 0 0 1-14.48-5.606L47.895 17.52A21.422 21.422 0 0 1 53.5 32ZM16.107 46.48 46.48 16.107A21.422 21.422 0 0 0 32 10.5c-11.874 0-21.5 9.626-21.5 21.5a21.422 21.422 0 0 0 5.607 14.48ZM56 32c0 13.255-10.745 24-24 24S8 45.255 8 32 18.745 8 32 8s24 10.745 24 24Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 29.5h5V32h-5v-2.5Zm0 11h38V43H13v-2.5Zm16-11h-5V32h5v-2.5Zm6 0h5V32h-5v-2.5Zm16 0h-5V32h5v-2.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M27 13h-2.5v38H27V13Zm12.5 0H37v38h2.5V13Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13 40.5h38V43H13v-2.5Zm38-11H13V32h38v-2.5Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="m28.116 29.884-5.139-5.14c-4.007-4.006-10.503-4.006-14.51.001-4.007 4.007-4.007 10.503 0 14.51s10.503 4.007 14.51 0l8.14-8.139 8.138-8.139c4.983-4.983 13.063-4.983 18.046 0 4.983 4.983 4.983 13.063 0 18.046-4.983 4.983-13.063 4.983-18.046 0l-5.139-5.139 1.768-1.768 5.139 5.14c4.007 4.006 10.503 4.006 14.51 0 4.007-4.008 4.007-10.504 0-14.511s-10.503-4.007-14.51 0l-8.14 8.139-8.138 8.14c-4.983 4.982-13.063 4.982-18.046 0-4.983-4.984-4.983-13.064 0-18.047 4.983-4.983 13.063-4.983 18.046 0l5.139 5.14-1.768 1.767Z"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M46.42 6.3c-4.87 0-8.84 3.96-8.84 8.84s3.96 8.84 8.84 8.84 8.84-3.96 8.84-8.84S51.3 6.3 46.42 6.3Zm0 15.17c-3.49 0-6.34-2.84-6.34-6.34s2.84-6.34 6.34-6.34 6.34 2.84 6.34 6.34-2.84 6.34-6.34 6.34ZM47.67 0h-2.5v2.52h2.
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M46.42 6.3c-4.87 0-8.84 3.96-8.84 8.84s3.96 8.84 8.84 8.84 8.84-3.96 8.84-8.84S51.3 6.3 46.42 6.3Zm0 15.17c-3.49 0-6.34-2.84-6.34-6.34s2.84-6.34 6.34-6.34 6.34 2.84 6.34 6.34-2.84 6.34-6.34 6.34ZM47.67 0h-2.5v2.52h2.5V0Zm0 27.74h-2.5v2.52h2.5v-2.52Zm13.88-13.86h-2.52v2.5h2.52v-2.5Zm-27.74 0h-2.52v2.5h2.52v-2.5ZM56.236 3.544l-1.782 1.782 1.767 1.768 1.783-1.782-1.768-1.768ZM36.621 23.17l-1.782 1.782 1.767 1.768 1.783-1.781-1.768-1.768Zm19.598 0-1.768 1.768 1.782 1.782L58 24.951l-1.782-1.782ZM36.609 3.543 34.841 5.31l1.782 1.782 1.768-1.767-1.782-1.782ZM22.11 40.69l6.21 1.67.65-2.42-5.51-1.47 1.48-5.51-2.42-.64-1.66 6.21-5.13 2.96v-5.92l4.55-4.55-1.77-1.77-4.03 4.03-4.03-4.03-1.76 1.77 4.54 4.55v5.92l-5.12-2.96-1.67-6.21-2.41.64 1.48 5.51L0 39.94l.65 2.42 6.21-1.67 5.12 2.96-5.12 2.96-6.21-1.67L0 47.36l5.51 1.47-1.48 5.51 2.41.65 1.67-6.22 5.12-2.95v5.91l-4.54 4.55 1.76 1.77 4.03-4.03 4.03 4.03 1.77-1.77-4.55-4.55v-5.91l5.13 2.95 1.66 6.22 2.42-.65-1.48-5.51 5.51-1.47-.65-2.42-6.21 1.67-5.13-2.96 5.13-2.96Z"/><path d="m19.23 20.62-1.77-1.77-1.72 1.72v-2.09c0-4.41 3.59-8 8-8h2.03v-2.5h-2.03c-5.79 0-10.5 4.71-10.5 10.5v2.09l-1.72-1.72-1.77 1.77 4.74 4.74 4.74-4.74Zm22.72 19.35 1.77 1.77 1.46-1.46v1.82c0 4.41-3.59 8-8 8h-2.03v2.5h2.03c5.79 0 10.5-4.71 10.5-10.5v-2.36l1.99 1.99 1.77-1.77-4.74-4.74-4.75 4.75Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/></svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path d="M46.42 6.3c-4.87 0-8.84 3.96-8.84 8.84s3.96 8.84 8.84 8.84 8.84-3.96 8.84-8.84S51.3 6.3 46.42 6.3Zm0 15.17c-3.49 0-6.34-2.84-6.34-6.34s2.84-6.34 6.34-6.34 6.34 2.84 6.34 6.34-2.84 6.34-6.34 6.34ZM47.67 0h-2.5v2.52h2.
|
|
1
|
+
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path d="M46.42 6.3c-4.87 0-8.84 3.96-8.84 8.84s3.96 8.84 8.84 8.84 8.84-3.96 8.84-8.84S51.3 6.3 46.42 6.3Zm0 15.17c-3.49 0-6.34-2.84-6.34-6.34s2.84-6.34 6.34-6.34 6.34 2.84 6.34 6.34-2.84 6.34-6.34 6.34ZM47.67 0h-2.5v2.52h2.5V0Zm0 27.74h-2.5v2.52h2.5v-2.52Zm13.88-13.86h-2.52v2.5h2.52v-2.5Zm-27.74 0h-2.52v2.5h2.52v-2.5ZM56.236 3.544l-1.782 1.782 1.767 1.768 1.783-1.782-1.768-1.768ZM36.621 23.17l-1.782 1.782 1.767 1.768 1.783-1.781-1.768-1.768Zm19.598 0-1.768 1.768 1.782 1.782L58 24.951l-1.782-1.782ZM36.609 3.543 34.841 5.31l1.782 1.782 1.768-1.767-1.782-1.782ZM22.11 40.69l6.21 1.67.65-2.42-5.51-1.47 1.48-5.51-2.42-.64-1.66 6.21-5.13 2.96v-5.92l4.55-4.55-1.77-1.77-4.03 4.03-4.03-4.03-1.76 1.77 4.54 4.55v5.92l-5.12-2.96-1.67-6.21-2.41.64 1.48 5.51L0 39.94l.65 2.42 6.21-1.67 5.12 2.96-5.12 2.96-6.21-1.67L0 47.36l5.51 1.47-1.48 5.51 2.41.65 1.67-6.22 5.12-2.95v5.91l-4.54 4.55 1.76 1.77 4.03-4.03 4.03 4.03 1.77-1.77-4.55-4.55v-5.91l5.13 2.95 1.66 6.22 2.42-.65-1.48-5.51 5.51-1.47-.65-2.42-6.21 1.67-5.13-2.96 5.13-2.96Zm-2.88-20.07-1.77-1.77-1.72 1.72v-2.09c0-4.41 3.59-8 8-8h2.03v-2.5h-2.03c-5.79 0-10.5 4.71-10.5 10.5v2.09l-1.72-1.72-1.77 1.77 4.74 4.74 4.74-4.74Zm22.72 19.35 1.77 1.77 1.46-1.46v1.82c0 4.41-3.59 8-8 8h-2.03v2.5h2.03c5.79 0 10.5-4.71 10.5-10.5v-2.36l1.99 1.99 1.77-1.77-4.74-4.74-4.75 4.75Z"/></svg>
|
|
@@ -124,7 +124,8 @@
|
|
|
124
124
|
}
|
|
125
125
|
/* stylelint-enable */
|
|
126
126
|
|
|
127
|
-
.form-control:not(:disabled):focus
|
|
127
|
+
.form-control:not(:disabled):focus,
|
|
128
|
+
.form-control[autofocus] {
|
|
128
129
|
border-color: var(--road-input-outline-variant);
|
|
129
130
|
outline: 0;
|
|
130
131
|
}
|
|
@@ -193,6 +194,7 @@
|
|
|
193
194
|
}
|
|
194
195
|
|
|
195
196
|
:host(.input-xl) .form-control:focus ~ .form-label,
|
|
197
|
+
:host(.input-xl) .form-control[autofocus] ~ .form-label,
|
|
196
198
|
:host(.input-xl) .form-control[required]:valid ~ .form-label,
|
|
197
199
|
:host(.input-xl) .form-control.has-value ~ .form-label,
|
|
198
200
|
:host(.input-xl) .form-control[type="date"] ~ .form-label,
|
|
@@ -9,15 +9,15 @@ export const Playground = () => html`
|
|
|
9
9
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
10
10
|
Home
|
|
11
11
|
</a>
|
|
12
|
-
<
|
|
12
|
+
<span class="mx-8">/</span>
|
|
13
13
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
14
14
|
link 1
|
|
15
15
|
</a>
|
|
16
|
-
<
|
|
16
|
+
<span class="mx-8">/</span>
|
|
17
17
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
18
18
|
link 2
|
|
19
19
|
</a>
|
|
20
|
-
<
|
|
20
|
+
<span class="mx-8">/</span>
|
|
21
21
|
<span>
|
|
22
22
|
Page title
|
|
23
23
|
</span>
|
|
@@ -30,7 +30,7 @@ export const Levels = () => html`
|
|
|
30
30
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
31
31
|
Home
|
|
32
32
|
</a>
|
|
33
|
-
<
|
|
33
|
+
<span class="mx-8">/</span>
|
|
34
34
|
<span>
|
|
35
35
|
Page title
|
|
36
36
|
</span>
|
|
@@ -41,11 +41,11 @@ export const Levels = () => html`
|
|
|
41
41
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
42
42
|
Home
|
|
43
43
|
</a>
|
|
44
|
-
<
|
|
44
|
+
<span class="mx-8">/</span>
|
|
45
45
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
46
46
|
link 1
|
|
47
47
|
</a>
|
|
48
|
-
<
|
|
48
|
+
<span class="mx-8">/</span>
|
|
49
49
|
<span>
|
|
50
50
|
Page title
|
|
51
51
|
</span>
|
|
@@ -56,15 +56,15 @@ export const Levels = () => html`
|
|
|
56
56
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
57
57
|
Home
|
|
58
58
|
</a>
|
|
59
|
-
<
|
|
59
|
+
<span class="mx-8">/</span>
|
|
60
60
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
61
61
|
link 1
|
|
62
62
|
</a>
|
|
63
|
-
<
|
|
63
|
+
<span class="mx-8">/</span>
|
|
64
64
|
<a class="link link-default d-inline-flex align-items-center" href="#">
|
|
65
65
|
link 2
|
|
66
66
|
</a>
|
|
67
|
-
<
|
|
67
|
+
<span class="mx-8">/</span>
|
|
68
68
|
<span>
|
|
69
69
|
Page title
|
|
70
70
|
</span>
|
|
@@ -10,6 +10,10 @@ export class Rating {
|
|
|
10
10
|
* Rate review between 0 and 5
|
|
11
11
|
*/
|
|
12
12
|
this.rate = 0;
|
|
13
|
+
/**
|
|
14
|
+
* Show reviews
|
|
15
|
+
*/
|
|
16
|
+
this.showreviews = true;
|
|
13
17
|
/**
|
|
14
18
|
* number of reviews
|
|
15
19
|
*/
|
|
@@ -24,7 +28,7 @@ export class Rating {
|
|
|
24
28
|
const rateDecimale = this.rate - Math.floor(this.rate) > 0 ? 1 : 0;
|
|
25
29
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
26
30
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
27
|
-
return (h(Host, null, h("div", { class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => h("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => h("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => h("road-icon", { icon: star, size: "sm", class: "rating-star" }))), h("a", { class: `${sizeRatingNumberClass}`, href: "#" }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
31
|
+
return (h(Host, null, h("div", { class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => h("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => h("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => h("road-icon", { icon: star, size: "sm", class: "rating-star" }))), this.showreviews && h("a", { class: `${sizeRatingNumberClass}`, href: "#" }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
28
32
|
}
|
|
29
33
|
static get is() { return "road-rating"; }
|
|
30
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -76,6 +80,24 @@ export class Rating {
|
|
|
76
80
|
"reflect": false,
|
|
77
81
|
"defaultValue": "0"
|
|
78
82
|
},
|
|
83
|
+
"showreviews": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "boolean",
|
|
88
|
+
"resolved": "boolean",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": "Show reviews"
|
|
96
|
+
},
|
|
97
|
+
"attribute": "showreviews",
|
|
98
|
+
"reflect": false,
|
|
99
|
+
"defaultValue": "true"
|
|
100
|
+
},
|
|
79
101
|
"reviews": {
|
|
80
102
|
"type": "number",
|
|
81
103
|
"mutable": false,
|
|
@@ -18,6 +18,9 @@ export default {
|
|
|
18
18
|
max: '5',
|
|
19
19
|
},
|
|
20
20
|
},
|
|
21
|
+
showreviews: {
|
|
22
|
+
control: 'boolean',
|
|
23
|
+
},
|
|
21
24
|
reviews: {
|
|
22
25
|
control: {
|
|
23
26
|
type: 'number',
|
|
@@ -38,7 +41,8 @@ const Template = (args) => html`
|
|
|
38
41
|
rate="${ifDefined(args.rate)}"
|
|
39
42
|
reviews="${ifDefined(args.reviews)}"
|
|
40
43
|
reviews-text="${ifDefined(args['reviews-text'])}"
|
|
41
|
-
size="${ifDefined(args.size)}"
|
|
44
|
+
size="${ifDefined(args.size)}"
|
|
45
|
+
showreviews="${ifDefined(args.showreviews)}"
|
|
42
46
|
></road-rating>
|
|
43
47
|
`;
|
|
44
48
|
|
|
@@ -47,6 +51,7 @@ Playground.args = {
|
|
|
47
51
|
rate: 3,
|
|
48
52
|
reviews: 5,
|
|
49
53
|
'reviews-text': 'reviews',
|
|
54
|
+
showreviews:'true',
|
|
50
55
|
};
|
|
51
56
|
|
|
52
57
|
export const Rating = Template.bind({});
|
|
@@ -60,3 +65,10 @@ MaxRating.args = {
|
|
|
60
65
|
rate: 5,
|
|
61
66
|
reviews: 50,
|
|
62
67
|
};
|
|
68
|
+
|
|
69
|
+
export const LightRating = Template.bind({});
|
|
70
|
+
LightRating.args = {
|
|
71
|
+
rate: 5,
|
|
72
|
+
reviews: 50,
|
|
73
|
+
showreviews:'false',
|
|
74
|
+
};
|
|
@@ -34,6 +34,13 @@ const uniqueTime = (key, measureText) => {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
|
+
const CONTENT_REF_ID = 'r';
|
|
38
|
+
const ORG_LOCATION_ID = 'o';
|
|
39
|
+
const SLOT_NODE_ID = 's';
|
|
40
|
+
const TEXT_NODE_ID = 't';
|
|
41
|
+
const HYDRATE_ID = 's-id';
|
|
42
|
+
const HYDRATED_STYLE_ID = 'sty-id';
|
|
43
|
+
const HYDRATE_CHILD_ID = 'c-id';
|
|
37
44
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
38
45
|
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
39
46
|
/**
|
|
@@ -184,6 +191,211 @@ const convertToPrivate = (node) => {
|
|
|
184
191
|
vnode.$name$ = node.vname;
|
|
185
192
|
return vnode;
|
|
186
193
|
};
|
|
194
|
+
const initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
195
|
+
const endHydrate = createTime('hydrateClient', tagName);
|
|
196
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
197
|
+
const childRenderNodes = [];
|
|
198
|
+
const slotNodes = [];
|
|
199
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
200
|
+
const vnode = (hostRef.$vnode$ = newVNode(tagName, null));
|
|
201
|
+
if (!plt.$orgLocNodes$) {
|
|
202
|
+
initializeDocumentHydrate(doc.body, (plt.$orgLocNodes$ = new Map()));
|
|
203
|
+
}
|
|
204
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
205
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
206
|
+
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
207
|
+
childRenderNodes.map((c) => {
|
|
208
|
+
const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;
|
|
209
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
210
|
+
const node = c.$elm$;
|
|
211
|
+
if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {
|
|
212
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
213
|
+
}
|
|
214
|
+
if (!shadowRoot) {
|
|
215
|
+
node['s-hn'] = tagName;
|
|
216
|
+
if (orgLocationNode) {
|
|
217
|
+
node['s-ol'] = orgLocationNode;
|
|
218
|
+
node['s-ol']['s-nr'] = node;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
222
|
+
});
|
|
223
|
+
if (shadowRoot) {
|
|
224
|
+
shadowRootNodes.map((shadowRootNode) => {
|
|
225
|
+
if (shadowRootNode) {
|
|
226
|
+
shadowRoot.appendChild(shadowRootNode);
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
endHydrate();
|
|
231
|
+
};
|
|
232
|
+
const clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
233
|
+
let childNodeType;
|
|
234
|
+
let childIdSplt;
|
|
235
|
+
let childVNode;
|
|
236
|
+
let i;
|
|
237
|
+
if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
238
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
239
|
+
if (childNodeType) {
|
|
240
|
+
// got the node data from the element's attribute
|
|
241
|
+
// `${hostId}.${nodeId}.${depth}.${index}`
|
|
242
|
+
childIdSplt = childNodeType.split('.');
|
|
243
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {
|
|
244
|
+
childVNode = {
|
|
245
|
+
$flags$: 0,
|
|
246
|
+
$hostId$: childIdSplt[0],
|
|
247
|
+
$nodeId$: childIdSplt[1],
|
|
248
|
+
$depth$: childIdSplt[2],
|
|
249
|
+
$index$: childIdSplt[3],
|
|
250
|
+
$tag$: node.tagName.toLowerCase(),
|
|
251
|
+
$elm$: node,
|
|
252
|
+
$attrs$: null,
|
|
253
|
+
$children$: null,
|
|
254
|
+
$key$: null,
|
|
255
|
+
$name$: null,
|
|
256
|
+
$text$: null,
|
|
257
|
+
};
|
|
258
|
+
childRenderNodes.push(childVNode);
|
|
259
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
260
|
+
// this is a new child vnode
|
|
261
|
+
// so ensure its parent vnode has the vchildren array
|
|
262
|
+
if (!parentVNode.$children$) {
|
|
263
|
+
parentVNode.$children$ = [];
|
|
264
|
+
}
|
|
265
|
+
// add our child vnode to a specific index of the vnode's children
|
|
266
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
267
|
+
// this is now the new parent vnode for all the next child checks
|
|
268
|
+
parentVNode = childVNode;
|
|
269
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
270
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
// recursively drill down, end to start so we can remove nodes
|
|
275
|
+
for (i = node.childNodes.length - 1; i >= 0; i--) {
|
|
276
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);
|
|
277
|
+
}
|
|
278
|
+
if (node.shadowRoot) {
|
|
279
|
+
// keep drilling down through the shadow root nodes
|
|
280
|
+
for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {
|
|
281
|
+
clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
|
|
286
|
+
// `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`
|
|
287
|
+
childIdSplt = node.nodeValue.split('.');
|
|
288
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {
|
|
289
|
+
// comment node for either the host id or a 0 host id
|
|
290
|
+
childNodeType = childIdSplt[0];
|
|
291
|
+
childVNode = {
|
|
292
|
+
$flags$: 0,
|
|
293
|
+
$hostId$: childIdSplt[1],
|
|
294
|
+
$nodeId$: childIdSplt[2],
|
|
295
|
+
$depth$: childIdSplt[3],
|
|
296
|
+
$index$: childIdSplt[4],
|
|
297
|
+
$elm$: node,
|
|
298
|
+
$attrs$: null,
|
|
299
|
+
$children$: null,
|
|
300
|
+
$key$: null,
|
|
301
|
+
$name$: null,
|
|
302
|
+
$tag$: null,
|
|
303
|
+
$text$: null,
|
|
304
|
+
};
|
|
305
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
306
|
+
childVNode.$elm$ = node.nextSibling;
|
|
307
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {
|
|
308
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
309
|
+
childRenderNodes.push(childVNode);
|
|
310
|
+
// remove the text comment since it's no longer needed
|
|
311
|
+
node.remove();
|
|
312
|
+
if (!parentVNode.$children$) {
|
|
313
|
+
parentVNode.$children$ = [];
|
|
314
|
+
}
|
|
315
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
316
|
+
if (shadowRootNodes && childVNode.$depth$ === '0') {
|
|
317
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
else if (childVNode.$hostId$ === hostId) {
|
|
322
|
+
// this comment node is specifcally for this host id
|
|
323
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
324
|
+
// `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;
|
|
325
|
+
childVNode.$tag$ = 'slot';
|
|
326
|
+
if (childIdSplt[5]) {
|
|
327
|
+
node['s-sn'] = childVNode.$name$ = childIdSplt[5];
|
|
328
|
+
}
|
|
329
|
+
else {
|
|
330
|
+
node['s-sn'] = '';
|
|
331
|
+
}
|
|
332
|
+
node['s-sr'] = true;
|
|
333
|
+
if (shadowRootNodes) {
|
|
334
|
+
// browser support shadowRoot and this is a shadow dom component
|
|
335
|
+
// create an actual slot element
|
|
336
|
+
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
337
|
+
if (childVNode.$name$) {
|
|
338
|
+
// add the slot name attribute
|
|
339
|
+
childVNode.$elm$.setAttribute('name', childVNode.$name$);
|
|
340
|
+
}
|
|
341
|
+
// insert the new slot element before the slot comment
|
|
342
|
+
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
343
|
+
// remove the slot comment since it's not needed for shadow
|
|
344
|
+
node.remove();
|
|
345
|
+
if (childVNode.$depth$ === '0') {
|
|
346
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
slotNodes.push(childVNode);
|
|
350
|
+
if (!parentVNode.$children$) {
|
|
351
|
+
parentVNode.$children$ = [];
|
|
352
|
+
}
|
|
353
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
354
|
+
}
|
|
355
|
+
else if (childNodeType === CONTENT_REF_ID) {
|
|
356
|
+
// `${CONTENT_REF_ID}.${hostId}`;
|
|
357
|
+
if (shadowRootNodes) {
|
|
358
|
+
// remove the content ref comment since it's not needed for shadow
|
|
359
|
+
node.remove();
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
hostElm['s-cr'] = node;
|
|
363
|
+
node['s-cn'] = true;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
else if (parentVNode && parentVNode.$tag$ === 'style') {
|
|
370
|
+
const vnode = newVNode(null, node.textContent);
|
|
371
|
+
vnode.$elm$ = node;
|
|
372
|
+
vnode.$index$ = '0';
|
|
373
|
+
parentVNode.$children$ = [vnode];
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
const initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
377
|
+
if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
378
|
+
let i = 0;
|
|
379
|
+
for (; i < node.childNodes.length; i++) {
|
|
380
|
+
initializeDocumentHydrate(node.childNodes[i], orgLocNodes);
|
|
381
|
+
}
|
|
382
|
+
if (node.shadowRoot) {
|
|
383
|
+
for (i = 0; i < node.shadowRoot.childNodes.length; i++) {
|
|
384
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {
|
|
389
|
+
const childIdSplt = node.nodeValue.split('.');
|
|
390
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
391
|
+
orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);
|
|
392
|
+
node.nodeValue = '';
|
|
393
|
+
// useful to know if the original location is
|
|
394
|
+
// the root light-dom of a shadow dom component
|
|
395
|
+
node['s-en'] = childIdSplt[3];
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
};
|
|
187
399
|
// Private
|
|
188
400
|
const computeMode = (elm) => modeResolutionChain.map((h) => h(elm)).find((m) => !!m);
|
|
189
401
|
// Public
|
|
@@ -293,7 +505,12 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
293
505
|
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
294
506
|
}
|
|
295
507
|
if (!appliedStyles.has(scopeId)) {
|
|
296
|
-
|
|
508
|
+
if (styleContainerNode.host &&
|
|
509
|
+
(styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId}"]`))) {
|
|
510
|
+
// This is only happening on native shadow-dom, do not needs CSS var shim
|
|
511
|
+
styleElm.innerHTML = style;
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
297
514
|
if (plt.$cssShim$) {
|
|
298
515
|
styleElm = plt.$cssShim$.createHostStyle(hostElm, scopeId, style, !!(cmpMeta.$flags$ & 10 /* CMP_FLAGS.needsScopedEncapsulation */));
|
|
299
516
|
const newScopeId = styleElm['s-sc'];
|
|
@@ -345,6 +562,7 @@ const attachStyles = (hostRef) => {
|
|
|
345
562
|
endAttachStyles();
|
|
346
563
|
};
|
|
347
564
|
const getScopeId = (cmp, mode) => 'sc-' + (mode && cmp.$flags$ & 32 /* CMP_FLAGS.hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);
|
|
565
|
+
const convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, '$1{');
|
|
348
566
|
/**
|
|
349
567
|
* Production setAccessor() function based on Preact by
|
|
350
568
|
* Jason Miller (@developit)
|
|
@@ -1699,7 +1917,19 @@ const connectedCallback = (elm) => {
|
|
|
1699
1917
|
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1700
1918
|
// first time this component has connected
|
|
1701
1919
|
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1920
|
+
let hostId;
|
|
1702
1921
|
{
|
|
1922
|
+
hostId = elm.getAttribute(HYDRATE_ID);
|
|
1923
|
+
if (hostId) {
|
|
1924
|
+
if (supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1925
|
+
const scopeId = addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode'))
|
|
1926
|
+
;
|
|
1927
|
+
elm.classList.remove(scopeId + '-h', scopeId + '-s');
|
|
1928
|
+
}
|
|
1929
|
+
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
if (!hostId) {
|
|
1703
1933
|
// initUpdate
|
|
1704
1934
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1705
1935
|
// in here to act as original content anchors as we move nodes around
|
|
@@ -1715,7 +1945,10 @@ const connectedCallback = (elm) => {
|
|
|
1715
1945
|
while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
|
|
1716
1946
|
// climb up the ancestors looking for the first
|
|
1717
1947
|
// component that hasn't finished its lifecycle update yet
|
|
1718
|
-
if (ancestorComponent
|
|
1948
|
+
if ((ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ &&
|
|
1949
|
+
ancestorComponent.hasAttribute('s-id') &&
|
|
1950
|
+
ancestorComponent['s-p']) ||
|
|
1951
|
+
ancestorComponent['s-p']) {
|
|
1719
1952
|
// we found this components first ancestor component
|
|
1720
1953
|
// keep a reference to this component's ancestor component
|
|
1721
1954
|
attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
|
|
@@ -1788,10 +2021,22 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1788
2021
|
const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
|
|
1789
2022
|
const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
|
|
1790
2023
|
const deferredConnectedCallbacks = [];
|
|
2024
|
+
const styles = /*@__PURE__*/ doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
|
|
1791
2025
|
let appLoadFallback;
|
|
1792
2026
|
let isBootstrapping = true;
|
|
2027
|
+
let i = 0;
|
|
1793
2028
|
Object.assign(plt, options);
|
|
1794
2029
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
2030
|
+
{
|
|
2031
|
+
// If the app is already hydrated there is not point to disable the
|
|
2032
|
+
// async queue. This will improve the first input delay
|
|
2033
|
+
plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;
|
|
2034
|
+
}
|
|
2035
|
+
{
|
|
2036
|
+
for (; i < styles.length; i++) {
|
|
2037
|
+
registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);
|
|
2038
|
+
}
|
|
2039
|
+
}
|
|
1795
2040
|
lazyBundles.map((lazyBundle) => {
|
|
1796
2041
|
lazyBundle[1].map((compactMeta) => {
|
|
1797
2042
|
const cmpMeta = {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as addIcons } from './utils-
|
|
2
|
-
import './index-
|
|
1
|
+
export { a as addIcons } from './utils-4fb81650.js';
|
|
2
|
+
import './index-3648a167.js';
|