@roadtrip/components 2.24.1 → 2.25.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.
Files changed (125) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/road-autocomplete.cjs.entry.js +1 -1
  3. package/dist/cjs/road-avatar.cjs.entry.js +1 -1
  4. package/dist/cjs/road-badge_11.cjs.entry.js +3 -3
  5. package/dist/cjs/road-card.cjs.entry.js +1 -1
  6. package/dist/cjs/road-counter.cjs.entry.js +1 -1
  7. package/dist/cjs/road-input.cjs.entry.js +1 -1
  8. package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
  9. package/dist/cjs/road-range.cjs.entry.js +1 -1
  10. package/dist/cjs/road-select-filter.cjs.entry.js +1795 -2
  11. package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
  12. package/dist/cjs/road-spinner.cjs.entry.js +1 -1
  13. package/dist/cjs/road-table.cjs.entry.js +1 -1
  14. package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
  15. package/dist/cjs/roadtrip.cjs.js +1 -1
  16. package/dist/collection/components/autocomplete/autocomplete.js +1 -1
  17. package/dist/collection/components/autocomplete/autocomplete.stories.js +1 -3
  18. package/dist/collection/components/avatar/avatar.js +2 -3
  19. package/dist/collection/components/card/card.js +2 -2
  20. package/dist/collection/components/col/col.js +2 -3
  21. package/dist/collection/components/counter/counter.js +5 -6
  22. package/dist/collection/components/dropdown/dropdown.stories.js +1 -0
  23. package/dist/collection/components/grid/grid.js +2 -3
  24. package/dist/collection/components/icon/svg/{vehicle-car-bodyworkoutline-color.svg → vehicle-car-bodywork-outline-color.svg} +0 -0
  25. package/dist/collection/components/input/input.js +1 -1
  26. package/dist/collection/components/label/label.js +2 -3
  27. package/dist/collection/components/plate-number/plate-number.js +12 -13
  28. package/dist/collection/components/range/range.js +5 -6
  29. package/dist/collection/components/select-filter/select-filter.js +33 -2
  30. package/dist/collection/components/select-filter/select-filter.stories.js +1 -6
  31. package/dist/collection/components/skeleton/skeleton.js +2 -3
  32. package/dist/collection/components/spinner/spinner.js +3 -4
  33. package/dist/collection/components/table/table.js +2 -3
  34. package/dist/collection/components/toolbar-title/toolbar-title.js +3 -4
  35. package/dist/esm/loader.js +1 -1
  36. package/dist/esm/road-autocomplete.entry.js +1 -1
  37. package/dist/esm/road-avatar.entry.js +2 -2
  38. package/dist/esm/road-badge_11.entry.js +3 -3
  39. package/dist/esm/road-card.entry.js +2 -2
  40. package/dist/esm/road-counter.entry.js +2 -2
  41. package/dist/esm/road-input.entry.js +1 -1
  42. package/dist/esm/road-plate-number.entry.js +3 -3
  43. package/dist/esm/road-range.entry.js +2 -2
  44. package/dist/esm/road-select-filter.entry.js +1795 -2
  45. package/dist/esm/road-skeleton.entry.js +2 -2
  46. package/dist/esm/road-spinner.entry.js +2 -2
  47. package/dist/esm/road-table.entry.js +2 -2
  48. package/dist/esm/road-toolbar-title.entry.js +2 -2
  49. package/dist/esm/roadtrip.js +1 -1
  50. package/dist/esm-es5/loader.js +1 -1
  51. package/dist/esm-es5/road-avatar.entry.js +1 -1
  52. package/dist/esm-es5/road-badge_11.entry.js +1 -1
  53. package/dist/esm-es5/road-card.entry.js +1 -1
  54. package/dist/esm-es5/road-counter.entry.js +1 -1
  55. package/dist/esm-es5/road-plate-number.entry.js +1 -1
  56. package/dist/esm-es5/road-range.entry.js +1 -1
  57. package/dist/esm-es5/road-select-filter.entry.js +1 -1
  58. package/dist/esm-es5/road-skeleton.entry.js +1 -1
  59. package/dist/esm-es5/road-spinner.entry.js +1 -1
  60. package/dist/esm-es5/road-table.entry.js +1 -1
  61. package/dist/esm-es5/road-toolbar-title.entry.js +1 -1
  62. package/dist/esm-es5/roadtrip.js +1 -1
  63. package/dist/html.html-data.json +4 -0
  64. package/dist/icons/icons.svg +1 -1
  65. package/dist/icons/index.d.ts +1 -1
  66. package/dist/icons/index.js +1 -1
  67. package/dist/roadtrip/p-0bc3262d.entry.js +1 -0
  68. package/dist/roadtrip/p-11db7868.system.entry.js +1 -0
  69. package/dist/roadtrip/p-25ea233f.system.entry.js +1 -0
  70. package/dist/roadtrip/p-36a7c233.system.js +1 -1
  71. package/dist/roadtrip/p-43da88c6.system.entry.js +1 -0
  72. package/dist/roadtrip/p-8067c254.system.entry.js +1 -0
  73. package/dist/roadtrip/p-85aa4543.system.entry.js +1 -0
  74. package/dist/roadtrip/p-88179272.entry.js +1 -0
  75. package/dist/roadtrip/p-8a9626cc.entry.js +1 -0
  76. package/dist/roadtrip/p-8b445fbd.entry.js +1 -0
  77. package/dist/roadtrip/p-95dd1ee4.system.entry.js +1 -0
  78. package/dist/roadtrip/p-a567cedb.entry.js +1 -0
  79. package/dist/roadtrip/p-adfa74db.entry.js +1 -0
  80. package/dist/roadtrip/p-bc8a92cf.system.entry.js +1 -0
  81. package/dist/roadtrip/p-c873409a.system.entry.js +1 -0
  82. package/dist/roadtrip/p-c94f70de.entry.js +1 -0
  83. package/dist/roadtrip/p-d0a42614.entry.js +1 -0
  84. package/dist/roadtrip/p-d5da11ca.system.entry.js +1 -0
  85. package/dist/roadtrip/p-da3ea4e5.entry.js +1 -0
  86. package/dist/roadtrip/p-e719a34e.entry.js +1 -0
  87. package/dist/roadtrip/p-f0704f07.system.entry.js +1 -0
  88. package/dist/roadtrip/p-f95a155f.entry.js +1 -0
  89. package/dist/roadtrip/p-fe70fb94.system.entry.js +1 -0
  90. package/dist/roadtrip/roadtrip.esm.js +1 -1
  91. package/dist/roadtrip/svg/{vehicle-car-bodyworkoutline-color.svg → vehicle-car-bodywork-outline-color.svg} +0 -0
  92. package/dist/types/components/select-filter/select-filter.d.ts +5 -0
  93. package/dist/types/components.d.ts +8 -0
  94. package/icons/icons.svg +1 -1
  95. package/icons/index.d.ts +1 -1
  96. package/icons/index.js +1 -1
  97. package/loader/cdn.js +3 -0
  98. package/loader/index.cjs.js +3 -0
  99. package/loader/index.d.ts +12 -0
  100. package/loader/index.es2017.js +3 -0
  101. package/loader/index.js +4 -0
  102. package/loader/package.json +10 -0
  103. package/package.json +4 -2
  104. package/dist/roadtrip/p-0de3a4c8.system.entry.js +0 -1
  105. package/dist/roadtrip/p-16bce6f9.system.entry.js +0 -1
  106. package/dist/roadtrip/p-2965ce57.entry.js +0 -1
  107. package/dist/roadtrip/p-404509c1.entry.js +0 -1
  108. package/dist/roadtrip/p-464814f7.system.entry.js +0 -1
  109. package/dist/roadtrip/p-48a0df03.system.entry.js +0 -1
  110. package/dist/roadtrip/p-57e9b50d.entry.js +0 -1
  111. package/dist/roadtrip/p-674922e2.system.entry.js +0 -1
  112. package/dist/roadtrip/p-70b2bc5a.entry.js +0 -1
  113. package/dist/roadtrip/p-726b0209.system.entry.js +0 -1
  114. package/dist/roadtrip/p-96f5d0f6.entry.js +0 -1
  115. package/dist/roadtrip/p-9faa50e1.system.entry.js +0 -1
  116. package/dist/roadtrip/p-a0cbd965.system.entry.js +0 -1
  117. package/dist/roadtrip/p-af6faf9b.system.entry.js +0 -1
  118. package/dist/roadtrip/p-b0c6bcbf.entry.js +0 -1
  119. package/dist/roadtrip/p-bf18c600.system.entry.js +0 -1
  120. package/dist/roadtrip/p-cd0efcac.system.entry.js +0 -1
  121. package/dist/roadtrip/p-dd6c27c5.entry.js +0 -1
  122. package/dist/roadtrip/p-ded9cf97.entry.js +0 -1
  123. package/dist/roadtrip/p-eadfbbbb.entry.js +0 -1
  124. package/dist/roadtrip/p-f7547337.entry.js +0 -1
  125. package/dist/roadtrip/p-f80248b1.entry.js +0 -1
@@ -11,7 +11,7 @@ let Skeleton = class {
11
11
  index.registerInstance(this, hostRef);
12
12
  }
13
13
  render() {
14
- return (index.h(index.Host, null, index.h("span", null, "\u00A0")));
14
+ return (index.h("span", null, "\u00A0"));
15
15
  }
16
16
  };
17
17
  Skeleton.style = skeletonCss;
@@ -11,7 +11,7 @@ let Spinner = class {
11
11
  index.registerInstance(this, hostRef);
12
12
  }
13
13
  render() {
14
- return (index.h(index.Host, null, index.h("svg", { class: "spinner", viewBox: "25 25 50 50" }, index.h("circle", { class: "spinner-circle", cx: "50", cy: "50", r: "20" }))));
14
+ return (index.h("svg", { class: "spinner", viewBox: "25 25 50 50" }, index.h("circle", { class: "spinner-circle", cx: "50", cy: "50", r: "20" })));
15
15
  }
16
16
  };
17
17
  Spinner.style = spinnerCss;
@@ -11,7 +11,7 @@ let Table = class {
11
11
  index.registerInstance(this, hostRef);
12
12
  }
13
13
  render() {
14
- return (index.h(index.Host, null, index.h("slot", null)));
14
+ return (index.h("slot", null));
15
15
  }
16
16
  };
17
17
  Table.style = tableCss;
@@ -11,7 +11,7 @@ let ToolbarTitle = class {
11
11
  index.registerInstance(this, hostRef);
12
12
  }
13
13
  render() {
14
- return (index.h(index.Host, null, index.h("div", { class: "toolbar-title" }, index.h("slot", null))));
14
+ return (index.h("div", { class: "toolbar-title" }, index.h("slot", null)));
15
15
  }
16
16
  };
17
17
  ToolbarTitle.style = toolbarTitleCss;
@@ -83,5 +83,5 @@ const patchDynamicImport = (base, orgScriptElm) => {
83
83
  };
84
84
 
85
85
  patchBrowser().then(options => {
86
- return index.bootstrapLazy([["road-badge_11.cjs",[[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-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-col"],[1,"road-grid"],[1,"road-label"],[1,"road-list",{"lines":[1]}],[1,"road-row"],[1,"road-toolbar",{"color":[1]}],[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-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-counter.cjs",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[1],"max":[1],"step":[1],"value":[2],"size":[1]}]]],["road-plate-number.cjs",[[2,"road-plate-number",{"country":[1],"placeholder":[1],"value":[1032],"motorbike":[4]}]]],["road-accordion.cjs",[[1,"road-accordion",{"isOpen":[1028,"is-open"]}]]],["road-carousel.cjs",[[4,"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-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-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-rating.cjs",[[1,"road-rating",{"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast.cjs",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"position":[1],"open":[64],"close":[64]}]]],["road-alert.cjs",[[1,"road-alert",{"color":[1]}]]],["road-autocomplete.cjs",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar.cjs",[[1,"road-avatar"]]],["road-card.cjs",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]],["road-carousel-item.cjs",[[4,"road-carousel-item"]]],["road-checkbox.cjs",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1]}]]],["road-dropdown.cjs",[[1,"road-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-flap.cjs",[[1,"road-flap",{"color":[1]}]]],["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"]]]]],["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"]]]]],["road-progress.cjs",[[1,"road-progress",{"value":[2],"color":[1]}]]],["road-radio.cjs",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"inline":[4],"checked":[32]},[[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]}]]],["road-range.cjs",[[2,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"]}]]],["road-select.cjs",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter.cjs",[[6,"road-select-filter",{"options":[16],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadChange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton.cjs",[[1,"road-skeleton"]]],["road-spinner.cjs",[[1,"road-spinner"]]],["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",{"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"]]]]],["road-table.cjs",[[6,"road-table"]]],["road-tabs.cjs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["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],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1]}]]],["road-toolbar-title.cjs",[[1,"road-toolbar-title"]]],["road-tooltip.cjs",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-input.cjs",[[2,"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],"type":[1],"value":[1032],"label":[1],"error":[1],"debounce":[2]}]]],["road-input-group.cjs",[[1,"road-input-group"]]]], options);
86
+ return index.bootstrapLazy([["road-badge_11.cjs",[[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-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-col"],[1,"road-grid"],[1,"road-label"],[1,"road-list",{"lines":[1]}],[1,"road-row"],[1,"road-toolbar",{"color":[1]}],[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-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-counter.cjs",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[1],"max":[1],"step":[1],"value":[2],"size":[1]}]]],["road-plate-number.cjs",[[2,"road-plate-number",{"country":[1],"placeholder":[1],"value":[1032],"motorbike":[4]}]]],["road-accordion.cjs",[[1,"road-accordion",{"isOpen":[1028,"is-open"]}]]],["road-carousel.cjs",[[4,"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-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-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-rating.cjs",[[1,"road-rating",{"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast.cjs",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"position":[1],"open":[64],"close":[64]}]]],["road-alert.cjs",[[1,"road-alert",{"color":[1]}]]],["road-autocomplete.cjs",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar.cjs",[[1,"road-avatar"]]],["road-card.cjs",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]],["road-carousel-item.cjs",[[4,"road-carousel-item"]]],["road-checkbox.cjs",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1]}]]],["road-dropdown.cjs",[[1,"road-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-flap.cjs",[[1,"road-flap",{"color":[1]}]]],["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"]]]]],["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"]]]]],["road-progress.cjs",[[1,"road-progress",{"value":[2],"color":[1]}]]],["road-radio.cjs",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"inline":[4],"checked":[32]},[[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]}]]],["road-range.cjs",[[2,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"]}]]],["road-select.cjs",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter.cjs",[[6,"road-select-filter",{"options":[16],"parameters":[8],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadChange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton.cjs",[[1,"road-skeleton"]]],["road-spinner.cjs",[[1,"road-spinner"]]],["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",{"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"]]]]],["road-table.cjs",[[6,"road-table"]]],["road-tabs.cjs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["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],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1]}]]],["road-toolbar-title.cjs",[[1,"road-toolbar-title"]]],["road-tooltip.cjs",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-input.cjs",[[2,"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],"type":[1],"value":[1032],"label":[1],"error":[1],"debounce":[2]}]]],["road-input-group.cjs",[[1,"road-input-group"]]]], options);
87
87
  });
@@ -14,7 +14,7 @@ export class Autocomplete {
14
14
  this.visible = false;
15
15
  this.roadSelected.emit({
16
16
  value: value.toString(),
17
- label: label
17
+ label: label,
18
18
  });
19
19
  };
20
20
  }
@@ -8,6 +8,7 @@ export default {
8
8
  handles: ['roadChange', 'roadBlur', 'roadFocus'],
9
9
  },
10
10
  },
11
+ decorators: [(story) => html`<div style="margin-bottom: 20rem">${story()}</div>`],
11
12
  };
12
13
 
13
14
  export const Playground = (args) => {
@@ -36,9 +37,6 @@ export const Playground = (args) => {
36
37
 
37
38
  ></road-input>
38
39
  </road-autocomplete>
39
-
40
- <!-- br are here only until we find how to add a margin only for Storybook docs block, do not copy them -->
41
- <br><br><br><br><br><br><br><br><br><br><br><br><br>
42
40
  `;
43
41
  };
44
42
  Playground.argTypes = {
@@ -1,11 +1,10 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Image of the avatar.
4
4
  */
5
5
  export class Avatar {
6
6
  render() {
7
- return (h(Host, null,
8
- h("slot", null)));
7
+ return (h("slot", null));
9
8
  }
10
9
  static get is() { return "road-avatar"; }
11
10
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Prop, Event, Element } from '@stencil/core';
1
+ import { Component, h, Prop, Event, Element } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Content of the card.
4
4
  *
@@ -48,7 +48,7 @@ export class Card {
48
48
  h("slot", null)));
49
49
  }
50
50
  render() {
51
- return (h(Host, null, this.renderCard()));
51
+ return (this.renderCard());
52
52
  }
53
53
  static get is() { return "road-card"; }
54
54
  static get encapsulation() { return "shadow"; }
@@ -1,11 +1,10 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Content of the column.
4
4
  */
5
5
  export class Col {
6
6
  render() {
7
- return (h(Host, null,
8
- h("slot", null)));
7
+ return (h("slot", null));
9
8
  }
10
9
  static get is() { return "road-col"; }
11
10
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Prop, Element, Event } from '@stencil/core';
1
+ import { Component, h, Prop, Element, Event } from '@stencil/core';
2
2
  export class Counter {
3
3
  constructor() {
4
4
  /**
@@ -19,11 +19,10 @@ export class Counter {
19
19
  };
20
20
  }
21
21
  render() {
22
- return (h(Host, null,
23
- h("road-input-group", { class: this.size && `counter-${this.size}` },
24
- h("road-button", { slot: "prepend", size: this.size, onClick: this.decrease }, "-"),
25
- h("road-input", { type: "number", min: this.min, max: this.max, step: this.step, value: this.value }),
26
- h("road-button", { slot: "append", size: this.size, onClick: this.increase }, "+"))));
22
+ return (h("road-input-group", { class: this.size && `counter-${this.size}` },
23
+ h("road-button", { slot: "prepend", size: this.size, onClick: this.decrease }, "-"),
24
+ h("road-input", { type: "number", min: this.min, max: this.max, step: this.step, value: this.value }),
25
+ h("road-button", { slot: "append", size: this.size, onClick: this.increase }, "+")));
27
26
  }
28
27
  static get is() { return "road-counter"; }
29
28
  static get encapsulation() { return "scoped"; }
@@ -3,6 +3,7 @@ import { html } from 'lit-html';
3
3
  export default {
4
4
  title: 'Expand/Dropdown',
5
5
  component: 'road-dropdown',
6
+ decorators: [(story) => html`<div style="margin-bottom: 20rem">${story()}</div>`],
6
7
  };
7
8
 
8
9
  export const Playground = (args) => html`
@@ -1,11 +1,10 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Content to add row components.
4
4
  */
5
5
  export class Grid {
6
6
  render() {
7
- return (h(Host, null,
8
- h("slot", null)));
7
+ return (h("slot", null));
9
8
  }
10
9
  static get is() { return "road-grid"; }
11
10
  static get encapsulation() { return "shadow"; }
@@ -3,7 +3,7 @@ const debounceEvent = (event, wait) => {
3
3
  const original = event._original || event;
4
4
  return {
5
5
  _original: event,
6
- emit: debounce(original.emit.bind(original), wait)
6
+ emit: debounce(original.emit.bind(original), wait),
7
7
  };
8
8
  };
9
9
  const debounce = (func, wait = 0) => {
@@ -1,11 +1,10 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Content of the label.
4
4
  */
5
5
  export class Label {
6
6
  render() {
7
- return (h(Host, null,
8
- h("slot", null)));
7
+ return (h("slot", null));
9
8
  }
10
9
  static get is() { return "road-label"; }
11
10
  static get encapsulation() { return "shadow"; }
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Prop, Event, Watch } from '@stencil/core';
1
+ import { Component, h, Prop, Event, Watch } from '@stencil/core';
2
2
  import { licensePlateStarEu } from '../../../icons';
3
3
  export class PlateNumber {
4
4
  constructor() {
@@ -70,18 +70,17 @@ export class PlateNumber {
70
70
  render() {
71
71
  const value = this.getValue();
72
72
  const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
73
- return (h(Host, null,
74
- h("road-input-group", { class: `plate-number ${motorbikeClass}` },
75
- h("label", { slot: "prepend", class: "input-group-prepend" },
76
- h("div", { class: "plate-number-start" },
77
- h("road-icon", { class: "plate-number-icon", icon: licensePlateStarEu }),
78
- h("div", { class: "plate-number-location" }, this.countries
79
- .filter(item => item.country === this.country)[0].letter))),
80
- this.motorbike
81
- ? (h("textarea", { class: "form-control plate-number-input mb-0", placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, maxlength: "9", rows: 2, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }))
82
- : (h("input", { class: "plate-number-input mb-0", placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })),
83
- h("label", { slot: "append", class: "input-group-append" },
84
- h("div", { class: "plate-number-end" })))));
73
+ return (h("road-input-group", { class: `plate-number ${motorbikeClass}` },
74
+ h("label", { slot: "prepend", class: "input-group-prepend" },
75
+ h("div", { class: "plate-number-start" },
76
+ h("road-icon", { class: "plate-number-icon", icon: licensePlateStarEu }),
77
+ h("div", { class: "plate-number-location" }, this.countries
78
+ .filter(item => item.country === this.country)[0].letter))),
79
+ this.motorbike
80
+ ? (h("textarea", { class: "form-control plate-number-input mb-0", placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, maxlength: "9", rows: 2, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }))
81
+ : (h("input", { class: "plate-number-input mb-0", placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })),
82
+ h("label", { slot: "append", class: "input-group-append" },
83
+ h("div", { class: "plate-number-end" }))));
85
84
  }
86
85
  static get is() { return "road-plate-number"; }
87
86
  static get encapsulation() { return "scoped"; }
@@ -1,4 +1,4 @@
1
- import { Component, Host, h, Element, Prop, Event, Watch } from '@stencil/core';
1
+ import { Component, h, Element, Prop, Event, Watch } from '@stencil/core';
2
2
  export class Range {
3
3
  constructor() {
4
4
  /**
@@ -36,11 +36,10 @@ export class Range {
36
36
  }
37
37
  render() {
38
38
  const value = this.getValue();
39
- return (h(Host, null,
40
- h("div", { class: "form-range", style: { '--min:': this.min, '--max': this.max, '--value': value } },
41
- this.showValue && h("output", null),
42
- h("input", { type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput }),
43
- h("div", { class: "form-range-progress" }))));
39
+ return (h("div", { class: "form-range", style: { '--min:': this.min, '--max': this.max, '--value': value } },
40
+ this.showValue && h("output", null),
41
+ h("input", { type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput }),
42
+ h("div", { class: "form-range-progress" })));
44
43
  }
45
44
  static get is() { return "road-range"; }
46
45
  static get encapsulation() { return "scoped"; }
@@ -1,4 +1,5 @@
1
1
  import { Component, Element, Host, Listen, Prop, State, h, Event } from '@stencil/core';
2
+ import Fuse from 'fuse.js';
2
3
  /**
3
4
  * @slot - Input element for the widget, it should be a road-input element.
4
5
  */
@@ -10,6 +11,15 @@ export class SelectFilter {
10
11
  * List of options of the select
11
12
  */
12
13
  this.options = [];
14
+ /**
15
+ * Options to pass to the fuse.js instance.
16
+ * See https://fusejs.io/api/options.html for valid options
17
+ */
18
+ this.parameters = {
19
+ keys: ["value", "label"],
20
+ threshold: 0.3,
21
+ ignoreLocation: true,
22
+ };
13
23
  /**
14
24
  * If `false`, the user can submit custom value
15
25
  */
@@ -32,16 +42,19 @@ export class SelectFilter {
32
42
  onClickOutside(event) {
33
43
  if (this.isOpen && !this.el.contains(event.target)) {
34
44
  this.isOpen = false;
35
- if (this.onlySelect) {
45
+ const value = this.el.querySelector('road-input').value;
46
+ if (this.onlySelect && !this.options.some(option => option['label'] === value)) {
36
47
  this.el.querySelector('road-input').value = '';
37
48
  }
38
49
  }
39
50
  }
40
51
  render() {
52
+ const fuseSearch = new Fuse(this.options, this.parameters);
53
+ const options = this.currentValue === '' ? this.options.map((doc, idx) => ({ item: doc, score: 1, refIndex: idx })) : fuseSearch.search(this.currentValue);
41
54
  return (h(Host, null,
42
55
  h("slot", null),
43
56
  this.isOpen &&
44
- h("ul", { class: "select-filter-list", role: "listbox" }, this.options && this.options.filter(element => element.label.replace(/(<([^>]+)>)/gi, "").toLowerCase().indexOf(this.currentValue) > -1).map(option => (h("li", { class: "select-filter-item", role: "option", onClick: () => this.onClick(option.value, option.label.replace(/(<([^>]+)>)/gi, "")), innerHTML: option.label }))))));
57
+ h("ul", { class: "select-filter-list", role: "listbox" }, options.map(option => (h("li", { class: "select-filter-item", role: "option", onClick: () => this.onClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), innerHTML: option.item.label }))))));
45
58
  }
46
59
  static get is() { return "road-select-filter"; }
47
60
  static get encapsulation() { return "scoped"; }
@@ -72,6 +85,24 @@ export class SelectFilter {
72
85
  },
73
86
  "defaultValue": "[]"
74
87
  },
88
+ "parameters": {
89
+ "type": "any",
90
+ "mutable": false,
91
+ "complexType": {
92
+ "original": "any",
93
+ "resolved": "any",
94
+ "references": {}
95
+ },
96
+ "required": false,
97
+ "optional": false,
98
+ "docs": {
99
+ "tags": [],
100
+ "text": "Options to pass to the fuse.js instance.\nSee https://fusejs.io/api/options.html for valid options"
101
+ },
102
+ "attribute": "parameters",
103
+ "reflect": false,
104
+ "defaultValue": "{\n keys: [\"value\", \"label\"],\n threshold: 0.3,\n ignoreLocation: true,\n }"
105
+ },
75
106
  "onlySelect": {
76
107
  "type": "boolean",
77
108
  "mutable": false,
@@ -8,6 +8,7 @@ export default {
8
8
  handles: ['roadBlur', 'roadFocus'],
9
9
  },
10
10
  },
11
+ decorators: [(story) => html`<div style="margin-bottom: 20rem">${story()}</div>`],
11
12
  };
12
13
 
13
14
  export const Playground = (args) => {
@@ -29,9 +30,6 @@ export const Playground = (args) => {
29
30
  </label>
30
31
  </road-input-group>
31
32
  </road-select-filter>
32
-
33
- <!-- br are here only until we find how to add a margin only for Storybook docs block, do not copy them -->
34
- <br><br><br><br><br><br><br><br><br><br><br><br><br>
35
33
  `;
36
34
  };
37
35
  Playground.argTypes = {
@@ -131,8 +129,5 @@ export const withHTML = () => {
131
129
  </label>
132
130
  </road-input-group>
133
131
  </road-select-filter>
134
-
135
- <!-- br are here only until we find how to add a margin only for Storybook docs block, do not copy them -->
136
- <br><br><br><br><br><br><br><br><br><br><br><br><br>
137
132
  `;
138
133
  };
@@ -1,8 +1,7 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  export class Skeleton {
3
3
  render() {
4
- return (h(Host, null,
5
- h("span", null, "\u00A0")));
4
+ return (h("span", null, "\u00A0"));
6
5
  }
7
6
  static get is() { return "road-skeleton"; }
8
7
  static get encapsulation() { return "shadow"; }
@@ -1,9 +1,8 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  export class Spinner {
3
3
  render() {
4
- return (h(Host, null,
5
- h("svg", { class: "spinner", viewBox: "25 25 50 50" },
6
- h("circle", { class: "spinner-circle", cx: "50", cy: "50", r: "20" }))));
4
+ return (h("svg", { class: "spinner", viewBox: "25 25 50 50" },
5
+ h("circle", { class: "spinner-circle", cx: "50", cy: "50", r: "20" })));
7
6
  }
8
7
  static get is() { return "road-spinner"; }
9
8
  static get encapsulation() { return "shadow"; }
@@ -1,11 +1,10 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Content of table, it should be an html table (https://developer.mozilla.org/fr/docs/Web/HTML/Element/table).
4
4
  */
5
5
  export class Table {
6
6
  render() {
7
- return (h(Host, null,
8
- h("slot", null)));
7
+ return (h("slot", null));
9
8
  }
10
9
  static get is() { return "road-table"; }
11
10
  static get encapsulation() { return "scoped"; }
@@ -1,12 +1,11 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Component, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot - Text of the title.
4
4
  */
5
5
  export class ToolbarTitle {
6
6
  render() {
7
- return (h(Host, null,
8
- h("div", { class: "toolbar-title" },
9
- h("slot", null))));
7
+ return (h("div", { class: "toolbar-title" },
8
+ h("slot", null)));
10
9
  }
11
10
  static get is() { return "road-toolbar-title"; }
12
11
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ const patchEsm = () => {
25
25
  const defineCustomElements = (win, options) => {
26
26
  if (typeof window === 'undefined') return Promise.resolve();
27
27
  return patchEsm().then(() => {
28
- return bootstrapLazy([["road-badge_11",[[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-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-col"],[1,"road-grid"],[1,"road-label"],[1,"road-list",{"lines":[1]}],[1,"road-row"],[1,"road-toolbar",{"color":[1]}],[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-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-counter",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[1],"max":[1],"step":[1],"value":[2],"size":[1]}]]],["road-plate-number",[[2,"road-plate-number",{"country":[1],"placeholder":[1],"value":[1032],"motorbike":[4]}]]],["road-accordion",[[1,"road-accordion",{"isOpen":[1028,"is-open"]}]]],["road-carousel",[[4,"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-chip",[[1,"road-chip",{"color":[1],"outline":[4],"size":[1],"hasCloseIcon":[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{"isOpen":[1028,"is-open"],"showMore":[1,"show-more"],"showLess":[1,"show-less"],"centered":[4]}]]],["road-dialog",[[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-modal",[[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-rating",[[1,"road-rating",{"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"position":[1],"open":[64],"close":[64]}]]],["road-alert",[[1,"road-alert",{"color":[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar",[[1,"road-avatar"]]],["road-card",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-checkbox",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1]}]]],["road-dropdown",[[1,"road-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-flap",[[1,"road-flap",{"color":[1]}]]],["road-img",[[1,"road-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["road-navbar",[[1,"road-navbar",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadNavbarChanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{"value":[2],"color":[1]}]]],["road-radio",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"inline":[4],"checked":[32]},[[8,"roadChange","onRoadChangedChanged"]]]]],["road-radio-group",[[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]}]]],["road-range",[[2,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"]}]]],["road-select",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter",[[6,"road-select-filter",{"options":[16],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadChange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner"]]],["road-switch",[[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",[[1,"road-tab",{"active":[1028],"tab":[1],"setActive":[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{"expand":[4],"center":[4],"selectedTab":[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{"download":[1],"href":[1],"rel":[1],"layout":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadTabBarChanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-text",[[1,"road-text",{"color":[1]}]]],["road-textarea",[[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],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-tooltip",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-input",[[2,"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],"type":[1],"value":[1032],"label":[1],"error":[1],"debounce":[2]}]]],["road-input-group",[[1,"road-input-group"]]]], options);
28
+ return bootstrapLazy([["road-badge_11",[[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-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-col"],[1,"road-grid"],[1,"road-label"],[1,"road-list",{"lines":[1]}],[1,"road-row"],[1,"road-toolbar",{"color":[1]}],[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-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-counter",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[1],"max":[1],"step":[1],"value":[2],"size":[1]}]]],["road-plate-number",[[2,"road-plate-number",{"country":[1],"placeholder":[1],"value":[1032],"motorbike":[4]}]]],["road-accordion",[[1,"road-accordion",{"isOpen":[1028,"is-open"]}]]],["road-carousel",[[4,"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-chip",[[1,"road-chip",{"color":[1],"outline":[4],"size":[1],"hasCloseIcon":[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{"isOpen":[1028,"is-open"],"showMore":[1,"show-more"],"showLess":[1,"show-less"],"centered":[4]}]]],["road-dialog",[[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-modal",[[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-rating",[[1,"road-rating",{"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"position":[1],"open":[64],"close":[64]}]]],["road-alert",[[1,"road-alert",{"color":[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar",[[1,"road-avatar"]]],["road-card",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-checkbox",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1]}]]],["road-dropdown",[[1,"road-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-flap",[[1,"road-flap",{"color":[1]}]]],["road-img",[[1,"road-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["road-navbar",[[1,"road-navbar",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadNavbarChanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{"value":[2],"color":[1]}]]],["road-radio",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"inline":[4],"checked":[32]},[[8,"roadChange","onRoadChangedChanged"]]]]],["road-radio-group",[[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]}]]],["road-range",[[2,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"]}]]],["road-select",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter",[[6,"road-select-filter",{"options":[16],"parameters":[8],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadChange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner"]]],["road-switch",[[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",[[1,"road-tab",{"active":[1028],"tab":[1],"setActive":[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{"expand":[4],"center":[4],"selectedTab":[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{"download":[1],"href":[1],"rel":[1],"layout":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadTabBarChanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-text",[[1,"road-text",{"color":[1]}]]],["road-textarea",[[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],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-tooltip",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-input",[[2,"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],"type":[1],"value":[1032],"label":[1],"error":[1],"debounce":[2]}]]],["road-input-group",[[1,"road-input-group"]]]], options);
29
29
  });
30
30
  };
31
31
 
@@ -16,7 +16,7 @@ let Autocomplete = class {
16
16
  this.visible = false;
17
17
  this.roadSelected.emit({
18
18
  value: value.toString(),
19
- label: label
19
+ label: label,
20
20
  });
21
21
  };
22
22
  }
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-4e5ea092.js';
1
+ import { r as registerInstance, h } from './index-4e5ea092.js';
2
2
 
3
3
  const avatarCss = ":host{--avatar-background:var(--background-second);--avatar-width:3rem;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:var(--avatar-width);height:var(--avatar-width);background:var(--avatar-background);border-radius:var(--avatar-width)}::slotted(road-img),::slotted(img){width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;border-radius:var(--avatar-width)}::slotted(road-badge){position:absolute;top:0;right:0}";
4
4
 
@@ -7,7 +7,7 @@ let Avatar = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h(Host, null, h("slot", null)));
10
+ return (h("slot", null));
11
11
  }
12
12
  };
13
13
  Avatar.style = avatarCss;
@@ -95,7 +95,7 @@ let Col = class {
95
95
  registerInstance(this, hostRef);
96
96
  }
97
97
  render() {
98
- return (h(Host, null, h("slot", null)));
98
+ return (h("slot", null));
99
99
  }
100
100
  };
101
101
  Col.style = colCss;
@@ -222,7 +222,7 @@ let Grid = class {
222
222
  registerInstance(this, hostRef);
223
223
  }
224
224
  render() {
225
- return (h(Host, null, h("slot", null)));
225
+ return (h("slot", null));
226
226
  }
227
227
  };
228
228
  Grid.style = gridCss;
@@ -454,7 +454,7 @@ let Label = class {
454
454
  registerInstance(this, hostRef);
455
455
  }
456
456
  render() {
457
- return (h(Host, null, h("slot", null)));
457
+ return (h("slot", null));
458
458
  }
459
459
  };
460
460
  Label.style = labelCss;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-4e5ea092.js';
1
+ import { r as registerInstance, c as createEvent, h, e as getElement } from './index-4e5ea092.js';
2
2
 
3
3
  const cardCss = ":host{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;margin-bottom:var(--margin-bottom, 1rem)}.card-native{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%;height:100%;padding:1.5rem;margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:center;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;background:var(--white);border:0;border-radius:0.25rem;outline:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}a,button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}::slotted(road-icon){text-align:center}";
4
4
 
@@ -47,7 +47,7 @@ let Card = class {
47
47
  return (h(TagType, Object.assign({}, attrs, { class: "card-native", part: "native", onClick: this.onClick }), h("slot", null)));
48
48
  }
49
49
  render() {
50
- return (h(Host, null, this.renderCard()));
50
+ return (this.renderCard());
51
51
  }
52
52
  get el() { return getElement(this); }
53
53
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-4e5ea092.js';
1
+ import { r as registerInstance, c as createEvent, h, e as getElement } from './index-4e5ea092.js';
2
2
 
3
3
  const counterCss = ".sc-road-counter-h{--counter-margin-bottom:1rem;display:block}road-input.sc-road-counter{--input-text-align:center;--border-radius:0;--margin-bottom:var(--counter-margin-bottom)}road-button.sc-road-counter{font-size:1.125rem;background:var(--background-second);border-color:var(--border-form)}road-button.sc-road-counter:hover{background:var(--background)}.counter-md.sc-road-counter road-input.sc-road-counter{--height:2.5rem}.counter-md.sc-road-counter road-button.sc-road-counter{min-width:2.5rem}.counter-sm.sc-road-counter road-input.sc-road-counter{--height:2rem}.counter-sm.sc-road-counter road-button.sc-road-counter{min-width:2rem}";
4
4
 
@@ -25,7 +25,7 @@ let Counter = class {
25
25
  };
26
26
  }
27
27
  render() {
28
- return (h(Host, null, h("road-input-group", { class: this.size && `counter-${this.size}` }, h("road-button", { slot: "prepend", size: this.size, onClick: this.decrease }, "-"), h("road-input", { type: "number", min: this.min, max: this.max, step: this.step, value: this.value }), h("road-button", { slot: "append", size: this.size, onClick: this.increase }, "+"))));
28
+ return (h("road-input-group", { class: this.size && `counter-${this.size}` }, h("road-button", { slot: "prepend", size: this.size, onClick: this.decrease }, "-"), h("road-input", { type: "number", min: this.min, max: this.max, step: this.step, value: this.value }), h("road-button", { slot: "append", size: this.size, onClick: this.increase }, "+")));
29
29
  }
30
30
  get el() { return getElement(this); }
31
31
  };
@@ -6,7 +6,7 @@ const debounceEvent = (event, wait) => {
6
6
  const original = event._original || event;
7
7
  return {
8
8
  _original: event,
9
- emit: debounce(original.emit.bind(original), wait)
9
+ emit: debounce(original.emit.bind(original), wait),
10
10
  };
11
11
  };
12
12
  const debounce = (func, wait = 0) => {