smoothly 1.116.0 → 1.118.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/{Notice-Xc7J_4o_.js → Notice-ML9TNa7n.js} +15 -14
- package/dist/cjs/Notice-ML9TNa7n.js.map +1 -0
- 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 → smoothly-app_99.cjs.entry.js} +164 -150
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- 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/collection-manifest.json +1 -0
- package/dist/collection/components/app/demo/index.js +1 -1
- package/dist/collection/components/app/demo/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +1 -1
- package/dist/collection/components/back-to-top/index.js +2 -2
- package/dist/collection/components/burger/index.js +1 -1
- package/dist/collection/components/button/demo/index.js +1 -1
- package/dist/collection/components/button/demo/standard/index.js +2 -2
- package/dist/collection/components/button/index.js +1 -1
- package/dist/collection/components/calendar/index.js +2 -2
- package/dist/collection/components/checkbox/index.js +2 -2
- package/dist/collection/components/color/index.js +1 -1
- package/dist/collection/components/confirm/index.js +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/dialog/demo/index.js +1 -1
- package/dist/collection/components/dialog/index.js +1 -1
- package/dist/collection/components/display/demo/index.js +10 -10
- package/dist/collection/components/display/demo/json/index.js +1 -1
- package/dist/collection/components/display/index.js +3 -3
- package/dist/collection/components/display/json/index.js +1 -1
- package/dist/collection/components/display/json/object/index.js +2 -2
- package/dist/collection/components/display/json/object/key/index.js +1 -1
- package/dist/collection/components/display/json/primitive/index.js +1 -1
- package/dist/collection/components/form/demo/all/index.js +2 -2
- package/dist/collection/components/form/demo/card/index.js +1 -1
- package/dist/collection/components/form/demo/controlled/index.js +1 -1
- package/dist/collection/components/form/demo/date/index.js +1 -1
- package/dist/collection/components/form/demo/date-range/index.js +1 -1
- package/dist/collection/components/form/demo/index.js +1 -1
- package/dist/collection/components/form/demo/login/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js +2 -2
- package/dist/collection/components/form/demo/prices/index.js +1 -1
- package/dist/collection/components/form/demo/schedule/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js +5 -5
- package/dist/collection/components/icon/index.js +1 -1
- package/dist/collection/components/input/checkbox/demo/index.js +1 -1
- package/dist/collection/components/input/checkbox/index.js +2 -2
- package/dist/collection/components/input/clear/index.js +1 -1
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +2 -2
- package/dist/collection/components/input/date/index.js +1 -1
- package/dist/collection/components/input/date/range/index.js +3 -3
- package/dist/collection/components/input/date/text/index.js +1 -1
- package/dist/collection/components/input/date/time/index.js +5 -5
- package/dist/collection/components/input/demo/date/index.js +1 -1
- package/dist/collection/components/input/demo/index.js +4 -4
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/radio/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/demo/user-input/index.js +3 -3
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +4 -4
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/radio/item/style.css +0 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +2 -2
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/item/index.js +1 -1
- package/dist/collection/components/label/index.js +2 -2
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +1 -1
- package/dist/collection/components/modal/index.js +2 -2
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/demo/index.js +37 -0
- package/dist/collection/components/notifier/demo/index.js.map +1 -0
- package/dist/collection/components/notifier/index.js +1 -1
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +1 -1
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/table/body/index.js +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/colspan/index.js +1 -1
- package/dist/collection/components/table/demo/filler-row/index.js +1 -1
- package/dist/collection/components/table/demo/group/index.js +1 -1
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/nested-no-cell/index.js +2 -2
- package/dist/collection/components/table/demo/nested-no-cell/inner/index.js +1 -1
- package/dist/collection/components/table/demo/simple/simple.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/filler-row/index.js +1 -1
- package/dist/collection/components/table/foot/index.js +1 -1
- package/dist/collection/components/table/group/index.js +1 -1
- package/dist/collection/components/table/head/index.js +2 -2
- package/dist/collection/components/table/index.js +1 -1
- package/dist/collection/components/table/row/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/tab/index.js +1 -1
- package/dist/collection/components/theme/color/index.js +1 -1
- package/dist/collection/components/theme/demo/index.js +1 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/collection/model/Notice.js +13 -12
- package/dist/collection/model/Notice.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-0WCHC4VI.js +2 -0
- package/dist/components/{p-B5fLCjIP.js → p-5Z_db2DH.js} +2 -2
- package/dist/components/{p-C9W3k6wS.js → p-5l1ov6SU.js} +2 -2
- package/dist/components/p-7UXKt7wZ.js +2 -0
- package/dist/components/p-9Fd6-bL0.js +2 -0
- package/dist/components/{p-D83NzhAZ.js → p-B-jhX7aN.js} +2 -2
- package/dist/components/p-B8I-Yh5P.js +2 -0
- package/dist/components/p-BAMlbqpU.js +2 -0
- package/dist/components/{p-DqGZ9Vzy.js → p-BCwizh6U.js} +2 -2
- package/dist/components/p-BDuUY4CB.js +2 -0
- package/dist/components/{p-AgqVCLBX.js.map → p-BDuUY4CB.js.map} +1 -1
- package/dist/components/{p-DuVAEZcg.js → p-BHTAR2x1.js} +2 -2
- package/dist/components/p-BLIeXp8k.js +2 -0
- package/dist/components/{p-DVb0lxbZ.js → p-BOzzNfNj.js} +2 -2
- package/dist/components/p-BQOdxeHU.js +2 -0
- package/dist/components/p-BQOdxeHU.js.map +1 -0
- package/dist/components/{p-BpV6GXd7.js → p-BTjay9Fy.js} +2 -2
- package/dist/components/p-BUo_O_Bt.js +2 -0
- package/dist/components/{p-C02MtoAQ.js → p-BWT1q2tN.js} +2 -2
- package/dist/components/{p-kRSq8qa0.js → p-BcEDrfmP.js} +2 -2
- package/dist/components/{p-BFsrI2_x.js → p-BdYr9Wou.js} +2 -2
- package/dist/components/{p-B5HCjRvr.js → p-Bo1NnbuT.js} +2 -2
- package/dist/components/p-Bq3C8g8G.js +2 -0
- package/dist/components/p-Bq3C8g8G.js.map +1 -0
- package/dist/components/p-Bv6ll-a-.js +2 -0
- package/dist/components/p-BvTs7KUn.js +2 -0
- package/dist/components/{p-fnKrPnzp.js → p-ByRyVRgY.js} +2 -2
- package/dist/components/{p-Bes8H54c.js → p-C77C00Ii.js} +2 -2
- package/dist/components/p-C7PxdEtX.js +2 -0
- package/dist/components/p-C7rAw-Sf.js +2 -0
- package/dist/components/{p-CKfiAXG_.js → p-CCaI37_s.js} +2 -2
- package/dist/components/{p-BJ1QHaKC.js → p-CDzU4-Ri.js} +2 -2
- package/dist/components/{p-C1OHc_IH.js → p-CE-IZkWY.js} +2 -2
- package/dist/components/{p-CFgT9iMG.js → p-CFwdTUm-.js} +2 -2
- package/dist/components/p-CIXMGKGQ.js +2 -0
- package/dist/components/{p-QhNiluOP.js → p-CKGlbozb.js} +2 -2
- package/dist/components/{p-DxpX6YuH.js → p-CLqKhHZ8.js} +2 -2
- package/dist/components/p-CMMaSJvr.js +2 -0
- package/dist/components/{p-C5zlJTUx.js → p-CN3iME9d.js} +2 -2
- package/dist/components/{p-D6L21sGE.js → p-CNEHa0dN.js} +2 -2
- package/dist/components/{p-BHcHgI_e.js → p-CTvqaqVm.js} +2 -2
- package/dist/components/p-CUmpHIzY.js +2 -0
- package/dist/components/p-CUmpHIzY.js.map +1 -0
- package/dist/components/{p-CxsaIxQ8.js → p-CY71xgKe.js} +2 -2
- package/dist/components/p-CZERsWDV.js +2 -0
- package/dist/components/{p-neYuyhok.js.map → p-CZERsWDV.js.map} +1 -1
- package/dist/components/{p-GOrXJdjK.js → p-CZIRwPwA.js} +2 -2
- package/dist/components/{p-Bpc6uh0M.js → p-CmUug44L.js} +2 -2
- package/dist/components/{p-DmRiznt_.js → p-CmV6S6tx.js} +2 -2
- package/dist/components/p-Cppqe_PV.js +2 -0
- package/dist/components/{p-BQwTK156.js.map → p-Cppqe_PV.js.map} +1 -1
- package/dist/components/{p-CoJyQegK.js → p-Cu0ProBU.js} +2 -2
- package/dist/components/{p-CL7fW_Oh.js → p-Cuq_eaHi.js} +2 -2
- package/dist/components/p-CwhGUug6.js +2 -0
- package/dist/components/{p-Z0pkj6lv.js → p-D2AakJMz.js} +2 -2
- package/dist/components/p-D2dYkSrN.js +2 -0
- package/dist/components/p-DAwAJIiX.js +2 -0
- package/dist/components/{p-lxR7rA3k.js → p-DDYB8QLF.js} +2 -2
- package/dist/components/{p-BEHgXDtQ.js → p-DDtRlhit.js} +2 -2
- package/dist/components/{p-CmPHR3tf.js → p-DFPMixk-.js} +2 -2
- package/dist/components/{p-CR3Ni_o7.js → p-DG2pfnCV.js} +2 -2
- package/dist/components/{p-DuAHxRQq.js → p-DGTXEwvN.js} +2 -2
- package/dist/components/{p-DlfphBOA.js → p-DIy2lHMf.js} +2 -2
- package/dist/components/{p-Cw6jE38W.js → p-DJ-iHxJr.js} +2 -2
- package/dist/components/{p-476P3lCN.js → p-DPlYDxyJ.js} +2 -2
- package/dist/components/p-DUZEz-6n.js +2 -0
- package/dist/components/{p-Dj4jb_55.js.map → p-DUZEz-6n.js.map} +1 -1
- package/dist/components/p-DXfFWsRb.js +2 -0
- package/dist/components/{p-5IpBMfCQ.js → p-Dh6ItMz4.js} +2 -2
- package/dist/components/{p-BhLDGQhC.js → p-Dk4OvZyQ.js} +2 -2
- package/dist/components/{p-BApNLqiy.js → p-DkiBtdrU.js} +2 -2
- package/dist/components/{p-DvKyYKhJ.js → p-DnvyyAaF.js} +2 -2
- package/dist/components/{p-B7tRoQDk.js → p-Dq8EU803.js} +2 -2
- package/dist/components/p-DrVm8NNB.js +2 -0
- package/dist/components/p-DsVjTKwJ.js +2 -0
- package/dist/components/{p-19XTl7bT.js → p-DukbAK5F.js} +2 -2
- package/dist/components/p-DvMoIxws.js +2 -0
- package/dist/components/{p-Ud7Qhkgt.js → p-DvZK__s-.js} +2 -2
- package/dist/components/p-Dw1KwhCp.js +2 -0
- package/dist/components/{p-DNwlLHgl.js.map → p-Dw1KwhCp.js.map} +1 -1
- package/dist/components/p-F8qX8ZuL.js +2 -0
- package/dist/components/{p-BSCQl0rf.js → p-Iph4bHku.js} +2 -2
- package/dist/components/{p-BZjEcsXh.js → p-KzfbLe_L.js} +2 -2
- package/dist/components/{p-tYcvbWv5.js → p-M0gzpGV-.js} +2 -2
- package/dist/components/{p-BZPBFs15.js → p-MHAaISnU.js} +2 -2
- package/dist/components/p-UNw22e3G.js +2 -0
- package/dist/components/{p-BmIb4zsg.js → p-UqPFIGlg.js} +2 -2
- package/dist/components/p-UyMXVF_R.js +2 -0
- package/dist/components/p-VQuZJp8X.js +2 -0
- package/dist/components/p-VpeNK8XH.js +2 -0
- package/dist/components/p-WiBL-FFH.js +2 -0
- package/dist/components/p-e7wZ4-5T.js +2 -0
- package/dist/components/p-g3poxXoz.js +2 -0
- package/dist/components/p-gq882NJF.js +2 -0
- package/dist/components/p-jSrgQO7o.js +2 -0
- package/dist/components/{p-B1h-3Bk6.js.map → p-jSrgQO7o.js.map} +1 -1
- package/dist/components/{p-CPnXAdGI.js → p-l818BCpp.js} +2 -2
- package/dist/components/{p-D_uKY0yY.js → p-mgqCIR9Q.js} +2 -2
- package/dist/components/{p-BygBViit.js → p-mmAi00ak.js} +2 -2
- package/dist/components/p-mpg1V-Em.js +2 -0
- package/dist/components/{p-56MQxIOz.js.map → p-mpg1V-Em.js.map} +1 -1
- package/dist/components/{p-B-l1S16Z.js → p-uFR5K4vd.js} +2 -2
- package/dist/components/{p-DtlLyiQE.js → p-vB-efyHR.js} +2 -2
- package/dist/components/p-w1uPMi4U.js +2 -0
- package/dist/components/{p-B3b5oz3b.js → p-ycoVDLCD.js} +2 -2
- package/dist/components/{p-B2HeWzUx.js → p-zLhQ1mMe.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- package/dist/components/smoothly-app-demo.js.map +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-color.js +1 -1
- package/dist/components/smoothly-country.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-json-object.js +1 -1
- package/dist/components/smoothly-display-json-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.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-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-item.js +1 -1
- package/dist/components/smoothly-label.js +1 -1
- package/dist/components/smoothly-lazy.js +1 -1
- package/dist/components/smoothly-load-more.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier-demo.d.ts +11 -0
- package/dist/components/smoothly-notifier-demo.js +2 -0
- package/dist/components/smoothly-notifier-demo.js.map +1 -0
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-spinner.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-body.js +1 -1
- package/dist/components/smoothly-table-cell.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-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-expandable-row.js +1 -1
- package/dist/components/smoothly-table-filler-row.js +1 -1
- package/dist/components/smoothly-table-foot.js +1 -1
- package/dist/components/smoothly-table-head.js +1 -1
- package/dist/components/smoothly-table-row-group.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-theme-color.js +1 -1
- package/dist/components/smoothly-theme-colors.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/components/smoothly-trigger.js +1 -1
- package/dist/esm/{Notice-C6lWCoIT.js → Notice-Bq3C8g8G.js} +15 -14
- package/dist/esm/Notice-Bq3C8g8G.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{smoothly-app_98.entry.js → smoothly-app_99.entry.js} +164 -151
- package/dist/esm/smoothly-app_99.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js +2 -2
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- 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-17170ef1.entry.js +2 -0
- package/dist/smoothly/p-1a5f9b87.entry.js +2 -0
- package/dist/smoothly/p-1a5f9b87.entry.js.map +1 -0
- package/dist/smoothly/{p-1786667d.entry.js → p-36966f71.entry.js} +2 -2
- package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
- package/dist/smoothly/{p-03e85253.entry.js → p-7a9308b9.entry.js} +2 -2
- package/dist/smoothly/p-Bq3C8g8G.js +2 -0
- package/dist/smoothly/p-Bq3C8g8G.js.map +1 -0
- package/dist/smoothly/{p-d684139e.entry.js → p-ac2162c3.entry.js} +2 -2
- package/dist/smoothly/{p-acfa35c3.entry.js → p-bd4c289b.entry.js} +2 -2
- package/dist/smoothly/{p-05059140.entry.js → p-eb434b94.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/notifier/demo/index.d.ts +7 -0
- package/dist/types/components.d.ts +29 -0
- package/dist/types/model/Notice.d.ts +6 -5
- package/package.json +1 -1
- package/dist/cjs/Notice-Xc7J_4o_.js.map +0 -1
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +0 -1
- package/dist/components/p-56MQxIOz.js +0 -2
- package/dist/components/p-AP_j6gIy.js +0 -2
- package/dist/components/p-AgqVCLBX.js +0 -2
- package/dist/components/p-B1h-3Bk6.js +0 -2
- package/dist/components/p-B33zAR8E.js +0 -2
- package/dist/components/p-B6iaWskB.js +0 -2
- package/dist/components/p-BFgOju1b.js +0 -2
- package/dist/components/p-BGBbdXaw.js +0 -2
- package/dist/components/p-BQKG49PI.js +0 -2
- package/dist/components/p-BQwTK156.js +0 -2
- package/dist/components/p-BeaRYlDR.js +0 -2
- package/dist/components/p-BmpDO3IP.js +0 -2
- package/dist/components/p-BulPH2Jo.js +0 -2
- package/dist/components/p-BuxDaqmj.js +0 -2
- package/dist/components/p-C0oU5Cfy.js +0 -2
- package/dist/components/p-C0oU5Cfy.js.map +0 -1
- package/dist/components/p-C1gwyfdx.js +0 -2
- package/dist/components/p-C3FORjes.js +0 -2
- package/dist/components/p-C6lWCoIT.js +0 -2
- package/dist/components/p-C6lWCoIT.js.map +0 -1
- package/dist/components/p-C8Dz7m3K.js +0 -2
- package/dist/components/p-CApTrLt_.js +0 -2
- package/dist/components/p-CWqwLjht.js +0 -2
- package/dist/components/p-CjLb45eA.js +0 -2
- package/dist/components/p-Cud80xdU.js +0 -2
- package/dist/components/p-CxgByuap.js +0 -2
- package/dist/components/p-DHHuTk1C.js +0 -2
- package/dist/components/p-DLekIjaq.js +0 -2
- package/dist/components/p-DNwlLHgl.js +0 -2
- package/dist/components/p-DP2lfWFG.js +0 -2
- package/dist/components/p-Dj4jb_55.js +0 -2
- package/dist/components/p-DkhX1qsg.js +0 -2
- package/dist/components/p-Dmp9jVbi.js +0 -2
- package/dist/components/p-Dn5brtiA.js +0 -2
- package/dist/components/p-SAYWxZnn.js +0 -2
- package/dist/components/p-X22HVbOR.js +0 -2
- package/dist/components/p-diHpl72F.js +0 -2
- package/dist/components/p-neYuyhok.js +0 -2
- package/dist/components/p-rKh5fDrR.js +0 -2
- package/dist/components/p-tXifYvLV.js +0 -2
- package/dist/components/p-z-IEAPIC.js +0 -2
- package/dist/esm/Notice-C6lWCoIT.js.map +0 -1
- package/dist/esm/smoothly-app_98.entry.js.map +0 -1
- package/dist/smoothly/p-793c7f9d.entry.js +0 -2
- package/dist/smoothly/p-793c7f9d.entry.js.map +0 -1
- package/dist/smoothly/p-7d6c72eb.entry.js +0 -2
- package/dist/smoothly/p-C6lWCoIT.js +0 -2
- package/dist/smoothly/p-C6lWCoIT.js.map +0 -1
- /package/dist/components/{p-X22HVbOR.js.map → p-0WCHC4VI.js.map} +0 -0
- /package/dist/components/{p-B5fLCjIP.js.map → p-5Z_db2DH.js.map} +0 -0
- /package/dist/components/{p-C9W3k6wS.js.map → p-5l1ov6SU.js.map} +0 -0
- /package/dist/components/{p-BmpDO3IP.js.map → p-7UXKt7wZ.js.map} +0 -0
- /package/dist/components/{p-Dn5brtiA.js.map → p-9Fd6-bL0.js.map} +0 -0
- /package/dist/components/{p-D83NzhAZ.js.map → p-B-jhX7aN.js.map} +0 -0
- /package/dist/components/{p-SAYWxZnn.js.map → p-B8I-Yh5P.js.map} +0 -0
- /package/dist/components/{p-BuxDaqmj.js.map → p-BAMlbqpU.js.map} +0 -0
- /package/dist/components/{p-DqGZ9Vzy.js.map → p-BCwizh6U.js.map} +0 -0
- /package/dist/components/{p-DuVAEZcg.js.map → p-BHTAR2x1.js.map} +0 -0
- /package/dist/components/{p-DLekIjaq.js.map → p-BLIeXp8k.js.map} +0 -0
- /package/dist/components/{p-DVb0lxbZ.js.map → p-BOzzNfNj.js.map} +0 -0
- /package/dist/components/{p-BpV6GXd7.js.map → p-BTjay9Fy.js.map} +0 -0
- /package/dist/components/{p-DHHuTk1C.js.map → p-BUo_O_Bt.js.map} +0 -0
- /package/dist/components/{p-C02MtoAQ.js.map → p-BWT1q2tN.js.map} +0 -0
- /package/dist/components/{p-kRSq8qa0.js.map → p-BcEDrfmP.js.map} +0 -0
- /package/dist/components/{p-BFsrI2_x.js.map → p-BdYr9Wou.js.map} +0 -0
- /package/dist/components/{p-B5HCjRvr.js.map → p-Bo1NnbuT.js.map} +0 -0
- /package/dist/components/{p-CApTrLt_.js.map → p-Bv6ll-a-.js.map} +0 -0
- /package/dist/components/{p-CxgByuap.js.map → p-BvTs7KUn.js.map} +0 -0
- /package/dist/components/{p-fnKrPnzp.js.map → p-ByRyVRgY.js.map} +0 -0
- /package/dist/components/{p-Bes8H54c.js.map → p-C77C00Ii.js.map} +0 -0
- /package/dist/components/{p-BulPH2Jo.js.map → p-C7PxdEtX.js.map} +0 -0
- /package/dist/components/{p-B6iaWskB.js.map → p-C7rAw-Sf.js.map} +0 -0
- /package/dist/components/{p-CKfiAXG_.js.map → p-CCaI37_s.js.map} +0 -0
- /package/dist/components/{p-BJ1QHaKC.js.map → p-CDzU4-Ri.js.map} +0 -0
- /package/dist/components/{p-C1OHc_IH.js.map → p-CE-IZkWY.js.map} +0 -0
- /package/dist/components/{p-CFgT9iMG.js.map → p-CFwdTUm-.js.map} +0 -0
- /package/dist/components/{p-CWqwLjht.js.map → p-CIXMGKGQ.js.map} +0 -0
- /package/dist/components/{p-QhNiluOP.js.map → p-CKGlbozb.js.map} +0 -0
- /package/dist/components/{p-DxpX6YuH.js.map → p-CLqKhHZ8.js.map} +0 -0
- /package/dist/components/{p-DP2lfWFG.js.map → p-CMMaSJvr.js.map} +0 -0
- /package/dist/components/{p-C5zlJTUx.js.map → p-CN3iME9d.js.map} +0 -0
- /package/dist/components/{p-D6L21sGE.js.map → p-CNEHa0dN.js.map} +0 -0
- /package/dist/components/{p-BHcHgI_e.js.map → p-CTvqaqVm.js.map} +0 -0
- /package/dist/components/{p-CxsaIxQ8.js.map → p-CY71xgKe.js.map} +0 -0
- /package/dist/components/{p-GOrXJdjK.js.map → p-CZIRwPwA.js.map} +0 -0
- /package/dist/components/{p-Bpc6uh0M.js.map → p-CmUug44L.js.map} +0 -0
- /package/dist/components/{p-DmRiznt_.js.map → p-CmV6S6tx.js.map} +0 -0
- /package/dist/components/{p-CoJyQegK.js.map → p-Cu0ProBU.js.map} +0 -0
- /package/dist/components/{p-CL7fW_Oh.js.map → p-Cuq_eaHi.js.map} +0 -0
- /package/dist/components/{p-C1gwyfdx.js.map → p-CwhGUug6.js.map} +0 -0
- /package/dist/components/{p-Z0pkj6lv.js.map → p-D2AakJMz.js.map} +0 -0
- /package/dist/components/{p-B33zAR8E.js.map → p-D2dYkSrN.js.map} +0 -0
- /package/dist/components/{p-BeaRYlDR.js.map → p-DAwAJIiX.js.map} +0 -0
- /package/dist/components/{p-lxR7rA3k.js.map → p-DDYB8QLF.js.map} +0 -0
- /package/dist/components/{p-BEHgXDtQ.js.map → p-DDtRlhit.js.map} +0 -0
- /package/dist/components/{p-CmPHR3tf.js.map → p-DFPMixk-.js.map} +0 -0
- /package/dist/components/{p-CR3Ni_o7.js.map → p-DG2pfnCV.js.map} +0 -0
- /package/dist/components/{p-DuAHxRQq.js.map → p-DGTXEwvN.js.map} +0 -0
- /package/dist/components/{p-DlfphBOA.js.map → p-DIy2lHMf.js.map} +0 -0
- /package/dist/components/{p-Cw6jE38W.js.map → p-DJ-iHxJr.js.map} +0 -0
- /package/dist/components/{p-476P3lCN.js.map → p-DPlYDxyJ.js.map} +0 -0
- /package/dist/components/{p-Dmp9jVbi.js.map → p-DXfFWsRb.js.map} +0 -0
- /package/dist/components/{p-5IpBMfCQ.js.map → p-Dh6ItMz4.js.map} +0 -0
- /package/dist/components/{p-BhLDGQhC.js.map → p-Dk4OvZyQ.js.map} +0 -0
- /package/dist/components/{p-BApNLqiy.js.map → p-DkiBtdrU.js.map} +0 -0
- /package/dist/components/{p-DvKyYKhJ.js.map → p-DnvyyAaF.js.map} +0 -0
- /package/dist/components/{p-B7tRoQDk.js.map → p-Dq8EU803.js.map} +0 -0
- /package/dist/components/{p-tXifYvLV.js.map → p-DrVm8NNB.js.map} +0 -0
- /package/dist/components/{p-CjLb45eA.js.map → p-DsVjTKwJ.js.map} +0 -0
- /package/dist/components/{p-19XTl7bT.js.map → p-DukbAK5F.js.map} +0 -0
- /package/dist/components/{p-BGBbdXaw.js.map → p-DvMoIxws.js.map} +0 -0
- /package/dist/components/{p-Ud7Qhkgt.js.map → p-DvZK__s-.js.map} +0 -0
- /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
- /package/dist/components/{p-BSCQl0rf.js.map → p-Iph4bHku.js.map} +0 -0
- /package/dist/components/{p-BZjEcsXh.js.map → p-KzfbLe_L.js.map} +0 -0
- /package/dist/components/{p-tYcvbWv5.js.map → p-M0gzpGV-.js.map} +0 -0
- /package/dist/components/{p-BZPBFs15.js.map → p-MHAaISnU.js.map} +0 -0
- /package/dist/components/{p-rKh5fDrR.js.map → p-UNw22e3G.js.map} +0 -0
- /package/dist/components/{p-BmIb4zsg.js.map → p-UqPFIGlg.js.map} +0 -0
- /package/dist/components/{p-Cud80xdU.js.map → p-UyMXVF_R.js.map} +0 -0
- /package/dist/components/{p-DkhX1qsg.js.map → p-VQuZJp8X.js.map} +0 -0
- /package/dist/components/{p-AP_j6gIy.js.map → p-VpeNK8XH.js.map} +0 -0
- /package/dist/components/{p-C8Dz7m3K.js.map → p-WiBL-FFH.js.map} +0 -0
- /package/dist/components/{p-z-IEAPIC.js.map → p-e7wZ4-5T.js.map} +0 -0
- /package/dist/components/{p-diHpl72F.js.map → p-g3poxXoz.js.map} +0 -0
- /package/dist/components/{p-BQKG49PI.js.map → p-gq882NJF.js.map} +0 -0
- /package/dist/components/{p-CPnXAdGI.js.map → p-l818BCpp.js.map} +0 -0
- /package/dist/components/{p-D_uKY0yY.js.map → p-mgqCIR9Q.js.map} +0 -0
- /package/dist/components/{p-BygBViit.js.map → p-mmAi00ak.js.map} +0 -0
- /package/dist/components/{p-B-l1S16Z.js.map → p-uFR5K4vd.js.map} +0 -0
- /package/dist/components/{p-DtlLyiQE.js.map → p-vB-efyHR.js.map} +0 -0
- /package/dist/components/{p-BFgOju1b.js.map → p-w1uPMi4U.js.map} +0 -0
- /package/dist/components/{p-B3b5oz3b.js.map → p-ycoVDLCD.js.map} +0 -0
- /package/dist/components/{p-B2HeWzUx.js.map → p-zLhQ1mMe.js.map} +0 -0
- /package/dist/smoothly/{p-7d6c72eb.entry.js.map → p-17170ef1.entry.js.map} +0 -0
- /package/dist/smoothly/{p-1786667d.entry.js.map → p-36966f71.entry.js.map} +0 -0
- /package/dist/smoothly/{p-7da124ca.entry.js.map → p-77ef4a4c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-03e85253.entry.js.map → p-7a9308b9.entry.js.map} +0 -0
- /package/dist/smoothly/{p-d684139e.entry.js.map → p-ac2162c3.entry.js.map} +0 -0
- /package/dist/smoothly/{p-acfa35c3.entry.js.map → p-bd4c289b.entry.js.map} +0 -0
- /package/dist/smoothly/{p-05059140.entry.js.map → p-eb434b94.entry.js.map} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as e,H as t,h as o,F as a,d as s,t as m}from"./p-BsZrGTcp.js";import{R as c}from"./p-Br0kWrBT.js";import{d as i}from"./p-mmAi00ak.js";import{d}from"./p-MHAaISnU.js";import{d as r}from"./p-CmV6S6tx.js";import{d as l}from"./p-DnvyyAaF.js";import{d as n}from"./p-CN3iME9d.js";import{d as f}from"./p-DG2pfnCV.js";import{d as y}from"./p-uFR5K4vd.js";import{d as b}from"./p-DvZK__s-.js";import{d as p}from"./p-F8qX8ZuL.js";import{d as h}from"./p-DPlYDxyJ.js";import{d as u}from"./p-DDYB8QLF.js";import{d as k}from"./p-BHTAR2x1.js";import{d as j}from"./p-B-jhX7aN.js";import{d as g}from"./p-Dk4OvZyQ.js";import{d as v}from"./p-CDzU4-Ri.js";import{d as E}from"./p-DJ-iHxJr.js";import{d as w}from"./p-5l1ov6SU.js";import{d as O}from"./p-DkiBtdrU.js";import{d as S}from"./p-UqPFIGlg.js";import{d as D}from"./p-DIy2lHMf.js";import{d as x}from"./p-Bo1NnbuT.js";import{d as P}from"./p-BQOdxeHU.js";import{d as F}from"./p-Dq8EU803.js";import{d as H}from"./p-CLqKhHZ8.js";import{d as z}from"./p-CZIRwPwA.js";import{d as C}from"./p-ycoVDLCD.js";import{d as I}from"./p-ByRyVRgY.js";import{d as R}from"./p-CmUug44L.js";import{d as B}from"./p-BcEDrfmP.js";import{d as N}from"./p-2Y5tLcQ1.js";import{d as U}from"./p-BCwizh6U.js";const L=()=>`.sc-smoothly-form-demo-pet-h{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:auto auto;grid-column-gap:2rem}.sc-smoothly-form-demo-pet-h smoothly-input-checkbox[name="hasOwner"].sc-smoothly-form-demo-pet,.sc-smoothly-form-demo-pet-h>smoothly-form.sc-smoothly-form-demo-pet smoothly-tabs.sc-smoothly-form-demo-pet{flex-basis:100%}`;const q=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.hasOwner=false;this.owner={}}render(){var e,t;return o(s,{key:"1e20a61c9db6aafdf47e54ed7aaef6c1ca3d8bfa"},o("h2",{key:"45492fefcf3cc0fb1a4010711cf10f0bded34893"},"Pet"),o("h3",{key:"bc05c80a795091886b94ba85dd89746e58159ea3"},"Value"),o("smoothly-form",{key:"42a8ccf63773aa8b235931cc66415cfd0f1f0c14",looks:"border",onSmoothlyFormSubmit:e=>alert(JSON.stringify(e.detail)),onSmoothlyFormInput:e=>this.value=Object.assign({},e.detail)},o("smoothly-input",{key:"3606396ae683768fb6ef5e5940f43fbef81800c9",type:"text",name:"name.first",value:"Johnny"},"Name",o("smoothly-input-reset",{key:"1128b00ce30571d90960f0747caf90394d08f093",slot:"end"})),o("smoothly-input",{key:"fbd205ba349d3f754af21ebdc40434946bb712a4",type:"integer",name:"age"},"Age (Years)"),o("smoothly-input-checkbox",{key:"e4465a244c36403f0869f5d739d9cdea595136ce",name:"hasOwner",onSmoothlyInputLoad:e=>e.stopPropagation(),onSmoothlyInput:e=>{this.hasOwner=e.detail.hasOwner;e.stopPropagation()}},"Has Owner",o("smoothly-input-reset",{key:"7be8886cdeedbdeb87c28b2024c26bd4532f07ed",slot:"end"})),this.hasOwner&&o(a,{key:"972c8da03c31ff920a5131daa1d046f7e80418c1"},o("smoothly-input",{key:"4fd076e713c449b56e4d3b38b47009a3301c81df",type:"text",name:"owner.firstName",value:this.owner.firstName,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{firstName:e.detail["owner.firstName"]})},"Owner First Name",o("smoothly-input-reset",{key:"2af7bfb23d1d67903be625827d5d237640fc16b0",slot:"end"})),o("smoothly-input",{key:"ba357c367c5006c2002dee8f597b0344572c6238",type:"text",name:"owner.lastName",value:this.owner.lastName,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{lastName:e.detail["owner.lastName"]})},"Owner Last Name"),o("smoothly-input-file",{key:"8caa1d54740a0e1fb3b29d709f6feb32c8c45a31",name:"owner.picture"},o("span",{key:"10332335746aadd62719e024aaa6f825a5b2800b",slot:"label"},"Owner picture")),o("smoothly-input-date",{key:"c8c1afc04ae737af2b45c061ee21b4dfb1713869",name:"owner.birthday",value:this.owner.birthday,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{birthday:e.detail["owner.birthday"]})},"Owner birthday",o("smoothly-input-reset",{key:"e13a649d0d308340d419d2355d7d48fbfce257e7",slot:"end"})),o("smoothly-input-date-range",{key:"952264d17218340e89fe16c40b6003ee94f34c9e",name:"owner.ownedRange",start:(e=this.owner.ownedRange)===null||e===void 0?void 0:e.start,end:(t=this.owner.ownedRange)===null||t===void 0?void 0:t.end,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{ownedRange:e.detail["owner.ownedRange"]})},"Owner ownedRange",o("smoothly-input-reset",{key:"f99d74c312b6b7ddc3d3b169b672d3cc478cb3a3",slot:"end"})),o("smoothly-input-range",{key:"d799c177fa826a5a582d1785add6d9ac512434a2",name:"owner.height",step:1,max:250,value:this.owner.height,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{height:e.detail["owner.height"]})},"Owner's Height",o("smoothly-input-reset",{key:"a872fe1b4ae49293daad5ca2c781fe9abe514b95",slot:"end"})),o("smoothly-input-select",{key:"cc6a5ef5238abc4dce3c2321c8f5c184c0dfe320",name:"owner.favoriteHat"},o("span",{key:"a073973ff9b090a82a23b81ca82875ac5155f822",slot:"label"},"Owner's Favorite Hat"),["🎩 top hat","🧢 cap","👒 sun hat","❌ none"].map(((e,t)=>o("smoothly-item",{value:e,key:t,selected:this.owner.favoriteHat==e},e))),o("smoothly-input-reset",{key:"c39f9d320b08362f082749f5338de8d4530f9da5",slot:"end"})),o("smoothly-input-color",{key:"50e462d1f87b19685f627deb90d9eb3d2798c15a",name:"owner.favoriteColor",value:this.owner.favoriteColor?c.toHex(this.owner.favoriteColor):undefined,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{favoriteColor:e.detail["owner.favoriteColor"]})},"Owner's Favorite Color",o("smoothly-input-reset",{key:"d63535ee7ac6bae7424f60bff48cc5342594ced6",slot:"end"})),o("smoothly-input-radio",{key:"f015946e2a17358be9f8279c5f92566101dd69ef",name:"owner.favoritePizza",value:this.owner.favoritePizza,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{favoritePizza:e.detail["owner.favoritePizza"]})},o("span",{key:"0e33220f442cf7e1b2908259c68bbf196fe2d2b2",slot:"label"},"Owner's Favorite Pizza"),["vesuvio","capricciosa","quattro formaggi"].map(((e,t)=>o("smoothly-input-radio-item",{value:e,key:t},e)))),o("smoothly-input-checkbox",{key:"7db7129193020bc6375b859f8eed9bbd3a774b72",name:"owner.hasPet",checked:this.owner.hasPet,onSmoothlyInput:e=>this.owner=Object.assign(Object.assign({},this.owner),{hasPet:e.detail["owner.hasPet"]})},"Has Pet")),o("smoothly-tabs",{key:"c02261545ec207a2be19261796ff1ab0322221c7"},o("smoothly-tab",{key:"64fc9145089d8175e87b77746a301d2a300227ff",label:"Dog",name:"dog"},o("smoothly-input",{key:"93efb08d77a27ebeb0ec1ffaa31d8f20ad1c5c79",type:"text",name:"dog.breed"},"Breed"),o("smoothly-input-file",{key:"fbb759287fbb384110dab6bd67e526e0e1b87061",name:"dog.picture"},o("span",{key:"75354c72313adfbf2f0590a4a1d629b056a584d0",slot:"label"},"Dog picture")),o("smoothly-input-date-time",{key:"67cb08aae3427ea09418763cd4f5c89f4c12885c",name:"dog.lastWalk"},"Time of last walk"),o("smoothly-input-date",{key:"bfc8d1878f5e8c0b9e06dd6db93c5414d072aade",name:"dog.birthday"},"Dog birthday"),o("smoothly-input-date-range",{key:"d89333abe0b84513f7b59d0910ec979dc63e4f76",name:"dog.dateRange"},"Dog date range"),o("smoothly-input-select",{key:"0ca96cd6cd0ed9d0d0b6e3212c4e545b1783edda",name:"dog.favoriteHat"},o("span",{key:"e9bb41040522fc010702793420c2f448fa2fc0af",slot:"label"},"Dog's Favorite Hat"),["🎩 top hat","🧢 cap","👒 sun hat","❌ none"].map(((e,t)=>o("smoothly-item",{value:e,key:t},e)))),o("smoothly-input-color",{key:"609b660e2980b33ac4c437fd3a2cecc212fb700d",name:"dog.favoriteColor"},"Dog's Favorite Color"),o("smoothly-input-radio",{key:"496506fd830c3da16c3cbb32ed7a93b54e1d023f",name:"dog.favoritePizza"},o("span",{key:"59bdad0dc97036ca753d7de08dadcd9ab888df47",slot:"label"},"Dog's Favorite Pizza"),["vesuvio","capricciosa","quattro formaggi"].map(((e,t)=>o("smoothly-input-radio-item",{value:e,key:t},e)))),o("smoothly-input-checkbox",{key:"2ad32725e92f4eb3f6402751facf72563491a5a7",name:"dog.hasPet"},"Has Pet")),o("smoothly-tab",{key:"09d4b79adbbf8772285a13ce1bb45fea67c3c019",label:"Cat",name:"cat",open:true},o("smoothly-input",{key:"2a298883bf58261ec42cd8a7cb220421604233f2",name:"cat.favoriteFood"},"Favorite Food")),o("smoothly-tab",{key:"6ded1101edaf7025402e2084cfa3d530a9440497",label:"Parrot",name:"parrot"},o("smoothly-input",{key:"c6fec8eff6ed07080cfcfd7e04a1accd9be5e698",type:"price",name:"parrot.price",currency:"EUR"},"Summary Price"),o("smoothly-input-file",{key:"1ef6c74c21f3a530ea18a5fb843c0f39c5d09a5c",name:"parrot.picture"},o("span",{key:"1506866be3f7d5032caa07277ddb4900adf796e4",slot:"label"},"Summary picture"),o("smoothly-input-clear",{key:"2768b4e77018167d8c5459561627c7176f6af19e",slot:"end"})),o("smoothly-input-date",{key:"4482cadd8c81d8cf68d01d940759c9c8fa302889",name:"parrot.birthday"},"Summary birthday"),o("smoothly-input-date-range",{key:"1db7a128f9fe548e64a26b106f0428cf027515dd",name:"parrot.ownedRange",start:"2020-01-01",end:"2020-01-15"},"Summary ownedRange",o("smoothly-input-reset",{key:"f61bb824149c3927ee9e7df5474bc1140b557c2d",slot:"end"})),o("smoothly-input-range",{key:"455be79335de1c32001a9baf41bc6601600a6f2b",name:"parrot.height",label:"Height"},o("smoothly-input-reset",{key:"f0c5284602a08d52331e2fca63bf561212bce4f9",slot:"end"})),o("smoothly-input-select",{key:"2b5d15b9bdda780755ddb704019bdf9b075f7593",name:"parrot.favoriteHat"},o("span",{key:"e23e7228157f39f8d5b565c6283e65d848d662f2",slot:"label"},"Summary's Favorite Hat"),["🎩 top hat","🧢 cap","👒 sun hat","❌ none"].map(((e,t)=>o("smoothly-item",{value:e,key:t},e)))),o("smoothly-input-month",{key:"282eb367f0a8bbcc9b296358933c83a2ab1246a2",name:"parrot.month"},o("span",{key:"46678c21d019c38d586da52a8ca5ba14e54f9545",slot:"month-label"},"Summary month")),o("smoothly-input-color",{key:"74de10bf1eb9a54f1f5139f9b7549b84d90f521e",name:"parrot.color"},"Summary Color"),o("smoothly-input-radio",{key:"2135343dbedb74df58a88e011921ed5cf93a8f69",name:"parrot.favoritePizza"},o("span",{key:"b549ce953d14b96b12496f989cf8c237fa697d6d",slot:"label"},"Summary's Favorite Pizza"),["vesuvio","capricciosa","quattro formaggi"].map(((e,t)=>o("smoothly-input-radio-item",{value:e,key:t},e)))),o("smoothly-input-checkbox",{key:"e4fd4673ea5c4feb91142062527f7537f715738e",name:"parrot.hasPet"},"Has Pet"))),o("smoothly-input-submit",{key:"c757eec9af05b183a036119430533a2fdfa7ff26",size:"icon",slot:"submit",color:"success",fill:"solid"})),o("smoothly-display",{key:"94108e7af02550ba3ea038b879e0db56fe057833",type:"json",value:this.value}))}static get style(){return L()}},[2,"smoothly-form-demo-pet",{hasOwner:[32],owner:[32],value:[32]}]);function A(){if(typeof customElements==="undefined"){return}const e=["smoothly-form-demo-pet","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-form-demo-pet":if(!customElements.get(m(e))){customElements.define(m(e),q)}break;case"smoothly-button":if(!customElements.get(m(e))){i()}break;case"smoothly-button-confirm":if(!customElements.get(m(e))){d()}break;case"smoothly-calendar":if(!customElements.get(m(e))){r()}break;case"smoothly-date-text":if(!customElements.get(m(e))){l()}break;case"smoothly-display":if(!customElements.get(m(e))){n()}break;case"smoothly-display-json":if(!customElements.get(m(e))){f()}break;case"smoothly-display-json-object":if(!customElements.get(m(e))){y()}break;case"smoothly-display-json-primitive":if(!customElements.get(m(e))){b()}break;case"smoothly-display-json-record-key":if(!customElements.get(m(e))){p()}break;case"smoothly-form":if(!customElements.get(m(e))){h()}break;case"smoothly-icon":if(!customElements.get(m(e))){u()}break;case"smoothly-input":if(!customElements.get(m(e))){k()}break;case"smoothly-input-checkbox":if(!customElements.get(m(e))){j()}break;case"smoothly-input-clear":if(!customElements.get(m(e))){g()}break;case"smoothly-input-color":if(!customElements.get(m(e))){v()}break;case"smoothly-input-date":if(!customElements.get(m(e))){E()}break;case"smoothly-input-date-range":if(!customElements.get(m(e))){w()}break;case"smoothly-input-date-time":if(!customElements.get(m(e))){O()}break;case"smoothly-input-file":if(!customElements.get(m(e))){S()}break;case"smoothly-input-month":if(!customElements.get(m(e))){D()}break;case"smoothly-input-radio":if(!customElements.get(m(e))){x()}break;case"smoothly-input-radio-item":if(!customElements.get(m(e))){P()}break;case"smoothly-input-range":if(!customElements.get(m(e))){F()}break;case"smoothly-input-reset":if(!customElements.get(m(e))){H()}break;case"smoothly-input-select":if(!customElements.get(m(e))){z()}break;case"smoothly-input-submit":if(!customElements.get(m(e))){C()}break;case"smoothly-item":if(!customElements.get(m(e))){I()}break;case"smoothly-spinner":if(!customElements.get(m(e))){R()}break;case"smoothly-tab":if(!customElements.get(m(e))){B()}break;case"smoothly-tabs":if(!customElements.get(m(e))){N()}break;case"smoothly-toggle-switch":if(!customElements.get(m(e))){U()}break}}))}A();export{q as S,A as d};
|
|
2
|
+
//# sourceMappingURL=p-VpeNK8XH.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as e,H as o,h as t,d as s,t as m}from"./p-BsZrGTcp.js";import{d as c}from"./p-mmAi00ak.js";import{d as r}from"./p-MHAaISnU.js";import{d as a}from"./p-DPlYDxyJ.js";import{d as n}from"./p-DDYB8QLF.js";import{d as i}from"./p-BHTAR2x1.js";import{d as f}from"./p-CLqKhHZ8.js";import{d as p}from"./p-ycoVDLCD.js";import{d as y}from"./p-CmUug44L.js";const l=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(s,{key:"c1873c86bb44177e638d7b52d7bbbcb1d0482e1b"},t("h2",{key:"a8edb5f0241dac96350d75eaad7b0c78adf1c13b"},"Prices"),t("smoothly-form",{key:"143874192e2caf3ce0297983e1c5ecc6002705a2",looks:"line"},t("smoothly-input",{key:"151a20903ab8024b291ef1cd6f868bfcbdfdf187",type:"price",name:"no"},"No currency"),t("smoothly-input",{key:"c7a5959241c42d8fee2d741064585c1c79560544",type:"price",name:"crowns",currency:"SEK",toInteger:true},"SEK (toInteger)"),t("smoothly-input",{key:"cfe92d5a2e94598e728d0f0b815652e4ed6d33e1",type:"price",name:"usDollar",currency:"USD"},"USD"),t("smoothly-input",{key:"bd3ffd16af42eb13fe3d6ea4ddad8ceb83827671",type:"price",name:"pounds",currency:"GBP"},"GBP"),t("smoothly-input",{key:"a12b9078e45b65a5b281a0c4ff40caf6446522b8",type:"price",name:"peso",currency:"UYW"},"UYW"),t("smoothly-input",{key:"a8a1efcb2bacb8e56b552aeda19e65eca5690fd3",type:"price",name:"iceland",currency:"ISK"},"ISK"),t("smoothly-input",{key:"be59abc2f31cb215c192566ca4218a19cf2f004a",type:"price",name:"Palladium",currency:"XPD"},"XPD (Palladium)"),t("smoothly-input-reset",{key:"a331ae378f5c10553c3b7f7669322c3d4e9d9973",slot:"reset",fill:"default",type:"form",color:"warning"}),t("smoothly-input-submit",{key:"bef886536c5366779bf3c7c10e35a3e42f65075b",slot:"submit"})))}},[2,"smoothly-form-demo-prices"]);function u(){if(typeof customElements==="undefined"){return}const e=["smoothly-form-demo-prices","smoothly-button","smoothly-button-confirm","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-reset","smoothly-input-submit","smoothly-spinner"];e.forEach((e=>{switch(e){case"smoothly-form-demo-prices":if(!customElements.get(m(e))){customElements.define(m(e),l)}break;case"smoothly-button":if(!customElements.get(m(e))){c()}break;case"smoothly-button-confirm":if(!customElements.get(m(e))){r()}break;case"smoothly-form":if(!customElements.get(m(e))){a()}break;case"smoothly-icon":if(!customElements.get(m(e))){n()}break;case"smoothly-input":if(!customElements.get(m(e))){i()}break;case"smoothly-input-reset":if(!customElements.get(m(e))){f()}break;case"smoothly-input-submit":if(!customElements.get(m(e))){p()}break;case"smoothly-spinner":if(!customElements.get(m(e))){y()}break}}))}u();export{l as S,u as d};
|
|
2
|
+
//# sourceMappingURL=p-WiBL-FFH.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as s,H as e,h as o,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-CN3iME9d.js";import{d as m}from"./p-DG2pfnCV.js";import{d as i}from"./p-uFR5K4vd.js";import{d as c}from"./p-DvZK__s-.js";import{d}from"./p-F8qX8ZuL.js";const l=()=>`.sc-smoothly-theme-guide-h{max-width:50ch}`;const r=s(class s extends e{constructor(s){super();if(s!==false){this.__registerHost()}}render(){return[o("smoothly-display",{key:"504bfdf471aa62a566cb5ac96654b9e00d88e292"},"Tint is used as background to highlight, for example hovering an item in the select menu."),o("br",{key:"9eb11da56a43e89a690df6872cb34900f565ff75"}),o("smoothly-display",{key:"1955543920f4ea9c106d44a2d795fe2bde0df1f5"},"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:"cc09a61f2e021b2782fd63734b07c21973e4cd56"}),o("smoothly-display",{key:"9e26806ea2d6f725073f674a9f19c8d9b916c223"},"Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),o("br",{key:"1e0130f07d2a001fc206190d93c660f117596899"}),o("smoothly-display",{key:"4c7cdf267964d06803f03ff567ab0cb881b709b8"},"One can use the ","<smoothly-color>"," component to switch between what color set is used."," "),o("br",{key:"b2abb2ebff2bf2a5f329e5665f9bcf7c11b65bfc"})]}static get style(){return l()}},[2,"smoothly-theme-guide"]);function n(){if(typeof customElements==="undefined"){return}const s=["smoothly-theme-guide","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key"];s.forEach((s=>{switch(s){case"smoothly-theme-guide":if(!customElements.get(t(s))){customElements.define(t(s),r)}break;case"smoothly-display":if(!customElements.get(t(s))){a()}break;case"smoothly-display-json":if(!customElements.get(t(s))){m()}break;case"smoothly-display-json-object":if(!customElements.get(t(s))){i()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(s))){c()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(s))){d()}break}}))}n();export{r as S,n as d};
|
|
2
|
+
//# sourceMappingURL=p-e7wZ4-5T.js.map
|
|
@@ -0,0 +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-mmAi00ak.js";import{d as l}from"./p-MHAaISnU.js";import{d as c}from"./p-CN3iME9d.js";import{d as i}from"./p-DG2pfnCV.js";import{d as f}from"./p-uFR5K4vd.js";import{d}from"./p-DvZK__s-.js";import{d as b}from"./p-F8qX8ZuL.js";import{d as r}from"./p-DPlYDxyJ.js";import{d as n}from"./p-DDYB8QLF.js";import{d as y}from"./p-BHTAR2x1.js";import{d as p}from"./p-B-jhX7aN.js";import{d as u}from"./p-Dk4OvZyQ.js";import{d as h}from"./p-CDzU4-Ri.js";import{d as k}from"./p-BOzzNfNj.js";import{d as j}from"./p-UqPFIGlg.js";import{d as E}from"./p-Bo1NnbuT.js";import{d as g}from"./p-BQOdxeHU.js";import{d as v}from"./p-Dq8EU803.js";import{d as x}from"./p-CLqKhHZ8.js";import{d as z}from"./p-CZIRwPwA.js";import{d as D}from"./p-ycoVDLCD.js";import{d as C}from"./p-ByRyVRgY.js";import{d as P}from"./p-CmUug44L.js";import{d as F}from"./p-BCwizh6U.js";const L=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return t(a,{key:"2b2e779dc35f9f35173515a6db59425654d7446a"},t("h2",{key:"b2423e5f45a6841b6fedcb7db17626ed192ee15d"},"All inputs"),t("smoothly-form",{key:"ac6fc721d22456edb5104ba9553c423d6f8bdebe",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:"4ec033bb9d51a7edc81cce2a1fde55bd21458318",readonly:true,name:"First Name",value:"John"},"First name"),t("smoothly-input",{key:"8d6abee797b1c9b60efeb068c828453174401012",showLabel:false,name:"Last name",value:"Doe"},"Last name",t("smoothly-input-clear",{key:"8caeac3cbd2290eaeeda549aea083d4499b960c5",size:"icon",slot:"end"})),t("smoothly-input",{key:"9a22277ed064a84b98a8c68c5f176758735748f0",type:"phone",name:"Phone",value:"777888999"},"Phone",t("smoothly-input-reset",{key:"2b45ff8ceaf71289d350e102d53123dc1c82600f",size:"icon",slot:"end"})),t("smoothly-input-radio",{key:"15856b48204c21b5f7318df22130e17aa3e14e8d",clearable:true,name:"radioFirstInput"},t("label",{key:"c94b6e0c185c8ab4325161a6e4249863017e5eb2",slot:"label"},"Clearable"),t("smoothly-input-radio-item",{key:"e978bde5ec519ab872eac3fb2a7d75b493099f31",value:"first"},"Label 1"),t("smoothly-input-radio-item",{key:"3c30fd0d9b549f93c912759f8329570db377df79",selected:true,value:"second"},"Label 2"),t("smoothly-input-radio-item",{key:"2f3f773cade1c39fa2a121b24ba2778a42d9a9b0",value:"third"},"Label 3")),t("smoothly-input-color",{key:"f1e0b0b1e759c85c5de1f3a8af9818b41c692bdb",name:"color"},"Color"),t("smoothly-input-select",{key:"7e1069ff0515224e17145539afefec11979ed88c",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},t("label",{key:"c42749acb44e6e7db99f4e7981f20ad0c09f1694",slot:"label"},"Month multiple select"),t("smoothly-item",{key:"fdd0c90294bdf50d77ccf187777fdd804760b8ac",value:"1"},"January"),t("smoothly-item",{key:"4f0c9d90f6909eaacccd5d385e317832f5a8b213",value:"2"},"February"),t("smoothly-item",{key:"7779ea4af1f17cb48ef0249b7857262deb6c485d",value:"3"},"March"),t("smoothly-item",{key:"5f15c3d32240bfb7c3b8d0a61f90599697b8e2a0",value:"4"},"April"),t("smoothly-item",{key:"0952c95b2cf623f5573d70b5fa39b1c1ce008f16",value:"5"},"May"),t("smoothly-item",{key:"1352e9245e39341d99d1bc8d051691b6b70dac37",value:"6"},"June"),t("smoothly-item",{key:"7eddedff608a9148cb2b9c17f23ac2108b2190fd",value:"7"},"July"),t("smoothly-item",{key:"627e81c5c7ddd5e1230b6eead20ac7932edbff9a",value:"8"},"August"),t("smoothly-item",{key:"587bcf666e0bc92c14f5665f975563f06a419bac",value:"9"},"September"),t("smoothly-item",{key:"896f05e2b88d7613cbc7f21b2aa4c58f1ae3938d",value:"10"},"October"),t("smoothly-item",{key:"fb539afa5edd3fe8391df5fc9d63fcb84940512c",value:"11"},"November"),t("smoothly-item",{key:"959e9af2c479a299431f302041649bd86f5db331",value:"12"},"December")),t("smoothly-input-select",{key:"64e83fb7dba19c8c21b5697eade0c7c5404d330c",name:"select-icon",clearable:false,showSelected:false},t("smoothly-item",{key:"b1a055ab1c73f28e0b49e626561aeff83efb124b",value:"folder",selected:true},t("smoothly-icon",{key:"9ba931c9dd28c9f88168f5ab94fd80bc6f7f6bc0",size:"small",name:"folder-outline"})),t("smoothly-item",{key:"acd791714a16504b5dc6a56f2fbfc89cf1ef4600",value:"camera"},t("smoothly-icon",{key:"d65e7beb3c74941bf494769126124ef79ce800d0",size:"small",name:"camera-outline"}))),t("smoothly-input-checkbox",{key:"d6f2f199daf447bb0992ca8839b89e4e14166846",name:"checkbox"},"Check the box"),t("smoothly-input-checkbox",{key:"79885d84642626f7cba6d348d0044f2c8037007e",name:"checkbox2",checked:true},"Check the box 2"),t("smoothly-input-range",{key:"7e791279c3b1bd2898d4c5e9e35ef9df76aa14cf",step:1,name:"range3",value:20,label:"Range"}),t("smoothly-input",{key:"f7b07cef9882952dc91be6484c04ba459ef5db62",name:"pets.0.name"},"First Pet's Name"),t("smoothly-input-range",{key:"44b404105c6d9aa19c7f14ac529e7b8ab3f964e9",name:"pets.0.age",max:100,step:1,label:"First Pet's Age"}),t("smoothly-input",{key:"aca9bc7aebd243f8e82158d1c60b7a69886e9a02",name:"pets.1.name"},"Second Pet's Name"),t("smoothly-input-range",{key:"674b16d94949bcbd3fd4980b0b262ba580efbd5b",name:"pets.1.age",max:100,step:1,label:"Second Pet's Age"}),t("smoothly-input",{key:"b25175ffa941b70d606a66db0f97e61547faf5b9",name:"pets.2.name"},"Third Pet's Name"),t("smoothly-input-range",{key:"0113d466fc09afc4734a65500cdc20b06267d77d",name:"pets.2.age",max:100,step:1,label:"Third Pet's Age"}),t("smoothly-input-file",{key:"cd15c39915ea43095e237f4f1952ed271f6e756b",name:"profile",placeholder:"Click or drag your profile picture here..."},t("span",{key:"a6138d70fbf10e1cf7cc4ad624422315d05c9619",slot:"label"},"Profile"),t("smoothly-icon",{key:"5c53d92dd91402c2db9d57dc3dfd274cbea4b730",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),t("smoothly-input",{key:"497261e5f152c2af406dcc6860a6092df8bbe1af",type:"duration",name:"duration",value:{}},"Duration"),t("smoothly-input-clear",{key:"7ba91aa6d31f7ff2ebbb3d07bd958610aad0fc1f",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),t("smoothly-input-edit",{key:"fd6a01b3f7417aa4074bbf2ca385cec9d437e429",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),t("smoothly-input-reset",{key:"3221d6e405488a7af0b917c99ee7f5acd9ca9f1d",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"e81eff668f6592a23f3f13262c123e97d1ca6c30",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),t("smoothly-input-submit",{key:"334bca3eb505ccd23c75efe1d3d66faa7638f4e0",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}},[2,"smoothly-form-demo-all"]);function w(){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),L)}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))){b()}break;case"smoothly-form":if(!customElements.get(s(e))){r()}break;case"smoothly-icon":if(!customElements.get(s(e))){n()}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))){E()}break;case"smoothly-input-radio-item":if(!customElements.get(s(e))){g()}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))){D()}break;case"smoothly-item":if(!customElements.get(s(e))){C()}break;case"smoothly-spinner":if(!customElements.get(s(e))){P()}break;case"smoothly-toggle-switch":if(!customElements.get(s(e))){F()}break}}))}w();export{L as S,w as d};
|
|
2
|
+
//# sourceMappingURL=p-g3poxXoz.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as t,H as e,h as o,F as s,d as a,t as m}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{d as n}from"./p-mmAi00ak.js";import{d as l}from"./p-CmV6S6tx.js";import{d as r}from"./p-DnvyyAaF.js";import{d as c}from"./p-DDYB8QLF.js";import{d}from"./p-B-jhX7aN.js";import{d as h}from"./p-Dk4OvZyQ.js";import{d as p}from"./p-DJ-iHxJr.js";import{d as u}from"./p-5l1ov6SU.js";import{d as y}from"./p-DIy2lHMf.js";import{d as f}from"./p-CZIRwPwA.js";import{d as b}from"./p-ByRyVRgY.js";const k=()=>`.sc-smoothly-input-date-demo-h{display:grid;grid-template-columns:repeat(auto-fit, minmax(20rem, 1fr));max-width:min(42rem, 100%);margin:auto;flex-direction:column;gap:0.5rem}.sc-smoothly-input-date-demo-h .sc-smoothly-input-date-demo:not(smoothly-input-date):not(smoothly-input-date-range){grid-column:1 / -1}`;const E=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.alwaysShowGuide=false}render(){return o(a,{key:"b0b29015752f46939700b57c62a07fa06ffe4e40"},o("div",{key:"513e17083a0162befffa69473ddbdece8548e9ba"},o("h2",{key:"d9ac3875a4027fb083c7daad59d99fea4ce27ade"},"Date input"),o("p",{key:"995523aa50c0634d265b3b9d91f5dac9a8502bf0"},"Different locales formatting the same date"),o("smoothly-button",{key:"10a90fd4fe35c81b689d4c0cc547cc887b852669",color:"primary",onClick:()=>this.date=this.date?i.Date.next(this.date):i.Date.now()},"Set date"),o("smoothly-input-checkbox",{key:"b7d9b9ab464d611493eb029a1819b1890da7e0c3",looks:"transparent",onSmoothlyUserInput:t=>{this.alwaysShowGuide=t.detail.value;console.log(this.alwaysShowGuide)}},"Always Show Guide")),["en-US","en-GB","de-DE","se-SE"].map((t=>o(s,null,o("smoothly-input-date",{locale:t,name:t,looks:"border",value:this.date,alwaysShowGuide:this.alwaysShowGuide},t,o("smoothly-input-clear",{slot:"end"})),o("smoothly-input-date-range",{locale:t,name:t+"-range",looks:"border",start:this.date,end:this.date?i.Date.next(this.date):undefined,alwaysShowGuide:this.alwaysShowGuide},t," Range",o("smoothly-input-clear",{slot:"end"}))))))}static get style(){return k()}},[2,"smoothly-input-date-demo",{date:[32],alwaysShowGuide:[32]}]);function g(){if(typeof customElements==="undefined"){return}const t=["smoothly-input-date-demo","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-icon","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-date","smoothly-input-date-range","smoothly-input-month","smoothly-input-select","smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-input-date-demo":if(!customElements.get(m(t))){customElements.define(m(t),E)}break;case"smoothly-button":if(!customElements.get(m(t))){n()}break;case"smoothly-calendar":if(!customElements.get(m(t))){l()}break;case"smoothly-date-text":if(!customElements.get(m(t))){r()}break;case"smoothly-icon":if(!customElements.get(m(t))){c()}break;case"smoothly-input-checkbox":if(!customElements.get(m(t))){d()}break;case"smoothly-input-clear":if(!customElements.get(m(t))){h()}break;case"smoothly-input-date":if(!customElements.get(m(t))){p()}break;case"smoothly-input-date-range":if(!customElements.get(m(t))){u()}break;case"smoothly-input-month":if(!customElements.get(m(t))){y()}break;case"smoothly-input-select":if(!customElements.get(m(t))){f()}break;case"smoothly-item":if(!customElements.get(m(t))){b()}break}}))}g();export{E as S,g as d};
|
|
2
|
+
//# sourceMappingURL=p-gq882NJF.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as o,H as s,c as l,h as a,d as t,t as d}from"./p-BsZrGTcp.js";import{d as e}from"./p-DDYB8QLF.js";const m=()=>`.sc-smoothly-modal-h{position:fixed;display:flex;justify-content:center;top:0;left:0;width:100%;height:100%;background-color:rgba(var(--smoothly-modal-backdrop));color:rgb(var(--smoothly-modal-foreground));z-index:20}.sc-smoothly-modal-h:not([open]),[hidden].sc-smoothly-modal-h{display:none}[align=center].sc-smoothly-modal-h{align-items:center}[align=top].sc-smoothly-modal-h>div.modal.sc-smoothly-modal{margin-top:calc((100dvh - var(--smoothly-modal-max-height)) / 2)}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal{display:flex;flex-direction:column;padding:2rem;gap:1.5rem;width:var(--smoothly-modal-width, 40rem);max-width:calc(100dvw - 1rem);height:fit-content;max-height:min(var(--smoothly-modal-max-height), 100dvh);background:rgb(var(--smoothly-modal-background, var(--smoothly-color)));border:1px solid rgb(var(--smoothly-modal-border));border-radius:var(--smoothly-modal-border-radius);box-shadow:var(--smoothly-modal-shadow);box-sizing:border-box}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal:empty,.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.actions.sc-smoothly-modal:empty{display:none}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal{display:flex;justify-content:space-between;align-items:center}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>*.sc-smoothly-modal,.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>*.sc-smoothly-modal{margin-block:0}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>*.sc-smoothly-modal:not(.header):not(.actions){overflow-y:auto}.sc-smoothly-modal-h>div.modal>div.header:not(:has([slot="header"])){justify-content:end}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>smoothly-icon.sc-smoothly-modal:not([slot="header"]){cursor:pointer;opacity:0.7;color:rgb(var(--smoothly-default-contrast))}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>smoothly-icon.sc-smoothly-modal:not([slot="header"]):hover{opacity:1}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.actions.sc-smoothly-modal{display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap}`;const c=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyModalChange=l(this,"smoothlyModalChange");this.open=false;this.closable=false;this.align="center"}openChanged(){this.smoothlyModalChange.emit(this.open)}async closeModal(){this.open=false}async openModal(){this.open=true}render(){return a(t,{key:"c8517f814256addf886be09be0058a8c15b73c14",role:"alertdialog",onClick:o=>{this.closable&&!o.composedPath().some((o=>{var s;return(s=o.classList)===null||s===void 0?void 0:s.contains("modal")}))&&this.closeModal()}},a("div",{key:"665feff20545ab424191b52e7cba17414d6d79c9",class:"modal"},a("div",{key:"1a459e840e395cc03825883b8305c070929dfc34",class:"header"},a("slot",{key:"b89490cc7029d45456126502db3985fcfdd99fd9",name:"header"}),this.closable&&a("smoothly-icon",{key:"83559c6915c83f2f2fdc0ac3e173e55845b7b4f3",name:"close-outline",fill:"solid",onClick:()=>this.closeModal()})),a("slot",{key:"4f069fcb1506d9fbdcaba2c657c7af533dec9bae"}),a("div",{key:"df07bf9b97164aa24c8a7c41440494372f2ae9e0",class:"actions"},a("slot",{key:"78a5774d274306aef00dc5a6cb91bf0027b84543",name:"actions"}))))}static get watchers(){return{open:[{openChanged:0}]}}static get style(){return m()}},[262,"smoothly-modal",{open:[1540],closable:[516],align:[513],closeModal:[64],openModal:[64]},undefined,{open:[{openChanged:0}]}]);function h(){if(typeof customElements==="undefined"){return}const o=["smoothly-modal","smoothly-icon"];o.forEach((o=>{switch(o){case"smoothly-modal":if(!customElements.get(d(o))){customElements.define(d(o),c)}break;case"smoothly-icon":if(!customElements.get(d(o))){e()}break}}))}h();export{c as S,h as d};
|
|
2
|
+
//# sourceMappingURL=p-jSrgQO7o.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyModal","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","open","closable","align","openChanged","smoothlyModalChange","emit","closeModal","openModal","render","h","Host","key","role","onClick","e","composedPath","some","el","_a","classList","contains","class","name","fill"],"sources":["src/components/modal/style.css?tag=smoothly-modal&encapsulation=scoped","src/components/modal/index.tsx"],"sourcesContent":[":host {\n\tposition: fixed;\n\tdisplay: flex;\n\tjustify-content: center;\n\ttop: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\tbackground-color: rgba(var(--smoothly-modal-backdrop));\n\tcolor: rgb(var(--smoothly-modal-foreground));\n\tz-index: 20;\n}\n:host:not([open]),\n:host[hidden] {\n\tdisplay: none;\n}\n:host[align=center] {\n\talign-items: center;\n}\n:host[align=top]>div.modal{\n\tmargin-top: calc((100dvh - var(--smoothly-modal-max-height)) / 2);\n}\n\n:host>div.modal {\n\tdisplay: flex;\n\tflex-direction: column;\n\tpadding: 2rem;\n\tgap: 1.5rem;\n\twidth: var(--smoothly-modal-width, 40rem);\n\tmax-width: calc(100dvw - 1rem);\n\theight: fit-content;\n\tmax-height: min(var(--smoothly-modal-max-height), 100dvh);\n\tbackground: rgb(var(--smoothly-modal-background, var(--smoothly-color)));\n\tborder: 1px solid rgb(var(--smoothly-modal-border));\n\tborder-radius: var(--smoothly-modal-border-radius);\n\tbox-shadow: var(--smoothly-modal-shadow);\n\tbox-sizing: border-box;\n}\n:host > div.modal > div.header:empty,\n:host > div.modal > div.actions:empty {\n\tdisplay: none;\n}\n:host > div.modal > div.header {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n}\n:host > div.modal > *,\n:host > div.modal > div.header > * {\n\tmargin-block: 0;\n}\n:host > div.modal > *:not(.header):not(.actions) {\n\toverflow-y: auto;\n}\n:host > div.modal > div.header:not(:has([slot=\"header\"])) {\n\tjustify-content: end;\n}\n:host > div.modal > div.header > smoothly-icon:not([slot=\"header\"]) {\n\tcursor: pointer;\n\topacity: 0.7;\n\tcolor: rgb(var(--smoothly-default-contrast));\n}\n:host > div.modal > div.header > smoothly-icon:not([slot=\"header\"]):hover {\n\topacity: 1;\n}\n:host > div.modal > div.actions {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tgap: 1rem;\n\tflex-wrap: wrap;\n}\n\n","import { Component, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-modal\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyModal {\n\t@Prop({ mutable: true, reflect: true }) open = false\n\t@Prop({ reflect: true }) closable = false\n\t@Prop({ reflect: true }) align: \"top\" | \"center\" = \"center\"\n\t@Event() smoothlyModalChange: EventEmitter<boolean>\n\n\t@Watch(\"open\")\n\topenChanged() {\n\t\tthis.smoothlyModalChange.emit(this.open)\n\t}\n\t@Method()\n\tasync closeModal() {\n\t\tthis.open = false\n\t}\n\t@Method()\n\tasync openModal() {\n\t\tthis.open = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\trole=\"alertdialog\"\n\t\t\t\tonClick={(e: any) => {\n\t\t\t\t\tthis.closable && !e.composedPath().some((el: any) => el.classList?.contains(\"modal\")) && this.closeModal()\n\t\t\t\t}}>\n\t\t\t\t<div class=\"modal\">\n\t\t\t\t\t<div class=\"header\">\n\t\t\t\t\t\t<slot name=\"header\" />\n\t\t\t\t\t\t{this.closable && <smoothly-icon name=\"close-outline\" fill=\"solid\" onClick={() => this.closeModal()} />}\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot />\n\t\t\t\t\t<div class=\"actions\">\n\t\t\t\t\t\t<slot name=\"actions\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["styleCss","SmoothlyModal","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","open","closable","align","openChanged","smoothlyModalChange","emit","closeModal","openModal","render","h","Host","key","role","onClick","e","composedPath","some","el","_a","classList","contains","class","name","fill"],"sources":["src/components/modal/style.css?tag=smoothly-modal&encapsulation=scoped","src/components/modal/index.tsx"],"sourcesContent":[":host {\n\tposition: fixed;\n\tdisplay: flex;\n\tjustify-content: center;\n\ttop: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\tbackground-color: rgba(var(--smoothly-modal-backdrop));\n\tcolor: rgb(var(--smoothly-modal-foreground));\n\tz-index: 20;\n}\n:host:not([open]),\n:host[hidden] {\n\tdisplay: none;\n}\n:host[align=center] {\n\talign-items: center;\n}\n:host[align=top]>div.modal{\n\tmargin-top: calc((100dvh - var(--smoothly-modal-max-height)) / 2);\n}\n\n:host>div.modal {\n\tdisplay: flex;\n\tflex-direction: column;\n\tpadding: 2rem;\n\tgap: 1.5rem;\n\twidth: var(--smoothly-modal-width, 40rem);\n\tmax-width: calc(100dvw - 1rem);\n\theight: fit-content;\n\tmax-height: min(var(--smoothly-modal-max-height), 100dvh);\n\tbackground: rgb(var(--smoothly-modal-background, var(--smoothly-color)));\n\tborder: 1px solid rgb(var(--smoothly-modal-border));\n\tborder-radius: var(--smoothly-modal-border-radius);\n\tbox-shadow: var(--smoothly-modal-shadow);\n\tbox-sizing: border-box;\n}\n:host > div.modal > div.header:empty,\n:host > div.modal > div.actions:empty {\n\tdisplay: none;\n}\n:host > div.modal > div.header {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n}\n:host > div.modal > *,\n:host > div.modal > div.header > * {\n\tmargin-block: 0;\n}\n:host > div.modal > *:not(.header):not(.actions) {\n\toverflow-y: auto;\n}\n:host > div.modal > div.header:not(:has([slot=\"header\"])) {\n\tjustify-content: end;\n}\n:host > div.modal > div.header > smoothly-icon:not([slot=\"header\"]) {\n\tcursor: pointer;\n\topacity: 0.7;\n\tcolor: rgb(var(--smoothly-default-contrast));\n}\n:host > div.modal > div.header > smoothly-icon:not([slot=\"header\"]):hover {\n\topacity: 1;\n}\n:host > div.modal > div.actions {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tgap: 1rem;\n\tflex-wrap: wrap;\n}\n\n","import { Component, Event, EventEmitter, h, Host, Method, Prop, Watch } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-modal\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyModal {\n\t@Prop({ mutable: true, reflect: true }) open = false\n\t@Prop({ reflect: true }) closable = false\n\t@Prop({ reflect: true }) align: \"top\" | \"center\" = \"center\"\n\t@Event() smoothlyModalChange: EventEmitter<boolean>\n\n\t@Watch(\"open\")\n\topenChanged() {\n\t\tthis.smoothlyModalChange.emit(this.open)\n\t}\n\t@Method()\n\tasync closeModal() {\n\t\tthis.open = false\n\t}\n\t@Method()\n\tasync openModal() {\n\t\tthis.open = true\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\trole=\"alertdialog\"\n\t\t\t\tonClick={(e: any) => {\n\t\t\t\t\tthis.closable && !e.composedPath().some((el: any) => el.classList?.contains(\"modal\")) && this.closeModal()\n\t\t\t\t}}>\n\t\t\t\t<div class=\"modal\">\n\t\t\t\t\t<div class=\"header\">\n\t\t\t\t\t\t<slot name=\"header\" />\n\t\t\t\t\t\t{this.closable && <smoothly-icon name=\"close-outline\" fill=\"solid\" onClick={() => this.closeModal()} />}\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot />\n\t\t\t\t\t<div class=\"actions\">\n\t\t\t\t\t\t<slot name=\"actions\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"2GAAA,MAAMA,EAAW,IAAM,goE,MCOVC,EAAaC,EAAA,MAAAD,UAAAE,EAL1B,WAAAC,CAAAC,G,mGAMyCC,KAAAC,KAAO,MACtBD,KAAAE,SAAW,MACXF,KAAAG,MAA0B,QAoCnD,CAhCA,WAAAC,GACCJ,KAAKK,oBAAoBC,KAAKN,KAAKC,K,CAGpC,gBAAMM,GACLP,KAAKC,KAAO,K,CAGb,eAAMO,GACLR,KAAKC,KAAO,I,CAGb,MAAAQ,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CACJC,KAAK,cACLC,QAAUC,IACTf,KAAKE,WAAaa,EAAEC,eAAeC,MAAMC,IAAW,IAAAC,EAAC,OAAAA,EAAAD,EAAGE,aAAS,MAAAD,SAAA,SAAAA,EAAEE,SAAS,QAAQ,KAAKrB,KAAKO,YAAY,GAE3GG,EAAA,OAAAE,IAAA,2CAAKU,MAAM,SACVZ,EAAA,OAAAE,IAAA,2CAAKU,MAAM,UACVZ,EAAA,QAAAE,IAAA,2CAAMW,KAAK,WACVvB,KAAKE,UAAYQ,EAAA,iBAAAE,IAAA,2CAAeW,KAAK,gBAAgBC,KAAK,QAAQV,QAAS,IAAMd,KAAKO,gBAExFG,EAAA,QAAAE,IAAA,6CACAF,EAAA,OAAAE,IAAA,2CAAKU,MAAM,WACVZ,EAAA,QAAAE,IAAA,2CAAMW,KAAK,c","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,H as l,h as t,d as s,t as a}from"./p-BsZrGTcp.js";const o=()=>`.sc-smoothly-table-cell-h{grid-column:span var(--smoothly-table-cell-span, 1);display:flex;align-items:center;padding-inline:var(--smoothly-table-cell-padding-inline, 1.1rem);min-height:var(--smoothly-table-cell-min-height, 2.75rem);white-space:nowrap}`;const c=e(class e extends l{constructor(e){super();if(e!==false){this.__registerHost()}this.span=1}render(){var e;return t(s,{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as e,H as l,h as t,d as s,t as a}from"./p-BsZrGTcp.js";const o=()=>`.sc-smoothly-table-cell-h{grid-column:span var(--smoothly-table-cell-span, 1);display:flex;align-items:center;padding-inline:var(--smoothly-table-cell-padding-inline, 1.1rem);min-height:var(--smoothly-table-cell-min-height, 2.75rem);white-space:nowrap}`;const c=e(class e extends l{constructor(e){super();if(e!==false){this.__registerHost()}this.span=1}render(){var e;return t(s,{key:"71cd9be174ec7961ae0b338fd5775a0f8b41264c",class:"smoothly-table-cell",style:{"--smoothly-table-cell-span":(e=this.span)===null||e===void 0?void 0:e.toString(10)}},t("slot",{key:"9cbca72183db11968f3a6630bd1a226830754bd7"}))}static get style(){return o()}},[262,"smoothly-table-cell",{span:[514]}]);function n(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-cell"];e.forEach((e=>{switch(e){case"smoothly-table-cell":if(!customElements.get(a(e))){customElements.define(a(e),c)}break}}))}n();export{c as S,n as d};
|
|
2
|
+
//# sourceMappingURL=p-l818BCpp.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as e,h as o,t as s}from"./p-BsZrGTcp.js";import{d as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as e,h as o,t as s}from"./p-BsZrGTcp.js";import{d as r}from"./p-BTjay9Fy.js";import{d as m}from"./p-BnYCDLp0.js";const c=()=>`.sc-smoothly-theme-colors-h{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:1rem;column-gap:0.5rem;width:fit-content}`;const l=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}}render(){return["primary","secondary","tertiary","success","warning","danger","light","medium","dark","default"].map((t=>o("smoothly-theme-color",{color:t})))}static get style(){return c()}},[2,"smoothly-theme-colors"]);function a(){if(typeof customElements==="undefined"){return}const t=["smoothly-theme-colors","smoothly-theme-color","smoothly-theme-color-variant"];t.forEach((t=>{switch(t){case"smoothly-theme-colors":if(!customElements.get(s(t))){customElements.define(s(t),l)}break;case"smoothly-theme-color":if(!customElements.get(s(t))){r()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(t))){m()}break}}))}a();export{l as S,a as d};
|
|
2
|
+
//# sourceMappingURL=p-mgqCIR9Q.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as t,h as s,d as l,t as r}from"./p-BsZrGTcp.js";import{B as n}from"./p-D7FCA_AJ.js";const h=()=>`[color=default].sc-smoothly-button{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-button{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-button{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-button{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-button{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-button{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-button{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-button{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-button{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-button{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-button-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-button-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-button-h{display:inline}[disabled].sc-smoothly-button-h{opacity:0.5}.sc-smoothly-button-h>a.sc-smoothly-button{font-weight:400;background-color:transparent}.sc-smoothly-button-h>a.sc-smoothly-button,.sc-smoothly-button-h>button.sc-smoothly-button{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-button-h>button.sc-smoothly-button{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-button-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-button-h:has(>a:empty),.sc-smoothly-button-h:has(>button:empty),.sc-smoothly-button-h>a.sc-smoothly-button:empty,.sc-smoothly-button-h>button.sc-smoothly-button:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-button-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-button-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-button-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-button{min-width:8rem}[size=icon].sc-smoothly-button-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-button-h>button.sc-smoothly-button{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-button-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-button-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-button-h>button.sc-smoothly-button{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-button-h{width:100%}[expand=full].sc-smoothly-button-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-button-h>button.sc-smoothly-button{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-button-h:not([fill=clear]):not([disabled])>button.sc-smoothly-button:hover,.sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:focus-visible,[fill=outline].sc-smoothly-button-h:not([disabled]):active>button.sc-smoothly-button::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:hover::before,[fill=outline].sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:focus-within::before,[fill=outline].sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-button-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-button:hover,.sc-smoothly-button-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-button:focus-visible,.sc-smoothly-button-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-button:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-button-h>button.sc-smoothly-button,.sc-smoothly-button-h.sc-smoothly-button-s>smoothly-icon,.sc-smoothly-button-h .sc-smoothly-button-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-button-h{display:none}`;const e=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.disabled=false}render(){return s(l,{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as o,H as t,h as s,d as l,t as r}from"./p-BsZrGTcp.js";import{B as n}from"./p-D7FCA_AJ.js";const h=()=>`[color=default].sc-smoothly-button{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-button{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-button{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-button{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-button{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-button{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-button{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-button{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-button{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-button{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-button-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-button-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-button-h{display:inline}[disabled].sc-smoothly-button-h{opacity:0.5}.sc-smoothly-button-h>a.sc-smoothly-button{font-weight:400;background-color:transparent}.sc-smoothly-button-h>a.sc-smoothly-button,.sc-smoothly-button-h>button.sc-smoothly-button{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-button-h>button.sc-smoothly-button{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-button-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-button-h:has(>a:empty),.sc-smoothly-button-h:has(>button:empty),.sc-smoothly-button-h>a.sc-smoothly-button:empty,.sc-smoothly-button-h>button.sc-smoothly-button:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-button-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-button-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-button-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-button{min-width:8rem}[size=icon].sc-smoothly-button-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-button-h>button.sc-smoothly-button{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-button-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-button-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-button-h>button.sc-smoothly-button{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-button-h{width:100%}[expand=full].sc-smoothly-button-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-button-h>button.sc-smoothly-button{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-button-h:not([fill=clear]):not([disabled])>button.sc-smoothly-button:hover,.sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:focus-visible,[fill=outline].sc-smoothly-button-h:not([disabled]):active>button.sc-smoothly-button::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:hover::before,[fill=outline].sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:focus-within::before,[fill=outline].sc-smoothly-button-h:not([disabled])>button.sc-smoothly-button:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-button-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-button:hover,.sc-smoothly-button-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-button:focus-visible,.sc-smoothly-button-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-button:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-button-h>button.sc-smoothly-button,.sc-smoothly-button-h.sc-smoothly-button-s>smoothly-icon,.sc-smoothly-button-h .sc-smoothly-button-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-button-h{display:none}`;const e=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.disabled=false}render(){return s(l,{key:"fddb810b2465ce82a68ce0bf4789aa8f14f79303",title:this.tooltip},s(n,{key:"3c08a7871e9ed69611790646f87fc7dae834330c",disabled:this.disabled,type:this.type,link:this.link},s("slot",{key:"8048ac9a2c4e450201ef15b82f66532c253783d9"})))}static get style(){return h()}},[262,"smoothly-button",{color:[513],expand:[513],fill:[513],tooltip:[513],disabled:[516],type:[513],size:[513],shape:[513],link:[1]}]);function m(){if(typeof customElements==="undefined"){return}const o=["smoothly-button"];o.forEach((o=>{switch(o){case"smoothly-button":if(!customElements.get(r(o))){customElements.define(r(o),e)}break}}))}m();export{e as S,m as d};
|
|
2
|
+
//# sourceMappingURL=p-mmAi00ak.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as o,H as s,h as m,d as t,t as e}from"./p-BsZrGTcp.js";import{d as r}from"./p-mmAi00ak.js";import{d as a}from"./p-MHAaISnU.js";import{d as l}from"./p-CmV6S6tx.js";import{d as i}from"./p-DnvyyAaF.js";import{d}from"./p-CN3iME9d.js";import{d as c}from"./p-DG2pfnCV.js";import{d as f}from"./p-uFR5K4vd.js";import{d as p}from"./p-DvZK__s-.js";import{d as y}from"./p-F8qX8ZuL.js";import{d as n}from"./p-DPlYDxyJ.js";import{d as h}from"./p-g3poxXoz.js";import{d as b}from"./p-7UXKt7wZ.js";import{d as u}from"./p-KzfbLe_L.js";import{d as k}from"./p-DsVjTKwJ.js";import{d as j}from"./p-BUo_O_Bt.js";import{d as E}from"./p-CZERsWDV.js";import{d as g}from"./p-VpeNK8XH.js";import{d as D}from"./p-WiBL-FFH.js";import{d as x}from"./p-D2dYkSrN.js";import{d as B}from"./p-DXfFWsRb.js";import{d as U}from"./p-CwhGUug6.js";import{d as w}from"./p-DDYB8QLF.js";import{d as C}from"./p-BHTAR2x1.js";import{d as v}from"./p-B-jhX7aN.js";import{d as L}from"./p-Dk4OvZyQ.js";import{d as F}from"./p-CDzU4-Ri.js";import{d as H}from"./p-DJ-iHxJr.js";import{d as R}from"./p-5l1ov6SU.js";import{d as Z}from"./p-DkiBtdrU.js";import{d as K}from"./p-BOzzNfNj.js";import{d as N}from"./p-UqPFIGlg.js";import{d as V}from"./p-DIy2lHMf.js";import{d as z}from"./p-Bo1NnbuT.js";import{d as X}from"./p-BQOdxeHU.js";import{d as A}from"./p-Dq8EU803.js";import{d as S}from"./p-CLqKhHZ8.js";import{d as Y}from"./p-CZIRwPwA.js";import{d as _}from"./p-ycoVDLCD.js";import{d as q}from"./p-ByRyVRgY.js";import{d as G}from"./p-CmUug44L.js";import{d as I}from"./p-BcEDrfmP.js";import{d as J}from"./p-2Y5tLcQ1.js";import{d as O}from"./p-BCwizh6U.js";const P=()=>`.sc-smoothly-form-demo-h{display:flex;margin-top:2em;margin-bottom:10em}.sc-smoothly-form-demo-h>div.sc-smoothly-form-demo{margin:auto;width:1200px;max-width:calc(100% - 0.5rem)}`;const Q=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return m(t,{key:"e6b40ea5e535c8fd4fbbe65aa060d0ba061f5a3e"},m("div",{key:"848116c5bc43a4a5adb20ecf3f66a66b050e529c"},m("smoothly-form-demo-all",{key:"44179c77bfd53bfa4f347a465a3f4000d4d94b08"}),m("smoothly-form-demo-pet",{key:"356b17321dc0f11e63c8dd4846c4e1d91c7b6b5c"}),m("smoothly-form-demo-card",{key:"2584856236b89b5818551f8826056c0a14ab6356"}),m("smoothly-form-demo-login",{key:"dacc85e611dec4115fefc49f63463912b6718285"}),m("smoothly-form-demo-prices",{key:"500d6d4c056c79113b16bd0f67bfe0ab562cd8d8"}),m("smoothly-form-demo-typed",{key:"933cce32ed4668eb28140c0c01c8238cdf1526d2"}),m("smoothly-form-demo-transparent",{key:"2a39b5d64aaff4d53d703c9508df3de18d5a6ad6"}),m("smoothly-form-demo-date",{key:"fb0a6356529047d3bbbebd1b5980c2884be0cbb6"}),m("smoothly-form-demo-schedule",{key:"c7eb48895c714d436f04544af9519a93232f76d0"}),m("smoothly-form-demo-date-range",{key:"6370bf9ca0671705777b03e6b985361d06ee9d56"}),m("smoothly-form-demo-controlled",{key:"abf920dd124a8c43ce7818ba29bb1931a4b90910"})))}static get style(){return P()}},[2,"smoothly-form-demo"]);function T(){if(typeof customElements==="undefined"){return}const o=["smoothly-form-demo","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-form-demo-all","smoothly-form-demo-card","smoothly-form-demo-controlled","smoothly-form-demo-date","smoothly-form-demo-date-range","smoothly-form-demo-login","smoothly-form-demo-pet","smoothly-form-demo-prices","smoothly-form-demo-schedule","smoothly-form-demo-transparent","smoothly-form-demo-typed","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-edit","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];o.forEach((o=>{switch(o){case"smoothly-form-demo":if(!customElements.get(e(o))){customElements.define(e(o),Q)}break;case"smoothly-button":if(!customElements.get(e(o))){r()}break;case"smoothly-button-confirm":if(!customElements.get(e(o))){a()}break;case"smoothly-calendar":if(!customElements.get(e(o))){l()}break;case"smoothly-date-text":if(!customElements.get(e(o))){i()}break;case"smoothly-display":if(!customElements.get(e(o))){d()}break;case"smoothly-display-json":if(!customElements.get(e(o))){c()}break;case"smoothly-display-json-object":if(!customElements.get(e(o))){f()}break;case"smoothly-display-json-primitive":if(!customElements.get(e(o))){p()}break;case"smoothly-display-json-record-key":if(!customElements.get(e(o))){y()}break;case"smoothly-form":if(!customElements.get(e(o))){n()}break;case"smoothly-form-demo-all":if(!customElements.get(e(o))){h()}break;case"smoothly-form-demo-card":if(!customElements.get(e(o))){b()}break;case"smoothly-form-demo-controlled":if(!customElements.get(e(o))){u()}break;case"smoothly-form-demo-date":if(!customElements.get(e(o))){k()}break;case"smoothly-form-demo-date-range":if(!customElements.get(e(o))){j()}break;case"smoothly-form-demo-login":if(!customElements.get(e(o))){E()}break;case"smoothly-form-demo-pet":if(!customElements.get(e(o))){g()}break;case"smoothly-form-demo-prices":if(!customElements.get(e(o))){D()}break;case"smoothly-form-demo-schedule":if(!customElements.get(e(o))){x()}break;case"smoothly-form-demo-transparent":if(!customElements.get(e(o))){B()}break;case"smoothly-form-demo-typed":if(!customElements.get(e(o))){U()}break;case"smoothly-icon":if(!customElements.get(e(o))){w()}break;case"smoothly-input":if(!customElements.get(e(o))){C()}break;case"smoothly-input-checkbox":if(!customElements.get(e(o))){v()}break;case"smoothly-input-clear":if(!customElements.get(e(o))){L()}break;case"smoothly-input-color":if(!customElements.get(e(o))){F()}break;case"smoothly-input-date":if(!customElements.get(e(o))){H()}break;case"smoothly-input-date-range":if(!customElements.get(e(o))){R()}break;case"smoothly-input-date-time":if(!customElements.get(e(o))){Z()}break;case"smoothly-input-edit":if(!customElements.get(e(o))){K()}break;case"smoothly-input-file":if(!customElements.get(e(o))){N()}break;case"smoothly-input-month":if(!customElements.get(e(o))){V()}break;case"smoothly-input-radio":if(!customElements.get(e(o))){z()}break;case"smoothly-input-radio-item":if(!customElements.get(e(o))){X()}break;case"smoothly-input-range":if(!customElements.get(e(o))){A()}break;case"smoothly-input-reset":if(!customElements.get(e(o))){S()}break;case"smoothly-input-select":if(!customElements.get(e(o))){Y()}break;case"smoothly-input-submit":if(!customElements.get(e(o))){_()}break;case"smoothly-item":if(!customElements.get(e(o))){q()}break;case"smoothly-spinner":if(!customElements.get(e(o))){G()}break;case"smoothly-tab":if(!customElements.get(e(o))){I()}break;case"smoothly-tabs":if(!customElements.get(e(o))){J()}break;case"smoothly-toggle-switch":if(!customElements.get(e(o))){O()}break}}))}T();export{Q as S,T as d};
|
|
2
|
+
//# sourceMappingURL=p-mpg1V-Em.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyFormDemo","__stencil_proxyCustomElement","HTMLElement","render","h","Host","key"],"sources":["src/components/form/demo/style.css?tag=smoothly-form-demo&encapsulation=scoped","src/components/form/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tmargin-top: 2em;\n\tmargin-bottom: 10em;\n}\n\n:host>div {\n\tmargin: auto;\n\twidth: 1200px;\n\tmax-width: calc(100% - 0.5rem);\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemo {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-form-demo-all />\n\t\t\t\t\t<smoothly-form-demo-pet />\n\t\t\t\t\t<smoothly-form-demo-card />\n\t\t\t\t\t<smoothly-form-demo-login />\n\t\t\t\t\t<smoothly-form-demo-prices />\n\t\t\t\t\t<smoothly-form-demo-typed />\n\t\t\t\t\t<smoothly-form-demo-transparent />\n\t\t\t\t\t<smoothly-form-demo-date />\n\t\t\t\t\t<smoothly-form-demo-schedule />\n\t\t\t\t\t<smoothly-form-demo-date-range />\n\t\t\t\t\t<smoothly-form-demo-controlled />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["styleCss","SmoothlyFormDemo","__stencil_proxyCustomElement","HTMLElement","render","h","Host","key"],"sources":["src/components/form/demo/style.css?tag=smoothly-form-demo&encapsulation=scoped","src/components/form/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: flex;\n\tmargin-top: 2em;\n\tmargin-bottom: 10em;\n}\n\n:host>div {\n\tmargin: auto;\n\twidth: 1200px;\n\tmax-width: calc(100% - 0.5rem);\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemo {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div>\n\t\t\t\t\t<smoothly-form-demo-all />\n\t\t\t\t\t<smoothly-form-demo-pet />\n\t\t\t\t\t<smoothly-form-demo-card />\n\t\t\t\t\t<smoothly-form-demo-login />\n\t\t\t\t\t<smoothly-form-demo-prices />\n\t\t\t\t\t<smoothly-form-demo-typed />\n\t\t\t\t\t<smoothly-form-demo-transparent />\n\t\t\t\t\t<smoothly-form-demo-date />\n\t\t\t\t\t<smoothly-form-demo-schedule />\n\t\t\t\t\t<smoothly-form-demo-date-range />\n\t\t\t\t\t<smoothly-form-demo-controlled />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"ukDAAA,MAAMA,EAAW,IAAM,qL,MCOVC,EAAgBC,EAAA,MAAAD,UAAAE,E,4DAC5B,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,OAAAE,IAAA,4CACCF,EAAA,0BAAAE,IAAA,6CACAF,EAAA,0BAAAE,IAAA,6CACAF,EAAA,2BAAAE,IAAA,6CACAF,EAAA,4BAAAE,IAAA,6CACAF,EAAA,6BAAAE,IAAA,6CACAF,EAAA,4BAAAE,IAAA,6CACAF,EAAA,kCAAAE,IAAA,6CACAF,EAAA,2BAAAE,IAAA,6CACAF,EAAA,+BAAAE,IAAA,6CACAF,EAAA,iCAAAE,IAAA,6CACAF,EAAA,iCAAAE,IAAA,8C","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as o,p as s,H as t,d as e,t as l}from"./p-BsZrGTcp.js";import{o as c}from"./p-Dr7iZPxA.js";import{d as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{h as o,p as s,H as t,d as e,t as l}from"./p-BsZrGTcp.js";import{o as c}from"./p-Dr7iZPxA.js";import{d as a}from"./p-DvZK__s-.js";import{d as n}from"./p-F8qX8ZuL.js";const i=({value:s,collapseDepth:t})=>c().is(s)||Array.isArray(s)?o("smoothly-display-json-object",{value:s,collapseDepth:t}):o("smoothly-display-json-primitive",{value:s});const h=()=>`.sc-smoothly-display-json-object-h{font-family:monospace;position:relative}[hidden].sc-smoothly-display-json-object-h{display:none}.indent.sc-smoothly-display-json-object{padding-left:1rem;border-left:1px solid rgba(var(--smoothly-default-contrast), 0.3)}.sc-smoothly-display-json-object-h:not(.open) .content.sc-smoothly-display-json-object{opacity:0;position:absolute;pointer-events:none}.sc-smoothly-display-json-object-h>.content.sc-smoothly-display-json-object>.indent.sc-smoothly-display-json-object:last-child>.comma.sc-smoothly-display-json-object{display:none}.sc-smoothly-display-json-object-h .open-bracket.sc-smoothly-display-json-object{cursor:pointer}.sc-smoothly-display-json-object-h .open-bracket.sc-smoothly-display-json-object::after{background-color:rgb(var(--smoothly-light-color));color:rgb(var(--smoothly-light-shade));border:1px solid rgb(var(--smoothly-light-color));white-space:pre;border-radius:0.25rem;font-weight:bold;font-size:0.8em}.sc-smoothly-display-json-object-h>.open-bracket.sc-smoothly-display-json-object:hover::after{color:rgb(var(--smoothly-default-contrast));border-color:rgb(var(--smoothly-light-shade))}.sc-smoothly-display-json-object-h:not(.open):not(.empty)>.open-bracket.sc-smoothly-display-json-object::after{content:" ▶ " attr(data-length) " ◀ "}.open.sc-smoothly-display-json-object-h:not(.empty)>.open-bracket.sc-smoothly-display-json-object::after{content:" ▼ "}.sc-smoothly-display-json-object-h>.open-bracket.sc-smoothly-display-json-object:hover,.sc-smoothly-display-json-object-h>.open-bracket.sc-smoothly-display-json-object:hover~.close-bracket.sc-smoothly-display-json-object{font-weight:bold}.sc-smoothly-display-json-object-h>.open-bracket.sc-smoothly-display-json-object:hover+.content.sc-smoothly-display-json-object>.indent.sc-smoothly-display-json-object{border-left-color:rgb(var(--smoothly-default-contrast))}`;const y=s(class s extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.openBracket="";this.closeBracket=""}componentWillLoad(){this.open=typeof this.collapseDepth=="number"?this.collapseDepth>0:true;if(Array.isArray(this.value)){this.openBracket="[";this.closeBracket="]";this.length=this.value.length}else{this.openBracket="{";this.closeBracket="}";this.length=Object.keys(this.value).length}this.empty=this.length==0}render(){const s=typeof this.collapseDepth=="number"?Math.max(this.collapseDepth-1,0):undefined;return o(e,{key:"9c9b5a46433770a7d56343c4bf723163e8a56475",class:{empty:this.empty,open:this.open}},o("span",{key:"836957462d65b5c136231bd3867f7da169ecb343",class:"open-bracket",onClick:()=>this.open=!this.open,"data-length":this.length},this.openBracket),o("span",{key:"ef132e20317fb0b1b3f38442fec7bd2731ec5c43",class:"content"},Array.isArray(this.value)?this.value.map((t=>o("div",{class:"indent"},o(i,{value:t,collapseDepth:s}),o("span",{class:"comma"},",")))):Object.entries(this.value).map((([t,e])=>o("div",{class:"indent"},o("smoothly-display-json-record-key",{value:t}),":"," ",o(i,{value:e,collapseDepth:s}),o("span",{class:"comma"},","))))),o("span",{key:"50bed891b85fc5d407cad5e8ae1d53dcf56551d2",class:"close-bracket"},this.closeBracket))}static get style(){return h()}},[2,"smoothly-display-json-object",{value:[16],collapseDepth:[2,"collapse-depth"],open:[32],empty:[32]}]);function r(){if(typeof customElements==="undefined"){return}const o=["smoothly-display-json-object","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key"];o.forEach((o=>{switch(o){case"smoothly-display-json-object":if(!customElements.get(l(o))){customElements.define(l(o),y)}break;case"smoothly-display-json-object":if(!customElements.get(l(o))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(l(o))){a()}break;case"smoothly-display-json-record-key":if(!customElements.get(l(o))){n()}break}}))}r();export{i as J,y as S,r as d};
|
|
2
|
+
//# sourceMappingURL=p-uFR5K4vd.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as s,h as t,d as r,t as l}from"./p-BsZrGTcp.js";import{T as e}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{d as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as o,H as s,h as t,d as r,t as l}from"./p-BsZrGTcp.js";import{T as e}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{d as a}from"./p-DDYB8QLF.js";import{d as i}from"./p-DFPMixk-.js";const c=()=>`.sc-smoothly-dialog-h{display:block;position:fixed;top:55%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%;z-index:1;background:rgba(var(--smoothly-default-color), var(--smoothly-semitransparent)) !important}[hidden].sc-smoothly-dialog-h{display:none}.sc-smoothly-dialog-h>section.sc-smoothly-dialog{margin-top:var(--smoothly-dialog-margin-top)}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>div.header.sc-smoothly-dialog{border-top-left-radius:8px;border-top-right-radius:8px;margin-top:2em;color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color));border-color:rgb(var(--smoothly-primary-color))}.sc-smoothly-dialog-h:not([header]) div.header.sc-smoothly-dialog{border:none}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>*.sc-smoothly-dialog{position:relative;color:rgb(var(--smoothly-default-contrast));background-color:rgb(var(--smoothly-default-color));border-color:rgb(var(--smoothly-color));border-width:1px;border-style:solid;max-width:40em;width:calc(100vw - 4em - 2px);max-height:calc(100vh - 6em - 2px);height:auto;margin-left:auto;margin-right:auto;border-collapse:collapse}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>div.content.sc-smoothly-dialog{border-bottom-left-radius:8px;border-bottom-right-radius:8px;margin-bottom:2em;border:1px solid rgb(var(--smoothly-default-contrast));box-sizing:border-box;overflow:hidden}.sc-smoothly-dialog-h:not([header])>section.sc-smoothly-dialog>div.content.sc-smoothly-dialog{border-radius:8px}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog{position:absolute;right:-2em;top:-2em;z-index:1;border-color:transparent}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>*.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog:hover{border-color:transparent}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>div.header.sc-smoothly-dialog>smoothly-trigger.sc-smoothly-dialog>smoothly-icon.sc-smoothly-dialog{background-color:rgb(var(--smoothly-color));border-radius:50%}.sc-smoothly-dialog-h>section.sc-smoothly-dialog>*.sc-smoothly-dialog>*.sc-smoothly-dialog{margin:10px}`;const d=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}this.open=true;this.closable=false}TriggerListener(o){if(e.is(o.detail)&&o.detail.name=="close"){this.open=false}}hostData(){return{style:{display:this.open?"block":"none"}}}__stencil_render(){return t("section",{key:"5bdc10b02671eed7397ae99e872f104cb098d2c0"},t("div",{key:"05bbab31a6d30c2ff0e3ec64ac59c8e56560526c",class:"header"},this.closable&&t("smoothly-trigger",{key:"4f5d1a0d5c87d22d00281fadba0ffacf20c4b8db",fill:"clear",name:"close"},t("smoothly-icon",{key:"2474cba19d732b0d34b02a055379bf1926a8fc4d",name:"close-circle",fill:"solid",color:this.color})),this.header?t("h1",null,this.header):t("slot",{name:"header"})),t("div",{key:"861af5e557c0ef202273cab84877c8806bb2c232",class:"content"},t("slot",{key:"e755042ab3f24972fa2eaac24914649d10dafd0f"})))}static get style(){return c()}render(){return t(r,this.hostData(),this.__stencil_render())}},[262,"smoothly-dialog",{color:[513],open:[1540],closable:[516],header:[513]},[[0,"trigger","TriggerListener"]]]);function h(){if(typeof customElements==="undefined"){return}const o=["smoothly-dialog","smoothly-icon","smoothly-trigger"];o.forEach((o=>{switch(o){case"smoothly-dialog":if(!customElements.get(l(o))){customElements.define(l(o),d)}break;case"smoothly-icon":if(!customElements.get(l(o))){a()}break;case"smoothly-trigger":if(!customElements.get(l(o))){i()}break}}))}h();export{d as S,h as d};
|
|
2
|
+
//# sourceMappingURL=p-vB-efyHR.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as e,H as a,c as d,h as c,t}from"./p-BsZrGTcp.js";import{i as o}from"./p-BVKhAhsB.js";import{C as s}from"./p-Br0kWrBT.js";import{N as i}from"./p-Bq3C8g8G.js";import"./p-DoFURPl2.js";import{d as y}from"./p-mmAi00ak.js";import{d as f}from"./p-CN3iME9d.js";import{d as b}from"./p-CY71xgKe.js";import{d as l}from"./p-DG2pfnCV.js";import{d as n}from"./p-uFR5K4vd.js";import{d as r}from"./p-DvZK__s-.js";import{d as m}from"./p-F8qX8ZuL.js";import{d as p}from"./p-DDYB8QLF.js";import{d as h}from"./p-VQuZJp8X.js";import{d as u}from"./p-CmUug44L.js";import{d as k}from"./p-M0gzpGV-.js";const v=e(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}this.notice=d(this,"notice")}noticeWarning(e){console.log("emit",e);this.notice.emit(e)}render(){return[c("main",{key:"570a8cf525b8d883f2c226fd9d1f24ef9d2a7bac"},c("fieldset",{key:"9daf4d2a5ff6c3924c09186d0b73c8dc11ef2354"},c("h2",{key:"01bf90a47c56197346494bbc1992edf5ab9d8b2e"},"Smoothly display"),c("dl",{key:"dd5fbdf6e596430cb0a18482b50a8d3ef46cc2d9"},c("dt",{key:"e97f6d69f565560e54956acc47c61e676db32b26"},"Duration"),c("dd",{key:"b3ec7065ba3cb6e1832cf22f329964bc3a983d09"},c("div",{key:"db46dbf07917dd784f0939803fcb97f80d4ab0a7"},c("div",{key:"eda3a232df465a291734a9e1e607f779727928a2"},c("smoothly-display",{key:"894097c909f8c1b0dd276696db72daadf3365aee",style:{display:"inline"},type:"duration",value:{hours:13,minutes:100}})," h"),c("div",{key:"0f258be9133609201671eb993a290b2be1ee8d2b"},c("smoothly-display",{key:"d98834b9c367bbb650e8e933be3ee20b93df8082",style:{display:"inline"},type:"duration",value:{hours:8}})," h"),c("div",{key:"2dc0241b935f3d45f812fe0175731954c8e0b983"},c("smoothly-display",{key:"cc4c171af5aa79cf5487a8a131430bacc5248c98",style:{display:"inline"},type:"duration",value:{minutes:3}})," h"),c("div",{key:"19ff8935bb3454d538b0312530d32ff63dfb3034"},c("smoothly-display",{key:"e3c7ba72956c3735bc646773cf30eb78c2c4e75b",style:{display:"inline"},type:"duration",value:{hours:-13,minutes:100}})," h"),c("div",{key:"40d13934f818da8df03dd4215b5176cdf0089c20"},c("smoothly-display",{key:"f03306bc6cbd65f3ee50ce6fb57c66b2af229a83",style:{display:"inline"},type:"duration",value:{hours:-8}})," h"),c("div",{key:"f0d127f6a00ed1c06eb36fdfa1b809354cb139ba"},c("smoothly-display",{key:"85ea4fa490947ec5bf9810fc5e5677550b507f7b",style:{display:"inline"},type:"duration",value:{}})," h"),c("div",{key:"f60948619c1fcbad63e4af03f282ff3366f1ba76"},c("smoothly-display",{key:"846841ac1b7cd206a2a95034db25a3059dccf890",style:{display:"inline"},type:"duration",value:{minutes:-3}})," h"))),c("dt",{key:"3db393fff9fd7740683746088e884d83ac51e1e8"},"text"),c("dd",{key:"2bd200acca8afd5cf72dd94294e4438e811ac411"},c("smoothly-display",{key:"aa88f3c9ed96edff41c91b4ed2206a04c90ed6f4",type:"text",value:"text"})),c("dt",{key:"81e183489b4fb749823c25b2a50ced9621aa432e"},"postal code"),c("dd",{key:"390dd9916fcf42cb15a48727082a27550e46814a"},c("smoothly-display",{key:"7e80d1d0b8746596448ca50c356e4afbe7d6f276",type:"postal-code",value:"752 31"})),c("dt",{key:"c0d0dc8205d93cb8479713bdae1208e2847e477a"},"password"),c("dd",{key:"0ea85f4699579f4b24f35f59775d7dec43978e5e"},c("smoothly-display",{key:"9779849ced3842513a5c7d5d37cd20bf1f01f244",type:"password",value:"password"})),c("dt",{key:"5143b3ae0e39eb416c344a98b45974c2ad480eef"},"email"),c("dd",{key:"8c25c7f73f1f4ec38cea3d7c520dc037df7b2224"},c("smoothly-display",{key:"53a354324dea186db81a5b59bf75e222db33e56d",type:"email",value:"test@example.com"})),c("dt",{key:"469bd6001f5ad150ea815bb6e89a29eda53b5b77"},"price"),c("dd",{key:"cde7a755ca3ff50a5b0cea8eb4a1dae6aa5b253b"},c("smoothly-display",{key:"bb68a44ffd892b48277aa20a95f5e863680b4fa3",type:"price",value:"13.37",currency:"SEK"})),c("dt",{key:"aff590f97d41ab80c38e7ecaba3e8023fd8ea734"},"price without decimals"),c("dd",{key:"39a40abdaae41f74fa5e52be77cbe1045965e1dc"},c("smoothly-display",{key:"1c653914e801725457fb55bb1b70ed56d991dabb",type:"price",value:200,currency:"SEK",toInteger:true})),c("dt",{key:"be366012d28535a04fa54216d29fa7835bdd789b"},"price with decimals if they are set, otherwise no decimal"),c("dd",{key:"f40b67c170fec282518c59179189b4f262a12804"},c("smoothly-display",{key:"52ba5c8026d562f40ac62cd14fe1cf67b5d0c641",type:"price",value:200.2,currency:"SEK",toInteger:true})),c("dt",{key:"cc1048ee5cb4ef42c4396009ccb085e7ce8c3eca"},"price with decimals"),c("dd",{key:"4814a19946eb610096f1aa76236971ca4e7d52f6"},c("smoothly-display",{key:"cb4cbda427c7a488bbba0c978d91a80683b9d8cb",type:"price",value:200.2,currency:"SEK"})),c("dt",{key:"deb381d3caec587043c0f58a58d06406f215f3e5"},"percent"),c("dd",{key:"afbe0bc5aa167605f50ec765a999432856019082"},c("smoothly-display",{key:"ffb1aee2a313b9f6ab71d42ed937619423095293",type:"percent",value:"42"})),c("dt",{key:"381bc0bb2857f9cc3b0e1b9e2cd439e35106f24b"},"phone"),c("dd",{key:"96c9e0fb69de5004ba8666939b932f42db444db6"},c("smoothly-display",{key:"a242f3011ff04f9f02791b40bc0c042d9b95e087",type:"phone",value:"0101881108"})),c("dt",{key:"ddf64889ff408a199d11b734ee2d41f15c619ace"},"card number"),c("dd",{key:"a6d6b94ab7b1c53b35622fb1e063b1293a637cf6"},c("smoothly-display",{key:"8dbdba91c26bd0f1b4f923f76589b08f5c032f65",type:"card-number",value:"4111111111111111"})),c("dt",{key:"ef7ef814a8cf29fec2f974efd32f040c3d725cc7"},"card expires"),c("dd",{key:"84321e803af55ddd5469ef3068fd2eb8d946420b"},c("smoothly-display",{key:"20651476830684d2a40e911a40fc00fe7f1ffe7e",type:"card-expires",value:"7/22"})),c("dt",{key:"7aef10fd17c205805fe7f5e790d12c2b89247a77"},"card csc"),c("dd",{key:"00eca296571bf49a6c338c13a939d6f3155d4a08"},c("smoothly-display",{key:"c18662e291199765f4278d54e595588bfc3d6f1e",type:"card-csc",value:"987"})),c("dt",{key:"e92d089a639a1e3357a6d39d2e499fff6bd7c2d1"},"date"),c("dd",{key:"f3cc2aabdec6942c8eadc2278b7a42adae09168d"},c("smoothly-display",{key:"fcd502f245a1c814faa093d82bb101182b3dafcd",type:"date",value:"2022-07-07"})),c("dt",{key:"81b8cbdb349df1bd1e1f84cc4bd006d7f2549c19"},"date time"),c("dd",{key:"eb5a64ea635751c62366292ce0ca23d125ad17ee"},c("smoothly-display",{key:"039d66c0457be7e82b999a9e4c0672deee8fbe90",type:"date-time",format:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},value:"2022-07-07T02:02:02Z"})),c("dd",{key:"456d8713e2e366e0efd48c4b0eca946a780bcd93"},c("smoothly-display",{key:"a6ea10ff87584dc5ce0146d6547b0948bb625e2e",type:"date-time",format:{year:"2-digit",month:"long",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"},value:"2022-07-07T02:02:02Z"})),c("dd",{key:"0fc3da083c35e907cb4c48645ecc7a3e4a4455d7"},c("smoothly-display",{key:"49485eb182ac66fb8f9940d3719c4059c3897dc4",type:"date-time",format:{year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric"},value:"2022-07-07T12:22:24Z"})),c("dd",{key:"40a262a2fc34177b63b7e2969b3b59a5de602861"},c("smoothly-display",{key:"b7f00e769f842ed9ea6a630058cd01768ec2c0ac",type:"date-time",format:{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"},value:"2022-07-07T12:22:24Z"})),c("dd",{key:"4a3173f9713aaa4371ab13ebd8577cd7a7935c95"},c("smoothly-display",{key:"05904422b25f61dfc9f4325a4bb51b3d39a9aabf",type:"date-time",format:{year:"numeric",month:"short",day:"numeric"},value:"2022-07-07T00:00+02:00"})),c("dd",{key:"59783d4201fcf777c5e3635ad53934644eb68310"},c("smoothly-display",{key:"58450e26b3eeab44be1c083f7f1320976dadf783",type:"date-time",format:{year:"2-digit",month:"numeric",day:"numeric"},value:"2022-07-07T00:00+02:00"})),c("dd",{key:"0beada1376af2c6652c3dad47b08c1b1699b24bb"},c("smoothly-display",{key:"9d1b738dd535da8a7e07b959b4e581cf0f2b93d1",type:"date-time",format:{year:"2-digit",month:"numeric",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:"Europe/Stockholm"},value:"2022-07-07T12:15Z"})),c("dt",{key:"6d2aac61ed9fad093c2f19c2ec4d4de32b12e9a0"},"Display JSON"),c("dd",{key:"2215884fa898511c90acf6997f8e20aea4c0ea0d"},c("smoothly-display-demo-json",{key:"85cecf5eeaa416c9baca4a7876e348b54a09dbcb"})))),c("h2",{key:"56ae1be90a6bf9a152118dab9fec7d04b2a9b8e4"},"With labels"),c("dd",{key:"4689634be5c50bafa97e8a08baee4b85b0a621ec"},c("smoothly-display",{key:"14067ba1153408f0d11b02a76c5685b2c1f4a374",label:"Today",type:"date",value:o.Date.now()}),c("smoothly-display",{key:"4ba2105f9b3e139fac91bab03b9640766a18814a",label:"Total amount",type:"price",currency:"SEK",value:6789}),c("smoothly-display",{key:"138eb84408cb4efbc29f43ed1e3f9f71539dfac8",label:"Total amount",type:"price",currency:"GBP",value:678.9}),c("smoothly-display",{key:"2bddcb3e8ec54e29fc53a8ff4213cd157b34c8f1",label:"Logs",type:"json",value:[{type:"trace",message:"Hello"},{type:"error",message:"Oh no!"}]})),c("fieldset",{key:"830ecceb2f6904425d60f24ab37e046e4d147b04"},c("h2",{key:"dbab367e69309f7c29a3d025d585afbb2fa88965"},"Test of different kinds of notifier"),c("button",{key:"187872d0e82b1389961e3d41a0998a0814f5e086",onClick:()=>this.noticeWarning(i.warn("This is a test warning notice."))},"warning"),c("button",{key:"3f2ee3e8052834171ee2878dc3dcbd58d0fa6ed5",onClick:()=>this.noticeWarning(i.succeeded("This is a test success notice."))},"success"),c("button",{key:"678349d8e5f0ba8b237ef1f2cd7c2b2d04aafe14",onClick:()=>this.noticeWarning(i.failed("This is a test danger notice."))},"danger"),c("button",{key:"06792c0fd16258c1a306a902c77e3600bcae0872",onClick:()=>this.noticeWarning(i.execute("This is a test execute notice.",(()=>new Promise((e=>window.setTimeout((()=>e([true,"This went great"])),3e3))))))},"execute"),c("button",{key:"91ffa7d831eefbdce57ea2732ca884a3f30129ea",onClick:()=>this.noticeWarning(i.delay("This is a test delay notice.",(()=>new Promise((e=>window.setTimeout((()=>e([true,"This went great"])),3e3))))))},"delay")),c("fieldset",{key:"020e2fe53b4ee2f6b36a94863dbe2367d02e0b51"},c("h2",{key:"bb7cfda125e43c7f2afee6d7853318522456762e"},"Smoothly spinner"),c("div",{key:"a9f199a1fe6837f1546ee3aca45b74c399c23519",style:{width:"fit-content"}},"Large",c("smoothly-spinner",{key:"b3d78a677a1c3a62be4e448ac394096d62bc04e0",size:"large",style:{"--spinner-background":"200,255,200","--spinner-background-opacity":"0.2","--spinner-color":"0,130,0"}})),c("div",{key:"db5b5ce167113c8471537bc9604af1d31ef5f228",style:{width:"fit-content"}},"Medium",c("smoothly-spinner",{key:"2eff854f0c518cb3928615775367c6ca768f1a9e",size:"medium"})),c("div",{key:"b92410ef7ff77eb220554dce92ee9e5e0161b8d2",style:{width:"fit-content"}},"Small",c("smoothly-spinner",{key:"4836644ee23ce44de781fc59b185c363d2d10e5e",size:"small"})),c("div",{key:"a6b659783973f77a39e1643940fc97f77be1f7ad"},"Icon sized spinner on button",s.values.map((e=>c("smoothly-button",{size:"icon",color:e,shape:"rounded",onClick:()=>{this.downloadingSpinner=true;setTimeout((()=>this.downloadingSpinner=false),3e3)}},!this.downloadingSpinner&&c("smoothly-icon",{name:"download-outline"}),this.downloadingSpinner&&c("smoothly-spinner",{size:"icon",style:{"--spinner-background-opacity":"0"}}))))),c("h3",{key:"8161fb53d9dfa5aba8bc164adcaf9e3daeeaa627"},"Spinner with overlay"),c("div",{key:"8d4115c6ab8a24add137c06cde794937aba85b69",style:{position:"relative",height:"10em"}},"Large Overlay Spinner",c("smoothly-spinner",{key:"d04a2e77e759e5e094244922ec70fc150bac6858",overlay:true,size:"large",style:{"--spinner-background":"255,200,255","--spinner-background-opacity":"0.5","--spinner-color":"0,130,0"}})),c("div",{key:"e284851987d3e475d72dd68e5465ff2b54e38710",style:{position:"relative",height:"10em"}},"Medium Overlay Spinner",c("smoothly-spinner",{key:"29d593da93d2e11ac520650d64af1de6728e837e",overlay:true,color:"secondary",size:"medium"})),c("div",{key:"bcc6e156596f946964173cf9a100dce8f3f9adcb",style:{position:"relative",height:"10em"}},"Small Overlay Spinner",c("smoothly-spinner",{key:"57498aeaf7c8690958a1f42d80220bf6ba01a069",overlay:true,size:"small"}))),c("fieldset",{key:"ed65a407dde854768a1934add1d88a40d99f20c5"},c("h2",{key:"3f0a8eba2588ac878f02104f60fbc6072173c480"},"Smoothly summary"),c("smoothly-summary",{key:"b5538b3841957408ca25314d20789fc87db9f89c"},c("span",{key:"0a66c656b75981dd493f9288522c914c6aaf3177",slot:"summary"},"Some title"),c("smoothly-summary",{key:"d7a1064544e0f530ee18fc98e5dbac110f7aad79",slot:"content"},c("div",{key:"7dc9a5d35ddd789ef54fe021ecf9b784793a3074",slot:"summary"},"Some other title"),c("div",{key:"b0b0000431972ce6510eeb966d35f90f98baa372",slot:"content"},"A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please."))),c("smoothly-summary",{key:"7eac5c136d5ed3c09c53f676991fb957bdea50f2"},c("div",{key:"45239a377a7ae5b15baa3fefaca04f965bc3dd80",slot:"summary",style:{display:"flex",gap:"0.3rem"}},c("span",{key:"aed615a5e1dcfece04dc29d3381e706e89328025"},"Person"),c("smoothly-icon",{key:"bbdbee4093170b788015686e6ac31cb75adfb3c4",name:"person",color:"light",fill:"clear",size:"tiny"})),c("p",{key:"dcbe807176c6c8c0a642b8351487c63a2a31d1d1",slot:"content"},"Some person information.")),c("h2",{key:"b939b82ef761060a6de4190fd80e5aec1d6c6938"},"Label"),g.map((e=>c("smoothly-label",{hue:e.hue,description:e.description,shape:"rectangle"},e.name))),c("smoothly-label",{key:"9dd6878b3e540f24dee8fc99d6834a6c2ed85744",color:"primary",description:"Using colors",shape:"rectangle"},"Primary")))]}},[0,"smoothly-display-demo",{downloadingSpinner:[32]}]);const g=[{name:"2fa",hue:120,description:"User has two factor authentication enabled."},{name:"expired",hue:240,description:"User's password has expired."},{name:"inactive",hue:60,description:"User is inactive."}];function j(){if(typeof customElements==="undefined"){return}const e=["smoothly-display-demo","smoothly-button","smoothly-display","smoothly-display-demo-json","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-label","smoothly-spinner","smoothly-summary"];e.forEach((e=>{switch(e){case"smoothly-display-demo":if(!customElements.get(t(e))){customElements.define(t(e),v)}break;case"smoothly-button":if(!customElements.get(t(e))){y()}break;case"smoothly-display":if(!customElements.get(t(e))){f()}break;case"smoothly-display-demo-json":if(!customElements.get(t(e))){b()}break;case"smoothly-display-json":if(!customElements.get(t(e))){l()}break;case"smoothly-display-json-object":if(!customElements.get(t(e))){n()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(e))){r()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(e))){m()}break;case"smoothly-icon":if(!customElements.get(t(e))){p()}break;case"smoothly-label":if(!customElements.get(t(e))){h()}break;case"smoothly-spinner":if(!customElements.get(t(e))){u()}break;case"smoothly-summary":if(!customElements.get(t(e))){k()}break}}))}j();export{v as S,j as d};
|
|
2
|
+
//# sourceMappingURL=p-w1uPMi4U.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as t,c as s,h as i,d as l,t as n}from"./p-BsZrGTcp.js";import{T as m}from"./p-Dr7iZPxA.js";import{D as r}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{E as h}from"./p-iQDU7l2c.js";import{S as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as o,H as t,c as s,h as i,d as l,t as n}from"./p-BsZrGTcp.js";import{T as m}from"./p-Dr7iZPxA.js";import{D as r}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{E as h}from"./p-iQDU7l2c.js";import{S as e}from"./p-ClBX6_1T.js";import{d as u}from"./p-mmAi00ak.js";import{d as a}from"./p-MHAaISnU.js";import{d as c}from"./p-DDYB8QLF.js";const y=()=>`[color=default].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-input-submit{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-input-submit-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-input-submit-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-input-submit-h{display:inline}[disabled].sc-smoothly-input-submit-h{opacity:0.5}.sc-smoothly-input-submit-h>a.sc-smoothly-input-submit{font-weight:400;background-color:transparent}.sc-smoothly-input-submit-h>a.sc-smoothly-input-submit,.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-input-submit-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-input-submit-h:has(>a:empty),.sc-smoothly-input-submit-h:has(>button:empty),.sc-smoothly-input-submit-h>a.sc-smoothly-input-submit:empty,.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-input-submit-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-input-submit-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-input-submit-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-input-submit{min-width:8rem}[size=icon].sc-smoothly-input-submit-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-input-submit-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-input-submit-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-input-submit-h{width:100%}[expand=full].sc-smoothly-input-submit-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-input-submit-h>button.sc-smoothly-input-submit{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-input-submit-h:not([fill=clear]):not([disabled])>button.sc-smoothly-input-submit:hover,.sc-smoothly-input-submit-h:not([disabled])>button.sc-smoothly-input-submit:focus-visible,[fill=outline].sc-smoothly-input-submit-h:not([disabled]):active>button.sc-smoothly-input-submit::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-input-submit-h:not([disabled])>button.sc-smoothly-input-submit:hover::before,[fill=outline].sc-smoothly-input-submit-h:not([disabled])>button.sc-smoothly-input-submit:focus-within::before,[fill=outline].sc-smoothly-input-submit-h:not([disabled])>button.sc-smoothly-input-submit:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-input-submit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-submit:hover,.sc-smoothly-input-submit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-submit:focus-visible,.sc-smoothly-input-submit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-submit:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-input-submit-h>button.sc-smoothly-input-submit,.sc-smoothly-input-submit-h.sc-smoothly-input-submit-s>smoothly-icon,.sc-smoothly-input-submit-h .sc-smoothly-input-submit-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-input-submit-h{display:none}.sc-smoothly-input-submit-h{display:flex}.sc-smoothly-input-submit-h:not([display]){display:none}.sc-smoothly-input-submit-h.sc-smoothly-input-submit-s>smoothly-button button>*+smoothly-icon,.sc-smoothly-input-submit-h.sc-smoothly-input-submit-s>smoothly-button-confirm button>*+smoothly-icon{display:none}[disabled].sc-smoothly-input-submit-h{cursor:not-allowed}`;const b=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.delete=false;this.icon="checkmark-outline";this.disabled=false;this.display=false;this.size="icon";this.tooltip=this.delete?"Remove":"Submit"}componentWillLoad(){this.smoothlyInputLoad.emit((o=>{if(e.is(o)&&h.type.is(o)){this.parent=o;o.listen((async o=>{this.display=!o.readonly}));if(typeof this.disabled!=="boolean"){o.listen((async o=>{var t;this.disabled=!this.delete&&(o.readonly||"validator"in o&&o.validator instanceof m&&!((t=o.validator)===null||t===void 0?void 0:t.is(r.convertArrays(o.value)))||!o.isDifferentFromInitial)}))}}}))}clickHandler(){var o;(o=this.parent)===null||o===void 0?void 0:o.submit(this.delete)}render(){var o,t;return i(l,{key:"70b53b4424d3bb5c5daf2d8cedbc0ef488a35e38",title:this.tooltip},this.delete==true?i("smoothly-button-confirm",{size:this.size,shape:this.shape,expand:this.expand,color:(o=this.color)!==null&&o!==void 0?o:"danger",fill:this.fill,onSmoothlyConfirm:()=>this.clickHandler()},i("slot",null),i("smoothly-icon",{name:"trash-outline",fill:"solid",size:"tiny"})):i("smoothly-button",{disabled:this.disabled,size:this.size,type:"button",shape:this.shape,expand:this.expand,color:(t=this.color)!==null&&t!==void 0?t:"success",fill:this.fill,onClick:()=>this.clickHandler()},i("slot",null),this.icon&&i("smoothly-icon",{name:this.icon,fill:"solid",size:"tiny"})))}static get style(){return y()}},[262,"smoothly-input-submit",{delete:[516],color:[1],icon:[8],expand:[513],fill:[513],disabled:[1540],display:[1540],shape:[513],size:[513],tooltip:[1]}]);function d(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-submit","smoothly-button","smoothly-button-confirm","smoothly-icon"];o.forEach((o=>{switch(o){case"smoothly-input-submit":if(!customElements.get(n(o))){customElements.define(n(o),b)}break;case"smoothly-button":if(!customElements.get(n(o))){u()}break;case"smoothly-button-confirm":if(!customElements.get(n(o))){a()}break;case"smoothly-icon":if(!customElements.get(n(o))){c()}break}}))}d();export{b as S,d};
|
|
2
|
+
//# sourceMappingURL=p-ycoVDLCD.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,h as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,h as e,d as s,t as i}from"./p-BsZrGTcp.js";import{S as r}from"./p-DoFURPl2.js";import{d as n}from"./p-DDYB8QLF.js";const a=()=>`.sc-smoothly-back-to-top-h{background-color:rgba(var(--smoothly-default-color), 1);opacity:var(--opacity);pointer-events:var(--pointer-events);transition:opacity 400ms;z-index:3;border-radius:50%;box-shadow:var(--smoothly-shadow);height:3rem;width:3rem;position:fixed;bottom:var(--bottom);right:var(--right);outline:none;cursor:pointer;display:flex;justify-content:center;align-items:center}`;const c=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.opacity="0.5";this.bottom="1rem";this.right="1rem"}componentWillLoad(){var t;this.scrollableParent=r.findParent(this.element);(t=this.scrollableParent)===null||t===void 0?void 0:t.addEventListener("scroll",(()=>{var t,o;this.visible=((o=(t=this.scrollableParent)===null||t===void 0?void 0:t.scrollTop)!==null&&o!==void 0?o:0)>20}))}render(){const t={"--opacity":this.visible?this.opacity:"0","--pointer-events":this.visible?"auto":"none","--bottom":this.bottom,"--right":this.right};return e(s,{key:"5743000aaec20538ad6a57688015cb4afd65d56b",style:t,onClick:()=>{var t;return(t=this.scrollableParent)===null||t===void 0?void 0:t.scrollTo({top:0,left:0,behavior:"smooth"})}},e("smoothly-icon",{key:"39ed5f8fb75c131e62e588101ec26fca43c7ca2c",name:"caret-up-outline"}))}get element(){return this}static get style(){return a()}},[2,"smoothly-back-to-top",{opacity:[1],bottom:[1],right:[1],visible:[32]}]);function l(){if(typeof customElements==="undefined"){return}const t=["smoothly-back-to-top","smoothly-icon"];t.forEach((t=>{switch(t){case"smoothly-back-to-top":if(!customElements.get(i(t))){customElements.define(i(t),c)}break;case"smoothly-icon":if(!customElements.get(i(t))){n()}break}}))}l();export{c as S,l as d};
|
|
2
|
+
//# sourceMappingURL=p-zLhQ1mMe.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-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};
|
|
1
|
+
import{p as o,H as e,h as t,t as s}from"./p-BsZrGTcp.js";import{d as m}from"./p-CE-IZkWY.js";import{d as a}from"./p-CKGlbozb.js";import{d as l}from"./p-zLhQ1mMe.js";import{d as r}from"./p-D2AakJMz.js";import{d as i}from"./p-mmAi00ak.js";import{d as c}from"./p-MHAaISnU.js";import{d}from"./p-DrVm8NNB.js";import{d as p}from"./p-DukbAK5F.js";import{d as n}from"./p-CmV6S6tx.js";import{d as f}from"./p-DnvyyAaF.js";import{d as y}from"./p-vB-efyHR.js";import{d as h}from"./p-C7rAw-Sf.js";import{d as b}from"./p-CN3iME9d.js";import{d as u}from"./p-w1uPMi4U.js";import{d as k}from"./p-CY71xgKe.js";import{d as j}from"./p-DG2pfnCV.js";import{d as E}from"./p-uFR5K4vd.js";import{d as g}from"./p-DvZK__s-.js";import{d as w}from"./p-F8qX8ZuL.js";import{d as C}from"./p-DPlYDxyJ.js";import{d as D}from"./p-mpg1V-Em.js";import{d as B}from"./p-g3poxXoz.js";import{d as v}from"./p-7UXKt7wZ.js";import{d as x}from"./p-KzfbLe_L.js";import{d as U}from"./p-DsVjTKwJ.js";import{d as I}from"./p-BUo_O_Bt.js";import{d as T}from"./p-CZERsWDV.js";import{d as H}from"./p-VpeNK8XH.js";import{d as z}from"./p-WiBL-FFH.js";import{d as F}from"./p-D2dYkSrN.js";import{d as L}from"./p-DXfFWsRb.js";import{d as M}from"./p-CwhGUug6.js";import{d as N}from"./p-Bt-mtf0k.js";import{d as R}from"./p-DDYB8QLF.js";import{d as V}from"./p-BAMlbqpU.js";import{d as A}from"./p-BHTAR2x1.js";import{d as K}from"./p-B-jhX7aN.js";import{d as X}from"./p-Dk4OvZyQ.js";import{d as Z}from"./p-CDzU4-Ri.js";import{d as q}from"./p-CIXMGKGQ.js";import{d as Y}from"./p-DJ-iHxJr.js";import{d as S}from"./p-gq882NJF.js";import{d as W}from"./p-5l1ov6SU.js";import{d as G}from"./p-DkiBtdrU.js";import{d as P}from"./p-0WCHC4VI.js";import{d as _}from"./p-DGTXEwvN.js";import{d as J}from"./p-9Fd6-bL0.js";import{d as Q}from"./p-Dh6ItMz4.js";import{d as O}from"./p-BOzzNfNj.js";import{d as $}from"./p-UqPFIGlg.js";import{d as oo}from"./p-DIy2lHMf.js";import{d as eo}from"./p-CMMaSJvr.js";import{d as to}from"./p-Bo1NnbuT.js";import{d as so}from"./p-BQOdxeHU.js";import{d as mo}from"./p-Dq8EU803.js";import{d as ao}from"./p-Cppqe_PV.js";import{d as lo}from"./p-CLqKhHZ8.js";import{d as ro}from"./p-CZIRwPwA.js";import{d as io}from"./p-ycoVDLCD.js";import{d as co}from"./p-ByRyVRgY.js";import{d as po}from"./p-VQuZJp8X.js";import{d as no}from"./p-Bv6ll-a-.js";import{d as fo}from"./p-DDtRlhit.js";import{d as yo}from"./p-jSrgQO7o.js";import{d as ho}from"./p-CCaI37_s.js";import{d as bo}from"./p-BdYr9Wou.js";import{d as uo}from"./p-CUmpHIzY.js";import{d as ko}from"./p-CmUug44L.js";import{d as jo}from"./p-M0gzpGV-.js";import{d as Eo}from"./p-BcEDrfmP.js";import{d as go}from"./p-C77C00Ii.js";import{d as wo}from"./p-DvMoIxws.js";import{d as Co}from"./p-l818BCpp.js";import{d as Do}from"./p-B8I-Yh5P.js";import{d as Bo}from"./p-BLIeXp8k.js";import{d as vo}from"./p-5Z_db2DH.js";import{d as xo}from"./p-DUZEz-6n.js";import{d as Uo}from"./p-CNEHa0dN.js";import{d as Io}from"./p-BDuUY4CB.js";import{d as To}from"./p-BvTs7KUn.js";import{d as Ho}from"./p-Cuq_eaHi.js";import{d as zo}from"./p-CFwdTUm-.js";import{d as Fo}from"./p-Cu0ProBU.js";import{d as Lo}from"./p-C7PxdEtX.js";import{d as Mo}from"./p-Iph4bHku.js";import{d as No}from"./p-BWT1q2tN.js";import{d as Ro}from"./p-CTvqaqVm.js";import{d as Vo}from"./p-2Y5tLcQ1.js";import{d as Ao}from"./p-UyMXVF_R.js";import{d as Ko}from"./p-BTjay9Fy.js";import{d as Xo}from"./p-BnYCDLp0.js";import{d as Zo}from"./p-mgqCIR9Q.js";import{d as qo}from"./p-UNw22e3G.js";import{d as Yo}from"./p-e7wZ4-5T.js";import{d as So}from"./p-DAwAJIiX.js";import{d as Wo}from"./p-BCwizh6U.js";import{d as Go}from"./p-Dw1KwhCp.js";import{d as Po}from"./p-DFPMixk-.js";const _o=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:"2a54a53a694e23460e96b9fb04483204f9e1c347",path:"/notifier",label:"Notices",content:t("smoothly-notifier-demo",null)}),t("smoothly-app-room",{key:"d57766baebf8df0791e1e5f845c2bac7d7b8729f",path:"/dialog",label:"Dialogs",content:t("smoothly-dialog-demo",null),slot:"nav-end"}),t("smoothly-app-room",{key:"d5bde6145e9950a3ddcda8e24d811203a4b69f27",path:"/display",label:"Display",content:t("smoothly-display-demo",null),slot:"nav-end"}),t("smoothly-app-room",{key:"3d56ef533e12cb88ec84bd2fdc63a60e64031083",path:"/tabs",label:"Tabs",slot:"nav-end"},t("smoothly-tabs-demo",{key:"271d70eb22cc0152161d42c137a3d00c19c6bba3"})),t("smoothly-app-room",{key:"c0cbe202e3d74ceacd8e88795c58ece2c1392bf5",path:"/links",label:"Links",slot:"nav-end"},t("smoothly-input",{key:"a39f0e568b614baaf271585da4ee013e48ff24fe",type:"text"},"Default"),t("div",{key:"a75dc6524b85da5e0c81b75a9b74d020c2723384",style:{padding:"1em",maxWidth:"12em"}},t("smoothly-button",{key:"a3820b0c802acc358ee3ab4ca9483411bdff04a8",fill:"solid",color:"danger",link:"https://google.com"},"open"),t("smoothly-button",{key:"fd1c12e214b53d8acdb8828cb616356ae8fe94e9",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:"f7c9c0a9eb4ca942f56e02b840087398a2688cd8",fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),t("smoothly-button",{key:"ebce581340217e91d6abf1bbff7538f77c5842ae",disabled:true,fill:"solid",color:"danger",onClick:()=>alert("clicked")},"action"),t("smoothly-button",{key:"01c20890774174c6ec793de4711d8e0530630108",type:"link",fill:"clear",color:"danger",onClick:()=>alert("clicked")},"action link"))),t("smoothly-app-room",{key:"42945bb6698943a783d0502f3ff0a08cb6ad583e",path:"/redirect",label:"Redirect",slot:"nav-end"},t("smoothly-button",{key:"b022c14f0680b1ca5f511cd87ab152a9ffb5b15d",type:"link",link:"/input"},"To input"),t("smoothly-button",{key:"566a1821001da85b67ce9f68f74b590c5319f060",type:"link",link:"../button"},"To button"),t("smoothly-button",{key:"e99bbe6cbb348b2c8b2dba558458c08dea22db21",type:"link",link:new URL("/hidden",window.location.origin).href},"To hidden"),t("smoothly-button",{key:"61e59ec9039a63b1d9c50c6705dc0098027be92a",type:"link",link:"/redirect"},"To redirect"),t("smoothly-button",{key:"511eba63ae34b4151e99ce482cb532849ab91dd7",type:"link",link:"nested"},"To redirect nested, relative path")),t("smoothly-app-room",{key:"bac6fa14c1c0dd2ebda292fe70255e53f466dc00",path:"/hidden"},t("p",{key:"1acd1207b775790f189fd8d8c3fb96a5b8d8a991"},"hello world!")),t("smoothly-app-room",{key:"2ecda7ecb183b382bb2987195af5a96e13e3b8b1",path:"/redirect/nested"},"this is a nested room"))}},[0,"smoothly-app-demo",{baseUrl:[1,"base-url"]},[[8,"smoothlyUrlChange","urlChangeHandler"]]]);function Jo(){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-notifier-demo","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),_o)}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))){w()}break;case"smoothly-form":if(!customElements.get(s(o))){C()}break;case"smoothly-form-demo":if(!customElements.get(s(o))){D()}break;case"smoothly-form-demo-all":if(!customElements.get(s(o))){B()}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))){U()}break;case"smoothly-form-demo-date-range":if(!customElements.get(s(o))){I()}break;case"smoothly-form-demo-login":if(!customElements.get(s(o))){T()}break;case"smoothly-form-demo-pet":if(!customElements.get(s(o))){H()}break;case"smoothly-form-demo-prices":if(!customElements.get(s(o))){z()}break;case"smoothly-form-demo-schedule":if(!customElements.get(s(o))){F()}break;case"smoothly-form-demo-transparent":if(!customElements.get(s(o))){L()}break;case"smoothly-form-demo-typed":if(!customElements.get(s(o))){M()}break;case"smoothly-frame":if(!customElements.get(s(o))){N()}break;case"smoothly-icon":if(!customElements.get(s(o))){R()}break;case"smoothly-icon-demo":if(!customElements.get(s(o))){V()}break;case"smoothly-input":if(!customElements.get(s(o))){A()}break;case"smoothly-input-checkbox":if(!customElements.get(s(o))){K()}break;case"smoothly-input-clear":if(!customElements.get(s(o))){X()}break;case"smoothly-input-color":if(!customElements.get(s(o))){Z()}break;case"smoothly-input-color-demo":if(!customElements.get(s(o))){q()}break;case"smoothly-input-date":if(!customElements.get(s(o))){Y()}break;case"smoothly-input-date-demo":if(!customElements.get(s(o))){S()}break;case"smoothly-input-date-range":if(!customElements.get(s(o))){W()}break;case"smoothly-input-date-time":if(!customElements.get(s(o))){G()}break;case"smoothly-input-demo":if(!customElements.get(s(o))){P()}break;case"smoothly-input-demo-radio":if(!customElements.get(s(o))){_()}break;case"smoothly-input-demo-standard":if(!customElements.get(s(o))){J()}break;case"smoothly-input-demo-user-input":if(!customElements.get(s(o))){Q()}break;case"smoothly-input-edit":if(!customElements.get(s(o))){O()}break;case"smoothly-input-file":if(!customElements.get(s(o))){$()}break;case"smoothly-input-month":if(!customElements.get(s(o))){oo()}break;case"smoothly-input-price-demo":if(!customElements.get(s(o))){eo()}break;case"smoothly-input-radio":if(!customElements.get(s(o))){to()}break;case"smoothly-input-radio-item":if(!customElements.get(s(o))){so()}break;case"smoothly-input-range":if(!customElements.get(s(o))){mo()}break;case"smoothly-input-range-demo":if(!customElements.get(s(o))){ao()}break;case"smoothly-input-reset":if(!customElements.get(s(o))){lo()}break;case"smoothly-input-select":if(!customElements.get(s(o))){ro()}break;case"smoothly-input-submit":if(!customElements.get(s(o))){io()}break;case"smoothly-item":if(!customElements.get(s(o))){co()}break;case"smoothly-label":if(!customElements.get(s(o))){po()}break;case"smoothly-lazy":if(!customElements.get(s(o))){no()}break;case"smoothly-load-more":if(!customElements.get(s(o))){fo()}break;case"smoothly-modal":if(!customElements.get(s(o))){yo()}break;case"smoothly-notification":if(!customElements.get(s(o))){ho()}break;case"smoothly-notifier":if(!customElements.get(s(o))){bo()}break;case"smoothly-notifier-demo":if(!customElements.get(s(o))){uo()}break;case"smoothly-spinner":if(!customElements.get(s(o))){ko()}break;case"smoothly-summary":if(!customElements.get(s(o))){jo()}break;case"smoothly-tab":if(!customElements.get(s(o))){Eo()}break;case"smoothly-table":if(!customElements.get(s(o))){go()}break;case"smoothly-table-body":if(!customElements.get(s(o))){wo()}break;case"smoothly-table-cell":if(!customElements.get(s(o))){Co()}break;case"smoothly-table-demo":if(!customElements.get(s(o))){Do()}break;case"smoothly-table-demo-colspan":if(!customElements.get(s(o))){Bo()}break;case"smoothly-table-demo-filler-row":if(!customElements.get(s(o))){vo()}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))){Uo()}break;case"smoothly-table-demo-nested-no-cell-inner":if(!customElements.get(s(o))){Io()}break;case"smoothly-table-demo-simple":if(!customElements.get(s(o))){To()}break;case"smoothly-table-expandable-cell":if(!customElements.get(s(o))){Ho()}break;case"smoothly-table-expandable-row":if(!customElements.get(s(o))){zo()}break;case"smoothly-table-filler-row":if(!customElements.get(s(o))){Fo()}break;case"smoothly-table-foot":if(!customElements.get(s(o))){Lo()}break;case"smoothly-table-head":if(!customElements.get(s(o))){Mo()}break;case"smoothly-table-row":if(!customElements.get(s(o))){No()}break;case"smoothly-table-row-group":if(!customElements.get(s(o))){Ro()}break;case"smoothly-tabs":if(!customElements.get(s(o))){Vo()}break;case"smoothly-tabs-demo":if(!customElements.get(s(o))){Ao()}break;case"smoothly-theme-color":if(!customElements.get(s(o))){Ko()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(o))){Xo()}break;case"smoothly-theme-colors":if(!customElements.get(s(o))){Zo()}break;case"smoothly-theme-demo":if(!customElements.get(s(o))){qo()}break;case"smoothly-theme-guide":if(!customElements.get(s(o))){Yo()}break;case"smoothly-theme-picker":if(!customElements.get(s(o))){So()}break;case"smoothly-toggle-switch":if(!customElements.get(s(o))){Wo()}break;case"smoothly-toggle-switch-demo":if(!customElements.get(s(o))){Go()}break;case"smoothly-trigger":if(!customElements.get(s(o))){Po()}break}}))}Jo();const Qo=_o;const Oo=Jo;export{Qo as SmoothlyAppDemo,Oo as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-app-demo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["SmoothlyAppDemo","__stencil_proxyCustomElement","HTMLElement","urlChangeHandler","event","console","log","detail","render","h","key","color","label","home","ref","e","this","app","path","style","padding","maxWidth","margin","href","content","slot","type","fill","link","onClick","alert","disabled","URL","window","location","origin"],"sources":["src/components/app/demo/index.tsx"],"sourcesContent":["import { Component, h, Listen, Prop } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-app-demo\",\n})\nexport class SmoothlyAppDemo {\n\t@Prop() baseUrl: string\n\tapp?: HTMLSmoothlyAppElement\n\t@Listen(\"smoothlyUrlChange\", { target: \"window\" })\n\turlChangeHandler(event: CustomEvent<string>) {\n\t\tconsole.log(\"smoothlyUrlChange\", event.detail)\n\t}\n\trender() {\n\t\treturn (\n\t\t\t<smoothly-app color=\"dark\" label=\"Smoothly Demo\" home=\"/root\" ref={e => (this.app = e)}>\n\t\t\t\t<smoothly-app-room path=\"/\">\n\t\t\t\t\t<section style={{ padding: \"1em\", maxWidth: \"32em\", margin: \"0 auto\" }}>\n\t\t\t\t\t\t<header>\n\t\t\t\t\t\t\t<h1>Welcome</h1>\n\t\t\t\t\t\t</header>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tSmoothly is a component library written in <a href=\"http://stenciljs.com\">Stencil</a>. It can therefore be\n\t\t\t\t\t\t\tused across web based frontend toolchains such as React, Vue, Angular, Svelte, and even plain HTML.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tThis is particularly useful when trying to unifying the user experience across projects written in\n\t\t\t\t\t\t\tdifferent technology stacks. It is also written to minimize the amount of code you need to write to\n\t\t\t\t\t\t\tachieve a nice user experience.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</section>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/form\" label=\"Forms\" content={<smoothly-form-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/input\" label=\"Inputs\" content={<smoothly-input-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/table\" label=\"Tables\" content={<smoothly-table-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/button\" label=\"Buttons\" content={<smoothly-button-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/icon\" label=\"Icons\" content={<smoothly-icon-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/theme\" label=\"Theming\" content={<smoothly-theme-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/dialog\" label=\"Dialogs\" content={<smoothly-dialog-demo />} slot=\"nav-end\" />\n\t\t\t\t<smoothly-app-room path=\"/display\" label=\"Display\" content={<smoothly-display-demo />} slot=\"nav-end\" />\n\t\t\t\t<smoothly-app-room path=\"/tabs\" label=\"Tabs\" slot=\"nav-end\">\n\t\t\t\t\t<smoothly-tabs-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/links\" label=\"Links\" slot=\"nav-end\">\n\t\t\t\t\t<smoothly-input type=\"text\">Default</smoothly-input>\n\t\t\t\t\t<div style={{ padding: \"1em\", maxWidth: \"12em\" }}>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" link=\"https://google.com\">\n\t\t\t\t\t\t\topen\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\t\t\tlink=\"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\"\n\t\t\t\t\t\t\ttype=\"download\">\n\t\t\t\t\t\t\tdownload\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button disabled fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button type=\"link\" fill=\"clear\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction link\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t</div>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/redirect\" label=\"Redirect\" slot=\"nav-end\">\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/input\">\n\t\t\t\t\t\tTo input\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"../button\">\n\t\t\t\t\t\tTo button\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link={new URL(\"/hidden\", window.location.origin).href}>\n\t\t\t\t\t\tTo hidden\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/redirect\">\n\t\t\t\t\t\tTo redirect\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"nested\">\n\t\t\t\t\t\tTo redirect nested, relative path\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/hidden\">\n\t\t\t\t\t<p>hello world!</p>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/redirect/nested\">this is a nested room</smoothly-app-room>\n\t\t\t</smoothly-app>\n\t\t)\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["SmoothlyAppDemo","__stencil_proxyCustomElement","HTMLElement","urlChangeHandler","event","console","log","detail","render","h","key","color","label","home","ref","e","this","app","path","style","padding","maxWidth","margin","href","content","slot","type","fill","link","onClick","alert","disabled","URL","window","location","origin"],"sources":["src/components/app/demo/index.tsx"],"sourcesContent":["import { Component, h, Listen, Prop } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-app-demo\",\n})\nexport class SmoothlyAppDemo {\n\t@Prop() baseUrl: string\n\tapp?: HTMLSmoothlyAppElement\n\t@Listen(\"smoothlyUrlChange\", { target: \"window\" })\n\turlChangeHandler(event: CustomEvent<string>) {\n\t\tconsole.log(\"smoothlyUrlChange\", event.detail)\n\t}\n\trender() {\n\t\treturn (\n\t\t\t<smoothly-app color=\"dark\" label=\"Smoothly Demo\" home=\"/root\" ref={e => (this.app = e)}>\n\t\t\t\t<smoothly-app-room path=\"/\">\n\t\t\t\t\t<section style={{ padding: \"1em\", maxWidth: \"32em\", margin: \"0 auto\" }}>\n\t\t\t\t\t\t<header>\n\t\t\t\t\t\t\t<h1>Welcome</h1>\n\t\t\t\t\t\t</header>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tSmoothly is a component library written in <a href=\"http://stenciljs.com\">Stencil</a>. It can therefore be\n\t\t\t\t\t\t\tused across web based frontend toolchains such as React, Vue, Angular, Svelte, and even plain HTML.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tThis is particularly useful when trying to unifying the user experience across projects written in\n\t\t\t\t\t\t\tdifferent technology stacks. It is also written to minimize the amount of code you need to write to\n\t\t\t\t\t\t\tachieve a nice user experience.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</section>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/form\" label=\"Forms\" content={<smoothly-form-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/input\" label=\"Inputs\" content={<smoothly-input-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/table\" label=\"Tables\" content={<smoothly-table-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/button\" label=\"Buttons\" content={<smoothly-button-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/icon\" label=\"Icons\" content={<smoothly-icon-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/theme\" label=\"Theming\" content={<smoothly-theme-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/notifier\" label=\"Notices\" content={<smoothly-notifier-demo />} />\n\t\t\t\t<smoothly-app-room path=\"/dialog\" label=\"Dialogs\" content={<smoothly-dialog-demo />} slot=\"nav-end\" />\n\t\t\t\t<smoothly-app-room path=\"/display\" label=\"Display\" content={<smoothly-display-demo />} slot=\"nav-end\" />\n\t\t\t\t<smoothly-app-room path=\"/tabs\" label=\"Tabs\" slot=\"nav-end\">\n\t\t\t\t\t<smoothly-tabs-demo />\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/links\" label=\"Links\" slot=\"nav-end\">\n\t\t\t\t\t<smoothly-input type=\"text\">Default</smoothly-input>\n\t\t\t\t\t<div style={{ padding: \"1em\", maxWidth: \"12em\" }}>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" link=\"https://google.com\">\n\t\t\t\t\t\t\topen\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\t\t\tlink=\"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf\"\n\t\t\t\t\t\t\ttype=\"download\">\n\t\t\t\t\t\t\tdownload\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button disabled fill=\"solid\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t\t<smoothly-button type=\"link\" fill=\"clear\" color=\"danger\" onClick={() => alert(\"clicked\")}>\n\t\t\t\t\t\t\taction link\n\t\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t</div>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/redirect\" label=\"Redirect\" slot=\"nav-end\">\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/input\">\n\t\t\t\t\t\tTo input\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"../button\">\n\t\t\t\t\t\tTo button\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link={new URL(\"/hidden\", window.location.origin).href}>\n\t\t\t\t\t\tTo hidden\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"/redirect\">\n\t\t\t\t\t\tTo redirect\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button type=\"link\" link=\"nested\">\n\t\t\t\t\t\tTo redirect nested, relative path\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/hidden\">\n\t\t\t\t\t<p>hello world!</p>\n\t\t\t\t</smoothly-app-room>\n\t\t\t\t<smoothly-app-room path=\"/redirect/nested\">this is a nested room</smoothly-app-room>\n\t\t\t</smoothly-app>\n\t\t)\n\t}\n}\n"],"mappings":"kjHAKaA,GAAeC,EAAA,MAAAD,UAAAE,E,4DAI3B,gBAAAC,CAAiBC,GAChBC,QAAQC,IAAI,oBAAqBF,EAAMG,O,CAExC,MAAAC,GACC,OACCC,EAAA,gBAAAC,IAAA,2CAAcC,MAAM,OAAOC,MAAM,gBAAgBC,KAAK,QAAQC,IAAKC,GAAMC,KAAKC,IAAMF,GACnFN,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,KACvBT,EAAA,WAAAC,IAAA,2CAASS,MAAO,CAAEC,QAAS,MAAOC,SAAU,OAAQC,OAAQ,WAC3Db,EAAA,UAAAC,IAAA,4CACCD,EAAA,MAAAC,IAAA,wDAEDD,EAAA,KAAAC,IAAA,0FAC4CD,EAAA,KAAAC,IAAA,2CAAGa,KAAK,wBAAsB,WAEtE,6HACJd,EAAA,KAAAC,IAAA,wRAOFD,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,QAAQN,MAAM,QAAQY,QAASf,EAAA,6BACvDA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,SAASN,MAAM,SAASY,QAASf,EAAA,8BACzDA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,SAASN,MAAM,SAASY,QAASf,EAAA,8BACzDA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,UAAUN,MAAM,UAAUY,QAASf,EAAA,+BAC3DA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,QAAQN,MAAM,QAAQY,QAASf,EAAA,6BACvDA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,SAASN,MAAM,UAAUY,QAASf,EAAA,8BAC1DA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,YAAYN,MAAM,UAAUY,QAASf,EAAA,iCAC7DA,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,UAAUN,MAAM,UAAUY,QAASf,EAAA,6BAA0BgB,KAAK,YAC1FhB,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,WAAWN,MAAM,UAAUY,QAASf,EAAA,8BAA2BgB,KAAK,YAC5FhB,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,QAAQN,MAAM,OAAOa,KAAK,WACjDhB,EAAA,sBAAAC,IAAA,8CAEDD,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,SAASN,MAAM,QAAQa,KAAK,WACnDhB,EAAA,kBAAAC,IAAA,2CAAgBgB,KAAK,QAAM,WAC3BjB,EAAA,OAAAC,IAAA,2CAAKS,MAAO,CAAEC,QAAS,MAAOC,SAAU,SACvCZ,EAAA,mBAAAC,IAAA,2CAAiBiB,KAAK,QAAQhB,MAAM,SAASiB,KAAK,sBAAoB,QAGtEnB,EAAA,mBAAAC,IAAA,2CACCiB,KAAK,QACLhB,MAAM,SACNiB,KAAK,0EACLF,KAAK,YAAU,YAGhBjB,EAAA,mBAAAC,IAAA,2CAAiBiB,KAAK,QAAQhB,MAAM,SAASkB,QAAS,IAAMC,MAAM,YAAU,UAG5ErB,EAAA,mBAAAC,IAAA,2CAAiBqB,SAAQ,KAACJ,KAAK,QAAQhB,MAAM,SAASkB,QAAS,IAAMC,MAAM,YAAU,UAGrFrB,EAAA,mBAAAC,IAAA,2CAAiBgB,KAAK,OAAOC,KAAK,QAAQhB,MAAM,SAASkB,QAAS,IAAMC,MAAM,YAAU,iBAK1FrB,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,YAAYN,MAAM,WAAWa,KAAK,WACzDhB,EAAA,mBAAAC,IAAA,2CAAiBgB,KAAK,OAAOE,KAAK,UAAQ,YAG1CnB,EAAA,mBAAAC,IAAA,2CAAiBgB,KAAK,OAAOE,KAAK,aAAW,aAG7CnB,EAAA,mBAAAC,IAAA,2CAAiBgB,KAAK,OAAOE,KAAM,IAAII,IAAI,UAAWC,OAAOC,SAASC,QAAQZ,MAAI,aAGlFd,EAAA,mBAAAC,IAAA,2CAAiBgB,KAAK,OAAOE,KAAK,aAAW,eAG7CnB,EAAA,mBAAAC,IAAA,2CAAiBgB,KAAK,OAAOE,KAAK,UAAQ,sCAI3CnB,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,WACvBT,EAAA,KAAAC,IAAA,6DAEDD,EAAA,qBAAAC,IAAA,2CAAmBQ,KAAK,oBAAkB,yB","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as o,d as s}from"./p-
|
|
1
|
+
import{S as o,d as s}from"./p-CKGlbozb.js";const t=o;const p=s;export{t as SmoothlyAppRoom,p as defineCustomElement};
|
|
2
2
|
//# sourceMappingURL=smoothly-app-room.js.map
|