smoothly 1.123.0 → 1.124.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/smoothly-app_99.cjs.entry.js +9 -4
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/select/index.js +4 -4
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/menu.js +5 -0
- package/dist/collection/components/input/select/menu.js.map +1 -1
- package/dist/components/{p-DxMW5Du7.js → p-B1agr2Cu.js} +2 -2
- package/dist/components/{p-BoVqzcqA.js → p-B4ZWPf6K.js} +2 -2
- package/dist/components/{p-CRgTWhgN.js → p-B8xGVFme.js} +2 -2
- package/dist/components/{p-DilrpZI6.js → p-BOgkCDpz.js} +2 -2
- package/dist/components/{p-C5SROPcr.js → p-BiRi-ZIu.js} +2 -2
- package/dist/components/{p-CsbRRVxH.js → p-Bp65xiCy.js} +2 -2
- package/dist/components/{p-CKguOE4o.js → p-C3ntRScd.js} +2 -2
- package/dist/components/{p-BlSr9psC.js → p-C4PyQibs.js} +2 -2
- package/dist/components/{p-5RD9qap_.js → p-CA4ZV5xR.js} +2 -2
- package/dist/components/{p-CG405xpf.js → p-CZY1H_tZ.js} +2 -2
- package/dist/components/{p-DABDOf4i.js → p-Cd3l3tXR.js} +2 -2
- package/dist/components/{p-DdG2-QwQ.js → p-CnPK9tlN.js} +2 -2
- package/dist/components/{p-BW08Z-5c.js → p-D1kz47jP.js} +2 -2
- package/dist/components/{p-B7iMXQWl.js → p-D7ibQkKs.js} +2 -2
- package/dist/components/{p-DJZNwn-w.js → p-DB5eYiPc.js} +2 -2
- package/dist/components/p-DTo2Itg9.js +2 -0
- package/dist/components/p-DTo2Itg9.js.map +1 -0
- package/dist/components/{p-Obm_ForQ.js → p-DcOQ-AL9.js} +2 -2
- package/dist/components/{p-DUuSvBmQ.js → p-DfSSSicA.js} +2 -2
- package/dist/components/{p-CRlfq-AL.js → p-EqRJl32n.js} +2 -2
- package/dist/components/{p-CocCQeEi.js → p-J05ZrIy8.js} +2 -2
- package/dist/components/{p-CeUOn6zh.js → p-_46rt1sK.js} +2 -2
- package/dist/components/{p-C0Z37bUn.js → p-fZNu4CkP.js} +2 -2
- package/dist/components/{p-bROQezlS.js → p-jd_qrwk9.js} +2 -2
- package/dist/components/{p-DES0wbqs.js → p-l7KxEsrG.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- package/dist/components/smoothly-button-demo-standard.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +1 -1
- package/dist/components/smoothly-input-date-demo.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo-user-input.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/esm/smoothly-app_99.entry.js +9 -4
- package/dist/esm/smoothly-app_99.entry.js.map +1 -1
- package/dist/smoothly/{p-bf6726da.entry.js → p-53cbd170.entry.js} +2 -2
- package/dist/smoothly/p-53cbd170.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/input/select/menu.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/p-Bd-a9CG1.js +0 -2
- package/dist/components/p-Bd-a9CG1.js.map +0 -1
- package/dist/smoothly/p-bf6726da.entry.js.map +0 -1
- /package/dist/components/{p-DxMW5Du7.js.map → p-B1agr2Cu.js.map} +0 -0
- /package/dist/components/{p-BoVqzcqA.js.map → p-B4ZWPf6K.js.map} +0 -0
- /package/dist/components/{p-CRgTWhgN.js.map → p-B8xGVFme.js.map} +0 -0
- /package/dist/components/{p-DilrpZI6.js.map → p-BOgkCDpz.js.map} +0 -0
- /package/dist/components/{p-C5SROPcr.js.map → p-BiRi-ZIu.js.map} +0 -0
- /package/dist/components/{p-CsbRRVxH.js.map → p-Bp65xiCy.js.map} +0 -0
- /package/dist/components/{p-CKguOE4o.js.map → p-C3ntRScd.js.map} +0 -0
- /package/dist/components/{p-BlSr9psC.js.map → p-C4PyQibs.js.map} +0 -0
- /package/dist/components/{p-5RD9qap_.js.map → p-CA4ZV5xR.js.map} +0 -0
- /package/dist/components/{p-CG405xpf.js.map → p-CZY1H_tZ.js.map} +0 -0
- /package/dist/components/{p-DABDOf4i.js.map → p-Cd3l3tXR.js.map} +0 -0
- /package/dist/components/{p-DdG2-QwQ.js.map → p-CnPK9tlN.js.map} +0 -0
- /package/dist/components/{p-BW08Z-5c.js.map → p-D1kz47jP.js.map} +0 -0
- /package/dist/components/{p-B7iMXQWl.js.map → p-D7ibQkKs.js.map} +0 -0
- /package/dist/components/{p-DJZNwn-w.js.map → p-DB5eYiPc.js.map} +0 -0
- /package/dist/components/{p-Obm_ForQ.js.map → p-DcOQ-AL9.js.map} +0 -0
- /package/dist/components/{p-DUuSvBmQ.js.map → p-DfSSSicA.js.map} +0 -0
- /package/dist/components/{p-CRlfq-AL.js.map → p-EqRJl32n.js.map} +0 -0
- /package/dist/components/{p-CocCQeEi.js.map → p-J05ZrIy8.js.map} +0 -0
- /package/dist/components/{p-CeUOn6zh.js.map → p-_46rt1sK.js.map} +0 -0
- /package/dist/components/{p-C0Z37bUn.js.map → p-fZNu4CkP.js.map} +0 -0
- /package/dist/components/{p-bROQezlS.js.map → p-jd_qrwk9.js.map} +0 -0
- /package/dist/components/{p-DES0wbqs.js.map → p-l7KxEsrG.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-D7ibQkKs.js";const t=s;const p=o;export{t as SmoothlyFormDemoDate,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-date.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-J05ZrIy8.js";const r=o;const t=s;export{r as SmoothlyFormDemoPet,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-pet.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-CnPK9tlN.js";const t=o;const n=s;export{t as SmoothlyFormDemoSchedule,n as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-schedule.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-fZNu4CkP.js";const t=o;const p=s;export{t as SmoothlyFormDemoTransparent,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-transparent.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-CA4ZV5xR.js";const t=o;const p=s;export{t as SmoothlyFormDemoTyped,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-typed.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-BOgkCDpz.js";const p=o;const t=s;export{p as SmoothlyFormDemo,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-B4ZWPf6K.js";const t=o;const p=s;export{t as SmoothlyIconDemo,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-icon-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as o,h as t,d as s,t as a}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d as c}from"./p-mmAi00ak.js";import{d as l}from"./p-Cl8L61mt.js";import{d}from"./p-DES0wbqs.js";import{d as i}from"./p-BE5E3Jm6.js";import{d as f}from"./p-CN3iME9d.js";import{d as n}from"./p-DG2pfnCV.js";import{d as r}from"./p-uFR5K4vd.js";import{d as b}from"./p-DvZK__s-.js";import{d as y}from"./p-F8qX8ZuL.js";import{d as p}from"./p-BLDkKrD6.js";import{d as u}from"./p-DFSiKg4M.js";import{d as h}from"./p-BWF43Ktc.js";import{d as k}from"./p-BAMxyPpe.js";import{d as j}from"./p-e3dhSqSH.js";import{d as E}from"./p-BkrgS2Eo.js";import{d as g}from"./p-CG405xpf.js";import{d as v}from"./p-CsbRRVxH.js";import{d as x}from"./p-CXd0RCW9.js";import{d as C}from"./p-BR6cMQkb.js";import{d as S}from"./p-CRlfq-AL.js";import{d as z}from"./p-CcJ_7PQR.js";import{d as F}from"./p-CvhP-Vls.js";import{d as P}from"./p-WyNQ9SZM.js";import{d as D}from"./p-CMhSJk_G.js";import{d as A}from"./p-Bd-a9CG1.js";import{d as B}from"./p-C3bp3FF4.js";import{d as M}from"./p-DtGUtK97.js";import{d as L}from"./p-MWZzvkuh.js";import{d as w}from"./p-D6t9mpY2.js";const J=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"b352bdfbee661343cf47d50f12abebfc0cf6ab16"},t("h2",{key:"91c946ac08fdd45e077f83fc330b2ab936b3a1e4"},"All inputs"),t("smoothly-form",{key:"6fff86e68d54df3d04c6aff0dd68cc159b59db8a",looks:"grid",readonly:true,action:"https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4"},t("smoothly-input",{key:"6dc3fd3c8e17bd65c40e10c209d5c9e9af05606c",readonly:true,name:"First Name",value:"John"},"First name"),t("smoothly-input",{key:"7d7acb5d57428af599b670ffb305d1deec054ebe",name:"Last name",value:"Doe"},"Last name",t("smoothly-input-clear",{key:"27c3f25370ebcd5cccce3db547b28a10570679fb",size:"icon",slot:"end"})),t("smoothly-input",{key:"49aa72aa749938f51ffdf9ebd7a466d94845ee9d",type:"phone",name:"Phone",value:"777888999"},"Phone",t("smoothly-input-reset",{key:"286f46fa39c7ad3786b62730fd58be655d447917",size:"icon",slot:"end"})),t("smoothly-input-radio",{key:"91ad70640e71a52489c855e1852c609a88bb2eb6",clearable:true,name:"radioFirstInput"},t("p",{key:"3068f8e03da6c743c9041d00e6206674d8647db6",slot:"label"},"Clearable"),t("smoothly-input-radio-item",{key:"d636989038d98000ba11ce424ccc27ab625d0515",slot:"options",value:"first"},"Label 1"),t("smoothly-input-radio-item",{key:"5b5e6959f78fc2e3d08eb38e1be5d8e72e46972b",selected:true,slot:"options",value:"second"},"Label 2"),t("smoothly-input-radio-item",{key:"1bbb84c8f3a50612a1fd0b54d08e12486ed98fc7",slot:"options",value:"third"},"Label 3")),t("smoothly-input-color",{key:"cd125a26f203f4d1aeb056bee95ae5acb632ff46",name:"color",value:"#479f56",output:"rgb"},"Color"),t("smoothly-input-select",{key:"814ebdf5fde8126970fdf5b333bdf9fa78a528bc",menuHeight:"7.5items",placeholder:"Select...",multiple:true,name:"select-month"},t("label",{key:"01b6346ec1df5a391709de9619eaffd6b5eb3142",slot:"label"},"Month"),t("smoothly-item",{key:"edccdd1fa584a1d1e8c4d0eb79236cca0da371d1",value:"1"},"January"),t("smoothly-item",{key:"d1e30185f0fe5d7be1fb93caa0858760c3ece3ea",value:"2"},"February"),t("smoothly-item",{key:"87b05bb03e14c13271e9a4d91d1d61dcf2ccdb4e",value:"3"},"March"),t("smoothly-item",{key:"a2f732d3a5e1e2257fc63d1777d5ff9440e5a6ea",value:"4"},"April"),t("smoothly-item",{key:"2a4355ba7020386bd68f3064e758f3c302c914b1",value:"5"},"May"),t("smoothly-item",{key:"4e2ca1c70ebab9644f0b9f23f8838349a2af5662",value:"6"},"June"),t("smoothly-item",{key:"c28b5bf4614565fb363e96f1419f642a5a1e511a",value:"7"},"July"),t("smoothly-item",{key:"29f55d2c10ea35f64d372b4bacf3d16ce6158462",value:"8"},"August"),t("smoothly-item",{key:"af6f0893b6c8f74ab2ec83c994fa4c283ccd50d1",value:"9"},"September"),t("smoothly-item",{key:"bb9dd4309de5f13ee8b09413ed140656f0cd8993",value:"10"},"October"),t("smoothly-item",{key:"4494fc9fde1fcae901228b8a3bc59f66f39062e6",value:"11"},"November"),t("smoothly-item",{key:"8e30882cfc9d205c27455edc3dddcef27c5f3f6e",value:"12"},"December"),t("smoothly-input-clear",{key:"95012437948deee3d15b981e9fd2782dd2e69bf8",size:"icon",slot:"end"})),t("smoothly-input-select",{key:"488a3819d8b5f9d67c7d6a438f23c2f82fddf711",name:"select-icon",clearable:false,showSelected:false},t("smoothly-item",{key:"246ee9908f5b491020a9e4bc983b11ded6a584a9",value:"folder",selected:true},t("smoothly-icon",{key:"c08ecd57f6eb097c243f291a3c81fb9d2348dd53",size:"small",name:"folder-outline"})),t("smoothly-item",{key:"fae16d67f4e6d37db50eaa88b5f7c4a8c864a524",value:"camera"},t("smoothly-icon",{key:"2599688d7fea657f0fc6eff69ef2418b972574a6",size:"small",name:"camera-outline"}))),t("smoothly-input-checkbox",{key:"322949e94c629f7e145dcecf9018fbf76d12288f",name:"checkbox"},"Check the box"),t("smoothly-input-checkbox",{key:"9cc5b47dc19012948e305a5757ce8db32e8604a6",name:"checkbox2",checked:true},"Check the box 2"),t("smoothly-input-date-range",{key:"90fd7d3c0be11f0392facadb1d222a103cb70229",start:m.Date.now(),end:m.Date.now()}),t("smoothly-input-date",{key:"4c2763206ed70c88dd68be14d7dd052b343e9ed4",name:"date"},"Date",t("smoothly-input-clear",{key:"0d0d5e29aa88d9813233f37c4a44b03716b0b0c7",slot:"end"})),t("smoothly-input-range",{key:"7b9629770c6f9a0cf56bf6b2879622a1c3916bf8",step:1,name:"range3",value:2e4},"Select"),t("smoothly-input",{key:"2189012b707e0c9d59ce9d98a2934e46d4757cd6",name:"pets.0.name"},"First Pet's Name"),t("smoothly-input-range",{key:"ec909bac6b45f203d3b62c3a4bf4edb1786ab29c",name:"pets.0.age",max:100,step:1},"First Pet's Age"),t("smoothly-input",{key:"e4a149d8f21fe0183c1c02af96b36dd45372464e",name:"pets.1.name"},"Second Pet's Name"),t("smoothly-input-range",{key:"b12f8a0caa8efadc3517e4d49ac10a28a77c3113",name:"pets.1.age",max:100,step:1},"Second Pet's Age"),t("smoothly-input",{key:"5c0efcf118ca8fe07c45801b1ce0a40ec6ae057f",name:"pets.2.name"},"Third Pet's Name"),t("smoothly-input-range",{key:"ea359e74dfe9cbde7b72843d57c8a220b3b47fed",name:"pets.2.age",max:100,step:1},"Third Pet's Age"),t("smoothly-input-file",{key:"ad4abed80bcd4d341202927e20f53348be67c254",name:"profile",placeholder:"Click or drag your profile picture here..."},t("span",{key:"316576fc7488e1858fcb80431d9ca4550bfda77c",slot:"label"},"Profile"),t("smoothly-icon",{key:"5e5c1586fa0728fcf8ca296a666fdf5557e3ef04",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),t("smoothly-input-clear",{key:"344bc835f9590416000916aa48b9e66a16dab543",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),t("smoothly-input-edit",{key:"46567f5f92d87e3352e61ee14115086804e8de1c",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),t("smoothly-input-reset",{key:"6857cae3aed0fe81e2600295af74e6be32b7a46a",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"5959f0903bfa4179c95609c9fa05adb4ccbc4eec",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"1503fb2488ea528635f4b7f162df3a28729d47b1",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}},[2,"smoothly-input-checkbox-demo"]);function K(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-checkbox-demo","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-edit","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-checkbox-demo":if(!customElements.get(a(e))){customElements.define(a(e),J)}break;case"smoothly-button":if(!customElements.get(a(e))){c()}break;case"smoothly-button-confirm":if(!customElements.get(a(e))){l()}break;case"smoothly-calendar":if(!customElements.get(a(e))){d()}break;case"smoothly-date-text":if(!customElements.get(a(e))){i()}break;case"smoothly-display":if(!customElements.get(a(e))){f()}break;case"smoothly-display-json":if(!customElements.get(a(e))){n()}break;case"smoothly-display-json-object":if(!customElements.get(a(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(a(e))){b()}break;case"smoothly-display-json-record-key":if(!customElements.get(a(e))){y()}break;case"smoothly-form":if(!customElements.get(a(e))){p()}break;case"smoothly-icon":if(!customElements.get(a(e))){u()}break;case"smoothly-input":if(!customElements.get(a(e))){h()}break;case"smoothly-input-checkbox":if(!customElements.get(a(e))){k()}break;case"smoothly-input-clear":if(!customElements.get(a(e))){j()}break;case"smoothly-input-color":if(!customElements.get(a(e))){E()}break;case"smoothly-input-date":if(!customElements.get(a(e))){g()}break;case"smoothly-input-date-range":if(!customElements.get(a(e))){v()}break;case"smoothly-input-edit":if(!customElements.get(a(e))){x()}break;case"smoothly-input-file":if(!customElements.get(a(e))){C()}break;case"smoothly-input-month":if(!customElements.get(a(e))){S()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){z()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){F()}break;case"smoothly-input-range":if(!customElements.get(a(e))){P()}break;case"smoothly-input-reset":if(!customElements.get(a(e))){D()}break;case"smoothly-input-select":if(!customElements.get(a(e))){A()}break;case"smoothly-input-submit":if(!customElements.get(a(e))){B()}break;case"smoothly-item":if(!customElements.get(a(e))){M()}break;case"smoothly-spinner":if(!customElements.get(a(e))){L()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){w()}break}}))}K();const N=J;const R=K;export{N as SmoothlyInputCheckboxDemo,R as defineCustomElement};
|
|
1
|
+
import{p as e,H as o,h as t,d as s,t as a}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d as c}from"./p-mmAi00ak.js";import{d as l}from"./p-Cl8L61mt.js";import{d}from"./p-l7KxEsrG.js";import{d as i}from"./p-BE5E3Jm6.js";import{d as f}from"./p-CN3iME9d.js";import{d as n}from"./p-DG2pfnCV.js";import{d as r}from"./p-uFR5K4vd.js";import{d as b}from"./p-DvZK__s-.js";import{d as y}from"./p-F8qX8ZuL.js";import{d as p}from"./p-BLDkKrD6.js";import{d as u}from"./p-DFSiKg4M.js";import{d as h}from"./p-BWF43Ktc.js";import{d as k}from"./p-BAMxyPpe.js";import{d as j}from"./p-e3dhSqSH.js";import{d as E}from"./p-BkrgS2Eo.js";import{d as g}from"./p-CZY1H_tZ.js";import{d as v}from"./p-Bp65xiCy.js";import{d as x}from"./p-CXd0RCW9.js";import{d as C}from"./p-BR6cMQkb.js";import{d as z}from"./p-EqRJl32n.js";import{d as F}from"./p-CcJ_7PQR.js";import{d as P}from"./p-CvhP-Vls.js";import{d as S}from"./p-WyNQ9SZM.js";import{d as D}from"./p-CMhSJk_G.js";import{d as B}from"./p-DTo2Itg9.js";import{d as M}from"./p-C3bp3FF4.js";import{d as A}from"./p-DtGUtK97.js";import{d as J}from"./p-MWZzvkuh.js";import{d as K}from"./p-D6t9mpY2.js";const L=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"b352bdfbee661343cf47d50f12abebfc0cf6ab16"},t("h2",{key:"91c946ac08fdd45e077f83fc330b2ab936b3a1e4"},"All inputs"),t("smoothly-form",{key:"6fff86e68d54df3d04c6aff0dd68cc159b59db8a",looks:"grid",readonly:true,action:"https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4"},t("smoothly-input",{key:"6dc3fd3c8e17bd65c40e10c209d5c9e9af05606c",readonly:true,name:"First Name",value:"John"},"First name"),t("smoothly-input",{key:"7d7acb5d57428af599b670ffb305d1deec054ebe",name:"Last name",value:"Doe"},"Last name",t("smoothly-input-clear",{key:"27c3f25370ebcd5cccce3db547b28a10570679fb",size:"icon",slot:"end"})),t("smoothly-input",{key:"49aa72aa749938f51ffdf9ebd7a466d94845ee9d",type:"phone",name:"Phone",value:"777888999"},"Phone",t("smoothly-input-reset",{key:"286f46fa39c7ad3786b62730fd58be655d447917",size:"icon",slot:"end"})),t("smoothly-input-radio",{key:"91ad70640e71a52489c855e1852c609a88bb2eb6",clearable:true,name:"radioFirstInput"},t("p",{key:"3068f8e03da6c743c9041d00e6206674d8647db6",slot:"label"},"Clearable"),t("smoothly-input-radio-item",{key:"d636989038d98000ba11ce424ccc27ab625d0515",slot:"options",value:"first"},"Label 1"),t("smoothly-input-radio-item",{key:"5b5e6959f78fc2e3d08eb38e1be5d8e72e46972b",selected:true,slot:"options",value:"second"},"Label 2"),t("smoothly-input-radio-item",{key:"1bbb84c8f3a50612a1fd0b54d08e12486ed98fc7",slot:"options",value:"third"},"Label 3")),t("smoothly-input-color",{key:"cd125a26f203f4d1aeb056bee95ae5acb632ff46",name:"color",value:"#479f56",output:"rgb"},"Color"),t("smoothly-input-select",{key:"814ebdf5fde8126970fdf5b333bdf9fa78a528bc",menuHeight:"7.5items",placeholder:"Select...",multiple:true,name:"select-month"},t("label",{key:"01b6346ec1df5a391709de9619eaffd6b5eb3142",slot:"label"},"Month"),t("smoothly-item",{key:"edccdd1fa584a1d1e8c4d0eb79236cca0da371d1",value:"1"},"January"),t("smoothly-item",{key:"d1e30185f0fe5d7be1fb93caa0858760c3ece3ea",value:"2"},"February"),t("smoothly-item",{key:"87b05bb03e14c13271e9a4d91d1d61dcf2ccdb4e",value:"3"},"March"),t("smoothly-item",{key:"a2f732d3a5e1e2257fc63d1777d5ff9440e5a6ea",value:"4"},"April"),t("smoothly-item",{key:"2a4355ba7020386bd68f3064e758f3c302c914b1",value:"5"},"May"),t("smoothly-item",{key:"4e2ca1c70ebab9644f0b9f23f8838349a2af5662",value:"6"},"June"),t("smoothly-item",{key:"c28b5bf4614565fb363e96f1419f642a5a1e511a",value:"7"},"July"),t("smoothly-item",{key:"29f55d2c10ea35f64d372b4bacf3d16ce6158462",value:"8"},"August"),t("smoothly-item",{key:"af6f0893b6c8f74ab2ec83c994fa4c283ccd50d1",value:"9"},"September"),t("smoothly-item",{key:"bb9dd4309de5f13ee8b09413ed140656f0cd8993",value:"10"},"October"),t("smoothly-item",{key:"4494fc9fde1fcae901228b8a3bc59f66f39062e6",value:"11"},"November"),t("smoothly-item",{key:"8e30882cfc9d205c27455edc3dddcef27c5f3f6e",value:"12"},"December"),t("smoothly-input-clear",{key:"95012437948deee3d15b981e9fd2782dd2e69bf8",size:"icon",slot:"end"})),t("smoothly-input-select",{key:"488a3819d8b5f9d67c7d6a438f23c2f82fddf711",name:"select-icon",clearable:false,showSelected:false},t("smoothly-item",{key:"246ee9908f5b491020a9e4bc983b11ded6a584a9",value:"folder",selected:true},t("smoothly-icon",{key:"c08ecd57f6eb097c243f291a3c81fb9d2348dd53",size:"small",name:"folder-outline"})),t("smoothly-item",{key:"fae16d67f4e6d37db50eaa88b5f7c4a8c864a524",value:"camera"},t("smoothly-icon",{key:"2599688d7fea657f0fc6eff69ef2418b972574a6",size:"small",name:"camera-outline"}))),t("smoothly-input-checkbox",{key:"322949e94c629f7e145dcecf9018fbf76d12288f",name:"checkbox"},"Check the box"),t("smoothly-input-checkbox",{key:"9cc5b47dc19012948e305a5757ce8db32e8604a6",name:"checkbox2",checked:true},"Check the box 2"),t("smoothly-input-date-range",{key:"90fd7d3c0be11f0392facadb1d222a103cb70229",start:m.Date.now(),end:m.Date.now()}),t("smoothly-input-date",{key:"4c2763206ed70c88dd68be14d7dd052b343e9ed4",name:"date"},"Date",t("smoothly-input-clear",{key:"0d0d5e29aa88d9813233f37c4a44b03716b0b0c7",slot:"end"})),t("smoothly-input-range",{key:"7b9629770c6f9a0cf56bf6b2879622a1c3916bf8",step:1,name:"range3",value:2e4},"Select"),t("smoothly-input",{key:"2189012b707e0c9d59ce9d98a2934e46d4757cd6",name:"pets.0.name"},"First Pet's Name"),t("smoothly-input-range",{key:"ec909bac6b45f203d3b62c3a4bf4edb1786ab29c",name:"pets.0.age",max:100,step:1},"First Pet's Age"),t("smoothly-input",{key:"e4a149d8f21fe0183c1c02af96b36dd45372464e",name:"pets.1.name"},"Second Pet's Name"),t("smoothly-input-range",{key:"b12f8a0caa8efadc3517e4d49ac10a28a77c3113",name:"pets.1.age",max:100,step:1},"Second Pet's Age"),t("smoothly-input",{key:"5c0efcf118ca8fe07c45801b1ce0a40ec6ae057f",name:"pets.2.name"},"Third Pet's Name"),t("smoothly-input-range",{key:"ea359e74dfe9cbde7b72843d57c8a220b3b47fed",name:"pets.2.age",max:100,step:1},"Third Pet's Age"),t("smoothly-input-file",{key:"ad4abed80bcd4d341202927e20f53348be67c254",name:"profile",placeholder:"Click or drag your profile picture here..."},t("span",{key:"316576fc7488e1858fcb80431d9ca4550bfda77c",slot:"label"},"Profile"),t("smoothly-icon",{key:"5e5c1586fa0728fcf8ca296a666fdf5557e3ef04",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),t("smoothly-input-clear",{key:"344bc835f9590416000916aa48b9e66a16dab543",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),t("smoothly-input-edit",{key:"46567f5f92d87e3352e61ee14115086804e8de1c",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),t("smoothly-input-reset",{key:"6857cae3aed0fe81e2600295af74e6be32b7a46a",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"5959f0903bfa4179c95609c9fa05adb4ccbc4eec",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"1503fb2488ea528635f4b7f162df3a28729d47b1",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}},[2,"smoothly-input-checkbox-demo"]);function N(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-checkbox-demo","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-edit","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-checkbox-demo":if(!customElements.get(a(e))){customElements.define(a(e),L)}break;case"smoothly-button":if(!customElements.get(a(e))){c()}break;case"smoothly-button-confirm":if(!customElements.get(a(e))){l()}break;case"smoothly-calendar":if(!customElements.get(a(e))){d()}break;case"smoothly-date-text":if(!customElements.get(a(e))){i()}break;case"smoothly-display":if(!customElements.get(a(e))){f()}break;case"smoothly-display-json":if(!customElements.get(a(e))){n()}break;case"smoothly-display-json-object":if(!customElements.get(a(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(a(e))){b()}break;case"smoothly-display-json-record-key":if(!customElements.get(a(e))){y()}break;case"smoothly-form":if(!customElements.get(a(e))){p()}break;case"smoothly-icon":if(!customElements.get(a(e))){u()}break;case"smoothly-input":if(!customElements.get(a(e))){h()}break;case"smoothly-input-checkbox":if(!customElements.get(a(e))){k()}break;case"smoothly-input-clear":if(!customElements.get(a(e))){j()}break;case"smoothly-input-color":if(!customElements.get(a(e))){E()}break;case"smoothly-input-date":if(!customElements.get(a(e))){g()}break;case"smoothly-input-date-range":if(!customElements.get(a(e))){v()}break;case"smoothly-input-edit":if(!customElements.get(a(e))){x()}break;case"smoothly-input-file":if(!customElements.get(a(e))){C()}break;case"smoothly-input-month":if(!customElements.get(a(e))){z()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){F()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){P()}break;case"smoothly-input-range":if(!customElements.get(a(e))){S()}break;case"smoothly-input-reset":if(!customElements.get(a(e))){D()}break;case"smoothly-input-select":if(!customElements.get(a(e))){B()}break;case"smoothly-input-submit":if(!customElements.get(a(e))){M()}break;case"smoothly-item":if(!customElements.get(a(e))){A()}break;case"smoothly-spinner":if(!customElements.get(a(e))){J()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){K()}break}}))}N();const Z=L;const w=N;export{Z as SmoothlyInputCheckboxDemo,w as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-checkbox-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-B1agr2Cu.js";const r=o;const t=s;export{r as SmoothlyInputDateDemo,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-date-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as o,d as s}from"./p-Bp65xiCy.js";const p=o;const t=s;export{p as SmoothlyInputDateRange,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-date-range.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-D1kz47jP.js";const t=o;const p=s;export{t as SmoothlyInputDateTime,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-date-time.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-CZY1H_tZ.js";const t=o;const p=s;export{t as SmoothlyInputDate,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-date.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-C3ntRScd.js";const t=o;const c=s;export{t as SmoothlyInputDemoStandard,c as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-demo-standard.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-_46rt1sK.js";const t=s;const r=o;export{t as SmoothlyInputDemoUserInput,r as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-demo-user-input.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-DB5eYiPc.js";const t=o;const c=s;export{t as SmoothlyInputDemo,c as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-EqRJl32n.js";const t=o;const n=s;export{t as SmoothlyInputMonth,n as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-month.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-DTo2Itg9.js";const t=o;const p=s;export{t as SmoothlyInputSelect,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-select.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-Cd3l3tXR.js";const t=o;const p=s;export{t as SmoothlyThemeDemo,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-theme-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-B8xGVFme.js";const t=o;const m=s;export{t as SmoothlyThemePicker,m as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-theme-picker.js.map
|
|
@@ -8042,6 +8042,11 @@ var layout;
|
|
|
8042
8042
|
|
|
8043
8043
|
var menu;
|
|
8044
8044
|
(function (menu) {
|
|
8045
|
+
function insert(items, item) {
|
|
8046
|
+
const index = items.findIndex(existing => (item.compareDocumentPosition(existing) & Node.DOCUMENT_POSITION_FOLLOWING) !== 0);
|
|
8047
|
+
return index == -1 ? [...items, item] : [...items.slice(0, index), item, ...items.slice(index)];
|
|
8048
|
+
}
|
|
8049
|
+
menu.insert = insert;
|
|
8045
8050
|
function next(items, direction) {
|
|
8046
8051
|
const selectable = items.filter(item => !item.hidden && !item.disabled);
|
|
8047
8052
|
const currentIndex = selectable.findIndex(item => item.marked);
|
|
@@ -8232,7 +8237,7 @@ const SmoothlyInputSelect = class {
|
|
|
8232
8237
|
else if (Item.Element.is(event.target)) {
|
|
8233
8238
|
event.stopPropagation();
|
|
8234
8239
|
event.target.deselectable = !this.required;
|
|
8235
|
-
this.items.
|
|
8240
|
+
this.items = menu.insert(this.items, event.target);
|
|
8236
8241
|
}
|
|
8237
8242
|
Input.registerSubAction(this, event);
|
|
8238
8243
|
this.displaySelected();
|
|
@@ -8382,16 +8387,16 @@ const SmoothlyInputSelect = class {
|
|
|
8382
8387
|
}
|
|
8383
8388
|
}
|
|
8384
8389
|
render() {
|
|
8385
|
-
return (h(Host, { key: '
|
|
8390
|
+
return (h(Host, { key: 'd993b3b157734feec38bd6d29f52e899aca6725b', class: {
|
|
8386
8391
|
"has-value": this.selected.length !== 0,
|
|
8387
8392
|
open: this.open,
|
|
8388
8393
|
"has-filter": this.filter !== "",
|
|
8389
8394
|
"has-filter-persistent": this.open && this.isSearchPersistent,
|
|
8390
|
-
}, onClick: (e) => this.onClick(e) }, h("div", { key: '
|
|
8395
|
+
}, onClick: (e) => this.onClick(e) }, h("div", { key: 'b470f6d938347231d20233c9dba2ba0c37c4bba5', class: "select-display" }, this.display.length > 0 ? (h("div", { class: "value", innerHTML: this.display.join(this.displaySeparator) })) : (this.placeholder)), h("div", { key: '6619b4fb7834654b78a11d853f889c21a7debef6', class: "icons", ref: element => (this.iconsElement = element) }, h("smoothly-icon", { key: '34cbbcba5ca10149a17ab291cdd32c15ca5f91b0', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'f56d5e7bf720de1b3ef508bf18315d94695c5523', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: '3298ebc639ce773036bd3ea71cef4452f87dda6c', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: '140d8045589573ccfe66870dd8199f22c9027ccd', name: "label" }), h("div", { key: '6baa982ed55e072d8f96f201adb81e9bdf3b9175', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, h("div", { key: '175cf9f37cc561aedc84582116e276b0a37f40df', class: "search" }, h("smoothly-icon", { key: 'c7692ee449bd43232da25d8246fc847576b7f699', name: "search-outline", size: "small" }), h("input", { key: '1b9a5a4f2994c7d4b0253720688977f75381aede', class: "search-input", placeholder: this.searchPlaceholder, ref: el => (this.searchElement = el), disabled: this.searchDisabled, onKeyDown: e => this.onKeyDown(e), onInput: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); }, onPaste: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); } }), h("smoothly-icon", { key: '1eb858f2d3c816ca1a2bbb977cdaf651e7e032b5', name: "backspace-outline", size: "small", onClick: () => {
|
|
8391
8396
|
var _a;
|
|
8392
8397
|
this.resetFilter();
|
|
8393
8398
|
(_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
8394
|
-
} }), this.mutable && h("smoothly-icon", { key: '
|
|
8399
|
+
} }), this.mutable && h("smoothly-icon", { key: '944ef1566bbf77345110acb315ae1e616f34d131', name: "add", size: "small", onClick: () => this.addItem() })), h("div", { key: '416bb93ddf7b6a0e01b68892689152b8c637efaf', class: "menu", hidden: !this.open }, h("slot", { key: '10be175c314a23c040a4426553db4f3d8004749d' }), this.addedItems))));
|
|
8395
8400
|
}
|
|
8396
8401
|
get element() { return getElement(this); }
|
|
8397
8402
|
static get watchers() { return {
|