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,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index$1 = require('./index-IVtCIEMN.js');
|
|
4
|
-
var Scrollable = require('./Scrollable-
|
|
5
|
-
var Submittable = require('./Submittable-
|
|
4
|
+
var Scrollable = require('./Scrollable-C_6-3ED9.js');
|
|
5
|
+
var Submittable = require('./Submittable-DmhpDQHI.js');
|
|
6
6
|
var index = require('./index-d87xc2d4.js');
|
|
7
|
-
var Notice = require('./Notice-
|
|
7
|
+
var Notice = require('./Notice-ML9TNa7n.js');
|
|
8
8
|
require('./redirect-BbuBLRON.js');
|
|
9
9
|
|
|
10
10
|
function any(name) {
|
|
@@ -116,7 +116,7 @@ const SmoothlyAppDemo = class {
|
|
|
116
116
|
console.log("smoothlyUrlChange", event.detail);
|
|
117
117
|
}
|
|
118
118
|
render() {
|
|
119
|
-
return (index$1.h("smoothly-app", { key: '86d6cc67b58d8c7c04b9fd7e33891dfacb529943', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, index$1.h("smoothly-app-room", { key: '7012500cb2629c53e1156372722e8ef2b6d047eb', path: "/" }, index$1.h("section", { key: '759dafafbd63e7fff5bf0acd0502e8eec36e8c64', style: { padding: "1em", maxWidth: "32em", margin: "0 auto" } }, index$1.h("header", { key: '0ed18baa408a674f906abc32425ce6037662a476' }, index$1.h("h1", { key: '22cb0dc61fece9d2d7acae6a55db19ccc57261df' }, "Welcome")), index$1.h("p", { key: 'd914f970b834d217cd2dfd7d2d05cd0c4b5dcb65' }, "Smoothly is a component library written in ", index$1.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."), index$1.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."))), index$1.h("smoothly-app-room", { key: '4c752059c00ad39c3bee1d36bdac99bfad027f5f', path: "/form", label: "Forms", content: index$1.h("smoothly-form-demo", null) }), index$1.h("smoothly-app-room", { key: '02b7dd008a64194f348bfb0679217ebbea05fac9', path: "/input", label: "Inputs", content: index$1.h("smoothly-input-demo", null) }), index$1.h("smoothly-app-room", { key: '41c7489608d0da9a8d4a2ab9b1a56c425cc36f21', path: "/table", label: "Tables", content: index$1.h("smoothly-table-demo", null) }), index$1.h("smoothly-app-room", { key: 'b10b3c95084e9f27a6ebeaf5170bb10be8226c87', path: "/button", label: "Buttons", content: index$1.h("smoothly-button-demo", null) }), index$1.h("smoothly-app-room", { key: 'f20620084dd779b954fa440b559db2bdccf0b3a3', path: "/icon", label: "Icons", content: index$1.h("smoothly-icon-demo", null) }), index$1.h("smoothly-app-room", { key: '5078c24c13064315cf8f761809e60cdfc1734c41', path: "/theme", label: "Theming", content: index$1.h("smoothly-theme-demo", null) }), index$1.h("smoothly-app-room", { key: '
|
|
119
|
+
return (index$1.h("smoothly-app", { key: '86d6cc67b58d8c7c04b9fd7e33891dfacb529943', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, index$1.h("smoothly-app-room", { key: '7012500cb2629c53e1156372722e8ef2b6d047eb', path: "/" }, index$1.h("section", { key: '759dafafbd63e7fff5bf0acd0502e8eec36e8c64', style: { padding: "1em", maxWidth: "32em", margin: "0 auto" } }, index$1.h("header", { key: '0ed18baa408a674f906abc32425ce6037662a476' }, index$1.h("h1", { key: '22cb0dc61fece9d2d7acae6a55db19ccc57261df' }, "Welcome")), index$1.h("p", { key: 'd914f970b834d217cd2dfd7d2d05cd0c4b5dcb65' }, "Smoothly is a component library written in ", index$1.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."), index$1.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."))), index$1.h("smoothly-app-room", { key: '4c752059c00ad39c3bee1d36bdac99bfad027f5f', path: "/form", label: "Forms", content: index$1.h("smoothly-form-demo", null) }), index$1.h("smoothly-app-room", { key: '02b7dd008a64194f348bfb0679217ebbea05fac9', path: "/input", label: "Inputs", content: index$1.h("smoothly-input-demo", null) }), index$1.h("smoothly-app-room", { key: '41c7489608d0da9a8d4a2ab9b1a56c425cc36f21', path: "/table", label: "Tables", content: index$1.h("smoothly-table-demo", null) }), index$1.h("smoothly-app-room", { key: 'b10b3c95084e9f27a6ebeaf5170bb10be8226c87', path: "/button", label: "Buttons", content: index$1.h("smoothly-button-demo", null) }), index$1.h("smoothly-app-room", { key: 'f20620084dd779b954fa440b559db2bdccf0b3a3', path: "/icon", label: "Icons", content: index$1.h("smoothly-icon-demo", null) }), index$1.h("smoothly-app-room", { key: '5078c24c13064315cf8f761809e60cdfc1734c41', path: "/theme", label: "Theming", content: index$1.h("smoothly-theme-demo", null) }), index$1.h("smoothly-app-room", { key: '2a54a53a694e23460e96b9fb04483204f9e1c347', path: "/notifier", label: "Notices", content: index$1.h("smoothly-notifier-demo", null) }), index$1.h("smoothly-app-room", { key: 'd57766baebf8df0791e1e5f845c2bac7d7b8729f', path: "/dialog", label: "Dialogs", content: index$1.h("smoothly-dialog-demo", null), slot: "nav-end" }), index$1.h("smoothly-app-room", { key: 'd5bde6145e9950a3ddcda8e24d811203a4b69f27', path: "/display", label: "Display", content: index$1.h("smoothly-display-demo", null), slot: "nav-end" }), index$1.h("smoothly-app-room", { key: '3d56ef533e12cb88ec84bd2fdc63a60e64031083', path: "/tabs", label: "Tabs", slot: "nav-end" }, index$1.h("smoothly-tabs-demo", { key: '271d70eb22cc0152161d42c137a3d00c19c6bba3' })), index$1.h("smoothly-app-room", { key: 'c0cbe202e3d74ceacd8e88795c58ece2c1392bf5', path: "/links", label: "Links", slot: "nav-end" }, index$1.h("smoothly-input", { key: 'a39f0e568b614baaf271585da4ee013e48ff24fe', type: "text" }, "Default"), index$1.h("div", { key: 'a75dc6524b85da5e0c81b75a9b74d020c2723384', style: { padding: "1em", maxWidth: "12em" } }, index$1.h("smoothly-button", { key: 'a3820b0c802acc358ee3ab4ca9483411bdff04a8', fill: "solid", color: "danger", link: "https://google.com" }, "open"), index$1.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"), index$1.h("smoothly-button", { key: 'f7c9c0a9eb4ca942f56e02b840087398a2688cd8', fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), index$1.h("smoothly-button", { key: 'ebce581340217e91d6abf1bbff7538f77c5842ae', disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), index$1.h("smoothly-button", { key: '01c20890774174c6ec793de4711d8e0530630108', type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), index$1.h("smoothly-app-room", { key: '42945bb6698943a783d0502f3ff0a08cb6ad583e', path: "/redirect", label: "Redirect", slot: "nav-end" }, index$1.h("smoothly-button", { key: 'b022c14f0680b1ca5f511cd87ab152a9ffb5b15d', type: "link", link: "/input" }, "To input"), index$1.h("smoothly-button", { key: '566a1821001da85b67ce9f68f74b590c5319f060', type: "link", link: "../button" }, "To button"), index$1.h("smoothly-button", { key: 'e99bbe6cbb348b2c8b2dba558458c08dea22db21', type: "link", link: new URL("/hidden", window.location.origin).href }, "To hidden"), index$1.h("smoothly-button", { key: '61e59ec9039a63b1d9c50c6705dc0098027be92a', type: "link", link: "/redirect" }, "To redirect"), index$1.h("smoothly-button", { key: '511eba63ae34b4151e99ce482cb532849ab91dd7', type: "link", link: "nested" }, "To redirect nested, relative path")), index$1.h("smoothly-app-room", { key: 'bac6fa14c1c0dd2ebda292fe70255e53f466dc00', path: "/hidden" }, index$1.h("p", { key: '1acd1207b775790f189fd8d8c3fb96a5b8d8a991' }, "hello world!")), index$1.h("smoothly-app-room", { key: '2ecda7ecb183b382bb2987195af5a96e13e3b8b1', path: "/redirect/nested" }, "this is a nested room")));
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
122
|
|
|
@@ -1585,7 +1585,7 @@ const SmoothlyAppRoom = class {
|
|
|
1585
1585
|
}
|
|
1586
1586
|
render() {
|
|
1587
1587
|
var _a;
|
|
1588
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1588
|
+
return (index$1.h(index$1.Host, { key: 'a85747f78cb72957e52a35bb4a5ddf7fd38c8901', class: { "smoothly-mobile-mode": this.mobileMode } }, index$1.h("li", { key: '2a89979ce87b7cbcbc250014d6c60110bdf8c7eb' }, index$1.h("a", { key: 'e7c03470ceab8f52195b90eb04d97678a75368a4', href: (_a = this.paths[0]) === null || _a === void 0 ? void 0 : _a.pathname, onClick: e => this.clickHandler(e) }, this.icon && index$1.h("smoothly-icon", { key: '0b40566be9199d9c34b75ec1260fac0e962c0fd6', name: this.icon }), this.label && index$1.h("span", { key: 'e55412f3a1c041d81b1d3a4e7751a315eafeede3', class: "label" }, this.label))), index$1.h("div", { key: '30eb0eda3109314348f4036ed6206779ad8cee96', ref: e => (this.contentElement = e) }, this.content && index$1.h("smoothly-lazy", { key: '929973767465e67ba49580978d83811f31637b9f', content: this.content }), index$1.h("slot", { key: 'a96c18f28066755f450174e9372e4ef8a25a7c57' }))));
|
|
1589
1589
|
}
|
|
1590
1590
|
};
|
|
1591
1591
|
SmoothlyAppRoom.style = styleCss$1j();
|
|
@@ -1614,14 +1614,14 @@ const SmoothlyBackToTop = class {
|
|
|
1614
1614
|
"--bottom": this.bottom,
|
|
1615
1615
|
"--right": this.right,
|
|
1616
1616
|
};
|
|
1617
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1617
|
+
return (index$1.h(index$1.Host, { key: '5743000aaec20538ad6a57688015cb4afd65d56b', style: cssVariables, onClick: () => {
|
|
1618
1618
|
var _a;
|
|
1619
1619
|
return (_a = this.scrollableParent) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
1620
1620
|
top: 0,
|
|
1621
1621
|
left: 0,
|
|
1622
1622
|
behavior: "smooth",
|
|
1623
1623
|
});
|
|
1624
|
-
} }, index$1.h("smoothly-icon", { key: '
|
|
1624
|
+
} }, index$1.h("smoothly-icon", { key: '39ed5f8fb75c131e62e588101ec26fca43c7ca2c', name: "caret-up-outline" })));
|
|
1625
1625
|
}
|
|
1626
1626
|
get element() { return index$1.getElement(this); }
|
|
1627
1627
|
};
|
|
@@ -1642,7 +1642,7 @@ const SmoothlyBurger = class {
|
|
|
1642
1642
|
this.open = !this.open;
|
|
1643
1643
|
}
|
|
1644
1644
|
render() {
|
|
1645
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1645
|
+
return (index$1.h(index$1.Host, { key: '000c346b45f190a4616e30bd6b64c24a00d0be00' }, index$1.h("smoothly-icon", { key: 'be31c4e7dc3a8848a633801f705988329602805b', name: "menu" })));
|
|
1646
1646
|
}
|
|
1647
1647
|
get element() { return index$1.getElement(this); }
|
|
1648
1648
|
static get watchers() { return {
|
|
@@ -1661,7 +1661,7 @@ const SmoothlyButton = class {
|
|
|
1661
1661
|
this.disabled = false;
|
|
1662
1662
|
}
|
|
1663
1663
|
render() {
|
|
1664
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1664
|
+
return (index$1.h(index$1.Host, { key: 'fddb810b2465ce82a68ce0bf4789aa8f14f79303', title: this.tooltip }, index$1.h(Submittable.Button, { key: '3c08a7871e9ed69611790646f87fc7dae834330c', disabled: this.disabled, type: this.type, link: this.link }, index$1.h("slot", { key: '8048ac9a2c4e450201ef15b82f66532c253783d9' }))));
|
|
1665
1665
|
}
|
|
1666
1666
|
};
|
|
1667
1667
|
SmoothlyButton.style = styleCss$1g();
|
|
@@ -1690,7 +1690,7 @@ const SmoothlyButtonConfirm = class {
|
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
1692
|
render() {
|
|
1693
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1693
|
+
return (index$1.h(index$1.Host, { key: '4412f32553a126e383e1d9bf32d1d0013eb85bc9', warning: this.clickTimeStamp }, index$1.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) }, index$1.h("smoothly-icon", { key: 'be8bbedf8b038e06468c5aac4c813a5af41205ff', name: "alert-outline", fill: this.fill, color: "warning", size: this.size === "icon" ? "tiny" : "small" })), index$1.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) }, index$1.h("slot", { key: 'f3add649906ef5e0d5dd6a7fb504a2af4efe0e66' }))));
|
|
1694
1694
|
}
|
|
1695
1695
|
};
|
|
1696
1696
|
SmoothlyButtonConfirm.style = styleCss$1f();
|
|
@@ -1702,7 +1702,7 @@ const SmoothlyButtonDemo = class {
|
|
|
1702
1702
|
index$1.registerInstance(this, hostRef);
|
|
1703
1703
|
}
|
|
1704
1704
|
render() {
|
|
1705
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1705
|
+
return (index$1.h(index$1.Host, { key: '41fbe591e1a0c9ab6d1d73335a9b9f4a5a3c4d93' }, index$1.h("section", { key: '59b6da9df3532752d3e5dcf9763c527d165bcf1f' }, index$1.h("smoothly-button-demo-standard", { key: '27bf9cd1746a1718bf887dcef5d79230b01318ff' })), index$1.h("section", { key: 'e7e87e4c84c0e8df43d56f217196e27a9bb5670e' }, index$1.h("h4", { key: '8bf5cff46e4146474a9b91bfe8b83db89dd13c3a' }, "Confirm button (two clicks)"), index$1.h("div", { key: '3c341489427dbf76dc4e9a200c23f58174696591' }, index$1.h("smoothly-button-confirm", { key: '75793866c6111afbd5aeadf1bc6251f1efa9d592', name: "confirm", shape: "rounded", color: "danger", size: "large" }, "Delete"), index$1.h("smoothly-button-confirm", { key: '14bdceddb01044ae6979af4a0c8efe0970e81e3d', name: "confirm-icon", shape: "rounded", color: "success", size: "icon" }, index$1.h("smoothly-icon", { key: '33058b7d3638a0ca28aee23a5fb238d60356b16d', name: "checkmark-outline", size: "tiny" })), index$1.h("smoothly-button-confirm", { key: 'd7d306d14262d7b43c5c37af91ffb79f0be82b14', name: "confirm-icon", shape: "rounded", color: "danger", size: "icon", fill: "outline" }, index$1.h("smoothly-icon", { key: '7ea300edde779ca34db97bb2fe60f0051b1e366d', name: "trash-outline", size: "tiny", fill: "outline" }))), index$1.h("smoothly-toggle-switch-demo", { key: 'c6e8b4c78605733c73bab3c1aa8ae5e770cc14e4' }), index$1.h("h4", { key: '8e92524469b1b4e0a59d14907e8df2f4e7680887' }, "Links with icons"), index$1.h("smoothly-button", { key: '4ca461c47396b88dd9c276248d2fb425255e26f8', type: "link" }, index$1.h("smoothly-icon", { key: '07c089e06c38afc5d0abe83491c38716486225c6', name: "checkmark-circle", slot: "start" }), "type link"), index$1.h("smoothly-button", { key: 'b1c765d706ee22acb4368b8a67b1faddb591581a', type: "button", color: "warning", fill: "default" }, index$1.h("smoothly-icon", { key: 'd3188cb32fd389fb88a3a1e760fe33867265c5fc', name: "call", slot: "start" }), index$1.h("a", { key: '9bdf562304a25ce3024ca58cb53fff7c4b04acb6', href: "https://google.com" }, "link")), index$1.h("smoothly-button", { key: '5da225cc3dfd1638a54fc9ce533cd038cccc808e', link: "https://google.com", type: "link" }, index$1.h("smoothly-icon", { key: 'a2417e1fbdff1b064e1cc3f61c4fc1615291e44d', name: "arrow-forward", slot: "end" }), "link + type link"), index$1.h("h4", { key: '54a1da928e2c9c48638a12dd3768c001ba38a77f' }, "Size and Color test"), index$1.h("smoothly-button", { key: 'bce9b7538f39f17b0377f723310eadbad511ed80', color: "primary", fill: "solid", size: "small", shape: "rounded" }, "Color Primary + Small"), index$1.h("smoothly-button", { key: '210799c91bfe94fb54b3434fd99e67075cc91b43', color: "secondary", fill: "solid", shape: "rounded" }, "Color Secondary + Default"), index$1.h("smoothly-button", { key: '374856692cefcb96deb1a38758eb4fec6f7808ab', color: "warning", fill: "solid", size: "large" }, "Color Warning + Large"), index$1.h("smoothly-button", { key: 'e807e6793fb358e6ced92caecb1d0feab2f011c7', color: "danger", fill: "solid", size: "small", shape: "rounded" }, "Color Danger + Small"), index$1.h("smoothly-button", { key: '9bcde023dd0e12a84835bdd3d0c93d7602485246', color: "success", fill: "solid", size: "small", shape: "rounded" }, "Color Success + Small"), index$1.h("smoothly-button", { key: 'f98fb61b19dfbc7bbf29a740e7a5ae1997861c80', color: "tertiary", fill: "solid", size: "small", shape: "rounded" }, "Color Tertiary + Small"), index$1.h("smoothly-button", { key: '6a46ea925f111b8c1d8b4510577d57f10e49ed1e', color: "dark", fill: "solid", size: "small", shape: "rounded" }, "Color Dark + Small"), index$1.h("smoothly-button", { key: '3ced819c355f03ef775ace7ccfbb0206bbc07b6a', color: "medium", fill: "solid", size: "small", shape: "rounded" }, "Color Medium + Small"), index$1.h("smoothly-button", { key: '3257cef08250f67f8ec2666130e3ea0645a8e2c7', color: "light", fill: "solid", size: "small", shape: "rounded" }, "Color Light + Small"), index$1.h("h4", { key: '0a0800062a9f545328408b50f91d9f080cdee158' }, "Expand examples"), index$1.h("smoothly-button", { key: '02fabfb6c3583fb8853d82c4b97245428253774a', color: "secondary", fill: "solid", expand: "full" }, "Color Secondary + Default"), index$1.h("smoothly-button", { key: '51ddb0b657a2648909072cac84055478db97f95d', color: "warning", fill: "solid", expand: "block" }, "Color Warning + Large"), index$1.h("h4", { key: '52624dee081a11c096585822d810cf4288059379' }, "Fill examples"), index$1.h("div", { key: '2c1eeadd860b6115dd7fdd0b2f4f8538a564269a' }, index$1.h("smoothly-button", { key: '9e5454cac152c3eaea53cb55f607ca32ab09ff62', shape: "rounded", color: "primary", fill: "solid" }, index$1.h("smoothly-icon", { key: '188d4c19f60645acb41e0f47f4a96da2e544b8c0', name: "checkmark-circle", slot: "start" }), "Fill Solid"), index$1.h("smoothly-button", { key: '8587e3a0015b27248dd5b0cfa801e8abd962c5ab', shape: "rounded", color: "secondary", fill: "outline" }, index$1.h("smoothly-icon", { key: '557848720b2df5e0425ba66f892b5bf29fa5ea2f', name: "checkmark-circle", slot: "start" }), "Fill Outline"), index$1.h("smoothly-button", { key: 'bb9406a007325c258a6a7b1039fcb1665c0abd3a', shape: "rounded", color: "tertiary", fill: "clear" }, index$1.h("smoothly-icon", { key: 'ed23a5661e678f293cbfa5745d684e6b10dc8c1a', name: "checkmark-circle", slot: "start" }), "Fill Clear"), index$1.h("smoothly-button", { key: '910b4a12a963dc64747c0d37eac3ce437215982f', size: "icon", shape: "rounded", color: "success", fill: "solid" }, index$1.h("smoothly-icon", { key: 'f32e72f63b447d69655d51eb23fb23671132c34f', name: "basketball" }))), index$1.h("h4", { key: '13a6bf24881c6eb2c7753b6cc5a23dfe8c16f5bc' }, "Buttons with Icon in \"start\""), index$1.h("div", { key: 'cc0e96b1435883957159795474f8cf7aead9586d' }, index$1.h("smoothly-button", { key: '963d08b7ffe3533daa1a933ce66263616258f92b', shape: "rounded", fill: "solid", color: "warning" }, index$1.h("smoothly-icon", { key: '6fd017cf57e5ebdf63078003e02d92c68c8f4af5', name: "checkmark-circle", slot: "start" }), "Check"), index$1.h("smoothly-button", { key: '0bfde99dba0e56974c4132d2ef6c727c9a2a809f', shape: "rounded", fill: "solid", color: "secondary" }, index$1.h("smoothly-icon", { key: '5780d006fe5a007b68f17c537934ebae8fb23480', name: "basketball", slot: "start" }), "Check"), index$1.h("smoothly-button", { key: '00e418dec2de5f78e40f56a38bff2e66f0ea8744', shape: "rounded", fill: "solid", color: "success" }, index$1.h("smoothly-icon", { key: 'eed0a2bb3c839dd3d914dc0a07e1e3c51e3c5bf3', name: "call", slot: "start" }), "Check"), index$1.h("smoothly-button", { key: '7ccffbe4c12666ce4f167f0fdc9b6bc7078faeb0', size: "icon", fill: "solid", shape: "rounded", color: "success" }, index$1.h("smoothly-icon", { key: '56531f0dd24f7c5bb0ae63fcf7b82935b60d24f2', name: "call" })), index$1.h("smoothly-button", { key: '8466fd4b388ad0e5411ba5f31975aaf6a1b0680b', size: "flexible", fill: "solid", color: "success" }, index$1.h("smoothly-icon", { key: '1472f81c21140b5a8ee4408a947657cd673bd1dc', name: "airplane" }))), index$1.h("h4", { key: '0e2ac17f379dd54737037e4d3b32ad256ebf8494' }, "Buttons with Icon in \"end\""), index$1.h("smoothly-button", { key: 'a4350f353ce14cb9adb6b362b0b11e527c0cd9fe', fill: "solid", color: "light" }, "Go Forward", index$1.h("smoothly-icon", { key: 'c8e56f3ab255349c872b991ec76de6c6ab878066', name: "arrow-forward", slot: "end" })), index$1.h("h4", { key: '4a318ff840e33a41e1afbdc2e328430ac4bbc830' }, "Test for icon button"), index$1.h("div", { key: '9305973351f925768f74b64f7b790c92b1588839' }, index$1.h("smoothly-button", { key: 'da959f375b10df462b6bf8df9d5104dce89fb9d0', size: "icon", fill: "solid", shape: "rounded", color: "success" }, index$1.h("smoothly-icon", { key: '141d5fa125a2a34220c4cf0320ec45ca3fe31139', name: "call" })), index$1.h("smoothly-button", { key: '0987067c106765e51df6f9586aa1d45d942ef125', size: "icon", shape: "rounded", color: "warning", fill: "solid" }, index$1.h("smoothly-icon", { key: '5fa23e7a1d9b315af5354b55fc4eefd9835e0a44', name: "search-outline" })), index$1.h("smoothly-button", { key: '60e76fbb66064799f114cc841c813f9ee1d7d065', size: "icon", shape: "rounded", color: "secondary" }, index$1.h("smoothly-icon", { key: '1ae4510d90d1b47baadee8f6ed7dd492066bd3e9', name: "checkmark-circle" }))), index$1.h("h4", { key: 'fadbc9d0a253d68f24b030d2d52d73d5947d335a' }, "Link examples"), index$1.h("div", { key: '8b4ced5d7bbb2e479073f04cfb98e7f98b41f01c' }, index$1.h("smoothly-button", { key: '128369132e142d37361b6d640fde4d2743e145a7', type: "link" }, "type link"), index$1.h("smoothly-button", { key: 'b9f05aa9925ca88c1aa65f4e0b3040bed9d01e83', type: "button", fill: "clear" }, index$1.h("a", { key: '9b565879faf7af07377103494a04b9c3c3a53c8a', href: "https://google.com" }, "link")), index$1.h("smoothly-button", { key: '69355e4bbbf46fd49597bc3db62d31548d112f87', link: "https://google.com", type: "link" }, "link + type link")), index$1.h("h4", { key: 'dbc23f33d5d74c0147f658672f7a4fcfb166df9d' }, "Disabled buttons"), index$1.h("div", { key: '0b6d087a8e7ca3a3c1b94159f126962b6c622b20' }, index$1.h("smoothly-button", { key: '636c5d7b4ddfee2ca6b912b8c8f65e06b5a64136', disabled: true, fill: "solid", color: "secondary" }, "Disabled"), index$1.h("smoothly-button", { key: 'da4a2457eef26c077d603bd3482764ce357918ad', type: "link", link: "https://google.com", disabled: true }, "Disabled link"))), index$1.h("smoothly-back-to-top", { key: '2906fd515608fe4a3c880755bbb9dfee63d94889' })));
|
|
1706
1706
|
}
|
|
1707
1707
|
};
|
|
1708
1708
|
SmoothlyButtonDemo.style = styleCss$1e();
|
|
@@ -1725,10 +1725,10 @@ const SmoothlyButtonDemoStandard = class {
|
|
|
1725
1725
|
}, 100);
|
|
1726
1726
|
}
|
|
1727
1727
|
render() {
|
|
1728
|
-
return (index$1.h(index$1.Host, { key: '
|
|
1728
|
+
return (index$1.h(index$1.Host, { key: 'd6e6ca6091ae99e7203ec3d88a00d4b486f5f3bd' }, index$1.h("h2", { key: 'b62fd377ec00749b0f0f7b8cff1e2e2fdceb318d' }, "Button Standard"), index$1.h("smoothly-form", { key: 'c9c1113d5c7073b66d0cfbd90bfa552ca3104d37', onSmoothlyFormInput: e => (this.props = e.detail), looks: "grid" }, index$1.h("smoothly-input-checkbox", { key: '0666c152084c24ec1596ab16d09b04da4f885752', name: "text.useColor", checked: true }, "Use Color as Text"), index$1.h("smoothly-input-select", { key: '77fa423c1bed60c446bad2fee6ef4927610ac8af', name: "size" }, index$1.h("span", { key: 'd5cd74d1252542454a5fb6441d2099da14a53023', slot: "label" }, "Size"), ["small", "large", "icon", "flexible"].map(size => (index$1.h("smoothly-item", { value: size, key: size }, size)))), index$1.h("smoothly-input", { key: 'b6df255a745261b34ef164f04c5458c77a9c286b', name: "text.value", value: "Button" }, "Text", index$1.h("smoothly-input-clear", { key: '0ee5dff1bd206c5db7d1928773cef6890fb2ed80', slot: "end" })), index$1.h("smoothly-input-radio", { key: 'f6f3027ea26fc6c6d077b79bbb228b6cd0809e54', name: "expand", clearable: true }, index$1.h("span", { key: '33436d08686b4714e0cfdb0cea7ba6b082b666ed', slot: "label" }, "Expand"), index$1.h("smoothly-input-radio-item", { key: 'be55407c3191954aca07baf6aa027ac6bbe9d106', value: "block" }, "block"), index$1.h("smoothly-input-radio-item", { key: '1e94daa9639011bf686019ba4883524f0073fae6', value: "full" }, "full"), index$1.h("smoothly-input-clear", { key: '3b51e51710dbac5a260d3396546285234f55ad9e', slot: "end" })), index$1.h("smoothly-input-select", { key: '73b66b593f926e9035e4502bb8978deac7675d76', name: "fill" }, index$1.h("span", { key: '5b143acb8c018f8c37d50788d77c8935fb5e014f', slot: "label" }, "Fill"), Scrollable.Fill.values.map(fill => (index$1.h("smoothly-item", { value: fill, key: fill }, fill)))), index$1.h("smoothly-input-checkbox", { key: 'ef134a75c0dc58a8ef42ab5f382132eb8163452a', name: "disabled" }, "Disabled"), index$1.h("smoothly-input-select", { key: 'ad79838c8c83d40eeb08b1c5b83d6e82a9b6c87c', name: "type" }, index$1.h("span", { key: '1581c9346c7c2443324996f8e2b79d03f31241da', slot: "label" }, "Type"), ["button", "submit", "reset", "link"].map(type => (index$1.h("smoothly-item", { value: type, key: type }, type)))), index$1.h("smoothly-input-checkbox", { key: '05a368b01328adf76df30553a714934b582c16f6', name: "rounded" }, "Rounded"), index$1.h("smoothly-input-select", { key: 'a8298ce4893589cdef6de8b311d393e1d4d7bd1d', name: "icon", menuHeight: "8items" }, index$1.h("span", { key: 'f0a06face2985f21d7159adb1ce523483268644a', slot: "label" }, "Icon"), Scrollable.Icon.Name.values.map(icon => (index$1.h("smoothly-item", { value: icon, key: icon }, index$1.h("smoothly-icon", { name: icon, size: "small", tooltip: icon })))), index$1.h("smoothly-input-clear", { key: '5791bab3057dac0dfcbd69b3c593b331878b4ed0', slot: "end" })), index$1.h("smoothly-input", { key: '8c650a560e278a4aac4040ee101e4e1346ca3a54', name: "tooltip", value: "Tooltip" }, "Tooltip", index$1.h("smoothly-input-clear", { key: 'e67bfad19b0bc374f025055140a689bb45ec4dbb', slot: "end" }))), index$1.h("div", { key: '0c312b6d27ddb2a1a80c04661345c703b2622414', class: "buttons" }, Scrollable.Color.values.map((color, index, colors) => {
|
|
1729
1729
|
var _a, _b;
|
|
1730
1730
|
return (index$1.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 ? index$1.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));
|
|
1731
|
-
}), index$1.h("div", { key: '
|
|
1731
|
+
}), index$1.h("div", { key: '638acf6f59bd885acb4262f43e377afc22e35b79', class: "height-text" }, this.heightText))));
|
|
1732
1732
|
}
|
|
1733
1733
|
static get watchers() { return {
|
|
1734
1734
|
"props": [{
|
|
@@ -1866,10 +1866,10 @@ const Calendar = class {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
render() {
|
|
1868
1868
|
var _a, _b, _c;
|
|
1869
|
-
return (index$1.h(index$1.Fragment, { key: '
|
|
1869
|
+
return (index$1.h(index$1.Fragment, { key: '51ec0570b1b71eb9ff8bca9984ecf40550abe435' }, index$1.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 => {
|
|
1870
1870
|
e.stopPropagation();
|
|
1871
1871
|
"month" in e.detail && typeof e.detail.month == "string" && (this.month = e.detail.month);
|
|
1872
|
-
}, onSmoothlyUserInput: e => e.stopPropagation() }, index$1.h("div", { key: '
|
|
1872
|
+
}, onSmoothlyUserInput: e => e.stopPropagation() }, index$1.h("div", { key: '14ed1a3cc6dd8fe89d7ac4f1450f391ccb0bff77', slot: "year-label" }, index$1.h("slot", { key: 'c07b485adf7b6b4aa71d3ceb10d530aa029c652d', name: "year-label" })), index$1.h("div", { key: 'cd1e232ded9c2ac84156de7419bc46bdd4e01680', slot: "month-label" }, index$1.h("slot", { key: '1255e6cef5898b90aba12716639774957e09cd86', name: "month-label" }))), index$1.h("table", { key: '8ada3e2ac6abf42710c8611d9264ddbc7691e307' }, index$1.h("thead", { key: '1f686102dc5f57bbc838d11d984e85407d44fdda' }, index$1.h("tr", { key: '41ab20afc9b1a4491f5070345f779dc6238dd8d3' }, weekdays().map(day => (index$1.h("th", null, day))))), month((_c = (_b = this.month) !== null && _b !== void 0 ? _b : this.value) !== null && _c !== void 0 ? _c : index.isoly.Date.now()).map(week => (index$1.h("tr", null, week.map(date => {
|
|
1873
1873
|
var _a, _b, _c, _d;
|
|
1874
1874
|
return (index$1.h("td", { tabindex: 1, onMouseOver: this.withinLimit(date) ? () => this.onHover(date) : undefined, onClick: this.withinLimit(date)
|
|
1875
1875
|
? () => (this.doubleInput ? this.onClickDoubleInput(date) : this.onClick(date))
|
|
@@ -2288,7 +2288,7 @@ const SmoothlyInputDateRangeText = class {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
}
|
|
2290
2290
|
render() {
|
|
2291
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2291
|
+
return (index$1.h(index$1.Host, { key: '58630b82c91178b70eee75c26ad8b6c2927410cb', class: { "has-text": Object.values(this.parts).some(part => !!part) } }, DateFormat$1.Order.toArray(this.order).map((part, index) => {
|
|
2292
2292
|
var _a;
|
|
2293
2293
|
return (index$1.h("span", { onClick: () => !this.readonly && !this.disabled && this.setFocus(index) }, index$1.h("span", { class: {
|
|
2294
2294
|
"smoothly-date-text-part": true,
|
|
@@ -2329,7 +2329,7 @@ const SmoothlyDialog = class {
|
|
|
2329
2329
|
};
|
|
2330
2330
|
}
|
|
2331
2331
|
__stencil_render() {
|
|
2332
|
-
return (index$1.h("section", { key: '
|
|
2332
|
+
return (index$1.h("section", { key: '5bdc10b02671eed7397ae99e872f104cb098d2c0' }, index$1.h("div", { key: '05bbab31a6d30c2ff0e3ec64ac59c8e56560526c', class: "header" }, this.closable && (index$1.h("smoothly-trigger", { key: '4f5d1a0d5c87d22d00281fadba0ffacf20c4b8db', fill: "clear", name: "close" }, index$1.h("smoothly-icon", { key: '2474cba19d732b0d34b02a055379bf1926a8fc4d', name: "close-circle", fill: "solid", color: this.color }))), this.header ? index$1.h("h1", null, this.header) : index$1.h("slot", { name: "header" })), index$1.h("div", { key: '861af5e557c0ef202273cab84877c8806bb2c232', class: "content" }, index$1.h("slot", { key: 'e755042ab3f24972fa2eaac24914649d10dafd0f' }))));
|
|
2333
2333
|
}
|
|
2334
2334
|
render() { return index$1.h(index$1.Host, this.hostData(), this.__stencil_render()); }
|
|
2335
2335
|
};
|
|
@@ -2345,7 +2345,7 @@ const SmoothlyDialogDemo = class {
|
|
|
2345
2345
|
this.showFrame = false;
|
|
2346
2346
|
}
|
|
2347
2347
|
render() {
|
|
2348
|
-
return (index$1.h(index$1.Host, { key: '
|
|
2348
|
+
return (index$1.h(index$1.Host, { key: '0d1ca7f9bc049064eb1680cc807bd49bafab0e7e' }, index$1.h("smoothly-button", { key: '33683c13b2f666aea6d3306056b74b694cb88654', fill: "solid", color: "light", onClick: () => (this.openModal = true) }, "Open Modal"), index$1.h("smoothly-button", { key: '46de03312dfa5a28f164aacd442a7074148d6390', fill: "solid", color: "light", onClick: () => (this.openTallModal = true) }, "Open Modal with long text and top-aligned."), index$1.h("smoothly-button", { key: 'ea629cfa5afabb8151f230b4916d9eb13849a4d7', fill: "solid", color: "light", onClick: () => (this.showFrame = !this.showFrame) }, "Show Frame"), index$1.h("smoothly-modal", { key: '45b7313f8539478b1418298a7e086e506b18cf79', closable: true, open: this.openModal, onSmoothlyModalChange: e => (this.openModal = e.detail) }, index$1.h("h2", { key: '005f8f44463bd4f5048582f4d59b8792a02321e4', slot: "header" }, "Modal"), index$1.h("span", { key: '8bdae975d32f862fe1b2da1b75c1cdd8e0596e19' }, "Are you sure you want to confirm this action?"), index$1.h("smoothly-button", { key: '7a4fc7fbeb273ddaf66723c022c0408d7d5e6cc0', slot: "actions", color: "success" }, "Confirm"), index$1.h("smoothly-button", { key: 'c41f548b2f249ab1d04d180c6a8745f0be0c3180', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openModal = false) }, "Cancel")), index$1.h("smoothly-modal", { key: '9b8efe1c92dae88afeb60053efcc19c89fcb53f6', closable: true, open: this.openTallModal, onSmoothlyModalChange: e => (this.openTallModal = e.detail), align: "top" }, index$1.h("h2", { key: '0c7b0382250669ac142152a49f24214180b75c11', slot: "header" }, "Modal"), index$1.h("smoothly-summary", { key: 'ccb69953bda0af96ba9e6679d0492770e1face22' }, index$1.h("div", { key: '95d44ba81eec2106d470f4f84c0857aab8f9b6c5', slot: "summary" }, "Lorem ipsum"), index$1.h("div", { key: '73a8c397c891af87ebb019bdb3ace838ab40ee24', slot: "content" }, Array.from({ length: 10 }).map(() => (index$1.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."))))), index$1.h("smoothly-button", { key: '61c0e81f6b49ff91d58cc3536c516e25afe9ee71', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openTallModal = false) }, "Cancel")), this.showFrame && (index$1.h("smoothly-dialog", { key: 'c0315ea0fbf1a253fe4fbc7aa9e01f7b21e49293', closable: true }, index$1.h("smoothly-frame", { key: '1469ba8f2d229d42329627b12e2a4bd4028a2273', url: "https://www.wikipedia.org/", name: "parent", style: { height: "80vh" } })))));
|
|
2349
2349
|
}
|
|
2350
2350
|
};
|
|
2351
2351
|
SmoothlyDialogDemo.style = styleCss$19();
|
|
@@ -4203,16 +4203,16 @@ const SmoothlyDisplay = class {
|
|
|
4203
4203
|
const type = this.type;
|
|
4204
4204
|
switch (type) {
|
|
4205
4205
|
case "json":
|
|
4206
|
-
result = index$1.h("smoothly-display-json", { key: '
|
|
4206
|
+
result = index$1.h("smoothly-display-json", { key: 'fd641ce179a967152448d7c489ad96dd5ea6cc4e', value: this.value, collapseDepth: this.collapseDepth });
|
|
4207
4207
|
break;
|
|
4208
4208
|
default:
|
|
4209
4209
|
result = format(this.value, type);
|
|
4210
4210
|
break;
|
|
4211
4211
|
case "email":
|
|
4212
|
-
result = index$1.h("a", { key: '
|
|
4212
|
+
result = index$1.h("a", { key: 'd32e3545f5b4e43e0b8f383ba0ef7274472f4d41', href: "mailto:" + this.value }, format(this.value, type));
|
|
4213
4213
|
break;
|
|
4214
4214
|
case "phone":
|
|
4215
|
-
result = index$1.h("a", { key: '
|
|
4215
|
+
result = index$1.h("a", { key: '3b6156fba727f342215fc2510e497bf24e21fa9b', href: "tel:" + this.value }, format(this.value, type, this.country));
|
|
4216
4216
|
break;
|
|
4217
4217
|
case "postal-code":
|
|
4218
4218
|
result = format(this.value, type, this.country);
|
|
@@ -4248,35 +4248,35 @@ const SmoothlyDisplayDemo = class {
|
|
|
4248
4248
|
}
|
|
4249
4249
|
render() {
|
|
4250
4250
|
return [
|
|
4251
|
-
index$1.h("main", { key: '
|
|
4251
|
+
index$1.h("main", { key: '570a8cf525b8d883f2c226fd9d1f24ef9d2a7bac' }, index$1.h("fieldset", { key: '9daf4d2a5ff6c3924c09186d0b73c8dc11ef2354' }, index$1.h("h2", { key: '01bf90a47c56197346494bbc1992edf5ab9d8b2e' }, "Smoothly display"), index$1.h("dl", { key: 'dd5fbdf6e596430cb0a18482b50a8d3ef46cc2d9' }, index$1.h("dt", { key: 'e97f6d69f565560e54956acc47c61e676db32b26' }, "Duration"), index$1.h("dd", { key: 'b3ec7065ba3cb6e1832cf22f329964bc3a983d09' }, index$1.h("div", { key: 'db46dbf07917dd784f0939803fcb97f80d4ab0a7' }, index$1.h("div", { key: 'eda3a232df465a291734a9e1e607f779727928a2' }, index$1.h("smoothly-display", { key: '894097c909f8c1b0dd276696db72daadf3365aee', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), index$1.h("div", { key: '0f258be9133609201671eb993a290b2be1ee8d2b' }, index$1.h("smoothly-display", { key: 'd98834b9c367bbb650e8e933be3ee20b93df8082', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), index$1.h("div", { key: '2dc0241b935f3d45f812fe0175731954c8e0b983' }, index$1.h("smoothly-display", { key: 'cc4c171af5aa79cf5487a8a131430bacc5248c98', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), index$1.h("div", { key: '19ff8935bb3454d538b0312530d32ff63dfb3034' }, index$1.h("smoothly-display", { key: 'e3c7ba72956c3735bc646773cf30eb78c2c4e75b', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), index$1.h("div", { key: '40d13934f818da8df03dd4215b5176cdf0089c20' }, index$1.h("smoothly-display", { key: 'f03306bc6cbd65f3ee50ce6fb57c66b2af229a83', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), index$1.h("div", { key: 'f0d127f6a00ed1c06eb36fdfa1b809354cb139ba' }, index$1.h("smoothly-display", { key: '85ea4fa490947ec5bf9810fc5e5677550b507f7b', style: { display: "inline" }, type: "duration", value: {} }), " h"), index$1.h("div", { key: 'f60948619c1fcbad63e4af03f282ff3366f1ba76' }, index$1.h("smoothly-display", { key: '846841ac1b7cd206a2a95034db25a3059dccf890', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), index$1.h("dt", { key: '3db393fff9fd7740683746088e884d83ac51e1e8' }, "text"), index$1.h("dd", { key: '2bd200acca8afd5cf72dd94294e4438e811ac411' }, index$1.h("smoothly-display", { key: 'aa88f3c9ed96edff41c91b4ed2206a04c90ed6f4', type: "text", value: "text" })), index$1.h("dt", { key: '81e183489b4fb749823c25b2a50ced9621aa432e' }, "postal code"), index$1.h("dd", { key: '390dd9916fcf42cb15a48727082a27550e46814a' }, index$1.h("smoothly-display", { key: '7e80d1d0b8746596448ca50c356e4afbe7d6f276', type: "postal-code", value: "752 31" })), index$1.h("dt", { key: 'c0d0dc8205d93cb8479713bdae1208e2847e477a' }, "password"), index$1.h("dd", { key: '0ea85f4699579f4b24f35f59775d7dec43978e5e' }, index$1.h("smoothly-display", { key: '9779849ced3842513a5c7d5d37cd20bf1f01f244', type: "password", value: "password" })), index$1.h("dt", { key: '5143b3ae0e39eb416c344a98b45974c2ad480eef' }, "email"), index$1.h("dd", { key: '8c25c7f73f1f4ec38cea3d7c520dc037df7b2224' }, index$1.h("smoothly-display", { key: '53a354324dea186db81a5b59bf75e222db33e56d', type: "email", value: "test@example.com" })), index$1.h("dt", { key: '469bd6001f5ad150ea815bb6e89a29eda53b5b77' }, "price"), index$1.h("dd", { key: 'cde7a755ca3ff50a5b0cea8eb4a1dae6aa5b253b' }, index$1.h("smoothly-display", { key: 'bb68a44ffd892b48277aa20a95f5e863680b4fa3', type: "price", value: "13.37", currency: "SEK" })), index$1.h("dt", { key: 'aff590f97d41ab80c38e7ecaba3e8023fd8ea734' }, "price without decimals"), index$1.h("dd", { key: '39a40abdaae41f74fa5e52be77cbe1045965e1dc' }, index$1.h("smoothly-display", { key: '1c653914e801725457fb55bb1b70ed56d991dabb', type: "price", value: 200, currency: "SEK", toInteger: true })), index$1.h("dt", { key: 'be366012d28535a04fa54216d29fa7835bdd789b' }, "price with decimals if they are set, otherwise no decimal"), index$1.h("dd", { key: 'f40b67c170fec282518c59179189b4f262a12804' }, index$1.h("smoothly-display", { key: '52ba5c8026d562f40ac62cd14fe1cf67b5d0c641', type: "price", value: 200.2, currency: "SEK", toInteger: true })), index$1.h("dt", { key: 'cc1048ee5cb4ef42c4396009ccb085e7ce8c3eca' }, "price with decimals"), index$1.h("dd", { key: '4814a19946eb610096f1aa76236971ca4e7d52f6' }, index$1.h("smoothly-display", { key: 'cb4cbda427c7a488bbba0c978d91a80683b9d8cb', type: "price", value: 200.2, currency: "SEK" })), index$1.h("dt", { key: 'deb381d3caec587043c0f58a58d06406f215f3e5' }, "percent"), index$1.h("dd", { key: 'afbe0bc5aa167605f50ec765a999432856019082' }, index$1.h("smoothly-display", { key: 'ffb1aee2a313b9f6ab71d42ed937619423095293', type: "percent", value: "42" })), index$1.h("dt", { key: '381bc0bb2857f9cc3b0e1b9e2cd439e35106f24b' }, "phone"), index$1.h("dd", { key: '96c9e0fb69de5004ba8666939b932f42db444db6' }, index$1.h("smoothly-display", { key: 'a242f3011ff04f9f02791b40bc0c042d9b95e087', type: "phone", value: "0101881108" })), index$1.h("dt", { key: 'ddf64889ff408a199d11b734ee2d41f15c619ace' }, "card number"), index$1.h("dd", { key: 'a6d6b94ab7b1c53b35622fb1e063b1293a637cf6' }, index$1.h("smoothly-display", { key: '8dbdba91c26bd0f1b4f923f76589b08f5c032f65', type: "card-number", value: "4111111111111111" })), index$1.h("dt", { key: 'ef7ef814a8cf29fec2f974efd32f040c3d725cc7' }, "card expires"), index$1.h("dd", { key: '84321e803af55ddd5469ef3068fd2eb8d946420b' }, index$1.h("smoothly-display", { key: '20651476830684d2a40e911a40fc00fe7f1ffe7e', type: "card-expires", value: "7/22" })), index$1.h("dt", { key: '7aef10fd17c205805fe7f5e790d12c2b89247a77' }, "card csc"), index$1.h("dd", { key: '00eca296571bf49a6c338c13a939d6f3155d4a08' }, index$1.h("smoothly-display", { key: 'c18662e291199765f4278d54e595588bfc3d6f1e', type: "card-csc", value: "987" })), index$1.h("dt", { key: 'e92d089a639a1e3357a6d39d2e499fff6bd7c2d1' }, "date"), index$1.h("dd", { key: 'f3cc2aabdec6942c8eadc2278b7a42adae09168d' }, index$1.h("smoothly-display", { key: 'fcd502f245a1c814faa093d82bb101182b3dafcd', type: "date", value: "2022-07-07" })), index$1.h("dt", { key: '81b8cbdb349df1bd1e1f84cc4bd006d7f2549c19' }, "date time"), index$1.h("dd", { key: 'eb5a64ea635751c62366292ce0ca23d125ad17ee' }, index$1.h("smoothly-display", { key: '039d66c0457be7e82b999a9e4c0672deee8fbe90', type: "date-time", format: {
|
|
4252
4252
|
year: "numeric",
|
|
4253
4253
|
month: "short",
|
|
4254
4254
|
day: "numeric",
|
|
4255
4255
|
hour: "numeric",
|
|
4256
4256
|
minute: "numeric",
|
|
4257
4257
|
second: "numeric",
|
|
4258
|
-
}, value: "2022-07-07T02:02:02Z" })), index$1.h("dd", { key: '
|
|
4258
|
+
}, value: "2022-07-07T02:02:02Z" })), index$1.h("dd", { key: '456d8713e2e366e0efd48c4b0eca946a780bcd93' }, index$1.h("smoothly-display", { key: 'a6ea10ff87584dc5ce0146d6547b0948bb625e2e', type: "date-time", format: {
|
|
4259
4259
|
year: "2-digit",
|
|
4260
4260
|
month: "long",
|
|
4261
4261
|
day: "2-digit",
|
|
4262
4262
|
hour: "2-digit",
|
|
4263
4263
|
minute: "2-digit",
|
|
4264
4264
|
second: "2-digit",
|
|
4265
|
-
}, value: "2022-07-07T02:02:02Z" })), index$1.h("dd", { key: '
|
|
4265
|
+
}, value: "2022-07-07T02:02:02Z" })), index$1.h("dd", { key: '0fc3da083c35e907cb4c48645ecc7a3e4a4455d7' }, index$1.h("smoothly-display", { key: '49485eb182ac66fb8f9940d3719c4059c3897dc4', type: "date-time", format: {
|
|
4266
4266
|
year: "numeric",
|
|
4267
4267
|
month: "2-digit",
|
|
4268
4268
|
day: "2-digit",
|
|
4269
4269
|
hour: "numeric",
|
|
4270
4270
|
minute: "numeric",
|
|
4271
4271
|
second: "numeric",
|
|
4272
|
-
}, value: "2022-07-07T12:22:24Z" })), index$1.h("dd", { key: '
|
|
4272
|
+
}, value: "2022-07-07T12:22:24Z" })), index$1.h("dd", { key: '40a262a2fc34177b63b7e2969b3b59a5de602861' }, index$1.h("smoothly-display", { key: 'b7f00e769f842ed9ea6a630058cd01768ec2c0ac', type: "date-time", format: {
|
|
4273
4273
|
year: "numeric",
|
|
4274
4274
|
month: "numeric",
|
|
4275
4275
|
day: "numeric",
|
|
4276
4276
|
hour: "numeric",
|
|
4277
4277
|
minute: "numeric",
|
|
4278
4278
|
second: "numeric",
|
|
4279
|
-
}, value: "2022-07-07T12:22:24Z" })), index$1.h("dd", { key: '
|
|
4279
|
+
}, value: "2022-07-07T12:22:24Z" })), index$1.h("dd", { key: '4a3173f9713aaa4371ab13ebd8577cd7a7935c95' }, index$1.h("smoothly-display", { key: '05904422b25f61dfc9f4325a4bb51b3d39a9aabf', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), index$1.h("dd", { key: '59783d4201fcf777c5e3635ad53934644eb68310' }, index$1.h("smoothly-display", { key: '58450e26b3eeab44be1c083f7f1320976dadf783', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), index$1.h("dd", { key: '0beada1376af2c6652c3dad47b08c1b1699b24bb' }, index$1.h("smoothly-display", { key: '9d1b738dd535da8a7e07b959b4e581cf0f2b93d1', type: "date-time", format: {
|
|
4280
4280
|
year: "2-digit",
|
|
4281
4281
|
month: "numeric",
|
|
4282
4282
|
day: "numeric",
|
|
@@ -4284,21 +4284,21 @@ const SmoothlyDisplayDemo = class {
|
|
|
4284
4284
|
minute: "2-digit",
|
|
4285
4285
|
second: "2-digit",
|
|
4286
4286
|
timeZone: "Europe/Stockholm",
|
|
4287
|
-
}, value: "2022-07-07T12:15Z" })), index$1.h("dt", { key: '
|
|
4287
|
+
}, value: "2022-07-07T12:15Z" })), index$1.h("dt", { key: '6d2aac61ed9fad093c2f19c2ec4d4de32b12e9a0' }, "Display JSON"), index$1.h("dd", { key: '2215884fa898511c90acf6997f8e20aea4c0ea0d' }, index$1.h("smoothly-display-demo-json", { key: '85cecf5eeaa416c9baca4a7876e348b54a09dbcb' })))), index$1.h("h2", { key: '56ae1be90a6bf9a152118dab9fec7d04b2a9b8e4' }, "With labels"), index$1.h("dd", { key: '4689634be5c50bafa97e8a08baee4b85b0a621ec' }, index$1.h("smoothly-display", { key: '14067ba1153408f0d11b02a76c5685b2c1f4a374', label: "Today", type: "date", value: index.isoly.Date.now() }), index$1.h("smoothly-display", { key: '4ba2105f9b3e139fac91bab03b9640766a18814a', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), index$1.h("smoothly-display", { key: '138eb84408cb4efbc29f43ed1e3f9f71539dfac8', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), index$1.h("smoothly-display", { key: '2bddcb3e8ec54e29fc53a8ff4213cd157b34c8f1', label: "Logs", type: "json", value: [
|
|
4288
4288
|
{ type: "trace", message: "Hello" },
|
|
4289
4289
|
{ type: "error", message: "Oh no!" },
|
|
4290
|
-
] })), index$1.h("fieldset", { key: '
|
|
4290
|
+
] })), index$1.h("fieldset", { key: '830ecceb2f6904425d60f24ab37e046e4d147b04' }, index$1.h("h2", { key: 'dbab367e69309f7c29a3d025d585afbb2fa88965' }, "Test of different kinds of notifier"), index$1.h("button", { key: '187872d0e82b1389961e3d41a0998a0814f5e086', onClick: () => this.noticeWarning(Notice.Notice.warn("This is a test warning notice.")) }, "warning"), index$1.h("button", { key: '3f2ee3e8052834171ee2878dc3dcbd58d0fa6ed5', onClick: () => this.noticeWarning(Notice.Notice.succeeded("This is a test success notice.")) }, "success"), index$1.h("button", { key: '678349d8e5f0ba8b237ef1f2cd7c2b2d04aafe14', onClick: () => this.noticeWarning(Notice.Notice.failed("This is a test danger notice.")) }, "danger"), index$1.h("button", { key: '06792c0fd16258c1a306a902c77e3600bcae0872', onClick: () => this.noticeWarning(Notice.Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), index$1.h("button", { key: '91ffa7d831eefbdce57ea2732ca884a3f30129ea', onClick: () => this.noticeWarning(Notice.Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), index$1.h("fieldset", { key: '020e2fe53b4ee2f6b36a94863dbe2367d02e0b51' }, index$1.h("h2", { key: 'bb7cfda125e43c7f2afee6d7853318522456762e' }, "Smoothly spinner"), index$1.h("div", { key: 'a9f199a1fe6837f1546ee3aca45b74c399c23519', style: { width: "fit-content" } }, "Large", index$1.h("smoothly-spinner", { key: 'b3d78a677a1c3a62be4e448ac394096d62bc04e0', size: "large", style: {
|
|
4291
4291
|
"--spinner-background": "200,255,200",
|
|
4292
4292
|
"--spinner-background-opacity": "0.2",
|
|
4293
4293
|
"--spinner-color": "0,130,0",
|
|
4294
|
-
} })), index$1.h("div", { key: '
|
|
4294
|
+
} })), index$1.h("div", { key: 'db5b5ce167113c8471537bc9604af1d31ef5f228', style: { width: "fit-content" } }, "Medium", index$1.h("smoothly-spinner", { key: '2eff854f0c518cb3928615775367c6ca768f1a9e', size: "medium" })), index$1.h("div", { key: 'b92410ef7ff77eb220554dce92ee9e5e0161b8d2', style: { width: "fit-content" } }, "Small", index$1.h("smoothly-spinner", { key: '4836644ee23ce44de781fc59b185c363d2d10e5e', size: "small" })), index$1.h("div", { key: 'a6b659783973f77a39e1643940fc97f77be1f7ad' }, "Icon sized spinner on button", Scrollable.Color.values.map(color => (index$1.h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
|
|
4295
4295
|
this.downloadingSpinner = true;
|
|
4296
4296
|
setTimeout(() => (this.downloadingSpinner = false), 3000);
|
|
4297
|
-
} }, !this.downloadingSpinner && index$1.h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (index$1.h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), index$1.h("h3", { key: '
|
|
4297
|
+
} }, !this.downloadingSpinner && index$1.h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (index$1.h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), index$1.h("h3", { key: '8161fb53d9dfa5aba8bc164adcaf9e3daeeaa627' }, "Spinner with overlay"), index$1.h("div", { key: '8d4115c6ab8a24add137c06cde794937aba85b69', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", index$1.h("smoothly-spinner", { key: 'd04a2e77e759e5e094244922ec70fc150bac6858', overlay: true, size: "large", style: {
|
|
4298
4298
|
"--spinner-background": "255,200,255",
|
|
4299
4299
|
"--spinner-background-opacity": "0.5",
|
|
4300
4300
|
"--spinner-color": "0,130,0",
|
|
4301
|
-
} })), index$1.h("div", { key: '
|
|
4301
|
+
} })), index$1.h("div", { key: 'e284851987d3e475d72dd68e5465ff2b54e38710', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", index$1.h("smoothly-spinner", { key: '29d593da93d2e11ac520650d64af1de6728e837e', overlay: true, color: "secondary", size: "medium" })), index$1.h("div", { key: 'bcc6e156596f946964173cf9a100dce8f3f9adcb', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", index$1.h("smoothly-spinner", { key: '57498aeaf7c8690958a1f42d80220bf6ba01a069', overlay: true, size: "small" }))), index$1.h("fieldset", { key: 'ed65a407dde854768a1934add1d88a40d99f20c5' }, index$1.h("h2", { key: '3f0a8eba2588ac878f02104f60fbc6072173c480' }, "Smoothly summary"), index$1.h("smoothly-summary", { key: 'b5538b3841957408ca25314d20789fc87db9f89c' }, index$1.h("span", { key: '0a66c656b75981dd493f9288522c914c6aaf3177', slot: "summary" }, "Some title"), index$1.h("smoothly-summary", { key: 'd7a1064544e0f530ee18fc98e5dbac110f7aad79', slot: "content" }, index$1.h("div", { key: '7dc9a5d35ddd789ef54fe021ecf9b784793a3074', slot: "summary" }, "Some other title"), index$1.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."))), index$1.h("smoothly-summary", { key: '7eac5c136d5ed3c09c53f676991fb957bdea50f2' }, index$1.h("div", { key: '45239a377a7ae5b15baa3fefaca04f965bc3dd80', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, index$1.h("span", { key: 'aed615a5e1dcfece04dc29d3381e706e89328025' }, "Person"), index$1.h("smoothly-icon", { key: 'bbdbee4093170b788015686e6ac31cb75adfb3c4', name: "person", color: "light", fill: "clear", size: "tiny" })), index$1.h("p", { key: 'dcbe807176c6c8c0a642b8351487c63a2a31d1d1', slot: "content" }, "Some person information.")), index$1.h("h2", { key: 'b939b82ef761060a6de4190fd80e5aec1d6c6938' }, "Label"), labels.map(l => (index$1.h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), index$1.h("smoothly-label", { key: '9dd6878b3e540f24dee8fc99d6834a6c2ed85744', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
4302
4302
|
];
|
|
4303
4303
|
}
|
|
4304
4304
|
};
|
|
@@ -4325,7 +4325,7 @@ const SmoothlyDisplayDemoJson = class {
|
|
|
4325
4325
|
index$1.registerInstance(this, hostRef);
|
|
4326
4326
|
}
|
|
4327
4327
|
render() {
|
|
4328
|
-
return (index$1.h(index$1.Host, { key: '
|
|
4328
|
+
return (index$1.h(index$1.Host, { key: 'dd76081f4adf3ae47e0015c2f17b43e50c6ace15' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
4329
4329
|
index$1.h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
4330
4330
|
index$1.h("div", null, index$1.h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
4331
4331
|
])));
|
|
@@ -4357,7 +4357,7 @@ const SmoothlyDisplayJson = class {
|
|
|
4357
4357
|
index$1.registerInstance(this, hostRef);
|
|
4358
4358
|
}
|
|
4359
4359
|
render() {
|
|
4360
|
-
return index$1.h(JsonValue, { key: '
|
|
4360
|
+
return index$1.h(JsonValue, { key: '939a93b45e7f0f021c361331d011e7cb61627fed', value: this.value, collapseDepth: this.collapseDepth });
|
|
4361
4361
|
}
|
|
4362
4362
|
};
|
|
4363
4363
|
SmoothlyDisplayJson.style = styleCss$17();
|
|
@@ -4386,9 +4386,9 @@ const SmoothlyDisplayJsonObject = class {
|
|
|
4386
4386
|
}
|
|
4387
4387
|
render() {
|
|
4388
4388
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
4389
|
-
return (index$1.h(index$1.Host, { key: '
|
|
4389
|
+
return (index$1.h(index$1.Host, { key: '9c9b5a46433770a7d56343c4bf723163e8a56475', class: { empty: this.empty, open: this.open } }, index$1.h("span", { key: '836957462d65b5c136231bd3867f7da169ecb343', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), index$1.h("span", { key: 'ef132e20317fb0b1b3f38442fec7bd2731ec5c43', class: "content" }, Array.isArray(this.value)
|
|
4390
4390
|
? this.value.map(v => (index$1.h("div", { class: "indent" }, index$1.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index$1.h("span", { class: "comma" }, ","))))
|
|
4391
|
-
: Object.entries(this.value).map(([k, v]) => (index$1.h("div", { class: "indent" }, index$1.h("smoothly-display-json-record-key", { value: k }), ":", " ", index$1.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index$1.h("span", { class: "comma" }, ","))))), index$1.h("span", { key: '
|
|
4391
|
+
: Object.entries(this.value).map(([k, v]) => (index$1.h("div", { class: "indent" }, index$1.h("smoothly-display-json-record-key", { value: k }), ":", " ", index$1.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index$1.h("span", { class: "comma" }, ","))))), index$1.h("span", { key: '50bed891b85fc5d407cad5e8ae1d53dcf56551d2', class: "close-bracket" }, this.closeBracket)));
|
|
4392
4392
|
}
|
|
4393
4393
|
};
|
|
4394
4394
|
SmoothlyDisplayJsonObject.style = styleCss$16();
|
|
@@ -4400,7 +4400,7 @@ const SmoothlyDisplayJsonPrimitive = class {
|
|
|
4400
4400
|
index$1.registerInstance(this, hostRef);
|
|
4401
4401
|
}
|
|
4402
4402
|
render() {
|
|
4403
|
-
return index$1.h(index$1.Host, { key: '
|
|
4403
|
+
return index$1.h(index$1.Host, { key: '017bbc369b1e8ff42466411a5b28b52c5661b740', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
4404
4404
|
}
|
|
4405
4405
|
};
|
|
4406
4406
|
SmoothlyDisplayJsonPrimitive.style = styleCss$15();
|
|
@@ -4412,7 +4412,7 @@ const SmoothlyDisplayJsonRecordKey = class {
|
|
|
4412
4412
|
index$1.registerInstance(this, hostRef);
|
|
4413
4413
|
}
|
|
4414
4414
|
render() {
|
|
4415
|
-
return index$1.h(index$1.Host, { key: '
|
|
4415
|
+
return index$1.h(index$1.Host, { key: '67d6629e71ecde01829b6279188bc7332c3d9379' }, "\"", this.value, "\"");
|
|
4416
4416
|
}
|
|
4417
4417
|
};
|
|
4418
4418
|
SmoothlyDisplayJsonRecordKey.style = styleCss$14();
|
|
@@ -5465,7 +5465,7 @@ const SmoothlyFormDemo = class {
|
|
|
5465
5465
|
index$1.registerInstance(this, hostRef);
|
|
5466
5466
|
}
|
|
5467
5467
|
render() {
|
|
5468
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5468
|
+
return (index$1.h(index$1.Host, { key: 'e6b40ea5e535c8fd4fbbe65aa060d0ba061f5a3e' }, index$1.h("div", { key: '848116c5bc43a4a5adb20ecf3f66a66b050e529c' }, index$1.h("smoothly-form-demo-all", { key: '44179c77bfd53bfa4f347a465a3f4000d4d94b08' }), index$1.h("smoothly-form-demo-pet", { key: '356b17321dc0f11e63c8dd4846c4e1d91c7b6b5c' }), index$1.h("smoothly-form-demo-card", { key: '2584856236b89b5818551f8826056c0a14ab6356' }), index$1.h("smoothly-form-demo-login", { key: 'dacc85e611dec4115fefc49f63463912b6718285' }), index$1.h("smoothly-form-demo-prices", { key: '500d6d4c056c79113b16bd0f67bfe0ab562cd8d8' }), index$1.h("smoothly-form-demo-typed", { key: '933cce32ed4668eb28140c0c01c8238cdf1526d2' }), index$1.h("smoothly-form-demo-transparent", { key: '2a39b5d64aaff4d53d703c9508df3de18d5a6ad6' }), index$1.h("smoothly-form-demo-date", { key: 'fb0a6356529047d3bbbebd1b5980c2884be0cbb6' }), index$1.h("smoothly-form-demo-schedule", { key: 'c7eb48895c714d436f04544af9519a93232f76d0' }), index$1.h("smoothly-form-demo-date-range", { key: '6370bf9ca0671705777b03e6b985361d06ee9d56' }), index$1.h("smoothly-form-demo-controlled", { key: 'abf920dd124a8c43ce7818ba29bb1931a4b90910' }))));
|
|
5469
5469
|
}
|
|
5470
5470
|
};
|
|
5471
5471
|
SmoothlyFormDemo.style = styleCss$12();
|
|
@@ -5475,9 +5475,9 @@ const SmoothlyFormDemoAll = class {
|
|
|
5475
5475
|
index$1.registerInstance(this, hostRef);
|
|
5476
5476
|
}
|
|
5477
5477
|
render() {
|
|
5478
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5478
|
+
return (index$1.h(index$1.Host, { key: '2b2e779dc35f9f35173515a6db59425654d7446a' }, index$1.h("h2", { key: 'b2423e5f45a6841b6fedcb7db17626ed192ee15d' }, "All inputs"), index$1.h("smoothly-form", { key: 'ac6fc721d22456edb5104ba9553c423d6f8bdebe', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
5479
5479
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
5480
|
-
} }, index$1.h("smoothly-input", { key: '
|
|
5480
|
+
} }, index$1.h("smoothly-input", { key: '4ec033bb9d51a7edc81cce2a1fde55bd21458318', readonly: true, name: "First Name", value: "John" }, "First name"), index$1.h("smoothly-input", { key: '8d6abee797b1c9b60efeb068c828453174401012', showLabel: false, name: "Last name", value: "Doe" }, "Last name", index$1.h("smoothly-input-clear", { key: '8caeac3cbd2290eaeeda549aea083d4499b960c5', size: "icon", slot: "end" })), index$1.h("smoothly-input", { key: '9a22277ed064a84b98a8c68c5f176758735748f0', type: "phone", name: "Phone", value: "777888999" }, "Phone", index$1.h("smoothly-input-reset", { key: '2b45ff8ceaf71289d350e102d53123dc1c82600f', size: "icon", slot: "end" })), index$1.h("smoothly-input-radio", { key: '15856b48204c21b5f7318df22130e17aa3e14e8d', clearable: true, name: "radioFirstInput" }, index$1.h("label", { key: 'c94b6e0c185c8ab4325161a6e4249863017e5eb2', slot: "label" }, "Clearable"), index$1.h("smoothly-input-radio-item", { key: 'e978bde5ec519ab872eac3fb2a7d75b493099f31', value: "first" }, "Label 1"), index$1.h("smoothly-input-radio-item", { key: '3c30fd0d9b549f93c912759f8329570db377df79', selected: true, value: "second" }, "Label 2"), index$1.h("smoothly-input-radio-item", { key: '2f3f773cade1c39fa2a121b24ba2778a42d9a9b0', value: "third" }, "Label 3")), index$1.h("smoothly-input-color", { key: 'f1e0b0b1e759c85c5de1f3a8af9818b41c692bdb', name: "color" }, "Color"), index$1.h("smoothly-input-select", { key: '7e1069ff0515224e17145539afefec11979ed88c', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index$1.h("label", { key: 'c42749acb44e6e7db99f4e7981f20ad0c09f1694', slot: "label" }, "Month multiple select"), index$1.h("smoothly-item", { key: 'fdd0c90294bdf50d77ccf187777fdd804760b8ac', value: "1" }, "January"), index$1.h("smoothly-item", { key: '4f0c9d90f6909eaacccd5d385e317832f5a8b213', value: "2" }, "February"), index$1.h("smoothly-item", { key: '7779ea4af1f17cb48ef0249b7857262deb6c485d', value: "3" }, "March"), index$1.h("smoothly-item", { key: '5f15c3d32240bfb7c3b8d0a61f90599697b8e2a0', value: "4" }, "April"), index$1.h("smoothly-item", { key: '0952c95b2cf623f5573d70b5fa39b1c1ce008f16', value: "5" }, "May"), index$1.h("smoothly-item", { key: '1352e9245e39341d99d1bc8d051691b6b70dac37', value: "6" }, "June"), index$1.h("smoothly-item", { key: '7eddedff608a9148cb2b9c17f23ac2108b2190fd', value: "7" }, "July"), index$1.h("smoothly-item", { key: '627e81c5c7ddd5e1230b6eead20ac7932edbff9a', value: "8" }, "August"), index$1.h("smoothly-item", { key: '587bcf666e0bc92c14f5665f975563f06a419bac', value: "9" }, "September"), index$1.h("smoothly-item", { key: '896f05e2b88d7613cbc7f21b2aa4c58f1ae3938d', value: "10" }, "October"), index$1.h("smoothly-item", { key: 'fb539afa5edd3fe8391df5fc9d63fcb84940512c', value: "11" }, "November"), index$1.h("smoothly-item", { key: '959e9af2c479a299431f302041649bd86f5db331', value: "12" }, "December")), index$1.h("smoothly-input-select", { key: '64e83fb7dba19c8c21b5697eade0c7c5404d330c', name: "select-icon", clearable: false, showSelected: false }, index$1.h("smoothly-item", { key: 'b1a055ab1c73f28e0b49e626561aeff83efb124b', value: "folder", selected: true }, index$1.h("smoothly-icon", { key: '9ba931c9dd28c9f88168f5ab94fd80bc6f7f6bc0', size: "small", name: "folder-outline" })), index$1.h("smoothly-item", { key: 'acd791714a16504b5dc6a56f2fbfc89cf1ef4600', value: "camera" }, index$1.h("smoothly-icon", { key: 'd65e7beb3c74941bf494769126124ef79ce800d0', size: "small", name: "camera-outline" }))), index$1.h("smoothly-input-checkbox", { key: 'd6f2f199daf447bb0992ca8839b89e4e14166846', name: "checkbox" }, "Check the box"), index$1.h("smoothly-input-checkbox", { key: '79885d84642626f7cba6d348d0044f2c8037007e', name: "checkbox2", checked: true }, "Check the box 2"), index$1.h("smoothly-input-range", { key: '7e791279c3b1bd2898d4c5e9e35ef9df76aa14cf', step: 1, name: "range3", value: 20, label: "Range" }), index$1.h("smoothly-input", { key: 'f7b07cef9882952dc91be6484c04ba459ef5db62', name: "pets.0.name" }, "First Pet's Name"), index$1.h("smoothly-input-range", { key: '44b404105c6d9aa19c7f14ac529e7b8ab3f964e9', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), index$1.h("smoothly-input", { key: 'aca9bc7aebd243f8e82158d1c60b7a69886e9a02', name: "pets.1.name" }, "Second Pet's Name"), index$1.h("smoothly-input-range", { key: '674b16d94949bcbd3fd4980b0b262ba580efbd5b', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), index$1.h("smoothly-input", { key: 'b25175ffa941b70d606a66db0f97e61547faf5b9', name: "pets.2.name" }, "Third Pet's Name"), index$1.h("smoothly-input-range", { key: '0113d466fc09afc4734a65500cdc20b06267d77d', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), index$1.h("smoothly-input-file", { key: 'cd15c39915ea43095e237f4f1952ed271f6e756b', name: "profile", placeholder: "Click or drag your profile picture here..." }, index$1.h("span", { key: 'a6138d70fbf10e1cf7cc4ad624422315d05c9619', slot: "label" }, "Profile"), index$1.h("smoothly-icon", { key: '5c53d92dd91402c2db9d57dc3dfd274cbea4b730', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), index$1.h("smoothly-input", { key: '497261e5f152c2af406dcc6860a6092df8bbe1af', type: "duration", name: "duration", value: {} }, "Duration"), index$1.h("smoothly-input-clear", { key: '7ba91aa6d31f7ff2ebbb3d07bd958610aad0fc1f', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), index$1.h("smoothly-input-edit", { key: 'fd6a01b3f7417aa4074bbf2ca385cec9d437e429', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), index$1.h("smoothly-input-reset", { key: '3221d6e405488a7af0b917c99ee7f5acd9ca9f1d', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), index$1.h("smoothly-input-submit", { key: 'e81eff668f6592a23f3f13262c123e97d1ca6c30', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), index$1.h("smoothly-input-submit", { key: '334bca3eb505ccd23c75efe1d3d66faa7638f4e0', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
5481
5481
|
}
|
|
5482
5482
|
};
|
|
5483
5483
|
|
|
@@ -5486,7 +5486,7 @@ const SmoothlyFormDemoCard = class {
|
|
|
5486
5486
|
index$1.registerInstance(this, hostRef);
|
|
5487
5487
|
}
|
|
5488
5488
|
render() {
|
|
5489
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5489
|
+
return (index$1.h(index$1.Host, { key: '12a00d87271d0af126cadbad9443b858e477561e' }, index$1.h("h2", { key: 'b5f4db995901068b60a0005cd99e81c818ea19cc' }, "Card"), index$1.h("smoothly-form", { key: '327812f8a2d381d9806338675532029d4f42ce59', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, index$1.h("smoothly-input", { key: '3379bf37a7333b1599aef7c0362e3e45af69f99d', type: "card-number", name: "card" }, "Card #"), index$1.h("smoothly-input-submit", { key: '66f625510bd3f7f2bcd67671e39a55e4009c6f40', size: "icon", slot: "submit", color: "success", fill: "solid" }), index$1.h("smoothly-input", { key: '2a050bd1808ed0b2b75ba5a62581e942788d115f', type: "card-expires", name: "expires" }, "Expires"), index$1.h("smoothly-input", { key: '4ed6ae1574aaf02fde846bd23dc55782c0f066ac', type: "card-csc", name: "csc" }, "CVV/CVC"), index$1.h("smoothly-input", { key: 'd0e62a606289683f604016a935564f8602daa041', type: "text", name: "name.first" }, "First Name"), index$1.h("smoothly-input", { key: 'bfbd0c1a13053aa98d9a93dcc06ceae8b933561e', type: "text", name: "name.last" }, "Last Name"))));
|
|
5490
5490
|
}
|
|
5491
5491
|
};
|
|
5492
5492
|
|
|
@@ -5524,7 +5524,7 @@ const SmoothlyFormDemoControlled = class {
|
|
|
5524
5524
|
event.detail.result(false);
|
|
5525
5525
|
}
|
|
5526
5526
|
render() {
|
|
5527
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5527
|
+
return (index$1.h(index$1.Host, { key: 'be70b1b758bbe11772a1ba8ba7dca4f5405ea651' }, index$1.h("h2", { key: '68973a8cf2107ecaa72790a917cf14191cfd0fa9' }, "Controlled"), index$1.h("smoothly-form", { key: '4da1c66f41c89d78c180b55b3ae1df15190eae0c', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, index$1.h("smoothly-input", { key: '201cb10b36c39d6a5a98d456459b82ef9d3f0a7d', type: "text", name: "name", value: this.name }, "Name"), index$1.h("smoothly-input-select", { key: 'a434d27014de8a28230f7bc60a3b5c6b706005b6', name: "currency" }, index$1.h("span", { key: 'eefb198ba0a863dd7c6ff37162383522c722803c', slot: "label" }, "Currency"), this.currencies.map(currency => (index$1.h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), index$1.h("smoothly-input", { key: '4813e2c249bd21afc6a2c1a6ab78793b49fa2d68' }, "Dummy"), index$1.h("smoothly-input-month", { key: '7225723a71776a7d9d88a21361443128a5893d42', name: "date", value: this.date, next: true, previous: true }, index$1.h("span", { key: 'be0572c78ce576807a459738426416e941a997fd', slot: "year-label" }, "Year"), index$1.h("span", { key: '99bb6cf5516bccb1721013e87ca2bec463341983', slot: "month-label" }, "Month")), index$1.h("smoothly-input-edit", { key: 'b7be05116d563ee33665f502c45bd01d9aaf61e1', slot: "edit", size: "icon", color: "primary", fill: "default" }), index$1.h("smoothly-input-reset", { key: 'bf423459f9b8717e9de26e4c900d054ea90baf7a', slot: "reset", size: "icon", color: "warning", fill: "default" }), index$1.h("smoothly-input-submit", { key: 'fd42172c00aae5c33f2b22e3d3bdccb6e71ec294', slot: "submit", size: "icon", color: "success" }))));
|
|
5528
5528
|
}
|
|
5529
5529
|
static get watchers() { return {
|
|
5530
5530
|
"name": [{
|
|
@@ -5556,7 +5556,7 @@ const SmoothlyFormDemoDate = class {
|
|
|
5556
5556
|
event.detail.result(false);
|
|
5557
5557
|
}
|
|
5558
5558
|
render() {
|
|
5559
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5559
|
+
return (index$1.h(index$1.Host, { key: 'f6a0bf1656158091b0b9d6647707ec6c919cbf66' }, index$1.h("h2", { key: '210f22f5cbef0a441d7863764a0b6665afecdce1' }, "Date input"), index$1.h("smoothly-form", { key: 'eea3a74d6591f0193d8043d552a506868af1721d', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index$1.h("smoothly-input-date", { key: 'b9fc6aca0411799a7dd952a4ae27fff20bb7a085', name: "date" }, "Date"), index$1.h("smoothly-input-submit", { key: '9abd42160b4efd43ec4e976bd143871437d2d08b', slot: "submit" }, index$1.h("smoothly-icon", { key: '690f42105cb25db4275ba0c03bdaa6a16b24faa3', name: "checkmark-outline" })))));
|
|
5560
5560
|
}
|
|
5561
5561
|
};
|
|
5562
5562
|
SmoothlyFormDemoDate.style = styleCss$11();
|
|
@@ -5584,7 +5584,7 @@ const SmoothlyFormDemoDateRange = class {
|
|
|
5584
5584
|
event.detail.result(false);
|
|
5585
5585
|
}
|
|
5586
5586
|
render() {
|
|
5587
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5587
|
+
return (index$1.h(index$1.Host, { key: '3833e26bb2993e1c9e34f9ae0e769667be96068f' }, index$1.h("h2", { key: '22a384e50f46467bcbafa7be795461024c25b8b0' }, "Date-range input"), index$1.h("smoothly-form", { key: '201517c3e9cd58a086d978da2b80d94cbb4b7a36', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index$1.h("smoothly-input-date-range", { key: '6cb457ad45877b3e36c60cba1c8f364133648478', name: "range" }, "Range"), index$1.h("smoothly-input-submit", { key: '91e289602933e30ee845516efc85094ff03c453d', slot: "submit" }, index$1.h("smoothly-icon", { key: '93d0acb0034106aeadfb8727cb2bb7e6b1bad52a', name: "checkmark-outline" })))));
|
|
5588
5588
|
}
|
|
5589
5589
|
};
|
|
5590
5590
|
SmoothlyFormDemoDateRange.style = styleCss$10();
|
|
@@ -5594,7 +5594,7 @@ const SmoothlyFormDemoLogin = class {
|
|
|
5594
5594
|
index$1.registerInstance(this, hostRef);
|
|
5595
5595
|
}
|
|
5596
5596
|
render() {
|
|
5597
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5597
|
+
return (index$1.h(index$1.Host, { key: '2c9674e5f435d97bd0387de4d5b91443aa521196' }, index$1.h("h2", { key: 'd1440db142e8443b534d60a050416740e0ba82f9' }, "Login"), index$1.h("smoothly-form", { key: 'f1fa4c58d439b4465a4cc3eaad87637ecbf3ac51', looks: "border" }, index$1.h("smoothly-input", { key: 'c419a3578e1de751d77052c78992bfe9daef6238', type: "text", name: "username" }, "Username"), index$1.h("smoothly-input", { key: 'fbce70bd6ac07efbf59bb39ea1d728a3e78c6d77', type: "password", name: "password" }, "Password"), index$1.h("smoothly-input-reset", { key: '22df0cdc42340f207032132943cd3a5206dee49b', slot: "reset", type: "form", size: "icon", color: "warning" }), index$1.h("smoothly-input-submit", { key: '83967b0011d19526ec165d2888a5bd4533a4cf0c', slot: "submit" }))));
|
|
5598
5598
|
}
|
|
5599
5599
|
};
|
|
5600
5600
|
|
|
@@ -5608,10 +5608,10 @@ const SmoothlyFormDemoPet = class {
|
|
|
5608
5608
|
}
|
|
5609
5609
|
render() {
|
|
5610
5610
|
var _a, _b;
|
|
5611
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5611
|
+
return (index$1.h(index$1.Host, { key: '1e20a61c9db6aafdf47e54ed7aaef6c1ca3d8bfa' }, index$1.h("h2", { key: '45492fefcf3cc0fb1a4010711cf10f0bded34893' }, "Pet"), index$1.h("h3", { key: 'bc05c80a795091886b94ba85dd89746e58159ea3' }, "Value"), index$1.h("smoothly-form", { key: '42a8ccf63773aa8b235931cc66415cfd0f1f0c14', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, index$1.h("smoothly-input", { key: '3606396ae683768fb6ef5e5940f43fbef81800c9', type: "text", name: "name.first", value: "Johnny" }, "Name", index$1.h("smoothly-input-reset", { key: '1128b00ce30571d90960f0747caf90394d08f093', slot: "end" })), index$1.h("smoothly-input", { key: 'fbd205ba349d3f754af21ebdc40434946bb712a4', type: "integer", name: "age" }, "Age (Years)"), index$1.h("smoothly-input-checkbox", { key: 'e4465a244c36403f0869f5d739d9cdea595136ce', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
5612
5612
|
this.hasOwner = e.detail.hasOwner;
|
|
5613
5613
|
e.stopPropagation();
|
|
5614
|
-
} }, "Has Owner", index$1.h("smoothly-input-reset", { key: '
|
|
5614
|
+
} }, "Has Owner", index$1.h("smoothly-input-reset", { key: '7be8886cdeedbdeb87c28b2024c26bd4532f07ed', slot: "end" })), this.hasOwner && (index$1.h(index$1.Fragment, { key: '972c8da03c31ff920a5131daa1d046f7e80418c1' }, index$1.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", index$1.h("smoothly-input-reset", { key: '2af7bfb23d1d67903be625827d5d237640fc16b0', slot: "end" })), index$1.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"), index$1.h("smoothly-input-file", { key: '8caa1d54740a0e1fb3b29d709f6feb32c8c45a31', name: "owner.picture" }, index$1.h("span", { key: '10332335746aadd62719e024aaa6f825a5b2800b', slot: "label" }, "Owner picture")), index$1.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", index$1.h("smoothly-input-reset", { key: 'e13a649d0d308340d419d2355d7d48fbfce257e7', slot: "end" })), index$1.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", index$1.h("smoothly-input-reset", { key: 'f99d74c312b6b7ddc3d3b169b672d3cc478cb3a3', slot: "end" })), index$1.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", index$1.h("smoothly-input-reset", { key: 'a872fe1b4ae49293daad5ca2c781fe9abe514b95', slot: "end" })), index$1.h("smoothly-input-select", { key: 'cc6a5ef5238abc4dce3c2321c8f5c184c0dfe320', name: "owner.favoriteHat" }, index$1.h("span", { key: 'a073973ff9b090a82a23b81ca82875ac5155f822', slot: "label" }, "Owner's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (index$1.h("smoothly-item", { value: value, key: index, selected: this.owner.favoriteHat == value }, value))), index$1.h("smoothly-input-reset", { key: 'c39f9d320b08362f082749f5338de8d4530f9da5', slot: "end" })), index$1.h("smoothly-input-color", { key: '50e462d1f87b19685f627deb90d9eb3d2798c15a', name: "owner.favoriteColor", value: this.owner.favoriteColor ? Scrollable.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", index$1.h("smoothly-input-reset", { key: 'd63535ee7ac6bae7424f60bff48cc5342594ced6', slot: "end" })), index$1.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"] })) }, index$1.h("span", { key: '0e33220f442cf7e1b2908259c68bbf196fe2d2b2', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (index$1.h("smoothly-input-radio-item", { value: value, key: index }, value)))), index$1.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"))), index$1.h("smoothly-tabs", { key: 'c02261545ec207a2be19261796ff1ab0322221c7' }, index$1.h("smoothly-tab", { key: '64fc9145089d8175e87b77746a301d2a300227ff', label: "Dog", name: "dog" }, index$1.h("smoothly-input", { key: '93efb08d77a27ebeb0ec1ffaa31d8f20ad1c5c79', type: "text", name: "dog.breed" }, "Breed"), index$1.h("smoothly-input-file", { key: 'fbb759287fbb384110dab6bd67e526e0e1b87061', name: "dog.picture" }, index$1.h("span", { key: '75354c72313adfbf2f0590a4a1d629b056a584d0', slot: "label" }, "Dog picture")), index$1.h("smoothly-input-date-time", { key: '67cb08aae3427ea09418763cd4f5c89f4c12885c', name: "dog.lastWalk" }, "Time of last walk"), index$1.h("smoothly-input-date", { key: 'bfc8d1878f5e8c0b9e06dd6db93c5414d072aade', name: "dog.birthday" }, "Dog birthday"), index$1.h("smoothly-input-date-range", { key: 'd89333abe0b84513f7b59d0910ec979dc63e4f76', name: "dog.dateRange" }, "Dog date range"), index$1.h("smoothly-input-select", { key: '0ca96cd6cd0ed9d0d0b6e3212c4e545b1783edda', name: "dog.favoriteHat" }, index$1.h("span", { key: 'e9bb41040522fc010702793420c2f448fa2fc0af', slot: "label" }, "Dog's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (index$1.h("smoothly-item", { value: value, key: index }, value)))), index$1.h("smoothly-input-color", { key: '609b660e2980b33ac4c437fd3a2cecc212fb700d', name: "dog.favoriteColor" }, "Dog's Favorite Color"), index$1.h("smoothly-input-radio", { key: '496506fd830c3da16c3cbb32ed7a93b54e1d023f', name: "dog.favoritePizza" }, index$1.h("span", { key: '59bdad0dc97036ca753d7de08dadcd9ab888df47', slot: "label" }, "Dog's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (index$1.h("smoothly-input-radio-item", { value: value, key: index }, value)))), index$1.h("smoothly-input-checkbox", { key: '2ad32725e92f4eb3f6402751facf72563491a5a7', name: "dog.hasPet" }, "Has Pet")), index$1.h("smoothly-tab", { key: '09d4b79adbbf8772285a13ce1bb45fea67c3c019', label: "Cat", name: "cat", open: true }, index$1.h("smoothly-input", { key: '2a298883bf58261ec42cd8a7cb220421604233f2', name: "cat.favoriteFood" }, "Favorite Food")), index$1.h("smoothly-tab", { key: '6ded1101edaf7025402e2084cfa3d530a9440497', label: "Parrot", name: "parrot" }, index$1.h("smoothly-input", { key: 'c6fec8eff6ed07080cfcfd7e04a1accd9be5e698', type: "price", name: "parrot.price", currency: "EUR" }, "Summary Price"), index$1.h("smoothly-input-file", { key: '1ef6c74c21f3a530ea18a5fb843c0f39c5d09a5c', name: "parrot.picture" }, index$1.h("span", { key: '1506866be3f7d5032caa07277ddb4900adf796e4', slot: "label" }, "Summary picture"), index$1.h("smoothly-input-clear", { key: '2768b4e77018167d8c5459561627c7176f6af19e', slot: "end" })), index$1.h("smoothly-input-date", { key: '4482cadd8c81d8cf68d01d940759c9c8fa302889', name: "parrot.birthday" }, "Summary birthday"), index$1.h("smoothly-input-date-range", { key: '1db7a128f9fe548e64a26b106f0428cf027515dd', name: "parrot.ownedRange", start: "2020-01-01", end: "2020-01-15" }, "Summary ownedRange", index$1.h("smoothly-input-reset", { key: 'f61bb824149c3927ee9e7df5474bc1140b557c2d', slot: "end" })), index$1.h("smoothly-input-range", { key: '455be79335de1c32001a9baf41bc6601600a6f2b', name: "parrot.height", label: "Height" }, index$1.h("smoothly-input-reset", { key: 'f0c5284602a08d52331e2fca63bf561212bce4f9', slot: "end" })), index$1.h("smoothly-input-select", { key: '2b5d15b9bdda780755ddb704019bdf9b075f7593', name: "parrot.favoriteHat" }, index$1.h("span", { key: 'e23e7228157f39f8d5b565c6283e65d848d662f2', slot: "label" }, "Summary's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (index$1.h("smoothly-item", { value: value, key: index }, value)))), index$1.h("smoothly-input-month", { key: '282eb367f0a8bbcc9b296358933c83a2ab1246a2', name: "parrot.month" }, index$1.h("span", { key: '46678c21d019c38d586da52a8ca5ba14e54f9545', slot: "month-label" }, "Summary month")), index$1.h("smoothly-input-color", { key: '74de10bf1eb9a54f1f5139f9b7549b84d90f521e', name: "parrot.color" }, "Summary Color"), index$1.h("smoothly-input-radio", { key: '2135343dbedb74df58a88e011921ed5cf93a8f69', name: "parrot.favoritePizza" }, index$1.h("span", { key: 'b549ce953d14b96b12496f989cf8c237fa697d6d', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (index$1.h("smoothly-input-radio-item", { value: value, key: index }, value)))), index$1.h("smoothly-input-checkbox", { key: 'e4fd4673ea5c4feb91142062527f7537f715738e', name: "parrot.hasPet" }, "Has Pet"))), index$1.h("smoothly-input-submit", { key: 'c757eec9af05b183a036119430533a2fdfa7ff26', size: "icon", slot: "submit", color: "success", fill: "solid" })), index$1.h("smoothly-display", { key: '94108e7af02550ba3ea038b879e0db56fe057833', type: "json", value: this.value })));
|
|
5615
5615
|
}
|
|
5616
5616
|
};
|
|
5617
5617
|
SmoothlyFormDemoPet.style = styleCss$$();
|
|
@@ -5621,7 +5621,7 @@ const SmoothlyFormDemoPrices$1 = class SmoothlyFormDemoPrices {
|
|
|
5621
5621
|
index$1.registerInstance(this, hostRef);
|
|
5622
5622
|
}
|
|
5623
5623
|
render() {
|
|
5624
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5624
|
+
return (index$1.h(index$1.Host, { key: 'c1873c86bb44177e638d7b52d7bbbcb1d0482e1b' }, index$1.h("h2", { key: 'a8edb5f0241dac96350d75eaad7b0c78adf1c13b' }, "Prices"), index$1.h("smoothly-form", { key: '143874192e2caf3ce0297983e1c5ecc6002705a2', looks: "line" }, index$1.h("smoothly-input", { key: '151a20903ab8024b291ef1cd6f868bfcbdfdf187', type: "price", name: "no" }, "No currency"), index$1.h("smoothly-input", { key: 'c7a5959241c42d8fee2d741064585c1c79560544', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), index$1.h("smoothly-input", { key: 'cfe92d5a2e94598e728d0f0b815652e4ed6d33e1', type: "price", name: "usDollar", currency: "USD" }, "USD"), index$1.h("smoothly-input", { key: 'bd3ffd16af42eb13fe3d6ea4ddad8ceb83827671', type: "price", name: "pounds", currency: "GBP" }, "GBP"), index$1.h("smoothly-input", { key: 'a12b9078e45b65a5b281a0c4ff40caf6446522b8', type: "price", name: "peso", currency: "UYW" }, "UYW"), index$1.h("smoothly-input", { key: 'a8a1efcb2bacb8e56b552aeda19e65eca5690fd3', type: "price", name: "iceland", currency: "ISK" }, "ISK"), index$1.h("smoothly-input", { key: 'be59abc2f31cb215c192566ca4218a19cf2f004a', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), index$1.h("smoothly-input-reset", { key: 'a331ae378f5c10553c3b7f7669322c3d4e9d9973', slot: "reset", fill: "default", type: "form", color: "warning" }), index$1.h("smoothly-input-submit", { key: 'bef886536c5366779bf3c7c10e35a3e42f65075b', slot: "submit" }))));
|
|
5625
5625
|
}
|
|
5626
5626
|
};
|
|
5627
5627
|
|
|
@@ -5641,7 +5641,7 @@ const SmoothlyFormDemoPrices = class {
|
|
|
5641
5641
|
index$1.registerInstance(this, hostRef);
|
|
5642
5642
|
}
|
|
5643
5643
|
render() {
|
|
5644
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5644
|
+
return (index$1.h(index$1.Host, { key: 'af726abe173fe267f43278671ab53c62184ca7b3' }, index$1.h("h2", { key: '85994b1d612017c07fcbff85d1c7520419c4125f' }, "Schedule"), index$1.h("smoothly-form", { key: '7bace3476a4344bb7ece715a3d797acadf40dd58', looks: "line", validator: TimeTable.type }, index$1.h("smoothly-input-date", { key: '5450e239098e87b0eacc7da44459d35dc30bb5dc', name: "schedule.0.date" }, "Date"), index$1.h("smoothly-input", { key: '9cc1b52c9f636a99b549267198503d47b3afb0f8', name: "schedule.0.amount", type: "price" }, "Amount"), index$1.h("smoothly-input-date", { key: '5f298fa2efabe38e2aef28d9c992ec1ec0804b46', name: "schedule.1.date" }, "Date"), index$1.h("smoothly-input", { key: 'b71aba89d7e05258226fbbaaf705dc9c435a1c37', name: "schedule.1.amount", type: "price" }, "Amount"), index$1.h("smoothly-input-date", { key: '22095cea02b58862ae930857daee6242a51b33b6', name: "schedule.2.date" }, "Date"), index$1.h("smoothly-input", { key: '9c33bd7be7e0de733986cc2ef6f9c2e52b3f273a', name: "schedule.2.amount", type: "price" }, "Amount"), index$1.h("smoothly-input-reset", { key: 'b02b3225e549665b393a77627da3304881473f9e', slot: "reset", fill: "default", type: "form", color: "warning" }), index$1.h("smoothly-input-submit", { key: '25d0d08fb11531e71d0f9c4a9394d3bb36a0565c', slot: "submit" }))));
|
|
5645
5645
|
}
|
|
5646
5646
|
};
|
|
5647
5647
|
|
|
@@ -5650,7 +5650,7 @@ const SmoothlyFormDemoTransparent = class {
|
|
|
5650
5650
|
index$1.registerInstance(this, hostRef);
|
|
5651
5651
|
}
|
|
5652
5652
|
render() {
|
|
5653
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5653
|
+
return (index$1.h(index$1.Host, { key: 'fc0659542a5e17d903ecb4da9aee7679ef39cdec' }, index$1.h("h2", { key: '1d1b9ac96324d7c421cdb19d2734bd2fbbb5a8fb' }, "Transparent"), index$1.h("smoothly-form", { key: '992b6ce5260a8af1f63b9025faca67acef755dc2', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, index$1.h("smoothly-input-file", { key: 'e79178c59b6617703cb42fdeb16a246047110f85', name: "file" }, index$1.h("span", { key: '0c34c069e55446fdf26eef201f492000b1692a3e', slot: "label" }, "File"), index$1.h("smoothly-icon", { key: '85c1a66268e78a94b308be411ff5cb712890a1b0', slot: "button", name: "folder-open-outline", size: "small" })), index$1.h("smoothly-input", { key: '64c3c4206bf9455f5c923c427cae185c5f84ca60', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), index$1.h("smoothly-input-date", { key: '006326702c0d9d6f349292de7531b390e6b7add8' }, "Date"), index$1.h("smoothly-input-date-range", { key: '78784fe14706cbbb5d8ef6d040891127991a418b' }, "Date Range"), index$1.h("smoothly-input-select", { key: 'e48d3d2cd97b472558f2cbfb7c19aed71c505ed1', name: "transport" }, index$1.h("smoothly-item", { key: 'afdc23c9ed61e272893ddd45b70e8d62f0e613fc', value: "plane" }, index$1.h("smoothly-icon", { key: 'ba6c15f1ac729420811ff77b355424426f2b35eb', name: "airplane-outline" })), index$1.h("smoothly-item", { key: '90c591649758b43835de47380f9cf0ba89665a43', value: "car" }, index$1.h("smoothly-icon", { key: '170d4aeeec48e2ea8d57ee17421daa0eacbd6125', name: "car-outline" })), index$1.h("smoothly-item", { key: 'fce1fc75af8d839f10d1057d699b5049cd4bee84', value: "bus", selected: true }, index$1.h("smoothly-icon", { key: '1fbb7c4afc326efe8d569c5c032fb7d285876974', name: "bus-outline" }))), index$1.h("smoothly-input-submit", { key: 'fd292fb5b88f89e103d843e95b14ccf7a3ab9871', icon: "checkbox-outline" }))));
|
|
5654
5654
|
}
|
|
5655
5655
|
};
|
|
5656
5656
|
|
|
@@ -5671,7 +5671,7 @@ const SmoothlyFormDemoTyped = class {
|
|
|
5671
5671
|
index$1.registerInstance(this, hostRef);
|
|
5672
5672
|
}
|
|
5673
5673
|
render() {
|
|
5674
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5674
|
+
return (index$1.h(index$1.Host, { key: '2dbbb21af22c211fa354d7213c94088ec796cf8d' }, index$1.h("h2", { key: 'f944fd5f9a04be35baa6d04760ef8fd083f84c6c' }, "Typed Contact"), index$1.h("smoothly-form", { key: '43b74057023eda58b4b89ba9c52e59f9f8fd2329', validator: Contact.type }, index$1.h("smoothly-input", { key: '6179ce405787b71e56af49ab16cac3d225476c9b', name: "name.first" }, "First Name"), index$1.h("smoothly-input", { key: '41568d9f6447f715c2d9ca414aeca6e103085df8', name: "name.middle" }, "Middle Name (optional)"), index$1.h("smoothly-input", { key: '71407b265ac5f00f5db126ae0e1b5ced6c329977', name: "name.last" }, "Last Name"), index$1.h("smoothly-input", { key: 'f2dcbd6af35236299eb573d573efa521672c0a4e', name: "age", type: "integer" }, "Age (18-120)"), index$1.h("smoothly-input-select", { key: 'd881ad1a7d8f3b3279c9f4aac5473514a2b95d5f', name: "country" }, index$1.h("span", { key: '1606d2a8eb5f7160abd3c6a4e983561808fabca5', slot: "label" }, "Country"), index.isoly.CountryCode.Alpha2.values.map(country => (index$1.h("smoothly-item", { value: country }, index.isoly.CountryCode.Name.en.from(country))))), index$1.h("smoothly-input-date", { key: '09e7d8d8f9250304279b1d245044b919c147cc1f', name: "birthday" }, "Date of birth"), index$1.h("smoothly-input-reset", { key: 'd212e7a41fba21fc4ba2efd9349834f4c5d8a41d', slot: "reset", type: "form", size: "icon", color: "warning" }), index$1.h("smoothly-input-submit", { key: 'c5e62e8b33276b0f5e16e5c37538cca20c5e2ace', slot: "submit", size: "icon", color: "success" }))));
|
|
5675
5675
|
}
|
|
5676
5676
|
};
|
|
5677
5677
|
SmoothlyFormDemoTyped.style = styleCss$_();
|
|
@@ -5772,7 +5772,7 @@ const SmoothlyIcon = class {
|
|
|
5772
5772
|
}
|
|
5773
5773
|
render() {
|
|
5774
5774
|
var _a;
|
|
5775
|
-
return index$1.h(index$1.Host, { key: '
|
|
5775
|
+
return index$1.h(index$1.Host, { key: '0a19bf819d57a94f13fc8c2fbc885aebb0bf7a24', title: this.tooltip, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
5776
5776
|
}
|
|
5777
5777
|
get element() { return index$1.getElement(this); }
|
|
5778
5778
|
static get watchers() { return {
|
|
@@ -5797,25 +5797,25 @@ const SmoothlyIconDemo = class {
|
|
|
5797
5797
|
this.props = {};
|
|
5798
5798
|
}
|
|
5799
5799
|
render() {
|
|
5800
|
-
return (index$1.h(index$1.Host, { key: '
|
|
5800
|
+
return (index$1.h(index$1.Host, { key: 'ec049b1d4b3d93e28913174bd7ab55ce836298ae' }, index$1.h("h2", { key: 'd0430155840916db4250402c39e5ee2656dc9930' }, "Filter and Variants"), index$1.h("smoothly-form", { key: '4c6f1ffa07fed10ba6051ab4d5f29c1278608b23', looks: "grid", onSmoothlyFormInput: e => (this.display = e.detail) }, index$1.h("smoothly-input", { key: 'bea5be3b9c5f839da1fe6efd6497b4fa7c946e77', name: "filter" }, "Filter"), index$1.h("smoothly-input-select", { key: 'a64ee5957e34d669c481b77ba0f561ba5eebfa55', name: "variant" }, index$1.h("span", { key: '80df7e185a498c1c33cfe1c3fde85f955d46f256', slot: "label" }, "Variant"), index$1.h("smoothly-item", { key: 'd6447afb06c4471f9b3036838da77182161ebaf1', value: "outline" }, "outline"), index$1.h("smoothly-item", { key: '6622d9acf5549f05128632e386cafcabd4e5df0d', value: "sharp" }, "sharp"), index$1.h("smoothly-input-clear", { key: '1a94b3d1d195c77716a7a9e92303bab3dffcf8b0', slot: "end" }))), index$1.h("h2", { key: '1320b7b476f6451885fa32dcb0daed671d269612' }, "Props"), index$1.h("smoothly-form", { key: '1bc3722b6b25c57352ff7bc1df1571a3df824611', looks: "grid", onSmoothlyFormInput: e => {
|
|
5801
5801
|
this.props = e.detail;
|
|
5802
5802
|
console.log("props", this.props);
|
|
5803
|
-
} }, index$1.h("smoothly-input-select", { key: '
|
|
5803
|
+
} }, index$1.h("smoothly-input-select", { key: '8b065ccb0feb16a805a20ee13eab053d0cd8edfe', name: "color" }, index$1.h("span", { key: '3ed5be41ac0893b18741356a70c7653c862579a0', slot: "label" }, "Color"), Scrollable.Color.values.map(color => (index$1.h("smoothly-item", { value: color }, index$1.h("span", { style: {
|
|
5804
5804
|
background: `rgb(var(--smoothly-${color}-color))`,
|
|
5805
5805
|
"margin-right": "0.5rem",
|
|
5806
5806
|
width: "2.5rem",
|
|
5807
5807
|
height: "2.5rem",
|
|
5808
|
-
} }), index$1.h("span", null, color)))), index$1.h("smoothly-input-clear", { key: '
|
|
5808
|
+
} }), index$1.h("span", null, color)))), index$1.h("smoothly-input-clear", { key: '50b90280c6f0600a073b8b8a254fb035f1aefec0', slot: "end" })), index$1.h("smoothly-input-select", { key: 'efda773381d8cb5d491e591b731cea17b406a005', name: "fill" }, index$1.h("span", { key: '396dbb906c3b52b53732b062f5ce8ebe70ce85b6', slot: "label" }, "Fill"), Scrollable.Fill.values.map(fill => (index$1.h("smoothly-item", { value: fill }, fill))), index$1.h("smoothly-input-clear", { key: '44cc4c40f24ad5c978e423496ea30a3068f862a1', slot: "end" })), index$1.h("smoothly-input-select", { key: 'd3aaee102be617722fc42dcd47139fe0d2c7284c', name: "customColor", menuHeight: "12items", ordered: true }, index$1.h("span", { key: 'dc450c6debc6be202b40628ef77196159e45a082', slot: "label" }, "Custom Color"), Scrollable.Color.values.flatMap(c => (index$1.h(index$1.Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (index$1.h("smoothly-item", { value: `--smoothly-${c}-${v}` }, index$1.h("span", { style: {
|
|
5809
5809
|
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
5810
5810
|
"margin-right": "0.5rem",
|
|
5811
5811
|
width: "2.5rem",
|
|
5812
5812
|
height: "2.5rem",
|
|
5813
|
-
} }), index$1.h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), index$1.h("smoothly-input-select", { key: '
|
|
5813
|
+
} }), index$1.h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), index$1.h("smoothly-input-select", { key: 'a68b41f9a46917cb1b46e9ada61d05c280f92ff0', name: "customBackground", menuHeight: "12items", ordered: true }, index$1.h("span", { key: 'f094c91bdb64df81fd5fc49945b2760c214c37ed', slot: "label" }, "Custom Background"), Scrollable.Color.values.flatMap(c => (index$1.h(index$1.Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (index$1.h("smoothly-item", { value: `--smoothly-${c}-${v}` }, index$1.h("span", { style: {
|
|
5814
5814
|
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
5815
5815
|
"margin-right": "0.5rem",
|
|
5816
5816
|
width: "2.5rem",
|
|
5817
5817
|
height: "2.5rem",
|
|
5818
|
-
} }), index$1.h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), index$1.h("smoothly-input-select", { key: '
|
|
5818
|
+
} }), index$1.h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), index$1.h("smoothly-input-select", { key: '676477dc9f358f3512f0fb0f60a99a1deb3fa400', name: "flip" }, index$1.h("span", { key: '7e7924009ac080ccd225052351d0c70079990b6f', slot: "label" }, "Flip"), index$1.h("smoothly-item", { key: '70d21d485c90d881422d4c577fa04f101e0dae13', value: "x" }, "x"), index$1.h("smoothly-item", { key: '7e57ce51632ddd1dbf5fed24f109599de216eb3e', value: "y" }, "y"), index$1.h("smoothly-input-clear", { key: '0ea9f343784f533ebab4bc8d0b0879deb5e75156', slot: "end" })), index$1.h("smoothly-input-select", { key: '67e1d6b7b5e040e5284d0f5984c60a9f57a1d47f', name: "size" }, index$1.h("span", { key: 'e89ec731e273bd86c43d8993c78dbdcb1e052280', slot: "label" }, "Size"), index$1.h("smoothly-item", { key: '06201d3e144034f8984f48a064ea7d01dbdc3a7f', value: "tiny" }, "tiny"), index$1.h("smoothly-item", { key: '5f996913a822077f1fd66371819d528b0f67dc7f', value: "small" }, "small"), index$1.h("smoothly-item", { key: '1aa1eff32b61221555b6356cbe658fb2591a6678', value: "medium" }, "medium"), index$1.h("smoothly-item", { key: '1d18ac8a2bbcc4f16cd19263aa16d2d714582f27', value: "large" }, "large"), index$1.h("smoothly-item", { key: 'a0dd2fc34393ef5fc1ed89f1b000d3a3482a2324', value: "xlarge" }, "xlarge"), index$1.h("smoothly-input-clear", { key: '1cde73483d40576d71b1994ea7a4a18a0df791dc', slot: "end" })), index$1.h("smoothly-input-range", { key: 'c57e682c8ad984279d9b4d4eef60a6c076b3014b', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", index$1.h("smoothly-input-clear", { key: '485dc43539bb93a6bdd58ab1ba10ac5ee64abb80', slot: "end" }))), index$1.h("h1", { key: 'cef7183437984cc0d8df4765a5afd62790e07881' }, "Icons"), index$1.h("div", { key: '332d4c1168cda7307f00eef4106494860ed0a491', class: "icons" }, [
|
|
5819
5819
|
...Scrollable.Icon.Name.values
|
|
5820
5820
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
5821
5821
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -6265,7 +6265,7 @@ const SmoothlyInput = class {
|
|
|
6265
6265
|
}
|
|
6266
6266
|
render() {
|
|
6267
6267
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
6268
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6268
|
+
return (index$1.h(index$1.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(); } }, index$1.h("slot", { key: 'a0c8cae6adbad3694a28ec8e1e043fa7a8ceb98a', name: "start" }), index$1.h("div", { key: 'a2d20222eaa4b3edbc42360bc290f7216d17cca1', class: "smoothly-input-container" }, index$1.h("div", { key: '7f076aae537f15217e7bc960c495438729e06c8a', class: "guide" }, index$1.h("div", { key: '3b0078359bcc30eb6932c8f667abff7d4f0fe38b', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), index$1.h("div", { key: '2e5bc6a765e9249235b34ec25b6d3e67ee0a475e', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), index$1.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) => {
|
|
6269
6269
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
6270
6270
|
if (!this.readonly && !this.disabled) {
|
|
6271
6271
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -6281,7 +6281,7 @@ const SmoothlyInput = class {
|
|
|
6281
6281
|
this.smoothlyUserInput.emit({ name: this.name, value: this.stateHandler.getValue(this.state) });
|
|
6282
6282
|
}
|
|
6283
6283
|
}
|
|
6284
|
-
} }), index$1.h("label", { key: '
|
|
6284
|
+
} }), index$1.h("label", { key: '43e8d3ad1afdaa8a8b6fa55583c0d40a3bf24acd', class: "label float-on-focus", htmlFor: this.name }, index$1.h("slot", { key: '3614b3dc27033e9c7b382cfe839adab598f35447' }))), this.copyable && this.value && (index$1.h("span", { key: '5e2cb462b6cdde196955d26bf481f9bbcad7e331', class: "copyable" }, index$1.h("small", { key: 'c3730452979b2edd6b675990ac627a4e5dd839e4' }, this.copied ? "Copied!" : "Copy"), index$1.h("smoothly-icon", { key: '9d18b939ea4e9b83e5d114b6cea73c66dad07503', name: "copy-outline", size: "small", onClick: () => this.copyText(this.value), onMouseLeave: () => (this.copied = false) }))), index$1.h("smoothly-icon", { key: 'c730f983b4a58c59ac60eb8539a199811655e4f0', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: '00a182be5038019d825ec5b6fa8a87026c50cfa3', name: "end" })));
|
|
6285
6285
|
}
|
|
6286
6286
|
get element() { return index$1.getElement(this); }
|
|
6287
6287
|
static get watchers() { return {
|
|
@@ -6381,10 +6381,10 @@ const SmoothlyInputCheckbox = class {
|
|
|
6381
6381
|
}
|
|
6382
6382
|
}
|
|
6383
6383
|
render() {
|
|
6384
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6384
|
+
return (index$1.h(index$1.Host, { key: '6c5e8fd09ac7c64be72d541cdeee747c84495a6f' }, index$1.h("input", { key: '241ef4d9acc46562323db12313f6ca0a3fea5f0f', type: "checkbox", id: this.id, checked: this.checked, disabled: this.disabled || this.readonly, onChange: async (e) => {
|
|
6385
6385
|
this.checked = e.target.checked;
|
|
6386
6386
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
6387
|
-
} }), this.checked && index$1.h("smoothly-icon", { key: '
|
|
6387
|
+
} }), this.checked && index$1.h("smoothly-icon", { key: 'a0909dfe8369e31bf4873a2ab05f21880c3f43fe', name: "checkmark-sharp", size: "tiny" }), index$1.h("label", { key: 'c3628052b38e4dfbdffefa92d428a04662726f65', htmlFor: this.id }, index$1.h("slot", { key: 'bfdbbb43537661b026600d2cb3af9c244d2ae5b3' })), index$1.h("span", { key: '4033bb43f9ead47f2f9f7eb6943e4199c7260766', class: "smoothly-checkbox-end-slot" }, index$1.h("slot", { key: 'e8985be231a6f80d71d85e1b665705458fb187f2', name: "end" }))));
|
|
6388
6388
|
}
|
|
6389
6389
|
get element() { return index$1.getElement(this); }
|
|
6390
6390
|
static get watchers() { return {
|
|
@@ -6447,7 +6447,7 @@ const SmoothlyInputClear = class {
|
|
|
6447
6447
|
}
|
|
6448
6448
|
render() {
|
|
6449
6449
|
var _a;
|
|
6450
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6450
|
+
return (index$1.h(index$1.Host, { key: 'f1f8c9c1065466cf60851197c73cb3e801593472', title: this.tooltip }, index$1.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) }, index$1.h("slot", { key: '427e397efd7fc89e2e6ba34f1703cd249b8b07cf' }), index$1.h("smoothly-icon", { key: '3c16b4541b7d1493213d3dfc93adf32aec831869', name: "close", size: "tiny" }))));
|
|
6451
6451
|
}
|
|
6452
6452
|
get element() { return index$1.getElement(this); }
|
|
6453
6453
|
};
|
|
@@ -6605,7 +6605,7 @@ const SmoothlyInputColor = class {
|
|
|
6605
6605
|
}
|
|
6606
6606
|
render() {
|
|
6607
6607
|
var _a, _b, _c, _d, _e, _f;
|
|
6608
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6608
|
+
return (index$1.h(index$1.Host, { key: '606897dcf8880a8bceaf646a17b0b682dc0de4fe', style: {
|
|
6609
6609
|
"--hexCode": this.value,
|
|
6610
6610
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
6611
6611
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -6614,7 +6614,7 @@ const SmoothlyInputColor = class {
|
|
|
6614
6614
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
6615
6615
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
6616
6616
|
"--element-height": `${this.element.clientHeight}px`,
|
|
6617
|
-
} }, index$1.h("smoothly-input", { key: '
|
|
6617
|
+
} }, index$1.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])) }, index$1.h("slot", { key: '932e1fee6e31f8942841ae068404f674d20c6d75' })), index$1.h("div", { key: '55de847010bfc30641a1b4814fc7d4ea1beb8b63', class: "color-sample" }), index$1.h("smoothly-icon", { key: '7e69d59ceb71c617d93205b6ada24bc0a0b6d3fe', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && !this.disabled && this.openDropdown() }), index$1.h("div", { key: '38771b0daff4bda14ecb821f7ec0725ef575f50c' }, index$1.h("slot", { key: 'b005802e73faf84b2772e7bf28163963abe619ca', name: "end" })), this.open && !this.readonly && !this.disabled && (index$1.h("div", { key: 'ed68b37bbbe25ccb1cfe00167b21b49fdcad5326', class: "rgb-sliders" }, index$1.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]) => (index$1.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]) => (index$1.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() })))))));
|
|
6618
6618
|
}
|
|
6619
6619
|
get element() { return index$1.getElement(this); }
|
|
6620
6620
|
static get watchers() { return {
|
|
@@ -6639,7 +6639,7 @@ const SmoothlyInputColorDemo = class {
|
|
|
6639
6639
|
index$1.registerInstance(this, hostRef);
|
|
6640
6640
|
}
|
|
6641
6641
|
render() {
|
|
6642
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6642
|
+
return (index$1.h(index$1.Host, { key: '7b11b0f228e5e8655a3db81717e614354b9fbdc0' }, index$1.h("h2", { key: '41e22ff3427c56b0e5b5b5c837215ce3c8e3667b' }, "Color"), index$1.h("smoothly-input-color", { key: '778d1355985c37f4b8b193b65d0a534c640c5c1c', name: "color" }, "Choose color")));
|
|
6643
6643
|
}
|
|
6644
6644
|
};
|
|
6645
6645
|
SmoothlyInputColorDemo.style = `style.css`;
|
|
@@ -6760,7 +6760,7 @@ const SmoothlyInputDate = class {
|
|
|
6760
6760
|
event.stopPropagation();
|
|
6761
6761
|
}
|
|
6762
6762
|
render() {
|
|
6763
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6763
|
+
return (index$1.h(index$1.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) }, index$1.h("slot", { key: '44cfdeb10640f183b8d5aee0a40630dc6d3e994e', name: "start" }), index$1.h("label", { key: 'd7b5fdb309c4cbe5ca865169953f50e57bae8d4d', class: "label float-on-focus" }, index$1.h("slot", { key: '7230b56a3bdbb7a83a8c45800f056734b01bcb90' })), this.placeholder && index$1.h("span", { key: '4a0606f9f3d1bf1610393006ee6238b386b56655', class: "smoothly-date-placeholder" }, this.placeholder), index$1.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()); } }), index$1.h("span", { key: '2f7b6396f29e43ff06f86749b20358fd9067def3', class: "smoothly-icons", ref: el => (this.iconsElement = el) }, index$1.h("smoothly-icon", { key: '384b7d43cebf3f16a8f14687acd424bcd790a55a', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: '445ed1618b342123b180cecc999a2899176095c6', name: "end" })), this.open && !this.readonly && (index$1.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 }, index$1.h("div", { key: '6a2d605946629fafeb1a951aa4ce923d5c3cca53', slot: "year-label" }, index$1.h("slot", { key: '7352785fb90f97fe59dcc2662e81c12ae3544e70', name: "year-label" })), index$1.h("div", { key: '9433f633d73a13a3638df8374cc807e7adfe11d0', slot: "month-label" }, index$1.h("slot", { key: '2f9176a79690a41028a1633e5bb6b4bd9c464722', name: "month-label" }))))));
|
|
6764
6764
|
}
|
|
6765
6765
|
get element() { return index$1.getElement(this); }
|
|
6766
6766
|
static get watchers() { return {
|
|
@@ -6788,7 +6788,7 @@ const SmoothlyInputDateDemo = class {
|
|
|
6788
6788
|
this.alwaysShowGuide = false;
|
|
6789
6789
|
}
|
|
6790
6790
|
render() {
|
|
6791
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6791
|
+
return (index$1.h(index$1.Host, { key: 'b0b29015752f46939700b57c62a07fa06ffe4e40' }, index$1.h("div", { key: '513e17083a0162befffa69473ddbdece8548e9ba' }, index$1.h("h2", { key: 'd9ac3875a4027fb083c7daad59d99fea4ce27ade' }, "Date input"), index$1.h("p", { key: '995523aa50c0634d265b3b9d91f5dac9a8502bf0' }, "Different locales formatting the same date"), index$1.h("smoothly-button", { key: '10a90fd4fe35c81b689d4c0cc547cc887b852669', color: "primary", onClick: () => (this.date = this.date ? index.isoly.Date.next(this.date) : index.isoly.Date.now()) }, "Set date"), index$1.h("smoothly-input-checkbox", { key: 'b7d9b9ab464d611493eb029a1819b1890da7e0c3', looks: "transparent", onSmoothlyUserInput: e => {
|
|
6792
6792
|
this.alwaysShowGuide = e.detail.value;
|
|
6793
6793
|
console.log(this.alwaysShowGuide);
|
|
6794
6794
|
} }, "Always Show Guide")), ["en-US", "en-GB", "de-DE", "se-SE"].map(locale => (index$1.h(index$1.Fragment, null, index$1.h("smoothly-input-date", { locale: locale, name: locale, looks: "border", value: this.date, alwaysShowGuide: this.alwaysShowGuide }, locale, index$1.h("smoothly-input-clear", { slot: "end" })), index$1.h("smoothly-input-date-range", { locale: locale, name: locale + "-range", looks: "border", start: this.date, end: this.date ? index.isoly.Date.next(this.date) : undefined, alwaysShowGuide: this.alwaysShowGuide }, locale, " Range", index$1.h("smoothly-input-clear", { slot: "end" })))))));
|
|
@@ -6925,15 +6925,15 @@ const SmoothlyInputDateRange = class {
|
|
|
6925
6925
|
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
6926
6926
|
}
|
|
6927
6927
|
render() {
|
|
6928
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6928
|
+
return (index$1.h(index$1.Host, { key: '4aafb51483d57234d6f42a6252a45078a5cc4054', tabindex: this.disabled ? undefined : 0, class: {
|
|
6929
6929
|
"has-value": !!(this.start || this.end),
|
|
6930
6930
|
"has-text": !!(this.startHasText || this.endHasText),
|
|
6931
6931
|
"floating-label": this.alwaysShowGuide,
|
|
6932
|
-
} }, index$1.h("span", { key: '
|
|
6932
|
+
} }, index$1.h("span", { key: '5516903b15400ea4dd7dba463dd173ef48ca03df', class: "smoothly-date-range-input-part", onClick: (e) => this.onClick(e) }, index$1.h("slot", { key: '273d0fdad0534db6f46e3c37005ab0649edd8abc', name: "start" }), index$1.h("label", { key: '67fd396fd707428cf9413a5b8bd6501485874e64', class: "label float-on-focus" }, index$1.h("slot", { key: '67a092adcbb0abf829ffb68b48e2e37cc6dbc5ed' })), this.placeholder && index$1.h("span", { key: '54ed8804af377cdde573d7d148d62544adae5eb8', class: "smoothly-date-range-placeholder" }, this.placeholder), index$1.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 => {
|
|
6933
6933
|
var _a, _b;
|
|
6934
6934
|
return (e.stopPropagation(),
|
|
6935
6935
|
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());
|
|
6936
|
-
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), index$1.h("span", { key: '
|
|
6936
|
+
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), index$1.h("span", { key: '80257b7865d284f87a6aafd9f53acead98612f09', class: "smoothly-date-range-separator" }, " \u2013 "), index$1.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 })), index$1.h("span", { key: '4ccdcf9160a7bb827309e5f5cd908095ba90a0bc', class: "smoothly-icons" }, index$1.h("smoothly-icon", { key: '7dbf49e194b48313c7b54eb1bc43d2660f7cf3dc', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: '63448fe06f310d74951d3ddbd8b8511d1df170b0', name: "end" })), this.open && (index$1.h("smoothly-calendar", { key: '1d334b289c960660269e869ec6e42544beaaf0d7', ref: el => (this.calendarElement = el), doubleInput: true, onSmoothlyDateSet: e => e.stopPropagation(), onSmoothlyDateRangeSet: e => {
|
|
6937
6937
|
e.stopPropagation();
|
|
6938
6938
|
this.open = false;
|
|
6939
6939
|
this.start = e.detail.start;
|
|
@@ -7067,30 +7067,30 @@ const SmoothlyInputDateTime = class {
|
|
|
7067
7067
|
this.isDifferentFromInitial = false;
|
|
7068
7068
|
}
|
|
7069
7069
|
render() {
|
|
7070
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7070
|
+
return (index$1.h(index$1.Host, { key: 'ad93ad9f51896e7b99f721d7a81808e092816c03' }, index$1.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) => {
|
|
7071
7071
|
e.stopPropagation();
|
|
7072
7072
|
this.date = e.detail.date;
|
|
7073
7073
|
}, onSmoothlyUserInput: async (e) => {
|
|
7074
7074
|
e.stopPropagation();
|
|
7075
7075
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7076
|
-
} }, index$1.h("slot", { key: '
|
|
7076
|
+
} }, index$1.h("slot", { key: '3365117b617114c1c961a34660585c2ddae7f93d' })), index$1.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) => {
|
|
7077
7077
|
e.stopPropagation();
|
|
7078
7078
|
this.hour = e.detail.hour;
|
|
7079
7079
|
}, onSmoothlyUserInput: async (e) => {
|
|
7080
7080
|
e.stopPropagation();
|
|
7081
7081
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7082
|
-
} }), index$1.h("span", { key: '
|
|
7082
|
+
} }), index$1.h("span", { key: '30f3a9608f30b70ec0e999b1087f124a2c0f8f9a', class: "colon" }, ":"), index$1.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) => {
|
|
7083
7083
|
e.stopPropagation();
|
|
7084
7084
|
this.minute = e.detail.minute;
|
|
7085
7085
|
}, onSmoothlyUserInput: async (e) => {
|
|
7086
7086
|
e.stopPropagation();
|
|
7087
7087
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7088
|
-
} }), index$1.h("span", { key: '
|
|
7088
|
+
} }), index$1.h("span", { key: 'a909976d14881c52ff1461afde62ee22acccbea0', class: "icons" }, index$1.h("smoothly-icon", { key: 'd200862fdf9b53b85d1deb9569cf4b9c93aee077', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: 'c5391f31a81c2b9ed019fb27e5aefb2e41a91d49', name: "end" })), this.open && !this.readonly && (index$1.h("smoothly-calendar", { key: 'ac41f035d3f92fd3116dfcf360f2e4d921a829b0', doubleInput: false, value: this.value ? index.isoly.DateTime.getDate(this.value) : undefined, min: this.min ? index.isoly.DateTime.getDate(this.min) : undefined, max: this.max ? index.isoly.DateTime.getDate(this.max) : undefined, onSmoothlyDateSet: async (e) => {
|
|
7089
7089
|
e.stopPropagation();
|
|
7090
7090
|
this.date = e.detail;
|
|
7091
7091
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
7092
7092
|
this.open = false;
|
|
7093
|
-
} }, index$1.h("div", { key: '
|
|
7093
|
+
} }, index$1.h("div", { key: '3a0ea948b27c084501a8a98c9ad31195077abd86', slot: "year-label" }, index$1.h("slot", { key: 'cc59da90159452014a6434827619eade272e75d3', name: "year-label" })), index$1.h("div", { key: 'a7bbff950447fab625edc43dd12814b24711d568', slot: "month-label" }, index$1.h("slot", { key: 'a5d595242c8424d5a6021e7306c219cc828dbfb1', name: "month-label" }))))));
|
|
7094
7094
|
}
|
|
7095
7095
|
get element() { return index$1.getElement(this); }
|
|
7096
7096
|
static get watchers() { return {
|
|
@@ -7130,14 +7130,14 @@ const SmoothlyInputDemo = class {
|
|
|
7130
7130
|
this.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];
|
|
7131
7131
|
}
|
|
7132
7132
|
render() {
|
|
7133
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7133
|
+
return (index$1.h(index$1.Host, { key: 'ef33e129690f3cd0a771a1b12dcb8f9c79fa566e' }, index$1.h("smoothly-input-demo-standard", { key: '5e12871414915755af5fb0e896b2ae9cbaeec449' }), index$1.h("smoothly-input-date-demo", { key: 'cd9a7179d6d78b58c64a37329d170dafa3c4d4ee' }), index$1.h("smoothly-input-demo-user-input", { key: '1dc3897e7c1bb3de9b45084c880745abfadb568c' }), index$1.h("smoothly-input-demo-radio", { key: '3a6b7c1417ea8a91a62d4c911562175ba623c1e5' }), index$1.h("div", { key: 'd218e51f2785f7caed4318ea33aaab6dca63d05e', class: "inputs" }, index$1.h("h2", { key: '53ac6e802dd3e3581ad3dc2feb629537dbeaf9b6' }, "Calendar"), index$1.h("smoothly-input-date", { key: '25127e4d56c34404d0dc25d63b7cc96c5e8c3645', name: "some-date" }, "Calendar"), index$1.h("smoothly-input-date-time", { key: 'e3025c6634241fa1347c7b2c93a918288a2371d6', name: "someDateTime", value: index.isoly.DateTime.now() }, "DateTime"), index$1.h("h2", { key: '6db99859de7c13e9d6d40aa5c7cbdc25cddffd14' }, "Date Range"), index$1.h("smoothly-input-date-range", { key: 'c56da60bdb19ea3c0305d1881180845f848cb625', name: "testing", start: index.isoly.Date.now(), end: index.isoly.Date.nextMonth(index.isoly.Date.now()), min: "2021-10-01", max: "2025-01-31" }), index$1.h("smoothly-input-date-range", { key: '556c9c8b45219b64f966252c9ea23b8a02bf78a2', name: "testing", start: index.isoly.Date.now(), end: index.isoly.Date.nextMonth(index.isoly.Date.now()), min: "2021-10-10", max: "2024-12-30" }, index$1.h("smoothly-input-reset", { key: 'd6e08652074753d81334f6f26872f16a4ad27120', slot: "end", size: "icon" })), index$1.h("smoothly-input-date-range", { key: '65bffbaab83f117517cd37087c028d1ed2b4936c', looks: "grid", start: index.isoly.Date.now(), end: index.isoly.Date.nextMonth(index.isoly.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
7134
7134
|
"--smoothly-input-border-radius": "0.5rem",
|
|
7135
|
-
} }, index$1.h("smoothly-input-clear", { key: '
|
|
7135
|
+
} }, index$1.h("smoothly-input-clear", { key: 'e61e9737c489a68b612e38490fa4b2f95de72a6a', slot: "end", size: "icon" })), index$1.h("h2", { key: 'd7f0223de99a710561a28daf86ceb69d7aef1da1' }, "Date"), index$1.h("smoothly-input-date", { key: '2cf84ece02042c92ac3754379268a94ef536c91a' }, "Date"), index$1.h("smoothly-input-date", { key: 'b1b465843e3562c30e589af11004a09bf2b6157a', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), index$1.h("smoothly-input-date", { key: '5810635fbfd26dd8735f8abd2c2e58f30affd61c', value: "2021-10-28" }, "Date", index$1.h("smoothly-input-reset", { key: 'd63d51b77f52243dfa9f13fe2754e53919d21c06', slot: "end", size: "icon" })), index$1.h("smoothly-input-date", { key: '7815c1afc2b1d38d3263630d8ef8d5a4cfa0a096', value: "2021-10-28" }, "Date", index$1.h("smoothly-input-clear", { key: 'cf8b725f54894024063bb6735e17ed692195c994', slot: "end", size: "icon" })), index$1.h("h2", { key: 'db2776f12559673b653e4671f92c578471e65a7a' }, "Select"), index$1.h("div", { key: '64ef6bd07f27d07cf6ea6dd23ae434503fdcc740', class: "select-div" }, index$1.h("smoothly-input-select", { key: '0a0f832b86bdb2fc7aeb964d52f320a6d76cf40d', name: "select-dessert", looks: "border" }, index$1.h("label", { key: 'd95e443f3df2398ca64bd6bcd64d6cdd629d0a8d', slot: "label" }, "Select with clear button"), index$1.h("smoothly-item", { key: 'c081a219a330aac151711e87423b474037b79628', value: "1" }, "Ice cream"), index$1.h("smoothly-item", { key: 'c168ee280c6dea09c54d86ae72fe2c79e134d448', value: "2" }, "Sponge cake"), index$1.h("smoothly-item", { key: 'cfea0b38d63995c108f0277ca248647725d22a60', value: "3", disabled: true }, "Disabled Item"), index$1.h("smoothly-item", { key: 'b93622e1a391c980d0c0371a0918dfca7ae7b456', value: "4" }, "Cookie"), index$1.h("smoothly-item", { key: 'e8733a8a51b09cea7ee31e4017f58152b58f5827', value: "5" }, "Croissant"), index$1.h("smoothly-item", { key: '90731e217754cb6c096cc190fb8b0c56c2bac593', value: "6" }, "Chocolate fondue"), index$1.h("smoothly-input-clear", { key: '0129f30c20777f9a37fc19ee8051e377507c9368', size: "icon", slot: "end" })), index$1.h("smoothly-input-select", { key: '94d3b7ca28b5fe5f9c9a3c587d995c65c8be45ad', multiple: true, name: "select-dessert-multiple", looks: "border" }, index$1.h("label", { key: '2d935f7418f8db300bf20412c4dd15934da5c0d3', slot: "label" }, "Select multiple with reset button"), index$1.h("smoothly-item", { key: '3c2579bffcde279703cfc041b315560a6dcc098e', value: "ice cream" }, "Ice cream"), index$1.h("smoothly-item", { key: 'a49fcce300b665b0de07fe67b5ea798e2fa94626', value: "sponge cake" }, "Sponge cake"), index$1.h("smoothly-item", { key: '4678f38edab9f88113c056ff820df2bd07e2fe33', selected: true, value: "cookie" }, "Cookie"), index$1.h("smoothly-item", { key: 'fdcf2ecd485fe75a35ca96ed89352a343819b770', value: "croissant" }, "Croissant"), index$1.h("smoothly-item", { key: 'f5cafb0e4b020489c72db9cd2362936449826dbd', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), index$1.h("smoothly-input-reset", { key: '8c49833f66cee2e2ebac320c67ee5452a77636f7', size: "icon", slot: "end" })), index$1.h("smoothly-input-select", { key: '146806189c90cecb94e0bc9a01c713695689a2bc', name: "spirit-animals", looks: "border", mutable: true }, index$1.h("label", { key: '56bc9c8ef474ce79b1af47086b65847877d6a03c', slot: "label" }, "Select or add new options"), index$1.h("smoothly-item", { key: 'b13d4158fadfb725ff6c1ca236f4724ba95936df', value: "manatee" }, "Manatee"), index$1.h("smoothly-item", { key: '85d95f128731e5fd3ec1c1f3df672d98ff3a199a', selected: true, value: "cthulu" }, "Cthulu")), index$1.h("smoothly-input-select", { key: '3bffa0bfbce0ab015208bdff0d648bf8f6d497bf', name: "select-icon", clearable: false, showSelected: false }, index$1.h("smoothly-item", { key: '05d80d05561b9a716ea94d8e3fb3e3d5afc66c4c', value: "folder", selected: true }, index$1.h("smoothly-icon", { key: 'f86490ab381f59ed6fcdacb1d7441697fe645fd8', size: "small", name: "folder-outline" })), index$1.h("smoothly-item", { key: 'ec29517ce6ee5b7353bc20fc3c4365751815bfc6', value: "camera" }, index$1.h("smoothly-icon", { key: '75c27c69a18c0c37a6d989a2268ed9fa7ffb6daf', size: "small", name: "camera-outline" }))), index$1.h("smoothly-input-select", { key: '7ff7efc5b6f7a47da43fbd859a0c20cfb013c1c3', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index$1.h("label", { key: '3eb848081a594d164a7144ac8fe91719c11dd950', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
7136
7136
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
7137
|
-
.map(char => (index$1.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index$1.h("smoothly-input-select", { key: '
|
|
7137
|
+
.map(char => (index$1.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index$1.h("smoothly-input-select", { key: '36db6fdd61728c21488000fb0e588858726de95d', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index$1.h("label", { key: 'b3a93c5d2b02f5c5ca50e2041db860082432ba0f', slot: "label" }, "Month multiple select"), index$1.h("smoothly-item", { key: '5b3f4d4dda6ca6bac04d3d58e14b1bc6808a515d', value: "1" }, "January"), index$1.h("smoothly-item", { key: '2137f933a08f0bff7661ef7eedb566ef0613b2c0', value: "2" }, "February"), index$1.h("smoothly-item", { key: '2b60b2706c7a4e560dc61969fe8bff8bae2ee3b4', value: "3" }, "March"), index$1.h("smoothly-item", { key: '10f7a805783997893080eba61a3a293901273b7e', value: "4" }, "April"), index$1.h("smoothly-item", { key: 'fbb81488473ab771ba92650e7f6c0d1e385a5486', value: "5" }, "May"), index$1.h("smoothly-item", { key: 'bb9a696e13859137773158b219807224c9e456d5', value: "6" }, "June"), index$1.h("smoothly-item", { key: 'cb9cb347df1ab4551d11a6104fea41e53646f7fe', value: "7" }, "July"), index$1.h("smoothly-item", { key: 'f636d5874c7b810b59d9aea7454ee060093946ff', value: "8" }, "August"), index$1.h("smoothly-item", { key: 'd7882ebaf8e4b13216201b04201f19d0152c7997', value: "9" }, "September"), index$1.h("smoothly-item", { key: '30815b5d8ae477d52a6896083f58d5e913fc6ec9', value: "10" }, "October"), index$1.h("smoothly-item", { key: '70658c05936d61c7e4faf8ab265d5e7ae448774a', value: "11" }, "November"), index$1.h("smoothly-item", { key: 'c737ec283e42443c75334f925d7fab3df2527a4f', value: "12" }, "December")), index$1.h("div", { key: 'a149cf4a6ebc5828e095c10e9d6d57abbc43c359', class: "select-div-row" }, index$1.h("smoothly-input-select", { key: '0b32d71db9eb24afd885c46ea5f414be1e55133c', name: "select-icon", clearable: false, showSelected: false }, index$1.h("smoothly-item", { key: '1c4fb8eeb730b8cfe6e4818ca16c565014a159a7', value: "folder", selected: true }, index$1.h("smoothly-icon", { key: '082d0bba96283c4bceb9f92c3e772bd3fd8b7011', size: "small", name: "folder-outline" })), index$1.h("smoothly-item", { key: 'ea4df02bbe52f26a1888b2f74ed587beb09890fe', value: "camera" }, index$1.h("smoothly-icon", { key: '166ec449cff9acf04d866ac4786ba9f30b2a3b42', size: "small", name: "camera-outline" })), index$1.h("smoothly-item", { key: '65aa76f7da4c5677b031fe45a5a86fca0a3d29ee', value: "boat" }, index$1.h("smoothly-icon", { key: '32d5688b2e74006e65131f11ee06890d8d52b5dd', size: "small", name: "boat-outline" }))), index$1.h("smoothly-input-select", { key: 'fccc2a0bad4e53a6fee2a5ceca85a59b91d70090', name: "select-number", clearable: false }, this.numbers.map(number => (index$1.h("smoothly-item", { value: "number", selected: number === 3 }, number)))), index$1.h("smoothly-input", { key: 'f8a91a3e5d64b5058bb91a50dde94d3eb128f7b5', name: "name", value: "Sten Qvist" }, "Name"))), index$1.h("h2", { key: '012a2aeb69da69b0ab9cff4b761500892f2c9aba' }, "Duration"), index$1.h("smoothly-input", { key: '55df5644b13c507f13d0efec711da4c3ae59dc95', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), index$1.h("smoothly-input", { key: '4aa5fe278bfd9e37e3a625b67304cadb164bdd78', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
7138
7138
|
const duration = e.detail.duration;
|
|
7139
7139
|
this.duration = duration;
|
|
7140
|
-
} }, "Duration"), index$1.h("h2", { key: '
|
|
7140
|
+
} }, "Duration"), index$1.h("h2", { key: 'bb855c65c4b59aef87c9d4d18ac6db6b6d21bdec' }, "Integer with Min/Max"), index$1.h("smoothly-input", { key: '1a5e0092eb5330cc384aafce47e1438abca4a590', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), index$1.h("smoothly-input", { key: '359faaba1e62172b0224c8d8ec58e49cb5a81f09', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), index$1.h("smoothly-input", { key: '6ce0655a6b0134ce4175d65f80792287e48eefbe', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), index$1.h("smoothly-input", { key: '3ce841cda01cbb2c4f346009648faa281831a4b2', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), index$1.h("h2", { key: 'e63ebb0b5996cbf653c6b6c969df48d635e28c30' }, "Invalid text with warning icon and tooltip"), index$1.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"), index$1.h("h2", { key: '04dffd24a3af57da6ae369a8fbe9372893e6e380' }, "Identifiers"), index$1.h("smoothly-input", { key: '3d18b596880f98b84a07742cb9778d0095719294', type: "identifier-code" }, "Code"), index$1.h("smoothly-input", { key: '190651f4f4263eaacd8b80f90f4074fef28da183', type: "identifier-attribute" }, "Attribute"), index$1.h("smoothly-input", { key: '3a8802a9a173f518f975717cbe23cd1150316fc5', type: "identifier-snake" }, "Snake"), index$1.h("smoothly-input", { key: '00ec5419cd67a7217d23f95513f451f2c8e98f8e', type: "identifier-pascal" }, "Pascal"), index$1.h("smoothly-input", { key: '93eac4cce148e22640908d0d2f7c19a04b66d3f9', type: "identifier-camel" }, "Camel"), index$1.h("h2", { key: '98b93a5cb9daf216199adb5fa089ddd84bc96c61' }, "Input Alternatives"), index$1.h("smoothly-input", { key: 'a031c081e8531bad8400469ae449757958d7324a', type: "text", name: "name.last" }, index$1.h("smoothly-icon", { key: 'bf00331aeef0f1046c5505911d7db6ba845e636c', name: "checkmark-circle", slot: "start" }), "First Name"), index$1.h("smoothly-input", { key: '7824cf3b501d802ff40e4a750dd46defa9cac8b6', type: "text", name: "name.first" }, "Last Name", index$1.h("smoothly-icon", { key: '497b0417f5e7b0714753b0e5d78a78ab18130007', name: "checkmark-circle", slot: "end" })), index$1.h("smoothly-input", { key: 'ba93dadda8140d398c1d350f98c53d2a08c440db', type: "text", name: "name.first", placeholder: "Smith" }, "Last Name", index$1.h("smoothly-icon", { key: '28e8478b908bb51c6c5949e986c69930d1b10cb5', name: "checkmark-circle", slot: "end" })), index$1.h("smoothly-input", { key: 'fcb8531d6fe4129585e9a6d6e641022f2f14cb94', placeholder: "test" }), index$1.h("smoothly-input-submit", { key: '97a4d319d250ecd00ede7a5beb2c06b077e8e82c', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), index$1.h("h4", { key: '50579aad1a91b0c728a127076a37be38273b3635' }, "Smoothly checkboxes"), index$1.h("div", { key: 'ceee0a83b7626132ac6323dfd894d8ece7ea2f69', class: "checkbox-group" }, index$1.h("smoothly-input-checkbox", { key: '0eab1d5ac670458ab57af847c9996fcf874fd985', disabled: true, name: "first-checkbox" }, index$1.h("smoothly-icon", { key: 'aa4259b0bc0193a0e31b2bdc2f9550d1e7a9cd66', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), index$1.h("smoothly-input-checkbox", { key: '38fe8ffc98f95b0a81aba7dadb0a46f876ec09f4', name: "second-checkbox", checked: true }, index$1.h("smoothly-icon", { key: '40b2451d7fb2f705251abfb2158bc91a31ae9d3d', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", index$1.h("smoothly-input-clear", { key: '34675173c8447131c978ca934fdde0d8764f44a8', size: "icon", slot: "end" })), index$1.h("smoothly-input-checkbox", { key: '42c6dd2f0fd6bb72d8ce31158f0451c5f500fe2b', name: "third-checkbox" }, "3rd")), index$1.h("h4", { key: '94ddf8048c28f947c3d20a2440c49e9340448c58' }, "Smoothly Radio Buttons"), index$1.h("smoothly-input-radio", { key: '0e308b17b5783bb23ce817cb30fbb9237a1b5b65', clearable: true, name: "radioFirstInput" }, index$1.h("smoothly-icon", { key: '61ab423d103c3f04fbaae7d02d0a1685d576fcfe', name: "checkmark-circle", slot: "start" }), index$1.h("label", { key: 'f75b6164630e97ad5f1174c08afe841e7321fe28', slot: "label" }, "Clearable"), index$1.h("smoothly-input-radio-item", { key: 'fd4284b27663aed055dce8671b46881789ba7dfb', value: "first" }, "Label 1"), index$1.h("smoothly-input-radio-item", { key: '9554d37989867953cefb248a039d1c6217ea0c4f', selected: true, value: "second" }, "Label 2"), index$1.h("smoothly-input-radio-item", { key: '7643fa634aa9693163de7926468ea47ea99d232f', value: "third" }, "Label 3"), index$1.h("smoothly-input-clear", { key: 'ef750494dee99f5bf962f93f143a80a540834f20', size: "icon", slot: "end" })), index$1.h("smoothly-input-radio", { key: '3cf94704be4ce872a79a97abb4dc1828ade9ad71', name: "radioSecondInput" }, index$1.h("label", { key: 'd3feeed0e6debeaba6e95eec7c6effa4e3aa0484', slot: "label" }, "Not clearable"), index$1.h("smoothly-input-radio-item", { key: 'ed5bc06f71277cc4ad5e644d4b07c42c80dd1027', value: "first" }, "Label 1"), index$1.h("smoothly-input-radio-item", { key: '944215e958076b552f4ee8e5728897f63e88657c', value: "second" }, "Label 2"), index$1.h("smoothly-input-radio-item", { key: '273705d445c5b1c1c01f6cea30bf8ad4036f932a', value: "third" }, "Label 3"), index$1.h("smoothly-input-radio-item", { key: 'c16dee456ac64f1aa945dcf6934ff6734c63e597', value: "fourth" }, "Label 4"), index$1.h("smoothly-input-radio-item", { key: 'd9795190e66042dedd027a4780900e2a32548ebc', value: "fifth" }, "Label 5"), index$1.h("smoothly-input-radio-item", { key: '985a353d4d42885a3597807d9b3a1d6fe2692520', value: "sixth" }, "Label 6")), index$1.h("smoothly-input-range-demo", { key: '011666bd072c688123437302f21ef556b9bc45cf' }), index$1.h("smoothly-input-color-demo", { key: 'a7e2fedb5277f19eee2c670bf88c1089ead1eb92' }), index$1.h("smoothly-input-price-demo", { key: '3e2f3d6d9e0e368ad4b8c7f3294bbc8cb19d3358' }), index$1.h("smoothly-back-to-top", { key: 'c2ecc189b026a4eae72d521e4cdffcfbd58ddbd9' }))));
|
|
7141
7141
|
}
|
|
7142
7142
|
};
|
|
7143
7143
|
SmoothlyInputDemo.style = styleCss$O();
|
|
@@ -7152,7 +7152,7 @@ const SmoothlyInputDemoRadio = class {
|
|
|
7152
7152
|
console.log("selected", this.selected);
|
|
7153
7153
|
}
|
|
7154
7154
|
render() {
|
|
7155
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7155
|
+
return (index$1.h(index$1.Host, { key: '926c46d5493184b5562db849fe49f8bc69467635' }, index$1.h("h2", { key: '482f5b5dad79420a7d17fd32f8ca364fff3fea40' }, "radio input - column direction"), index$1.h("smoothly-input-radio", { key: '56b8f69f400852f3476747d3cfca4e208659a55a', name: "radio", direction: "column", onSmoothlyInput: e => (this.selected = e.detail.radio) }, index$1.h("smoothly-input-radio-item", { key: 'f8efa9578d1cd57ed8a1c39f99d1ceb61dc15c0a', value: "1" }, index$1.h("span", { key: 'e8a9613c4be5a9a5f22e27376e2a5c3dc9432e9e' }, "Option 1"), index$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.")), index$1.h("smoothly-input-radio-item", { key: '6c4733d75808282a051c25ccafdbffae1efec8b4', value: "2", selected: true }, index$1.h("span", { key: '135b8ad7de02530fb2ec7b1748c706ed7ad6a275' }, "Option 2"), index$1.h("div", { key: '8d8beb1041e44e46afe0423540b385ad7aa0a0d1', slot: "detail" }, index$1.h("smoothly-tabs", { key: '9295b932c4f29d8672003b063930beb56075662c' }, index$1.h("smoothly-tab", { key: '970586efae1aa46ddeb1c6ef203b89682251d77f', label: "Dog", name: "dog", open: true }, "\uD83D\uDC15"), index$1.h("smoothly-tab", { key: '8faade213577e3d7cd4481f8c09ca80210f8312b', label: "Cat", name: "cat" }, "\uD83D\uDC08"), index$1.h("smoothly-tab", { key: '00c1e6c7f8fa0e3d2ee17f20ac212463f515c7a3', label: "Rat", name: "rat" }, "\uD83D\uDC00")))))));
|
|
7156
7156
|
}
|
|
7157
7157
|
static get watchers() { return {
|
|
7158
7158
|
"selected": [{
|
|
@@ -7184,7 +7184,7 @@ const SmoothlyInputDemoStandard = class {
|
|
|
7184
7184
|
});
|
|
7185
7185
|
}
|
|
7186
7186
|
render() {
|
|
7187
|
-
return (index$1.h(index$1.Host, { key: 'd2a4b3a8e5675b4fe394f551166318902c09ea84' }, index$1.h("div", { key: '67b40a89a1cbf17d511c56d966a9173e02a9c92e', class: "description" }, index$1.h("h2", { key: 'fdd28a17423a0da06745fc2aad06e1acbde54be4' }, "Input Standard"), index$1.h("p", { key: 'e9e84428aa2ebe4ea0b1d04410629ed85de1d329' }, "Height of input should be ", index$1.h("code", { key: 'faccb606910cbe8418c176efd45ff05eafd0ffc8' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), index$1.h("smoothly-form", { key: 'f8770ba1128622c8b40be48cd26214ed162035e3', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index$1.h("smoothly-input-select", { key: '82ce7ab02f341b560e6347164a19c9273580ed18', name: "color" }, index$1.h("span", { key: '4062538c8b4b25d9a1cc1f625df0313383990193', slot: "label" }, "Color"), Scrollable.Color.values.map(c => (index$1.h("smoothly-item", { value: c }, index$1.h("span", { color: c }, c)))), index$1.h("smoothly-input-clear", { key: '659e785d9f5e4043fcf15dc457dde4dc48676215', slot: "end" })), index$1.h("smoothly-input-select", { key: '656b68d41b449cde70e4d86b252dc70d994f63ce', name: "looks" }, index$1.h("span", { key: '39ef79d28d1dbec7a678b93fa031615457560351', slot: "label" }, "Looks"), Looks.values.map(l => (index$1.h("smoothly-item", { value: l }, l)))), index$1.h("smoothly-input-range", { key: '3ae946ee3c4cdcf5b698b0456499c4807e53b257', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), index$1.h("smoothly-input-checkbox", { key: 'f73361b452096abbda4ebc6908371c397c0a9fd4', name: "readonly" }, "Readonly"), index$1.h("smoothly-input-checkbox", { key: '7a4762f9122be37ce57099515e0d9fac7c18df94', name: "disabled" }, "Disabled"), index$1.h("smoothly-input-checkbox", { key: '0ac401e2b9e2525dfc899eda4957a61b99947758', name: "invalid" }, "Invalid"), index$1.h("smoothly-input", { key: '2ba7f175d8aeef4301598f3c3da5d436a17c45c7', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), index$1.h("smoothly-input-checkbox", { key: '5844e0ab1cc53ecd0691d585fa4461f89c9994bc', name: "showLabel", checked: true }, "Show Label"), index$1.h("smoothly-input", { key: '6d46add6231e87d95dd8aea7bd91181c47a56490', name: "placeholder" }, "Placeholder"), index$1.h("smoothly-input-checkbox", { key: '43af9a815da45bc2ce0e54e8442e3a8ab1bc534c', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), index$1.h("div", { key: 'cf6750528c66ee0c0b9e97478de77514cbd39045', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index$1.h("div", { key: '4fbc0ba2b6b142f6c4ac8379157b2953d88cb062', class: "width" }, "width: 100%"), index$1.h("div", { key: '7fb5a3a68f6ed4d14bcab9758a8de0a95de7e80c', class: "left-padding" }, "padding-left: 0.5rem"), index$1.h("smoothly-input", { key: '3d379565ac3335e2ef39e7d616b082fd5247619e', 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 && index$1.h("span", { key: '7d37fa391bb86cf43fe84db4826d8394c04d8af9' }, "Text"), index$1.h("smoothly-input-clear", { key: '5c5b48cd36f13a3b50fc49809edb17148993a004', slot: "end" })), index$1.h("div", { key: 'c666bcf200205fbe3d4e045ee69530b217d4845d', class: "height" }), index$1.h("smoothly-input-select", { key: '9a2bb30a995830fecbc0dc7f9df2895470ac8e3b', 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 && index$1.h("label", { key: 'd91f28c2c80c6b95703b9476c8d07b64387f989a', slot: "label" }, "Select"), index$1.h("smoothly-item", { key: '61aeaf05ac730b30d7fb29b749dcf6ba59932c9c', value: "1" }, "January"), index$1.h("smoothly-item", { key: '131052c2a6ad24d5c93cda5352dd16873e81fc81', value: "2" }, "February"), index$1.h("smoothly-item", { key: '599a8b88c0abd24346856c8c653c1adc69d432e0', value: "3" }, "March"), index$1.h("smoothly-item", { key: 'e8933cb5d5af0fbb4d898a919a1d0ccc26584c11', value: "4" }, "April"), index$1.h("smoothly-item", { key: 'eb7b7c07dd9fcb31eba2b5a8da79da32e14f2c67', value: "5" }, "May"), index$1.h("smoothly-item", { key: '48e70f3d930689aed016ac28241e6f8d253f61db', value: "6" }, "June"), index$1.h("smoothly-item", { key: '738b7ad9d5286f6afc8ad033d9cbb9e066c4c861', value: "7" }, "July"), index$1.h("smoothly-item", { key: 'aad0e64de6bf35b315fb3472c8cad86e3fb195d9', value: "8" }, "August"), index$1.h("smoothly-item", { key: '81c533fd3eeaa48ae7917f6064a17724b101b650', value: "9" }, "September"), index$1.h("smoothly-item", { key: '69f567c427f80cee633f72ac4dd06a4d4b4a27c7', value: "10" }, "October"), index$1.h("smoothly-item", { key: '0d87e5fa94a04a60b527d7a5f1670b1788bd4339', value: "11" }, "November"), index$1.h("smoothly-item", { key: '34b1425da536971ffde20fbab5b96c9d23f71fe3', value: "12" }, "December"), index$1.h("smoothly-input-clear", { key: 'd16aad09e1f53274a0c6d23c071f2abe1157ce4f', slot: "end" })), index$1.h("div", { key: '51931a5ed8ec83b8937cd7899a303569cf8bf7cd', class: "height" }), index$1.h("smoothly-input-checkbox", { key: '20d5a02ab8d8f1f709b030a0258598de61250555', name: "checkbox", checked: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled }, "Check", index$1.h("smoothly-input-reset", { key: 'd36312b0bb0393568cf05e51eea4cfa057dce607', slot: "end" })), index$1.h("div", { key: 'c1353494563098fc08fe2c93cceeb80d56a1aa51', class: "height" }), index$1.h("smoothly-input-radio", { key: '84976dd68dfe5534f28c02395d2476593bcb3bcd', 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 && index$1.h("label", { key: 'fd87d0cfc047bcaf959908191d798ea774daca25', slot: "label" }, "Radio"), index$1.h("smoothly-input-radio-item", { key: '4029068fb2fea98f2b5c19ec87e8dea13cf22365', value: "first" }, "Label 1"), index$1.h("smoothly-input-radio-item", { key: '1ab27866d3db524f52da4f76a3abb5eff1deeed3', selected: true, value: "second" }, "Label 2"), index$1.h("smoothly-input-radio-item", { key: '9415dd464250d9af68a54de51a9e6b15234f8faf', value: "third" }, "Label 3"), index$1.h("smoothly-input-clear", { key: '8ea8291c65ca421b0044fe3e0da4127f9fac0c40', slot: "end" })), index$1.h("div", { key: 'fa351e941ec780e05a037c2c1948dabd8ef371e8', class: "height" }), index$1.h("smoothly-input-file", { key: 'b45c3bf3c7b5e9e8408a6cecacdda30c7ce392df', 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 && index$1.h("span", { key: '7e81668b6bf2a3f72238d18d02c21f19bf6c2756', slot: "label" }, "File"), index$1.h("smoothly-input-clear", { key: '4ead6310cb554351b45699cbbc6d84804d26611b', slot: "end" })), index$1.h("div", { key: '73cd3845233377057ff16a18b9ad85eb4e4be30f', class: "height" }), index$1.h("smoothly-input-range", { key: 'ec0f42a5ee5fddd52fb5c0d283f9add183e429fd', name: "range", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, label: this.options.showLabel ? "Range" : undefined }, index$1.h("smoothly-input-clear", { key: '49536b00574ad5e0cba72b9a8fdeee599435a886', slot: "end" })), index$1.h("div", { key: 'cc112e755aeb5724b6e4bc511ed1b4e32b394d08', class: "height" }), index$1.h("smoothly-input-color", { key: 'dbd6daa2196f6ba316721ed338c0638d6c713e00', 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 && index$1.h("span", { key: '04197c11337298f86531d7ba52d67df221619051' }, "Color"), index$1.h("smoothly-input-clear", { key: '6489a29a796e8e443efdf27574df27e4e24111ee', slot: "end" })), index$1.h("div", { key: 'e48defb9f45eaa2f935b0108cf3ec6e331d4ecb2', class: "height" }), index$1.h("smoothly-input-date", { key: '0a5c51ecc51013f9572ed8cd8ef38f6d92bd4f5b', 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 && index$1.h("span", { key: '21f21c543ff1df34c50333fba2d1ca8377ea4e37' }, "Date"), index$1.h("smoothly-input-clear", { key: 'f8226e817b97c90070b649935ac70d6ba11f7b30', slot: "end" })), index$1.h("div", { key: '8920789228e2911822a6b822d1c8c37537a225e4', class: "height" }), index$1.h("smoothly-input-date-time", { key: '2e58e0e5f6370f7a4d0dd7f17c56718038167e6a', 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", index$1.h("smoothly-input-clear", { key: '9ebc24b5b639628fd5f3d11a72500bcd6ae9ab0f', slot: "end" })), index$1.h("div", { key: 'dddb389df78c212ec451422436e3f0468f523065', class: "height" }), index$1.h("smoothly-input-date-range", { key: '76b7832bcf134165961c00e610180ee37b74968d', 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 && index$1.h("span", { key: '023a98551ba8d1b848665506fdad5282338a2d2e' }, "Date Range"), index$1.h("smoothly-input-clear", { key: '078a1ca386a3f814286b35fc0579573b8e4d64c3', slot: "end" })), index$1.h("div", { key: '32733c0b81a14c8a982c1607d5635d807894b2ae', class: "height" }))));
|
|
7187
|
+
return (index$1.h(index$1.Host, { key: '2e355c9aa093b8466d23357c9aae6d88011170be' }, index$1.h("div", { key: 'b212cbda84e5965666cce503713c85baaa045d32', class: "description" }, index$1.h("h2", { key: '21f4edf40038c44f1b745a0f0ae5c15a4d909ee6' }, "Input Standard"), index$1.h("p", { key: '3f4cf3c1e07effe5cb728f54311cf92f438eecf5' }, "Height of input should be ", index$1.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."), index$1.h("smoothly-form", { key: '6c3be1205cf4699ae45248278c21a217f5d35e9c', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index$1.h("smoothly-input-select", { key: 'c76494d9a20e705a7a9350f621104aec46b0e857', name: "color" }, index$1.h("span", { key: 'c1ccb2f1c17b46e976fadd5331f07c4d7a699791', slot: "label" }, "Color"), Scrollable.Color.values.map(c => (index$1.h("smoothly-item", { value: c }, index$1.h("span", { color: c }, c)))), index$1.h("smoothly-input-clear", { key: 'dbaa782144733cdcbec4d5257e21b0a4f170e5e5', slot: "end" })), index$1.h("smoothly-input-select", { key: '28b28e354ac6fc5637ecf14acccfe30bfef11ff6', name: "looks" }, index$1.h("span", { key: 'f1452804684f0a76d78542a9cb64928a478f03ec', slot: "label" }, "Looks"), Looks.values.map(l => (index$1.h("smoothly-item", { value: l }, l)))), index$1.h("smoothly-input-range", { key: '3ca928155a582e8b5ab68ebdc2de073c390b58ed', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), index$1.h("smoothly-input-checkbox", { key: '99e0f80359bb1d1813b4445fc642aeff881d0d12', name: "readonly" }, "Readonly"), index$1.h("smoothly-input-checkbox", { key: 'fb4e997a1751c7a05fb97d40ae5e151ad62e7a53', name: "disabled" }, "Disabled"), index$1.h("smoothly-input-checkbox", { key: '78a9cf0fe349660d1f6869a4051051006b0f13ac', name: "invalid" }, "Invalid"), index$1.h("smoothly-input", { key: '01b1d2c7089b8d24d40de9799f6296d8e2e1c34a', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), index$1.h("smoothly-input-checkbox", { key: '3a8c24b67d02e7e040ea452bcb74dfcf8176eb6c', name: "showLabel", checked: true }, "Show Label"), index$1.h("smoothly-input", { key: '143f2e8974ac80899bcac6c582cfe071c370b491', name: "placeholder" }, "Placeholder"), index$1.h("smoothly-input-checkbox", { key: 'd16643507059700194c9b5b5d402d83d68ac7d42', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), index$1.h("div", { key: '5c3a8ad043a7d87f872343009acf3b09c9c61b40', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index$1.h("div", { key: '2f5cde81d501ffd5c2bce64e1b54586f489cd11f', class: "width" }, "width: 100%"), index$1.h("div", { key: 'a055e7019d888ca2c12161581c2c77a35fa247ba', class: "left-padding" }, "padding-left: 0.5rem"), index$1.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 && index$1.h("span", { key: '5983ef639593b4f877b77b99d58f08d9fd47b98d' }, "Text"), index$1.h("smoothly-input-clear", { key: '252b68a3efdc6b70a0532eacb18cbcd137b207b3', slot: "end" })), index$1.h("div", { key: '37c4139e98071dec4901519ba10a075219e270bf', class: "height" }), index$1.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 && index$1.h("label", { key: '2229eee3d5a4cab69d203a4f3b8f313693d1852c', slot: "label" }, "Select"), index$1.h("smoothly-item", { key: 'bfb7e1e1302677b556256f5c871eaabf83a1a22d', value: "1" }, "January"), index$1.h("smoothly-item", { key: '37b4e1404f0d93c3cfec6ae778a009cccc481f37', value: "2" }, "February"), index$1.h("smoothly-item", { key: '7804e2f534c4cd279e5f29e212bc8b3f07d3be9e', value: "3" }, "March"), index$1.h("smoothly-item", { key: '7de014b6870276d1afbc3f8b4780dd789b42501e', value: "4" }, "April"), index$1.h("smoothly-item", { key: 'e30eac74368b6ae4eaf58f371c8bdd0d030c76c1', value: "5" }, "May"), index$1.h("smoothly-item", { key: '90e999da893c3c3d6c9aea57d500808fac2f64d4', value: "6" }, "June"), index$1.h("smoothly-item", { key: '0c3ae02ce9a1c9ab4fca7c06fd3809ee8067bce5', value: "7" }, "July"), index$1.h("smoothly-item", { key: '689c71f20be3bc6fb057445c5ceaa60718f05603', value: "8" }, "August"), index$1.h("smoothly-item", { key: 'b1443376f5fa483d15873c9232290f6b6e270f1c', value: "9" }, "September"), index$1.h("smoothly-item", { key: '5055f6a2b1e136f911f32bc053d35c1931faaf02', value: "10" }, "October"), index$1.h("smoothly-item", { key: '512f871512f7bdd02462b286f724b66b7a845c48', value: "11" }, "November"), index$1.h("smoothly-item", { key: '4b6c5608cd060744cdd798803e67f2188ada562f', value: "12" }, "December"), index$1.h("smoothly-input-clear", { key: '7fd619f654ad16a0048a12793092d214bb87a7dc', slot: "end" })), index$1.h("div", { key: 'ab13b70b196dbc83d694145abd870bee5d121be1', class: "height" }), index$1.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", index$1.h("smoothly-input-reset", { key: 'df9db551b674bb4df52b7c84bafbf25adab266fa', slot: "end" })), index$1.h("div", { key: 'bb29d6b57fdf27d523c4690ce4903187590c5b18', class: "height" }), index$1.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 && index$1.h("label", { key: 'd0646e2ca2ddd5ec6d7b6cdcddace55e907f4f59', slot: "label" }, "Radio"), index$1.h("smoothly-input-radio-item", { key: '5f2dd2ecb3289f99f82367cc0ab4c14b578ca0a3', value: "first" }, "Label 1"), index$1.h("smoothly-input-radio-item", { key: '5abdb6fb7897c18e088c85ec08313769e744583c', selected: true, value: "second" }, "Label 2"), index$1.h("smoothly-input-radio-item", { key: '2bba28393706691b0973bd9f92836bd28c890b07', value: "third" }, "Label 3"), index$1.h("smoothly-input-clear", { key: '5853dbcda5ed68ce1401245bba244f19a248ccbe', slot: "end" })), index$1.h("div", { key: '7b1fc6de01785728d758ea07c55c3f2ff47415c8', class: "height" }), index$1.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 && index$1.h("span", { key: '43d11a34c076520aed899bceb035c829836fd725', slot: "label" }, "File"), index$1.h("smoothly-input-clear", { key: '106b3c31ae10b64bdc4bc309a3512d58e929f4e2', slot: "end" })), index$1.h("div", { key: 'd13c20742bb1e088160b7cc59efb5f75dbfa4eaf', class: "height" }), index$1.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 }, index$1.h("smoothly-input-clear", { key: '27e6247aa7c628859ebab11d8da32cf8be3dfd03', slot: "end" })), index$1.h("div", { key: 'ae21676a75148c438d070bf932e96b09f2237325', class: "height" }), index$1.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 && index$1.h("span", { key: 'eaadb8d6f5fa9f6143f2d2549e1b7901e32b2bef' }, "Color"), index$1.h("smoothly-input-clear", { key: 'f396f11146e3fb840e559086cf45ec745fe9dad8', slot: "end" })), index$1.h("div", { key: '60c4fcb685302ae33a5ff3f700b1b3c0010fd316', class: "height" }), index$1.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 && index$1.h("span", { key: 'f2502eeec674553779739ba3bf9d6beaa55566a2' }, "Date"), index$1.h("smoothly-input-clear", { key: 'f36a9a9403e5aa756a5c1a955cc526b2b349aeb3', slot: "end" })), index$1.h("div", { key: 'd0a81dd6a18ae37f0c55e7aa448d4323197b4e40', class: "height" }), index$1.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", index$1.h("smoothly-input-clear", { key: '8e392cdd2f0c92a9aca8f1e468c236065fd3c2b0', slot: "end" })), index$1.h("div", { key: '76f81fc46a552dd4ebe1b15b888b85e0faabf5bb', class: "height" }), index$1.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 && index$1.h("span", { key: '676c2f53a26198524881f0221c73e6b654bb13dc' }, "Date Range"), index$1.h("smoothly-input-clear", { key: '1e4740db4bf043f74cfafa1e7e91312878b71b86', slot: "end" })), index$1.h("div", { key: 'db0449b44b24dd20fccdb99329b876d938d5f68c', class: "height" }))));
|
|
7188
7188
|
}
|
|
7189
7189
|
get element() { return index$1.getElement(this); }
|
|
7190
7190
|
};
|
|
@@ -7203,11 +7203,11 @@ const SmoothlyInputDemoUserInput = class {
|
|
|
7203
7203
|
}
|
|
7204
7204
|
render() {
|
|
7205
7205
|
var _a, _b;
|
|
7206
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7206
|
+
return (index$1.h(index$1.Host, { key: '3707001c9bf5406f3770f566924f8983d4444e18' }, index$1.h("div", { key: '6970bb763108f56a34284bb1f3cb73545f2dba2c' }, index$1.h("h2", { key: 'e5f96a2b6c360e8f9a81dd90d148822758719850' }, "User Input Event"), index$1.h("p", { key: 'e1fb246660c29ddb2791f4dc6f9779ed5f1c18a7' }, "These inputs demonstrate how user input is handled. The ", index$1.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).", index$1.h("br", { key: '15459234d2bf75b83479ff0786a20d2433e2dec3' }), "Check the console to see the details of each ", index$1.h("code", { key: 'bc857f9996667580c4ba88a74eca429fbc0d9c83' }, "smoothlyUserInput"), " event.")), index$1.h("smoothly-button", { key: '66a1190b2266b0650ba087572545780f93d86ac0', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), index$1.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"), index$1.h("smoothly-button", { key: '74fe6cc20fa495f2d6c79d13bb016bc76cada1bc', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), index$1.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) }, index$1.h("span", { key: '507fcecb4e27938be38144991221dfe3603c0667', slot: "label" }, "Select input"), this.values.map((value, index) => (index$1.h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), index$1.h("smoothly-button", { key: '883f987123234566bdfd192ebd71605b078434ab', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), index$1.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"), index$1.h("smoothly-button", { key: '39dfbc581f8468c49969d5186c9a39304c8b805c', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), index$1.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) }, index$1.h("span", { key: '30b7f2d96d68bbeef6578e5c3fa07d5c56e8131e', slot: "label" }, "Radio input"), this.values.map((value, index) => (index$1.h("smoothly-input-radio-item", { value: value, selected: index == this.radioIndex }, value)))), index$1.h("smoothly-button", { key: '7d1e0c7d7175bae2453a2392e47a84e21faaa4ea', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), index$1.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) }), index$1.h("smoothly-button", { key: '2161ee4b978c2c37049cfc3d1bfd6ea5de6e16ea', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), index$1.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"), index$1.h("smoothly-button", { key: '5d21c601bdd2b921e6d6cd6596e871fe0ce0d486', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? index.isoly.Date.next(this.dateValue) : index.isoly.Date.now()) }, "Next day"), index$1.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"), index$1.h("smoothly-button", { key: '50ee6d7e90187eca79dea958e43fe4d38bb4e544', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
|
|
7207
7207
|
? index.isoly.DateTime.nextDay(this.datetimeValue)
|
|
7208
|
-
: index.isoly.DateTime.now()) }, "Next date time"), index$1.h("smoothly-input-date-time", { key: '
|
|
7208
|
+
: index.isoly.DateTime.now()) }, "Next date time"), index$1.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"), index$1.h("smoothly-button", { key: '9172cca5a258985cda5f244d38d56b692ea75e00', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
|
|
7209
7209
|
? { start: index.isoly.Date.next(this.dateRangeValue.start), end: index.isoly.Date.next(this.dateRangeValue.end) }
|
|
7210
|
-
: { start: index.isoly.Date.now(), end: index.isoly.Date.next(index.isoly.Date.now(), 10) }) }, "Next date range"), index$1.h("smoothly-input-date-range", { key: '
|
|
7210
|
+
: { start: index.isoly.Date.now(), end: index.isoly.Date.next(index.isoly.Date.now(), 10) }) }, "Next date range"), index$1.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")));
|
|
7211
7211
|
}
|
|
7212
7212
|
};
|
|
7213
7213
|
SmoothlyInputDemoUserInput.style = styleCss$L();
|
|
@@ -7240,7 +7240,7 @@ const SmoothlyInputEdit = class {
|
|
|
7240
7240
|
}
|
|
7241
7241
|
render() {
|
|
7242
7242
|
var _a;
|
|
7243
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7243
|
+
return (index$1.h(index$1.Host, { key: '9a5ec7132b415604c425c43a2ac7c460c6ca784b', title: this.tooltip }, index$1.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) }, index$1.h("slot", { key: '73063df194c9194a5d06dc2c1d0fee8d03d0cdfa' }), index$1.h("smoothly-icon", { key: '39b4f6d6a588feeedfd6610777e323dc0da34f32', class: "default", name: "create-outline", size: "tiny" }))));
|
|
7244
7244
|
}
|
|
7245
7245
|
};
|
|
7246
7246
|
SmoothlyInputEdit.style = styleCss$K();
|
|
@@ -7356,7 +7356,7 @@ const SmoothlyInputFile = class {
|
|
|
7356
7356
|
}
|
|
7357
7357
|
render() {
|
|
7358
7358
|
var _a, _b, _c;
|
|
7359
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7359
|
+
return (index$1.h(index$1.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) }, index$1.h("label", { key: 'f86995572138b5b55929705c4aa61bb3b3c8a1d1' }, index$1.h("slot", { key: '52a4f69b13363d0a1fce31f90606ff4d21208121', name: "label" })), index$1.h("div", { key: 'c54b40386b0d0efba68b056be954938879ed7df9', class: "input" }, index$1.h("smoothly-button", { key: '9e410cfb7cb0fc2b978f4f74256a753c43491f17', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, index$1.h("slot", { key: '41b301b936471d3c57001a1dbd44ca8372624c3a', name: "button" })), index$1.h("span", { key: '619c56a1f7e01df014208f2b4372db8a3da3daeb' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index$1.h("div", { key: '22bc6bb85102cb5863ed88a7d6cbd51fd931c646', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, index$1.h("smoothly-icon", { key: '6614887b4520638121de556ee1b22cbb7da6ed7f', name: "document-attach-outline" })), index$1.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) })), index$1.h("span", { key: '0d1d1835e479070204bc72f083a6747d05387c82', onClick: (e) => e.stopPropagation() }, index$1.h("slot", { key: '7df7be0bc7f23c18e349bf5bba640a6cfa83813d', name: "end" }))));
|
|
7360
7360
|
}
|
|
7361
7361
|
get element() { return index$1.getElement(this); }
|
|
7362
7362
|
static get watchers() { return {
|
|
@@ -7482,21 +7482,21 @@ const SmoothlyInputMonth = class {
|
|
|
7482
7482
|
}
|
|
7483
7483
|
render() {
|
|
7484
7484
|
var _a, _b;
|
|
7485
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7485
|
+
return (index$1.h(index$1.Host, { key: '0916e28b908af47e518baff4c2953a15c4e5b93e' }, index$1.h("smoothly-icon", { key: 'fd4d9e582a0feb692b8fc4455e0fef445326d929', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
7486
7486
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
7487
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index$1.h("smoothly-input-select", { key: '
|
|
7487
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index$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 => {
|
|
7488
7488
|
const month = e.detail.value;
|
|
7489
7489
|
if (month && index.isoly.Date.is(month)) {
|
|
7490
7490
|
const value = index.isoly.Date.firstOfMonth(month);
|
|
7491
7491
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
7492
7492
|
}
|
|
7493
|
-
}, searchDisabled: true }, index$1.h("div", { key: '
|
|
7493
|
+
}, searchDisabled: true }, index$1.h("div", { key: 'e1f4f143cfef863419a68b24e887579ecf3fe9d9', slot: "label" }, index$1.h("slot", { key: '01b386aa3ec76ba077158774c26256b1c25c97ca', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : index.isoly.Date.now(), this.min, this.max).map(year => (index$1.h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), index$1.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 => {
|
|
7494
7494
|
const year = e.detail.value;
|
|
7495
7495
|
if (year && index.isoly.Date.is(year)) {
|
|
7496
7496
|
const value = index.isoly.Date.firstOfMonth(year);
|
|
7497
7497
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
7498
7498
|
}
|
|
7499
|
-
}, searchDisabled: true }, index$1.h("div", { key: '
|
|
7499
|
+
}, searchDisabled: true }, index$1.h("div", { key: '0d5bc697879c2c018331583326029b20fc7a442c', slot: "label" }, index$1.h("slot", { key: '3909a5c34b455c6ed65f6bebf7a2174e0577de2b', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : index.isoly.Date.now()).map(month => (index$1.h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), index$1.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) })));
|
|
7500
7500
|
}
|
|
7501
7501
|
get element() { return index$1.getElement(this); }
|
|
7502
7502
|
static get watchers() { return {
|
|
@@ -7529,7 +7529,7 @@ const SmoothlyInputPriceDemo = class {
|
|
|
7529
7529
|
this.currency = "USD";
|
|
7530
7530
|
}
|
|
7531
7531
|
render() {
|
|
7532
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7532
|
+
return (index$1.h(index$1.Host, { key: 'c467c7cb0bc71a80d80b0249bbdaf6b6be48af4b' }, index$1.h("h2", { key: '216b76ae5cb923903331b846f0897471ae96bd87' }, "State demo on smoothly-input"), index$1.h("p", { key: '50522fbe29c228cf83f1450dbcb32e96d37b2587' }, "This demo/test the internal state of the smoothly-input component."), index$1.h("p", { key: '5393c97d661ad1dd1fe8bbac11a2f731ad7fea77' }, "The currency of the price should update when switching between the currencies."), index$1.h("smoothly-input-radio", { key: 'f782f50671c0b67344238121e6d742df328672bc', name: "currency", onSmoothlyInput: e => (this.currency = index.isoly.Currency.is(e.detail.currency) ? e.detail.currency : undefined) }, this.currencies.map(currency => (index$1.h("smoothly-input-radio-item", { key: currency, selected: currency == this.currency, value: currency }, currency)))), index$1.h("smoothly-input", { key: '18a4f7dbfc952fcfa6db9188f8ad98c0c7f98731', type: "price", currency: this.currency }, "price")));
|
|
7533
7533
|
}
|
|
7534
7534
|
};
|
|
7535
7535
|
SmoothlyInputPriceDemo.style = styleCss$H();
|
|
@@ -7688,7 +7688,7 @@ const SmoothlyInputRadioItem = class {
|
|
|
7688
7688
|
});
|
|
7689
7689
|
}
|
|
7690
7690
|
render() {
|
|
7691
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7691
|
+
return (index$1.h(index$1.Host, { key: '6cda60049d14ae191ab196ba44e1b865b337638c', onClick: () => this.inputHandler(true) }, index$1.h("input", { key: '5e312eb0fef6fde4eeaa6f450447b0d2cd0536fe', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), index$1.h("smoothly-icon", { key: 'ac4eed680c8cb314f1b5f4a9857e6646aac6cb82', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), index$1.h("label", { key: 'c96f7fcd07b7687db703519960ae88101abb17c6' }, index$1.h("slot", { key: 'a3628941ed9b7a933c3a92908b0b5fd03d20d98e' })), index$1.h("slot", { key: 'f689489ccc1616f2715c1336979f674d64f56a9c', name: "detail" })));
|
|
7692
7692
|
}
|
|
7693
7693
|
get element() { return index$1.getElement(this); }
|
|
7694
7694
|
};
|
|
@@ -7797,18 +7797,18 @@ const SmoothlyInputRange = class {
|
|
|
7797
7797
|
}
|
|
7798
7798
|
render() {
|
|
7799
7799
|
var _a, _b, _c;
|
|
7800
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7800
|
+
return (index$1.h(index$1.Host, { key: '5156fee6f8e0d7a3a14c11bc6476424935972d46', class: {
|
|
7801
7801
|
"output-side-right": this.outputSide === "right",
|
|
7802
7802
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
7803
|
-
} }, index$1.h("slot", { key: '
|
|
7803
|
+
} }, index$1.h("slot", { key: '85ba263c778cec6970979f819a815a98088a8dae', name: "start" }), index$1.h("div", { key: 'd1e281cc39cfd5b442c298659ddad32927f83a7e' }, index$1.h("label", { key: 'fbe971c908c237c3f2497e8c5c4d858abf031be6', htmlFor: this.name }, this.label), index$1.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(),
|
|
7804
7804
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
7805
7805
|
e.stopPropagation();
|
|
7806
7806
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
7807
|
-
}, 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), index$1.h("smoothly-display", { key: '
|
|
7807
|
+
}, 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), index$1.h("smoothly-display", { key: '8d3df2b1b5899cfe814bb70754ca586af4a5de25', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index$1.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 => {
|
|
7808
7808
|
event.stopPropagation();
|
|
7809
7809
|
this.setValue(event.target.valueAsNumber);
|
|
7810
7810
|
this.smoothlyUserInput.emit({ name: this.name, value: this.value });
|
|
7811
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index$1.h("smoothly-display", { key: '
|
|
7811
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index$1.h("smoothly-display", { key: 'f0d1d8872a42854cf442f996de63ffcf584995cf', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index$1.h("slot", { key: 'e3e904b4883dbceda975cd4d74cd526b77c5d471', name: "end" })));
|
|
7812
7812
|
}
|
|
7813
7813
|
get element() { return index$1.getElement(this); }
|
|
7814
7814
|
static get watchers() { return {
|
|
@@ -7833,7 +7833,7 @@ const SmoothlyInputRangeDemo = class {
|
|
|
7833
7833
|
index$1.registerInstance(this, hostRef);
|
|
7834
7834
|
}
|
|
7835
7835
|
render() {
|
|
7836
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7836
|
+
return (index$1.h(index$1.Host, { key: 'fd572625434e3a3a511d2fdc4e39a11734eee8fb' }, index$1.h("h2", { key: '0bf7d54f8cf11e3e870d6c1152fdad2665baf305' }, "Range"), index$1.h("h3", { key: '37f05494fea8a36a05684fb0ad0aede0d27630aa' }, "Phone Number"), index$1.h("smoothly-input-range", { key: '68d94bdeb4db077a49a011c4849e99a1b33db40b', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), index$1.h("h3", { key: 'd1b81f1dae6424d685997bd8dfe02a10832a1b2a' }, "Stars out of ten"), index$1.h("smoothly-input-range", { key: 'dca3283520395117ed946a844bb46f7fc52c0212', max: 10, step: 1, label: "Stars" }), index$1.h("h3", { key: '8670432a44d93f9f7dbc315c1f0a51d9aa79100a' }, "Percent"), index$1.h("smoothly-input-range", { key: '78863ada16280bb963e15f1682aa8131667a1bd3', type: "percent", max: 1, step: 0.01, label: "Percent" }), index$1.h("h3", { key: '1b4a9ba5d75f92f1f90dc46a4710a35edd2fe2e9' }, "With icon at start and clear button"), index$1.h("smoothly-input-range", { key: '95c8798a86fc50de7ad65b67f837a71e2743c2ae', step: 1, name: "range2", label: "Select" }, index$1.h("smoothly-icon", { key: 'f44529bf690bcf4ceff1dfa1520d2cf92a456f2f', name: "checkmark-circle", slot: "start" }), index$1.h("smoothly-input-clear", { key: '27ef758b1ba28f93ae5a19cc14fb1bdbf1415c70', size: "icon", slot: "end" }))));
|
|
7837
7837
|
}
|
|
7838
7838
|
};
|
|
7839
7839
|
|
|
@@ -7880,7 +7880,7 @@ const SmoothlyInputReset = class {
|
|
|
7880
7880
|
}
|
|
7881
7881
|
render() {
|
|
7882
7882
|
var _a;
|
|
7883
|
-
return (index$1.h(index$1.Host, { key: '
|
|
7883
|
+
return (index$1.h(index$1.Host, { key: 'f69a407428454170f461cee5d8e6b8ece33f682f', title: this.tooltip }, index$1.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) }, index$1.h("slot", { key: 'ed9f01c4274c9b5b59c6cd27c2cdd62e3a7bb259' }), index$1.h("smoothly-icon", { key: '0ddd9963d333449a5d029b6c29f532ca8d2b3423', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
7884
7884
|
}
|
|
7885
7885
|
};
|
|
7886
7886
|
SmoothlyInputReset.style = styleCss$D();
|
|
@@ -8257,11 +8257,11 @@ const SmoothlyInputSelect = class {
|
|
|
8257
8257
|
}
|
|
8258
8258
|
}
|
|
8259
8259
|
render() {
|
|
8260
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8260
|
+
return (index$1.h(index$1.Host, { key: '6d9239e0bb319a543a99a7c1d5876ab8956834af', class: { "has-value": this.selected.length !== 0, open: this.open, "has-filter": this.filter !== "" }, onClick: (e) => this.onClick(e) }, index$1.h("div", { key: '1bbd7412577695182436ea90d1e9034e541ddc2a', class: "select-display", ref: element => (this.displayElement = element) }, this.placeholder), index$1.h("div", { key: '20ae505d620469c1c9c1844891b17001833583c9', class: "icons", ref: element => (this.iconsElement = element) }, index$1.h("smoothly-icon", { key: '281acc334850d4f32a2a73c289181b5aba66c955', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), index$1.h("slot", { key: 'c571161f39c874c66656f81a7aa3fcf2f3526cdb', name: "end" }), this.looks == "border" && !this.readonly && (index$1.h("smoothly-icon", { key: '555d40a6a768e0f28e427f8eade8afd35d127f00', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), index$1.h("slot", { key: '009fd9d19911fb0790d2850f9d10b867da144ed1', name: "label" }), index$1.h("div", { key: '5b7eeb9d3aefeabdf47193a367d47f314696ea2f', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, index$1.h("div", { key: '8f6e8ddc7f8b5505ee806d0a1fbf081d25feba28', class: "search" }, index$1.h("smoothly-icon", { key: 'e49ae095f2dc52ed27f8b8006cf41fa65e880d76', name: "search-outline", size: "small" }), index$1.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 : "")); } }), index$1.h("smoothly-icon", { key: '7b008955b46e1c60e5fff82faf06f2899e6cabd1', name: "backspace-outline", size: "small", onClick: () => {
|
|
8261
8261
|
var _a;
|
|
8262
8262
|
this.resetFilter();
|
|
8263
8263
|
(_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
8264
|
-
} }), this.mutable && index$1.h("smoothly-icon", { key: '
|
|
8264
|
+
} }), this.mutable && index$1.h("smoothly-icon", { key: 'c8ad6a47483f41b314cd432a55820df927feb326', name: "add", size: "small", onClick: () => this.addItem() })), index$1.h("div", { key: '7d6c90136e1d0ff45b1639d3366c312c94ffde33', class: "menu", hidden: !this.open }, index$1.h("slot", { key: 'aca107a78851a9af53747d7ee022255ceac9dc9c' }), this.addedItems))));
|
|
8265
8265
|
}
|
|
8266
8266
|
get element() { return index$1.getElement(this); }
|
|
8267
8267
|
static get watchers() { return {
|
|
@@ -8331,7 +8331,7 @@ const SmoothlyInputSubmit = class {
|
|
|
8331
8331
|
}
|
|
8332
8332
|
render() {
|
|
8333
8333
|
var _a, _b;
|
|
8334
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8334
|
+
return (index$1.h(index$1.Host, { key: '70b53b4424d3bb5c5daf2d8cedbc0ef488a35e38', title: this.tooltip }, this.delete == true ? (index$1.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() }, index$1.h("slot", null), index$1.h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (index$1.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() }, index$1.h("slot", null), this.icon && index$1.h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
8335
8335
|
}
|
|
8336
8336
|
};
|
|
8337
8337
|
SmoothlyInputSubmit.style = styleCss$B();
|
|
@@ -8377,7 +8377,7 @@ const SmoothlyItem = class {
|
|
|
8377
8377
|
: false;
|
|
8378
8378
|
}
|
|
8379
8379
|
render() {
|
|
8380
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8380
|
+
return (index$1.h(index$1.Host, { key: 'f86c77b9ed66eeca4f9521883517fea9a8ce3292', tabIndex: -1 }, index$1.h("slot", { key: '9a72363e41c726d78c213179afcebafcafa48abc' })));
|
|
8381
8381
|
}
|
|
8382
8382
|
get element() { return index$1.getElement(this); }
|
|
8383
8383
|
static get watchers() { return {
|
|
@@ -8396,9 +8396,9 @@ const SmoothlyLabel = class {
|
|
|
8396
8396
|
}
|
|
8397
8397
|
render() {
|
|
8398
8398
|
var _a;
|
|
8399
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8399
|
+
return (index$1.h(index$1.Host, { key: 'ce3bb78edc46a6edd6ceeb2d8d799835e74e889e', title: this.description, style: {
|
|
8400
8400
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
8401
|
-
} }, index$1.h("slot", { key: '
|
|
8401
|
+
} }, index$1.h("slot", { key: 'e2d3e99a943fe1a2e862e0102d87c327c9c3f1b8' })));
|
|
8402
8402
|
}
|
|
8403
8403
|
};
|
|
8404
8404
|
SmoothlyLabel.style = styleCss$z();
|
|
@@ -8415,7 +8415,7 @@ const SmoothlyLazy = class {
|
|
|
8415
8415
|
this.show = true;
|
|
8416
8416
|
}
|
|
8417
8417
|
render() {
|
|
8418
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8418
|
+
return (index$1.h(index$1.Host, { key: 'ba06250ac8a325c3b51801b09999efdbd0c552f6' }, index$1.h("slot", { key: '89e3aa0b677038bac4a999c3aba63e8f86f3e9ea', name: "before" }), index$1.h("smoothly-load-more", { key: '4d817981ffa9f3231972a3eb153339ca805c05e3', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? index$1.h(this.content, null) : this.content), index$1.h("slot", { key: '55ab66fb5706d1bb40350a5b545b97ddb5787eab' })));
|
|
8419
8419
|
}
|
|
8420
8420
|
};
|
|
8421
8421
|
SmoothlyLazy.style = styleCss$y();
|
|
@@ -8459,7 +8459,7 @@ const LoadMore = class {
|
|
|
8459
8459
|
}
|
|
8460
8460
|
}
|
|
8461
8461
|
render() {
|
|
8462
|
-
return index$1.h(index$1.Host, { key: '
|
|
8462
|
+
return index$1.h(index$1.Host, { key: 'c53981c4ea71c41217b4a4262c971dab45a84fe9' });
|
|
8463
8463
|
}
|
|
8464
8464
|
get element() { return index$1.getElement(this); }
|
|
8465
8465
|
};
|
|
@@ -8484,9 +8484,9 @@ const SmoothlyModal = class {
|
|
|
8484
8484
|
this.open = true;
|
|
8485
8485
|
}
|
|
8486
8486
|
render() {
|
|
8487
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8487
|
+
return (index$1.h(index$1.Host, { key: 'c8517f814256addf886be09be0058a8c15b73c14', role: "alertdialog", onClick: (e) => {
|
|
8488
8488
|
this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
|
|
8489
|
-
} }, index$1.h("div", { key: '
|
|
8489
|
+
} }, index$1.h("div", { key: '665feff20545ab424191b52e7cba17414d6d79c9', class: "modal" }, index$1.h("div", { key: '1a459e840e395cc03825883b8305c070929dfc34', class: "header" }, index$1.h("slot", { key: 'b89490cc7029d45456126502db3985fcfdd99fd9', name: "header" }), this.closable && index$1.h("smoothly-icon", { key: '83559c6915c83f2f2fdc0ac3e173e55845b7b4f3', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), index$1.h("slot", { key: '4f069fcb1506d9fbdcaba2c657c7af533dec9bae' }), index$1.h("div", { key: 'df07bf9b97164aa24c8a7c41440494372f2ae9e0', class: "actions" }, index$1.h("slot", { key: '78a5774d274306aef00dc5a6cb91bf0027b84543', name: "actions" })))));
|
|
8490
8490
|
}
|
|
8491
8491
|
static get watchers() { return {
|
|
8492
8492
|
"open": [{
|
|
@@ -8551,7 +8551,7 @@ const Notification = class {
|
|
|
8551
8551
|
this.onUpdatedNotice(this.notice);
|
|
8552
8552
|
}
|
|
8553
8553
|
render() {
|
|
8554
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8554
|
+
return (index$1.h(index$1.Host, { key: '73f1ac93fe920e40d0045cf9ae2c756ffe451d66', color: this.properties[0], fill: "solid" }, this.closable && (index$1.h("smoothly-trigger", { key: 'c044dec06d857487dbdb8a17d20c6d07c6b7e370', fill: "clear", name: "close" }, index$1.h("smoothly-icon", { key: 'd33fb56efc3ff17f1ba41c16ffd4ed214b98bc57', name: "close-circle-outline" }))), index$1.h("span", { key: 'd2554c0a86856c3f8f760d8e71f9761b619ddf41', class: this.icon ? "icon" : "clean" }, this.icon && index$1.h("smoothly-icon", { key: 'f4466028e87356a50f0cdb08ba23dbd1d65d5689', name: this.properties[1] }), index$1.h("p", { key: '6de62c145781c1127b7ea762a371f7a142bc324f' }, this.notice.message))));
|
|
8555
8555
|
}
|
|
8556
8556
|
static get watchers() { return {
|
|
8557
8557
|
"notice": [{
|
|
@@ -8576,11 +8576,24 @@ const Notifier = class {
|
|
|
8576
8576
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
8577
8577
|
}
|
|
8578
8578
|
render() {
|
|
8579
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8579
|
+
return (index$1.h(index$1.Host, { key: '4e003f931f925f8b9b7bf025a30ed5637d1883f6' }, index$1.h("slot", { key: '24474dce23d51652d402faf096be33cbd2356a53' }), index$1.h("div", { key: '23d8511a4e84d13e2e19a623ebadcc7957881221', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (index$1.h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
8580
8580
|
}
|
|
8581
8581
|
};
|
|
8582
8582
|
Notifier.style = styleCss$v();
|
|
8583
8583
|
|
|
8584
|
+
const SmoothlyNotifierDemo = class {
|
|
8585
|
+
constructor(hostRef) {
|
|
8586
|
+
index$1.registerInstance(this, hostRef);
|
|
8587
|
+
this.notice = index$1.createEvent(this, "notice");
|
|
8588
|
+
}
|
|
8589
|
+
task(succeed, ms = 2000) {
|
|
8590
|
+
return () => new Promise(resolve => window.setTimeout(() => resolve(succeed ? [true, "Task completed."] : [false, "Task failed."]), ms));
|
|
8591
|
+
}
|
|
8592
|
+
render() {
|
|
8593
|
+
return (index$1.h("main", { key: 'e3d338d08a8155c994f121e190583b1492631049' }, index$1.h("fieldset", { key: '3d775b4ed5229982b2dbe2175a80223ccda92106' }, index$1.h("h2", { key: '0a351b1923d27a7bf576c2fbb43cd5368ce6442d' }, "Immediate"), index$1.h("p", { key: 'bff747d88b7d561ec2a60a65b76ee0c1bc49ad39' }, "Fires right away and closes after the default 15 seconds."), index$1.h("smoothly-button", { key: '1b8830e040cd6530425d3d66b5c78a7ed4e80357', color: "success", fill: "solid", onClick: () => this.notice.emit(Notice.Notice.succeeded("Payment processed successfully.")) }, "Success"), index$1.h("smoothly-button", { key: '3ad3baf9b33d67c27fdd0cff8585f7b6eeed8807', color: "danger", fill: "solid", onClick: () => this.notice.emit(Notice.Notice.failed("Payment could not be processed.")) }, "Failed"), index$1.h("smoothly-button", { key: '2c90a3b3742edac4c4afcee809048e65375ec705', color: "warning", fill: "solid", onClick: () => this.notice.emit(Notice.Notice.warn("Balance is running low.")) }, "Warning")), index$1.h("fieldset", { key: 'e9740e78990b6beefb77c16663e96d627b619b7b' }, index$1.h("h2", { key: '9668a13f88db3b43b20e84d64339e46c0b876f9a' }, "Task"), index$1.h("p", { key: '9625eaf81bd2a90ca74094f5a6ba4a23e8605853' }, "Shows an executing spinner while the task runs, then transitions to success or failure."), index$1.h("smoothly-button", { key: 'e99ab12076adc90e2097c7586e4f6d2377ba592c', color: "success", fill: "outline", onClick: () => this.notice.emit(Notice.Notice.execute("Processing payment…", this.task(true))) }, "Execute (succeeds after 2s)"), index$1.h("smoothly-button", { key: 'c37c6803dcc33ebb1789e981ec9bbd4453df2944', color: "danger", fill: "outline", onClick: () => this.notice.emit(Notice.Notice.execute("Processing payment…", this.task(false))) }, "Execute (fails after 2s)"), index$1.h("smoothly-button", { key: 'e37ff795ca11e50e80bac180c0b9fae40e8ec587', color: "medium", fill: "solid", onClick: () => this.notice.emit(Notice.Notice.delay("Payment scheduled…", this.task(true))) }, "Delay (waits 5s, then executes)")), index$1.h("fieldset", { key: 'af63d14a88d1cd79fb022d5efbd9f5a42adf191b' }, index$1.h("h2", { key: '2fe03dc548758db94a03948f0595a296e145a0e5' }, "Custom lifetime"), index$1.h("p", { key: '6aead78b7f995d63d29f75d8a164aaf2188111bd' }, "Controls how long the notice stays visible after resolving."), index$1.h("smoothly-button", { key: 'f480806e042ba24075c030c7a767a1fb4a65de22', color: "success", fill: "solid", onClick: () => this.notice.emit(Notice.Notice.succeeded("Gone in 3 seconds.", 3000)) }, "Success (3s)"), index$1.h("smoothly-button", { key: 'bd377ef80546a629a08919899fff0e4c57ad24b3', color: "warning", fill: "solid", onClick: () => this.notice.emit(Notice.Notice.warn("Sticks around for 30 seconds.", 30000)) }, "Warning (30s)"))));
|
|
8594
|
+
}
|
|
8595
|
+
};
|
|
8596
|
+
|
|
8584
8597
|
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)}}`;
|
|
8585
8598
|
|
|
8586
8599
|
const SmoothlySpinner = class {
|
|
@@ -8590,9 +8603,9 @@ const SmoothlySpinner = class {
|
|
|
8590
8603
|
}
|
|
8591
8604
|
render() {
|
|
8592
8605
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
8593
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8606
|
+
return (index$1.h(index$1.Host, { key: 'ecb6e441b9ff2e197c2b600e2c5b2d51cd95ee89', style: {
|
|
8594
8607
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
8595
|
-
} }, index$1.h("svg", { key: '
|
|
8608
|
+
} }, index$1.h("svg", { key: '5e6288163ac9a0fe615a91e8431fb78a966630ea', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, index$1.h("circle", { key: '7ad5566138f4d87e15be7bc0d4777e80cc6c1f83', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
8596
8609
|
}
|
|
8597
8610
|
};
|
|
8598
8611
|
SmoothlySpinner.style = styleCss$u();
|
|
@@ -8612,7 +8625,7 @@ const SmoothlySummary = class {
|
|
|
8612
8625
|
}
|
|
8613
8626
|
}
|
|
8614
8627
|
render() {
|
|
8615
|
-
return (index$1.h("details", { key: '
|
|
8628
|
+
return (index$1.h("details", { key: 'e033a7d2dadc508342c0e35b8b50502452c285f5', onToggle: e => this.toggleHandler(e), open: this.open }, index$1.h("summary", { key: '2081c1c5e3c154fa26e4333f519f56232895ee74' }, index$1.h("smoothly-icon", { key: 'e8c587d8d364e72e1dd1e2958db8f784343a8508', name: "caret-forward", fill: "solid", size: "tiny" }), index$1.h("slot", { key: '158befa55709d084049bec16c29d2bef2a2884e0', name: "summary" })), index$1.h("slot", { key: 'fff93c13da720ef9e0905ac698bba0baf9dd9c20', name: "content" })));
|
|
8616
8629
|
}
|
|
8617
8630
|
};
|
|
8618
8631
|
SmoothlySummary.style = styleCss$t();
|
|
@@ -8657,7 +8670,7 @@ const SmoothlyTab = class {
|
|
|
8657
8670
|
}
|
|
8658
8671
|
}
|
|
8659
8672
|
render() {
|
|
8660
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8673
|
+
return (index$1.h(index$1.Host, { key: 'ae035e66fbacdf7ce232ec1be2d73b2573bea978' }, index$1.h("div", { key: '8b16f293f91934e88ac5d41a837f83506ea50737', onClick: () => !this.disabled && (this.open = true) }, index$1.h("label", { key: '3d2d6e324ad8bcfe438e5ed9000271c04840f3ea', "data-smoothly-tooltip": this.tooltip }, this.label)), index$1.h("div", { key: '3b041ece9f6bd5931bef85b1b3d8f50ea1200e1e', hidden: !this.open }, index$1.h("slot", { key: '157b5ecc4ace4e1318629b12a34d9e7b52d20af4' }))));
|
|
8661
8674
|
}
|
|
8662
8675
|
get element() { return index$1.getElement(this); }
|
|
8663
8676
|
static get watchers() { return {
|
|
@@ -8682,7 +8695,7 @@ const SmoothlyTable = class {
|
|
|
8682
8695
|
event.stopPropagation();
|
|
8683
8696
|
}
|
|
8684
8697
|
render() {
|
|
8685
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8698
|
+
return (index$1.h(index$1.Host, { key: 'f875112f3c3c917be64b0874106e35a318b3ded5', style: { "--columns": this.columns.toString() } }, index$1.h("slot", { key: 'f84673ca127c951381152b7e5b70b3d0d16f584a' })));
|
|
8686
8699
|
}
|
|
8687
8700
|
};
|
|
8688
8701
|
SmoothlyTable.style = styleCss$r();
|
|
@@ -8694,7 +8707,7 @@ const SmoothlyTableBody = class {
|
|
|
8694
8707
|
index$1.registerInstance(this, hostRef);
|
|
8695
8708
|
}
|
|
8696
8709
|
render() {
|
|
8697
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8710
|
+
return (index$1.h(index$1.Host, { key: '1f19a1c0da7b296ea394daa0bc91ac499424ad0e' }, index$1.h("slot", { key: 'acd72cd22a3d49c02de514f5f9818d16ff913897' })));
|
|
8698
8711
|
}
|
|
8699
8712
|
};
|
|
8700
8713
|
SmoothlyTableBody.style = styleCss$q();
|
|
@@ -8708,7 +8721,7 @@ const SmoothlyTableCell = class {
|
|
|
8708
8721
|
}
|
|
8709
8722
|
render() {
|
|
8710
8723
|
var _a;
|
|
8711
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8724
|
+
return (index$1.h(index$1.Host, { key: '71cd9be174ec7961ae0b338fd5775a0f8b41264c', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, index$1.h("slot", { key: '9cbca72183db11968f3a6630bd1a226830754bd7' })));
|
|
8712
8725
|
}
|
|
8713
8726
|
};
|
|
8714
8727
|
SmoothlyTableCell.style = styleCss$p();
|
|
@@ -8720,7 +8733,7 @@ const SmoothlyTableDemo = class {
|
|
|
8720
8733
|
index$1.registerInstance(this, hostRef);
|
|
8721
8734
|
}
|
|
8722
8735
|
render() {
|
|
8723
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8736
|
+
return (index$1.h(index$1.Host, { key: 'ce870c3cb75e3021ae6df094be0beb4e15a4fa96' }, index$1.h("smoothly-table-demo-filler-row", { key: '8454629cbaca209d691c20e2cadb2084fb813d0c' }), index$1.h("smoothly-table-demo-group", { key: '4a39a52dd85a7820ff9144684ced5a9c39e68b9a' }), index$1.h("smoothly-table-demo-colspan", { key: '69466e2c64c235167f3f48ce792a883ccb0c4304' }), index$1.h("smoothly-table-demo-simple", { key: '7185d7dfafc506488c5d8de8eeb2d1f0771712af' }), index$1.h("smoothly-table-demo-nested-no-cell", { key: '30e67b1983df629081c1c4e7cbf4787817ce2bbb' })));
|
|
8724
8737
|
}
|
|
8725
8738
|
};
|
|
8726
8739
|
SmoothlyTableDemo.style = styleCss$o();
|
|
@@ -8732,7 +8745,7 @@ const SmoothlyTableDemoColspan = class {
|
|
|
8732
8745
|
index$1.registerInstance(this, hostRef);
|
|
8733
8746
|
}
|
|
8734
8747
|
render() {
|
|
8735
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8748
|
+
return (index$1.h(index$1.Host, { key: '0c48cda90a42886342351b0a4f4b0ddcdbba84e1' }, index$1.h("smoothly-table", { key: '6ddf793f667d275b6e3969331d06c1d2f5e4c491', columns: 3 }, index$1.h("smoothly-table-head", { key: '425732dcb06bbc7dd1c5b46689fcb9a5d1f8aae0' }, index$1.h("smoothly-table-row", { key: '698dbdfbabfb904df19d92aaef652fc57b4371ad' }, index$1.h("smoothly-table-cell", { key: '162b14024e5d5c1993c2c5120f014bd65dc452b8' }, "Date"), index$1.h("smoothly-table-cell", { key: '7c8dfddd08a7a241ba4921d48c231e154e8ce2f7' }, "Skip"), index$1.h("smoothly-table-cell", { key: '90c02f35f7233314a0478fdef7fe7e8d59ee6307' }, "Total"))), index$1.h("smoothly-table-body", { key: 'ee7c05917d77a73653f262da586d358a6c2d8c5f' }, index$1.h("smoothly-table-row", { key: 'fb8ea7dbe4c82f92258d4c531f88bf9192a121a7' }, index$1.h("smoothly-table-cell", { key: '8c4f6a68055a38eafbbedde78acdec47610c3a45', span: 2 }, index$1.h("smoothly-display", { key: '914cbd4c7716cb44df1fb2c9f30e864733398627', type: "date", value: "2024-01-01" })), index$1.h("smoothly-table-cell", { key: '28379684e4c04c36261cece4276bd0599bca8201' }, index$1.h("smoothly-display", { key: '454f88e0c8f6236864d5507677e87c4129940fd6', type: "price", value: 120, currency: "EUR" }))), index$1.h("smoothly-table-row", { key: '484339508d40ad812eb7edd24efa06ed18739b39' }, index$1.h("smoothly-table-expandable-cell", { key: '885b10db54f9fb0051f0ac8d878dbd4a5413d698', span: 2 }, index$1.h("smoothly-display", { key: '27a9840c4c283269809fef636b95e7dc46d18586', type: "date", value: "2024-01-02" }), index$1.h("smoothly-lazy", { key: '031f1ee60536b3b633c7638aed6e0d1d6a013ba8', slot: "detail", content: index$1.h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), index$1.h("smoothly-table-expandable-cell", { key: 'c1e0fc733a48eb0e5bf50d0ff70494e0f293b34e' }, index$1.h("smoothly-display", { key: 'fe0202769ab5932ed8257867802e297707efdb78', type: "price", value: 220, currency: "EUR" }), index$1.h("smoothly-lazy", { key: 'e170de6a7c33e6ce938e2a5240a33397a9d15d21', slot: "detail", content: index$1.h("span", null, index$1.h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", index$1.h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), index$1.h("smoothly-table-row", { key: 'e06c96d7d22adc11c20140b67b877b69c0b95737' }, index$1.h("smoothly-table-cell", { key: '6a6a0d756b16ccc002934e7aea89165959748518' }, index$1.h("smoothly-display", { key: '9cabf2591bbfe35af7e58f649a185b872843b365', type: "date", value: "2024-01-02" })), index$1.h("smoothly-table-cell", { key: 'bc20c5059843db6e9a61b5f600ddcbb959c544cd' }, "Not Skipped"), index$1.h("smoothly-table-cell", { key: '306e585f47e9eb496ef5a1ddbecfcc9c823adde2' }, index$1.h("smoothly-display", { key: 'b1623473097b41ebc6bf1a03eeafd4a650371b98', type: "price", value: 320, currency: "EUR" })))))));
|
|
8736
8749
|
}
|
|
8737
8750
|
};
|
|
8738
8751
|
SmoothlyTableDemoColspan.style = styleCss$n();
|
|
@@ -8750,7 +8763,7 @@ const SmoothlyTableDemoFillerRow = class {
|
|
|
8750
8763
|
}, 3000);
|
|
8751
8764
|
}
|
|
8752
8765
|
render() {
|
|
8753
|
-
return (index$1.h(index$1.Host, { key: '
|
|
8766
|
+
return (index$1.h(index$1.Host, { key: '557f61c2ccd69af2aefa39306df1aad555ff0744' }, index$1.h("smoothly-display", { key: '7ab6ad735601adb00416b7e36c0cd8815ad61ef8', type: "text", value: "Filler row" }), index$1.h("smoothly-table", { key: '5a4a96a7e7eefb555c293a59fa4549566c4e3d37', color: "primary", columns: 4 }, index$1.h("smoothly-table-head", { key: '6552d25cd1b2655207fd58a8b193125c5489e44a' }, index$1.h("smoothly-table-row", { key: '713cc7a78a8375c1559e6dd612e91012d95d94e9' }, index$1.h("smoothly-table-cell", { key: '6916664b0ccc30759af2b01eecbb0720a293e5e1' }, "Breed"), index$1.h("smoothly-table-cell", { key: '23ebe72dbbfbb68993ce024cd574a80c78fedf97' }, "Country"), index$1.h("smoothly-table-cell", { key: '56dc58c22a7fbc62a5a33d88e11e3198d76cce8b' }, "Coat"), index$1.h("smoothly-table-cell", { key: '1b17e1b9e961951228b9134a979e154650a5692f' }, "Origin"))), index$1.h("smoothly-table-body", { key: 'e9cabfd3b379487e2f47c4e292f61f219dd1a170' }, this.cats === undefined ? (index$1.h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (index$1.h("smoothly-table-filler-row", null, index$1.h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (index$1.h("smoothly-table-row", null, index$1.h("div", { class: "smoothly-table-cell" }, a.breed), index$1.h("div", { class: "smoothly-table-cell" }, a.country), index$1.h("div", { class: "smoothly-table-cell" }, a.coat), index$1.h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
|
|
8754
8767
|
}
|
|
8755
8768
|
};
|
|
8756
8769
|
SmoothlyTableDemoFillerRow.style = styleCss$m();
|
|
@@ -8762,7 +8775,7 @@ const SmoothlyTableDemoGroup = class {
|
|
|
8762
8775
|
index$1.registerInstance(this, hostRef);
|
|
8763
8776
|
}
|
|
8764
8777
|
render() {
|
|
8765
|
-
return (index$1.h(index$1.Host, { key: '13ca441187f66529344769d886b77d0c01cf0ec7' }, index$1.h("smoothly-display", { key: 'b2dbf9deacd800eb2bbcc303418a5f2ce6344399', type: "text", value: "Group" }), index$1.h("smoothly-table", { key: '8e80f2e26eda2a33c65d665d2d369b11a03f39b3', color: "primary", columns: 2 }, index$1.h("smoothly-table-head", { key: 'a80ad7e011c9432b00488a3dad6cc48d4cf56ffa' }, index$1.h("smoothly-table-row", { key: '9d15a2c5ec712913ef7195f40eae2d7cc4328b43' }, index$1.h("smoothly-table-cell", { key: '4658db6a627442459d39caf71d3053c0b0373153' }, "Date"), index$1.h("smoothly-table-cell", { key: '62640f3c5426d8b1cbb7e5309b9a5eb8ae1fd244' }, "Total"))), index$1.h("smoothly-table-body", { key: '30185fa157aeed1482eb4ed13e227e735450204f' }, index$1.h("smoothly-table-row-group", { key: '2f88c12ff6aa6b59f6545f1939c0b390ff04fb9b', align: true }, index$1.h("smoothly-display", { key: '504c5fd4776cf580054b1643d3cdf25746b0ef4d', slot: "start", type: "date", value: "2024-01-01" }), index$1.h("smoothly-display", { key: 'abb7c187f97506286cce8fdb7cf9e44024cb1eee', slot: "end", type: "price", currency: "EUR", value: 510 }), index$1.h("smoothly-table-expandable-row", { key: '4c4ee8e36cdef0fa1c7dd5e088ba27b0470b94a0' }, index$1.h("smoothly-table-cell", { key: 'e78d6d08b6b141e5d37e309697ae71a5158aa83e' }, index$1.h("smoothly-display", { key: 'd4545cbccf585edd9a753216cd7eb065794cc61d', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '2bfa64247f7bf2ccf879859f66de74904dd7438f' }, index$1.h("smoothly-display", { key: '45bc665caae3e04dd8f4a94ab96d0e5f974c1b66', type: "price", currency: "EUR", value: 250 })), index$1.h("smoothly-lazy", { key: '60b37654b01d3c248d2c7339593990e5a04fb188', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: 'e18d58866e7e132073ccd951f114780566bc19d8' }, index$1.h("smoothly-table-cell", { key: '9bce755fdb66c5a53be2a1a30b897c56cfd292e2' }, index$1.h("smoothly-display", { key: 'e93ddd23a90132c87a717651c39cd9b3e0ec76be', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '25760dc3dc0c4db717a663849b0a5b4855d0fa49' }, index$1.h("smoothly-display", { key: '6bddb16177d1b3aaba00f690e15830b4de4c560f', type: "price", currency: "EUR", value: 260 })), index$1.h("smoothly-lazy", { key: 'b270f93a5b22cc963761b4ba3fac9831948eb229', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index$1.h("smoothly-table-row", { key: '13eeb89739730d945227aff29d6ffb02405a7162' }, index$1.h("smoothly-table-cell", { key: 'f6ee0efe4aafe2b3bc46d1391addd0cdd0372643' }, index$1.h("smoothly-display", { key: 'fefcd6b25329f0acac11ce9b5f62936c250e4e13', type: "date", value: "2024-01-02" })), index$1.h("smoothly-table-cell", { key: 'ef2d0fc611d84b2380f4cb3342e9a747ca7b0571' }, index$1.h("smoothly-display", { key: '049dfb4f85369daf945b216256ced74597135572', type: "price", currency: "EUR", value: 130 }))), index$1.h("smoothly-table-row-group", { key: '0818d5289ddf639e1f41b8377eefda9a42e8a660' }, index$1.h("smoothly-display", { key: 'c313d4b6c8e1658c6a2bb9bda1b7aee77b5c4708', slot: "start", type: "date", value: "2024-01-03" }), index$1.h("smoothly-display", { key: '6e57124ffd9cb7a0737b49144fdae07c04e7ce54', slot: "end", type: "price", currency: "EUR", value: 720 }), index$1.h("smoothly-table-expandable-row", { key: '075bcd04dbac92bb2733eae3983e205c604c0897' }, index$1.h("smoothly-table-cell", { key: '2da65d488c647c5952fd2f7b496ad477c78e43a0' }, index$1.h("smoothly-display", { key: '268b41c5942180ff8cbf781c225569a464a98048', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'bf8c3e7a40c471fc22de92ff894ab5145407949c' }, index$1.h("smoothly-display", { key: 'ee271b788d3bccfec5354a4e96b0a16a9faa224d', type: "price", currency: "EUR", value: 320 })), index$1.h("smoothly-lazy", { key: '684a6831e691a9dc67f81977c39f32cb74ca4796', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: '82ca4163f480bb0f87f51d40680ee079dd615b11' }, index$1.h("smoothly-table-cell", { key: 'c7022929f9eee697165dabdf09f209f62cec9e20' }, index$1.h("smoothly-display", { key: 'f85ecb5f99a2f5f00b1d8946a33057b87691ebf2', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '71a2d8a0b8426614bc5842b27e80957bc560066b' }, index$1.h("smoothly-display", { key: '6e1fa476d41664ccd4f4475e3d78e6811181dc83', type: "price", currency: "EUR", value: 400 })), index$1.h("smoothly-lazy", { key: '3c21237b9ab3bcbad4ce8f71d590b62e92f425e4', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index$1.h("smoothly-table-row-group", { key: '89f7bd195d9558793f2806d9331a4f60127a2288' }, index$1.h("smoothly-display", { key: '9af59f5175f04af6c3c661efea33c884ef2443a4', slot: "start", type: "date", value: "2024-01-04" }), index$1.h("smoothly-table-expandable-row", { key: 'cf98a3d3738cc247ddb748eb5d62103b5f4cb898' }, index$1.h("smoothly-table-cell", { key: 'fed5bcbfedb84593f7372d686ec367176e09f203' }, index$1.h("smoothly-display", { key: 'cbaf8f631003338f43637aca9af85e05ee61acb9', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '01ca45bac88026b162678192a11a4f5dd3c068be' }, index$1.h("smoothly-display", { key: '80a57b43c7a010aab88b2d16c7fbedaeb29568ce', type: "price", currency: "EUR", value: 320 })), index$1.h("smoothly-lazy", { key: '70d2c87d6db5d93807832babed5234fb464f74f4', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: '20cb4d49bb58652118d26a85e3700303493c68c5' }, index$1.h("smoothly-table-cell", { key: '825986c6db5f37ccc73569f6f1c2228a5974165a' }, index$1.h("smoothly-display", { key: '21e131ad762de83ceb50ba3c73438b19726c38e2', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'c5ee086388bcba90b3f2f8b8e87de8b640af19ae' }, index$1.h("smoothly-display", { key: '0451e5542008991f62d5aed3be962be7ede89e92', type: "price", currency: "EUR", value: 400 })), index$1.h("smoothly-lazy", { key: 'eff29a26691c08d70aa7cacad2a199dabc06f76c', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index$1.h("smoothly-table-row-group", { key: '16aa704a00da4ee503ef5c8a66ce41cd2768d704' }, index$1.h("smoothly-display", { key: 'ebda8de8516871eaf501d00fe3c334dc229b8105', slot: "end", type: "price", currency: "EUR", value: 720 }), index$1.h("smoothly-table-expandable-row", { key: 'dc912bef3657af1eadb481ecbaa1f71e061fd3ae' }, index$1.h("smoothly-table-cell", { key: '7f3451e00998d997440f16b85fb53598778128c8' }, index$1.h("smoothly-display", { key: 'def111369e6fae7bcb7e5c6bdc3bfaaa9700b6fe', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'cf70102ed28029c2eafbfa3c14f5f42bf185b4cf' }, index$1.h("smoothly-display", { key: '567fe6aa345e74223a8332b93cc1b1b9cb288eba', type: "price", currency: "EUR", value: 320 })), index$1.h("smoothly-lazy", { key: '3ad490689fcafce374b5b02550d5e03962da7a75', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: '0cfffb40fd9119c737384bdfcf4196252e2680ed' }, index$1.h("smoothly-table-cell", { key: '17017970a2de014c63dc0c2f942e83a4ef9b322d' }, index$1.h("smoothly-display", { key: '9f6d27350e38a66bab11ce29a331ccecee9335d0', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'f1d2cc0caf106aaabb4d9262fb6f589924ded4cf' }, index$1.h("smoothly-display", { key: '1ae2025a7b69811c991c4e50acd45be7f2af4820', type: "price", currency: "EUR", value: 400 })), index$1.h("smoothly-lazy", { key: 'fd8db8bbca191d29614972042d49aabf04b00325', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index$1.h("fake-group-wrapper", { key: '7ed94c5850dca92de109a72d543e7892a4ad1f27' }, index$1.h("smoothly-table-row-group", { key: 'fd411b94eb083f25414f29ee5f0c82fe10e336b2' }, index$1.h("smoothly-display", { key: 'c1eec946da5403fe5fb367f864de25a07d37bb45', slot: "start", type: "date", value: "2024-01-06" }), index$1.h("smoothly-display", { key: 'b69b22be0181ebd04b4fb6c9934b76d41a8c92f6', slot: "end", type: "price", currency: "EUR", value: 720 }), index$1.h("fake-row-wrapper", { key: '39f7a1f520615967cc4972f7c2f2ffd6824c3fcc' }, index$1.h("smoothly-table-row", { key: 'a0edb450a28de03759ae4c2240a979f27704718b' }, index$1.h("fake-cell-wrapper", { key: '9c2c3823f9e8771e15625a0353e7031be7ab862c' }, index$1.h("smoothly-table-cell", { key: 'b47064b530ce8ee1bb66350cc2bb4ac172bfbe99' }, index$1.h("smoothly-display", { key: '23245c1af652033586ff8b001f406da931221ff7', type: "date", value: "2024-01-02" }))), index$1.h("fake-expandable-cell-wrapper", { key: 'cecaf2863e686ddd4b7b6db5bf0ba39a6f77b70b' }, index$1.h("smoothly-table-expandable-cell", { key: 'b715899e9cc80dfded13610df5224069c9eebabe' }, index$1.h("smoothly-display", { key: '3e261554b8e11c7388c5cf4057228575b87acd0e', type: "price", currency: "EUR", value: 130 }), index$1.h("smoothly-lazy", { key: '5844d701bc675abd246d2d18f7387edd9c9f7e7b', slot: "detail", content: index$1.h("span", null, index$1.h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", index$1.h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), index$1.h("fake-expandable-row-wrapper", { key: '32bce4a1c74db7b752671e090eca7216dfeda5e4' }, index$1.h("smoothly-table-expandable-row", { key: '76397c42828314da38f36ba8046227bce793f3b0' }, index$1.h("fake-cell-wrapper", { key: '4707a608abe80f2fa745d0a669dd26d327ce3fa7', class: "span-2" }, index$1.h("smoothly-table-cell", { key: 'a4b2b9dba3fe2d95439f995c04d218729f6f7c05', span: 2 }, index$1.h("smoothly-display", { key: 'd3ab93ede3071809115eb9a392b29c97ada02788', type: "date", value: "2024-01-07" }))), index$1.h("smoothly-lazy", { key: 'ab3787df579b0c266b5cc521e6c88b8976d7eeb4', slot: "detail", content: index$1.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index$1.h("smoothly-table-row-group", { key: '31e0f780af3568f236e185c33beffd1fe131f15c' }, index$1.h("smoothly-display", { key: '71f3de541c67562eed2c4138b3c487e13f45891a', slot: "start", type: "date", value: "2024-01-08" }), index$1.h("smoothly-display", { key: '56b9d221c55a67b758a529d3542819b8cc73a9d1', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
8778
|
+
return (index$1.h(index$1.Host, { key: 'c2349ac60d42721e7efdd0145bda64bf634665f9' }, index$1.h("smoothly-display", { key: '3fa0ccdbb80609b7d1213e4607a8417d654ba61e', type: "text", value: "Group" }), index$1.h("smoothly-table", { key: '031831fab9aad960876d3652e0f061bc11c6b641', color: "primary", columns: 2 }, index$1.h("smoothly-table-head", { key: '8962746018f32803f9194677e85b1cac061cbc8a' }, index$1.h("smoothly-table-row", { key: 'ce3b222b7bf572395130029a242349f1f23e3efa' }, index$1.h("smoothly-table-cell", { key: '9b487a8dd643eeb32b8636a393a21825af9e15f0' }, "Date"), index$1.h("smoothly-table-cell", { key: '9445abb441db3d0474aa0925da39f9f8cd841e96' }, "Total"))), index$1.h("smoothly-table-body", { key: 'e05046be6bcd868fedd3a998e33243d350a24fac' }, index$1.h("smoothly-table-row-group", { key: '9f9f39b99ee48b80079e4f0c7b8b5933841bc8db', align: true }, index$1.h("smoothly-display", { key: 'f5c8b076b84674dca4082025540f37fed2c1fdfb', slot: "start", type: "date", value: "2024-01-01" }), index$1.h("smoothly-display", { key: '8684e46b76affeace45688d66ce925053e8487cb', slot: "end", type: "price", currency: "EUR", value: 510 }), index$1.h("smoothly-table-expandable-row", { key: 'eafc06e33f099744334b1ab4633c4065e5c7bafb' }, index$1.h("smoothly-table-cell", { key: '163413e33f1fc87f3ee8d913b7f67aadaef23527' }, index$1.h("smoothly-display", { key: '7906a8a2a7cdbc094ea377dbbf46f46ea1aa2773', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'b7c3d34d0872a3b925cd59648818ac4f970f7665' }, index$1.h("smoothly-display", { key: '1755af70c7682d88f2a8053249f618e21ccd8dcd', type: "price", currency: "EUR", value: 250 })), index$1.h("smoothly-lazy", { key: '972b58445087486e16aa9ef60ceca24b0cdb878a', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: 'f4167f1f151a4b6a11e55c3b44b44a174e7e460a' }, index$1.h("smoothly-table-cell", { key: 'd42b86d4bbbfa2687ccb9ef5426199cfcb970454' }, index$1.h("smoothly-display", { key: '691ce08e0f570a2fe95f6274c5e5a2c594ca0e81', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'ca5ba776a4c026015fe14ffd6c0f61682fb50a0e' }, index$1.h("smoothly-display", { key: '314ca518de45211edf1b423fe2fd5e6e852e0abf', type: "price", currency: "EUR", value: 260 })), index$1.h("smoothly-lazy", { key: '3ab4074da42478f0275ad173efbbcb4ae7892132', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index$1.h("smoothly-table-row", { key: '15c7c4c80763efe785d46350dbcb9458787fa7de' }, index$1.h("smoothly-table-cell", { key: 'dc40672665de18746244848faf04db3ad9f5aeef' }, index$1.h("smoothly-display", { key: '49eb95b7c7cddc7b31919e63052773b561ec73e4', type: "date", value: "2024-01-02" })), index$1.h("smoothly-table-cell", { key: 'a06c95ad5472971a1e65334780f236ec9661730d' }, index$1.h("smoothly-display", { key: 'c7e5e70b5711a0921bc9b31a783a6c74d5052115', type: "price", currency: "EUR", value: 130 }))), index$1.h("smoothly-table-row-group", { key: '4d369fc1b9f725c6c87119f74ceacc791e7ecedd' }, index$1.h("smoothly-display", { key: '7476433911fe24ae672a06fbcd1903b30d9d4dcd', slot: "start", type: "date", value: "2024-01-03" }), index$1.h("smoothly-display", { key: '66757326ae2f2533781187b3cc539ecc630e18da', slot: "end", type: "price", currency: "EUR", value: 720 }), index$1.h("smoothly-table-expandable-row", { key: '074ed70eee56b560206f6af3c3653f866eb19b1f' }, index$1.h("smoothly-table-cell", { key: 'd42fa537b638422f059064fc81f3eca4b508adb1' }, index$1.h("smoothly-display", { key: '53555e64e4a188b56312547d00e051400db9109b', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '9a87625f1792a602a8f261b09639a2f3437e4a00' }, index$1.h("smoothly-display", { key: '48f68e9b82035798b802914d1e3676baeb45b1c6', type: "price", currency: "EUR", value: 320 })), index$1.h("smoothly-lazy", { key: 'fda86f80536a88dfc1b37122353d7728d59c3145', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: '79f5e690018349b7bbf387f42459fd0cf7bf41c9' }, index$1.h("smoothly-table-cell", { key: 'b90737c98969bac197c075f618074d0de7e49ba4' }, index$1.h("smoothly-display", { key: 'e8f3430fe190bd51b2f16613545502e080e881ec', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'b6d3f7d14324859ba247b4936b21a8730b3d48f5' }, index$1.h("smoothly-display", { key: '2a31cd875eb7275138ff31018fa00445d98636f9', type: "price", currency: "EUR", value: 400 })), index$1.h("smoothly-lazy", { key: '4fead269f59feb74e3182c5f45ceb27f75b06815', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index$1.h("smoothly-table-row-group", { key: 'f934924e769318b0cbf620e8b36dd5beb5b9289b' }, index$1.h("smoothly-display", { key: '19cd9b2be6022ee7ca06d65ea8ed7233cfc09282', slot: "start", type: "date", value: "2024-01-04" }), index$1.h("smoothly-table-expandable-row", { key: 'da7f61e549d633fcfeb11d0b6340db1ed25b2203' }, index$1.h("smoothly-table-cell", { key: 'b317a6ff13c60a5e788285295131c314dfdc5451' }, index$1.h("smoothly-display", { key: 'fdc2c7b05beb0d0a85cb132ecda0250dec82437b', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '00332f1d86bee165bfcb258a7e0a977630391c3f' }, index$1.h("smoothly-display", { key: '482fb06ef577eebb00020dc96c1f38be4a9c06f4', type: "price", currency: "EUR", value: 320 })), index$1.h("smoothly-lazy", { key: 'e0be1bdf78a509739ba6200b84eb09b1fdceafa5', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: '33394ca7530c500982772ad00fa167a28945dac7' }, index$1.h("smoothly-table-cell", { key: '9d0342b72e2e1c5c4fe165f5dd82e2bd2aea486e' }, index$1.h("smoothly-display", { key: '7067dcfee78ed06a503fda1daba6d2290e542749', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '0dc3ff01ee8aa112baadd9d9b86950be1e206863' }, index$1.h("smoothly-display", { key: 'ff66908b6e8fae1880aeb7c2e3afb2fa0459055b', type: "price", currency: "EUR", value: 400 })), index$1.h("smoothly-lazy", { key: 'd4c0cbfd9ea8e4325b8ae831e4c39e4c454a78df', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index$1.h("smoothly-table-row-group", { key: '094dcd75d983e523eec8cb86ef99dcf162e38ea9' }, index$1.h("smoothly-display", { key: '69f640137011b2a87f19869a37d4838472a0e85c', slot: "end", type: "price", currency: "EUR", value: 720 }), index$1.h("smoothly-table-expandable-row", { key: '5813f668878b19bda0ec525192f8bd114b8eea10' }, index$1.h("smoothly-table-cell", { key: 'a17328b2f0e29e25462129c21a4f7285a570d55b' }, index$1.h("smoothly-display", { key: 'a0d200bab62d2d1cd9c79d671dac3a01aa49d596', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: 'e1d33ee6f5562a526343a7b8a8a4eedd74536faa' }, index$1.h("smoothly-display", { key: 'fbee48d8fa8d7360f35e81f52953a1e50d059f66', type: "price", currency: "EUR", value: 320 })), index$1.h("smoothly-lazy", { key: '4b35e8e6b67c474be6f1921df8c035ca75e6d65e', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index$1.h("smoothly-table-expandable-row", { key: '73b7b56a1374a050d4c060481691a765993d7aa0' }, index$1.h("smoothly-table-cell", { key: 'ef757fee21011b6217509b8df104bbd551a8f083' }, index$1.h("smoothly-display", { key: 'ce28e49e2b34609b9b118c1d959b40e92da999ea', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index$1.h("smoothly-table-cell", { key: '9ab4fffdd44c403204a950bf6988c85cec2b566d' }, index$1.h("smoothly-display", { key: 'f031bf8fedf553a4a35941682c52c20a5d35945c', type: "price", currency: "EUR", value: 400 })), index$1.h("smoothly-lazy", { key: '6be1eed0b8757a4ef23b2f89d207de78a691fb2a', slot: "detail", content: index$1.h(index$1.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index$1.h("fake-group-wrapper", { key: '217e2c3da76ee12debcfdd72e8dc1a5ce366e677' }, index$1.h("smoothly-table-row-group", { key: '6b6a75487b0649e29aaa80f09ae1525fb89d0a4a' }, index$1.h("smoothly-display", { key: '595d74d25315145d10c0f90cb425080f26327171', slot: "start", type: "date", value: "2024-01-06" }), index$1.h("smoothly-display", { key: '0960bdd999050e2ef1f54affd7d9c7e37b7a105f', slot: "end", type: "price", currency: "EUR", value: 720 }), index$1.h("fake-row-wrapper", { key: '99957e7a704294b44a16785076c8039fabafe467' }, index$1.h("smoothly-table-row", { key: '094abc7dde56b47077b83d4aeee91d935673dbca' }, index$1.h("fake-cell-wrapper", { key: 'c3046f3eb7072139a86ec4c777a83e3b31342a5f' }, index$1.h("smoothly-table-cell", { key: '65e3f33d4e058906c1e705c138f64eb875372f8b' }, index$1.h("smoothly-display", { key: 'dae18d82f496305e108996e52fb4f08df46c0b4d', type: "date", value: "2024-01-02" }))), index$1.h("fake-expandable-cell-wrapper", { key: '1f797ef11066becab0585c2d707795752cc1919a' }, index$1.h("smoothly-table-expandable-cell", { key: '7162dfb6b14b854eb20ade26aa14c41ada84ee88' }, index$1.h("smoothly-display", { key: 'a0caf476fcef38d8f0f0aac87f1a8939edf8251b', type: "price", currency: "EUR", value: 130 }), index$1.h("smoothly-lazy", { key: '96639f825747c82e48a6df2f5ffcd0aa541af947', slot: "detail", content: index$1.h("span", null, index$1.h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", index$1.h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), index$1.h("fake-expandable-row-wrapper", { key: '96e1217758b98bb236eaf1e9fbf0cdbc7c97961b' }, index$1.h("smoothly-table-expandable-row", { key: 'b463b6ace09039c949856a47cae1646722de7515' }, index$1.h("fake-cell-wrapper", { key: '908e37e012b4e7264faafa8778161b0d23e65bbf', class: "span-2" }, index$1.h("smoothly-table-cell", { key: 'd08c1503351a035e6f8ef9052cc80c8bc9d002fa', span: 2 }, index$1.h("smoothly-display", { key: '391e427d5ddf9f1d2e82678ff66d9ffcc41c8a77', type: "date", value: "2024-01-07" }))), index$1.h("smoothly-lazy", { key: '0a8773a5d33603c6a42d84487c730eaf950a2540', slot: "detail", content: index$1.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index$1.h("smoothly-table-row-group", { key: 'f22475f2b9aca2131c4ff305aa4ba2e7c6e600ba' }, index$1.h("smoothly-display", { key: '956d8be67c99b3673d815101a05e91c9c6131439', slot: "start", type: "date", value: "2024-01-08" }), index$1.h("smoothly-display", { key: '0daba64dde819e327b688619e584b43bb042ef0d', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
8766
8779
|
}
|
|
8767
8780
|
};
|
|
8768
8781
|
SmoothlyTableDemoGroup.style = styleCss$l();
|
|
@@ -9708,7 +9721,7 @@ const SmoothlyTableDemoNestedNoCell = class {
|
|
|
9708
9721
|
this.loadedRows = [];
|
|
9709
9722
|
}
|
|
9710
9723
|
render() {
|
|
9711
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9724
|
+
return (index$1.h(index$1.Host, { key: '04d9aea1741a42783f48d2f496507f026e7ec592' }, index$1.h("smoothly-display", { key: 'b1ca21dc02166b03949f1e5733d199dfc98abe57', type: "text", value: "Nested" }), index$1.h("smoothly-table", { key: '8822eb9d9038e1475460993e8408a34e2c278fc5', color: "primary", columns: 8 }, index$1.h("smoothly-table-head", { key: 'fe36a6cf11d90f4a6d61b8f52b6c32725f9446bf' }, index$1.h("smoothly-table-row", { key: '480555a61bc7ab26c44b6ed481c5002e76f3d8fb' }, index$1.h("div", { key: '4a916151819146c8dfb3bde56af42cd9177404f3', class: "smoothly-table-cell" }, "Id"), index$1.h("div", { key: '4c5f4888480ac4afdc2a7ea0ea1223f019ac342f', class: "smoothly-table-cell" }, "Registered"), index$1.h("div", { key: 'fcbbba0e6600648b61a64f1c79021d8a3b6ff7a7', class: "smoothly-table-cell" }, "Name"), index$1.h("div", { key: 'b1ae7b7361472a8bc480eda7f578c2ef2ee31d01', class: "smoothly-table-cell" }, "Age"), index$1.h("div", { key: '5abc8febf53d4a1c88bf4d48c9f775854f79c9c0', class: "smoothly-table-cell" }, "Balance"), index$1.h("div", { key: '556a2cc1c4edadce3207d5d5f0669945aac0e549', class: "smoothly-table-cell" }, "EyeColor"), index$1.h("div", { key: 'c73289aaf060e3c633105d35ce31864109e6b0fb', class: "smoothly-table-cell" }, "Gender"), index$1.h("div", { key: '768db739d85a8a20408ea8d866af0006051d35f1', class: "smoothly-table-cell" }, "Company"))), index$1.h("smoothly-table-body", { key: 'cdb13c9d2feb7505eb856a172848a9e0a7c8eec5' }, data.map((entry, index) => (index$1.h("smoothly-table-expandable-row", { onSmoothlyTableExpandableRowChange: event => {
|
|
9712
9725
|
if (event.detail) {
|
|
9713
9726
|
this.loadingIndex = index;
|
|
9714
9727
|
setTimeout(() => {
|
|
@@ -9716,7 +9729,7 @@ const SmoothlyTableDemoNestedNoCell = class {
|
|
|
9716
9729
|
this.loadedRows = [...this.loadedRows, index];
|
|
9717
9730
|
}, 1500);
|
|
9718
9731
|
}
|
|
9719
|
-
} }, this.loadingIndex === index && index$1.h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (index$1.h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), index$1.h("div", { class: "smoothly-table-cell" }, entry.id), index$1.h("div", { class: "smoothly-table-cell" }, entry.registered), index$1.h("div", { class: "smoothly-table-cell" }, entry.name), index$1.h("div", { class: "smoothly-table-cell" }, entry.age), index$1.h("div", { class: "smoothly-table-cell" }, entry.balance), index$1.h("div", { class: "smoothly-table-cell" }, entry.eyeColor), index$1.h("div", { class: "smoothly-table-cell" }, entry.gender), index$1.h("div", { class: "smoothly-table-cell" }, entry.company))))), index$1.h("smoothly-table-foot", { key: '
|
|
9732
|
+
} }, this.loadingIndex === index && index$1.h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (index$1.h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), index$1.h("div", { class: "smoothly-table-cell" }, entry.id), index$1.h("div", { class: "smoothly-table-cell" }, entry.registered), index$1.h("div", { class: "smoothly-table-cell" }, entry.name), index$1.h("div", { class: "smoothly-table-cell" }, entry.age), index$1.h("div", { class: "smoothly-table-cell" }, entry.balance), index$1.h("div", { class: "smoothly-table-cell" }, entry.eyeColor), index$1.h("div", { class: "smoothly-table-cell" }, entry.gender), index$1.h("div", { class: "smoothly-table-cell" }, entry.company))))), index$1.h("smoothly-table-foot", { key: 'd220bcbd57cd66ba23f5f0a95f91ea76815abfb5' }, index$1.h("smoothly-table-row", { key: '667777310b2345e3d3a168ce2e740bf7bb3065c2' }, index$1.h("div", { key: 'b3e7fec6bcea4b27ae2ddf5e8b23438affc74185', class: "smoothly-table-cell" }, "Footer Cell"), index$1.h("div", { key: 'ee6456fc221e5cc95ebf4ca4615f24df1a4da926', class: "smoothly-table-cell" }, "Footer Cell"))))));
|
|
9720
9733
|
}
|
|
9721
9734
|
};
|
|
9722
9735
|
SmoothlyTableDemoNestedNoCell.style = styleCss$k();
|
|
@@ -9729,7 +9742,7 @@ const SmoothlyTableDemoNestedNoCellInner = class {
|
|
|
9729
9742
|
}
|
|
9730
9743
|
render() {
|
|
9731
9744
|
var _a;
|
|
9732
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9745
|
+
return (index$1.h(index$1.Host, { key: '979ac258e43562eb1d3ec213533ed762b0637958' }, index$1.h("smoothly-table", { key: '359ecbb755ebb1119ecc4d60901a52508094fa7f', columns: 4 }, index$1.h("smoothly-table-head", { key: '688c8cecdac166cd9ce2865ecbf3002811a2ef5f' }, index$1.h("smoothly-table-row", { key: '7f8b10a9205258b5cad319c0cb6a2ae6f0609da9' }, index$1.h("div", { key: '8310e2fdaefb1c5d6a686d238bf2c118e9eacbac', class: "smoothly-table-cell" }, "Id"), index$1.h("div", { key: 'daaeb0da6571b0dde9d6e80ac35142aa666a1ba5', class: "smoothly-table-cell" }, "Name"), index$1.h("div", { key: 'abca17f20bd0491dcf05dc81ba11d801b4933a6c', class: "smoothly-table-cell" }, "Age"), index$1.h("div", { key: '346be426720be1a8c9578a50e6dacc2dddc5493a', class: "smoothly-table-cell" }, "Balance"))), index$1.h("smoothly-table-body", { key: 'd2d182cae581d3f5bc8abae108a6626b20b9451a' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (index$1.h("smoothly-table-expandable-row", null, index$1.h("div", { class: "smoothly-table-cell" }, entry.id), index$1.h("div", { class: "smoothly-table-cell" }, entry.name), index$1.h("div", { class: "smoothly-table-cell" }, entry.age), index$1.h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
|
|
9733
9746
|
}
|
|
9734
9747
|
};
|
|
9735
9748
|
SmoothlyTableDemoNestedNoCellInner.style = styleCss$j();
|
|
@@ -9741,7 +9754,7 @@ const SmoothlyTableDemoSimple = class {
|
|
|
9741
9754
|
index$1.registerInstance(this, hostRef);
|
|
9742
9755
|
}
|
|
9743
9756
|
render() {
|
|
9744
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9757
|
+
return (index$1.h(index$1.Host, { key: '80449d99f9dd0f1b3ccc6fe1ca76f81c383b0b73' }, index$1.h("smoothly-display", { key: 'a8a925063304469fd491d875aac3ca41262c2654', type: "text", value: "Simple" }), index$1.h("smoothly-table", { key: 'c73c0af22285cf5769b7aae1bc619e681425059c', color: "primary", columns: 2 }, index$1.h("smoothly-table-head", { key: '55a6fa56086f9ecf4c5ad6e937c672164e4ec329' }, index$1.h("smoothly-table-row", { key: 'c130d923b09c92b269da5f16ea18e3ee895cab52' }, index$1.h("smoothly-table-cell", { key: 'b937e3114409fa9e58e16333d00367839bc74d15' }, "Breed"), index$1.h("smoothly-table-cell", { key: '9aba71f6c1a20a762e89500ca5efa3a82d7cbd89' }, "Coat"))), index$1.h("smoothly-table-body", { key: 'b79c14240246a1d441fc2bfb2cf0857834121312' }, cats.map(cat => (index$1.h("smoothly-table-row", null, index$1.h("smoothly-table-expandable-cell", null, cat.breed, index$1.h("div", { slot: "detail" }, "Country:", index$1.h("br", null), cat.country)), index$1.h("smoothly-table-expandable-cell", null, cat.coat, index$1.h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), index$1.h("smoothly-table-row", { key: 'b3897b89193457cc34ef8a636ee70eb440b09923' }, index$1.h("smoothly-table-cell", { key: 'd3ff9b985f616112a698ad7c3d1154ae7ca3b17a' }, "Cell5"), index$1.h("smoothly-table-expandable-cell", { key: 'ed7165825d15f3025231a21aead04f6bcd048872' }, "Expandable Cell", index$1.h("div", { key: 'b5ffac563fce0a0a5027706cf4f83ec8825ad037', slot: "detail" }, "Content of the expandable cell"))), index$1.h("smoothly-table-row", { key: '3a6eb6e10fb590b9036d329307a22393958f6aaa' }, index$1.h("smoothly-table-expandable-cell", { key: '43570c5844b23b46572678bd5229d325c26b677f' }, "Expandable Cell 1", index$1.h("div", { key: '2c643f6a728b5967d7e42c47d657ce07ef295c78', slot: "detail" }, "Content of the expandable cell 1")), index$1.h("smoothly-table-expandable-cell", { key: '1d9f1e32259d590d5f0a7c043c56424f30019e6e' }, "Expandable Cell 2", index$1.h("div", { key: 'ea45ab8f26e3a2b7bd4d012b3dec1899836620b6', slot: "detail" }, "Content of the expandable cell 2")))), index$1.h("smoothly-table-foot", { key: '99a7c70b238c32203143077e8e1a3c58ee82adf7' }, index$1.h("smoothly-table-row", { key: '2abe5c4e633f55dd722f21263ab6647018b7319b' }, index$1.h("smoothly-table-cell", { key: '805be40c4d87dd23a8ab71017453b6340adf200e' }, "Footer Cell"), index$1.h("smoothly-table-cell", { key: '1137748f294d4199d08de20a8316588df635bfb2' }, "Footer Cell"))))));
|
|
9745
9758
|
}
|
|
9746
9759
|
};
|
|
9747
9760
|
const cats = [
|
|
@@ -9849,7 +9862,7 @@ const SmoothlyTableExpandableCell = class {
|
|
|
9849
9862
|
}
|
|
9850
9863
|
render() {
|
|
9851
9864
|
var _a;
|
|
9852
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9865
|
+
return (index$1.h(index$1.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) }, index$1.h("div", { key: '53a96ed671c80e1ecac6e34051c91e9a947b2fe9', class: "content" }, index$1.h("slot", { key: '3a3576002c26476a9a64113b36245e1befb1b032' })), index$1.h("div", { key: '39a6657696c643342205d451e12f7ce43b9059ad', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, index$1.h("slot", { key: 'b9e027e1fe622d4a20fffb508ac66bc1bbd2f06b', name: "detail" }))));
|
|
9853
9866
|
}
|
|
9854
9867
|
static get watchers() { return {
|
|
9855
9868
|
"open": [{
|
|
@@ -9881,7 +9894,7 @@ const SmoothlyTableExpandableRow = class {
|
|
|
9881
9894
|
this.smoothlyTableExpandableRowChange.emit(this.open);
|
|
9882
9895
|
}
|
|
9883
9896
|
render() {
|
|
9884
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9897
|
+
return (index$1.h(index$1.Host, { key: '3007de001a37cd97b19055f2300d0c4200714da4', onClick: (e) => this.clickHandler(e) }, index$1.h("slot", { key: '8eec771831b3e72481baaa792403fd6f28ce23b2' }), index$1.h("div", { key: 'f4a0071effd34729d812fdc02023f55c29c61da2', class: "smoothly-table-detail", ref: e => (this.div = e) }, index$1.h("slot", { key: 'e9eae5eaddd3886cb39a8086bba97a177791378d', name: "detail" }))));
|
|
9885
9898
|
}
|
|
9886
9899
|
static get watchers() { return {
|
|
9887
9900
|
"open": [{
|
|
@@ -9898,7 +9911,7 @@ const SmoothlyTableFillerRow = class {
|
|
|
9898
9911
|
index$1.registerInstance(this, hostRef);
|
|
9899
9912
|
}
|
|
9900
9913
|
render() {
|
|
9901
|
-
return (index$1.h("smoothly-table-row", { key: '
|
|
9914
|
+
return (index$1.h("smoothly-table-row", { key: '4925aa29f641ac932dd2686bdfb285dfbba27008' }, index$1.h("smoothly-table-cell", { key: '8aebd5713c716392a50afae52b1aed1c091c15f8' }, index$1.h("slot", { key: '822bc6ecef95836f099ac8c122a0b6c00999abe2' }))));
|
|
9902
9915
|
}
|
|
9903
9916
|
};
|
|
9904
9917
|
SmoothlyTableFillerRow.style = styleCss$f();
|
|
@@ -9910,7 +9923,7 @@ const SmoothlyTableFoot = class {
|
|
|
9910
9923
|
index$1.registerInstance(this, hostRef);
|
|
9911
9924
|
}
|
|
9912
9925
|
render() {
|
|
9913
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9926
|
+
return (index$1.h(index$1.Host, { key: '491e31a72bf7cf753be9722c5f9ffd189b75beae' }, index$1.h("slot", { key: '717637b20804c096f1daac46183047b2f7570569' })));
|
|
9914
9927
|
}
|
|
9915
9928
|
};
|
|
9916
9929
|
SmoothlyTableFoot.style = styleCss$e();
|
|
@@ -9956,10 +9969,10 @@ const SmoothlyTableHead = class {
|
|
|
9956
9969
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
9957
9970
|
}
|
|
9958
9971
|
render() {
|
|
9959
|
-
return (index$1.h(index$1.Host, { key: '
|
|
9972
|
+
return (index$1.h(index$1.Host, { key: 'a543c06de129e8ee177a6e98e31e7e6de42edff6', class: { scrolled: !!this.scrolled }, style: {
|
|
9960
9973
|
"--top": `calc(${this.depth} * var(--smoothly-table-cell-min-height))`,
|
|
9961
9974
|
"--z-index": `${10 - this.depth}`,
|
|
9962
|
-
} }, index$1.h("slot", { key: '
|
|
9975
|
+
} }, index$1.h("slot", { key: 'a937f04e674b9eb19534395494741f87e7f2df49' })));
|
|
9963
9976
|
}
|
|
9964
9977
|
get element() { return index$1.getElement(this); }
|
|
9965
9978
|
};
|
|
@@ -9984,7 +9997,7 @@ const SmoothlyTableRow = class {
|
|
|
9984
9997
|
}
|
|
9985
9998
|
}
|
|
9986
9999
|
render() {
|
|
9987
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10000
|
+
return (index$1.h(index$1.Host, { key: 'a7150d8e85573818c5253287f7a16af0726cd566' }, index$1.h("slot", { key: '11a1f41ac92bfdfbbe55a5d56998395ffbe7f1df' })));
|
|
9988
10001
|
}
|
|
9989
10002
|
};
|
|
9990
10003
|
SmoothlyTableRow.style = styleCss$c();
|
|
@@ -10007,7 +10020,7 @@ const SmoothlyTableRowGroup = class {
|
|
|
10007
10020
|
}
|
|
10008
10021
|
}
|
|
10009
10022
|
render() {
|
|
10010
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10023
|
+
return (index$1.h(index$1.Host, { key: '76fef86fb057d3a38a48176ae86e9d0acd8cbd3e' }, index$1.h("div", { key: 'd4c4ce1a498d4ad36ea115c59513a7127526a654', onClick: () => this.clickHandler() }, index$1.h("div", { key: '66b75a4c40238ef265054ee334252f301dc6d136' }, index$1.h("slot", { key: 'e4438e7a0a62ae369526bc341d9ca38f0661f719', name: "start" })), index$1.h("div", { key: 'e242813ad448fe97141372e0d58f9cee9315b42d' }, index$1.h("slot", { key: '32ea0ec41821bca492f088f8e905183a70b97d58', name: "end" }))), index$1.h("div", { key: '3dadc2ae7fdde5bd4cbee29da00dd23e544c5d59' }, index$1.h("slot", { key: 'd7d82c8713ace989d6eaa9c354fff5bc5f8da797' }))));
|
|
10011
10024
|
}
|
|
10012
10025
|
};
|
|
10013
10026
|
SmoothlyTableRowGroup.style = styleCss$b();
|
|
@@ -10075,7 +10088,7 @@ const SmoothlyTabsDemo = class {
|
|
|
10075
10088
|
index$1.registerInstance(this, hostRef);
|
|
10076
10089
|
}
|
|
10077
10090
|
render() {
|
|
10078
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10091
|
+
return (index$1.h(index$1.Host, { key: '667daa4673c8e0045b0b9bb673fa25d577234bcd' }, index$1.h("div", { key: '53bc7758593ff652cd66571751d44f215b96f3e2' }, index$1.h("smoothly-button", { key: '9152b373e992825a1e7a5daad5fdb8454f0e72fa', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), index$1.h("smoothly-tabs", { key: '45e823f55772be61f25d6b48688524dc98d052c9', tabs: "multiple" }, index$1.h("smoothly-tab", { key: 'ecb21ddc688927084d739e1f0e0590c83d773577', label: "Single Tab", open: true }, index$1.h("strong", { key: '8364c0c2e1afa1d729f6caa372e6864c37720b10' }, "Single Tab content here."), " If only one tab is available setting ", index$1.h("code", { key: '654811a94f174badec1416c90842741a49f202bd' }, "tabs"), " to", " ", index$1.h("code", { key: '5083b020fd3619e8deaf83044537e92423557e80' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (index$1.h("smoothly-tab", { key: '3c0d1ccc9c611be2d80ab6495d1c82d4670f21f5', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), index$1.h("div", { key: '939a6f264018acc6532aec79aa35c8bec9e15982' }, index$1.h("smoothly-button", { key: 'b40612b706c471876d98f92665a76a5cc6d71564', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), index$1.h("smoothly-tabs", { key: '7950a34808a55e1c2ff8dc75eb73826270295763' }, index$1.h("smoothly-tab", { key: '30e6c350d870d9e2b2de98ee1a5e8441e33187e9', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), index$1.h("smoothly-tab", { key: 'db66384d6fc370218db0f63c57bf1334b3496672', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), index$1.h("smoothly-tab", { key: '863e0927c3c0d5d3513f9bcb4aa36c5df4d479b2', label: "test2" }, "this is a test message!"), this.extraTab2 && index$1.h("smoothly-tab", { key: '42f481c9e506f49267b289b8ed89d6c157ee34ce', label: "test-extra" }, "this is a test message!"))));
|
|
10079
10092
|
}
|
|
10080
10093
|
};
|
|
10081
10094
|
SmoothlyTabsDemo.style = styleCss$9();
|
|
@@ -10087,7 +10100,7 @@ const SmoothlyThemeColor = class {
|
|
|
10087
10100
|
index$1.registerInstance(this, hostRef);
|
|
10088
10101
|
}
|
|
10089
10102
|
render() {
|
|
10090
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10103
|
+
return (index$1.h(index$1.Host, { key: 'a5e578a10c7a46c0abd3ca72b8247a7ca74cd0c4' }, this.color, ["tint", "color", "shade"].map(variant => (index$1.h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
10091
10104
|
}
|
|
10092
10105
|
};
|
|
10093
10106
|
SmoothlyThemeColor.style = styleCss$8();
|
|
@@ -10135,7 +10148,7 @@ const SmoothlyThemeDemo = class {
|
|
|
10135
10148
|
index$1.registerInstance(this, hostRef);
|
|
10136
10149
|
}
|
|
10137
10150
|
render() {
|
|
10138
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10151
|
+
return (index$1.h(index$1.Host, { key: '3e505cbc2317099fa9c7a8ce39eb009f2c3024ca' }, index$1.h("h2", { key: '5cf6837bdc6d17642828e4328265929512384435' }, "Theme"), index$1.h("smoothly-theme-picker", { key: 'be136a3fae2657ac4e26ad1fbd3aaeb25645a8d5' }, index$1.h("smoothly-item", { key: 'fa5fc77333513622192574123bf36506e52e3269', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), index$1.h("smoothly-item", { key: '2961c2261191e11a1c592906b80da6145bd404fd', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), index$1.h("smoothly-item", { key: 'dd127647b610afd4840859d7c8c10ff451dc2b56', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), index$1.h("smoothly-item", { key: '5e8ad2191b20cd08d6d1cb35816dc0454611fd71', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), index$1.h("smoothly-item", { key: '24410b3ba716c13887406e39d8269ad0f5623434', value: "https://test.dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), index$1.h("smoothly-item", { key: '0aeb4c24f7610227b1ddcd85c4a6768fac6169ab', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), index$1.h("smoothly-item", { key: '54ab7e4db39f5011d1575b08a7454edd3c8c0afa', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), index$1.h("smoothly-item", { key: '8f80758dacf77044e05035ad32620cd62129e9b5', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), index$1.h("smoothly-item", { key: 'd505ed591e6379bc67fc3958361c4895a57e1ee9', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), index$1.h("div", { key: 'b9419547eb4bbda394e480e58b7dff8dc0ebcb1d' }, index$1.h("smoothly-theme-colors", { key: '3bf0624cac39fbcb490bc7992dfa530f3043122b' }), index$1.h("smoothly-theme-guide", { key: '388b8841be3ddfd0a42a5ecbe098b512210ad26a' })), index$1.h("smoothly-button", { key: '3a56e3439212da68889c98cfe64141730732aefa', type: "link", link: "/redirect" }, "To redirect"), index$1.h("smoothly-button", { key: '56add7b4f875bb0521b32e34719c703591e21961', type: "link", link: "/redirect" }, "To /redirect"), index$1.h("smoothly-button", { key: '6319b234d80bb29370f55225bae9fef3278dee83', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), index$1.h("smoothly-button", { key: 'a842d75971928d0a6d0738009da122244d7b95a0', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
10139
10152
|
}
|
|
10140
10153
|
};
|
|
10141
10154
|
SmoothlyThemeDemo.style = styleCss$5();
|
|
@@ -10148,14 +10161,14 @@ const SmoothlyThemeColors = class {
|
|
|
10148
10161
|
}
|
|
10149
10162
|
render() {
|
|
10150
10163
|
return [
|
|
10151
|
-
index$1.h("smoothly-display", { key: '
|
|
10152
|
-
index$1.h("br", { key: '
|
|
10153
|
-
index$1.h("smoothly-display", { key: '
|
|
10154
|
-
index$1.h("br", { key: '
|
|
10155
|
-
index$1.h("smoothly-display", { key: '
|
|
10156
|
-
index$1.h("br", { key: '
|
|
10157
|
-
index$1.h("smoothly-display", { key: '
|
|
10158
|
-
index$1.h("br", { key: '
|
|
10164
|
+
index$1.h("smoothly-display", { key: '504bfdf471aa62a566cb5ac96654b9e00d88e292' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
10165
|
+
index$1.h("br", { key: '9eb11da56a43e89a690df6872cb34900f565ff75' }),
|
|
10166
|
+
index$1.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."),
|
|
10167
|
+
index$1.h("br", { key: 'cc09a61f2e021b2782fd63734b07c21973e4cd56' }),
|
|
10168
|
+
index$1.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."),
|
|
10169
|
+
index$1.h("br", { key: '1e0130f07d2a001fc206190d93c660f117596899' }),
|
|
10170
|
+
index$1.h("smoothly-display", { key: '4c7cdf267964d06803f03ff567ab0cb881b709b8' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
10171
|
+
index$1.h("br", { key: 'b2abb2ebff2bf2a5f329e5665f9bcf7c11b65bfc' }),
|
|
10159
10172
|
];
|
|
10160
10173
|
}
|
|
10161
10174
|
};
|
|
@@ -10169,12 +10182,12 @@ const SmoothlyThemePicker = class {
|
|
|
10169
10182
|
this.element = "smoothly-css";
|
|
10170
10183
|
}
|
|
10171
10184
|
render() {
|
|
10172
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10185
|
+
return (index$1.h(index$1.Host, { key: '70e3737e113724291c1decf423e6cd39733763a7' }, index$1.h("smoothly-input-select", { key: 'eed6362c4c845f26fe45ab80a36261a851146a32', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
10173
10186
|
const element = document.querySelector(`#${this.element}`);
|
|
10174
10187
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string") {
|
|
10175
10188
|
element.href = e.detail.theme;
|
|
10176
10189
|
}
|
|
10177
|
-
} }, index$1.h("label", { key: '
|
|
10190
|
+
} }, index$1.h("label", { key: '39e4c5e3793f19cc007f3a8b96988922a09109cf', slot: "label" }, "Select theme"), index$1.h("slot", { key: 'ea07c5aaee7e847991b27358eef479edb0105f91' }))));
|
|
10178
10191
|
}
|
|
10179
10192
|
};
|
|
10180
10193
|
SmoothlyThemePicker.style = styleCss$3();
|
|
@@ -10197,7 +10210,7 @@ const SmoothlyToggleSwitch = class {
|
|
|
10197
10210
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
10198
10211
|
}
|
|
10199
10212
|
render() {
|
|
10200
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10213
|
+
return (index$1.h(index$1.Host, { key: '0291d49b2ab1c542e752a3a694b5e15f446be27c' }, index$1.h("button", { key: '2be03163917c089e2a81404556996c93befeafa3', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, index$1.h("smoothly-icon", { key: 'a261b04197599fa3c80fedc502a532043e943bbe', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
10201
10214
|
}
|
|
10202
10215
|
};
|
|
10203
10216
|
SmoothlyToggleSwitch.style = styleCss$2();
|
|
@@ -10209,7 +10222,7 @@ const SmoothlyToggleSwitchDemo = class {
|
|
|
10209
10222
|
index$1.registerInstance(this, hostRef);
|
|
10210
10223
|
}
|
|
10211
10224
|
render() {
|
|
10212
|
-
return (index$1.h(index$1.Host, { key: '
|
|
10225
|
+
return (index$1.h(index$1.Host, { key: '470464d6d37e40e5f340822febb85cfb8d287267' }, index$1.h("h4", { key: 'fdb67153afb84fa7d734bf1f701def5b647f6ce7' }, "Toggle switches"), index$1.h("div", { key: 'bc4bf67807f2bba85c1bc42e7c5376eee516995e' }, index$1.h("p", { key: '07fda130d51c52347d2ac0680b2044f25f0fa994' }, "Checkmark"), index$1.h("span", { key: '1c444c3c73daf0130db447e44cb031f24abd01f8' }, index$1.h("p", { key: 'cdd900d00acb877aa76c9ae55c5cb083049abb43' }, "Tiny"), index$1.h("smoothly-toggle-switch", { key: 'a37f5af8a756a3b31a04ab5935a4b8a0bfbef243', disabled: false, size: "tiny" })), index$1.h("span", { key: '0b0dc28ca00a27fd8b234b89ae71ea293f84df65' }, index$1.h("p", { key: '14076ac015952db2b5ebe528085c5ca9c6c383b8' }, "Small"), index$1.h("smoothly-toggle-switch", { key: 'ea50543c67201c279a5f4a2807ba8b23d2ebff13', disabled: false, size: "small" })), index$1.h("span", { key: 'd45cf2681dfdbf26f6acc66dab5bcf37ab051d0b' }, index$1.h("p", { key: 'a3ca4cf338454d0276e4b4caddad85225ce41676' }, "Standard"), index$1.h("smoothly-toggle-switch", { key: '99a061952aa9c18b40f40cb6e5bfaaac0ee9e016', disabled: false })), index$1.h("span", { key: '451ea07c909458ae1033a3362d07d0f5974dc3e6' }, index$1.h("p", { key: 'b60a09266e15ce4ae54ca1c9bf05aceca06aed05' }, "Large"), index$1.h("smoothly-toggle-switch", { key: 'eb7f4deceae4b69ec5bcc8fb5a140d76be1fe4cd', disabled: false, size: "large" })), index$1.h("p", { key: 'ad75b8c6bddd9f59246a42d78056c51a8231713d' }, "Colors checkmark"), index$1.h("span", { key: '633ebf151c353aa20662b9cc0c6fc7ef2d27f659' }, index$1.h("p", { key: '0ecb5da92182163deb10667fb1cfbeeeb91a4f95' }, "Danger"), index$1.h("smoothly-toggle-switch", { key: '9f8b43c2fbdb0f1d56d564ba936740c56cd19615', color: "danger", disabled: false, size: "small" })), index$1.h("span", { key: '29eba3b1395741d2cd8821725ab2720f8c2bfc65' }, index$1.h("p", { key: '4de96be58373d873576be6ab6b8244444795cd88' }, "Primary color"), index$1.h("smoothly-toggle-switch", { key: '1268bb9b2081aeff88bdb4ed657d7ea05f10fb69', color: "primary", disabled: false, size: "small" })), index$1.h("span", { key: '40baf7b8cf63b0b401107ad780246da0192468e5' }, index$1.h("p", { key: 'efa762aff61e90aa7a9e5be8290c84e8c8ec570d' }, "Secondary color"), index$1.h("smoothly-toggle-switch", { key: 'a648aa6596da331b42a06917bf5e69ce92efc6d6', color: "secondary", disabled: false, size: "small" })), index$1.h("p", { key: '8b105d3cfa1bc78a0f818a7661240ebbf6475ca4' }), index$1.h("p", { key: '274e9e35dcb487642858cbe7d6f73dd61ab6f865' }, "Colors no checkmark"), index$1.h("span", { key: '3e919b9d7b34da5733153911758268b52678c9fb' }, index$1.h("p", { key: '500fc3bde72ce1af1a0cda2027a98f5568a029e0' }, "Danger"), index$1.h("smoothly-toggle-switch", { key: '2292abd9acac252aa8633ffb1427a6961c6a9928', checkmark: false, color: "danger", disabled: false, size: "small" })), index$1.h("span", { key: '47516027ff4083165416e71475e262d1e6f3aed8' }, index$1.h("p", { key: 'e345a770b485052b082ed2d88ba3dce0099da701' }, "Primary color"), index$1.h("smoothly-toggle-switch", { key: '79896d7ff3091c6af545a3352668c7daaf8491cb', checkmark: false, color: "primary", disabled: false, size: "small" })), index$1.h("span", { key: 'afc9c9d03135b7cebfa6866cccb8ab993f1fa5f4' }, index$1.h("p", { key: '39b9563fd95bd730a05ecda2e0ddb3db96503d08' }, "Secondary color"), index$1.h("smoothly-toggle-switch", { key: '02623b5220ccb3d547dda23d2eae0216ca20fd77', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
10213
10226
|
}
|
|
10214
10227
|
};
|
|
10215
10228
|
SmoothlyToggleSwitchDemo.style = styleCss$1();
|
|
@@ -10235,7 +10248,7 @@ const SmoothlyTrigger = class {
|
|
|
10235
10248
|
result = this.disabled ? (index$1.h("slot", null)) : (index$1.h("a", { onClick: e => this.onClick(e) }, index$1.h("slot", null)));
|
|
10236
10249
|
break;
|
|
10237
10250
|
case "button":
|
|
10238
|
-
result = (index$1.h("button", { key: '
|
|
10251
|
+
result = (index$1.h("button", { key: '3df0af31da21f4eeb53048b22a0a1fe9f37b608d', disabled: this.disabled, name: this.name }, index$1.h("slot", { key: '9566f4ff09d80a9b4c1d9d79acef49609cd3a425' })));
|
|
10239
10252
|
break;
|
|
10240
10253
|
}
|
|
10241
10254
|
return result;
|
|
@@ -10310,6 +10323,7 @@ exports.smoothly_load_more = LoadMore;
|
|
|
10310
10323
|
exports.smoothly_modal = SmoothlyModal;
|
|
10311
10324
|
exports.smoothly_notification = Notification;
|
|
10312
10325
|
exports.smoothly_notifier = Notifier;
|
|
10326
|
+
exports.smoothly_notifier_demo = SmoothlyNotifierDemo;
|
|
10313
10327
|
exports.smoothly_spinner = SmoothlySpinner;
|
|
10314
10328
|
exports.smoothly_summary = SmoothlySummary;
|
|
10315
10329
|
exports.smoothly_tab = SmoothlyTab;
|
|
@@ -10341,6 +10355,6 @@ exports.smoothly_theme_picker = SmoothlyThemePicker;
|
|
|
10341
10355
|
exports.smoothly_toggle_switch = SmoothlyToggleSwitch;
|
|
10342
10356
|
exports.smoothly_toggle_switch_demo = SmoothlyToggleSwitchDemo;
|
|
10343
10357
|
exports.smoothly_trigger = SmoothlyTrigger;
|
|
10344
|
-
//# 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.cjs.js.map
|
|
10358
|
+
//# 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.cjs.js.map
|
|
10345
10359
|
|
|
10346
|
-
//# sourceMappingURL=smoothly-
|
|
10360
|
+
//# sourceMappingURL=smoothly-app_99.cjs.entry.js.map
|