@roadtrip/components 3.33.7 → 3.34.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/road-badge_14.cjs.entry.js +14 -10
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
- package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-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 +4 -4
- package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/input.css +1 -0
- package/dist/collection/components/input/input.js +8 -4
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.stories.js +25 -9
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/modal.stories.js +4 -3
- package/dist/collection/components/navbar/navbar.js +1 -1
- package/dist/collection/components/navbar-item/navbar-item.js +2 -2
- package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
- package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
- package/dist/collection/components/plate-number/plate-number.js +2 -2
- package/dist/collection/components/plate-number/plate-number.stories.js +18 -12
- package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
- package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
- package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio/radio.stories.js +12 -6
- 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 +4 -3
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select/select.stories.js +12 -7
- package/dist/collection/components/select-filter/select-filter.js +2 -2
- package/dist/collection/components/select-filter/select-filter.stories.js +4 -2
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/textarea/textarea.stories.js +18 -12
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.stories.js +4 -2
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle/toggle.stories.js +12 -7
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
- package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
- package/dist/collection/components/tooltip/tooltip.css +31 -0
- package/dist/collection/components/tooltip/tooltip.js +5 -5
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/esm/road-badge_14.entry.js +14 -10
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item-v2.entry.js +2 -2
- package/dist/esm/road-navbar-item.entry.js +2 -2
- package/dist/esm/road-navbar-v2.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-phone-number-input.entry.js +2 -2
- package/dist/esm/road-plate-number.entry.js +2 -2
- package/dist/esm/road-profil-dropdown.entry.js +1 -1
- package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
- package/dist/esm/road-progress-tracker-item.entry.js +1 -1
- package/dist/esm/road-progress-tracker.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-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 +4 -4
- package/dist/esm/road-tooltip.entry.js.map +1 -1
- package/dist/html.html-data.json +13 -1
- package/dist/roadtrip/p-061f6889.entry.js +2 -0
- package/dist/roadtrip/{p-6d3d947e.entry.js.map → p-061f6889.entry.js.map} +1 -1
- package/dist/roadtrip/{p-03656f9a.entry.js → p-0a6c9571.entry.js} +2 -2
- package/dist/roadtrip/{p-e0421465.entry.js → p-0d7b6e32.entry.js} +2 -2
- package/dist/roadtrip/{p-6ff3b37c.entry.js → p-0de7b85d.entry.js} +2 -2
- package/dist/roadtrip/p-16726940.entry.js +2 -0
- package/dist/roadtrip/{p-06fbd2ea.entry.js → p-2f89b651.entry.js} +2 -2
- package/dist/roadtrip/{p-60bd73ad.entry.js → p-327d424c.entry.js} +2 -2
- package/dist/roadtrip/{p-e75ec60f.entry.js → p-38fd91b3.entry.js} +2 -2
- package/dist/roadtrip/p-3aa617b1.entry.js +2 -0
- package/dist/roadtrip/{p-449affa6.entry.js → p-41bab704.entry.js} +2 -2
- package/dist/roadtrip/p-4329a5ff.entry.js +2 -0
- package/dist/roadtrip/{p-a67eaba7.entry.js → p-4765c524.entry.js} +3 -3
- package/dist/roadtrip/p-4765c524.entry.js.map +1 -0
- package/dist/roadtrip/p-50d9ed52.entry.js +2 -0
- package/dist/roadtrip/{p-db77c354.entry.js.map → p-50d9ed52.entry.js.map} +1 -1
- package/dist/roadtrip/{p-c28e7add.entry.js → p-5ed9e829.entry.js} +2 -2
- package/dist/roadtrip/{p-d80e7563.entry.js → p-6fb0f8b8.entry.js} +2 -2
- package/dist/roadtrip/{p-6c617506.entry.js → p-78e6204e.entry.js} +2 -2
- package/dist/roadtrip/{p-99a6faae.entry.js → p-7a7b1fb6.entry.js} +2 -2
- package/dist/roadtrip/{p-b5fa8c5a.entry.js → p-7d693464.entry.js} +2 -2
- package/dist/roadtrip/{p-3dcaa947.entry.js → p-7e1e110f.entry.js} +2 -2
- package/dist/roadtrip/{p-517aeeca.entry.js → p-7ea16bfa.entry.js} +2 -2
- package/dist/roadtrip/p-8c6ad79a.entry.js +2 -0
- package/dist/roadtrip/{p-b8c5d292.entry.js → p-93272a9d.entry.js} +2 -2
- package/dist/roadtrip/p-97245610.entry.js +2 -0
- package/dist/roadtrip/{p-a254df6d.entry.js → p-a0c91322.entry.js} +2 -2
- package/dist/roadtrip/{p-c465f551.entry.js → p-a406a342.entry.js} +2 -2
- package/dist/roadtrip/{p-e6e9882b.entry.js → p-a5c363f2.entry.js} +2 -2
- package/dist/roadtrip/{p-fe40ab3d.entry.js → p-ab550b59.entry.js} +2 -2
- package/dist/roadtrip/{p-5fea6a74.entry.js → p-ad9055c1.entry.js} +2 -2
- package/dist/roadtrip/{p-2e049c8e.entry.js → p-c4d3dda1.entry.js} +2 -2
- package/dist/roadtrip/{p-3f5dff96.entry.js → p-cb8924ee.entry.js} +2 -2
- package/dist/roadtrip/p-ce386f80.entry.js +2 -0
- package/dist/roadtrip/p-dc9509b1.entry.js +2 -0
- package/dist/roadtrip/p-dc9509b1.entry.js.map +1 -0
- package/dist/roadtrip/{p-c6824205.entry.js → p-df897815.entry.js} +2 -2
- package/dist/roadtrip/{p-eac313e4.entry.js → p-e82c8ca0.entry.js} +2 -2
- package/dist/roadtrip/{p-ea1a175d.entry.js → p-e8bcf7a0.entry.js} +2 -2
- package/dist/roadtrip/{p-37430583.entry.js → p-ebada9f6.entry.js} +2 -2
- package/dist/roadtrip/{p-950b8a43.entry.js → p-f1ef265d.entry.js} +2 -2
- package/dist/roadtrip/{p-167cd2fc.entry.js → p-f5bcb8d6.entry.js} +2 -2
- package/dist/roadtrip/{p-fd3c58b6.entry.js → p-f9ba8499.entry.js} +2 -2
- package/dist/roadtrip/{p-c47ccbf2.entry.js → p-fafcecb2.entry.js} +2 -2
- package/dist/roadtrip/{p-f1b53143.entry.js → p-ff430279.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +12 -4
- package/hydrate/index.js +69 -65
- package/hydrate/index.mjs +69 -65
- package/package.json +1 -1
- package/dist/roadtrip/p-215afdbd.entry.js +0 -2
- package/dist/roadtrip/p-4675ea6d.entry.js +0 -2
- package/dist/roadtrip/p-65f9bd9c.entry.js +0 -2
- package/dist/roadtrip/p-6d3d947e.entry.js +0 -2
- package/dist/roadtrip/p-85b1e505.entry.js +0 -2
- package/dist/roadtrip/p-8b04fc62.entry.js +0 -2
- package/dist/roadtrip/p-a67eaba7.entry.js.map +0 -1
- package/dist/roadtrip/p-cfd2919e.entry.js +0 -2
- package/dist/roadtrip/p-db77c354.entry.js +0 -2
- package/dist/roadtrip/p-e6c4c576.entry.js +0 -2
- package/dist/roadtrip/p-e6c4c576.entry.js.map +0 -1
- /package/dist/roadtrip/{p-03656f9a.entry.js.map → p-0a6c9571.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e0421465.entry.js.map → p-0d7b6e32.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6ff3b37c.entry.js.map → p-0de7b85d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-65f9bd9c.entry.js.map → p-16726940.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-06fbd2ea.entry.js.map → p-2f89b651.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-60bd73ad.entry.js.map → p-327d424c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e75ec60f.entry.js.map → p-38fd91b3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-85b1e505.entry.js.map → p-3aa617b1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-449affa6.entry.js.map → p-41bab704.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-215afdbd.entry.js.map → p-4329a5ff.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c28e7add.entry.js.map → p-5ed9e829.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d80e7563.entry.js.map → p-6fb0f8b8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6c617506.entry.js.map → p-78e6204e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-99a6faae.entry.js.map → p-7a7b1fb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b5fa8c5a.entry.js.map → p-7d693464.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3dcaa947.entry.js.map → p-7e1e110f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-517aeeca.entry.js.map → p-7ea16bfa.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4675ea6d.entry.js.map → p-8c6ad79a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b8c5d292.entry.js.map → p-93272a9d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8b04fc62.entry.js.map → p-97245610.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a254df6d.entry.js.map → p-a0c91322.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c465f551.entry.js.map → p-a406a342.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e6e9882b.entry.js.map → p-a5c363f2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fe40ab3d.entry.js.map → p-ab550b59.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5fea6a74.entry.js.map → p-ad9055c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2e049c8e.entry.js.map → p-c4d3dda1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3f5dff96.entry.js.map → p-cb8924ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cfd2919e.entry.js.map → p-ce386f80.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c6824205.entry.js.map → p-df897815.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eac313e4.entry.js.map → p-e82c8ca0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ea1a175d.entry.js.map → p-e8bcf7a0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-37430583.entry.js.map → p-ebada9f6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-950b8a43.entry.js.map → p-f1ef265d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-167cd2fc.entry.js.map → p-f5bcb8d6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fd3c58b6.entry.js.map → p-f9ba8499.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c47ccbf2.entry.js.map → p-fafcecb2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f1b53143.entry.js.map → p-ff430279.entry.js.map} +0 -0
|
@@ -68,7 +68,7 @@ const Modal = class {
|
|
|
68
68
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
69
69
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
70
70
|
const closeIconElement = this.hasCloseIcon ? h("button", { type: "button", class: "modal-close", onClick: this.onClick, "aria-label": "Close" }, h("road-icon", { icon: navigationClose, "aria-hidden": "true" })) : '';
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'dea7d12a7d711034e4bfbb57bd5ab17d0d2d0c64', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, h("div", { key: 'e3be54a36318d4a7942ac56477dccbc089b62d95', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), h("div", { key: '34576fcfbe6ca5da7cb655969ac011d627c4a450', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, h("div", { key: '997ebcf1495edc6427595303fc87f77b31fa69c8', class: "modal-content" }, h("header", { key: '0724f16b5f0deeeada144df5e0f5df9e61f1e94f', class: `modal-header ${inverseHeaderClass}` }, h("h2", { key: '4ca7c0df3c5f39fcb4d0c18ef0d286d8131c75d2', class: "modal-title" }, this.modalTitle), closeIconElement), h("div", { key: '86a30cd070f946728373100e30e86914c9952699', class: "modal-body" }, h("slot", { key: '2a80c579ec2784e0baee03e0d65d55ff626e541a' }))))));
|
|
72
72
|
}
|
|
73
73
|
get el() { return getElement(this); }
|
|
74
74
|
};
|
|
@@ -63,11 +63,11 @@ const NavbarItem = class {
|
|
|
63
63
|
rel,
|
|
64
64
|
target,
|
|
65
65
|
};
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'd3962edd95606e908423aef6bcac10e9900f5cac', 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: {
|
|
67
67
|
'navbar-item': true,
|
|
68
68
|
'tab-selected': selected,
|
|
69
69
|
'tab-disabled': disabled,
|
|
70
|
-
} }, h("a", Object.assign({ key: '
|
|
70
|
+
} }, h("a", Object.assign({ key: '2f2f9d568a06d666ddcded0a3bbf18b9145dc6ec' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '49e8a3698a19ed7b591531bda1baa3ddc0c0925f', class: "button-inner" }, h("slot", { key: '3b9a1513ead6236942ad77fb19b099f26332b31c' })))));
|
|
71
71
|
}
|
|
72
72
|
get el() { return getElement(this); }
|
|
73
73
|
static get watchers() { return {
|
|
@@ -63,11 +63,11 @@ const NavbarItem = class {
|
|
|
63
63
|
rel,
|
|
64
64
|
target,
|
|
65
65
|
};
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'acbf239caf20ec5fdad46f4af576243eab63c2f9', 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: {
|
|
67
67
|
'navbar-item': true,
|
|
68
68
|
'tab-selected': selected,
|
|
69
69
|
'tab-disabled': disabled,
|
|
70
|
-
} }, h("a", Object.assign({ key: '
|
|
70
|
+
} }, h("a", Object.assign({ key: 'ba6ba2a86abdc210604b52e77ab44362ddeda18d' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '189d158e062896460568593a287e52708eb13d4c', class: "button-inner" }, h("slot", { key: 'e690abfecff3881e688020a4f8c173c73674b050' })))));
|
|
71
71
|
}
|
|
72
72
|
get el() { return getElement(this); }
|
|
73
73
|
static get watchers() { return {
|
|
@@ -32,7 +32,7 @@ const NavbarV2 = class {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
const compactClass = this.compact ? 'compact' : '';
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '666a88c32c86b9e81a4f7fa244385f43ae44d72f', role: "menubar", class: `${compactClass}` }, h("slot", { key: '2b65539c449d50ca60a93e96ff65b0ea28fca173' })));
|
|
36
36
|
}
|
|
37
37
|
static get watchers() { return {
|
|
38
38
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -27,7 +27,7 @@ const Navbar = class {
|
|
|
27
27
|
this.selectedTabChanged();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '188151d4f107e38799301e254fef5cb36b77f427', role: "menubar" }, h("slot", { key: '7ed62f55bd9828c04a28f4090b6563dbc7cbd741' })));
|
|
31
31
|
}
|
|
32
32
|
static get watchers() { return {
|
|
33
33
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -1351,9 +1351,9 @@ const RoadPhoneNumberInput = class {
|
|
|
1351
1351
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
1352
1352
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
1353
1353
|
const sizes = 'xl';
|
|
1354
|
-
return (h(Host, { key: '
|
|
1354
|
+
return (h(Host, { key: 'cecbc63d32eea08a7a110f9990df28aceb53c2a8' }, h("div", { key: 'b2cbe43100fe14b762af1910139e3d746e983c7c', class: 'phone-number-inputs-container' }, h("div", { key: '067b2ebb88dc0f3d98318d522dbf05c56adad91c', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, h("select", { key: 'd654ca41d2f8a859c2a8ba40bc65f7ff57fa2b70', 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 => (h("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), h("label", { key: 'fac2d9990c24757cc975f750a3eec44f173dfeca', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), h("label", { key: 'b7449465cdf82627c8737b09c73bbf8c46104e41', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), h("input", { key: 'ea5d0a4808ab0117c3f9b163e5c9e2f2751a3908', 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) }), h("label", { key: '5c0628f00c771e0b36a2d0d662634ed9a0924a62', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
1355
1355
|
&& this.errorMessage !== ''
|
|
1356
|
-
&& h("p", { key: '
|
|
1356
|
+
&& h("p", { key: '70d8e2b0acc90afbd08607fbdd420e6c2b0ed25d', class: "invalid-feedback" }, h("road-icon", { key: '490e8baafe7b9ef670f11227043e6552287131ec', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
1357
1357
|
}
|
|
1358
1358
|
get el() { return getElement(this); }
|
|
1359
1359
|
};
|
|
@@ -105,10 +105,10 @@ const PlateNumber = class {
|
|
|
105
105
|
render() {
|
|
106
106
|
const value = this.getValue();
|
|
107
107
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
108
|
-
return (h("road-input-group", { key: '
|
|
108
|
+
return (h("road-input-group", { key: '28c30b625e2af365c0249677e44c7d0429763631', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, h("label", { key: '70107849b6839becadfb8b5ef92a6111295bdb08', slot: "prepend", class: "input-group-prepend" }, h("div", { key: '31ee9cd44c6fa9e0df1b610f342e4c7409ec10a0', class: "plate-number-start" }, h("road-icon", { key: '0b9a9f14ebbae17cba9cd3dd2541ec0ea80c9108', class: "plate-number-icon", icon: licensePlateStarEu }), h("div", { key: '6ee7f8b160a21b6c9ae549f1979598f5bc3d5eb1', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
109
109
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
110
110
|
? (h("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 }))
|
|
111
|
-
: (h("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 })), h("label", { key: '
|
|
111
|
+
: (h("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 })), h("label", { key: '30b0898365b95e47c58b1ce349a224574f9b6939', slot: "append", class: "input-group-append" }, h("div", { key: '022809f30f9dea2d7e2e5d18067f3c8cb5c7a72d', class: "plate-number-end" }))));
|
|
112
112
|
}
|
|
113
113
|
static get watchers() { return {
|
|
114
114
|
"value": ["valueChanged"]
|
|
@@ -26,7 +26,7 @@ const Dropdown = class {
|
|
|
26
26
|
this.isOpen = false;
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("details", { key: '
|
|
29
|
+
return (h("details", { key: '43e4ae49c617fbacc94b8baa71e48f69fe476f1d', class: "dropdown", open: this.isOpen }, h("summary", { key: '4b710e357a714a422988b653ae2cb8573935ff35', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, h("div", { key: '4f6e0a9bc88cfb776c1bb77e54db15b5083171b2', class: `d-flex` }, h("div", { key: '47c2820abb6c77ec3058b1b2b5fbf724350caabd' }, h("road-avatar", { key: '4cfa1004541f55168b831c6e8541c57c81df4630' }, h("slot", { key: 'b71ee875ef37c645b7bd365ac57d7198b171f1f6', name: "avatar" }))))), h("div", { key: '0722a1227a791a58fecd3f6e9e525656deb286d0', class: `dropdown-menu` }, h("div", { key: '06a40cb955460d18e5b81daa33d97e6fba62c558', class: "profil-item" }, h("road-avatar", { key: 'd7f3cbdb3c3556228f6751e16f48ea15989a40c1', size: "sm" }, h("slot", { key: '18e9fbed6f749746247bd5cb32be190fbc137441', name: "avatarItem" })), h("div", { key: '861ee72150789f798709bef31bc8cf2013b75e9e', class: "profil-item-info" }, h("span", { key: 'a51ab011c1dbb74eb0110ac5ef9bbce140060456', class: "profil-item-info-name" }, h("slot", { key: 'b96374ca1927d2af6428a773dfcf4b4c97656551', name: "name" })), h("road-label", { key: '5c58f0aa250f9cb66ff5a04e5517fc5693c8f189' }, h("slot", { key: 'aca0556fa9c641dffcafa231d72ada909c51adc8', name: "email" })))), h("slot", { key: '5482d7055522cd952392d1f437b261497747a452', name: "list" }))));
|
|
30
30
|
}
|
|
31
31
|
get el() { return getElement(this); }
|
|
32
32
|
};
|
|
@@ -23,7 +23,7 @@ const Stepper = class {
|
|
|
23
23
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
24
24
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
25
25
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '3a324a39e9084c89d10cb395ddc2d6259964fb3b' }, h("nav", { key: 'cbbfb7023a1d6355e3a73673f1f12b729e7bf45a' }, h("ul", { key: '13d66d84cca5817fffef3b145fec52d4051693df', class: `${colorClass}` }, h("li", { key: 'a193befac4f459adb7fe2cf1b411a8ed3049e152', class: `${stateClass}` }, h("a", { key: '0b947059548ae146a24edde30365b1b9bf2e2eec', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, h("span", { key: '5f30e93a8dcdcfa10a3b9d25a79b9b8001fa5935', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'dbe960eca33e08ab40348188010b8dd926d607fe', name: "progress-indicator-horizontal-icon" })), h("span", { key: 'd3b1ac0ca97375278663599a284c908c745ecab3', class: "progress-indicator-horizontal-title" }, h("slot", { key: '59019872b7db4a65b717ded6af8976b8bbbf97a3', name: "progress-indicator-horizontal-title" })))), h("li", { key: 'ec083a98b0a64eca04c02b9cf7e9022bdea70485', class: `${stateSecondStepClass}` }, h("a", { key: '6d0083729e39293509b45a869fa893d398e33f5b', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, h("span", { key: '82a87245b2b01f71b2237c71310b05ffa77fd977', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'bfaeebcee669e2370da7d7253180a8b9813dc399', name: "progress-indicator-horizontal-icon2" })), h("span", { key: '449e13e3beaa66b16a7d1fc6def8796888b671a2', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'f9312792d7e400d0a044d00f251e621b3c23cc70', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && h("li", { key: '5cce8b0fc91b8ec4a3d79362eb67e2290d3ce4c1', class: `${stateThirdStepClass}` }, h("a", { key: '7501ccbc3c739689c687794ba3530d62fa9f5cc3', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, h("span", { key: '896343b2c095ea44c4442dacbac62b36380de6d6', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '6b3581003a6eeee6c1c8ac96f3d86866588496ba', name: "progress-indicator-horizontal-icon3" })), h("span", { key: '3a254af95b70e84e048597b8af5549c3966aa717', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'bdb1c23a6eb4e3d3e189b9855e91e955efaefd75', name: "progress-indicator-horizontal-title3" }))))))));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
Stepper.style = RoadProgressIndicatorHorizontalStyle0;
|
|
@@ -8,7 +8,7 @@ const ProgressIndicatorVerticalItem = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '681a6c70caee4d2b12dfe5cb85faa3240da79261' }, h("slot", { key: 'edbc178bba91172a49760d40b55e55b56634dea1' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ProgressIndicatorVerticalItem.style = RoadProgressIndicatorVerticalItemStyle0;
|
|
@@ -8,7 +8,7 @@ const ProgressIndicatorVertical = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '5dd7b6e9f50befbfda7194c326ff263015b798b8' }, h("nav", { key: '4410e7821c405e9e1cb1fff7ff6360a71dcc793f' }, h("ul", { key: '52179d2713e247e6c8b587816f032b432883b844' }, h("li", { key: 'a2e1151dba8017dc7ba50d8cbac7cce4dd707d5a' }, h("slot", { key: '67225f4646a498b1c84070b18406c0073eff173c' }))))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ProgressIndicatorVertical.style = RoadProgressIndicatorVerticalStyle0;
|
|
@@ -8,7 +8,7 @@ const ProgressTrackerItem = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '9912365dc36705af52ede8cdb4ecf963a5a11d83' }, h("slot", { key: '38a27cd97a75a0621926a32ecbcef7f78cc38330' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ProgressTrackerItem.style = RoadProgressTrackerItemStyle0;
|
|
@@ -8,7 +8,7 @@ const ProgressTracker = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '3056137a4ac9e08c6875527ec6fc206291e502ff' }, h("nav", { key: 'ecccabc164e4f6a0438523746613ee3255a02f2c' }, h("ul", { key: 'a4c6c472aac39a85db1fbce327244dcf235417fe' }, h("li", { key: '7c6a8b6c278e362bc409007aadd0c5bb4ec8966e' }, h("slot", { key: 'fa4a84917302767f34ec63441d65e797832d0e12' }))))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ProgressTracker.style = RoadProgressTrackerStyle0;
|
|
@@ -45,7 +45,7 @@ const ProgressBar = class {
|
|
|
45
45
|
const fullwidth = this.fullwidth ? 'progress-element-info-full-width' : 'progress-element-info';
|
|
46
46
|
const light = this.light ? 'progress progress-light' : 'progress';
|
|
47
47
|
const animation = this.animation ? 'animation' : '';
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '029ef77c8c30790505626a065e0382fd96de48f3', class: "progress-element" }, h("div", { key: '6abaec562d06e1550cc4a81708625a298b701a58', class: `${light} progress-${this.color} ${animation}` }, h("div", { key: '155e66309824c5cf5af2bab1b8c5984d7ad69e24', class: "progress-bar", role: "progressbar", style: { width: `${this.value}%` }, "aria-valuenow": this.value, "aria-valuemin": "0", "aria-valuemax": "100", "aria-label": "progress bar" })), h("div", { key: '6054fb408c776fb258c7889bab50b8d0c4cb158f', class: `${fullwidth}` }, h("span", { key: '90dc79f84351f7845dd17a8c2024d42f12ca6585', class: "progress-element-label" }, this.label), this.showstep && h("span", { key: 'd316a662a44d0c44250c26a1ae81d106f8914d43', class: "progress-element-step" }, valueRound, "/", this.numbersteps))));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
ProgressBar.style = RoadProgressStyle0;
|
|
@@ -63,7 +63,7 @@ const RadioGroup = class {
|
|
|
63
63
|
render() {
|
|
64
64
|
const labelId = `${this.radioGroupId}-label`;
|
|
65
65
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '4bdcce655bfa14696ea85dc3bebf8cb0211d872b', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && h("p", { key: '7882a85ab9d9e4be07b7ae08ec986d1cd3073951', class: "text-content", id: labelId }, this.label, " ", this.asterisk && h("span", { key: 'c5d121db534b7e207aa4b60c8c9534399ed2edf7', class: "asterisk" }, "*")), h("slot", { key: 'e4fb2070693e91af8772c8d2ed556b6c6b09bda7' }), this.error && this.error !== '' && h("p", { key: '361cfc55ad976730645f88e1a3b0d75da7d34a5f', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '2e6c420d699283ef203e264995a06b514ce9da7a', class: "helper" }, this.helper)));
|
|
67
67
|
}
|
|
68
68
|
get el() { return getElement(this); }
|
|
69
69
|
static get watchers() { return {
|
|
@@ -81,7 +81,7 @@ const Radio = class {
|
|
|
81
81
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
82
82
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
83
83
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '6543b37f5327ae2665e1fca3c9d91412e2581ef9', class: `form-radio ${inlineClass}` }, h("input", { key: '669e121aec0cfc722419d051204d350450d6d4e5', 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 }), h("label", { key: 'd3056e531cc3826a3291af9a95585c6620b86745', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", h("span", { key: '4d1242c623b26517d9f88c6962335ea6ce364abf', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
85
85
|
}
|
|
86
86
|
get el() { return getElement(this); }
|
|
87
87
|
};
|
|
@@ -86,14 +86,14 @@ const Range = class {
|
|
|
86
86
|
render() {
|
|
87
87
|
const value = this.getValue();
|
|
88
88
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: 'b9bf2e10c86f928712def9dd10e123bf6bd62d46', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: '9e6c1bac87a60accb176f416726a63319f1e00a2', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '0c9947463651c065b386fb126a646f39359f32cd', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: 'f792239e07e2fb7c7a5c8c6b6629e199ce24d560', class: "form-range", style: {
|
|
90
90
|
"--min": this.min,
|
|
91
91
|
"--max": this.max,
|
|
92
92
|
"--value": value,
|
|
93
93
|
"--background-color": this.disabled
|
|
94
94
|
? "var(--road-surface-disabled)"
|
|
95
95
|
: "initial",
|
|
96
|
-
} }, this.showValue && h("output", { key: '
|
|
96
|
+
} }, this.showValue && h("output", { key: '7468eb63d48e3dd4add1dbdb72b4a29eaa6644ea' }), this.showLabels && h("slot", { key: '77d9511bc01e48d1cef2f577fdb5d6d2782d756b', name: "datalist" }), h("input", { key: 'dcba864aaaf01686c7205b33f49f0437aff45efc', 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 }), h("label", { key: 'a524dd016f0236cfc053e415a118fed7960515ea', class: "form-range-label" }, "Valeur"), h("div", { key: 'ca307d8df415ed2a77b7774791387f5bd6ab5d14', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: 'f2a35383d6cbae76a337b78b53cd9ffa15a7daef', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
97
97
|
}
|
|
98
98
|
get el() { return getElement(this); }
|
|
99
99
|
static get watchers() { return {
|
|
@@ -42,7 +42,7 @@ const Rating = class {
|
|
|
42
42
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
43
43
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
44
44
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '3384a50bdc4f0dc8d992ca8160dbe77a8c6ed891' }, h("div", { key: 'f905f3c7c16744d6bd8c34c31e2bec493169b71f', 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.readonly == false && this.showreviews && h("a", { key: '3f973733bb91d8243a84d4b12708a69921858fff', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '66f1c7954279baba6b9be9e40af220f77c42cd8f', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
Rating.style = RoadRatingStyle0;
|
|
@@ -24,7 +24,7 @@ const ButtonBar = class {
|
|
|
24
24
|
this.selectedTabChanged();
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '2427e30d3c49f36fcf017f1312d92b46b92e5f13', role: "tablist" }, h("slot", { key: '7e058b2ec325091ec5e30f0db30d893547e13e49' })));
|
|
28
28
|
}
|
|
29
29
|
get el() { return getElement(this); }
|
|
30
30
|
static get watchers() { return {
|
|
@@ -55,10 +55,10 @@ const SegmentedButton = class {
|
|
|
55
55
|
render() {
|
|
56
56
|
const { tabIndex, selected, tab } = this;
|
|
57
57
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
58
|
-
return (h(Host, { key: '
|
|
58
|
+
return (h(Host, { key: 'ea3ccb61b3e95bb8b266e1e47ecbd5a795a78f62', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
59
59
|
'tab-selected': selected,
|
|
60
60
|
[`${sizeClass}`]: true,
|
|
61
|
-
} }, h("span", { key: '
|
|
61
|
+
} }, h("span", { key: 'f32414ad539917d0266447d41411eae0cd1f5926', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: '2a6270a073b709201505490b242e9b2425745779' }))));
|
|
62
62
|
}
|
|
63
63
|
get el() { return getElement(this); }
|
|
64
64
|
};
|
|
@@ -91,7 +91,7 @@ const Tabs = class {
|
|
|
91
91
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'dc63c94596a53cd134f9327dd7fafcf70b94486b', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: 'cd32b915b40f0d0ae2a5bd377a68f9ce4e41d363', name: "top" }), h("slot", { key: 'cfb4c62f06a98490ca37f27038737174641c8d4d' })));
|
|
95
95
|
}
|
|
96
96
|
get el() { return getElement(this); }
|
|
97
97
|
};
|
|
@@ -1889,8 +1889,8 @@ const SelectFilter = class {
|
|
|
1889
1889
|
const options = this.filteredOptions;
|
|
1890
1890
|
const isActive = this.isActive ? 'true' : 'false';
|
|
1891
1891
|
const notActive = this.isActive ? '' : 'not-active';
|
|
1892
|
-
return (h(Host, { key: '
|
|
1893
|
-
h("ul", { key: '
|
|
1892
|
+
return (h(Host, { key: 'fff9f64f26850281576ed7de2e8104fad18862f9', "is-active": isActive }, h("slot", { key: 'a66b13f411768a00e0d45ed9801a84f3b2684f75' }), this.isOpen &&
|
|
1893
|
+
h("ul", { key: '5230013f47dccc082c73abfb8474a0791a7e992b', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (h("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 }))))));
|
|
1894
1894
|
}
|
|
1895
1895
|
get el() { return getElement(this); }
|
|
1896
1896
|
};
|
|
@@ -103,7 +103,7 @@ const Select = class {
|
|
|
103
103
|
const labelId = this.selectId + '-label';
|
|
104
104
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
105
105
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
106
|
-
return (h(Host, { key: '
|
|
106
|
+
return (h(Host, { key: 'd4d455ace814f7a19cb9e683fb103f43b6d4783b', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '4432e042ced51b80b81832e8495e1dd060fc7952', 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 }, h("option", { key: '2244f8e581db9229442d60fff809e07ade736091', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (h("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), h("label", { key: '72d9295f23671d0113b3b12f61aa13448d6f80f0', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: 'b97bd0875b474013c3824f9fdb87390262e9f144', class: "invalid-feedback" }, this.error)));
|
|
107
107
|
}
|
|
108
108
|
static get watchers() { return {
|
|
109
109
|
"value": ["valueChanged"]
|
|
@@ -8,7 +8,7 @@ const Skeleton = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("span", { key: '
|
|
11
|
+
return (h("span", { key: '03bd8098ff469f17744141c229b9b3ad863b0124' }, "\u00A0"));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
Skeleton.style = RoadSkeletonStyle0;
|
|
@@ -18,7 +18,7 @@ const Spinner = class {
|
|
|
18
18
|
render() {
|
|
19
19
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
20
20
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
21
|
-
return (h("svg", { key: '
|
|
21
|
+
return (h("svg", { key: '5ad4972d7d49afc0c31aa2771c10361cee7f7a25', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '842b8a3563edc3ada7f2450e0ef9724c9141bfa0', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Spinner.style = RoadSpinnerStyle0;
|
|
@@ -81,11 +81,11 @@ const Switch = class {
|
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
83
|
const labelId = this.switchId + '-label';
|
|
84
|
-
const textLabel = h("label", { key: '
|
|
84
|
+
const textLabel = h("label", { key: '54f56dec9c84250081ebfadd296e7d7488a31175', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
85
85
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
86
86
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
87
87
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
88
|
-
return (h(Host, { key: '
|
|
88
|
+
return (h(Host, { key: 'd4c7bbfdcda90e98bb16805048d9f121fe3bf5dc' }, h("input", { key: '46041634cfc030ef1abefa55946672b744d941ec', 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 }), h("label", { key: '280bce0f99cd8c0b16c5dbb45bb6ae4facbac82f', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: 'fa649be434996ef636b323481027f48ea755d16d', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
89
89
|
}
|
|
90
90
|
static get watchers() { return {
|
|
91
91
|
"checked": ["checkedChanged"]
|
|
@@ -40,11 +40,11 @@ const TabBar = class {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const { expand, center, secondary } = this;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '5b37e3605410e8cbb5a953216957bd49ed348949', role: "tablist", class: {
|
|
44
44
|
'tab-expand': expand,
|
|
45
45
|
'tab-center': center,
|
|
46
46
|
'tab-secondary': secondary,
|
|
47
|
-
} }, h("slot", { key: '
|
|
47
|
+
} }, h("slot", { key: '40f8b74647a678eae3e772d67fdef3e285c91250' })));
|
|
48
48
|
}
|
|
49
49
|
get el() { return getElement(this); }
|
|
50
50
|
static get watchers() { return {
|
|
@@ -73,7 +73,7 @@ const TabButton = class {
|
|
|
73
73
|
rel,
|
|
74
74
|
target,
|
|
75
75
|
};
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: 'd75aef7fd1d24c4d510b81110769176be7c94b86', 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: {
|
|
77
77
|
'tab-selected': selected,
|
|
78
78
|
'tab-has-label': hasLabel,
|
|
79
79
|
'tab-has-icon': hasIcon,
|
|
@@ -81,7 +81,7 @@ const TabButton = class {
|
|
|
81
81
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
82
82
|
[`tab-layout-${layout}`]: true,
|
|
83
83
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
84
|
-
} }, h("a", Object.assign({ key: '
|
|
84
|
+
} }, h("a", Object.assign({ key: '0674b22edd491c00bd4b748bd3db998dcb16a550' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '3c8fb23151939c48dd4239240385a995daed93e8', class: "button-inner" }, h("slot", { key: 'df8b3f6c3087b0f7ced5f6cb38733c9ee50db760' })))));
|
|
85
85
|
}
|
|
86
86
|
get el() { return getElement(this); }
|
|
87
87
|
};
|
|
@@ -23,9 +23,9 @@ const Tab = class {
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const { tab, active } = this;
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'be0ce5a323e835e0e17bcfc23c010876518f705f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
27
27
|
'tab-hidden': !active,
|
|
28
|
-
} }, h("slot", { key: '
|
|
28
|
+
} }, h("slot", { key: 'b3e5f1b7811c480cbf5971293c95a244354d37b1' })));
|
|
29
29
|
}
|
|
30
30
|
get el() { return getElement(this); }
|
|
31
31
|
};
|
|
@@ -8,7 +8,7 @@ const Table = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("slot", { key: '
|
|
11
|
+
return (h("slot", { key: 'e732734d32731bf220436443f306c3a57b3da9b4' }));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
Table.style = RoadTableStyle0;
|
|
@@ -104,7 +104,7 @@ const Tabs = class {
|
|
|
104
104
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: '6775e9080b20a46712a1b0d2de49a89977c840f9', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'c32dc3dbb5a97dc1b699ebfadf784b7f794520c8', name: "top" }), h("div", { key: 'd523d47374ce745ef869a3d92c012a8c9089652d', class: "tabs-inner" }, h("slot", { key: '7d049210173976a8906e8009c1ae65d284399d7d' }))));
|
|
108
108
|
}
|
|
109
109
|
get el() { return getElement(this); }
|
|
110
110
|
};
|
|
@@ -18,7 +18,7 @@ const Tag = class {
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '2b3a5ad4c33944c258767549bc5c5b47088e9e79', class: `${contrastClass}` }, h("slot", { key: 'c6b1754daf6f0beccdf7b41bf72a2d478222380e' })));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Tag.style = RoadTagStyle0;
|
|
@@ -13,7 +13,7 @@ const Text = class {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '16ef8fa74811821df230a167c40e25871de4762c', class: `${colorClass}` }, h("slot", { key: '74bfd011e67ebb720bc91e8cb682abd9b7629340' })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
Text.style = RoadTextStyle0;
|
|
@@ -95,7 +95,7 @@ const Textarea = class {
|
|
|
95
95
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
96
96
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
97
97
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '5940308a9e1f7ed1672cd03a83e55ddd05056111', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: '0fa4446695b94cbe652f81fab4e36a6f6f8cf11a', 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 }), h("label", { key: 'fb2e631bd65dabff36792f56d7959f25c73b06ff', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: 'be5ac6f2e132cd7a9abf0eb1514d78ed8fabc03b', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'c61c6a1855748a295db996cf15bb2af3ba73988b', class: "helper" }, this.helper)));
|
|
99
99
|
}
|
|
100
100
|
static get watchers() { return {
|
|
101
101
|
"value": ["valueChanged"]
|
|
@@ -84,7 +84,7 @@ const Toast = class {
|
|
|
84
84
|
if (this.color == 'danger') {
|
|
85
85
|
this.timeout = 0;
|
|
86
86
|
}
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '89d5c219c4d138ddc853a53eb366942515b0bff5', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '4d2e2d14b9025b9428329cfe998a7bd8970a3623', class: `toast toast-${this.color}` }, h("road-icon", { key: '94c8ff89697fdd6aaf7303f86780fe0c28c06dfe', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: 'a09e63015b675404efcc89320707d08676f2877f', class: "toast-label" }, this.label), h("button", { key: '1911957ac22296c6585275b453dadc513fc192d3', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: 'df64d98907d013e84ce2b485b5a431d35be953d4', icon: navigationClose, size: "md" })), h("slot", { key: '4fe59f168f7b15152ae5ce372798e69577568069', name: "progress" }))));
|
|
88
88
|
}
|
|
89
89
|
static get watchers() { return {
|
|
90
90
|
"isOpen": ["isOpenChanged"]
|
|
@@ -77,11 +77,11 @@ const toggle = class {
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
const labelId = this.toggleId + '-label';
|
|
80
|
-
const textLabel = h("label", { key: '
|
|
80
|
+
const textLabel = h("label", { key: 'fc640d3b84b175679ffbd7be8b6e56ae0298b07c', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
81
81
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
82
82
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
83
83
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: 'b70c71787640105ee246d1ce65dc1eed67ef2541' }, h("input", { key: 'd2921d1eb0a92347acae978122d647e390d4519a', 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 }), h("label", { key: 'da00339aaf756ab5c888d1bc467ef43c9f1c7f86', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: '82a8d49761061494d3c5d8868c3f1ed6145d7c0b', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
85
85
|
}
|
|
86
86
|
static get watchers() { return {
|
|
87
87
|
"checked": ["checkedChanged"]
|
|
@@ -8,7 +8,7 @@ const ToolbarAppName = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'e2702e4bac40d997c95962c2197b80a3f2716da2', class: "toolbar-title-page" }, h("slot", { key: 'a5af4e9645e566f3177506394b3e7d34d738e7e5' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ToolbarAppName.style = RoadToolbarTitlePageStyle0;
|
|
@@ -8,7 +8,7 @@ const ToolbarTitle = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '0e4f5a9a555499bdafd072e142da81808f878091', class: "toolbar-title" }, h("slot", { key: '180b36b7360f47a0ebb168100e2fb711c8c18b78' })));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ToolbarTitle.style = RoadToolbarTitleStyle0;
|
|
@@ -8,7 +8,7 @@ const ToolbarV2 = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'aa969f064908bea9d7b1291fdc5165dc7e4ec74b', class: "toolbar" }, h("div", { key: '6e1372064ad1c1a636a151856b267ed27d683f50', class: "toolbar-container" }, h("div", { key: '950306ea6570ad3ce8347d464dd02ed242a6856d', class: "toolbar-container-content-left" }, h("slot", { key: 'ec37c637dd7d95b86971e18a638273453443bfe9', name: "start" }), h("slot", { key: '358f719af8508135698e6fdad3cebe456c53e08b', name: "primary" })), h("div", { key: '7580a7c99a3cf2cd34ac56db6eaa40ee983ed4ee', class: "toolbar-content" }, h("slot", { key: '08f8b181ccc7b913a5957f9ce444c5a87f4be090' })), h("div", { key: '8587600a63e0994d0712f85ab09e07cca4021b1f', class: "toolbar-container-content-right" }, h("slot", { key: 'e053ccd0b7650c2da116ca033ebfa0c8ab14e110', name: "secondary" }), h("slot", { key: '4d3d4436c3a07d0620e38bf3d6ae7c12c0eb7125', name: "end" })))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
ToolbarV2.style = RoadToolbarV2Style0;
|