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
|
@@ -18,7 +18,7 @@ export class SmoothlyButtonConfirm {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '4412f32553a126e383e1d9bf32d1d0013eb85bc9', warning: this.clickTimeStamp }, h("smoothly-button", { key: '8f53b5dfa7d10e669536b87c7d91a9fe2f05a240', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: "warning", disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("smoothly-icon", { key: 'be8bbedf8b038e06468c5aac4c813a5af41205ff', name: "alert-outline", fill: this.fill, color: "warning", size: this.size === "icon" ? "tiny" : "small" })), h("smoothly-button", { key: '719d905afde3e78e2297eba4bb7cc37e1a8728d6', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: this.color, disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, h("slot", { key: 'f3add649906ef5e0d5dd6a7fb504a2af4efe0e66' }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "smoothly-button-confirm"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -11,7 +11,7 @@ export class SmoothlyCountry {
|
|
|
11
11
|
render() {
|
|
12
12
|
var _a;
|
|
13
13
|
const name = this.language && this.value ? isoly.CountryCode.Name.from(this.language, this.value) : undefined;
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'c2bcd0dea7476367642b1890e4d178168c302f2e', title: this.text == "alpha2" && name ? name : this.value }, ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toUpperCase().replace(/./g, char => String.fromCodePoint(char.charCodeAt(0) + 127397))) +
|
|
15
15
|
" " +
|
|
16
16
|
(this.text == "alpha2" ? this.value : this.text == "name" ? name : "")));
|
|
17
17
|
}
|
|
@@ -6,7 +6,7 @@ export class SmoothlyDialogDemo {
|
|
|
6
6
|
this.showFrame = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '0d1ca7f9bc049064eb1680cc807bd49bafab0e7e' }, h("smoothly-button", { key: '33683c13b2f666aea6d3306056b74b694cb88654', fill: "solid", color: "light", onClick: () => (this.openModal = true) }, "Open Modal"), h("smoothly-button", { key: '46de03312dfa5a28f164aacd442a7074148d6390', fill: "solid", color: "light", onClick: () => (this.openTallModal = true) }, "Open Modal with long text and top-aligned."), h("smoothly-button", { key: 'ea629cfa5afabb8151f230b4916d9eb13849a4d7', fill: "solid", color: "light", onClick: () => (this.showFrame = !this.showFrame) }, "Show Frame"), h("smoothly-modal", { key: '45b7313f8539478b1418298a7e086e506b18cf79', closable: true, open: this.openModal, onSmoothlyModalChange: e => (this.openModal = e.detail) }, h("h2", { key: '005f8f44463bd4f5048582f4d59b8792a02321e4', slot: "header" }, "Modal"), h("span", { key: '8bdae975d32f862fe1b2da1b75c1cdd8e0596e19' }, "Are you sure you want to confirm this action?"), h("smoothly-button", { key: '7a4fc7fbeb273ddaf66723c022c0408d7d5e6cc0', slot: "actions", color: "success" }, "Confirm"), h("smoothly-button", { key: 'c41f548b2f249ab1d04d180c6a8745f0be0c3180', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openModal = false) }, "Cancel")), h("smoothly-modal", { key: '9b8efe1c92dae88afeb60053efcc19c89fcb53f6', closable: true, open: this.openTallModal, onSmoothlyModalChange: e => (this.openTallModal = e.detail), align: "top" }, h("h2", { key: '0c7b0382250669ac142152a49f24214180b75c11', slot: "header" }, "Modal"), h("smoothly-summary", { key: 'ccb69953bda0af96ba9e6679d0492770e1face22' }, h("div", { key: '95d44ba81eec2106d470f4f84c0857aab8f9b6c5', slot: "summary" }, "Lorem ipsum"), h("div", { key: '73a8c397c891af87ebb019bdb3ace838ab40ee24', slot: "content" }, Array.from({ length: 10 }).map(() => (h("p", null, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."))))), h("smoothly-button", { key: '61c0e81f6b49ff91d58cc3536c516e25afe9ee71', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openTallModal = false) }, "Cancel")), this.showFrame && (h("smoothly-dialog", { key: 'c0315ea0fbf1a253fe4fbc7aa9e01f7b21e49293', closable: true }, h("smoothly-frame", { key: '1469ba8f2d229d42329627b12e2a4bd4028a2273', url: "https://www.wikipedia.org/", name: "parent", style: { height: "80vh" } })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "smoothly-dialog-demo"; }
|
|
12
12
|
static get encapsulation() { return "scoped"; }
|
|
@@ -18,7 +18,7 @@ export class SmoothlyDialog {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("section", { key: '
|
|
21
|
+
return (h("section", { key: '5bdc10b02671eed7397ae99e872f104cb098d2c0' }, h("div", { key: '05bbab31a6d30c2ff0e3ec64ac59c8e56560526c', class: "header" }, this.closable && (h("smoothly-trigger", { key: '4f5d1a0d5c87d22d00281fadba0ffacf20c4b8db', fill: "clear", name: "close" }, h("smoothly-icon", { key: '2474cba19d732b0d34b02a055379bf1926a8fc4d', name: "close-circle", fill: "solid", color: this.color }))), this.header ? h("h1", null, this.header) : h("slot", { name: "header" })), h("div", { key: '861af5e557c0ef202273cab84877c8806bb2c232', class: "content" }, h("slot", { key: 'e755042ab3f24972fa2eaac24914649d10dafd0f' }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "smoothly-dialog"; }
|
|
24
24
|
static get encapsulation() { return "scoped"; }
|
|
@@ -8,35 +8,35 @@ export class SmoothlyDisplayDemo {
|
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
10
|
return [
|
|
11
|
-
h("main", { key: '
|
|
11
|
+
h("main", { key: '570a8cf525b8d883f2c226fd9d1f24ef9d2a7bac' }, h("fieldset", { key: '9daf4d2a5ff6c3924c09186d0b73c8dc11ef2354' }, h("h2", { key: '01bf90a47c56197346494bbc1992edf5ab9d8b2e' }, "Smoothly display"), h("dl", { key: 'dd5fbdf6e596430cb0a18482b50a8d3ef46cc2d9' }, h("dt", { key: 'e97f6d69f565560e54956acc47c61e676db32b26' }, "Duration"), h("dd", { key: 'b3ec7065ba3cb6e1832cf22f329964bc3a983d09' }, h("div", { key: 'db46dbf07917dd784f0939803fcb97f80d4ab0a7' }, h("div", { key: 'eda3a232df465a291734a9e1e607f779727928a2' }, h("smoothly-display", { key: '894097c909f8c1b0dd276696db72daadf3365aee', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), h("div", { key: '0f258be9133609201671eb993a290b2be1ee8d2b' }, h("smoothly-display", { key: 'd98834b9c367bbb650e8e933be3ee20b93df8082', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), h("div", { key: '2dc0241b935f3d45f812fe0175731954c8e0b983' }, h("smoothly-display", { key: 'cc4c171af5aa79cf5487a8a131430bacc5248c98', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), h("div", { key: '19ff8935bb3454d538b0312530d32ff63dfb3034' }, h("smoothly-display", { key: 'e3c7ba72956c3735bc646773cf30eb78c2c4e75b', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), h("div", { key: '40d13934f818da8df03dd4215b5176cdf0089c20' }, h("smoothly-display", { key: 'f03306bc6cbd65f3ee50ce6fb57c66b2af229a83', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), h("div", { key: 'f0d127f6a00ed1c06eb36fdfa1b809354cb139ba' }, h("smoothly-display", { key: '85ea4fa490947ec5bf9810fc5e5677550b507f7b', style: { display: "inline" }, type: "duration", value: {} }), " h"), h("div", { key: 'f60948619c1fcbad63e4af03f282ff3366f1ba76' }, h("smoothly-display", { key: '846841ac1b7cd206a2a95034db25a3059dccf890', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), h("dt", { key: '3db393fff9fd7740683746088e884d83ac51e1e8' }, "text"), h("dd", { key: '2bd200acca8afd5cf72dd94294e4438e811ac411' }, h("smoothly-display", { key: 'aa88f3c9ed96edff41c91b4ed2206a04c90ed6f4', type: "text", value: "text" })), h("dt", { key: '81e183489b4fb749823c25b2a50ced9621aa432e' }, "postal code"), h("dd", { key: '390dd9916fcf42cb15a48727082a27550e46814a' }, h("smoothly-display", { key: '7e80d1d0b8746596448ca50c356e4afbe7d6f276', type: "postal-code", value: "752 31" })), h("dt", { key: 'c0d0dc8205d93cb8479713bdae1208e2847e477a' }, "password"), h("dd", { key: '0ea85f4699579f4b24f35f59775d7dec43978e5e' }, h("smoothly-display", { key: '9779849ced3842513a5c7d5d37cd20bf1f01f244', type: "password", value: "password" })), h("dt", { key: '5143b3ae0e39eb416c344a98b45974c2ad480eef' }, "email"), h("dd", { key: '8c25c7f73f1f4ec38cea3d7c520dc037df7b2224' }, h("smoothly-display", { key: '53a354324dea186db81a5b59bf75e222db33e56d', type: "email", value: "test@example.com" })), h("dt", { key: '469bd6001f5ad150ea815bb6e89a29eda53b5b77' }, "price"), h("dd", { key: 'cde7a755ca3ff50a5b0cea8eb4a1dae6aa5b253b' }, h("smoothly-display", { key: 'bb68a44ffd892b48277aa20a95f5e863680b4fa3', type: "price", value: "13.37", currency: "SEK" })), h("dt", { key: 'aff590f97d41ab80c38e7ecaba3e8023fd8ea734' }, "price without decimals"), h("dd", { key: '39a40abdaae41f74fa5e52be77cbe1045965e1dc' }, h("smoothly-display", { key: '1c653914e801725457fb55bb1b70ed56d991dabb', type: "price", value: 200, currency: "SEK", toInteger: true })), h("dt", { key: 'be366012d28535a04fa54216d29fa7835bdd789b' }, "price with decimals if they are set, otherwise no decimal"), h("dd", { key: 'f40b67c170fec282518c59179189b4f262a12804' }, h("smoothly-display", { key: '52ba5c8026d562f40ac62cd14fe1cf67b5d0c641', type: "price", value: 200.2, currency: "SEK", toInteger: true })), h("dt", { key: 'cc1048ee5cb4ef42c4396009ccb085e7ce8c3eca' }, "price with decimals"), h("dd", { key: '4814a19946eb610096f1aa76236971ca4e7d52f6' }, h("smoothly-display", { key: 'cb4cbda427c7a488bbba0c978d91a80683b9d8cb', type: "price", value: 200.2, currency: "SEK" })), h("dt", { key: 'deb381d3caec587043c0f58a58d06406f215f3e5' }, "percent"), h("dd", { key: 'afbe0bc5aa167605f50ec765a999432856019082' }, h("smoothly-display", { key: 'ffb1aee2a313b9f6ab71d42ed937619423095293', type: "percent", value: "42" })), h("dt", { key: '381bc0bb2857f9cc3b0e1b9e2cd439e35106f24b' }, "phone"), h("dd", { key: '96c9e0fb69de5004ba8666939b932f42db444db6' }, h("smoothly-display", { key: 'a242f3011ff04f9f02791b40bc0c042d9b95e087', type: "phone", value: "0101881108" })), h("dt", { key: 'ddf64889ff408a199d11b734ee2d41f15c619ace' }, "card number"), h("dd", { key: 'a6d6b94ab7b1c53b35622fb1e063b1293a637cf6' }, h("smoothly-display", { key: '8dbdba91c26bd0f1b4f923f76589b08f5c032f65', type: "card-number", value: "4111111111111111" })), h("dt", { key: 'ef7ef814a8cf29fec2f974efd32f040c3d725cc7' }, "card expires"), h("dd", { key: '84321e803af55ddd5469ef3068fd2eb8d946420b' }, h("smoothly-display", { key: '20651476830684d2a40e911a40fc00fe7f1ffe7e', type: "card-expires", value: "7/22" })), h("dt", { key: '7aef10fd17c205805fe7f5e790d12c2b89247a77' }, "card csc"), h("dd", { key: '00eca296571bf49a6c338c13a939d6f3155d4a08' }, h("smoothly-display", { key: 'c18662e291199765f4278d54e595588bfc3d6f1e', type: "card-csc", value: "987" })), h("dt", { key: 'e92d089a639a1e3357a6d39d2e499fff6bd7c2d1' }, "date"), h("dd", { key: 'f3cc2aabdec6942c8eadc2278b7a42adae09168d' }, h("smoothly-display", { key: 'fcd502f245a1c814faa093d82bb101182b3dafcd', type: "date", value: "2022-07-07" })), h("dt", { key: '81b8cbdb349df1bd1e1f84cc4bd006d7f2549c19' }, "date time"), h("dd", { key: 'eb5a64ea635751c62366292ce0ca23d125ad17ee' }, h("smoothly-display", { key: '039d66c0457be7e82b999a9e4c0672deee8fbe90', type: "date-time", format: {
|
|
12
12
|
year: "numeric",
|
|
13
13
|
month: "short",
|
|
14
14
|
day: "numeric",
|
|
15
15
|
hour: "numeric",
|
|
16
16
|
minute: "numeric",
|
|
17
17
|
second: "numeric",
|
|
18
|
-
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '
|
|
18
|
+
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '456d8713e2e366e0efd48c4b0eca946a780bcd93' }, h("smoothly-display", { key: 'a6ea10ff87584dc5ce0146d6547b0948bb625e2e', type: "date-time", format: {
|
|
19
19
|
year: "2-digit",
|
|
20
20
|
month: "long",
|
|
21
21
|
day: "2-digit",
|
|
22
22
|
hour: "2-digit",
|
|
23
23
|
minute: "2-digit",
|
|
24
24
|
second: "2-digit",
|
|
25
|
-
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '
|
|
25
|
+
}, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '0fc3da083c35e907cb4c48645ecc7a3e4a4455d7' }, h("smoothly-display", { key: '49485eb182ac66fb8f9940d3719c4059c3897dc4', type: "date-time", format: {
|
|
26
26
|
year: "numeric",
|
|
27
27
|
month: "2-digit",
|
|
28
28
|
day: "2-digit",
|
|
29
29
|
hour: "numeric",
|
|
30
30
|
minute: "numeric",
|
|
31
31
|
second: "numeric",
|
|
32
|
-
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '
|
|
32
|
+
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '40a262a2fc34177b63b7e2969b3b59a5de602861' }, h("smoothly-display", { key: 'b7f00e769f842ed9ea6a630058cd01768ec2c0ac', type: "date-time", format: {
|
|
33
33
|
year: "numeric",
|
|
34
34
|
month: "numeric",
|
|
35
35
|
day: "numeric",
|
|
36
36
|
hour: "numeric",
|
|
37
37
|
minute: "numeric",
|
|
38
38
|
second: "numeric",
|
|
39
|
-
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '
|
|
39
|
+
}, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '4a3173f9713aaa4371ab13ebd8577cd7a7935c95' }, h("smoothly-display", { key: '05904422b25f61dfc9f4325a4bb51b3d39a9aabf', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '59783d4201fcf777c5e3635ad53934644eb68310' }, h("smoothly-display", { key: '58450e26b3eeab44be1c083f7f1320976dadf783', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '0beada1376af2c6652c3dad47b08c1b1699b24bb' }, h("smoothly-display", { key: '9d1b738dd535da8a7e07b959b4e581cf0f2b93d1', type: "date-time", format: {
|
|
40
40
|
year: "2-digit",
|
|
41
41
|
month: "numeric",
|
|
42
42
|
day: "numeric",
|
|
@@ -44,21 +44,21 @@ export class SmoothlyDisplayDemo {
|
|
|
44
44
|
minute: "2-digit",
|
|
45
45
|
second: "2-digit",
|
|
46
46
|
timeZone: "Europe/Stockholm",
|
|
47
|
-
}, value: "2022-07-07T12:15Z" })), h("dt", { key: '
|
|
47
|
+
}, value: "2022-07-07T12:15Z" })), h("dt", { key: '6d2aac61ed9fad093c2f19c2ec4d4de32b12e9a0' }, "Display JSON"), h("dd", { key: '2215884fa898511c90acf6997f8e20aea4c0ea0d' }, h("smoothly-display-demo-json", { key: '85cecf5eeaa416c9baca4a7876e348b54a09dbcb' })))), h("h2", { key: '56ae1be90a6bf9a152118dab9fec7d04b2a9b8e4' }, "With labels"), h("dd", { key: '4689634be5c50bafa97e8a08baee4b85b0a621ec' }, h("smoothly-display", { key: '14067ba1153408f0d11b02a76c5685b2c1f4a374', label: "Today", type: "date", value: isoly.Date.now() }), h("smoothly-display", { key: '4ba2105f9b3e139fac91bab03b9640766a18814a', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), h("smoothly-display", { key: '138eb84408cb4efbc29f43ed1e3f9f71539dfac8', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), h("smoothly-display", { key: '2bddcb3e8ec54e29fc53a8ff4213cd157b34c8f1', label: "Logs", type: "json", value: [
|
|
48
48
|
{ type: "trace", message: "Hello" },
|
|
49
49
|
{ type: "error", message: "Oh no!" },
|
|
50
|
-
] })), h("fieldset", { key: '
|
|
50
|
+
] })), h("fieldset", { key: '830ecceb2f6904425d60f24ab37e046e4d147b04' }, h("h2", { key: 'dbab367e69309f7c29a3d025d585afbb2fa88965' }, "Test of different kinds of notifier"), h("button", { key: '187872d0e82b1389961e3d41a0998a0814f5e086', onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"), h("button", { key: '3f2ee3e8052834171ee2878dc3dcbd58d0fa6ed5', onClick: () => this.noticeWarning(Notice.succeeded("This is a test success notice.")) }, "success"), h("button", { key: '678349d8e5f0ba8b237ef1f2cd7c2b2d04aafe14', onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"), h("button", { key: '06792c0fd16258c1a306a902c77e3600bcae0872', onClick: () => this.noticeWarning(Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), h("button", { key: '91ffa7d831eefbdce57ea2732ca884a3f30129ea', onClick: () => this.noticeWarning(Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), h("fieldset", { key: '020e2fe53b4ee2f6b36a94863dbe2367d02e0b51' }, h("h2", { key: 'bb7cfda125e43c7f2afee6d7853318522456762e' }, "Smoothly spinner"), h("div", { key: 'a9f199a1fe6837f1546ee3aca45b74c399c23519', style: { width: "fit-content" } }, "Large", h("smoothly-spinner", { key: 'b3d78a677a1c3a62be4e448ac394096d62bc04e0', size: "large", style: {
|
|
51
51
|
"--spinner-background": "200,255,200",
|
|
52
52
|
"--spinner-background-opacity": "0.2",
|
|
53
53
|
"--spinner-color": "0,130,0",
|
|
54
|
-
} })), h("div", { key: '
|
|
54
|
+
} })), h("div", { key: 'db5b5ce167113c8471537bc9604af1d31ef5f228', style: { width: "fit-content" } }, "Medium", h("smoothly-spinner", { key: '2eff854f0c518cb3928615775367c6ca768f1a9e', size: "medium" })), h("div", { key: 'b92410ef7ff77eb220554dce92ee9e5e0161b8d2', style: { width: "fit-content" } }, "Small", h("smoothly-spinner", { key: '4836644ee23ce44de781fc59b185c363d2d10e5e', size: "small" })), h("div", { key: 'a6b659783973f77a39e1643940fc97f77be1f7ad' }, "Icon sized spinner on button", Color.values.map(color => (h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
|
|
55
55
|
this.downloadingSpinner = true;
|
|
56
56
|
setTimeout(() => (this.downloadingSpinner = false), 3000);
|
|
57
|
-
} }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: '
|
|
57
|
+
} }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: '8161fb53d9dfa5aba8bc164adcaf9e3daeeaa627' }, "Spinner with overlay"), h("div", { key: '8d4115c6ab8a24add137c06cde794937aba85b69', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", h("smoothly-spinner", { key: 'd04a2e77e759e5e094244922ec70fc150bac6858', overlay: true, size: "large", style: {
|
|
58
58
|
"--spinner-background": "255,200,255",
|
|
59
59
|
"--spinner-background-opacity": "0.5",
|
|
60
60
|
"--spinner-color": "0,130,0",
|
|
61
|
-
} })), h("div", { key: '
|
|
61
|
+
} })), h("div", { key: 'e284851987d3e475d72dd68e5465ff2b54e38710', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", h("smoothly-spinner", { key: '29d593da93d2e11ac520650d64af1de6728e837e', overlay: true, color: "secondary", size: "medium" })), h("div", { key: 'bcc6e156596f946964173cf9a100dce8f3f9adcb', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", h("smoothly-spinner", { key: '57498aeaf7c8690958a1f42d80220bf6ba01a069', overlay: true, size: "small" }))), h("fieldset", { key: 'ed65a407dde854768a1934add1d88a40d99f20c5' }, h("h2", { key: '3f0a8eba2588ac878f02104f60fbc6072173c480' }, "Smoothly summary"), h("smoothly-summary", { key: 'b5538b3841957408ca25314d20789fc87db9f89c' }, h("span", { key: '0a66c656b75981dd493f9288522c914c6aaf3177', slot: "summary" }, "Some title"), h("smoothly-summary", { key: 'd7a1064544e0f530ee18fc98e5dbac110f7aad79', slot: "content" }, h("div", { key: '7dc9a5d35ddd789ef54fe021ecf9b784793a3074', slot: "summary" }, "Some other title"), h("div", { key: 'b0b0000431972ce6510eeb966d35f90f98baa372', slot: "content" }, "A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please."))), h("smoothly-summary", { key: '7eac5c136d5ed3c09c53f676991fb957bdea50f2' }, h("div", { key: '45239a377a7ae5b15baa3fefaca04f965bc3dd80', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, h("span", { key: 'aed615a5e1dcfece04dc29d3381e706e89328025' }, "Person"), h("smoothly-icon", { key: 'bbdbee4093170b788015686e6ac31cb75adfb3c4', name: "person", color: "light", fill: "clear", size: "tiny" })), h("p", { key: 'dcbe807176c6c8c0a642b8351487c63a2a31d1d1', slot: "content" }, "Some person information.")), h("h2", { key: 'b939b82ef761060a6de4190fd80e5aec1d6c6938' }, "Label"), labels.map(l => (h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), h("smoothly-label", { key: '9dd6878b3e540f24dee8fc99d6834a6c2ed85744', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
62
62
|
];
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "smoothly-display-demo"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyDisplayDemoJson {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'dd76081f4adf3ae47e0015c2f17b43e50c6ace15' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
5
5
|
h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
6
6
|
h("div", null, h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
7
7
|
])));
|
|
@@ -9,16 +9,16 @@ export class SmoothlyDisplay {
|
|
|
9
9
|
const type = this.type;
|
|
10
10
|
switch (type) {
|
|
11
11
|
case "json":
|
|
12
|
-
result = h("smoothly-display-json", { key: '
|
|
12
|
+
result = h("smoothly-display-json", { key: 'fd641ce179a967152448d7c489ad96dd5ea6cc4e', value: this.value, collapseDepth: this.collapseDepth });
|
|
13
13
|
break;
|
|
14
14
|
default:
|
|
15
15
|
result = tidily.format(this.value, type);
|
|
16
16
|
break;
|
|
17
17
|
case "email":
|
|
18
|
-
result = h("a", { key: '
|
|
18
|
+
result = h("a", { key: 'd32e3545f5b4e43e0b8f383ba0ef7274472f4d41', href: "mailto:" + this.value }, tidily.format(this.value, type));
|
|
19
19
|
break;
|
|
20
20
|
case "phone":
|
|
21
|
-
result = h("a", { key: '
|
|
21
|
+
result = h("a", { key: '3b6156fba727f342215fc2510e497bf24e21fa9b', href: "tel:" + this.value }, tidily.format(this.value, type, this.country));
|
|
22
22
|
break;
|
|
23
23
|
case "postal-code":
|
|
24
24
|
result = tidily.format(this.value, type, this.country);
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { JsonValue } from "./JsonValue";
|
|
3
3
|
export class SmoothlyDisplayJson {
|
|
4
4
|
render() {
|
|
5
|
-
return h(JsonValue, { key: '
|
|
5
|
+
return h(JsonValue, { key: '939a93b45e7f0f021c361331d011e7cb61627fed', value: this.value, collapseDepth: this.collapseDepth });
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "smoothly-display-json"; }
|
|
8
8
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,9 +21,9 @@ export class SmoothlyDisplayJsonObject {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '9c9b5a46433770a7d56343c4bf723163e8a56475', class: { empty: this.empty, open: this.open } }, h("span", { key: '836957462d65b5c136231bd3867f7da169ecb343', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), h("span", { key: 'ef132e20317fb0b1b3f38442fec7bd2731ec5c43', class: "content" }, Array.isArray(this.value)
|
|
25
25
|
? this.value.map(v => (h("div", { class: "indent" }, h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))
|
|
26
|
-
: Object.entries(this.value).map(([k, v]) => (h("div", { class: "indent" }, h("smoothly-display-json-record-key", { value: k }), ":", " ", h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))), h("span", { key: '
|
|
26
|
+
: Object.entries(this.value).map(([k, v]) => (h("div", { class: "indent" }, h("smoothly-display-json-record-key", { value: k }), ":", " ", h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), h("span", { class: "comma" }, ","))))), h("span", { key: '50bed891b85fc5d407cad5e8ae1d53dcf56551d2', class: "close-bracket" }, this.closeBracket)));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "smoothly-display-json-object"; }
|
|
29
29
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyDisplayJsonRecordKey {
|
|
3
3
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
4
|
+
return h(Host, { key: '67d6629e71ecde01829b6279188bc7332c3d9379' }, "\"", this.value, "\"");
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-display-json-record-key"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyDisplayJsonPrimitive {
|
|
3
3
|
render() {
|
|
4
|
-
return h(Host, { key: '
|
|
4
|
+
return h(Host, { key: '017bbc369b1e8ff42466411a5b28b52c5661b740', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-display-json-primitive"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoAll {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '2b2e779dc35f9f35173515a6db59425654d7446a' }, h("h2", { key: 'b2423e5f45a6841b6fedcb7db17626ed192ee15d' }, "All inputs"), h("smoothly-form", { key: 'ac6fc721d22456edb5104ba9553c423d6f8bdebe', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
5
5
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
6
|
-
} }, h("smoothly-input", { key: '
|
|
6
|
+
} }, h("smoothly-input", { key: '4ec033bb9d51a7edc81cce2a1fde55bd21458318', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '8d6abee797b1c9b60efeb068c828453174401012', showLabel: false, name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: '8caeac3cbd2290eaeeda549aea083d4499b960c5', size: "icon", slot: "end" })), h("smoothly-input", { key: '9a22277ed064a84b98a8c68c5f176758735748f0', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: '2b45ff8ceaf71289d350e102d53123dc1c82600f', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '15856b48204c21b5f7318df22130e17aa3e14e8d', clearable: true, name: "radioFirstInput" }, h("label", { key: 'c94b6e0c185c8ab4325161a6e4249863017e5eb2', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: 'e978bde5ec519ab872eac3fb2a7d75b493099f31', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '3c30fd0d9b549f93c912759f8329570db377df79', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '2f3f773cade1c39fa2a121b24ba2778a42d9a9b0', value: "third" }, "Label 3")), h("smoothly-input-color", { key: 'f1e0b0b1e759c85c5de1f3a8af9818b41c692bdb', name: "color" }, "Color"), h("smoothly-input-select", { key: '7e1069ff0515224e17145539afefec11979ed88c', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'c42749acb44e6e7db99f4e7981f20ad0c09f1694', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: 'fdd0c90294bdf50d77ccf187777fdd804760b8ac', value: "1" }, "January"), h("smoothly-item", { key: '4f0c9d90f6909eaacccd5d385e317832f5a8b213', value: "2" }, "February"), h("smoothly-item", { key: '7779ea4af1f17cb48ef0249b7857262deb6c485d', value: "3" }, "March"), h("smoothly-item", { key: '5f15c3d32240bfb7c3b8d0a61f90599697b8e2a0', value: "4" }, "April"), h("smoothly-item", { key: '0952c95b2cf623f5573d70b5fa39b1c1ce008f16', value: "5" }, "May"), h("smoothly-item", { key: '1352e9245e39341d99d1bc8d051691b6b70dac37', value: "6" }, "June"), h("smoothly-item", { key: '7eddedff608a9148cb2b9c17f23ac2108b2190fd', value: "7" }, "July"), h("smoothly-item", { key: '627e81c5c7ddd5e1230b6eead20ac7932edbff9a', value: "8" }, "August"), h("smoothly-item", { key: '587bcf666e0bc92c14f5665f975563f06a419bac', value: "9" }, "September"), h("smoothly-item", { key: '896f05e2b88d7613cbc7f21b2aa4c58f1ae3938d', value: "10" }, "October"), h("smoothly-item", { key: 'fb539afa5edd3fe8391df5fc9d63fcb84940512c', value: "11" }, "November"), h("smoothly-item", { key: '959e9af2c479a299431f302041649bd86f5db331', value: "12" }, "December")), h("smoothly-input-select", { key: '64e83fb7dba19c8c21b5697eade0c7c5404d330c', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: 'b1a055ab1c73f28e0b49e626561aeff83efb124b', value: "folder", selected: true }, h("smoothly-icon", { key: '9ba931c9dd28c9f88168f5ab94fd80bc6f7f6bc0', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'acd791714a16504b5dc6a56f2fbfc89cf1ef4600', value: "camera" }, h("smoothly-icon", { key: 'd65e7beb3c74941bf494769126124ef79ce800d0', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: 'd6f2f199daf447bb0992ca8839b89e4e14166846', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '79885d84642626f7cba6d348d0044f2c8037007e', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-range", { key: '7e791279c3b1bd2898d4c5e9e35ef9df76aa14cf', step: 1, name: "range3", value: 20, label: "Range" }), h("smoothly-input", { key: 'f7b07cef9882952dc91be6484c04ba459ef5db62', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: '44b404105c6d9aa19c7f14ac529e7b8ab3f964e9', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), h("smoothly-input", { key: 'aca9bc7aebd243f8e82158d1c60b7a69886e9a02', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: '674b16d94949bcbd3fd4980b0b262ba580efbd5b', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), h("smoothly-input", { key: 'b25175ffa941b70d606a66db0f97e61547faf5b9', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: '0113d466fc09afc4734a65500cdc20b06267d77d', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), h("smoothly-input-file", { key: 'cd15c39915ea43095e237f4f1952ed271f6e756b', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: 'a6138d70fbf10e1cf7cc4ad624422315d05c9619', slot: "label" }, "Profile"), h("smoothly-icon", { key: '5c53d92dd91402c2db9d57dc3dfd274cbea4b730', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input", { key: '497261e5f152c2af406dcc6860a6092df8bbe1af', type: "duration", name: "duration", value: {} }, "Duration"), h("smoothly-input-clear", { key: '7ba91aa6d31f7ff2ebbb3d07bd958610aad0fc1f', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: 'fd6a01b3f7417aa4074bbf2ca385cec9d437e429', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: '3221d6e405488a7af0b917c99ee7f5acd9ca9f1d', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: 'e81eff668f6592a23f3f13262c123e97d1ca6c30', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '334bca3eb505ccd23c75efe1d3d66faa7638f4e0', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "smoothly-form-demo-all"; }
|
|
9
9
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoCard {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '12a00d87271d0af126cadbad9443b858e477561e' }, h("h2", { key: 'b5f4db995901068b60a0005cd99e81c818ea19cc' }, "Card"), h("smoothly-form", { key: '327812f8a2d381d9806338675532029d4f42ce59', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, h("smoothly-input", { key: '3379bf37a7333b1599aef7c0362e3e45af69f99d', type: "card-number", name: "card" }, "Card #"), h("smoothly-input-submit", { key: '66f625510bd3f7f2bcd67671e39a55e4009c6f40', size: "icon", slot: "submit", color: "success", fill: "solid" }), h("smoothly-input", { key: '2a050bd1808ed0b2b75ba5a62581e942788d115f', type: "card-expires", name: "expires" }, "Expires"), h("smoothly-input", { key: '4ed6ae1574aaf02fde846bd23dc55782c0f066ac', type: "card-csc", name: "csc" }, "CVV/CVC"), h("smoothly-input", { key: 'd0e62a606289683f604016a935564f8602daa041', type: "text", name: "name.first" }, "First Name"), h("smoothly-input", { key: 'bfbd0c1a13053aa98d9a93dcc06ceae8b933561e', type: "text", name: "name.last" }, "Last Name"))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-card"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -33,7 +33,7 @@ export class SmoothlyFormDemoControlled {
|
|
|
33
33
|
event.detail.result(false);
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: 'be70b1b758bbe11772a1ba8ba7dca4f5405ea651' }, h("h2", { key: '68973a8cf2107ecaa72790a917cf14191cfd0fa9' }, "Controlled"), h("smoothly-form", { key: '4da1c66f41c89d78c180b55b3ae1df15190eae0c', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input", { key: '201cb10b36c39d6a5a98d456459b82ef9d3f0a7d', type: "text", name: "name", value: this.name }, "Name"), h("smoothly-input-select", { key: 'a434d27014de8a28230f7bc60a3b5c6b706005b6', name: "currency" }, h("span", { key: 'eefb198ba0a863dd7c6ff37162383522c722803c', slot: "label" }, "Currency"), this.currencies.map(currency => (h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '4813e2c249bd21afc6a2c1a6ab78793b49fa2d68' }, "Dummy"), h("smoothly-input-month", { key: '7225723a71776a7d9d88a21361443128a5893d42', name: "date", value: this.date, next: true, previous: true }, h("span", { key: 'be0572c78ce576807a459738426416e941a997fd', slot: "year-label" }, "Year"), h("span", { key: '99bb6cf5516bccb1721013e87ca2bec463341983', slot: "month-label" }, "Month")), h("smoothly-input-edit", { key: 'b7be05116d563ee33665f502c45bd01d9aaf61e1', slot: "edit", size: "icon", color: "primary", fill: "default" }), h("smoothly-input-reset", { key: 'bf423459f9b8717e9de26e4c900d054ea90baf7a', slot: "reset", size: "icon", color: "warning", fill: "default" }), h("smoothly-input-submit", { key: 'fd42172c00aae5c33f2b22e3d3bdccb6e71ec294', slot: "submit", size: "icon", color: "success" }))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "smoothly-form-demo-controlled"; }
|
|
39
39
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SmoothlyFormDemoDate {
|
|
|
21
21
|
event.detail.result(false);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'f6a0bf1656158091b0b9d6647707ec6c919cbf66' }, h("h2", { key: '210f22f5cbef0a441d7863764a0b6665afecdce1' }, "Date input"), h("smoothly-form", { key: 'eea3a74d6591f0193d8043d552a506868af1721d', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date", { key: 'b9fc6aca0411799a7dd952a4ae27fff20bb7a085', name: "date" }, "Date"), h("smoothly-input-submit", { key: '9abd42160b4efd43ec4e976bd143871437d2d08b', slot: "submit" }, h("smoothly-icon", { key: '690f42105cb25db4275ba0c03bdaa6a16b24faa3', name: "checkmark-outline" })))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "smoothly-form-demo-date"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SmoothlyFormDemoDateRange {
|
|
|
21
21
|
event.detail.result(false);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '3833e26bb2993e1c9e34f9ae0e769667be96068f' }, h("h2", { key: '22a384e50f46467bcbafa7be795461024c25b8b0' }, "Date-range input"), h("smoothly-form", { key: '201517c3e9cd58a086d978da2b80d94cbb4b7a36', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date-range", { key: '6cb457ad45877b3e36c60cba1c8f364133648478', name: "range" }, "Range"), h("smoothly-input-submit", { key: '91e289602933e30ee845516efc85094ff03c453d', slot: "submit" }, h("smoothly-icon", { key: '93d0acb0034106aeadfb8727cb2bb7e6b1bad52a', name: "checkmark-outline" })))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "smoothly-form-demo-date-range"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'e6b40ea5e535c8fd4fbbe65aa060d0ba061f5a3e' }, h("div", { key: '848116c5bc43a4a5adb20ecf3f66a66b050e529c' }, h("smoothly-form-demo-all", { key: '44179c77bfd53bfa4f347a465a3f4000d4d94b08' }), h("smoothly-form-demo-pet", { key: '356b17321dc0f11e63c8dd4846c4e1d91c7b6b5c' }), h("smoothly-form-demo-card", { key: '2584856236b89b5818551f8826056c0a14ab6356' }), h("smoothly-form-demo-login", { key: 'dacc85e611dec4115fefc49f63463912b6718285' }), h("smoothly-form-demo-prices", { key: '500d6d4c056c79113b16bd0f67bfe0ab562cd8d8' }), h("smoothly-form-demo-typed", { key: '933cce32ed4668eb28140c0c01c8238cdf1526d2' }), h("smoothly-form-demo-transparent", { key: '2a39b5d64aaff4d53d703c9508df3de18d5a6ad6' }), h("smoothly-form-demo-date", { key: 'fb0a6356529047d3bbbebd1b5980c2884be0cbb6' }), h("smoothly-form-demo-schedule", { key: 'c7eb48895c714d436f04544af9519a93232f76d0' }), h("smoothly-form-demo-date-range", { key: '6370bf9ca0671705777b03e6b985361d06ee9d56' }), h("smoothly-form-demo-controlled", { key: 'abf920dd124a8c43ce7818ba29bb1931a4b90910' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoLogin {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '2c9674e5f435d97bd0387de4d5b91443aa521196' }, h("h2", { key: 'd1440db142e8443b534d60a050416740e0ba82f9' }, "Login"), h("smoothly-form", { key: 'f1fa4c58d439b4465a4cc3eaad87637ecbf3ac51', looks: "border" }, h("smoothly-input", { key: 'c419a3578e1de751d77052c78992bfe9daef6238', type: "text", name: "username" }, "Username"), h("smoothly-input", { key: 'fbce70bd6ac07efbf59bb39ea1d728a3e78c6d77', type: "password", name: "password" }, "Password"), h("smoothly-input-reset", { key: '22df0cdc42340f207032132943cd3a5206dee49b', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: '83967b0011d19526ec165d2888a5bd4533a4cf0c', slot: "submit" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-login"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -7,10 +7,10 @@ export class SmoothlyFormDemoPet {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
var _a, _b;
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '1e20a61c9db6aafdf47e54ed7aaef6c1ca3d8bfa' }, h("h2", { key: '45492fefcf3cc0fb1a4010711cf10f0bded34893' }, "Pet"), h("h3", { key: 'bc05c80a795091886b94ba85dd89746e58159ea3' }, "Value"), h("smoothly-form", { key: '42a8ccf63773aa8b235931cc66415cfd0f1f0c14', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, h("smoothly-input", { key: '3606396ae683768fb6ef5e5940f43fbef81800c9', type: "text", name: "name.first", value: "Johnny" }, "Name", h("smoothly-input-reset", { key: '1128b00ce30571d90960f0747caf90394d08f093', slot: "end" })), h("smoothly-input", { key: 'fbd205ba349d3f754af21ebdc40434946bb712a4', type: "integer", name: "age" }, "Age (Years)"), h("smoothly-input-checkbox", { key: 'e4465a244c36403f0869f5d739d9cdea595136ce', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
11
11
|
this.hasOwner = e.detail.hasOwner;
|
|
12
12
|
e.stopPropagation();
|
|
13
|
-
} }, "Has Owner", h("smoothly-input-reset", { key: '
|
|
13
|
+
} }, "Has Owner", h("smoothly-input-reset", { key: '7be8886cdeedbdeb87c28b2024c26bd4532f07ed', slot: "end" })), this.hasOwner && (h(Fragment, { key: '972c8da03c31ff920a5131daa1d046f7e80418c1' }, h("smoothly-input", { key: '4fd076e713c449b56e4d3b38b47009a3301c81df', type: "text", name: "owner.firstName", value: this.owner.firstName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { firstName: e.detail["owner.firstName"] })) }, "Owner First Name", h("smoothly-input-reset", { key: '2af7bfb23d1d67903be625827d5d237640fc16b0', slot: "end" })), h("smoothly-input", { key: 'ba357c367c5006c2002dee8f597b0344572c6238', type: "text", name: "owner.lastName", value: this.owner.lastName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { lastName: e.detail["owner.lastName"] })) }, "Owner Last Name"), h("smoothly-input-file", { key: '8caa1d54740a0e1fb3b29d709f6feb32c8c45a31', name: "owner.picture" }, h("span", { key: '10332335746aadd62719e024aaa6f825a5b2800b', slot: "label" }, "Owner picture")), h("smoothly-input-date", { key: 'c8c1afc04ae737af2b45c061ee21b4dfb1713869', name: "owner.birthday", value: this.owner.birthday, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { birthday: e.detail["owner.birthday"] })) }, "Owner birthday", h("smoothly-input-reset", { key: 'e13a649d0d308340d419d2355d7d48fbfce257e7', slot: "end" })), h("smoothly-input-date-range", { key: '952264d17218340e89fe16c40b6003ee94f34c9e', name: "owner.ownedRange", start: (_a = this.owner.ownedRange) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.owner.ownedRange) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { ownedRange: e.detail["owner.ownedRange"] })) }, "Owner ownedRange", h("smoothly-input-reset", { key: 'f99d74c312b6b7ddc3d3b169b672d3cc478cb3a3', slot: "end" })), h("smoothly-input-range", { key: 'd799c177fa826a5a582d1785add6d9ac512434a2', name: "owner.height", step: 1, max: 250, value: this.owner.height, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { height: e.detail["owner.height"] })) }, "Owner's Height", h("smoothly-input-reset", { key: 'a872fe1b4ae49293daad5ca2c781fe9abe514b95', slot: "end" })), h("smoothly-input-select", { key: 'cc6a5ef5238abc4dce3c2321c8f5c184c0dfe320', name: "owner.favoriteHat" }, h("span", { key: 'a073973ff9b090a82a23b81ca82875ac5155f822', slot: "label" }, "Owner's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (h("smoothly-item", { value: value, key: index, selected: this.owner.favoriteHat == value }, value))), h("smoothly-input-reset", { key: 'c39f9d320b08362f082749f5338de8d4530f9da5', slot: "end" })), h("smoothly-input-color", { key: '50e462d1f87b19685f627deb90d9eb3d2798c15a', name: "owner.favoriteColor", value: this.owner.favoriteColor ? RGB.toHex(this.owner.favoriteColor) : undefined, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoriteColor: e.detail["owner.favoriteColor"] })) }, "Owner's Favorite Color", h("smoothly-input-reset", { key: 'd63535ee7ac6bae7424f60bff48cc5342594ced6', slot: "end" })), h("smoothly-input-radio", { key: 'f015946e2a17358be9f8279c5f92566101dd69ef', name: "owner.favoritePizza", value: this.owner.favoritePizza, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoritePizza: e.detail["owner.favoritePizza"] })) }, h("span", { key: '0e33220f442cf7e1b2908259c68bbf196fe2d2b2', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: '7db7129193020bc6375b859f8eed9bbd3a774b72', name: "owner.hasPet", checked: this.owner.hasPet, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { hasPet: e.detail["owner.hasPet"] })) }, "Has Pet"))), h("smoothly-tabs", { key: 'c02261545ec207a2be19261796ff1ab0322221c7' }, h("smoothly-tab", { key: '64fc9145089d8175e87b77746a301d2a300227ff', label: "Dog", name: "dog" }, h("smoothly-input", { key: '93efb08d77a27ebeb0ec1ffaa31d8f20ad1c5c79', type: "text", name: "dog.breed" }, "Breed"), h("smoothly-input-file", { key: 'fbb759287fbb384110dab6bd67e526e0e1b87061', name: "dog.picture" }, h("span", { key: '75354c72313adfbf2f0590a4a1d629b056a584d0', slot: "label" }, "Dog picture")), h("smoothly-input-date-time", { key: '67cb08aae3427ea09418763cd4f5c89f4c12885c', name: "dog.lastWalk" }, "Time of last walk"), h("smoothly-input-date", { key: 'bfc8d1878f5e8c0b9e06dd6db93c5414d072aade', name: "dog.birthday" }, "Dog birthday"), h("smoothly-input-date-range", { key: 'd89333abe0b84513f7b59d0910ec979dc63e4f76', name: "dog.dateRange" }, "Dog date range"), h("smoothly-input-select", { key: '0ca96cd6cd0ed9d0d0b6e3212c4e545b1783edda', name: "dog.favoriteHat" }, h("span", { key: 'e9bb41040522fc010702793420c2f448fa2fc0af', slot: "label" }, "Dog's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (h("smoothly-item", { value: value, key: index }, value)))), h("smoothly-input-color", { key: '609b660e2980b33ac4c437fd3a2cecc212fb700d', name: "dog.favoriteColor" }, "Dog's Favorite Color"), h("smoothly-input-radio", { key: '496506fd830c3da16c3cbb32ed7a93b54e1d023f', name: "dog.favoritePizza" }, h("span", { key: '59bdad0dc97036ca753d7de08dadcd9ab888df47', slot: "label" }, "Dog's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: '2ad32725e92f4eb3f6402751facf72563491a5a7', name: "dog.hasPet" }, "Has Pet")), h("smoothly-tab", { key: '09d4b79adbbf8772285a13ce1bb45fea67c3c019', label: "Cat", name: "cat", open: true }, h("smoothly-input", { key: '2a298883bf58261ec42cd8a7cb220421604233f2', name: "cat.favoriteFood" }, "Favorite Food")), h("smoothly-tab", { key: '6ded1101edaf7025402e2084cfa3d530a9440497', label: "Parrot", name: "parrot" }, h("smoothly-input", { key: 'c6fec8eff6ed07080cfcfd7e04a1accd9be5e698', type: "price", name: "parrot.price", currency: "EUR" }, "Summary Price"), h("smoothly-input-file", { key: '1ef6c74c21f3a530ea18a5fb843c0f39c5d09a5c', name: "parrot.picture" }, h("span", { key: '1506866be3f7d5032caa07277ddb4900adf796e4', slot: "label" }, "Summary picture"), h("smoothly-input-clear", { key: '2768b4e77018167d8c5459561627c7176f6af19e', slot: "end" })), h("smoothly-input-date", { key: '4482cadd8c81d8cf68d01d940759c9c8fa302889', name: "parrot.birthday" }, "Summary birthday"), h("smoothly-input-date-range", { key: '1db7a128f9fe548e64a26b106f0428cf027515dd', name: "parrot.ownedRange", start: "2020-01-01", end: "2020-01-15" }, "Summary ownedRange", h("smoothly-input-reset", { key: 'f61bb824149c3927ee9e7df5474bc1140b557c2d', slot: "end" })), h("smoothly-input-range", { key: '455be79335de1c32001a9baf41bc6601600a6f2b', name: "parrot.height", label: "Height" }, h("smoothly-input-reset", { key: 'f0c5284602a08d52331e2fca63bf561212bce4f9', slot: "end" })), h("smoothly-input-select", { key: '2b5d15b9bdda780755ddb704019bdf9b075f7593', name: "parrot.favoriteHat" }, h("span", { key: 'e23e7228157f39f8d5b565c6283e65d848d662f2', slot: "label" }, "Summary's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index) => (h("smoothly-item", { value: value, key: index }, value)))), h("smoothly-input-month", { key: '282eb367f0a8bbcc9b296358933c83a2ab1246a2', name: "parrot.month" }, h("span", { key: '46678c21d019c38d586da52a8ca5ba14e54f9545', slot: "month-label" }, "Summary month")), h("smoothly-input-color", { key: '74de10bf1eb9a54f1f5139f9b7549b84d90f521e', name: "parrot.color" }, "Summary Color"), h("smoothly-input-radio", { key: '2135343dbedb74df58a88e011921ed5cf93a8f69', name: "parrot.favoritePizza" }, h("span", { key: 'b549ce953d14b96b12496f989cf8c237fa697d6d', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index) => (h("smoothly-input-radio-item", { value: value, key: index }, value)))), h("smoothly-input-checkbox", { key: 'e4fd4673ea5c4feb91142062527f7537f715738e', name: "parrot.hasPet" }, "Has Pet"))), h("smoothly-input-submit", { key: 'c757eec9af05b183a036119430533a2fdfa7ff26', size: "icon", slot: "submit", color: "success", fill: "solid" })), h("smoothly-display", { key: '94108e7af02550ba3ea038b879e0db56fe057833', type: "json", value: this.value })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-form-demo-pet"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoPrices {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c1873c86bb44177e638d7b52d7bbbcb1d0482e1b' }, h("h2", { key: 'a8edb5f0241dac96350d75eaad7b0c78adf1c13b' }, "Prices"), h("smoothly-form", { key: '143874192e2caf3ce0297983e1c5ecc6002705a2', looks: "line" }, h("smoothly-input", { key: '151a20903ab8024b291ef1cd6f868bfcbdfdf187', type: "price", name: "no" }, "No currency"), h("smoothly-input", { key: 'c7a5959241c42d8fee2d741064585c1c79560544', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), h("smoothly-input", { key: 'cfe92d5a2e94598e728d0f0b815652e4ed6d33e1', type: "price", name: "usDollar", currency: "USD" }, "USD"), h("smoothly-input", { key: 'bd3ffd16af42eb13fe3d6ea4ddad8ceb83827671', type: "price", name: "pounds", currency: "GBP" }, "GBP"), h("smoothly-input", { key: 'a12b9078e45b65a5b281a0c4ff40caf6446522b8', type: "price", name: "peso", currency: "UYW" }, "UYW"), h("smoothly-input", { key: 'a8a1efcb2bacb8e56b552aeda19e65eca5690fd3', type: "price", name: "iceland", currency: "ISK" }, "ISK"), h("smoothly-input", { key: 'be59abc2f31cb215c192566ca4218a19cf2f004a', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), h("smoothly-input-reset", { key: 'a331ae378f5c10553c3b7f7669322c3d4e9d9973', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: 'bef886536c5366779bf3c7c10e35a3e42f65075b', slot: "submit" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-prices"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -14,7 +14,7 @@ var TimeTable;
|
|
|
14
14
|
})(TimeTable || (TimeTable = {}));
|
|
15
15
|
export class SmoothlyFormDemoPrices {
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: 'af726abe173fe267f43278671ab53c62184ca7b3' }, h("h2", { key: '85994b1d612017c07fcbff85d1c7520419c4125f' }, "Schedule"), h("smoothly-form", { key: '7bace3476a4344bb7ece715a3d797acadf40dd58', looks: "line", validator: TimeTable.type }, h("smoothly-input-date", { key: '5450e239098e87b0eacc7da44459d35dc30bb5dc', name: "schedule.0.date" }, "Date"), h("smoothly-input", { key: '9cc1b52c9f636a99b549267198503d47b3afb0f8', name: "schedule.0.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '5f298fa2efabe38e2aef28d9c992ec1ec0804b46', name: "schedule.1.date" }, "Date"), h("smoothly-input", { key: 'b71aba89d7e05258226fbbaaf705dc9c435a1c37', name: "schedule.1.amount", type: "price" }, "Amount"), h("smoothly-input-date", { key: '22095cea02b58862ae930857daee6242a51b33b6', name: "schedule.2.date" }, "Date"), h("smoothly-input", { key: '9c33bd7be7e0de733986cc2ef6f9c2e52b3f273a', name: "schedule.2.amount", type: "price" }, "Amount"), h("smoothly-input-reset", { key: 'b02b3225e549665b393a77627da3304881473f9e', slot: "reset", fill: "default", type: "form", color: "warning" }), h("smoothly-input-submit", { key: '25d0d08fb11531e71d0f9c4a9394d3bb36a0565c', slot: "submit" }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-form-demo-schedule"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyFormDemoTransparent {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fc0659542a5e17d903ecb4da9aee7679ef39cdec' }, h("h2", { key: '1d1b9ac96324d7c421cdb19d2734bd2fbbb5a8fb' }, "Transparent"), h("smoothly-form", { key: '992b6ce5260a8af1f63b9025faca67acef755dc2', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, h("smoothly-input-file", { key: 'e79178c59b6617703cb42fdeb16a246047110f85', name: "file" }, h("span", { key: '0c34c069e55446fdf26eef201f492000b1692a3e', slot: "label" }, "File"), h("smoothly-icon", { key: '85c1a66268e78a94b308be411ff5cb712890a1b0', slot: "button", name: "folder-open-outline", size: "small" })), h("smoothly-input", { key: '64c3c4206bf9455f5c923c427cae185c5f84ca60', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), h("smoothly-input-date", { key: '006326702c0d9d6f349292de7531b390e6b7add8' }, "Date"), h("smoothly-input-date-range", { key: '78784fe14706cbbb5d8ef6d040891127991a418b' }, "Date Range"), h("smoothly-input-select", { key: 'e48d3d2cd97b472558f2cbfb7c19aed71c505ed1', name: "transport" }, h("smoothly-item", { key: 'afdc23c9ed61e272893ddd45b70e8d62f0e613fc', value: "plane" }, h("smoothly-icon", { key: 'ba6c15f1ac729420811ff77b355424426f2b35eb', name: "airplane-outline" })), h("smoothly-item", { key: '90c591649758b43835de47380f9cf0ba89665a43', value: "car" }, h("smoothly-icon", { key: '170d4aeeec48e2ea8d57ee17421daa0eacbd6125', name: "car-outline" })), h("smoothly-item", { key: 'fce1fc75af8d839f10d1057d699b5049cd4bee84', value: "bus", selected: true }, h("smoothly-icon", { key: '1fbb7c4afc326efe8d569c5c032fb7d285876974', name: "bus-outline" }))), h("smoothly-input-submit", { key: 'fd292fb5b88f89e103d843e95b14ccf7a3ab9871', icon: "checkbox-outline" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-form-demo-transparent"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -3,7 +3,7 @@ import { isoly } from "isoly";
|
|
|
3
3
|
import { Contact } from "./Contact";
|
|
4
4
|
export class SmoothlyFormDemoTyped {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: '2dbbb21af22c211fa354d7213c94088ec796cf8d' }, h("h2", { key: 'f944fd5f9a04be35baa6d04760ef8fd083f84c6c' }, "Typed Contact"), h("smoothly-form", { key: '43b74057023eda58b4b89ba9c52e59f9f8fd2329', validator: Contact.type }, h("smoothly-input", { key: '6179ce405787b71e56af49ab16cac3d225476c9b', name: "name.first" }, "First Name"), h("smoothly-input", { key: '41568d9f6447f715c2d9ca414aeca6e103085df8', name: "name.middle" }, "Middle Name (optional)"), h("smoothly-input", { key: '71407b265ac5f00f5db126ae0e1b5ced6c329977', name: "name.last" }, "Last Name"), h("smoothly-input", { key: 'f2dcbd6af35236299eb573d573efa521672c0a4e', name: "age", type: "integer" }, "Age (18-120)"), h("smoothly-input-select", { key: 'd881ad1a7d8f3b3279c9f4aac5473514a2b95d5f', name: "country" }, h("span", { key: '1606d2a8eb5f7160abd3c6a4e983561808fabca5', slot: "label" }, "Country"), isoly.CountryCode.Alpha2.values.map(country => (h("smoothly-item", { value: country }, isoly.CountryCode.Name.en.from(country))))), h("smoothly-input-date", { key: '09e7d8d8f9250304279b1d245044b919c147cc1f', name: "birthday" }, "Date of birth"), h("smoothly-input-reset", { key: 'd212e7a41fba21fc4ba2efd9349834f4c5d8a41d', slot: "reset", type: "form", size: "icon", color: "warning" }), h("smoothly-input-submit", { key: 'c5e62e8b33276b0f5e16e5c37538cca20c5e2ace', slot: "submit", size: "icon", color: "success" }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "smoothly-form-demo-typed"; }
|
|
9
9
|
static get encapsulation() { return "scoped"; }
|