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
|
@@ -24,7 +24,7 @@ export class SmoothlyInputEdit {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
var _a;
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '9a5ec7132b415604c425c43a2ac7c460c6ca784b', title: this.tooltip }, h("smoothly-button", { key: '68711cee29eb01755e85b9acb21bd153ef88f2df', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '73063df194c9194a5d06dc2c1d0fee8d03d0cdfa' }), h("smoothly-icon", { key: '39b4f6d6a588feeedfd6610777e323dc0da34f32', class: "default", name: "create-outline", size: "tiny" }))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "smoothly-input-edit"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -104,7 +104,7 @@ export class SmoothlyInputFile {
|
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
106
|
var _a, _b, _c;
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: '2e050fb7cb01d7ca5883d61d758ac5977e4dc924', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: this.disabled ? undefined : 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: 'f86995572138b5b55929705c4aa61bb3b3c8a1d1' }, h("slot", { key: '52a4f69b13363d0a1fce31f90606ff4d21208121', name: "label" })), h("div", { key: 'c54b40386b0d0efba68b056be954938879ed7df9', class: "input" }, h("smoothly-button", { key: '9e410cfb7cb0fc2b978f4f74256a753c43491f17', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '41b301b936471d3c57001a1dbd44ca8372624c3a', name: "button" })), h("span", { key: '619c56a1f7e01df014208f2b4372db8a3da3daeb' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '22bc6bb85102cb5863ed88a7d6cbd51fd931c646', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: '6614887b4520638121de556ee1b22cbb7da6ed7f', name: "document-attach-outline" })), h("input", { key: 'f93e131c684891ac1b7f956a699db014dde8108c', ref: element => (this.input = element), type: "file", disabled: this.disabled, capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("span", { key: '0d1d1835e479070204bc72f083a6747d05387c82', onClick: (e) => e.stopPropagation() }, h("slot", { key: '7df7be0bc7f23c18e349bf5bba640a6cfa83813d', name: "end" }))));
|
|
108
108
|
}
|
|
109
109
|
static get is() { return "smoothly-input-file"; }
|
|
110
110
|
static get encapsulation() { return "scoped"; }
|
|
@@ -134,7 +134,7 @@ export class SmoothlyInput {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
137
|
-
return (h(Host, { key: '
|
|
137
|
+
return (h(Host, { key: 'fab11232a335374619f88d481c37d4e5b3d11f8e', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("slot", { key: 'a0c8cae6adbad3694a28ec8e1e043fa7a8ceb98a', name: "start" }), h("div", { key: 'a2d20222eaa4b3edbc42360bc290f7216d17cca1', class: "smoothly-input-container" }, h("div", { key: '7f076aae537f15217e7bc960c495438729e06c8a', class: "guide" }, h("div", { key: '3b0078359bcc30eb6932c8f667abff7d4f0fe38b', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), h("div", { key: '2e5bc6a765e9249235b34ec25b6d3e67ee0a475e', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), h("input", { key: '6062569e9a2fbb73e9785005061a204784cef36f', ref: (el) => (this.inputElement = el), color: this.color, name: this.name, type: (_e = this.state) === null || _e === void 0 ? void 0 : _e.type, inputmode: (_f = this.state) === null || _f === void 0 ? void 0 : _f.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: (_g = this.autocomplete) !== null && _g !== void 0 ? _g : (_h = this.state) === null || _h === void 0 ? void 0 : _h.autocomplete, disabled: this.disabled, readOnly: this.readonly, pattern: ((_j = this.state) === null || _j === void 0 ? void 0 : _j.pattern) && ((_k = this.state) === null || _k === void 0 ? void 0 : _k.pattern.source), onKeyDown: async (event) => {
|
|
138
138
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
139
139
|
if (!this.readonly && !this.disabled) {
|
|
140
140
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -150,7 +150,7 @@ export class SmoothlyInput {
|
|
|
150
150
|
this.smoothlyUserInput.emit({ name: this.name, value: this.stateHandler.getValue(this.state) });
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
} }), h("label", { key: '
|
|
153
|
+
} }), h("label", { key: '43e8d3ad1afdaa8a8b6fa55583c0d40a3bf24acd', class: "label float-on-focus", htmlFor: this.name }, h("slot", { key: '3614b3dc27033e9c7b382cfe839adab598f35447' }))), this.copyable && this.value && (h("span", { key: '5e2cb462b6cdde196955d26bf481f9bbcad7e331', class: "copyable" }, h("small", { key: 'c3730452979b2edd6b675990ac627a4e5dd839e4' }, this.copied ? "Copied!" : "Copy"), h("smoothly-icon", { key: '9d18b939ea4e9b83e5d114b6cea73c66dad07503', name: "copy-outline", size: "small", onClick: () => this.copyText(this.value), onMouseLeave: () => (this.copied = false) }))), h("smoothly-icon", { key: 'c730f983b4a58c59ac60eb8539a199811655e4f0', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '00a182be5038019d825ec5b6fa8a87026c50cfa3', name: "end" })));
|
|
154
154
|
}
|
|
155
155
|
static get is() { return "smoothly-input"; }
|
|
156
156
|
static get encapsulation() { return "scoped"; }
|
|
@@ -107,21 +107,21 @@ export class SmoothlyInputMonth {
|
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
109
|
var _a, _b;
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '0916e28b908af47e518baff4c2953a15c4e5b93e' }, h("smoothly-icon", { key: 'fd4d9e582a0feb692b8fc4455e0fef445326d929', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
111
111
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
112
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
112
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: 'b09547849f9f3e7f3780ea4e6231bcd47c4ae175', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
113
113
|
const month = e.detail.value;
|
|
114
114
|
if (month && isoly.Date.is(month)) {
|
|
115
115
|
const value = isoly.Date.firstOfMonth(month);
|
|
116
116
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
117
117
|
}
|
|
118
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
118
|
+
}, searchDisabled: true }, h("div", { key: 'e1f4f143cfef863419a68b24e887579ecf3fe9d9', slot: "label" }, h("slot", { key: '01b386aa3ec76ba077158774c26256b1c25c97ca', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: 'c7193a5c1430db7fbb14766b5e1985e1258cdb77', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
119
119
|
const year = e.detail.value;
|
|
120
120
|
if (year && isoly.Date.is(year)) {
|
|
121
121
|
const value = isoly.Date.firstOfMonth(year);
|
|
122
122
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
123
123
|
}
|
|
124
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
124
|
+
}, searchDisabled: true }, h("div", { key: '0d5bc697879c2c018331583326029b20fc7a442c', slot: "label" }, h("slot", { key: '3909a5c34b455c6ed65f6bebf7a2174e0577de2b', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: '441a3228fcb722ab8ebbcb1138aba71e0306625a', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly || !this.allowNextMonth }, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "smoothly-input-month"; }
|
|
127
127
|
static get encapsulation() { return "scoped"; }
|
|
@@ -24,7 +24,7 @@ export class SmoothlyInputRadioItem {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '6cda60049d14ae191ab196ba44e1b865b337638c', onClick: () => this.inputHandler(true) }, h("input", { key: '5e312eb0fef6fde4eeaa6f450447b0d2cd0536fe', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), h("smoothly-icon", { key: 'ac4eed680c8cb314f1b5f4a9857e6646aac6cb82', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), h("label", { key: 'c96f7fcd07b7687db703519960ae88101abb17c6' }, h("slot", { key: 'a3628941ed9b7a933c3a92908b0b5fd03d20d98e' })), h("slot", { key: 'f689489ccc1616f2715c1336979f674d64f56a9c', name: "detail" })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "smoothly-input-radio-item"; }
|
|
30
30
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputRangeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fd572625434e3a3a511d2fdc4e39a11734eee8fb' }, h("h2", { key: '0bf7d54f8cf11e3e870d6c1152fdad2665baf305' }, "Range"), h("h3", { key: '37f05494fea8a36a05684fb0ad0aede0d27630aa' }, "Phone Number"), h("smoothly-input-range", { key: '68d94bdeb4db077a49a011c4849e99a1b33db40b', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: 'd1b81f1dae6424d685997bd8dfe02a10832a1b2a' }, "Stars out of ten"), h("smoothly-input-range", { key: 'dca3283520395117ed946a844bb46f7fc52c0212', max: 10, step: 1, label: "Stars" }), h("h3", { key: '8670432a44d93f9f7dbc315c1f0a51d9aa79100a' }, "Percent"), h("smoothly-input-range", { key: '78863ada16280bb963e15f1682aa8131667a1bd3', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: '1b4a9ba5d75f92f1f90dc46a4710a35edd2fe2e9' }, "With icon at start and clear button"), h("smoothly-input-range", { key: '95c8798a86fc50de7ad65b67f837a71e2743c2ae', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: 'f44529bf690bcf4ceff1dfa1520d2cf92a456f2f', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '27ef758b1ba28f93ae5a19cc14fb1bdbf1415c70', size: "icon", slot: "end" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-range-demo"; }
|
|
7
7
|
}
|
|
@@ -96,18 +96,18 @@ export class SmoothlyInputRange {
|
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
98
|
var _a, _b, _c;
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '5156fee6f8e0d7a3a14c11bc6476424935972d46', class: {
|
|
100
100
|
"output-side-right": this.outputSide === "right",
|
|
101
101
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
102
|
-
} }, h("slot", { key: '
|
|
102
|
+
} }, h("slot", { key: '85ba263c778cec6970979f819a815a98088a8dae', name: "start" }), h("div", { key: 'd1e281cc39cfd5b442c298659ddad32927f83a7e' }, h("label", { key: 'fbe971c908c237c3f2497e8c5c4d858abf031be6', htmlFor: this.name }, this.label), h("smoothly-input", { key: 'a123e5a35b4524d8d3f200f31dea6586947e2a3e', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
|
|
103
103
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
104
104
|
e.stopPropagation();
|
|
105
105
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
106
|
-
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '
|
|
106
|
+
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '8d3df2b1b5899cfe814bb70754ca586af4a5de25', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: '819a42fa4da5e95b804260f99197524fa2aaf90d', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly || this.disabled, onInput: event => {
|
|
107
107
|
event.stopPropagation();
|
|
108
108
|
this.setValue(event.target.valueAsNumber);
|
|
109
109
|
this.smoothlyUserInput.emit({ name: this.name, value: this.value });
|
|
110
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '
|
|
110
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: 'f0d1d8872a42854cf442f996de63ffcf584995cf', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: 'e3e904b4883dbceda975cd4d74cd526b77c5d471', name: "end" })));
|
|
111
111
|
}
|
|
112
112
|
static get is() { return "smoothly-input-range"; }
|
|
113
113
|
static get encapsulation() { return "scoped"; }
|
|
@@ -41,7 +41,7 @@ export class SmoothlyInputReset {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a;
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'f69a407428454170f461cee5d8e6b8ece33f682f', title: this.tooltip }, h("smoothly-button", { key: '21fed26fa5cb6c8dc32af427f492cb5879682d3c', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined), onClick: event => this.clickHandler(event) }, h("slot", { key: 'ed9f01c4274c9b5b59c6cd27c2cdd62e3a7bb259' }), h("smoothly-icon", { key: '0ddd9963d333449a5d029b6c29f532ca8d2b3423', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "smoothly-input-reset"; }
|
|
47
47
|
static get encapsulation() { return "scoped"; }
|
|
@@ -283,11 +283,11 @@ export class SmoothlyInputSelect {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
render() {
|
|
286
|
-
return (h(Host, { key: '
|
|
286
|
+
return (h(Host, { key: '6d9239e0bb319a543a99a7c1d5876ab8956834af', class: { "has-value": this.selected.length !== 0, open: this.open, "has-filter": this.filter !== "" }, onClick: (e) => this.onClick(e) }, h("div", { key: '1bbd7412577695182436ea90d1e9034e541ddc2a', class: "select-display", ref: element => (this.displayElement = element) }, this.placeholder), h("div", { key: '20ae505d620469c1c9c1844891b17001833583c9', class: "icons", ref: element => (this.iconsElement = element) }, h("smoothly-icon", { key: '281acc334850d4f32a2a73c289181b5aba66c955', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'c571161f39c874c66656f81a7aa3fcf2f3526cdb', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: '555d40a6a768e0f28e427f8eade8afd35d127f00', ref: element => (this.toggleElement = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: '009fd9d19911fb0790d2850f9d10b867da144ed1', name: "label" }), h("div", { key: '5b7eeb9d3aefeabdf47193a367d47f314696ea2f', class: "dropdown", ref: (el) => (this.dropdownElement = el) }, h("div", { key: '8f6e8ddc7f8b5505ee806d0a1fbf081d25feba28', class: "search" }, h("smoothly-icon", { key: 'e49ae095f2dc52ed27f8b8006cf41fa65e880d76', name: "search-outline", size: "small" }), h("input", { key: '2c8c17873271a717f6ee14455ecb717280a45b99', class: "search-input", ref: el => (this.searchElement = el), disabled: this.searchDisabled, onKeyDown: e => this.onKeyDown(e), onInput: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); }, onPaste: e => { var _a, _b; return (e.stopPropagation(), this.setFilter((_b = (_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "")); } }), h("smoothly-icon", { key: '7b008955b46e1c60e5fff82faf06f2899e6cabd1', name: "backspace-outline", size: "small", onClick: () => {
|
|
287
287
|
var _a;
|
|
288
288
|
this.resetFilter();
|
|
289
289
|
(_a = this.searchElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
290
|
-
} }), this.mutable && h("smoothly-icon", { key: '
|
|
290
|
+
} }), this.mutable && h("smoothly-icon", { key: 'c8ad6a47483f41b314cd432a55820df927feb326', name: "add", size: "small", onClick: () => this.addItem() })), h("div", { key: '7d6c90136e1d0ff45b1639d3366c312c94ffde33', class: "menu", hidden: !this.open }, h("slot", { key: 'aca107a78851a9af53747d7ee022255ceac9dc9c' }), this.addedItems))));
|
|
291
291
|
}
|
|
292
292
|
static get is() { return "smoothly-input-select"; }
|
|
293
293
|
static get encapsulation() { return "scoped"; }
|
|
@@ -40,7 +40,7 @@ export class SmoothlyInputSubmit {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
var _a, _b;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '70b53b4424d3bb5c5daf2d8cedbc0ef488a35e38', title: this.tooltip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "smoothly-input-submit"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -34,7 +34,7 @@ export class SmoothlyItem {
|
|
|
34
34
|
: false;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'f86c77b9ed66eeca4f9521883517fea9a8ce3292', tabIndex: -1 }, h("slot", { key: '9a72363e41c726d78c213179afcebafcafa48abc' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "smoothly-item"; }
|
|
40
40
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,9 +2,9 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyLabel {
|
|
3
3
|
render() {
|
|
4
4
|
var _a;
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: 'ce3bb78edc46a6edd6ceeb2d8d799835e74e889e', title: this.description, style: {
|
|
6
6
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
7
|
-
} }, h("slot", { key: '
|
|
7
|
+
} }, h("slot", { key: 'e2d3e99a943fe1a2e862e0102d87c327c9c3f1b8' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "smoothly-label"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -8,7 +8,7 @@ export class SmoothlyLazy {
|
|
|
8
8
|
this.show = true;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'ba06250ac8a325c3b51801b09999efdbd0c552f6' }, h("slot", { key: '89e3aa0b677038bac4a999c3aba63e8f86f3e9ea', name: "before" }), h("smoothly-load-more", { key: '4d817981ffa9f3231972a3eb153339ca805c05e3', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: '55ab66fb5706d1bb40350a5b545b97ddb5787eab' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "smoothly-lazy"; }
|
|
14
14
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class LoadMore {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return h(Host, { key: '
|
|
40
|
+
return h(Host, { key: 'c53981c4ea71c41217b4a4262c971dab45a84fe9' });
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "smoothly-load-more"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,9 +15,9 @@ export class SmoothlyModal {
|
|
|
15
15
|
this.open = true;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'c8517f814256addf886be09be0058a8c15b73c14', role: "alertdialog", onClick: (e) => {
|
|
19
19
|
this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '665feff20545ab424191b52e7cba17414d6d79c9', class: "modal" }, h("div", { key: '1a459e840e395cc03825883b8305c070929dfc34', class: "header" }, h("slot", { key: 'b89490cc7029d45456126502db3985fcfdd99fd9', name: "header" }), this.closable && h("smoothly-icon", { key: '83559c6915c83f2f2fdc0ac3e173e55845b7b4f3', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: '4f069fcb1506d9fbdcaba2c657c7af533dec9bae' }), h("div", { key: 'df07bf9b97164aa24c8a7c41440494372f2ae9e0', class: "actions" }, h("slot", { key: '78a5774d274306aef00dc5a6cb91bf0027b84543', name: "actions" })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "smoothly-modal"; }
|
|
23
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -50,7 +50,7 @@ export class Notification {
|
|
|
50
50
|
this.onUpdatedNotice(this.notice);
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '73f1ac93fe920e40d0045cf9ae2c756ffe451d66', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: 'c044dec06d857487dbdb8a17d20c6d07c6b7e370', fill: "clear", name: "close" }, h("smoothly-icon", { key: 'd33fb56efc3ff17f1ba41c16ffd4ed214b98bc57', name: "close-circle-outline" }))), h("span", { key: 'd2554c0a86856c3f8f760d8e71f9761b619ddf41', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: 'f4466028e87356a50f0cdb08ba23dbd1d65d5689', name: this.properties[1] }), h("p", { key: '6de62c145781c1127b7ea762a371f7a142bc324f' }, this.notice.message))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "smoothly-notification"; }
|
|
56
56
|
static get encapsulation() { return "scoped"; }
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { Notice } from "../../../model";
|
|
3
|
+
export class SmoothlyNotifierDemo {
|
|
4
|
+
task(succeed, ms = 2000) {
|
|
5
|
+
return () => new Promise(resolve => window.setTimeout(() => resolve(succeed ? [true, "Task completed."] : [false, "Task failed."]), ms));
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return (h("main", { key: 'e3d338d08a8155c994f121e190583b1492631049' }, h("fieldset", { key: '3d775b4ed5229982b2dbe2175a80223ccda92106' }, h("h2", { key: '0a351b1923d27a7bf576c2fbb43cd5368ce6442d' }, "Immediate"), h("p", { key: 'bff747d88b7d561ec2a60a65b76ee0c1bc49ad39' }, "Fires right away and closes after the default 15 seconds."), h("smoothly-button", { key: '1b8830e040cd6530425d3d66b5c78a7ed4e80357', color: "success", fill: "solid", onClick: () => this.notice.emit(Notice.succeeded("Payment processed successfully.")) }, "Success"), h("smoothly-button", { key: '3ad3baf9b33d67c27fdd0cff8585f7b6eeed8807', color: "danger", fill: "solid", onClick: () => this.notice.emit(Notice.failed("Payment could not be processed.")) }, "Failed"), h("smoothly-button", { key: '2c90a3b3742edac4c4afcee809048e65375ec705', color: "warning", fill: "solid", onClick: () => this.notice.emit(Notice.warn("Balance is running low.")) }, "Warning")), h("fieldset", { key: 'e9740e78990b6beefb77c16663e96d627b619b7b' }, h("h2", { key: '9668a13f88db3b43b20e84d64339e46c0b876f9a' }, "Task"), h("p", { key: '9625eaf81bd2a90ca74094f5a6ba4a23e8605853' }, "Shows an executing spinner while the task runs, then transitions to success or failure."), h("smoothly-button", { key: 'e99ab12076adc90e2097c7586e4f6d2377ba592c', color: "success", fill: "outline", onClick: () => this.notice.emit(Notice.execute("Processing payment…", this.task(true))) }, "Execute (succeeds after 2s)"), h("smoothly-button", { key: 'c37c6803dcc33ebb1789e981ec9bbd4453df2944', color: "danger", fill: "outline", onClick: () => this.notice.emit(Notice.execute("Processing payment…", this.task(false))) }, "Execute (fails after 2s)"), h("smoothly-button", { key: 'e37ff795ca11e50e80bac180c0b9fae40e8ec587', color: "medium", fill: "solid", onClick: () => this.notice.emit(Notice.delay("Payment scheduled…", this.task(true))) }, "Delay (waits 5s, then executes)")), h("fieldset", { key: 'af63d14a88d1cd79fb022d5efbd9f5a42adf191b' }, h("h2", { key: '2fe03dc548758db94a03948f0595a296e145a0e5' }, "Custom lifetime"), h("p", { key: '6aead78b7f995d63d29f75d8a164aaf2188111bd' }, "Controls how long the notice stays visible after resolving."), h("smoothly-button", { key: 'f480806e042ba24075c030c7a767a1fb4a65de22', color: "success", fill: "solid", onClick: () => this.notice.emit(Notice.succeeded("Gone in 3 seconds.", 3000)) }, "Success (3s)"), h("smoothly-button", { key: 'bd377ef80546a629a08919899fff0e4c57ad24b3', color: "warning", fill: "solid", onClick: () => this.notice.emit(Notice.warn("Sticks around for 30 seconds.", 30000)) }, "Warning (30s)"))));
|
|
9
|
+
}
|
|
10
|
+
static get is() { return "smoothly-notifier-demo"; }
|
|
11
|
+
static get events() {
|
|
12
|
+
return [{
|
|
13
|
+
"method": "notice",
|
|
14
|
+
"name": "notice",
|
|
15
|
+
"bubbles": true,
|
|
16
|
+
"cancelable": true,
|
|
17
|
+
"composed": true,
|
|
18
|
+
"docs": {
|
|
19
|
+
"tags": [],
|
|
20
|
+
"text": ""
|
|
21
|
+
},
|
|
22
|
+
"complexType": {
|
|
23
|
+
"original": "Notice",
|
|
24
|
+
"resolved": "Notice",
|
|
25
|
+
"references": {
|
|
26
|
+
"Notice": {
|
|
27
|
+
"location": "import",
|
|
28
|
+
"path": "../../../model",
|
|
29
|
+
"id": "src/model/index.ts::Notice",
|
|
30
|
+
"referenceLocation": "Notice"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/notifier/demo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAKvC,MAAM,OAAO,oBAAoB;IAGxB,IAAI,CAAC,OAAgB,EAAE,EAAE,GAAG,IAAI;QACvC,OAAO,GAAG,EAAE,CACX,IAAI,OAAO,CAAoB,OAAO,CAAC,EAAE,CACxC,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC,EAAE,EAAE,CAAC,CACnG,CAAA;IACH,CAAC;IAED,MAAM;QACL,OAAO,CACN;YACC;gBACC,yEAAkB;gBAClB,wHAAgE;gBAChE,wEACC,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,iCAAiC,CAAC,CAAC,cAEnE;gBAClB,wEACC,KAAK,EAAC,QAAQ,EACd,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,iCAAiC,CAAC,CAAC,aAEhE;gBAClB,wEACC,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,cAEtD,CACR;YACX;gBACC,oEAAa;gBACb,sJAA8F;gBAC9F,wEACC,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,kCAEtE;gBAClB,wEACC,KAAK,EAAC,QAAQ,EACd,IAAI,EAAC,SAAS,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,qBAAqB,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,+BAEvE;gBAClB,wEACC,KAAK,EAAC,QAAQ,EACd,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,sCAEnE,CACR;YACX;gBACC,+EAAwB;gBACxB,0HAAkE;gBAClE,wEACC,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC,mBAE5D;gBAClB,wEACC,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,+BAA+B,EAAE,KAAK,CAAC,CAAC,oBAEnE,CACR,CACL,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, h } from \"@stencil/core\"\nimport { Notice } from \"../../../model\"\n\n@Component({\n\ttag: \"smoothly-notifier-demo\",\n})\nexport class SmoothlyNotifierDemo {\n\t@Event() notice: EventEmitter<Notice>\n\n\tprivate task(succeed: boolean, ms = 2000): Notice.Task {\n\t\treturn () =>\n\t\t\tnew Promise<[boolean, string]>(resolve =>\n\t\t\t\twindow.setTimeout(() => resolve(succeed ? [true, \"Task completed.\"] : [false, \"Task failed.\"]), ms)\n\t\t\t)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<main>\n\t\t\t\t<fieldset>\n\t\t\t\t\t<h2>Immediate</h2>\n\t\t\t\t\t<p>Fires right away and closes after the default 15 seconds.</p>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"success\"\n\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.succeeded(\"Payment processed successfully.\"))}>\n\t\t\t\t\t\tSuccess\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.failed(\"Payment could not be processed.\"))}>\n\t\t\t\t\t\tFailed\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"warning\"\n\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.warn(\"Balance is running low.\"))}>\n\t\t\t\t\t\tWarning\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</fieldset>\n\t\t\t\t<fieldset>\n\t\t\t\t\t<h2>Task</h2>\n\t\t\t\t\t<p>Shows an executing spinner while the task runs, then transitions to success or failure.</p>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"success\"\n\t\t\t\t\t\tfill=\"outline\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.execute(\"Processing payment…\", this.task(true)))}>\n\t\t\t\t\t\tExecute (succeeds after 2s)\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"danger\"\n\t\t\t\t\t\tfill=\"outline\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.execute(\"Processing payment…\", this.task(false)))}>\n\t\t\t\t\t\tExecute (fails after 2s)\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"medium\"\n\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.delay(\"Payment scheduled…\", this.task(true)))}>\n\t\t\t\t\t\tDelay (waits 5s, then executes)\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</fieldset>\n\t\t\t\t<fieldset>\n\t\t\t\t\t<h2>Custom lifetime</h2>\n\t\t\t\t\t<p>Controls how long the notice stays visible after resolving.</p>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"success\"\n\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.succeeded(\"Gone in 3 seconds.\", 3000))}>\n\t\t\t\t\t\tSuccess (3s)\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tcolor=\"warning\"\n\t\t\t\t\t\tfill=\"solid\"\n\t\t\t\t\t\tonClick={() => this.notice.emit(Notice.warn(\"Sticks around for 30 seconds.\", 30000))}>\n\t\t\t\t\t\tWarning (30s)\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t</fieldset>\n\t\t\t</main>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -11,7 +11,7 @@ export class Notifier {
|
|
|
11
11
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '4e003f931f925f8b9b7bf025a30ed5637d1883f6' }, h("slot", { key: '24474dce23d51652d402faf096be33cbd2356a53' }), h("div", { key: '23d8511a4e84d13e2e19a623ebadcc7957881221', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "smoothly-notifier"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,9 +5,9 @@ export class SmoothlySpinner {
|
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'ecb6e441b9ff2e197c2b600e2c5b2d51cd95ee89', style: {
|
|
9
9
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
10
|
-
} }, h("svg", { key: '
|
|
10
|
+
} }, h("svg", { key: '5e6288163ac9a0fe615a91e8431fb78a966630ea', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '7ad5566138f4d87e15be7bc0d4777e80cc6c1f83', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "smoothly-spinner"; }
|
|
13
13
|
static get encapsulation() { return "scoped"; }
|
|
@@ -20,7 +20,7 @@ export class SmoothlySubmit {
|
|
|
20
20
|
(_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Button, { key: '
|
|
23
|
+
return (h(Button, { key: 'acc877b650fa22b82f50c4fd3a5069b2e668c94d', disabled: this.disabled, type: this.type }, h("slot", { key: '9b5dbe03ca023d879223239e24c84208c36c0bb7' })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "smoothly-submit"; }
|
|
26
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SmoothlySummary {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("details", { key: '
|
|
13
|
+
return (h("details", { key: 'e033a7d2dadc508342c0e35b8b50502452c285f5', onToggle: e => this.toggleHandler(e), open: this.open }, h("summary", { key: '2081c1c5e3c154fa26e4333f519f56232895ee74' }, h("smoothly-icon", { key: 'e8c587d8d364e72e1dd1e2958db8f784343a8508', name: "caret-forward", fill: "solid", size: "tiny" }), h("slot", { key: '158befa55709d084049bec16c29d2bef2a2884e0', name: "summary" })), h("slot", { key: 'fff93c13da720ef9e0905ac698bba0baf9dd9c20', name: "content" })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-summary"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableBody {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '1f19a1c0da7b296ea394daa0bc91ac499424ad0e' }, h("slot", { key: 'acd72cd22a3d49c02de514f5f9818d16ff913897' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-body"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ export class SmoothlyTableCell {
|
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
var _a;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '71cd9be174ec7961ae0b338fd5775a0f8b41264c', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, h("slot", { key: '9cbca72183db11968f3a6630bd1a226830754bd7' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "smoothly-table-cell"; }
|
|
11
11
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoColspan {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '0c48cda90a42886342351b0a4f4b0ddcdbba84e1' }, h("smoothly-table", { key: '6ddf793f667d275b6e3969331d06c1d2f5e4c491', columns: 3 }, h("smoothly-table-head", { key: '425732dcb06bbc7dd1c5b46689fcb9a5d1f8aae0' }, h("smoothly-table-row", { key: '698dbdfbabfb904df19d92aaef652fc57b4371ad' }, h("smoothly-table-cell", { key: '162b14024e5d5c1993c2c5120f014bd65dc452b8' }, "Date"), h("smoothly-table-cell", { key: '7c8dfddd08a7a241ba4921d48c231e154e8ce2f7' }, "Skip"), h("smoothly-table-cell", { key: '90c02f35f7233314a0478fdef7fe7e8d59ee6307' }, "Total"))), h("smoothly-table-body", { key: 'ee7c05917d77a73653f262da586d358a6c2d8c5f' }, h("smoothly-table-row", { key: 'fb8ea7dbe4c82f92258d4c531f88bf9192a121a7' }, h("smoothly-table-cell", { key: '8c4f6a68055a38eafbbedde78acdec47610c3a45', span: 2 }, h("smoothly-display", { key: '914cbd4c7716cb44df1fb2c9f30e864733398627', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: '28379684e4c04c36261cece4276bd0599bca8201' }, h("smoothly-display", { key: '454f88e0c8f6236864d5507677e87c4129940fd6', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: '484339508d40ad812eb7edd24efa06ed18739b39' }, h("smoothly-table-expandable-cell", { key: '885b10db54f9fb0051f0ac8d878dbd4a5413d698', span: 2 }, h("smoothly-display", { key: '27a9840c4c283269809fef636b95e7dc46d18586', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: '031f1ee60536b3b633c7638aed6e0d1d6a013ba8', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: 'c1e0fc733a48eb0e5bf50d0ff70494e0f293b34e' }, h("smoothly-display", { key: 'fe0202769ab5932ed8257867802e297707efdb78', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: 'e170de6a7c33e6ce938e2a5240a33397a9d15d21', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-table-row", { key: 'e06c96d7d22adc11c20140b67b877b69c0b95737' }, h("smoothly-table-cell", { key: '6a6a0d756b16ccc002934e7aea89165959748518' }, h("smoothly-display", { key: '9cabf2591bbfe35af7e58f649a185b872843b365', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'bc20c5059843db6e9a61b5f600ddcbb959c544cd' }, "Not Skipped"), h("smoothly-table-cell", { key: '306e585f47e9eb496ef5a1ddbecfcc9c823adde2' }, h("smoothly-display", { key: 'b1623473097b41ebc6bf1a03eeafd4a650371b98', type: "price", value: 320, currency: "EUR" })))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-colspan"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class SmoothlyTableDemoFillerRow {
|
|
|
9
9
|
}, 3000);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '557f61c2ccd69af2aefa39306df1aad555ff0744' }, h("smoothly-display", { key: '7ab6ad735601adb00416b7e36c0cd8815ad61ef8', type: "text", value: "Filler row" }), h("smoothly-table", { key: '5a4a96a7e7eefb555c293a59fa4549566c4e3d37', color: "primary", columns: 4 }, h("smoothly-table-head", { key: '6552d25cd1b2655207fd58a8b193125c5489e44a' }, h("smoothly-table-row", { key: '713cc7a78a8375c1559e6dd612e91012d95d94e9' }, h("smoothly-table-cell", { key: '6916664b0ccc30759af2b01eecbb0720a293e5e1' }, "Breed"), h("smoothly-table-cell", { key: '23ebe72dbbfbb68993ce024cd574a80c78fedf97' }, "Country"), h("smoothly-table-cell", { key: '56dc58c22a7fbc62a5a33d88e11e3198d76cce8b' }, "Coat"), h("smoothly-table-cell", { key: '1b17e1b9e961951228b9134a979e154650a5692f' }, "Origin"))), h("smoothly-table-body", { key: 'e9cabfd3b379487e2f47c4e292f61f219dd1a170' }, this.cats === undefined ? (h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-table-row", null, h("div", { class: "smoothly-table-cell" }, a.breed), h("div", { class: "smoothly-table-cell" }, a.country), h("div", { class: "smoothly-table-cell" }, a.coat), h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-table-demo-filler-row"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoGroup {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c2349ac60d42721e7efdd0145bda64bf634665f9' }, h("smoothly-display", { key: '3fa0ccdbb80609b7d1213e4607a8417d654ba61e', type: "text", value: "Group" }), h("smoothly-table", { key: '031831fab9aad960876d3652e0f061bc11c6b641', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '8962746018f32803f9194677e85b1cac061cbc8a' }, h("smoothly-table-row", { key: 'ce3b222b7bf572395130029a242349f1f23e3efa' }, h("smoothly-table-cell", { key: '9b487a8dd643eeb32b8636a393a21825af9e15f0' }, "Date"), h("smoothly-table-cell", { key: '9445abb441db3d0474aa0925da39f9f8cd841e96' }, "Total"))), h("smoothly-table-body", { key: 'e05046be6bcd868fedd3a998e33243d350a24fac' }, h("smoothly-table-row-group", { key: '9f9f39b99ee48b80079e4f0c7b8b5933841bc8db', align: true }, h("smoothly-display", { key: 'f5c8b076b84674dca4082025540f37fed2c1fdfb', slot: "start", type: "date", value: "2024-01-01" }), h("smoothly-display", { key: '8684e46b76affeace45688d66ce925053e8487cb', slot: "end", type: "price", currency: "EUR", value: 510 }), h("smoothly-table-expandable-row", { key: 'eafc06e33f099744334b1ab4633c4065e5c7bafb' }, h("smoothly-table-cell", { key: '163413e33f1fc87f3ee8d913b7f67aadaef23527' }, h("smoothly-display", { key: '7906a8a2a7cdbc094ea377dbbf46f46ea1aa2773', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'b7c3d34d0872a3b925cd59648818ac4f970f7665' }, h("smoothly-display", { key: '1755af70c7682d88f2a8053249f618e21ccd8dcd', type: "price", currency: "EUR", value: 250 })), h("smoothly-lazy", { key: '972b58445087486e16aa9ef60ceca24b0cdb878a', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: 'f4167f1f151a4b6a11e55c3b44b44a174e7e460a' }, h("smoothly-table-cell", { key: 'd42b86d4bbbfa2687ccb9ef5426199cfcb970454' }, h("smoothly-display", { key: '691ce08e0f570a2fe95f6274c5e5a2c594ca0e81', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'ca5ba776a4c026015fe14ffd6c0f61682fb50a0e' }, h("smoothly-display", { key: '314ca518de45211edf1b423fe2fd5e6e852e0abf', type: "price", currency: "EUR", value: 260 })), h("smoothly-lazy", { key: '3ab4074da42478f0275ad173efbbcb4ae7892132', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), h("smoothly-table-row", { key: '15c7c4c80763efe785d46350dbcb9458787fa7de' }, h("smoothly-table-cell", { key: 'dc40672665de18746244848faf04db3ad9f5aeef' }, h("smoothly-display", { key: '49eb95b7c7cddc7b31919e63052773b561ec73e4', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'a06c95ad5472971a1e65334780f236ec9661730d' }, h("smoothly-display", { key: 'c7e5e70b5711a0921bc9b31a783a6c74d5052115', type: "price", currency: "EUR", value: 130 }))), h("smoothly-table-row-group", { key: '4d369fc1b9f725c6c87119f74ceacc791e7ecedd' }, h("smoothly-display", { key: '7476433911fe24ae672a06fbcd1903b30d9d4dcd', slot: "start", type: "date", value: "2024-01-03" }), h("smoothly-display", { key: '66757326ae2f2533781187b3cc539ecc630e18da', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: '074ed70eee56b560206f6af3c3653f866eb19b1f' }, h("smoothly-table-cell", { key: 'd42fa537b638422f059064fc81f3eca4b508adb1' }, h("smoothly-display", { key: '53555e64e4a188b56312547d00e051400db9109b', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), h("smoothly-table-cell", { key: '9a87625f1792a602a8f261b09639a2f3437e4a00' }, h("smoothly-display", { key: '48f68e9b82035798b802914d1e3676baeb45b1c6', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: 'fda86f80536a88dfc1b37122353d7728d59c3145', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '79f5e690018349b7bbf387f42459fd0cf7bf41c9' }, h("smoothly-table-cell", { key: 'b90737c98969bac197c075f618074d0de7e49ba4' }, h("smoothly-display", { key: 'e8f3430fe190bd51b2f16613545502e080e881ec', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'b6d3f7d14324859ba247b4936b21a8730b3d48f5' }, h("smoothly-display", { key: '2a31cd875eb7275138ff31018fa00445d98636f9', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '4fead269f59feb74e3182c5f45ceb27f75b06815', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: 'f934924e769318b0cbf620e8b36dd5beb5b9289b' }, h("smoothly-display", { key: '19cd9b2be6022ee7ca06d65ea8ed7233cfc09282', slot: "start", type: "date", value: "2024-01-04" }), h("smoothly-table-expandable-row", { key: 'da7f61e549d633fcfeb11d0b6340db1ed25b2203' }, h("smoothly-table-cell", { key: 'b317a6ff13c60a5e788285295131c314dfdc5451' }, h("smoothly-display", { key: 'fdc2c7b05beb0d0a85cb132ecda0250dec82437b', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), h("smoothly-table-cell", { key: '00332f1d86bee165bfcb258a7e0a977630391c3f' }, h("smoothly-display", { key: '482fb06ef577eebb00020dc96c1f38be4a9c06f4', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: 'e0be1bdf78a509739ba6200b84eb09b1fdceafa5', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '33394ca7530c500982772ad00fa167a28945dac7' }, h("smoothly-table-cell", { key: '9d0342b72e2e1c5c4fe165f5dd82e2bd2aea486e' }, h("smoothly-display", { key: '7067dcfee78ed06a503fda1daba6d2290e542749', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), h("smoothly-table-cell", { key: '0dc3ff01ee8aa112baadd9d9b86950be1e206863' }, h("smoothly-display", { key: 'ff66908b6e8fae1880aeb7c2e3afb2fa0459055b', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: 'd4c0cbfd9ea8e4325b8ae831e4c39e4c454a78df', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: '094dcd75d983e523eec8cb86ef99dcf162e38ea9' }, h("smoothly-display", { key: '69f640137011b2a87f19869a37d4838472a0e85c', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: '5813f668878b19bda0ec525192f8bd114b8eea10' }, h("smoothly-table-cell", { key: 'a17328b2f0e29e25462129c21a4f7285a570d55b' }, h("smoothly-display", { key: 'a0d200bab62d2d1cd9c79d671dac3a01aa49d596', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'e1d33ee6f5562a526343a7b8a8a4eedd74536faa' }, h("smoothly-display", { key: 'fbee48d8fa8d7360f35e81f52953a1e50d059f66', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: '4b35e8e6b67c474be6f1921df8c035ca75e6d65e', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '73b7b56a1374a050d4c060481691a765993d7aa0' }, h("smoothly-table-cell", { key: 'ef757fee21011b6217509b8df104bbd551a8f083' }, h("smoothly-display", { key: 'ce28e49e2b34609b9b118c1d959b40e92da999ea', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), h("smoothly-table-cell", { key: '9ab4fffdd44c403204a950bf6988c85cec2b566d' }, h("smoothly-display", { key: 'f031bf8fedf553a4a35941682c52c20a5d35945c', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '6be1eed0b8757a4ef23b2f89d207de78a691fb2a', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), h("fake-group-wrapper", { key: '217e2c3da76ee12debcfdd72e8dc1a5ce366e677' }, h("smoothly-table-row-group", { key: '6b6a75487b0649e29aaa80f09ae1525fb89d0a4a' }, h("smoothly-display", { key: '595d74d25315145d10c0f90cb425080f26327171', slot: "start", type: "date", value: "2024-01-06" }), h("smoothly-display", { key: '0960bdd999050e2ef1f54affd7d9c7e37b7a105f', slot: "end", type: "price", currency: "EUR", value: 720 }), h("fake-row-wrapper", { key: '99957e7a704294b44a16785076c8039fabafe467' }, h("smoothly-table-row", { key: '094abc7dde56b47077b83d4aeee91d935673dbca' }, h("fake-cell-wrapper", { key: 'c3046f3eb7072139a86ec4c777a83e3b31342a5f' }, h("smoothly-table-cell", { key: '65e3f33d4e058906c1e705c138f64eb875372f8b' }, h("smoothly-display", { key: 'dae18d82f496305e108996e52fb4f08df46c0b4d', type: "date", value: "2024-01-02" }))), h("fake-expandable-cell-wrapper", { key: '1f797ef11066becab0585c2d707795752cc1919a' }, h("smoothly-table-expandable-cell", { key: '7162dfb6b14b854eb20ade26aa14c41ada84ee88' }, h("smoothly-display", { key: 'a0caf476fcef38d8f0f0aac87f1a8939edf8251b', type: "price", currency: "EUR", value: 130 }), h("smoothly-lazy", { key: '96639f825747c82e48a6df2f5ffcd0aa541af947', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), h("fake-expandable-row-wrapper", { key: '96e1217758b98bb236eaf1e9fbf0cdbc7c97961b' }, h("smoothly-table-expandable-row", { key: 'b463b6ace09039c949856a47cae1646722de7515' }, h("fake-cell-wrapper", { key: '908e37e012b4e7264faafa8778161b0d23e65bbf', class: "span-2" }, h("smoothly-table-cell", { key: 'd08c1503351a035e6f8ef9052cc80c8bc9d002fa', span: 2 }, h("smoothly-display", { key: '391e427d5ddf9f1d2e82678ff66d9ffcc41c8a77', type: "date", value: "2024-01-07" }))), h("smoothly-lazy", { key: '0a8773a5d33603c6a42d84487c730eaf950a2540', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), h("smoothly-table-row-group", { key: 'f22475f2b9aca2131c4ff305aa4ba2e7c6e600ba' }, h("smoothly-display", { key: '956d8be67c99b3673d815101a05e91c9c6131439', slot: "start", type: "date", value: "2024-01-08" }), h("smoothly-display", { key: '0daba64dde819e327b688619e584b43bb042ef0d', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-group"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'ce870c3cb75e3021ae6df094be0beb4e15a4fa96' }, h("smoothly-table-demo-filler-row", { key: '8454629cbaca209d691c20e2cadb2084fb813d0c' }), h("smoothly-table-demo-group", { key: '4a39a52dd85a7820ff9144684ced5a9c39e68b9a' }), h("smoothly-table-demo-colspan", { key: '69466e2c64c235167f3f48ce792a883ccb0c4304' }), h("smoothly-table-demo-simple", { key: '7185d7dfafc506488c5d8de8eeb2d1f0771712af' }), h("smoothly-table-demo-nested-no-cell", { key: '30e67b1983df629081c1c4e7cbf4787817ce2bbb' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ export class SmoothlyTableDemoNestedNoCell {
|
|
|
5
5
|
this.loadedRows = [];
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '04d9aea1741a42783f48d2f496507f026e7ec592' }, h("smoothly-display", { key: 'b1ca21dc02166b03949f1e5733d199dfc98abe57', type: "text", value: "Nested" }), h("smoothly-table", { key: '8822eb9d9038e1475460993e8408a34e2c278fc5', color: "primary", columns: 8 }, h("smoothly-table-head", { key: 'fe36a6cf11d90f4a6d61b8f52b6c32725f9446bf' }, h("smoothly-table-row", { key: '480555a61bc7ab26c44b6ed481c5002e76f3d8fb' }, h("div", { key: '4a916151819146c8dfb3bde56af42cd9177404f3', class: "smoothly-table-cell" }, "Id"), h("div", { key: '4c5f4888480ac4afdc2a7ea0ea1223f019ac342f', class: "smoothly-table-cell" }, "Registered"), h("div", { key: 'fcbbba0e6600648b61a64f1c79021d8a3b6ff7a7', class: "smoothly-table-cell" }, "Name"), h("div", { key: 'b1ae7b7361472a8bc480eda7f578c2ef2ee31d01', class: "smoothly-table-cell" }, "Age"), h("div", { key: '5abc8febf53d4a1c88bf4d48c9f775854f79c9c0', class: "smoothly-table-cell" }, "Balance"), h("div", { key: '556a2cc1c4edadce3207d5d5f0669945aac0e549', class: "smoothly-table-cell" }, "EyeColor"), h("div", { key: 'c73289aaf060e3c633105d35ce31864109e6b0fb', class: "smoothly-table-cell" }, "Gender"), h("div", { key: '768db739d85a8a20408ea8d866af0006051d35f1', class: "smoothly-table-cell" }, "Company"))), h("smoothly-table-body", { key: 'cdb13c9d2feb7505eb856a172848a9e0a7c8eec5' }, data.map((entry, index) => (h("smoothly-table-expandable-row", { onSmoothlyTableExpandableRowChange: event => {
|
|
9
9
|
if (event.detail) {
|
|
10
10
|
this.loadingIndex = index;
|
|
11
11
|
setTimeout(() => {
|
|
@@ -13,7 +13,7 @@ export class SmoothlyTableDemoNestedNoCell {
|
|
|
13
13
|
this.loadedRows = [...this.loadedRows, index];
|
|
14
14
|
}, 1500);
|
|
15
15
|
}
|
|
16
|
-
} }, this.loadingIndex === index && h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.registered), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance), h("div", { class: "smoothly-table-cell" }, entry.eyeColor), h("div", { class: "smoothly-table-cell" }, entry.gender), h("div", { class: "smoothly-table-cell" }, entry.company))))), h("smoothly-table-foot", { key: '
|
|
16
|
+
} }, this.loadingIndex === index && h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.registered), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance), h("div", { class: "smoothly-table-cell" }, entry.eyeColor), h("div", { class: "smoothly-table-cell" }, entry.gender), h("div", { class: "smoothly-table-cell" }, entry.company))))), h("smoothly-table-foot", { key: 'd220bcbd57cd66ba23f5f0a95f91ea76815abfb5' }, h("smoothly-table-row", { key: '667777310b2345e3d3a168ce2e740bf7bb3065c2' }, h("div", { key: 'b3e7fec6bcea4b27ae2ddf5e8b23438affc74185', class: "smoothly-table-cell" }, "Footer Cell"), h("div", { key: 'ee6456fc221e5cc95ebf4ca4615f24df1a4da926', class: "smoothly-table-cell" }, "Footer Cell"))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-table-demo-nested-no-cell"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|