smoothly 1.115.0 → 1.117.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/{Scrollable-BJioYHxN.js → Scrollable-C_6-3ED9.js} +14 -4
- package/dist/cjs/Scrollable-C_6-3ED9.js.map +1 -0
- package/dist/cjs/{Submittable-PpSv5NRW.js → Submittable-DmhpDQHI.js} +3 -3
- package/dist/cjs/{Submittable-PpSv5NRW.js.map → Submittable-DmhpDQHI.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{smoothly-app_98.cjs.entry.js → smoothly-app_99.cjs.entry.js} +165 -151
- 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 +3 -3
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
- 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/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/Icon.js +12 -2
- package/dist/collection/model/Icon.js.map +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-C2xjUTYO.js → p-5Z_db2DH.js} +2 -2
- package/dist/components/{p-nFLcvugJ.js → p-5ac0hPYS.js} +2 -2
- package/dist/components/{p-NFd9Dxr1.js → p-5l1ov6SU.js} +2 -2
- package/dist/components/p-7UXKt7wZ.js +2 -0
- package/dist/components/{p-CrKwvG9J.js → p-B-jhX7aN.js} +2 -2
- package/dist/components/p-B37ZIkLI.js +2 -0
- package/dist/components/p-B8I-Yh5P.js +2 -0
- package/dist/components/p-BAMlbqpU.js +2 -0
- package/dist/components/{p-dBpTpVs8.js → p-BCwizh6U.js} +2 -2
- package/dist/components/p-BDuUY4CB.js +2 -0
- package/dist/components/{p-CooymHn6.js.map → p-BDuUY4CB.js.map} +1 -1
- package/dist/components/{p-Ww5QjB3D.js → p-BHTAR2x1.js} +2 -2
- package/dist/components/p-BJCnnn2u.js +2 -0
- package/dist/components/p-BLIeXp8k.js +2 -0
- package/dist/components/p-BOrYTTXf.js +2 -0
- package/dist/components/p-BOwhmPm8.js +2 -0
- package/dist/components/{p-4pGbxojU.js → p-BOzzNfNj.js} +2 -2
- 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-NGbZCAH9.js → p-BcEDrfmP.js} +2 -2
- package/dist/components/{p-6PsJb2Ez.js → p-BdYr9Wou.js} +2 -2
- package/dist/components/{p-CgCEK6Lc.js → p-BnJAC2Zf.js} +2 -2
- package/dist/components/{p-BfwEfI7H.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-Br0kWrBT.js +2 -0
- package/dist/components/p-Br0kWrBT.js.map +1 -0
- package/dist/components/{p-BEHuPmXt.js → p-Bt-mtf0k.js} +2 -2
- package/dist/components/p-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-C8r10chB.js +2 -0
- package/dist/components/{p-D5dkLuTD.js → p-CCaI37_s.js} +2 -2
- package/dist/components/{p-CrkBYYf-.js → p-CDzU4-Ri.js} +2 -2
- package/dist/components/{p-DHj4bfJ8.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-CCExK0R5.js → p-CKGlbozb.js} +2 -2
- package/dist/components/{p-BUa0wBSK.js → p-CLqKhHZ8.js} +2 -2
- package/dist/components/p-CN3iME9d.js +2 -0
- package/dist/components/{p-C-zr_dP8.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-BuKk-s9A.js → p-CY71xgKe.js} +2 -2
- package/dist/components/p-CZERsWDV.js +2 -0
- package/dist/components/{p-CAgJrhiy.js.map → p-CZERsWDV.js.map} +1 -1
- package/dist/components/{p-CJEV2v84.js → p-CZIRwPwA.js} +2 -2
- package/dist/components/{p-Bpc6uh0M.js → p-CmUug44L.js} +2 -2
- package/dist/components/{p-1j2KmcfQ.js → p-CmV6S6tx.js} +2 -2
- package/dist/components/p-Cppqe_PV.js +2 -0
- package/dist/components/{p-D5WTwmc6.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-DIz1nEPY.js → p-D2AakJMz.js} +2 -2
- package/dist/components/p-D2dYkSrN.js +2 -0
- package/dist/components/p-D7FCA_AJ.js +2 -0
- package/dist/components/p-DA7cE1vV.js +2 -0
- package/dist/components/{p-CqMnH54Q.js → p-DAwAJIiX.js} +2 -2
- package/dist/components/{p-BiQsRsV4.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-CtuuZV3u.js → p-DIy2lHMf.js} +2 -2
- package/dist/components/{p-xkRxEiC8.js → p-DJ-iHxJr.js} +2 -2
- package/dist/components/{p-DIhqNc1G.js → p-DPlYDxyJ.js} +2 -2
- package/dist/components/p-DUZEz-6n.js +2 -0
- package/dist/components/{p-Cv-uvD7X.js.map → p-DUZEz-6n.js.map} +1 -1
- package/dist/components/p-DXfFWsRb.js +2 -0
- package/dist/components/{p-_o_lUhve.js → p-Dk4OvZyQ.js} +2 -2
- package/dist/components/{p-BFJL6rrU.js → p-DkiBtdrU.js} +2 -2
- package/dist/components/{p-AX8gOGUr.js → p-DnvyyAaF.js} +2 -2
- package/dist/components/{p-CTdXhHGF.js → p-Dq8EU803.js} +2 -2
- package/dist/components/p-DsVjTKwJ.js +2 -0
- 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-F8qX8ZuL.js +2 -0
- package/dist/components/p-HdZxIc2m.js +2 -0
- package/dist/components/{p-D-mAUrbR.js → p-Iph4bHku.js} +2 -2
- package/dist/components/p-KtTME3nN.js +2 -0
- package/dist/components/{p-CcXqouEO.js → p-KzfbLe_L.js} +2 -2
- package/dist/components/{p-CUdZx76u.js → p-M0gzpGV-.js} +2 -2
- package/dist/components/{p-DX3KKRD9.js → p-MHAaISnU.js} +2 -2
- package/dist/components/p-O5TMvOSH.js +2 -0
- package/dist/components/{p-Dz8Bblye.js.map → p-O5TMvOSH.js.map} +1 -1
- package/dist/components/p-UNw22e3G.js +2 -0
- package/dist/components/{p-BRoShuOu.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-WiBL-FFH.js +2 -0
- package/dist/components/p-e7wZ4-5T.js +2 -0
- package/dist/components/p-gq882NJF.js +2 -0
- package/dist/components/{p-DFXJvHuL.js → p-iQDU7l2c.js} +2 -2
- package/dist/components/p-jSrgQO7o.js +2 -0
- package/dist/components/{p-BHsrC9Oh.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-BHEtq3Ue.js → p-mmAi00ak.js} +2 -2
- package/dist/components/{p-B-l1S16Z.js → p-uFR5K4vd.js} +2 -2
- package/dist/components/{p-CqXSfYre.js → p-vB-efyHR.js} +2 -2
- package/dist/components/p-w1uPMi4U.js +2 -0
- package/dist/components/{p-CqyGm3oe.js → p-ycoVDLCD.js} +2 -2
- package/dist/components/{p-BoHJT9bR.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-frame.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-demo.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-radio.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo-user-input.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-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/{Scrollable-B1D3P7eJ.js → Scrollable-CbMKpwBI.js} +14 -4
- package/dist/esm/Scrollable-CbMKpwBI.js.map +1 -0
- package/dist/esm/{Submittable-D4FaRzPA.js → Submittable-NFA7UIyM.js} +3 -3
- package/dist/esm/{Submittable-D4FaRzPA.js.map → Submittable-NFA7UIyM.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{smoothly-app_98.entry.js → smoothly-app_99.entry.js} +165 -152
- 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 +3 -3
- package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
- package/dist/esm/smoothly-trigger-source.entry.js +2 -2
- 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-be43737e.entry.js → p-36966f71.entry.js} +2 -2
- package/dist/smoothly/p-43e4b703.entry.js +2 -0
- package/dist/smoothly/p-43e4b703.entry.js.map +1 -0
- package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
- package/dist/smoothly/p-7a9308b9.entry.js +2 -0
- package/dist/smoothly/p-Bq3C8g8G.js +2 -0
- package/dist/smoothly/p-Bq3C8g8G.js.map +1 -0
- package/dist/smoothly/p-CbMKpwBI.js +2 -0
- package/dist/smoothly/p-CbMKpwBI.js.map +1 -0
- package/dist/smoothly/{p-rhMhTGHt.js → p-DZSl4MD1.js} +2 -2
- package/dist/smoothly/{p-rhMhTGHt.js.map → p-DZSl4MD1.js.map} +1 -1
- package/dist/smoothly/{p-d4dad5a8.entry.js → p-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/Scrollable-BJioYHxN.js.map +0 -1
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +0 -1
- package/dist/components/p-67RlLkJb.js +0 -2
- package/dist/components/p-B0kZrKne.js +0 -2
- package/dist/components/p-B2MMqcTF.js +0 -2
- package/dist/components/p-B6sHuEsq.js +0 -2
- package/dist/components/p-BGBbdXaw.js +0 -2
- package/dist/components/p-BGzrO9CQ.js +0 -2
- package/dist/components/p-BHsrC9Oh.js +0 -2
- package/dist/components/p-BXoBluZQ.js +0 -2
- package/dist/components/p-B_z5-Hf8.js +0 -2
- package/dist/components/p-BanWK6rV.js +0 -2
- package/dist/components/p-Bn7CZqdz.js +0 -2
- package/dist/components/p-Bq5YEPPT.js +0 -2
- package/dist/components/p-BulPH2Jo.js +0 -2
- package/dist/components/p-C3FORjes.js +0 -2
- package/dist/components/p-C6T0ZB2C.js +0 -2
- package/dist/components/p-C6lWCoIT.js +0 -2
- package/dist/components/p-C6lWCoIT.js.map +0 -1
- package/dist/components/p-CAgJrhiy.js +0 -2
- package/dist/components/p-CApTrLt_.js +0 -2
- package/dist/components/p-CKlr_F9h.js +0 -2
- package/dist/components/p-COK__8-d.js +0 -2
- package/dist/components/p-CSXWpZjy.js +0 -2
- package/dist/components/p-CVNSeOlg.js +0 -2
- package/dist/components/p-CkXes5c-.js +0 -2
- package/dist/components/p-CkXes5c-.js.map +0 -1
- package/dist/components/p-CooymHn6.js +0 -2
- package/dist/components/p-CqSiLhUe.js +0 -2
- package/dist/components/p-Cv-uvD7X.js +0 -2
- package/dist/components/p-Cw_sHLuu.js +0 -2
- package/dist/components/p-D5WTwmc6.js +0 -2
- package/dist/components/p-DGa_QPb9.js +0 -2
- package/dist/components/p-DIf6-Fvg.js +0 -2
- package/dist/components/p-DLBMEh0f.js +0 -2
- package/dist/components/p-DM3PMEgb.js +0 -2
- package/dist/components/p-DM5CKilY.js +0 -2
- package/dist/components/p-DS66Mn9S.js +0 -2
- package/dist/components/p-DYNjCosy.js +0 -2
- package/dist/components/p-DiXjCPyE.js +0 -2
- package/dist/components/p-DkhX1qsg.js +0 -2
- package/dist/components/p-Dz8Bblye.js +0 -2
- package/dist/components/p-He4KDK9-.js +0 -2
- package/dist/components/p-N-UYdc5h.js +0 -2
- package/dist/components/p-Qv-IgIvL.js +0 -2
- package/dist/components/p-d26Fb7IS.js +0 -2
- package/dist/esm/Notice-C6lWCoIT.js.map +0 -1
- package/dist/esm/Scrollable-B1D3P7eJ.js.map +0 -1
- package/dist/esm/smoothly-app_98.entry.js.map +0 -1
- package/dist/smoothly/p-7d6c72eb.entry.js +0 -2
- package/dist/smoothly/p-94d091cd.entry.js +0 -2
- package/dist/smoothly/p-B1D3P7eJ.js +0 -2
- package/dist/smoothly/p-B1D3P7eJ.js.map +0 -1
- package/dist/smoothly/p-C6lWCoIT.js +0 -2
- package/dist/smoothly/p-C6lWCoIT.js.map +0 -1
- package/dist/smoothly/p-b7ac3c88.entry.js +0 -2
- package/dist/smoothly/p-b7ac3c88.entry.js.map +0 -1
- /package/dist/components/{p-C2xjUTYO.js.map → p-5Z_db2DH.js.map} +0 -0
- /package/dist/components/{p-nFLcvugJ.js.map → p-5ac0hPYS.js.map} +0 -0
- /package/dist/components/{p-NFd9Dxr1.js.map → p-5l1ov6SU.js.map} +0 -0
- /package/dist/components/{p-COK__8-d.js.map → p-7UXKt7wZ.js.map} +0 -0
- /package/dist/components/{p-CrKwvG9J.js.map → p-B-jhX7aN.js.map} +0 -0
- /package/dist/components/{p-Qv-IgIvL.js.map → p-B37ZIkLI.js.map} +0 -0
- /package/dist/components/{p-B0kZrKne.js.map → p-B8I-Yh5P.js.map} +0 -0
- /package/dist/components/{p-Bq5YEPPT.js.map → p-BAMlbqpU.js.map} +0 -0
- /package/dist/components/{p-dBpTpVs8.js.map → p-BCwizh6U.js.map} +0 -0
- /package/dist/components/{p-Ww5QjB3D.js.map → p-BHTAR2x1.js.map} +0 -0
- /package/dist/components/{p-BXoBluZQ.js.map → p-BJCnnn2u.js.map} +0 -0
- /package/dist/components/{p-BanWK6rV.js.map → p-BLIeXp8k.js.map} +0 -0
- /package/dist/components/{p-DM3PMEgb.js.map → p-BOrYTTXf.js.map} +0 -0
- /package/dist/components/{p-DLBMEh0f.js.map → p-BOwhmPm8.js.map} +0 -0
- /package/dist/components/{p-4pGbxojU.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-B_z5-Hf8.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-NGbZCAH9.js.map → p-BcEDrfmP.js.map} +0 -0
- /package/dist/components/{p-6PsJb2Ez.js.map → p-BdYr9Wou.js.map} +0 -0
- /package/dist/components/{p-CgCEK6Lc.js.map → p-BnJAC2Zf.js.map} +0 -0
- /package/dist/components/{p-BfwEfI7H.js.map → p-Bo1NnbuT.js.map} +0 -0
- /package/dist/components/{p-BEHuPmXt.js.map → p-Bt-mtf0k.js.map} +0 -0
- /package/dist/components/{p-CApTrLt_.js.map → p-Bv6ll-a-.js.map} +0 -0
- /package/dist/components/{p-B2MMqcTF.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-DS66Mn9S.js.map → p-C7rAw-Sf.js.map} +0 -0
- /package/dist/components/{p-d26Fb7IS.js.map → p-C8r10chB.js.map} +0 -0
- /package/dist/components/{p-D5dkLuTD.js.map → p-CCaI37_s.js.map} +0 -0
- /package/dist/components/{p-CrkBYYf-.js.map → p-CDzU4-Ri.js.map} +0 -0
- /package/dist/components/{p-DHj4bfJ8.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-Cw_sHLuu.js.map → p-CIXMGKGQ.js.map} +0 -0
- /package/dist/components/{p-CCExK0R5.js.map → p-CKGlbozb.js.map} +0 -0
- /package/dist/components/{p-BUa0wBSK.js.map → p-CLqKhHZ8.js.map} +0 -0
- /package/dist/components/{p-DM5CKilY.js.map → p-CN3iME9d.js.map} +0 -0
- /package/dist/components/{p-C-zr_dP8.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-BuKk-s9A.js.map → p-CY71xgKe.js.map} +0 -0
- /package/dist/components/{p-CJEV2v84.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-1j2KmcfQ.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-CSXWpZjy.js.map → p-CwhGUug6.js.map} +0 -0
- /package/dist/components/{p-DIz1nEPY.js.map → p-D2AakJMz.js.map} +0 -0
- /package/dist/components/{p-CVNSeOlg.js.map → p-D2dYkSrN.js.map} +0 -0
- /package/dist/components/{p-DiXjCPyE.js.map → p-D7FCA_AJ.js.map} +0 -0
- /package/dist/components/{p-67RlLkJb.js.map → p-DA7cE1vV.js.map} +0 -0
- /package/dist/components/{p-CqMnH54Q.js.map → p-DAwAJIiX.js.map} +0 -0
- /package/dist/components/{p-BiQsRsV4.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-CtuuZV3u.js.map → p-DIy2lHMf.js.map} +0 -0
- /package/dist/components/{p-xkRxEiC8.js.map → p-DJ-iHxJr.js.map} +0 -0
- /package/dist/components/{p-DIhqNc1G.js.map → p-DPlYDxyJ.js.map} +0 -0
- /package/dist/components/{p-B6sHuEsq.js.map → p-DXfFWsRb.js.map} +0 -0
- /package/dist/components/{p-_o_lUhve.js.map → p-Dk4OvZyQ.js.map} +0 -0
- /package/dist/components/{p-BFJL6rrU.js.map → p-DkiBtdrU.js.map} +0 -0
- /package/dist/components/{p-AX8gOGUr.js.map → p-DnvyyAaF.js.map} +0 -0
- /package/dist/components/{p-CTdXhHGF.js.map → p-Dq8EU803.js.map} +0 -0
- /package/dist/components/{p-C6T0ZB2C.js.map → p-DsVjTKwJ.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-DYNjCosy.js.map → p-Dw1KwhCp.js.map} +0 -0
- /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
- /package/dist/components/{p-CqSiLhUe.js.map → p-HdZxIc2m.js.map} +0 -0
- /package/dist/components/{p-D-mAUrbR.js.map → p-Iph4bHku.js.map} +0 -0
- /package/dist/components/{p-CKlr_F9h.js.map → p-KtTME3nN.js.map} +0 -0
- /package/dist/components/{p-CcXqouEO.js.map → p-KzfbLe_L.js.map} +0 -0
- /package/dist/components/{p-CUdZx76u.js.map → p-M0gzpGV-.js.map} +0 -0
- /package/dist/components/{p-DX3KKRD9.js.map → p-MHAaISnU.js.map} +0 -0
- /package/dist/components/{p-Bn7CZqdz.js.map → p-UNw22e3G.js.map} +0 -0
- /package/dist/components/{p-BRoShuOu.js.map → p-UqPFIGlg.js.map} +0 -0
- /package/dist/components/{p-DGa_QPb9.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-N-UYdc5h.js.map → p-WiBL-FFH.js.map} +0 -0
- /package/dist/components/{p-He4KDK9-.js.map → p-e7wZ4-5T.js.map} +0 -0
- /package/dist/components/{p-DIf6-Fvg.js.map → p-gq882NJF.js.map} +0 -0
- /package/dist/components/{p-DFXJvHuL.js.map → p-iQDU7l2c.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-BHEtq3Ue.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-CqXSfYre.js.map → p-vB-efyHR.js.map} +0 -0
- /package/dist/components/{p-BGzrO9CQ.js.map → p-w1uPMi4U.js.map} +0 -0
- /package/dist/components/{p-CqyGm3oe.js.map → p-ycoVDLCD.js.map} +0 -0
- /package/dist/components/{p-BoHJT9bR.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-be43737e.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-94d091cd.entry.js.map → p-7a9308b9.entry.js.map} +0 -0
- /package/dist/smoothly/{p-d4dad5a8.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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-CdFSoe1d.js';
|
|
2
|
-
import { b as Type, S as Scrollable, C as Color, F as Fill, I as Icon, T as Trigger, o as object, i as islyFunction, c as boolean, s as string, D as Data, f as fromIs, R as RGB, n as number, M as Message } from './Scrollable-
|
|
3
|
-
import { B as Button, S as Submittable } from './Submittable-
|
|
2
|
+
import { b as Type, S as Scrollable, C as Color, F as Fill, I as Icon, T as Trigger, o as object, i as islyFunction, c as boolean, s as string, D as Data, f as fromIs, R as RGB, n as number, M as Message } from './Scrollable-CbMKpwBI.js';
|
|
3
|
+
import { B as Button, S as Submittable } from './Submittable-NFA7UIyM.js';
|
|
4
4
|
import { i as isoly } from './index-BVKhAhsB.js';
|
|
5
|
-
import { N as Notice } from './Notice-
|
|
5
|
+
import { N as Notice } from './Notice-Bq3C8g8G.js';
|
|
6
6
|
import './redirect-D0tCcwtl.js';
|
|
7
7
|
|
|
8
8
|
function any(name) {
|
|
@@ -114,7 +114,7 @@ const SmoothlyAppDemo = class {
|
|
|
114
114
|
console.log("smoothlyUrlChange", event.detail);
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
|
-
return (h("smoothly-app", { key: '86d6cc67b58d8c7c04b9fd7e33891dfacb529943', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, h("smoothly-app-room", { key: '7012500cb2629c53e1156372722e8ef2b6d047eb', path: "/" }, h("section", { key: '759dafafbd63e7fff5bf0acd0502e8eec36e8c64', style: { padding: "1em", maxWidth: "32em", margin: "0 auto" } }, h("header", { key: '0ed18baa408a674f906abc32425ce6037662a476' }, h("h1", { key: '22cb0dc61fece9d2d7acae6a55db19ccc57261df' }, "Welcome")), h("p", { key: 'd914f970b834d217cd2dfd7d2d05cd0c4b5dcb65' }, "Smoothly is a component library written in ", h("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."), h("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."))), h("smoothly-app-room", { key: '4c752059c00ad39c3bee1d36bdac99bfad027f5f', path: "/form", label: "Forms", content: h("smoothly-form-demo", null) }), h("smoothly-app-room", { key: '02b7dd008a64194f348bfb0679217ebbea05fac9', path: "/input", label: "Inputs", content: h("smoothly-input-demo", null) }), h("smoothly-app-room", { key: '41c7489608d0da9a8d4a2ab9b1a56c425cc36f21', path: "/table", label: "Tables", content: h("smoothly-table-demo", null) }), h("smoothly-app-room", { key: 'b10b3c95084e9f27a6ebeaf5170bb10be8226c87', path: "/button", label: "Buttons", content: h("smoothly-button-demo", null) }), h("smoothly-app-room", { key: 'f20620084dd779b954fa440b559db2bdccf0b3a3', path: "/icon", label: "Icons", content: h("smoothly-icon-demo", null) }), h("smoothly-app-room", { key: '5078c24c13064315cf8f761809e60cdfc1734c41', path: "/theme", label: "Theming", content: h("smoothly-theme-demo", null) }), h("smoothly-app-room", { key: '
|
|
117
|
+
return (h("smoothly-app", { key: '86d6cc67b58d8c7c04b9fd7e33891dfacb529943', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, h("smoothly-app-room", { key: '7012500cb2629c53e1156372722e8ef2b6d047eb', path: "/" }, h("section", { key: '759dafafbd63e7fff5bf0acd0502e8eec36e8c64', style: { padding: "1em", maxWidth: "32em", margin: "0 auto" } }, h("header", { key: '0ed18baa408a674f906abc32425ce6037662a476' }, h("h1", { key: '22cb0dc61fece9d2d7acae6a55db19ccc57261df' }, "Welcome")), h("p", { key: 'd914f970b834d217cd2dfd7d2d05cd0c4b5dcb65' }, "Smoothly is a component library written in ", h("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."), h("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."))), h("smoothly-app-room", { key: '4c752059c00ad39c3bee1d36bdac99bfad027f5f', path: "/form", label: "Forms", content: h("smoothly-form-demo", null) }), h("smoothly-app-room", { key: '02b7dd008a64194f348bfb0679217ebbea05fac9', path: "/input", label: "Inputs", content: h("smoothly-input-demo", null) }), h("smoothly-app-room", { key: '41c7489608d0da9a8d4a2ab9b1a56c425cc36f21', path: "/table", label: "Tables", content: h("smoothly-table-demo", null) }), h("smoothly-app-room", { key: 'b10b3c95084e9f27a6ebeaf5170bb10be8226c87', path: "/button", label: "Buttons", content: h("smoothly-button-demo", null) }), h("smoothly-app-room", { key: 'f20620084dd779b954fa440b559db2bdccf0b3a3', path: "/icon", label: "Icons", content: h("smoothly-icon-demo", null) }), h("smoothly-app-room", { key: '5078c24c13064315cf8f761809e60cdfc1734c41', path: "/theme", label: "Theming", content: h("smoothly-theme-demo", null) }), h("smoothly-app-room", { key: '2a54a53a694e23460e96b9fb04483204f9e1c347', path: "/notifier", label: "Notices", content: h("smoothly-notifier-demo", null) }), h("smoothly-app-room", { key: 'd57766baebf8df0791e1e5f845c2bac7d7b8729f', path: "/dialog", label: "Dialogs", content: h("smoothly-dialog-demo", null), slot: "nav-end" }), h("smoothly-app-room", { key: 'd5bde6145e9950a3ddcda8e24d811203a4b69f27', path: "/display", label: "Display", content: h("smoothly-display-demo", null), slot: "nav-end" }), h("smoothly-app-room", { key: '3d56ef533e12cb88ec84bd2fdc63a60e64031083', path: "/tabs", label: "Tabs", slot: "nav-end" }, h("smoothly-tabs-demo", { key: '271d70eb22cc0152161d42c137a3d00c19c6bba3' })), h("smoothly-app-room", { key: 'c0cbe202e3d74ceacd8e88795c58ece2c1392bf5', path: "/links", label: "Links", slot: "nav-end" }, h("smoothly-input", { key: 'a39f0e568b614baaf271585da4ee013e48ff24fe', type: "text" }, "Default"), h("div", { key: 'a75dc6524b85da5e0c81b75a9b74d020c2723384', style: { padding: "1em", maxWidth: "12em" } }, h("smoothly-button", { key: 'a3820b0c802acc358ee3ab4ca9483411bdff04a8', fill: "solid", color: "danger", link: "https://google.com" }, "open"), h("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"), h("smoothly-button", { key: 'f7c9c0a9eb4ca942f56e02b840087398a2688cd8', fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { key: 'ebce581340217e91d6abf1bbff7538f77c5842ae', disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), h("smoothly-button", { key: '01c20890774174c6ec793de4711d8e0530630108', type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), h("smoothly-app-room", { key: '42945bb6698943a783d0502f3ff0a08cb6ad583e', path: "/redirect", label: "Redirect", slot: "nav-end" }, h("smoothly-button", { key: 'b022c14f0680b1ca5f511cd87ab152a9ffb5b15d', type: "link", link: "/input" }, "To input"), h("smoothly-button", { key: '566a1821001da85b67ce9f68f74b590c5319f060', type: "link", link: "../button" }, "To button"), h("smoothly-button", { key: 'e99bbe6cbb348b2c8b2dba558458c08dea22db21', type: "link", link: new URL("/hidden", window.location.origin).href }, "To hidden"), h("smoothly-button", { key: '61e59ec9039a63b1d9c50c6705dc0098027be92a', type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { key: '511eba63ae34b4151e99ce482cb532849ab91dd7', type: "link", link: "nested" }, "To redirect nested, relative path")), h("smoothly-app-room", { key: 'bac6fa14c1c0dd2ebda292fe70255e53f466dc00', path: "/hidden" }, h("p", { key: '1acd1207b775790f189fd8d8c3fb96a5b8d8a991' }, "hello world!")), h("smoothly-app-room", { key: '2ecda7ecb183b382bb2987195af5a96e13e3b8b1', path: "/redirect/nested" }, "this is a nested room")));
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
|
|
@@ -1583,7 +1583,7 @@ const SmoothlyAppRoom = class {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
render() {
|
|
1585
1585
|
var _a;
|
|
1586
|
-
return (h(Host, { key: '
|
|
1586
|
+
return (h(Host, { key: 'a85747f78cb72957e52a35bb4a5ddf7fd38c8901', class: { "smoothly-mobile-mode": this.mobileMode } }, h("li", { key: '2a89979ce87b7cbcbc250014d6c60110bdf8c7eb' }, h("a", { key: 'e7c03470ceab8f52195b90eb04d97678a75368a4', href: (_a = this.paths[0]) === null || _a === void 0 ? void 0 : _a.pathname, onClick: e => this.clickHandler(e) }, this.icon && h("smoothly-icon", { key: '0b40566be9199d9c34b75ec1260fac0e962c0fd6', name: this.icon }), this.label && h("span", { key: 'e55412f3a1c041d81b1d3a4e7751a315eafeede3', class: "label" }, this.label))), h("div", { key: '30eb0eda3109314348f4036ed6206779ad8cee96', ref: e => (this.contentElement = e) }, this.content && h("smoothly-lazy", { key: '929973767465e67ba49580978d83811f31637b9f', content: this.content }), h("slot", { key: 'a96c18f28066755f450174e9372e4ef8a25a7c57' }))));
|
|
1587
1587
|
}
|
|
1588
1588
|
};
|
|
1589
1589
|
SmoothlyAppRoom.style = styleCss$1j();
|
|
@@ -1612,14 +1612,14 @@ const SmoothlyBackToTop = class {
|
|
|
1612
1612
|
"--bottom": this.bottom,
|
|
1613
1613
|
"--right": this.right,
|
|
1614
1614
|
};
|
|
1615
|
-
return (h(Host, { key: '
|
|
1615
|
+
return (h(Host, { key: '5743000aaec20538ad6a57688015cb4afd65d56b', style: cssVariables, onClick: () => {
|
|
1616
1616
|
var _a;
|
|
1617
1617
|
return (_a = this.scrollableParent) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
1618
1618
|
top: 0,
|
|
1619
1619
|
left: 0,
|
|
1620
1620
|
behavior: "smooth",
|
|
1621
1621
|
});
|
|
1622
|
-
} }, h("smoothly-icon", { key: '
|
|
1622
|
+
} }, h("smoothly-icon", { key: '39ed5f8fb75c131e62e588101ec26fca43c7ca2c', name: "caret-up-outline" })));
|
|
1623
1623
|
}
|
|
1624
1624
|
get element() { return getElement(this); }
|
|
1625
1625
|
};
|
|
@@ -1640,7 +1640,7 @@ const SmoothlyBurger = class {
|
|
|
1640
1640
|
this.open = !this.open;
|
|
1641
1641
|
}
|
|
1642
1642
|
render() {
|
|
1643
|
-
return (h(Host, { key: '
|
|
1643
|
+
return (h(Host, { key: '000c346b45f190a4616e30bd6b64c24a00d0be00' }, h("smoothly-icon", { key: 'be31c4e7dc3a8848a633801f705988329602805b', name: "menu" })));
|
|
1644
1644
|
}
|
|
1645
1645
|
get element() { return getElement(this); }
|
|
1646
1646
|
static get watchers() { return {
|
|
@@ -1659,7 +1659,7 @@ const SmoothlyButton = class {
|
|
|
1659
1659
|
this.disabled = false;
|
|
1660
1660
|
}
|
|
1661
1661
|
render() {
|
|
1662
|
-
return (h(Host, { key: '
|
|
1662
|
+
return (h(Host, { key: 'fddb810b2465ce82a68ce0bf4789aa8f14f79303', title: this.tooltip }, h(Button, { key: '3c08a7871e9ed69611790646f87fc7dae834330c', disabled: this.disabled, type: this.type, link: this.link }, h("slot", { key: '8048ac9a2c4e450201ef15b82f66532c253783d9' }))));
|
|
1663
1663
|
}
|
|
1664
1664
|
};
|
|
1665
1665
|
SmoothlyButton.style = styleCss$1g();
|
|
@@ -1688,7 +1688,7 @@ const SmoothlyButtonConfirm = class {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
}
|
|
1690
1690
|
render() {
|
|
1691
|
-
return (h(Host, { key: '
|
|
1691
|
+
return (h(Host, { key: '4412f32553a126e383e1d9bf32d1d0013eb85bc9', warning: this.clickTimeStamp }, h("smoothly-button", { key: '8f53b5dfa7d10e669536b87c7d91a9fe2f05a240', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: "warning", disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("smoothly-icon", { key: 'be8bbedf8b038e06468c5aac4c813a5af41205ff', name: "alert-outline", fill: this.fill, color: "warning", size: this.size === "icon" ? "tiny" : "small" })), h("smoothly-button", { key: '719d905afde3e78e2297eba4bb7cc37e1a8728d6', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: this.color, disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("slot", { key: 'f3add649906ef5e0d5dd6a7fb504a2af4efe0e66' }))));
|
|
1692
1692
|
}
|
|
1693
1693
|
};
|
|
1694
1694
|
SmoothlyButtonConfirm.style = styleCss$1f();
|
|
@@ -1700,7 +1700,7 @@ const SmoothlyButtonDemo = class {
|
|
|
1700
1700
|
registerInstance(this, hostRef);
|
|
1701
1701
|
}
|
|
1702
1702
|
render() {
|
|
1703
|
-
return (h(Host, { key: '
|
|
1703
|
+
return (h(Host, { key: '41fbe591e1a0c9ab6d1d73335a9b9f4a5a3c4d93' }, h("section", { key: '59b6da9df3532752d3e5dcf9763c527d165bcf1f' }, h("smoothly-button-demo-standard", { key: '27bf9cd1746a1718bf887dcef5d79230b01318ff' })), h("section", { key: 'e7e87e4c84c0e8df43d56f217196e27a9bb5670e' }, h("h4", { key: '8bf5cff46e4146474a9b91bfe8b83db89dd13c3a' }, "Confirm button (two clicks)"), h("div", { key: '3c341489427dbf76dc4e9a200c23f58174696591' }, h("smoothly-button-confirm", { key: '75793866c6111afbd5aeadf1bc6251f1efa9d592', name: "confirm", shape: "rounded", color: "danger", size: "large" }, "Delete"), h("smoothly-button-confirm", { key: '14bdceddb01044ae6979af4a0c8efe0970e81e3d', name: "confirm-icon", shape: "rounded", color: "success", size: "icon" }, h("smoothly-icon", { key: '33058b7d3638a0ca28aee23a5fb238d60356b16d', name: "checkmark-outline", size: "tiny" })), h("smoothly-button-confirm", { key: 'd7d306d14262d7b43c5c37af91ffb79f0be82b14', name: "confirm-icon", shape: "rounded", color: "danger", size: "icon", fill: "outline" }, h("smoothly-icon", { key: '7ea300edde779ca34db97bb2fe60f0051b1e366d', name: "trash-outline", size: "tiny", fill: "outline" }))), h("smoothly-toggle-switch-demo", { key: 'c6e8b4c78605733c73bab3c1aa8ae5e770cc14e4' }), h("h4", { key: '8e92524469b1b4e0a59d14907e8df2f4e7680887' }, "Links with icons"), h("smoothly-button", { key: '4ca461c47396b88dd9c276248d2fb425255e26f8', type: "link" }, h("smoothly-icon", { key: '07c089e06c38afc5d0abe83491c38716486225c6', name: "checkmark-circle", slot: "start" }), "type link"), h("smoothly-button", { key: 'b1c765d706ee22acb4368b8a67b1faddb591581a', type: "button", color: "warning", fill: "default" }, h("smoothly-icon", { key: 'd3188cb32fd389fb88a3a1e760fe33867265c5fc', name: "call", slot: "start" }), h("a", { key: '9bdf562304a25ce3024ca58cb53fff7c4b04acb6', href: "https://google.com" }, "link")), h("smoothly-button", { key: '5da225cc3dfd1638a54fc9ce533cd038cccc808e', link: "https://google.com", type: "link" }, h("smoothly-icon", { key: 'a2417e1fbdff1b064e1cc3f61c4fc1615291e44d', name: "arrow-forward", slot: "end" }), "link + type link"), h("h4", { key: '54a1da928e2c9c48638a12dd3768c001ba38a77f' }, "Size and Color test"), h("smoothly-button", { key: 'bce9b7538f39f17b0377f723310eadbad511ed80', color: "primary", fill: "solid", size: "small", shape: "rounded" }, "Color Primary + Small"), h("smoothly-button", { key: '210799c91bfe94fb54b3434fd99e67075cc91b43', color: "secondary", fill: "solid", shape: "rounded" }, "Color Secondary + Default"), h("smoothly-button", { key: '374856692cefcb96deb1a38758eb4fec6f7808ab', color: "warning", fill: "solid", size: "large" }, "Color Warning + Large"), h("smoothly-button", { key: 'e807e6793fb358e6ced92caecb1d0feab2f011c7', color: "danger", fill: "solid", size: "small", shape: "rounded" }, "Color Danger + Small"), h("smoothly-button", { key: '9bcde023dd0e12a84835bdd3d0c93d7602485246', color: "success", fill: "solid", size: "small", shape: "rounded" }, "Color Success + Small"), h("smoothly-button", { key: 'f98fb61b19dfbc7bbf29a740e7a5ae1997861c80', color: "tertiary", fill: "solid", size: "small", shape: "rounded" }, "Color Tertiary + Small"), h("smoothly-button", { key: '6a46ea925f111b8c1d8b4510577d57f10e49ed1e', color: "dark", fill: "solid", size: "small", shape: "rounded" }, "Color Dark + Small"), h("smoothly-button", { key: '3ced819c355f03ef775ace7ccfbb0206bbc07b6a', color: "medium", fill: "solid", size: "small", shape: "rounded" }, "Color Medium + Small"), h("smoothly-button", { key: '3257cef08250f67f8ec2666130e3ea0645a8e2c7', color: "light", fill: "solid", size: "small", shape: "rounded" }, "Color Light + Small"), h("h4", { key: '0a0800062a9f545328408b50f91d9f080cdee158' }, "Expand examples"), h("smoothly-button", { key: '02fabfb6c3583fb8853d82c4b97245428253774a', color: "secondary", fill: "solid", expand: "full" }, "Color Secondary + Default"), h("smoothly-button", { key: '51ddb0b657a2648909072cac84055478db97f95d', color: "warning", fill: "solid", expand: "block" }, "Color Warning + Large"), h("h4", { key: '52624dee081a11c096585822d810cf4288059379' }, "Fill examples"), h("div", { key: '2c1eeadd860b6115dd7fdd0b2f4f8538a564269a' }, h("smoothly-button", { key: '9e5454cac152c3eaea53cb55f607ca32ab09ff62', shape: "rounded", color: "primary", fill: "solid" }, h("smoothly-icon", { key: '188d4c19f60645acb41e0f47f4a96da2e544b8c0', name: "checkmark-circle", slot: "start" }), "Fill Solid"), h("smoothly-button", { key: '8587e3a0015b27248dd5b0cfa801e8abd962c5ab', shape: "rounded", color: "secondary", fill: "outline" }, h("smoothly-icon", { key: '557848720b2df5e0425ba66f892b5bf29fa5ea2f', name: "checkmark-circle", slot: "start" }), "Fill Outline"), h("smoothly-button", { key: 'bb9406a007325c258a6a7b1039fcb1665c0abd3a', shape: "rounded", color: "tertiary", fill: "clear" }, h("smoothly-icon", { key: 'ed23a5661e678f293cbfa5745d684e6b10dc8c1a', name: "checkmark-circle", slot: "start" }), "Fill Clear"), h("smoothly-button", { key: '910b4a12a963dc64747c0d37eac3ce437215982f', size: "icon", shape: "rounded", color: "success", fill: "solid" }, h("smoothly-icon", { key: 'f32e72f63b447d69655d51eb23fb23671132c34f', name: "basketball" }))), h("h4", { key: '13a6bf24881c6eb2c7753b6cc5a23dfe8c16f5bc' }, "Buttons with Icon in \"start\""), h("div", { key: 'cc0e96b1435883957159795474f8cf7aead9586d' }, h("smoothly-button", { key: '963d08b7ffe3533daa1a933ce66263616258f92b', shape: "rounded", fill: "solid", color: "warning" }, h("smoothly-icon", { key: '6fd017cf57e5ebdf63078003e02d92c68c8f4af5', name: "checkmark-circle", slot: "start" }), "Check"), h("smoothly-button", { key: '0bfde99dba0e56974c4132d2ef6c727c9a2a809f', shape: "rounded", fill: "solid", color: "secondary" }, h("smoothly-icon", { key: '5780d006fe5a007b68f17c537934ebae8fb23480', name: "basketball", slot: "start" }), "Check"), h("smoothly-button", { key: '00e418dec2de5f78e40f56a38bff2e66f0ea8744', shape: "rounded", fill: "solid", color: "success" }, h("smoothly-icon", { key: 'eed0a2bb3c839dd3d914dc0a07e1e3c51e3c5bf3', name: "call", slot: "start" }), "Check"), h("smoothly-button", { key: '7ccffbe4c12666ce4f167f0fdc9b6bc7078faeb0', size: "icon", fill: "solid", shape: "rounded", color: "success" }, h("smoothly-icon", { key: '56531f0dd24f7c5bb0ae63fcf7b82935b60d24f2', name: "call" })), h("smoothly-button", { key: '8466fd4b388ad0e5411ba5f31975aaf6a1b0680b', size: "flexible", fill: "solid", color: "success" }, h("smoothly-icon", { key: '1472f81c21140b5a8ee4408a947657cd673bd1dc', name: "airplane" }))), h("h4", { key: '0e2ac17f379dd54737037e4d3b32ad256ebf8494' }, "Buttons with Icon in \"end\""), h("smoothly-button", { key: 'a4350f353ce14cb9adb6b362b0b11e527c0cd9fe', fill: "solid", color: "light" }, "Go Forward", h("smoothly-icon", { key: 'c8e56f3ab255349c872b991ec76de6c6ab878066', name: "arrow-forward", slot: "end" })), h("h4", { key: '4a318ff840e33a41e1afbdc2e328430ac4bbc830' }, "Test for icon button"), h("div", { key: '9305973351f925768f74b64f7b790c92b1588839' }, h("smoothly-button", { key: 'da959f375b10df462b6bf8df9d5104dce89fb9d0', size: "icon", fill: "solid", shape: "rounded", color: "success" }, h("smoothly-icon", { key: '141d5fa125a2a34220c4cf0320ec45ca3fe31139', name: "call" })), h("smoothly-button", { key: '0987067c106765e51df6f9586aa1d45d942ef125', size: "icon", shape: "rounded", color: "warning", fill: "solid" }, h("smoothly-icon", { key: '5fa23e7a1d9b315af5354b55fc4eefd9835e0a44', name: "search-outline" })), h("smoothly-button", { key: '60e76fbb66064799f114cc841c813f9ee1d7d065', size: "icon", shape: "rounded", color: "secondary" }, h("smoothly-icon", { key: '1ae4510d90d1b47baadee8f6ed7dd492066bd3e9', name: "checkmark-circle" }))), h("h4", { key: 'fadbc9d0a253d68f24b030d2d52d73d5947d335a' }, "Link examples"), h("div", { key: '8b4ced5d7bbb2e479073f04cfb98e7f98b41f01c' }, h("smoothly-button", { key: '128369132e142d37361b6d640fde4d2743e145a7', type: "link" }, "type link"), h("smoothly-button", { key: 'b9f05aa9925ca88c1aa65f4e0b3040bed9d01e83', type: "button", fill: "clear" }, h("a", { key: '9b565879faf7af07377103494a04b9c3c3a53c8a', href: "https://google.com" }, "link")), h("smoothly-button", { key: '69355e4bbbf46fd49597bc3db62d31548d112f87', link: "https://google.com", type: "link" }, "link + type link")), h("h4", { key: 'dbc23f33d5d74c0147f658672f7a4fcfb166df9d' }, "Disabled buttons"), h("div", { key: '0b6d087a8e7ca3a3c1b94159f126962b6c622b20' }, h("smoothly-button", { key: '636c5d7b4ddfee2ca6b912b8c8f65e06b5a64136', disabled: true, fill: "solid", color: "secondary" }, "Disabled"), h("smoothly-button", { key: 'da4a2457eef26c077d603bd3482764ce357918ad', type: "link", link: "https://google.com", disabled: true }, "Disabled link"))), h("smoothly-back-to-top", { key: '2906fd515608fe4a3c880755bbb9dfee63d94889' })));
|
|
1704
1704
|
}
|
|
1705
1705
|
};
|
|
1706
1706
|
SmoothlyButtonDemo.style = styleCss$1e();
|
|
@@ -1723,10 +1723,10 @@ const SmoothlyButtonDemoStandard = class {
|
|
|
1723
1723
|
}, 100);
|
|
1724
1724
|
}
|
|
1725
1725
|
render() {
|
|
1726
|
-
return (h(Host, { key: '
|
|
1726
|
+
return (h(Host, { key: 'd6e6ca6091ae99e7203ec3d88a00d4b486f5f3bd' }, h("h2", { key: 'b62fd377ec00749b0f0f7b8cff1e2e2fdceb318d' }, "Button Standard"), h("smoothly-form", { key: 'c9c1113d5c7073b66d0cfbd90bfa552ca3104d37', onSmoothlyFormInput: e => (this.props = e.detail), looks: "grid" }, h("smoothly-input-checkbox", { key: '0666c152084c24ec1596ab16d09b04da4f885752', name: "text.useColor", checked: true }, "Use Color as Text"), h("smoothly-input-select", { key: '77fa423c1bed60c446bad2fee6ef4927610ac8af', name: "size" }, h("span", { key: 'd5cd74d1252542454a5fb6441d2099da14a53023', slot: "label" }, "Size"), ["small", "large", "icon", "flexible"].map(size => (h("smoothly-item", { value: size, key: size }, size)))), h("smoothly-input", { key: 'b6df255a745261b34ef164f04c5458c77a9c286b', name: "text.value", value: "Button" }, "Text", h("smoothly-input-clear", { key: '0ee5dff1bd206c5db7d1928773cef6890fb2ed80', slot: "end" })), h("smoothly-input-radio", { key: 'f6f3027ea26fc6c6d077b79bbb228b6cd0809e54', name: "expand", clearable: true }, h("span", { key: '33436d08686b4714e0cfdb0cea7ba6b082b666ed', slot: "label" }, "Expand"), h("smoothly-input-radio-item", { key: 'be55407c3191954aca07baf6aa027ac6bbe9d106', value: "block" }, "block"), h("smoothly-input-radio-item", { key: '1e94daa9639011bf686019ba4883524f0073fae6', value: "full" }, "full"), h("smoothly-input-clear", { key: '3b51e51710dbac5a260d3396546285234f55ad9e', slot: "end" })), h("smoothly-input-select", { key: '73b66b593f926e9035e4502bb8978deac7675d76', name: "fill" }, h("span", { key: '5b143acb8c018f8c37d50788d77c8935fb5e014f', slot: "label" }, "Fill"), Fill.values.map(fill => (h("smoothly-item", { value: fill, key: fill }, fill)))), h("smoothly-input-checkbox", { key: 'ef134a75c0dc58a8ef42ab5f382132eb8163452a', name: "disabled" }, "Disabled"), h("smoothly-input-select", { key: 'ad79838c8c83d40eeb08b1c5b83d6e82a9b6c87c', name: "type" }, h("span", { key: '1581c9346c7c2443324996f8e2b79d03f31241da', slot: "label" }, "Type"), ["button", "submit", "reset", "link"].map(type => (h("smoothly-item", { value: type, key: type }, type)))), h("smoothly-input-checkbox", { key: '05a368b01328adf76df30553a714934b582c16f6', name: "rounded" }, "Rounded"), h("smoothly-input-select", { key: 'a8298ce4893589cdef6de8b311d393e1d4d7bd1d', name: "icon", menuHeight: "8items" }, h("span", { key: 'f0a06face2985f21d7159adb1ce523483268644a', slot: "label" }, "Icon"), Icon.Name.values.map(icon => (h("smoothly-item", { value: icon, key: icon }, h("smoothly-icon", { name: icon, size: "small", tooltip: icon })))), h("smoothly-input-clear", { key: '5791bab3057dac0dfcbd69b3c593b331878b4ed0', slot: "end" })), h("smoothly-input", { key: '8c650a560e278a4aac4040ee101e4e1346ca3a54', name: "tooltip", value: "Tooltip" }, "Tooltip", h("smoothly-input-clear", { key: 'e67bfad19b0bc374f025055140a689bb45ec4dbb', slot: "end" }))), h("div", { key: '0c312b6d27ddb2a1a80c04661345c703b2622414', class: "buttons" }, Color.values.map((color, index, colors) => {
|
|
1727
1727
|
var _a, _b;
|
|
1728
1728
|
return (h("smoothly-button", { onClick: e => console.log(`Clicked button with color: ${color}`, e), tooltip: this.props.tooltip, ref: el => colors.length - 1 == index && (this.lastButton = el), color: color, expand: this.props.expand, fill: this.props.fill, disabled: this.props.disabled, shape: this.props.rounded ? "rounded" : undefined, size: this.props.size, type: this.props.type, key: color }, this.props.icon ? h("smoothly-icon", { name: this.props.icon }) : undefined, ((_a = this.props.text) === null || _a === void 0 ? void 0 : _a.useColor) ? color : (_b = this.props.text) === null || _b === void 0 ? void 0 : _b.value));
|
|
1729
|
-
}), h("div", { key: '
|
|
1729
|
+
}), h("div", { key: '638acf6f59bd885acb4262f43e377afc22e35b79', class: "height-text" }, this.heightText))));
|
|
1730
1730
|
}
|
|
1731
1731
|
static get watchers() { return {
|
|
1732
1732
|
"props": [{
|
|
@@ -1864,10 +1864,10 @@ const Calendar = class {
|
|
|
1864
1864
|
}
|
|
1865
1865
|
render() {
|
|
1866
1866
|
var _a, _b, _c;
|
|
1867
|
-
return (h(Fragment, { key: '
|
|
1867
|
+
return (h(Fragment, { key: '51ec0570b1b71eb9ff8bca9984ecf40550abe435' }, h("smoothly-input-month", { key: '1beb2d18f5a08e93d88fddca59675078d8662715', name: "month", value: (_a = this.month) !== null && _a !== void 0 ? _a : this.value, min: this.min, max: this.max, inCalendar: true, next: true, previous: true, showLabel: false, onSmoothlyInput: e => {
|
|
1868
1868
|
e.stopPropagation();
|
|
1869
1869
|
"month" in e.detail && typeof e.detail.month == "string" && (this.month = e.detail.month);
|
|
1870
|
-
}, onSmoothlyUserInput: e => e.stopPropagation() }, h("div", { key: '
|
|
1870
|
+
}, onSmoothlyUserInput: e => e.stopPropagation() }, h("div", { key: '14ed1a3cc6dd8fe89d7ac4f1450f391ccb0bff77', slot: "year-label" }, h("slot", { key: 'c07b485adf7b6b4aa71d3ceb10d530aa029c652d', name: "year-label" })), h("div", { key: 'cd1e232ded9c2ac84156de7419bc46bdd4e01680', slot: "month-label" }, h("slot", { key: '1255e6cef5898b90aba12716639774957e09cd86', name: "month-label" }))), h("table", { key: '8ada3e2ac6abf42710c8611d9264ddbc7691e307' }, h("thead", { key: '1f686102dc5f57bbc838d11d984e85407d44fdda' }, h("tr", { key: '41ab20afc9b1a4491f5070345f779dc6238dd8d3' }, weekdays().map(day => (h("th", null, day))))), month((_c = (_b = this.month) !== null && _b !== void 0 ? _b : this.value) !== null && _c !== void 0 ? _c : isoly.Date.now()).map(week => (h("tr", null, week.map(date => {
|
|
1871
1871
|
var _a, _b, _c, _d;
|
|
1872
1872
|
return (h("td", { tabindex: 1, onMouseOver: this.withinLimit(date) ? () => this.onHover(date) : undefined, onClick: this.withinLimit(date)
|
|
1873
1873
|
? () => (this.doubleInput ? this.onClickDoubleInput(date) : this.onClick(date))
|
|
@@ -2286,7 +2286,7 @@ const SmoothlyInputDateRangeText = class {
|
|
|
2286
2286
|
}
|
|
2287
2287
|
}
|
|
2288
2288
|
render() {
|
|
2289
|
-
return (h(Host, { key: '
|
|
2289
|
+
return (h(Host, { key: '58630b82c91178b70eee75c26ad8b6c2927410cb', class: { "has-text": Object.values(this.parts).some(part => !!part) } }, DateFormat$1.Order.toArray(this.order).map((part, index) => {
|
|
2290
2290
|
var _a;
|
|
2291
2291
|
return (h("span", { onClick: () => !this.readonly && !this.disabled && this.setFocus(index) }, h("span", { class: {
|
|
2292
2292
|
"smoothly-date-text-part": true,
|
|
@@ -2327,7 +2327,7 @@ const SmoothlyDialog = class {
|
|
|
2327
2327
|
};
|
|
2328
2328
|
}
|
|
2329
2329
|
__stencil_render() {
|
|
2330
|
-
return (h("section", { key: '
|
|
2330
|
+
return (h("section", { key: '5bdc10b02671eed7397ae99e872f104cb098d2c0' }, h("div", { key: '05bbab31a6d30c2ff0e3ec64ac59c8e56560526c', class: "header" }, this.closable && (h("smoothly-trigger", { key: '4f5d1a0d5c87d22d00281fadba0ffacf20c4b8db', fill: "clear", name: "close" }, h("smoothly-icon", { key: '2474cba19d732b0d34b02a055379bf1926a8fc4d', name: "close-circle", fill: "solid", color: this.color }))), this.header ? h("h1", null, this.header) : h("slot", { name: "header" })), h("div", { key: '861af5e557c0ef202273cab84877c8806bb2c232', class: "content" }, h("slot", { key: 'e755042ab3f24972fa2eaac24914649d10dafd0f' }))));
|
|
2331
2331
|
}
|
|
2332
2332
|
render() { return h(Host, this.hostData(), this.__stencil_render()); }
|
|
2333
2333
|
};
|
|
@@ -2343,7 +2343,7 @@ const SmoothlyDialogDemo = class {
|
|
|
2343
2343
|
this.showFrame = false;
|
|
2344
2344
|
}
|
|
2345
2345
|
render() {
|
|
2346
|
-
return (h(Host, { key: '
|
|
2346
|
+
return (h(Host, { key: '0d1ca7f9bc049064eb1680cc807bd49bafab0e7e' }, h("smoothly-button", { key: '33683c13b2f666aea6d3306056b74b694cb88654', fill: "solid", color: "light", onClick: () => (this.openModal = true) }, "Open Modal"), h("smoothly-button", { key: '46de03312dfa5a28f164aacd442a7074148d6390', fill: "solid", color: "light", onClick: () => (this.openTallModal = true) }, "Open Modal with long text and top-aligned."), h("smoothly-button", { key: 'ea629cfa5afabb8151f230b4916d9eb13849a4d7', fill: "solid", color: "light", onClick: () => (this.showFrame = !this.showFrame) }, "Show Frame"), h("smoothly-modal", { key: '45b7313f8539478b1418298a7e086e506b18cf79', closable: true, open: this.openModal, onSmoothlyModalChange: e => (this.openModal = e.detail) }, h("h2", { key: '005f8f44463bd4f5048582f4d59b8792a02321e4', slot: "header" }, "Modal"), h("span", { key: '8bdae975d32f862fe1b2da1b75c1cdd8e0596e19' }, "Are you sure you want to confirm this action?"), h("smoothly-button", { key: '7a4fc7fbeb273ddaf66723c022c0408d7d5e6cc0', slot: "actions", color: "success" }, "Confirm"), h("smoothly-button", { key: 'c41f548b2f249ab1d04d180c6a8745f0be0c3180', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openModal = false) }, "Cancel")), h("smoothly-modal", { key: '9b8efe1c92dae88afeb60053efcc19c89fcb53f6', closable: true, open: this.openTallModal, onSmoothlyModalChange: e => (this.openTallModal = e.detail), align: "top" }, h("h2", { key: '0c7b0382250669ac142152a49f24214180b75c11', slot: "header" }, "Modal"), h("smoothly-summary", { key: 'ccb69953bda0af96ba9e6679d0492770e1face22' }, h("div", { key: '95d44ba81eec2106d470f4f84c0857aab8f9b6c5', slot: "summary" }, "Lorem ipsum"), h("div", { key: '73a8c397c891af87ebb019bdb3ace838ab40ee24', slot: "content" }, Array.from({ length: 10 }).map(() => (h("p", null, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."))))), h("smoothly-button", { key: '61c0e81f6b49ff91d58cc3536c516e25afe9ee71', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openTallModal = false) }, "Cancel")), this.showFrame && (h("smoothly-dialog", { key: 'c0315ea0fbf1a253fe4fbc7aa9e01f7b21e49293', closable: true }, h("smoothly-frame", { key: '1469ba8f2d229d42329627b12e2a4bd4028a2273', url: "https://www.wikipedia.org/", name: "parent", style: { height: "80vh" } })))));
|
|
2347
2347
|
}
|
|
2348
2348
|
};
|
|
2349
2349
|
SmoothlyDialogDemo.style = styleCss$19();
|
|
@@ -4201,16 +4201,16 @@ const SmoothlyDisplay = class {
|
|
|
4201
4201
|
const type = this.type;
|
|
4202
4202
|
switch (type) {
|
|
4203
4203
|
case "json":
|
|
4204
|
-
result = h("smoothly-display-json", { key: '
|
|
4204
|
+
result = h("smoothly-display-json", { key: 'fd641ce179a967152448d7c489ad96dd5ea6cc4e', value: this.value, collapseDepth: this.collapseDepth });
|
|
4205
4205
|
break;
|
|
4206
4206
|
default:
|
|
4207
4207
|
result = format(this.value, type);
|
|
4208
4208
|
break;
|
|
4209
4209
|
case "email":
|
|
4210
|
-
result = h("a", { key: '
|
|
4210
|
+
result = h("a", { key: 'd32e3545f5b4e43e0b8f383ba0ef7274472f4d41', href: "mailto:" + this.value }, format(this.value, type));
|
|
4211
4211
|
break;
|
|
4212
4212
|
case "phone":
|
|
4213
|
-
result = h("a", { key: '
|
|
4213
|
+
result = h("a", { key: '3b6156fba727f342215fc2510e497bf24e21fa9b', href: "tel:" + this.value }, format(this.value, type, this.country));
|
|
4214
4214
|
break;
|
|
4215
4215
|
case "postal-code":
|
|
4216
4216
|
result = format(this.value, type, this.country);
|
|
@@ -4246,35 +4246,35 @@ const SmoothlyDisplayDemo = class {
|
|
|
4246
4246
|
}
|
|
4247
4247
|
render() {
|
|
4248
4248
|
return [
|
|
4249
|
-
h("main", { key: '
|
|
4249
|
+
h("main", { key: '570a8cf525b8d883f2c226fd9d1f24ef9d2a7bac' }, h("fieldset", { key: '9daf4d2a5ff6c3924c09186d0b73c8dc11ef2354' }, h("h2", { key: '01bf90a47c56197346494bbc1992edf5ab9d8b2e' }, "Smoothly display"), h("dl", { key: 'dd5fbdf6e596430cb0a18482b50a8d3ef46cc2d9' }, h("dt", { key: 'e97f6d69f565560e54956acc47c61e676db32b26' }, "Duration"), h("dd", { key: 'b3ec7065ba3cb6e1832cf22f329964bc3a983d09' }, h("div", { key: 'db46dbf07917dd784f0939803fcb97f80d4ab0a7' }, h("div", { key: 'eda3a232df465a291734a9e1e607f779727928a2' }, h("smoothly-display", { key: '894097c909f8c1b0dd276696db72daadf3365aee', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), h("div", { key: '0f258be9133609201671eb993a290b2be1ee8d2b' }, h("smoothly-display", { key: 'd98834b9c367bbb650e8e933be3ee20b93df8082', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), h("div", { key: '2dc0241b935f3d45f812fe0175731954c8e0b983' }, h("smoothly-display", { key: 'cc4c171af5aa79cf5487a8a131430bacc5248c98', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), h("div", { key: '19ff8935bb3454d538b0312530d32ff63dfb3034' }, h("smoothly-display", { key: 'e3c7ba72956c3735bc646773cf30eb78c2c4e75b', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), h("div", { key: '40d13934f818da8df03dd4215b5176cdf0089c20' }, h("smoothly-display", { key: 'f03306bc6cbd65f3ee50ce6fb57c66b2af229a83', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), h("div", { key: 'f0d127f6a00ed1c06eb36fdfa1b809354cb139ba' }, h("smoothly-display", { key: '85ea4fa490947ec5bf9810fc5e5677550b507f7b', style: { display: "inline" }, type: "duration", value: {} }), " h"), h("div", { key: 'f60948619c1fcbad63e4af03f282ff3366f1ba76' }, h("smoothly-display", { key: '846841ac1b7cd206a2a95034db25a3059dccf890', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), h("dt", { key: '3db393fff9fd7740683746088e884d83ac51e1e8' }, "text"), h("dd", { key: '2bd200acca8afd5cf72dd94294e4438e811ac411' }, h("smoothly-display", { key: 'aa88f3c9ed96edff41c91b4ed2206a04c90ed6f4', type: "text", value: "text" })), h("dt", { key: '81e183489b4fb749823c25b2a50ced9621aa432e' }, "postal code"), h("dd", { key: '390dd9916fcf42cb15a48727082a27550e46814a' }, h("smoothly-display", { key: '7e80d1d0b8746596448ca50c356e4afbe7d6f276', type: "postal-code", value: "752 31" })), h("dt", { key: 'c0d0dc8205d93cb8479713bdae1208e2847e477a' }, "password"), h("dd", { key: '0ea85f4699579f4b24f35f59775d7dec43978e5e' }, h("smoothly-display", { key: '9779849ced3842513a5c7d5d37cd20bf1f01f244', type: "password", value: "password" })), h("dt", { key: '5143b3ae0e39eb416c344a98b45974c2ad480eef' }, "email"), h("dd", { key: '8c25c7f73f1f4ec38cea3d7c520dc037df7b2224' }, h("smoothly-display", { key: '53a354324dea186db81a5b59bf75e222db33e56d', type: "email", value: "test@example.com" })), h("dt", { key: '469bd6001f5ad150ea815bb6e89a29eda53b5b77' }, "price"), h("dd", { key: 'cde7a755ca3ff50a5b0cea8eb4a1dae6aa5b253b' }, h("smoothly-display", { key: 'bb68a44ffd892b48277aa20a95f5e863680b4fa3', type: "price", value: "13.37", currency: "SEK" })), h("dt", { key: 'aff590f97d41ab80c38e7ecaba3e8023fd8ea734' }, "price without decimals"), h("dd", { key: '39a40abdaae41f74fa5e52be77cbe1045965e1dc' }, h("smoothly-display", { key: '1c653914e801725457fb55bb1b70ed56d991dabb', type: "price", value: 200, currency: "SEK", toInteger: true })), h("dt", { key: 'be366012d28535a04fa54216d29fa7835bdd789b' }, "price with decimals if they are set, otherwise no decimal"), h("dd", { key: 'f40b67c170fec282518c59179189b4f262a12804' }, h("smoothly-display", { key: '52ba5c8026d562f40ac62cd14fe1cf67b5d0c641', type: "price", value: 200.2, currency: "SEK", toInteger: true })), h("dt", { key: 'cc1048ee5cb4ef42c4396009ccb085e7ce8c3eca' }, "price with decimals"), h("dd", { key: '4814a19946eb610096f1aa76236971ca4e7d52f6' }, h("smoothly-display", { key: 'cb4cbda427c7a488bbba0c978d91a80683b9d8cb', type: "price", value: 200.2, currency: "SEK" })), h("dt", { key: 'deb381d3caec587043c0f58a58d06406f215f3e5' }, "percent"), h("dd", { key: 'afbe0bc5aa167605f50ec765a999432856019082' }, h("smoothly-display", { key: 'ffb1aee2a313b9f6ab71d42ed937619423095293', type: "percent", value: "42" })), h("dt", { key: '381bc0bb2857f9cc3b0e1b9e2cd439e35106f24b' }, "phone"), h("dd", { key: '96c9e0fb69de5004ba8666939b932f42db444db6' }, h("smoothly-display", { key: 'a242f3011ff04f9f02791b40bc0c042d9b95e087', type: "phone", value: "0101881108" })), h("dt", { key: 'ddf64889ff408a199d11b734ee2d41f15c619ace' }, "card number"), h("dd", { key: 'a6d6b94ab7b1c53b35622fb1e063b1293a637cf6' }, h("smoothly-display", { key: '8dbdba91c26bd0f1b4f923f76589b08f5c032f65', type: "card-number", value: "4111111111111111" })), h("dt", { key: 'ef7ef814a8cf29fec2f974efd32f040c3d725cc7' }, "card expires"), h("dd", { key: '84321e803af55ddd5469ef3068fd2eb8d946420b' }, h("smoothly-display", { key: '20651476830684d2a40e911a40fc00fe7f1ffe7e', type: "card-expires", value: "7/22" })), h("dt", { key: '7aef10fd17c205805fe7f5e790d12c2b89247a77' }, "card csc"), h("dd", { key: '00eca296571bf49a6c338c13a939d6f3155d4a08' }, h("smoothly-display", { key: 'c18662e291199765f4278d54e595588bfc3d6f1e', type: "card-csc", value: "987" })), h("dt", { key: 'e92d089a639a1e3357a6d39d2e499fff6bd7c2d1' }, "date"), h("dd", { key: 'f3cc2aabdec6942c8eadc2278b7a42adae09168d' }, h("smoothly-display", { key: 'fcd502f245a1c814faa093d82bb101182b3dafcd', type: "date", value: "2022-07-07" })), h("dt", { key: '81b8cbdb349df1bd1e1f84cc4bd006d7f2549c19' }, "date time"), h("dd", { key: 'eb5a64ea635751c62366292ce0ca23d125ad17ee' }, h("smoothly-display", { key: '039d66c0457be7e82b999a9e4c0672deee8fbe90', type: "date-time", format: {
|
|
4250
4250
|
year: "numeric",
|
|
4251
4251
|
month: "short",
|
|
4252
4252
|
day: "numeric",
|
|
4253
4253
|
hour: "numeric",
|
|
4254
4254
|
minute: "numeric",
|
|
4255
4255
|
second: "numeric",
|
|
4256
|
-
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '
|
|
4256
|
+
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '456d8713e2e366e0efd48c4b0eca946a780bcd93' }, h("smoothly-display", { key: 'a6ea10ff87584dc5ce0146d6547b0948bb625e2e', type: "date-time", format: {
|
|
4257
4257
|
year: "2-digit",
|
|
4258
4258
|
month: "long",
|
|
4259
4259
|
day: "2-digit",
|
|
4260
4260
|
hour: "2-digit",
|
|
4261
4261
|
minute: "2-digit",
|
|
4262
4262
|
second: "2-digit",
|
|
4263
|
-
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '
|
|
4263
|
+
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '0fc3da083c35e907cb4c48645ecc7a3e4a4455d7' }, h("smoothly-display", { key: '49485eb182ac66fb8f9940d3719c4059c3897dc4', type: "date-time", format: {
|
|
4264
4264
|
year: "numeric",
|
|
4265
4265
|
month: "2-digit",
|
|
4266
4266
|
day: "2-digit",
|
|
4267
4267
|
hour: "numeric",
|
|
4268
4268
|
minute: "numeric",
|
|
4269
4269
|
second: "numeric",
|
|
4270
|
-
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '
|
|
4270
|
+
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '40a262a2fc34177b63b7e2969b3b59a5de602861' }, h("smoothly-display", { key: 'b7f00e769f842ed9ea6a630058cd01768ec2c0ac', type: "date-time", format: {
|
|
4271
4271
|
year: "numeric",
|
|
4272
4272
|
month: "numeric",
|
|
4273
4273
|
day: "numeric",
|
|
4274
4274
|
hour: "numeric",
|
|
4275
4275
|
minute: "numeric",
|
|
4276
4276
|
second: "numeric",
|
|
4277
|
-
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '
|
|
4277
|
+
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '4a3173f9713aaa4371ab13ebd8577cd7a7935c95' }, h("smoothly-display", { key: '05904422b25f61dfc9f4325a4bb51b3d39a9aabf', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '59783d4201fcf777c5e3635ad53934644eb68310' }, h("smoothly-display", { key: '58450e26b3eeab44be1c083f7f1320976dadf783', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '0beada1376af2c6652c3dad47b08c1b1699b24bb' }, h("smoothly-display", { key: '9d1b738dd535da8a7e07b959b4e581cf0f2b93d1', type: "date-time", format: {
|
|
4278
4278
|
year: "2-digit",
|
|
4279
4279
|
month: "numeric",
|
|
4280
4280
|
day: "numeric",
|
|
@@ -4282,21 +4282,21 @@ const SmoothlyDisplayDemo = class {
|
|
|
4282
4282
|
minute: "2-digit",
|
|
4283
4283
|
second: "2-digit",
|
|
4284
4284
|
timeZone: "Europe/Stockholm",
|
|
4285
|
-
}, value: "2022-07-07T12:15Z" })), h("dt", { key: '
|
|
4285
|
+
}, value: "2022-07-07T12:15Z" })), h("dt", { key: '6d2aac61ed9fad093c2f19c2ec4d4de32b12e9a0' }, "Display JSON"), h("dd", { key: '2215884fa898511c90acf6997f8e20aea4c0ea0d' }, h("smoothly-display-demo-json", { key: '85cecf5eeaa416c9baca4a7876e348b54a09dbcb' })))), h("h2", { key: '56ae1be90a6bf9a152118dab9fec7d04b2a9b8e4' }, "With labels"), h("dd", { key: '4689634be5c50bafa97e8a08baee4b85b0a621ec' }, h("smoothly-display", { key: '14067ba1153408f0d11b02a76c5685b2c1f4a374', label: "Today", type: "date", value: isoly.Date.now() }), h("smoothly-display", { key: '4ba2105f9b3e139fac91bab03b9640766a18814a', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), h("smoothly-display", { key: '138eb84408cb4efbc29f43ed1e3f9f71539dfac8', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), h("smoothly-display", { key: '2bddcb3e8ec54e29fc53a8ff4213cd157b34c8f1', label: "Logs", type: "json", value: [
|
|
4286
4286
|
{ type: "trace", message: "Hello" },
|
|
4287
4287
|
{ type: "error", message: "Oh no!" },
|
|
4288
|
-
] })), h("fieldset", { key: '
|
|
4288
|
+
] })), h("fieldset", { key: '830ecceb2f6904425d60f24ab37e046e4d147b04' }, h("h2", { key: 'dbab367e69309f7c29a3d025d585afbb2fa88965' }, "Test of different kinds of notifier"), h("button", { key: '187872d0e82b1389961e3d41a0998a0814f5e086', onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"), h("button", { key: '3f2ee3e8052834171ee2878dc3dcbd58d0fa6ed5', onClick: () => this.noticeWarning(Notice.succeeded("This is a test success notice.")) }, "success"), h("button", { key: '678349d8e5f0ba8b237ef1f2cd7c2b2d04aafe14', onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"), h("button", { key: '06792c0fd16258c1a306a902c77e3600bcae0872', onClick: () => this.noticeWarning(Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), h("button", { key: '91ffa7d831eefbdce57ea2732ca884a3f30129ea', onClick: () => this.noticeWarning(Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), h("fieldset", { key: '020e2fe53b4ee2f6b36a94863dbe2367d02e0b51' }, h("h2", { key: 'bb7cfda125e43c7f2afee6d7853318522456762e' }, "Smoothly spinner"), h("div", { key: 'a9f199a1fe6837f1546ee3aca45b74c399c23519', style: { width: "fit-content" } }, "Large", h("smoothly-spinner", { key: 'b3d78a677a1c3a62be4e448ac394096d62bc04e0', size: "large", style: {
|
|
4289
4289
|
"--spinner-background": "200,255,200",
|
|
4290
4290
|
"--spinner-background-opacity": "0.2",
|
|
4291
4291
|
"--spinner-color": "0,130,0",
|
|
4292
|
-
} })), h("div", { key: '
|
|
4292
|
+
} })), h("div", { key: 'db5b5ce167113c8471537bc9604af1d31ef5f228', style: { width: "fit-content" } }, "Medium", h("smoothly-spinner", { key: '2eff854f0c518cb3928615775367c6ca768f1a9e', size: "medium" })), h("div", { key: 'b92410ef7ff77eb220554dce92ee9e5e0161b8d2', style: { width: "fit-content" } }, "Small", h("smoothly-spinner", { key: '4836644ee23ce44de781fc59b185c363d2d10e5e', size: "small" })), h("div", { key: 'a6b659783973f77a39e1643940fc97f77be1f7ad' }, "Icon sized spinner on button", Color.values.map(color => (h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
|
|
4293
4293
|
this.downloadingSpinner = true;
|
|
4294
4294
|
setTimeout(() => (this.downloadingSpinner = false), 3000);
|
|
4295
|
-
} }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: '
|
|
4295
|
+
} }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: '8161fb53d9dfa5aba8bc164adcaf9e3daeeaa627' }, "Spinner with overlay"), h("div", { key: '8d4115c6ab8a24add137c06cde794937aba85b69', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", h("smoothly-spinner", { key: 'd04a2e77e759e5e094244922ec70fc150bac6858', overlay: true, size: "large", style: {
|
|
4296
4296
|
"--spinner-background": "255,200,255",
|
|
4297
4297
|
"--spinner-background-opacity": "0.5",
|
|
4298
4298
|
"--spinner-color": "0,130,0",
|
|
4299
|
-
} })), h("div", { key: '
|
|
4299
|
+
} })), h("div", { key: 'e284851987d3e475d72dd68e5465ff2b54e38710', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", h("smoothly-spinner", { key: '29d593da93d2e11ac520650d64af1de6728e837e', overlay: true, color: "secondary", size: "medium" })), h("div", { key: 'bcc6e156596f946964173cf9a100dce8f3f9adcb', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", h("smoothly-spinner", { key: '57498aeaf7c8690958a1f42d80220bf6ba01a069', overlay: true, size: "small" }))), h("fieldset", { key: 'ed65a407dde854768a1934add1d88a40d99f20c5' }, h("h2", { key: '3f0a8eba2588ac878f02104f60fbc6072173c480' }, "Smoothly summary"), h("smoothly-summary", { key: 'b5538b3841957408ca25314d20789fc87db9f89c' }, h("span", { key: '0a66c656b75981dd493f9288522c914c6aaf3177', slot: "summary" }, "Some title"), h("smoothly-summary", { key: 'd7a1064544e0f530ee18fc98e5dbac110f7aad79', slot: "content" }, h("div", { key: '7dc9a5d35ddd789ef54fe021ecf9b784793a3074', slot: "summary" }, "Some other title"), h("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."))), h("smoothly-summary", { key: '7eac5c136d5ed3c09c53f676991fb957bdea50f2' }, h("div", { key: '45239a377a7ae5b15baa3fefaca04f965bc3dd80', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, h("span", { key: 'aed615a5e1dcfece04dc29d3381e706e89328025' }, "Person"), h("smoothly-icon", { key: 'bbdbee4093170b788015686e6ac31cb75adfb3c4', name: "person", color: "light", fill: "clear", size: "tiny" })), h("p", { key: 'dcbe807176c6c8c0a642b8351487c63a2a31d1d1', slot: "content" }, "Some person information.")), h("h2", { key: 'b939b82ef761060a6de4190fd80e5aec1d6c6938' }, "Label"), labels.map(l => (h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), h("smoothly-label", { key: '9dd6878b3e540f24dee8fc99d6834a6c2ed85744', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
4300
4300
|
];
|
|
4301
4301
|
}
|
|
4302
4302
|
};
|
|
@@ -4323,7 +4323,7 @@ const SmoothlyDisplayDemoJson = class {
|
|
|
4323
4323
|
registerInstance(this, hostRef);
|
|
4324
4324
|
}
|
|
4325
4325
|
render() {
|
|
4326
|
-
return (h(Host, { key: '
|
|
4326
|
+
return (h(Host, { key: 'dd76081f4adf3ae47e0015c2f17b43e50c6ace15' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
4327
4327
|
h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
4328
4328
|
h("div", null, h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
4329
4329
|
])));
|
|
@@ -4355,7 +4355,7 @@ const SmoothlyDisplayJson = class {
|
|
|
4355
4355
|
registerInstance(this, hostRef);
|
|
4356
4356
|
}
|
|
4357
4357
|
render() {
|
|
4358
|
-
return h(JsonValue, { key: '
|
|
4358
|
+
return h(JsonValue, { key: '939a93b45e7f0f021c361331d011e7cb61627fed', value: this.value, collapseDepth: this.collapseDepth });
|
|
4359
4359
|
}
|
|
4360
4360
|
};
|
|
4361
4361
|
SmoothlyDisplayJson.style = styleCss$17();
|
|
@@ -4384,9 +4384,9 @@ const SmoothlyDisplayJsonObject = class {
|
|
|
4384
4384
|
}
|
|
4385
4385
|
render() {
|
|
4386
4386
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
4387
|
-
return (h(Host, { key: '
|
|
4387
|
+
return (h(Host, { key: '9c9b5a46433770a7d56343c4bf723163e8a56475', class: { empty: this.empty, open: this.open } }, h("span", { key: '836957462d65b5c136231bd3867f7da169ecb343', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), h("span", { key: 'ef132e20317fb0b1b3f38442fec7bd2731ec5c43', class: "content" }, Array.isArray(this.value)
|
|
4388
4388
|
? this.value.map(v => (h("div", { class: "indent" }, h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))
|
|
4389
|
-
: Object.entries(this.value).map(([k, v]) => (h("div", { class: "indent" }, h("smoothly-display-json-record-key", { value: k }), ":", " ", h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))), h("span", { key: '
|
|
4389
|
+
: Object.entries(this.value).map(([k, v]) => (h("div", { class: "indent" }, h("smoothly-display-json-record-key", { value: k }), ":", " ", h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))), h("span", { key: '50bed891b85fc5d407cad5e8ae1d53dcf56551d2', class: "close-bracket" }, this.closeBracket)));
|
|
4390
4390
|
}
|
|
4391
4391
|
};
|
|
4392
4392
|
SmoothlyDisplayJsonObject.style = styleCss$16();
|
|
@@ -4398,7 +4398,7 @@ const SmoothlyDisplayJsonPrimitive = class {
|
|
|
4398
4398
|
registerInstance(this, hostRef);
|
|
4399
4399
|
}
|
|
4400
4400
|
render() {
|
|
4401
|
-
return h(Host, { key: '
|
|
4401
|
+
return h(Host, { key: '017bbc369b1e8ff42466411a5b28b52c5661b740', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
4402
4402
|
}
|
|
4403
4403
|
};
|
|
4404
4404
|
SmoothlyDisplayJsonPrimitive.style = styleCss$15();
|
|
@@ -4410,7 +4410,7 @@ const SmoothlyDisplayJsonRecordKey = class {
|
|
|
4410
4410
|
registerInstance(this, hostRef);
|
|
4411
4411
|
}
|
|
4412
4412
|
render() {
|
|
4413
|
-
return h(Host, { key: '
|
|
4413
|
+
return h(Host, { key: '67d6629e71ecde01829b6279188bc7332c3d9379' }, "\"", this.value, "\"");
|
|
4414
4414
|
}
|
|
4415
4415
|
};
|
|
4416
4416
|
SmoothlyDisplayJsonRecordKey.style = styleCss$14();
|
|
@@ -5463,7 +5463,7 @@ const SmoothlyFormDemo = class {
|
|
|
5463
5463
|
registerInstance(this, hostRef);
|
|
5464
5464
|
}
|
|
5465
5465
|
render() {
|
|
5466
|
-
return (h(Host, { key: '
|
|
5466
|
+
return (h(Host, { key: 'e6b40ea5e535c8fd4fbbe65aa060d0ba061f5a3e' }, h("div", { key: '848116c5bc43a4a5adb20ecf3f66a66b050e529c' }, h("smoothly-form-demo-all", { key: '44179c77bfd53bfa4f347a465a3f4000d4d94b08' }), h("smoothly-form-demo-pet", { key: '356b17321dc0f11e63c8dd4846c4e1d91c7b6b5c' }), h("smoothly-form-demo-card", { key: '2584856236b89b5818551f8826056c0a14ab6356' }), h("smoothly-form-demo-login", { key: 'dacc85e611dec4115fefc49f63463912b6718285' }), h("smoothly-form-demo-prices", { key: '500d6d4c056c79113b16bd0f67bfe0ab562cd8d8' }), h("smoothly-form-demo-typed", { key: '933cce32ed4668eb28140c0c01c8238cdf1526d2' }), h("smoothly-form-demo-transparent", { key: '2a39b5d64aaff4d53d703c9508df3de18d5a6ad6' }), h("smoothly-form-demo-date", { key: 'fb0a6356529047d3bbbebd1b5980c2884be0cbb6' }), h("smoothly-form-demo-schedule", { key: 'c7eb48895c714d436f04544af9519a93232f76d0' }), h("smoothly-form-demo-date-range", { key: '6370bf9ca0671705777b03e6b985361d06ee9d56' }), h("smoothly-form-demo-controlled", { key: 'abf920dd124a8c43ce7818ba29bb1931a4b90910' }))));
|
|
5467
5467
|
}
|
|
5468
5468
|
};
|
|
5469
5469
|
SmoothlyFormDemo.style = styleCss$12();
|
|
@@ -5473,9 +5473,9 @@ const SmoothlyFormDemoAll = class {
|
|
|
5473
5473
|
registerInstance(this, hostRef);
|
|
5474
5474
|
}
|
|
5475
5475
|
render() {
|
|
5476
|
-
return (h(Host, { key: '
|
|
5476
|
+
return (h(Host, { key: '2b2e779dc35f9f35173515a6db59425654d7446a' }, h("h2", { key: 'b2423e5f45a6841b6fedcb7db17626ed192ee15d' }, "All inputs"), h("smoothly-form", { key: 'ac6fc721d22456edb5104ba9553c423d6f8bdebe', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
5477
5477
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
5478
|
-
} }, h("smoothly-input", { key: '
|
|
5478
|
+
} }, h("smoothly-input", { key: '4ec033bb9d51a7edc81cce2a1fde55bd21458318', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '8d6abee797b1c9b60efeb068c828453174401012', showLabel: false, name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: '8caeac3cbd2290eaeeda549aea083d4499b960c5', size: "icon", slot: "end" })), h("smoothly-input", { key: '9a22277ed064a84b98a8c68c5f176758735748f0', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: '2b45ff8ceaf71289d350e102d53123dc1c82600f', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '15856b48204c21b5f7318df22130e17aa3e14e8d', clearable: true, name: "radioFirstInput" }, h("label", { key: 'c94b6e0c185c8ab4325161a6e4249863017e5eb2', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: 'e978bde5ec519ab872eac3fb2a7d75b493099f31', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '3c30fd0d9b549f93c912759f8329570db377df79', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '2f3f773cade1c39fa2a121b24ba2778a42d9a9b0', value: "third" }, "Label 3")), h("smoothly-input-color", { key: 'f1e0b0b1e759c85c5de1f3a8af9818b41c692bdb', name: "color" }, "Color"), h("smoothly-input-select", { key: '7e1069ff0515224e17145539afefec11979ed88c', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'c42749acb44e6e7db99f4e7981f20ad0c09f1694', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: 'fdd0c90294bdf50d77ccf187777fdd804760b8ac', value: "1" }, "January"), h("smoothly-item", { key: '4f0c9d90f6909eaacccd5d385e317832f5a8b213', value: "2" }, "February"), h("smoothly-item", { key: '7779ea4af1f17cb48ef0249b7857262deb6c485d', value: "3" }, "March"), h("smoothly-item", { key: '5f15c3d32240bfb7c3b8d0a61f90599697b8e2a0', value: "4" }, "April"), h("smoothly-item", { key: '0952c95b2cf623f5573d70b5fa39b1c1ce008f16', value: "5" }, "May"), h("smoothly-item", { key: '1352e9245e39341d99d1bc8d051691b6b70dac37', value: "6" }, "June"), h("smoothly-item", { key: '7eddedff608a9148cb2b9c17f23ac2108b2190fd', value: "7" }, "July"), h("smoothly-item", { key: '627e81c5c7ddd5e1230b6eead20ac7932edbff9a', value: "8" }, "August"), h("smoothly-item", { key: '587bcf666e0bc92c14f5665f975563f06a419bac', value: "9" }, "September"), h("smoothly-item", { key: '896f05e2b88d7613cbc7f21b2aa4c58f1ae3938d', value: "10" }, "October"), h("smoothly-item", { key: 'fb539afa5edd3fe8391df5fc9d63fcb84940512c', value: "11" }, "November"), h("smoothly-item", { key: '959e9af2c479a299431f302041649bd86f5db331', value: "12" }, "December")), h("smoothly-input-select", { key: '64e83fb7dba19c8c21b5697eade0c7c5404d330c', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: 'b1a055ab1c73f28e0b49e626561aeff83efb124b', value: "folder", selected: true }, h("smoothly-icon", { key: '9ba931c9dd28c9f88168f5ab94fd80bc6f7f6bc0', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'acd791714a16504b5dc6a56f2fbfc89cf1ef4600', value: "camera" }, h("smoothly-icon", { key: 'd65e7beb3c74941bf494769126124ef79ce800d0', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: 'd6f2f199daf447bb0992ca8839b89e4e14166846', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '79885d84642626f7cba6d348d0044f2c8037007e', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-range", { key: '7e791279c3b1bd2898d4c5e9e35ef9df76aa14cf', step: 1, name: "range3", value: 20, label: "Range" }), h("smoothly-input", { key: 'f7b07cef9882952dc91be6484c04ba459ef5db62', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: '44b404105c6d9aa19c7f14ac529e7b8ab3f964e9', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), h("smoothly-input", { key: 'aca9bc7aebd243f8e82158d1c60b7a69886e9a02', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: '674b16d94949bcbd3fd4980b0b262ba580efbd5b', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), h("smoothly-input", { key: 'b25175ffa941b70d606a66db0f97e61547faf5b9', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: '0113d466fc09afc4734a65500cdc20b06267d77d', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), h("smoothly-input-file", { key: 'cd15c39915ea43095e237f4f1952ed271f6e756b', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: 'a6138d70fbf10e1cf7cc4ad624422315d05c9619', slot: "label" }, "Profile"), h("smoothly-icon", { key: '5c53d92dd91402c2db9d57dc3dfd274cbea4b730', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input", { key: '497261e5f152c2af406dcc6860a6092df8bbe1af', type: "duration", name: "duration", value: {} }, "Duration"), h("smoothly-input-clear", { key: '7ba91aa6d31f7ff2ebbb3d07bd958610aad0fc1f', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: 'fd6a01b3f7417aa4074bbf2ca385cec9d437e429', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: '3221d6e405488a7af0b917c99ee7f5acd9ca9f1d', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: 'e81eff668f6592a23f3f13262c123e97d1ca6c30', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '334bca3eb505ccd23c75efe1d3d66faa7638f4e0', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
5479
5479
|
}
|
|
5480
5480
|
};
|
|
5481
5481
|
|
|
@@ -5484,7 +5484,7 @@ const SmoothlyFormDemoCard = class {
|
|
|
5484
5484
|
registerInstance(this, hostRef);
|
|
5485
5485
|
}
|
|
5486
5486
|
render() {
|
|
5487
|
-
return (h(Host, { key: '
|
|
5487
|
+
return (h(Host, { key: '12a00d87271d0af126cadbad9443b858e477561e' }, h("h2", { key: 'b5f4db995901068b60a0005cd99e81c818ea19cc' }, "Card"), h("smoothly-form", { key: '327812f8a2d381d9806338675532029d4f42ce59', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, h("smoothly-input", { key: '3379bf37a7333b1599aef7c0362e3e45af69f99d', type: "card-number", name: "card" }, "Card #"), h("smoothly-input-submit", { key: '66f625510bd3f7f2bcd67671e39a55e4009c6f40', size: "icon", slot: "submit", color: "success", fill: "solid" }), h("smoothly-input", { key: '2a050bd1808ed0b2b75ba5a62581e942788d115f', type: "card-expires", name: "expires" }, "Expires"), h("smoothly-input", { key: '4ed6ae1574aaf02fde846bd23dc55782c0f066ac', type: "card-csc", name: "csc" }, "CVV/CVC"), h("smoothly-input", { key: 'd0e62a606289683f604016a935564f8602daa041', type: "text", name: "name.first" }, "First Name"), h("smoothly-input", { key: 'bfbd0c1a13053aa98d9a93dcc06ceae8b933561e', type: "text", name: "name.last" }, "Last Name"))));
|
|
5488
5488
|
}
|
|
5489
5489
|
};
|
|
5490
5490
|
|
|
@@ -5522,7 +5522,7 @@ const SmoothlyFormDemoControlled = class {
|
|
|
5522
5522
|
event.detail.result(false);
|
|
5523
5523
|
}
|
|
5524
5524
|
render() {
|
|
5525
|
-
return (h(Host, { key: '
|
|
5525
|
+
return (h(Host, { key: 'be70b1b758bbe11772a1ba8ba7dca4f5405ea651' }, h("h2", { key: '68973a8cf2107ecaa72790a917cf14191cfd0fa9' }, "Controlled"), h("smoothly-form", { key: '4da1c66f41c89d78c180b55b3ae1df15190eae0c', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input", { key: '201cb10b36c39d6a5a98d456459b82ef9d3f0a7d', type: "text", name: "name", value: this.name }, "Name"), h("smoothly-input-select", { key: 'a434d27014de8a28230f7bc60a3b5c6b706005b6', name: "currency" }, h("span", { key: 'eefb198ba0a863dd7c6ff37162383522c722803c', slot: "label" }, "Currency"), this.currencies.map(currency => (h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '4813e2c249bd21afc6a2c1a6ab78793b49fa2d68' }, "Dummy"), h("smoothly-input-month", { key: '7225723a71776a7d9d88a21361443128a5893d42', name: "date", value: this.date, next: true, previous: true }, h("span", { key: 'be0572c78ce576807a459738426416e941a997fd', slot: "year-label" }, "Year"), h("span", { key: '99bb6cf5516bccb1721013e87ca2bec463341983', slot: "month-label" }, "Month")), h("smoothly-input-edit", { key: 'b7be05116d563ee33665f502c45bd01d9aaf61e1', slot: "edit", size: "icon", color: "primary", fill: "default" }), h("smoothly-input-reset", { key: 'bf423459f9b8717e9de26e4c900d054ea90baf7a', slot: "reset", size: "icon", color: "warning", fill: "default" }), h("smoothly-input-submit", { key: 'fd42172c00aae5c33f2b22e3d3bdccb6e71ec294', slot: "submit", size: "icon", color: "success" }))));
|
|
5526
5526
|
}
|
|
5527
5527
|
static get watchers() { return {
|
|
5528
5528
|
"name": [{
|
|
@@ -5554,7 +5554,7 @@ const SmoothlyFormDemoDate = class {
|
|
|
5554
5554
|
event.detail.result(false);
|
|
5555
5555
|
}
|
|
5556
5556
|
render() {
|
|
5557
|
-
return (h(Host, { key: '
|
|
5557
|
+
return (h(Host, { key: 'f6a0bf1656158091b0b9d6647707ec6c919cbf66' }, h("h2", { key: '210f22f5cbef0a441d7863764a0b6665afecdce1' }, "Date input"), h("smoothly-form", { key: 'eea3a74d6591f0193d8043d552a506868af1721d', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date", { key: 'b9fc6aca0411799a7dd952a4ae27fff20bb7a085', name: "date" }, "Date"), h("smoothly-input-submit", { key: '9abd42160b4efd43ec4e976bd143871437d2d08b', slot: "submit" }, h("smoothly-icon", { key: '690f42105cb25db4275ba0c03bdaa6a16b24faa3', name: "checkmark-outline" })))));
|
|
5558
5558
|
}
|
|
5559
5559
|
};
|
|
5560
5560
|
SmoothlyFormDemoDate.style = styleCss$11();
|
|
@@ -5582,7 +5582,7 @@ const SmoothlyFormDemoDateRange = class {
|
|
|
5582
5582
|
event.detail.result(false);
|
|
5583
5583
|
}
|
|
5584
5584
|
render() {
|
|
5585
|
-
return (h(Host, { key: '
|
|
5585
|
+
return (h(Host, { key: '3833e26bb2993e1c9e34f9ae0e769667be96068f' }, h("h2", { key: '22a384e50f46467bcbafa7be795461024c25b8b0' }, "Date-range input"), h("smoothly-form", { key: '201517c3e9cd58a086d978da2b80d94cbb4b7a36', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date-range", { key: '6cb457ad45877b3e36c60cba1c8f364133648478', name: "range" }, "Range"), h("smoothly-input-submit", { key: '91e289602933e30ee845516efc85094ff03c453d', slot: "submit" }, h("smoothly-icon", { key: '93d0acb0034106aeadfb8727cb2bb7e6b1bad52a', name: "checkmark-outline" })))));
|
|
5586
5586
|
}
|
|
5587
5587
|
};
|
|
5588
5588
|
SmoothlyFormDemoDateRange.style = styleCss$10();
|
|
@@ -5592,7 +5592,7 @@ const SmoothlyFormDemoLogin = class {
|
|
|
5592
5592
|
registerInstance(this, hostRef);
|
|
5593
5593
|
}
|
|
5594
5594
|
render() {
|
|
5595
|
-
return (h(Host, { key: '
|
|
5595
|
+
return (h(Host, { key: '2c9674e5f435d97bd0387de4d5b91443aa521196' }, h("h2", { key: 'd1440db142e8443b534d60a050416740e0ba82f9' }, "Login"), h("smoothly-form", { key: 'f1fa4c58d439b4465a4cc3eaad87637ecbf3ac51', looks: "border" }, h("smoothly-input", { key: 'c419a3578e1de751d77052c78992bfe9daef6238', type: "text", name: "username" }, "Username"), h("smoothly-input", { key: 'fbce70bd6ac07efbf59bb39ea1d728a3e78c6d77', type: "password", name: "password" }, "Password"), h("smoothly-input-reset", { key: '22df0cdc42340f207032132943cd3a5206dee49b', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: '83967b0011d19526ec165d2888a5bd4533a4cf0c', slot: "submit" }))));
|
|
5596
5596
|
}
|
|
5597
5597
|
};
|
|
5598
5598
|
|
|
@@ -5606,10 +5606,10 @@ const SmoothlyFormDemoPet = class {
|
|
|
5606
5606
|
}
|
|
5607
5607
|
render() {
|
|
5608
5608
|
var _a, _b;
|
|
5609
|
-
return (h(Host, { key: '
|
|
5609
|
+
return (h(Host, { key: '1e20a61c9db6aafdf47e54ed7aaef6c1ca3d8bfa' }, h("h2", { key: '45492fefcf3cc0fb1a4010711cf10f0bded34893' }, "Pet"), h("h3", { key: 'bc05c80a795091886b94ba85dd89746e58159ea3' }, "Value"), h("smoothly-form", { key: '42a8ccf63773aa8b235931cc66415cfd0f1f0c14', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, h("smoothly-input", { key: '3606396ae683768fb6ef5e5940f43fbef81800c9', type: "text", name: "name.first", value: "Johnny" }, "Name", h("smoothly-input-reset", { key: '1128b00ce30571d90960f0747caf90394d08f093', slot: "end" })), h("smoothly-input", { key: 'fbd205ba349d3f754af21ebdc40434946bb712a4', type: "integer", name: "age" }, "Age (Years)"), h("smoothly-input-checkbox", { key: 'e4465a244c36403f0869f5d739d9cdea595136ce', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
5610
5610
|
this.hasOwner = e.detail.hasOwner;
|
|
5611
5611
|
e.stopPropagation();
|
|
5612
|
-
} }, "Has Owner", h("smoothly-input-reset", { key: '
|
|
5612
|
+
} }, "Has Owner", h("smoothly-input-reset", { key: '7be8886cdeedbdeb87c28b2024c26bd4532f07ed', slot: "end" })), this.hasOwner && (h(Fragment, { key: '972c8da03c31ff920a5131daa1d046f7e80418c1' }, h("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", h("smoothly-input-reset", { key: '2af7bfb23d1d67903be625827d5d237640fc16b0', slot: "end" })), h("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"), h("smoothly-input-file", { key: '8caa1d54740a0e1fb3b29d709f6feb32c8c45a31', name: "owner.picture" }, h("span", { key: '10332335746aadd62719e024aaa6f825a5b2800b', slot: "label" }, "Owner picture")), h("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", h("smoothly-input-reset", { key: 'e13a649d0d308340d419d2355d7d48fbfce257e7', slot: "end" })), h("smoothly-input-date-range", { key: '952264d17218340e89fe16c40b6003ee94f34c9e', name: "owner.ownedRange", start: (_a = this.owner.ownedRange) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.owner.ownedRange) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { ownedRange: e.detail["owner.ownedRange"] })) }, "Owner ownedRange", h("smoothly-input-reset", { key: 'f99d74c312b6b7ddc3d3b169b672d3cc478cb3a3', slot: "end" })), h("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", h("smoothly-input-reset", { key: 'a872fe1b4ae49293daad5ca2c781fe9abe514b95', slot: "end" })), h("smoothly-input-select", { key: 'cc6a5ef5238abc4dce3c2321c8f5c184c0dfe320', name: "owner.favoriteHat" }, h("span", { key: 'a073973ff9b090a82a23b81ca82875ac5155f822', slot: "label" }, "Owner's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (h("smoothly-item", { value: value, key: index, selected: this.owner.favoriteHat == value }, value))), h("smoothly-input-reset", { key: 'c39f9d320b08362f082749f5338de8d4530f9da5', slot: "end" })), h("smoothly-input-color", { key: '50e462d1f87b19685f627deb90d9eb3d2798c15a', name: "owner.favoriteColor", value: this.owner.favoriteColor ? RGB.toHex(this.owner.favoriteColor) : undefined, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoriteColor: e.detail["owner.favoriteColor"] })) }, "Owner's Favorite Color", h("smoothly-input-reset", { key: 'd63535ee7ac6bae7424f60bff48cc5342594ced6', slot: "end" })), h("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"] })) }, h("span", { key: '0e33220f442cf7e1b2908259c68bbf196fe2d2b2', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("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"))), h("smoothly-tabs", { key: 'c02261545ec207a2be19261796ff1ab0322221c7' }, h("smoothly-tab", { key: '64fc9145089d8175e87b77746a301d2a300227ff', label: "Dog", name: "dog" }, h("smoothly-input", { key: '93efb08d77a27ebeb0ec1ffaa31d8f20ad1c5c79', type: "text", name: "dog.breed" }, "Breed"), h("smoothly-input-file", { key: 'fbb759287fbb384110dab6bd67e526e0e1b87061', name: "dog.picture" }, h("span", { key: '75354c72313adfbf2f0590a4a1d629b056a584d0', slot: "label" }, "Dog picture")), h("smoothly-input-date-time", { key: '67cb08aae3427ea09418763cd4f5c89f4c12885c', name: "dog.lastWalk" }, "Time of last walk"), h("smoothly-input-date", { key: 'bfc8d1878f5e8c0b9e06dd6db93c5414d072aade', name: "dog.birthday" }, "Dog birthday"), h("smoothly-input-date-range", { key: 'd89333abe0b84513f7b59d0910ec979dc63e4f76', name: "dog.dateRange" }, "Dog date range"), h("smoothly-input-select", { key: '0ca96cd6cd0ed9d0d0b6e3212c4e545b1783edda', name: "dog.favoriteHat" }, h("span", { key: 'e9bb41040522fc010702793420c2f448fa2fc0af', slot: "label" }, "Dog's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (h("smoothly-item", { value: value, key: index }, value)))), h("smoothly-input-color", { key: '609b660e2980b33ac4c437fd3a2cecc212fb700d', name: "dog.favoriteColor" }, "Dog's Favorite Color"), h("smoothly-input-radio", { key: '496506fd830c3da16c3cbb32ed7a93b54e1d023f', name: "dog.favoritePizza" }, h("span", { key: '59bdad0dc97036ca753d7de08dadcd9ab888df47', slot: "label" }, "Dog's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: '2ad32725e92f4eb3f6402751facf72563491a5a7', name: "dog.hasPet" }, "Has Pet")), h("smoothly-tab", { key: '09d4b79adbbf8772285a13ce1bb45fea67c3c019', label: "Cat", name: "cat", open: true }, h("smoothly-input", { key: '2a298883bf58261ec42cd8a7cb220421604233f2', name: "cat.favoriteFood" }, "Favorite Food")), h("smoothly-tab", { key: '6ded1101edaf7025402e2084cfa3d530a9440497', label: "Parrot", name: "parrot" }, h("smoothly-input", { key: 'c6fec8eff6ed07080cfcfd7e04a1accd9be5e698', type: "price", name: "parrot.price", currency: "EUR" }, "Summary Price"), h("smoothly-input-file", { key: '1ef6c74c21f3a530ea18a5fb843c0f39c5d09a5c', name: "parrot.picture" }, h("span", { key: '1506866be3f7d5032caa07277ddb4900adf796e4', slot: "label" }, "Summary picture"), h("smoothly-input-clear", { key: '2768b4e77018167d8c5459561627c7176f6af19e', slot: "end" })), h("smoothly-input-date", { key: '4482cadd8c81d8cf68d01d940759c9c8fa302889', name: "parrot.birthday" }, "Summary birthday"), h("smoothly-input-date-range", { key: '1db7a128f9fe548e64a26b106f0428cf027515dd', name: "parrot.ownedRange", start: "2020-01-01", end: "2020-01-15" }, "Summary ownedRange", h("smoothly-input-reset", { key: 'f61bb824149c3927ee9e7df5474bc1140b557c2d', slot: "end" })), h("smoothly-input-range", { key: '455be79335de1c32001a9baf41bc6601600a6f2b', name: "parrot.height", label: "Height" }, h("smoothly-input-reset", { key: 'f0c5284602a08d52331e2fca63bf561212bce4f9', slot: "end" })), h("smoothly-input-select", { key: '2b5d15b9bdda780755ddb704019bdf9b075f7593', name: "parrot.favoriteHat" }, h("span", { key: 'e23e7228157f39f8d5b565c6283e65d848d662f2', slot: "label" }, "Summary's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (h("smoothly-item", { value: value, key: index }, value)))), h("smoothly-input-month", { key: '282eb367f0a8bbcc9b296358933c83a2ab1246a2', name: "parrot.month" }, h("span", { key: '46678c21d019c38d586da52a8ca5ba14e54f9545', slot: "month-label" }, "Summary month")), h("smoothly-input-color", { key: '74de10bf1eb9a54f1f5139f9b7549b84d90f521e', name: "parrot.color" }, "Summary Color"), h("smoothly-input-radio", { key: '2135343dbedb74df58a88e011921ed5cf93a8f69', name: "parrot.favoritePizza" }, h("span", { key: 'b549ce953d14b96b12496f989cf8c237fa697d6d', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: 'e4fd4673ea5c4feb91142062527f7537f715738e', name: "parrot.hasPet" }, "Has Pet"))), h("smoothly-input-submit", { key: 'c757eec9af05b183a036119430533a2fdfa7ff26', size: "icon", slot: "submit", color: "success", fill: "solid" })), h("smoothly-display", { key: '94108e7af02550ba3ea038b879e0db56fe057833', type: "json", value: this.value })));
|
|
5613
5613
|
}
|
|
5614
5614
|
};
|
|
5615
5615
|
SmoothlyFormDemoPet.style = styleCss$$();
|
|
@@ -5619,7 +5619,7 @@ const SmoothlyFormDemoPrices$1 = class SmoothlyFormDemoPrices {
|
|
|
5619
5619
|
registerInstance(this, hostRef);
|
|
5620
5620
|
}
|
|
5621
5621
|
render() {
|
|
5622
|
-
return (h(Host, { key: '
|
|
5622
|
+
return (h(Host, { key: 'c1873c86bb44177e638d7b52d7bbbcb1d0482e1b' }, h("h2", { key: 'a8edb5f0241dac96350d75eaad7b0c78adf1c13b' }, "Prices"), h("smoothly-form", { key: '143874192e2caf3ce0297983e1c5ecc6002705a2', looks: "line" }, h("smoothly-input", { key: '151a20903ab8024b291ef1cd6f868bfcbdfdf187', type: "price", name: "no" }, "No currency"), h("smoothly-input", { key: 'c7a5959241c42d8fee2d741064585c1c79560544', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), h("smoothly-input", { key: 'cfe92d5a2e94598e728d0f0b815652e4ed6d33e1', type: "price", name: "usDollar", currency: "USD" }, "USD"), h("smoothly-input", { key: 'bd3ffd16af42eb13fe3d6ea4ddad8ceb83827671', type: "price", name: "pounds", currency: "GBP" }, "GBP"), h("smoothly-input", { key: 'a12b9078e45b65a5b281a0c4ff40caf6446522b8', type: "price", name: "peso", currency: "UYW" }, "UYW"), h("smoothly-input", { key: 'a8a1efcb2bacb8e56b552aeda19e65eca5690fd3', type: "price", name: "iceland", currency: "ISK" }, "ISK"), h("smoothly-input", { key: 'be59abc2f31cb215c192566ca4218a19cf2f004a', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), h("smoothly-input-reset", { key: 'a331ae378f5c10553c3b7f7669322c3d4e9d9973', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: 'bef886536c5366779bf3c7c10e35a3e42f65075b', slot: "submit" }))));
|
|
5623
5623
|
}
|
|
5624
5624
|
};
|
|
5625
5625
|
|
|
@@ -5639,7 +5639,7 @@ const SmoothlyFormDemoPrices = class {
|
|
|
5639
5639
|
registerInstance(this, hostRef);
|
|
5640
5640
|
}
|
|
5641
5641
|
render() {
|
|
5642
|
-
return (h(Host, { key: '
|
|
5642
|
+
return (h(Host, { key: 'af726abe173fe267f43278671ab53c62184ca7b3' }, h("h2", { key: '85994b1d612017c07fcbff85d1c7520419c4125f' }, "Schedule"), h("smoothly-form", { key: '7bace3476a4344bb7ece715a3d797acadf40dd58', looks: "line", validator: TimeTable.type }, h("smoothly-input-date", { key: '5450e239098e87b0eacc7da44459d35dc30bb5dc', name: "schedule.0.date" }, "Date"), h("smoothly-input", { key: '9cc1b52c9f636a99b549267198503d47b3afb0f8', name: "schedule.0.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '5f298fa2efabe38e2aef28d9c992ec1ec0804b46', name: "schedule.1.date" }, "Date"), h("smoothly-input", { key: 'b71aba89d7e05258226fbbaaf705dc9c435a1c37', name: "schedule.1.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '22095cea02b58862ae930857daee6242a51b33b6', name: "schedule.2.date" }, "Date"), h("smoothly-input", { key: '9c33bd7be7e0de733986cc2ef6f9c2e52b3f273a', name: "schedule.2.amount", type: "price" }, "Amount"), h("smoothly-input-reset", { key: 'b02b3225e549665b393a77627da3304881473f9e', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: '25d0d08fb11531e71d0f9c4a9394d3bb36a0565c', slot: "submit" }))));
|
|
5643
5643
|
}
|
|
5644
5644
|
};
|
|
5645
5645
|
|
|
@@ -5648,7 +5648,7 @@ const SmoothlyFormDemoTransparent = class {
|
|
|
5648
5648
|
registerInstance(this, hostRef);
|
|
5649
5649
|
}
|
|
5650
5650
|
render() {
|
|
5651
|
-
return (h(Host, { key: '
|
|
5651
|
+
return (h(Host, { key: 'fc0659542a5e17d903ecb4da9aee7679ef39cdec' }, h("h2", { key: '1d1b9ac96324d7c421cdb19d2734bd2fbbb5a8fb' }, "Transparent"), h("smoothly-form", { key: '992b6ce5260a8af1f63b9025faca67acef755dc2', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, h("smoothly-input-file", { key: 'e79178c59b6617703cb42fdeb16a246047110f85', name: "file" }, h("span", { key: '0c34c069e55446fdf26eef201f492000b1692a3e', slot: "label" }, "File"), h("smoothly-icon", { key: '85c1a66268e78a94b308be411ff5cb712890a1b0', slot: "button", name: "folder-open-outline", size: "small" })), h("smoothly-input", { key: '64c3c4206bf9455f5c923c427cae185c5f84ca60', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), h("smoothly-input-date", { key: '006326702c0d9d6f349292de7531b390e6b7add8' }, "Date"), h("smoothly-input-date-range", { key: '78784fe14706cbbb5d8ef6d040891127991a418b' }, "Date Range"), h("smoothly-input-select", { key: 'e48d3d2cd97b472558f2cbfb7c19aed71c505ed1', name: "transport" }, h("smoothly-item", { key: 'afdc23c9ed61e272893ddd45b70e8d62f0e613fc', value: "plane" }, h("smoothly-icon", { key: 'ba6c15f1ac729420811ff77b355424426f2b35eb', name: "airplane-outline" })), h("smoothly-item", { key: '90c591649758b43835de47380f9cf0ba89665a43', value: "car" }, h("smoothly-icon", { key: '170d4aeeec48e2ea8d57ee17421daa0eacbd6125', name: "car-outline" })), h("smoothly-item", { key: 'fce1fc75af8d839f10d1057d699b5049cd4bee84', value: "bus", selected: true }, h("smoothly-icon", { key: '1fbb7c4afc326efe8d569c5c032fb7d285876974', name: "bus-outline" }))), h("smoothly-input-submit", { key: 'fd292fb5b88f89e103d843e95b14ccf7a3ab9871', icon: "checkbox-outline" }))));
|
|
5652
5652
|
}
|
|
5653
5653
|
};
|
|
5654
5654
|
|
|
@@ -5669,7 +5669,7 @@ const SmoothlyFormDemoTyped = class {
|
|
|
5669
5669
|
registerInstance(this, hostRef);
|
|
5670
5670
|
}
|
|
5671
5671
|
render() {
|
|
5672
|
-
return (h(Host, { key: '
|
|
5672
|
+
return (h(Host, { key: '2dbbb21af22c211fa354d7213c94088ec796cf8d' }, h("h2", { key: 'f944fd5f9a04be35baa6d04760ef8fd083f84c6c' }, "Typed Contact"), h("smoothly-form", { key: '43b74057023eda58b4b89ba9c52e59f9f8fd2329', validator: Contact.type }, h("smoothly-input", { key: '6179ce405787b71e56af49ab16cac3d225476c9b', name: "name.first" }, "First Name"), h("smoothly-input", { key: '41568d9f6447f715c2d9ca414aeca6e103085df8', name: "name.middle" }, "Middle Name (optional)"), h("smoothly-input", { key: '71407b265ac5f00f5db126ae0e1b5ced6c329977', name: "name.last" }, "Last Name"), h("smoothly-input", { key: 'f2dcbd6af35236299eb573d573efa521672c0a4e', name: "age", type: "integer" }, "Age (18-120)"), h("smoothly-input-select", { key: 'd881ad1a7d8f3b3279c9f4aac5473514a2b95d5f', name: "country" }, h("span", { key: '1606d2a8eb5f7160abd3c6a4e983561808fabca5', slot: "label" }, "Country"), isoly.CountryCode.Alpha2.values.map(country => (h("smoothly-item", { value: country }, isoly.CountryCode.Name.en.from(country))))), h("smoothly-input-date", { key: '09e7d8d8f9250304279b1d245044b919c147cc1f', name: "birthday" }, "Date of birth"), h("smoothly-input-reset", { key: 'd212e7a41fba21fc4ba2efd9349834f4c5d8a41d', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: 'c5e62e8b33276b0f5e16e5c37538cca20c5e2ace', slot: "submit", size: "icon", color: "success" }))));
|
|
5673
5673
|
}
|
|
5674
5674
|
};
|
|
5675
5675
|
SmoothlyFormDemoTyped.style = styleCss$_();
|
|
@@ -5770,7 +5770,7 @@ const SmoothlyIcon = class {
|
|
|
5770
5770
|
}
|
|
5771
5771
|
render() {
|
|
5772
5772
|
var _a;
|
|
5773
|
-
return h(Host, { key: '
|
|
5773
|
+
return h(Host, { key: '0a19bf819d57a94f13fc8c2fbc885aebb0bf7a24', title: this.tooltip, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
5774
5774
|
}
|
|
5775
5775
|
get element() { return getElement(this); }
|
|
5776
5776
|
static get watchers() { return {
|
|
@@ -5795,25 +5795,25 @@ const SmoothlyIconDemo = class {
|
|
|
5795
5795
|
this.props = {};
|
|
5796
5796
|
}
|
|
5797
5797
|
render() {
|
|
5798
|
-
return (h(Host, { key: '
|
|
5798
|
+
return (h(Host, { key: 'ec049b1d4b3d93e28913174bd7ab55ce836298ae' }, h("h2", { key: 'd0430155840916db4250402c39e5ee2656dc9930' }, "Filter and Variants"), h("smoothly-form", { key: '4c6f1ffa07fed10ba6051ab4d5f29c1278608b23', looks: "grid", onSmoothlyFormInput: e => (this.display = e.detail) }, h("smoothly-input", { key: 'bea5be3b9c5f839da1fe6efd6497b4fa7c946e77', name: "filter" }, "Filter"), h("smoothly-input-select", { key: 'a64ee5957e34d669c481b77ba0f561ba5eebfa55', name: "variant" }, h("span", { key: '80df7e185a498c1c33cfe1c3fde85f955d46f256', slot: "label" }, "Variant"), h("smoothly-item", { key: 'd6447afb06c4471f9b3036838da77182161ebaf1', value: "outline" }, "outline"), h("smoothly-item", { key: '6622d9acf5549f05128632e386cafcabd4e5df0d', value: "sharp" }, "sharp"), h("smoothly-input-clear", { key: '1a94b3d1d195c77716a7a9e92303bab3dffcf8b0', slot: "end" }))), h("h2", { key: '1320b7b476f6451885fa32dcb0daed671d269612' }, "Props"), h("smoothly-form", { key: '1bc3722b6b25c57352ff7bc1df1571a3df824611', looks: "grid", onSmoothlyFormInput: e => {
|
|
5799
5799
|
this.props = e.detail;
|
|
5800
5800
|
console.log("props", this.props);
|
|
5801
|
-
} }, h("smoothly-input-select", { key: '
|
|
5801
|
+
} }, h("smoothly-input-select", { key: '8b065ccb0feb16a805a20ee13eab053d0cd8edfe', name: "color" }, h("span", { key: '3ed5be41ac0893b18741356a70c7653c862579a0', slot: "label" }, "Color"), Color.values.map(color => (h("smoothly-item", { value: color }, h("span", { style: {
|
|
5802
5802
|
background: `rgb(var(--smoothly-${color}-color))`,
|
|
5803
5803
|
"margin-right": "0.5rem",
|
|
5804
5804
|
width: "2.5rem",
|
|
5805
5805
|
height: "2.5rem",
|
|
5806
|
-
} }), h("span", null, color)))), h("smoothly-input-clear", { key: '
|
|
5806
|
+
} }), h("span", null, color)))), h("smoothly-input-clear", { key: '50b90280c6f0600a073b8b8a254fb035f1aefec0', slot: "end" })), h("smoothly-input-select", { key: 'efda773381d8cb5d491e591b731cea17b406a005', name: "fill" }, h("span", { key: '396dbb906c3b52b53732b062f5ce8ebe70ce85b6', slot: "label" }, "Fill"), Fill.values.map(fill => (h("smoothly-item", { value: fill }, fill))), h("smoothly-input-clear", { key: '44cc4c40f24ad5c978e423496ea30a3068f862a1', slot: "end" })), h("smoothly-input-select", { key: 'd3aaee102be617722fc42dcd47139fe0d2c7284c', name: "customColor", menuHeight: "12items", ordered: true }, h("span", { key: 'dc450c6debc6be202b40628ef77196159e45a082', slot: "label" }, "Custom Color"), Color.values.flatMap(c => (h(Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (h("smoothly-item", { value: `--smoothly-${c}-${v}` }, h("span", { style: {
|
|
5807
5807
|
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
5808
5808
|
"margin-right": "0.5rem",
|
|
5809
5809
|
width: "2.5rem",
|
|
5810
5810
|
height: "2.5rem",
|
|
5811
|
-
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: '
|
|
5811
|
+
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: 'a68b41f9a46917cb1b46e9ada61d05c280f92ff0', name: "customBackground", menuHeight: "12items", ordered: true }, h("span", { key: 'f094c91bdb64df81fd5fc49945b2760c214c37ed', slot: "label" }, "Custom Background"), Color.values.flatMap(c => (h(Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (h("smoothly-item", { value: `--smoothly-${c}-${v}` }, h("span", { style: {
|
|
5812
5812
|
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
5813
5813
|
"margin-right": "0.5rem",
|
|
5814
5814
|
width: "2.5rem",
|
|
5815
5815
|
height: "2.5rem",
|
|
5816
|
-
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: '
|
|
5816
|
+
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: '676477dc9f358f3512f0fb0f60a99a1deb3fa400', name: "flip" }, h("span", { key: '7e7924009ac080ccd225052351d0c70079990b6f', slot: "label" }, "Flip"), h("smoothly-item", { key: '70d21d485c90d881422d4c577fa04f101e0dae13', value: "x" }, "x"), h("smoothly-item", { key: '7e57ce51632ddd1dbf5fed24f109599de216eb3e', value: "y" }, "y"), h("smoothly-input-clear", { key: '0ea9f343784f533ebab4bc8d0b0879deb5e75156', slot: "end" })), h("smoothly-input-select", { key: '67e1d6b7b5e040e5284d0f5984c60a9f57a1d47f', name: "size" }, h("span", { key: 'e89ec731e273bd86c43d8993c78dbdcb1e052280', slot: "label" }, "Size"), h("smoothly-item", { key: '06201d3e144034f8984f48a064ea7d01dbdc3a7f', value: "tiny" }, "tiny"), h("smoothly-item", { key: '5f996913a822077f1fd66371819d528b0f67dc7f', value: "small" }, "small"), h("smoothly-item", { key: '1aa1eff32b61221555b6356cbe658fb2591a6678', value: "medium" }, "medium"), h("smoothly-item", { key: '1d18ac8a2bbcc4f16cd19263aa16d2d714582f27', value: "large" }, "large"), h("smoothly-item", { key: 'a0dd2fc34393ef5fc1ed89f1b000d3a3482a2324', value: "xlarge" }, "xlarge"), h("smoothly-input-clear", { key: '1cde73483d40576d71b1994ea7a4a18a0df791dc', slot: "end" })), h("smoothly-input-range", { key: 'c57e682c8ad984279d9b4d4eef60a6c076b3014b', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", h("smoothly-input-clear", { key: '485dc43539bb93a6bdd58ab1ba10ac5ee64abb80', slot: "end" }))), h("h1", { key: 'cef7183437984cc0d8df4765a5afd62790e07881' }, "Icons"), h("div", { key: '332d4c1168cda7307f00eef4106494860ed0a491', class: "icons" }, [
|
|
5817
5817
|
...Icon.Name.values
|
|
5818
5818
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
5819
5819
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -6263,7 +6263,7 @@ const SmoothlyInput = class {
|
|
|
6263
6263
|
}
|
|
6264
6264
|
render() {
|
|
6265
6265
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
6266
|
-
return (h(Host, { key: '
|
|
6266
|
+
return (h(Host, { key: 'fab11232a335374619f88d481c37d4e5b3d11f8e', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("slot", { key: 'a0c8cae6adbad3694a28ec8e1e043fa7a8ceb98a', name: "start" }), h("div", { key: 'a2d20222eaa4b3edbc42360bc290f7216d17cca1', class: "smoothly-input-container" }, h("div", { key: '7f076aae537f15217e7bc960c495438729e06c8a', class: "guide" }, h("div", { key: '3b0078359bcc30eb6932c8f667abff7d4f0fe38b', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), h("div", { key: '2e5bc6a765e9249235b34ec25b6d3e67ee0a475e', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), h("input", { key: '6062569e9a2fbb73e9785005061a204784cef36f', ref: (el) => (this.inputElement = el), color: this.color, name: this.name, type: (_e = this.state) === null || _e === void 0 ? void 0 : _e.type, inputmode: (_f = this.state) === null || _f === void 0 ? void 0 : _f.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: (_g = this.autocomplete) !== null && _g !== void 0 ? _g : (_h = this.state) === null || _h === void 0 ? void 0 : _h.autocomplete, disabled: this.disabled, readOnly: this.readonly, pattern: ((_j = this.state) === null || _j === void 0 ? void 0 : _j.pattern) && ((_k = this.state) === null || _k === void 0 ? void 0 : _k.pattern.source), onKeyDown: async (event) => {
|
|
6267
6267
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
6268
6268
|
if (!this.readonly && !this.disabled) {
|
|
6269
6269
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -6279,7 +6279,7 @@ const SmoothlyInput = class {
|
|
|
6279
6279
|
this.smoothlyUserInput.emit({ name: this.name, value: this.stateHandler.getValue(this.state) });
|
|
6280
6280
|
}
|
|
6281
6281
|
}
|
|
6282
|
-
} }), h("label", { key: '
|
|
6282
|
+
} }), h("label", { key: '43e8d3ad1afdaa8a8b6fa55583c0d40a3bf24acd', class: "label float-on-focus", htmlFor: this.name }, h("slot", { key: '3614b3dc27033e9c7b382cfe839adab598f35447' }))), this.copyable && this.value && (h("span", { key: '5e2cb462b6cdde196955d26bf481f9bbcad7e331', class: "copyable" }, h("small", { key: 'c3730452979b2edd6b675990ac627a4e5dd839e4' }, this.copied ? "Copied!" : "Copy"), h("smoothly-icon", { key: '9d18b939ea4e9b83e5d114b6cea73c66dad07503', name: "copy-outline", size: "small", onClick: () => this.copyText(this.value), onMouseLeave: () => (this.copied = false) }))), h("smoothly-icon", { key: 'c730f983b4a58c59ac60eb8539a199811655e4f0', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '00a182be5038019d825ec5b6fa8a87026c50cfa3', name: "end" })));
|
|
6283
6283
|
}
|
|
6284
6284
|
get element() { return getElement(this); }
|
|
6285
6285
|
static get watchers() { return {
|
|
@@ -6379,10 +6379,10 @@ const SmoothlyInputCheckbox = class {
|
|
|
6379
6379
|
}
|
|
6380
6380
|
}
|
|
6381
6381
|
render() {
|
|
6382
|
-
return (h(Host, { key: '
|
|
6382
|
+
return (h(Host, { key: '6c5e8fd09ac7c64be72d541cdeee747c84495a6f' }, h("input", { key: '241ef4d9acc46562323db12313f6ca0a3fea5f0f', type: "checkbox", id: this.id, checked: this.checked, disabled: this.disabled || this.readonly, onChange: async (e) => {
|
|
6383
6383
|
this.checked = e.target.checked;
|
|
6384
6384
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
6385
|
-
} }), this.checked && h("smoothly-icon", { key: '
|
|
6385
|
+
} }), this.checked && h("smoothly-icon", { key: 'a0909dfe8369e31bf4873a2ab05f21880c3f43fe', name: "checkmark-sharp", size: "tiny" }), h("label", { key: 'c3628052b38e4dfbdffefa92d428a04662726f65', htmlFor: this.id }, h("slot", { key: 'bfdbbb43537661b026600d2cb3af9c244d2ae5b3' })), h("span", { key: '4033bb43f9ead47f2f9f7eb6943e4199c7260766', class: "smoothly-checkbox-end-slot" }, h("slot", { key: 'e8985be231a6f80d71d85e1b665705458fb187f2', name: "end" }))));
|
|
6386
6386
|
}
|
|
6387
6387
|
get element() { return getElement(this); }
|
|
6388
6388
|
static get watchers() { return {
|
|
@@ -6445,7 +6445,7 @@ const SmoothlyInputClear = class {
|
|
|
6445
6445
|
}
|
|
6446
6446
|
render() {
|
|
6447
6447
|
var _a;
|
|
6448
|
-
return (h(Host, { key: '
|
|
6448
|
+
return (h(Host, { key: 'f1f8c9c1065466cf60851197c73cb3e801593472', title: this.tooltip }, h("smoothly-button", { key: '2166cd37b5a0e93cba98b17657f4bf33e503814e', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '427e397efd7fc89e2e6ba34f1703cd249b8b07cf' }), h("smoothly-icon", { key: '3c16b4541b7d1493213d3dfc93adf32aec831869', name: "close", size: "tiny" }))));
|
|
6449
6449
|
}
|
|
6450
6450
|
get element() { return getElement(this); }
|
|
6451
6451
|
};
|
|
@@ -6603,7 +6603,7 @@ const SmoothlyInputColor = class {
|
|
|
6603
6603
|
}
|
|
6604
6604
|
render() {
|
|
6605
6605
|
var _a, _b, _c, _d, _e, _f;
|
|
6606
|
-
return (h(Host, { key: '
|
|
6606
|
+
return (h(Host, { key: '606897dcf8880a8bceaf646a17b0b682dc0de4fe', style: {
|
|
6607
6607
|
"--hexCode": this.value,
|
|
6608
6608
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
6609
6609
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -6612,7 +6612,7 @@ const SmoothlyInputColor = class {
|
|
|
6612
6612
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
6613
6613
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
6614
6614
|
"--element-height": `${this.element.clientHeight}px`,
|
|
6615
|
-
} }, h("smoothly-input", { key: '
|
|
6615
|
+
} }, h("smoothly-input", { key: '3a8211dcd537f07359729f79b88c33ffa8dd26e6', value: this.value, color: this.color, looks: undefined, name: this.name, type: "hex-color", readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, h("slot", { key: '932e1fee6e31f8942841ae068404f674d20c6d75' })), h("div", { key: '55de847010bfc30641a1b4814fc7d4ea1beb8b63', class: "color-sample" }), h("smoothly-icon", { key: '7e69d59ceb71c617d93205b6ada24bc0a0b6d3fe', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && !this.disabled && this.openDropdown() }), h("div", { key: '38771b0daff4bda14ecb821f7ec0725ef575f50c' }, h("slot", { key: 'b005802e73faf84b2772e7bf28163963abe619ca', name: "end" })), this.open && !this.readonly && !this.disabled && (h("div", { key: 'ed68b37bbbe25ccb1cfe00167b21b49fdcad5326', class: "rgb-sliders" }, h("smoothly-toggle-switch", { key: 'a3643b4c099fb94dfc57b8c2658bde1711aa0c5d', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() })))))));
|
|
6616
6616
|
}
|
|
6617
6617
|
get element() { return getElement(this); }
|
|
6618
6618
|
static get watchers() { return {
|
|
@@ -6637,7 +6637,7 @@ const SmoothlyInputColorDemo = class {
|
|
|
6637
6637
|
registerInstance(this, hostRef);
|
|
6638
6638
|
}
|
|
6639
6639
|
render() {
|
|
6640
|
-
return (h(Host, { key: '
|
|
6640
|
+
return (h(Host, { key: '7b11b0f228e5e8655a3db81717e614354b9fbdc0' }, h("h2", { key: '41e22ff3427c56b0e5b5b5c837215ce3c8e3667b' }, "Color"), h("smoothly-input-color", { key: '778d1355985c37f4b8b193b65d0a534c640c5c1c', name: "color" }, "Choose color")));
|
|
6641
6641
|
}
|
|
6642
6642
|
};
|
|
6643
6643
|
SmoothlyInputColorDemo.style = `style.css`;
|
|
@@ -6758,7 +6758,7 @@ const SmoothlyInputDate = class {
|
|
|
6758
6758
|
event.stopPropagation();
|
|
6759
6759
|
}
|
|
6760
6760
|
render() {
|
|
6761
|
-
return (h(Host, { key: '
|
|
6761
|
+
return (h(Host, { key: 'd610c101e778aa42a9369aa03f1caf8e14b8b5c8', tabindex: this.disabled ? undefined : 0, class: { "has-value": !!this.value, "has-text": this.hasText, "floating-label": this.alwaysShowGuide }, onClick: (e) => this.onClick(e) }, h("slot", { key: '44cfdeb10640f183b8d5aee0a40630dc6d3e994e', name: "start" }), h("label", { key: 'd7b5fdb309c4cbe5ca865169953f50e57bae8d4d', class: "label float-on-focus" }, h("slot", { key: '7230b56a3bdbb7a83a8c45800f056734b01bcb90' })), this.placeholder && h("span", { key: '4a0606f9f3d1bf1610393006ee6238b386b56655', class: "smoothly-date-placeholder" }, this.placeholder), h("smoothly-date-text", { key: '19e00959912e9a0ba57bb0989d86a54fbd06006d', ref: el => (this.dateTextElement = el), locale: this.locale, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, value: this.value, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.hasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onUserChangedValue(e)), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (this.open = false), (_a = this.dateTextElement) === null || _a === void 0 ? void 0 : _a.deselect()); } }), h("span", { key: '2f7b6396f29e43ff06f86749b20358fd9067def3', class: "smoothly-icons", ref: el => (this.iconsElement = el) }, h("smoothly-icon", { key: '384b7d43cebf3f16a8f14687acd424bcd790a55a', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '445ed1618b342123b180cecc999a2899176095c6', name: "end" })), this.open && !this.readonly && (h("smoothly-calendar", { key: '6345ea59f7dc66a47dcb0b33b01f15b9a3c7720d', ref: el => (this.calendarElement = el), doubleInput: false, value: this.value, onSmoothlyDateSet: e => (e.stopPropagation(), this.onUserChangedValue(e)), max: this.max, min: this.min }, h("div", { key: '6a2d605946629fafeb1a951aa4ce923d5c3cca53', slot: "year-label" }, h("slot", { key: '7352785fb90f97fe59dcc2662e81c12ae3544e70', name: "year-label" })), h("div", { key: '9433f633d73a13a3638df8374cc807e7adfe11d0', slot: "month-label" }, h("slot", { key: '2f9176a79690a41028a1633e5bb6b4bd9c464722', name: "month-label" }))))));
|
|
6762
6762
|
}
|
|
6763
6763
|
get element() { return getElement(this); }
|
|
6764
6764
|
static get watchers() { return {
|
|
@@ -6786,7 +6786,7 @@ const SmoothlyInputDateDemo = class {
|
|
|
6786
6786
|
this.alwaysShowGuide = false;
|
|
6787
6787
|
}
|
|
6788
6788
|
render() {
|
|
6789
|
-
return (h(Host, { key: '
|
|
6789
|
+
return (h(Host, { key: 'b0b29015752f46939700b57c62a07fa06ffe4e40' }, h("div", { key: '513e17083a0162befffa69473ddbdece8548e9ba' }, h("h2", { key: 'd9ac3875a4027fb083c7daad59d99fea4ce27ade' }, "Date input"), h("p", { key: '995523aa50c0634d265b3b9d91f5dac9a8502bf0' }, "Different locales formatting the same date"), h("smoothly-button", { key: '10a90fd4fe35c81b689d4c0cc547cc887b852669', color: "primary", onClick: () => (this.date = this.date ? isoly.Date.next(this.date) : isoly.Date.now()) }, "Set date"), h("smoothly-input-checkbox", { key: 'b7d9b9ab464d611493eb029a1819b1890da7e0c3', looks: "transparent", onSmoothlyUserInput: e => {
|
|
6790
6790
|
this.alwaysShowGuide = e.detail.value;
|
|
6791
6791
|
console.log(this.alwaysShowGuide);
|
|
6792
6792
|
} }, "Always Show Guide")), ["en-US", "en-GB", "de-DE", "se-SE"].map(locale => (h(Fragment, null, h("smoothly-input-date", { locale: locale, name: locale, looks: "border", value: this.date, alwaysShowGuide: this.alwaysShowGuide }, locale, h("smoothly-input-clear", { slot: "end" })), h("smoothly-input-date-range", { locale: locale, name: locale + "-range", looks: "border", start: this.date, end: this.date ? isoly.Date.next(this.date) : undefined, alwaysShowGuide: this.alwaysShowGuide }, locale, " Range", h("smoothly-input-clear", { slot: "end" })))))));
|
|
@@ -6923,15 +6923,15 @@ const SmoothlyInputDateRange = class {
|
|
|
6923
6923
|
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
6924
6924
|
}
|
|
6925
6925
|
render() {
|
|
6926
|
-
return (h(Host, { key: '
|
|
6926
|
+
return (h(Host, { key: '4aafb51483d57234d6f42a6252a45078a5cc4054', tabindex: this.disabled ? undefined : 0, class: {
|
|
6927
6927
|
"has-value": !!(this.start || this.end),
|
|
6928
6928
|
"has-text": !!(this.startHasText || this.endHasText),
|
|
6929
6929
|
"floating-label": this.alwaysShowGuide,
|
|
6930
|
-
} }, h("span", { key: '
|
|
6930
|
+
} }, h("span", { key: '5516903b15400ea4dd7dba463dd173ef48ca03df', class: "smoothly-date-range-input-part", onClick: (e) => this.onClick(e) }, h("slot", { key: '273d0fdad0534db6f46e3c37005ab0649edd8abc', name: "start" }), h("label", { key: '67fd396fd707428cf9413a5b8bd6501485874e64', class: "label float-on-focus" }, h("slot", { key: '67a092adcbb0abf829ffb68b48e2e37cc6dbc5ed' })), this.placeholder && h("span", { key: '54ed8804af377cdde573d7d148d62544adae5eb8', class: "smoothly-date-range-placeholder" }, this.placeholder), h("smoothly-date-text", { key: '3144566fd5983266e70637449965c0ca981962b8', ref: el => (this.startTextElement = el), class: "start-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.startHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "start")), onSmoothlyDateTextNext: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.select()); }, onSmoothlyDateTextDone: e => {
|
|
6931
6931
|
var _a, _b;
|
|
6932
6932
|
return (e.stopPropagation(),
|
|
6933
6933
|
this.end ? ((_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)) : (_b = this.endTextElement) === null || _b === void 0 ? void 0 : _b.select());
|
|
6934
|
-
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), h("span", { key: '
|
|
6934
|
+
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), h("span", { key: '80257b7865d284f87a6aafd9f53acead98612f09', class: "smoothly-date-range-separator" }, " \u2013 "), h("smoothly-date-text", { key: 'e6bb858a6a4ee6669ec02949f7e5dcd668187970', ref: el => (this.endTextElement = el), class: "end-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.endHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "end")), onSmoothlyDateTextPrevious: e => { var _a; return (e.stopPropagation(), (_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.select("end")); }, onSmoothlyDateTextNext: e => e.stopPropagation(), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)); }, value: this.end, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel })), h("span", { key: '4ccdcf9160a7bb827309e5f5cd908095ba90a0bc', class: "smoothly-icons" }, h("smoothly-icon", { key: '7dbf49e194b48313c7b54eb1bc43d2660f7cf3dc', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '63448fe06f310d74951d3ddbd8b8511d1df170b0', name: "end" })), this.open && (h("smoothly-calendar", { key: '1d334b289c960660269e869ec6e42544beaaf0d7', ref: el => (this.calendarElement = el), doubleInput: true, onSmoothlyDateSet: e => e.stopPropagation(), onSmoothlyDateRangeSet: e => {
|
|
6935
6935
|
e.stopPropagation();
|
|
6936
6936
|
this.open = false;
|
|
6937
6937
|
this.start = e.detail.start;
|
|
@@ -7065,30 +7065,30 @@ const SmoothlyInputDateTime = class {
|
|
|
7065
7065
|
this.isDifferentFromInitial = false;
|
|
7066
7066
|
}
|
|
7067
7067
|
render() {
|
|
7068
|
-
return (h(Host, { key: '
|
|
7068
|
+
return (h(Host, { key: 'ad93ad9f51896e7b99f721d7a81808e092816c03' }, h("smoothly-input", { key: '0e212a092315fa9a0feaaf67f3c2127a6c5d76c2', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && !this.disabled && (this.open = !this.open), onClick: () => !this.readonly && !this.disabled && (this.open = !this.open), readonly: this.readonly, disabled: this.disabled, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
7069
7069
|
e.stopPropagation();
|
|
7070
7070
|
this.date = e.detail.date;
|
|
7071
7071
|
}, onSmoothlyUserInput: async (e) => {
|
|
7072
7072
|
e.stopPropagation();
|
|
7073
7073
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7074
|
-
} }, h("slot", { key: '
|
|
7074
|
+
} }, h("slot", { key: '3365117b617114c1c961a34660585c2ddae7f93d' })), h("smoothly-input", { key: '91b0c6323b1451c1b40f23bcf2aab162eeb2bf4d', name: "hour", type: "integer", max: 23, pad: 2, value: this.hour, readonly: this.readonly, disabled: this.disabled, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
7075
7075
|
e.stopPropagation();
|
|
7076
7076
|
this.hour = e.detail.hour;
|
|
7077
7077
|
}, onSmoothlyUserInput: async (e) => {
|
|
7078
7078
|
e.stopPropagation();
|
|
7079
7079
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7080
|
-
} }), h("span", { key: '
|
|
7080
|
+
} }), h("span", { key: '30f3a9608f30b70ec0e999b1087f124a2c0f8f9a', class: "colon" }, ":"), h("smoothly-input", { key: 'd3dfb6f59c4bffd573187b513abbcc3f26621389', name: "minute", type: "integer", max: 59, pad: 2, value: this.minute, readonly: this.readonly, disabled: this.disabled, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
7081
7081
|
e.stopPropagation();
|
|
7082
7082
|
this.minute = e.detail.minute;
|
|
7083
7083
|
}, onSmoothlyUserInput: async (e) => {
|
|
7084
7084
|
e.stopPropagation();
|
|
7085
7085
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7086
|
-
} }), h("span", { key: '
|
|
7086
|
+
} }), h("span", { key: 'a909976d14881c52ff1461afde62ee22acccbea0', class: "icons" }, h("smoothly-icon", { key: 'd200862fdf9b53b85d1deb9569cf4b9c93aee077', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'c5391f31a81c2b9ed019fb27e5aefb2e41a91d49', name: "end" })), this.open && !this.readonly && (h("smoothly-calendar", { key: 'ac41f035d3f92fd3116dfcf360f2e4d921a829b0', doubleInput: false, value: this.value ? isoly.DateTime.getDate(this.value) : undefined, min: this.min ? isoly.DateTime.getDate(this.min) : undefined, max: this.max ? isoly.DateTime.getDate(this.max) : undefined, onSmoothlyDateSet: async (e) => {
|
|
7087
7087
|
e.stopPropagation();
|
|
7088
7088
|
this.date = e.detail;
|
|
7089
7089
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7090
7090
|
this.open = false;
|
|
7091
|
-
} }, h("div", { key: '
|
|
7091
|
+
} }, h("div", { key: '3a0ea948b27c084501a8a98c9ad31195077abd86', slot: "year-label" }, h("slot", { key: 'cc59da90159452014a6434827619eade272e75d3', name: "year-label" })), h("div", { key: 'a7bbff950447fab625edc43dd12814b24711d568', slot: "month-label" }, h("slot", { key: 'a5d595242c8424d5a6021e7306c219cc828dbfb1', name: "month-label" }))))));
|
|
7092
7092
|
}
|
|
7093
7093
|
get element() { return getElement(this); }
|
|
7094
7094
|
static get watchers() { return {
|
|
@@ -7128,14 +7128,14 @@ const SmoothlyInputDemo = class {
|
|
|
7128
7128
|
this.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
7129
7129
|
}
|
|
7130
7130
|
render() {
|
|
7131
|
-
return (h(Host, { key: '
|
|
7131
|
+
return (h(Host, { key: 'ef33e129690f3cd0a771a1b12dcb8f9c79fa566e' }, h("smoothly-input-demo-standard", { key: '5e12871414915755af5fb0e896b2ae9cbaeec449' }), h("smoothly-input-date-demo", { key: 'cd9a7179d6d78b58c64a37329d170dafa3c4d4ee' }), h("smoothly-input-demo-user-input", { key: '1dc3897e7c1bb3de9b45084c880745abfadb568c' }), h("smoothly-input-demo-radio", { key: '3a6b7c1417ea8a91a62d4c911562175ba623c1e5' }), h("div", { key: 'd218e51f2785f7caed4318ea33aaab6dca63d05e', class: "inputs" }, h("h2", { key: '53ac6e802dd3e3581ad3dc2feb629537dbeaf9b6' }, "Calendar"), h("smoothly-input-date", { key: '25127e4d56c34404d0dc25d63b7cc96c5e8c3645', name: "some-date" }, "Calendar"), h("smoothly-input-date-time", { key: 'e3025c6634241fa1347c7b2c93a918288a2371d6', name: "someDateTime", value: isoly.DateTime.now() }, "DateTime"), h("h2", { key: '6db99859de7c13e9d6d40aa5c7cbdc25cddffd14' }, "Date Range"), h("smoothly-input-date-range", { key: 'c56da60bdb19ea3c0305d1881180845f848cb625', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-01", max: "2025-01-31" }), h("smoothly-input-date-range", { key: '556c9c8b45219b64f966252c9ea23b8a02bf78a2', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2024-12-30" }, h("smoothly-input-reset", { key: 'd6e08652074753d81334f6f26872f16a4ad27120', slot: "end", size: "icon" })), h("smoothly-input-date-range", { key: '65bffbaab83f117517cd37087c028d1ed2b4936c', looks: "grid", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
7132
7132
|
"--smoothly-input-border-radius": "0.5rem",
|
|
7133
|
-
} }, h("smoothly-input-clear", { key: '
|
|
7133
|
+
} }, h("smoothly-input-clear", { key: 'e61e9737c489a68b612e38490fa4b2f95de72a6a', slot: "end", size: "icon" })), h("h2", { key: 'd7f0223de99a710561a28daf86ceb69d7aef1da1' }, "Date"), h("smoothly-input-date", { key: '2cf84ece02042c92ac3754379268a94ef536c91a' }, "Date"), h("smoothly-input-date", { key: 'b1b465843e3562c30e589af11004a09bf2b6157a', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), h("smoothly-input-date", { key: '5810635fbfd26dd8735f8abd2c2e58f30affd61c', value: "2021-10-28" }, "Date", h("smoothly-input-reset", { key: 'd63d51b77f52243dfa9f13fe2754e53919d21c06', slot: "end", size: "icon" })), h("smoothly-input-date", { key: '7815c1afc2b1d38d3263630d8ef8d5a4cfa0a096', value: "2021-10-28" }, "Date", h("smoothly-input-clear", { key: 'cf8b725f54894024063bb6735e17ed692195c994', slot: "end", size: "icon" })), h("h2", { key: 'db2776f12559673b653e4671f92c578471e65a7a' }, "Select"), h("div", { key: '64ef6bd07f27d07cf6ea6dd23ae434503fdcc740', class: "select-div" }, h("smoothly-input-select", { key: '0a0f832b86bdb2fc7aeb964d52f320a6d76cf40d', name: "select-dessert", looks: "border" }, h("label", { key: 'd95e443f3df2398ca64bd6bcd64d6cdd629d0a8d', slot: "label" }, "Select with clear button"), h("smoothly-item", { key: 'c081a219a330aac151711e87423b474037b79628', value: "1" }, "Ice cream"), h("smoothly-item", { key: 'c168ee280c6dea09c54d86ae72fe2c79e134d448', value: "2" }, "Sponge cake"), h("smoothly-item", { key: 'cfea0b38d63995c108f0277ca248647725d22a60', value: "3", disabled: true }, "Disabled Item"), h("smoothly-item", { key: 'b93622e1a391c980d0c0371a0918dfca7ae7b456', value: "4" }, "Cookie"), h("smoothly-item", { key: 'e8733a8a51b09cea7ee31e4017f58152b58f5827', value: "5" }, "Croissant"), h("smoothly-item", { key: '90731e217754cb6c096cc190fb8b0c56c2bac593', value: "6" }, "Chocolate fondue"), h("smoothly-input-clear", { key: '0129f30c20777f9a37fc19ee8051e377507c9368', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '94d3b7ca28b5fe5f9c9a3c587d995c65c8be45ad', multiple: true, name: "select-dessert-multiple", looks: "border" }, h("label", { key: '2d935f7418f8db300bf20412c4dd15934da5c0d3', slot: "label" }, "Select multiple with reset button"), h("smoothly-item", { key: '3c2579bffcde279703cfc041b315560a6dcc098e', value: "ice cream" }, "Ice cream"), h("smoothly-item", { key: 'a49fcce300b665b0de07fe67b5ea798e2fa94626', value: "sponge cake" }, "Sponge cake"), h("smoothly-item", { key: '4678f38edab9f88113c056ff820df2bd07e2fe33', selected: true, value: "cookie" }, "Cookie"), h("smoothly-item", { key: 'fdcf2ecd485fe75a35ca96ed89352a343819b770', value: "croissant" }, "Croissant"), h("smoothly-item", { key: 'f5cafb0e4b020489c72db9cd2362936449826dbd', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), h("smoothly-input-reset", { key: '8c49833f66cee2e2ebac320c67ee5452a77636f7', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '146806189c90cecb94e0bc9a01c713695689a2bc', name: "spirit-animals", looks: "border", mutable: true }, h("label", { key: '56bc9c8ef474ce79b1af47086b65847877d6a03c', slot: "label" }, "Select or add new options"), h("smoothly-item", { key: 'b13d4158fadfb725ff6c1ca236f4724ba95936df', value: "manatee" }, "Manatee"), h("smoothly-item", { key: '85d95f128731e5fd3ec1c1f3df672d98ff3a199a', selected: true, value: "cthulu" }, "Cthulu")), h("smoothly-input-select", { key: '3bffa0bfbce0ab015208bdff0d648bf8f6d497bf', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '05d80d05561b9a716ea94d8e3fb3e3d5afc66c4c', value: "folder", selected: true }, h("smoothly-icon", { key: 'f86490ab381f59ed6fcdacb1d7441697fe645fd8', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'ec29517ce6ee5b7353bc20fc3c4365751815bfc6', value: "camera" }, h("smoothly-icon", { key: '75c27c69a18c0c37a6d989a2268ed9fa7ffb6daf', size: "small", name: "camera-outline" }))), h("smoothly-input-select", { key: '7ff7efc5b6f7a47da43fbd859a0c20cfb013c1c3', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: '3eb848081a594d164a7144ac8fe91719c11dd950', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
7134
7134
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
7135
|
-
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '
|
|
7135
|
+
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '36db6fdd61728c21488000fb0e588858726de95d', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'b3a93c5d2b02f5c5ca50e2041db860082432ba0f', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '5b3f4d4dda6ca6bac04d3d58e14b1bc6808a515d', value: "1" }, "January"), h("smoothly-item", { key: '2137f933a08f0bff7661ef7eedb566ef0613b2c0', value: "2" }, "February"), h("smoothly-item", { key: '2b60b2706c7a4e560dc61969fe8bff8bae2ee3b4', value: "3" }, "March"), h("smoothly-item", { key: '10f7a805783997893080eba61a3a293901273b7e', value: "4" }, "April"), h("smoothly-item", { key: 'fbb81488473ab771ba92650e7f6c0d1e385a5486', value: "5" }, "May"), h("smoothly-item", { key: 'bb9a696e13859137773158b219807224c9e456d5', value: "6" }, "June"), h("smoothly-item", { key: 'cb9cb347df1ab4551d11a6104fea41e53646f7fe', value: "7" }, "July"), h("smoothly-item", { key: 'f636d5874c7b810b59d9aea7454ee060093946ff', value: "8" }, "August"), h("smoothly-item", { key: 'd7882ebaf8e4b13216201b04201f19d0152c7997', value: "9" }, "September"), h("smoothly-item", { key: '30815b5d8ae477d52a6896083f58d5e913fc6ec9', value: "10" }, "October"), h("smoothly-item", { key: '70658c05936d61c7e4faf8ab265d5e7ae448774a', value: "11" }, "November"), h("smoothly-item", { key: 'c737ec283e42443c75334f925d7fab3df2527a4f', value: "12" }, "December")), h("div", { key: 'a149cf4a6ebc5828e095c10e9d6d57abbc43c359', class: "select-div-row" }, h("smoothly-input-select", { key: '0b32d71db9eb24afd885c46ea5f414be1e55133c', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '1c4fb8eeb730b8cfe6e4818ca16c565014a159a7', value: "folder", selected: true }, h("smoothly-icon", { key: '082d0bba96283c4bceb9f92c3e772bd3fd8b7011', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'ea4df02bbe52f26a1888b2f74ed587beb09890fe', value: "camera" }, h("smoothly-icon", { key: '166ec449cff9acf04d866ac4786ba9f30b2a3b42', size: "small", name: "camera-outline" })), h("smoothly-item", { key: '65aa76f7da4c5677b031fe45a5a86fca0a3d29ee', value: "boat" }, h("smoothly-icon", { key: '32d5688b2e74006e65131f11ee06890d8d52b5dd', size: "small", name: "boat-outline" }))), h("smoothly-input-select", { key: 'fccc2a0bad4e53a6fee2a5ceca85a59b91d70090', name: "select-number", clearable: false }, this.numbers.map(number => (h("smoothly-item", { value: "number", selected: number === 3 }, number)))), h("smoothly-input", { key: 'f8a91a3e5d64b5058bb91a50dde94d3eb128f7b5', name: "name", value: "Sten Qvist" }, "Name"))), h("h2", { key: '012a2aeb69da69b0ab9cff4b761500892f2c9aba' }, "Duration"), h("smoothly-input", { key: '55df5644b13c507f13d0efec711da4c3ae59dc95', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), h("smoothly-input", { key: '4aa5fe278bfd9e37e3a625b67304cadb164bdd78', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
7136
7136
|
const duration = e.detail.duration;
|
|
7137
7137
|
this.duration = duration;
|
|
7138
|
-
} }, "Duration"), h("h2", { key: '
|
|
7138
|
+
} }, "Duration"), h("h2", { key: 'bb855c65c4b59aef87c9d4d18ac6db6b6d21bdec' }, "Integer with Min/Max"), h("smoothly-input", { key: '1a5e0092eb5330cc384aafce47e1438abca4a590', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), h("smoothly-input", { key: '359faaba1e62172b0224c8d8ec58e49cb5a81f09', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), h("smoothly-input", { key: '6ce0655a6b0134ce4175d65f80792287e48eefbe', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), h("smoothly-input", { key: '3ce841cda01cbb2c4f346009648faa281831a4b2', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), h("h2", { key: 'e63ebb0b5996cbf653c6b6c969df48d635e28c30' }, "Invalid text with warning icon and tooltip"), h("smoothly-input", { key: '62873bd1d9eadab148e0502f44fdbc779aa5a789', copyable: true, name: "alphanumeric", invalid: !/^[a-zA-Z0-9]+$/.test(this.alphanumeric), errorMessage: "Only alphanumeric allowed", value: this.alphanumeric, onSmoothlyInput: e => (this.alphanumeric = e.detail.alphanumeric) }, "Alphanumeric"), h("h2", { key: '04dffd24a3af57da6ae369a8fbe9372893e6e380' }, "Identifiers"), h("smoothly-input", { key: '3d18b596880f98b84a07742cb9778d0095719294', type: "identifier-code" }, "Code"), h("smoothly-input", { key: '190651f4f4263eaacd8b80f90f4074fef28da183', type: "identifier-attribute" }, "Attribute"), h("smoothly-input", { key: '3a8802a9a173f518f975717cbe23cd1150316fc5', type: "identifier-snake" }, "Snake"), h("smoothly-input", { key: '00ec5419cd67a7217d23f95513f451f2c8e98f8e', type: "identifier-pascal" }, "Pascal"), h("smoothly-input", { key: '93eac4cce148e22640908d0d2f7c19a04b66d3f9', type: "identifier-camel" }, "Camel"), h("h2", { key: '98b93a5cb9daf216199adb5fa089ddd84bc96c61' }, "Input Alternatives"), h("smoothly-input", { key: 'a031c081e8531bad8400469ae449757958d7324a', type: "text", name: "name.last" }, h("smoothly-icon", { key: 'bf00331aeef0f1046c5505911d7db6ba845e636c', name: "checkmark-circle", slot: "start" }), "First Name"), h("smoothly-input", { key: '7824cf3b501d802ff40e4a750dd46defa9cac8b6', type: "text", name: "name.first" }, "Last Name", h("smoothly-icon", { key: '497b0417f5e7b0714753b0e5d78a78ab18130007', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: 'ba93dadda8140d398c1d350f98c53d2a08c440db', type: "text", name: "name.first", placeholder: "Smith" }, "Last Name", h("smoothly-icon", { key: '28e8478b908bb51c6c5949e986c69930d1b10cb5', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: 'fcb8531d6fe4129585e9a6d6e641022f2f14cb94', placeholder: "test" }), h("smoothly-input-submit", { key: '97a4d319d250ecd00ede7a5beb2c06b077e8e82c', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), h("h4", { key: '50579aad1a91b0c728a127076a37be38273b3635' }, "Smoothly checkboxes"), h("div", { key: 'ceee0a83b7626132ac6323dfd894d8ece7ea2f69', class: "checkbox-group" }, h("smoothly-input-checkbox", { key: '0eab1d5ac670458ab57af847c9996fcf874fd985', disabled: true, name: "first-checkbox" }, h("smoothly-icon", { key: 'aa4259b0bc0193a0e31b2bdc2f9550d1e7a9cd66', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), h("smoothly-input-checkbox", { key: '38fe8ffc98f95b0a81aba7dadb0a46f876ec09f4', name: "second-checkbox", checked: true }, h("smoothly-icon", { key: '40b2451d7fb2f705251abfb2158bc91a31ae9d3d', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", h("smoothly-input-clear", { key: '34675173c8447131c978ca934fdde0d8764f44a8', size: "icon", slot: "end" })), h("smoothly-input-checkbox", { key: '42c6dd2f0fd6bb72d8ce31158f0451c5f500fe2b', name: "third-checkbox" }, "3rd")), h("h4", { key: '94ddf8048c28f947c3d20a2440c49e9340448c58' }, "Smoothly Radio Buttons"), h("smoothly-input-radio", { key: '0e308b17b5783bb23ce817cb30fbb9237a1b5b65', clearable: true, name: "radioFirstInput" }, h("smoothly-icon", { key: '61ab423d103c3f04fbaae7d02d0a1685d576fcfe', name: "checkmark-circle", slot: "start" }), h("label", { key: 'f75b6164630e97ad5f1174c08afe841e7321fe28', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: 'fd4284b27663aed055dce8671b46881789ba7dfb', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '9554d37989867953cefb248a039d1c6217ea0c4f', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '7643fa634aa9693163de7926468ea47ea99d232f', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: 'ef750494dee99f5bf962f93f143a80a540834f20', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '3cf94704be4ce872a79a97abb4dc1828ade9ad71', name: "radioSecondInput" }, h("label", { key: 'd3feeed0e6debeaba6e95eec7c6effa4e3aa0484', slot: "label" }, "Not clearable"), h("smoothly-input-radio-item", { key: 'ed5bc06f71277cc4ad5e644d4b07c42c80dd1027', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '944215e958076b552f4ee8e5728897f63e88657c', value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '273705d445c5b1c1c01f6cea30bf8ad4036f932a', value: "third" }, "Label 3"), h("smoothly-input-radio-item", { key: 'c16dee456ac64f1aa945dcf6934ff6734c63e597', value: "fourth" }, "Label 4"), h("smoothly-input-radio-item", { key: 'd9795190e66042dedd027a4780900e2a32548ebc', value: "fifth" }, "Label 5"), h("smoothly-input-radio-item", { key: '985a353d4d42885a3597807d9b3a1d6fe2692520', value: "sixth" }, "Label 6")), h("smoothly-input-range-demo", { key: '011666bd072c688123437302f21ef556b9bc45cf' }), h("smoothly-input-color-demo", { key: 'a7e2fedb5277f19eee2c670bf88c1089ead1eb92' }), h("smoothly-input-price-demo", { key: '3e2f3d6d9e0e368ad4b8c7f3294bbc8cb19d3358' }), h("smoothly-back-to-top", { key: 'c2ecc189b026a4eae72d521e4cdffcfbd58ddbd9' }))));
|
|
7139
7139
|
}
|
|
7140
7140
|
};
|
|
7141
7141
|
SmoothlyInputDemo.style = styleCss$O();
|
|
@@ -7150,7 +7150,7 @@ const SmoothlyInputDemoRadio = class {
|
|
|
7150
7150
|
console.log("selected", this.selected);
|
|
7151
7151
|
}
|
|
7152
7152
|
render() {
|
|
7153
|
-
return (h(Host, { key: '
|
|
7153
|
+
return (h(Host, { key: '926c46d5493184b5562db849fe49f8bc69467635' }, h("h2", { key: '482f5b5dad79420a7d17fd32f8ca364fff3fea40' }, "radio input - column direction"), h("smoothly-input-radio", { key: '56b8f69f400852f3476747d3cfca4e208659a55a', name: "radio", direction: "column", onSmoothlyInput: e => (this.selected = e.detail.radio) }, h("smoothly-input-radio-item", { key: 'f8efa9578d1cd57ed8a1c39f99d1ceb61dc15c0a', value: "1" }, h("span", { key: 'e8a9613c4be5a9a5f22e27376e2a5c3dc9432e9e' }, "Option 1"), h("span", { key: '59f7cb9ed2fb5ca96e16af28567e6ac29c920ee7', slot: "detail" }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.")), h("smoothly-input-radio-item", { key: '6c4733d75808282a051c25ccafdbffae1efec8b4', value: "2", selected: true }, h("span", { key: '135b8ad7de02530fb2ec7b1748c706ed7ad6a275' }, "Option 2"), h("div", { key: '8d8beb1041e44e46afe0423540b385ad7aa0a0d1', slot: "detail" }, h("smoothly-tabs", { key: '9295b932c4f29d8672003b063930beb56075662c' }, h("smoothly-tab", { key: '970586efae1aa46ddeb1c6ef203b89682251d77f', label: "Dog", name: "dog", open: true }, "\uD83D\uDC15"), h("smoothly-tab", { key: '8faade213577e3d7cd4481f8c09ca80210f8312b', label: "Cat", name: "cat" }, "\uD83D\uDC08"), h("smoothly-tab", { key: '00c1e6c7f8fa0e3d2ee17f20ac212463f515c7a3', label: "Rat", name: "rat" }, "\uD83D\uDC00")))))));
|
|
7154
7154
|
}
|
|
7155
7155
|
static get watchers() { return {
|
|
7156
7156
|
"selected": [{
|
|
@@ -7182,7 +7182,7 @@ const SmoothlyInputDemoStandard = class {
|
|
|
7182
7182
|
});
|
|
7183
7183
|
}
|
|
7184
7184
|
render() {
|
|
7185
|
-
return (h(Host, { key: '
|
|
7185
|
+
return (h(Host, { key: '2e355c9aa093b8466d23357c9aae6d88011170be' }, h("div", { key: 'b212cbda84e5965666cce503713c85baaa045d32', class: "description" }, h("h2", { key: '21f4edf40038c44f1b745a0f0ae5c15a4d909ee6' }, "Input Standard"), h("p", { key: '3f4cf3c1e07effe5cb728f54311cf92f438eecf5' }, "Height of input should be ", h("code", { key: 'e5c546b13ce7c73522216a1509e50022c786a36a' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), h("smoothly-form", { key: '6c3be1205cf4699ae45248278c21a217f5d35e9c', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, h("smoothly-input-select", { key: 'c76494d9a20e705a7a9350f621104aec46b0e857', name: "color" }, h("span", { key: 'c1ccb2f1c17b46e976fadd5331f07c4d7a699791', slot: "label" }, "Color"), Color.values.map(c => (h("smoothly-item", { value: c }, h("span", { color: c }, c)))), h("smoothly-input-clear", { key: 'dbaa782144733cdcbec4d5257e21b0a4f170e5e5', slot: "end" })), h("smoothly-input-select", { key: '28b28e354ac6fc5637ecf14acccfe30bfef11ff6', name: "looks" }, h("span", { key: 'f1452804684f0a76d78542a9cb64928a478f03ec', slot: "label" }, "Looks"), Looks.values.map(l => (h("smoothly-item", { value: l }, l)))), h("smoothly-input-range", { key: '3ca928155a582e8b5ab68ebdc2de073c390b58ed', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), h("smoothly-input-checkbox", { key: '99e0f80359bb1d1813b4445fc642aeff881d0d12', name: "readonly" }, "Readonly"), h("smoothly-input-checkbox", { key: 'fb4e997a1751c7a05fb97d40ae5e151ad62e7a53', name: "disabled" }, "Disabled"), h("smoothly-input-checkbox", { key: '78a9cf0fe349660d1f6869a4051051006b0f13ac', name: "invalid" }, "Invalid"), h("smoothly-input", { key: '01b1d2c7089b8d24d40de9799f6296d8e2e1c34a', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), h("smoothly-input-checkbox", { key: '3a8c24b67d02e7e040ea452bcb74dfcf8176eb6c', name: "showLabel", checked: true }, "Show Label"), h("smoothly-input", { key: '143f2e8974ac80899bcac6c582cfe071c370b491', name: "placeholder" }, "Placeholder"), h("smoothly-input-checkbox", { key: 'd16643507059700194c9b5b5d402d83d68ac7d42', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), h("div", { key: '5c3a8ad043a7d87f872343009acf3b09c9c61b40', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, h("div", { key: '2f5cde81d501ffd5c2bce64e1b54586f489cd11f', class: "width" }, "width: 100%"), h("div", { key: 'a055e7019d888ca2c12161581c2c77a35fa247ba', class: "left-padding" }, "padding-left: 0.5rem"), h("smoothly-input", { key: 'f7840a4c2c7197895adabac250b283dd1209d440', name: "text", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel, placeholder: this.options.placeholder }, this.options.showLabel && h("span", { key: '5983ef639593b4f877b77b99d58f08d9fd47b98d' }, "Text"), h("smoothly-input-clear", { key: '252b68a3efdc6b70a0532eacb18cbcd137b207b3', slot: "end" })), h("div", { key: '37c4139e98071dec4901519ba10a075219e270bf', class: "height" }), h("smoothly-input-select", { key: '6ed894124eadea113968089eba5c38c7fff2caf4', name: "month", color: this.options.color, looks: this.options.looks, menuHeight: "6.7items", readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, placeholder: this.options.placeholder }, this.options.showLabel && h("label", { key: '2229eee3d5a4cab69d203a4f3b8f313693d1852c', slot: "label" }, "Select"), h("smoothly-item", { key: 'bfb7e1e1302677b556256f5c871eaabf83a1a22d', value: "1" }, "January"), h("smoothly-item", { key: '37b4e1404f0d93c3cfec6ae778a009cccc481f37', value: "2" }, "February"), h("smoothly-item", { key: '7804e2f534c4cd279e5f29e212bc8b3f07d3be9e', value: "3" }, "March"), h("smoothly-item", { key: '7de014b6870276d1afbc3f8b4780dd789b42501e', value: "4" }, "April"), h("smoothly-item", { key: 'e30eac74368b6ae4eaf58f371c8bdd0d030c76c1', value: "5" }, "May"), h("smoothly-item", { key: '90e999da893c3c3d6c9aea57d500808fac2f64d4', value: "6" }, "June"), h("smoothly-item", { key: '0c3ae02ce9a1c9ab4fca7c06fd3809ee8067bce5', value: "7" }, "July"), h("smoothly-item", { key: '689c71f20be3bc6fb057445c5ceaa60718f05603', value: "8" }, "August"), h("smoothly-item", { key: 'b1443376f5fa483d15873c9232290f6b6e270f1c', value: "9" }, "September"), h("smoothly-item", { key: '5055f6a2b1e136f911f32bc053d35c1931faaf02', value: "10" }, "October"), h("smoothly-item", { key: '512f871512f7bdd02462b286f724b66b7a845c48', value: "11" }, "November"), h("smoothly-item", { key: '4b6c5608cd060744cdd798803e67f2188ada562f', value: "12" }, "December"), h("smoothly-input-clear", { key: '7fd619f654ad16a0048a12793092d214bb87a7dc', slot: "end" })), h("div", { key: 'ab13b70b196dbc83d694145abd870bee5d121be1', class: "height" }), h("smoothly-input-checkbox", { key: '2eb487f1b741e7b12b50bc1b6eed8990a89b059e', name: "checkbox", checked: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled }, "Check", h("smoothly-input-reset", { key: 'df9db551b674bb4df52b7c84bafbf25adab266fa', slot: "end" })), h("div", { key: 'bb29d6b57fdf27d523c4690ce4903187590c5b18', class: "height" }), h("smoothly-input-radio", { key: '12e400081cb687023137e7f1a3834915c846ac3f', name: "radio", clearable: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel }, this.options.showLabel && h("label", { key: 'd0646e2ca2ddd5ec6d7b6cdcddace55e907f4f59', slot: "label" }, "Radio"), h("smoothly-input-radio-item", { key: '5f2dd2ecb3289f99f82367cc0ab4c14b578ca0a3', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '5abdb6fb7897c18e088c85ec08313769e744583c', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '2bba28393706691b0973bd9f92836bd28c890b07', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '5853dbcda5ed68ce1401245bba244f19a248ccbe', slot: "end" })), h("div", { key: '7b1fc6de01785728d758ea07c55c3f2ff47415c8', class: "height" }), h("smoothly-input-file", { key: '1eac17bd99f215911b95f67312164ed294952b6d', name: "file", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel, placeholder: this.options.placeholder }, this.options.showLabel && h("span", { key: '43d11a34c076520aed899bceb035c829836fd725', slot: "label" }, "File"), h("smoothly-input-clear", { key: '106b3c31ae10b64bdc4bc309a3512d58e929f4e2', slot: "end" })), h("div", { key: 'd13c20742bb1e088160b7cc59efb5f75dbfa4eaf', class: "height" }), h("smoothly-input-range", { key: 'd81378e953c5fe82ec020e544de7cf15d0e76434', name: "range", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, label: this.options.showLabel ? "Range" : undefined }, h("smoothly-input-clear", { key: '27e6247aa7c628859ebab11d8da32cf8be3dfd03', slot: "end" })), h("div", { key: 'ae21676a75148c438d070bf932e96b09f2237325', class: "height" }), h("smoothly-input-color", { key: '718f8309dd37c5e4552de5a2d5c00483b6397127', name: "color", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: 'eaadb8d6f5fa9f6143f2d2549e1b7901e32b2bef' }, "Color"), h("smoothly-input-clear", { key: 'f396f11146e3fb840e559086cf45ec745fe9dad8', slot: "end" })), h("div", { key: '60c4fcb685302ae33a5ff3f700b1b3c0010fd316', class: "height" }), h("smoothly-input-date", { key: '9eadbb8a6648c0986b83bc6c044683ddc7012472', name: "date", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel, placeholder: this.options.placeholder, alwaysShowGuide: this.options.alwaysShowGuide }, this.options.showLabel && h("span", { key: 'f2502eeec674553779739ba3bf9d6beaa55566a2' }, "Date"), h("smoothly-input-clear", { key: 'f36a9a9403e5aa756a5c1a955cc526b2b349aeb3', slot: "end" })), h("div", { key: 'd0a81dd6a18ae37f0c55e7aa448d4323197b4e40', class: "height" }), h("smoothly-input-date-time", { key: 'a2c25b754dab6b88d1e25a8abecbe227153eab18', name: "dateTime", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel }, "DateTime", h("smoothly-input-clear", { key: '8e392cdd2f0c92a9aca8f1e468c236065fd3c2b0', slot: "end" })), h("div", { key: '76f81fc46a552dd4ebe1b15b888b85e0faabf5bb', class: "height" }), h("smoothly-input-date-range", { key: '3837975fd0e591d52386c1b12f3171d64e91cf80', name: "dateRange", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, placeholder: this.options.placeholder, alwaysShowGuide: this.options.alwaysShowGuide, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '676c2f53a26198524881f0221c73e6b654bb13dc' }, "Date Range"), h("smoothly-input-clear", { key: '1e4740db4bf043f74cfafa1e7e91312878b71b86', slot: "end" })), h("div", { key: 'db0449b44b24dd20fccdb99329b876d938d5f68c', class: "height" }))));
|
|
7186
7186
|
}
|
|
7187
7187
|
get element() { return getElement(this); }
|
|
7188
7188
|
};
|
|
@@ -7201,11 +7201,11 @@ const SmoothlyInputDemoUserInput = class {
|
|
|
7201
7201
|
}
|
|
7202
7202
|
render() {
|
|
7203
7203
|
var _a, _b;
|
|
7204
|
-
return (h(Host, { key: '
|
|
7204
|
+
return (h(Host, { key: '3707001c9bf5406f3770f566924f8983d4444e18' }, h("div", { key: '6970bb763108f56a34284bb1f3cb73545f2dba2c' }, h("h2", { key: 'e5f96a2b6c360e8f9a81dd90d148822758719850' }, "User Input Event"), h("p", { key: 'e1fb246660c29ddb2791f4dc6f9779ed5f1c18a7' }, "These inputs demonstrate how user input is handled. The ", h("code", { key: '5a9145c2d8517baff49e70fd4aeed1f38600ba7f' }, "smoothlyUserInput"), " event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).", h("br", { key: '15459234d2bf75b83479ff0786a20d2433e2dec3' }), "Check the console to see the details of each ", h("code", { key: 'bc857f9996667580c4ba88a74eca429fbc0d9c83' }, "smoothlyUserInput"), " event.")), h("smoothly-button", { key: '66a1190b2266b0650ba087572545780f93d86ac0', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), h("smoothly-input", { key: 'a8630cec4bbada0c7084172822b3eeef576066ce', looks: "border", name: "demo-user-input-text", value: this.textIndex === undefined ? "" : this.values[this.textIndex], onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Text input"), h("smoothly-button", { key: '74fe6cc20fa495f2d6c79d13bb016bc76cada1bc', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), h("smoothly-input-select", { key: '5f1ad8448db267de3fc98b820be7aca9b64c2a9e', looks: "border", name: "demo-user-input-select", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '507fcecb4e27938be38144991221dfe3603c0667', slot: "label" }, "Select input"), this.values.map((value, index) => (h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), h("smoothly-button", { key: '883f987123234566bdfd192ebd71605b078434ab', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), h("smoothly-input-checkbox", { key: '26a326a43a44339392cca252cace5148c55305d9', looks: "border", name: "demo-user-input-checkbox", checked: this.checkboxChecked, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Checkbox input"), h("smoothly-button", { key: '39dfbc581f8468c49969d5186c9a39304c8b805c', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), h("smoothly-input-radio", { key: 'f26209ed69e401cacbf6ea0094c1e3c8c6640181', looks: "border", name: "demo-user-input-radio", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '30b7f2d96d68bbeef6578e5c3fa07d5c56e8131e', slot: "label" }, "Radio input"), this.values.map((value, index) => (h("smoothly-input-radio-item", { value: value, selected: index == this.radioIndex }, value)))), h("smoothly-button", { key: '7d1e0c7d7175bae2453a2392e47a84e21faaa4ea', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), h("smoothly-input-range", { key: '0d90079afa3c0beaf9562af7b6db39c0a2795008', looks: "border", name: "demo-user-input-range", step: 1, min: 0, max: this.values.length, value: this.rangeValue, label: "Range Input", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }), h("smoothly-button", { key: '2161ee4b978c2c37049cfc3d1bfd6ea5de6e16ea', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), h("smoothly-input-color", { key: '271b3aaeba445473425259990276cf6803eeba55', looks: "border", name: "demo-user-input-color", value: typeof this.colorIndex == "number" ? this.colors[this.colorIndex] : undefined, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Color input"), h("smoothly-button", { key: '5d21c601bdd2b921e6d6cd6596e871fe0ce0d486', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? isoly.Date.next(this.dateValue) : isoly.Date.now()) }, "Next day"), h("smoothly-input-date", { key: '176fda15f938f2b90134e186c75869db175621a3', looks: "border", name: "demo-user-input-date", value: this.dateValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date input"), h("smoothly-button", { key: '50ee6d7e90187eca79dea958e43fe4d38bb4e544', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
|
|
7205
7205
|
? isoly.DateTime.nextDay(this.datetimeValue)
|
|
7206
|
-
: isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: '
|
|
7206
|
+
: isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: 'b688a44b6ae626c27a5e3e26d4c9be570d0f59f1', looks: "border", name: "demo-user-input-datetime", value: this.datetimeValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date time input"), h("smoothly-button", { key: '9172cca5a258985cda5f244d38d56b692ea75e00', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
|
|
7207
7207
|
? { start: isoly.Date.next(this.dateRangeValue.start), end: isoly.Date.next(this.dateRangeValue.end) }
|
|
7208
|
-
: { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '
|
|
7208
|
+
: { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '4ee747fb66efa022a9e31fda59f4ca839e4b0c5d', looks: "border", name: "demo-user-input-daterange", start: (_a = this.dateRangeValue) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.dateRangeValue) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date range input")));
|
|
7209
7209
|
}
|
|
7210
7210
|
};
|
|
7211
7211
|
SmoothlyInputDemoUserInput.style = styleCss$L();
|
|
@@ -7238,7 +7238,7 @@ const SmoothlyInputEdit = class {
|
|
|
7238
7238
|
}
|
|
7239
7239
|
render() {
|
|
7240
7240
|
var _a;
|
|
7241
|
-
return (h(Host, { key: '
|
|
7241
|
+
return (h(Host, { key: '9a5ec7132b415604c425c43a2ac7c460c6ca784b', title: this.tooltip }, h("smoothly-button", { key: '68711cee29eb01755e85b9acb21bd153ef88f2df', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '73063df194c9194a5d06dc2c1d0fee8d03d0cdfa' }), h("smoothly-icon", { key: '39b4f6d6a588feeedfd6610777e323dc0da34f32', class: "default", name: "create-outline", size: "tiny" }))));
|
|
7242
7242
|
}
|
|
7243
7243
|
};
|
|
7244
7244
|
SmoothlyInputEdit.style = styleCss$K();
|
|
@@ -7354,7 +7354,7 @@ const SmoothlyInputFile = class {
|
|
|
7354
7354
|
}
|
|
7355
7355
|
render() {
|
|
7356
7356
|
var _a, _b, _c;
|
|
7357
|
-
return (h(Host, { key: '
|
|
7357
|
+
return (h(Host, { key: '2e050fb7cb01d7ca5883d61d758ac5977e4dc924', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: this.disabled ? undefined : 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: 'f86995572138b5b55929705c4aa61bb3b3c8a1d1' }, h("slot", { key: '52a4f69b13363d0a1fce31f90606ff4d21208121', name: "label" })), h("div", { key: 'c54b40386b0d0efba68b056be954938879ed7df9', class: "input" }, h("smoothly-button", { key: '9e410cfb7cb0fc2b978f4f74256a753c43491f17', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '41b301b936471d3c57001a1dbd44ca8372624c3a', name: "button" })), h("span", { key: '619c56a1f7e01df014208f2b4372db8a3da3daeb' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '22bc6bb85102cb5863ed88a7d6cbd51fd931c646', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: '6614887b4520638121de556ee1b22cbb7da6ed7f', name: "document-attach-outline" })), h("input", { key: 'f93e131c684891ac1b7f956a699db014dde8108c', ref: element => (this.input = element), type: "file", disabled: this.disabled, capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("span", { key: '0d1d1835e479070204bc72f083a6747d05387c82', onClick: (e) => e.stopPropagation() }, h("slot", { key: '7df7be0bc7f23c18e349bf5bba640a6cfa83813d', name: "end" }))));
|
|
7358
7358
|
}
|
|
7359
7359
|
get element() { return getElement(this); }
|
|
7360
7360
|
static get watchers() { return {
|
|
@@ -7480,21 +7480,21 @@ const SmoothlyInputMonth = class {
|
|
|
7480
7480
|
}
|
|
7481
7481
|
render() {
|
|
7482
7482
|
var _a, _b;
|
|
7483
|
-
return (h(Host, { key: '
|
|
7483
|
+
return (h(Host, { key: '0916e28b908af47e518baff4c2953a15c4e5b93e' }, h("smoothly-icon", { key: 'fd4d9e582a0feb692b8fc4455e0fef445326d929', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
7484
7484
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
7485
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
7485
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: 'b09547849f9f3e7f3780ea4e6231bcd47c4ae175', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
7486
7486
|
const month = e.detail.value;
|
|
7487
7487
|
if (month && isoly.Date.is(month)) {
|
|
7488
7488
|
const value = isoly.Date.firstOfMonth(month);
|
|
7489
7489
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
7490
7490
|
}
|
|
7491
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
7491
|
+
}, searchDisabled: true }, h("div", { key: 'e1f4f143cfef863419a68b24e887579ecf3fe9d9', slot: "label" }, h("slot", { key: '01b386aa3ec76ba077158774c26256b1c25c97ca', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: 'c7193a5c1430db7fbb14766b5e1985e1258cdb77', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
7492
7492
|
const year = e.detail.value;
|
|
7493
7493
|
if (year && isoly.Date.is(year)) {
|
|
7494
7494
|
const value = isoly.Date.firstOfMonth(year);
|
|
7495
7495
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
7496
7496
|
}
|
|
7497
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
7497
|
+
}, searchDisabled: true }, h("div", { key: '0d5bc697879c2c018331583326029b20fc7a442c', slot: "label" }, h("slot", { key: '3909a5c34b455c6ed65f6bebf7a2174e0577de2b', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: '441a3228fcb722ab8ebbcb1138aba71e0306625a', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly || !this.allowNextMonth }, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
7498
7498
|
}
|
|
7499
7499
|
get element() { return getElement(this); }
|
|
7500
7500
|
static get watchers() { return {
|
|
@@ -7527,7 +7527,7 @@ const SmoothlyInputPriceDemo = class {
|
|
|
7527
7527
|
this.currency = "USD";
|
|
7528
7528
|
}
|
|
7529
7529
|
render() {
|
|
7530
|
-
return (h(Host, { key: '
|
|
7530
|
+
return (h(Host, { key: 'c467c7cb0bc71a80d80b0249bbdaf6b6be48af4b' }, h("h2", { key: '216b76ae5cb923903331b846f0897471ae96bd87' }, "State demo on smoothly-input"), h("p", { key: '50522fbe29c228cf83f1450dbcb32e96d37b2587' }, "This demo/test the internal state of the smoothly-input component."), h("p", { key: '5393c97d661ad1dd1fe8bbac11a2f731ad7fea77' }, "The currency of the price should update when switching between the currencies."), h("smoothly-input-radio", { key: 'f782f50671c0b67344238121e6d742df328672bc', name: "currency", onSmoothlyInput: e => (this.currency = isoly.Currency.is(e.detail.currency) ? e.detail.currency : undefined) }, this.currencies.map(currency => (h("smoothly-input-radio-item", { key: currency, selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '18a4f7dbfc952fcfa6db9188f8ad98c0c7f98731', type: "price", currency: this.currency }, "price")));
|
|
7531
7531
|
}
|
|
7532
7532
|
};
|
|
7533
7533
|
SmoothlyInputPriceDemo.style = styleCss$H();
|
|
@@ -7686,7 +7686,7 @@ const SmoothlyInputRadioItem = class {
|
|
|
7686
7686
|
});
|
|
7687
7687
|
}
|
|
7688
7688
|
render() {
|
|
7689
|
-
return (h(Host, { key: '
|
|
7689
|
+
return (h(Host, { key: '6cda60049d14ae191ab196ba44e1b865b337638c', onClick: () => this.inputHandler(true) }, h("input", { key: '5e312eb0fef6fde4eeaa6f450447b0d2cd0536fe', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), h("smoothly-icon", { key: 'ac4eed680c8cb314f1b5f4a9857e6646aac6cb82', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), h("label", { key: 'c96f7fcd07b7687db703519960ae88101abb17c6' }, h("slot", { key: 'a3628941ed9b7a933c3a92908b0b5fd03d20d98e' })), h("slot", { key: 'f689489ccc1616f2715c1336979f674d64f56a9c', name: "detail" })));
|
|
7690
7690
|
}
|
|
7691
7691
|
get element() { return getElement(this); }
|
|
7692
7692
|
};
|
|
@@ -7795,18 +7795,18 @@ const SmoothlyInputRange = class {
|
|
|
7795
7795
|
}
|
|
7796
7796
|
render() {
|
|
7797
7797
|
var _a, _b, _c;
|
|
7798
|
-
return (h(Host, { key: '
|
|
7798
|
+
return (h(Host, { key: '5156fee6f8e0d7a3a14c11bc6476424935972d46', class: {
|
|
7799
7799
|
"output-side-right": this.outputSide === "right",
|
|
7800
7800
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
7801
|
-
} }, h("slot", { key: '
|
|
7801
|
+
} }, h("slot", { key: '85ba263c778cec6970979f819a815a98088a8dae', name: "start" }), h("div", { key: 'd1e281cc39cfd5b442c298659ddad32927f83a7e' }, h("label", { key: 'fbe971c908c237c3f2497e8c5c4d858abf031be6', htmlFor: this.name }, this.label), h("smoothly-input", { key: 'a123e5a35b4524d8d3f200f31dea6586947e2a3e', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
|
|
7802
7802
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
7803
7803
|
e.stopPropagation();
|
|
7804
7804
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
7805
|
-
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '
|
|
7805
|
+
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '8d3df2b1b5899cfe814bb70754ca586af4a5de25', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: '819a42fa4da5e95b804260f99197524fa2aaf90d', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly || this.disabled, onInput: event => {
|
|
7806
7806
|
event.stopPropagation();
|
|
7807
7807
|
this.setValue(event.target.valueAsNumber);
|
|
7808
7808
|
this.smoothlyUserInput.emit({ name: this.name, value: this.value });
|
|
7809
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '
|
|
7809
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: 'f0d1d8872a42854cf442f996de63ffcf584995cf', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: 'e3e904b4883dbceda975cd4d74cd526b77c5d471', name: "end" })));
|
|
7810
7810
|
}
|
|
7811
7811
|
get element() { return getElement(this); }
|
|
7812
7812
|
static get watchers() { return {
|
|
@@ -7831,7 +7831,7 @@ const SmoothlyInputRangeDemo = class {
|
|
|
7831
7831
|
registerInstance(this, hostRef);
|
|
7832
7832
|
}
|
|
7833
7833
|
render() {
|
|
7834
|
-
return (h(Host, { key: '
|
|
7834
|
+
return (h(Host, { key: 'fd572625434e3a3a511d2fdc4e39a11734eee8fb' }, h("h2", { key: '0bf7d54f8cf11e3e870d6c1152fdad2665baf305' }, "Range"), h("h3", { key: '37f05494fea8a36a05684fb0ad0aede0d27630aa' }, "Phone Number"), h("smoothly-input-range", { key: '68d94bdeb4db077a49a011c4849e99a1b33db40b', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: 'd1b81f1dae6424d685997bd8dfe02a10832a1b2a' }, "Stars out of ten"), h("smoothly-input-range", { key: 'dca3283520395117ed946a844bb46f7fc52c0212', max: 10, step: 1, label: "Stars" }), h("h3", { key: '8670432a44d93f9f7dbc315c1f0a51d9aa79100a' }, "Percent"), h("smoothly-input-range", { key: '78863ada16280bb963e15f1682aa8131667a1bd3', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: '1b4a9ba5d75f92f1f90dc46a4710a35edd2fe2e9' }, "With icon at start and clear button"), h("smoothly-input-range", { key: '95c8798a86fc50de7ad65b67f837a71e2743c2ae', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: 'f44529bf690bcf4ceff1dfa1520d2cf92a456f2f', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '27ef758b1ba28f93ae5a19cc14fb1bdbf1415c70', size: "icon", slot: "end" }))));
|
|
7835
7835
|
}
|
|
7836
7836
|
};
|
|
7837
7837
|
|
|
@@ -7878,7 +7878,7 @@ const SmoothlyInputReset = class {
|
|
|
7878
7878
|
}
|
|
7879
7879
|
render() {
|
|
7880
7880
|
var _a;
|
|
7881
|
-
return (h(Host, { key: '
|
|
7881
|
+
return (h(Host, { key: 'f69a407428454170f461cee5d8e6b8ece33f682f', title: this.tooltip }, h("smoothly-button", { key: '21fed26fa5cb6c8dc32af427f492cb5879682d3c', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined), onClick: event => this.clickHandler(event) }, h("slot", { key: 'ed9f01c4274c9b5b59c6cd27c2cdd62e3a7bb259' }), h("smoothly-icon", { key: '0ddd9963d333449a5d029b6c29f532ca8d2b3423', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
7882
7882
|
}
|
|
7883
7883
|
};
|
|
7884
7884
|
SmoothlyInputReset.style = styleCss$D();
|
|
@@ -8255,11 +8255,11 @@ const SmoothlyInputSelect = class {
|
|
|
8255
8255
|
}
|
|
8256
8256
|
}
|
|
8257
8257
|
render() {
|
|
8258
|
-
return (h(Host, { key: '
|
|
8258
|
+
return (h(Host, { key: '6d9239e0bb319a543a99a7c1d5876ab8956834af', class: { "has-value": this.selected.length !== 0, open: this.open, "has-filter": this.filter !== "" }, onClick: (e) => this.onClick(e) }, h("div", { key: '1bbd7412577695182436ea90d1e9034e541ddc2a', class: "select-display", ref: element => (this.displayElement = element) }, this.placeholder), h("div", { key: '20ae505d620469c1c9c1844891b17001833583c9', class: "icons", ref: element => (this.iconsElement = element) }, h("smoothly-icon", { key: '281acc334850d4f32a2a73c289181b5aba66c955', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'c571161f39c874c66656f81a7aa3fcf2f3526cdb', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: '555d40a6a768e0f28e427f8eade8afd35d127f00', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: '009fd9d19911fb0790d2850f9d10b867da144ed1', name: "label" }), h("div", { key: '5b7eeb9d3aefeabdf47193a367d47f314696ea2f', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, h("div", { key: '8f6e8ddc7f8b5505ee806d0a1fbf081d25feba28', class: "search" }, h("smoothly-icon", { key: 'e49ae095f2dc52ed27f8b8006cf41fa65e880d76', name: "search-outline", size: "small" }), h("input", { key: '2c8c17873271a717f6ee14455ecb717280a45b99', class: "search-input", ref: el => (this.searchElement = el), disabled: this.searchDisabled, onKeyDown: e => this.onKeyDown(e), onInput: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); }, onPaste: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); } }), h("smoothly-icon", { key: '7b008955b46e1c60e5fff82faf06f2899e6cabd1', name: "backspace-outline", size: "small", onClick: () => {
|
|
8259
8259
|
var _a;
|
|
8260
8260
|
this.resetFilter();
|
|
8261
8261
|
(_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
8262
|
-
} }), this.mutable && h("smoothly-icon", { key: '
|
|
8262
|
+
} }), this.mutable && h("smoothly-icon", { key: 'c8ad6a47483f41b314cd432a55820df927feb326', name: "add", size: "small", onClick: () => this.addItem() })), h("div", { key: '7d6c90136e1d0ff45b1639d3366c312c94ffde33', class: "menu", hidden: !this.open }, h("slot", { key: 'aca107a78851a9af53747d7ee022255ceac9dc9c' }), this.addedItems))));
|
|
8263
8263
|
}
|
|
8264
8264
|
get element() { return getElement(this); }
|
|
8265
8265
|
static get watchers() { return {
|
|
@@ -8329,7 +8329,7 @@ const SmoothlyInputSubmit = class {
|
|
|
8329
8329
|
}
|
|
8330
8330
|
render() {
|
|
8331
8331
|
var _a, _b;
|
|
8332
|
-
return (h(Host, { key: '
|
|
8332
|
+
return (h(Host, { key: '70b53b4424d3bb5c5daf2d8cedbc0ef488a35e38', title: this.tooltip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
8333
8333
|
}
|
|
8334
8334
|
};
|
|
8335
8335
|
SmoothlyInputSubmit.style = styleCss$B();
|
|
@@ -8375,7 +8375,7 @@ const SmoothlyItem = class {
|
|
|
8375
8375
|
: false;
|
|
8376
8376
|
}
|
|
8377
8377
|
render() {
|
|
8378
|
-
return (h(Host, { key: '
|
|
8378
|
+
return (h(Host, { key: 'f86c77b9ed66eeca4f9521883517fea9a8ce3292', tabIndex: -1 }, h("slot", { key: '9a72363e41c726d78c213179afcebafcafa48abc' })));
|
|
8379
8379
|
}
|
|
8380
8380
|
get element() { return getElement(this); }
|
|
8381
8381
|
static get watchers() { return {
|
|
@@ -8394,9 +8394,9 @@ const SmoothlyLabel = class {
|
|
|
8394
8394
|
}
|
|
8395
8395
|
render() {
|
|
8396
8396
|
var _a;
|
|
8397
|
-
return (h(Host, { key: '
|
|
8397
|
+
return (h(Host, { key: 'ce3bb78edc46a6edd6ceeb2d8d799835e74e889e', title: this.description, style: {
|
|
8398
8398
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
8399
|
-
} }, h("slot", { key: '
|
|
8399
|
+
} }, h("slot", { key: 'e2d3e99a943fe1a2e862e0102d87c327c9c3f1b8' })));
|
|
8400
8400
|
}
|
|
8401
8401
|
};
|
|
8402
8402
|
SmoothlyLabel.style = styleCss$z();
|
|
@@ -8413,7 +8413,7 @@ const SmoothlyLazy = class {
|
|
|
8413
8413
|
this.show = true;
|
|
8414
8414
|
}
|
|
8415
8415
|
render() {
|
|
8416
|
-
return (h(Host, { key: '
|
|
8416
|
+
return (h(Host, { key: 'ba06250ac8a325c3b51801b09999efdbd0c552f6' }, h("slot", { key: '89e3aa0b677038bac4a999c3aba63e8f86f3e9ea', name: "before" }), h("smoothly-load-more", { key: '4d817981ffa9f3231972a3eb153339ca805c05e3', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: '55ab66fb5706d1bb40350a5b545b97ddb5787eab' })));
|
|
8417
8417
|
}
|
|
8418
8418
|
};
|
|
8419
8419
|
SmoothlyLazy.style = styleCss$y();
|
|
@@ -8457,7 +8457,7 @@ const LoadMore = class {
|
|
|
8457
8457
|
}
|
|
8458
8458
|
}
|
|
8459
8459
|
render() {
|
|
8460
|
-
return h(Host, { key: '
|
|
8460
|
+
return h(Host, { key: 'c53981c4ea71c41217b4a4262c971dab45a84fe9' });
|
|
8461
8461
|
}
|
|
8462
8462
|
get element() { return getElement(this); }
|
|
8463
8463
|
};
|
|
@@ -8482,9 +8482,9 @@ const SmoothlyModal = class {
|
|
|
8482
8482
|
this.open = true;
|
|
8483
8483
|
}
|
|
8484
8484
|
render() {
|
|
8485
|
-
return (h(Host, { key: '
|
|
8485
|
+
return (h(Host, { key: 'c8517f814256addf886be09be0058a8c15b73c14', role: "alertdialog", onClick: (e) => {
|
|
8486
8486
|
this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
|
|
8487
|
-
} }, h("div", { key: '
|
|
8487
|
+
} }, h("div", { key: '665feff20545ab424191b52e7cba17414d6d79c9', class: "modal" }, h("div", { key: '1a459e840e395cc03825883b8305c070929dfc34', class: "header" }, h("slot", { key: 'b89490cc7029d45456126502db3985fcfdd99fd9', name: "header" }), this.closable && h("smoothly-icon", { key: '83559c6915c83f2f2fdc0ac3e173e55845b7b4f3', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: '4f069fcb1506d9fbdcaba2c657c7af533dec9bae' }), h("div", { key: 'df07bf9b97164aa24c8a7c41440494372f2ae9e0', class: "actions" }, h("slot", { key: '78a5774d274306aef00dc5a6cb91bf0027b84543', name: "actions" })))));
|
|
8488
8488
|
}
|
|
8489
8489
|
static get watchers() { return {
|
|
8490
8490
|
"open": [{
|
|
@@ -8549,7 +8549,7 @@ const Notification = class {
|
|
|
8549
8549
|
this.onUpdatedNotice(this.notice);
|
|
8550
8550
|
}
|
|
8551
8551
|
render() {
|
|
8552
|
-
return (h(Host, { key: '
|
|
8552
|
+
return (h(Host, { key: '73f1ac93fe920e40d0045cf9ae2c756ffe451d66', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: 'c044dec06d857487dbdb8a17d20c6d07c6b7e370', fill: "clear", name: "close" }, h("smoothly-icon", { key: 'd33fb56efc3ff17f1ba41c16ffd4ed214b98bc57', name: "close-circle-outline" }))), h("span", { key: 'd2554c0a86856c3f8f760d8e71f9761b619ddf41', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: 'f4466028e87356a50f0cdb08ba23dbd1d65d5689', name: this.properties[1] }), h("p", { key: '6de62c145781c1127b7ea762a371f7a142bc324f' }, this.notice.message))));
|
|
8553
8553
|
}
|
|
8554
8554
|
static get watchers() { return {
|
|
8555
8555
|
"notice": [{
|
|
@@ -8574,11 +8574,24 @@ const Notifier = class {
|
|
|
8574
8574
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
8575
8575
|
}
|
|
8576
8576
|
render() {
|
|
8577
|
-
return (h(Host, { key: '
|
|
8577
|
+
return (h(Host, { key: '4e003f931f925f8b9b7bf025a30ed5637d1883f6' }, h("slot", { key: '24474dce23d51652d402faf096be33cbd2356a53' }), h("div", { key: '23d8511a4e84d13e2e19a623ebadcc7957881221', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
8578
8578
|
}
|
|
8579
8579
|
};
|
|
8580
8580
|
Notifier.style = styleCss$v();
|
|
8581
8581
|
|
|
8582
|
+
const SmoothlyNotifierDemo = class {
|
|
8583
|
+
constructor(hostRef) {
|
|
8584
|
+
registerInstance(this, hostRef);
|
|
8585
|
+
this.notice = createEvent(this, "notice");
|
|
8586
|
+
}
|
|
8587
|
+
task(succeed, ms = 2000) {
|
|
8588
|
+
return () => new Promise(resolve => window.setTimeout(() => resolve(succeed ? [true, "Task completed."] : [false, "Task failed."]), ms));
|
|
8589
|
+
}
|
|
8590
|
+
render() {
|
|
8591
|
+
return (h("main", { key: 'e3d338d08a8155c994f121e190583b1492631049' }, h("fieldset", { key: '3d775b4ed5229982b2dbe2175a80223ccda92106' }, h("h2", { key: '0a351b1923d27a7bf576c2fbb43cd5368ce6442d' }, "Immediate"), h("p", { key: 'bff747d88b7d561ec2a60a65b76ee0c1bc49ad39' }, "Fires right away and closes after the default 15 seconds."), h("smoothly-button", { key: '1b8830e040cd6530425d3d66b5c78a7ed4e80357', color: "success", fill: "solid", onClick: () => this.notice.emit(Notice.succeeded("Payment processed successfully.")) }, "Success"), h("smoothly-button", { key: '3ad3baf9b33d67c27fdd0cff8585f7b6eeed8807', color: "danger", fill: "solid", onClick: () => this.notice.emit(Notice.failed("Payment could not be processed.")) }, "Failed"), h("smoothly-button", { key: '2c90a3b3742edac4c4afcee809048e65375ec705', color: "warning", fill: "solid", onClick: () => this.notice.emit(Notice.warn("Balance is running low.")) }, "Warning")), h("fieldset", { key: 'e9740e78990b6beefb77c16663e96d627b619b7b' }, h("h2", { key: '9668a13f88db3b43b20e84d64339e46c0b876f9a' }, "Task"), h("p", { key: '9625eaf81bd2a90ca74094f5a6ba4a23e8605853' }, "Shows an executing spinner while the task runs, then transitions to success or failure."), h("smoothly-button", { key: 'e99ab12076adc90e2097c7586e4f6d2377ba592c', color: "success", fill: "outline", onClick: () => this.notice.emit(Notice.execute("Processing payment…", this.task(true))) }, "Execute (succeeds after 2s)"), h("smoothly-button", { key: 'c37c6803dcc33ebb1789e981ec9bbd4453df2944', color: "danger", fill: "outline", onClick: () => this.notice.emit(Notice.execute("Processing payment…", this.task(false))) }, "Execute (fails after 2s)"), h("smoothly-button", { key: 'e37ff795ca11e50e80bac180c0b9fae40e8ec587', color: "medium", fill: "solid", onClick: () => this.notice.emit(Notice.delay("Payment scheduled…", this.task(true))) }, "Delay (waits 5s, then executes)")), h("fieldset", { key: 'af63d14a88d1cd79fb022d5efbd9f5a42adf191b' }, h("h2", { key: '2fe03dc548758db94a03948f0595a296e145a0e5' }, "Custom lifetime"), h("p", { key: '6aead78b7f995d63d29f75d8a164aaf2188111bd' }, "Controls how long the notice stays visible after resolving."), h("smoothly-button", { key: 'f480806e042ba24075c030c7a767a1fb4a65de22', color: "success", fill: "solid", onClick: () => this.notice.emit(Notice.succeeded("Gone in 3 seconds.", 3000)) }, "Success (3s)"), h("smoothly-button", { key: 'bd377ef80546a629a08919899fff0e4c57ad24b3', color: "warning", fill: "solid", onClick: () => this.notice.emit(Notice.warn("Sticks around for 30 seconds.", 30000)) }, "Warning (30s)"))));
|
|
8592
|
+
}
|
|
8593
|
+
};
|
|
8594
|
+
|
|
8582
8595
|
const styleCss$u = () => `[hidden].sc-smoothly-spinner-h{display:none}.sc-smoothly-spinner-h{cursor:wait;--spinner-time:1.4s;--spinner-color:var(--smoothly-color-contrast);--spinner-background:var(--smoothly-color);--spinner-background-opacity:var(--smoothly-semitransparent, 0.8);display:block;stroke:rgb(var(--spinner-color));background-color:rgba(var(--spinner-background), var(--spinner-background-opacity))}.sc-smoothly-spinner-h:not([overlay]){width:var(--spinner-size);height:var(--spinner-size)}[overlay].sc-smoothly-spinner-h{position:absolute;inset:0;width:100%;height:100%;z-index:4;background-color:rgba(var(--spinner-background), var(--spinner-background-opacity))}[color].sc-smoothly-spinner-h:not([overlay]),[color][overlay].sc-smoothly-spinner-h{background-color:rgba(var(--spinner-background), var(--spinner-background-opacity));stroke:rgb(var(--spinner-color))}[overlay].sc-smoothly-spinner-h>svg.sc-smoothly-spinner{position:absolute;width:var(--spinner-size);left:calc(50% - var(--spinner-size) / 2);top:calc(50% - var(--spinner-size) / 2)}.sc-smoothly-spinner-h>svg.sc-smoothly-spinner{animation:SPIN-SVG var(--spinner-time) linear infinite}.sc-smoothly-spinner-h>svg.sc-smoothly-spinner>circle.sc-smoothly-spinner{transform-origin:center;animation:SPIN-CIRCLE var(--spinner-time) ease-in-out infinite;stroke-dasharray:187;stroke-dashoffset:0}@keyframes SPIN-SVG{0%{transform:rotate(0deg)}100%{transform:rotate(270deg)}}@keyframes SPIN-CIRCLE{0%{stroke-dashoffset:187}50%{stroke-dashoffset:46.75;transform:rotate(135deg)}100%{stroke-dashoffset:187;transform:rotate(450deg)}}`;
|
|
8583
8596
|
|
|
8584
8597
|
const SmoothlySpinner = class {
|
|
@@ -8588,9 +8601,9 @@ const SmoothlySpinner = class {
|
|
|
8588
8601
|
}
|
|
8589
8602
|
render() {
|
|
8590
8603
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
8591
|
-
return (h(Host, { key: '
|
|
8604
|
+
return (h(Host, { key: 'ecb6e441b9ff2e197c2b600e2c5b2d51cd95ee89', style: {
|
|
8592
8605
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
8593
|
-
} }, h("svg", { key: '
|
|
8606
|
+
} }, h("svg", { key: '5e6288163ac9a0fe615a91e8431fb78a966630ea', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '7ad5566138f4d87e15be7bc0d4777e80cc6c1f83', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
8594
8607
|
}
|
|
8595
8608
|
};
|
|
8596
8609
|
SmoothlySpinner.style = styleCss$u();
|
|
@@ -8610,7 +8623,7 @@ const SmoothlySummary = class {
|
|
|
8610
8623
|
}
|
|
8611
8624
|
}
|
|
8612
8625
|
render() {
|
|
8613
|
-
return (h("details", { key: '
|
|
8626
|
+
return (h("details", { key: 'e033a7d2dadc508342c0e35b8b50502452c285f5', onToggle: e => this.toggleHandler(e), open: this.open }, h("summary", { key: '2081c1c5e3c154fa26e4333f519f56232895ee74' }, h("smoothly-icon", { key: 'e8c587d8d364e72e1dd1e2958db8f784343a8508', name: "caret-forward", fill: "solid", size: "tiny" }), h("slot", { key: '158befa55709d084049bec16c29d2bef2a2884e0', name: "summary" })), h("slot", { key: 'fff93c13da720ef9e0905ac698bba0baf9dd9c20', name: "content" })));
|
|
8614
8627
|
}
|
|
8615
8628
|
};
|
|
8616
8629
|
SmoothlySummary.style = styleCss$t();
|
|
@@ -8655,7 +8668,7 @@ const SmoothlyTab = class {
|
|
|
8655
8668
|
}
|
|
8656
8669
|
}
|
|
8657
8670
|
render() {
|
|
8658
|
-
return (h(Host, { key: '
|
|
8671
|
+
return (h(Host, { key: 'ae035e66fbacdf7ce232ec1be2d73b2573bea978' }, h("div", { key: '8b16f293f91934e88ac5d41a837f83506ea50737', onClick: () => !this.disabled && (this.open = true) }, h("label", { key: '3d2d6e324ad8bcfe438e5ed9000271c04840f3ea', "data-smoothly-tooltip": this.tooltip }, this.label)), h("div", { key: '3b041ece9f6bd5931bef85b1b3d8f50ea1200e1e', hidden: !this.open }, h("slot", { key: '157b5ecc4ace4e1318629b12a34d9e7b52d20af4' }))));
|
|
8659
8672
|
}
|
|
8660
8673
|
get element() { return getElement(this); }
|
|
8661
8674
|
static get watchers() { return {
|
|
@@ -8680,7 +8693,7 @@ const SmoothlyTable = class {
|
|
|
8680
8693
|
event.stopPropagation();
|
|
8681
8694
|
}
|
|
8682
8695
|
render() {
|
|
8683
|
-
return (h(Host, { key: '
|
|
8696
|
+
return (h(Host, { key: 'f875112f3c3c917be64b0874106e35a318b3ded5', style: { "--columns": this.columns.toString() } }, h("slot", { key: 'f84673ca127c951381152b7e5b70b3d0d16f584a' })));
|
|
8684
8697
|
}
|
|
8685
8698
|
};
|
|
8686
8699
|
SmoothlyTable.style = styleCss$r();
|
|
@@ -8692,7 +8705,7 @@ const SmoothlyTableBody = class {
|
|
|
8692
8705
|
registerInstance(this, hostRef);
|
|
8693
8706
|
}
|
|
8694
8707
|
render() {
|
|
8695
|
-
return (h(Host, { key: '
|
|
8708
|
+
return (h(Host, { key: '1f19a1c0da7b296ea394daa0bc91ac499424ad0e' }, h("slot", { key: 'acd72cd22a3d49c02de514f5f9818d16ff913897' })));
|
|
8696
8709
|
}
|
|
8697
8710
|
};
|
|
8698
8711
|
SmoothlyTableBody.style = styleCss$q();
|
|
@@ -8706,7 +8719,7 @@ const SmoothlyTableCell = class {
|
|
|
8706
8719
|
}
|
|
8707
8720
|
render() {
|
|
8708
8721
|
var _a;
|
|
8709
|
-
return (h(Host, { key: '
|
|
8722
|
+
return (h(Host, { key: '71cd9be174ec7961ae0b338fd5775a0f8b41264c', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, h("slot", { key: '9cbca72183db11968f3a6630bd1a226830754bd7' })));
|
|
8710
8723
|
}
|
|
8711
8724
|
};
|
|
8712
8725
|
SmoothlyTableCell.style = styleCss$p();
|
|
@@ -8718,7 +8731,7 @@ const SmoothlyTableDemo = class {
|
|
|
8718
8731
|
registerInstance(this, hostRef);
|
|
8719
8732
|
}
|
|
8720
8733
|
render() {
|
|
8721
|
-
return (h(Host, { key: '
|
|
8734
|
+
return (h(Host, { key: 'ce870c3cb75e3021ae6df094be0beb4e15a4fa96' }, h("smoothly-table-demo-filler-row", { key: '8454629cbaca209d691c20e2cadb2084fb813d0c' }), h("smoothly-table-demo-group", { key: '4a39a52dd85a7820ff9144684ced5a9c39e68b9a' }), h("smoothly-table-demo-colspan", { key: '69466e2c64c235167f3f48ce792a883ccb0c4304' }), h("smoothly-table-demo-simple", { key: '7185d7dfafc506488c5d8de8eeb2d1f0771712af' }), h("smoothly-table-demo-nested-no-cell", { key: '30e67b1983df629081c1c4e7cbf4787817ce2bbb' })));
|
|
8722
8735
|
}
|
|
8723
8736
|
};
|
|
8724
8737
|
SmoothlyTableDemo.style = styleCss$o();
|
|
@@ -8730,7 +8743,7 @@ const SmoothlyTableDemoColspan = class {
|
|
|
8730
8743
|
registerInstance(this, hostRef);
|
|
8731
8744
|
}
|
|
8732
8745
|
render() {
|
|
8733
|
-
return (h(Host, { key: '
|
|
8746
|
+
return (h(Host, { key: '0c48cda90a42886342351b0a4f4b0ddcdbba84e1' }, h("smoothly-table", { key: '6ddf793f667d275b6e3969331d06c1d2f5e4c491', columns: 3 }, h("smoothly-table-head", { key: '425732dcb06bbc7dd1c5b46689fcb9a5d1f8aae0' }, h("smoothly-table-row", { key: '698dbdfbabfb904df19d92aaef652fc57b4371ad' }, h("smoothly-table-cell", { key: '162b14024e5d5c1993c2c5120f014bd65dc452b8' }, "Date"), h("smoothly-table-cell", { key: '7c8dfddd08a7a241ba4921d48c231e154e8ce2f7' }, "Skip"), h("smoothly-table-cell", { key: '90c02f35f7233314a0478fdef7fe7e8d59ee6307' }, "Total"))), h("smoothly-table-body", { key: 'ee7c05917d77a73653f262da586d358a6c2d8c5f' }, h("smoothly-table-row", { key: 'fb8ea7dbe4c82f92258d4c531f88bf9192a121a7' }, h("smoothly-table-cell", { key: '8c4f6a68055a38eafbbedde78acdec47610c3a45', span: 2 }, h("smoothly-display", { key: '914cbd4c7716cb44df1fb2c9f30e864733398627', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: '28379684e4c04c36261cece4276bd0599bca8201' }, h("smoothly-display", { key: '454f88e0c8f6236864d5507677e87c4129940fd6', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: '484339508d40ad812eb7edd24efa06ed18739b39' }, h("smoothly-table-expandable-cell", { key: '885b10db54f9fb0051f0ac8d878dbd4a5413d698', span: 2 }, h("smoothly-display", { key: '27a9840c4c283269809fef636b95e7dc46d18586', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: '031f1ee60536b3b633c7638aed6e0d1d6a013ba8', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: 'c1e0fc733a48eb0e5bf50d0ff70494e0f293b34e' }, h("smoothly-display", { key: 'fe0202769ab5932ed8257867802e297707efdb78', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: 'e170de6a7c33e6ce938e2a5240a33397a9d15d21', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-table-row", { key: 'e06c96d7d22adc11c20140b67b877b69c0b95737' }, h("smoothly-table-cell", { key: '6a6a0d756b16ccc002934e7aea89165959748518' }, h("smoothly-display", { key: '9cabf2591bbfe35af7e58f649a185b872843b365', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'bc20c5059843db6e9a61b5f600ddcbb959c544cd' }, "Not Skipped"), h("smoothly-table-cell", { key: '306e585f47e9eb496ef5a1ddbecfcc9c823adde2' }, h("smoothly-display", { key: 'b1623473097b41ebc6bf1a03eeafd4a650371b98', type: "price", value: 320, currency: "EUR" })))))));
|
|
8734
8747
|
}
|
|
8735
8748
|
};
|
|
8736
8749
|
SmoothlyTableDemoColspan.style = styleCss$n();
|
|
@@ -8748,7 +8761,7 @@ const SmoothlyTableDemoFillerRow = class {
|
|
|
8748
8761
|
}, 3000);
|
|
8749
8762
|
}
|
|
8750
8763
|
render() {
|
|
8751
|
-
return (h(Host, { key: '
|
|
8764
|
+
return (h(Host, { key: '557f61c2ccd69af2aefa39306df1aad555ff0744' }, h("smoothly-display", { key: '7ab6ad735601adb00416b7e36c0cd8815ad61ef8', type: "text", value: "Filler row" }), h("smoothly-table", { key: '5a4a96a7e7eefb555c293a59fa4549566c4e3d37', color: "primary", columns: 4 }, h("smoothly-table-head", { key: '6552d25cd1b2655207fd58a8b193125c5489e44a' }, h("smoothly-table-row", { key: '713cc7a78a8375c1559e6dd612e91012d95d94e9' }, h("smoothly-table-cell", { key: '6916664b0ccc30759af2b01eecbb0720a293e5e1' }, "Breed"), h("smoothly-table-cell", { key: '23ebe72dbbfbb68993ce024cd574a80c78fedf97' }, "Country"), h("smoothly-table-cell", { key: '56dc58c22a7fbc62a5a33d88e11e3198d76cce8b' }, "Coat"), h("smoothly-table-cell", { key: '1b17e1b9e961951228b9134a979e154650a5692f' }, "Origin"))), h("smoothly-table-body", { key: 'e9cabfd3b379487e2f47c4e292f61f219dd1a170' }, this.cats === undefined ? (h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-table-row", null, h("div", { class: "smoothly-table-cell" }, a.breed), h("div", { class: "smoothly-table-cell" }, a.country), h("div", { class: "smoothly-table-cell" }, a.coat), h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
|
|
8752
8765
|
}
|
|
8753
8766
|
};
|
|
8754
8767
|
SmoothlyTableDemoFillerRow.style = styleCss$m();
|
|
@@ -8760,7 +8773,7 @@ const SmoothlyTableDemoGroup = class {
|
|
|
8760
8773
|
registerInstance(this, hostRef);
|
|
8761
8774
|
}
|
|
8762
8775
|
render() {
|
|
8763
|
-
return (h(Host, { key: '
|
|
8776
|
+
return (h(Host, { key: 'c2349ac60d42721e7efdd0145bda64bf634665f9' }, h("smoothly-display", { key: '3fa0ccdbb80609b7d1213e4607a8417d654ba61e', type: "text", value: "Group" }), h("smoothly-table", { key: '031831fab9aad960876d3652e0f061bc11c6b641', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '8962746018f32803f9194677e85b1cac061cbc8a' }, h("smoothly-table-row", { key: 'ce3b222b7bf572395130029a242349f1f23e3efa' }, h("smoothly-table-cell", { key: '9b487a8dd643eeb32b8636a393a21825af9e15f0' }, "Date"), h("smoothly-table-cell", { key: '9445abb441db3d0474aa0925da39f9f8cd841e96' }, "Total"))), h("smoothly-table-body", { key: 'e05046be6bcd868fedd3a998e33243d350a24fac' }, h("smoothly-table-row-group", { key: '9f9f39b99ee48b80079e4f0c7b8b5933841bc8db', align: true }, h("smoothly-display", { key: 'f5c8b076b84674dca4082025540f37fed2c1fdfb', slot: "start", type: "date", value: "2024-01-01" }), h("smoothly-display", { key: '8684e46b76affeace45688d66ce925053e8487cb', slot: "end", type: "price", currency: "EUR", value: 510 }), h("smoothly-table-expandable-row", { key: 'eafc06e33f099744334b1ab4633c4065e5c7bafb' }, h("smoothly-table-cell", { key: '163413e33f1fc87f3ee8d913b7f67aadaef23527' }, h("smoothly-display", { key: '7906a8a2a7cdbc094ea377dbbf46f46ea1aa2773', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'b7c3d34d0872a3b925cd59648818ac4f970f7665' }, h("smoothly-display", { key: '1755af70c7682d88f2a8053249f618e21ccd8dcd', type: "price", currency: "EUR", value: 250 })), h("smoothly-lazy", { key: '972b58445087486e16aa9ef60ceca24b0cdb878a', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: 'f4167f1f151a4b6a11e55c3b44b44a174e7e460a' }, h("smoothly-table-cell", { key: 'd42b86d4bbbfa2687ccb9ef5426199cfcb970454' }, h("smoothly-display", { key: '691ce08e0f570a2fe95f6274c5e5a2c594ca0e81', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'ca5ba776a4c026015fe14ffd6c0f61682fb50a0e' }, h("smoothly-display", { key: '314ca518de45211edf1b423fe2fd5e6e852e0abf', type: "price", currency: "EUR", value: 260 })), h("smoothly-lazy", { key: '3ab4074da42478f0275ad173efbbcb4ae7892132', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), h("smoothly-table-row", { key: '15c7c4c80763efe785d46350dbcb9458787fa7de' }, h("smoothly-table-cell", { key: 'dc40672665de18746244848faf04db3ad9f5aeef' }, h("smoothly-display", { key: '49eb95b7c7cddc7b31919e63052773b561ec73e4', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'a06c95ad5472971a1e65334780f236ec9661730d' }, h("smoothly-display", { key: 'c7e5e70b5711a0921bc9b31a783a6c74d5052115', type: "price", currency: "EUR", value: 130 }))), h("smoothly-table-row-group", { key: '4d369fc1b9f725c6c87119f74ceacc791e7ecedd' }, h("smoothly-display", { key: '7476433911fe24ae672a06fbcd1903b30d9d4dcd', slot: "start", type: "date", value: "2024-01-03" }), h("smoothly-display", { key: '66757326ae2f2533781187b3cc539ecc630e18da', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: '074ed70eee56b560206f6af3c3653f866eb19b1f' }, h("smoothly-table-cell", { key: 'd42fa537b638422f059064fc81f3eca4b508adb1' }, h("smoothly-display", { key: '53555e64e4a188b56312547d00e051400db9109b', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), h("smoothly-table-cell", { key: '9a87625f1792a602a8f261b09639a2f3437e4a00' }, h("smoothly-display", { key: '48f68e9b82035798b802914d1e3676baeb45b1c6', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: 'fda86f80536a88dfc1b37122353d7728d59c3145', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '79f5e690018349b7bbf387f42459fd0cf7bf41c9' }, h("smoothly-table-cell", { key: 'b90737c98969bac197c075f618074d0de7e49ba4' }, h("smoothly-display", { key: 'e8f3430fe190bd51b2f16613545502e080e881ec', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'b6d3f7d14324859ba247b4936b21a8730b3d48f5' }, h("smoothly-display", { key: '2a31cd875eb7275138ff31018fa00445d98636f9', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '4fead269f59feb74e3182c5f45ceb27f75b06815', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: 'f934924e769318b0cbf620e8b36dd5beb5b9289b' }, h("smoothly-display", { key: '19cd9b2be6022ee7ca06d65ea8ed7233cfc09282', slot: "start", type: "date", value: "2024-01-04" }), h("smoothly-table-expandable-row", { key: 'da7f61e549d633fcfeb11d0b6340db1ed25b2203' }, h("smoothly-table-cell", { key: 'b317a6ff13c60a5e788285295131c314dfdc5451' }, h("smoothly-display", { key: 'fdc2c7b05beb0d0a85cb132ecda0250dec82437b', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), h("smoothly-table-cell", { key: '00332f1d86bee165bfcb258a7e0a977630391c3f' }, h("smoothly-display", { key: '482fb06ef577eebb00020dc96c1f38be4a9c06f4', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: 'e0be1bdf78a509739ba6200b84eb09b1fdceafa5', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '33394ca7530c500982772ad00fa167a28945dac7' }, h("smoothly-table-cell", { key: '9d0342b72e2e1c5c4fe165f5dd82e2bd2aea486e' }, h("smoothly-display", { key: '7067dcfee78ed06a503fda1daba6d2290e542749', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), h("smoothly-table-cell", { key: '0dc3ff01ee8aa112baadd9d9b86950be1e206863' }, h("smoothly-display", { key: 'ff66908b6e8fae1880aeb7c2e3afb2fa0459055b', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: 'd4c0cbfd9ea8e4325b8ae831e4c39e4c454a78df', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: '094dcd75d983e523eec8cb86ef99dcf162e38ea9' }, h("smoothly-display", { key: '69f640137011b2a87f19869a37d4838472a0e85c', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: '5813f668878b19bda0ec525192f8bd114b8eea10' }, h("smoothly-table-cell", { key: 'a17328b2f0e29e25462129c21a4f7285a570d55b' }, h("smoothly-display", { key: 'a0d200bab62d2d1cd9c79d671dac3a01aa49d596', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'e1d33ee6f5562a526343a7b8a8a4eedd74536faa' }, h("smoothly-display", { key: 'fbee48d8fa8d7360f35e81f52953a1e50d059f66', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: '4b35e8e6b67c474be6f1921df8c035ca75e6d65e', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '73b7b56a1374a050d4c060481691a765993d7aa0' }, h("smoothly-table-cell", { key: 'ef757fee21011b6217509b8df104bbd551a8f083' }, h("smoothly-display", { key: 'ce28e49e2b34609b9b118c1d959b40e92da999ea', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), h("smoothly-table-cell", { key: '9ab4fffdd44c403204a950bf6988c85cec2b566d' }, h("smoothly-display", { key: 'f031bf8fedf553a4a35941682c52c20a5d35945c', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '6be1eed0b8757a4ef23b2f89d207de78a691fb2a', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), h("fake-group-wrapper", { key: '217e2c3da76ee12debcfdd72e8dc1a5ce366e677' }, h("smoothly-table-row-group", { key: '6b6a75487b0649e29aaa80f09ae1525fb89d0a4a' }, h("smoothly-display", { key: '595d74d25315145d10c0f90cb425080f26327171', slot: "start", type: "date", value: "2024-01-06" }), h("smoothly-display", { key: '0960bdd999050e2ef1f54affd7d9c7e37b7a105f', slot: "end", type: "price", currency: "EUR", value: 720 }), h("fake-row-wrapper", { key: '99957e7a704294b44a16785076c8039fabafe467' }, h("smoothly-table-row", { key: '094abc7dde56b47077b83d4aeee91d935673dbca' }, h("fake-cell-wrapper", { key: 'c3046f3eb7072139a86ec4c777a83e3b31342a5f' }, h("smoothly-table-cell", { key: '65e3f33d4e058906c1e705c138f64eb875372f8b' }, h("smoothly-display", { key: 'dae18d82f496305e108996e52fb4f08df46c0b4d', type: "date", value: "2024-01-02" }))), h("fake-expandable-cell-wrapper", { key: '1f797ef11066becab0585c2d707795752cc1919a' }, h("smoothly-table-expandable-cell", { key: '7162dfb6b14b854eb20ade26aa14c41ada84ee88' }, h("smoothly-display", { key: 'a0caf476fcef38d8f0f0aac87f1a8939edf8251b', type: "price", currency: "EUR", value: 130 }), h("smoothly-lazy", { key: '96639f825747c82e48a6df2f5ffcd0aa541af947', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), h("fake-expandable-row-wrapper", { key: '96e1217758b98bb236eaf1e9fbf0cdbc7c97961b' }, h("smoothly-table-expandable-row", { key: 'b463b6ace09039c949856a47cae1646722de7515' }, h("fake-cell-wrapper", { key: '908e37e012b4e7264faafa8778161b0d23e65bbf', class: "span-2" }, h("smoothly-table-cell", { key: 'd08c1503351a035e6f8ef9052cc80c8bc9d002fa', span: 2 }, h("smoothly-display", { key: '391e427d5ddf9f1d2e82678ff66d9ffcc41c8a77', type: "date", value: "2024-01-07" }))), h("smoothly-lazy", { key: '0a8773a5d33603c6a42d84487c730eaf950a2540', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), h("smoothly-table-row-group", { key: 'f22475f2b9aca2131c4ff305aa4ba2e7c6e600ba' }, h("smoothly-display", { key: '956d8be67c99b3673d815101a05e91c9c6131439', slot: "start", type: "date", value: "2024-01-08" }), h("smoothly-display", { key: '0daba64dde819e327b688619e584b43bb042ef0d', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
8764
8777
|
}
|
|
8765
8778
|
};
|
|
8766
8779
|
SmoothlyTableDemoGroup.style = styleCss$l();
|
|
@@ -9706,7 +9719,7 @@ const SmoothlyTableDemoNestedNoCell = class {
|
|
|
9706
9719
|
this.loadedRows = [];
|
|
9707
9720
|
}
|
|
9708
9721
|
render() {
|
|
9709
|
-
return (h(Host, { key: '
|
|
9722
|
+
return (h(Host, { key: '04d9aea1741a42783f48d2f496507f026e7ec592' }, h("smoothly-display", { key: 'b1ca21dc02166b03949f1e5733d199dfc98abe57', type: "text", value: "Nested" }), h("smoothly-table", { key: '8822eb9d9038e1475460993e8408a34e2c278fc5', color: "primary", columns: 8 }, h("smoothly-table-head", { key: 'fe36a6cf11d90f4a6d61b8f52b6c32725f9446bf' }, h("smoothly-table-row", { key: '480555a61bc7ab26c44b6ed481c5002e76f3d8fb' }, h("div", { key: '4a916151819146c8dfb3bde56af42cd9177404f3', class: "smoothly-table-cell" }, "Id"), h("div", { key: '4c5f4888480ac4afdc2a7ea0ea1223f019ac342f', class: "smoothly-table-cell" }, "Registered"), h("div", { key: 'fcbbba0e6600648b61a64f1c79021d8a3b6ff7a7', class: "smoothly-table-cell" }, "Name"), h("div", { key: 'b1ae7b7361472a8bc480eda7f578c2ef2ee31d01', class: "smoothly-table-cell" }, "Age"), h("div", { key: '5abc8febf53d4a1c88bf4d48c9f775854f79c9c0', class: "smoothly-table-cell" }, "Balance"), h("div", { key: '556a2cc1c4edadce3207d5d5f0669945aac0e549', class: "smoothly-table-cell" }, "EyeColor"), h("div", { key: 'c73289aaf060e3c633105d35ce31864109e6b0fb', class: "smoothly-table-cell" }, "Gender"), h("div", { key: '768db739d85a8a20408ea8d866af0006051d35f1', class: "smoothly-table-cell" }, "Company"))), h("smoothly-table-body", { key: 'cdb13c9d2feb7505eb856a172848a9e0a7c8eec5' }, data.map((entry, index) => (h("smoothly-table-expandable-row", { onSmoothlyTableExpandableRowChange: event => {
|
|
9710
9723
|
if (event.detail) {
|
|
9711
9724
|
this.loadingIndex = index;
|
|
9712
9725
|
setTimeout(() => {
|
|
@@ -9714,7 +9727,7 @@ const SmoothlyTableDemoNestedNoCell = class {
|
|
|
9714
9727
|
this.loadedRows = [...this.loadedRows, index];
|
|
9715
9728
|
}, 1500);
|
|
9716
9729
|
}
|
|
9717
|
-
} }, this.loadingIndex === index && h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.registered), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance), h("div", { class: "smoothly-table-cell" }, entry.eyeColor), h("div", { class: "smoothly-table-cell" }, entry.gender), h("div", { class: "smoothly-table-cell" }, entry.company))))), h("smoothly-table-foot", { key: '
|
|
9730
|
+
} }, this.loadingIndex === index && h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.registered), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance), h("div", { class: "smoothly-table-cell" }, entry.eyeColor), h("div", { class: "smoothly-table-cell" }, entry.gender), h("div", { class: "smoothly-table-cell" }, entry.company))))), h("smoothly-table-foot", { key: 'd220bcbd57cd66ba23f5f0a95f91ea76815abfb5' }, h("smoothly-table-row", { key: '667777310b2345e3d3a168ce2e740bf7bb3065c2' }, h("div", { key: 'b3e7fec6bcea4b27ae2ddf5e8b23438affc74185', class: "smoothly-table-cell" }, "Footer Cell"), h("div", { key: 'ee6456fc221e5cc95ebf4ca4615f24df1a4da926', class: "smoothly-table-cell" }, "Footer Cell"))))));
|
|
9718
9731
|
}
|
|
9719
9732
|
};
|
|
9720
9733
|
SmoothlyTableDemoNestedNoCell.style = styleCss$k();
|
|
@@ -9727,7 +9740,7 @@ const SmoothlyTableDemoNestedNoCellInner = class {
|
|
|
9727
9740
|
}
|
|
9728
9741
|
render() {
|
|
9729
9742
|
var _a;
|
|
9730
|
-
return (h(Host, { key: '
|
|
9743
|
+
return (h(Host, { key: '979ac258e43562eb1d3ec213533ed762b0637958' }, h("smoothly-table", { key: '359ecbb755ebb1119ecc4d60901a52508094fa7f', columns: 4 }, h("smoothly-table-head", { key: '688c8cecdac166cd9ce2865ecbf3002811a2ef5f' }, h("smoothly-table-row", { key: '7f8b10a9205258b5cad319c0cb6a2ae6f0609da9' }, h("div", { key: '8310e2fdaefb1c5d6a686d238bf2c118e9eacbac', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'daaeb0da6571b0dde9d6e80ac35142aa666a1ba5', class: "smoothly-table-cell" }, "Name"), h("div", { key: 'abca17f20bd0491dcf05dc81ba11d801b4933a6c', class: "smoothly-table-cell" }, "Age"), h("div", { key: '346be426720be1a8c9578a50e6dacc2dddc5493a', class: "smoothly-table-cell" }, "Balance"))), h("smoothly-table-body", { key: 'd2d182cae581d3f5bc8abae108a6626b20b9451a' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (h("smoothly-table-expandable-row", null, h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
|
|
9731
9744
|
}
|
|
9732
9745
|
};
|
|
9733
9746
|
SmoothlyTableDemoNestedNoCellInner.style = styleCss$j();
|
|
@@ -9739,7 +9752,7 @@ const SmoothlyTableDemoSimple = class {
|
|
|
9739
9752
|
registerInstance(this, hostRef);
|
|
9740
9753
|
}
|
|
9741
9754
|
render() {
|
|
9742
|
-
return (h(Host, { key: '
|
|
9755
|
+
return (h(Host, { key: '80449d99f9dd0f1b3ccc6fe1ca76f81c383b0b73' }, h("smoothly-display", { key: 'a8a925063304469fd491d875aac3ca41262c2654', type: "text", value: "Simple" }), h("smoothly-table", { key: 'c73c0af22285cf5769b7aae1bc619e681425059c', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '55a6fa56086f9ecf4c5ad6e937c672164e4ec329' }, h("smoothly-table-row", { key: 'c130d923b09c92b269da5f16ea18e3ee895cab52' }, h("smoothly-table-cell", { key: 'b937e3114409fa9e58e16333d00367839bc74d15' }, "Breed"), h("smoothly-table-cell", { key: '9aba71f6c1a20a762e89500ca5efa3a82d7cbd89' }, "Coat"))), h("smoothly-table-body", { key: 'b79c14240246a1d441fc2bfb2cf0857834121312' }, cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country:", h("br", null), cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), h("smoothly-table-row", { key: 'b3897b89193457cc34ef8a636ee70eb440b09923' }, h("smoothly-table-cell", { key: 'd3ff9b985f616112a698ad7c3d1154ae7ca3b17a' }, "Cell5"), h("smoothly-table-expandable-cell", { key: 'ed7165825d15f3025231a21aead04f6bcd048872' }, "Expandable Cell", h("div", { key: 'b5ffac563fce0a0a5027706cf4f83ec8825ad037', slot: "detail" }, "Content of the expandable cell"))), h("smoothly-table-row", { key: '3a6eb6e10fb590b9036d329307a22393958f6aaa' }, h("smoothly-table-expandable-cell", { key: '43570c5844b23b46572678bd5229d325c26b677f' }, "Expandable Cell 1", h("div", { key: '2c643f6a728b5967d7e42c47d657ce07ef295c78', slot: "detail" }, "Content of the expandable cell 1")), h("smoothly-table-expandable-cell", { key: '1d9f1e32259d590d5f0a7c043c56424f30019e6e' }, "Expandable Cell 2", h("div", { key: 'ea45ab8f26e3a2b7bd4d012b3dec1899836620b6', slot: "detail" }, "Content of the expandable cell 2")))), h("smoothly-table-foot", { key: '99a7c70b238c32203143077e8e1a3c58ee82adf7' }, h("smoothly-table-row", { key: '2abe5c4e633f55dd722f21263ab6647018b7319b' }, h("smoothly-table-cell", { key: '805be40c4d87dd23a8ab71017453b6340adf200e' }, "Footer Cell"), h("smoothly-table-cell", { key: '1137748f294d4199d08de20a8316588df635bfb2' }, "Footer Cell"))))));
|
|
9743
9756
|
}
|
|
9744
9757
|
};
|
|
9745
9758
|
const cats = [
|
|
@@ -9847,7 +9860,7 @@ const SmoothlyTableExpandableCell = class {
|
|
|
9847
9860
|
}
|
|
9848
9861
|
render() {
|
|
9849
9862
|
var _a;
|
|
9850
|
-
return (h(Host, { key: '
|
|
9863
|
+
return (h(Host, { key: '624fcbc59506d5a4c9c3a63a8c72e5dacc381c88', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) }, onClick: (e) => this.clickHandler(e) }, h("div", { key: '53a96ed671c80e1ecac6e34051c91e9a947b2fe9', class: "content" }, h("slot", { key: '3a3576002c26476a9a64113b36245e1befb1b032' })), h("div", { key: '39a6657696c643342205d451e12f7ce43b9059ad', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, h("slot", { key: 'b9e027e1fe622d4a20fffb508ac66bc1bbd2f06b', name: "detail" }))));
|
|
9851
9864
|
}
|
|
9852
9865
|
static get watchers() { return {
|
|
9853
9866
|
"open": [{
|
|
@@ -9879,7 +9892,7 @@ const SmoothlyTableExpandableRow = class {
|
|
|
9879
9892
|
this.smoothlyTableExpandableRowChange.emit(this.open);
|
|
9880
9893
|
}
|
|
9881
9894
|
render() {
|
|
9882
|
-
return (h(Host, { key: '
|
|
9895
|
+
return (h(Host, { key: '3007de001a37cd97b19055f2300d0c4200714da4', onClick: (e) => this.clickHandler(e) }, h("slot", { key: '8eec771831b3e72481baaa792403fd6f28ce23b2' }), h("div", { key: 'f4a0071effd34729d812fdc02023f55c29c61da2', class: "smoothly-table-detail", ref: e => (this.div = e) }, h("slot", { key: 'e9eae5eaddd3886cb39a8086bba97a177791378d', name: "detail" }))));
|
|
9883
9896
|
}
|
|
9884
9897
|
static get watchers() { return {
|
|
9885
9898
|
"open": [{
|
|
@@ -9896,7 +9909,7 @@ const SmoothlyTableFillerRow = class {
|
|
|
9896
9909
|
registerInstance(this, hostRef);
|
|
9897
9910
|
}
|
|
9898
9911
|
render() {
|
|
9899
|
-
return (h("smoothly-table-row", { key: '
|
|
9912
|
+
return (h("smoothly-table-row", { key: '4925aa29f641ac932dd2686bdfb285dfbba27008' }, h("smoothly-table-cell", { key: '8aebd5713c716392a50afae52b1aed1c091c15f8' }, h("slot", { key: '822bc6ecef95836f099ac8c122a0b6c00999abe2' }))));
|
|
9900
9913
|
}
|
|
9901
9914
|
};
|
|
9902
9915
|
SmoothlyTableFillerRow.style = styleCss$f();
|
|
@@ -9908,7 +9921,7 @@ const SmoothlyTableFoot = class {
|
|
|
9908
9921
|
registerInstance(this, hostRef);
|
|
9909
9922
|
}
|
|
9910
9923
|
render() {
|
|
9911
|
-
return (h(Host, { key: '
|
|
9924
|
+
return (h(Host, { key: '491e31a72bf7cf753be9722c5f9ffd189b75beae' }, h("slot", { key: '717637b20804c096f1daac46183047b2f7570569' })));
|
|
9912
9925
|
}
|
|
9913
9926
|
};
|
|
9914
9927
|
SmoothlyTableFoot.style = styleCss$e();
|
|
@@ -9954,10 +9967,10 @@ const SmoothlyTableHead = class {
|
|
|
9954
9967
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
9955
9968
|
}
|
|
9956
9969
|
render() {
|
|
9957
|
-
return (h(Host, { key: '
|
|
9970
|
+
return (h(Host, { key: 'a543c06de129e8ee177a6e98e31e7e6de42edff6', class: { scrolled: !!this.scrolled }, style: {
|
|
9958
9971
|
"--top": `calc(${this.depth} * var(--smoothly-table-cell-min-height))`,
|
|
9959
9972
|
"--z-index": `${10 - this.depth}`,
|
|
9960
|
-
} }, h("slot", { key: '
|
|
9973
|
+
} }, h("slot", { key: 'a937f04e674b9eb19534395494741f87e7f2df49' })));
|
|
9961
9974
|
}
|
|
9962
9975
|
get element() { return getElement(this); }
|
|
9963
9976
|
};
|
|
@@ -9982,7 +9995,7 @@ const SmoothlyTableRow = class {
|
|
|
9982
9995
|
}
|
|
9983
9996
|
}
|
|
9984
9997
|
render() {
|
|
9985
|
-
return (h(Host, { key: '
|
|
9998
|
+
return (h(Host, { key: 'a7150d8e85573818c5253287f7a16af0726cd566' }, h("slot", { key: '11a1f41ac92bfdfbbe55a5d56998395ffbe7f1df' })));
|
|
9986
9999
|
}
|
|
9987
10000
|
};
|
|
9988
10001
|
SmoothlyTableRow.style = styleCss$c();
|
|
@@ -10005,7 +10018,7 @@ const SmoothlyTableRowGroup = class {
|
|
|
10005
10018
|
}
|
|
10006
10019
|
}
|
|
10007
10020
|
render() {
|
|
10008
|
-
return (h(Host, { key: '
|
|
10021
|
+
return (h(Host, { key: '76fef86fb057d3a38a48176ae86e9d0acd8cbd3e' }, h("div", { key: 'd4c4ce1a498d4ad36ea115c59513a7127526a654', onClick: () => this.clickHandler() }, h("div", { key: '66b75a4c40238ef265054ee334252f301dc6d136' }, h("slot", { key: 'e4438e7a0a62ae369526bc341d9ca38f0661f719', name: "start" })), h("div", { key: 'e242813ad448fe97141372e0d58f9cee9315b42d' }, h("slot", { key: '32ea0ec41821bca492f088f8e905183a70b97d58', name: "end" }))), h("div", { key: '3dadc2ae7fdde5bd4cbee29da00dd23e544c5d59' }, h("slot", { key: 'd7d82c8713ace989d6eaa9c354fff5bc5f8da797' }))));
|
|
10009
10022
|
}
|
|
10010
10023
|
};
|
|
10011
10024
|
SmoothlyTableRowGroup.style = styleCss$b();
|
|
@@ -10073,7 +10086,7 @@ const SmoothlyTabsDemo = class {
|
|
|
10073
10086
|
registerInstance(this, hostRef);
|
|
10074
10087
|
}
|
|
10075
10088
|
render() {
|
|
10076
|
-
return (h(Host, { key: '
|
|
10089
|
+
return (h(Host, { key: '667daa4673c8e0045b0b9bb673fa25d577234bcd' }, h("div", { key: '53bc7758593ff652cd66571751d44f215b96f3e2' }, h("smoothly-button", { key: '9152b373e992825a1e7a5daad5fdb8454f0e72fa', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '45e823f55772be61f25d6b48688524dc98d052c9', tabs: "multiple" }, h("smoothly-tab", { key: 'ecb21ddc688927084d739e1f0e0590c83d773577', label: "Single Tab", open: true }, h("strong", { key: '8364c0c2e1afa1d729f6caa372e6864c37720b10' }, "Single Tab content here."), " If only one tab is available setting ", h("code", { key: '654811a94f174badec1416c90842741a49f202bd' }, "tabs"), " to", " ", h("code", { key: '5083b020fd3619e8deaf83044537e92423557e80' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (h("smoothly-tab", { key: '3c0d1ccc9c611be2d80ab6495d1c82d4670f21f5', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), h("div", { key: '939a6f264018acc6532aec79aa35c8bec9e15982' }, h("smoothly-button", { key: 'b40612b706c471876d98f92665a76a5cc6d71564', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '7950a34808a55e1c2ff8dc75eb73826270295763' }, h("smoothly-tab", { key: '30e6c350d870d9e2b2de98ee1a5e8441e33187e9', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), h("smoothly-tab", { key: 'db66384d6fc370218db0f63c57bf1334b3496672', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), h("smoothly-tab", { key: '863e0927c3c0d5d3513f9bcb4aa36c5df4d479b2', label: "test2" }, "this is a test message!"), this.extraTab2 && h("smoothly-tab", { key: '42f481c9e506f49267b289b8ed89d6c157ee34ce', label: "test-extra" }, "this is a test message!"))));
|
|
10077
10090
|
}
|
|
10078
10091
|
};
|
|
10079
10092
|
SmoothlyTabsDemo.style = styleCss$9();
|
|
@@ -10085,7 +10098,7 @@ const SmoothlyThemeColor = class {
|
|
|
10085
10098
|
registerInstance(this, hostRef);
|
|
10086
10099
|
}
|
|
10087
10100
|
render() {
|
|
10088
|
-
return (h(Host, { key: '
|
|
10101
|
+
return (h(Host, { key: 'a5e578a10c7a46c0abd3ca72b8247a7ca74cd0c4' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
10089
10102
|
}
|
|
10090
10103
|
};
|
|
10091
10104
|
SmoothlyThemeColor.style = styleCss$8();
|
|
@@ -10133,7 +10146,7 @@ const SmoothlyThemeDemo = class {
|
|
|
10133
10146
|
registerInstance(this, hostRef);
|
|
10134
10147
|
}
|
|
10135
10148
|
render() {
|
|
10136
|
-
return (h(Host, { key: '
|
|
10149
|
+
return (h(Host, { key: '3e505cbc2317099fa9c7a8ce39eb009f2c3024ca' }, h("h2", { key: '5cf6837bdc6d17642828e4328265929512384435' }, "Theme"), h("smoothly-theme-picker", { key: 'be136a3fae2657ac4e26ad1fbd3aaeb25645a8d5' }, h("smoothly-item", { key: 'fa5fc77333513622192574123bf36506e52e3269', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), h("smoothly-item", { key: '2961c2261191e11a1c592906b80da6145bd404fd', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), h("smoothly-item", { key: 'dd127647b610afd4840859d7c8c10ff451dc2b56', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), h("smoothly-item", { key: '5e8ad2191b20cd08d6d1cb35816dc0454611fd71', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), h("smoothly-item", { key: '24410b3ba716c13887406e39d8269ad0f5623434', value: "https://test.dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), h("smoothly-item", { key: '0aeb4c24f7610227b1ddcd85c4a6768fac6169ab', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), h("smoothly-item", { key: '54ab7e4db39f5011d1575b08a7454edd3c8c0afa', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), h("smoothly-item", { key: '8f80758dacf77044e05035ad32620cd62129e9b5', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), h("smoothly-item", { key: 'd505ed591e6379bc67fc3958361c4895a57e1ee9', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), h("div", { key: 'b9419547eb4bbda394e480e58b7dff8dc0ebcb1d' }, h("smoothly-theme-colors", { key: '3bf0624cac39fbcb490bc7992dfa530f3043122b' }), h("smoothly-theme-guide", { key: '388b8841be3ddfd0a42a5ecbe098b512210ad26a' })), h("smoothly-button", { key: '3a56e3439212da68889c98cfe64141730732aefa', type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { key: '56add7b4f875bb0521b32e34719c703591e21961', type: "link", link: "/redirect" }, "To /redirect"), h("smoothly-button", { key: '6319b234d80bb29370f55225bae9fef3278dee83', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), h("smoothly-button", { key: 'a842d75971928d0a6d0738009da122244d7b95a0', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
10137
10150
|
}
|
|
10138
10151
|
};
|
|
10139
10152
|
SmoothlyThemeDemo.style = styleCss$5();
|
|
@@ -10146,14 +10159,14 @@ const SmoothlyThemeColors = class {
|
|
|
10146
10159
|
}
|
|
10147
10160
|
render() {
|
|
10148
10161
|
return [
|
|
10149
|
-
h("smoothly-display", { key: '
|
|
10150
|
-
h("br", { key: '
|
|
10151
|
-
h("smoothly-display", { key: '
|
|
10152
|
-
h("br", { key: '
|
|
10153
|
-
h("smoothly-display", { key: '
|
|
10154
|
-
h("br", { key: '
|
|
10155
|
-
h("smoothly-display", { key: '
|
|
10156
|
-
h("br", { key: '
|
|
10162
|
+
h("smoothly-display", { key: '504bfdf471aa62a566cb5ac96654b9e00d88e292' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
10163
|
+
h("br", { key: '9eb11da56a43e89a690df6872cb34900f565ff75' }),
|
|
10164
|
+
h("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."),
|
|
10165
|
+
h("br", { key: 'cc09a61f2e021b2782fd63734b07c21973e4cd56' }),
|
|
10166
|
+
h("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."),
|
|
10167
|
+
h("br", { key: '1e0130f07d2a001fc206190d93c660f117596899' }),
|
|
10168
|
+
h("smoothly-display", { key: '4c7cdf267964d06803f03ff567ab0cb881b709b8' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
10169
|
+
h("br", { key: 'b2abb2ebff2bf2a5f329e5665f9bcf7c11b65bfc' }),
|
|
10157
10170
|
];
|
|
10158
10171
|
}
|
|
10159
10172
|
};
|
|
@@ -10167,12 +10180,12 @@ const SmoothlyThemePicker = class {
|
|
|
10167
10180
|
this.element = "smoothly-css";
|
|
10168
10181
|
}
|
|
10169
10182
|
render() {
|
|
10170
|
-
return (h(Host, { key: '
|
|
10183
|
+
return (h(Host, { key: '70e3737e113724291c1decf423e6cd39733763a7' }, h("smoothly-input-select", { key: 'eed6362c4c845f26fe45ab80a36261a851146a32', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
10171
10184
|
const element = document.querySelector(`#${this.element}`);
|
|
10172
10185
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string") {
|
|
10173
10186
|
element.href = e.detail.theme;
|
|
10174
10187
|
}
|
|
10175
|
-
} }, h("label", { key: '
|
|
10188
|
+
} }, h("label", { key: '39e4c5e3793f19cc007f3a8b96988922a09109cf', slot: "label" }, "Select theme"), h("slot", { key: 'ea07c5aaee7e847991b27358eef479edb0105f91' }))));
|
|
10176
10189
|
}
|
|
10177
10190
|
};
|
|
10178
10191
|
SmoothlyThemePicker.style = styleCss$3();
|
|
@@ -10195,7 +10208,7 @@ const SmoothlyToggleSwitch = class {
|
|
|
10195
10208
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
10196
10209
|
}
|
|
10197
10210
|
render() {
|
|
10198
|
-
return (h(Host, { key: '
|
|
10211
|
+
return (h(Host, { key: '0291d49b2ab1c542e752a3a694b5e15f446be27c' }, h("button", { key: '2be03163917c089e2a81404556996c93befeafa3', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, h("smoothly-icon", { key: 'a261b04197599fa3c80fedc502a532043e943bbe', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
10199
10212
|
}
|
|
10200
10213
|
};
|
|
10201
10214
|
SmoothlyToggleSwitch.style = styleCss$2();
|
|
@@ -10207,7 +10220,7 @@ const SmoothlyToggleSwitchDemo = class {
|
|
|
10207
10220
|
registerInstance(this, hostRef);
|
|
10208
10221
|
}
|
|
10209
10222
|
render() {
|
|
10210
|
-
return (h(Host, { key: '
|
|
10223
|
+
return (h(Host, { key: '470464d6d37e40e5f340822febb85cfb8d287267' }, h("h4", { key: 'fdb67153afb84fa7d734bf1f701def5b647f6ce7' }, "Toggle switches"), h("div", { key: 'bc4bf67807f2bba85c1bc42e7c5376eee516995e' }, h("p", { key: '07fda130d51c52347d2ac0680b2044f25f0fa994' }, "Checkmark"), h("span", { key: '1c444c3c73daf0130db447e44cb031f24abd01f8' }, h("p", { key: 'cdd900d00acb877aa76c9ae55c5cb083049abb43' }, "Tiny"), h("smoothly-toggle-switch", { key: 'a37f5af8a756a3b31a04ab5935a4b8a0bfbef243', disabled: false, size: "tiny" })), h("span", { key: '0b0dc28ca00a27fd8b234b89ae71ea293f84df65' }, h("p", { key: '14076ac015952db2b5ebe528085c5ca9c6c383b8' }, "Small"), h("smoothly-toggle-switch", { key: 'ea50543c67201c279a5f4a2807ba8b23d2ebff13', disabled: false, size: "small" })), h("span", { key: 'd45cf2681dfdbf26f6acc66dab5bcf37ab051d0b' }, h("p", { key: 'a3ca4cf338454d0276e4b4caddad85225ce41676' }, "Standard"), h("smoothly-toggle-switch", { key: '99a061952aa9c18b40f40cb6e5bfaaac0ee9e016', disabled: false })), h("span", { key: '451ea07c909458ae1033a3362d07d0f5974dc3e6' }, h("p", { key: 'b60a09266e15ce4ae54ca1c9bf05aceca06aed05' }, "Large"), h("smoothly-toggle-switch", { key: 'eb7f4deceae4b69ec5bcc8fb5a140d76be1fe4cd', disabled: false, size: "large" })), h("p", { key: 'ad75b8c6bddd9f59246a42d78056c51a8231713d' }, "Colors checkmark"), h("span", { key: '633ebf151c353aa20662b9cc0c6fc7ef2d27f659' }, h("p", { key: '0ecb5da92182163deb10667fb1cfbeeeb91a4f95' }, "Danger"), h("smoothly-toggle-switch", { key: '9f8b43c2fbdb0f1d56d564ba936740c56cd19615', color: "danger", disabled: false, size: "small" })), h("span", { key: '29eba3b1395741d2cd8821725ab2720f8c2bfc65' }, h("p", { key: '4de96be58373d873576be6ab6b8244444795cd88' }, "Primary color"), h("smoothly-toggle-switch", { key: '1268bb9b2081aeff88bdb4ed657d7ea05f10fb69', color: "primary", disabled: false, size: "small" })), h("span", { key: '40baf7b8cf63b0b401107ad780246da0192468e5' }, h("p", { key: 'efa762aff61e90aa7a9e5be8290c84e8c8ec570d' }, "Secondary color"), h("smoothly-toggle-switch", { key: 'a648aa6596da331b42a06917bf5e69ce92efc6d6', color: "secondary", disabled: false, size: "small" })), h("p", { key: '8b105d3cfa1bc78a0f818a7661240ebbf6475ca4' }), h("p", { key: '274e9e35dcb487642858cbe7d6f73dd61ab6f865' }, "Colors no checkmark"), h("span", { key: '3e919b9d7b34da5733153911758268b52678c9fb' }, h("p", { key: '500fc3bde72ce1af1a0cda2027a98f5568a029e0' }, "Danger"), h("smoothly-toggle-switch", { key: '2292abd9acac252aa8633ffb1427a6961c6a9928', checkmark: false, color: "danger", disabled: false, size: "small" })), h("span", { key: '47516027ff4083165416e71475e262d1e6f3aed8' }, h("p", { key: 'e345a770b485052b082ed2d88ba3dce0099da701' }, "Primary color"), h("smoothly-toggle-switch", { key: '79896d7ff3091c6af545a3352668c7daaf8491cb', checkmark: false, color: "primary", disabled: false, size: "small" })), h("span", { key: 'afc9c9d03135b7cebfa6866cccb8ab993f1fa5f4' }, h("p", { key: '39b9563fd95bd730a05ecda2e0ddb3db96503d08' }, "Secondary color"), h("smoothly-toggle-switch", { key: '02623b5220ccb3d547dda23d2eae0216ca20fd77', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
10211
10224
|
}
|
|
10212
10225
|
};
|
|
10213
10226
|
SmoothlyToggleSwitchDemo.style = styleCss$1();
|
|
@@ -10233,7 +10246,7 @@ const SmoothlyTrigger = class {
|
|
|
10233
10246
|
result = this.disabled ? (h("slot", null)) : (h("a", { onClick: e => this.onClick(e) }, h("slot", null)));
|
|
10234
10247
|
break;
|
|
10235
10248
|
case "button":
|
|
10236
|
-
result = (h("button", { key: '
|
|
10249
|
+
result = (h("button", { key: '3df0af31da21f4eeb53048b22a0a1fe9f37b608d', disabled: this.disabled, name: this.name }, h("slot", { key: '9566f4ff09d80a9b4c1d9d79acef49609cd3a425' })));
|
|
10237
10250
|
break;
|
|
10238
10251
|
}
|
|
10239
10252
|
return result;
|
|
@@ -10241,7 +10254,7 @@ const SmoothlyTrigger = class {
|
|
|
10241
10254
|
};
|
|
10242
10255
|
SmoothlyTrigger.style = styleCss();
|
|
10243
10256
|
|
|
10244
|
-
export { SmoothlyApp as smoothly_app, SmoothlyAppDemo as smoothly_app_demo, SmoothlyAppRoom as smoothly_app_room, SmoothlyBackToTop as smoothly_back_to_top, SmoothlyBurger as smoothly_burger, SmoothlyButton as smoothly_button, SmoothlyButtonConfirm as smoothly_button_confirm, SmoothlyButtonDemo as smoothly_button_demo, SmoothlyButtonDemoStandard as smoothly_button_demo_standard, Calendar as smoothly_calendar, SmoothlyInputDateRangeText as smoothly_date_text, SmoothlyDialog as smoothly_dialog, SmoothlyDialogDemo as smoothly_dialog_demo, SmoothlyDisplay as smoothly_display, SmoothlyDisplayDemo as smoothly_display_demo, SmoothlyDisplayDemoJson as smoothly_display_demo_json, SmoothlyDisplayJson as smoothly_display_json, SmoothlyDisplayJsonObject as smoothly_display_json_object, SmoothlyDisplayJsonPrimitive as smoothly_display_json_primitive, SmoothlyDisplayJsonRecordKey as smoothly_display_json_record_key, SmoothlyForm as smoothly_form, SmoothlyFormDemo as smoothly_form_demo, SmoothlyFormDemoAll as smoothly_form_demo_all, SmoothlyFormDemoCard as smoothly_form_demo_card, SmoothlyFormDemoControlled as smoothly_form_demo_controlled, SmoothlyFormDemoDate as smoothly_form_demo_date, SmoothlyFormDemoDateRange as smoothly_form_demo_date_range, SmoothlyFormDemoLogin as smoothly_form_demo_login, SmoothlyFormDemoPet as smoothly_form_demo_pet, SmoothlyFormDemoPrices$1 as smoothly_form_demo_prices, SmoothlyFormDemoPrices as smoothly_form_demo_schedule, SmoothlyFormDemoTransparent as smoothly_form_demo_transparent, SmoothlyFormDemoTyped as smoothly_form_demo_typed, SmoothlyFrame as smoothly_frame, SmoothlyIcon as smoothly_icon, SmoothlyIconDemo as smoothly_icon_demo, SmoothlyInput as smoothly_input, SmoothlyInputCheckbox as smoothly_input_checkbox, SmoothlyInputClear as smoothly_input_clear, SmoothlyInputColor as smoothly_input_color, SmoothlyInputColorDemo as smoothly_input_color_demo, SmoothlyInputDate as smoothly_input_date, SmoothlyInputDateDemo as smoothly_input_date_demo, SmoothlyInputDateRange as smoothly_input_date_range, SmoothlyInputDateTime as smoothly_input_date_time, SmoothlyInputDemo as smoothly_input_demo, SmoothlyInputDemoRadio as smoothly_input_demo_radio, SmoothlyInputDemoStandard as smoothly_input_demo_standard, SmoothlyInputDemoUserInput as smoothly_input_demo_user_input, SmoothlyInputEdit as smoothly_input_edit, SmoothlyInputFile as smoothly_input_file, SmoothlyInputMonth as smoothly_input_month, SmoothlyInputPriceDemo as smoothly_input_price_demo, SmoothlyInputRadio as smoothly_input_radio, SmoothlyInputRadioItem as smoothly_input_radio_item, SmoothlyInputRange as smoothly_input_range, SmoothlyInputRangeDemo as smoothly_input_range_demo, SmoothlyInputReset as smoothly_input_reset, SmoothlyInputSelect as smoothly_input_select, SmoothlyInputSubmit as smoothly_input_submit, SmoothlyItem as smoothly_item, SmoothlyLabel as smoothly_label, SmoothlyLazy as smoothly_lazy, LoadMore as smoothly_load_more, SmoothlyModal as smoothly_modal, Notification as smoothly_notification, Notifier as smoothly_notifier, SmoothlySpinner as smoothly_spinner, SmoothlySummary as smoothly_summary, SmoothlyTab as smoothly_tab, SmoothlyTable as smoothly_table, SmoothlyTableBody as smoothly_table_body, SmoothlyTableCell as smoothly_table_cell, SmoothlyTableDemo as smoothly_table_demo, SmoothlyTableDemoColspan as smoothly_table_demo_colspan, SmoothlyTableDemoFillerRow as smoothly_table_demo_filler_row, SmoothlyTableDemoGroup as smoothly_table_demo_group, SmoothlyTableDemoNestedNoCell as smoothly_table_demo_nested_no_cell, SmoothlyTableDemoNestedNoCellInner as smoothly_table_demo_nested_no_cell_inner, SmoothlyTableDemoSimple as smoothly_table_demo_simple, SmoothlyTableExpandableCell as smoothly_table_expandable_cell, SmoothlyTableExpandableRow as smoothly_table_expandable_row, SmoothlyTableFillerRow as smoothly_table_filler_row, SmoothlyTableFoot as smoothly_table_foot, SmoothlyTableHead as smoothly_table_head, SmoothlyTableRow as smoothly_table_row, SmoothlyTableRowGroup as smoothly_table_row_group, SmoothlyTabs as smoothly_tabs, SmoothlyTabsDemo as smoothly_tabs_demo, SmoothlyThemeColor as smoothly_theme_color, SmoothlyThemeColorVariant as smoothly_theme_color_variant, SmoothlyThemeColors$1 as smoothly_theme_colors, SmoothlyThemeDemo as smoothly_theme_demo, SmoothlyThemeColors as smoothly_theme_guide, SmoothlyThemePicker as smoothly_theme_picker, SmoothlyToggleSwitch as smoothly_toggle_switch, SmoothlyToggleSwitchDemo as smoothly_toggle_switch_demo, SmoothlyTrigger as smoothly_trigger };
|
|
10245
|
-
//# sourceMappingURL=smoothly-app.smoothly-app-demo.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.entry.js.map
|
|
10257
|
+
export { SmoothlyApp as smoothly_app, SmoothlyAppDemo as smoothly_app_demo, SmoothlyAppRoom as smoothly_app_room, SmoothlyBackToTop as smoothly_back_to_top, SmoothlyBurger as smoothly_burger, SmoothlyButton as smoothly_button, SmoothlyButtonConfirm as smoothly_button_confirm, SmoothlyButtonDemo as smoothly_button_demo, SmoothlyButtonDemoStandard as smoothly_button_demo_standard, Calendar as smoothly_calendar, SmoothlyInputDateRangeText as smoothly_date_text, SmoothlyDialog as smoothly_dialog, SmoothlyDialogDemo as smoothly_dialog_demo, SmoothlyDisplay as smoothly_display, SmoothlyDisplayDemo as smoothly_display_demo, SmoothlyDisplayDemoJson as smoothly_display_demo_json, SmoothlyDisplayJson as smoothly_display_json, SmoothlyDisplayJsonObject as smoothly_display_json_object, SmoothlyDisplayJsonPrimitive as smoothly_display_json_primitive, SmoothlyDisplayJsonRecordKey as smoothly_display_json_record_key, SmoothlyForm as smoothly_form, SmoothlyFormDemo as smoothly_form_demo, SmoothlyFormDemoAll as smoothly_form_demo_all, SmoothlyFormDemoCard as smoothly_form_demo_card, SmoothlyFormDemoControlled as smoothly_form_demo_controlled, SmoothlyFormDemoDate as smoothly_form_demo_date, SmoothlyFormDemoDateRange as smoothly_form_demo_date_range, SmoothlyFormDemoLogin as smoothly_form_demo_login, SmoothlyFormDemoPet as smoothly_form_demo_pet, SmoothlyFormDemoPrices$1 as smoothly_form_demo_prices, SmoothlyFormDemoPrices as smoothly_form_demo_schedule, SmoothlyFormDemoTransparent as smoothly_form_demo_transparent, SmoothlyFormDemoTyped as smoothly_form_demo_typed, SmoothlyFrame as smoothly_frame, SmoothlyIcon as smoothly_icon, SmoothlyIconDemo as smoothly_icon_demo, SmoothlyInput as smoothly_input, SmoothlyInputCheckbox as smoothly_input_checkbox, SmoothlyInputClear as smoothly_input_clear, SmoothlyInputColor as smoothly_input_color, SmoothlyInputColorDemo as smoothly_input_color_demo, SmoothlyInputDate as smoothly_input_date, SmoothlyInputDateDemo as smoothly_input_date_demo, SmoothlyInputDateRange as smoothly_input_date_range, SmoothlyInputDateTime as smoothly_input_date_time, SmoothlyInputDemo as smoothly_input_demo, SmoothlyInputDemoRadio as smoothly_input_demo_radio, SmoothlyInputDemoStandard as smoothly_input_demo_standard, SmoothlyInputDemoUserInput as smoothly_input_demo_user_input, SmoothlyInputEdit as smoothly_input_edit, SmoothlyInputFile as smoothly_input_file, SmoothlyInputMonth as smoothly_input_month, SmoothlyInputPriceDemo as smoothly_input_price_demo, SmoothlyInputRadio as smoothly_input_radio, SmoothlyInputRadioItem as smoothly_input_radio_item, SmoothlyInputRange as smoothly_input_range, SmoothlyInputRangeDemo as smoothly_input_range_demo, SmoothlyInputReset as smoothly_input_reset, SmoothlyInputSelect as smoothly_input_select, SmoothlyInputSubmit as smoothly_input_submit, SmoothlyItem as smoothly_item, SmoothlyLabel as smoothly_label, SmoothlyLazy as smoothly_lazy, LoadMore as smoothly_load_more, SmoothlyModal as smoothly_modal, Notification as smoothly_notification, Notifier as smoothly_notifier, SmoothlyNotifierDemo as smoothly_notifier_demo, SmoothlySpinner as smoothly_spinner, SmoothlySummary as smoothly_summary, SmoothlyTab as smoothly_tab, SmoothlyTable as smoothly_table, SmoothlyTableBody as smoothly_table_body, SmoothlyTableCell as smoothly_table_cell, SmoothlyTableDemo as smoothly_table_demo, SmoothlyTableDemoColspan as smoothly_table_demo_colspan, SmoothlyTableDemoFillerRow as smoothly_table_demo_filler_row, SmoothlyTableDemoGroup as smoothly_table_demo_group, SmoothlyTableDemoNestedNoCell as smoothly_table_demo_nested_no_cell, SmoothlyTableDemoNestedNoCellInner as smoothly_table_demo_nested_no_cell_inner, SmoothlyTableDemoSimple as smoothly_table_demo_simple, SmoothlyTableExpandableCell as smoothly_table_expandable_cell, SmoothlyTableExpandableRow as smoothly_table_expandable_row, SmoothlyTableFillerRow as smoothly_table_filler_row, SmoothlyTableFoot as smoothly_table_foot, SmoothlyTableHead as smoothly_table_head, SmoothlyTableRow as smoothly_table_row, SmoothlyTableRowGroup as smoothly_table_row_group, SmoothlyTabs as smoothly_tabs, SmoothlyTabsDemo as smoothly_tabs_demo, SmoothlyThemeColor as smoothly_theme_color, SmoothlyThemeColorVariant as smoothly_theme_color_variant, SmoothlyThemeColors$1 as smoothly_theme_colors, SmoothlyThemeDemo as smoothly_theme_demo, SmoothlyThemeColors as smoothly_theme_guide, SmoothlyThemePicker as smoothly_theme_picker, SmoothlyToggleSwitch as smoothly_toggle_switch, SmoothlyToggleSwitchDemo as smoothly_toggle_switch_demo, SmoothlyTrigger as smoothly_trigger };
|
|
10258
|
+
//# sourceMappingURL=smoothly-app.smoothly-app-demo.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.entry.js.map
|
|
10246
10259
|
|
|
10247
|
-
//# sourceMappingURL=smoothly-
|
|
10260
|
+
//# sourceMappingURL=smoothly-app_99.entry.js.map
|