smoothly 1.114.0 → 1.116.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/{Scrollable-BJioYHxN.js → Scrollable-C_6-3ED9.js} +14 -4
- package/dist/cjs/Scrollable-C_6-3ED9.js.map +1 -0
- package/dist/cjs/{Submittable-PpSv5NRW.js → Submittable-DmhpDQHI.js} +3 -3
- package/dist/cjs/{Submittable-PpSv5NRW.js.map → Submittable-DmhpDQHI.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-app_98.cjs.entry.js +11 -8
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/app/index.js +2 -2
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +12 -8
- package/dist/collection/components/app/room/index.js.map +1 -1
- package/dist/collection/model/Icon.js +12 -2
- package/dist/collection/model/Icon.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-d26Fb7IS.js → p-19XTl7bT.js} +2 -2
- package/dist/components/{p-DIhqNc1G.js → p-476P3lCN.js} +2 -2
- package/dist/components/{p-Dz8Bblye.js → p-56MQxIOz.js} +2 -2
- package/dist/components/{p-CgCEK6Lc.js → p-5IpBMfCQ.js} +2 -2
- package/dist/components/{p-67RlLkJb.js → p-AP_j6gIy.js} +2 -2
- package/dist/components/{p-CooymHn6.js → p-AgqVCLBX.js} +2 -2
- package/dist/components/{p-BHsrC9Oh.js → p-B1h-3Bk6.js} +2 -2
- package/dist/components/{p-BoHJT9bR.js → p-B2HeWzUx.js} +2 -2
- package/dist/components/{p-CVNSeOlg.js → p-B33zAR8E.js} +2 -2
- package/dist/components/{p-CqyGm3oe.js → p-B3b5oz3b.js} +2 -2
- package/dist/components/{p-BfwEfI7H.js → p-B5HCjRvr.js} +2 -2
- package/dist/components/{p-C2xjUTYO.js → p-B5fLCjIP.js} +2 -2
- package/dist/components/{p-DS66Mn9S.js → p-B6iaWskB.js} +2 -2
- package/dist/components/{p-CTdXhHGF.js → p-B7tRoQDk.js} +2 -2
- package/dist/components/{p-BFJL6rrU.js → p-BApNLqiy.js} +2 -2
- package/dist/components/{p-BGzrO9CQ.js → p-BFgOju1b.js} +2 -2
- package/dist/components/{p-6PsJb2Ez.js → p-BFsrI2_x.js} +2 -2
- package/dist/components/{p-CrkBYYf-.js → p-BJ1QHaKC.js} +2 -2
- package/dist/components/{p-DIf6-Fvg.js → p-BQKG49PI.js} +2 -2
- package/dist/components/{p-D5WTwmc6.js → p-BQwTK156.js} +2 -2
- package/dist/components/{p-D-mAUrbR.js → p-BSCQl0rf.js} +2 -2
- package/dist/components/{p-DX3KKRD9.js → p-BZPBFs15.js} +2 -2
- package/dist/components/{p-CcXqouEO.js → p-BZjEcsXh.js} +2 -2
- package/dist/components/{p-CqMnH54Q.js → p-BeaRYlDR.js} +2 -2
- package/dist/components/{p-_o_lUhve.js → p-BhLDGQhC.js} +2 -2
- package/dist/components/{p-BRoShuOu.js → p-BmIb4zsg.js} +2 -2
- package/dist/components/p-BmpDO3IP.js +2 -0
- package/dist/components/p-Br0kWrBT.js +2 -0
- package/dist/components/p-Br0kWrBT.js.map +1 -0
- package/dist/components/{p-BEHuPmXt.js → p-Bt-mtf0k.js} +2 -2
- package/dist/components/p-BuxDaqmj.js +2 -0
- package/dist/components/{p-BHEtq3Ue.js → p-BygBViit.js} +2 -2
- package/dist/components/{p-nFLcvugJ.js → p-C0oU5Cfy.js} +2 -2
- package/dist/components/{p-CClpvMw2.js → p-C1OHc_IH.js} +2 -2
- package/dist/components/{p-CClpvMw2.js.map → p-C1OHc_IH.js.map} +1 -1
- package/dist/components/{p-CSXWpZjy.js → p-C1gwyfdx.js} +2 -2
- package/dist/components/{p-DM5CKilY.js → p-C5zlJTUx.js} +2 -2
- package/dist/components/{p-N-UYdc5h.js → p-C8Dz7m3K.js} +2 -2
- package/dist/components/{p-NFd9Dxr1.js → p-C9W3k6wS.js} +2 -2
- package/dist/components/{p-D5dkLuTD.js → p-CKfiAXG_.js} +2 -2
- package/dist/components/{p-Cw_sHLuu.js → p-CWqwLjht.js} +2 -2
- package/dist/components/{p-C6T0ZB2C.js → p-CjLb45eA.js} +2 -2
- package/dist/components/{p-DGa_QPb9.js → p-Cud80xdU.js} +2 -2
- package/dist/components/{p-xkRxEiC8.js → p-Cw6jE38W.js} +2 -2
- package/dist/components/{p-B2MMqcTF.js → p-CxgByuap.js} +2 -2
- package/dist/components/{p-BuKk-s9A.js → p-CxsaIxQ8.js} +2 -2
- package/dist/components/{p-C-zr_dP8.js → p-D6L21sGE.js} +2 -2
- package/dist/components/p-D7FCA_AJ.js +2 -0
- package/dist/components/{p-CrKwvG9J.js → p-D83NzhAZ.js} +2 -2
- package/dist/components/{p-B_z5-Hf8.js → p-DHHuTk1C.js} +2 -2
- package/dist/components/{p-BanWK6rV.js → p-DLekIjaq.js} +2 -2
- package/dist/components/p-DNwlLHgl.js +2 -0
- package/dist/components/{p-DYNjCosy.js.map → p-DNwlLHgl.js.map} +1 -1
- package/dist/components/{p-CKlr_F9h.js → p-DP2lfWFG.js} +2 -2
- package/dist/components/{p-4pGbxojU.js → p-DVb0lxbZ.js} +2 -2
- package/dist/components/{p-Cv-uvD7X.js → p-Dj4jb_55.js} +2 -2
- package/dist/components/{p-CtuuZV3u.js → p-DlfphBOA.js} +2 -2
- package/dist/components/{p-1j2KmcfQ.js → p-DmRiznt_.js} +2 -2
- package/dist/components/{p-B6sHuEsq.js → p-Dmp9jVbi.js} +2 -2
- package/dist/components/{p-CqSiLhUe.js → p-Dn5brtiA.js} +2 -2
- package/dist/components/{p-dBpTpVs8.js → p-DqGZ9Vzy.js} +2 -2
- package/dist/components/{p-CqXSfYre.js → p-DtlLyiQE.js} +2 -2
- package/dist/components/{p-DLBMEh0f.js → p-DuAHxRQq.js} +2 -2
- package/dist/components/{p-Ww5QjB3D.js → p-DuVAEZcg.js} +2 -2
- package/dist/components/{p-AX8gOGUr.js → p-DvKyYKhJ.js} +2 -2
- package/dist/components/{p-BUa0wBSK.js → p-DxpX6YuH.js} +2 -2
- package/dist/components/{p-CJEV2v84.js → p-GOrXJdjK.js} +2 -2
- package/dist/components/{p-qxJgmVrq.js → p-QhNiluOP.js} +2 -2
- package/dist/components/p-QhNiluOP.js.map +1 -0
- package/dist/components/{p-B0kZrKne.js → p-SAYWxZnn.js} +2 -2
- package/dist/components/{p-BXoBluZQ.js → p-X22HVbOR.js} +2 -2
- package/dist/components/{p-DIz1nEPY.js → p-Z0pkj6lv.js} +2 -2
- package/dist/components/{p-DM3PMEgb.js → p-diHpl72F.js} +2 -2
- package/dist/components/{p-DFXJvHuL.js → p-iQDU7l2c.js} +2 -2
- package/dist/components/{p-NGbZCAH9.js → p-kRSq8qa0.js} +2 -2
- package/dist/components/{p-BiQsRsV4.js → p-lxR7rA3k.js} +2 -2
- package/dist/components/{p-CAgJrhiy.js → p-neYuyhok.js} +2 -2
- package/dist/components/{p-Bn7CZqdz.js → p-rKh5fDrR.js} +2 -2
- package/dist/components/{p-Qv-IgIvL.js → p-tXifYvLV.js} +2 -2
- package/dist/components/{p-CUdZx76u.js → p-tYcvbWv5.js} +2 -2
- package/dist/components/{p-He4KDK9-.js → p-z-IEAPIC.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.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-button.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +1 -1
- package/dist/components/smoothly-date-text.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display.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-form.js +1 -1
- package/dist/components/smoothly-frame.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-demo.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-radio.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo-user-input.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-demo-colspan.js +1 -1
- package/dist/components/smoothly-table-demo-filler-row.js +1 -1
- package/dist/components/smoothly-table-demo-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell-inner.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell.js +1 -1
- package/dist/components/smoothly-table-demo-simple.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-head.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-guide.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/components/smoothly-toggle-switch-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch.js +1 -1
- package/dist/components/smoothly-trigger-sink.js +1 -1
- package/dist/components/smoothly-trigger-source.js +1 -1
- package/dist/esm/{Scrollable-B1D3P7eJ.js → Scrollable-CbMKpwBI.js} +14 -4
- package/dist/esm/Scrollable-CbMKpwBI.js.map +1 -0
- package/dist/esm/{Submittable-D4FaRzPA.js → Submittable-NFA7UIyM.js} +3 -3
- package/dist/esm/{Submittable-D4FaRzPA.js.map → Submittable-NFA7UIyM.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/smoothly-app_98.entry.js +11 -8
- package/dist/esm/smoothly-app_98.entry.js.map +1 -1
- package/dist/esm/smoothly-submit.entry.js +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/{p-94d091cd.entry.js → p-03e85253.entry.js} +2 -2
- package/dist/smoothly/{p-be43737e.entry.js → p-1786667d.entry.js} +2 -2
- package/dist/smoothly/p-793c7f9d.entry.js +2 -0
- package/dist/smoothly/p-793c7f9d.entry.js.map +1 -0
- package/dist/smoothly/p-CbMKpwBI.js +2 -0
- package/dist/smoothly/p-CbMKpwBI.js.map +1 -0
- package/dist/smoothly/{p-rhMhTGHt.js → p-DZSl4MD1.js} +2 -2
- package/dist/smoothly/{p-rhMhTGHt.js.map → p-DZSl4MD1.js.map} +1 -1
- package/dist/smoothly/{p-d4dad5a8.entry.js → p-d684139e.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/app/index.d.ts +1 -0
- package/dist/types/components/app/room/index.d.ts +3 -1
- package/dist/types/components.d.ts +5 -5
- package/package.json +1 -1
- package/dist/cjs/Scrollable-BJioYHxN.js.map +0 -1
- package/dist/components/p-Bq5YEPPT.js +0 -2
- package/dist/components/p-COK__8-d.js +0 -2
- package/dist/components/p-CkXes5c-.js +0 -2
- package/dist/components/p-CkXes5c-.js.map +0 -1
- package/dist/components/p-DYNjCosy.js +0 -2
- package/dist/components/p-DiXjCPyE.js +0 -2
- package/dist/components/p-qxJgmVrq.js.map +0 -1
- package/dist/esm/Scrollable-B1D3P7eJ.js.map +0 -1
- package/dist/smoothly/p-B1D3P7eJ.js +0 -2
- package/dist/smoothly/p-B1D3P7eJ.js.map +0 -1
- package/dist/smoothly/p-e7c5888e.entry.js +0 -2
- package/dist/smoothly/p-e7c5888e.entry.js.map +0 -1
- /package/dist/components/{p-d26Fb7IS.js.map → p-19XTl7bT.js.map} +0 -0
- /package/dist/components/{p-DIhqNc1G.js.map → p-476P3lCN.js.map} +0 -0
- /package/dist/components/{p-Dz8Bblye.js.map → p-56MQxIOz.js.map} +0 -0
- /package/dist/components/{p-CgCEK6Lc.js.map → p-5IpBMfCQ.js.map} +0 -0
- /package/dist/components/{p-67RlLkJb.js.map → p-AP_j6gIy.js.map} +0 -0
- /package/dist/components/{p-CooymHn6.js.map → p-AgqVCLBX.js.map} +0 -0
- /package/dist/components/{p-BHsrC9Oh.js.map → p-B1h-3Bk6.js.map} +0 -0
- /package/dist/components/{p-BoHJT9bR.js.map → p-B2HeWzUx.js.map} +0 -0
- /package/dist/components/{p-CVNSeOlg.js.map → p-B33zAR8E.js.map} +0 -0
- /package/dist/components/{p-CqyGm3oe.js.map → p-B3b5oz3b.js.map} +0 -0
- /package/dist/components/{p-BfwEfI7H.js.map → p-B5HCjRvr.js.map} +0 -0
- /package/dist/components/{p-C2xjUTYO.js.map → p-B5fLCjIP.js.map} +0 -0
- /package/dist/components/{p-DS66Mn9S.js.map → p-B6iaWskB.js.map} +0 -0
- /package/dist/components/{p-CTdXhHGF.js.map → p-B7tRoQDk.js.map} +0 -0
- /package/dist/components/{p-BFJL6rrU.js.map → p-BApNLqiy.js.map} +0 -0
- /package/dist/components/{p-BGzrO9CQ.js.map → p-BFgOju1b.js.map} +0 -0
- /package/dist/components/{p-6PsJb2Ez.js.map → p-BFsrI2_x.js.map} +0 -0
- /package/dist/components/{p-CrkBYYf-.js.map → p-BJ1QHaKC.js.map} +0 -0
- /package/dist/components/{p-DIf6-Fvg.js.map → p-BQKG49PI.js.map} +0 -0
- /package/dist/components/{p-D5WTwmc6.js.map → p-BQwTK156.js.map} +0 -0
- /package/dist/components/{p-D-mAUrbR.js.map → p-BSCQl0rf.js.map} +0 -0
- /package/dist/components/{p-DX3KKRD9.js.map → p-BZPBFs15.js.map} +0 -0
- /package/dist/components/{p-CcXqouEO.js.map → p-BZjEcsXh.js.map} +0 -0
- /package/dist/components/{p-CqMnH54Q.js.map → p-BeaRYlDR.js.map} +0 -0
- /package/dist/components/{p-_o_lUhve.js.map → p-BhLDGQhC.js.map} +0 -0
- /package/dist/components/{p-BRoShuOu.js.map → p-BmIb4zsg.js.map} +0 -0
- /package/dist/components/{p-COK__8-d.js.map → p-BmpDO3IP.js.map} +0 -0
- /package/dist/components/{p-BEHuPmXt.js.map → p-Bt-mtf0k.js.map} +0 -0
- /package/dist/components/{p-Bq5YEPPT.js.map → p-BuxDaqmj.js.map} +0 -0
- /package/dist/components/{p-BHEtq3Ue.js.map → p-BygBViit.js.map} +0 -0
- /package/dist/components/{p-nFLcvugJ.js.map → p-C0oU5Cfy.js.map} +0 -0
- /package/dist/components/{p-CSXWpZjy.js.map → p-C1gwyfdx.js.map} +0 -0
- /package/dist/components/{p-DM5CKilY.js.map → p-C5zlJTUx.js.map} +0 -0
- /package/dist/components/{p-N-UYdc5h.js.map → p-C8Dz7m3K.js.map} +0 -0
- /package/dist/components/{p-NFd9Dxr1.js.map → p-C9W3k6wS.js.map} +0 -0
- /package/dist/components/{p-D5dkLuTD.js.map → p-CKfiAXG_.js.map} +0 -0
- /package/dist/components/{p-Cw_sHLuu.js.map → p-CWqwLjht.js.map} +0 -0
- /package/dist/components/{p-C6T0ZB2C.js.map → p-CjLb45eA.js.map} +0 -0
- /package/dist/components/{p-DGa_QPb9.js.map → p-Cud80xdU.js.map} +0 -0
- /package/dist/components/{p-xkRxEiC8.js.map → p-Cw6jE38W.js.map} +0 -0
- /package/dist/components/{p-B2MMqcTF.js.map → p-CxgByuap.js.map} +0 -0
- /package/dist/components/{p-BuKk-s9A.js.map → p-CxsaIxQ8.js.map} +0 -0
- /package/dist/components/{p-C-zr_dP8.js.map → p-D6L21sGE.js.map} +0 -0
- /package/dist/components/{p-DiXjCPyE.js.map → p-D7FCA_AJ.js.map} +0 -0
- /package/dist/components/{p-CrKwvG9J.js.map → p-D83NzhAZ.js.map} +0 -0
- /package/dist/components/{p-B_z5-Hf8.js.map → p-DHHuTk1C.js.map} +0 -0
- /package/dist/components/{p-BanWK6rV.js.map → p-DLekIjaq.js.map} +0 -0
- /package/dist/components/{p-CKlr_F9h.js.map → p-DP2lfWFG.js.map} +0 -0
- /package/dist/components/{p-4pGbxojU.js.map → p-DVb0lxbZ.js.map} +0 -0
- /package/dist/components/{p-Cv-uvD7X.js.map → p-Dj4jb_55.js.map} +0 -0
- /package/dist/components/{p-CtuuZV3u.js.map → p-DlfphBOA.js.map} +0 -0
- /package/dist/components/{p-1j2KmcfQ.js.map → p-DmRiznt_.js.map} +0 -0
- /package/dist/components/{p-B6sHuEsq.js.map → p-Dmp9jVbi.js.map} +0 -0
- /package/dist/components/{p-CqSiLhUe.js.map → p-Dn5brtiA.js.map} +0 -0
- /package/dist/components/{p-dBpTpVs8.js.map → p-DqGZ9Vzy.js.map} +0 -0
- /package/dist/components/{p-CqXSfYre.js.map → p-DtlLyiQE.js.map} +0 -0
- /package/dist/components/{p-DLBMEh0f.js.map → p-DuAHxRQq.js.map} +0 -0
- /package/dist/components/{p-Ww5QjB3D.js.map → p-DuVAEZcg.js.map} +0 -0
- /package/dist/components/{p-AX8gOGUr.js.map → p-DvKyYKhJ.js.map} +0 -0
- /package/dist/components/{p-BUa0wBSK.js.map → p-DxpX6YuH.js.map} +0 -0
- /package/dist/components/{p-CJEV2v84.js.map → p-GOrXJdjK.js.map} +0 -0
- /package/dist/components/{p-B0kZrKne.js.map → p-SAYWxZnn.js.map} +0 -0
- /package/dist/components/{p-BXoBluZQ.js.map → p-X22HVbOR.js.map} +0 -0
- /package/dist/components/{p-DIz1nEPY.js.map → p-Z0pkj6lv.js.map} +0 -0
- /package/dist/components/{p-DM3PMEgb.js.map → p-diHpl72F.js.map} +0 -0
- /package/dist/components/{p-DFXJvHuL.js.map → p-iQDU7l2c.js.map} +0 -0
- /package/dist/components/{p-NGbZCAH9.js.map → p-kRSq8qa0.js.map} +0 -0
- /package/dist/components/{p-BiQsRsV4.js.map → p-lxR7rA3k.js.map} +0 -0
- /package/dist/components/{p-CAgJrhiy.js.map → p-neYuyhok.js.map} +0 -0
- /package/dist/components/{p-Bn7CZqdz.js.map → p-rKh5fDrR.js.map} +0 -0
- /package/dist/components/{p-Qv-IgIvL.js.map → p-tXifYvLV.js.map} +0 -0
- /package/dist/components/{p-CUdZx76u.js.map → p-tYcvbWv5.js.map} +0 -0
- /package/dist/components/{p-He4KDK9-.js.map → p-z-IEAPIC.js.map} +0 -0
- /package/dist/smoothly/{p-94d091cd.entry.js.map → p-03e85253.entry.js.map} +0 -0
- /package/dist/smoothly/{p-be43737e.entry.js.map → p-1786667d.entry.js.map} +0 -0
- /package/dist/smoothly/{p-d4dad5a8.entry.js.map → p-d684139e.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as t,c as o,h as a,d as s,t as c}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d}from"./p-BoHJT9bR.js";import{d as l}from"./p-BHEtq3Ue.js";import{d as i}from"./p-DX3KKRD9.js";import{d as f}from"./p-1j2KmcfQ.js";import{d as n}from"./p-AX8gOGUr.js";import{d as b}from"./p-DM5CKilY.js";import{d as r}from"./p-CR3Ni_o7.js";import{d as y}from"./p-B-l1S16Z.js";import{d as u}from"./p-Ud7Qhkgt.js";import{d as h}from"./p-C3FORjes.js";import{d as p}from"./p-DIhqNc1G.js";import{d as k}from"./p-BiQsRsV4.js";import{d as v}from"./p-Ww5QjB3D.js";import{d as g}from"./p-CrKwvG9J.js";import{d as j}from"./p-_o_lUhve.js";import{d as E}from"./p-CrkBYYf-.js";import{d as x}from"./p-Cw_sHLuu.js";import{d as w}from"./p-xkRxEiC8.js";import{d as C}from"./p-DIf6-Fvg.js";import{d as S}from"./p-NFd9Dxr1.js";import{d as D}from"./p-BFJL6rrU.js";import{d as L}from"./p-DLBMEh0f.js";import{d as B}from"./p-CqSiLhUe.js";import{d as z}from"./p-CgCEK6Lc.js";import{d as I}from"./p-BRoShuOu.js";import{d as A}from"./p-CtuuZV3u.js";import{d as F}from"./p-CKlr_F9h.js";import{d as M}from"./p-BfwEfI7H.js";import{d as H}from"./p-nFLcvugJ.js";import{d as K}from"./p-CTdXhHGF.js";import{d as N}from"./p-D5WTwmc6.js";import{d as R}from"./p-BUa0wBSK.js";import{d as U}from"./p-CJEV2v84.js";import{d as J}from"./p-CqyGm3oe.js";import{d as G}from"./p-fnKrPnzp.js";import{d as T}from"./p-Bpc6uh0M.js";import{d as Q}from"./p-NGbZCAH9.js";import{d as O}from"./p-2Y5tLcQ1.js";import{d as V}from"./p-dBpTpVs8.js";const Z=()=>`.sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo{display:flex}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo smoothly-input.sc-smoothly-input-demo{flex:1}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{max-width:min(calc(100% - 2rem), 56rem);margin:auto}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-grow:1;min-width:min(100%, var(--smoothly-form-input-min-width, 18rem));flex-basis:40%}`;const _=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyUrlUpdate=o(this,"smoothlyUrlUpdate");this.duration={hours:8};this.alphanumeric="!@##";this.numbers=[1,2,3,4,5,6,7,8,9]}render(){return a(s,{key:"0610dea0130909d255f6dcbf7f798521cb18fc4e"},a("smoothly-input-demo-standard",{key:"e74b371f701b9371972b5428efb0ea4edea9244c"}),a("smoothly-input-date-demo",{key:"c989f6853579a9ba68c6f57e2e6381c121ff091c"}),a("smoothly-input-demo-user-input",{key:"67189969e7eeb85c53fa6485cc4bc1c6f8810d3c"}),a("smoothly-input-demo-radio",{key:"d277353814df2808ab955df71df8dd79a14e3b09"}),a("div",{key:"69864f1761f23e2d9fe5003d1a28895195587f23",class:"inputs"},a("h2",{key:"9e43ab4414d38f5e7d6ed559293a364700e4e3ff"},"Calendar"),a("smoothly-input-date",{key:"3cc461eaf51348c11e76a541f4e89c7727d49006",name:"some-date"},"Calendar"),a("smoothly-input-date-time",{key:"331225ff58737c6cd60986d47935cf906f143d02",name:"someDateTime",value:m.DateTime.now()},"DateTime"),a("h2",{key:"7e7535017eb1d6a683df758a4d017dc7cb1fccc3"},"Date Range"),a("smoothly-input-date-range",{key:"fad6725321923c5821fe74add6cef73a560c2496",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-01",max:"2025-01-31"}),a("smoothly-input-date-range",{key:"21d5f9edc259b904554d64c234e8268184db9c78",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2024-12-30"},a("smoothly-input-reset",{key:"d08635584ffc2cf923f93304701d5ae0130dcd57",slot:"end",size:"icon"})),a("smoothly-input-date-range",{key:"46c5c5ca642f983a7d4956c83385ab25046044e7",looks:"grid",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2025-12-30",showLabel:false,style:{"--smoothly-input-border-radius":"0.5rem"}},a("smoothly-input-clear",{key:"3465328594f446fbbe97cdb87adb806f057a4041",slot:"end",size:"icon"})),a("h2",{key:"e2a08b76ba392d10beb4eb95d8363620f07b53e4"},"Date"),a("smoothly-input-date",{key:"fbc0b53f5e576341027a9d0199e0a369cab1ed15"},"Date"),a("smoothly-input-date",{key:"b5ead1c49120a42e63e310361c29d31eabbcff60",showLabel:false,value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),a("smoothly-input-date",{key:"18fab78a08e80b35d930d40be27c5f2863beaba1",value:"2021-10-28"},"Date",a("smoothly-input-reset",{key:"ab9470f9a44be6a115ff89db7c50f631362cecae",slot:"end",size:"icon"})),a("smoothly-input-date",{key:"61aa9be4f7193617ecc89d5250f9c97f30742c35",value:"2021-10-28"},"Date",a("smoothly-input-clear",{key:"9ab5d2a554d2123360afdac3c266ac79c6035d36",slot:"end",size:"icon"})),a("h2",{key:"ed8c37111142696858c0eac29661406ae2cd9f55"},"Select"),a("div",{key:"9ae174d2d4a332de3ad770450464569378f05bdb",class:"select-div"},a("smoothly-input-select",{key:"34f6a893981c3c8dc6703256a9f2c3089cf4ff25",name:"select-dessert",looks:"border"},a("label",{key:"7198f30b4aa7cb91377cb72ef16cb7dca79d00ff",slot:"label"},"Select with clear button"),a("smoothly-item",{key:"b85cb7fb77fe50cd6a42d0a6c38020dcfb2166ed",value:"1"},"Ice cream"),a("smoothly-item",{key:"de464d05e6cdffe4b578e5708d1e9e33376a0521",value:"2"},"Sponge cake"),a("smoothly-item",{key:"553b7ecd797f0e55def5b6c460440d8286755f4c",value:"3",disabled:true},"Disabled Item"),a("smoothly-item",{key:"3b4349b0785cd4440611499c23f082961541a91a",value:"4"},"Cookie"),a("smoothly-item",{key:"a5638b6d6424c31cb1d26cecb42cfeb1004e7674",value:"5"},"Croissant"),a("smoothly-item",{key:"015c157d486120f18de97fae45e36b9e0b0ef863",value:"6"},"Chocolate fondue"),a("smoothly-input-clear",{key:"b16c9fd651670b3808643e57043198550e3a1103",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"277ad384d61f6a4ce7fb849d90a7e2437f105841",multiple:true,name:"select-dessert-multiple",looks:"border"},a("label",{key:"bcd5acb1903599e959821fc91f6aaf60ad0bb5b9",slot:"label"},"Select multiple with reset button"),a("smoothly-item",{key:"3e5c1545a14684d153a252fba8060965f63b6c46",value:"ice cream"},"Ice cream"),a("smoothly-item",{key:"155d20eda1c0ed2816a7bac67d54b2e55a7a101a",value:"sponge cake"},"Sponge cake"),a("smoothly-item",{key:"cdf81df5d54168f33c679918e7f3440f0f8d5da3",selected:true,value:"cookie"},"Cookie"),a("smoothly-item",{key:"ee8b1f2e292c76d0b5f1ea73501d56ed7c5c748c",value:"croissant"},"Croissant"),a("smoothly-item",{key:"ea635dbcfc236dec09da467db23e37b18fc8953a",selected:true,value:"chocolate fondue"},"Chocolate fondue"),a("smoothly-input-reset",{key:"de1bad5de86767304a5244812506166ac09ef395",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"a606780ffc3288ff2c3963c63d1e67922e27eb03",name:"spirit-animals",looks:"border",mutable:true},a("label",{key:"12d7b79350e82d58eab979ae139ba1895e6d60e8",slot:"label"},"Select or add new options"),a("smoothly-item",{key:"b9c3dfe20a6df2409ef1e350bf6491284a583d5b",value:"manatee"},"Manatee"),a("smoothly-item",{key:"609d4f74ac6f9b7b3de0d6cf8239e357e273be3f",selected:true,value:"cthulu"},"Cthulu")),a("smoothly-input-select",{key:"02c55364f84130fbe531450518a9f14c01d093eb",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"838cb077ef888a9474f387f3e103d1fe5a7446bf",value:"folder",selected:true},a("smoothly-icon",{key:"b25142bf3ef747ac3b0efce4e5b0570da8fe3fdf",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"230ece62e3958643281636ba4185118102394ce8",value:"camera"},a("smoothly-icon",{key:"2388323ed7eb30ca002c1fdb0a5b3c39e11b5da2",size:"small",name:"camera-outline"}))),a("smoothly-input-select",{key:"39a9cf873e9f7d93b05de669efa66d38f2f23ab6",ordered:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"9789169a41dfb9e3162112e23caffbfe5b6daeea",slot:"label"},"Alphabet ordered select"),Array.from({length:26}).map(((e,t)=>String.fromCharCode(t+65))).map((e=>a("smoothly-item",{value:e,selected:e=="H"},e)))),a("smoothly-input-select",{key:"f387c1c723590cc0af87d9a1fd57d459c1cc73f6",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"a5db731994586ad163c1077afe56a23f8645654a",slot:"label"},"Month multiple select"),a("smoothly-item",{key:"f1f9ee3d60d71883b4dd1b4aea488f2c22cde1d5",value:"1"},"January"),a("smoothly-item",{key:"a4432cbbf045646fdb7c5481edd5a4dc647e714e",value:"2"},"February"),a("smoothly-item",{key:"5004b0e7acb2fca29c26f563933f66a141a87a21",value:"3"},"March"),a("smoothly-item",{key:"f9085fa0f5ac2bdc308a6e6eb5f76d060179adac",value:"4"},"April"),a("smoothly-item",{key:"45c828dcd5f36bcb4624860f11ffe970ecfe3021",value:"5"},"May"),a("smoothly-item",{key:"6dcc18a959124619842d5a7bd68b38b507ecbb80",value:"6"},"June"),a("smoothly-item",{key:"cd1b161f2f13dfe661b2d3363e3b20647c4ec3ca",value:"7"},"July"),a("smoothly-item",{key:"a5ae41fa7eed339f47f69aad3681eae4579e0efe",value:"8"},"August"),a("smoothly-item",{key:"0016e486b487603da72487e53031739b85dc5318",value:"9"},"September"),a("smoothly-item",{key:"f1c6ed5593caa14259f74be4c8b3be20386e54cf",value:"10"},"October"),a("smoothly-item",{key:"f636538a7669567ff285e74a4c2de398546108ec",value:"11"},"November"),a("smoothly-item",{key:"0a83028ce8f962d1b8d501041aad0a288a5829c5",value:"12"},"December")),a("div",{key:"e16c4ae44a81885c288ca235fc56e53d08b3253f",class:"select-div-row"},a("smoothly-input-select",{key:"a399d1152444fff42ea7b37ca41824a6ecf63d81",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"af648a4bb5f15488197c34a752e282bd60cf79a3",value:"folder",selected:true},a("smoothly-icon",{key:"16d8cdf17dbf67544d10c06d8f599dd30b87cb61",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"39012cd32fa3bcecb1cc012160048d6817a94c5c",value:"camera"},a("smoothly-icon",{key:"a51166743064c08c1e9509fea17b60fde3f39556",size:"small",name:"camera-outline"})),a("smoothly-item",{key:"5b13f14afbbf764ad387c34db65f48335c8e5ff8",value:"boat"},a("smoothly-icon",{key:"855facc3a62046b5b3b4ff29f0d5226d2aff1c55",size:"small",name:"boat-outline"}))),a("smoothly-input-select",{key:"cc1e08d1120f45c8143ae6f28cbdbad769785e58",name:"select-number",clearable:false},this.numbers.map((e=>a("smoothly-item",{value:"number",selected:e===3},e)))),a("smoothly-input",{key:"f12155b6e15ef36745915628c1ffc34a2c277bcd",name:"name",value:"Sten Qvist"},"Name"))),a("h2",{key:"32733265cff202c69112ac37afbbe51e9ee16b13"},"Duration"),a("smoothly-input",{key:"1c359b65c54c00a291d4ab2fca662ae0823545be",name:"duration",type:"duration",placeholder:"hh:mm",value:this.duration,onSmoothlyInput:e=>this.duration=e.detail.duration},"Duration"),a("smoothly-input",{key:"b50a7ea8c22c140a5d1b81eb197caa88d79ff4cc",name:"duration",type:"duration",value:this.duration,placeholder:"-hh:mm",onSmoothlyInput:e=>{const t=e.detail.duration;this.duration=t}},"Duration"),a("h2",{key:"9bf848b3aeb2d99264b20270c030daf0a2e4538c"},"Integer with Min/Max"),a("smoothly-input",{key:"ef9a50d998c97e0ee62ce7521a47d9116596f594",name:"days",type:"integer",min:0,max:365},"Days per year (0-365)"),a("smoothly-input",{key:"3fc4295acaaabe23a12e6e9fd192371d137e2ebd",name:"hour",type:"integer",min:0,max:23},"Hours per day (0-23)"),a("smoothly-input",{key:"e3e23c2ff05c311d1d62b86d9de0e333aaf38d16",name:"minute",type:"integer",min:0,max:59},"Minutes per hour (0-59)"),a("smoothly-input",{key:"a92c74f2b45cc1df86589e62e97b87c8a7060351",name:"minute",type:"integer",min:18,max:120},"Age (18-120)"),a("h2",{key:"05151b343a921085863acb3cc263fb4775fc1326"},"Invalid text with warning icon and tooltip"),a("smoothly-input",{key:"433ed8e5372266ef59393311c0dde265b79efb36",copyable:true,name:"alphanumeric",invalid:!/^[a-zA-Z0-9]+$/.test(this.alphanumeric),errorMessage:"Only alphanumeric allowed",value:this.alphanumeric,onSmoothlyInput:e=>this.alphanumeric=e.detail.alphanumeric},"Alphanumeric"),a("h2",{key:"b5e460972d07d70a04099e129f4b11706ee6ea58"},"Identifiers"),a("smoothly-input",{key:"d059d3ecee65ec385e40d11bad328bde8be89246",type:"identifier-code"},"Code"),a("smoothly-input",{key:"669bda44ce4115dc276335a9566cd433ccc992c4",type:"identifier-attribute"},"Attribute"),a("smoothly-input",{key:"a775035df9b192896c2ce7f1beebe6e904c1d42d",type:"identifier-snake"},"Snake"),a("smoothly-input",{key:"359285e474ea704c36e73984c35e4ae245c47a00",type:"identifier-pascal"},"Pascal"),a("smoothly-input",{key:"f1a36423248b413cd20749f738fe12a8eeacae15",type:"identifier-camel"},"Camel"),a("h2",{key:"2f6beac2f107dd3dc34a537e5b47f13d76206a07"},"Input Alternatives"),a("smoothly-input",{key:"74cfbe969295b7cb9e02af90b126d9bdb60168cc",type:"text",name:"name.last"},a("smoothly-icon",{key:"34e749e71f3d9976f2b71e57dd8644d53872aa35",name:"checkmark-circle",slot:"start"}),"First Name"),a("smoothly-input",{key:"61f44e09ab53cf0cf061007d3cf8426722e53312",type:"text",name:"name.first"},"Last Name",a("smoothly-icon",{key:"55adb72f7485eb5f2235516c9d2839feae927ad7",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"642a573bebe0e805fd7d178dfc8befe7e77bba15",type:"text",name:"name.first",placeholder:"Smith"},"Last Name",a("smoothly-icon",{key:"5bcfe9a74e7ec780fee1764933bd37f82b36495d",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"cd5b1bbd73247cfb21b6ff99a56c0989ec7f3239",placeholder:"test"}),a("smoothly-input-submit",{key:"02c46969366444af0882851f2f3a0cd80f1b61c3",slot:"submit",fill:"solid",onSubmit:e=>alert(e),color:"success"}),a("h4",{key:"3bc94eda5050b71ec193fda5600d76b5341b71d5"},"Smoothly checkboxes"),a("div",{key:"165dd5a0d8e539c3d9fdbebf49ded093589acea7",class:"checkbox-group"},a("smoothly-input-checkbox",{key:"17c781cdca9adf265d7418ca27ace984f0b70499",disabled:true,name:"first-checkbox"},a("smoothly-icon",{key:"413a357d61374d72ae7be41bca5a7360b105e9e0",name:"checkmark-circle",slot:"start",size:"tiny"}),"First"),a("smoothly-input-checkbox",{key:"81ad9a572cb4e01b86ca1a189d4ce027c81d588b",name:"second-checkbox",checked:true},a("smoothly-icon",{key:"a34d9d7860461de0a508e8f36ab3e89627475777",name:"checkmark-circle",slot:"start",size:"tiny"}),"second",a("smoothly-input-clear",{key:"fc64656864d9c68ef8f8ee42868af8f6d27ff217",size:"icon",slot:"end"})),a("smoothly-input-checkbox",{key:"8d1461bc9cc61eb79488162501232355e27bb992",name:"third-checkbox"},"3rd")),a("h4",{key:"0eca64c7ae21e4f915e7f146d36662983f5c3759"},"Smoothly Radio Buttons"),a("smoothly-input-radio",{key:"7677ce8ca260453a84a650fcced18a6592acc6a7",clearable:true,name:"radioFirstInput"},a("smoothly-icon",{key:"fd28ffad9dc1a32efb02131873f238c54fcb63e2",name:"checkmark-circle",slot:"start"}),a("label",{key:"63d92632a2ef4832fd863f55991480e1ec58fbae",slot:"label"},"Clearable"),a("smoothly-input-radio-item",{key:"a3e81d19c74fc5de2d25e44afb686793807025d5",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"5a4118fd0fb1b24e7a3e957c6186a94caf6c3160",selected:true,value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"beb9d9bfec1ebd2bd268b3c94fde2f23ee77b31b",value:"third"},"Label 3"),a("smoothly-input-clear",{key:"91ff12f5c8d3911b662a4774e3d8887742de6b42",size:"icon",slot:"end"})),a("smoothly-input-radio",{key:"5e708295015296538d73936026d36e5badc6f805",name:"radioSecondInput"},a("label",{key:"8ffb6b2f623f8e16a19d6b9d83b93b28d9fe2637",slot:"label"},"Not clearable"),a("smoothly-input-radio-item",{key:"a5cf624fceafa16030eab1e9050cd3cac2c985f1",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"66ab2a39eb130a221dea6cc77beecb0c221cecf5",value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"44792e09a3cfff26ec11c364e842db24f1eb10f2",value:"third"},"Label 3"),a("smoothly-input-radio-item",{key:"78b2689f9c52960b2901431b22c7f7faec8605ae",value:"fourth"},"Label 4"),a("smoothly-input-radio-item",{key:"fb6757b00011d410ffcf1cad4dcdfe1c586ca24a",value:"fifth"},"Label 5"),a("smoothly-input-radio-item",{key:"dcd365bfd3792cab31ede99aa43edf5d41d8af9e",value:"sixth"},"Label 6")),a("smoothly-input-range-demo",{key:"c231fb7b9c6d28546b4d13c87ef3a900b33191ca"}),a("smoothly-input-color-demo",{key:"540d7e3d4ec89f99ec6c67d725468e050ec0a183"}),a("smoothly-input-price-demo",{key:"eb8164f02728a0ee68e10ecb949c6b7f45d2fff2"}),a("smoothly-back-to-top",{key:"98cd43c5de35cfeea70b77434dac7907648c1b6e"})))}static get style(){return Z()}},[2,"smoothly-input-demo",{duration:[32],alphanumeric:[32]}]);function q(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo","smoothly-back-to-top","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-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","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-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo":if(!customElements.get(c(e))){customElements.define(c(e),_)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){d()}break;case"smoothly-button":if(!customElements.get(c(e))){l()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){i()}break;case"smoothly-calendar":if(!customElements.get(c(e))){f()}break;case"smoothly-date-text":if(!customElements.get(c(e))){n()}break;case"smoothly-display":if(!customElements.get(c(e))){b()}break;case"smoothly-display-json":if(!customElements.get(c(e))){r()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){u()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){h()}break;case"smoothly-form":if(!customElements.get(c(e))){p()}break;case"smoothly-icon":if(!customElements.get(c(e))){k()}break;case"smoothly-input":if(!customElements.get(c(e))){v()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){g()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){j()}break;case"smoothly-input-color":if(!customElements.get(c(e))){E()}break;case"smoothly-input-color-demo":if(!customElements.get(c(e))){x()}break;case"smoothly-input-date":if(!customElements.get(c(e))){w()}break;case"smoothly-input-date-demo":if(!customElements.get(c(e))){C()}break;case"smoothly-input-date-range":if(!customElements.get(c(e))){S()}break;case"smoothly-input-date-time":if(!customElements.get(c(e))){D()}break;case"smoothly-input-demo-radio":if(!customElements.get(c(e))){L()}break;case"smoothly-input-demo-standard":if(!customElements.get(c(e))){B()}break;case"smoothly-input-demo-user-input":if(!customElements.get(c(e))){z()}break;case"smoothly-input-file":if(!customElements.get(c(e))){I()}break;case"smoothly-input-month":if(!customElements.get(c(e))){A()}break;case"smoothly-input-price-demo":if(!customElements.get(c(e))){F()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){M()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){H()}break;case"smoothly-input-range":if(!customElements.get(c(e))){K()}break;case"smoothly-input-range-demo":if(!customElements.get(c(e))){N()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){R()}break;case"smoothly-input-select":if(!customElements.get(c(e))){U()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){J()}break;case"smoothly-item":if(!customElements.get(c(e))){G()}break;case"smoothly-spinner":if(!customElements.get(c(e))){T()}break;case"smoothly-tab":if(!customElements.get(c(e))){Q()}break;case"smoothly-tabs":if(!customElements.get(c(e))){O()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){V()}break}}))}q();export{_ as S,q as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as t,c as o,h as a,d as s,t as c}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d as l}from"./p-B2HeWzUx.js";import{d}from"./p-BygBViit.js";import{d as i}from"./p-BZPBFs15.js";import{d as f}from"./p-DmRiznt_.js";import{d as n}from"./p-DvKyYKhJ.js";import{d as b}from"./p-C5zlJTUx.js";import{d as y}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d as u}from"./p-Ud7Qhkgt.js";import{d as h}from"./p-C3FORjes.js";import{d as p}from"./p-476P3lCN.js";import{d as k}from"./p-lxR7rA3k.js";import{d as v}from"./p-DuVAEZcg.js";import{d as j}from"./p-D83NzhAZ.js";import{d as g}from"./p-BhLDGQhC.js";import{d as x}from"./p-BJ1QHaKC.js";import{d as E}from"./p-CWqwLjht.js";import{d as w}from"./p-Cw6jE38W.js";import{d as D}from"./p-BQKG49PI.js";import{d as S}from"./p-C9W3k6wS.js";import{d as C}from"./p-BApNLqiy.js";import{d as z}from"./p-DuAHxRQq.js";import{d as B}from"./p-Dn5brtiA.js";import{d as A}from"./p-5IpBMfCQ.js";import{d as L}from"./p-BmIb4zsg.js";import{d as I}from"./p-DlfphBOA.js";import{d as M}from"./p-DP2lfWFG.js";import{d as N}from"./p-B5HCjRvr.js";import{d as Q}from"./p-C0oU5Cfy.js";import{d as R}from"./p-B7tRoQDk.js";import{d as H}from"./p-BQwTK156.js";import{d as K}from"./p-DxpX6YuH.js";import{d as F}from"./p-GOrXJdjK.js";import{d as J}from"./p-B3b5oz3b.js";import{d as Z}from"./p-fnKrPnzp.js";import{d as q}from"./p-Bpc6uh0M.js";import{d as G}from"./p-kRSq8qa0.js";import{d as P}from"./p-2Y5tLcQ1.js";import{d as U}from"./p-DqGZ9Vzy.js";const O=()=>`.sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo{display:flex}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo smoothly-input.sc-smoothly-input-demo{flex:1}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{max-width:min(calc(100% - 2rem), 56rem);margin:auto}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-grow:1;min-width:min(100%, var(--smoothly-form-input-min-width, 18rem));flex-basis:40%}`;const T=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyUrlUpdate=o(this,"smoothlyUrlUpdate");this.duration={hours:8};this.alphanumeric="!@##";this.numbers=[1,2,3,4,5,6,7,8,9]}render(){return a(s,{key:"0610dea0130909d255f6dcbf7f798521cb18fc4e"},a("smoothly-input-demo-standard",{key:"e74b371f701b9371972b5428efb0ea4edea9244c"}),a("smoothly-input-date-demo",{key:"c989f6853579a9ba68c6f57e2e6381c121ff091c"}),a("smoothly-input-demo-user-input",{key:"67189969e7eeb85c53fa6485cc4bc1c6f8810d3c"}),a("smoothly-input-demo-radio",{key:"d277353814df2808ab955df71df8dd79a14e3b09"}),a("div",{key:"69864f1761f23e2d9fe5003d1a28895195587f23",class:"inputs"},a("h2",{key:"9e43ab4414d38f5e7d6ed559293a364700e4e3ff"},"Calendar"),a("smoothly-input-date",{key:"3cc461eaf51348c11e76a541f4e89c7727d49006",name:"some-date"},"Calendar"),a("smoothly-input-date-time",{key:"331225ff58737c6cd60986d47935cf906f143d02",name:"someDateTime",value:m.DateTime.now()},"DateTime"),a("h2",{key:"7e7535017eb1d6a683df758a4d017dc7cb1fccc3"},"Date Range"),a("smoothly-input-date-range",{key:"fad6725321923c5821fe74add6cef73a560c2496",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-01",max:"2025-01-31"}),a("smoothly-input-date-range",{key:"21d5f9edc259b904554d64c234e8268184db9c78",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2024-12-30"},a("smoothly-input-reset",{key:"d08635584ffc2cf923f93304701d5ae0130dcd57",slot:"end",size:"icon"})),a("smoothly-input-date-range",{key:"46c5c5ca642f983a7d4956c83385ab25046044e7",looks:"grid",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2025-12-30",showLabel:false,style:{"--smoothly-input-border-radius":"0.5rem"}},a("smoothly-input-clear",{key:"3465328594f446fbbe97cdb87adb806f057a4041",slot:"end",size:"icon"})),a("h2",{key:"e2a08b76ba392d10beb4eb95d8363620f07b53e4"},"Date"),a("smoothly-input-date",{key:"fbc0b53f5e576341027a9d0199e0a369cab1ed15"},"Date"),a("smoothly-input-date",{key:"b5ead1c49120a42e63e310361c29d31eabbcff60",showLabel:false,value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),a("smoothly-input-date",{key:"18fab78a08e80b35d930d40be27c5f2863beaba1",value:"2021-10-28"},"Date",a("smoothly-input-reset",{key:"ab9470f9a44be6a115ff89db7c50f631362cecae",slot:"end",size:"icon"})),a("smoothly-input-date",{key:"61aa9be4f7193617ecc89d5250f9c97f30742c35",value:"2021-10-28"},"Date",a("smoothly-input-clear",{key:"9ab5d2a554d2123360afdac3c266ac79c6035d36",slot:"end",size:"icon"})),a("h2",{key:"ed8c37111142696858c0eac29661406ae2cd9f55"},"Select"),a("div",{key:"9ae174d2d4a332de3ad770450464569378f05bdb",class:"select-div"},a("smoothly-input-select",{key:"34f6a893981c3c8dc6703256a9f2c3089cf4ff25",name:"select-dessert",looks:"border"},a("label",{key:"7198f30b4aa7cb91377cb72ef16cb7dca79d00ff",slot:"label"},"Select with clear button"),a("smoothly-item",{key:"b85cb7fb77fe50cd6a42d0a6c38020dcfb2166ed",value:"1"},"Ice cream"),a("smoothly-item",{key:"de464d05e6cdffe4b578e5708d1e9e33376a0521",value:"2"},"Sponge cake"),a("smoothly-item",{key:"553b7ecd797f0e55def5b6c460440d8286755f4c",value:"3",disabled:true},"Disabled Item"),a("smoothly-item",{key:"3b4349b0785cd4440611499c23f082961541a91a",value:"4"},"Cookie"),a("smoothly-item",{key:"a5638b6d6424c31cb1d26cecb42cfeb1004e7674",value:"5"},"Croissant"),a("smoothly-item",{key:"015c157d486120f18de97fae45e36b9e0b0ef863",value:"6"},"Chocolate fondue"),a("smoothly-input-clear",{key:"b16c9fd651670b3808643e57043198550e3a1103",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"277ad384d61f6a4ce7fb849d90a7e2437f105841",multiple:true,name:"select-dessert-multiple",looks:"border"},a("label",{key:"bcd5acb1903599e959821fc91f6aaf60ad0bb5b9",slot:"label"},"Select multiple with reset button"),a("smoothly-item",{key:"3e5c1545a14684d153a252fba8060965f63b6c46",value:"ice cream"},"Ice cream"),a("smoothly-item",{key:"155d20eda1c0ed2816a7bac67d54b2e55a7a101a",value:"sponge cake"},"Sponge cake"),a("smoothly-item",{key:"cdf81df5d54168f33c679918e7f3440f0f8d5da3",selected:true,value:"cookie"},"Cookie"),a("smoothly-item",{key:"ee8b1f2e292c76d0b5f1ea73501d56ed7c5c748c",value:"croissant"},"Croissant"),a("smoothly-item",{key:"ea635dbcfc236dec09da467db23e37b18fc8953a",selected:true,value:"chocolate fondue"},"Chocolate fondue"),a("smoothly-input-reset",{key:"de1bad5de86767304a5244812506166ac09ef395",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"a606780ffc3288ff2c3963c63d1e67922e27eb03",name:"spirit-animals",looks:"border",mutable:true},a("label",{key:"12d7b79350e82d58eab979ae139ba1895e6d60e8",slot:"label"},"Select or add new options"),a("smoothly-item",{key:"b9c3dfe20a6df2409ef1e350bf6491284a583d5b",value:"manatee"},"Manatee"),a("smoothly-item",{key:"609d4f74ac6f9b7b3de0d6cf8239e357e273be3f",selected:true,value:"cthulu"},"Cthulu")),a("smoothly-input-select",{key:"02c55364f84130fbe531450518a9f14c01d093eb",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"838cb077ef888a9474f387f3e103d1fe5a7446bf",value:"folder",selected:true},a("smoothly-icon",{key:"b25142bf3ef747ac3b0efce4e5b0570da8fe3fdf",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"230ece62e3958643281636ba4185118102394ce8",value:"camera"},a("smoothly-icon",{key:"2388323ed7eb30ca002c1fdb0a5b3c39e11b5da2",size:"small",name:"camera-outline"}))),a("smoothly-input-select",{key:"39a9cf873e9f7d93b05de669efa66d38f2f23ab6",ordered:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"9789169a41dfb9e3162112e23caffbfe5b6daeea",slot:"label"},"Alphabet ordered select"),Array.from({length:26}).map(((e,t)=>String.fromCharCode(t+65))).map((e=>a("smoothly-item",{value:e,selected:e=="H"},e)))),a("smoothly-input-select",{key:"f387c1c723590cc0af87d9a1fd57d459c1cc73f6",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"a5db731994586ad163c1077afe56a23f8645654a",slot:"label"},"Month multiple select"),a("smoothly-item",{key:"f1f9ee3d60d71883b4dd1b4aea488f2c22cde1d5",value:"1"},"January"),a("smoothly-item",{key:"a4432cbbf045646fdb7c5481edd5a4dc647e714e",value:"2"},"February"),a("smoothly-item",{key:"5004b0e7acb2fca29c26f563933f66a141a87a21",value:"3"},"March"),a("smoothly-item",{key:"f9085fa0f5ac2bdc308a6e6eb5f76d060179adac",value:"4"},"April"),a("smoothly-item",{key:"45c828dcd5f36bcb4624860f11ffe970ecfe3021",value:"5"},"May"),a("smoothly-item",{key:"6dcc18a959124619842d5a7bd68b38b507ecbb80",value:"6"},"June"),a("smoothly-item",{key:"cd1b161f2f13dfe661b2d3363e3b20647c4ec3ca",value:"7"},"July"),a("smoothly-item",{key:"a5ae41fa7eed339f47f69aad3681eae4579e0efe",value:"8"},"August"),a("smoothly-item",{key:"0016e486b487603da72487e53031739b85dc5318",value:"9"},"September"),a("smoothly-item",{key:"f1c6ed5593caa14259f74be4c8b3be20386e54cf",value:"10"},"October"),a("smoothly-item",{key:"f636538a7669567ff285e74a4c2de398546108ec",value:"11"},"November"),a("smoothly-item",{key:"0a83028ce8f962d1b8d501041aad0a288a5829c5",value:"12"},"December")),a("div",{key:"e16c4ae44a81885c288ca235fc56e53d08b3253f",class:"select-div-row"},a("smoothly-input-select",{key:"a399d1152444fff42ea7b37ca41824a6ecf63d81",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"af648a4bb5f15488197c34a752e282bd60cf79a3",value:"folder",selected:true},a("smoothly-icon",{key:"16d8cdf17dbf67544d10c06d8f599dd30b87cb61",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"39012cd32fa3bcecb1cc012160048d6817a94c5c",value:"camera"},a("smoothly-icon",{key:"a51166743064c08c1e9509fea17b60fde3f39556",size:"small",name:"camera-outline"})),a("smoothly-item",{key:"5b13f14afbbf764ad387c34db65f48335c8e5ff8",value:"boat"},a("smoothly-icon",{key:"855facc3a62046b5b3b4ff29f0d5226d2aff1c55",size:"small",name:"boat-outline"}))),a("smoothly-input-select",{key:"cc1e08d1120f45c8143ae6f28cbdbad769785e58",name:"select-number",clearable:false},this.numbers.map((e=>a("smoothly-item",{value:"number",selected:e===3},e)))),a("smoothly-input",{key:"f12155b6e15ef36745915628c1ffc34a2c277bcd",name:"name",value:"Sten Qvist"},"Name"))),a("h2",{key:"32733265cff202c69112ac37afbbe51e9ee16b13"},"Duration"),a("smoothly-input",{key:"1c359b65c54c00a291d4ab2fca662ae0823545be",name:"duration",type:"duration",placeholder:"hh:mm",value:this.duration,onSmoothlyInput:e=>this.duration=e.detail.duration},"Duration"),a("smoothly-input",{key:"b50a7ea8c22c140a5d1b81eb197caa88d79ff4cc",name:"duration",type:"duration",value:this.duration,placeholder:"-hh:mm",onSmoothlyInput:e=>{const t=e.detail.duration;this.duration=t}},"Duration"),a("h2",{key:"9bf848b3aeb2d99264b20270c030daf0a2e4538c"},"Integer with Min/Max"),a("smoothly-input",{key:"ef9a50d998c97e0ee62ce7521a47d9116596f594",name:"days",type:"integer",min:0,max:365},"Days per year (0-365)"),a("smoothly-input",{key:"3fc4295acaaabe23a12e6e9fd192371d137e2ebd",name:"hour",type:"integer",min:0,max:23},"Hours per day (0-23)"),a("smoothly-input",{key:"e3e23c2ff05c311d1d62b86d9de0e333aaf38d16",name:"minute",type:"integer",min:0,max:59},"Minutes per hour (0-59)"),a("smoothly-input",{key:"a92c74f2b45cc1df86589e62e97b87c8a7060351",name:"minute",type:"integer",min:18,max:120},"Age (18-120)"),a("h2",{key:"05151b343a921085863acb3cc263fb4775fc1326"},"Invalid text with warning icon and tooltip"),a("smoothly-input",{key:"433ed8e5372266ef59393311c0dde265b79efb36",copyable:true,name:"alphanumeric",invalid:!/^[a-zA-Z0-9]+$/.test(this.alphanumeric),errorMessage:"Only alphanumeric allowed",value:this.alphanumeric,onSmoothlyInput:e=>this.alphanumeric=e.detail.alphanumeric},"Alphanumeric"),a("h2",{key:"b5e460972d07d70a04099e129f4b11706ee6ea58"},"Identifiers"),a("smoothly-input",{key:"d059d3ecee65ec385e40d11bad328bde8be89246",type:"identifier-code"},"Code"),a("smoothly-input",{key:"669bda44ce4115dc276335a9566cd433ccc992c4",type:"identifier-attribute"},"Attribute"),a("smoothly-input",{key:"a775035df9b192896c2ce7f1beebe6e904c1d42d",type:"identifier-snake"},"Snake"),a("smoothly-input",{key:"359285e474ea704c36e73984c35e4ae245c47a00",type:"identifier-pascal"},"Pascal"),a("smoothly-input",{key:"f1a36423248b413cd20749f738fe12a8eeacae15",type:"identifier-camel"},"Camel"),a("h2",{key:"2f6beac2f107dd3dc34a537e5b47f13d76206a07"},"Input Alternatives"),a("smoothly-input",{key:"74cfbe969295b7cb9e02af90b126d9bdb60168cc",type:"text",name:"name.last"},a("smoothly-icon",{key:"34e749e71f3d9976f2b71e57dd8644d53872aa35",name:"checkmark-circle",slot:"start"}),"First Name"),a("smoothly-input",{key:"61f44e09ab53cf0cf061007d3cf8426722e53312",type:"text",name:"name.first"},"Last Name",a("smoothly-icon",{key:"55adb72f7485eb5f2235516c9d2839feae927ad7",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"642a573bebe0e805fd7d178dfc8befe7e77bba15",type:"text",name:"name.first",placeholder:"Smith"},"Last Name",a("smoothly-icon",{key:"5bcfe9a74e7ec780fee1764933bd37f82b36495d",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"cd5b1bbd73247cfb21b6ff99a56c0989ec7f3239",placeholder:"test"}),a("smoothly-input-submit",{key:"02c46969366444af0882851f2f3a0cd80f1b61c3",slot:"submit",fill:"solid",onSubmit:e=>alert(e),color:"success"}),a("h4",{key:"3bc94eda5050b71ec193fda5600d76b5341b71d5"},"Smoothly checkboxes"),a("div",{key:"165dd5a0d8e539c3d9fdbebf49ded093589acea7",class:"checkbox-group"},a("smoothly-input-checkbox",{key:"17c781cdca9adf265d7418ca27ace984f0b70499",disabled:true,name:"first-checkbox"},a("smoothly-icon",{key:"413a357d61374d72ae7be41bca5a7360b105e9e0",name:"checkmark-circle",slot:"start",size:"tiny"}),"First"),a("smoothly-input-checkbox",{key:"81ad9a572cb4e01b86ca1a189d4ce027c81d588b",name:"second-checkbox",checked:true},a("smoothly-icon",{key:"a34d9d7860461de0a508e8f36ab3e89627475777",name:"checkmark-circle",slot:"start",size:"tiny"}),"second",a("smoothly-input-clear",{key:"fc64656864d9c68ef8f8ee42868af8f6d27ff217",size:"icon",slot:"end"})),a("smoothly-input-checkbox",{key:"8d1461bc9cc61eb79488162501232355e27bb992",name:"third-checkbox"},"3rd")),a("h4",{key:"0eca64c7ae21e4f915e7f146d36662983f5c3759"},"Smoothly Radio Buttons"),a("smoothly-input-radio",{key:"7677ce8ca260453a84a650fcced18a6592acc6a7",clearable:true,name:"radioFirstInput"},a("smoothly-icon",{key:"fd28ffad9dc1a32efb02131873f238c54fcb63e2",name:"checkmark-circle",slot:"start"}),a("label",{key:"63d92632a2ef4832fd863f55991480e1ec58fbae",slot:"label"},"Clearable"),a("smoothly-input-radio-item",{key:"a3e81d19c74fc5de2d25e44afb686793807025d5",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"5a4118fd0fb1b24e7a3e957c6186a94caf6c3160",selected:true,value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"beb9d9bfec1ebd2bd268b3c94fde2f23ee77b31b",value:"third"},"Label 3"),a("smoothly-input-clear",{key:"91ff12f5c8d3911b662a4774e3d8887742de6b42",size:"icon",slot:"end"})),a("smoothly-input-radio",{key:"5e708295015296538d73936026d36e5badc6f805",name:"radioSecondInput"},a("label",{key:"8ffb6b2f623f8e16a19d6b9d83b93b28d9fe2637",slot:"label"},"Not clearable"),a("smoothly-input-radio-item",{key:"a5cf624fceafa16030eab1e9050cd3cac2c985f1",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"66ab2a39eb130a221dea6cc77beecb0c221cecf5",value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"44792e09a3cfff26ec11c364e842db24f1eb10f2",value:"third"},"Label 3"),a("smoothly-input-radio-item",{key:"78b2689f9c52960b2901431b22c7f7faec8605ae",value:"fourth"},"Label 4"),a("smoothly-input-radio-item",{key:"fb6757b00011d410ffcf1cad4dcdfe1c586ca24a",value:"fifth"},"Label 5"),a("smoothly-input-radio-item",{key:"dcd365bfd3792cab31ede99aa43edf5d41d8af9e",value:"sixth"},"Label 6")),a("smoothly-input-range-demo",{key:"c231fb7b9c6d28546b4d13c87ef3a900b33191ca"}),a("smoothly-input-color-demo",{key:"540d7e3d4ec89f99ec6c67d725468e050ec0a183"}),a("smoothly-input-price-demo",{key:"eb8164f02728a0ee68e10ecb949c6b7f45d2fff2"}),a("smoothly-back-to-top",{key:"98cd43c5de35cfeea70b77434dac7907648c1b6e"})))}static get style(){return O()}},[2,"smoothly-input-demo",{duration:[32],alphanumeric:[32]}]);function W(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo","smoothly-back-to-top","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-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","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-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo":if(!customElements.get(c(e))){customElements.define(c(e),T)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){l()}break;case"smoothly-button":if(!customElements.get(c(e))){d()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){i()}break;case"smoothly-calendar":if(!customElements.get(c(e))){f()}break;case"smoothly-date-text":if(!customElements.get(c(e))){n()}break;case"smoothly-display":if(!customElements.get(c(e))){b()}break;case"smoothly-display-json":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){u()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){h()}break;case"smoothly-form":if(!customElements.get(c(e))){p()}break;case"smoothly-icon":if(!customElements.get(c(e))){k()}break;case"smoothly-input":if(!customElements.get(c(e))){v()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){j()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){g()}break;case"smoothly-input-color":if(!customElements.get(c(e))){x()}break;case"smoothly-input-color-demo":if(!customElements.get(c(e))){E()}break;case"smoothly-input-date":if(!customElements.get(c(e))){w()}break;case"smoothly-input-date-demo":if(!customElements.get(c(e))){D()}break;case"smoothly-input-date-range":if(!customElements.get(c(e))){S()}break;case"smoothly-input-date-time":if(!customElements.get(c(e))){C()}break;case"smoothly-input-demo-radio":if(!customElements.get(c(e))){z()}break;case"smoothly-input-demo-standard":if(!customElements.get(c(e))){B()}break;case"smoothly-input-demo-user-input":if(!customElements.get(c(e))){A()}break;case"smoothly-input-file":if(!customElements.get(c(e))){L()}break;case"smoothly-input-month":if(!customElements.get(c(e))){I()}break;case"smoothly-input-price-demo":if(!customElements.get(c(e))){M()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){N()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){Q()}break;case"smoothly-input-range":if(!customElements.get(c(e))){R()}break;case"smoothly-input-range-demo":if(!customElements.get(c(e))){H()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){K()}break;case"smoothly-input-select":if(!customElements.get(c(e))){F()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){J()}break;case"smoothly-item":if(!customElements.get(c(e))){Z()}break;case"smoothly-spinner":if(!customElements.get(c(e))){q()}break;case"smoothly-tab":if(!customElements.get(c(e))){G()}break;case"smoothly-tabs":if(!customElements.get(c(e))){P()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){U()}break}}))}W();export{T as S,W as d};
|
|
2
|
+
//# sourceMappingURL=p-X22HVbOR.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as t,c as s,h as o,d as r,t as n}from"./p-BsZrGTcp.js";import{d as c}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as t,c as s,h as o,d as r,t as n}from"./p-BsZrGTcp.js";import{d as c}from"./p-lxR7rA3k.js";const i=()=>`.sc-smoothly-burger-h{display:flex;justify-content:center;align-items:center;height:100%;cursor:pointer}.sc-smoothly-burger-h smoothly-icon.sc-smoothly-burger{--smoothly-icon-size:3rem;margin-right:1em}.sc-smoothly-burger-h:not([open]) smoothly-icon.sc-smoothly-burger{transform:rotate(0deg);transition:transform 100ms ease-in-out}[open].sc-smoothly-burger-h smoothly-icon.sc-smoothly-burger{transform:rotate(-90deg);transition:transform 100ms ease-in-out}`;const m=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyNavStatus=s(this,"smoothlyNavStatus");this.open=false}openChanged(){this.smoothlyNavStatus.emit(this.open)}clickHandler(){this.open=!this.open}render(){return o(r,{key:"707b857b83fc245e0279bda323904ee1cc8e85ee"},o("smoothly-icon",{key:"f514b6a05f9feaab4f13cf46778993c3106697e3",name:"menu"}))}get element(){return this}static get watchers(){return{open:[{openChanged:0}]}}static get style(){return i()}},[2,"smoothly-burger",{open:[1540]},[[0,"click","clickHandler"]],{open:[{openChanged:0}]}]);function a(){if(typeof customElements==="undefined"){return}const e=["smoothly-burger","smoothly-icon"];e.forEach((e=>{switch(e){case"smoothly-burger":if(!customElements.get(n(e))){customElements.define(n(e),m)}break;case"smoothly-icon":if(!customElements.get(n(e))){c()}break}}))}a();export{m as S,a as d};
|
|
2
|
+
//# sourceMappingURL=p-Z0pkj6lv.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as o,h as t,d as a,t as s}from"./p-BsZrGTcp.js";import{d as m}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as o,h as t,d as a,t as s}from"./p-BsZrGTcp.js";import{d as m}from"./p-BygBViit.js";import{d as l}from"./p-BZPBFs15.js";import{d as c}from"./p-C5zlJTUx.js";import{d as i}from"./p-CR3Ni_o7.js";import{d as f}from"./p-B-l1S16Z.js";import{d}from"./p-Ud7Qhkgt.js";import{d as r}from"./p-C3FORjes.js";import{d as n}from"./p-476P3lCN.js";import{d as b}from"./p-lxR7rA3k.js";import{d as y}from"./p-DuVAEZcg.js";import{d as p}from"./p-D83NzhAZ.js";import{d as u}from"./p-BhLDGQhC.js";import{d as h}from"./p-BJ1QHaKC.js";import{d as k}from"./p-DVb0lxbZ.js";import{d as j}from"./p-BmIb4zsg.js";import{d as g}from"./p-B5HCjRvr.js";import{d as E}from"./p-C0oU5Cfy.js";import{d as v}from"./p-B7tRoQDk.js";import{d as x}from"./p-DxpX6YuH.js";import{d as z}from"./p-GOrXJdjK.js";import{d as C}from"./p-B3b5oz3b.js";import{d as B}from"./p-fnKrPnzp.js";import{d as P}from"./p-Bpc6uh0M.js";import{d as D}from"./p-DqGZ9Vzy.js";const A=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(a,{key:"26d8859a979a266ef04c3bb1fc37d43b7eb9eb02"},t("h2",{key:"dd96fffed9ca4ab9aa7a4d7c3b1ecd01ff354258"},"All inputs"),t("smoothly-form",{key:"3f87a50316c1ee79f0c302f41e658f0c62145af3",looks:"grid",type:"create",readonly:true,action:"https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4",onSmoothlyFormSubmit:e=>{Object.entries(e.detail.value).forEach((([e,o])=>console.log(e,o)))}},t("smoothly-input",{key:"80413fc035c38ec456921554da4ad0710f240ec2",readonly:true,name:"First Name",value:"John"},"First name"),t("smoothly-input",{key:"9a05f6d391da8353b44e1f6d9497daa50b743373",showLabel:false,name:"Last name",value:"Doe"},"Last name",t("smoothly-input-clear",{key:"d84f796d222470385097527e85a8a00fe054df87",size:"icon",slot:"end"})),t("smoothly-input",{key:"2701ab2d4dcba753fae952f20870b1c481393b3b",type:"phone",name:"Phone",value:"777888999"},"Phone",t("smoothly-input-reset",{key:"667c5a1b5985b222785f1bb60f74c76a95e07d6b",size:"icon",slot:"end"})),t("smoothly-input-radio",{key:"30b8830f31e272e8701115e7849ac8f4cf623a30",clearable:true,name:"radioFirstInput"},t("label",{key:"784cacf4d835eb4989c07e836808704ed25de96c",slot:"label"},"Clearable"),t("smoothly-input-radio-item",{key:"c8ed8ee4bec740a9dcea2f381b6eed3045726638",value:"first"},"Label 1"),t("smoothly-input-radio-item",{key:"936678767e2b83845e54fb0eaa116a5de111ae1c",selected:true,value:"second"},"Label 2"),t("smoothly-input-radio-item",{key:"15135664da662bafb7b2a6105086c67346e09bd4",value:"third"},"Label 3")),t("smoothly-input-color",{key:"f021a72c05dbf64358c33476b13954a6de8fc690",name:"color"},"Color"),t("smoothly-input-select",{key:"73a13398b6a3ea07fe3801bf6e8c1e2990fcf579",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},t("label",{key:"70b07064df546094f42653d09020e44e147f3c4f",slot:"label"},"Month multiple select"),t("smoothly-item",{key:"69ac138a4b2c5c2b13a1120c56defe5af15757ac",value:"1"},"January"),t("smoothly-item",{key:"42b673e3da28c9694dceecec4b9363d23e2df256",value:"2"},"February"),t("smoothly-item",{key:"d77be546fff12aec5d24c5842acfff45e47b84af",value:"3"},"March"),t("smoothly-item",{key:"f3439c6da3efab944e5621c6b553cea248e8b903",value:"4"},"April"),t("smoothly-item",{key:"bc2bd414c62217c0c77bbd81ab047b989d92d116",value:"5"},"May"),t("smoothly-item",{key:"a76d3d4079774b087ea6e5332269d7ca18517a98",value:"6"},"June"),t("smoothly-item",{key:"325023552ef5f72e80498b240a28854d924aa62e",value:"7"},"July"),t("smoothly-item",{key:"a565da7502901f6f1264ffb1ceb18a1a2b90f4ba",value:"8"},"August"),t("smoothly-item",{key:"a65416ddab3bc75c8a471a070a20091a564fa554",value:"9"},"September"),t("smoothly-item",{key:"ec61990c57155a52b80f057474a61c386d0b9a53",value:"10"},"October"),t("smoothly-item",{key:"2aee5e3e54a18654df0657bf5915e57e8ec21fff",value:"11"},"November"),t("smoothly-item",{key:"48931868850a9d640e92ad8c1533d20118382a85",value:"12"},"December")),t("smoothly-input-select",{key:"60a31db453287a4fe94eb6f70c493e92f9d14585",name:"select-icon",clearable:false,showSelected:false},t("smoothly-item",{key:"df690c551ae8250a1f4d31f1b915029c6d7c5734",value:"folder",selected:true},t("smoothly-icon",{key:"291f79a3573eaffce90bc9e8ea15f952029af89e",size:"small",name:"folder-outline"})),t("smoothly-item",{key:"bdc8cff7786d6e08368f0561045180e169c85e3d",value:"camera"},t("smoothly-icon",{key:"7aa0eff29200aa015782bd0e46ac46d11db51c10",size:"small",name:"camera-outline"}))),t("smoothly-input-checkbox",{key:"17bd997576aac246bc1cb9fa3490ae930a176a1a",name:"checkbox"},"Check the box"),t("smoothly-input-checkbox",{key:"a4350c47d2b7c2521f78ddc66b0c46392e9174fc",name:"checkbox2",checked:true},"Check the box 2"),t("smoothly-input-range",{key:"34c0a3695fda6f5c244febfe1ef0601fe8aad3e8",step:1,name:"range3",value:20,label:"Range"}),t("smoothly-input",{key:"4dad37c0545770b7a4e121ff059bd3ef6fcf1b0c",name:"pets.0.name"},"First Pet's Name"),t("smoothly-input-range",{key:"6dc2ab3e61d071eba1ba37b6bfa9d69cddf163ba",name:"pets.0.age",max:100,step:1,label:"First Pet's Age"}),t("smoothly-input",{key:"4f3c9643f4458da009f4abc44f4aa3bfed0b45c5",name:"pets.1.name"},"Second Pet's Name"),t("smoothly-input-range",{key:"46d4a4160d3052e23c3c4404dbe79bb28afad4a5",name:"pets.1.age",max:100,step:1,label:"Second Pet's Age"}),t("smoothly-input",{key:"31c35b9176a80e7ee6d5c3fea1800f9f4ef6e9a6",name:"pets.2.name"},"Third Pet's Name"),t("smoothly-input-range",{key:"a896c737e2109950144e1a3f2efa9210fba9c3c0",name:"pets.2.age",max:100,step:1,label:"Third Pet's Age"}),t("smoothly-input-file",{key:"01de90a10782f288c4d4fb4517275a7274b4dc92",name:"profile",placeholder:"Click or drag your profile picture here..."},t("span",{key:"5b7e453a366a439e2a97998f2eec3299bdb4eb25",slot:"label"},"Profile"),t("smoothly-icon",{key:"53aa8eda968297d191c0afea3c11934f9c203377",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),t("smoothly-input",{key:"0825ce082e0c19387407d1d1de148f8d76b48757",type:"duration",name:"duration",value:{}},"Duration"),t("smoothly-input-clear",{key:"9c7b8c2a145e5132a3b76cc9978e00683ab50759",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),t("smoothly-input-edit",{key:"6dc5f9607c6d81f53b87f850c22617c7bedc0e82",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),t("smoothly-input-reset",{key:"743cb42c1bdc976361e47a61b2b2964cc6f9604c",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"3d6cc6c98ef08841aadd30acf363964ad5c355af",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"f3f671351e1b356ce6c1dea41f14bc54535e076e",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}},[2,"smoothly-form-demo-all"]);function F(){if(typeof customElements==="undefined"){return}const e=["smoothly-form-demo-all","smoothly-button","smoothly-button-confirm","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-edit","smoothly-input-file","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-form-demo-all":if(!customElements.get(s(e))){customElements.define(s(e),A)}break;case"smoothly-button":if(!customElements.get(s(e))){m()}break;case"smoothly-button-confirm":if(!customElements.get(s(e))){l()}break;case"smoothly-display":if(!customElements.get(s(e))){c()}break;case"smoothly-display-json":if(!customElements.get(s(e))){i()}break;case"smoothly-display-json-object":if(!customElements.get(s(e))){f()}break;case"smoothly-display-json-primitive":if(!customElements.get(s(e))){d()}break;case"smoothly-display-json-record-key":if(!customElements.get(s(e))){r()}break;case"smoothly-form":if(!customElements.get(s(e))){n()}break;case"smoothly-icon":if(!customElements.get(s(e))){b()}break;case"smoothly-input":if(!customElements.get(s(e))){y()}break;case"smoothly-input-checkbox":if(!customElements.get(s(e))){p()}break;case"smoothly-input-clear":if(!customElements.get(s(e))){u()}break;case"smoothly-input-color":if(!customElements.get(s(e))){h()}break;case"smoothly-input-edit":if(!customElements.get(s(e))){k()}break;case"smoothly-input-file":if(!customElements.get(s(e))){j()}break;case"smoothly-input-radio":if(!customElements.get(s(e))){g()}break;case"smoothly-input-radio-item":if(!customElements.get(s(e))){E()}break;case"smoothly-input-range":if(!customElements.get(s(e))){v()}break;case"smoothly-input-reset":if(!customElements.get(s(e))){x()}break;case"smoothly-input-select":if(!customElements.get(s(e))){z()}break;case"smoothly-input-submit":if(!customElements.get(s(e))){C()}break;case"smoothly-item":if(!customElements.get(s(e))){B()}break;case"smoothly-spinner":if(!customElements.get(s(e))){P()}break;case"smoothly-toggle-switch":if(!customElements.get(s(e))){D()}break}}))}F();export{A as S,F as d};
|
|
2
|
+
//# sourceMappingURL=p-diHpl72F.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{T as s,o as t,b as i}from"./p-Dr7iZPxA.js";import{i as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{T as s,o as t,b as i}from"./p-Dr7iZPxA.js";import{i as e}from"./p-Br0kWrBT.js";function a(s){return new n("any")}class n extends s{class="any";is=s=>s!=undefined}class r{constructor(s){this.parent=s;this.callbacks=[]}async subscribe(s){this.callbacks.push(s);await s(this.parent)}async publish(){Promise.all(this.callbacks.map((s=>s(this.parent))))}static create(s){return new r(s)}}var o;(function(s){s.Observer=r;let n;(function(s){s.type=t({edit:e(),readonly:i(),listen:e(),reset:e(),setInitialValue:e()});s.is=s.type.is})(n=s.Element||(s.Element={}));const o=t({emit:e()});s.type=n.type.extend({isDifferentFromInitial:i(),value:a().optional(),smoothlyFormDisable:o});s.is=s.type.is})(o||(o={}));export{o as E,a};
|
|
2
|
+
//# sourceMappingURL=p-iQDU7l2c.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,c as s,h as a,d as e,t as i}from"./p-BsZrGTcp.js";import{I as l}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,c as s,h as a,d as e,t as i}from"./p-BsZrGTcp.js";import{I as l}from"./p-476P3lCN.js";const r=()=>`.sc-smoothly-tab-h{display:contents;--smoothly-tab-line-width:2px;--smoothly-tab-line-width-active:5px}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{grid-column:span 1;background-color:transparent;border-bottom-color:rgb(var(--smoothly-default-shade));border-bottom-width:var(--smoothly-tab-line-width);border-bottom-style:solid}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{color:rgba(var(--smoothly-default-contrast), 0.6)}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{cursor:not-allowed}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{display:flex;justify-content:center;padding:0.5rem 1rem;width:fit-content;border-radius:0.5rem 0.5rem 0 0;margin:auto;cursor:pointer;position:relative}.sc-smoothly-tab-h:not([disabled])>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab:hover{background-color:rgb(var(--smoothly-tab-hover-background, var(--smoothly-default-shade)))}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{font-weight:bold}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab::before{content:'';position:absolute;height:var(--smoothly-tab-line-width-active);background-color:rgb(var(--smoothly-tab-active-line, var(--smoothly-primary-color)));inset-inline:0;bottom:calc(-1 * var(--smoothly-tab-line-width))}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label[data-smoothly-tooltip].sc-smoothly-tab:hover::after{content:attr(data-smoothly-tooltip);font-size:0.9rem;position:absolute;top:calc(100% + 0.25rem);padding:0.5rem 0.75rem;border-radius:0.5rem;background-color:rgb(var(--smoothly-medium-color));color:rgb(var(--smoothly-medium-contrast));white-space:nowrap;z-index:1}.sc-smoothly-tab-h>div.sc-smoothly-tab:nth-child(2){grid-row:2 / 3;grid-column:1 / -1}`;const c=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyTabOpen=s(this,"smoothlyTabOpen");this.smoothlyTabLoad=s(this,"smoothlyTabLoad");this.inputs={}}async openHandler(){if(this.open){this.smoothlyTabOpen.emit(this.name)}this.open?await Promise.all(Object.values(this.inputs).map((t=>t.register()))):await Promise.all(Object.values(this.inputs).map((t=>t.unregister())))}connectedCallback(){this.smoothlyTabLoad.emit((t=>{var o;(o=this.smoothlyTabs)===null||o===void 0?void 0:o.removeTab(this.element);this.smoothlyTabs=t}))}disconnectedCallback(){var t;(t=this.smoothlyTabs)===null||t===void 0?void 0:t.removeTab(this.element)}async componentDidLoad(){await this.openHandler()}onInputLoad(t){if(l.Element.is(t.target)){this.inputs[t.target.name]=t.target;if(!this.open){t.stopPropagation()}}}render(){return a(e,{key:"dd61170ab95f4c9ceaca14bea3f9a232960a6d9d"},a("div",{key:"cfc1188d6c8c405c46a234ad9ac98eb81fd65ec8",onClick:()=>!this.disabled&&(this.open=true)},a("label",{key:"25b8c5b4de124f5e597a524aa086a54f3f65ba56","data-smoothly-tooltip":this.tooltip},this.label)),a("div",{key:"d9931e625c2f70c92b8c6ac0efa66f28ae7f4d62",hidden:!this.open},a("slot",{key:"5811a6f791ceddbf1ef12a80913357fabbc53e5e"})))}get element(){return this}static get watchers(){return{open:[{openHandler:0}]}}static get style(){return r()}},[262,"smoothly-tab",{label:[1],name:[1],tooltip:[1],open:[1540],disabled:[516]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{open:[{openHandler:0}]}]);function h(){if(typeof customElements==="undefined"){return}const t=["smoothly-tab"];t.forEach((t=>{switch(t){case"smoothly-tab":if(!customElements.get(i(t))){customElements.define(i(t),c)}break}}))}h();export{c as S,h as d};
|
|
2
|
+
//# sourceMappingURL=p-kRSq8qa0.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,t as o,H as s,h as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,t as o,H as s,h as i,d as e}from"./p-BsZrGTcp.js";import{I as n}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";const r=()=>`[fill].sc-smoothly-icon-h{background:none}.sc-smoothly-icon-h{display:flex;flex-shrink:0;align-items:center;justify-content:center;box-sizing:content-box}[rotate].sc-smoothly-icon-h{--rotate:rotate(var(--rotation, 0deg));transform:var(--rotate)}[flip=x].sc-smoothly-icon-h{--flip:scaleX(-1);transform:var(--flip)}[flip=y].sc-smoothly-icon-h{--flip:scaleY(-1);transform:var(--flip)}[rotate][flip].sc-smoothly-icon-h{transform:var(--rotate)var(--flip)}[hidden].sc-smoothly-icon-h{display:none}[size=tiny].sc-smoothly-icon-h{--smoothly-icon-size:1.2rem}[size=small].sc-smoothly-icon-h{--smoothly-icon-size:1.4rem}[size=medium].sc-smoothly-icon-h{--smoothly-icon-size:1.8rem}[size=large].sc-smoothly-icon-h{--smoothly-icon-size:2.8rem}[size=xlarge].sc-smoothly-icon-h{--smoothly-icon-size:4rem}.sc-smoothly-icon-h{width:var(--smoothly-icon-size, 1.8rem);height:var(--smoothly-icon-size, 1.8rem)}.sc-smoothly-icon-h.sc-smoothly-icon-s>svg{width:100%}`;const l=t(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.fill="solid";this.name="empty"}async componentWillLoad(){await this.nameChanged()}async nameChanged(){if(this.name=="empty"){this.updateSvg();return}const t=this.latestPromise=n.load(this.name);const o=await t;if(t!=this.latestPromise){return}if(o){const t=this.sanitizeSvg(o);this.updateSvg(t)}}sanitizeSvg(t){const o=new DOMParser;const s=o.parseFromString(t,"image/svg+xml");const i=s.querySelector("svg");if(i){i.setAttribute("role","img");i.removeAttribute("width");i.removeAttribute("height")}return i!==null&&i!==void 0?i:undefined}updateSvg(t){t?this.element.replaceChildren(t):this.element.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\n\t\t\t\t\t<title>Empty</title>\n\t\t\t\t</svg>`}render(){var t;return i(e,{key:"ba28d8662ab4103ffc3708a291b72c179e9e1748",title:this.tooltip,style:{["--rotation"]:`${(t=this.rotate)!==null&&t!==void 0?t:0}deg`}})}get element(){return this}static get watchers(){return{tooltip:[{nameChanged:0}],name:[{nameChanged:0}]}}static get style(){return r()}},[2,"smoothly-icon",{color:[513],fill:[513],name:[513],size:[513],rotate:[514],flip:[513],tooltip:[1],latestPromise:[32]},undefined,{tooltip:[{nameChanged:0}],name:[{nameChanged:0}]}]);function c(){if(typeof customElements==="undefined"){return}const t=["smoothly-icon"];t.forEach((t=>{switch(t){case"smoothly-icon":if(!customElements.get(o(t))){customElements.define(o(t),l)}break}}))}c();export{l as S,c as d};
|
|
2
|
+
//# sourceMappingURL=p-lxR7rA3k.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as s,h as e,d as t,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as o,H as s,h as e,d as t,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-BygBViit.js";import{d as r}from"./p-BZPBFs15.js";import{d as c}from"./p-476P3lCN.js";import{d as n}from"./p-lxR7rA3k.js";import{d as i}from"./p-DuVAEZcg.js";import{d as l}from"./p-DxpX6YuH.js";import{d as f}from"./p-B3b5oz3b.js";import{d as p}from"./p-Bpc6uh0M.js";const u=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return e(t,{key:"a85b73dcf84b35975a7f8baac4cee7db4a96e070"},e("h2",{key:"fa5ab594ad42bbe9eb3c704803eef599da54feb8"},"Login"),e("smoothly-form",{key:"e6abe031a6d92a6d4bcd86c53b838140c4a74eaa",looks:"border"},e("smoothly-input",{key:"0850b34c15fd675bec5d759c836588d0dee63c7a",type:"text",name:"username"},"Username"),e("smoothly-input",{key:"c22698a31ccfe3df8ee6e582d271540ec2759a28",type:"password",name:"password"},"Password"),e("smoothly-input-reset",{key:"28a205519134187c020abd897f40a8ed4a29341f",slot:"reset",type:"form",size:"icon",color:"warning"}),e("smoothly-input-submit",{key:"ecc29e9c09754fb89a21d1050234d5624a5aa855",slot:"submit"})))}},[2,"smoothly-form-demo-login"]);function d(){if(typeof customElements==="undefined"){return}const o=["smoothly-form-demo-login","smoothly-button","smoothly-button-confirm","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-reset","smoothly-input-submit","smoothly-spinner"];o.forEach((o=>{switch(o){case"smoothly-form-demo-login":if(!customElements.get(m(o))){customElements.define(m(o),u)}break;case"smoothly-button":if(!customElements.get(m(o))){a()}break;case"smoothly-button-confirm":if(!customElements.get(m(o))){r()}break;case"smoothly-form":if(!customElements.get(m(o))){c()}break;case"smoothly-icon":if(!customElements.get(m(o))){n()}break;case"smoothly-input":if(!customElements.get(m(o))){i()}break;case"smoothly-input-reset":if(!customElements.get(m(o))){l()}break;case"smoothly-input-submit":if(!customElements.get(m(o))){f()}break;case"smoothly-spinner":if(!customElements.get(m(o))){p()}break}}))}d();export{u as S,d};
|
|
2
|
+
//# sourceMappingURL=p-neYuyhok.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as t,h as s,d as o,t as m}from"./p-BsZrGTcp.js";import{d as a}from"./p-BygBViit.js";import{d as c}from"./p-C5zlJTUx.js";import{d as l}from"./p-CR3Ni_o7.js";import{d as i}from"./p-B-l1S16Z.js";import{d}from"./p-Ud7Qhkgt.js";import{d as r}from"./p-C3FORjes.js";import{d as y}from"./p-lxR7rA3k.js";import{d as h}from"./p-GOrXJdjK.js";import{d as p}from"./p-fnKrPnzp.js";import{d as f}from"./p-BpV6GXd7.js";import{d as b}from"./p-BnYCDLp0.js";import{d as n}from"./p-D_uKY0yY.js";import{d as u}from"./p-z-IEAPIC.js";import{d as k}from"./p-BeaRYlDR.js";const j=()=>`.sc-smoothly-theme-demo-h{max-width:min(calc(100% - 2rem), 56rem);margin:auto;display:flex;flex-direction:column;gap:2em;margin-top:2em}.sc-smoothly-theme-demo-h>smoothly-theme-picker.sc-smoothly-theme-demo{width:20em}.sc-smoothly-theme-demo-h>div.sc-smoothly-theme-demo{display:flex;flex-direction:row;justify-content:space-between;gap:1rem}`;const x=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return s(o,{key:"259010889b682573bbfb69b7711dcf03f972b06f"},s("h2",{key:"fe4330363bc1b6322e015569a02662077907cca8"},"Theme"),s("smoothly-theme-picker",{key:"6df264adb5b90050418224f373e927dc33373d3f"},s("smoothly-item",{key:"ac79f3b604c3b6bffe8e1cd19e7b24b03960bf14",selected:true,value:"assets/style/smoothly.css"},"Smoothly"),s("smoothly-item",{key:"4ca9bad0897a7a216a56aa0db0004a6e14b6f272",value:"https://app.issuefab.com/assets/style/index.css"},"Issuefab"),s("smoothly-item",{key:"2e71be7455105d37aa039c6347e4aa24dab3c15a",value:"https://app.proquse.com/assets/style/index.css"},"Proquse"),s("smoothly-item",{key:"235223f83245bb7cc3455f2102237a8923c5cf22",value:"https://app.weekmeter.com/assets/style/index.css"},"Weekmeter"),s("smoothly-item",{key:"43153d498cde19b3a97ea93036be8dabb90c86d7",value:"https://test.dash.pax2pay.app/p2pdash.css"},"Pax2Pay Dashboard"),s("smoothly-item",{key:"e5e1e6079b7b20cfe8a62c5572f1fa48c6365a90",value:"https://ui.pax2pay.app/assets/style/pax2pay.css"},"Pax2Pay Portal"),s("smoothly-item",{key:"26b2f21f376a927f788771a32292d3fb13d7380e",value:"https://theme.payfunc.com/intergiro/index.css"},"Intergiro Monitor"),s("smoothly-item",{key:"c36d493ae4ba1b8152c3bb8f41b086b08437f600",value:"https://theme.payfunc.com/light/index.css"},"Payfunc Light"),s("smoothly-item",{key:"1dab38f02ffadd2e2160f99f6209f72e294ac874",value:"https://theme.payfunc.com/dark/index.css"},"Payfunc Dark")),s("div",{key:"f542097bfc16f9214244cfb7bcc1e2a2e31704e8"},s("smoothly-theme-colors",{key:"a363e1e7ba2164cd58bc1fa03d5b9d13c8e81c10"}),s("smoothly-theme-guide",{key:"bedcda407b6d30d538176e1c32112d455feddcfd"})),s("smoothly-button",{key:"aeb9185b1efeb83db2e4359b733c8bad207adb2b",type:"link",link:"/redirect"},"To redirect"),s("smoothly-button",{key:"761c81b4c4724e61a6d7bb96f44ef3d241b86ee1",type:"link",link:"/redirect"},"To /redirect"),s("smoothly-button",{key:"a45adb52d81652f71a997c9f1c81466822e3da4e",type:"link",link:new URL("/redirect",window.location.origin).href},'To new URL("redirect")'),s("smoothly-button",{key:"0ad5ce583e40ea790411d756bcc0d9ebb118452c",type:"link",link:"redirect/nested"},"To redirect nested"))}static get style(){return j()}},[2,"smoothly-theme-demo"]);function E(){if(typeof customElements==="undefined"){return}const e=["smoothly-theme-demo","smoothly-button","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-input-select","smoothly-item","smoothly-theme-color","smoothly-theme-color-variant","smoothly-theme-colors","smoothly-theme-guide","smoothly-theme-picker"];e.forEach((e=>{switch(e){case"smoothly-theme-demo":if(!customElements.get(m(e))){customElements.define(m(e),x)}break;case"smoothly-button":if(!customElements.get(m(e))){a()}break;case"smoothly-display":if(!customElements.get(m(e))){c()}break;case"smoothly-display-json":if(!customElements.get(m(e))){l()}break;case"smoothly-display-json-object":if(!customElements.get(m(e))){i()}break;case"smoothly-display-json-primitive":if(!customElements.get(m(e))){d()}break;case"smoothly-display-json-record-key":if(!customElements.get(m(e))){r()}break;case"smoothly-icon":if(!customElements.get(m(e))){y()}break;case"smoothly-input-select":if(!customElements.get(m(e))){h()}break;case"smoothly-item":if(!customElements.get(m(e))){p()}break;case"smoothly-theme-color":if(!customElements.get(m(e))){f()}break;case"smoothly-theme-color-variant":if(!customElements.get(m(e))){b()}break;case"smoothly-theme-colors":if(!customElements.get(m(e))){n()}break;case"smoothly-theme-guide":if(!customElements.get(m(e))){u()}break;case"smoothly-theme-picker":if(!customElements.get(m(e))){k()}break}}))}E();export{x as S,E as d};
|
|
2
|
+
//# sourceMappingURL=p-rKh5fDrR.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as o,h as a,d as t,t as c}from"./p-BsZrGTcp.js";import{d as l}from"./p-BoHJT9bR.js";import{d as s}from"./p-BHEtq3Ue.js";import{d}from"./p-DX3KKRD9.js";import{d as f}from"./p-d26Fb7IS.js";import{d as n}from"./p-DIhqNc1G.js";import{d as i}from"./p-BiQsRsV4.js";import{d as b}from"./p-Ww5QjB3D.js";import{d as m}from"./p-CrKwvG9J.js";import{d as r}from"./p-_o_lUhve.js";import{d as y}from"./p-BfwEfI7H.js";import{d as h}from"./p-nFLcvugJ.js";import{d as k}from"./p-CJEV2v84.js";import{d as u}from"./p-fnKrPnzp.js";import{d as p}from"./p-Bpc6uh0M.js";import{d as g}from"./p-dBpTpVs8.js";import{d as w}from"./p-DYNjCosy.js";const E=()=>`smoothly-button-demo{display:block;margin:1rem}smoothly-button-demo>section>div{display:flex;align-items:center}smoothly-button-demo smoothly-button{margin:.2em .5em}`;const z=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return a(t,{key:"533286a87d0525479bd2ee9e28e3b4f0a96d4028"},a("section",{key:"83c431cb9866c7e9ed66d000c45db12cba32a5c1"},a("smoothly-button-demo-standard",{key:"9be3c679df5dae790c20267466f0e59e7129e590"})),a("section",{key:"63c5a3497203d471629c514b4ad65062a65803e4"},a("h4",{key:"4aea5b53872940382d8955d747731846e293bb80"},"Confirm button (two clicks)"),a("div",{key:"0d06137cb8e7e2f0d27c7c9bcee216f6a582ff33"},a("smoothly-button-confirm",{key:"d10630d444951f251fd00100cbef18074e7d206b",name:"confirm",shape:"rounded",color:"danger",size:"large"},"Delete"),a("smoothly-button-confirm",{key:"c2b0cd87fe14786eaa690e51dd91ace6443aa3c4",name:"confirm-icon",shape:"rounded",color:"success",size:"icon"},a("smoothly-icon",{key:"fa26113fbfdaea0ee2c0b4723084a69b54d7804b",name:"checkmark-outline",size:"tiny"})),a("smoothly-button-confirm",{key:"cbceb8ffdeffeb6231bb4775a12aeca6599e7eb5",name:"confirm-icon",shape:"rounded",color:"danger",size:"icon",fill:"outline"},a("smoothly-icon",{key:"5bbbaeccd43ee1b930a73a2fa676345835f9646a",name:"trash-outline",size:"tiny",fill:"outline"}))),a("smoothly-toggle-switch-demo",{key:"1bd1095e2c679a2526d31987873334f51d175e85"}),a("h4",{key:"6d22aa735b0d7f16093b216086441d0d722a6421"},"Links with icons"),a("smoothly-button",{key:"7a9cf02c47b1ac104935336f57c07d9eacd865eb",type:"link"},a("smoothly-icon",{key:"fe0f7094ce66691d5e10ee2f5f6d65782a37a380",name:"checkmark-circle",slot:"start"}),"type link"),a("smoothly-button",{key:"723452282f7551547060378c9057d40e4f729be7",type:"button",color:"warning",fill:"default"},a("smoothly-icon",{key:"2da735678c8066ac9ca1a0c8fc42be6f71968997",name:"call",slot:"start"}),a("a",{key:"dd1747fde83a34074dd35a505a7305bb608fcf3a",href:"https://google.com"},"link")),a("smoothly-button",{key:"d9aa99e8d2dfecc0766e4322051a142028f1d749",link:"https://google.com",type:"link"},a("smoothly-icon",{key:"6e64f4b3686c18f23b2215a41c53f87785835d1f",name:"arrow-forward",slot:"end"}),"link + type link"),a("h4",{key:"da1b853513b11781bcd032cf4d7e5f771baa2ed9"},"Size and Color test"),a("smoothly-button",{key:"8eb4c40f66e75ab99c197ba42c8a4e3f192dd9a5",color:"primary",fill:"solid",size:"small",shape:"rounded"},"Color Primary + Small"),a("smoothly-button",{key:"60c02db208c08a07c50c56ccb228eb333f67a59c",color:"secondary",fill:"solid",shape:"rounded"},"Color Secondary + Default"),a("smoothly-button",{key:"8d6d6a13382b24bc44fa2153dcdeae8212169a97",color:"warning",fill:"solid",size:"large"},"Color Warning + Large"),a("smoothly-button",{key:"1c4cce72723efcde85b1308535263324e4b49041",color:"danger",fill:"solid",size:"small",shape:"rounded"},"Color Danger + Small"),a("smoothly-button",{key:"256c0622be653968e784e8a2a598b88a51dc80f7",color:"success",fill:"solid",size:"small",shape:"rounded"},"Color Success + Small"),a("smoothly-button",{key:"d381847e99dca57bd315a6b7438b3e1e55172cc2",color:"tertiary",fill:"solid",size:"small",shape:"rounded"},"Color Tertiary + Small"),a("smoothly-button",{key:"6ff5845f5a0d82d9c99817696e9be364d9da950a",color:"dark",fill:"solid",size:"small",shape:"rounded"},"Color Dark + Small"),a("smoothly-button",{key:"e14f96677b4aed688dc8f0ea0b596c6b585f15b0",color:"medium",fill:"solid",size:"small",shape:"rounded"},"Color Medium + Small"),a("smoothly-button",{key:"4cac9d4923a21476b5f6dc4de0430153477200fa",color:"light",fill:"solid",size:"small",shape:"rounded"},"Color Light + Small"),a("h4",{key:"b1a485089eea221cab4a23be46a83c3c2e9c2929"},"Expand examples"),a("smoothly-button",{key:"71aa9bd0791d0e326d9d0721fb2f8eb0d2875164",color:"secondary",fill:"solid",expand:"full"},"Color Secondary + Default"),a("smoothly-button",{key:"b316c727f5f529a63649558012ee790cb1e53750",color:"warning",fill:"solid",expand:"block"},"Color Warning + Large"),a("h4",{key:"2afe5f6a00cbc405f8b7901f5e118d03adcd243e"},"Fill examples"),a("div",{key:"8aad1d8d07c40c2ada40a18ebcbc7c89d8652eef"},a("smoothly-button",{key:"63b8df9f6a45f6ff81168f9c3ad43344acc0c4ab",shape:"rounded",color:"primary",fill:"solid"},a("smoothly-icon",{key:"33d1f688aa67a1db212a9b7aa7147de4f8279ae6",name:"checkmark-circle",slot:"start"}),"Fill Solid"),a("smoothly-button",{key:"cda371d608f548bfceb958fedb0a7eb22cdc5c83",shape:"rounded",color:"secondary",fill:"outline"},a("smoothly-icon",{key:"39824d2393567df80731477784e31bad5b019f90",name:"checkmark-circle",slot:"start"}),"Fill Outline"),a("smoothly-button",{key:"d429cf372e423e882717f0867adb31ffd5d45dc6",shape:"rounded",color:"tertiary",fill:"clear"},a("smoothly-icon",{key:"e8473ef999c9f3bb56da4f58b51f593e7ebc4a1b",name:"checkmark-circle",slot:"start"}),"Fill Clear"),a("smoothly-button",{key:"e26709d399f9747d657a805ce69f997127dd46e3",size:"icon",shape:"rounded",color:"success",fill:"solid"},a("smoothly-icon",{key:"99abc1c65692daf112f2d2b1660918951ae60559",name:"basketball"}))),a("h4",{key:"99be735e4b2c91170daf2e3f0d5779a69d7ef08f"},'Buttons with Icon in "start"'),a("div",{key:"af0724fe2f9605a199d1b392d0307a948bc02b0c"},a("smoothly-button",{key:"38a7a2af64996af6adc7514d8ee407eaf2c7878b",shape:"rounded",fill:"solid",color:"warning"},a("smoothly-icon",{key:"951d2c413089f67b6ebe3c6d9f566ad5267cf4ae",name:"checkmark-circle",slot:"start"}),"Check"),a("smoothly-button",{key:"6ee1bc2af768f123a12e294016cc917aa4bd1c0e",shape:"rounded",fill:"solid",color:"secondary"},a("smoothly-icon",{key:"9d0e80208a6e68f919cc7276073232a368cb111a",name:"basketball",slot:"start"}),"Check"),a("smoothly-button",{key:"e5366d8f3ed7a2cf41cece51570301f145c67e19",shape:"rounded",fill:"solid",color:"success"},a("smoothly-icon",{key:"a0ad0a9620d853fda8d7e594031c04a0ec689445",name:"call",slot:"start"}),"Check"),a("smoothly-button",{key:"c94e929cfe5f738f2a3235f43a1f4da5e0c9fc36",size:"icon",fill:"solid",shape:"rounded",color:"success"},a("smoothly-icon",{key:"71a2f51f71668101315aa8533b5bfcf366d7fc5a",name:"call"})),a("smoothly-button",{key:"f33069cba505b599106e46dd64b9c8d5d7af72b1",size:"flexible",fill:"solid",color:"success"},a("smoothly-icon",{key:"23f5cfce66c47cfe7a7bc61270d366dc1a4b1df2",name:"airplane"}))),a("h4",{key:"0e1d80f018cb083f747dca33ac1579623130e4b4"},'Buttons with Icon in "end"'),a("smoothly-button",{key:"a6fb030807e47ece0af3e864fd1021dd073bb694",fill:"solid",color:"light"},"Go Forward",a("smoothly-icon",{key:"257becef67d6cc074ae9ea15c4aa7f4310b6512e",name:"arrow-forward",slot:"end"})),a("h4",{key:"dae9d6d89805ba3dbe25d10b078150475f097f97"},"Test for icon button"),a("div",{key:"430c1bc4c47a98cf456a84a2d5ab2668777f01cd"},a("smoothly-button",{key:"3c58c97ef2193b38eab09a4e533dba5b4f20a4e4",size:"icon",fill:"solid",shape:"rounded",color:"success"},a("smoothly-icon",{key:"59426dc2bd35c313d6619b44f13d517aa7c034ce",name:"call"})),a("smoothly-button",{key:"0fb117873692f75b51c92e333d3f835cd5fbe74f",size:"icon",shape:"rounded",color:"warning",fill:"solid"},a("smoothly-icon",{key:"7162fcc07788dd9829abafb5b7f38e786b86c298",name:"search-outline"})),a("smoothly-button",{key:"f46d225a20b28efeafcb952544ff5600988ada74",size:"icon",shape:"rounded",color:"secondary"},a("smoothly-icon",{key:"787a26836d6788196c5f3761f66c680704df9817",name:"checkmark-circle"}))),a("h4",{key:"2d8596d90b04536a298e7375e2a4ad3b0c463fbc"},"Link examples"),a("div",{key:"5af7537287d37938616bc0478f7cc63e757720e5"},a("smoothly-button",{key:"b6faae4aa4fd72b87c7181ec146dfda0cfa7a248",type:"link"},"type link"),a("smoothly-button",{key:"4d56453b6a595c09cb70cd8708392effda6f9279",type:"button",fill:"clear"},a("a",{key:"607e553ae06c24cb513fe90ecca476295b719283",href:"https://google.com"},"link")),a("smoothly-button",{key:"9a397311efd0a89849a6c8016fce61bf0639cea0",link:"https://google.com",type:"link"},"link + type link")),a("h4",{key:"466df22b0f9265755db176b4947f39cb3892d331"},"Disabled buttons"),a("div",{key:"b146d15d620300b8da5e134618a1b3f904024f61"},a("smoothly-button",{key:"637ee09aedbde2ff0342d469b50bd181a632308c",disabled:true,fill:"solid",color:"secondary"},"Disabled"),a("smoothly-button",{key:"0bdca6978fd1908f3c529668bfe3c128987522a5",type:"link",link:"https://google.com",disabled:true},"Disabled link"))),a("smoothly-back-to-top",{key:"f217299a63164d3d4bcbda3d9ab1b4da44a8f99f"}))}static get style(){return E()}},[0,"smoothly-button-demo"]);function C(){if(typeof customElements==="undefined"){return}const e=["smoothly-button-demo","smoothly-back-to-top","smoothly-button","smoothly-button-confirm","smoothly-button-demo-standard","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-select","smoothly-item","smoothly-spinner","smoothly-toggle-switch","smoothly-toggle-switch-demo"];e.forEach((e=>{switch(e){case"smoothly-button-demo":if(!customElements.get(c(e))){customElements.define(c(e),z)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){l()}break;case"smoothly-button":if(!customElements.get(c(e))){s()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){d()}break;case"smoothly-button-demo-standard":if(!customElements.get(c(e))){f()}break;case"smoothly-form":if(!customElements.get(c(e))){n()}break;case"smoothly-icon":if(!customElements.get(c(e))){i()}break;case"smoothly-input":if(!customElements.get(c(e))){b()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){m()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){r()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){y()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){h()}break;case"smoothly-input-select":if(!customElements.get(c(e))){k()}break;case"smoothly-item":if(!customElements.get(c(e))){u()}break;case"smoothly-spinner":if(!customElements.get(c(e))){p()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){g()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(c(e))){w()}break}}))}C();export{z as S,C as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as o,h as a,d as t,t as c}from"./p-BsZrGTcp.js";import{d as l}from"./p-B2HeWzUx.js";import{d as s}from"./p-BygBViit.js";import{d}from"./p-BZPBFs15.js";import{d as f}from"./p-19XTl7bT.js";import{d as i}from"./p-476P3lCN.js";import{d as n}from"./p-lxR7rA3k.js";import{d as b}from"./p-DuVAEZcg.js";import{d as m}from"./p-D83NzhAZ.js";import{d as r}from"./p-BhLDGQhC.js";import{d as y}from"./p-B5HCjRvr.js";import{d as h}from"./p-C0oU5Cfy.js";import{d as k}from"./p-GOrXJdjK.js";import{d as u}from"./p-fnKrPnzp.js";import{d as p}from"./p-Bpc6uh0M.js";import{d as g}from"./p-DqGZ9Vzy.js";import{d as z}from"./p-DNwlLHgl.js";const C=()=>`smoothly-button-demo{display:block;margin:1rem}smoothly-button-demo>section>div{display:flex;align-items:center}smoothly-button-demo smoothly-button{margin:.2em .5em}`;const w=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return a(t,{key:"533286a87d0525479bd2ee9e28e3b4f0a96d4028"},a("section",{key:"83c431cb9866c7e9ed66d000c45db12cba32a5c1"},a("smoothly-button-demo-standard",{key:"9be3c679df5dae790c20267466f0e59e7129e590"})),a("section",{key:"63c5a3497203d471629c514b4ad65062a65803e4"},a("h4",{key:"4aea5b53872940382d8955d747731846e293bb80"},"Confirm button (two clicks)"),a("div",{key:"0d06137cb8e7e2f0d27c7c9bcee216f6a582ff33"},a("smoothly-button-confirm",{key:"d10630d444951f251fd00100cbef18074e7d206b",name:"confirm",shape:"rounded",color:"danger",size:"large"},"Delete"),a("smoothly-button-confirm",{key:"c2b0cd87fe14786eaa690e51dd91ace6443aa3c4",name:"confirm-icon",shape:"rounded",color:"success",size:"icon"},a("smoothly-icon",{key:"fa26113fbfdaea0ee2c0b4723084a69b54d7804b",name:"checkmark-outline",size:"tiny"})),a("smoothly-button-confirm",{key:"cbceb8ffdeffeb6231bb4775a12aeca6599e7eb5",name:"confirm-icon",shape:"rounded",color:"danger",size:"icon",fill:"outline"},a("smoothly-icon",{key:"5bbbaeccd43ee1b930a73a2fa676345835f9646a",name:"trash-outline",size:"tiny",fill:"outline"}))),a("smoothly-toggle-switch-demo",{key:"1bd1095e2c679a2526d31987873334f51d175e85"}),a("h4",{key:"6d22aa735b0d7f16093b216086441d0d722a6421"},"Links with icons"),a("smoothly-button",{key:"7a9cf02c47b1ac104935336f57c07d9eacd865eb",type:"link"},a("smoothly-icon",{key:"fe0f7094ce66691d5e10ee2f5f6d65782a37a380",name:"checkmark-circle",slot:"start"}),"type link"),a("smoothly-button",{key:"723452282f7551547060378c9057d40e4f729be7",type:"button",color:"warning",fill:"default"},a("smoothly-icon",{key:"2da735678c8066ac9ca1a0c8fc42be6f71968997",name:"call",slot:"start"}),a("a",{key:"dd1747fde83a34074dd35a505a7305bb608fcf3a",href:"https://google.com"},"link")),a("smoothly-button",{key:"d9aa99e8d2dfecc0766e4322051a142028f1d749",link:"https://google.com",type:"link"},a("smoothly-icon",{key:"6e64f4b3686c18f23b2215a41c53f87785835d1f",name:"arrow-forward",slot:"end"}),"link + type link"),a("h4",{key:"da1b853513b11781bcd032cf4d7e5f771baa2ed9"},"Size and Color test"),a("smoothly-button",{key:"8eb4c40f66e75ab99c197ba42c8a4e3f192dd9a5",color:"primary",fill:"solid",size:"small",shape:"rounded"},"Color Primary + Small"),a("smoothly-button",{key:"60c02db208c08a07c50c56ccb228eb333f67a59c",color:"secondary",fill:"solid",shape:"rounded"},"Color Secondary + Default"),a("smoothly-button",{key:"8d6d6a13382b24bc44fa2153dcdeae8212169a97",color:"warning",fill:"solid",size:"large"},"Color Warning + Large"),a("smoothly-button",{key:"1c4cce72723efcde85b1308535263324e4b49041",color:"danger",fill:"solid",size:"small",shape:"rounded"},"Color Danger + Small"),a("smoothly-button",{key:"256c0622be653968e784e8a2a598b88a51dc80f7",color:"success",fill:"solid",size:"small",shape:"rounded"},"Color Success + Small"),a("smoothly-button",{key:"d381847e99dca57bd315a6b7438b3e1e55172cc2",color:"tertiary",fill:"solid",size:"small",shape:"rounded"},"Color Tertiary + Small"),a("smoothly-button",{key:"6ff5845f5a0d82d9c99817696e9be364d9da950a",color:"dark",fill:"solid",size:"small",shape:"rounded"},"Color Dark + Small"),a("smoothly-button",{key:"e14f96677b4aed688dc8f0ea0b596c6b585f15b0",color:"medium",fill:"solid",size:"small",shape:"rounded"},"Color Medium + Small"),a("smoothly-button",{key:"4cac9d4923a21476b5f6dc4de0430153477200fa",color:"light",fill:"solid",size:"small",shape:"rounded"},"Color Light + Small"),a("h4",{key:"b1a485089eea221cab4a23be46a83c3c2e9c2929"},"Expand examples"),a("smoothly-button",{key:"71aa9bd0791d0e326d9d0721fb2f8eb0d2875164",color:"secondary",fill:"solid",expand:"full"},"Color Secondary + Default"),a("smoothly-button",{key:"b316c727f5f529a63649558012ee790cb1e53750",color:"warning",fill:"solid",expand:"block"},"Color Warning + Large"),a("h4",{key:"2afe5f6a00cbc405f8b7901f5e118d03adcd243e"},"Fill examples"),a("div",{key:"8aad1d8d07c40c2ada40a18ebcbc7c89d8652eef"},a("smoothly-button",{key:"63b8df9f6a45f6ff81168f9c3ad43344acc0c4ab",shape:"rounded",color:"primary",fill:"solid"},a("smoothly-icon",{key:"33d1f688aa67a1db212a9b7aa7147de4f8279ae6",name:"checkmark-circle",slot:"start"}),"Fill Solid"),a("smoothly-button",{key:"cda371d608f548bfceb958fedb0a7eb22cdc5c83",shape:"rounded",color:"secondary",fill:"outline"},a("smoothly-icon",{key:"39824d2393567df80731477784e31bad5b019f90",name:"checkmark-circle",slot:"start"}),"Fill Outline"),a("smoothly-button",{key:"d429cf372e423e882717f0867adb31ffd5d45dc6",shape:"rounded",color:"tertiary",fill:"clear"},a("smoothly-icon",{key:"e8473ef999c9f3bb56da4f58b51f593e7ebc4a1b",name:"checkmark-circle",slot:"start"}),"Fill Clear"),a("smoothly-button",{key:"e26709d399f9747d657a805ce69f997127dd46e3",size:"icon",shape:"rounded",color:"success",fill:"solid"},a("smoothly-icon",{key:"99abc1c65692daf112f2d2b1660918951ae60559",name:"basketball"}))),a("h4",{key:"99be735e4b2c91170daf2e3f0d5779a69d7ef08f"},'Buttons with Icon in "start"'),a("div",{key:"af0724fe2f9605a199d1b392d0307a948bc02b0c"},a("smoothly-button",{key:"38a7a2af64996af6adc7514d8ee407eaf2c7878b",shape:"rounded",fill:"solid",color:"warning"},a("smoothly-icon",{key:"951d2c413089f67b6ebe3c6d9f566ad5267cf4ae",name:"checkmark-circle",slot:"start"}),"Check"),a("smoothly-button",{key:"6ee1bc2af768f123a12e294016cc917aa4bd1c0e",shape:"rounded",fill:"solid",color:"secondary"},a("smoothly-icon",{key:"9d0e80208a6e68f919cc7276073232a368cb111a",name:"basketball",slot:"start"}),"Check"),a("smoothly-button",{key:"e5366d8f3ed7a2cf41cece51570301f145c67e19",shape:"rounded",fill:"solid",color:"success"},a("smoothly-icon",{key:"a0ad0a9620d853fda8d7e594031c04a0ec689445",name:"call",slot:"start"}),"Check"),a("smoothly-button",{key:"c94e929cfe5f738f2a3235f43a1f4da5e0c9fc36",size:"icon",fill:"solid",shape:"rounded",color:"success"},a("smoothly-icon",{key:"71a2f51f71668101315aa8533b5bfcf366d7fc5a",name:"call"})),a("smoothly-button",{key:"f33069cba505b599106e46dd64b9c8d5d7af72b1",size:"flexible",fill:"solid",color:"success"},a("smoothly-icon",{key:"23f5cfce66c47cfe7a7bc61270d366dc1a4b1df2",name:"airplane"}))),a("h4",{key:"0e1d80f018cb083f747dca33ac1579623130e4b4"},'Buttons with Icon in "end"'),a("smoothly-button",{key:"a6fb030807e47ece0af3e864fd1021dd073bb694",fill:"solid",color:"light"},"Go Forward",a("smoothly-icon",{key:"257becef67d6cc074ae9ea15c4aa7f4310b6512e",name:"arrow-forward",slot:"end"})),a("h4",{key:"dae9d6d89805ba3dbe25d10b078150475f097f97"},"Test for icon button"),a("div",{key:"430c1bc4c47a98cf456a84a2d5ab2668777f01cd"},a("smoothly-button",{key:"3c58c97ef2193b38eab09a4e533dba5b4f20a4e4",size:"icon",fill:"solid",shape:"rounded",color:"success"},a("smoothly-icon",{key:"59426dc2bd35c313d6619b44f13d517aa7c034ce",name:"call"})),a("smoothly-button",{key:"0fb117873692f75b51c92e333d3f835cd5fbe74f",size:"icon",shape:"rounded",color:"warning",fill:"solid"},a("smoothly-icon",{key:"7162fcc07788dd9829abafb5b7f38e786b86c298",name:"search-outline"})),a("smoothly-button",{key:"f46d225a20b28efeafcb952544ff5600988ada74",size:"icon",shape:"rounded",color:"secondary"},a("smoothly-icon",{key:"787a26836d6788196c5f3761f66c680704df9817",name:"checkmark-circle"}))),a("h4",{key:"2d8596d90b04536a298e7375e2a4ad3b0c463fbc"},"Link examples"),a("div",{key:"5af7537287d37938616bc0478f7cc63e757720e5"},a("smoothly-button",{key:"b6faae4aa4fd72b87c7181ec146dfda0cfa7a248",type:"link"},"type link"),a("smoothly-button",{key:"4d56453b6a595c09cb70cd8708392effda6f9279",type:"button",fill:"clear"},a("a",{key:"607e553ae06c24cb513fe90ecca476295b719283",href:"https://google.com"},"link")),a("smoothly-button",{key:"9a397311efd0a89849a6c8016fce61bf0639cea0",link:"https://google.com",type:"link"},"link + type link")),a("h4",{key:"466df22b0f9265755db176b4947f39cb3892d331"},"Disabled buttons"),a("div",{key:"b146d15d620300b8da5e134618a1b3f904024f61"},a("smoothly-button",{key:"637ee09aedbde2ff0342d469b50bd181a632308c",disabled:true,fill:"solid",color:"secondary"},"Disabled"),a("smoothly-button",{key:"0bdca6978fd1908f3c529668bfe3c128987522a5",type:"link",link:"https://google.com",disabled:true},"Disabled link"))),a("smoothly-back-to-top",{key:"f217299a63164d3d4bcbda3d9ab1b4da44a8f99f"}))}static get style(){return C()}},[0,"smoothly-button-demo"]);function E(){if(typeof customElements==="undefined"){return}const e=["smoothly-button-demo","smoothly-back-to-top","smoothly-button","smoothly-button-confirm","smoothly-button-demo-standard","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-select","smoothly-item","smoothly-spinner","smoothly-toggle-switch","smoothly-toggle-switch-demo"];e.forEach((e=>{switch(e){case"smoothly-button-demo":if(!customElements.get(c(e))){customElements.define(c(e),w)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){l()}break;case"smoothly-button":if(!customElements.get(c(e))){s()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){d()}break;case"smoothly-button-demo-standard":if(!customElements.get(c(e))){f()}break;case"smoothly-form":if(!customElements.get(c(e))){i()}break;case"smoothly-icon":if(!customElements.get(c(e))){n()}break;case"smoothly-input":if(!customElements.get(c(e))){b()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){m()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){r()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){y()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){h()}break;case"smoothly-input-select":if(!customElements.get(c(e))){k()}break;case"smoothly-item":if(!customElements.get(c(e))){u()}break;case"smoothly-spinner":if(!customElements.get(c(e))){p()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){g()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(c(e))){z()}break}}))}E();export{w as S,E as d};
|
|
2
|
+
//# sourceMappingURL=p-tXifYvLV.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as s,H as m,c as o,h as t,t as a}from"./p-BsZrGTcp.js";import{d as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as s,H as m,c as o,h as t,t as a}from"./p-BsZrGTcp.js";import{d as e}from"./p-lxR7rA3k.js";const y=()=>`.sc-smoothly-summary-h{display:block}.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary{display:flex;column-gap:0.25rem;width:fit-content;list-style:none;align-items:center;cursor:pointer}.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary>smoothly-icon.sc-smoothly-summary{transition:transform 0.2s, opacity 0.1s;opacity:0.3}.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary:hover>smoothly-icon.sc-smoothly-summary{opacity:1}.sc-smoothly-summary-h>details[open].sc-smoothly-summary>summary.sc-smoothly-summary>smoothly-icon.sc-smoothly-summary{transform:rotate(90deg)}.sc-smoothly-summary-h>details.sc-smoothly-summary-s>[slot=content]{margin-left:var(--smoothly-summary-content-indent, 1.5rem)}@media (prefers-reduced-motion){.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary>smoothly-icon.sc-smoothly-summary{transition:none}}`;const r=s(class s extends m{constructor(s){super();if(s!==false){this.__registerHost()}this.smoothlySummaryOpen=o(this,"smoothlySummaryOpen");this.open=false}async toggleHandler(s){if(s.target instanceof HTMLDetailsElement){this.open=s.target.open;this.smoothlySummaryOpen.emit(this.open)}}render(){return t("details",{key:"eff4cfcc4681f7ae8a50dffb024ed2a2c7f34a82",onToggle:s=>this.toggleHandler(s),open:this.open},t("summary",{key:"579a019b8ae584f018c1a039ad2f637eb136db88"},t("smoothly-icon",{key:"5b13ecddb1ee8805bba66d60aff9f1cfe8cd10b3",name:"caret-forward",fill:"solid",size:"tiny"}),t("slot",{key:"b01c31deaf1bb7574eaa5a383a5385555444845d",name:"summary"})),t("slot",{key:"04fe3aca685b1108f7227f2c45d28d6ef38e9292",name:"content"}))}static get style(){return y()}},[262,"smoothly-summary",{open:[1540]}]);function c(){if(typeof customElements==="undefined"){return}const s=["smoothly-summary","smoothly-icon"];s.forEach((s=>{switch(s){case"smoothly-summary":if(!customElements.get(a(s))){customElements.define(a(s),r)}break;case"smoothly-icon":if(!customElements.get(a(s))){e()}break}}))}c();export{r as S,c as d};
|
|
2
|
+
//# sourceMappingURL=p-tYcvbWv5.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as s,h as o,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as s,h as o,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-C5zlJTUx.js";import{d as c}from"./p-CR3Ni_o7.js";import{d as m}from"./p-B-l1S16Z.js";import{d as i}from"./p-Ud7Qhkgt.js";import{d}from"./p-C3FORjes.js";const l=()=>`.sc-smoothly-theme-guide-h{max-width:50ch}`;const r=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return[o("smoothly-display",{key:"9d9ac39e30705ec8aa0175a54771ab32d88f70cb"},"Tint is used as background to highlight, for example hovering an item in the select menu."),o("br",{key:"704a1265d7bb3ec33ab58b3f997df5afdf0707a5"}),o("smoothly-display",{key:"2335c861ac8cb203da8e68ee536565bc2a90174f"},"Color is used as a normal background or as a background to show that something is selected, for example a selected item in the select menu."),o("br",{key:"02804573e827624e8eebec30f835679c1ecf2fd3"}),o("smoothly-display",{key:"75dfb78b730a334347ff3b5d305df980fa8f41aa"},"Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),o("br",{key:"988cfafb48a6f100c7eca395e6a4ac5be3e9d329"}),o("smoothly-display",{key:"2bf7c0cdc1be980a3ff5b0e360a8ffbad6553980"},"One can use the ","<smoothly-color>"," component to switch between what color set is used."," "),o("br",{key:"c6dbc6a33cf896d8be26a3c8c08641b9de7ade17"})]}static get style(){return l()}},[2,"smoothly-theme-guide"]);function n(){if(typeof customElements==="undefined"){return}const e=["smoothly-theme-guide","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key"];e.forEach((e=>{switch(e){case"smoothly-theme-guide":if(!customElements.get(t(e))){customElements.define(t(e),r)}break;case"smoothly-display":if(!customElements.get(t(e))){a()}break;case"smoothly-display-json":if(!customElements.get(t(e))){c()}break;case"smoothly-display-json-object":if(!customElements.get(t(e))){m()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(e))){i()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(e))){d()}break}}))}n();export{r as S,n as d};
|
|
2
|
+
//# sourceMappingURL=p-z-IEAPIC.js.map
|
|
@@ -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-CClpvMw2.js";import{d as a}from"./p-qxJgmVrq.js";import{d as l}from"./p-BoHJT9bR.js";import{d as r}from"./p-DIz1nEPY.js";import{d as c}from"./p-BHEtq3Ue.js";import{d as i}from"./p-DX3KKRD9.js";import{d}from"./p-Qv-IgIvL.js";import{d as p}from"./p-d26Fb7IS.js";import{d as n}from"./p-1j2KmcfQ.js";import{d as f}from"./p-AX8gOGUr.js";import{d as y}from"./p-CqXSfYre.js";import{d as h}from"./p-DS66Mn9S.js";import{d as b}from"./p-DM5CKilY.js";import{d as u}from"./p-BGzrO9CQ.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 w}from"./p-DIhqNc1G.js";import{d as B}from"./p-Dz8Bblye.js";import{d as D}from"./p-DM3PMEgb.js";import{d as v}from"./p-COK__8-d.js";import{d as x}from"./p-CcXqouEO.js";import{d as H}from"./p-C6T0ZB2C.js";import{d as T}from"./p-B_z5-Hf8.js";import{d as K}from"./p-CAgJrhiy.js";import{d as L}from"./p-67RlLkJb.js";import{d as U}from"./p-N-UYdc5h.js";import{d as q}from"./p-CVNSeOlg.js";import{d as G}from"./p-B6sHuEsq.js";import{d as I}from"./p-CSXWpZjy.js";import{d as R}from"./p-BEHuPmXt.js";import{d as S}from"./p-BiQsRsV4.js";import{d as X}from"./p-Bq5YEPPT.js";import{d as _}from"./p-Ww5QjB3D.js";import{d as M}from"./p-CrKwvG9J.js";import{d as Q}from"./p-_o_lUhve.js";import{d as Y}from"./p-CrkBYYf-.js";import{d as P}from"./p-Cw_sHLuu.js";import{d as z}from"./p-xkRxEiC8.js";import{d as F}from"./p-DIf6-Fvg.js";import{d as J}from"./p-NFd9Dxr1.js";import{d as A}from"./p-BFJL6rrU.js";import{d as O}from"./p-BXoBluZQ.js";import{d as Z}from"./p-DLBMEh0f.js";import{d as V}from"./p-CqSiLhUe.js";import{d as W}from"./p-CgCEK6Lc.js";import{d as N}from"./p-4pGbxojU.js";import{d as $}from"./p-BRoShuOu.js";import{d as oo}from"./p-CtuuZV3u.js";import{d as eo}from"./p-CKlr_F9h.js";import{d as to}from"./p-BfwEfI7H.js";import{d as so}from"./p-nFLcvugJ.js";import{d as mo}from"./p-CTdXhHGF.js";import{d as ao}from"./p-D5WTwmc6.js";import{d as lo}from"./p-BUa0wBSK.js";import{d as ro}from"./p-CJEV2v84.js";import{d as co}from"./p-CqyGm3oe.js";import{d as io}from"./p-fnKrPnzp.js";import{d as po}from"./p-DkhX1qsg.js";import{d as no}from"./p-CApTrLt_.js";import{d as fo}from"./p-BEHgXDtQ.js";import{d as yo}from"./p-BHsrC9Oh.js";import{d as ho}from"./p-D5dkLuTD.js";import{d as bo}from"./p-6PsJb2Ez.js";import{d as uo}from"./p-Bpc6uh0M.js";import{d as ko}from"./p-CUdZx76u.js";import{d as jo}from"./p-NGbZCAH9.js";import{d as Eo}from"./p-Bes8H54c.js";import{d as go}from"./p-BGBbdXaw.js";import{d as Co}from"./p-CPnXAdGI.js";import{d as wo}from"./p-B0kZrKne.js";import{d as Bo}from"./p-BanWK6rV.js";import{d as Do}from"./p-C2xjUTYO.js";import{d as vo}from"./p-Cv-uvD7X.js";import{d as xo}from"./p-C-zr_dP8.js";import{d as Ho}from"./p-CooymHn6.js";import{d as To}from"./p-B2MMqcTF.js";import{d as Ko}from"./p-CL7fW_Oh.js";import{d as Lo}from"./p-CFgT9iMG.js";import{d as Uo}from"./p-CoJyQegK.js";import{d as qo}from"./p-BulPH2Jo.js";import{d as Go}from"./p-D-mAUrbR.js";import{d as Io}from"./p-C02MtoAQ.js";import{d as Ro}from"./p-BHcHgI_e.js";import{d as So}from"./p-2Y5tLcQ1.js";import{d as Xo}from"./p-DGa_QPb9.js";import{d as _o}from"./p-BpV6GXd7.js";import{d as Mo}from"./p-BnYCDLp0.js";import{d as Qo}from"./p-D_uKY0yY.js";import{d as Yo}from"./p-Bn7CZqdz.js";import{d as Po}from"./p-He4KDK9-.js";import{d as zo}from"./p-CqMnH54Q.js";import{d as Fo}from"./p-dBpTpVs8.js";import{d as Jo}from"./p-DYNjCosy.js";import{d as Ao}from"./p-CmPHR3tf.js";const Oo=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 Zo(){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),Oo)}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))){c()}break;case"smoothly-button-confirm":if(!customElements.get(s(o))){i()}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))){w()}break;case"smoothly-form-demo":if(!customElements.get(s(o))){B()}break;case"smoothly-form-demo-all":if(!customElements.get(s(o))){D()}break;case"smoothly-form-demo-card":if(!customElements.get(s(o))){v()}break;case"smoothly-form-demo-controlled":if(!customElements.get(s(o))){x()}break;case"smoothly-form-demo-date":if(!customElements.get(s(o))){H()}break;case"smoothly-form-demo-date-range":if(!customElements.get(s(o))){T()}break;case"smoothly-form-demo-login":if(!customElements.get(s(o))){K()}break;case"smoothly-form-demo-pet":if(!customElements.get(s(o))){L()}break;case"smoothly-form-demo-prices":if(!customElements.get(s(o))){U()}break;case"smoothly-form-demo-schedule":if(!customElements.get(s(o))){q()}break;case"smoothly-form-demo-transparent":if(!customElements.get(s(o))){G()}break;case"smoothly-form-demo-typed":if(!customElements.get(s(o))){I()}break;case"smoothly-frame":if(!customElements.get(s(o))){R()}break;case"smoothly-icon":if(!customElements.get(s(o))){S()}break;case"smoothly-icon-demo":if(!customElements.get(s(o))){X()}break;case"smoothly-input":if(!customElements.get(s(o))){_()}break;case"smoothly-input-checkbox":if(!customElements.get(s(o))){M()}break;case"smoothly-input-clear":if(!customElements.get(s(o))){Q()}break;case"smoothly-input-color":if(!customElements.get(s(o))){Y()}break;case"smoothly-input-color-demo":if(!customElements.get(s(o))){P()}break;case"smoothly-input-date":if(!customElements.get(s(o))){z()}break;case"smoothly-input-date-demo":if(!customElements.get(s(o))){F()}break;case"smoothly-input-date-range":if(!customElements.get(s(o))){J()}break;case"smoothly-input-date-time":if(!customElements.get(s(o))){A()}break;case"smoothly-input-demo":if(!customElements.get(s(o))){O()}break;case"smoothly-input-demo-radio":if(!customElements.get(s(o))){Z()}break;case"smoothly-input-demo-standard":if(!customElements.get(s(o))){V()}break;case"smoothly-input-demo-user-input":if(!customElements.get(s(o))){W()}break;case"smoothly-input-edit":if(!customElements.get(s(o))){N()}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))){co()}break;case"smoothly-item":if(!customElements.get(s(o))){io()}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))){wo()}break;case"smoothly-table-demo-colspan":if(!customElements.get(s(o))){Bo()}break;case"smoothly-table-demo-filler-row":if(!customElements.get(s(o))){Do()}break;case"smoothly-table-demo-group":if(!customElements.get(s(o))){vo()}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))){Ho()}break;case"smoothly-table-demo-simple":if(!customElements.get(s(o))){To()}break;case"smoothly-table-expandable-cell":if(!customElements.get(s(o))){Ko()}break;case"smoothly-table-expandable-row":if(!customElements.get(s(o))){Lo()}break;case"smoothly-table-filler-row":if(!customElements.get(s(o))){Uo()}break;case"smoothly-table-foot":if(!customElements.get(s(o))){qo()}break;case"smoothly-table-head":if(!customElements.get(s(o))){Go()}break;case"smoothly-table-row":if(!customElements.get(s(o))){Io()}break;case"smoothly-table-row-group":if(!customElements.get(s(o))){Ro()}break;case"smoothly-tabs":if(!customElements.get(s(o))){So()}break;case"smoothly-tabs-demo":if(!customElements.get(s(o))){Xo()}break;case"smoothly-theme-color":if(!customElements.get(s(o))){_o()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(o))){Mo()}break;case"smoothly-theme-colors":if(!customElements.get(s(o))){Qo()}break;case"smoothly-theme-demo":if(!customElements.get(s(o))){Yo()}break;case"smoothly-theme-guide":if(!customElements.get(s(o))){Po()}break;case"smoothly-theme-picker":if(!customElements.get(s(o))){zo()}break;case"smoothly-toggle-switch":if(!customElements.get(s(o))){Fo()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(s(o))){Jo()}break;case"smoothly-trigger":if(!customElements.get(s(o))){Ao()}break}}))}Zo();const Vo=Oo;const Wo=Zo;export{Vo as SmoothlyAppDemo,Wo 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-C1OHc_IH.js";import{d as a}from"./p-QhNiluOP.js";import{d as l}from"./p-B2HeWzUx.js";import{d as r}from"./p-Z0pkj6lv.js";import{d as i}from"./p-BygBViit.js";import{d as c}from"./p-BZPBFs15.js";import{d}from"./p-tXifYvLV.js";import{d as p}from"./p-19XTl7bT.js";import{d as n}from"./p-DmRiznt_.js";import{d as f}from"./p-DvKyYKhJ.js";import{d as y}from"./p-DtlLyiQE.js";import{d as h}from"./p-B6iaWskB.js";import{d as b}from"./p-C5zlJTUx.js";import{d as u}from"./p-BFgOju1b.js";import{d as k}from"./p-CxsaIxQ8.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 B}from"./p-C3FORjes.js";import{d as C}from"./p-476P3lCN.js";import{d as w}from"./p-56MQxIOz.js";import{d as D}from"./p-diHpl72F.js";import{d as x}from"./p-BmpDO3IP.js";import{d as H}from"./p-BZjEcsXh.js";import{d as v}from"./p-CjLb45eA.js";import{d as I}from"./p-DHHuTk1C.js";import{d as A}from"./p-neYuyhok.js";import{d as L}from"./p-AP_j6gIy.js";import{d as R}from"./p-C8Dz7m3K.js";import{d as T}from"./p-B33zAR8E.js";import{d as Q}from"./p-Dmp9jVbi.js";import{d as z}from"./p-C1gwyfdx.js";import{d as P}from"./p-Bt-mtf0k.js";import{d as W}from"./p-lxR7rA3k.js";import{d as X}from"./p-BuxDaqmj.js";import{d as G}from"./p-DuVAEZcg.js";import{d as K}from"./p-D83NzhAZ.js";import{d as Y}from"./p-BhLDGQhC.js";import{d as _}from"./p-BJ1QHaKC.js";import{d as q}from"./p-CWqwLjht.js";import{d as O}from"./p-Cw6jE38W.js";import{d as V}from"./p-BQKG49PI.js";import{d as Z}from"./p-C9W3k6wS.js";import{d as S}from"./p-BApNLqiy.js";import{d as U}from"./p-X22HVbOR.js";import{d as F}from"./p-DuAHxRQq.js";import{d as J}from"./p-Dn5brtiA.js";import{d as M}from"./p-5IpBMfCQ.js";import{d as N}from"./p-DVb0lxbZ.js";import{d as $}from"./p-BmIb4zsg.js";import{d as oo}from"./p-DlfphBOA.js";import{d as eo}from"./p-DP2lfWFG.js";import{d as to}from"./p-B5HCjRvr.js";import{d as so}from"./p-C0oU5Cfy.js";import{d as mo}from"./p-B7tRoQDk.js";import{d as ao}from"./p-BQwTK156.js";import{d as lo}from"./p-DxpX6YuH.js";import{d as ro}from"./p-GOrXJdjK.js";import{d as io}from"./p-B3b5oz3b.js";import{d as co}from"./p-fnKrPnzp.js";import{d as po}from"./p-DkhX1qsg.js";import{d as no}from"./p-CApTrLt_.js";import{d as fo}from"./p-BEHgXDtQ.js";import{d as yo}from"./p-B1h-3Bk6.js";import{d as ho}from"./p-CKfiAXG_.js";import{d as bo}from"./p-BFsrI2_x.js";import{d as uo}from"./p-Bpc6uh0M.js";import{d as ko}from"./p-tYcvbWv5.js";import{d as jo}from"./p-kRSq8qa0.js";import{d as Eo}from"./p-Bes8H54c.js";import{d as go}from"./p-BGBbdXaw.js";import{d as Bo}from"./p-CPnXAdGI.js";import{d as Co}from"./p-SAYWxZnn.js";import{d as wo}from"./p-DLekIjaq.js";import{d as Do}from"./p-B5fLCjIP.js";import{d as xo}from"./p-Dj4jb_55.js";import{d as Ho}from"./p-D6L21sGE.js";import{d as vo}from"./p-AgqVCLBX.js";import{d as Io}from"./p-CxgByuap.js";import{d as Ao}from"./p-CL7fW_Oh.js";import{d as Lo}from"./p-CFgT9iMG.js";import{d as Ro}from"./p-CoJyQegK.js";import{d as To}from"./p-BulPH2Jo.js";import{d as Qo}from"./p-BSCQl0rf.js";import{d as zo}from"./p-C02MtoAQ.js";import{d as Po}from"./p-BHcHgI_e.js";import{d as Wo}from"./p-2Y5tLcQ1.js";import{d as Xo}from"./p-Cud80xdU.js";import{d as Go}from"./p-BpV6GXd7.js";import{d as Ko}from"./p-BnYCDLp0.js";import{d as Yo}from"./p-D_uKY0yY.js";import{d as _o}from"./p-rKh5fDrR.js";import{d as qo}from"./p-z-IEAPIC.js";import{d as Oo}from"./p-BeaRYlDR.js";import{d as Vo}from"./p-DqGZ9Vzy.js";import{d as Zo}from"./p-DNwlLHgl.js";import{d as So}from"./p-CmPHR3tf.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 Fo(){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))){B()}break;case"smoothly-form":if(!customElements.get(s(o))){C()}break;case"smoothly-form-demo":if(!customElements.get(s(o))){w()}break;case"smoothly-form-demo-all":if(!customElements.get(s(o))){D()}break;case"smoothly-form-demo-card":if(!customElements.get(s(o))){x()}break;case"smoothly-form-demo-controlled":if(!customElements.get(s(o))){H()}break;case"smoothly-form-demo-date":if(!customElements.get(s(o))){v()}break;case"smoothly-form-demo-date-range":if(!customElements.get(s(o))){I()}break;case"smoothly-form-demo-login":if(!customElements.get(s(o))){A()}break;case"smoothly-form-demo-pet":if(!customElements.get(s(o))){L()}break;case"smoothly-form-demo-prices":if(!customElements.get(s(o))){R()}break;case"smoothly-form-demo-schedule":if(!customElements.get(s(o))){T()}break;case"smoothly-form-demo-transparent":if(!customElements.get(s(o))){Q()}break;case"smoothly-form-demo-typed":if(!customElements.get(s(o))){z()}break;case"smoothly-frame":if(!customElements.get(s(o))){P()}break;case"smoothly-icon":if(!customElements.get(s(o))){W()}break;case"smoothly-icon-demo":if(!customElements.get(s(o))){X()}break;case"smoothly-input":if(!customElements.get(s(o))){G()}break;case"smoothly-input-checkbox":if(!customElements.get(s(o))){K()}break;case"smoothly-input-clear":if(!customElements.get(s(o))){Y()}break;case"smoothly-input-color":if(!customElements.get(s(o))){_()}break;case"smoothly-input-color-demo":if(!customElements.get(s(o))){q()}break;case"smoothly-input-date":if(!customElements.get(s(o))){O()}break;case"smoothly-input-date-demo":if(!customElements.get(s(o))){V()}break;case"smoothly-input-date-range":if(!customElements.get(s(o))){Z()}break;case"smoothly-input-date-time":if(!customElements.get(s(o))){S()}break;case"smoothly-input-demo":if(!customElements.get(s(o))){U()}break;case"smoothly-input-demo-radio":if(!customElements.get(s(o))){F()}break;case"smoothly-input-demo-standard":if(!customElements.get(s(o))){J()}break;case"smoothly-input-demo-user-input":if(!customElements.get(s(o))){M()}break;case"smoothly-input-edit":if(!customElements.get(s(o))){N()}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))){Bo()}break;case"smoothly-table-demo":if(!customElements.get(s(o))){Co()}break;case"smoothly-table-demo-colspan":if(!customElements.get(s(o))){wo()}break;case"smoothly-table-demo-filler-row":if(!customElements.get(s(o))){Do()}break;case"smoothly-table-demo-group":if(!customElements.get(s(o))){xo()}break;case"smoothly-table-demo-nested-no-cell":if(!customElements.get(s(o))){Ho()}break;case"smoothly-table-demo-nested-no-cell-inner":if(!customElements.get(s(o))){vo()}break;case"smoothly-table-demo-simple":if(!customElements.get(s(o))){Io()}break;case"smoothly-table-expandable-cell":if(!customElements.get(s(o))){Ao()}break;case"smoothly-table-expandable-row":if(!customElements.get(s(o))){Lo()}break;case"smoothly-table-filler-row":if(!customElements.get(s(o))){Ro()}break;case"smoothly-table-foot":if(!customElements.get(s(o))){To()}break;case"smoothly-table-head":if(!customElements.get(s(o))){Qo()}break;case"smoothly-table-row":if(!customElements.get(s(o))){zo()}break;case"smoothly-table-row-group":if(!customElements.get(s(o))){Po()}break;case"smoothly-tabs":if(!customElements.get(s(o))){Wo()}break;case"smoothly-tabs-demo":if(!customElements.get(s(o))){Xo()}break;case"smoothly-theme-color":if(!customElements.get(s(o))){Go()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(o))){Ko()}break;case"smoothly-theme-colors":if(!customElements.get(s(o))){Yo()}break;case"smoothly-theme-demo":if(!customElements.get(s(o))){_o()}break;case"smoothly-theme-guide":if(!customElements.get(s(o))){qo()}break;case"smoothly-theme-picker":if(!customElements.get(s(o))){Oo()}break;case"smoothly-toggle-switch":if(!customElements.get(s(o))){Vo()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(s(o))){Zo()}break;case"smoothly-trigger":if(!customElements.get(s(o))){So()}break}}))}Fo();const Jo=Uo;const Mo=Fo;export{Jo as SmoothlyAppDemo,Mo 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-QhNiluOP.js";const t=o;const p=s;export{t as SmoothlyAppRoom,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-app-room.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-C1OHc_IH.js";const t=o;const c=s;export{t as SmoothlyApp,c as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-app.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-B2HeWzUx.js";const t=o;const p=s;export{t as SmoothlyBackToTop,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-back-to-top.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-Z0pkj6lv.js";const p=o;const t=s;export{p as SmoothlyBurger,t as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-burger.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as
|
|
1
|
+
import{S as s,d as o}from"./p-BZPBFs15.js";const t=s;const p=o;export{t as SmoothlyButtonConfirm,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-button-confirm.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-19XTl7bT.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 o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-tXifYvLV.js";const t=o;const p=s;export{t as SmoothlyButtonDemo,p 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-BygBViit.js";const t=o;const i=s;export{t as SmoothlyButton,i as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-button.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{C as o,d as s}from"./p-
|
|
1
|
+
import{C as o,d as s}from"./p-DmRiznt_.js";const t=o;const m=s;export{t as SmoothlyCalendar,m as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-calendar.js.map
|