smoothly 1.116.0 → 1.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Notice-Xc7J_4o_.js → Notice-ML9TNa7n.js} +15 -14
- package/dist/cjs/Notice-ML9TNa7n.js.map +1 -0
- package/dist/cjs/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} +163 -149
- 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/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-B5fLCjIP.js → p-5Z_db2DH.js} +2 -2
- package/dist/components/{p-C0oU5Cfy.js → p-5ac0hPYS.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-D83NzhAZ.js → p-B-jhX7aN.js} +2 -2
- package/dist/components/p-B37ZIkLI.js +2 -0
- package/dist/components/p-B8I-Yh5P.js +2 -0
- package/dist/components/p-BAMlbqpU.js +2 -0
- package/dist/components/{p-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-BJCnnn2u.js +2 -0
- package/dist/components/p-BLIeXp8k.js +2 -0
- package/dist/components/p-BOrYTTXf.js +2 -0
- package/dist/components/{p-DuAHxRQq.js → p-BOwhmPm8.js} +2 -2
- package/dist/components/{p-DVb0lxbZ.js → p-BOzzNfNj.js} +2 -2
- package/dist/components/{p-BpV6GXd7.js → p-BTjay9Fy.js} +2 -2
- package/dist/components/p-BUo_O_Bt.js +2 -0
- package/dist/components/{p-C02MtoAQ.js → p-BWT1q2tN.js} +2 -2
- package/dist/components/{p-kRSq8qa0.js → p-BcEDrfmP.js} +2 -2
- package/dist/components/{p-BFsrI2_x.js → p-BdYr9Wou.js} +2 -2
- package/dist/components/{p-5IpBMfCQ.js → p-BnJAC2Zf.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-19XTl7bT.js → p-C8r10chB.js} +2 -2
- 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-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-DA7cE1vV.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-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-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-DsVjTKwJ.js +2 -0
- package/dist/components/p-DvMoIxws.js +2 -0
- package/dist/components/{p-Ud7Qhkgt.js → p-DvZK__s-.js} +2 -2
- package/dist/components/p-Dw1KwhCp.js +2 -0
- package/dist/components/{p-DNwlLHgl.js.map → p-Dw1KwhCp.js.map} +1 -1
- package/dist/components/p-F8qX8ZuL.js +2 -0
- package/dist/components/p-HdZxIc2m.js +2 -0
- package/dist/components/{p-BSCQl0rf.js → p-Iph4bHku.js} +2 -2
- package/dist/components/p-KtTME3nN.js +2 -0
- 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-O5TMvOSH.js +2 -0
- package/dist/components/{p-56MQxIOz.js.map → p-O5TMvOSH.js.map} +1 -1
- 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-WiBL-FFH.js +2 -0
- package/dist/components/p-e7wZ4-5T.js +2 -0
- package/dist/components/p-gq882NJF.js +2 -0
- package/dist/components/p-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-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} +163 -150
- 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-1786667d.entry.js → p-36966f71.entry.js} +2 -2
- package/dist/smoothly/p-43e4b703.entry.js +2 -0
- package/dist/smoothly/p-43e4b703.entry.js.map +1 -0
- package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
- package/dist/smoothly/{p-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-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-B5fLCjIP.js.map → p-5Z_db2DH.js.map} +0 -0
- /package/dist/components/{p-C0oU5Cfy.js.map → p-5ac0hPYS.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-D83NzhAZ.js.map → p-B-jhX7aN.js.map} +0 -0
- /package/dist/components/{p-tXifYvLV.js.map → p-B37ZIkLI.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-X22HVbOR.js.map → p-BJCnnn2u.js.map} +0 -0
- /package/dist/components/{p-DLekIjaq.js.map → p-BLIeXp8k.js.map} +0 -0
- /package/dist/components/{p-diHpl72F.js.map → p-BOrYTTXf.js.map} +0 -0
- /package/dist/components/{p-DuAHxRQq.js.map → p-BOwhmPm8.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-5IpBMfCQ.js.map → p-BnJAC2Zf.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-19XTl7bT.js.map → p-C8r10chB.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-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-AP_j6gIy.js.map → p-DA7cE1vV.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-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-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-CjLb45eA.js.map → p-DsVjTKwJ.js.map} +0 -0
- /package/dist/components/{p-BGBbdXaw.js.map → p-DvMoIxws.js.map} +0 -0
- /package/dist/components/{p-Ud7Qhkgt.js.map → p-DvZK__s-.js.map} +0 -0
- /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
- /package/dist/components/{p-Dn5brtiA.js.map → p-HdZxIc2m.js.map} +0 -0
- /package/dist/components/{p-BSCQl0rf.js.map → p-Iph4bHku.js.map} +0 -0
- /package/dist/components/{p-DP2lfWFG.js.map → p-KtTME3nN.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-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-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
|
|
@@ -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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,c as i,h as s,d as e,t as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,c as i,h as s,d as e,t as a}from"./p-BsZrGTcp.js";import{I as l}from"./p-DPlYDxyJ.js";import{d as m}from"./p-DDYB8QLF.js";const c=()=>`.sc-smoothly-input-radio-item-h{display:flex;flex-wrap:wrap;align-items:center;position:relative}smoothly-input-radio:not([disabled]):not([readonly]) .sc-smoothly-input-radio-item-h>*.sc-smoothly-input-radio-item{cursor:pointer}smoothly-input-radio[disabled] .sc-smoothly-input-radio-item-h>*.sc-smoothly-input-radio-item{cursor:not-allowed}.sc-smoothly-input-radio-item-h>input.sc-smoothly-input-radio-item:focus-visible+smoothly-icon.sc-smoothly-input-radio-item{outline:2px solid rgb(var(--smoothly-primary-color));border-radius:1px}.sc-smoothly-input-radio-item-h>smoothly-icon.sc-smoothly-input-radio-item{--smoothly-color-contrast:var(--smoothly-input-foreground)}smoothly-input-radio:not([disabled]):not([readonly]) .sc-smoothly-input-radio-item-h>smoothly-icon[name=checkmark-circle].sc-smoothly-input-radio-item{--smoothly-color-contrast:var(--smoothly-success-color)}.sc-smoothly-input-radio-item-h>input.sc-smoothly-input-radio-item{opacity:0;z-index:1;width:1.5em;height:1.5em;position:absolute;transform:translateX(50%)}.sc-smoothly-input-radio-item-h>label.sc-smoothly-input-radio-item{padding:0 .3em;white-space:nowrap}.sc-smoothly-input-radio-item-h[selected].sc-smoothly-input-radio-item-s>[slot="detail"],.sc-smoothly-input-radio-item-h[selected] .sc-smoothly-input-radio-item-s>[slot="detail"]{display:block;width:100%}.sc-smoothly-input-radio-item-h.sc-smoothly-input-radio-item-s>[slot="detail"],.sc-smoothly-input-radio-item-h .sc-smoothly-input-radio-item-s>[slot="detail"]{display:none}`;const n=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyRadioItemSelect=i(this,"smoothlyRadioItemSelect");this.smoothlyRadioItemRegister=i(this,"smoothlyRadioItemRegister");this.selected=false}componentWillLoad(){this.smoothlyRadioItemRegister.emit((t=>{this.name=t.name;t.listen((async t=>{if(l.is(t)){this.disabled=t.disabled}}))}));this.selected&&this.inputHandler(false)}inputHandler(t){this.smoothlyRadioItemSelect.emit({value:this.value,selected:this.selected,select:t=>this.selected=t,userInitiated:t})}render(){return s(e,{key:"6cda60049d14ae191ab196ba44e1b865b337638c",onClick:()=>this.inputHandler(true)},s("input",{key:"5e312eb0fef6fde4eeaa6f450447b0d2cd0536fe",name:this.name,type:"radio",checked:this.selected,disabled:this.disabled}),s("smoothly-icon",{key:"ac4eed680c8cb314f1b5f4a9857e6646aac6cb82",name:this.selected?"checkmark-circle":"ellipse-outline",size:"small",tooltip:"Select"}),s("label",{key:"c96f7fcd07b7687db703519960ae88101abb17c6"},s("slot",{key:"a3628941ed9b7a933c3a92908b0b5fd03d20d98e"})),s("slot",{key:"f689489ccc1616f2715c1336979f674d64f56a9c",name:"detail"}))}get element(){return this}static get style(){return c()}},[262,"smoothly-input-radio-item",{value:[1032],selected:[1540],looks:[1537],name:[1025],disabled:[32]}]);function r(){if(typeof customElements==="undefined"){return}const t=["smoothly-input-radio-item","smoothly-icon"];t.forEach((t=>{switch(t){case"smoothly-input-radio-item":if(!customElements.get(a(t))){customElements.define(a(t),n)}break;case"smoothly-icon":if(!customElements.get(a(t))){m()}break}}))}r();export{n as S,r as d};
|
|
2
|
+
//# sourceMappingURL=p-5ac0hPYS.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,c as s,h as e,d as a,t as n}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{E as l}from"./p-iQDU7l2c.js";import{I as h}from"./p-476P3lCN.js";import{d as r}from"./p-DmRiznt_.js";import{d}from"./p-DvKyYKhJ.js";import{d as m}from"./p-lxR7rA3k.js";import{d as c}from"./p-DlfphBOA.js";import{d as u}from"./p-GOrXJdjK.js";import{d as p}from"./p-fnKrPnzp.js";const y=()=>`.sc-smoothly-input-date-range-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks="border"].sc-smoothly-input-date-range-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks="border"].sc-smoothly-input-date-range-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks="border"][readonly].sc-smoothly-input-date-range-h{border:transparent solid 1px}[looks="line"].sc-smoothly-input-date-range-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks="line"][readonly].sc-smoothly-input-date-range-h{border-bottom:transparent solid 1px}[looks="line"].sc-smoothly-input-date-range-h:not([readonly]):not([disabled]):focus-within::before{content:"";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks="grid"].sc-smoothly-input-date-range-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks="grid"][readonly].sc-smoothly-input-date-range-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks="grid"].sc-smoothly-input-date-range-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks="transparent"].sc-smoothly-input-date-range-h{border:none}[looks="transparent"][readonly].sc-smoothly-input-date-range-h,[looks="transparent"].sc-smoothly-input-date-range-h:not(:focus-within){background-color:transparent}[looks="transparent"][readonly].sc-smoothly-input-date-range-h>input.sc-smoothly-input-date-range,[looks="transparent"].sc-smoothly-input-date-range-h:not(:focus-within)>input.sc-smoothly-input-date-range{background-color:transparent}[looks="transparent"].sc-smoothly-input-date-range-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-date-range-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-date-range-h.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-date-range-h.floating-label.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.floating-label .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder] .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly] .sc-smoothly-input-date-range-s>[slot=label],.floating-label.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.has-value.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.has-text.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[placeholder].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[readonly].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-date-range{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-date-range-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-date-range{display:none}.sc-smoothly-input-date-range-h smoothly-icon.smoothly-invalid.sc-smoothly-input-date-range{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-date-range-h{position:relative;display:flex;background-color:rgb(var(--smoothly-input-background))}.sc-smoothly-input-date-range-h [slot=start].sc-smoothly-input-date-range{align-self:center}.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range{left:var(--input-padding-side)}.sc-smoothly-input-date-range-h .smoothly-date-range-separator.sc-smoothly-input-date-range{white-space:pre}.sc-smoothly-input-date-range-h .smoothly-date-range-placeholder.sc-smoothly-input-date-range{margin-inline:var(--input-padding-side);display:none}.sc-smoothly-input-date-range-h:not([always-show-guide]):not(:focus-within):not(.has-text) .smoothly-date-range-placeholder.sc-smoothly-input-date-range{display:block;opacity:0.5}.sc-smoothly-input-date-range-h:not([always-show-guide]):not(:focus-within):not(.has-text) smoothly-date-text.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([always-show-guide]):not(:focus-within):not(.has-text) .smoothly-date-range-separator.sc-smoothly-input-date-range{visibility:hidden}.sc-smoothly-input-date-range-h smoothly-date-text.start-date-text.sc-smoothly-input-date-range{margin-inline:var(--input-padding-side) 0}.sc-smoothly-input-date-range-h smoothly-date-text.end-date-text.sc-smoothly-input-date-range{margin-inline:0 var(--input-padding-side)}[show-label].sc-smoothly-input-date-range-h .smoothly-date-range-placeholder.sc-smoothly-input-date-range,[show-label].sc-smoothly-input-date-range-h smoothly-date-text.sc-smoothly-input-date-range,[show-label].sc-smoothly-input-date-range-h .smoothly-date-range-separator.sc-smoothly-input-date-range{margin-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-date-range-h:not([show-label]) .smoothly-date-range-placeholder.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([show-label]) smoothly-date-text.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([show-label]) .smoothly-date-range-separator.sc-smoothly-input-date-range{margin-block:auto}.sc-smoothly-input-date-range-h:not([readonly]){cursor:pointer}[disabled].sc-smoothly-input-date-range-h{cursor:not-allowed}.sc-smoothly-input-date-range-h>smoothly-calendar.sc-smoothly-input-date-range{position:absolute;z-index:20;top:4rem;background-color:rgb(var(--smoothly-input-background));max-width:22rem;min-width:18rem}.sc-smoothly-input-date-range-h>smoothly-calendar.sc-smoothly-input-date-range::before{content:"";position:absolute;top:-0.55rem;left:3rem;z-index:9;transform:rotate(45deg);width:1rem;height:1rem;background-color:rgb(var(--smoothly-input-background));border-top:1px solid rgb(var(--smoothly-input-border));border-left:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-input-date-range-h>.smoothly-date-range-input-part.sc-smoothly-input-date-range{display:flex;width:100%;background-color:var(--smoothly-input-background);border-radius:0.25rem;cursor:pointer}.sc-smoothly-input-date-range-h>span.smoothly-icons.sc-smoothly-input-date-range{display:flex;flex-direction:row;align-items:center}.sc-smoothly-input-date-range-h>.smoothly-icons.sc-smoothly-input-date-range>.smoothly-invalid.sc-smoothly-input-date-range{display:none;padding:0.5rem}[invalid].sc-smoothly-input-date-range-h>.smoothly-icons.sc-smoothly-input-date-range>.smoothly-invalid.sc-smoothly-input-date-range{display:flex}`;const g=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyInput=s(this,"smoothlyInput");this.smoothlyUserInput=s(this,"smoothlyUserInput");this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.smoothlyInputLooks=s(this,"smoothlyInputLooks");this.smoothlyFormDisable=s(this,"smoothlyFormDisable");this.name="dateRange";this.readonly=false;this.showLabel=true;this.alwaysShowGuide=false;this.invalid=false;this.isDifferentFromInitial=false;this.hasFocus=false;this.observer=l.Observer.create(this);this.startHasText=false;this.endHasText=false}async componentWillLoad(){this.setInitialValue();this.smoothlyInputLooks.emit(((t,o)=>{var s;return this.looks=(s=this.looks)!==null&&s!==void 0?s:t,!this.color&&(this.color=o)}));this.smoothlyInputLoad.emit((t=>this.parent=t));this.smoothlyInput.emit({[this.name]:await this.getValue()});!this.readonly&&this.smoothlyFormDisable.emit((t=>this.readonly=t));this.observer.publish()}startChanged(t,o){this.updateValue(o,this.end)}endChanged(t,o){this.updateValue(this.start,o)}async updateValue(t,o){var s,e;if(t!=this.start||o!=this.end){this.isDifferentFromInitial=this.initialStart!=this.start||this.initialEnd!=this.end;this.smoothlyInput.emit({[this.name]:await this.getValue()});this.observer.publish()}if(!this.hasFocus){(s=this.startTextElement)===null||s===void 0?void 0:s.setValue(this.start);(e=this.endTextElement)===null||e===void 0?void 0:e.setValue(this.end)}}watchingReadonly(){this.observer.publish()}smoothlyInputLoadHandler(t){h.registerSubAction(this,t)}smoothlyInputLooksHandler(t){if(t.target!=this.element){t.stopPropagation()}}onWindowClick(t){!t.composedPath().includes(this.element)&&this.open&&(this.open=!this.open)}onClick(t){var o,s;const e=!!this.startTextElement&&t.composedPath().includes(this.startTextElement);const a=!!this.endTextElement&&t.composedPath().includes(this.endTextElement);const n=e||a;if(!n&&!this.readonly&&!this.disabled){this.start&&!this.end?(o=this.endTextElement)===null||o===void 0?void 0:o.select():(s=this.startTextElement)===null||s===void 0?void 0:s.select()}if(!this.readonly&&!this.disabled){this.open=!this.open||n}}async onSmoothlyDateTextChange(t,o){var s,e,a;t.stopPropagation();const n=(s=t.detail)!==null&&s!==void 0?s:undefined;const l=o=="start"?n:this.start;const h=o=="end"?n:this.end;if(i.Date.is(l)&&i.Date.is(h)&&l>h){this.start=h;this.end=l;(e=this.startTextElement)===null||e===void 0?void 0:e.setValue(this.start);(a=this.endTextElement)===null||a===void 0?void 0:a.setValue(this.end);this.smoothlyUserInput.emit({name:this.name,value:await this.getValue()})}else if(this[o]!=n){this[o]=n;this.smoothlyUserInput.emit({name:this.name,value:await this.getValue()})}}async disconnectedCallback(){if(!this.element.isConnected){await this.unregister()}}nameChange(t,o){h.formRename(this,o)}async register(){h.formAdd(this)}async unregister(){h.formRemove(this)}async getValue(){return this.start||this.end?{start:this.start,end:this.end}:undefined}async listen(t){this.observer.subscribe(t)}async edit(t){this.readonly=!t}async reset(){this.start=this.initialStart;this.end=this.initialEnd}async setInitialValue(){this.initialStart=this.start;this.initialEnd=this.end;this.isDifferentFromInitial=false}async clear(){this.start=undefined;this.end=undefined;this.smoothlyInput.emit({[this.name]:undefined})}render(){return e(a,{key:"1f8b2d046cbb64b8df5343a945cb51563d721f27",tabindex:this.disabled?undefined:0,class:{"has-value":!!(this.start||this.end),"has-text":!!(this.startHasText||this.endHasText),"floating-label":this.alwaysShowGuide}},e("span",{key:"abc0f86b086ba26c3b1d4951394d81da35f83e86",class:"smoothly-date-range-input-part",onClick:t=>this.onClick(t)},e("slot",{key:"a06c2b9b096aca90e83f765b364dca7544ed99ca",name:"start"}),e("label",{key:"70d76e4a489a17cb028c4b8831d352171214d58f",class:"label float-on-focus"},e("slot",{key:"929cd10cba08419fbfeb0e19e99d01ef52bfaf96"})),this.placeholder&&e("span",{key:"8c91d08654b77a865869dca0633c04d1af54d57f",class:"smoothly-date-range-placeholder"},this.placeholder),e("smoothly-date-text",{key:"5a37bda38fa94c90ee8e5440f085c9eac3b81648",ref:t=>this.startTextElement=t,class:"start-date-text",locale:this.locale,onSmoothlyDateTextHasText:t=>(t.stopPropagation(),this.startHasText=t.detail),onSmoothlyDateTextFocusChange:t=>(t.stopPropagation(),this.hasFocus=t.detail),onSmoothlyDateHasPartialDate:t=>{var o;return t.stopPropagation(),(o=this.calendarElement)===null||o===void 0?void 0:o.jumpTo(t.detail)},onSmoothlyDateTextChange:t=>(t.stopPropagation(),this.onSmoothlyDateTextChange(t,"start")),onSmoothlyDateTextNext:t=>{var o;return t.stopPropagation(),(o=this.endTextElement)===null||o===void 0?void 0:o.select()},onSmoothlyDateTextDone:t=>{var o,s;return t.stopPropagation(),this.end?((o=this.startTextElement)===null||o===void 0?void 0:o.deselect(),this.open=false):(s=this.endTextElement)===null||s===void 0?void 0:s.select()},value:this.start,readonly:this.readonly,disabled:this.disabled,showLabel:this.showLabel}),e("span",{key:"694bb773d16025b187d059c8b0cc7b36f94956d5",class:"smoothly-date-range-separator"}," – "),e("smoothly-date-text",{key:"830739f213b8c3a27619d7f29667483f4317b612",ref:t=>this.endTextElement=t,class:"end-date-text",locale:this.locale,onSmoothlyDateTextHasText:t=>(t.stopPropagation(),this.endHasText=t.detail),onSmoothlyDateTextFocusChange:t=>(t.stopPropagation(),this.hasFocus=t.detail),onSmoothlyDateHasPartialDate:t=>{var o;return t.stopPropagation(),(o=this.calendarElement)===null||o===void 0?void 0:o.jumpTo(t.detail)},onSmoothlyDateTextChange:t=>(t.stopPropagation(),this.onSmoothlyDateTextChange(t,"end")),onSmoothlyDateTextPrevious:t=>{var o;return t.stopPropagation(),(o=this.startTextElement)===null||o===void 0?void 0:o.select("end")},onSmoothlyDateTextNext:t=>t.stopPropagation(),onSmoothlyDateTextDone:t=>{var o;return t.stopPropagation(),(o=this.endTextElement)===null||o===void 0?void 0:o.deselect(),this.open=false},value:this.end,readonly:this.readonly,disabled:this.disabled,showLabel:this.showLabel})),e("span",{key:"90767c1048bbcc816563496f3d3afbea4970e953",class:"smoothly-icons"},e("smoothly-icon",{key:"9f6ffbfa8e626160be54d8e82f8538d5a1e75c5f",class:"smoothly-invalid",name:"alert-circle",size:"small",tooltip:this.errorMessage}),e("slot",{key:"83aef1b1b1c8726f0a7b8b939fcf1d54b07a8389",name:"end"})),this.open&&e("smoothly-calendar",{key:"395c5ba753121d7a0eb1c2d1e986cfad58e98232",ref:t=>this.calendarElement=t,doubleInput:true,onSmoothlyDateSet:t=>t.stopPropagation(),onSmoothlyDateRangeSet:t=>{t.stopPropagation();this.open=false;this.start=t.detail.start;this.end=t.detail.end;this.smoothlyInput.emit({[this.name]:t.detail});this.smoothlyUserInput.emit({name:this.name,value:t.detail})},value:this.start,start:this.start,end:this.end,max:this.max,min:this.min}))}get element(){return this}static get watchers(){return{start:[{startChanged:0}],end:[{endChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}],name:[{nameChange:0}]}}static get style(){return y()}},[262,"smoothly-input-date-range",{locale:[513],name:[513],color:[1537],looks:[1537],readonly:[1540],disabled:[516],showLabel:[516,"show-label"],start:[1025],end:[1025],placeholder:[513],alwaysShowGuide:[516,"always-show-guide"],invalid:[516],errorMessage:[513,"error-message"],max:[1],min:[1],open:[32],startHasText:[32],endHasText:[32],register:[64],unregister:[64],getValue:[64],listen:[64],edit:[64],reset:[64],setInitialValue:[64],clear:[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[8,"click","onWindowClick"]],{start:[{startChanged:0}],end:[{endChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}],name:[{nameChange:0}]}]);function b(){if(typeof customElements==="undefined"){return}const t=["smoothly-input-date-range","smoothly-calendar","smoothly-date-text","smoothly-icon","smoothly-input-month","smoothly-input-select","smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-input-date-range":if(!customElements.get(n(t))){customElements.define(n(t),g)}break;case"smoothly-calendar":if(!customElements.get(n(t))){r()}break;case"smoothly-date-text":if(!customElements.get(n(t))){d()}break;case"smoothly-icon":if(!customElements.get(n(t))){m()}break;case"smoothly-input-month":if(!customElements.get(n(t))){c()}break;case"smoothly-input-select":if(!customElements.get(n(t))){u()}break;case"smoothly-item":if(!customElements.get(n(t))){p()}break}}))}b();export{g as S,b as d};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,c as e,h as s,d as a,t as n}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{E as l}from"./p-iQDU7l2c.js";import{I as h}from"./p-DPlYDxyJ.js";import{d as r}from"./p-CmV6S6tx.js";import{d}from"./p-DnvyyAaF.js";import{d as m}from"./p-DDYB8QLF.js";import{d as c}from"./p-DIy2lHMf.js";import{d as u}from"./p-CZIRwPwA.js";import{d as p}from"./p-ByRyVRgY.js";const y=()=>`.sc-smoothly-input-date-range-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks="border"].sc-smoothly-input-date-range-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks="border"].sc-smoothly-input-date-range-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks="border"][readonly].sc-smoothly-input-date-range-h{border:transparent solid 1px}[looks="line"].sc-smoothly-input-date-range-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks="line"][readonly].sc-smoothly-input-date-range-h{border-bottom:transparent solid 1px}[looks="line"].sc-smoothly-input-date-range-h:not([readonly]):not([disabled]):focus-within::before{content:"";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks="grid"].sc-smoothly-input-date-range-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks="grid"][readonly].sc-smoothly-input-date-range-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks="grid"].sc-smoothly-input-date-range-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks="transparent"].sc-smoothly-input-date-range-h{border:none}[looks="transparent"][readonly].sc-smoothly-input-date-range-h,[looks="transparent"].sc-smoothly-input-date-range-h:not(:focus-within){background-color:transparent}[looks="transparent"][readonly].sc-smoothly-input-date-range-h>input.sc-smoothly-input-date-range,[looks="transparent"].sc-smoothly-input-date-range-h:not(:focus-within)>input.sc-smoothly-input-date-range{background-color:transparent}[looks="transparent"].sc-smoothly-input-date-range-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-date-range-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-date-range-h.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-date-range-h.floating-label.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.floating-label .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value.sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h.has-value .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[placeholder] .sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly].sc-smoothly-input-date-range-s>[slot=label],.sc-smoothly-input-date-range-h[readonly] .sc-smoothly-input-date-range-s>[slot=label],.floating-label.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.has-value.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.has-text.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[placeholder].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,[readonly].sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-date-range{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-date-range-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-date-range{display:none}.sc-smoothly-input-date-range-h smoothly-icon.smoothly-invalid.sc-smoothly-input-date-range{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-date-range-h{position:relative;display:flex;background-color:rgb(var(--smoothly-input-background))}.sc-smoothly-input-date-range-h [slot=start].sc-smoothly-input-date-range{align-self:center}.sc-smoothly-input-date-range-h .label.sc-smoothly-input-date-range{left:var(--input-padding-side)}.sc-smoothly-input-date-range-h .smoothly-date-range-separator.sc-smoothly-input-date-range{white-space:pre}.sc-smoothly-input-date-range-h .smoothly-date-range-placeholder.sc-smoothly-input-date-range{margin-inline:var(--input-padding-side);display:none}.sc-smoothly-input-date-range-h:not([always-show-guide]):not(:focus-within):not(.has-text) .smoothly-date-range-placeholder.sc-smoothly-input-date-range{display:block;opacity:0.5}.sc-smoothly-input-date-range-h:not([always-show-guide]):not(:focus-within):not(.has-text) smoothly-date-text.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([always-show-guide]):not(:focus-within):not(.has-text) .smoothly-date-range-separator.sc-smoothly-input-date-range{visibility:hidden}.sc-smoothly-input-date-range-h smoothly-date-text.start-date-text.sc-smoothly-input-date-range{margin-inline:var(--input-padding-side) 0}.sc-smoothly-input-date-range-h smoothly-date-text.end-date-text.sc-smoothly-input-date-range{margin-inline:0 var(--input-padding-side)}[show-label].sc-smoothly-input-date-range-h .smoothly-date-range-placeholder.sc-smoothly-input-date-range,[show-label].sc-smoothly-input-date-range-h smoothly-date-text.sc-smoothly-input-date-range,[show-label].sc-smoothly-input-date-range-h .smoothly-date-range-separator.sc-smoothly-input-date-range{margin-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-date-range-h:not([show-label]) .smoothly-date-range-placeholder.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([show-label]) smoothly-date-text.sc-smoothly-input-date-range,.sc-smoothly-input-date-range-h:not([show-label]) .smoothly-date-range-separator.sc-smoothly-input-date-range{margin-block:auto}.sc-smoothly-input-date-range-h:not([readonly]){cursor:pointer}[disabled].sc-smoothly-input-date-range-h{cursor:not-allowed}.sc-smoothly-input-date-range-h>smoothly-calendar.sc-smoothly-input-date-range{position:absolute;z-index:20;top:4rem;background-color:rgb(var(--smoothly-input-background));max-width:22rem;min-width:18rem}.sc-smoothly-input-date-range-h>smoothly-calendar.sc-smoothly-input-date-range::before{content:"";position:absolute;top:-0.55rem;left:3rem;z-index:9;transform:rotate(45deg);width:1rem;height:1rem;background-color:rgb(var(--smoothly-input-background));border-top:1px solid rgb(var(--smoothly-input-border));border-left:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-input-date-range-h>.smoothly-date-range-input-part.sc-smoothly-input-date-range{display:flex;width:100%;background-color:var(--smoothly-input-background);border-radius:0.25rem;cursor:pointer}.sc-smoothly-input-date-range-h>span.smoothly-icons.sc-smoothly-input-date-range{display:flex;flex-direction:row;align-items:center}.sc-smoothly-input-date-range-h>.smoothly-icons.sc-smoothly-input-date-range>.smoothly-invalid.sc-smoothly-input-date-range{display:none;padding:0.5rem}[invalid].sc-smoothly-input-date-range-h>.smoothly-icons.sc-smoothly-input-date-range>.smoothly-invalid.sc-smoothly-input-date-range{display:flex}`;const g=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyInput=e(this,"smoothlyInput");this.smoothlyUserInput=e(this,"smoothlyUserInput");this.smoothlyInputLoad=e(this,"smoothlyInputLoad");this.smoothlyInputLooks=e(this,"smoothlyInputLooks");this.smoothlyFormDisable=e(this,"smoothlyFormDisable");this.name="dateRange";this.readonly=false;this.showLabel=true;this.alwaysShowGuide=false;this.invalid=false;this.isDifferentFromInitial=false;this.hasFocus=false;this.observer=l.Observer.create(this);this.startHasText=false;this.endHasText=false}async componentWillLoad(){this.setInitialValue();this.smoothlyInputLooks.emit(((t,o)=>{var e;return this.looks=(e=this.looks)!==null&&e!==void 0?e:t,!this.color&&(this.color=o)}));this.smoothlyInputLoad.emit((t=>this.parent=t));this.smoothlyInput.emit({[this.name]:await this.getValue()});!this.readonly&&this.smoothlyFormDisable.emit((t=>this.readonly=t));this.observer.publish()}startChanged(t,o){this.updateValue(o,this.end)}endChanged(t,o){this.updateValue(this.start,o)}async updateValue(t,o){var e,s;if(t!=this.start||o!=this.end){this.isDifferentFromInitial=this.initialStart!=this.start||this.initialEnd!=this.end;this.smoothlyInput.emit({[this.name]:await this.getValue()});this.observer.publish()}if(!this.hasFocus){(e=this.startTextElement)===null||e===void 0?void 0:e.setValue(this.start);(s=this.endTextElement)===null||s===void 0?void 0:s.setValue(this.end)}}watchingReadonly(){this.observer.publish()}smoothlyInputLoadHandler(t){h.registerSubAction(this,t)}smoothlyInputLooksHandler(t){if(t.target!=this.element){t.stopPropagation()}}onWindowClick(t){!t.composedPath().includes(this.element)&&this.open&&(this.open=!this.open)}onClick(t){var o,e;const s=!!this.startTextElement&&t.composedPath().includes(this.startTextElement);const a=!!this.endTextElement&&t.composedPath().includes(this.endTextElement);const n=s||a;if(!n&&!this.readonly&&!this.disabled){this.start&&!this.end?(o=this.endTextElement)===null||o===void 0?void 0:o.select():(e=this.startTextElement)===null||e===void 0?void 0:e.select()}if(!this.readonly&&!this.disabled){this.open=!this.open||n}}async onSmoothlyDateTextChange(t,o){var e,s,a;t.stopPropagation();const n=(e=t.detail)!==null&&e!==void 0?e:undefined;const l=o=="start"?n:this.start;const h=o=="end"?n:this.end;if(i.Date.is(l)&&i.Date.is(h)&&l>h){this.start=h;this.end=l;(s=this.startTextElement)===null||s===void 0?void 0:s.setValue(this.start);(a=this.endTextElement)===null||a===void 0?void 0:a.setValue(this.end);this.smoothlyUserInput.emit({name:this.name,value:await this.getValue()})}else if(this[o]!=n){this[o]=n;this.smoothlyUserInput.emit({name:this.name,value:await this.getValue()})}}async disconnectedCallback(){if(!this.element.isConnected){await this.unregister()}}nameChange(t,o){h.formRename(this,o)}async register(){h.formAdd(this)}async unregister(){h.formRemove(this)}async getValue(){return this.start||this.end?{start:this.start,end:this.end}:undefined}async listen(t){this.observer.subscribe(t)}async edit(t){this.readonly=!t}async reset(){this.start=this.initialStart;this.end=this.initialEnd}async setInitialValue(){this.initialStart=this.start;this.initialEnd=this.end;this.isDifferentFromInitial=false}async clear(){this.start=undefined;this.end=undefined;this.smoothlyInput.emit({[this.name]:undefined})}render(){return s(a,{key:"4aafb51483d57234d6f42a6252a45078a5cc4054",tabindex:this.disabled?undefined:0,class:{"has-value":!!(this.start||this.end),"has-text":!!(this.startHasText||this.endHasText),"floating-label":this.alwaysShowGuide}},s("span",{key:"5516903b15400ea4dd7dba463dd173ef48ca03df",class:"smoothly-date-range-input-part",onClick:t=>this.onClick(t)},s("slot",{key:"273d0fdad0534db6f46e3c37005ab0649edd8abc",name:"start"}),s("label",{key:"67fd396fd707428cf9413a5b8bd6501485874e64",class:"label float-on-focus"},s("slot",{key:"67a092adcbb0abf829ffb68b48e2e37cc6dbc5ed"})),this.placeholder&&s("span",{key:"54ed8804af377cdde573d7d148d62544adae5eb8",class:"smoothly-date-range-placeholder"},this.placeholder),s("smoothly-date-text",{key:"3144566fd5983266e70637449965c0ca981962b8",ref:t=>this.startTextElement=t,class:"start-date-text",locale:this.locale,onSmoothlyDateTextHasText:t=>(t.stopPropagation(),this.startHasText=t.detail),onSmoothlyDateTextFocusChange:t=>(t.stopPropagation(),this.hasFocus=t.detail),onSmoothlyDateHasPartialDate:t=>{var o;return t.stopPropagation(),(o=this.calendarElement)===null||o===void 0?void 0:o.jumpTo(t.detail)},onSmoothlyDateTextChange:t=>(t.stopPropagation(),this.onSmoothlyDateTextChange(t,"start")),onSmoothlyDateTextNext:t=>{var o;return t.stopPropagation(),(o=this.endTextElement)===null||o===void 0?void 0:o.select()},onSmoothlyDateTextDone:t=>{var o,e;return t.stopPropagation(),this.end?((o=this.startTextElement)===null||o===void 0?void 0:o.deselect(),this.open=false):(e=this.endTextElement)===null||e===void 0?void 0:e.select()},value:this.start,readonly:this.readonly,disabled:this.disabled,showLabel:this.showLabel}),s("span",{key:"80257b7865d284f87a6aafd9f53acead98612f09",class:"smoothly-date-range-separator"}," – "),s("smoothly-date-text",{key:"e6bb858a6a4ee6669ec02949f7e5dcd668187970",ref:t=>this.endTextElement=t,class:"end-date-text",locale:this.locale,onSmoothlyDateTextHasText:t=>(t.stopPropagation(),this.endHasText=t.detail),onSmoothlyDateTextFocusChange:t=>(t.stopPropagation(),this.hasFocus=t.detail),onSmoothlyDateHasPartialDate:t=>{var o;return t.stopPropagation(),(o=this.calendarElement)===null||o===void 0?void 0:o.jumpTo(t.detail)},onSmoothlyDateTextChange:t=>(t.stopPropagation(),this.onSmoothlyDateTextChange(t,"end")),onSmoothlyDateTextPrevious:t=>{var o;return t.stopPropagation(),(o=this.startTextElement)===null||o===void 0?void 0:o.select("end")},onSmoothlyDateTextNext:t=>t.stopPropagation(),onSmoothlyDateTextDone:t=>{var o;return t.stopPropagation(),(o=this.endTextElement)===null||o===void 0?void 0:o.deselect(),this.open=false},value:this.end,readonly:this.readonly,disabled:this.disabled,showLabel:this.showLabel})),s("span",{key:"4ccdcf9160a7bb827309e5f5cd908095ba90a0bc",class:"smoothly-icons"},s("smoothly-icon",{key:"7dbf49e194b48313c7b54eb1bc43d2660f7cf3dc",class:"smoothly-invalid",name:"alert-circle",size:"small",tooltip:this.errorMessage}),s("slot",{key:"63448fe06f310d74951d3ddbd8b8511d1df170b0",name:"end"})),this.open&&s("smoothly-calendar",{key:"1d334b289c960660269e869ec6e42544beaaf0d7",ref:t=>this.calendarElement=t,doubleInput:true,onSmoothlyDateSet:t=>t.stopPropagation(),onSmoothlyDateRangeSet:t=>{t.stopPropagation();this.open=false;this.start=t.detail.start;this.end=t.detail.end;this.smoothlyInput.emit({[this.name]:t.detail});this.smoothlyUserInput.emit({name:this.name,value:t.detail})},value:this.start,start:this.start,end:this.end,max:this.max,min:this.min}))}get element(){return this}static get watchers(){return{start:[{startChanged:0}],end:[{endChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}],name:[{nameChange:0}]}}static get style(){return y()}},[262,"smoothly-input-date-range",{locale:[513],name:[513],color:[1537],looks:[1537],readonly:[1540],disabled:[516],showLabel:[516,"show-label"],start:[1025],end:[1025],placeholder:[513],alwaysShowGuide:[516,"always-show-guide"],invalid:[516],errorMessage:[513,"error-message"],max:[1],min:[1],open:[32],startHasText:[32],endHasText:[32],register:[64],unregister:[64],getValue:[64],listen:[64],edit:[64],reset:[64],setInitialValue:[64],clear:[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[8,"click","onWindowClick"]],{start:[{startChanged:0}],end:[{endChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}],name:[{nameChange:0}]}]);function b(){if(typeof customElements==="undefined"){return}const t=["smoothly-input-date-range","smoothly-calendar","smoothly-date-text","smoothly-icon","smoothly-input-month","smoothly-input-select","smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-input-date-range":if(!customElements.get(n(t))){customElements.define(n(t),g)}break;case"smoothly-calendar":if(!customElements.get(n(t))){r()}break;case"smoothly-date-text":if(!customElements.get(n(t))){d()}break;case"smoothly-icon":if(!customElements.get(n(t))){m()}break;case"smoothly-input-month":if(!customElements.get(n(t))){c()}break;case"smoothly-input-select":if(!customElements.get(n(t))){u()}break;case"smoothly-item":if(!customElements.get(n(t))){p()}break}}))}b();export{g as S,b as d};
|
|
2
|
+
//# sourceMappingURL=p-5l1ov6SU.js.map
|