System.register(["./index-c820db66.system.js"],(function(e){"use strict";var n,t;return{setters:[function(e){n=e.r;t=e.h}],execute:function(){var o=".sc-smoothly-select-demo-h{display:block}[hidden].sc-smoothly-select-demo-h{display:none}button.sc-smoothly-select-demo:focus{outline:none}";var a=e("smoothly_select_demo",function(){function e(e){n(this,e);this.currencies=["SEK","EUR"];this.currency="SEK"}e.prototype.alertf=function(){var e;console.log(this.quantityElement);alert((e=this.quantityElement)===null||e===void 0?void 0:e.value)};e.prototype.handleSelectionChanged=function(e){console.log("selectionChanged",e.detail)};e.prototype.render=function(){var e=this;return[t("smoothly-select",{identifier:"currency"},this.currencies.map((function(n){return e.currency==n?t("option",{value:n,selected:true},n):t("option",{value:n},n)}))),t("smoothly-select",{identifier:"language"},t("optgroup",{label:"Nordic"},t("option",{value:"sv"},"Swedish"),t("option",{value:"da",selected:true},"Danish"),t("option",{value:"no"},"Norwegian")),t("optgroup",{label:"Other"},t("option",{value:"en"},"English"))),t("smoothly-select",{identifier:"quantity",ref:function(n){return e.quantityElement=n}},t("option",{value:"1"},"1"),t("option",{value:"2"},"2"),t("option",{value:"3"},"3")),t("button",{onClick:function(){return e.alertf()}},"press here"),t("smoothly-picker",{label:"filter","empty-menu-label":"Sorry, we're out of options.",multiple:true,options:[{name:"Big Dog",value:"dog",aliases:["WOFF"]},{name:"Cat Stevens",value:"cat",aliases:["moew"]},{name:"Noble Pig",value:"pig"},{name:"Turtle Wax",value:"turtle"},{name:"Spider Man",value:"spider"},{name:"Phoenix Order",value:"phoenix"},{name:"Horse Back",value:"horse"},{name:"Unicorn Horn",value:"unicorn"},{name:"Talking Parrot",value:"parrot"},{name:"Hidden Dragon",value:"dragon"},{name:"Scary Kraken",value:"kraken"}]}),t("br",null),t("smoothly-picker",{label:"filter",multiple:false,"max-menu-height":"200px",options:[{name:"Dog",value:"dog",aliases:["WOFF"],description:"Woof 🐶"},{name:"Cat",value:"cat",aliases:["moew"]},{name:"Pig",value:"pig"},{name:"Turtle",value:"turtle"},{name:"Spider",value:"spider"},{name:"Phoenix",value:"phoenix"},{name:"Horse",value:"horse"},{name:"Unicorn",value:"unicorn"},{name:"Parrot",value:"parrot"},{name:"Dragon",value:"dragon"},{name:"Kraken",value:"kraken"}]})]};return e}());a.style=o}}}));