smoothly 1.116.0 → 1.118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Notice-Xc7J_4o_.js → Notice-ML9TNa7n.js} +15 -14
- package/dist/cjs/Notice-ML9TNa7n.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{smoothly-app_98.cjs.entry.js → smoothly-app_99.cjs.entry.js} +164 -150
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/app/demo/index.js +1 -1
- package/dist/collection/components/app/demo/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +1 -1
- package/dist/collection/components/back-to-top/index.js +2 -2
- package/dist/collection/components/burger/index.js +1 -1
- package/dist/collection/components/button/demo/index.js +1 -1
- package/dist/collection/components/button/demo/standard/index.js +2 -2
- package/dist/collection/components/button/index.js +1 -1
- package/dist/collection/components/calendar/index.js +2 -2
- package/dist/collection/components/checkbox/index.js +2 -2
- package/dist/collection/components/color/index.js +1 -1
- package/dist/collection/components/confirm/index.js +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/dialog/demo/index.js +1 -1
- package/dist/collection/components/dialog/index.js +1 -1
- package/dist/collection/components/display/demo/index.js +10 -10
- package/dist/collection/components/display/demo/json/index.js +1 -1
- package/dist/collection/components/display/index.js +3 -3
- package/dist/collection/components/display/json/index.js +1 -1
- package/dist/collection/components/display/json/object/index.js +2 -2
- package/dist/collection/components/display/json/object/key/index.js +1 -1
- package/dist/collection/components/display/json/primitive/index.js +1 -1
- package/dist/collection/components/form/demo/all/index.js +2 -2
- package/dist/collection/components/form/demo/card/index.js +1 -1
- package/dist/collection/components/form/demo/controlled/index.js +1 -1
- package/dist/collection/components/form/demo/date/index.js +1 -1
- package/dist/collection/components/form/demo/date-range/index.js +1 -1
- package/dist/collection/components/form/demo/index.js +1 -1
- package/dist/collection/components/form/demo/login/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js +2 -2
- package/dist/collection/components/form/demo/prices/index.js +1 -1
- package/dist/collection/components/form/demo/schedule/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js +5 -5
- package/dist/collection/components/icon/index.js +1 -1
- package/dist/collection/components/input/checkbox/demo/index.js +1 -1
- package/dist/collection/components/input/checkbox/index.js +2 -2
- package/dist/collection/components/input/clear/index.js +1 -1
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +2 -2
- package/dist/collection/components/input/date/index.js +1 -1
- package/dist/collection/components/input/date/range/index.js +3 -3
- package/dist/collection/components/input/date/text/index.js +1 -1
- package/dist/collection/components/input/date/time/index.js +5 -5
- package/dist/collection/components/input/demo/date/index.js +1 -1
- package/dist/collection/components/input/demo/index.js +4 -4
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/radio/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/demo/user-input/index.js +3 -3
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +4 -4
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/radio/item/style.css +0 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +2 -2
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/item/index.js +1 -1
- package/dist/collection/components/label/index.js +2 -2
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +1 -1
- package/dist/collection/components/modal/index.js +2 -2
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/demo/index.js +37 -0
- package/dist/collection/components/notifier/demo/index.js.map +1 -0
- package/dist/collection/components/notifier/index.js +1 -1
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +1 -1
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/table/body/index.js +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/colspan/index.js +1 -1
- package/dist/collection/components/table/demo/filler-row/index.js +1 -1
- package/dist/collection/components/table/demo/group/index.js +1 -1
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/nested-no-cell/index.js +2 -2
- package/dist/collection/components/table/demo/nested-no-cell/inner/index.js +1 -1
- package/dist/collection/components/table/demo/simple/simple.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/filler-row/index.js +1 -1
- package/dist/collection/components/table/foot/index.js +1 -1
- package/dist/collection/components/table/group/index.js +1 -1
- package/dist/collection/components/table/head/index.js +2 -2
- package/dist/collection/components/table/index.js +1 -1
- package/dist/collection/components/table/row/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/tab/index.js +1 -1
- package/dist/collection/components/theme/color/index.js +1 -1
- package/dist/collection/components/theme/demo/index.js +1 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/collection/model/Notice.js +13 -12
- package/dist/collection/model/Notice.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/p-0WCHC4VI.js +2 -0
- package/dist/components/{p-B5fLCjIP.js → p-5Z_db2DH.js} +2 -2
- package/dist/components/{p-C9W3k6wS.js → p-5l1ov6SU.js} +2 -2
- package/dist/components/p-7UXKt7wZ.js +2 -0
- package/dist/components/p-9Fd6-bL0.js +2 -0
- package/dist/components/{p-D83NzhAZ.js → p-B-jhX7aN.js} +2 -2
- package/dist/components/p-B8I-Yh5P.js +2 -0
- package/dist/components/p-BAMlbqpU.js +2 -0
- package/dist/components/{p-DqGZ9Vzy.js → p-BCwizh6U.js} +2 -2
- package/dist/components/p-BDuUY4CB.js +2 -0
- package/dist/components/{p-AgqVCLBX.js.map → p-BDuUY4CB.js.map} +1 -1
- package/dist/components/{p-DuVAEZcg.js → p-BHTAR2x1.js} +2 -2
- package/dist/components/p-BLIeXp8k.js +2 -0
- package/dist/components/{p-DVb0lxbZ.js → p-BOzzNfNj.js} +2 -2
- package/dist/components/p-BQOdxeHU.js +2 -0
- package/dist/components/p-BQOdxeHU.js.map +1 -0
- package/dist/components/{p-BpV6GXd7.js → p-BTjay9Fy.js} +2 -2
- package/dist/components/p-BUo_O_Bt.js +2 -0
- package/dist/components/{p-C02MtoAQ.js → p-BWT1q2tN.js} +2 -2
- package/dist/components/{p-kRSq8qa0.js → p-BcEDrfmP.js} +2 -2
- package/dist/components/{p-BFsrI2_x.js → p-BdYr9Wou.js} +2 -2
- package/dist/components/{p-B5HCjRvr.js → p-Bo1NnbuT.js} +2 -2
- package/dist/components/p-Bq3C8g8G.js +2 -0
- package/dist/components/p-Bq3C8g8G.js.map +1 -0
- package/dist/components/p-Bv6ll-a-.js +2 -0
- package/dist/components/p-BvTs7KUn.js +2 -0
- package/dist/components/{p-fnKrPnzp.js → p-ByRyVRgY.js} +2 -2
- package/dist/components/{p-Bes8H54c.js → p-C77C00Ii.js} +2 -2
- package/dist/components/p-C7PxdEtX.js +2 -0
- package/dist/components/p-C7rAw-Sf.js +2 -0
- package/dist/components/{p-CKfiAXG_.js → p-CCaI37_s.js} +2 -2
- package/dist/components/{p-BJ1QHaKC.js → p-CDzU4-Ri.js} +2 -2
- package/dist/components/{p-C1OHc_IH.js → p-CE-IZkWY.js} +2 -2
- package/dist/components/{p-CFgT9iMG.js → p-CFwdTUm-.js} +2 -2
- package/dist/components/p-CIXMGKGQ.js +2 -0
- package/dist/components/{p-QhNiluOP.js → p-CKGlbozb.js} +2 -2
- package/dist/components/{p-DxpX6YuH.js → p-CLqKhHZ8.js} +2 -2
- package/dist/components/p-CMMaSJvr.js +2 -0
- package/dist/components/{p-C5zlJTUx.js → p-CN3iME9d.js} +2 -2
- package/dist/components/{p-D6L21sGE.js → p-CNEHa0dN.js} +2 -2
- package/dist/components/{p-BHcHgI_e.js → p-CTvqaqVm.js} +2 -2
- package/dist/components/p-CUmpHIzY.js +2 -0
- package/dist/components/p-CUmpHIzY.js.map +1 -0
- package/dist/components/{p-CxsaIxQ8.js → p-CY71xgKe.js} +2 -2
- package/dist/components/p-CZERsWDV.js +2 -0
- package/dist/components/{p-neYuyhok.js.map → p-CZERsWDV.js.map} +1 -1
- package/dist/components/{p-GOrXJdjK.js → p-CZIRwPwA.js} +2 -2
- package/dist/components/{p-Bpc6uh0M.js → p-CmUug44L.js} +2 -2
- package/dist/components/{p-DmRiznt_.js → p-CmV6S6tx.js} +2 -2
- package/dist/components/p-Cppqe_PV.js +2 -0
- package/dist/components/{p-BQwTK156.js.map → p-Cppqe_PV.js.map} +1 -1
- package/dist/components/{p-CoJyQegK.js → p-Cu0ProBU.js} +2 -2
- package/dist/components/{p-CL7fW_Oh.js → p-Cuq_eaHi.js} +2 -2
- package/dist/components/p-CwhGUug6.js +2 -0
- package/dist/components/{p-Z0pkj6lv.js → p-D2AakJMz.js} +2 -2
- package/dist/components/p-D2dYkSrN.js +2 -0
- package/dist/components/p-DAwAJIiX.js +2 -0
- package/dist/components/{p-lxR7rA3k.js → p-DDYB8QLF.js} +2 -2
- package/dist/components/{p-BEHgXDtQ.js → p-DDtRlhit.js} +2 -2
- package/dist/components/{p-CmPHR3tf.js → p-DFPMixk-.js} +2 -2
- package/dist/components/{p-CR3Ni_o7.js → p-DG2pfnCV.js} +2 -2
- package/dist/components/{p-DuAHxRQq.js → p-DGTXEwvN.js} +2 -2
- package/dist/components/{p-DlfphBOA.js → p-DIy2lHMf.js} +2 -2
- package/dist/components/{p-Cw6jE38W.js → p-DJ-iHxJr.js} +2 -2
- package/dist/components/{p-476P3lCN.js → p-DPlYDxyJ.js} +2 -2
- package/dist/components/p-DUZEz-6n.js +2 -0
- package/dist/components/{p-Dj4jb_55.js.map → p-DUZEz-6n.js.map} +1 -1
- package/dist/components/p-DXfFWsRb.js +2 -0
- package/dist/components/{p-5IpBMfCQ.js → p-Dh6ItMz4.js} +2 -2
- package/dist/components/{p-BhLDGQhC.js → p-Dk4OvZyQ.js} +2 -2
- package/dist/components/{p-BApNLqiy.js → p-DkiBtdrU.js} +2 -2
- package/dist/components/{p-DvKyYKhJ.js → p-DnvyyAaF.js} +2 -2
- package/dist/components/{p-B7tRoQDk.js → p-Dq8EU803.js} +2 -2
- package/dist/components/p-DrVm8NNB.js +2 -0
- package/dist/components/p-DsVjTKwJ.js +2 -0
- package/dist/components/{p-19XTl7bT.js → p-DukbAK5F.js} +2 -2
- package/dist/components/p-DvMoIxws.js +2 -0
- package/dist/components/{p-Ud7Qhkgt.js → p-DvZK__s-.js} +2 -2
- package/dist/components/p-Dw1KwhCp.js +2 -0
- package/dist/components/{p-DNwlLHgl.js.map → p-Dw1KwhCp.js.map} +1 -1
- package/dist/components/p-F8qX8ZuL.js +2 -0
- package/dist/components/{p-BSCQl0rf.js → p-Iph4bHku.js} +2 -2
- package/dist/components/{p-BZjEcsXh.js → p-KzfbLe_L.js} +2 -2
- package/dist/components/{p-tYcvbWv5.js → p-M0gzpGV-.js} +2 -2
- package/dist/components/{p-BZPBFs15.js → p-MHAaISnU.js} +2 -2
- package/dist/components/p-UNw22e3G.js +2 -0
- package/dist/components/{p-BmIb4zsg.js → p-UqPFIGlg.js} +2 -2
- package/dist/components/p-UyMXVF_R.js +2 -0
- package/dist/components/p-VQuZJp8X.js +2 -0
- package/dist/components/p-VpeNK8XH.js +2 -0
- package/dist/components/p-WiBL-FFH.js +2 -0
- package/dist/components/p-e7wZ4-5T.js +2 -0
- package/dist/components/p-g3poxXoz.js +2 -0
- package/dist/components/p-gq882NJF.js +2 -0
- package/dist/components/p-jSrgQO7o.js +2 -0
- package/dist/components/{p-B1h-3Bk6.js.map → p-jSrgQO7o.js.map} +1 -1
- package/dist/components/{p-CPnXAdGI.js → p-l818BCpp.js} +2 -2
- package/dist/components/{p-D_uKY0yY.js → p-mgqCIR9Q.js} +2 -2
- package/dist/components/{p-BygBViit.js → p-mmAi00ak.js} +2 -2
- package/dist/components/p-mpg1V-Em.js +2 -0
- package/dist/components/{p-56MQxIOz.js.map → p-mpg1V-Em.js.map} +1 -1
- package/dist/components/{p-B-l1S16Z.js → p-uFR5K4vd.js} +2 -2
- package/dist/components/{p-DtlLyiQE.js → p-vB-efyHR.js} +2 -2
- package/dist/components/p-w1uPMi4U.js +2 -0
- package/dist/components/{p-B3b5oz3b.js → p-ycoVDLCD.js} +2 -2
- package/dist/components/{p-B2HeWzUx.js → p-zLhQ1mMe.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- package/dist/components/smoothly-app-demo.js.map +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.js +1 -1
- package/dist/components/smoothly-button-demo-standard.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-button.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +1 -1
- package/dist/components/smoothly-color.js +1 -1
- package/dist/components/smoothly-country.js +1 -1
- package/dist/components/smoothly-date-text.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display-json-object.js +1 -1
- package/dist/components/smoothly-display-json-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +1 -1
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-demo.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-radio.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo-user-input.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-item.js +1 -1
- package/dist/components/smoothly-label.js +1 -1
- package/dist/components/smoothly-lazy.js +1 -1
- package/dist/components/smoothly-load-more.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier-demo.d.ts +11 -0
- package/dist/components/smoothly-notifier-demo.js +2 -0
- package/dist/components/smoothly-notifier-demo.js.map +1 -0
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-spinner.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-body.js +1 -1
- package/dist/components/smoothly-table-cell.js +1 -1
- package/dist/components/smoothly-table-demo-colspan.js +1 -1
- package/dist/components/smoothly-table-demo-filler-row.js +1 -1
- package/dist/components/smoothly-table-demo-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell-inner.js +1 -1
- package/dist/components/smoothly-table-demo-nested-no-cell.js +1 -1
- package/dist/components/smoothly-table-demo-simple.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-expandable-row.js +1 -1
- package/dist/components/smoothly-table-filler-row.js +1 -1
- package/dist/components/smoothly-table-foot.js +1 -1
- package/dist/components/smoothly-table-head.js +1 -1
- package/dist/components/smoothly-table-row-group.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-theme-color.js +1 -1
- package/dist/components/smoothly-theme-colors.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-guide.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/components/smoothly-toggle-switch-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch.js +1 -1
- package/dist/components/smoothly-trigger-sink.js +1 -1
- package/dist/components/smoothly-trigger-source.js +1 -1
- package/dist/components/smoothly-trigger.js +1 -1
- package/dist/esm/{Notice-C6lWCoIT.js → Notice-Bq3C8g8G.js} +15 -14
- package/dist/esm/Notice-Bq3C8g8G.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{smoothly-app_98.entry.js → smoothly-app_99.entry.js} +164 -151
- package/dist/esm/smoothly-app_99.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js +2 -2
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-17170ef1.entry.js +2 -0
- package/dist/smoothly/p-1a5f9b87.entry.js +2 -0
- package/dist/smoothly/p-1a5f9b87.entry.js.map +1 -0
- package/dist/smoothly/{p-1786667d.entry.js → p-36966f71.entry.js} +2 -2
- package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
- package/dist/smoothly/{p-03e85253.entry.js → p-7a9308b9.entry.js} +2 -2
- package/dist/smoothly/p-Bq3C8g8G.js +2 -0
- package/dist/smoothly/p-Bq3C8g8G.js.map +1 -0
- package/dist/smoothly/{p-d684139e.entry.js → p-ac2162c3.entry.js} +2 -2
- package/dist/smoothly/{p-acfa35c3.entry.js → p-bd4c289b.entry.js} +2 -2
- package/dist/smoothly/{p-05059140.entry.js → p-eb434b94.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/notifier/demo/index.d.ts +7 -0
- package/dist/types/components.d.ts +29 -0
- package/dist/types/model/Notice.d.ts +6 -5
- package/package.json +1 -1
- package/dist/cjs/Notice-Xc7J_4o_.js.map +0 -1
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +0 -1
- package/dist/components/p-56MQxIOz.js +0 -2
- package/dist/components/p-AP_j6gIy.js +0 -2
- package/dist/components/p-AgqVCLBX.js +0 -2
- package/dist/components/p-B1h-3Bk6.js +0 -2
- package/dist/components/p-B33zAR8E.js +0 -2
- package/dist/components/p-B6iaWskB.js +0 -2
- package/dist/components/p-BFgOju1b.js +0 -2
- package/dist/components/p-BGBbdXaw.js +0 -2
- package/dist/components/p-BQKG49PI.js +0 -2
- package/dist/components/p-BQwTK156.js +0 -2
- package/dist/components/p-BeaRYlDR.js +0 -2
- package/dist/components/p-BmpDO3IP.js +0 -2
- package/dist/components/p-BulPH2Jo.js +0 -2
- package/dist/components/p-BuxDaqmj.js +0 -2
- package/dist/components/p-C0oU5Cfy.js +0 -2
- package/dist/components/p-C0oU5Cfy.js.map +0 -1
- package/dist/components/p-C1gwyfdx.js +0 -2
- package/dist/components/p-C3FORjes.js +0 -2
- package/dist/components/p-C6lWCoIT.js +0 -2
- package/dist/components/p-C6lWCoIT.js.map +0 -1
- package/dist/components/p-C8Dz7m3K.js +0 -2
- package/dist/components/p-CApTrLt_.js +0 -2
- package/dist/components/p-CWqwLjht.js +0 -2
- package/dist/components/p-CjLb45eA.js +0 -2
- package/dist/components/p-Cud80xdU.js +0 -2
- package/dist/components/p-CxgByuap.js +0 -2
- package/dist/components/p-DHHuTk1C.js +0 -2
- package/dist/components/p-DLekIjaq.js +0 -2
- package/dist/components/p-DNwlLHgl.js +0 -2
- package/dist/components/p-DP2lfWFG.js +0 -2
- package/dist/components/p-Dj4jb_55.js +0 -2
- package/dist/components/p-DkhX1qsg.js +0 -2
- package/dist/components/p-Dmp9jVbi.js +0 -2
- package/dist/components/p-Dn5brtiA.js +0 -2
- package/dist/components/p-SAYWxZnn.js +0 -2
- package/dist/components/p-X22HVbOR.js +0 -2
- package/dist/components/p-diHpl72F.js +0 -2
- package/dist/components/p-neYuyhok.js +0 -2
- package/dist/components/p-rKh5fDrR.js +0 -2
- package/dist/components/p-tXifYvLV.js +0 -2
- package/dist/components/p-z-IEAPIC.js +0 -2
- package/dist/esm/Notice-C6lWCoIT.js.map +0 -1
- package/dist/esm/smoothly-app_98.entry.js.map +0 -1
- package/dist/smoothly/p-793c7f9d.entry.js +0 -2
- package/dist/smoothly/p-793c7f9d.entry.js.map +0 -1
- package/dist/smoothly/p-7d6c72eb.entry.js +0 -2
- package/dist/smoothly/p-C6lWCoIT.js +0 -2
- package/dist/smoothly/p-C6lWCoIT.js.map +0 -1
- /package/dist/components/{p-X22HVbOR.js.map → p-0WCHC4VI.js.map} +0 -0
- /package/dist/components/{p-B5fLCjIP.js.map → p-5Z_db2DH.js.map} +0 -0
- /package/dist/components/{p-C9W3k6wS.js.map → p-5l1ov6SU.js.map} +0 -0
- /package/dist/components/{p-BmpDO3IP.js.map → p-7UXKt7wZ.js.map} +0 -0
- /package/dist/components/{p-Dn5brtiA.js.map → p-9Fd6-bL0.js.map} +0 -0
- /package/dist/components/{p-D83NzhAZ.js.map → p-B-jhX7aN.js.map} +0 -0
- /package/dist/components/{p-SAYWxZnn.js.map → p-B8I-Yh5P.js.map} +0 -0
- /package/dist/components/{p-BuxDaqmj.js.map → p-BAMlbqpU.js.map} +0 -0
- /package/dist/components/{p-DqGZ9Vzy.js.map → p-BCwizh6U.js.map} +0 -0
- /package/dist/components/{p-DuVAEZcg.js.map → p-BHTAR2x1.js.map} +0 -0
- /package/dist/components/{p-DLekIjaq.js.map → p-BLIeXp8k.js.map} +0 -0
- /package/dist/components/{p-DVb0lxbZ.js.map → p-BOzzNfNj.js.map} +0 -0
- /package/dist/components/{p-BpV6GXd7.js.map → p-BTjay9Fy.js.map} +0 -0
- /package/dist/components/{p-DHHuTk1C.js.map → p-BUo_O_Bt.js.map} +0 -0
- /package/dist/components/{p-C02MtoAQ.js.map → p-BWT1q2tN.js.map} +0 -0
- /package/dist/components/{p-kRSq8qa0.js.map → p-BcEDrfmP.js.map} +0 -0
- /package/dist/components/{p-BFsrI2_x.js.map → p-BdYr9Wou.js.map} +0 -0
- /package/dist/components/{p-B5HCjRvr.js.map → p-Bo1NnbuT.js.map} +0 -0
- /package/dist/components/{p-CApTrLt_.js.map → p-Bv6ll-a-.js.map} +0 -0
- /package/dist/components/{p-CxgByuap.js.map → p-BvTs7KUn.js.map} +0 -0
- /package/dist/components/{p-fnKrPnzp.js.map → p-ByRyVRgY.js.map} +0 -0
- /package/dist/components/{p-Bes8H54c.js.map → p-C77C00Ii.js.map} +0 -0
- /package/dist/components/{p-BulPH2Jo.js.map → p-C7PxdEtX.js.map} +0 -0
- /package/dist/components/{p-B6iaWskB.js.map → p-C7rAw-Sf.js.map} +0 -0
- /package/dist/components/{p-CKfiAXG_.js.map → p-CCaI37_s.js.map} +0 -0
- /package/dist/components/{p-BJ1QHaKC.js.map → p-CDzU4-Ri.js.map} +0 -0
- /package/dist/components/{p-C1OHc_IH.js.map → p-CE-IZkWY.js.map} +0 -0
- /package/dist/components/{p-CFgT9iMG.js.map → p-CFwdTUm-.js.map} +0 -0
- /package/dist/components/{p-CWqwLjht.js.map → p-CIXMGKGQ.js.map} +0 -0
- /package/dist/components/{p-QhNiluOP.js.map → p-CKGlbozb.js.map} +0 -0
- /package/dist/components/{p-DxpX6YuH.js.map → p-CLqKhHZ8.js.map} +0 -0
- /package/dist/components/{p-DP2lfWFG.js.map → p-CMMaSJvr.js.map} +0 -0
- /package/dist/components/{p-C5zlJTUx.js.map → p-CN3iME9d.js.map} +0 -0
- /package/dist/components/{p-D6L21sGE.js.map → p-CNEHa0dN.js.map} +0 -0
- /package/dist/components/{p-BHcHgI_e.js.map → p-CTvqaqVm.js.map} +0 -0
- /package/dist/components/{p-CxsaIxQ8.js.map → p-CY71xgKe.js.map} +0 -0
- /package/dist/components/{p-GOrXJdjK.js.map → p-CZIRwPwA.js.map} +0 -0
- /package/dist/components/{p-Bpc6uh0M.js.map → p-CmUug44L.js.map} +0 -0
- /package/dist/components/{p-DmRiznt_.js.map → p-CmV6S6tx.js.map} +0 -0
- /package/dist/components/{p-CoJyQegK.js.map → p-Cu0ProBU.js.map} +0 -0
- /package/dist/components/{p-CL7fW_Oh.js.map → p-Cuq_eaHi.js.map} +0 -0
- /package/dist/components/{p-C1gwyfdx.js.map → p-CwhGUug6.js.map} +0 -0
- /package/dist/components/{p-Z0pkj6lv.js.map → p-D2AakJMz.js.map} +0 -0
- /package/dist/components/{p-B33zAR8E.js.map → p-D2dYkSrN.js.map} +0 -0
- /package/dist/components/{p-BeaRYlDR.js.map → p-DAwAJIiX.js.map} +0 -0
- /package/dist/components/{p-lxR7rA3k.js.map → p-DDYB8QLF.js.map} +0 -0
- /package/dist/components/{p-BEHgXDtQ.js.map → p-DDtRlhit.js.map} +0 -0
- /package/dist/components/{p-CmPHR3tf.js.map → p-DFPMixk-.js.map} +0 -0
- /package/dist/components/{p-CR3Ni_o7.js.map → p-DG2pfnCV.js.map} +0 -0
- /package/dist/components/{p-DuAHxRQq.js.map → p-DGTXEwvN.js.map} +0 -0
- /package/dist/components/{p-DlfphBOA.js.map → p-DIy2lHMf.js.map} +0 -0
- /package/dist/components/{p-Cw6jE38W.js.map → p-DJ-iHxJr.js.map} +0 -0
- /package/dist/components/{p-476P3lCN.js.map → p-DPlYDxyJ.js.map} +0 -0
- /package/dist/components/{p-Dmp9jVbi.js.map → p-DXfFWsRb.js.map} +0 -0
- /package/dist/components/{p-5IpBMfCQ.js.map → p-Dh6ItMz4.js.map} +0 -0
- /package/dist/components/{p-BhLDGQhC.js.map → p-Dk4OvZyQ.js.map} +0 -0
- /package/dist/components/{p-BApNLqiy.js.map → p-DkiBtdrU.js.map} +0 -0
- /package/dist/components/{p-DvKyYKhJ.js.map → p-DnvyyAaF.js.map} +0 -0
- /package/dist/components/{p-B7tRoQDk.js.map → p-Dq8EU803.js.map} +0 -0
- /package/dist/components/{p-tXifYvLV.js.map → p-DrVm8NNB.js.map} +0 -0
- /package/dist/components/{p-CjLb45eA.js.map → p-DsVjTKwJ.js.map} +0 -0
- /package/dist/components/{p-19XTl7bT.js.map → p-DukbAK5F.js.map} +0 -0
- /package/dist/components/{p-BGBbdXaw.js.map → p-DvMoIxws.js.map} +0 -0
- /package/dist/components/{p-Ud7Qhkgt.js.map → p-DvZK__s-.js.map} +0 -0
- /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
- /package/dist/components/{p-BSCQl0rf.js.map → p-Iph4bHku.js.map} +0 -0
- /package/dist/components/{p-BZjEcsXh.js.map → p-KzfbLe_L.js.map} +0 -0
- /package/dist/components/{p-tYcvbWv5.js.map → p-M0gzpGV-.js.map} +0 -0
- /package/dist/components/{p-BZPBFs15.js.map → p-MHAaISnU.js.map} +0 -0
- /package/dist/components/{p-rKh5fDrR.js.map → p-UNw22e3G.js.map} +0 -0
- /package/dist/components/{p-BmIb4zsg.js.map → p-UqPFIGlg.js.map} +0 -0
- /package/dist/components/{p-Cud80xdU.js.map → p-UyMXVF_R.js.map} +0 -0
- /package/dist/components/{p-DkhX1qsg.js.map → p-VQuZJp8X.js.map} +0 -0
- /package/dist/components/{p-AP_j6gIy.js.map → p-VpeNK8XH.js.map} +0 -0
- /package/dist/components/{p-C8Dz7m3K.js.map → p-WiBL-FFH.js.map} +0 -0
- /package/dist/components/{p-z-IEAPIC.js.map → p-e7wZ4-5T.js.map} +0 -0
- /package/dist/components/{p-diHpl72F.js.map → p-g3poxXoz.js.map} +0 -0
- /package/dist/components/{p-BQKG49PI.js.map → p-gq882NJF.js.map} +0 -0
- /package/dist/components/{p-CPnXAdGI.js.map → p-l818BCpp.js.map} +0 -0
- /package/dist/components/{p-D_uKY0yY.js.map → p-mgqCIR9Q.js.map} +0 -0
- /package/dist/components/{p-BygBViit.js.map → p-mmAi00ak.js.map} +0 -0
- /package/dist/components/{p-B-l1S16Z.js.map → p-uFR5K4vd.js.map} +0 -0
- /package/dist/components/{p-DtlLyiQE.js.map → p-vB-efyHR.js.map} +0 -0
- /package/dist/components/{p-BFgOju1b.js.map → p-w1uPMi4U.js.map} +0 -0
- /package/dist/components/{p-B3b5oz3b.js.map → p-ycoVDLCD.js.map} +0 -0
- /package/dist/components/{p-B2HeWzUx.js.map → p-zLhQ1mMe.js.map} +0 -0
- /package/dist/smoothly/{p-7d6c72eb.entry.js.map → p-17170ef1.entry.js.map} +0 -0
- /package/dist/smoothly/{p-1786667d.entry.js.map → p-36966f71.entry.js.map} +0 -0
- /package/dist/smoothly/{p-7da124ca.entry.js.map → p-77ef4a4c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-03e85253.entry.js.map → p-7a9308b9.entry.js.map} +0 -0
- /package/dist/smoothly/{p-d684139e.entry.js.map → p-ac2162c3.entry.js.map} +0 -0
- /package/dist/smoothly/{p-acfa35c3.entry.js.map → p-bd4c289b.entry.js.map} +0 -0
- /package/dist/smoothly/{p-05059140.entry.js.map → p-eb434b94.entry.js.map} +0 -0
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyTableDemoNestedNoCellInner {
|
|
3
3
|
render() {
|
|
4
4
|
var _a;
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '979ac258e43562eb1d3ec213533ed762b0637958' }, h("smoothly-table", { key: '359ecbb755ebb1119ecc4d60901a52508094fa7f', columns: 4 }, h("smoothly-table-head", { key: '688c8cecdac166cd9ce2865ecbf3002811a2ef5f' }, h("smoothly-table-row", { key: '7f8b10a9205258b5cad319c0cb6a2ae6f0609da9' }, h("div", { key: '8310e2fdaefb1c5d6a686d238bf2c118e9eacbac', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'daaeb0da6571b0dde9d6e80ac35142aa666a1ba5', class: "smoothly-table-cell" }, "Name"), h("div", { key: 'abca17f20bd0491dcf05dc81ba11d801b4933a6c', class: "smoothly-table-cell" }, "Age"), h("div", { key: '346be426720be1a8c9578a50e6dacc2dddc5493a', class: "smoothly-table-cell" }, "Balance"))), h("smoothly-table-body", { key: 'd2d182cae581d3f5bc8abae108a6626b20b9451a' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (h("smoothly-table-expandable-row", null, h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "smoothly-table-demo-nested-no-cell-inner"; }
|
|
8
8
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoSimple {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '80449d99f9dd0f1b3ccc6fe1ca76f81c383b0b73' }, h("smoothly-display", { key: 'a8a925063304469fd491d875aac3ca41262c2654', type: "text", value: "Simple" }), h("smoothly-table", { key: 'c73c0af22285cf5769b7aae1bc619e681425059c', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '55a6fa56086f9ecf4c5ad6e937c672164e4ec329' }, h("smoothly-table-row", { key: 'c130d923b09c92b269da5f16ea18e3ee895cab52' }, h("smoothly-table-cell", { key: 'b937e3114409fa9e58e16333d00367839bc74d15' }, "Breed"), h("smoothly-table-cell", { key: '9aba71f6c1a20a762e89500ca5efa3a82d7cbd89' }, "Coat"))), h("smoothly-table-body", { key: 'b79c14240246a1d441fc2bfb2cf0857834121312' }, cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country:", h("br", null), cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), h("smoothly-table-row", { key: 'b3897b89193457cc34ef8a636ee70eb440b09923' }, h("smoothly-table-cell", { key: 'd3ff9b985f616112a698ad7c3d1154ae7ca3b17a' }, "Cell5"), h("smoothly-table-expandable-cell", { key: 'ed7165825d15f3025231a21aead04f6bcd048872' }, "Expandable Cell", h("div", { key: 'b5ffac563fce0a0a5027706cf4f83ec8825ad037', slot: "detail" }, "Content of the expandable cell"))), h("smoothly-table-row", { key: '3a6eb6e10fb590b9036d329307a22393958f6aaa' }, h("smoothly-table-expandable-cell", { key: '43570c5844b23b46572678bd5229d325c26b677f' }, "Expandable Cell 1", h("div", { key: '2c643f6a728b5967d7e42c47d657ce07ef295c78', slot: "detail" }, "Content of the expandable cell 1")), h("smoothly-table-expandable-cell", { key: '1d9f1e32259d590d5f0a7c043c56424f30019e6e' }, "Expandable Cell 2", h("div", { key: 'ea45ab8f26e3a2b7bd4d012b3dec1899836620b6', slot: "detail" }, "Content of the expandable cell 2")))), h("smoothly-table-foot", { key: '99a7c70b238c32203143077e8e1a3c58ee82adf7' }, h("smoothly-table-row", { key: '2abe5c4e633f55dd722f21263ab6647018b7319b' }, h("smoothly-table-cell", { key: '805be40c4d87dd23a8ab71017453b6340adf200e' }, "Footer Cell"), h("smoothly-table-cell", { key: '1137748f294d4199d08de20a8316588df635bfb2' }, "Footer Cell"))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-simple"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,7 +25,7 @@ export class SmoothlyTableExpandableCell {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
var _a;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '624fcbc59506d5a4c9c3a63a8c72e5dacc381c88', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) }, onClick: (e) => this.clickHandler(e) }, h("div", { key: '53a96ed671c80e1ecac6e34051c91e9a947b2fe9', class: "content" }, h("slot", { key: '3a3576002c26476a9a64113b36245e1befb1b032' })), h("div", { key: '39a6657696c643342205d451e12f7ce43b9059ad', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, h("slot", { key: 'b9e027e1fe622d4a20fffb508ac66bc1bbd2f06b', name: "detail" }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "smoothly-table-expandable-cell"; }
|
|
31
31
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SmoothlyTableExpandableRow {
|
|
|
17
17
|
this.smoothlyTableExpandableRowChange.emit(this.open);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '3007de001a37cd97b19055f2300d0c4200714da4', onClick: (e) => this.clickHandler(e) }, h("slot", { key: '8eec771831b3e72481baaa792403fd6f28ce23b2' }), h("div", { key: 'f4a0071effd34729d812fdc02023f55c29c61da2', class: "smoothly-table-detail", ref: e => (this.div = e) }, h("slot", { key: 'e9eae5eaddd3886cb39a8086bba97a177791378d', name: "detail" }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "smoothly-table-expandable-row"; }
|
|
23
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableFillerRow {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("smoothly-table-row", { key: '
|
|
4
|
+
return (h("smoothly-table-row", { key: '4925aa29f641ac932dd2686bdfb285dfbba27008' }, h("smoothly-table-cell", { key: '8aebd5713c716392a50afae52b1aed1c091c15f8' }, h("slot", { key: '822bc6ecef95836f099ac8c122a0b6c00999abe2' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-filler-row"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableFoot {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '491e31a72bf7cf753be9722c5f9ffd189b75beae' }, h("slot", { key: '717637b20804c096f1daac46183047b2f7570569' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-foot"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -13,7 +13,7 @@ export class SmoothlyTableRowGroup {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '76fef86fb057d3a38a48176ae86e9d0acd8cbd3e' }, h("div", { key: 'd4c4ce1a498d4ad36ea115c59513a7127526a654', onClick: () => this.clickHandler() }, h("div", { key: '66b75a4c40238ef265054ee334252f301dc6d136' }, h("slot", { key: 'e4438e7a0a62ae369526bc341d9ca38f0661f719', name: "start" })), h("div", { key: 'e242813ad448fe97141372e0d58f9cee9315b42d' }, h("slot", { key: '32ea0ec41821bca492f088f8e905183a70b97d58', name: "end" }))), h("div", { key: '3dadc2ae7fdde5bd4cbee29da00dd23e544c5d59' }, h("slot", { key: 'd7d82c8713ace989d6eaa9c354fff5bc5f8da797' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-table-row-group"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -38,10 +38,10 @@ export class SmoothlyTableHead {
|
|
|
38
38
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'a543c06de129e8ee177a6e98e31e7e6de42edff6', class: { scrolled: !!this.scrolled }, style: {
|
|
42
42
|
"--top": `calc(${this.depth} * var(--smoothly-table-cell-min-height))`,
|
|
43
43
|
"--z-index": `${10 - this.depth}`,
|
|
44
|
-
} }, h("slot", { key: '
|
|
44
|
+
} }, h("slot", { key: 'a937f04e674b9eb19534395494741f87e7f2df49' })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "smoothly-table-head"; }
|
|
47
47
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SmoothlyTable {
|
|
|
10
10
|
event.stopPropagation();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'f875112f3c3c917be64b0874106e35a318b3ded5', style: { "--columns": this.columns.toString() } }, h("slot", { key: 'f84673ca127c951381152b7e5b70b3d0d16f584a' })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-table"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,7 +15,7 @@ export class SmoothlyTableRow {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'a7150d8e85573818c5253287f7a16af0726cd566' }, h("slot", { key: '11a1f41ac92bfdfbbe55a5d56998395ffbe7f1df' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "smoothly-table-row"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTabsDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '667daa4673c8e0045b0b9bb673fa25d577234bcd' }, h("div", { key: '53bc7758593ff652cd66571751d44f215b96f3e2' }, h("smoothly-button", { key: '9152b373e992825a1e7a5daad5fdb8454f0e72fa', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '45e823f55772be61f25d6b48688524dc98d052c9', tabs: "multiple" }, h("smoothly-tab", { key: 'ecb21ddc688927084d739e1f0e0590c83d773577', label: "Single Tab", open: true }, h("strong", { key: '8364c0c2e1afa1d729f6caa372e6864c37720b10' }, "Single Tab content here."), " If only one tab is available setting ", h("code", { key: '654811a94f174badec1416c90842741a49f202bd' }, "tabs"), " to", " ", h("code", { key: '5083b020fd3619e8deaf83044537e92423557e80' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (h("smoothly-tab", { key: '3c0d1ccc9c611be2d80ab6495d1c82d4670f21f5', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), h("div", { key: '939a6f264018acc6532aec79aa35c8bec9e15982' }, h("smoothly-button", { key: 'b40612b706c471876d98f92665a76a5cc6d71564', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '7950a34808a55e1c2ff8dc75eb73826270295763' }, h("smoothly-tab", { key: '30e6c350d870d9e2b2de98ee1a5e8441e33187e9', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), h("smoothly-tab", { key: 'db66384d6fc370218db0f63c57bf1334b3496672', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), h("smoothly-tab", { key: '863e0927c3c0d5d3513f9bcb4aa36c5df4d479b2', label: "test2" }, "this is a test message!"), this.extraTab2 && h("smoothly-tab", { key: '42f481c9e506f49267b289b8ed89d6c157ee34ce', label: "test-extra" }, "this is a test message!"))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-tabs-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class SmoothlyTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'ae035e66fbacdf7ce232ec1be2d73b2573bea978' }, h("div", { key: '8b16f293f91934e88ac5d41a837f83506ea50737', onClick: () => !this.disabled && (this.open = true) }, h("label", { key: '3d2d6e324ad8bcfe438e5ed9000271c04840f3ea', "data-smoothly-tooltip": this.tooltip }, this.label)), h("div", { key: '3b041ece9f6bd5931bef85b1b3d8f50ea1200e1e', hidden: !this.open }, h("slot", { key: '157b5ecc4ace4e1318629b12a34d9e7b52d20af4' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "smoothly-tab"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyThemeColor {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'a5e578a10c7a46c0abd3ca72b8247a7ca74cd0c4' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-theme-color"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyThemeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '3e505cbc2317099fa9c7a8ce39eb009f2c3024ca' }, h("h2", { key: '5cf6837bdc6d17642828e4328265929512384435' }, "Theme"), h("smoothly-theme-picker", { key: 'be136a3fae2657ac4e26ad1fbd3aaeb25645a8d5' }, h("smoothly-item", { key: 'fa5fc77333513622192574123bf36506e52e3269', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), h("smoothly-item", { key: '2961c2261191e11a1c592906b80da6145bd404fd', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), h("smoothly-item", { key: 'dd127647b610afd4840859d7c8c10ff451dc2b56', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), h("smoothly-item", { key: '5e8ad2191b20cd08d6d1cb35816dc0454611fd71', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), h("smoothly-item", { key: '24410b3ba716c13887406e39d8269ad0f5623434', value: "https://test.dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), h("smoothly-item", { key: '0aeb4c24f7610227b1ddcd85c4a6768fac6169ab', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), h("smoothly-item", { key: '54ab7e4db39f5011d1575b08a7454edd3c8c0afa', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), h("smoothly-item", { key: '8f80758dacf77044e05035ad32620cd62129e9b5', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), h("smoothly-item", { key: 'd505ed591e6379bc67fc3958361c4895a57e1ee9', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), h("div", { key: 'b9419547eb4bbda394e480e58b7dff8dc0ebcb1d' }, h("smoothly-theme-colors", { key: '3bf0624cac39fbcb490bc7992dfa530f3043122b' }), h("smoothly-theme-guide", { key: '388b8841be3ddfd0a42a5ecbe098b512210ad26a' })), h("smoothly-button", { key: '3a56e3439212da68889c98cfe64141730732aefa', type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { key: '56add7b4f875bb0521b32e34719c703591e21961', type: "link", link: "/redirect" }, "To /redirect"), h("smoothly-button", { key: '6319b234d80bb29370f55225bae9fef3278dee83', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), h("smoothly-button", { key: 'a842d75971928d0a6d0738009da122244d7b95a0', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-theme-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,14 +2,14 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyThemeColors {
|
|
3
3
|
render() {
|
|
4
4
|
return [
|
|
5
|
-
h("smoothly-display", { key: '
|
|
6
|
-
h("br", { key: '
|
|
7
|
-
h("smoothly-display", { key: '
|
|
8
|
-
h("br", { key: '
|
|
9
|
-
h("smoothly-display", { key: '
|
|
10
|
-
h("br", { key: '
|
|
11
|
-
h("smoothly-display", { key: '
|
|
12
|
-
h("br", { key: '
|
|
5
|
+
h("smoothly-display", { key: '504bfdf471aa62a566cb5ac96654b9e00d88e292' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
6
|
+
h("br", { key: '9eb11da56a43e89a690df6872cb34900f565ff75' }),
|
|
7
|
+
h("smoothly-display", { key: '1955543920f4ea9c106d44a2d795fe2bde0df1f5' }, "Color is used as a normal background or as a background to show that something is selected, for example a selected item in the select menu."),
|
|
8
|
+
h("br", { key: 'cc09a61f2e021b2782fd63734b07c21973e4cd56' }),
|
|
9
|
+
h("smoothly-display", { key: '9e26806ea2d6f725073f674a9f19c8d9b916c223' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
|
|
10
|
+
h("br", { key: '1e0130f07d2a001fc206190d93c660f117596899' }),
|
|
11
|
+
h("smoothly-display", { key: '4c7cdf267964d06803f03ff567ab0cb881b709b8' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
12
|
+
h("br", { key: 'b2abb2ebff2bf2a5f329e5665f9bcf7c11b65bfc' }),
|
|
13
13
|
];
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-theme-guide"; }
|
|
@@ -4,12 +4,12 @@ export class SmoothlyThemePicker {
|
|
|
4
4
|
this.element = "smoothly-css";
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '70e3737e113724291c1decf423e6cd39733763a7' }, h("smoothly-input-select", { key: 'eed6362c4c845f26fe45ab80a36261a851146a32', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
8
8
|
const element = document.querySelector(`#${this.element}`);
|
|
9
9
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string") {
|
|
10
10
|
element.href = e.detail.theme;
|
|
11
11
|
}
|
|
12
|
-
} }, h("label", { key: '
|
|
12
|
+
} }, h("label", { key: '39e4c5e3793f19cc007f3a8b96988922a09109cf', slot: "label" }, "Select theme"), h("slot", { key: 'ea07c5aaee7e847991b27358eef479edb0105f91' }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-theme-picker"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyToggleSwitchDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '470464d6d37e40e5f340822febb85cfb8d287267' }, h("h4", { key: 'fdb67153afb84fa7d734bf1f701def5b647f6ce7' }, "Toggle switches"), h("div", { key: 'bc4bf67807f2bba85c1bc42e7c5376eee516995e' }, h("p", { key: '07fda130d51c52347d2ac0680b2044f25f0fa994' }, "Checkmark"), h("span", { key: '1c444c3c73daf0130db447e44cb031f24abd01f8' }, h("p", { key: 'cdd900d00acb877aa76c9ae55c5cb083049abb43' }, "Tiny"), h("smoothly-toggle-switch", { key: 'a37f5af8a756a3b31a04ab5935a4b8a0bfbef243', disabled: false, size: "tiny" })), h("span", { key: '0b0dc28ca00a27fd8b234b89ae71ea293f84df65' }, h("p", { key: '14076ac015952db2b5ebe528085c5ca9c6c383b8' }, "Small"), h("smoothly-toggle-switch", { key: 'ea50543c67201c279a5f4a2807ba8b23d2ebff13', disabled: false, size: "small" })), h("span", { key: 'd45cf2681dfdbf26f6acc66dab5bcf37ab051d0b' }, h("p", { key: 'a3ca4cf338454d0276e4b4caddad85225ce41676' }, "Standard"), h("smoothly-toggle-switch", { key: '99a061952aa9c18b40f40cb6e5bfaaac0ee9e016', disabled: false })), h("span", { key: '451ea07c909458ae1033a3362d07d0f5974dc3e6' }, h("p", { key: 'b60a09266e15ce4ae54ca1c9bf05aceca06aed05' }, "Large"), h("smoothly-toggle-switch", { key: 'eb7f4deceae4b69ec5bcc8fb5a140d76be1fe4cd', disabled: false, size: "large" })), h("p", { key: 'ad75b8c6bddd9f59246a42d78056c51a8231713d' }, "Colors checkmark"), h("span", { key: '633ebf151c353aa20662b9cc0c6fc7ef2d27f659' }, h("p", { key: '0ecb5da92182163deb10667fb1cfbeeeb91a4f95' }, "Danger"), h("smoothly-toggle-switch", { key: '9f8b43c2fbdb0f1d56d564ba936740c56cd19615', color: "danger", disabled: false, size: "small" })), h("span", { key: '29eba3b1395741d2cd8821725ab2720f8c2bfc65' }, h("p", { key: '4de96be58373d873576be6ab6b8244444795cd88' }, "Primary color"), h("smoothly-toggle-switch", { key: '1268bb9b2081aeff88bdb4ed657d7ea05f10fb69', color: "primary", disabled: false, size: "small" })), h("span", { key: '40baf7b8cf63b0b401107ad780246da0192468e5' }, h("p", { key: 'efa762aff61e90aa7a9e5be8290c84e8c8ec570d' }, "Secondary color"), h("smoothly-toggle-switch", { key: 'a648aa6596da331b42a06917bf5e69ce92efc6d6', color: "secondary", disabled: false, size: "small" })), h("p", { key: '8b105d3cfa1bc78a0f818a7661240ebbf6475ca4' }), h("p", { key: '274e9e35dcb487642858cbe7d6f73dd61ab6f865' }, "Colors no checkmark"), h("span", { key: '3e919b9d7b34da5733153911758268b52678c9fb' }, h("p", { key: '500fc3bde72ce1af1a0cda2027a98f5568a029e0' }, "Danger"), h("smoothly-toggle-switch", { key: '2292abd9acac252aa8633ffb1427a6961c6a9928', checkmark: false, color: "danger", disabled: false, size: "small" })), h("span", { key: '47516027ff4083165416e71475e262d1e6f3aed8' }, h("p", { key: 'e345a770b485052b082ed2d88ba3dce0099da701' }, "Primary color"), h("smoothly-toggle-switch", { key: '79896d7ff3091c6af545a3352668c7daaf8491cb', checkmark: false, color: "primary", disabled: false, size: "small" })), h("span", { key: 'afc9c9d03135b7cebfa6866cccb8ab993f1fa5f4' }, h("p", { key: '39b9563fd95bd730a05ecda2e0ddb3db96503d08' }, "Secondary color"), h("smoothly-toggle-switch", { key: '02623b5220ccb3d547dda23d2eae0216ca20fd77', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-toggle-switch-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -13,7 +13,7 @@ export class SmoothlyToggleSwitch {
|
|
|
13
13
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '0291d49b2ab1c542e752a3a694b5e15f446be27c' }, h("button", { key: '2be03163917c089e2a81404556996c93befeafa3', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, h("smoothly-icon", { key: 'a261b04197599fa3c80fedc502a532043e943bbe', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-toggle-switch"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -16,7 +16,7 @@ export class SmoothlyTrigger {
|
|
|
16
16
|
result = this.disabled ? (h("slot", null)) : (h("a", { onClick: e => this.onClick(e) }, h("slot", null)));
|
|
17
17
|
break;
|
|
18
18
|
case "button":
|
|
19
|
-
result = (h("button", { key: '
|
|
19
|
+
result = (h("button", { key: '3df0af31da21f4eeb53048b22a0a1fe9f37b608d', disabled: this.disabled, name: this.name }, h("slot", { key: '9566f4ff09d80a9b4c1d9d79acef49609cd3a425' })));
|
|
20
20
|
break;
|
|
21
21
|
}
|
|
22
22
|
return result;
|
|
@@ -15,7 +15,7 @@ export class SmoothlyTriggerSink {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return h("slot", { key: '
|
|
18
|
+
return h("slot", { key: '50c905abcea9a6a8ad47134a44b837ca5f328f77' });
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "smoothly-trigger-sink"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -12,7 +12,7 @@ export class SmoothlyTriggerSource {
|
|
|
12
12
|
}, window);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h("slot", { key: '
|
|
15
|
+
return h("slot", { key: 'a802c3a97c5523f4b16160e3c54f05ea27acbd81' });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "smoothly-trigger-source"; }
|
|
18
18
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,10 +17,11 @@ export class Notice {
|
|
|
17
17
|
this.emit();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
constructor(stateValue, messageValue, task) {
|
|
20
|
+
constructor(stateValue, messageValue, task, lifetime = 15000) {
|
|
21
21
|
this.stateValue = stateValue;
|
|
22
22
|
this.messageValue = messageValue;
|
|
23
23
|
this.task = task;
|
|
24
|
+
this.lifetime = lifetime;
|
|
24
25
|
this.listeners = [];
|
|
25
26
|
switch (stateValue) {
|
|
26
27
|
case "delayed":
|
|
@@ -61,7 +62,7 @@ export class Notice {
|
|
|
61
62
|
this.state = "failed";
|
|
62
63
|
}
|
|
63
64
|
startCloseTimer() {
|
|
64
|
-
this.timer = window.setTimeout(() => this.close(),
|
|
65
|
+
this.timer = window.setTimeout(() => this.close(), this.lifetime);
|
|
65
66
|
}
|
|
66
67
|
close() {
|
|
67
68
|
this.clearTimer();
|
|
@@ -73,20 +74,20 @@ export class Notice {
|
|
|
73
74
|
this.timer = undefined;
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
|
-
static delay(message, task) {
|
|
77
|
-
return new Notice("delayed", message, task);
|
|
77
|
+
static delay(message, task, lifetime) {
|
|
78
|
+
return new Notice("delayed", message, task, lifetime);
|
|
78
79
|
}
|
|
79
|
-
static execute(message, task) {
|
|
80
|
-
return new Notice("executing", message, task);
|
|
80
|
+
static execute(message, task, lifetime) {
|
|
81
|
+
return new Notice("executing", message, task, lifetime);
|
|
81
82
|
}
|
|
82
|
-
static succeeded(message) {
|
|
83
|
-
return new Notice("success", message);
|
|
83
|
+
static succeeded(message, lifetime) {
|
|
84
|
+
return new Notice("success", message, undefined, lifetime);
|
|
84
85
|
}
|
|
85
|
-
static failed(message) {
|
|
86
|
-
return new Notice("failed", message);
|
|
86
|
+
static failed(message, lifetime) {
|
|
87
|
+
return new Notice("failed", message, undefined, lifetime);
|
|
87
88
|
}
|
|
88
|
-
static warn(message) {
|
|
89
|
-
return new Notice("warning", message);
|
|
89
|
+
static warn(message, lifetime) {
|
|
90
|
+
return new Notice("warning", message, undefined, lifetime);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
//# sourceMappingURL=Notice.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notice.js","sourceRoot":"","sources":["../../src/model/Notice.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,MAAM;IAElB,IAAI,KAAK;QACR,OAAO,IAAI,CAAC,UAAU,CAAA;IACvB,CAAC;IACD,IAAI,KAAK,CAAC,KAAmB;QAC5B,IAAI,IAAI,CAAC,UAAU,IAAI,KAAK,EAAE,CAAC;YAC9B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAA;YACvB,IAAI,CAAC,IAAI,EAAE,CAAA;QACZ,CAAC;IACF,CAAC;IAGD,IAAI,OAAO;QACV,OAAO,IAAI,CAAC,YAAY,CAAA;IACzB,CAAC;IACD,IAAI,OAAO,CAAC,KAAa;QACxB,IAAI,IAAI,CAAC,YAAY,IAAI,KAAK,EAAE,CAAC;YAChC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAA;YACzB,IAAI,CAAC,IAAI,EAAE,CAAA;QACZ,CAAC;IACF,CAAC;IACD,YAA4B,UAAwB,EAAU,YAAoB,EAAU,IAAkB;
|
|
1
|
+
{"version":3,"file":"Notice.js","sourceRoot":"","sources":["../../src/model/Notice.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,MAAM;IAElB,IAAI,KAAK;QACR,OAAO,IAAI,CAAC,UAAU,CAAA;IACvB,CAAC;IACD,IAAI,KAAK,CAAC,KAAmB;QAC5B,IAAI,IAAI,CAAC,UAAU,IAAI,KAAK,EAAE,CAAC;YAC9B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAA;YACvB,IAAI,CAAC,IAAI,EAAE,CAAA;QACZ,CAAC;IACF,CAAC;IAGD,IAAI,OAAO;QACV,OAAO,IAAI,CAAC,YAAY,CAAA;IACzB,CAAC;IACD,IAAI,OAAO,CAAC,KAAa;QACxB,IAAI,IAAI,CAAC,YAAY,IAAI,KAAK,EAAE,CAAC;YAChC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAA;YACzB,IAAI,CAAC,IAAI,EAAE,CAAA;QACZ,CAAC;IACF,CAAC;IACD,YAA4B,UAAwB,EAAU,YAAoB,EAAU,IAAkB,EAAU,WAAW,KAAK;QAA5G,eAAU,GAAV,UAAU,CAAc;QAAU,iBAAY,GAAZ,YAAY,CAAQ;QAAU,SAAI,GAAJ,IAAI,CAAc;QAAU,aAAQ,GAAR,QAAQ,CAAQ;QAVhI,cAAS,GAAsB,EAAE,CAAA;QAWxC,QAAQ,UAAU,EAAE,CAAC;YACpB,KAAK,SAAS;gBACb,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAA;gBAC1D,MAAK;YACN,KAAK,WAAW;gBACf,IAAI,CAAC,OAAO,EAAE,CAAA;gBACd,MAAK;YACN,KAAK,SAAS,CAAC;YACf,KAAK,SAAS,CAAC;YACf,KAAK,QAAQ;gBACZ,IAAI,CAAC,eAAe,EAAE,CAAA;gBACtB,MAAK;YACN;gBACC,MAAK;QACP,CAAC;IACF,CAAC;IACD,MAAM,CAAC,QAAyB;QAC/B,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC9B,CAAC;IACD,QAAQ,CAAC,QAAyB;QACjC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAA;IAC1C,CAAC;IACO,IAAI;QACX,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAA;IACrC,CAAC;IACO,OAAO;QACd,IAAI,CAAC,UAAU,EAAE,CAAA;QACjB,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACf,IAAI,CAAC,KAAK,GAAG,WAAW,CAAA;YACxB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;gBACxB,IAAI,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;gBACxB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAA;gBACxC,IAAI,CAAC,eAAe,EAAE,CAAA;YACvB,CAAC,CAAC,CAAA;QACH,CAAC;;YACA,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAA;IACvB,CAAC;IACO,eAAe;QACtB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAClE,CAAC;IAED,KAAK;QACJ,IAAI,CAAC,UAAU,EAAE,CAAA;QACjB,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAA;IACtB,CAAC;IACO,UAAU;QACjB,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YAChB,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;YAC/B,IAAI,CAAC,KAAK,GAAG,SAAS,CAAA;QACvB,CAAC;IACF,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,OAAe,EAAE,IAAiB,EAAE,QAAiB;QACjE,OAAO,IAAI,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAA;IACtD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,IAAiB,EAAE,QAAiB;QACnE,OAAO,IAAI,MAAM,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAA;IACxD,CAAC;IACD,MAAM,CAAC,SAAS,CAAC,OAAe,EAAE,QAAiB;QAClD,OAAO,IAAI,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAA;IAC3D,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,OAAe,EAAE,QAAiB;QAC/C,OAAO,IAAI,MAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAA;IAC1D,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,OAAe,EAAE,QAAiB;QAC7C,OAAO,IAAI,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAA;IAC3D,CAAC;CACD","sourcesContent":["export class Notice {\n\tprivate timer?: number\n\tget state(): Notice.State {\n\t\treturn this.stateValue\n\t}\n\tset state(value: Notice.State) {\n\t\tif (this.stateValue != value) {\n\t\t\tthis.stateValue = value\n\t\t\tthis.emit()\n\t\t}\n\t}\n\n\tprivate listeners: Notice.Listener[] = []\n\tget message(): string {\n\t\treturn this.messageValue\n\t}\n\tset message(value: string) {\n\t\tif (this.messageValue != value) {\n\t\t\tthis.messageValue = value\n\t\t\tthis.emit()\n\t\t}\n\t}\n\tprivate constructor(private stateValue: Notice.State, private messageValue: string, private task?: Notice.Task, private lifetime = 15000) {\n\t\tswitch (stateValue) {\n\t\t\tcase \"delayed\":\n\t\t\t\tthis.timer = window.setTimeout(() => this.execute(), 5000)\n\t\t\t\tbreak\n\t\t\tcase \"executing\":\n\t\t\t\tthis.execute()\n\t\t\t\tbreak\n\t\t\tcase \"success\":\n\t\t\tcase \"warning\":\n\t\t\tcase \"failed\":\n\t\t\t\tthis.startCloseTimer()\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tbreak\n\t\t}\n\t}\n\tlisten(listener: Notice.Listener) {\n\t\tthis.listeners.push(listener)\n\t}\n\tunlisten(listener: Notice.Listener) {\n\t\tthis.listeners.filter(l => l != listener)\n\t}\n\tprivate emit() {\n\t\tthis.listeners.forEach(l => l(this))\n\t}\n\tprivate execute() {\n\t\tthis.clearTimer()\n\t\tif (this.task) {\n\t\t\tthis.state = \"executing\"\n\t\t\tthis.task(this).then(r => {\n\t\t\t\tthis.messageValue = r[1] // emit is triggered by the state change below\n\t\t\t\tthis.state = r[0] ? \"success\" : \"failed\"\n\t\t\t\tthis.startCloseTimer()\n\t\t\t})\n\t\t} else\n\t\t\tthis.state = \"failed\"\n\t}\n\tprivate startCloseTimer() {\n\t\tthis.timer = window.setTimeout(() => this.close(), this.lifetime)\n\t}\n\n\tclose() {\n\t\tthis.clearTimer()\n\t\tthis.state = \"closed\"\n\t}\n\tprivate clearTimer() {\n\t\tif (this.timer) {\n\t\t\twindow.clearTimeout(this.timer)\n\t\t\tthis.timer = undefined\n\t\t}\n\t}\n\n\tstatic delay(message: string, task: Notice.Task, lifetime?: number): Notice {\n\t\treturn new Notice(\"delayed\", message, task, lifetime)\n\t}\n\tstatic execute(message: string, task: Notice.Task, lifetime?: number): Notice {\n\t\treturn new Notice(\"executing\", message, task, lifetime)\n\t}\n\tstatic succeeded(message: string, lifetime?: number): Notice {\n\t\treturn new Notice(\"success\", message, undefined, lifetime)\n\t}\n\tstatic failed(message: string, lifetime?: number): Notice {\n\t\treturn new Notice(\"failed\", message, undefined, lifetime)\n\t}\n\tstatic warn(message: string, lifetime?: number): Notice {\n\t\treturn new Notice(\"warning\", message, undefined, lifetime)\n\t}\n}\nexport namespace Notice {\n\texport type State = \"delayed\" | \"executing\" | \"success\" | \"warning\" | \"failed\" | \"closed\"\n\texport type Listener = (notice: Notice) => void\n\texport type Task = (notice: Notice) => Promise<[boolean, string]>\n}\n"]}
|
package/dist/components/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-BsZrGTcp.js";import{L as e,C as f,D as t,F as n,I as i,M as o,S as d,T as l}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import{N as u}from"./p-
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-BsZrGTcp.js";import{L as e,C as f,D as t,F as n,I as i,M as o,S as d,T as l}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import{N as u}from"./p-Bq3C8g8G.js";import{r as c}from"./p-D0tCcwtl.js";import{S as m}from"./p-DoFURPl2.js";class p{constructor(...f){this.listenable=new e;this.client=f.length==1?f[0]:undefined}}var y;(function(e){function f(e){const f=typeof e=="string"&&e.match(/[0-9a-fA-F]/g)||undefined;return typeof e=="string"&&e.length>3&&e[0]=="#"&&((f===null||f===void 0?void 0:f.length)==3||(f===null||f===void 0?void 0:f.length)==6)}e.is=f})(y||(y={}));var h;(function(e){function f(e){const f=typeof e=="string"&&e.length>11?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>11&&e.substr(0,4)=="hsl("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every(((e,f)=>{var r,t;let a=false;if(f==0){a=!Number.isNaN(e)&&((r=e.match(/[0-9]/g))===null||r===void 0?void 0:r.length)==e.length&&Number(e)>=0&&Number(e)<=360}else{const f=e.substr(0,e.length-1);a=e[e.length-1]=="%"&&!Number.isNaN(f)&&((t=f.match(/[0-9]/g))===null||t===void 0?void 0:t.length)==f.length&&Number(f)>=0&&Number(f)<=100}return a}))}e.is=f})(h||(h={}));const v={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var k;(function(e){e.types=()=>Object.keys(v);function f(f){return typeof f=="string"&&e.types().includes(f.toLowerCase())}e.is=f})(k||(k={}));var w;(function(e){function f(e){const f=typeof e=="string"&&e.length>9?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>9&&e.substr(0,4)=="rgb("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f})(w||(w={}));var j;(function(e){function f(e){const f=typeof e=="string"?e.split(","):[];return f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f;function r(f){let r;const i=typeof f=="string"?f.replace(/ /g,"").toLowerCase():undefined;if(!i){r=undefined}else if(e.is(i)){r=i}else if(y.is(i)){r=t(i)}else if(w.is(i)){r=a(i)}else if(k.is(i)){r=t(v[i])}else if(h.is(i)){r=n(i)}return r}e.from=r;function t(e){let f="0,0,0";if(e.length==7){f=`${parseInt(e.substr(1,2),16)},${parseInt(e.substr(3,2),16)},${parseInt(e.substr(5,2),16)}`}else if(e.length==4){f=t(`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`)}return f}e.fromHex=t;function a(e){return e.substring(4,e.length-1)}e.fromRgb=a;function n(e){let f="";let r,t,a;let n,o,d;const l=e.substring(4,e.length-1).split(",").map(((e,f)=>Number(f==0?e:e.substr(0,e.length-1))));if(l.length==3){r=l[0]/360;t=l[1]/100;a=l[2]/100;if(t==0){n=o=d=a}else{const e=a<.5?a*(1+t):a+t-a*t;const f=2*a-e;n=i(f,e,r+1/3);o=i(f,e,r);d=i(f,e,r-1/3)}f=`${Math.round(255*n)},${Math.round(255*o)},${Math.round(255*d)}`}return f}e.fromHsl=n;function i(e,f,r){let t=e;if(r<0){r+=1}if(r>1){r-=1}if(r<1/6){t=e+(f-e)*6*r}else if(r<1/2){t=f}else if(r<2/3){t=e+(f-e)*(2/3-r)*6}return t}})(j||(j={}));var N;(function(e){function f(e){return typeof e=="string"&&(j.is(e)||y.is(e)||h.is(e)||k.is(e)||w.is(e))}e.is=f;function r(e){return f(e)?e:undefined}e.from=r;e.Names=v;e.Name=k;e.CommaRgb=j;e.Rgb=w;e.Hex=y;e.Hsl=h})(N||(N={}));function $(e,f){return e.reduce(((e,r)=>typeof f=="object"&&f!=null&&typeof f[r]=="string"?Object.assign(Object.assign({},e),{[r]:f[r]}):e),{})}var q;(function(e){e.types=e;function f(e){let f={};if(typeof e=="object"&&e){f={text:$(["background","color"],e.text),border:$(["background","color","style","radius","width"],e.border),gap:typeof e.gap=="string"?e.gap:undefined,dangerColor:typeof e.dangerColor=="string"?e.dangerColor:typeof e.danger_color=="string"?e.danger_color:undefined,fontFamily:typeof e.fontFamily=="string"?e.fontFamily:typeof e.font_family=="string"?e.font_family:undefined,background:typeof e.background=="string"?e.background:undefined};Object.keys(f).forEach((e=>{var r;if(f[e]==undefined||typeof f[e]=="object"&&f[e]&&Object.keys((r=f[e])!==null&&r!==void 0?r:{}).length==0){delete f[e]}}))}return f}e.from=f;e.Color=N})(q||(q={}));var B=Object.freeze({__proto__:null,get Color(){return f},get Cosmetic(){return q},get Data(){return t},get Fill(){return n},get Icon(){return i},Listenable:e,get Message(){return o},Notice:u,get Scrollable(){return m},StateBase:p,get Submit(){return d},get Trigger(){return l},redirect:c});export{B as smoothly};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p as e,H as t,c as a,h as o,d as s,t as c}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d}from"./p-zLhQ1mMe.js";import{d as l}from"./p-mmAi00ak.js";import{d as i}from"./p-MHAaISnU.js";import{d as f}from"./p-CmV6S6tx.js";import{d as b}from"./p-DnvyyAaF.js";import{d as n}from"./p-CN3iME9d.js";import{d as y}from"./p-DG2pfnCV.js";import{d as r}from"./p-uFR5K4vd.js";import{d as u}from"./p-DvZK__s-.js";import{d as h}from"./p-F8qX8ZuL.js";import{d as p}from"./p-DPlYDxyJ.js";import{d as k}from"./p-DDYB8QLF.js";import{d as v}from"./p-BHTAR2x1.js";import{d as g}from"./p-B-jhX7aN.js";import{d as j}from"./p-Dk4OvZyQ.js";import{d as E}from"./p-CDzU4-Ri.js";import{d as x}from"./p-CIXMGKGQ.js";import{d as D}from"./p-DJ-iHxJr.js";import{d as w}from"./p-gq882NJF.js";import{d as S}from"./p-5l1ov6SU.js";import{d as C}from"./p-DkiBtdrU.js";import{d as L}from"./p-DGTXEwvN.js";import{d as z}from"./p-9Fd6-bL0.js";import{d as I}from"./p-Dh6ItMz4.js";import{d as M}from"./p-UqPFIGlg.js";import{d as A}from"./p-DIy2lHMf.js";import{d as B}from"./p-CMMaSJvr.js";import{d as F}from"./p-Bo1NnbuT.js";import{d as N}from"./p-BQOdxeHU.js";import{d as U}from"./p-Dq8EU803.js";import{d as H}from"./p-Cppqe_PV.js";import{d as J}from"./p-CLqKhHZ8.js";import{d as R}from"./p-CZIRwPwA.js";import{d as Q}from"./p-ycoVDLCD.js";import{d as Z}from"./p-ByRyVRgY.js";import{d as q}from"./p-CmUug44L.js";import{d as G}from"./p-BcEDrfmP.js";import{d as P}from"./p-2Y5tLcQ1.js";import{d as T}from"./p-BCwizh6U.js";const V=()=>`.sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo{display:flex}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo smoothly-input.sc-smoothly-input-demo{flex:1}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{max-width:min(calc(100% - 2rem), 56rem);margin:auto}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-grow:1;min-width:min(100%, var(--smoothly-form-input-min-width, 18rem));flex-basis:40%}`;const K=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyUrlUpdate=a(this,"smoothlyUrlUpdate");this.duration={hours:8};this.alphanumeric="!@##";this.numbers=[1,2,3,4,5,6,7,8,9]}render(){return o(s,{key:"ef33e129690f3cd0a771a1b12dcb8f9c79fa566e"},o("smoothly-input-demo-standard",{key:"5e12871414915755af5fb0e896b2ae9cbaeec449"}),o("smoothly-input-date-demo",{key:"cd9a7179d6d78b58c64a37329d170dafa3c4d4ee"}),o("smoothly-input-demo-user-input",{key:"1dc3897e7c1bb3de9b45084c880745abfadb568c"}),o("smoothly-input-demo-radio",{key:"3a6b7c1417ea8a91a62d4c911562175ba623c1e5"}),o("div",{key:"d218e51f2785f7caed4318ea33aaab6dca63d05e",class:"inputs"},o("h2",{key:"53ac6e802dd3e3581ad3dc2feb629537dbeaf9b6"},"Calendar"),o("smoothly-input-date",{key:"25127e4d56c34404d0dc25d63b7cc96c5e8c3645",name:"some-date"},"Calendar"),o("smoothly-input-date-time",{key:"e3025c6634241fa1347c7b2c93a918288a2371d6",name:"someDateTime",value:m.DateTime.now()},"DateTime"),o("h2",{key:"6db99859de7c13e9d6d40aa5c7cbdc25cddffd14"},"Date Range"),o("smoothly-input-date-range",{key:"c56da60bdb19ea3c0305d1881180845f848cb625",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-01",max:"2025-01-31"}),o("smoothly-input-date-range",{key:"556c9c8b45219b64f966252c9ea23b8a02bf78a2",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2024-12-30"},o("smoothly-input-reset",{key:"d6e08652074753d81334f6f26872f16a4ad27120",slot:"end",size:"icon"})),o("smoothly-input-date-range",{key:"65bffbaab83f117517cd37087c028d1ed2b4936c",looks:"grid",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2025-12-30",showLabel:false,style:{"--smoothly-input-border-radius":"0.5rem"}},o("smoothly-input-clear",{key:"e61e9737c489a68b612e38490fa4b2f95de72a6a",slot:"end",size:"icon"})),o("h2",{key:"d7f0223de99a710561a28daf86ceb69d7aef1da1"},"Date"),o("smoothly-input-date",{key:"2cf84ece02042c92ac3754379268a94ef536c91a"},"Date"),o("smoothly-input-date",{key:"b1b465843e3562c30e589af11004a09bf2b6157a",showLabel:false,value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),o("smoothly-input-date",{key:"5810635fbfd26dd8735f8abd2c2e58f30affd61c",value:"2021-10-28"},"Date",o("smoothly-input-reset",{key:"d63d51b77f52243dfa9f13fe2754e53919d21c06",slot:"end",size:"icon"})),o("smoothly-input-date",{key:"7815c1afc2b1d38d3263630d8ef8d5a4cfa0a096",value:"2021-10-28"},"Date",o("smoothly-input-clear",{key:"cf8b725f54894024063bb6735e17ed692195c994",slot:"end",size:"icon"})),o("h2",{key:"db2776f12559673b653e4671f92c578471e65a7a"},"Select"),o("div",{key:"64ef6bd07f27d07cf6ea6dd23ae434503fdcc740",class:"select-div"},o("smoothly-input-select",{key:"0a0f832b86bdb2fc7aeb964d52f320a6d76cf40d",name:"select-dessert",looks:"border"},o("label",{key:"d95e443f3df2398ca64bd6bcd64d6cdd629d0a8d",slot:"label"},"Select with clear button"),o("smoothly-item",{key:"c081a219a330aac151711e87423b474037b79628",value:"1"},"Ice cream"),o("smoothly-item",{key:"c168ee280c6dea09c54d86ae72fe2c79e134d448",value:"2"},"Sponge cake"),o("smoothly-item",{key:"cfea0b38d63995c108f0277ca248647725d22a60",value:"3",disabled:true},"Disabled Item"),o("smoothly-item",{key:"b93622e1a391c980d0c0371a0918dfca7ae7b456",value:"4"},"Cookie"),o("smoothly-item",{key:"e8733a8a51b09cea7ee31e4017f58152b58f5827",value:"5"},"Croissant"),o("smoothly-item",{key:"90731e217754cb6c096cc190fb8b0c56c2bac593",value:"6"},"Chocolate fondue"),o("smoothly-input-clear",{key:"0129f30c20777f9a37fc19ee8051e377507c9368",size:"icon",slot:"end"})),o("smoothly-input-select",{key:"94d3b7ca28b5fe5f9c9a3c587d995c65c8be45ad",multiple:true,name:"select-dessert-multiple",looks:"border"},o("label",{key:"2d935f7418f8db300bf20412c4dd15934da5c0d3",slot:"label"},"Select multiple with reset button"),o("smoothly-item",{key:"3c2579bffcde279703cfc041b315560a6dcc098e",value:"ice cream"},"Ice cream"),o("smoothly-item",{key:"a49fcce300b665b0de07fe67b5ea798e2fa94626",value:"sponge cake"},"Sponge cake"),o("smoothly-item",{key:"4678f38edab9f88113c056ff820df2bd07e2fe33",selected:true,value:"cookie"},"Cookie"),o("smoothly-item",{key:"fdcf2ecd485fe75a35ca96ed89352a343819b770",value:"croissant"},"Croissant"),o("smoothly-item",{key:"f5cafb0e4b020489c72db9cd2362936449826dbd",selected:true,value:"chocolate fondue"},"Chocolate fondue"),o("smoothly-input-reset",{key:"8c49833f66cee2e2ebac320c67ee5452a77636f7",size:"icon",slot:"end"})),o("smoothly-input-select",{key:"146806189c90cecb94e0bc9a01c713695689a2bc",name:"spirit-animals",looks:"border",mutable:true},o("label",{key:"56bc9c8ef474ce79b1af47086b65847877d6a03c",slot:"label"},"Select or add new options"),o("smoothly-item",{key:"b13d4158fadfb725ff6c1ca236f4724ba95936df",value:"manatee"},"Manatee"),o("smoothly-item",{key:"85d95f128731e5fd3ec1c1f3df672d98ff3a199a",selected:true,value:"cthulu"},"Cthulu")),o("smoothly-input-select",{key:"3bffa0bfbce0ab015208bdff0d648bf8f6d497bf",name:"select-icon",clearable:false,showSelected:false},o("smoothly-item",{key:"05d80d05561b9a716ea94d8e3fb3e3d5afc66c4c",value:"folder",selected:true},o("smoothly-icon",{key:"f86490ab381f59ed6fcdacb1d7441697fe645fd8",size:"small",name:"folder-outline"})),o("smoothly-item",{key:"ec29517ce6ee5b7353bc20fc3c4365751815bfc6",value:"camera"},o("smoothly-icon",{key:"75c27c69a18c0c37a6d989a2268ed9fa7ffb6daf",size:"small",name:"camera-outline"}))),o("smoothly-input-select",{key:"7ff7efc5b6f7a47da43fbd859a0c20cfb013c1c3",ordered:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},o("label",{key:"3eb848081a594d164a7144ac8fe91719c11dd950",slot:"label"},"Alphabet ordered select"),Array.from({length:26}).map(((e,t)=>String.fromCharCode(t+65))).map((e=>o("smoothly-item",{value:e,selected:e=="H"},e)))),o("smoothly-input-select",{key:"36db6fdd61728c21488000fb0e588858726de95d",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},o("label",{key:"b3a93c5d2b02f5c5ca50e2041db860082432ba0f",slot:"label"},"Month multiple select"),o("smoothly-item",{key:"5b3f4d4dda6ca6bac04d3d58e14b1bc6808a515d",value:"1"},"January"),o("smoothly-item",{key:"2137f933a08f0bff7661ef7eedb566ef0613b2c0",value:"2"},"February"),o("smoothly-item",{key:"2b60b2706c7a4e560dc61969fe8bff8bae2ee3b4",value:"3"},"March"),o("smoothly-item",{key:"10f7a805783997893080eba61a3a293901273b7e",value:"4"},"April"),o("smoothly-item",{key:"fbb81488473ab771ba92650e7f6c0d1e385a5486",value:"5"},"May"),o("smoothly-item",{key:"bb9a696e13859137773158b219807224c9e456d5",value:"6"},"June"),o("smoothly-item",{key:"cb9cb347df1ab4551d11a6104fea41e53646f7fe",value:"7"},"July"),o("smoothly-item",{key:"f636d5874c7b810b59d9aea7454ee060093946ff",value:"8"},"August"),o("smoothly-item",{key:"d7882ebaf8e4b13216201b04201f19d0152c7997",value:"9"},"September"),o("smoothly-item",{key:"30815b5d8ae477d52a6896083f58d5e913fc6ec9",value:"10"},"October"),o("smoothly-item",{key:"70658c05936d61c7e4faf8ab265d5e7ae448774a",value:"11"},"November"),o("smoothly-item",{key:"c737ec283e42443c75334f925d7fab3df2527a4f",value:"12"},"December")),o("div",{key:"a149cf4a6ebc5828e095c10e9d6d57abbc43c359",class:"select-div-row"},o("smoothly-input-select",{key:"0b32d71db9eb24afd885c46ea5f414be1e55133c",name:"select-icon",clearable:false,showSelected:false},o("smoothly-item",{key:"1c4fb8eeb730b8cfe6e4818ca16c565014a159a7",value:"folder",selected:true},o("smoothly-icon",{key:"082d0bba96283c4bceb9f92c3e772bd3fd8b7011",size:"small",name:"folder-outline"})),o("smoothly-item",{key:"ea4df02bbe52f26a1888b2f74ed587beb09890fe",value:"camera"},o("smoothly-icon",{key:"166ec449cff9acf04d866ac4786ba9f30b2a3b42",size:"small",name:"camera-outline"})),o("smoothly-item",{key:"65aa76f7da4c5677b031fe45a5a86fca0a3d29ee",value:"boat"},o("smoothly-icon",{key:"32d5688b2e74006e65131f11ee06890d8d52b5dd",size:"small",name:"boat-outline"}))),o("smoothly-input-select",{key:"fccc2a0bad4e53a6fee2a5ceca85a59b91d70090",name:"select-number",clearable:false},this.numbers.map((e=>o("smoothly-item",{value:"number",selected:e===3},e)))),o("smoothly-input",{key:"f8a91a3e5d64b5058bb91a50dde94d3eb128f7b5",name:"name",value:"Sten Qvist"},"Name"))),o("h2",{key:"012a2aeb69da69b0ab9cff4b761500892f2c9aba"},"Duration"),o("smoothly-input",{key:"55df5644b13c507f13d0efec711da4c3ae59dc95",name:"duration",type:"duration",placeholder:"hh:mm",value:this.duration,onSmoothlyInput:e=>this.duration=e.detail.duration},"Duration"),o("smoothly-input",{key:"4aa5fe278bfd9e37e3a625b67304cadb164bdd78",name:"duration",type:"duration",value:this.duration,placeholder:"-hh:mm",onSmoothlyInput:e=>{const t=e.detail.duration;this.duration=t}},"Duration"),o("h2",{key:"bb855c65c4b59aef87c9d4d18ac6db6b6d21bdec"},"Integer with Min/Max"),o("smoothly-input",{key:"1a5e0092eb5330cc384aafce47e1438abca4a590",name:"days",type:"integer",min:0,max:365},"Days per year (0-365)"),o("smoothly-input",{key:"359faaba1e62172b0224c8d8ec58e49cb5a81f09",name:"hour",type:"integer",min:0,max:23},"Hours per day (0-23)"),o("smoothly-input",{key:"6ce0655a6b0134ce4175d65f80792287e48eefbe",name:"minute",type:"integer",min:0,max:59},"Minutes per hour (0-59)"),o("smoothly-input",{key:"3ce841cda01cbb2c4f346009648faa281831a4b2",name:"minute",type:"integer",min:18,max:120},"Age (18-120)"),o("h2",{key:"e63ebb0b5996cbf653c6b6c969df48d635e28c30"},"Invalid text with warning icon and tooltip"),o("smoothly-input",{key:"62873bd1d9eadab148e0502f44fdbc779aa5a789",copyable:true,name:"alphanumeric",invalid:!/^[a-zA-Z0-9]+$/.test(this.alphanumeric),errorMessage:"Only alphanumeric allowed",value:this.alphanumeric,onSmoothlyInput:e=>this.alphanumeric=e.detail.alphanumeric},"Alphanumeric"),o("h2",{key:"04dffd24a3af57da6ae369a8fbe9372893e6e380"},"Identifiers"),o("smoothly-input",{key:"3d18b596880f98b84a07742cb9778d0095719294",type:"identifier-code"},"Code"),o("smoothly-input",{key:"190651f4f4263eaacd8b80f90f4074fef28da183",type:"identifier-attribute"},"Attribute"),o("smoothly-input",{key:"3a8802a9a173f518f975717cbe23cd1150316fc5",type:"identifier-snake"},"Snake"),o("smoothly-input",{key:"00ec5419cd67a7217d23f95513f451f2c8e98f8e",type:"identifier-pascal"},"Pascal"),o("smoothly-input",{key:"93eac4cce148e22640908d0d2f7c19a04b66d3f9",type:"identifier-camel"},"Camel"),o("h2",{key:"98b93a5cb9daf216199adb5fa089ddd84bc96c61"},"Input Alternatives"),o("smoothly-input",{key:"a031c081e8531bad8400469ae449757958d7324a",type:"text",name:"name.last"},o("smoothly-icon",{key:"bf00331aeef0f1046c5505911d7db6ba845e636c",name:"checkmark-circle",slot:"start"}),"First Name"),o("smoothly-input",{key:"7824cf3b501d802ff40e4a750dd46defa9cac8b6",type:"text",name:"name.first"},"Last Name",o("smoothly-icon",{key:"497b0417f5e7b0714753b0e5d78a78ab18130007",name:"checkmark-circle",slot:"end"})),o("smoothly-input",{key:"ba93dadda8140d398c1d350f98c53d2a08c440db",type:"text",name:"name.first",placeholder:"Smith"},"Last Name",o("smoothly-icon",{key:"28e8478b908bb51c6c5949e986c69930d1b10cb5",name:"checkmark-circle",slot:"end"})),o("smoothly-input",{key:"fcb8531d6fe4129585e9a6d6e641022f2f14cb94",placeholder:"test"}),o("smoothly-input-submit",{key:"97a4d319d250ecd00ede7a5beb2c06b077e8e82c",slot:"submit",fill:"solid",onSubmit:e=>alert(e),color:"success"}),o("h4",{key:"50579aad1a91b0c728a127076a37be38273b3635"},"Smoothly checkboxes"),o("div",{key:"ceee0a83b7626132ac6323dfd894d8ece7ea2f69",class:"checkbox-group"},o("smoothly-input-checkbox",{key:"0eab1d5ac670458ab57af847c9996fcf874fd985",disabled:true,name:"first-checkbox"},o("smoothly-icon",{key:"aa4259b0bc0193a0e31b2bdc2f9550d1e7a9cd66",name:"checkmark-circle",slot:"start",size:"tiny"}),"First"),o("smoothly-input-checkbox",{key:"38fe8ffc98f95b0a81aba7dadb0a46f876ec09f4",name:"second-checkbox",checked:true},o("smoothly-icon",{key:"40b2451d7fb2f705251abfb2158bc91a31ae9d3d",name:"checkmark-circle",slot:"start",size:"tiny"}),"second",o("smoothly-input-clear",{key:"34675173c8447131c978ca934fdde0d8764f44a8",size:"icon",slot:"end"})),o("smoothly-input-checkbox",{key:"42c6dd2f0fd6bb72d8ce31158f0451c5f500fe2b",name:"third-checkbox"},"3rd")),o("h4",{key:"94ddf8048c28f947c3d20a2440c49e9340448c58"},"Smoothly Radio Buttons"),o("smoothly-input-radio",{key:"0e308b17b5783bb23ce817cb30fbb9237a1b5b65",clearable:true,name:"radioFirstInput"},o("smoothly-icon",{key:"61ab423d103c3f04fbaae7d02d0a1685d576fcfe",name:"checkmark-circle",slot:"start"}),o("label",{key:"f75b6164630e97ad5f1174c08afe841e7321fe28",slot:"label"},"Clearable"),o("smoothly-input-radio-item",{key:"fd4284b27663aed055dce8671b46881789ba7dfb",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"9554d37989867953cefb248a039d1c6217ea0c4f",selected:true,value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"7643fa634aa9693163de7926468ea47ea99d232f",value:"third"},"Label 3"),o("smoothly-input-clear",{key:"ef750494dee99f5bf962f93f143a80a540834f20",size:"icon",slot:"end"})),o("smoothly-input-radio",{key:"3cf94704be4ce872a79a97abb4dc1828ade9ad71",name:"radioSecondInput"},o("label",{key:"d3feeed0e6debeaba6e95eec7c6effa4e3aa0484",slot:"label"},"Not clearable"),o("smoothly-input-radio-item",{key:"ed5bc06f71277cc4ad5e644d4b07c42c80dd1027",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"944215e958076b552f4ee8e5728897f63e88657c",value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"273705d445c5b1c1c01f6cea30bf8ad4036f932a",value:"third"},"Label 3"),o("smoothly-input-radio-item",{key:"c16dee456ac64f1aa945dcf6934ff6734c63e597",value:"fourth"},"Label 4"),o("smoothly-input-radio-item",{key:"d9795190e66042dedd027a4780900e2a32548ebc",value:"fifth"},"Label 5"),o("smoothly-input-radio-item",{key:"985a353d4d42885a3597807d9b3a1d6fe2692520",value:"sixth"},"Label 6")),o("smoothly-input-range-demo",{key:"011666bd072c688123437302f21ef556b9bc45cf"}),o("smoothly-input-color-demo",{key:"a7e2fedb5277f19eee2c670bf88c1089ead1eb92"}),o("smoothly-input-price-demo",{key:"3e2f3d6d9e0e368ad4b8c7f3294bbc8cb19d3358"}),o("smoothly-back-to-top",{key:"c2ecc189b026a4eae72d521e4cdffcfbd58ddbd9"})))}static get style(){return V()}},[2,"smoothly-input-demo",{duration:[32],alphanumeric:[32]}]);function O(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo","smoothly-back-to-top","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","smoothly-input-file","smoothly-input-month","smoothly-input-price-demo","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-range-demo","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo":if(!customElements.get(c(e))){customElements.define(c(e),K)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){d()}break;case"smoothly-button":if(!customElements.get(c(e))){l()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){i()}break;case"smoothly-calendar":if(!customElements.get(c(e))){f()}break;case"smoothly-date-text":if(!customElements.get(c(e))){b()}break;case"smoothly-display":if(!customElements.get(c(e))){n()}break;case"smoothly-display-json":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){u()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){h()}break;case"smoothly-form":if(!customElements.get(c(e))){p()}break;case"smoothly-icon":if(!customElements.get(c(e))){k()}break;case"smoothly-input":if(!customElements.get(c(e))){v()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){g()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){j()}break;case"smoothly-input-color":if(!customElements.get(c(e))){E()}break;case"smoothly-input-color-demo":if(!customElements.get(c(e))){x()}break;case"smoothly-input-date":if(!customElements.get(c(e))){D()}break;case"smoothly-input-date-demo":if(!customElements.get(c(e))){w()}break;case"smoothly-input-date-range":if(!customElements.get(c(e))){S()}break;case"smoothly-input-date-time":if(!customElements.get(c(e))){C()}break;case"smoothly-input-demo-radio":if(!customElements.get(c(e))){L()}break;case"smoothly-input-demo-standard":if(!customElements.get(c(e))){z()}break;case"smoothly-input-demo-user-input":if(!customElements.get(c(e))){I()}break;case"smoothly-input-file":if(!customElements.get(c(e))){M()}break;case"smoothly-input-month":if(!customElements.get(c(e))){A()}break;case"smoothly-input-price-demo":if(!customElements.get(c(e))){B()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){F()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){N()}break;case"smoothly-input-range":if(!customElements.get(c(e))){U()}break;case"smoothly-input-range-demo":if(!customElements.get(c(e))){H()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){J()}break;case"smoothly-input-select":if(!customElements.get(c(e))){R()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){Q()}break;case"smoothly-item":if(!customElements.get(c(e))){Z()}break;case"smoothly-spinner":if(!customElements.get(c(e))){q()}break;case"smoothly-tab":if(!customElements.get(c(e))){G()}break;case"smoothly-tabs":if(!customElements.get(c(e))){P()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){T()}break}}))}O();export{K as S,O as d};
|
|
2
|
+
//# sourceMappingURL=p-0WCHC4VI.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as e,h as s,d as l,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as o,H as e,h as s,d as l,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-CN3iME9d.js";import{d as m}from"./p-DG2pfnCV.js";import{d as r}from"./p-uFR5K4vd.js";import{d as c}from"./p-DvZK__s-.js";import{d as i}from"./p-F8qX8ZuL.js";import{d}from"./p-CmUug44L.js";import{d as y}from"./p-C77C00Ii.js";import{d as b}from"./p-DvMoIxws.js";import{d as f}from"./p-l818BCpp.js";import{d as h}from"./p-Cu0ProBU.js";import{d as n}from"./p-Iph4bHku.js";import{d as p}from"./p-BWT1q2tN.js";const u=()=>`.sc-smoothly-table-demo-filler-row-h{display:block}.sc-smoothly-table-demo-filler-row-h>smoothly-display.sc-smoothly-table-demo-filler-row{font-size:2em}.sc-smoothly-table-demo-filler-row-h>*.sc-smoothly-table-demo-filler-row{margin-bottom:2rem}`;const k=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}this.cats=[]}async componentDidLoad(){window.setTimeout((()=>{this.cats=undefined}),3e3)}render(){return s(l,{key:"557f61c2ccd69af2aefa39306df1aad555ff0744"},s("smoothly-display",{key:"7ab6ad735601adb00416b7e36c0cd8815ad61ef8",type:"text",value:"Filler row"}),s("smoothly-table",{key:"5a4a96a7e7eefb555c293a59fa4549566c4e3d37",color:"primary",columns:4},s("smoothly-table-head",{key:"6552d25cd1b2655207fd58a8b193125c5489e44a"},s("smoothly-table-row",{key:"713cc7a78a8375c1559e6dd612e91012d95d94e9"},s("smoothly-table-cell",{key:"6916664b0ccc30759af2b01eecbb0720a293e5e1"},"Breed"),s("smoothly-table-cell",{key:"23ebe72dbbfbb68993ce024cd574a80c78fedf97"},"Country"),s("smoothly-table-cell",{key:"56dc58c22a7fbc62a5a33d88e11e3198d76cce8b"},"Coat"),s("smoothly-table-cell",{key:"1b17e1b9e961951228b9134a979e154650a5692f"},"Origin"))),s("smoothly-table-body",{key:"e9cabfd3b379487e2f47c4e292f61f219dd1a170"},this.cats===undefined?s("smoothly-table-filler-row",null,"No data to display"):this.cats.length===0?s("smoothly-table-filler-row",null,s("smoothly-spinner",{style:{margin:"auto"},color:"default",size:"small"})):this.cats.map((o=>s("smoothly-table-row",null,s("div",{class:"smoothly-table-cell"},o.breed),s("div",{class:"smoothly-table-cell"},o.country),s("div",{class:"smoothly-table-cell"},o.coat),s("div",{class:"smoothly-table-cell"},o.origin)))))))}static get style(){return u()}},[2,"smoothly-table-demo-filler-row",{cats:[32]}]);function j(){if(typeof customElements==="undefined"){return}const o=["smoothly-table-demo-filler-row","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-spinner","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-filler-row","smoothly-table-head","smoothly-table-row"];o.forEach((o=>{switch(o){case"smoothly-table-demo-filler-row":if(!customElements.get(t(o))){customElements.define(t(o),k)}break;case"smoothly-display":if(!customElements.get(t(o))){a()}break;case"smoothly-display-json":if(!customElements.get(t(o))){m()}break;case"smoothly-display-json-object":if(!customElements.get(t(o))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(o))){c()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(o))){i()}break;case"smoothly-spinner":if(!customElements.get(t(o))){d()}break;case"smoothly-table":if(!customElements.get(t(o))){y()}break;case"smoothly-table-body":if(!customElements.get(t(o))){b()}break;case"smoothly-table-cell":if(!customElements.get(t(o))){f()}break;case"smoothly-table-filler-row":if(!customElements.get(t(o))){h()}break;case"smoothly-table-head":if(!customElements.get(t(o))){n()}break;case"smoothly-table-row":if(!customElements.get(t(o))){p()}break}}))}j();export{k as S,j as d};
|
|
2
|
+
//# sourceMappingURL=p-5Z_db2DH.js.map
|