smoothly 1.110.0 → 1.112.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_98.cjs.entry.js +30 -14
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/clear/index.js +11 -7
- package/dist/collection/components/input/clear/index.js.map +1 -1
- package/dist/collection/components/input/reset/index.js +12 -8
- package/dist/collection/components/input/reset/index.js.map +1 -1
- package/dist/collection/components/input/submit/index.js +13 -7
- package/dist/collection/components/input/submit/index.js.map +1 -1
- package/dist/components/{p-CKxNCxBn.js → p-BGKOGyFA.js} +2 -2
- package/dist/components/{p-fJkfUsWz.js → p-BRkEF66h.js} +2 -2
- package/dist/components/{p-CrNizZqW.js → p-BX6yRNGo.js} +2 -2
- package/dist/components/{p-DZadnBSZ.js → p-BaBGzDg_.js} +2 -2
- package/dist/components/p-BaBGzDg_.js.map +1 -0
- package/dist/components/{p-p0yn7c4h.js → p-BiwhssQ8.js} +2 -2
- package/dist/components/{p-C8cvGmGP.js → p-Bj9DsW03.js} +2 -2
- package/dist/components/{p-DR3KUEvE.js → p-Bp9BMsim.js} +2 -2
- package/dist/components/{p-DBkHnJdp.js → p-Bs8X_nDB.js} +2 -2
- package/dist/components/{p-fafhoJgv.js → p-C3__jhwf.js} +2 -2
- package/dist/components/p-CG636AEF.js.map +1 -1
- package/dist/components/{p-DqwlZYFh.js → p-CKrPTQ_S.js} +2 -2
- package/dist/components/p-CKrPTQ_S.js.map +1 -0
- package/dist/components/{p-BgXgncGY.js → p-CZ6kkjYF.js} +2 -2
- package/dist/components/{p-DgHAvBgB.js → p-CqSJ0pgl.js} +2 -2
- package/dist/components/{p-C629G4I1.js → p-CqyInbXs.js} +2 -2
- package/dist/components/{p-CyhRVB6K.js → p-CrxXCTnH.js} +2 -2
- package/dist/components/{p-DA_1vtmU.js → p-CtN3gqjJ.js} +2 -2
- package/dist/components/{p-CVp4Wd4u.js → p-D7cDUGTe.js} +2 -2
- package/dist/components/p-D7cDUGTe.js.map +1 -0
- package/dist/components/p-DBuVH8IL.js.map +1 -1
- package/dist/components/{p-CiJgTdse.js → p-DVuQ4t_X.js} +2 -2
- package/dist/components/p-DZ4ogW8V.js.map +1 -1
- package/dist/components/{p-CdYYtJX2.js → p-DbIjGsJb.js} +2 -2
- package/dist/components/{p-HKrMuYSD.js → p-Dx5PGIAk.js} +2 -2
- package/dist/components/{p-DlHIV5_u.js → p-Mk_F6MCP.js} +2 -2
- package/dist/components/{p-C5Bgwjpo.js → p-jatJrx5f.js} +2 -2
- package/dist/components/p-t3cG0BK6.js +2 -0
- package/dist/components/{p-D1cLYdzg.js.map → p-t3cG0BK6.js.map} +1 -1
- 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-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.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-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.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-clear.js +1 -1
- package/dist/components/smoothly-input-date-demo.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/esm/smoothly-app_98.entry.js +30 -14
- package/dist/esm/smoothly-app_98.entry.js.map +1 -1
- package/dist/smoothly/p-23badc13.entry.js +2 -0
- package/dist/smoothly/p-23badc13.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/input/clear/index.d.ts +1 -1
- package/dist/types/components/input/reset/index.d.ts +1 -1
- package/dist/types/components.d.ts +2 -14
- package/package.json +1 -1
- package/dist/components/p-CVp4Wd4u.js.map +0 -1
- package/dist/components/p-D1cLYdzg.js +0 -2
- package/dist/components/p-DZadnBSZ.js.map +0 -1
- package/dist/components/p-DqwlZYFh.js.map +0 -1
- package/dist/smoothly/p-0a7de225.entry.js +0 -2
- package/dist/smoothly/p-0a7de225.entry.js.map +0 -1
- /package/dist/components/{p-CKxNCxBn.js.map → p-BGKOGyFA.js.map} +0 -0
- /package/dist/components/{p-fJkfUsWz.js.map → p-BRkEF66h.js.map} +0 -0
- /package/dist/components/{p-CrNizZqW.js.map → p-BX6yRNGo.js.map} +0 -0
- /package/dist/components/{p-p0yn7c4h.js.map → p-BiwhssQ8.js.map} +0 -0
- /package/dist/components/{p-C8cvGmGP.js.map → p-Bj9DsW03.js.map} +0 -0
- /package/dist/components/{p-DR3KUEvE.js.map → p-Bp9BMsim.js.map} +0 -0
- /package/dist/components/{p-DBkHnJdp.js.map → p-Bs8X_nDB.js.map} +0 -0
- /package/dist/components/{p-fafhoJgv.js.map → p-C3__jhwf.js.map} +0 -0
- /package/dist/components/{p-BgXgncGY.js.map → p-CZ6kkjYF.js.map} +0 -0
- /package/dist/components/{p-DgHAvBgB.js.map → p-CqSJ0pgl.js.map} +0 -0
- /package/dist/components/{p-C629G4I1.js.map → p-CqyInbXs.js.map} +0 -0
- /package/dist/components/{p-CyhRVB6K.js.map → p-CrxXCTnH.js.map} +0 -0
- /package/dist/components/{p-DA_1vtmU.js.map → p-CtN3gqjJ.js.map} +0 -0
- /package/dist/components/{p-CiJgTdse.js.map → p-DVuQ4t_X.js.map} +0 -0
- /package/dist/components/{p-CdYYtJX2.js.map → p-DbIjGsJb.js.map} +0 -0
- /package/dist/components/{p-HKrMuYSD.js.map → p-Dx5PGIAk.js.map} +0 -0
- /package/dist/components/{p-DlHIV5_u.js.map → p-Mk_F6MCP.js.map} +0 -0
- /package/dist/components/{p-C5Bgwjpo.js.map → p-jatJrx5f.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as o,h as s,d as t,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DX3KKRD9.js";import{d as f}from"./p-DgaHxdNI.js";import{d as r}from"./p-BiQsRsV4.js";import{d as i}from"./p-R4uIvvER.js";import{d as n}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as o,h as s,d as t,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DX3KKRD9.js";import{d as f}from"./p-DgaHxdNI.js";import{d as r}from"./p-BiQsRsV4.js";import{d as i}from"./p-R4uIvvER.js";import{d as n}from"./p-D7cDUGTe.js";import{d}from"./p-CsLlJDsh.js";const l=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return s(t,{key:"644dd5d2d56fea755d44d8cfed8c0b52d64883ef"},s("h2",{key:"f8be0372bf3f537f5e6cd66087aa9102a69fa4b3"},"Card"),s("smoothly-form",{key:"1e006ccad98f0a73c50a312dc39f6c8f07a89f96",looks:"grid",onSmoothlyFormSubmit:e=>alert(JSON.stringify(e.detail))},s("smoothly-input",{key:"af0e0cf9d593a4b95e6d9ccf38cb504bcf30c907",type:"card-number",name:"card"},"Card #"),s("smoothly-input-submit",{key:"8a68e341800be545d7c4b242e60fac52bd56afd5",size:"icon",slot:"submit",color:"success",fill:"solid"}),s("smoothly-input",{key:"031b83a8b2b9f261741c9b430599681ee0c90442",type:"card-expires",name:"expires"},"Expires"),s("smoothly-input",{key:"75f8bbc9cff24f247f88dfd276bef1adaf478586",type:"card-csc",name:"csc"},"CVV/CVC"),s("smoothly-input",{key:"5043b806ecf84bb31b4f713778336063a771ffa9",type:"text",name:"name.first"},"First Name"),s("smoothly-input",{key:"4314de22f36b48c796deec9258e71e282a434bbe",type:"text",name:"name.last"},"Last Name")))}},[2,"smoothly-form-demo-card"]);function b(){if(typeof customElements==="undefined"){return}const e=["smoothly-form-demo-card","smoothly-button","smoothly-button-confirm","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-submit","smoothly-spinner"];e.forEach((e=>{switch(e){case"smoothly-form-demo-card":if(!customElements.get(m(e))){customElements.define(m(e),l)}break;case"smoothly-button":if(!customElements.get(m(e))){a()}break;case"smoothly-button-confirm":if(!customElements.get(m(e))){c()}break;case"smoothly-form":if(!customElements.get(m(e))){f()}break;case"smoothly-icon":if(!customElements.get(m(e))){r()}break;case"smoothly-input":if(!customElements.get(m(e))){i()}break;case"smoothly-input-submit":if(!customElements.get(m(e))){n()}break;case"smoothly-spinner":if(!customElements.get(m(e))){d()}break}}))}b();export{l as S,b as d};
|
|
2
|
+
//# sourceMappingURL=p-DVuQ4t_X.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyTableExpandableCell","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","span","open","componentWillLoad","smoothlyTableExpandableCellRegister","emit","close","clickHandler","event","clickedOnDetail","detailElement","composedPath","includes","selection","_a","window","getSelection","toString","trim","_b","length","openChange","smoothlyTableExpandableCellChange","render","h","Host","key","style","onClick","e","class","ref","el","name"],"sources":["src/components/table/expandable/cell/style.scss?tag=smoothly-table-expandable-cell&encapsulation=scoped","src/components/table/expandable/cell/index.tsx"],"sourcesContent":["@
|
|
1
|
+
{"version":3,"names":["styleCss","SmoothlyTableExpandableCell","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","span","open","componentWillLoad","smoothlyTableExpandableCellRegister","emit","close","clickHandler","event","clickedOnDetail","detailElement","composedPath","includes","selection","_a","window","getSelection","toString","trim","_b","length","openChange","smoothlyTableExpandableCellChange","render","h","Host","key","style","onClick","e","class","ref","el","name"],"sources":["src/components/table/expandable/cell/style.scss?tag=smoothly-table-expandable-cell&encapsulation=scoped","src/components/table/expandable/cell/index.tsx"],"sourcesContent":["@use \"../arrow.scss\";\n\n:host {\n\tdisplay: contents;\n}\n\n:host > div.content {\n\tgrid-column: span var(--smoothly-table-cell-span, 1);\n\tdisplay: flex;\n\tpadding-inline: var(--smoothly-table-cell-padding-inline, 1.1rem);\n\tmin-height: var(--smoothly-table-cell-min-height, 2.75rem);\n\tbox-sizing: border-box;\n\talign-items: center;\n\twhite-space: nowrap;\n\t@include arrow.arrow;\n\n\t&:hover {\n\t\t@include arrow.arrow-hover;\n\t\tbackground-color: rgb(var(--smoothly-table-hover-background));\n\t\tcolor: rgb(var(--smoothly-table-hover-foreground));\n\t\tstroke: rgb(var(--smoothly-table-hover-foreground));\n\t\tfill: rgb(var(--smoothly-table-hover-foreground));\n\t}\n}\n\n:host[open] > div.content {\n\t@include arrow.arrow-open;\n}\n\n:host > div:first-child {\n\tcursor: pointer;\n}\n\n:host > div.smoothly-table-detail {\n\tgrid-column: 1 / -1;\n\tgrid-row: 2;\n\tposition: relative;\n\tpadding-block: var(--smoothly-table-detail-padding-block, 0.5rem);\n\tpadding-inline: var(--smoothly-table-detail-padding-inline, 1.1rem);\n}\n\n:host[open] > div.content {\n\tbox-shadow: 1px 1px 1px -1px rgb(var(--smoothly-table-border)) inset,\n\t\t-3px -1px 1px -3px rgb(var(--smoothly-table-border)) inset;\n}\n\n:host[open] > div {\n\tbackground-color: rgb(var(--smoothly-table-expanded-background));\n\tcolor: rgb(var(--smoothly-table-expanded-foreground));\n\tstroke: rgb(var(--smoothly-table-expanded-foreground));\n\tfill: rgb(var(--smoothly-table-expanded-foreground));\n}\n\n:host:not([open]) > div.smoothly-table-detail {\n\tdisplay: none;\n}\n\n:host > div.smoothly-table-detail::before {\n\tcontent: \"\";\n\tposition: absolute;\n\tdisplay: flex;\n\tbox-sizing: border-box;\n\ttop: 0;\n\tbottom: 0;\n\tleft: -1em;\n\twidth: 1em;\n\tbackground-color: rgb(var(--smoothly-table-expanded-background));\n\tborder-left: 0.3em solid rgb(var(--smoothly-table-detail-border, var(--smoothly-table-border)));\n\tbox-shadow: 2px 0px 0px 0px rgb(var(--smoothly-table-expanded-background)),\n\t\t0px 0px 1px 0px rgb(var(--smoothly-table-border));\n}\n\n:host > div.smoothly-table-detail::after {\n\tcontent: \"\";\n\tposition: absolute;\n\tdisplay: flex;\n\ttop: 0;\n\tbottom: 0;\n\tright: -1em;\n\twidth: 1em;\n\tbackground-color: rgb(var(--smoothly-table-expanded-background));\n\tbox-shadow: -2px 0px 0px 0px rgb(var(--smoothly-table-expanded-background)),\n\t\t0px 0px 1px 0px rgb(var(--smoothly-table-border));\n}\n","import { Component, Event, EventEmitter, h, Host, Method, Prop, VNode, Watch } from \"@stencil/core\"\n@Component({\n\ttag: \"smoothly-table-expandable-cell\",\n\tstyleUrl: \"style.scss\",\n\tscoped: true,\n})\nexport class SmoothlyTableExpandableCell {\n\tprivate detailElement?: HTMLDivElement\n\t@Prop({ reflect: true }) span?: number = 1\n\t@Prop({ mutable: true, reflect: true }) open = false\n\t@Event() smoothlyTableExpandableCellChange: EventEmitter<boolean>\n\t@Event() smoothlyTableExpandableCellRegister: EventEmitter<void>\n\tcomponentWillLoad(): void {\n\t\tthis.smoothlyTableExpandableCellRegister.emit()\n\t}\n\t@Method()\n\tasync close(): Promise<void> {\n\t\tthis.open = false\n\t}\n\tclickHandler(event: MouseEvent): void {\n\t\tconst clickedOnDetail = this.detailElement && event.composedPath().includes(this.detailElement)\n\t\tif (!clickedOnDetail) {\n\t\t\tconst selection = window.getSelection()?.toString().trim()\n\t\t\tif ((selection?.length ?? 0) == 0) {\n\t\t\t\tthis.open = !this.open\n\t\t\t}\n\t\t}\n\t}\n\t@Watch(\"open\")\n\topenChange() {\n\t\tthis.smoothlyTableExpandableCellChange.emit(this.open)\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tstyle={{ \"--smoothly-table-cell-span\": this.span?.toString(10) }}\n\t\t\t\tonClick={(e: MouseEvent) => this.clickHandler(e)}>\n\t\t\t\t<div class={\"content\"}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t\t<div class={\"smoothly-table-detail\"} ref={(el: HTMLDivElement) => (this.detailElement = el)}>\n\t\t\t\t\t<slot name={\"detail\"} />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"uEAAA,MAAMA,EAAW,IAAM,4wG,MCMVC,EAA2BC,EAAA,MAAAD,UAAAE,EALxC,WAAAC,CAAAC,G,sNAO0BC,KAAAC,KAAgB,EACDD,KAAAE,KAAO,KAsC/C,CAnCA,iBAAAC,GACCH,KAAKI,oCAAoCC,M,CAG1C,WAAMC,GACLN,KAAKE,KAAO,K,CAEb,YAAAK,CAAaC,G,QACZ,MAAMC,EAAkBT,KAAKU,eAAiBF,EAAMG,eAAeC,SAASZ,KAAKU,eACjF,IAAKD,EAAiB,CACrB,MAAMI,GAAYC,EAAAC,OAAOC,kBAAc,MAAAF,SAAA,SAAAA,EAAEG,WAAWC,OACpD,KAAKC,EAAAN,IAAS,MAATA,SAAS,SAATA,EAAWO,UAAM,MAAAD,SAAA,EAAAA,EAAI,IAAM,EAAG,CAClCnB,KAAKE,MAAQF,KAAKE,I,GAKrB,UAAAmB,GACCrB,KAAKsB,kCAAkCjB,KAAKL,KAAKE,K,CAGlD,MAAAqB,G,MACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CACJC,MAAO,CAAE,8BAA8Bb,EAAAd,KAAKC,QAAI,MAAAa,SAAA,SAAAA,EAAEG,SAAS,KAC3DW,QAAUC,GAAkB7B,KAAKO,aAAasB,IAC9CL,EAAA,OAAAE,IAAA,2CAAKI,MAAO,WACXN,EAAA,QAAAE,IAAA,8CAEDF,EAAA,OAAAE,IAAA,2CAAKI,MAAO,wBAAyBC,IAAMC,GAAwBhC,KAAKU,cAAgBsB,GACvFR,EAAA,QAAAE,IAAA,2CAAMO,KAAM,Y","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,d as a,t as s}from"./p-BsZrGTcp.js";import{C as d}from"./p-CkXes5c-.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{L as i,d as l}from"./p-DgaHxdNI.js";import{d as c}from"./p-BHEtq3Ue.js";import{d as m}from"./p-BqAN7jax.js";import{d as r}from"./p-B8ljN4o0.js";import{d as n}from"./p-DM5CKilY.js";import{d as h}from"./p-CR3Ni_o7.js";import{d as b}from"./p-B-l1S16Z.js";import{d as f}from"./p-Ud7Qhkgt.js";import{d as p}from"./p-C3FORjes.js";import{d as y}from"./p-BiQsRsV4.js";import{d as u}from"./p-R4uIvvER.js";import{d as k}from"./p-C_f8s6n5.js";import{d as g}from"./p-DZadnBSZ.js";import{d as v}from"./p-nrkV1PqR.js";import{d as j}from"./p-C9zTTp-4.js";import{d as w}from"./p-DKggy9E3.js";import{d as E}from"./p-CGG77xzV.js";import{d as x}from"./p-CioJtwj-.js";import{d as D}from"./p-DTqtObrT.js";import{d as R}from"./p-BDhPxj59.js";import{d as C}from"./p-DXHBXAV0.js";import{d as L}from"./p-D2FsRCII.js";import{d as S}from"./p-DqwlZYFh.js";import{d as B}from"./p-RNCr3p17.js";import{d as M}from"./p-BS2SWUX6.js";import{d as T}from"./p-CsLlJDsh.js";import{d as I}from"./p-DMzn0Iz0.js";const z=()=>`.sc-smoothly-input-demo-standard-h{max-width:min(calc(100% - 0.5rem), 48rem);margin:auto}.sc-smoothly-input-demo-standard-h h2.sc-smoothly-input-demo-standard,.sc-smoothly-input-demo-standard-h p.sc-smoothly-input-demo-standard{margin:.5rem 0}.sc-smoothly-input-demo-standard-h>.description.sc-smoothly-input-demo-standard{--smoothly-form-input-min-width:18rem}.sc-smoothly-input-demo-standard-h smoothly-input-range[name=borderRadius].sc-smoothly-input-demo-standard{flex-basis:100%}div.input-wrapper.sc-smoothly-input-demo-standard{display:grid;margin-top:1rem;grid-template-columns:1fr 9rem;gap:1rem;position:relative;justify-content:space-around}div.input-wrapper.sc-smoothly-input-demo-standard>[name].sc-smoothly-input-demo-standard{grid-column:1 / 2}div.input-wrapper.sc-smoothly-input-demo-standard>.width.sc-smoothly-input-demo-standard{width:100%;text-align:center;border-bottom:1px dashed black}div.input-wrapper.sc-smoothly-input-demo-standard>.height.sc-smoothly-input-demo-standard{align-content:center;grid-column:2 / 3;border-left:1px dashed black;padding-left:1rem;content:"hello"}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard{width:0.5rem;grid-column:1 / 2;white-space:nowrap;overflow:visible;position:relative;cursor:default}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard::before{content:"";position:absolute;width:100%;top:1.5rem;bottom:-1rem;border:1px dashed black;z-index:2}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard:hover::before{bottom:-100vh}`;const F=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.duration={hours:8};this.options={}}connectedCallback(){this.updateInputHeightText()}componentDidRender(){this.updateInputHeightText()}updateInputHeightText(){const e=Number(getComputedStyle(document.documentElement).fontSize.replace("px",""));this.element.querySelectorAll(".height").forEach((t=>{const o=t.clientHeight;t.innerHTML=`<b>${o/e}rem</b> (${o}pixels)`}))}render(){return o(a,{key:"0d47a2dd423a8bcdd889139f74ef2ec375d0ea97"},o("div",{key:"a884b4c59f663f8c47aa9e3736e6a82235e9d276",class:"description"},o("h2",{key:"7c0b8da3728fd79d203de1895c6ae146e1eb8aef"},"Input Standard"),o("p",{key:"10fe94edd162dd158388508c2470359447e6da57"},"Height of input should be ",o("code",{key:"dffd62a251af68595f7c5659a2251ada08999b63"},"3rem")," including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."),o("smoothly-form",{key:"3f8c09fbdce4b808a430cf7266d40d25a596803d",looks:"grid",onSmoothlyFormInput:e=>this.options=e.detail},o("smoothly-input-select",{key:"563356600a698bf3c974a61b79520aa8f77c249f",name:"color"},o("span",{key:"e12af511b6921b2d9f7d50b45fdbe3d5b34f6817",slot:"label"},"Color"),d.values.map((e=>o("smoothly-item",{value:e},o("span",{color:e},e)))),o("smoothly-input-clear",{key:"23c642ae01bb6d0f7aaf653c027eb255ee38d90a",slot:"end"})),o("smoothly-input-select",{key:"fa106dd22e247954860c217692ca37a24fe4f772",name:"looks"},o("span",{key:"c42065aac1f357b670cf2a99bb8be554fb314cd9",slot:"label"},"Looks"),i.values.map((e=>o("smoothly-item",{value:e},e)))),o("smoothly-input-range",{key:"c3b585f898718c9f81ef15c1469eccf08988c00e",label:"Border Radius (rem)",name:"borderRadius",min:0,max:2,step:.25}),o("smoothly-input-checkbox",{key:"8fab112575cb1c02c2019022cee83e5e5e65a9c6",name:"readonly"},"Readonly"),o("smoothly-input-checkbox",{key:"c34401c8b28faa79a139869c0766e8f8af357ca8",name:"disabled"},"Disabled"),o("smoothly-input-checkbox",{key:"672b5bc96fa9e6886c90b5e8354d7dea8c916270",name:"invalid"},"Invalid"),o("smoothly-input",{key:"c395fd3b7ca8d1243cd9e9ea4e006f1fd7ef1a27",name:"errorMessage",value:"This is not a valid value"},"Error Message"),o("smoothly-input-checkbox",{key:"121d1a50813987b2aeac50afe73e40c6a7c4fb8b",name:"showLabel",checked:true},"Show Label"),o("smoothly-input",{key:"265ce4b0e44c8fda1b3188929eb5901e1658bfd5",name:"placeholder"},"Placeholder"),o("smoothly-input-checkbox",{key:"1eafaaaa6696f9f1d696742869d10aba19c2f0c9",name:"alwaysShowGuide"},"Always Show Guide (for date inputs)"))),o("div",{key:"f6a5d34435c177c5dc64c31632dc7a1e65f3e270",class:"input-wrapper",style:{"--smoothly-input-border-radius":`${this.options.borderRadius}rem`}},o("div",{key:"c4d82ee52f0d44015df7eb734c98aa41f7c92827",class:"width"},"width: 100%"),o("div",{key:"2ae68895caf503ba92049a32d0054439f069123b",class:"left-padding"},"padding-left: 0.5rem"),o("smoothly-input",{key:"f5f4ee65ccf3180d2f9181fbc258c79e916e14ee",name:"text",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel,placeholder:this.options.placeholder},this.options.showLabel&&o("span",{key:"bf32f13cfbfa88add92692bf9ee02b836eeea2be"},"Text"),o("smoothly-input-clear",{key:"26639066ab906f755f7a42e154b1954f1f34f19d",slot:"end"})),o("div",{key:"de01a46f39aa6f331c5edf54208a6f9f726337e3",class:"height"}),o("smoothly-input-select",{key:"abb4be407f4b7ed51d5f796bdfce3b2b56c468a4",name:"month",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,placeholder:this.options.placeholder},this.options.showLabel&&o("label",{key:"49f71dbb091094f79927778d18a0a58e70689f42",slot:"label"},"Select"),o("smoothly-item",{key:"4b0e9cb4ce233c50a42fe249a3aef5648dc62558",value:"1"},"January"),o("smoothly-item",{key:"38380b0f13ddeb83e2e19e0ac645dcdbacf6c4df",value:"2"},"February"),o("smoothly-item",{key:"4f65be9a949261542191e3b484ad646e17f04987",value:"3"},"March"),o("smoothly-item",{key:"b6e9be5fbe31a12865717daddcd1a4039c942205",value:"4"},"April"),o("smoothly-item",{key:"6c867101a115315e30bcf525d3fde4a8e49a5719",value:"5"},"May"),o("smoothly-item",{key:"ba4792a24e862aed054b356a444f9b791add16b1",value:"6"},"June"),o("smoothly-item",{key:"9cc3a21ed384c2e2415311770925458dc13ac8d1",value:"7"},"July"),o("smoothly-item",{key:"53cf8809b4dbc8256448b5c08a9d07f274e365a3",value:"8"},"August"),o("smoothly-item",{key:"47a43966214064dab4d321cf9116b5cd87409dd3",value:"9"},"September"),o("smoothly-item",{key:"c71ceab27a3f86a5c2a27dc251b18f119f5ac623",value:"10"},"October"),o("smoothly-item",{key:"7e824138f3b0b28a414465d69bb71c4d6786c3b5",value:"11"},"November"),o("smoothly-item",{key:"e7813efea82efe4cd4a8bfa54a7a55b21f53fa48",value:"12"},"December"),o("smoothly-input-clear",{key:"7072ef8f9ac5b9a3028cbd2962560fc315f3d58b",slot:"end"})),o("div",{key:"3a1c4b4c2834bbb4921e330a77fe477c4741f181",class:"height"}),o("smoothly-input-checkbox",{key:"50499f2f1a4258a56caeb2266da17a9e881c7993",name:"checkbox",checked:true,color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled},"Check",o("smoothly-input-reset",{key:"550d44f73f1ae07461d73f66febd5138867e8247",slot:"end"})),o("div",{key:"acb1b0eaab732df76e2c586e8f56ee6c81fbdd87",class:"height"}),o("smoothly-input-radio",{key:"ec7f8b66f806e63a09320e2ebfcda71be001cd3b",name:"radio",clearable:true,color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel},this.options.showLabel&&o("label",{key:"00de1fcac1f811970b3f1154d6286dc7bd6036d8",slot:"label"},"Radio"),o("smoothly-input-radio-item",{key:"35ea9212aa0f8eec4a96dedc406b428f58b848e6",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"db11c348c12a468a854c53c5f5f692ae7dcbaeb1",selected:true,value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"65707145740b173f4379c6bf5706a962a91bb021",value:"third"},"Label 3"),o("smoothly-input-clear",{key:"883be5fef36a7e6fb16c57b30fcad312f1f25a6b",slot:"end"})),o("div",{key:"2cd8b1bb4ac90fd34732d2bfc34116bcc8429045",class:"height"}),o("smoothly-input-file",{key:"87739b41a33b7be135c5b3ed02648e702ac386ca",name:"file",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel,placeholder:this.options.placeholder},this.options.showLabel&&o("span",{key:"0d10524c66e0625ec86431a8c19dcedf83f47eac",slot:"label"},"File"),o("smoothly-input-clear",{key:"a95f256a28cf294430040b6c6028921f0c620c8d",slot:"end"})),o("div",{key:"48650848e22a86ca8aa7501e09fbd8c5f0ce83ea",class:"height"}),o("smoothly-input-range",{key:"b1e96735886d8e3e4b451ed17fa11ecada3e2302",name:"range",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,label:this.options.showLabel?"Range":undefined},o("smoothly-input-clear",{key:"ab7f71a498ce9404aacc63f0273bd3b715ddf12c",slot:"end"})),o("div",{key:"0ff2870912f9ae2e2b41ba9d982c906124ef2641",class:"height"}),o("smoothly-input-color",{key:"fa4d779da5bfaea1e9644e721d9f6c4249949407",name:"color",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel},this.options.showLabel&&o("span",{key:"63674017888873443dc7b744114dae7996e79c52"},"Color"),o("smoothly-input-clear",{key:"6344ad242592e19365961e80cc0814023eaa7dc2",slot:"end"})),o("div",{key:"16e0b71b1b6b1ee68813e3827b96bffe5ec63ef7",class:"height"}),o("smoothly-input-date",{key:"85e2fc24713c7543766e5c88341de28bb235eec9",name:"date",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel,placeholder:this.options.placeholder,alwaysShowGuide:this.options.alwaysShowGuide},this.options.showLabel&&o("span",{key:"106776717336dc925ceef2fc726c2acbff48a060"},"Date"),o("smoothly-input-clear",{key:"dd31d582a9da8729177e44f0709e20dd22ad1ceb",slot:"end"})),o("div",{key:"7a3b4c683d4d6ba46a09890c3112126911376100",class:"height"}),o("smoothly-input-date-time",{key:"6826e6fad4f1bcb21a30188e489215a785bf9d92",name:"dateTime",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel},"DateTime",o("smoothly-input-clear",{key:"bfa1fd01c821d467bb322310b56353e8a21b37ed",slot:"end"})),o("div",{key:"a9b5fac536b744270db8ee2c2e29c05f011a522a",class:"height"}),o("smoothly-input-date-range",{key:"437b2e44f71354330bded70e2ee61a1180b42215",name:"dateRange",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,placeholder:this.options.placeholder,alwaysShowGuide:this.options.alwaysShowGuide,showLabel:this.options.showLabel},this.options.showLabel&&o("span",{key:"ce778323ca7e585f98cb5c6d029593e329eaa3f0"},"Date Range"),o("smoothly-input-clear",{key:"96a689e9facde44dc827d19c9476fd7191a753ce",slot:"end"})),o("div",{key:"99a70bddd4168419ce44d234a84d5b234de4abcf",class:"height"})))}get element(){return this}static get style(){return z()}},[2,"smoothly-input-demo-standard",{duration:[32],options:[32]}]);function G(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-standard","smoothly-button","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-date-time","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-item","smoothly-spinner","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-standard":if(!customElements.get(s(e))){customElements.define(s(e),F)}break;case"smoothly-button":if(!customElements.get(s(e))){c()}break;case"smoothly-calendar":if(!customElements.get(s(e))){m()}break;case"smoothly-date-text":if(!customElements.get(s(e))){r()}break;case"smoothly-display":if(!customElements.get(s(e))){n()}break;case"smoothly-display-json":if(!customElements.get(s(e))){h()}break;case"smoothly-display-json-object":if(!customElements.get(s(e))){b()}break;case"smoothly-display-json-primitive":if(!customElements.get(s(e))){f()}break;case"smoothly-display-json-record-key":if(!customElements.get(s(e))){p()}break;case"smoothly-form":if(!customElements.get(s(e))){l()}break;case"smoothly-icon":if(!customElements.get(s(e))){y()}break;case"smoothly-input":if(!customElements.get(s(e))){u()}break;case"smoothly-input-checkbox":if(!customElements.get(s(e))){k()}break;case"smoothly-input-clear":if(!customElements.get(s(e))){g()}break;case"smoothly-input-color":if(!customElements.get(s(e))){v()}break;case"smoothly-input-date":if(!customElements.get(s(e))){j()}break;case"smoothly-input-date-range":if(!customElements.get(s(e))){w()}break;case"smoothly-input-date-time":if(!customElements.get(s(e))){E()}break;case"smoothly-input-file":if(!customElements.get(s(e))){x()}break;case"smoothly-input-month":if(!customElements.get(s(e))){D()}break;case"smoothly-input-radio":if(!customElements.get(s(e))){R()}break;case"smoothly-input-radio-item":if(!customElements.get(s(e))){C()}break;case"smoothly-input-range":if(!customElements.get(s(e))){L()}break;case"smoothly-input-reset":if(!customElements.get(s(e))){S()}break;case"smoothly-input-select":if(!customElements.get(s(e))){B()}break;case"smoothly-item":if(!customElements.get(s(e))){M()}break;case"smoothly-spinner":if(!customElements.get(s(e))){T()}break;case"smoothly-toggle-switch":if(!customElements.get(s(e))){I()}break}}))}G();export{F as S,G as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as t,h as o,d as a,t as s}from"./p-BsZrGTcp.js";import{C as d}from"./p-CkXes5c-.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{L as i,d as l}from"./p-DgaHxdNI.js";import{d as c}from"./p-BHEtq3Ue.js";import{d as m}from"./p-BqAN7jax.js";import{d as r}from"./p-B8ljN4o0.js";import{d as n}from"./p-DM5CKilY.js";import{d as h}from"./p-CR3Ni_o7.js";import{d as b}from"./p-B-l1S16Z.js";import{d as f}from"./p-Ud7Qhkgt.js";import{d as p}from"./p-C3FORjes.js";import{d as y}from"./p-BiQsRsV4.js";import{d as u}from"./p-R4uIvvER.js";import{d as k}from"./p-C_f8s6n5.js";import{d as g}from"./p-BaBGzDg_.js";import{d as v}from"./p-nrkV1PqR.js";import{d as j}from"./p-C9zTTp-4.js";import{d as w}from"./p-DKggy9E3.js";import{d as E}from"./p-CGG77xzV.js";import{d as x}from"./p-CioJtwj-.js";import{d as C}from"./p-DTqtObrT.js";import{d as R}from"./p-BDhPxj59.js";import{d as D}from"./p-DXHBXAV0.js";import{d as L}from"./p-D2FsRCII.js";import{d as S}from"./p-CKrPTQ_S.js";import{d as B}from"./p-RNCr3p17.js";import{d as T}from"./p-BS2SWUX6.js";import{d as M}from"./p-CsLlJDsh.js";import{d as I}from"./p-DMzn0Iz0.js";const z=()=>`.sc-smoothly-input-demo-standard-h{max-width:min(calc(100% - 0.5rem), 48rem);margin:auto}.sc-smoothly-input-demo-standard-h h2.sc-smoothly-input-demo-standard,.sc-smoothly-input-demo-standard-h p.sc-smoothly-input-demo-standard{margin:.5rem 0}.sc-smoothly-input-demo-standard-h>.description.sc-smoothly-input-demo-standard{--smoothly-form-input-min-width:18rem}.sc-smoothly-input-demo-standard-h smoothly-input-range[name=borderRadius].sc-smoothly-input-demo-standard{flex-basis:100%}div.input-wrapper.sc-smoothly-input-demo-standard{display:grid;margin-top:1rem;grid-template-columns:1fr 9rem;gap:1rem;position:relative;justify-content:space-around}div.input-wrapper.sc-smoothly-input-demo-standard>[name].sc-smoothly-input-demo-standard{grid-column:1 / 2}div.input-wrapper.sc-smoothly-input-demo-standard>.width.sc-smoothly-input-demo-standard{width:100%;text-align:center;border-bottom:1px dashed black}div.input-wrapper.sc-smoothly-input-demo-standard>.height.sc-smoothly-input-demo-standard{align-content:center;grid-column:2 / 3;border-left:1px dashed black;padding-left:1rem;content:"hello"}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard{width:0.5rem;grid-column:1 / 2;white-space:nowrap;overflow:visible;position:relative;cursor:default}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard::before{content:"";position:absolute;width:100%;top:1.5rem;bottom:-1rem;border:1px dashed black;z-index:2}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard:hover::before{bottom:-100vh}`;const G=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.duration={hours:8};this.options={}}connectedCallback(){this.updateInputHeightText()}componentDidRender(){this.updateInputHeightText()}updateInputHeightText(){const e=Number(getComputedStyle(document.documentElement).fontSize.replace("px",""));this.element.querySelectorAll(".height").forEach((t=>{const o=t.clientHeight;t.innerHTML=`<b>${o/e}rem</b> (${o}pixels)`}))}render(){return o(a,{key:"0d47a2dd423a8bcdd889139f74ef2ec375d0ea97"},o("div",{key:"a884b4c59f663f8c47aa9e3736e6a82235e9d276",class:"description"},o("h2",{key:"7c0b8da3728fd79d203de1895c6ae146e1eb8aef"},"Input Standard"),o("p",{key:"10fe94edd162dd158388508c2470359447e6da57"},"Height of input should be ",o("code",{key:"dffd62a251af68595f7c5659a2251ada08999b63"},"3rem")," including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."),o("smoothly-form",{key:"3f8c09fbdce4b808a430cf7266d40d25a596803d",looks:"grid",onSmoothlyFormInput:e=>this.options=e.detail},o("smoothly-input-select",{key:"563356600a698bf3c974a61b79520aa8f77c249f",name:"color"},o("span",{key:"e12af511b6921b2d9f7d50b45fdbe3d5b34f6817",slot:"label"},"Color"),d.values.map((e=>o("smoothly-item",{value:e},o("span",{color:e},e)))),o("smoothly-input-clear",{key:"23c642ae01bb6d0f7aaf653c027eb255ee38d90a",slot:"end"})),o("smoothly-input-select",{key:"fa106dd22e247954860c217692ca37a24fe4f772",name:"looks"},o("span",{key:"c42065aac1f357b670cf2a99bb8be554fb314cd9",slot:"label"},"Looks"),i.values.map((e=>o("smoothly-item",{value:e},e)))),o("smoothly-input-range",{key:"c3b585f898718c9f81ef15c1469eccf08988c00e",label:"Border Radius (rem)",name:"borderRadius",min:0,max:2,step:.25}),o("smoothly-input-checkbox",{key:"8fab112575cb1c02c2019022cee83e5e5e65a9c6",name:"readonly"},"Readonly"),o("smoothly-input-checkbox",{key:"c34401c8b28faa79a139869c0766e8f8af357ca8",name:"disabled"},"Disabled"),o("smoothly-input-checkbox",{key:"672b5bc96fa9e6886c90b5e8354d7dea8c916270",name:"invalid"},"Invalid"),o("smoothly-input",{key:"c395fd3b7ca8d1243cd9e9ea4e006f1fd7ef1a27",name:"errorMessage",value:"This is not a valid value"},"Error Message"),o("smoothly-input-checkbox",{key:"121d1a50813987b2aeac50afe73e40c6a7c4fb8b",name:"showLabel",checked:true},"Show Label"),o("smoothly-input",{key:"265ce4b0e44c8fda1b3188929eb5901e1658bfd5",name:"placeholder"},"Placeholder"),o("smoothly-input-checkbox",{key:"1eafaaaa6696f9f1d696742869d10aba19c2f0c9",name:"alwaysShowGuide"},"Always Show Guide (for date inputs)"))),o("div",{key:"f6a5d34435c177c5dc64c31632dc7a1e65f3e270",class:"input-wrapper",style:{"--smoothly-input-border-radius":`${this.options.borderRadius}rem`}},o("div",{key:"c4d82ee52f0d44015df7eb734c98aa41f7c92827",class:"width"},"width: 100%"),o("div",{key:"2ae68895caf503ba92049a32d0054439f069123b",class:"left-padding"},"padding-left: 0.5rem"),o("smoothly-input",{key:"f5f4ee65ccf3180d2f9181fbc258c79e916e14ee",name:"text",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel,placeholder:this.options.placeholder},this.options.showLabel&&o("span",{key:"bf32f13cfbfa88add92692bf9ee02b836eeea2be"},"Text"),o("smoothly-input-clear",{key:"26639066ab906f755f7a42e154b1954f1f34f19d",slot:"end"})),o("div",{key:"de01a46f39aa6f331c5edf54208a6f9f726337e3",class:"height"}),o("smoothly-input-select",{key:"abb4be407f4b7ed51d5f796bdfce3b2b56c468a4",name:"month",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,placeholder:this.options.placeholder},this.options.showLabel&&o("label",{key:"49f71dbb091094f79927778d18a0a58e70689f42",slot:"label"},"Select"),o("smoothly-item",{key:"4b0e9cb4ce233c50a42fe249a3aef5648dc62558",value:"1"},"January"),o("smoothly-item",{key:"38380b0f13ddeb83e2e19e0ac645dcdbacf6c4df",value:"2"},"February"),o("smoothly-item",{key:"4f65be9a949261542191e3b484ad646e17f04987",value:"3"},"March"),o("smoothly-item",{key:"b6e9be5fbe31a12865717daddcd1a4039c942205",value:"4"},"April"),o("smoothly-item",{key:"6c867101a115315e30bcf525d3fde4a8e49a5719",value:"5"},"May"),o("smoothly-item",{key:"ba4792a24e862aed054b356a444f9b791add16b1",value:"6"},"June"),o("smoothly-item",{key:"9cc3a21ed384c2e2415311770925458dc13ac8d1",value:"7"},"July"),o("smoothly-item",{key:"53cf8809b4dbc8256448b5c08a9d07f274e365a3",value:"8"},"August"),o("smoothly-item",{key:"47a43966214064dab4d321cf9116b5cd87409dd3",value:"9"},"September"),o("smoothly-item",{key:"c71ceab27a3f86a5c2a27dc251b18f119f5ac623",value:"10"},"October"),o("smoothly-item",{key:"7e824138f3b0b28a414465d69bb71c4d6786c3b5",value:"11"},"November"),o("smoothly-item",{key:"e7813efea82efe4cd4a8bfa54a7a55b21f53fa48",value:"12"},"December"),o("smoothly-input-clear",{key:"7072ef8f9ac5b9a3028cbd2962560fc315f3d58b",slot:"end"})),o("div",{key:"3a1c4b4c2834bbb4921e330a77fe477c4741f181",class:"height"}),o("smoothly-input-checkbox",{key:"50499f2f1a4258a56caeb2266da17a9e881c7993",name:"checkbox",checked:true,color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled},"Check",o("smoothly-input-reset",{key:"550d44f73f1ae07461d73f66febd5138867e8247",slot:"end"})),o("div",{key:"acb1b0eaab732df76e2c586e8f56ee6c81fbdd87",class:"height"}),o("smoothly-input-radio",{key:"ec7f8b66f806e63a09320e2ebfcda71be001cd3b",name:"radio",clearable:true,color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel},this.options.showLabel&&o("label",{key:"00de1fcac1f811970b3f1154d6286dc7bd6036d8",slot:"label"},"Radio"),o("smoothly-input-radio-item",{key:"35ea9212aa0f8eec4a96dedc406b428f58b848e6",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"db11c348c12a468a854c53c5f5f692ae7dcbaeb1",selected:true,value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"65707145740b173f4379c6bf5706a962a91bb021",value:"third"},"Label 3"),o("smoothly-input-clear",{key:"883be5fef36a7e6fb16c57b30fcad312f1f25a6b",slot:"end"})),o("div",{key:"2cd8b1bb4ac90fd34732d2bfc34116bcc8429045",class:"height"}),o("smoothly-input-file",{key:"87739b41a33b7be135c5b3ed02648e702ac386ca",name:"file",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel,placeholder:this.options.placeholder},this.options.showLabel&&o("span",{key:"0d10524c66e0625ec86431a8c19dcedf83f47eac",slot:"label"},"File"),o("smoothly-input-clear",{key:"a95f256a28cf294430040b6c6028921f0c620c8d",slot:"end"})),o("div",{key:"48650848e22a86ca8aa7501e09fbd8c5f0ce83ea",class:"height"}),o("smoothly-input-range",{key:"b1e96735886d8e3e4b451ed17fa11ecada3e2302",name:"range",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,label:this.options.showLabel?"Range":undefined},o("smoothly-input-clear",{key:"ab7f71a498ce9404aacc63f0273bd3b715ddf12c",slot:"end"})),o("div",{key:"0ff2870912f9ae2e2b41ba9d982c906124ef2641",class:"height"}),o("smoothly-input-color",{key:"fa4d779da5bfaea1e9644e721d9f6c4249949407",name:"color",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel},this.options.showLabel&&o("span",{key:"63674017888873443dc7b744114dae7996e79c52"},"Color"),o("smoothly-input-clear",{key:"6344ad242592e19365961e80cc0814023eaa7dc2",slot:"end"})),o("div",{key:"16e0b71b1b6b1ee68813e3827b96bffe5ec63ef7",class:"height"}),o("smoothly-input-date",{key:"85e2fc24713c7543766e5c88341de28bb235eec9",name:"date",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel,placeholder:this.options.placeholder,alwaysShowGuide:this.options.alwaysShowGuide},this.options.showLabel&&o("span",{key:"106776717336dc925ceef2fc726c2acbff48a060"},"Date"),o("smoothly-input-clear",{key:"dd31d582a9da8729177e44f0709e20dd22ad1ceb",slot:"end"})),o("div",{key:"7a3b4c683d4d6ba46a09890c3112126911376100",class:"height"}),o("smoothly-input-date-time",{key:"6826e6fad4f1bcb21a30188e489215a785bf9d92",name:"dateTime",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel},"DateTime",o("smoothly-input-clear",{key:"bfa1fd01c821d467bb322310b56353e8a21b37ed",slot:"end"})),o("div",{key:"a9b5fac536b744270db8ee2c2e29c05f011a522a",class:"height"}),o("smoothly-input-date-range",{key:"437b2e44f71354330bded70e2ee61a1180b42215",name:"dateRange",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,placeholder:this.options.placeholder,alwaysShowGuide:this.options.alwaysShowGuide,showLabel:this.options.showLabel},this.options.showLabel&&o("span",{key:"ce778323ca7e585f98cb5c6d029593e329eaa3f0"},"Date Range"),o("smoothly-input-clear",{key:"96a689e9facde44dc827d19c9476fd7191a753ce",slot:"end"})),o("div",{key:"99a70bddd4168419ce44d234a84d5b234de4abcf",class:"height"})))}get element(){return this}static get style(){return z()}},[2,"smoothly-input-demo-standard",{duration:[32],options:[32]}]);function N(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-standard","smoothly-button","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-date-time","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-item","smoothly-spinner","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-standard":if(!customElements.get(s(e))){customElements.define(s(e),G)}break;case"smoothly-button":if(!customElements.get(s(e))){c()}break;case"smoothly-calendar":if(!customElements.get(s(e))){m()}break;case"smoothly-date-text":if(!customElements.get(s(e))){r()}break;case"smoothly-display":if(!customElements.get(s(e))){n()}break;case"smoothly-display-json":if(!customElements.get(s(e))){h()}break;case"smoothly-display-json-object":if(!customElements.get(s(e))){b()}break;case"smoothly-display-json-primitive":if(!customElements.get(s(e))){f()}break;case"smoothly-display-json-record-key":if(!customElements.get(s(e))){p()}break;case"smoothly-form":if(!customElements.get(s(e))){l()}break;case"smoothly-icon":if(!customElements.get(s(e))){y()}break;case"smoothly-input":if(!customElements.get(s(e))){u()}break;case"smoothly-input-checkbox":if(!customElements.get(s(e))){k()}break;case"smoothly-input-clear":if(!customElements.get(s(e))){g()}break;case"smoothly-input-color":if(!customElements.get(s(e))){v()}break;case"smoothly-input-date":if(!customElements.get(s(e))){j()}break;case"smoothly-input-date-range":if(!customElements.get(s(e))){w()}break;case"smoothly-input-date-time":if(!customElements.get(s(e))){E()}break;case"smoothly-input-file":if(!customElements.get(s(e))){x()}break;case"smoothly-input-month":if(!customElements.get(s(e))){C()}break;case"smoothly-input-radio":if(!customElements.get(s(e))){R()}break;case"smoothly-input-radio-item":if(!customElements.get(s(e))){D()}break;case"smoothly-input-range":if(!customElements.get(s(e))){L()}break;case"smoothly-input-reset":if(!customElements.get(s(e))){S()}break;case"smoothly-input-select":if(!customElements.get(s(e))){B()}break;case"smoothly-item":if(!customElements.get(s(e))){T()}break;case"smoothly-spinner":if(!customElements.get(s(e))){M()}break;case"smoothly-toggle-switch":if(!customElements.get(s(e))){I()}break}}))}N();export{G as S,N as d};
|
|
2
|
+
//# sourceMappingURL=p-DbIjGsJb.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,c as s,h as e,d as m,t as a}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{o as r}from"./p-Dr7iZPxA.js";import{f as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,c as s,h as e,d as m,t as a}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{o as r}from"./p-Dr7iZPxA.js";import{f as c}from"./p-CkXes5c-.js";import{N as l}from"./p-C6lWCoIT.js";import"./p-DoFURPl2.js";import{d as n}from"./p-BHEtq3Ue.js";import{d as p}from"./p-DX3KKRD9.js";import{d as f}from"./p-BqAN7jax.js";import{d}from"./p-B8ljN4o0.js";import{d as h}from"./p-DgaHxdNI.js";import{d as y}from"./p-BiQsRsV4.js";import{d as u}from"./p-C9zTTp-4.js";import{d as b}from"./p-DTqtObrT.js";import{d as k}from"./p-RNCr3p17.js";import{d as j}from"./p-D7cDUGTe.js";import{d as E}from"./p-BS2SWUX6.js";import{d as D}from"./p-CsLlJDsh.js";const T=()=>`.sc-smoothly-form-demo-date-h{display:block}`;const B=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.notice=s(this,"notice");this.validator=r({date:c("isoly.Date",i.Date.is)})}async submitHandler(t){t.stopPropagation();if(!this.validator.is(t.detail.value)){console.error(`Type is incomplete.`);this.notice.emit(l.failed(`Type is incomplete.`))}else{this.notice.emit(l.succeeded(`Type is complete!`));t.detail.result(true)}t.detail.result(false)}render(){return e(m,{key:"5784da3e53561844b6425a7e8577660a86c61f1a"},e("h2",{key:"950410300b6a7f87362a139c35399856dc547080"},"Date input"),e("smoothly-form",{key:"1197555e126930ab2acd0810309e3114b7644fee",looks:"border",type:"create",validator:this.validator,onSmoothlyFormSubmit:t=>this.submitHandler(t)},e("smoothly-input-date",{key:"beeb9a1969cc330fd1e9c5a01a2d571aab854f87",name:"date"},"Date"),e("smoothly-input-submit",{key:"e9f8448d0442b0dcaf4a793cd6f86c4156dcea04",slot:"submit"},e("smoothly-icon",{key:"998ef6127d165df5a08cfbafeb5ba64d9e87921a",name:"checkmark-outline"}))))}static get style(){return T()}},[2,"smoothly-form-demo-date"]);function x(){if(typeof customElements==="undefined"){return}const t=["smoothly-form-demo-date","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-form","smoothly-icon","smoothly-input-date","smoothly-input-month","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner"];t.forEach((t=>{switch(t){case"smoothly-form-demo-date":if(!customElements.get(a(t))){customElements.define(a(t),B)}break;case"smoothly-button":if(!customElements.get(a(t))){n()}break;case"smoothly-button-confirm":if(!customElements.get(a(t))){p()}break;case"smoothly-calendar":if(!customElements.get(a(t))){f()}break;case"smoothly-date-text":if(!customElements.get(a(t))){d()}break;case"smoothly-form":if(!customElements.get(a(t))){h()}break;case"smoothly-icon":if(!customElements.get(a(t))){y()}break;case"smoothly-input-date":if(!customElements.get(a(t))){u()}break;case"smoothly-input-month":if(!customElements.get(a(t))){b()}break;case"smoothly-input-select":if(!customElements.get(a(t))){k()}break;case"smoothly-input-submit":if(!customElements.get(a(t))){j()}break;case"smoothly-item":if(!customElements.get(a(t))){E()}break;case"smoothly-spinner":if(!customElements.get(a(t))){D()}break}}))}x();export{B as S,x as d};
|
|
2
|
+
//# sourceMappingURL=p-Dx5PGIAk.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as o,h as t,d as s,t as c}from"./p-BsZrGTcp.js";import{d as m}from"./p-BHEtq3Ue.js";import{d as r}from"./p-DX3KKRD9.js";import{d as a}from"./p-DgaHxdNI.js";import{d as n}from"./p-BiQsRsV4.js";import{d as i}from"./p-R4uIvvER.js";import{d as p}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as o,h as t,d as s,t as c}from"./p-BsZrGTcp.js";import{d as m}from"./p-BHEtq3Ue.js";import{d as r}from"./p-DX3KKRD9.js";import{d as a}from"./p-DgaHxdNI.js";import{d as n}from"./p-BiQsRsV4.js";import{d as i}from"./p-R4uIvvER.js";import{d as p}from"./p-CKrPTQ_S.js";import{d}from"./p-D7cDUGTe.js";import{d as f}from"./p-CsLlJDsh.js";const l=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"ddaf2991aa275d3e43d7b103c1610e9c9d90e540"},t("h2",{key:"ade32ad1ec5facad78d0c02c60fb41e7ddc220b2"},"Prices"),t("smoothly-form",{key:"babe8324ffdccb239ea220e4f78b0eb8180935e2",looks:"line"},t("smoothly-input",{key:"108bae0b5210eedc2ea7eecf733c307c81902c67",type:"price",name:"no"},"No currency"),t("smoothly-input",{key:"8db15ba85d0a56d34e5af866cf41adb26c05f24f",type:"price",name:"crowns",currency:"SEK",toInteger:true},"SEK (toInteger)"),t("smoothly-input",{key:"de60d9244a12bbe6eff9ffc0b9a4ca4bb57059cc",type:"price",name:"usDollar",currency:"USD"},"USD"),t("smoothly-input",{key:"86c99574c9b71982e761c36c749a299ee77035e1",type:"price",name:"pounds",currency:"GBP"},"GBP"),t("smoothly-input",{key:"7f60f189c2f39bc4d90ea5e1a4ade4405424bfb2",type:"price",name:"peso",currency:"UYW"},"UYW"),t("smoothly-input",{key:"2a6608e00e03a3b296df690c332d60d2538d5d5b",type:"price",name:"iceland",currency:"ISK"},"ISK"),t("smoothly-input",{key:"b69ac9c3668624b1050b4adbd40ea2988c89b7bc",type:"price",name:"Palladium",currency:"XPD"},"XPD (Palladium)"),t("smoothly-input-reset",{key:"e161b00dae69f994c8f8a1cf8b0d218c9b76b186",slot:"reset",fill:"default",type:"form",color:"warning"}),t("smoothly-input-submit",{key:"620aed2e802906bc5c69b9dada89cdc5e01cc2d8",slot:"submit"})))}},[2,"smoothly-form-demo-prices"]);function y(){if(typeof customElements==="undefined"){return}const e=["smoothly-form-demo-prices","smoothly-button","smoothly-button-confirm","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-reset","smoothly-input-submit","smoothly-spinner"];e.forEach((e=>{switch(e){case"smoothly-form-demo-prices":if(!customElements.get(c(e))){customElements.define(c(e),l)}break;case"smoothly-button":if(!customElements.get(c(e))){m()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){r()}break;case"smoothly-form":if(!customElements.get(c(e))){a()}break;case"smoothly-icon":if(!customElements.get(c(e))){n()}break;case"smoothly-input":if(!customElements.get(c(e))){i()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){p()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){d()}break;case"smoothly-spinner":if(!customElements.get(c(e))){f()}break}}))}y();export{l as S,y as d};
|
|
2
|
+
//# sourceMappingURL=p-Mk_F6MCP.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as o,h as t,d as s,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-BHEtq3Ue.js";import{d as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as o,h as t,d as s,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DX3KKRD9.js";import{d as n}from"./p-BqAN7jax.js";import{d as l}from"./p-B8ljN4o0.js";import{d as r}from"./p-DgaHxdNI.js";import{d as i}from"./p-BiQsRsV4.js";import{d}from"./p-R4uIvvER.js";import{d as f}from"./p-C9zTTp-4.js";import{d as b}from"./p-DKggy9E3.js";import{d as p}from"./p-CioJtwj-.js";import{d as y}from"./p-DTqtObrT.js";import{d as u}from"./p-RNCr3p17.js";import{d as h}from"./p-D7cDUGTe.js";import{d as k}from"./p-BS2SWUX6.js";import{d as E}from"./p-CsLlJDsh.js";const j=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"5a3fdbd366a32b297862b100c85177af79f16d86"},t("h2",{key:"c38d0dac4ca5c387c8a0e88f1aa016ad671d01f7"},"Transparent"),t("smoothly-form",{key:"810ccd9b0ffdef37a833a09b7168decb20264262",looks:"transparent",onSmoothlyFormSubmit:e=>console.log(e.detail.value)},t("smoothly-input-file",{key:"58587dd36208d8ebbc60442c145107d8fe0362b8",name:"file"},t("span",{key:"3d30591aded5f5b78d8a94c4c8c2df5e3265eda8",slot:"label"},"File"),t("smoothly-icon",{key:"85ca32d6d83edce9365e547c7d821a97dafc6d50",slot:"button",name:"folder-open-outline",size:"small"})),t("smoothly-input",{key:"34ae4b828a10983ead287a522811715705df3aa6",type:"duration",looks:"transparent",placeholder:"h:mm"},"Input"),t("smoothly-input-date",{key:"e562c31da45ad29784b6e6fd0c9790dec0056f33"},"Date"),t("smoothly-input-date-range",{key:"e76232bb888f0206eb97573066b02edb984e0d53"},"Date Range"),t("smoothly-input-select",{key:"c578c9b0cce028fd15bee9defb3d7ec4ef00a3d5",name:"transport"},t("smoothly-item",{key:"41cb244bc1e5a71b086f61e0d691bed6e11675b0",value:"plane"},t("smoothly-icon",{key:"b47d61e8b5639f49094b35b35a571bed2024f3e1",name:"airplane-outline"})),t("smoothly-item",{key:"1519381101efae10236102ff61b34cf7ffd8687b",value:"car"},t("smoothly-icon",{key:"045e2d48e1dbc887a582be5bf6541663bce0c585",name:"car-outline"})),t("smoothly-item",{key:"3f15f91ba811d4cb8b690abbe49c374b63003820",value:"bus",selected:true},t("smoothly-icon",{key:"bc1141e336893ec5e65db1513c95cc390ca54e60",name:"bus-outline"}))),t("smoothly-input-submit",{key:"9e6a13bc16f206d4b545c9dd8b09ca4babf9719d",icon:"checkbox-outline"})))}},[2,"smoothly-form-demo-transparent"]);function D(){if(typeof customElements==="undefined"){return}const e=["smoothly-form-demo-transparent","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-date","smoothly-input-date-range","smoothly-input-file","smoothly-input-month","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner"];e.forEach((e=>{switch(e){case"smoothly-form-demo-transparent":if(!customElements.get(m(e))){customElements.define(m(e),j)}break;case"smoothly-button":if(!customElements.get(m(e))){a()}break;case"smoothly-button-confirm":if(!customElements.get(m(e))){c()}break;case"smoothly-calendar":if(!customElements.get(m(e))){n()}break;case"smoothly-date-text":if(!customElements.get(m(e))){l()}break;case"smoothly-form":if(!customElements.get(m(e))){r()}break;case"smoothly-icon":if(!customElements.get(m(e))){i()}break;case"smoothly-input":if(!customElements.get(m(e))){d()}break;case"smoothly-input-date":if(!customElements.get(m(e))){f()}break;case"smoothly-input-date-range":if(!customElements.get(m(e))){b()}break;case"smoothly-input-file":if(!customElements.get(m(e))){p()}break;case"smoothly-input-month":if(!customElements.get(m(e))){y()}break;case"smoothly-input-select":if(!customElements.get(m(e))){u()}break;case"smoothly-input-submit":if(!customElements.get(m(e))){h()}break;case"smoothly-item":if(!customElements.get(m(e))){k()}break;case"smoothly-spinner":if(!customElements.get(m(e))){E()}break}}))}D();export{j as S,D as d};
|
|
2
|
+
//# sourceMappingURL=p-jatJrx5f.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as o,H as s,h as m,d as t,t as e}from"./p-BsZrGTcp.js";import{d as r}from"./p-BHEtq3Ue.js";import{d as a}from"./p-DX3KKRD9.js";import{d as l}from"./p-BqAN7jax.js";import{d as i}from"./p-B8ljN4o0.js";import{d as c}from"./p-DM5CKilY.js";import{d}from"./p-CR3Ni_o7.js";import{d as f}from"./p-B-l1S16Z.js";import{d as p}from"./p-Ud7Qhkgt.js";import{d as n}from"./p-C3FORjes.js";import{d as y}from"./p-DgaHxdNI.js";import{d as h}from"./p-CrxXCTnH.js";import{d as u}from"./p-DVuQ4t_X.js";import{d as b}from"./p-BX6yRNGo.js";import{d as k}from"./p-Dx5PGIAk.js";import{d as j}from"./p-BRkEF66h.js";import{d as E}from"./p-BiwhssQ8.js";import{d as g}from"./p-Bs8X_nDB.js";import{d as D}from"./p-Mk_F6MCP.js";import{d as B}from"./p-Bj9DsW03.js";import{d as x}from"./p-jatJrx5f.js";import{d as C}from"./p-CqSJ0pgl.js";import{d as R}from"./p-BiQsRsV4.js";import{d as G}from"./p-R4uIvvER.js";import{d as T}from"./p-C_f8s6n5.js";import{d as X}from"./p-BaBGzDg_.js";import{d as w}from"./p-nrkV1PqR.js";import{d as I}from"./p-C9zTTp-4.js";import{d as S}from"./p-DKggy9E3.js";import{d as _}from"./p-CGG77xzV.js";import{d as v}from"./p-C519IJGa.js";import{d as N}from"./p-CioJtwj-.js";import{d as Q}from"./p-DTqtObrT.js";import{d as q}from"./p-BDhPxj59.js";import{d as z}from"./p-DXHBXAV0.js";import{d as J}from"./p-D2FsRCII.js";import{d as K}from"./p-CKrPTQ_S.js";import{d as P}from"./p-RNCr3p17.js";import{d as V}from"./p-D7cDUGTe.js";import{d as F}from"./p-BS2SWUX6.js";import{d as H}from"./p-CsLlJDsh.js";import{d as M}from"./p-DSsOLbj6.js";import{d as U}from"./p-2Y5tLcQ1.js";import{d as A}from"./p-DMzn0Iz0.js";const L=()=>`.sc-smoothly-form-demo-h{display:flex;margin-top:2em;margin-bottom:10em}.sc-smoothly-form-demo-h>div.sc-smoothly-form-demo{margin:auto;width:1200px;max-width:calc(100% - 0.5rem)}`;const O=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return m(t,{key:"1ddc9511911663c0c6732b9e9b00b3e68d008216"},m("div",{key:"8716afd31e7b741071f8fee4b939c7c1a2067343"},m("smoothly-form-demo-all",{key:"0856d387645fdb66fddb050be10ed906fde59b58"}),m("smoothly-form-demo-pet",{key:"4f2b563802b34dcfb8905bcaedd5d6c1d9a53e40"}),m("smoothly-form-demo-card",{key:"c362f29b57a6b321f0db6cbb4088fccdf1ba4ac7"}),m("smoothly-form-demo-login",{key:"a14e189b9455e4ca98911c987f5082c2d52e14ef"}),m("smoothly-form-demo-prices",{key:"1244782f93a5e5cca8af5d076d6adf594c22eb65"}),m("smoothly-form-demo-typed",{key:"15e40ae537693e1c19ddce3c50311718aa76c531"}),m("smoothly-form-demo-transparent",{key:"2ecde43fd255a80832e8302a7ffbdc2e4c1308da"}),m("smoothly-form-demo-date",{key:"e31bcebea1a06295cbcb5c3cf09f24e1e4678244"}),m("smoothly-form-demo-schedule",{key:"c82d53e933bce5540f10ef60fb3d17b4566abd06"}),m("smoothly-form-demo-date-range",{key:"4789cc150fa75b61bf578777cc86db216d75ca13"}),m("smoothly-form-demo-controlled",{key:"451ad913671046be1255752b103066eeac96eae8"})))}static get style(){return L()}},[2,"smoothly-form-demo"]);function W(){if(typeof customElements==="undefined"){return}const o=["smoothly-form-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-form-demo-all","smoothly-form-demo-card","smoothly-form-demo-controlled","smoothly-form-demo-date","smoothly-form-demo-date-range","smoothly-form-demo-login","smoothly-form-demo-pet","smoothly-form-demo-prices","smoothly-form-demo-schedule","smoothly-form-demo-transparent","smoothly-form-demo-typed","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","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-tab","smoothly-tabs","smoothly-toggle-switch"];o.forEach((o=>{switch(o){case"smoothly-form-demo":if(!customElements.get(e(o))){customElements.define(e(o),O)}break;case"smoothly-button":if(!customElements.get(e(o))){r()}break;case"smoothly-button-confirm":if(!customElements.get(e(o))){a()}break;case"smoothly-calendar":if(!customElements.get(e(o))){l()}break;case"smoothly-date-text":if(!customElements.get(e(o))){i()}break;case"smoothly-display":if(!customElements.get(e(o))){c()}break;case"smoothly-display-json":if(!customElements.get(e(o))){d()}break;case"smoothly-display-json-object":if(!customElements.get(e(o))){f()}break;case"smoothly-display-json-primitive":if(!customElements.get(e(o))){p()}break;case"smoothly-display-json-record-key":if(!customElements.get(e(o))){n()}break;case"smoothly-form":if(!customElements.get(e(o))){y()}break;case"smoothly-form-demo-all":if(!customElements.get(e(o))){h()}break;case"smoothly-form-demo-card":if(!customElements.get(e(o))){u()}break;case"smoothly-form-demo-controlled":if(!customElements.get(e(o))){b()}break;case"smoothly-form-demo-date":if(!customElements.get(e(o))){k()}break;case"smoothly-form-demo-date-range":if(!customElements.get(e(o))){j()}break;case"smoothly-form-demo-login":if(!customElements.get(e(o))){E()}break;case"smoothly-form-demo-pet":if(!customElements.get(e(o))){g()}break;case"smoothly-form-demo-prices":if(!customElements.get(e(o))){D()}break;case"smoothly-form-demo-schedule":if(!customElements.get(e(o))){B()}break;case"smoothly-form-demo-transparent":if(!customElements.get(e(o))){x()}break;case"smoothly-form-demo-typed":if(!customElements.get(e(o))){C()}break;case"smoothly-icon":if(!customElements.get(e(o))){R()}break;case"smoothly-input":if(!customElements.get(e(o))){G()}break;case"smoothly-input-checkbox":if(!customElements.get(e(o))){T()}break;case"smoothly-input-clear":if(!customElements.get(e(o))){X()}break;case"smoothly-input-color":if(!customElements.get(e(o))){w()}break;case"smoothly-input-date":if(!customElements.get(e(o))){I()}break;case"smoothly-input-date-range":if(!customElements.get(e(o))){S()}break;case"smoothly-input-date-time":if(!customElements.get(e(o))){_()}break;case"smoothly-input-edit":if(!customElements.get(e(o))){v()}break;case"smoothly-input-file":if(!customElements.get(e(o))){N()}break;case"smoothly-input-month":if(!customElements.get(e(o))){Q()}break;case"smoothly-input-radio":if(!customElements.get(e(o))){q()}break;case"smoothly-input-radio-item":if(!customElements.get(e(o))){z()}break;case"smoothly-input-range":if(!customElements.get(e(o))){J()}break;case"smoothly-input-reset":if(!customElements.get(e(o))){K()}break;case"smoothly-input-select":if(!customElements.get(e(o))){P()}break;case"smoothly-input-submit":if(!customElements.get(e(o))){V()}break;case"smoothly-item":if(!customElements.get(e(o))){F()}break;case"smoothly-spinner":if(!customElements.get(e(o))){H()}break;case"smoothly-tab":if(!customElements.get(e(o))){M()}break;case"smoothly-tabs":if(!customElements.get(e(o))){U()}break;case"smoothly-toggle-switch":if(!customElements.get(e(o))){A()}break}}))}W();export{O as S,W as d};
|
|
2
|
+
//# sourceMappingURL=p-t3cG0BK6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyFormDemo","__stencil_proxyCustomElement","HTMLElement","render","h","Host","key"],"sources":["src/components/form/demo/style.css?tag=smoothly-form-demo&encapsulation=scoped","src/components/form/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tmargin-top: 2em;\n\tmargin-bottom: 10em;\n}\n\n:host>div {\n\tmargin: auto;\n\twidth: 1200px;\n\tmax-width: calc(100% - 0.5rem);\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemo {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-form-demo-all />\n\t\t\t\t\t<smoothly-form-demo-pet />\n\t\t\t\t\t<smoothly-form-demo-card />\n\t\t\t\t\t<smoothly-form-demo-login />\n\t\t\t\t\t<smoothly-form-demo-prices />\n\t\t\t\t\t<smoothly-form-demo-typed />\n\t\t\t\t\t<smoothly-form-demo-transparent />\n\t\t\t\t\t<smoothly-form-demo-date />\n\t\t\t\t\t<smoothly-form-demo-schedule />\n\t\t\t\t\t<smoothly-form-demo-date-range />\n\t\t\t\t\t<smoothly-form-demo-controlled />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["styleCss","SmoothlyFormDemo","__stencil_proxyCustomElement","HTMLElement","render","h","Host","key"],"sources":["src/components/form/demo/style.css?tag=smoothly-form-demo&encapsulation=scoped","src/components/form/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tmargin-top: 2em;\n\tmargin-bottom: 10em;\n}\n\n:host>div {\n\tmargin: auto;\n\twidth: 1200px;\n\tmax-width: calc(100% - 0.5rem);\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemo {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-form-demo-all />\n\t\t\t\t\t<smoothly-form-demo-pet />\n\t\t\t\t\t<smoothly-form-demo-card />\n\t\t\t\t\t<smoothly-form-demo-login />\n\t\t\t\t\t<smoothly-form-demo-prices />\n\t\t\t\t\t<smoothly-form-demo-typed />\n\t\t\t\t\t<smoothly-form-demo-transparent />\n\t\t\t\t\t<smoothly-form-demo-date />\n\t\t\t\t\t<smoothly-form-demo-schedule />\n\t\t\t\t\t<smoothly-form-demo-date-range />\n\t\t\t\t\t<smoothly-form-demo-controlled />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"ukDAAA,MAAMA,EAAW,IAAM,qL,MCOVC,EAAgBC,EAAA,MAAAD,UAAAE,E,4DAC5B,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,4CACCF,EAAA,0BAAAE,IAAA,6CACAF,EAAA,0BAAAE,IAAA,6CACAF,EAAA,2BAAAE,IAAA,6CACAF,EAAA,4BAAAE,IAAA,6CACAF,EAAA,6BAAAE,IAAA,6CACAF,EAAA,4BAAAE,IAAA,6CACAF,EAAA,kCAAAE,IAAA,6CACAF,EAAA,2BAAAE,IAAA,6CACAF,EAAA,+BAAAE,IAAA,6CACAF,EAAA,iCAAAE,IAAA,6CACAF,EAAA,iCAAAE,IAAA,8C","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as e,h as t,t as s}from"./p-BsZrGTcp.js";import{d as m}from"./p-D1uYEo7L.js";import{d as a}from"./p-v06atw3t.js";import{d as l}from"./p-BoHJT9bR.js";import{d as r}from"./p-DIz1nEPY.js";import{d as i}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DX3KKRD9.js";import{d}from"./p-DR3KUEvE.js";import{d as p}from"./p-DA_1vtmU.js";import{d as n}from"./p-BqAN7jax.js";import{d as f}from"./p-B8ljN4o0.js";import{d as y}from"./p-BQIS-JBV.js";import{d as h}from"./p-DnLJBwZR.js";import{d as b}from"./p-DM5CKilY.js";import{d as u}from"./p-BaGuG5hS.js";import{d as k}from"./p-BuKk-s9A.js";import{d as j}from"./p-CR3Ni_o7.js";import{d as E}from"./p-B-l1S16Z.js";import{d as g}from"./p-Ud7Qhkgt.js";import{d as C}from"./p-C3FORjes.js";import{d as D}from"./p-DgaHxdNI.js";import{d as w}from"./p-D1cLYdzg.js";import{d as B}from"./p-CyhRVB6K.js";import{d as T}from"./p-CiJgTdse.js";import{d as v}from"./p-CrNizZqW.js";import{d as x}from"./p-HKrMuYSD.js";import{d as I}from"./p-fJkfUsWz.js";import{d as R}from"./p-p0yn7c4h.js";import{d as S}from"./p-DBkHnJdp.js";import{d as H}from"./p-DlHIV5_u.js";import{d as K}from"./p-C8cvGmGP.js";import{d as L}from"./p-C5Bgwjpo.js";import{d as V}from"./p-DgHAvBgB.js";import{d as Y}from"./p-BEHuPmXt.js";import{d as G}from"./p-BiQsRsV4.js";import{d as z}from"./p-C629G4I1.js";import{d as J}from"./p-R4uIvvER.js";import{d as W}from"./p-C_f8s6n5.js";import{d as A}from"./p-DZadnBSZ.js";import{d as F}from"./p-nrkV1PqR.js";import{d as N}from"./p-D58kSmOp.js";import{d as U}from"./p-C9zTTp-4.js";import{d as X}from"./p-BgXgncGY.js";import{d as Z}from"./p-DKggy9E3.js";import{d as q}from"./p-CGG77xzV.js";import{d as P}from"./p-CKxNCxBn.js";import{d as Q}from"./p-DdTTiJbE.js";import{d as M}from"./p-CdYYtJX2.js";import{d as O}from"./p-CUiFFtAw.js";import{d as _}from"./p-C519IJGa.js";import{d as $}from"./p-CioJtwj-.js";import{d as oo}from"./p-DTqtObrT.js";import{d as eo}from"./p-nHKstm2X.js";import{d as to}from"./p-BDhPxj59.js";import{d as so}from"./p-DXHBXAV0.js";import{d as mo}from"./p-D2FsRCII.js";import{d as ao}from"./p-fafhoJgv.js";import{d as lo}from"./p-DqwlZYFh.js";import{d as ro}from"./p-RNCr3p17.js";import{d as io}from"./p-CVp4Wd4u.js";import{d as co}from"./p-BS2SWUX6.js";import{d as po}from"./p-thKhutym.js";import{d as no}from"./p-CDQM-sOT.js";import{d as fo}from"./p-DwYc62Ls.js";import{d as yo}from"./p-CottiZWN.js";import{d as ho}from"./p-ByWVc-XC.js";import{d as bo}from"./p-Bm-gpoFa.js";import{d as uo}from"./p-CsLlJDsh.js";import{d as ko}from"./p-iucZC6z5.js";import{d as jo}from"./p-DSsOLbj6.js";import{d as Eo}from"./p-Dekg3IGr.js";import{d as go}from"./p-CrcmijCR.js";import{d as Co}from"./p-CRTkSTv3.js";import{d as Do}from"./p-Cvl7cLxT.js";import{d as wo}from"./p-D9qp7S6Q.js";import{d as Bo}from"./p-CR1YZ3na.js";import{d as To}from"./p-4y8eF-fy.js";import{d as vo}from"./p-CuMoDdaf.js";import{d as xo}from"./p-BQSKXVmh.js";import{d as Io}from"./p-i8IFRTdL.js";import{d as Ro}from"./p-DZ4ogW8V.js";import{d as So}from"./p-CG636AEF.js";import{d as Ho}from"./p-BNnhxQyl.js";import{d as Ko}from"./p-CVH3vlKv.js";import{d as Lo}from"./p-CjdBPauI.js";import{d as Vo}from"./p-CTPT9Ngc.js";import{d as Yo}from"./p-DBuVH8IL.js";import{d as Go}from"./p-2Y5tLcQ1.js";import{d as zo}from"./p-1KOtWYkC.js";import{d as Jo}from"./p-BPh3sXo6.js";import{d as Wo}from"./p-BnYCDLp0.js";import{d as Ao}from"./p-D2cHi1Nb.js";import{d as Fo}from"./p-3dApo-uA.js";import{d as No}from"./p-B3OjIxsE.js";import{d as Uo}from"./p-CMiST1Tm.js";import{d as Xo}from"./p-DMzn0Iz0.js";import{d as Zo}from"./p-CdgiqBtD.js";import{d as qo}from"./p-CF5IKGi5.js";const Po=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}}urlChangeHandler(o){console.log("smoothlyUrlChange",o.detail)}render(){return t("smoothly-app",{key:"86d6cc67b58d8c7c04b9fd7e33891dfacb529943",color:"dark",label:"Smoothly Demo",home:"/root",ref:o=>this.app=o},t("smoothly-app-room",{key:"7012500cb2629c53e1156372722e8ef2b6d047eb",path:"/"},t("section",{key:"759dafafbd63e7fff5bf0acd0502e8eec36e8c64",style:{padding:"1em",maxWidth:"32em",margin:"0 auto"}},t("header",{key:"0ed18baa408a674f906abc32425ce6037662a476"},t("h1",{key:"22cb0dc61fece9d2d7acae6a55db19ccc57261df"},"Welcome")),t("p",{key:"d914f970b834d217cd2dfd7d2d05cd0c4b5dcb65"},"Smoothly is a component library written in ",t("a",{key:"3626d6388b49307f475e4071ef114039dcb51f60",href:"http://stenciljs.com"},"Stencil"),". It can therefore be used across web based frontend toolchains such as React, Vue, Angular, Svelte, and even plain HTML."),t("p",{key:"319549bf6b8cca5d5f9042b1f74c29e884545a59"},"This is particularly useful when trying to unifying the user experience across projects written in different technology stacks. It is also written to minimize the amount of code you need to write to achieve a nice user experience."))),t("smoothly-app-room",{key:"4c752059c00ad39c3bee1d36bdac99bfad027f5f",path:"/form",label:"Forms",content:t("smoothly-form-demo",null)}),t("smoothly-app-room",{key:"02b7dd008a64194f348bfb0679217ebbea05fac9",path:"/input",label:"Inputs",content:t("smoothly-input-demo",null)}),t("smoothly-app-room",{key:"41c7489608d0da9a8d4a2ab9b1a56c425cc36f21",path:"/table",label:"Tables",content:t("smoothly-table-demo",null)}),t("smoothly-app-room",{key:"b10b3c95084e9f27a6ebeaf5170bb10be8226c87",path:"/button",label:"Buttons",content:t("smoothly-button-demo",null)}),t("smoothly-app-room",{key:"f20620084dd779b954fa440b559db2bdccf0b3a3",path:"/icon",label:"Icons",content:t("smoothly-icon-demo",null)}),t("smoothly-app-room",{key:"5078c24c13064315cf8f761809e60cdfc1734c41",path:"/theme",label:"Theming",content:t("smoothly-theme-demo",null)}),t("smoothly-app-room",{key:"1a215800a294196d53fca85834aac7fea5990e70",path:"/dialog",label:"Dialogs",content:t("smoothly-dialog-demo",null),slot:"nav-end"}),t("smoothly-app-room",{key:"c43bd3e6cdd99d7c481c041d85cdc09abf6777e1",path:"/display",label:"Display",content:t("smoothly-display-demo",null),slot:"nav-end"}),t("smoothly-app-room",{key:"bec674db3cafd8d778f8d7baaa8036ff80c72d5e",path:"/tabs",label:"Tabs",slot:"nav-end"},t("smoothly-tabs-demo",{key:"b6a5e71af63d597edc737c03feacbd05c302ebd1"})),t("smoothly-app-room",{key:"7045bdab3e9f1b9e312c99c51efa7700650d868b",path:"/links",label:"Links",slot:"nav-end"},t("smoothly-input",{key:"bd683968e82f931896daa95af86c0219f147eb40",type:"text"},"Default"),t("div",{key:"75e8b55879905603512fc4d5fe53e3c09a5782d0",style:{padding:"1em",maxWidth:"12em"}},t("smoothly-button",{key:"869802d20dddc052fdfa6e537e641dc48c399117",fill:"solid",color:"danger",link:"https://google.com"},"open"),t("smoothly-button",{key:"e0018a3f508970db339bb3b235e31a65aba2757e",fill:"solid",color:"danger",link:"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",type:"download"},"download"),t("smoothly-button",{key:"7ab52ab0a4f39e20b2e2f26f46c0f8997d57729c",fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),t("smoothly-button",{key:"4824113cd8ce8a18c90c825b8a9b761cb8755b05",disabled:true,fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),t("smoothly-button",{key:"9e49688ab7dd80739746f71e3cab6ef83db80ae7",type:"link",fill:"clear",color:"danger",onClick:()=>alert("clicked")},"action link"))),t("smoothly-app-room",{key:"fa1c5ae55b117380e63b5a770efe06c6df055378",path:"/redirect",label:"Redirect",slot:"nav-end"},t("smoothly-button",{key:"f47bd47275bd85a8e8f3e79e8c934e7927f36890",type:"link",link:"/input"},"To input"),t("smoothly-button",{key:"e24f908b0515b8219dce4d44bb2dd6b2c7f39584",type:"link",link:"../button"},"To button"),t("smoothly-button",{key:"85835e7ebef099c646ca28af45d5827913872853",type:"link",link:new URL("/hidden",window.location.origin).href},"To hidden"),t("smoothly-button",{key:"b74f97297768504a5b4f0cace60acb1d48991633",type:"link",link:"/redirect"},"To redirect"),t("smoothly-button",{key:"cc1cc9fce70b0f47fe652ae60d674fa6707be2cd",type:"link",link:"nested"},"To redirect nested, relative path")),t("smoothly-app-room",{key:"17f2026f91be5f73266c141809bc31521d0acca9",path:"/hidden"},t("p",{key:"3bbd16511c586b7387f4c7a5152131f5aa5a4cdf"},"hello world!")),t("smoothly-app-room",{key:"2635c8a84e6909d055d7c53216cb72aed69fbeab",path:"/redirect/nested"},"this is a nested room"))}},[0,"smoothly-app-demo",{baseUrl:[1,"base-url"]},[[8,"smoothlyUrlChange","urlChangeHandler"]]]);function Qo(){if(typeof customElements==="undefined"){return}const o=["smoothly-app-demo","smoothly-app","smoothly-app-room","smoothly-back-to-top","smoothly-burger","smoothly-button","smoothly-button-confirm","smoothly-button-demo","smoothly-button-demo-standard","smoothly-calendar","smoothly-date-text","smoothly-dialog","smoothly-dialog-demo","smoothly-display","smoothly-display-demo","smoothly-display-demo-json","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-form-demo","smoothly-form-demo-all","smoothly-form-demo-card","smoothly-form-demo-controlled","smoothly-form-demo-date","smoothly-form-demo-date-range","smoothly-form-demo-login","smoothly-form-demo-pet","smoothly-form-demo-prices","smoothly-form-demo-schedule","smoothly-form-demo-transparent","smoothly-form-demo-typed","smoothly-frame","smoothly-icon","smoothly-icon-demo","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","smoothly-input-edit","smoothly-input-file","smoothly-input-month","smoothly-input-price-demo","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-range-demo","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-label","smoothly-lazy","smoothly-load-more","smoothly-modal","smoothly-notification","smoothly-notifier","smoothly-spinner","smoothly-summary","smoothly-tab","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-demo","smoothly-table-demo-colspan","smoothly-table-demo-filler-row","smoothly-table-demo-group","smoothly-table-demo-nested-no-cell","smoothly-table-demo-nested-no-cell-inner","smoothly-table-demo-simple","smoothly-table-expandable-cell","smoothly-table-expandable-row","smoothly-table-filler-row","smoothly-table-foot","smoothly-table-head","smoothly-table-row","smoothly-table-row-group","smoothly-tabs","smoothly-tabs-demo","smoothly-theme-color","smoothly-theme-color-variant","smoothly-theme-colors","smoothly-theme-demo","smoothly-theme-guide","smoothly-theme-picker","smoothly-toggle-switch","smoothly-toggle-switch-demo","smoothly-trigger"];o.forEach((o=>{switch(o){case"smoothly-app-demo":if(!customElements.get(s(o))){customElements.define(s(o),Po)}break;case"smoothly-app":if(!customElements.get(s(o))){m()}break;case"smoothly-app-room":if(!customElements.get(s(o))){a()}break;case"smoothly-back-to-top":if(!customElements.get(s(o))){l()}break;case"smoothly-burger":if(!customElements.get(s(o))){r()}break;case"smoothly-button":if(!customElements.get(s(o))){i()}break;case"smoothly-button-confirm":if(!customElements.get(s(o))){c()}break;case"smoothly-button-demo":if(!customElements.get(s(o))){d()}break;case"smoothly-button-demo-standard":if(!customElements.get(s(o))){p()}break;case"smoothly-calendar":if(!customElements.get(s(o))){n()}break;case"smoothly-date-text":if(!customElements.get(s(o))){f()}break;case"smoothly-dialog":if(!customElements.get(s(o))){y()}break;case"smoothly-dialog-demo":if(!customElements.get(s(o))){h()}break;case"smoothly-display":if(!customElements.get(s(o))){b()}break;case"smoothly-display-demo":if(!customElements.get(s(o))){u()}break;case"smoothly-display-demo-json":if(!customElements.get(s(o))){k()}break;case"smoothly-display-json":if(!customElements.get(s(o))){j()}break;case"smoothly-display-json-object":if(!customElements.get(s(o))){E()}break;case"smoothly-display-json-primitive":if(!customElements.get(s(o))){g()}break;case"smoothly-display-json-record-key":if(!customElements.get(s(o))){C()}break;case"smoothly-form":if(!customElements.get(s(o))){D()}break;case"smoothly-form-demo":if(!customElements.get(s(o))){w()}break;case"smoothly-form-demo-all":if(!customElements.get(s(o))){B()}break;case"smoothly-form-demo-card":if(!customElements.get(s(o))){T()}break;case"smoothly-form-demo-controlled":if(!customElements.get(s(o))){v()}break;case"smoothly-form-demo-date":if(!customElements.get(s(o))){x()}break;case"smoothly-form-demo-date-range":if(!customElements.get(s(o))){I()}break;case"smoothly-form-demo-login":if(!customElements.get(s(o))){R()}break;case"smoothly-form-demo-pet":if(!customElements.get(s(o))){S()}break;case"smoothly-form-demo-prices":if(!customElements.get(s(o))){H()}break;case"smoothly-form-demo-schedule":if(!customElements.get(s(o))){K()}break;case"smoothly-form-demo-transparent":if(!customElements.get(s(o))){L()}break;case"smoothly-form-demo-typed":if(!customElements.get(s(o))){V()}break;case"smoothly-frame":if(!customElements.get(s(o))){Y()}break;case"smoothly-icon":if(!customElements.get(s(o))){G()}break;case"smoothly-icon-demo":if(!customElements.get(s(o))){z()}break;case"smoothly-input":if(!customElements.get(s(o))){J()}break;case"smoothly-input-checkbox":if(!customElements.get(s(o))){W()}break;case"smoothly-input-clear":if(!customElements.get(s(o))){A()}break;case"smoothly-input-color":if(!customElements.get(s(o))){F()}break;case"smoothly-input-color-demo":if(!customElements.get(s(o))){N()}break;case"smoothly-input-date":if(!customElements.get(s(o))){U()}break;case"smoothly-input-date-demo":if(!customElements.get(s(o))){X()}break;case"smoothly-input-date-range":if(!customElements.get(s(o))){Z()}break;case"smoothly-input-date-time":if(!customElements.get(s(o))){q()}break;case"smoothly-input-demo":if(!customElements.get(s(o))){P()}break;case"smoothly-input-demo-radio":if(!customElements.get(s(o))){Q()}break;case"smoothly-input-demo-standard":if(!customElements.get(s(o))){M()}break;case"smoothly-input-demo-user-input":if(!customElements.get(s(o))){O()}break;case"smoothly-input-edit":if(!customElements.get(s(o))){_()}break;case"smoothly-input-file":if(!customElements.get(s(o))){$()}break;case"smoothly-input-month":if(!customElements.get(s(o))){oo()}break;case"smoothly-input-price-demo":if(!customElements.get(s(o))){eo()}break;case"smoothly-input-radio":if(!customElements.get(s(o))){to()}break;case"smoothly-input-radio-item":if(!customElements.get(s(o))){so()}break;case"smoothly-input-range":if(!customElements.get(s(o))){mo()}break;case"smoothly-input-range-demo":if(!customElements.get(s(o))){ao()}break;case"smoothly-input-reset":if(!customElements.get(s(o))){lo()}break;case"smoothly-input-select":if(!customElements.get(s(o))){ro()}break;case"smoothly-input-submit":if(!customElements.get(s(o))){io()}break;case"smoothly-item":if(!customElements.get(s(o))){co()}break;case"smoothly-label":if(!customElements.get(s(o))){po()}break;case"smoothly-lazy":if(!customElements.get(s(o))){no()}break;case"smoothly-load-more":if(!customElements.get(s(o))){fo()}break;case"smoothly-modal":if(!customElements.get(s(o))){yo()}break;case"smoothly-notification":if(!customElements.get(s(o))){ho()}break;case"smoothly-notifier":if(!customElements.get(s(o))){bo()}break;case"smoothly-spinner":if(!customElements.get(s(o))){uo()}break;case"smoothly-summary":if(!customElements.get(s(o))){ko()}break;case"smoothly-tab":if(!customElements.get(s(o))){jo()}break;case"smoothly-table":if(!customElements.get(s(o))){Eo()}break;case"smoothly-table-body":if(!customElements.get(s(o))){go()}break;case"smoothly-table-cell":if(!customElements.get(s(o))){Co()}break;case"smoothly-table-demo":if(!customElements.get(s(o))){Do()}break;case"smoothly-table-demo-colspan":if(!customElements.get(s(o))){wo()}break;case"smoothly-table-demo-filler-row":if(!customElements.get(s(o))){Bo()}break;case"smoothly-table-demo-group":if(!customElements.get(s(o))){To()}break;case"smoothly-table-demo-nested-no-cell":if(!customElements.get(s(o))){vo()}break;case"smoothly-table-demo-nested-no-cell-inner":if(!customElements.get(s(o))){xo()}break;case"smoothly-table-demo-simple":if(!customElements.get(s(o))){Io()}break;case"smoothly-table-expandable-cell":if(!customElements.get(s(o))){Ro()}break;case"smoothly-table-expandable-row":if(!customElements.get(s(o))){So()}break;case"smoothly-table-filler-row":if(!customElements.get(s(o))){Ho()}break;case"smoothly-table-foot":if(!customElements.get(s(o))){Ko()}break;case"smoothly-table-head":if(!customElements.get(s(o))){Lo()}break;case"smoothly-table-row":if(!customElements.get(s(o))){Vo()}break;case"smoothly-table-row-group":if(!customElements.get(s(o))){Yo()}break;case"smoothly-tabs":if(!customElements.get(s(o))){Go()}break;case"smoothly-tabs-demo":if(!customElements.get(s(o))){zo()}break;case"smoothly-theme-color":if(!customElements.get(s(o))){Jo()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(o))){Wo()}break;case"smoothly-theme-colors":if(!customElements.get(s(o))){Ao()}break;case"smoothly-theme-demo":if(!customElements.get(s(o))){Fo()}break;case"smoothly-theme-guide":if(!customElements.get(s(o))){No()}break;case"smoothly-theme-picker":if(!customElements.get(s(o))){Uo()}break;case"smoothly-toggle-switch":if(!customElements.get(s(o))){Xo()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(s(o))){Zo()}break;case"smoothly-trigger":if(!customElements.get(s(o))){qo()}break}}))}Qo();const Mo=Po;const Oo=Qo;export{Mo as SmoothlyAppDemo,Oo as defineCustomElement};
|
|
1
|
+
import{p as o,H as e,h as t,t as s}from"./p-BsZrGTcp.js";import{d as m}from"./p-D1uYEo7L.js";import{d as a}from"./p-v06atw3t.js";import{d as l}from"./p-BoHJT9bR.js";import{d as r}from"./p-DIz1nEPY.js";import{d as i}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DX3KKRD9.js";import{d}from"./p-Bp9BMsim.js";import{d as p}from"./p-CtN3gqjJ.js";import{d as n}from"./p-BqAN7jax.js";import{d as f}from"./p-B8ljN4o0.js";import{d as y}from"./p-BQIS-JBV.js";import{d as h}from"./p-DnLJBwZR.js";import{d as b}from"./p-DM5CKilY.js";import{d as u}from"./p-BaGuG5hS.js";import{d as k}from"./p-BuKk-s9A.js";import{d as j}from"./p-CR3Ni_o7.js";import{d as E}from"./p-B-l1S16Z.js";import{d as g}from"./p-Ud7Qhkgt.js";import{d as C}from"./p-C3FORjes.js";import{d as B}from"./p-DgaHxdNI.js";import{d as D}from"./p-t3cG0BK6.js";import{d as w}from"./p-CrxXCTnH.js";import{d as T}from"./p-DVuQ4t_X.js";import{d as x}from"./p-BX6yRNGo.js";import{d as I}from"./p-Dx5PGIAk.js";import{d as v}from"./p-BRkEF66h.js";import{d as R}from"./p-BiwhssQ8.js";import{d as G}from"./p-Bs8X_nDB.js";import{d as S}from"./p-Mk_F6MCP.js";import{d as F}from"./p-Bj9DsW03.js";import{d as K}from"./p-jatJrx5f.js";import{d as X}from"./p-CqSJ0pgl.js";import{d as H}from"./p-BEHuPmXt.js";import{d as L}from"./p-BiQsRsV4.js";import{d as V}from"./p-CqyInbXs.js";import{d as A}from"./p-R4uIvvER.js";import{d as J}from"./p-C_f8s6n5.js";import{d as N}from"./p-BaBGzDg_.js";import{d as Q}from"./p-nrkV1PqR.js";import{d as z}from"./p-D58kSmOp.js";import{d as P}from"./p-C9zTTp-4.js";import{d as W}from"./p-CZ6kkjYF.js";import{d as q}from"./p-DKggy9E3.js";import{d as M}from"./p-CGG77xzV.js";import{d as U}from"./p-BGKOGyFA.js";import{d as Y}from"./p-DdTTiJbE.js";import{d as _}from"./p-DbIjGsJb.js";import{d as O}from"./p-CUiFFtAw.js";import{d as Z}from"./p-C519IJGa.js";import{d as $}from"./p-CioJtwj-.js";import{d as oo}from"./p-DTqtObrT.js";import{d as eo}from"./p-nHKstm2X.js";import{d as to}from"./p-BDhPxj59.js";import{d as so}from"./p-DXHBXAV0.js";import{d as mo}from"./p-D2FsRCII.js";import{d as ao}from"./p-C3__jhwf.js";import{d as lo}from"./p-CKrPTQ_S.js";import{d as ro}from"./p-RNCr3p17.js";import{d as io}from"./p-D7cDUGTe.js";import{d as co}from"./p-BS2SWUX6.js";import{d as po}from"./p-thKhutym.js";import{d as no}from"./p-CDQM-sOT.js";import{d as fo}from"./p-DwYc62Ls.js";import{d as yo}from"./p-CottiZWN.js";import{d as ho}from"./p-ByWVc-XC.js";import{d as bo}from"./p-Bm-gpoFa.js";import{d as uo}from"./p-CsLlJDsh.js";import{d as ko}from"./p-iucZC6z5.js";import{d as jo}from"./p-DSsOLbj6.js";import{d as Eo}from"./p-Dekg3IGr.js";import{d as go}from"./p-CrcmijCR.js";import{d as Co}from"./p-CRTkSTv3.js";import{d as Bo}from"./p-Cvl7cLxT.js";import{d as Do}from"./p-D9qp7S6Q.js";import{d as wo}from"./p-CR1YZ3na.js";import{d as To}from"./p-4y8eF-fy.js";import{d as xo}from"./p-CuMoDdaf.js";import{d as Io}from"./p-BQSKXVmh.js";import{d as vo}from"./p-i8IFRTdL.js";import{d as Ro}from"./p-DZ4ogW8V.js";import{d as Go}from"./p-CG636AEF.js";import{d as So}from"./p-BNnhxQyl.js";import{d as Fo}from"./p-CVH3vlKv.js";import{d as Ko}from"./p-CjdBPauI.js";import{d as Xo}from"./p-CTPT9Ngc.js";import{d as Ho}from"./p-DBuVH8IL.js";import{d as Lo}from"./p-2Y5tLcQ1.js";import{d as Vo}from"./p-1KOtWYkC.js";import{d as Ao}from"./p-BPh3sXo6.js";import{d as Jo}from"./p-BnYCDLp0.js";import{d as No}from"./p-D2cHi1Nb.js";import{d as Qo}from"./p-3dApo-uA.js";import{d as zo}from"./p-B3OjIxsE.js";import{d as Po}from"./p-CMiST1Tm.js";import{d as Wo}from"./p-DMzn0Iz0.js";import{d as qo}from"./p-CdgiqBtD.js";import{d as Mo}from"./p-CF5IKGi5.js";const Uo=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}}urlChangeHandler(o){console.log("smoothlyUrlChange",o.detail)}render(){return t("smoothly-app",{key:"86d6cc67b58d8c7c04b9fd7e33891dfacb529943",color:"dark",label:"Smoothly Demo",home:"/root",ref:o=>this.app=o},t("smoothly-app-room",{key:"7012500cb2629c53e1156372722e8ef2b6d047eb",path:"/"},t("section",{key:"759dafafbd63e7fff5bf0acd0502e8eec36e8c64",style:{padding:"1em",maxWidth:"32em",margin:"0 auto"}},t("header",{key:"0ed18baa408a674f906abc32425ce6037662a476"},t("h1",{key:"22cb0dc61fece9d2d7acae6a55db19ccc57261df"},"Welcome")),t("p",{key:"d914f970b834d217cd2dfd7d2d05cd0c4b5dcb65"},"Smoothly is a component library written in ",t("a",{key:"3626d6388b49307f475e4071ef114039dcb51f60",href:"http://stenciljs.com"},"Stencil"),". It can therefore be used across web based frontend toolchains such as React, Vue, Angular, Svelte, and even plain HTML."),t("p",{key:"319549bf6b8cca5d5f9042b1f74c29e884545a59"},"This is particularly useful when trying to unifying the user experience across projects written in different technology stacks. It is also written to minimize the amount of code you need to write to achieve a nice user experience."))),t("smoothly-app-room",{key:"4c752059c00ad39c3bee1d36bdac99bfad027f5f",path:"/form",label:"Forms",content:t("smoothly-form-demo",null)}),t("smoothly-app-room",{key:"02b7dd008a64194f348bfb0679217ebbea05fac9",path:"/input",label:"Inputs",content:t("smoothly-input-demo",null)}),t("smoothly-app-room",{key:"41c7489608d0da9a8d4a2ab9b1a56c425cc36f21",path:"/table",label:"Tables",content:t("smoothly-table-demo",null)}),t("smoothly-app-room",{key:"b10b3c95084e9f27a6ebeaf5170bb10be8226c87",path:"/button",label:"Buttons",content:t("smoothly-button-demo",null)}),t("smoothly-app-room",{key:"f20620084dd779b954fa440b559db2bdccf0b3a3",path:"/icon",label:"Icons",content:t("smoothly-icon-demo",null)}),t("smoothly-app-room",{key:"5078c24c13064315cf8f761809e60cdfc1734c41",path:"/theme",label:"Theming",content:t("smoothly-theme-demo",null)}),t("smoothly-app-room",{key:"1a215800a294196d53fca85834aac7fea5990e70",path:"/dialog",label:"Dialogs",content:t("smoothly-dialog-demo",null),slot:"nav-end"}),t("smoothly-app-room",{key:"c43bd3e6cdd99d7c481c041d85cdc09abf6777e1",path:"/display",label:"Display",content:t("smoothly-display-demo",null),slot:"nav-end"}),t("smoothly-app-room",{key:"bec674db3cafd8d778f8d7baaa8036ff80c72d5e",path:"/tabs",label:"Tabs",slot:"nav-end"},t("smoothly-tabs-demo",{key:"b6a5e71af63d597edc737c03feacbd05c302ebd1"})),t("smoothly-app-room",{key:"7045bdab3e9f1b9e312c99c51efa7700650d868b",path:"/links",label:"Links",slot:"nav-end"},t("smoothly-input",{key:"bd683968e82f931896daa95af86c0219f147eb40",type:"text"},"Default"),t("div",{key:"75e8b55879905603512fc4d5fe53e3c09a5782d0",style:{padding:"1em",maxWidth:"12em"}},t("smoothly-button",{key:"869802d20dddc052fdfa6e537e641dc48c399117",fill:"solid",color:"danger",link:"https://google.com"},"open"),t("smoothly-button",{key:"e0018a3f508970db339bb3b235e31a65aba2757e",fill:"solid",color:"danger",link:"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",type:"download"},"download"),t("smoothly-button",{key:"7ab52ab0a4f39e20b2e2f26f46c0f8997d57729c",fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),t("smoothly-button",{key:"4824113cd8ce8a18c90c825b8a9b761cb8755b05",disabled:true,fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),t("smoothly-button",{key:"9e49688ab7dd80739746f71e3cab6ef83db80ae7",type:"link",fill:"clear",color:"danger",onClick:()=>alert("clicked")},"action link"))),t("smoothly-app-room",{key:"fa1c5ae55b117380e63b5a770efe06c6df055378",path:"/redirect",label:"Redirect",slot:"nav-end"},t("smoothly-button",{key:"f47bd47275bd85a8e8f3e79e8c934e7927f36890",type:"link",link:"/input"},"To input"),t("smoothly-button",{key:"e24f908b0515b8219dce4d44bb2dd6b2c7f39584",type:"link",link:"../button"},"To button"),t("smoothly-button",{key:"85835e7ebef099c646ca28af45d5827913872853",type:"link",link:new URL("/hidden",window.location.origin).href},"To hidden"),t("smoothly-button",{key:"b74f97297768504a5b4f0cace60acb1d48991633",type:"link",link:"/redirect"},"To redirect"),t("smoothly-button",{key:"cc1cc9fce70b0f47fe652ae60d674fa6707be2cd",type:"link",link:"nested"},"To redirect nested, relative path")),t("smoothly-app-room",{key:"17f2026f91be5f73266c141809bc31521d0acca9",path:"/hidden"},t("p",{key:"3bbd16511c586b7387f4c7a5152131f5aa5a4cdf"},"hello world!")),t("smoothly-app-room",{key:"2635c8a84e6909d055d7c53216cb72aed69fbeab",path:"/redirect/nested"},"this is a nested room"))}},[0,"smoothly-app-demo",{baseUrl:[1,"base-url"]},[[8,"smoothlyUrlChange","urlChangeHandler"]]]);function Yo(){if(typeof customElements==="undefined"){return}const o=["smoothly-app-demo","smoothly-app","smoothly-app-room","smoothly-back-to-top","smoothly-burger","smoothly-button","smoothly-button-confirm","smoothly-button-demo","smoothly-button-demo-standard","smoothly-calendar","smoothly-date-text","smoothly-dialog","smoothly-dialog-demo","smoothly-display","smoothly-display-demo","smoothly-display-demo-json","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-form-demo","smoothly-form-demo-all","smoothly-form-demo-card","smoothly-form-demo-controlled","smoothly-form-demo-date","smoothly-form-demo-date-range","smoothly-form-demo-login","smoothly-form-demo-pet","smoothly-form-demo-prices","smoothly-form-demo-schedule","smoothly-form-demo-transparent","smoothly-form-demo-typed","smoothly-frame","smoothly-icon","smoothly-icon-demo","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","smoothly-input-edit","smoothly-input-file","smoothly-input-month","smoothly-input-price-demo","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-range-demo","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-label","smoothly-lazy","smoothly-load-more","smoothly-modal","smoothly-notification","smoothly-notifier","smoothly-spinner","smoothly-summary","smoothly-tab","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-demo","smoothly-table-demo-colspan","smoothly-table-demo-filler-row","smoothly-table-demo-group","smoothly-table-demo-nested-no-cell","smoothly-table-demo-nested-no-cell-inner","smoothly-table-demo-simple","smoothly-table-expandable-cell","smoothly-table-expandable-row","smoothly-table-filler-row","smoothly-table-foot","smoothly-table-head","smoothly-table-row","smoothly-table-row-group","smoothly-tabs","smoothly-tabs-demo","smoothly-theme-color","smoothly-theme-color-variant","smoothly-theme-colors","smoothly-theme-demo","smoothly-theme-guide","smoothly-theme-picker","smoothly-toggle-switch","smoothly-toggle-switch-demo","smoothly-trigger"];o.forEach((o=>{switch(o){case"smoothly-app-demo":if(!customElements.get(s(o))){customElements.define(s(o),Uo)}break;case"smoothly-app":if(!customElements.get(s(o))){m()}break;case"smoothly-app-room":if(!customElements.get(s(o))){a()}break;case"smoothly-back-to-top":if(!customElements.get(s(o))){l()}break;case"smoothly-burger":if(!customElements.get(s(o))){r()}break;case"smoothly-button":if(!customElements.get(s(o))){i()}break;case"smoothly-button-confirm":if(!customElements.get(s(o))){c()}break;case"smoothly-button-demo":if(!customElements.get(s(o))){d()}break;case"smoothly-button-demo-standard":if(!customElements.get(s(o))){p()}break;case"smoothly-calendar":if(!customElements.get(s(o))){n()}break;case"smoothly-date-text":if(!customElements.get(s(o))){f()}break;case"smoothly-dialog":if(!customElements.get(s(o))){y()}break;case"smoothly-dialog-demo":if(!customElements.get(s(o))){h()}break;case"smoothly-display":if(!customElements.get(s(o))){b()}break;case"smoothly-display-demo":if(!customElements.get(s(o))){u()}break;case"smoothly-display-demo-json":if(!customElements.get(s(o))){k()}break;case"smoothly-display-json":if(!customElements.get(s(o))){j()}break;case"smoothly-display-json-object":if(!customElements.get(s(o))){E()}break;case"smoothly-display-json-primitive":if(!customElements.get(s(o))){g()}break;case"smoothly-display-json-record-key":if(!customElements.get(s(o))){C()}break;case"smoothly-form":if(!customElements.get(s(o))){B()}break;case"smoothly-form-demo":if(!customElements.get(s(o))){D()}break;case"smoothly-form-demo-all":if(!customElements.get(s(o))){w()}break;case"smoothly-form-demo-card":if(!customElements.get(s(o))){T()}break;case"smoothly-form-demo-controlled":if(!customElements.get(s(o))){x()}break;case"smoothly-form-demo-date":if(!customElements.get(s(o))){I()}break;case"smoothly-form-demo-date-range":if(!customElements.get(s(o))){v()}break;case"smoothly-form-demo-login":if(!customElements.get(s(o))){R()}break;case"smoothly-form-demo-pet":if(!customElements.get(s(o))){G()}break;case"smoothly-form-demo-prices":if(!customElements.get(s(o))){S()}break;case"smoothly-form-demo-schedule":if(!customElements.get(s(o))){F()}break;case"smoothly-form-demo-transparent":if(!customElements.get(s(o))){K()}break;case"smoothly-form-demo-typed":if(!customElements.get(s(o))){X()}break;case"smoothly-frame":if(!customElements.get(s(o))){H()}break;case"smoothly-icon":if(!customElements.get(s(o))){L()}break;case"smoothly-icon-demo":if(!customElements.get(s(o))){V()}break;case"smoothly-input":if(!customElements.get(s(o))){A()}break;case"smoothly-input-checkbox":if(!customElements.get(s(o))){J()}break;case"smoothly-input-clear":if(!customElements.get(s(o))){N()}break;case"smoothly-input-color":if(!customElements.get(s(o))){Q()}break;case"smoothly-input-color-demo":if(!customElements.get(s(o))){z()}break;case"smoothly-input-date":if(!customElements.get(s(o))){P()}break;case"smoothly-input-date-demo":if(!customElements.get(s(o))){W()}break;case"smoothly-input-date-range":if(!customElements.get(s(o))){q()}break;case"smoothly-input-date-time":if(!customElements.get(s(o))){M()}break;case"smoothly-input-demo":if(!customElements.get(s(o))){U()}break;case"smoothly-input-demo-radio":if(!customElements.get(s(o))){Y()}break;case"smoothly-input-demo-standard":if(!customElements.get(s(o))){_()}break;case"smoothly-input-demo-user-input":if(!customElements.get(s(o))){O()}break;case"smoothly-input-edit":if(!customElements.get(s(o))){Z()}break;case"smoothly-input-file":if(!customElements.get(s(o))){$()}break;case"smoothly-input-month":if(!customElements.get(s(o))){oo()}break;case"smoothly-input-price-demo":if(!customElements.get(s(o))){eo()}break;case"smoothly-input-radio":if(!customElements.get(s(o))){to()}break;case"smoothly-input-radio-item":if(!customElements.get(s(o))){so()}break;case"smoothly-input-range":if(!customElements.get(s(o))){mo()}break;case"smoothly-input-range-demo":if(!customElements.get(s(o))){ao()}break;case"smoothly-input-reset":if(!customElements.get(s(o))){lo()}break;case"smoothly-input-select":if(!customElements.get(s(o))){ro()}break;case"smoothly-input-submit":if(!customElements.get(s(o))){io()}break;case"smoothly-item":if(!customElements.get(s(o))){co()}break;case"smoothly-label":if(!customElements.get(s(o))){po()}break;case"smoothly-lazy":if(!customElements.get(s(o))){no()}break;case"smoothly-load-more":if(!customElements.get(s(o))){fo()}break;case"smoothly-modal":if(!customElements.get(s(o))){yo()}break;case"smoothly-notification":if(!customElements.get(s(o))){ho()}break;case"smoothly-notifier":if(!customElements.get(s(o))){bo()}break;case"smoothly-spinner":if(!customElements.get(s(o))){uo()}break;case"smoothly-summary":if(!customElements.get(s(o))){ko()}break;case"smoothly-tab":if(!customElements.get(s(o))){jo()}break;case"smoothly-table":if(!customElements.get(s(o))){Eo()}break;case"smoothly-table-body":if(!customElements.get(s(o))){go()}break;case"smoothly-table-cell":if(!customElements.get(s(o))){Co()}break;case"smoothly-table-demo":if(!customElements.get(s(o))){Bo()}break;case"smoothly-table-demo-colspan":if(!customElements.get(s(o))){Do()}break;case"smoothly-table-demo-filler-row":if(!customElements.get(s(o))){wo()}break;case"smoothly-table-demo-group":if(!customElements.get(s(o))){To()}break;case"smoothly-table-demo-nested-no-cell":if(!customElements.get(s(o))){xo()}break;case"smoothly-table-demo-nested-no-cell-inner":if(!customElements.get(s(o))){Io()}break;case"smoothly-table-demo-simple":if(!customElements.get(s(o))){vo()}break;case"smoothly-table-expandable-cell":if(!customElements.get(s(o))){Ro()}break;case"smoothly-table-expandable-row":if(!customElements.get(s(o))){Go()}break;case"smoothly-table-filler-row":if(!customElements.get(s(o))){So()}break;case"smoothly-table-foot":if(!customElements.get(s(o))){Fo()}break;case"smoothly-table-head":if(!customElements.get(s(o))){Ko()}break;case"smoothly-table-row":if(!customElements.get(s(o))){Xo()}break;case"smoothly-table-row-group":if(!customElements.get(s(o))){Ho()}break;case"smoothly-tabs":if(!customElements.get(s(o))){Lo()}break;case"smoothly-tabs-demo":if(!customElements.get(s(o))){Vo()}break;case"smoothly-theme-color":if(!customElements.get(s(o))){Ao()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(o))){Jo()}break;case"smoothly-theme-colors":if(!customElements.get(s(o))){No()}break;case"smoothly-theme-demo":if(!customElements.get(s(o))){Qo()}break;case"smoothly-theme-guide":if(!customElements.get(s(o))){zo()}break;case"smoothly-theme-picker":if(!customElements.get(s(o))){Po()}break;case"smoothly-toggle-switch":if(!customElements.get(s(o))){Wo()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(s(o))){qo()}break;case"smoothly-trigger":if(!customElements.get(s(o))){Mo()}break}}))}Yo();const _o=Uo;const Oo=Yo;export{_o as SmoothlyAppDemo,Oo as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-app-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-CtN3gqjJ.js";const t=o;const p=s;export{t as SmoothlyButtonDemoStandard,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-button-demo-standard.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-Bp9BMsim.js";const p=s;const t=o;export{p as SmoothlyButtonDemo,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-button-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-CrxXCTnH.js";const r=o;const t=s;export{r as SmoothlyFormDemoAll,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-all.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as o,d as s}from"./p-DVuQ4t_X.js";const t=o;const p=s;export{t as SmoothlyFormDemoCard,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-card.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-BX6yRNGo.js";const t=o;const p=s;export{t as SmoothlyFormDemoControlled,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-controlled.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as o,d as s}from"./p-BRkEF66h.js";const t=o;const p=s;export{t as SmoothlyFormDemoDateRange,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-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-Dx5PGIAk.js";const t=o;const p=s;export{t as SmoothlyFormDemoDate,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-date.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-BiwhssQ8.js";const t=s;const p=o;export{t as SmoothlyFormDemoLogin,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-login.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-Bs8X_nDB.js";const t=s;const n=o;export{t as SmoothlyFormDemoPet,n 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-Mk_F6MCP.js";const t=o;const p=s;export{t as SmoothlyFormDemoPrices,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo-prices.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-Bj9DsW03.js";const t=s;const p=o;export{t as SmoothlyFormDemoSchedule,p 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-jatJrx5f.js";const t=o;const r=s;export{t as SmoothlyFormDemoTransparent,r 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-CqSJ0pgl.js";const p=o;const t=s;export{p as SmoothlyFormDemoTyped,t 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-t3cG0BK6.js";const t=o;const c=s;export{t as SmoothlyFormDemo,c as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-form-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-CqyInbXs.js";const t=s;const n=o;export{t as SmoothlyIconDemo,n 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-BHEtq3Ue.js";import{d as l}from"./p-DX3KKRD9.js";import{d}from"./p-BqAN7jax.js";import{d as i}from"./p-B8ljN4o0.js";import{d as f}from"./p-DM5CKilY.js";import{d as n}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d as b}from"./p-Ud7Qhkgt.js";import{d as y}from"./p-C3FORjes.js";import{d as p}from"./p-DgaHxdNI.js";import{d as u}from"./p-BiQsRsV4.js";import{d as h}from"./p-R4uIvvER.js";import{d as k}from"./p-C_f8s6n5.js";import{d as j}from"./p-DZadnBSZ.js";import{d as E}from"./p-nrkV1PqR.js";import{d as g}from"./p-C9zTTp-4.js";import{d as v}from"./p-DKggy9E3.js";import{d as x}from"./p-C519IJGa.js";import{d as C}from"./p-CioJtwj-.js";import{d as D}from"./p-DTqtObrT.js";import{d as z}from"./p-BDhPxj59.js";import{d as B}from"./p-DXHBXAV0.js";import{d as P}from"./p-D2FsRCII.js";import{d as N}from"./p-DqwlZYFh.js";import{d as S}from"./p-RNCr3p17.js";import{d as A}from"./p-CVp4Wd4u.js";import{d as F}from"./p-BS2SWUX6.js";import{d as R}from"./p-CsLlJDsh.js";import{d as w}from"./p-DMzn0Iz0.js";const I=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"62cd9b578b793b42ce87d31e8c479923c35c328a"},t("h2",{key:"42c842216a71aa13d2be4383bc5fb18884ef7a54"},"All inputs"),t("smoothly-form",{key:"e2cb3ffdc3354e2447adaa34779a691a80e0b047",looks:"grid",readonly:true,action:"https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4"},t("smoothly-input",{key:"8911d921b47dcaf038125b4cb9891adda2e1f53a",readonly:true,name:"First Name",value:"John"},"First name"),t("smoothly-input",{key:"82186c019e062fbf7039b2c812c1004f23f987a9",name:"Last name",value:"Doe"},"Last name",t("smoothly-input-clear",{key:"8c0dad76fdf225a132a80e583ea34ba67b2c7595",size:"icon",slot:"end"})),t("smoothly-input",{key:"6dd2a725472e678d096093ea238d9386b0a97086",type:"phone",name:"Phone",value:"777888999"},"Phone",t("smoothly-input-reset",{key:"a1a998126419d72bc94e02be86a40a9fbc58e7aa",size:"icon",slot:"end"})),t("smoothly-input-radio",{key:"fd3e7fda9a293e1e137412fdefc4b89942f20350",clearable:true,name:"radioFirstInput"},t("p",{key:"3f295c0de2d9531e30783e195715e2fb4fcf612b",slot:"label"},"Clearable"),t("smoothly-input-radio-item",{key:"dd604c8017fccab9624aff3c4bdd0c754f41bf2f",slot:"options",value:"first"},"Label 1"),t("smoothly-input-radio-item",{key:"f7b8bbfcd00753c0ffc7612ede095d678dfedc99",selected:true,slot:"options",value:"second"},"Label 2"),t("smoothly-input-radio-item",{key:"8185b37554d6e9973897d89ee860518a24d35049",slot:"options",value:"third"},"Label 3")),t("smoothly-input-color",{key:"2304148d0df81929fcac680338a3696d9c9a8a47",name:"color",value:"#479f56",output:"rgb"},"Color"),t("smoothly-input-select",{key:"d676038323375ed173dddac5a2490e9037c60ea3",menuHeight:"7.5items",placeholder:"Select...",multiple:true,name:"select-month"},t("label",{key:"bbbd77b064171c2fb7ddbfefde89f494212e894b",slot:"label"},"Month"),t("smoothly-item",{key:"5be4f0e88b14a1225fb5fd9dbf8bada60c68193c",value:"1"},"January"),t("smoothly-item",{key:"39a347df6c77fdc8a7abc932bfe4f05976f6efb7",value:"2"},"February"),t("smoothly-item",{key:"c9cde1792b5512fb61f516f41d8087003f7e1434",value:"3"},"March"),t("smoothly-item",{key:"1627e2bc2d340e2e9dcd846a5f151a3ccc37a418",value:"4"},"April"),t("smoothly-item",{key:"557ca46be77349ce3ded22b079216efd1f0d03c3",value:"5"},"May"),t("smoothly-item",{key:"6a50c4949f11afe60e6f7f3bfa0fb3099cd6c7d3",value:"6"},"June"),t("smoothly-item",{key:"84fe924e744e8257edc6ae0bccbfa6a7f4a4b265",value:"7"},"July"),t("smoothly-item",{key:"b3143d747989a72d65e91cb2a0cf9a2cadba2504",value:"8"},"August"),t("smoothly-item",{key:"24e5c25ae1a8bcd5b34aad7512fefe67f04d0918",value:"9"},"September"),t("smoothly-item",{key:"f8688b010b6c2ffdeede228d394104b42c58a988",value:"10"},"October"),t("smoothly-item",{key:"d8ca163502e7e04c6d8fab2d8863e1a23e61a085",value:"11"},"November"),t("smoothly-item",{key:"b50d2a5691e9588642596d2e24cbede7ffa0845f",value:"12"},"December"),t("smoothly-input-clear",{key:"3c0d229fffc6ccf6132c5a23c4d0bd3f8589c861",size:"icon",slot:"end"})),t("smoothly-input-select",{key:"be5f84ecaf35bedd71629621691311cfca695766",name:"select-icon",clearable:false,showSelected:false},t("smoothly-item",{key:"c8e2502dc5d05461b348ec685dd2f9f5870aed56",value:"folder",selected:true},t("smoothly-icon",{key:"ffa5a4176f0d7ecebbfbd867289364939bb2940a",size:"small",name:"folder-outline"})),t("smoothly-item",{key:"fc028e2b8b5334d38e496b3726790e180664a8b4",value:"camera"},t("smoothly-icon",{key:"0adfbc64668bceefb47187d9a7614609c2105f35",size:"small",name:"camera-outline"}))),t("smoothly-input-checkbox",{key:"886eb606828944b48dc7d306fd0831791798ace0",name:"checkbox"},"Check the box"),t("smoothly-input-checkbox",{key:"ea7d537284fccd859c22cadadc5551c988728c24",name:"checkbox2",checked:true},"Check the box 2"),t("smoothly-input-date-range",{key:"32800d12cb52e378e665fa46e6acad80b5753226",start:m.Date.now(),end:m.Date.now()}),t("smoothly-input-date",{key:"af7ec6c95f6dedd66c9bf469b50978de6eb6da0a",name:"date"},"Date",t("smoothly-input-clear",{key:"9203d6b1561777759d1912af409696e24313b7ee",slot:"end"})),t("smoothly-input-range",{key:"cbe6d674d73f5c202e4f49d4d5e16b347024d34c",step:1,name:"range3",value:2e4},"Select"),t("smoothly-input",{key:"4b24a68961da14058371426c905c41dfde4eefd5",name:"pets.0.name"},"First Pet's Name"),t("smoothly-input-range",{key:"a9a1c86c1fe113995119f89f6390b51acd64312b",name:"pets.0.age",max:100,step:1},"First Pet's Age"),t("smoothly-input",{key:"602580c1b69eafece089ca242f7500e7fc2ee0cb",name:"pets.1.name"},"Second Pet's Name"),t("smoothly-input-range",{key:"876655986846490d80cddb89b7b02a934cc3350f",name:"pets.1.age",max:100,step:1},"Second Pet's Age"),t("smoothly-input",{key:"a5f37ec6acede820d50a1da9bb245a55ea12bff2",name:"pets.2.name"},"Third Pet's Name"),t("smoothly-input-range",{key:"12caf47761fb7c802b37dfd0faa1c51727305936",name:"pets.2.age",max:100,step:1},"Third Pet's Age"),t("smoothly-input-file",{key:"ac56467f4fca8f78131a8bdee6f8f03816508661",name:"profile",placeholder:"Click or drag your profile picture here..."},t("span",{key:"d4f91804a33080174dd6b563303e42e2d9d18579",slot:"label"},"Profile"),t("smoothly-icon",{key:"7dee62dcf2298dbbaa9ef9c63ca32457d77ae95b",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),t("smoothly-input-clear",{key:"54a876639427fb7c31310c57247b823115a9ffe8",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),t("smoothly-input-edit",{key:"d9549efa42c9b880e218bb7ed917c437cc043e40",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),t("smoothly-input-reset",{key:"dfa1dc2459a11ee9d24dd5d90a9c7a0e36f8eb8a",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"6f8b2f85467de40d67965350ad262977d4d06a75",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"3919204248c4b41f8ff4452d2d577d825e74a727",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}},[2,"smoothly-input-checkbox-demo"]);function J(){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),I)}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))){D()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){z()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){B()}break;case"smoothly-input-range":if(!customElements.get(a(e))){P()}break;case"smoothly-input-reset":if(!customElements.get(a(e))){N()}break;case"smoothly-input-select":if(!customElements.get(a(e))){S()}break;case"smoothly-input-submit":if(!customElements.get(a(e))){A()}break;case"smoothly-item":if(!customElements.get(a(e))){F()}break;case"smoothly-spinner":if(!customElements.get(a(e))){R()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){w()}break}}))}J();const T=I;const L=J;export{T as SmoothlyInputCheckboxDemo,L 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-BHEtq3Ue.js";import{d as l}from"./p-DX3KKRD9.js";import{d}from"./p-BqAN7jax.js";import{d as i}from"./p-B8ljN4o0.js";import{d as f}from"./p-DM5CKilY.js";import{d as n}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d as b}from"./p-Ud7Qhkgt.js";import{d as y}from"./p-C3FORjes.js";import{d as p}from"./p-DgaHxdNI.js";import{d as u}from"./p-BiQsRsV4.js";import{d as h}from"./p-R4uIvvER.js";import{d as k}from"./p-C_f8s6n5.js";import{d as j}from"./p-BaBGzDg_.js";import{d as E}from"./p-nrkV1PqR.js";import{d as g}from"./p-C9zTTp-4.js";import{d as v}from"./p-DKggy9E3.js";import{d as x}from"./p-C519IJGa.js";import{d as D}from"./p-CioJtwj-.js";import{d as C}from"./p-DTqtObrT.js";import{d as z}from"./p-BDhPxj59.js";import{d as B}from"./p-DXHBXAV0.js";import{d as P}from"./p-D2FsRCII.js";import{d as N}from"./p-CKrPTQ_S.js";import{d as S}from"./p-RNCr3p17.js";import{d as A}from"./p-D7cDUGTe.js";import{d as R}from"./p-BS2SWUX6.js";import{d as T}from"./p-CsLlJDsh.js";import{d as F}from"./p-DMzn0Iz0.js";const w=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"62cd9b578b793b42ce87d31e8c479923c35c328a"},t("h2",{key:"42c842216a71aa13d2be4383bc5fb18884ef7a54"},"All inputs"),t("smoothly-form",{key:"e2cb3ffdc3354e2447adaa34779a691a80e0b047",looks:"grid",readonly:true,action:"https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4"},t("smoothly-input",{key:"8911d921b47dcaf038125b4cb9891adda2e1f53a",readonly:true,name:"First Name",value:"John"},"First name"),t("smoothly-input",{key:"82186c019e062fbf7039b2c812c1004f23f987a9",name:"Last name",value:"Doe"},"Last name",t("smoothly-input-clear",{key:"8c0dad76fdf225a132a80e583ea34ba67b2c7595",size:"icon",slot:"end"})),t("smoothly-input",{key:"6dd2a725472e678d096093ea238d9386b0a97086",type:"phone",name:"Phone",value:"777888999"},"Phone",t("smoothly-input-reset",{key:"a1a998126419d72bc94e02be86a40a9fbc58e7aa",size:"icon",slot:"end"})),t("smoothly-input-radio",{key:"fd3e7fda9a293e1e137412fdefc4b89942f20350",clearable:true,name:"radioFirstInput"},t("p",{key:"3f295c0de2d9531e30783e195715e2fb4fcf612b",slot:"label"},"Clearable"),t("smoothly-input-radio-item",{key:"dd604c8017fccab9624aff3c4bdd0c754f41bf2f",slot:"options",value:"first"},"Label 1"),t("smoothly-input-radio-item",{key:"f7b8bbfcd00753c0ffc7612ede095d678dfedc99",selected:true,slot:"options",value:"second"},"Label 2"),t("smoothly-input-radio-item",{key:"8185b37554d6e9973897d89ee860518a24d35049",slot:"options",value:"third"},"Label 3")),t("smoothly-input-color",{key:"2304148d0df81929fcac680338a3696d9c9a8a47",name:"color",value:"#479f56",output:"rgb"},"Color"),t("smoothly-input-select",{key:"d676038323375ed173dddac5a2490e9037c60ea3",menuHeight:"7.5items",placeholder:"Select...",multiple:true,name:"select-month"},t("label",{key:"bbbd77b064171c2fb7ddbfefde89f494212e894b",slot:"label"},"Month"),t("smoothly-item",{key:"5be4f0e88b14a1225fb5fd9dbf8bada60c68193c",value:"1"},"January"),t("smoothly-item",{key:"39a347df6c77fdc8a7abc932bfe4f05976f6efb7",value:"2"},"February"),t("smoothly-item",{key:"c9cde1792b5512fb61f516f41d8087003f7e1434",value:"3"},"March"),t("smoothly-item",{key:"1627e2bc2d340e2e9dcd846a5f151a3ccc37a418",value:"4"},"April"),t("smoothly-item",{key:"557ca46be77349ce3ded22b079216efd1f0d03c3",value:"5"},"May"),t("smoothly-item",{key:"6a50c4949f11afe60e6f7f3bfa0fb3099cd6c7d3",value:"6"},"June"),t("smoothly-item",{key:"84fe924e744e8257edc6ae0bccbfa6a7f4a4b265",value:"7"},"July"),t("smoothly-item",{key:"b3143d747989a72d65e91cb2a0cf9a2cadba2504",value:"8"},"August"),t("smoothly-item",{key:"24e5c25ae1a8bcd5b34aad7512fefe67f04d0918",value:"9"},"September"),t("smoothly-item",{key:"f8688b010b6c2ffdeede228d394104b42c58a988",value:"10"},"October"),t("smoothly-item",{key:"d8ca163502e7e04c6d8fab2d8863e1a23e61a085",value:"11"},"November"),t("smoothly-item",{key:"b50d2a5691e9588642596d2e24cbede7ffa0845f",value:"12"},"December"),t("smoothly-input-clear",{key:"3c0d229fffc6ccf6132c5a23c4d0bd3f8589c861",size:"icon",slot:"end"})),t("smoothly-input-select",{key:"be5f84ecaf35bedd71629621691311cfca695766",name:"select-icon",clearable:false,showSelected:false},t("smoothly-item",{key:"c8e2502dc5d05461b348ec685dd2f9f5870aed56",value:"folder",selected:true},t("smoothly-icon",{key:"ffa5a4176f0d7ecebbfbd867289364939bb2940a",size:"small",name:"folder-outline"})),t("smoothly-item",{key:"fc028e2b8b5334d38e496b3726790e180664a8b4",value:"camera"},t("smoothly-icon",{key:"0adfbc64668bceefb47187d9a7614609c2105f35",size:"small",name:"camera-outline"}))),t("smoothly-input-checkbox",{key:"886eb606828944b48dc7d306fd0831791798ace0",name:"checkbox"},"Check the box"),t("smoothly-input-checkbox",{key:"ea7d537284fccd859c22cadadc5551c988728c24",name:"checkbox2",checked:true},"Check the box 2"),t("smoothly-input-date-range",{key:"32800d12cb52e378e665fa46e6acad80b5753226",start:m.Date.now(),end:m.Date.now()}),t("smoothly-input-date",{key:"af7ec6c95f6dedd66c9bf469b50978de6eb6da0a",name:"date"},"Date",t("smoothly-input-clear",{key:"9203d6b1561777759d1912af409696e24313b7ee",slot:"end"})),t("smoothly-input-range",{key:"cbe6d674d73f5c202e4f49d4d5e16b347024d34c",step:1,name:"range3",value:2e4},"Select"),t("smoothly-input",{key:"4b24a68961da14058371426c905c41dfde4eefd5",name:"pets.0.name"},"First Pet's Name"),t("smoothly-input-range",{key:"a9a1c86c1fe113995119f89f6390b51acd64312b",name:"pets.0.age",max:100,step:1},"First Pet's Age"),t("smoothly-input",{key:"602580c1b69eafece089ca242f7500e7fc2ee0cb",name:"pets.1.name"},"Second Pet's Name"),t("smoothly-input-range",{key:"876655986846490d80cddb89b7b02a934cc3350f",name:"pets.1.age",max:100,step:1},"Second Pet's Age"),t("smoothly-input",{key:"a5f37ec6acede820d50a1da9bb245a55ea12bff2",name:"pets.2.name"},"Third Pet's Name"),t("smoothly-input-range",{key:"12caf47761fb7c802b37dfd0faa1c51727305936",name:"pets.2.age",max:100,step:1},"Third Pet's Age"),t("smoothly-input-file",{key:"ac56467f4fca8f78131a8bdee6f8f03816508661",name:"profile",placeholder:"Click or drag your profile picture here..."},t("span",{key:"d4f91804a33080174dd6b563303e42e2d9d18579",slot:"label"},"Profile"),t("smoothly-icon",{key:"7dee62dcf2298dbbaa9ef9c63ca32457d77ae95b",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),t("smoothly-input-clear",{key:"54a876639427fb7c31310c57247b823115a9ffe8",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),t("smoothly-input-edit",{key:"d9549efa42c9b880e218bb7ed917c437cc043e40",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),t("smoothly-input-reset",{key:"dfa1dc2459a11ee9d24dd5d90a9c7a0e36f8eb8a",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"6f8b2f85467de40d67965350ad262977d4d06a75",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"3919204248c4b41f8ff4452d2d577d825e74a727",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}},[2,"smoothly-input-checkbox-demo"]);function I(){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),w)}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))){D()}break;case"smoothly-input-month":if(!customElements.get(a(e))){C()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){z()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){B()}break;case"smoothly-input-range":if(!customElements.get(a(e))){P()}break;case"smoothly-input-reset":if(!customElements.get(a(e))){N()}break;case"smoothly-input-select":if(!customElements.get(a(e))){S()}break;case"smoothly-input-submit":if(!customElements.get(a(e))){A()}break;case"smoothly-item":if(!customElements.get(a(e))){R()}break;case"smoothly-spinner":if(!customElements.get(a(e))){T()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){F()}break}}))}I();const J=w;const K=I;export{J as SmoothlyInputCheckboxDemo,K 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-BaBGzDg_.js";const t=o;const a=s;export{t as SmoothlyInputClear,a as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-clear.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-CZ6kkjYF.js";const t=o;const p=s;export{t as SmoothlyInputDateDemo,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-date-demo.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-DbIjGsJb.js";const t=s;const p=o;export{t as SmoothlyInputDemoStandard,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-demo-standard.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-BGKOGyFA.js";const t=o;const p=s;export{t as SmoothlyInputDemo,p 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-C3__jhwf.js";const t=o;const p=s;export{t as SmoothlyInputRangeDemo,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-range-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-CKrPTQ_S.js";const r=o;const t=s;export{r as SmoothlyInputReset,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-reset.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-D7cDUGTe.js";const t=o;const c=s;export{t as SmoothlyInputSubmit,c as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-input-submit.js.map
|