smoothly 1.112.0 → 1.114.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/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-app_98.cjs.entry.js +293 -219
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +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/components/icon/demo/index.js +25 -3
- package/dist/collection/components/icon/demo/index.js.map +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/standard/index.js.map +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 +121 -133
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/layout.js +21 -0
- package/dist/collection/components/input/select/layout.js.map +1 -0
- package/dist/collection/components/input/select/menu.js +33 -0
- package/dist/collection/components/input/select/menu.js.map +1 -0
- package/dist/collection/components/input/select/scroll.js +14 -0
- package/dist/collection/components/input/select/scroll.js.map +1 -0
- package/dist/collection/components/input/select/style.css +72 -64
- 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/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/components/{p-BqAN7jax.js → p-1j2KmcfQ.js} +2 -2
- package/dist/components/{p-C519IJGa.js → p-4pGbxojU.js} +2 -2
- package/dist/components/{p-Bs8X_nDB.js → p-67RlLkJb.js} +2 -2
- package/dist/components/{p-Bm-gpoFa.js → p-6PsJb2Ez.js} +2 -2
- package/dist/components/{p-B8ljN4o0.js → p-AX8gOGUr.js} +2 -2
- package/dist/components/{p-Cvl7cLxT.js → p-B0kZrKne.js} +2 -2
- package/dist/components/{p-i8IFRTdL.js → p-B2MMqcTF.js} +2 -2
- package/dist/components/{p-jatJrx5f.js → p-B6sHuEsq.js} +2 -2
- package/dist/components/{p-DwYc62Ls.js → p-BEHgXDtQ.js} +2 -2
- package/dist/components/{p-CGG77xzV.js → p-BFJL6rrU.js} +2 -2
- package/dist/components/p-BGBbdXaw.js +2 -0
- package/dist/components/{p-BaGuG5hS.js → p-BGzrO9CQ.js} +2 -2
- package/dist/components/{p-DBuVH8IL.js → p-BHcHgI_e.js} +2 -2
- package/dist/components/p-BHsrC9Oh.js +2 -0
- package/dist/components/{p-CottiZWN.js.map → p-BHsrC9Oh.js.map} +1 -1
- package/dist/components/{p-CioJtwj-.js → p-BRoShuOu.js} +2 -2
- package/dist/components/{p-CKrPTQ_S.js → p-BUa0wBSK.js} +2 -2
- package/dist/components/p-BXoBluZQ.js +2 -0
- package/dist/components/{p-BRkEF66h.js → p-B_z5-Hf8.js} +2 -2
- package/dist/components/p-BanWK6rV.js +2 -0
- package/dist/components/{p-Dekg3IGr.js → p-Bes8H54c.js} +2 -2
- package/dist/components/{p-BDhPxj59.js → p-BfwEfI7H.js} +2 -2
- package/dist/components/{p-3dApo-uA.js → p-Bn7CZqdz.js} +2 -2
- package/dist/components/{p-BPh3sXo6.js → p-BpV6GXd7.js} +2 -2
- package/dist/components/{p-CsLlJDsh.js → p-Bpc6uh0M.js} +2 -2
- package/dist/components/p-Bq5YEPPT.js +2 -0
- package/dist/components/p-Bq5YEPPT.js.map +1 -0
- package/dist/components/{p-CVH3vlKv.js → p-BulPH2Jo.js} +2 -2
- package/dist/components/{p-CuMoDdaf.js → p-C-zr_dP8.js} +2 -2
- package/dist/components/{p-CTPT9Ngc.js → p-C02MtoAQ.js} +2 -2
- package/dist/components/{p-CR1YZ3na.js → p-C2xjUTYO.js} +2 -2
- package/dist/components/{p-Dx5PGIAk.js → p-C6T0ZB2C.js} +2 -2
- package/dist/components/{p-BiwhssQ8.js → p-CAgJrhiy.js} +2 -2
- package/dist/components/p-CApTrLt_.js +2 -0
- package/dist/components/{p-D1uYEo7L.js → p-CClpvMw2.js} +2 -2
- package/dist/components/{p-CG636AEF.js → p-CFgT9iMG.js} +2 -2
- package/dist/components/p-CJEV2v84.js +2 -0
- package/dist/components/p-CJEV2v84.js.map +1 -0
- package/dist/components/p-CKlr_F9h.js +2 -0
- package/dist/components/{p-DZ4ogW8V.js → p-CL7fW_Oh.js} +2 -2
- package/dist/components/{p-DVuQ4t_X.js → p-COK__8-d.js} +2 -2
- package/dist/components/{p-CRTkSTv3.js → p-CPnXAdGI.js} +2 -2
- package/dist/components/{p-CqSJ0pgl.js → p-CSXWpZjy.js} +2 -2
- package/dist/components/{p-D2FsRCII.js → p-CTdXhHGF.js} +2 -2
- package/dist/components/{p-iucZC6z5.js → p-CUdZx76u.js} +2 -2
- package/dist/components/{p-Bj9DsW03.js → p-CVNSeOlg.js} +2 -2
- package/dist/components/{p-BX6yRNGo.js → p-CcXqouEO.js} +2 -2
- package/dist/components/p-CgCEK6Lc.js +2 -0
- package/dist/components/{p-CUiFFtAw.js.map → p-CgCEK6Lc.js.map} +1 -1
- package/dist/components/{p-CF5IKGi5.js → p-CmPHR3tf.js} +2 -2
- package/dist/components/{p-BNnhxQyl.js → p-CoJyQegK.js} +2 -2
- package/dist/components/{p-BQSKXVmh.js → p-CooymHn6.js} +2 -2
- package/dist/components/{p-CMiST1Tm.js → p-CqMnH54Q.js} +2 -2
- package/dist/components/p-CqSiLhUe.js +2 -0
- package/dist/components/p-CqSiLhUe.js.map +1 -0
- package/dist/components/{p-BQIS-JBV.js → p-CqXSfYre.js} +2 -2
- package/dist/components/{p-D7cDUGTe.js → p-CqyGm3oe.js} +2 -2
- package/dist/components/{p-C_f8s6n5.js → p-CrKwvG9J.js} +2 -2
- package/dist/components/{p-nrkV1PqR.js → p-CrkBYYf-.js} +2 -2
- package/dist/components/{p-DTqtObrT.js → p-CtuuZV3u.js} +2 -2
- package/dist/components/p-Cv-uvD7X.js +2 -0
- package/dist/components/p-Cw_sHLuu.js +2 -0
- package/dist/components/{p-CjdBPauI.js → p-D-mAUrbR.js} +2 -2
- package/dist/components/{p-C3__jhwf.js → p-D5WTwmc6.js} +2 -2
- package/dist/components/{p-ByWVc-XC.js → p-D5dkLuTD.js} +2 -2
- package/dist/components/p-DGa_QPb9.js +2 -0
- package/dist/components/{p-1KOtWYkC.js.map → p-DGa_QPb9.js.map} +1 -1
- package/dist/components/p-DIf6-Fvg.js +2 -0
- package/dist/components/{p-DgaHxdNI.js → p-DIhqNc1G.js} +2 -2
- package/dist/components/p-DLBMEh0f.js +2 -0
- package/dist/components/{p-CrxXCTnH.js → p-DM3PMEgb.js} +2 -2
- package/dist/components/{p-DnLJBwZR.js → p-DS66Mn9S.js} +2 -2
- package/dist/components/p-DYNjCosy.js +2 -0
- package/dist/components/{p-CdgiqBtD.js.map → p-DYNjCosy.js.map} +1 -1
- package/dist/components/p-D_uKY0yY.js +2 -0
- package/dist/components/p-DkhX1qsg.js +2 -0
- package/dist/components/p-Dz8Bblye.js +2 -0
- package/dist/components/{p-t3cG0BK6.js.map → p-Dz8Bblye.js.map} +1 -1
- package/dist/components/p-He4KDK9-.js +2 -0
- package/dist/components/p-N-UYdc5h.js +2 -0
- package/dist/components/{p-Mk_F6MCP.js.map → p-N-UYdc5h.js.map} +1 -1
- package/dist/components/{p-DKggy9E3.js → p-NFd9Dxr1.js} +2 -2
- package/dist/components/{p-DSsOLbj6.js → p-NGbZCAH9.js} +2 -2
- package/dist/components/{p-Bp9BMsim.js → p-Qv-IgIvL.js} +2 -2
- package/dist/components/{p-R4uIvvER.js → p-Ww5QjB3D.js} +2 -2
- package/dist/components/{p-BaBGzDg_.js → p-_o_lUhve.js} +2 -2
- package/dist/components/{p-CtN3gqjJ.js → p-d26Fb7IS.js} +2 -2
- package/dist/components/{p-DMzn0Iz0.js → p-dBpTpVs8.js} +2 -2
- package/dist/components/{p-BS2SWUX6.js → p-fnKrPnzp.js} +2 -2
- package/dist/components/{p-DXHBXAV0.js → p-nFLcvugJ.js} +2 -2
- package/dist/components/{p-v06atw3t.js → p-qxJgmVrq.js} +2 -2
- package/dist/components/{p-C9zTTp-4.js → p-xkRxEiC8.js} +2 -2
- package/dist/components/smoothly-app-demo.js +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.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-calendar.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.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-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.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/loader.js +1 -1
- package/dist/esm/smoothly-app_98.entry.js +293 -219
- package/dist/esm/smoothly-app_98.entry.js.map +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/p-7d6c72eb.entry.js +2 -0
- package/dist/smoothly/{p-5e123fe2.entry.js → p-94d091cd.entry.js} +2 -2
- package/dist/smoothly/{p-13d05a22.entry.js → p-be43737e.entry.js} +2 -2
- package/dist/smoothly/{p-7a59c6a9.entry.js → p-d4dad5a8.entry.js} +2 -2
- package/dist/smoothly/p-e7c5888e.entry.js +2 -0
- package/dist/smoothly/p-e7c5888e.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/icon/demo/index.d.ts +2 -0
- package/dist/types/components/input/select/index.d.ts +18 -9
- package/dist/types/components/input/select/layout.d.ts +6 -0
- package/dist/types/components/input/select/menu.d.ts +10 -0
- package/dist/types/components/input/select/scroll.d.ts +3 -0
- package/dist/types/components.d.ts +5 -3
- package/package.json +1 -1
- package/dist/components/p-1KOtWYkC.js +0 -2
- package/dist/components/p-4y8eF-fy.js +0 -2
- package/dist/components/p-B3OjIxsE.js +0 -2
- package/dist/components/p-BGKOGyFA.js +0 -2
- package/dist/components/p-CDQM-sOT.js +0 -2
- package/dist/components/p-CUiFFtAw.js +0 -2
- package/dist/components/p-CZ6kkjYF.js +0 -2
- package/dist/components/p-CdgiqBtD.js +0 -2
- package/dist/components/p-CottiZWN.js +0 -2
- package/dist/components/p-CqyInbXs.js +0 -2
- package/dist/components/p-CqyInbXs.js.map +0 -1
- package/dist/components/p-CrcmijCR.js +0 -2
- package/dist/components/p-D2cHi1Nb.js +0 -2
- package/dist/components/p-D58kSmOp.js +0 -2
- package/dist/components/p-D9qp7S6Q.js +0 -2
- package/dist/components/p-DbIjGsJb.js +0 -2
- package/dist/components/p-DbIjGsJb.js.map +0 -1
- package/dist/components/p-DdTTiJbE.js +0 -2
- package/dist/components/p-Mk_F6MCP.js +0 -2
- package/dist/components/p-RNCr3p17.js +0 -2
- package/dist/components/p-RNCr3p17.js.map +0 -1
- package/dist/components/p-nHKstm2X.js +0 -2
- package/dist/components/p-t3cG0BK6.js +0 -2
- package/dist/components/p-thKhutym.js +0 -2
- package/dist/smoothly/p-23badc13.entry.js +0 -2
- package/dist/smoothly/p-23badc13.entry.js.map +0 -1
- package/dist/smoothly/p-2fbd48bb.entry.js +0 -2
- /package/dist/components/{p-BqAN7jax.js.map → p-1j2KmcfQ.js.map} +0 -0
- /package/dist/components/{p-C519IJGa.js.map → p-4pGbxojU.js.map} +0 -0
- /package/dist/components/{p-Bs8X_nDB.js.map → p-67RlLkJb.js.map} +0 -0
- /package/dist/components/{p-Bm-gpoFa.js.map → p-6PsJb2Ez.js.map} +0 -0
- /package/dist/components/{p-B8ljN4o0.js.map → p-AX8gOGUr.js.map} +0 -0
- /package/dist/components/{p-Cvl7cLxT.js.map → p-B0kZrKne.js.map} +0 -0
- /package/dist/components/{p-i8IFRTdL.js.map → p-B2MMqcTF.js.map} +0 -0
- /package/dist/components/{p-jatJrx5f.js.map → p-B6sHuEsq.js.map} +0 -0
- /package/dist/components/{p-DwYc62Ls.js.map → p-BEHgXDtQ.js.map} +0 -0
- /package/dist/components/{p-CGG77xzV.js.map → p-BFJL6rrU.js.map} +0 -0
- /package/dist/components/{p-CrcmijCR.js.map → p-BGBbdXaw.js.map} +0 -0
- /package/dist/components/{p-BaGuG5hS.js.map → p-BGzrO9CQ.js.map} +0 -0
- /package/dist/components/{p-DBuVH8IL.js.map → p-BHcHgI_e.js.map} +0 -0
- /package/dist/components/{p-CioJtwj-.js.map → p-BRoShuOu.js.map} +0 -0
- /package/dist/components/{p-CKrPTQ_S.js.map → p-BUa0wBSK.js.map} +0 -0
- /package/dist/components/{p-BGKOGyFA.js.map → p-BXoBluZQ.js.map} +0 -0
- /package/dist/components/{p-BRkEF66h.js.map → p-B_z5-Hf8.js.map} +0 -0
- /package/dist/components/{p-D9qp7S6Q.js.map → p-BanWK6rV.js.map} +0 -0
- /package/dist/components/{p-Dekg3IGr.js.map → p-Bes8H54c.js.map} +0 -0
- /package/dist/components/{p-BDhPxj59.js.map → p-BfwEfI7H.js.map} +0 -0
- /package/dist/components/{p-3dApo-uA.js.map → p-Bn7CZqdz.js.map} +0 -0
- /package/dist/components/{p-BPh3sXo6.js.map → p-BpV6GXd7.js.map} +0 -0
- /package/dist/components/{p-CsLlJDsh.js.map → p-Bpc6uh0M.js.map} +0 -0
- /package/dist/components/{p-CVH3vlKv.js.map → p-BulPH2Jo.js.map} +0 -0
- /package/dist/components/{p-CuMoDdaf.js.map → p-C-zr_dP8.js.map} +0 -0
- /package/dist/components/{p-CTPT9Ngc.js.map → p-C02MtoAQ.js.map} +0 -0
- /package/dist/components/{p-CR1YZ3na.js.map → p-C2xjUTYO.js.map} +0 -0
- /package/dist/components/{p-Dx5PGIAk.js.map → p-C6T0ZB2C.js.map} +0 -0
- /package/dist/components/{p-BiwhssQ8.js.map → p-CAgJrhiy.js.map} +0 -0
- /package/dist/components/{p-CDQM-sOT.js.map → p-CApTrLt_.js.map} +0 -0
- /package/dist/components/{p-D1uYEo7L.js.map → p-CClpvMw2.js.map} +0 -0
- /package/dist/components/{p-CG636AEF.js.map → p-CFgT9iMG.js.map} +0 -0
- /package/dist/components/{p-nHKstm2X.js.map → p-CKlr_F9h.js.map} +0 -0
- /package/dist/components/{p-DZ4ogW8V.js.map → p-CL7fW_Oh.js.map} +0 -0
- /package/dist/components/{p-DVuQ4t_X.js.map → p-COK__8-d.js.map} +0 -0
- /package/dist/components/{p-CRTkSTv3.js.map → p-CPnXAdGI.js.map} +0 -0
- /package/dist/components/{p-CqSJ0pgl.js.map → p-CSXWpZjy.js.map} +0 -0
- /package/dist/components/{p-D2FsRCII.js.map → p-CTdXhHGF.js.map} +0 -0
- /package/dist/components/{p-iucZC6z5.js.map → p-CUdZx76u.js.map} +0 -0
- /package/dist/components/{p-Bj9DsW03.js.map → p-CVNSeOlg.js.map} +0 -0
- /package/dist/components/{p-BX6yRNGo.js.map → p-CcXqouEO.js.map} +0 -0
- /package/dist/components/{p-CF5IKGi5.js.map → p-CmPHR3tf.js.map} +0 -0
- /package/dist/components/{p-BNnhxQyl.js.map → p-CoJyQegK.js.map} +0 -0
- /package/dist/components/{p-BQSKXVmh.js.map → p-CooymHn6.js.map} +0 -0
- /package/dist/components/{p-CMiST1Tm.js.map → p-CqMnH54Q.js.map} +0 -0
- /package/dist/components/{p-BQIS-JBV.js.map → p-CqXSfYre.js.map} +0 -0
- /package/dist/components/{p-D7cDUGTe.js.map → p-CqyGm3oe.js.map} +0 -0
- /package/dist/components/{p-C_f8s6n5.js.map → p-CrKwvG9J.js.map} +0 -0
- /package/dist/components/{p-nrkV1PqR.js.map → p-CrkBYYf-.js.map} +0 -0
- /package/dist/components/{p-DTqtObrT.js.map → p-CtuuZV3u.js.map} +0 -0
- /package/dist/components/{p-4y8eF-fy.js.map → p-Cv-uvD7X.js.map} +0 -0
- /package/dist/components/{p-D58kSmOp.js.map → p-Cw_sHLuu.js.map} +0 -0
- /package/dist/components/{p-CjdBPauI.js.map → p-D-mAUrbR.js.map} +0 -0
- /package/dist/components/{p-C3__jhwf.js.map → p-D5WTwmc6.js.map} +0 -0
- /package/dist/components/{p-ByWVc-XC.js.map → p-D5dkLuTD.js.map} +0 -0
- /package/dist/components/{p-CZ6kkjYF.js.map → p-DIf6-Fvg.js.map} +0 -0
- /package/dist/components/{p-DgaHxdNI.js.map → p-DIhqNc1G.js.map} +0 -0
- /package/dist/components/{p-DdTTiJbE.js.map → p-DLBMEh0f.js.map} +0 -0
- /package/dist/components/{p-CrxXCTnH.js.map → p-DM3PMEgb.js.map} +0 -0
- /package/dist/components/{p-DnLJBwZR.js.map → p-DS66Mn9S.js.map} +0 -0
- /package/dist/components/{p-D2cHi1Nb.js.map → p-D_uKY0yY.js.map} +0 -0
- /package/dist/components/{p-thKhutym.js.map → p-DkhX1qsg.js.map} +0 -0
- /package/dist/components/{p-B3OjIxsE.js.map → p-He4KDK9-.js.map} +0 -0
- /package/dist/components/{p-DKggy9E3.js.map → p-NFd9Dxr1.js.map} +0 -0
- /package/dist/components/{p-DSsOLbj6.js.map → p-NGbZCAH9.js.map} +0 -0
- /package/dist/components/{p-Bp9BMsim.js.map → p-Qv-IgIvL.js.map} +0 -0
- /package/dist/components/{p-R4uIvvER.js.map → p-Ww5QjB3D.js.map} +0 -0
- /package/dist/components/{p-BaBGzDg_.js.map → p-_o_lUhve.js.map} +0 -0
- /package/dist/components/{p-CtN3gqjJ.js.map → p-d26Fb7IS.js.map} +0 -0
- /package/dist/components/{p-DMzn0Iz0.js.map → p-dBpTpVs8.js.map} +0 -0
- /package/dist/components/{p-BS2SWUX6.js.map → p-fnKrPnzp.js.map} +0 -0
- /package/dist/components/{p-DXHBXAV0.js.map → p-nFLcvugJ.js.map} +0 -0
- /package/dist/components/{p-v06atw3t.js.map → p-qxJgmVrq.js.map} +0 -0
- /package/dist/components/{p-C9zTTp-4.js.map → p-xkRxEiC8.js.map} +0 -0
- /package/dist/smoothly/{p-2fbd48bb.entry.js.map → p-7d6c72eb.entry.js.map} +0 -0
- /package/dist/smoothly/{p-5e123fe2.entry.js.map → p-94d091cd.entry.js.map} +0 -0
- /package/dist/smoothly/{p-13d05a22.entry.js.map → p-be43737e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-7a59c6a9.entry.js.map → p-d4dad5a8.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-CdFSoe1d.js";export{s as setNonce}from"./p-CdFSoe1d.js";import{g as l}from"./p-B_K1otJx.js";var t=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};t().then((async e=>{await l();return o(JSON.parse('[["p-23badc13",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]},[[8,"smoothlyUrlChange","urlChangeHandler"]]],[2,"smoothly-form-demo"],[2,"smoothly-input-demo",{"duration":[32],"alphanumeric":[32]}],[2,"smoothly-table-demo"],[0,"smoothly-button-demo"],[2,"smoothly-icon-demo",{"display":[32],"props":[32]}],[2,"smoothly-theme-demo"],[0,"smoothly-display-demo",{"downloadingSpinner":[32]}],[2,"smoothly-dialog-demo",{"openModal":[32],"openTallModal":[32],"showFrame":[32]}],[260,"smoothly-app",{"label":[513],"color":[1],"home":[1],"menuOpen":[1540,"menu-open"],"navBreakpoint":[513,"nav-breakpoint"],"mobileMode":[32],"selected":[32],"selectRoom":[64]},[[8,"popstate","locationChangeHandler"],[0,"smoothlyRoomSelect","roomSelectedHandler"],[0,"smoothlyRoomLoad","roomLoadedHandler"],[8,"click","clickHandler"]],{"selected":[{"selectedChanged":0}]}],[262,"smoothly-app-room",{"label":[513],"icon":[513],"disabled":[516],"path":[1],"selected":[1540],"content":[16],"mobileMode":[32],"setMobileMode":[64],"getContent":[64],"setSelected":[64]},[[8,"smoothlyUrlUpdate","setQuery"]]],[2,"smoothly-tabs-demo",{"extraTab1":[32],"extraTab2":[32]}],[2,"smoothly-form-demo-pet",{"hasOwner":[32],"owner":[32],"value":[32]}],[2,"smoothly-input-demo-standard",{"duration":[32],"options":[32]}],[2,"smoothly-form-demo-all"],[2,"smoothly-input-demo-user-input",{"textIndex":[32],"selectIndex":[32],"checkboxChecked":[32],"radioIndex":[32],"rangeValue":[32],"colorIndex":[32],"dateValue":[32],"datetimeValue":[32],"dateRangeValue":[32]}],[2,"smoothly-form-demo-transparent"],[2,"smoothly-table-demo-group"],[2,"smoothly-form-demo-schedule"],[2,"smoothly-form-demo-typed"],[2,"smoothly-table-demo-colspan"],[2,"smoothly-table-demo-nested-no-cell",{"loadingIndex":[32],"loadedRows":[32]}],[2,"smoothly-form-demo-controlled",{"name":[32],"currency":[32],"date":[32]},null,{"name":[{"nameChanged":0}]}],[2,"smoothly-form-demo-date"],[2,"smoothly-form-demo-date-range"],[2,"smoothly-table-demo-filler-row",{"cats":[32]}],[2,"smoothly-table-demo-simple"],[2,"smoothly-button-demo-standard",{"props":[32],"heightText":[32],"lastButton":[32]},null,{"props":[{"updateInputHeightText":0}]}],[2,"smoothly-input-date-demo",{"date":[32],"alwaysShowGuide":[32]}],[0,"smoothly-input-color-demo"],[0,"smoothly-input-range-demo"],[2,"smoothly-form-demo-login"],[2,"smoothly-form-demo-prices"],[2,"smoothly-form-demo-card"],[0,"smoothly-display-demo-json"],[2,"smoothly-input-demo-radio",{"selected":[32]},null,{"selected":[{"selectedChange":0}]}],[2,"smoothly-theme-guide"],[2,"smoothly-input-price-demo",{"currencies":[32],"currency":[32]}],[262,"smoothly-notifier",{"icon":[4],"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[262,"smoothly-theme-picker",{"element":[1]}],[262,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-theme-colors"],[2,"smoothly-toggle-switch-demo"],[2,"smoothly-burger",{"open":[1540]},[[0,"click","clickHandler"]],{"open":[{"openChanged":0}]}],[262,"smoothly-modal",{"open":[1540],"closable":[516],"align":[513],"closeModal":[64],"openModal":[64]},null,{"open":[{"openChanged":0}]}],[2,"smoothly-frame",{"url":[1],"name":[513],"origin":[1],"send":[64]}],[262,"smoothly-label",{"hue":[2],"description":[1],"shape":[513]}],[2,"smoothly-table-demo-nested-no-cell-inner",{"data":[16]}],[2,"smoothly-notification",{"notice":[16],"closable":[4],"icon":[4],"tick":[32]},[[0,"trigger","onTrigger"]],{"notice":[{"onUpdatedNotice":0}]}],[262,"smoothly-table-filler-row"],[2,"smoothly-back-to-top",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}],[262,"smoothly-summary",{"open":[1540]}],[2,"smoothly-theme-color",{"color":[1]}],[262,"smoothly-table-row-group",{"align":[516],"open":[1540]}],[262,"smoothly-table-foot"],[2,"smoothly-theme-color-variant",{"color":[513],"variant":[513]}],[262,"smoothly-input-edit",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[262,"smoothly-lazy",{"show":[1028],"content":[16]}],[262,"smoothly-table-expandable-cell",{"span":[514],"open":[1540],"close":[64]},null,{"open":[{"openChange":0}]}],[262,"smoothly-table-expandable-row",{"open":[1540]},null,{"open":[{"openChange":0}]}],[262,"smoothly-input-date-time",{"color":[1537],"looks":[1537],"name":[513],"readonly":[1540],"disabled":[516],"invalid":[516],"errorMessage":[513,"error-message"],"value":[1025],"open":[1028],"showLabel":[516,"show-label"],"min":[1],"max":[1],"date":[32],"hour":[32],"minute":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"name":[{"nameChange":0}],"date":[{"handleChange":0}],"hour":[{"handleChange":0}],"minute":[{"handleChange":0}],"value":[{"valueChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[2,"smoothly-load-more",{"triggerMode":[1,"trigger-mode"],"name":[1],"multiple":[4],"inView":[32]}],[262,"smoothly-tab",{"label":[1],"name":[1],"tooltip":[1],"open":[1540],"disabled":[516]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{"open":[{"openHandler":0}]}],[262,"smoothly-tabs",{"tabs":[513],"numberOfTabs":[2,"number-of-tabs"],"tabElements":[32],"selectedElement":[32],"removeTab":[64]},[[0,"smoothlyTabLoad","onInputLoad"],[0,"smoothlyTabOpen","openChanged"]],{"selectedElement":[{"onSelectedChange":0}]}],[262,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[262,"smoothly-table-cell",{"span":[514]}],[262,"smoothly-input-file",{"readonly":[1540],"disabled":[516],"accept":[1],"color":[1537],"looks":[1537],"camera":[513],"name":[513],"showLabel":[516,"show-label"],"value":[1040],"placeholder":[1537],"dragging":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"binary":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"name":[{"nameChange":0}],"value":[{"valueChanged":0}]}],[262,"smoothly-table",{"columns":[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]],[262,"smoothly-table-body"],[262,"smoothly-table-head",{"scrolled":[32],"depth":[32]}],[262,"smoothly-input-color",{"value":[1025],"looks":[1537],"color":[1537],"readonly":[1540],"disabled":[516],"output":[1],"name":[513],"showLabel":[516,"show-label"],"open":[32],"sliderMode":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"name":[{"nameChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}],"value":[{"valueChanged":0}]}],[262,"smoothly-table-row",null,[[0,"smoothlyTableExpandableCellRegister","smoothlyTableExpandableCellRegisterHandler"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChangeHandler"]]],[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}]}],[262,"smoothly-input-checkbox",{"name":[513],"readonly":[1540],"disabled":[516],"checked":[1540],"value":[16],"looks":[1537],"color":[1537],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"name":[{"nameChange":0}],"disabled":[{"handleDisabledChange":0}],"readonly":[{"handleDisabledChange":0}],"checked":[{"elementCheck":0}]}],[262,"smoothly-input-range",{"value":[1026],"looks":[1537],"color":[1537],"defined":[1028],"readonly":[1540],"disabled":[516],"type":[1],"min":[2],"max":[2],"name":[513],"step":[2],"outputSide":[1,"output-side"],"label":[1],"showInput":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"]],{"name":[{"nameChange":0}],"value":[{"valueChanged":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[262,"smoothly-input-date",{"locale":[513],"color":[1537],"looks":[1537],"name":[513],"readonly":[1540],"disabled":[516],"invalid":[516],"errorMessage":[513,"error-message"],"placeholder":[513],"alwaysShowGuide":[516,"always-show-guide"],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"showLabel":[516,"show-label"],"hasText":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyDateSet","dateSetHandler"]],{"name":[{"nameChange":0}],"value":[{"onValueChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[262,"smoothly-input-clear",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[262,"smoothly-input-reset",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[262,"smoothly-input-radio-item",{"value":[1032],"selected":[1540],"looks":[1537],"name":[1025],"disabled":[32]}],[2,"smoothly-toggle-switch",{"checkmark":[516],"selected":[1540],"disabled":[516],"size":[513],"color":[513],"fill":[513]}],[262,"smoothly-input-radio",{"value":[1032],"looks":[1537],"color":[1537],"direction":[513],"clearable":[4],"readonly":[1540],"disabled":[516],"name":[513],"showLabel":[516,"show-label"],"listen":[64],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyRadioItemRegister","handleRegister"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyRadioItemSelect","smoothlyRadioInputHandler"]],{"name":[{"nameChange":0}],"value":[{"valueChanged":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[262,"smoothly-input-submit",{"delete":[516],"color":[1],"icon":[8],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"size":[513],"tooltip":[1]}],[2,"smoothly-date-text",{"locale":[1],"readonly":[516],"disabled":[516],"showLabel":[516,"show-label"],"value":[1],"parts":[32],"order":[32],"separator":[32],"focusedIndex":[32],"setValue":[64],"select":[64],"deselect":[64]},[[0,"beforeinput","beforeInputHandler"],[2,"input","inputHandler"]],{"parts":[{"partsHandler":0}],"focusedIndex":[{"focusedIndexHandler":0}]}],[262,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1],"end":[1],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"startInternal":[32],"endInternal":[32],"jumpTo":[64]},null,{"start":[{"onStart":0}],"end":[{"onEnd":0}]}],[262,"smoothly-button-confirm",{"color":[1],"name":[513],"doubleClickTime":[2,"double-click-time"],"expand":[513],"fill":[1],"disabled":[516],"shape":[1],"size":[1],"clickTimeStamp":[32]}],[262,"smoothly-input-month",{"readonly":[1540],"color":[513],"looks":[1537],"name":[513],"value":[1025],"max":[1025],"min":[1025],"next":[516],"previous":[516],"inCalendar":[516,"in-calendar"],"showLabel":[516,"show-label"],"allowPreviousMonth":[32],"allowNextMonth":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"value":[{"valueChanged":0},{"setAllowPreviousMonth":0},{"setAllowNextMonth":0}],"min":[{"setAllowPreviousMonth":0}],"max":[{"setAllowNextMonth":0}],"name":[{"nameChange":0}]}],[260,"smoothly-form",{"color":[1537],"value":[1040],"action":[1],"validator":[16],"type":[1],"readonly":[1028],"looks":[513],"name":[513],"prevent":[4],"processing":[1040],"removeInput":[64],"listen":[64],"submit":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyKeydown","smoothlyKeydownHandler"],[8,"smoothlyFormSubmit","windowSubmitHandler"],[0,"smoothlyFormSubmit","submitHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyFormDisable","smoothlyFormDisableHandler"]],{"value":[{"watchValue":0}],"readonly":[{"watchReadonly":0}]}],[2,"smoothly-display",{"type":[1],"label":[1],"value":[8],"collapseDepth":[2,"collapse-depth"],"toInteger":[4,"to-integer"],"currency":[1],"country":[1],"format":[16]}],[2,"smoothly-display-json",{"value":[8],"collapseDepth":[2,"collapse-depth"]}],[262,"smoothly-input",{"color":[1537],"looks":[1537],"name":[513],"value":[1032],"type":[513],"required":[516],"showLabel":[516,"show-label"],"autocomplete":[1],"placeholder":[513],"disabled":[516],"readonly":[1540],"toInteger":[4,"to-integer"],"currency":[513],"min":[2],"max":[2],"pad":[2],"invalid":[516],"errorMessage":[513,"error-message"],"copyable":[516],"initialValue":[32],"state":[32],"copied":[32],"getValue":[64],"setValue":[64],"setFocus":[64],"setSelection":[64],"listen":[64],"register":[64],"unregister":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"setCustomInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"input","onEvent"],[0,"beforeinput","onEvent"]],{"name":[{"nameChange":0}],"currency":[{"typeChange":0}],"type":[{"typeChange":0}],"state":[{"stateChange":0}],"value":[{"valueChange":0}],"disabled":[{"readonlyChange":0}],"readonly":[{"readonlyChange":0}]}],[2,"smoothly-spinner",{"size":[513],"overlay":[516]}],[262,"smoothly-input-select",{"invalid":[516],"errorMessage":[513,"error-message"],"name":[513],"color":[1537],"looks":[1537],"showLabel":[516,"show-label"],"showSelected":[1540,"show-selected"],"readonly":[1540],"disabled":[516],"inCalendar":[516,"in-calendar"],"ordered":[516],"multiple":[516],"clearable":[4],"defined":[1028],"placeholder":[520],"menuHeight":[1,"menu-height"],"required":[4],"searchDisabled":[4,"search-disabled"],"mutable":[4],"open":[32],"selected":[32],"filter":[32],"addedItems":[32],"register":[64],"unregister":[64],"getValue":[64],"getItems":[64],"listen":[64],"reset":[64],"clear":[64],"edit":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyItemDOMChange","onItemDomChange"],[0,"smoothlyItemSelect","onItemSelect"],[0,"keydown","onKeyDown"]],{"name":[{"nameChange":0}],"selected":[{"onSelectedChange":0}],"required":[{"onRequiredChange":0}],"filter":[{"onFilterChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}],"open":[{"onClosed":0}]}],[2,"smoothly-display-json-object",{"value":[16],"collapseDepth":[2,"collapse-depth"],"open":[32],"empty":[32]}],[2,"smoothly-display-json-primitive",{"value":[8]}],[2,"smoothly-display-json-record-key",{"value":[8]}],[262,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"disabled":[516],"deselectable":[4],"filter":[64]},[[0,"click","clickHandler"]],{"selected":[{"selectedWatcher":0}]}],[262,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"tooltip":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1]}],[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[513],"size":[513],"rotate":[514],"flip":[513],"tooltip":[1],"latestPromise":[32]},null,{"tooltip":[{"nameChanged":0}],"name":[{"nameChanged":0}]}]]],["p-2fbd48bb",[[2,"smoothly-input-checkbox-demo"]]],["p-acfa35c3",[[262,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"unavailable":[516],"disabled":[516],"name":[513],"value":[8],"t":[32],"toggle":[64],"clear":[64]},null,{"checked":[{"unavailableChanged":0}],"unavailable":[{"unavailableChanged":0}]}]]],["p-05059140",[[262,"smoothly-color",{"color":[513]}]]],["p-7da124ca",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["p-7a59c6a9",[[262,"smoothly-submit",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"prevent":[4]},[[0,"click","clickHandler"]]]]],["p-13d05a22",[[262,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["p-5e123fe2",[[262,"smoothly-trigger-source",{"listen":[1]}]]]]'),e)}));
|
|
1
|
+
import{p as e,b as o}from"./p-CdFSoe1d.js";export{s as setNonce}from"./p-CdFSoe1d.js";import{g as l}from"./p-B_K1otJx.js";var t=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};t().then((async e=>{await l();return o(JSON.parse('[["p-e7c5888e",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]},[[8,"smoothlyUrlChange","urlChangeHandler"]]],[2,"smoothly-form-demo"],[2,"smoothly-input-demo",{"duration":[32],"alphanumeric":[32]}],[2,"smoothly-table-demo"],[0,"smoothly-button-demo"],[2,"smoothly-icon-demo",{"display":[32],"props":[32]}],[2,"smoothly-theme-demo"],[0,"smoothly-display-demo",{"downloadingSpinner":[32]}],[2,"smoothly-dialog-demo",{"openModal":[32],"openTallModal":[32],"showFrame":[32]}],[260,"smoothly-app",{"label":[513],"color":[1],"home":[1],"menuOpen":[1540,"menu-open"],"navBreakpoint":[513,"nav-breakpoint"],"mobileMode":[32],"selected":[32],"selectRoom":[64]},[[8,"popstate","locationChangeHandler"],[0,"smoothlyRoomSelect","roomSelectedHandler"],[0,"smoothlyRoomLoad","roomLoadedHandler"],[8,"click","clickHandler"]],{"selected":[{"selectedChanged":0}]}],[262,"smoothly-app-room",{"label":[513],"icon":[513],"disabled":[516],"path":[1],"selected":[1540],"content":[16],"mobileMode":[32],"setMobileMode":[64],"getContent":[64],"setSelected":[64]},[[8,"smoothlyUrlUpdate","setQuery"]]],[2,"smoothly-tabs-demo",{"extraTab1":[32],"extraTab2":[32]}],[2,"smoothly-form-demo-pet",{"hasOwner":[32],"owner":[32],"value":[32]}],[2,"smoothly-input-demo-standard",{"duration":[32],"options":[32]}],[2,"smoothly-form-demo-all"],[2,"smoothly-input-demo-user-input",{"textIndex":[32],"selectIndex":[32],"checkboxChecked":[32],"radioIndex":[32],"rangeValue":[32],"colorIndex":[32],"dateValue":[32],"datetimeValue":[32],"dateRangeValue":[32]}],[2,"smoothly-form-demo-transparent"],[2,"smoothly-table-demo-group"],[2,"smoothly-form-demo-schedule"],[2,"smoothly-form-demo-typed"],[2,"smoothly-table-demo-colspan"],[2,"smoothly-table-demo-nested-no-cell",{"loadingIndex":[32],"loadedRows":[32]}],[2,"smoothly-form-demo-controlled",{"name":[32],"currency":[32],"date":[32]},null,{"name":[{"nameChanged":0}]}],[2,"smoothly-form-demo-date"],[2,"smoothly-form-demo-date-range"],[2,"smoothly-table-demo-filler-row",{"cats":[32]}],[2,"smoothly-table-demo-simple"],[2,"smoothly-button-demo-standard",{"props":[32],"heightText":[32],"lastButton":[32]},null,{"props":[{"updateInputHeightText":0}]}],[2,"smoothly-input-date-demo",{"date":[32],"alwaysShowGuide":[32]}],[0,"smoothly-input-color-demo"],[0,"smoothly-input-range-demo"],[2,"smoothly-form-demo-login"],[2,"smoothly-form-demo-prices"],[2,"smoothly-form-demo-card"],[0,"smoothly-display-demo-json"],[2,"smoothly-input-demo-radio",{"selected":[32]},null,{"selected":[{"selectedChange":0}]}],[2,"smoothly-theme-guide"],[2,"smoothly-input-price-demo",{"currencies":[32],"currency":[32]}],[262,"smoothly-notifier",{"icon":[4],"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[262,"smoothly-theme-picker",{"element":[1]}],[262,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-theme-colors"],[2,"smoothly-toggle-switch-demo"],[2,"smoothly-burger",{"open":[1540]},[[0,"click","clickHandler"]],{"open":[{"openChanged":0}]}],[262,"smoothly-modal",{"open":[1540],"closable":[516],"align":[513],"closeModal":[64],"openModal":[64]},null,{"open":[{"openChanged":0}]}],[2,"smoothly-frame",{"url":[1],"name":[513],"origin":[1],"send":[64]}],[262,"smoothly-label",{"hue":[2],"description":[1],"shape":[513]}],[2,"smoothly-table-demo-nested-no-cell-inner",{"data":[16]}],[2,"smoothly-notification",{"notice":[16],"closable":[4],"icon":[4],"tick":[32]},[[0,"trigger","onTrigger"]],{"notice":[{"onUpdatedNotice":0}]}],[262,"smoothly-table-filler-row"],[2,"smoothly-back-to-top",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}],[262,"smoothly-summary",{"open":[1540]}],[2,"smoothly-theme-color",{"color":[1]}],[262,"smoothly-table-row-group",{"align":[516],"open":[1540]}],[262,"smoothly-table-foot"],[2,"smoothly-theme-color-variant",{"color":[513],"variant":[513]}],[262,"smoothly-input-edit",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[262,"smoothly-lazy",{"show":[1028],"content":[16]}],[262,"smoothly-table-expandable-cell",{"span":[514],"open":[1540],"close":[64]},null,{"open":[{"openChange":0}]}],[262,"smoothly-table-expandable-row",{"open":[1540]},null,{"open":[{"openChange":0}]}],[262,"smoothly-input-date-time",{"color":[1537],"looks":[1537],"name":[513],"readonly":[1540],"disabled":[516],"invalid":[516],"errorMessage":[513,"error-message"],"value":[1025],"open":[1028],"showLabel":[516,"show-label"],"min":[1],"max":[1],"date":[32],"hour":[32],"minute":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"name":[{"nameChange":0}],"date":[{"handleChange":0}],"hour":[{"handleChange":0}],"minute":[{"handleChange":0}],"value":[{"valueChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[2,"smoothly-load-more",{"triggerMode":[1,"trigger-mode"],"name":[1],"multiple":[4],"inView":[32]}],[262,"smoothly-tab",{"label":[1],"name":[1],"tooltip":[1],"open":[1540],"disabled":[516]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{"open":[{"openHandler":0}]}],[262,"smoothly-tabs",{"tabs":[513],"numberOfTabs":[2,"number-of-tabs"],"tabElements":[32],"selectedElement":[32],"removeTab":[64]},[[0,"smoothlyTabLoad","onInputLoad"],[0,"smoothlyTabOpen","openChanged"]],{"selectedElement":[{"onSelectedChange":0}]}],[262,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[262,"smoothly-table-cell",{"span":[514]}],[262,"smoothly-input-file",{"readonly":[1540],"disabled":[516],"accept":[1],"color":[1537],"looks":[1537],"camera":[513],"name":[513],"showLabel":[516,"show-label"],"value":[1040],"placeholder":[1537],"dragging":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"binary":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"name":[{"nameChange":0}],"value":[{"valueChanged":0}]}],[262,"smoothly-table",{"columns":[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]],[262,"smoothly-table-body"],[262,"smoothly-table-head",{"scrolled":[32],"depth":[32]}],[262,"smoothly-input-color",{"value":[1025],"looks":[1537],"color":[1537],"readonly":[1540],"disabled":[516],"output":[1],"name":[513],"showLabel":[516,"show-label"],"open":[32],"sliderMode":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"name":[{"nameChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}],"value":[{"valueChanged":0}]}],[262,"smoothly-table-row",null,[[0,"smoothlyTableExpandableCellRegister","smoothlyTableExpandableCellRegisterHandler"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChangeHandler"]]],[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}]}],[262,"smoothly-input-checkbox",{"name":[513],"readonly":[1540],"disabled":[516],"checked":[1540],"value":[16],"looks":[1537],"color":[1537],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"name":[{"nameChange":0}],"disabled":[{"handleDisabledChange":0}],"readonly":[{"handleDisabledChange":0}],"checked":[{"elementCheck":0}]}],[262,"smoothly-input-range",{"value":[1026],"looks":[1537],"color":[1537],"defined":[1028],"readonly":[1540],"disabled":[516],"type":[1],"min":[2],"max":[2],"name":[513],"step":[2],"outputSide":[1,"output-side"],"label":[1],"showInput":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"]],{"name":[{"nameChange":0}],"value":[{"valueChanged":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[262,"smoothly-input-date",{"locale":[513],"color":[1537],"looks":[1537],"name":[513],"readonly":[1540],"disabled":[516],"invalid":[516],"errorMessage":[513,"error-message"],"placeholder":[513],"alwaysShowGuide":[516,"always-show-guide"],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"showLabel":[516,"show-label"],"hasText":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyDateSet","dateSetHandler"]],{"name":[{"nameChange":0}],"value":[{"onValueChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[262,"smoothly-input-clear",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[262,"smoothly-input-reset",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[262,"smoothly-input-radio-item",{"value":[1032],"selected":[1540],"looks":[1537],"name":[1025],"disabled":[32]}],[2,"smoothly-toggle-switch",{"checkmark":[516],"selected":[1540],"disabled":[516],"size":[513],"color":[513],"fill":[513]}],[262,"smoothly-input-radio",{"value":[1032],"looks":[1537],"color":[1537],"direction":[513],"clearable":[4],"readonly":[1540],"disabled":[516],"name":[513],"showLabel":[516,"show-label"],"listen":[64],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyRadioItemRegister","handleRegister"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyRadioItemSelect","smoothlyRadioInputHandler"]],{"name":[{"nameChange":0}],"value":[{"valueChanged":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}]}],[262,"smoothly-input-submit",{"delete":[516],"color":[1],"icon":[8],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"size":[513],"tooltip":[1]}],[2,"smoothly-date-text",{"locale":[1],"readonly":[516],"disabled":[516],"showLabel":[516,"show-label"],"value":[1],"parts":[32],"order":[32],"separator":[32],"focusedIndex":[32],"setValue":[64],"select":[64],"deselect":[64]},[[0,"beforeinput","beforeInputHandler"],[2,"input","inputHandler"]],{"parts":[{"partsHandler":0}],"focusedIndex":[{"focusedIndexHandler":0}]}],[262,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1],"end":[1],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"startInternal":[32],"endInternal":[32],"jumpTo":[64]},null,{"start":[{"onStart":0}],"end":[{"onEnd":0}]}],[262,"smoothly-button-confirm",{"color":[1],"name":[513],"doubleClickTime":[2,"double-click-time"],"expand":[513],"fill":[1],"disabled":[516],"shape":[1],"size":[1],"clickTimeStamp":[32]}],[262,"smoothly-input-month",{"readonly":[1540],"color":[513],"looks":[1537],"name":[513],"value":[1025],"max":[1025],"min":[1025],"next":[516],"previous":[516],"inCalendar":[516,"in-calendar"],"showLabel":[516,"show-label"],"allowPreviousMonth":[32],"allowNextMonth":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"value":[{"valueChanged":0},{"setAllowPreviousMonth":0},{"setAllowNextMonth":0}],"min":[{"setAllowPreviousMonth":0}],"max":[{"setAllowNextMonth":0}],"name":[{"nameChange":0}]}],[260,"smoothly-form",{"color":[1537],"value":[1040],"action":[1],"validator":[16],"type":[1],"readonly":[1028],"looks":[513],"name":[513],"prevent":[4],"processing":[1040],"removeInput":[64],"listen":[64],"submit":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyKeydown","smoothlyKeydownHandler"],[8,"smoothlyFormSubmit","windowSubmitHandler"],[0,"smoothlyFormSubmit","submitHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyFormDisable","smoothlyFormDisableHandler"]],{"value":[{"watchValue":0}],"readonly":[{"watchReadonly":0}]}],[2,"smoothly-display",{"type":[1],"label":[1],"value":[8],"collapseDepth":[2,"collapse-depth"],"toInteger":[4,"to-integer"],"currency":[1],"country":[1],"format":[16]}],[2,"smoothly-display-json",{"value":[8],"collapseDepth":[2,"collapse-depth"]}],[262,"smoothly-input",{"color":[1537],"looks":[1537],"name":[513],"value":[1032],"type":[513],"required":[516],"showLabel":[516,"show-label"],"autocomplete":[1],"placeholder":[513],"disabled":[516],"readonly":[1540],"toInteger":[4,"to-integer"],"currency":[513],"min":[2],"max":[2],"pad":[2],"invalid":[516],"errorMessage":[513,"error-message"],"copyable":[516],"initialValue":[32],"state":[32],"copied":[32],"getValue":[64],"setValue":[64],"setFocus":[64],"setSelection":[64],"listen":[64],"register":[64],"unregister":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"setCustomInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"input","onEvent"],[0,"beforeinput","onEvent"]],{"name":[{"nameChange":0}],"currency":[{"typeChange":0}],"type":[{"typeChange":0}],"state":[{"stateChange":0}],"value":[{"valueChange":0}],"disabled":[{"readonlyChange":0}],"readonly":[{"readonlyChange":0}]}],[2,"smoothly-spinner",{"size":[513],"overlay":[516]}],[262,"smoothly-input-select",{"invalid":[516],"errorMessage":[513,"error-message"],"name":[513],"color":[1537],"looks":[1537],"showLabel":[516,"show-label"],"showSelected":[1540,"show-selected"],"readonly":[1540],"disabled":[516],"inCalendar":[516,"in-calendar"],"ordered":[516],"multiple":[516],"clearable":[4],"defined":[1028],"placeholder":[520],"menuHeight":[1,"menu-height"],"required":[4],"searchDisabled":[4,"search-disabled"],"mutable":[4],"open":[32],"selected":[32],"filter":[32],"addedItems":[32],"register":[64],"unregister":[64],"getValue":[64],"getItems":[64],"listen":[64],"reset":[64],"clear":[64],"edit":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyItemDOMChange","onItemDomChange"],[0,"smoothlyItemSelect","onItemSelect"]],{"name":[{"nameChange":0}],"selected":[{"onSelectedChange":0}],"required":[{"onRequiredChange":0}],"filter":[{"onFilterChange":0}],"disabled":[{"watchingReadonly":0}],"readonly":[{"watchingReadonly":0}],"open":[{"onClosed":0}]}],[2,"smoothly-display-json-object",{"value":[16],"collapseDepth":[2,"collapse-depth"],"open":[32],"empty":[32]}],[2,"smoothly-display-json-primitive",{"value":[8]}],[2,"smoothly-display-json-record-key",{"value":[8]}],[262,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"disabled":[516],"deselectable":[4],"filter":[64]},[[0,"click","clickHandler"]],{"selected":[{"selectedWatcher":0}]}],[262,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"tooltip":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1]}],[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[513],"size":[513],"rotate":[514],"flip":[513],"tooltip":[1],"latestPromise":[32]},null,{"tooltip":[{"nameChanged":0}],"name":[{"nameChanged":0}]}]]],["p-7d6c72eb",[[2,"smoothly-input-checkbox-demo"]]],["p-acfa35c3",[[262,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"unavailable":[516],"disabled":[516],"name":[513],"value":[8],"t":[32],"toggle":[64],"clear":[64]},null,{"checked":[{"unavailableChanged":0}],"unavailable":[{"unavailableChanged":0}]}]]],["p-05059140",[[262,"smoothly-color",{"color":[513]}]]],["p-7da124ca",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["p-d4dad5a8",[[262,"smoothly-submit",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"prevent":[4]},[[0,"click","clickHandler"]]]]],["p-be43737e",[[262,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["p-94d091cd",[[262,"smoothly-trigger-source",{"listen":[1]}]]]]'),e)}));
|
|
2
2
|
//# sourceMappingURL=smoothly.esm.js.map
|
|
@@ -4,16 +4,18 @@ import { Clearable } from "../Clearable";
|
|
|
4
4
|
import { Editable } from "../Editable";
|
|
5
5
|
import { Input } from "../Input";
|
|
6
6
|
import { Looks } from "../Looks";
|
|
7
|
+
import { layout } from "./layout";
|
|
7
8
|
export declare class SmoothlyInputSelect implements Input, Editable, Clearable, ComponentWillLoad {
|
|
8
9
|
parent: Editable | undefined;
|
|
9
10
|
isDifferentFromInitial: boolean;
|
|
10
11
|
private initialValue;
|
|
11
12
|
private initialValueHandled;
|
|
12
13
|
private observer;
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
private
|
|
14
|
+
private displayElement?;
|
|
15
|
+
private iconsElement?;
|
|
16
|
+
private toggleElement?;
|
|
17
|
+
private dropdownElement?;
|
|
18
|
+
private searchElement?;
|
|
17
19
|
private items;
|
|
18
20
|
private itemHeight;
|
|
19
21
|
element: HTMLSmoothlyInputSelectElement;
|
|
@@ -32,7 +34,7 @@ export declare class SmoothlyInputSelect implements Input, Editable, Clearable,
|
|
|
32
34
|
clearable: boolean;
|
|
33
35
|
defined: boolean;
|
|
34
36
|
placeholder?: string | any;
|
|
35
|
-
menuHeight?:
|
|
37
|
+
menuHeight?: layout.MenuHeight;
|
|
36
38
|
required: boolean;
|
|
37
39
|
searchDisabled: boolean;
|
|
38
40
|
mutable: boolean;
|
|
@@ -51,6 +53,7 @@ export declare class SmoothlyInputSelect implements Input, Editable, Clearable,
|
|
|
51
53
|
componentWillLoad(): void | Promise<void>;
|
|
52
54
|
componentDidLoad(): void | Promise<void>;
|
|
53
55
|
componentDidRender(): void | Promise<void>;
|
|
56
|
+
private scrollToSelected;
|
|
54
57
|
disconnectedCallback(): Promise<void>;
|
|
55
58
|
nameChange(_: string | undefined, oldName: string | undefined): void;
|
|
56
59
|
register(): Promise<void>;
|
|
@@ -67,20 +70,26 @@ export declare class SmoothlyInputSelect implements Input, Editable, Clearable,
|
|
|
67
70
|
onFilterChange(value: string): Promise<void>;
|
|
68
71
|
watchingReadonly(): void;
|
|
69
72
|
smoothlyInputLoadHandler(event: CustomEvent<(parent: SmoothlyInputSelect) => void>): Promise<void>;
|
|
70
|
-
onWindowClick(event:
|
|
73
|
+
onWindowClick(event: MouseEvent): void;
|
|
71
74
|
onItemDomChange(e: CustomEvent): void;
|
|
72
75
|
onItemSelect(event: CustomEvent<{
|
|
73
76
|
userInitiated: boolean;
|
|
74
77
|
item: HTMLSmoothlyItemElement;
|
|
75
78
|
}>): Promise<void>;
|
|
76
79
|
onClosed(open: boolean, before: boolean): void;
|
|
77
|
-
handleShowOptions(event?: Event): void;
|
|
78
80
|
areValuesEqual(selected: HTMLSmoothlyItemElement[], initialValue: HTMLSmoothlyItemElement[]): boolean;
|
|
79
81
|
displaySelected(): void;
|
|
80
82
|
onKeyDown(event: KeyboardEvent): void;
|
|
81
|
-
private
|
|
83
|
+
private handlerNavigate;
|
|
84
|
+
private handleEscape;
|
|
85
|
+
private handleEnter;
|
|
82
86
|
private move;
|
|
83
|
-
private scrollTo;
|
|
84
87
|
private addItem;
|
|
88
|
+
private resetFilter;
|
|
89
|
+
private setFilter;
|
|
90
|
+
private openMenu;
|
|
91
|
+
private closeMenu;
|
|
92
|
+
private toggleMenu;
|
|
93
|
+
private onClick;
|
|
85
94
|
render(): VNode | VNode[];
|
|
86
95
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare namespace layout {
|
|
2
|
+
function firstItemHeight(items: HTMLSmoothlyItemElement[]): number | undefined;
|
|
3
|
+
function applyMenuHeight(element: HTMLElement, itemHeight: number, menuHeight: MenuHeight): void;
|
|
4
|
+
function applyElementHeight(element: HTMLElement): void;
|
|
5
|
+
type MenuHeight = `${number}${"items" | "rem" | "px" | "vh"}`;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare namespace menu {
|
|
2
|
+
function next(items: HTMLSmoothlyItemElement[], direction: -1 | 1): {
|
|
3
|
+
current?: HTMLSmoothlyItemElement;
|
|
4
|
+
next: HTMLSmoothlyItemElement;
|
|
5
|
+
};
|
|
6
|
+
function hasVisibleItems(items: HTMLSmoothlyItemElement[]): boolean;
|
|
7
|
+
function markOnly(items: HTMLSmoothlyItemElement[], item: HTMLSmoothlyItemElement): void;
|
|
8
|
+
function findFirstSelected(items: HTMLSmoothlyItemElement[]): HTMLSmoothlyItemElement | undefined;
|
|
9
|
+
function findFirstMarked(items: HTMLSmoothlyItemElement[]): HTMLSmoothlyItemElement | undefined;
|
|
10
|
+
}
|
|
@@ -19,6 +19,7 @@ import { Input } from "./components/input/Input";
|
|
|
19
19
|
import { RGB } from "./model/Color/RGB";
|
|
20
20
|
import { RadioItemSelect } from "./components/input/radio/RadioItemSelect";
|
|
21
21
|
import { SmoothlyInputRadio } from "./components/input/radio/index";
|
|
22
|
+
import { layout } from "./components/input/select/layout";
|
|
22
23
|
import { SmoothlyTabs } from "./components/tabs";
|
|
23
24
|
export { Color, Data, Fill, Icon, Message, Notice, Submit, Trigger } from "./model";
|
|
24
25
|
export { FunctionalComponent, VNode } from "./stencil-public-runtime";
|
|
@@ -34,6 +35,7 @@ export { Input } from "./components/input/Input";
|
|
|
34
35
|
export { RGB } from "./model/Color/RGB";
|
|
35
36
|
export { RadioItemSelect } from "./components/input/radio/RadioItemSelect";
|
|
36
37
|
export { SmoothlyInputRadio } from "./components/input/radio/index";
|
|
38
|
+
export { layout } from "./components/input/select/layout";
|
|
37
39
|
export { SmoothlyTabs } from "./components/tabs";
|
|
38
40
|
export namespace Components {
|
|
39
41
|
interface SmoothlyApp {
|
|
@@ -784,7 +786,7 @@ export namespace Components {
|
|
|
784
786
|
"invalid"?: boolean;
|
|
785
787
|
"listen": (listener: Editable.Observer.Listener) => Promise<void>;
|
|
786
788
|
"looks"?: Looks;
|
|
787
|
-
"menuHeight"?:
|
|
789
|
+
"menuHeight"?: layout.MenuHeight;
|
|
788
790
|
/**
|
|
789
791
|
* @default false
|
|
790
792
|
*/
|
|
@@ -3323,7 +3325,7 @@ declare namespace LocalJSX {
|
|
|
3323
3325
|
*/
|
|
3324
3326
|
"invalid"?: boolean;
|
|
3325
3327
|
"looks"?: Looks;
|
|
3326
|
-
"menuHeight"?:
|
|
3328
|
+
"menuHeight"?: layout.MenuHeight;
|
|
3327
3329
|
/**
|
|
3328
3330
|
* @default false
|
|
3329
3331
|
*/
|
|
@@ -3996,7 +3998,7 @@ declare namespace LocalJSX {
|
|
|
3996
3998
|
"clearable": boolean;
|
|
3997
3999
|
"defined": boolean;
|
|
3998
4000
|
"placeholder": string;
|
|
3999
|
-
"menuHeight":
|
|
4001
|
+
"menuHeight": layout.MenuHeight;
|
|
4000
4002
|
"required": boolean;
|
|
4001
4003
|
"searchDisabled": boolean;
|
|
4002
4004
|
"mutable": boolean;
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as a,d as o,t as s}from"./p-BsZrGTcp.js";import{d as b}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DSsOLbj6.js";import{d as l}from"./p-2Y5tLcQ1.js";const d=()=>`.sc-smoothly-tabs-demo-h{display:block}[hidden].sc-smoothly-tabs-demo-h{display:none}.sc-smoothly-tabs-demo-h>*.sc-smoothly-tabs-demo{margin:auto;max-width:1200px;width:100%;margin-block:5rem}.sc-smoothly-tabs-demo-h code.sc-smoothly-tabs-demo{color:rgb(var(--smoothly-medium-contrast));background-color:rgb(var(--smoothly-medium-color));padding-inline:0.25rem;border-radius:0.25rem}`;const m=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return a(o,{key:"c0a6d3252227ca35115022479e20eae1518a0ea0"},a("div",{key:"987c89d2b7d434a7ededccad9aa2592370f35c56"},a("smoothly-button",{key:"9d1e4baa19cbfd20f0741b62cf1faba0eee5e9f9",color:"primary",onClick:()=>this.extraTab1=!this.extraTab1},this.extraTab1?"Remove":"Add"," tab")),a("smoothly-tabs",{key:"00e5d3f1a502d466d8f7bb57dc99b8f43b4cec5c",tabs:"multiple"},a("smoothly-tab",{key:"f349ea433e31c9fa0601552c83744fb0fd59c0dc",label:"Single Tab",open:true},a("strong",{key:"1d9e472b1bcb6eab690b534d9c54c85df6ff6bad"},"Single Tab content here.")," If only one tab is available setting ",a("code",{key:"69f193a4e9a7022eb5a57bf6ba1ce25642440932"},"tabs")," to"," ",a("code",{key:"a2e44255abc6ffcbb97fa40620795d66b708dbe4"},'"multiple"')," will hide the tab navigation and display the single tab's content directly."),this.extraTab1&&a("smoothly-tab",{key:"dd469d65650aef03d78794be04a3753e9f6503b1",label:"Extra tab"},"When there are more then one tab, the tab navigation will show.")),a("div",{key:"d4c74375b2a2462272536302cae4c2b8d156d9e8"},a("smoothly-button",{key:"b8cb8984081584464d24ac00f8eb31beec0a1ec6",color:"primary",onClick:()=>this.extraTab2=!this.extraTab2},this.extraTab2?"Remove":"Add"," tab")),a("smoothly-tabs",{key:"13b0f9af28c870dc8eae74930e358b8c2c3e3a31"},a("smoothly-tab",{key:"fb2a32bf6a82f57c6f17684262448dfa7ca7312f",label:"Disabled tab",tooltip:"Tooltip for test3",disabled:true},"this is a test message again!"),a("smoothly-tab",{key:"bc21b1abc992aeb53f934b528888e44e334c651a",label:"test1",tooltip:"Tooltip for test1",open:true},"Hello world!"),a("smoothly-tab",{key:"9fb5f89c51f22e527fb3f18c48f5018ef1624364",label:"test2"},"this is a test message!"),this.extraTab2&&a("smoothly-tab",{key:"e563eaf2cffb105047505abee23958965108fba1",label:"test-extra"},"this is a test message!")))}static get style(){return d()}},[2,"smoothly-tabs-demo",{extraTab1:[32],extraTab2:[32]}]);function i(){if(typeof customElements==="undefined"){return}const e=["smoothly-tabs-demo","smoothly-button","smoothly-tab","smoothly-tabs"];e.forEach((e=>{switch(e){case"smoothly-tabs-demo":if(!customElements.get(s(e))){customElements.define(s(e),m)}break;case"smoothly-button":if(!customElements.get(s(e))){b()}break;case"smoothly-tab":if(!customElements.get(s(e))){c()}break;case"smoothly-tabs":if(!customElements.get(s(e))){l()}break}}))}i();export{m as S,i as d};
|
|
2
|
-
//# sourceMappingURL=p-1KOtWYkC.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as a,h as l,F as o,d as t,t as c}from"./p-BsZrGTcp.js";import{d}from"./p-DM5CKilY.js";import{d as s}from"./p-CR3Ni_o7.js";import{d as y}from"./p-B-l1S16Z.js";import{d as b}from"./p-Ud7Qhkgt.js";import{d as f}from"./p-C3FORjes.js";import{d as m}from"./p-CDQM-sOT.js";import{d as p}from"./p-DwYc62Ls.js";import{d as r}from"./p-Dekg3IGr.js";import{d as h}from"./p-CrcmijCR.js";import{d as i}from"./p-CRTkSTv3.js";import{d as k}from"./p-DZ4ogW8V.js";import{d as u}from"./p-CG636AEF.js";import{d as n}from"./p-CjdBPauI.js";import{d as g}from"./p-CTPT9Ngc.js";import{d as w}from"./p-DBuVH8IL.js";const v=()=>`.sc-smoothly-table-demo-group-h{display:block}.sc-smoothly-table-demo-group-h smoothly-display.sc-smoothly-table-demo-group{display:inline}.sc-smoothly-table-demo-group-h fake-cell-wrapper.span-2.sc-smoothly-table-demo-group{grid-column:span 2}.sc-smoothly-table-demo-group-h>smoothly-display.sc-smoothly-table-demo-group{display:inherit;font-size:2em}.sc-smoothly-table-demo-group-h>*.sc-smoothly-table-demo-group{margin-bottom:2rem}.sc-smoothly-table-demo-group-h fake-group-wrapper.sc-smoothly-table-demo-group,.sc-smoothly-table-demo-group-h fake-row-wrapper.sc-smoothly-table-demo-group,.sc-smoothly-table-demo-group-h fake-expandable-row-wrapper.sc-smoothly-table-demo-group{grid-column:1 / -1;display:grid;grid-template-columns:subgrid}.sc-smoothly-table-demo-group-h fake-cell-wrapper.sc-smoothly-table-demo-group{grid-column:span 1;display:block}.sc-smoothly-table-demo-group-h fake-expandable-cell-wrapper.sc-smoothly-table-demo-group{display:contents}`;const E=e(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return l(t,{key:"044be2a5a9260e32e91ee8375a225a0dee587ce9"},l("smoothly-display",{key:"c8a77f7bcd0bc541ad217e1df6828a2b0815e2f8",type:"text",value:"Group"}),l("smoothly-table",{key:"807f4357d1197b355711e01d5edffd8d3983db6a",color:"primary",columns:2},l("smoothly-table-head",{key:"6b1b3b0e281764d1430fe6b765f2872884e2e09e"},l("smoothly-table-row",{key:"c9b2dd1d3b4c17256cbc1d7214a7654cb82d4436"},l("smoothly-table-cell",{key:"b1c8d54323e816490f28005e6bbe618c2ffe0e4a"},"Date"),l("smoothly-table-cell",{key:"e45d0a4862cbe71c8cca27a8d6aa6a0956709019"},"Total"))),l("smoothly-table-body",{key:"c0bdce1d860654b8ba88bac33a9f035363061d19"},l("smoothly-table-row-group",{key:"a11c8367f087e12e0a02d25f8b48a29689107e06",align:true},l("smoothly-display",{key:"8ab3110cbf9d57591bfa9a2dcc9c7e224792a104",slot:"start",type:"date",value:"2024-01-01"}),l("smoothly-display",{key:"826f0acd265a99d445b6786458c232172d2cf381",slot:"end",type:"price",currency:"EUR",value:510}),l("smoothly-table-expandable-row",{key:"ccc0645a756649d0e748f147eec063aa5c7c7036"},l("smoothly-table-cell",{key:"3a7e33ab43dca04d24872c2041833bff916e8934"},l("smoothly-display",{key:"972c99f625f6b27352b3e3c17007a6923a1cbfce",type:"date-time",value:"2024-01-01T01:37:00.000Z"})),l("smoothly-table-cell",{key:"bfe695bac2c193687738aafd05a78cb23feac052"},l("smoothly-display",{key:"934d9207b9971fa1d7787822e7405f1e9def7a13",type:"price",currency:"EUR",value:250})),l("smoothly-lazy",{key:"a94346f2caa9c0edfa9608485b458da151fae5f9",slot:"detail",content:l(o,null,"Details of 2024-01-01T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"51f21f7bc12d6662392b96f7582a78f19d7dc0af"},l("smoothly-table-cell",{key:"9bf2051dbb810a8eaa7da2ffe850435a943ab7b2"},l("smoothly-display",{key:"1abb624a6c4cd85f191576e4155e90f12529ac11",type:"date-time",value:"2024-01-01T13:37:00.000Z"})),l("smoothly-table-cell",{key:"a796212e2c36cbaac2d2d9d10960310c23b7d3e0"},l("smoothly-display",{key:"605eeaac1fee2ccfd96d900cdbda80e98cf86886",type:"price",currency:"EUR",value:260})),l("smoothly-lazy",{key:"8905ac1b38a2acf766c60c74284399a44331874d",slot:"detail",content:l(o,null,"Details of 2024-01-01T13:37:00.000Z")}))),l("smoothly-table-row",{key:"4d49a3ada2507ec28ae70b3361e620758bd95977"},l("smoothly-table-cell",{key:"9d6c8b5ba8f0704745e014eeaa0eec94f1957739"},l("smoothly-display",{key:"851e641172245203cc8c80fe191c629c1e8036f6",type:"date",value:"2024-01-02"})),l("smoothly-table-cell",{key:"7a6160c20b31624b7f181526da09ffe4df40ef36"},l("smoothly-display",{key:"229e788a885e95aa6abb8a0ef633579a17e87a95",type:"price",currency:"EUR",value:130}))),l("smoothly-table-row-group",{key:"42fbdb5745b91dc7f42d19f3fb4e7a9c53b96a78"},l("smoothly-display",{key:"6dcfdbe08def271dfeaf89a1d8fff32e921971b1",slot:"start",type:"date",value:"2024-01-03"}),l("smoothly-display",{key:"fe218184eb784cc7cd3094775096f81981ee8733",slot:"end",type:"price",currency:"EUR",value:720}),l("smoothly-table-expandable-row",{key:"8611b77389d19cb2463ff654328520acc0229030"},l("smoothly-table-cell",{key:"75d7572ca30ae4a051f3756794a7117c5c7f3c46"},l("smoothly-display",{key:"fb86017176633bc226dafc03e37b9ac282f88ddc",type:"date-time",value:"2024-01-03T01:37:00.000Z"})),l("smoothly-table-cell",{key:"be847bc7c1ac7781c2bc9637b6143b493e9688eb"},l("smoothly-display",{key:"553cd5b7591033b6f8743b1e6b14e7ec15552889",type:"price",currency:"EUR",value:320})),l("smoothly-lazy",{key:"f3dfa33ba846fdcb5172b0ad47c3ab14e29ee6fb",slot:"detail",content:l(o,null,"Details of 2024-01-03T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"7e5acc9b813857a344b7ffde22549088f26bda0a"},l("smoothly-table-cell",{key:"5cba3d4839ba15c0193e7eec1ac664bc9b3f5f61"},l("smoothly-display",{key:"312c552c6ccece6028c4cdd8ab0f5f2af3391d5c",type:"date-time",value:"2024-01-03T13:37:00.000Z"})),l("smoothly-table-cell",{key:"a4273386dd793a0ecb8284727869a51345d0e5bc"},l("smoothly-display",{key:"21a7a1c5c0a9bcf5e3594a4b48f7c54eb5af0b9a",type:"price",currency:"EUR",value:400})),l("smoothly-lazy",{key:"04ee16af0d0033862aa7e29033d0edf95a9b6bfb",slot:"detail",content:l(o,null,"Details of 2024-01-03T13:37:00.000Z")}))),l("smoothly-table-row-group",{key:"7ce12fc20fea9844d23e773e19a0296e8dedcbb2"},l("smoothly-display",{key:"ece4ded9117930fc4c64c8d2740ed8add76f4fb6",slot:"start",type:"date",value:"2024-01-04"}),l("smoothly-table-expandable-row",{key:"b43e2f3e5e51beb019da6b4b823014df4fb9b7ad"},l("smoothly-table-cell",{key:"d8ec8e3397e6c702a0ce7ffc1148258b357d850f"},l("smoothly-display",{key:"663260db0785da46c8978f561aea13ffe434a319",type:"date-time",value:"2024-01-04T01:37:00.000Z"})),l("smoothly-table-cell",{key:"d526a2aa10c7be28d6e2be439984604c25e98ae8"},l("smoothly-display",{key:"68f15b2b6bfd5faff55b3421e914633f7e54abc2",type:"price",currency:"EUR",value:320})),l("smoothly-lazy",{key:"32eacc646bc96494eab5c117f22f543044a28a16",slot:"detail",content:l(o,null,"Details of 2024-01-04T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"419ca2c46ff03e1ef1a78e2089198337c5aeb180"},l("smoothly-table-cell",{key:"06a07b9699ffe395dc0c68fd8993ab3e4ae27117"},l("smoothly-display",{key:"a2cba094f5178e043d930f445304ed7eab4f7fdd",type:"date-time",value:"2024-01-04T13:37:00.000Z"})),l("smoothly-table-cell",{key:"8e974a68dd724ece0945ff277229f8c70a6c9e04"},l("smoothly-display",{key:"beb312d995aa44c5138cbb748237d5cf02c944f3",type:"price",currency:"EUR",value:400})),l("smoothly-lazy",{key:"75801728d6f20f9e4acbe38a2b302b73ce8cbd32",slot:"detail",content:l(o,null,"Details of 2024-01-04T13:37:00.000Z")}))),l("smoothly-table-row-group",{key:"a5d4d32fcb7ac204a3734dea7a616c88307e6cbe"},l("smoothly-display",{key:"2331960fe63909aef8f9b35ecdd76bc37deb6375",slot:"end",type:"price",currency:"EUR",value:720}),l("smoothly-table-expandable-row",{key:"19b69cb0e6265bcae3413ff3deacb31359825110"},l("smoothly-table-cell",{key:"b1573bf5ea27d637dd429e80c012192fc22e0660"},l("smoothly-display",{key:"d8777e74c334c73a60a7fcd377c8ef1d69fae20e",type:"date-time",value:"2024-01-05T01:37:00.000Z"})),l("smoothly-table-cell",{key:"49f464b913486092a2de9b27750a71b00061eef3"},l("smoothly-display",{key:"0d716ae1f80fa8f98c84e623d1935b7a0213a648",type:"price",currency:"EUR",value:320})),l("smoothly-lazy",{key:"7c8d2f82680b35d8f231d828c6ffdb2b6ebb31da",slot:"detail",content:l(o,null,"Details of 2024-01-05T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"b64d7b474e70a8d3334660a01feb0b26c8403e40"},l("smoothly-table-cell",{key:"64bf40d93b8ff419695fa7d69d4894585e77d92d"},l("smoothly-display",{key:"ba5694ed645bb9b5105fa0ffe1dacd63dfa4d72c",type:"date-time",value:"2024-01-05T13:37:00.000Z"})),l("smoothly-table-cell",{key:"837a934ab755965bfad88ed07a5b21a7c7877738"},l("smoothly-display",{key:"6e2b0d5a372e022374c514393f8a9a439cb06480",type:"price",currency:"EUR",value:400})),l("smoothly-lazy",{key:"13966802b164b23cd3959c54373a91a4b99d1ab8",slot:"detail",content:l(o,null,"Details of 2024-01-05T13:37:00.000Z")}))),l("fake-group-wrapper",{key:"dc7031260e2ca39650f89659822ed86320701751"},l("smoothly-table-row-group",{key:"8c4f9f5fd19f9c144c439aaba701c0b0a1b22272"},l("smoothly-display",{key:"9458e205c4be0d91ce42eff9bcecded48c69c961",slot:"start",type:"date",value:"2024-01-06"}),l("smoothly-display",{key:"a139382798f85d6922dea91e86b473cd2bfd486a",slot:"end",type:"price",currency:"EUR",value:720}),l("fake-row-wrapper",{key:"ae33f14933f819975a4313ad4255d00b371bd677"},l("smoothly-table-row",{key:"ececad7f1be8f60215da7e2f2dce838fefcdf279"},l("fake-cell-wrapper",{key:"defb123cb025e0dc64085a248645c635bc488507"},l("smoothly-table-cell",{key:"97cd28e0c190afcab36d300de24bd5ba4c42139b"},l("smoothly-display",{key:"d5ec9b80ecffcac24cb936ac8383161523de7e60",type:"date",value:"2024-01-02"}))),l("fake-expandable-cell-wrapper",{key:"08d0df0f2c099dab483a9c2c48b286e3bcba0346"},l("smoothly-table-expandable-cell",{key:"53b96521de90492a28d44c74ecd6674828a9d54e"},l("smoothly-display",{key:"9bf466b6f3090ad44103e1eb2be42fde3a337910",type:"price",currency:"EUR",value:130}),l("smoothly-lazy",{key:"55f6d59ab1c85058c5634774f33c9a71a9451917",slot:"detail",content:l("span",null,l("smoothly-display",{type:"price",value:100,currency:"EUR"})," + ",l("smoothly-display",{type:"price",value:30,currency:"EUR"}))}))))),l("fake-expandable-row-wrapper",{key:"8476b93642f2b53e5c8ae23698c54edb072c6361"},l("smoothly-table-expandable-row",{key:"8535dad53ba0eaf19f5ee5d2f5b1f3d6f3e1c6bd"},l("fake-cell-wrapper",{key:"ff5facddb89a2cf15f18634ad8f7e8780a51cb6d",class:"span-2"},l("smoothly-table-cell",{key:"a4508b413fd6e98ac9d64043dee769bb2ff5c97b",span:2},l("smoothly-display",{key:"65865507298b01080b39b2c7b856e37bcac1ba46",type:"date",value:"2024-01-07"}))),l("smoothly-lazy",{key:"2e6baa60bcdcd7a892b9863975d2ff90a11fbc9f",slot:"detail",content:l("smoothly-display",{type:"date-time",value:"2024-01-07T13:37:00.000Z"})}))))),l("smoothly-table-row-group",{key:"bee25e3af1397c26cbcb59fe0aeb178f672d60c3"},l("smoothly-display",{key:"89e48e848f09c8edb0a5a71de18f6a6e02e298f8",slot:"start",type:"date",value:"2024-01-08"}),l("smoothly-display",{key:"8eb48628fe13eeef290c1b086d3baa338c010cc2",slot:"end",type:"price",currency:"EUR",value:720})))))}static get style(){return v()}},[2,"smoothly-table-demo-group"]);function j(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-demo-group","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-lazy","smoothly-load-more","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-expandable-cell","smoothly-table-expandable-row","smoothly-table-head","smoothly-table-row","smoothly-table-row-group"];e.forEach((e=>{switch(e){case"smoothly-table-demo-group":if(!customElements.get(c(e))){customElements.define(c(e),E)}break;case"smoothly-display":if(!customElements.get(c(e))){d()}break;case"smoothly-display-json":if(!customElements.get(c(e))){s()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){b()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){f()}break;case"smoothly-lazy":if(!customElements.get(c(e))){m()}break;case"smoothly-load-more":if(!customElements.get(c(e))){p()}break;case"smoothly-table":if(!customElements.get(c(e))){r()}break;case"smoothly-table-body":if(!customElements.get(c(e))){h()}break;case"smoothly-table-cell":if(!customElements.get(c(e))){i()}break;case"smoothly-table-expandable-cell":if(!customElements.get(c(e))){k()}break;case"smoothly-table-expandable-row":if(!customElements.get(c(e))){u()}break;case"smoothly-table-head":if(!customElements.get(c(e))){n()}break;case"smoothly-table-row":if(!customElements.get(c(e))){g()}break;case"smoothly-table-row-group":if(!customElements.get(c(e))){w()}break}}))}j();export{E as S,j as d};
|
|
2
|
-
//# sourceMappingURL=p-4y8eF-fy.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as s,h as o,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-DM5CKilY.js";import{d}from"./p-CR3Ni_o7.js";import{d as i}from"./p-B-l1S16Z.js";import{d as m}from"./p-Ud7Qhkgt.js";import{d as l}from"./p-C3FORjes.js";const c=()=>`.sc-smoothly-theme-guide-h{max-width:50ch}`;const r=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return[o("smoothly-display",{key:"f1df988e927d7a410fb804c256d83fd2e5df3270"},"Tint is used as background to highlight, for example hovering an item in the select menu."),o("br",{key:"d88375d6837282086c1b28679979c5c30535bf6f"}),o("smoothly-display",{key:"92197798a41f3637cdb44eb0d771314994f8558b"},"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."),o("br",{key:"f3babcf46ea37dd12f0963dc5aea96663192b36d"}),o("smoothly-display",{key:"62bcb9535f7bdd1278867a5c7ef64a523f8165c2"},"Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),o("br",{key:"10c741b12802f9afdfce58261f02f3d82c313ea7"}),o("smoothly-display",{key:"3611691ee95a6349d47fcd73361bbb24e944ea97"},"One can use the ","<smoothly-color>"," component to switch between what color set is used."," "),o("br",{key:"abfa804436d8eae1a12e021ee848ddd63ade667a"})]}static get style(){return c()}},[2,"smoothly-theme-guide"]);function n(){if(typeof customElements==="undefined"){return}const e=["smoothly-theme-guide","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key"];e.forEach((e=>{switch(e){case"smoothly-theme-guide":if(!customElements.get(t(e))){customElements.define(t(e),r)}break;case"smoothly-display":if(!customElements.get(t(e))){a()}break;case"smoothly-display-json":if(!customElements.get(t(e))){d()}break;case"smoothly-display-json-object":if(!customElements.get(t(e))){i()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(e))){m()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(e))){l()}break}}))}n();export{r as S,n as d};
|
|
2
|
-
//# sourceMappingURL=p-B3OjIxsE.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,c as o,h as a,d as s,t as c}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d}from"./p-BoHJT9bR.js";import{d as l}from"./p-BHEtq3Ue.js";import{d as i}from"./p-DX3KKRD9.js";import{d as b}from"./p-BqAN7jax.js";import{d as f}from"./p-B8ljN4o0.js";import{d as n}from"./p-DM5CKilY.js";import{d as r}from"./p-CR3Ni_o7.js";import{d as y}from"./p-B-l1S16Z.js";import{d as u}from"./p-Ud7Qhkgt.js";import{d as h}from"./p-C3FORjes.js";import{d as p}from"./p-DgaHxdNI.js";import{d as k}from"./p-BiQsRsV4.js";import{d as v}from"./p-R4uIvvER.js";import{d as j}from"./p-C_f8s6n5.js";import{d as g}from"./p-BaBGzDg_.js";import{d as E}from"./p-nrkV1PqR.js";import{d as x}from"./p-D58kSmOp.js";import{d as D}from"./p-C9zTTp-4.js";import{d as S}from"./p-CZ6kkjYF.js";import{d as w}from"./p-DKggy9E3.js";import{d as C}from"./p-CGG77xzV.js";import{d as z}from"./p-DdTTiJbE.js";import{d as I}from"./p-DbIjGsJb.js";import{d as L}from"./p-CUiFFtAw.js";import{d as B}from"./p-CioJtwj-.js";import{d as A}from"./p-DTqtObrT.js";import{d as R}from"./p-nHKstm2X.js";import{d as T}from"./p-BDhPxj59.js";import{d as N}from"./p-DXHBXAV0.js";import{d as M}from"./p-D2FsRCII.js";import{d as F}from"./p-C3__jhwf.js";import{d as H}from"./p-CKrPTQ_S.js";import{d as J}from"./p-RNCr3p17.js";import{d as K}from"./p-D7cDUGTe.js";import{d as U}from"./p-BS2SWUX6.js";import{d as G}from"./p-CsLlJDsh.js";import{d as O}from"./p-DSsOLbj6.js";import{d as _}from"./p-2Y5tLcQ1.js";import{d as Q}from"./p-DMzn0Iz0.js";const V=()=>`.sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo{display:flex}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo smoothly-input.sc-smoothly-input-demo{flex:1}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{max-width:min(calc(100% - 2rem), 56rem);margin:auto}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-grow:1;min-width:min(100%, var(--smoothly-form-input-min-width, 18rem));flex-basis:40%}`;const X=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyUrlUpdate=o(this,"smoothlyUrlUpdate");this.duration={hours:8};this.alphanumeric="!@##";this.numbers=[1,2,3,4,5,6,7,8,9]}render(){return a(s,{key:"77487e04cd393519b5080f752b3cba328ae8bbd3"},a("smoothly-input-demo-standard",{key:"f9de577b637efcaffe3a92dc55bff25520e0384f"}),a("smoothly-input-date-demo",{key:"cdb1c974c8cb5844cf800f8fc52c407479db307e"}),a("smoothly-input-demo-user-input",{key:"38bb2d03ef20e3e8e5737e423f4f54c9fad4f973"}),a("smoothly-input-demo-radio",{key:"999e3b97199fbcb547e83c589c1447e726f4754a"}),a("div",{key:"ee8094197dd274791200a010baedd05db71b888a",class:"inputs"},a("h2",{key:"5b65b420015ad7bb32ef059f6aee019400cdc6b3"},"Calendar"),a("smoothly-input-date",{key:"375cad6d89a6f80cbe8e67cbeb1759e0cb28ab11",name:"some-date"},"Calendar"),a("smoothly-input-date-time",{key:"797e6d6ccbbba14258926f21f202eacad2b85d76",name:"someDateTime",value:m.DateTime.now()},"DateTime"),a("h2",{key:"a49689e5821a93c721be25c6faa570f05402582b"},"Date Range"),a("smoothly-input-date-range",{key:"ab71a879e70b97431da2f0beacf54dc093ca0a7a",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-01",max:"2025-01-31"}),a("smoothly-input-date-range",{key:"703952d0ba703d6a8cc26b4bef028d7a48c8c4f6",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2024-12-30"},a("smoothly-input-reset",{key:"5bd07b3504d054442cefb2ba9db61c4d83ed39c9",slot:"end",size:"icon"})),a("smoothly-input-date-range",{key:"39c7ae936d2a952626f20dcc19ae0a52885db2f5",looks:"grid",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2025-12-30",showLabel:false,style:{"--smoothly-input-border-radius":"0.5rem"}},a("smoothly-input-clear",{key:"ef4179eba332c4aefcccec094f4cd75e0a724b3d",slot:"end",size:"icon"})),a("h2",{key:"8b97455a27099963ab131055f4d43f0e050f4cc7"},"Date"),a("smoothly-input-date",{key:"c167353ed6a2b37488e709929e8dd7691ff3b0b7"},"Date"),a("smoothly-input-date",{key:"f0cfeb105e03c511c2b2c4daa5cd618fb1bcbfb4",showLabel:false,value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),a("smoothly-input-date",{key:"771efe6acb85206eb87024409a78ed52d3907af0",value:"2021-10-28"},"Date",a("smoothly-input-reset",{key:"8e009b6d59da638ada992b07ddb2c2d1c071be55",slot:"end",size:"icon"})),a("smoothly-input-date",{key:"936b5cdea71f19463922d25d2ed9468df89586ce",value:"2021-10-28"},"Date",a("smoothly-input-clear",{key:"ad177348cf1f5353d3a2b7c7317fbd71c3614f61",slot:"end",size:"icon"})),a("h2",{key:"475ca58552f978b55eba5222267d18a0d78938c5"},"Select"),a("div",{key:"7eae0b4cee9e74e38e9e726934101066f870aeec",class:"select-div"},a("smoothly-input-select",{key:"16d9addd365f75e1ff255d9cd94bb90b20901fd3",name:"select-dessert",looks:"border"},a("label",{key:"7e7550a94183d31ae99bc7dd85eda059c755e3d0",slot:"label"},"Select with clear button"),a("smoothly-item",{key:"62b741c6154152014d1206fd2481984aa3097d8f",value:"1"},"Ice cream"),a("smoothly-item",{key:"b45f30884b44e05528555295bd11b4e01fc5d3a4",value:"2"},"Sponge cake"),a("smoothly-item",{key:"7b2c3712a21be6943acf8eb1557ddd9fa101320c",value:"3",disabled:true},"Disabled Item"),a("smoothly-item",{key:"47bbd5ccbaaa9977688f2db60e3b01ee44c37806",value:"4"},"Cookie"),a("smoothly-item",{key:"0965a9480aa7dfad59a07bc19d49ccf6a5a7d52d",value:"5"},"Croissant"),a("smoothly-item",{key:"8298f1a72b728eeb490ba52d31f34e4a5d667da5",value:"6"},"Chocolate fondue"),a("smoothly-input-clear",{key:"6a5b85b80fd07f85f8d7ca7704e3a80174bd6e6e",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"e5bc84b980a2bd6cca07a580f15817c3b7dc988b",multiple:true,name:"select-dessert-multiple",looks:"border"},a("label",{key:"f73a74a039e1b892a444591ba6c86ab184dbcbbb",slot:"label"},"Select multiple with reset button"),a("smoothly-item",{key:"a863ec926936998f9bbf571b0250ed0f6d0d0a9c",value:"ice cream"},"Ice cream"),a("smoothly-item",{key:"7dc67e9285547dda4daad5136837e80450ac13ea",value:"sponge cake"},"Sponge cake"),a("smoothly-item",{key:"55dd30ea0dabd3481795c13c350ee7052207aad6",selected:true,value:"cookie"},"Cookie"),a("smoothly-item",{key:"213ff1fbc6a5c445bbbce07140dbd18ee162cb89",value:"croissant"},"Croissant"),a("smoothly-item",{key:"abc065dab103fdaeb511f56c8db239b82cc48577",selected:true,value:"chocolate fondue"},"Chocolate fondue"),a("smoothly-input-reset",{key:"48922c5a07288a94407c4dc1f55305f567d45893",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"3ebed3f650a369cfbd7850584efd9bcf79c6f846",name:"spirit-animals",looks:"border",mutable:true},a("label",{key:"73f73f2bce086f81b7fcb46f4808bd5732783aef",slot:"label"},"Select or add new options"),a("smoothly-item",{key:"beb4a3b4c715c8b1f2bb5b765fb742da64363cb7",value:"manatee"},"Manatee"),a("smoothly-item",{key:"f5c8c7fccb97ac840b42220f8380035a7ac7088f",selected:true,value:"cthulu"},"Cthulu")),a("smoothly-input-select",{key:"5163d4d246184319955f0c1cc756f9cee765847b",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"2c7ab7ef09f08930f072f5e2e51677951c84ea50",value:"folder",selected:true},a("smoothly-icon",{key:"86f4ed31d2e4ff382aece3cedf8f0d0265454b8a",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"afc8fbf7dba66206051d2ae4d7df8b16a0c3b2cf",value:"camera"},a("smoothly-icon",{key:"a9a115b3a8038393e75e72ef38742f3bb1b60339",size:"small",name:"camera-outline"}))),a("smoothly-input-select",{key:"d7aac15a3ff5c7271fd22cab0621aa6d4f69cb99",ordered:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"db0eba7390d2b64d810f07898b7b646f0d6a360d",slot:"label"},"Alphabet ordered select"),Array.from({length:26}).map(((e,t)=>String.fromCharCode(t+65))).map((e=>a("smoothly-item",{value:e,selected:e=="H"},e)))),a("smoothly-input-select",{key:"c61728d55e5e96dc81d5df36c4fa38ed802f8b00",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"5768a186da1bf2fa4fbc80fb91478af031981694",slot:"label"},"Month multiple select"),a("smoothly-item",{key:"950676b7ffb90bc765f2a0c24cb40c631f64add8",value:"1"},"January"),a("smoothly-item",{key:"57e77e1ca64869441e44e0c753a0c132e6c8a152",value:"2"},"February"),a("smoothly-item",{key:"2ee03ce05d5dfa6ec01fc3cde97051a10d2215d9",value:"3"},"March"),a("smoothly-item",{key:"9c9dfdf2dd5ebdfffdc92732b7dff4b770632775",value:"4"},"April"),a("smoothly-item",{key:"35a1ce3376a84c830c00fba8080c093ef6f4830a",value:"5"},"May"),a("smoothly-item",{key:"cbf4b76e9f8324b29626555ec612f5ee5da8d47b",value:"6"},"June"),a("smoothly-item",{key:"6f7bc0aaeb4ff6e5d0427ab5226924b625086419",value:"7"},"July"),a("smoothly-item",{key:"72d72d65b42e1250b527023364c2bb0c79178a37",value:"8"},"August"),a("smoothly-item",{key:"5d6f57f7ca75f90c30aef101bbbdbb9a26aafb69",value:"9"},"September"),a("smoothly-item",{key:"08d57569eab4d0948f87eaeb8d5e1b936ee17839",value:"10"},"October"),a("smoothly-item",{key:"99e91533b340a40db158f87ed28fb371ebd8eb08",value:"11"},"November"),a("smoothly-item",{key:"4fd40ffef20baed8a6f5ca58768c78693b3a45a4",value:"12"},"December")),a("div",{key:"e1c03afba7cd1421976e4a4c59beac860dedf723",class:"select-div-row"},a("smoothly-input-select",{key:"4067c5e666655fe1b474a73a58241373c826ab03",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"0589c79c7fa7cf31dbad4ab0e8be68523e684299",value:"folder",selected:true},a("smoothly-icon",{key:"56813db2ee593db9227920662d646f7493e0515a",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"3937b7ebb395698a854b2eeb9aeed188fe8fd78d",value:"camera"},a("smoothly-icon",{key:"ce39494e071c12c23a475c31eb448512d2fa0f25",size:"small",name:"camera-outline"})),a("smoothly-item",{key:"9a65176e01981ccfd312fd4d3d4b255760891699",value:"boat"},a("smoothly-icon",{key:"e9e97ae824d225a6dc33fa997b5e46a8bc3c2812",size:"small",name:"boat-outline"}))),a("smoothly-input-select",{key:"1f21eb6eded9dffd449157755bad1b84f7a52981",name:"select-number",clearable:false},this.numbers.map((e=>a("smoothly-item",{value:"number",selected:e===3},e)))),a("smoothly-input",{key:"f4afcff411357a29b89fe0a52239ba7c677cb490",name:"name",value:"Sten Qvist"},"Name"))),a("h2",{key:"9883744d26d1eec36ed1082407e3656d4ea0d1f7"},"Duration"),a("smoothly-input",{key:"fa507aaa61557ca41837cf906a78fef5d16affc0",name:"duration",type:"duration",placeholder:"hh:mm",value:this.duration,onSmoothlyInput:e=>this.duration=e.detail.duration},"Duration"),a("smoothly-input",{key:"f5c027a3ed22026819a2e88ddc5300afe7b8c900",name:"duration",type:"duration",value:this.duration,placeholder:"-hh:mm",onSmoothlyInput:e=>{const t=e.detail.duration;this.duration=t}},"Duration"),a("h2",{key:"f178f51facdeb434a16ecc35c0820ee5035f7d6c"},"Integer with Min/Max"),a("smoothly-input",{key:"acc0577e2f0679be92ef3ba362210cd1953a73ff",name:"days",type:"integer",min:0,max:365},"Days per year (0-365)"),a("smoothly-input",{key:"9a24258cbec32021cf1ec3506f7b4cadf2f459e5",name:"hour",type:"integer",min:0,max:23},"Hours per day (0-23)"),a("smoothly-input",{key:"95a122168d96126ef14f48810daf29867fba07b4",name:"minute",type:"integer",min:0,max:59},"Minutes per hour (0-59)"),a("smoothly-input",{key:"9631a9f894bbefd71bb298683f3333c4357db73b",name:"minute",type:"integer",min:18,max:120},"Age (18-120)"),a("h2",{key:"c6f4545ede80c54a354bc0f01be6072b19ea2bb1"},"Invalid text with warning icon and tooltip"),a("smoothly-input",{key:"ae5cf8e08b0887db2752d0bf39a4c5a14cb1027c",copyable:true,name:"alphanumeric",invalid:!/^[a-zA-Z0-9]+$/.test(this.alphanumeric),errorMessage:"Only alphanumeric allowed",value:this.alphanumeric,onSmoothlyInput:e=>this.alphanumeric=e.detail.alphanumeric},"Alphanumeric"),a("h2",{key:"22724babf43bccb1d64e21646130dd8f58c9505c"},"Identifiers"),a("smoothly-input",{key:"c5a7f350b414fd154ab54c889aeab223cbe23d16",type:"identifier-code"},"Code"),a("smoothly-input",{key:"de0f4aaf40eca11ccb24293c3976ade34f91aaa5",type:"identifier-attribute"},"Attribute"),a("smoothly-input",{key:"fda65727abf9aa451b8b7f755f7bb92fa43afb93",type:"identifier-snake"},"Snake"),a("smoothly-input",{key:"11de906823b2e325f3f9548b019aa8234722656a",type:"identifier-pascal"},"Pascal"),a("smoothly-input",{key:"ba3477e4964b1336e6198db348640d7144fbd06c",type:"identifier-camel"},"Camel"),a("h2",{key:"059c263a0ec79a3986d4e57337a2949c755feb70"},"Input Alternatives"),a("smoothly-input",{key:"8fbe4f80ac2d1d4bd1093a2b60103e248e4169f8",type:"text",name:"name.last"},a("smoothly-icon",{key:"cd0f121fd2ff7bbc8cdc9cfa9cf730cef08e8f11",name:"checkmark-circle",slot:"start"}),"First Name"),a("smoothly-input",{key:"adf350f5ec052599e95fbf6dcc7c16fa64bcc277",type:"text",name:"name.first"},"Last Name",a("smoothly-icon",{key:"4d0ca4a746cce893302008a8b66f07df9a96604c",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"cfb36cd378ca610efbb3d6252e70391985f9b00f",type:"text",name:"name.first",placeholder:"Smith"},"Last Name",a("smoothly-icon",{key:"9fbb53db768468228c7716881cc996d20b77fba3",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"1383590d66cba4e38a1beb82cfafb551ea1661fd",placeholder:"test"}),a("smoothly-input-submit",{key:"13cc6546a1eb274496d10c27c3c80a2bca7dca66",slot:"submit",fill:"solid",onSubmit:e=>alert(e),color:"success"}),a("h4",{key:"53f6a46a5524668011994c2be07b47ab4d2fb1d0"},"Smoothly checkboxes"),a("div",{key:"cc5f357f8e9b673c95de607251ef97437f0f2afc",class:"checkbox-group"},a("smoothly-input-checkbox",{key:"b12ff9cf6d4c042dfc079dea8ed8f92d95a70c68",disabled:true,name:"first-checkbox"},a("smoothly-icon",{key:"7daedabd25cb229c4512c017efb990cca3a08cc8",name:"checkmark-circle",slot:"start",size:"tiny"}),"First"),a("smoothly-input-checkbox",{key:"0836da075b7030bee160bb8931c54092a5b93ef8",name:"second-checkbox",checked:true},a("smoothly-icon",{key:"4d94e2fe73e6580791da9d9a872cd8d4649df36f",name:"checkmark-circle",slot:"start",size:"tiny"}),"second",a("smoothly-input-clear",{key:"117ca8ae52817149a678b4a100a24c3a4829a9b3",size:"icon",slot:"end"})),a("smoothly-input-checkbox",{key:"6e99923c8c082c4727eea3c75b77b23d86eed801",name:"third-checkbox"},"3rd")),a("h4",{key:"3a807db156e197c5192388886889988b874018d8"},"Smoothly Radio Buttons"),a("smoothly-input-radio",{key:"85e1ce54231e39c9f248fe1c7829a2b9cc7775e3",clearable:true,name:"radioFirstInput"},a("smoothly-icon",{key:"72e48b10d12022b72d30591bc74af1c4cb516bf7",name:"checkmark-circle",slot:"start"}),a("label",{key:"5b67d1eaaf73b84abb3a3e26ddd3fe27c9993e23",slot:"label"},"Clearable"),a("smoothly-input-radio-item",{key:"06f796bdde5479565e1ee6258ad73f0b7c4327f5",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"14ab365a1da0fe3b94f1454549e3040df215d9c8",selected:true,value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"ccaf48dc6917aeb500653f637c4b30883814e61a",value:"third"},"Label 3"),a("smoothly-input-clear",{key:"3cc0373ca5e87e2bb0916b2afed9e4cd70515866",size:"icon",slot:"end"})),a("smoothly-input-radio",{key:"cdd729d929f57261d1422a45d83f6332912ae399",name:"radioSecondInput"},a("label",{key:"95d8374b3914b2f88605e2e90cb607bb423fed2b",slot:"label"},"Not clearable"),a("smoothly-input-radio-item",{key:"b1cd33f88df8c1161b203675a4e02c8815954f96",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"b797b785615fbfd4b881db249c99c39bf0fa6504",value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"8557067758ca9f7acc6b35db56e9c6aee2c49f43",value:"third"},"Label 3"),a("smoothly-input-radio-item",{key:"bdbbcf1228089b03cae001cdb573b8c7f37f08df",value:"fourth"},"Label 4"),a("smoothly-input-radio-item",{key:"414016c094bc15ceb37955e3adf1dc18db87e45c",value:"fifth"},"Label 5"),a("smoothly-input-radio-item",{key:"ba3a6a393f5f3af34eb12ec5391d0a6a1eb03e04",value:"sixth"},"Label 6")),a("smoothly-input-range-demo",{key:"97406c6ddb794364f4a1b53c5e1ed551ed8a1ad6"}),a("smoothly-input-color-demo",{key:"0676c5e29637f2097dd0fb084d6507ec9c5c218c"}),a("smoothly-input-price-demo",{key:"80c25cdc1a8d1c2d88df5c680527d5638da91d65"}),a("smoothly-back-to-top",{key:"6aad374c875c762e4e4aff5567aae10300fbd7be"})))}static get style(){return V()}},[2,"smoothly-input-demo",{duration:[32],alphanumeric:[32]}]);function q(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo","smoothly-back-to-top","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","smoothly-input-file","smoothly-input-month","smoothly-input-price-demo","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-range-demo","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo":if(!customElements.get(c(e))){customElements.define(c(e),X)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){d()}break;case"smoothly-button":if(!customElements.get(c(e))){l()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){i()}break;case"smoothly-calendar":if(!customElements.get(c(e))){b()}break;case"smoothly-date-text":if(!customElements.get(c(e))){f()}break;case"smoothly-display":if(!customElements.get(c(e))){n()}break;case"smoothly-display-json":if(!customElements.get(c(e))){r()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){u()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){h()}break;case"smoothly-form":if(!customElements.get(c(e))){p()}break;case"smoothly-icon":if(!customElements.get(c(e))){k()}break;case"smoothly-input":if(!customElements.get(c(e))){v()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){j()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){g()}break;case"smoothly-input-color":if(!customElements.get(c(e))){E()}break;case"smoothly-input-color-demo":if(!customElements.get(c(e))){x()}break;case"smoothly-input-date":if(!customElements.get(c(e))){D()}break;case"smoothly-input-date-demo":if(!customElements.get(c(e))){S()}break;case"smoothly-input-date-range":if(!customElements.get(c(e))){w()}break;case"smoothly-input-date-time":if(!customElements.get(c(e))){C()}break;case"smoothly-input-demo-radio":if(!customElements.get(c(e))){z()}break;case"smoothly-input-demo-standard":if(!customElements.get(c(e))){I()}break;case"smoothly-input-demo-user-input":if(!customElements.get(c(e))){L()}break;case"smoothly-input-file":if(!customElements.get(c(e))){B()}break;case"smoothly-input-month":if(!customElements.get(c(e))){A()}break;case"smoothly-input-price-demo":if(!customElements.get(c(e))){R()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){T()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){N()}break;case"smoothly-input-range":if(!customElements.get(c(e))){M()}break;case"smoothly-input-range-demo":if(!customElements.get(c(e))){F()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){H()}break;case"smoothly-input-select":if(!customElements.get(c(e))){J()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){K()}break;case"smoothly-item":if(!customElements.get(c(e))){U()}break;case"smoothly-spinner":if(!customElements.get(c(e))){G()}break;case"smoothly-tab":if(!customElements.get(c(e))){O()}break;case"smoothly-tabs":if(!customElements.get(c(e))){_()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){Q()}break}}))}q();export{X as S,q as d};
|
|
2
|
-
//# sourceMappingURL=p-BGKOGyFA.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as s,h as o,d as t,t as a}from"./p-BsZrGTcp.js";import{d as l}from"./p-DwYc62Ls.js";const c=()=>`.sc-smoothly-lazy-h{display:block}`;const r=e(class e extends s{constructor(e){super();if(e!==false){this.__registerHost()}this.show=false}loadMoreHandler(e){e.stopPropagation();this.show=true}render(){return o(t,{key:"93b333ebfee933e5f5b147895a04385389b5c03d"},o("slot",{key:"b10226510296688cb58fc005c01c68a16ffd150c",name:"before"}),o("smoothly-load-more",{key:"9a097a7489d5e670418250abcc0d5870d11f460c",onSmoothlyLoadMore:e=>this.loadMoreHandler(e)}),this.show&&(typeof this.content=="function"?o(this.content,null):this.content),o("slot",{key:"bf5243f15e485eae1203272284b06f0e51d47fa9"}))}static get style(){return c()}},[262,"smoothly-lazy",{show:[1028],content:[16]}]);function n(){if(typeof customElements==="undefined"){return}const e=["smoothly-lazy","smoothly-load-more"];e.forEach((e=>{switch(e){case"smoothly-lazy":if(!customElements.get(a(e))){customElements.define(a(e),r)}break;case"smoothly-load-more":if(!customElements.get(a(e))){l()}break}}))}n();export{r as S,n as d};
|
|
2
|
-
//# sourceMappingURL=p-CDQM-sOT.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,d as s,t as i}from"./p-BsZrGTcp.js";import{i as a}from"./p-BVKhAhsB.js";import{d as m}from"./p-BHEtq3Ue.js";import{d as n}from"./p-BqAN7jax.js";import{d as r}from"./p-B8ljN4o0.js";import{d as l}from"./p-DM5CKilY.js";import{d as c}from"./p-CR3Ni_o7.js";import{d}from"./p-B-l1S16Z.js";import{d as h}from"./p-Ud7Qhkgt.js";import{d as u}from"./p-C3FORjes.js";import{d as p}from"./p-BiQsRsV4.js";import{d as f}from"./p-R4uIvvER.js";import{d as y}from"./p-C_f8s6n5.js";import{d as b}from"./p-nrkV1PqR.js";import{d as k}from"./p-C9zTTp-4.js";import{d as j}from"./p-DKggy9E3.js";import{d as g}from"./p-CGG77xzV.js";import{d as x}from"./p-DTqtObrT.js";import{d as E}from"./p-BDhPxj59.js";import{d as v}from"./p-DXHBXAV0.js";import{d as C}from"./p-D2FsRCII.js";import{d as I}from"./p-RNCr3p17.js";import{d as U}from"./p-BS2SWUX6.js";import{d as S}from"./p-DMzn0Iz0.js";const B=()=>`.sc-smoothly-input-demo-user-input-h{max-width:min(100%, 56rem);margin-inline:auto;display:grid;grid-template-columns:12rem 1fr;gap:1rem}.sc-smoothly-input-demo-user-input-h>div.sc-smoothly-input-demo-user-input{grid-column:1 / -1}@media (max-width: 48rem){.sc-smoothly-input-demo-user-input-h{grid-template-columns:1fr}}`;const N=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.values=["zero","one","two","three","four","five"];this.colors=["#ff0000","#00ff00","#0000ff","#ffff00","#00ffff","#ff00ff"]}increment(e){return e===undefined?0:(e+1)%this.values.length}render(){var e,t;return o(s,{key:"e5373df530143e9be043fef3040f0c28e4e6befd"},o("div",{key:"e43682af956adff7d7717bc0460eed3b1bb95d84"},o("h2",{key:"4332098a4a62650fee3ff36df29bbab86ece7e9d"},"User Input Event"),o("p",{key:"b20f95a50866658227c61b92cd110ec481da9aea"},"These inputs demonstrate how user input is handled. The ",o("code",{key:"d7966a4bf162c151d82b4202e72cd090eaf54ea0"},"smoothlyUserInput")," event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).",o("br",{key:"c491689d80addd8399ee02ab7cfc6c14f599bb85"}),"Check the console to see the details of each ",o("code",{key:"919ebbf26937841a5396d0d8b1f7d56a268ac292"},"smoothlyUserInput")," event.")),o("smoothly-button",{key:"241df770721275520a479cac831b972062cf0fce",color:"tertiary",onClick:()=>this.textIndex=this.increment(this.textIndex)},"Change text"),o("smoothly-input",{key:"1c8afb64233081bd049d91a0dd0e8071aad85856",looks:"border",name:"demo-user-input-text",value:this.textIndex===undefined?"":this.values[this.textIndex],onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Text input"),o("smoothly-button",{key:"5fe334fb6629980fec2ee42d22df173f86b9bec2",onClick:()=>this.selectIndex=this.increment(this.selectIndex),color:"tertiary"},"Next select item"),o("smoothly-input-select",{key:"0972c18426ec3adf17de6b187c582d875de17c75",looks:"border",name:"demo-user-input-select",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"0e6d5f9596b71bae1f548aaf3cc830e9327dda05",slot:"label"},"Select input"),this.values.map(((e,t)=>o("smoothly-item",{value:t,selected:t==this.selectIndex},e)))),o("smoothly-button",{key:"66f5d072734363f0457f38252105272c643354ce",color:"tertiary",onClick:()=>this.checkboxChecked=!this.checkboxChecked},"Toggle checkbox"),o("smoothly-input-checkbox",{key:"37bb578799dfb2de20c6ed9c26214acc5a4b3c0b",looks:"border",name:"demo-user-input-checkbox",checked:this.checkboxChecked,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Checkbox input"),o("smoothly-button",{key:"a70017b8ad95581ec4361d96350f809942b61d93",color:"tertiary",onClick:()=>this.radioIndex=this.increment(this.radioIndex)},"Next radio item"),o("smoothly-input-radio",{key:"07558d4cbc286b03af94f0cc93718f35a93a73f6",looks:"border",name:"demo-user-input-radio",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"1e6fa16c98dbf64e75d4527a5619a37d30631801",slot:"label"},"Radio input"),this.values.map(((e,t)=>o("smoothly-input-radio-item",{value:e,selected:t==this.radioIndex},e)))),o("smoothly-button",{key:"d3d7581a7c25ce7a7add6cc0f318bb738fbfcf56",color:"tertiary",onClick:()=>this.rangeValue=this.increment(this.rangeValue)},"Next range value"),o("smoothly-input-range",{key:"cf1ad804353d6cecc2a92f1c919f0814ddc90293",looks:"border",name:"demo-user-input-range",step:1,min:0,max:this.values.length,value:this.rangeValue,label:"Range Input",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)}),o("smoothly-button",{key:"ac4215b8764d794d7b2b502e8978eeb066bb482b",color:"tertiary",onClick:()=>this.colorIndex=this.increment(this.colorIndex)},"Next color"),o("smoothly-input-color",{key:"b0f18cbf601c7a7e1b105b6ade6b7738e735c1af",looks:"border",name:"demo-user-input-color",value:typeof this.colorIndex=="number"?this.colors[this.colorIndex]:undefined,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Color input"),o("smoothly-button",{key:"353846f23973a62890ca228fce9434606c351eab",color:"tertiary",onClick:()=>this.dateValue=this.dateValue?a.Date.next(this.dateValue):a.Date.now()},"Next day"),o("smoothly-input-date",{key:"e4e466950e474177dfd57b95741256ece59aeba7",looks:"border",name:"demo-user-input-date",value:this.dateValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date input"),o("smoothly-button",{key:"e39a9742e3c896ed0b8083b0cb12694971c2f7b3",color:"tertiary",onClick:()=>this.datetimeValue=this.datetimeValue?a.DateTime.nextDay(this.datetimeValue):a.DateTime.now()},"Next date time"),o("smoothly-input-date-time",{key:"91d54581db356cfcfc093286eb125502398315bd",looks:"border",name:"demo-user-input-datetime",value:this.datetimeValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date time input"),o("smoothly-button",{key:"1bfc78adefad21783c035335cf764bdb92c537e4",color:"tertiary",onClick:()=>this.dateRangeValue=this.dateRangeValue?{start:a.Date.next(this.dateRangeValue.start),end:a.Date.next(this.dateRangeValue.end)}:{start:a.Date.now(),end:a.Date.next(a.Date.now(),10)}},"Next date range"),o("smoothly-input-date-range",{key:"78f36ca1d6a278db6d7bd4644689331be84c488a",looks:"border",name:"demo-user-input-daterange",start:(e=this.dateRangeValue)===null||e===void 0?void 0:e.start,end:(t=this.dateRangeValue)===null||t===void 0?void 0:t.end,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date range input"))}static get style(){return B()}},[2,"smoothly-input-demo-user-input",{textIndex:[32],selectIndex:[32],checkboxChecked:[32],radioIndex:[32],rangeValue:[32],colorIndex:[32],dateValue:[32],datetimeValue:[32],dateRangeValue:[32]}]);function R(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-user-input","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-select","smoothly-item","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-user-input":if(!customElements.get(i(e))){customElements.define(i(e),N)}break;case"smoothly-button":if(!customElements.get(i(e))){m()}break;case"smoothly-calendar":if(!customElements.get(i(e))){n()}break;case"smoothly-date-text":if(!customElements.get(i(e))){r()}break;case"smoothly-display":if(!customElements.get(i(e))){l()}break;case"smoothly-display-json":if(!customElements.get(i(e))){c()}break;case"smoothly-display-json-object":if(!customElements.get(i(e))){d()}break;case"smoothly-display-json-primitive":if(!customElements.get(i(e))){h()}break;case"smoothly-display-json-record-key":if(!customElements.get(i(e))){u()}break;case"smoothly-icon":if(!customElements.get(i(e))){p()}break;case"smoothly-input":if(!customElements.get(i(e))){f()}break;case"smoothly-input-checkbox":if(!customElements.get(i(e))){y()}break;case"smoothly-input-color":if(!customElements.get(i(e))){b()}break;case"smoothly-input-date":if(!customElements.get(i(e))){k()}break;case"smoothly-input-date-range":if(!customElements.get(i(e))){j()}break;case"smoothly-input-date-time":if(!customElements.get(i(e))){g()}break;case"smoothly-input-month":if(!customElements.get(i(e))){x()}break;case"smoothly-input-radio":if(!customElements.get(i(e))){E()}break;case"smoothly-input-radio-item":if(!customElements.get(i(e))){v()}break;case"smoothly-input-range":if(!customElements.get(i(e))){C()}break;case"smoothly-input-select":if(!customElements.get(i(e))){I()}break;case"smoothly-item":if(!customElements.get(i(e))){U()}break;case"smoothly-toggle-switch":if(!customElements.get(i(e))){S()}break}}))}R();export{N as S,R as d};
|
|
2
|
-
//# sourceMappingURL=p-CUiFFtAw.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as t,H as e,h as o,F as s,d as a,t as m}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{d as n}from"./p-BHEtq3Ue.js";import{d as l}from"./p-BqAN7jax.js";import{d as r}from"./p-B8ljN4o0.js";import{d}from"./p-BiQsRsV4.js";import{d as c}from"./p-C_f8s6n5.js";import{d as h}from"./p-BaBGzDg_.js";import{d as p}from"./p-C9zTTp-4.js";import{d as u}from"./p-DKggy9E3.js";import{d as f}from"./p-DTqtObrT.js";import{d as y}from"./p-RNCr3p17.js";import{d as b}from"./p-BS2SWUX6.js";const k=()=>`.sc-smoothly-input-date-demo-h{display:grid;grid-template-columns:repeat(auto-fit, minmax(20rem, 1fr));max-width:min(42rem, 100%);margin:auto;flex-direction:column;gap:0.5rem}.sc-smoothly-input-date-demo-h .sc-smoothly-input-date-demo:not(smoothly-input-date):not(smoothly-input-date-range){grid-column:1 / -1}`;const E=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.alwaysShowGuide=false}render(){return o(a,{key:"e33d9339ee4a2275ec14772535775d9dd9bf5f1f"},o("div",{key:"f10e1c4e913fd6dd05cd04030d3bd845fda0d263"},o("h2",{key:"ca6f4b48417c3d0b07f79194512e0f7648ab8939"},"Date input"),o("p",{key:"6c635b4fcd3276080055d2a12f4e70e609d30af4"},"Different locales formatting the same date"),o("smoothly-button",{key:"2b62d912d00ce8b225b085e5554b181f0a970bc5",color:"primary",onClick:()=>this.date=this.date?i.Date.next(this.date):i.Date.now()},"Set date"),o("smoothly-input-checkbox",{key:"fbf65e6cb24cdac58990b043c1879c7f192e25b5",looks:"transparent",onSmoothlyUserInput:t=>{this.alwaysShowGuide=t.detail.value;console.log(this.alwaysShowGuide)}},"Always Show Guide")),["en-US","en-GB","de-DE","se-SE"].map((t=>o(s,null,o("smoothly-input-date",{locale:t,name:t,looks:"border",value:this.date,alwaysShowGuide:this.alwaysShowGuide},t,o("smoothly-input-clear",{slot:"end"})),o("smoothly-input-date-range",{locale:t,name:t+"-range",looks:"border",start:this.date,end:this.date?i.Date.next(this.date):undefined,alwaysShowGuide:this.alwaysShowGuide},t," Range",o("smoothly-input-clear",{slot:"end"}))))))}static get style(){return k()}},[2,"smoothly-input-date-demo",{date:[32],alwaysShowGuide:[32]}]);function g(){if(typeof customElements==="undefined"){return}const t=["smoothly-input-date-demo","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-icon","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-date","smoothly-input-date-range","smoothly-input-month","smoothly-input-select","smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-input-date-demo":if(!customElements.get(m(t))){customElements.define(m(t),E)}break;case"smoothly-button":if(!customElements.get(m(t))){n()}break;case"smoothly-calendar":if(!customElements.get(m(t))){l()}break;case"smoothly-date-text":if(!customElements.get(m(t))){r()}break;case"smoothly-icon":if(!customElements.get(m(t))){d()}break;case"smoothly-input-checkbox":if(!customElements.get(m(t))){c()}break;case"smoothly-input-clear":if(!customElements.get(m(t))){h()}break;case"smoothly-input-date":if(!customElements.get(m(t))){p()}break;case"smoothly-input-date-range":if(!customElements.get(m(t))){u()}break;case"smoothly-input-month":if(!customElements.get(m(t))){f()}break;case"smoothly-input-select":if(!customElements.get(m(t))){y()}break;case"smoothly-item":if(!customElements.get(m(t))){b()}break}}))}g();export{E as S,g as d};
|
|
2
|
-
//# sourceMappingURL=p-CZ6kkjYF.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as c,h as a,d,t as s}from"./p-BsZrGTcp.js";import{d as o}from"./p-BiQsRsV4.js";import{d as f}from"./p-DMzn0Iz0.js";const l=()=>`.sc-smoothly-toggle-switch-demo-h>div.sc-smoothly-toggle-switch-demo{display:grid;grid-template-columns:repeat(5, max-content);gap:1em}.sc-smoothly-toggle-switch-demo-h>div.sc-smoothly-toggle-switch-demo>span.sc-smoothly-toggle-switch-demo>p.sc-smoothly-toggle-switch-demo{margin:0}`;const t=e(class e extends c{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return a(d,{key:"6d75883f10a6927501fbbe6a03f82ef7528133be"},a("h4",{key:"625ba905112acc2df7c3126199167707b03c210d"},"Toggle switches"),a("div",{key:"5f2287372e9c1052aed9b1479e8bbbbf6dd64757"},a("p",{key:"edef7d5d95c5fa0419555941c1e45ea40b045ce3"},"Checkmark"),a("span",{key:"c397f7c3cfc3409b82cb530e03f0c8e670041435"},a("p",{key:"ab0a7e9ba7b3e413b0d7019c09a252592840da21"},"Tiny"),a("smoothly-toggle-switch",{key:"2afce65a2ec65e39c88d8fb4520edc6dff419ea2",disabled:false,size:"tiny"})),a("span",{key:"67696d9cb555e62ae71f9c40fe4f8ebee7931e35"},a("p",{key:"6b304afb35f96bb0dfd8aed9db8490dd7ca40298"},"Small"),a("smoothly-toggle-switch",{key:"bc35c4113a7f9393d53806f789a54589e3dc2353",disabled:false,size:"small"})),a("span",{key:"865f6cccdff04345c79ec1bcee9f5e6534dec7fd"},a("p",{key:"6d5519e11c79219503d715320d738950c37d780c"},"Standard"),a("smoothly-toggle-switch",{key:"d5602d7f3f60b7ded9eb7248e71d1b3f750b777f",disabled:false})),a("span",{key:"273f17415a1e8c9f108309e6d4fcfdcf17c608b7"},a("p",{key:"e8c5ad08bc97b6694f1b2606a5d8626c2f278126"},"Large"),a("smoothly-toggle-switch",{key:"cf6cce07734bbf3c50a4a443c68fba38d63fc8dd",disabled:false,size:"large"})),a("p",{key:"147584c6d76a94f2a2588d15154113f94402464d"},"Colors checkmark"),a("span",{key:"37e5370fdfc007d0368a28d2bea98d37ed288312"},a("p",{key:"5500276de9dbf6a9fdf2fd15ecbfd2b8299809e8"},"Danger"),a("smoothly-toggle-switch",{key:"78879aa4d4277bf89dc24e6cf287c1accfdfec6f",color:"danger",disabled:false,size:"small"})),a("span",{key:"4b86b7193d1982ff84bc5691a342916f62281059"},a("p",{key:"4da64077bf3f54d0800abab5b6f2a10b8b4c97d2"},"Primary color"),a("smoothly-toggle-switch",{key:"534d2e2bf89fd7dea185eff41d8a3f1711d76078",color:"primary",disabled:false,size:"small"})),a("span",{key:"72f8aad6e84051d29e1f9ba18ecb4895612c936c"},a("p",{key:"f4aa9ffc25c89dd66d17483dfa7a0489ae1d6bba"},"Secondary color"),a("smoothly-toggle-switch",{key:"15bfaeed2c51163bc7de95f061cde923b7607654",color:"secondary",disabled:false,size:"small"})),a("p",{key:"199c1a9d0a3d6eae579a5b7df8d0d9e2758a6fe8"}),a("p",{key:"de9327fe62e464761eb16462480a1802226221aa"},"Colors no checkmark"),a("span",{key:"571bbf458b871cf5cac9876a476b7754df87ae44"},a("p",{key:"ef59738e2b79bf43de0b1192842173157d5e3406"},"Danger"),a("smoothly-toggle-switch",{key:"97a4641ae8fe82838241816b46b2d8f79c4f9908",checkmark:false,color:"danger",disabled:false,size:"small"})),a("span",{key:"b58b64c313b1d4f9aad01d581920e52be572de4e"},a("p",{key:"1a794486d86bccac605e8faa18c87cb5e85dc69a"},"Primary color"),a("smoothly-toggle-switch",{key:"dccb06b7ba71fc9ec9e5e1cd430ae8c82f6e03c4",checkmark:false,color:"primary",disabled:false,size:"small"})),a("span",{key:"29477d34ea6de176fe86cd7979d0e638219c38d7"},a("p",{key:"4180155f37c46569c583d626f7c6c528f77daf86"},"Secondary color"),a("smoothly-toggle-switch",{key:"3dc6be79be809e7b13e5510538221a7d58044137",checkmark:false,color:"secondary",disabled:false,size:"small"}))))}static get style(){return l()}},[2,"smoothly-toggle-switch-demo"]);function b(){if(typeof customElements==="undefined"){return}const e=["smoothly-toggle-switch-demo","smoothly-icon","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-toggle-switch-demo":if(!customElements.get(s(e))){customElements.define(s(e),t)}break;case"smoothly-icon":if(!customElements.get(s(e))){o()}break;case"smoothly-toggle-switch":if(!customElements.get(s(e))){f()}break}}))}b();export{t as S,b as d};
|
|
2
|
-
//# sourceMappingURL=p-CdgiqBtD.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as o,H as s,c as a,h as l,d as t,t as d}from"./p-BsZrGTcp.js";import{d as e}from"./p-BiQsRsV4.js";const m=()=>`.sc-smoothly-modal-h{position:fixed;display:flex;justify-content:center;top:0;left:0;width:100%;height:100%;background-color:rgba(var(--smoothly-modal-backdrop));color:rgb(var(--smoothly-modal-foreground));z-index:20}.sc-smoothly-modal-h:not([open]),[hidden].sc-smoothly-modal-h{display:none}[align=center].sc-smoothly-modal-h{align-items:center}[align=top].sc-smoothly-modal-h>div.modal.sc-smoothly-modal{margin-top:calc((100dvh - var(--smoothly-modal-max-height)) / 2)}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal{display:flex;flex-direction:column;padding:2rem;gap:1.5rem;width:var(--smoothly-modal-width, 40rem);max-width:calc(100dvw - 1rem);height:fit-content;max-height:min(var(--smoothly-modal-max-height), 100dvh);background:rgb(var(--smoothly-modal-background, var(--smoothly-color)));border:1px solid rgb(var(--smoothly-modal-border));border-radius:var(--smoothly-modal-border-radius);box-shadow:var(--smoothly-modal-shadow);box-sizing:border-box}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal:empty,.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.actions.sc-smoothly-modal:empty{display:none}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal{display:flex;justify-content:space-between;align-items:center}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>*.sc-smoothly-modal,.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>*.sc-smoothly-modal{margin-block:0}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>*.sc-smoothly-modal:not(.header):not(.actions){overflow-y:auto}.sc-smoothly-modal-h>div.modal>div.header:not(:has([slot="header"])){justify-content:end}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>smoothly-icon.sc-smoothly-modal:not([slot="header"]){cursor:pointer;opacity:0.7;color:rgb(var(--smoothly-default-contrast))}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>smoothly-icon.sc-smoothly-modal:not([slot="header"]):hover{opacity:1}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.actions.sc-smoothly-modal{display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap}`;const c=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyModalChange=a(this,"smoothlyModalChange");this.open=false;this.closable=false;this.align="center"}openChanged(){this.smoothlyModalChange.emit(this.open)}async closeModal(){this.open=false}async openModal(){this.open=true}render(){return l(t,{key:"601bd96e27c500c08df01457b2951449e4392c37",role:"alertdialog",onClick:o=>{this.closable&&!o.composedPath().some((o=>{var s;return(s=o.classList)===null||s===void 0?void 0:s.contains("modal")}))&&this.closeModal()}},l("div",{key:"9deaaf0008f61aecd194a2094d65544cfa97b425",class:"modal"},l("div",{key:"b041b4418cfc98753f6fe34ffca610f2da25ba6b",class:"header"},l("slot",{key:"848fecf8ba6a2efcacd1b1c753df17ab5a96fcb3",name:"header"}),this.closable&&l("smoothly-icon",{key:"1d51dc003fa0604b29530202cbf0fb743322698b",name:"close-outline",fill:"solid",onClick:()=>this.closeModal()})),l("slot",{key:"802bd940f81748477962b9c4d615913f073fcd34"}),l("div",{key:"b31e5dbbf56573298464b071414977be7acf5178",class:"actions"},l("slot",{key:"85a6a0753237febc205e02a52da4086de9f47fad",name:"actions"}))))}static get watchers(){return{open:[{openChanged:0}]}}static get style(){return m()}},[262,"smoothly-modal",{open:[1540],closable:[516],align:[513],closeModal:[64],openModal:[64]},undefined,{open:[{openChanged:0}]}]);function h(){if(typeof customElements==="undefined"){return}const o=["smoothly-modal","smoothly-icon"];o.forEach((o=>{switch(o){case"smoothly-modal":if(!customElements.get(d(o))){customElements.define(d(o),c)}break;case"smoothly-icon":if(!customElements.get(d(o))){e()}break}}))}h();export{c as S,h as d};
|
|
2
|
-
//# sourceMappingURL=p-CottiZWN.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as o,c as s,h as t,d as a,t as m}from"./p-BsZrGTcp.js";import{I as l,C as c,F as i}from"./p-CkXes5c-.js";import"./p-BVKhAhsB.js";import{N as d}from"./p-C6lWCoIT.js";import"./p-DoFURPl2.js";import{d as n}from"./p-BHEtq3Ue.js";import{d as y}from"./p-DM5CKilY.js";import{d as r}from"./p-CR3Ni_o7.js";import{d as f}from"./p-B-l1S16Z.js";import{d as h}from"./p-Ud7Qhkgt.js";import{d as p}from"./p-C3FORjes.js";import{d as b}from"./p-DgaHxdNI.js";import{d as u}from"./p-BiQsRsV4.js";import{d as k}from"./p-R4uIvvER.js";import{d as j}from"./p-BaBGzDg_.js";import{d as v}from"./p-D2FsRCII.js";import{d as E}from"./p-RNCr3p17.js";import{d as g}from"./p-BS2SWUX6.js";import{d as x}from"./p-CsLlJDsh.js";const C=()=>`.sc-smoothly-icon-demo-h{display:block;width:clamp(200px, 100%, 1200px);margin:auto}[hidden].sc-smoothly-icon-demo-h{display:none}.sc-smoothly-icon-demo-h>div.sc-smoothly-icon-demo{display:flex;flex-flow:row wrap}.sc-smoothly-icon-demo-h>div.sc-smoothly-icon-demo>smoothly-icon.sc-smoothly-icon-demo{padding:1rem;position:relative}.sc-smoothly-icon-demo-h>div.sc-smoothly-icon-demo>smoothly-icon.sc-smoothly-icon-demo:hover{scale:1.5}.sc-smoothly-icon-demo-h>div.sc-smoothly-icon-demo>smoothly-icon.sc-smoothly-icon-demo:hover::after{content:attr(data-name);position:absolute;white-space:nowrap;bottom:100%;background:rgb(var(--smoothly-default-contrast));color:rgb(var(--smoothly-default-color));padding:0.25rem 1rem;z-index:1;pointer-events:none}`;const F=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}this.notice=s(this,"notice");this.page=0;this.display={};this.props={}}render(){return t(a,{key:"18c352e6e8cbf5c6207f06724fc4f150c3f35c62"},t("h2",{key:"ffa9a93a76b1e55ff2a02520271d00018f21c8ef"},"Filter and Variants"),t("smoothly-form",{key:"baa8442f242902404ad315ebc4898c03ce305e84",onSmoothlyFormInput:e=>this.display=e.detail},t("smoothly-input",{key:"faa53d6709688e9bddfab452fc87f4747673c93f",name:"filter"},"Filter"),t("smoothly-input-select",{key:"d48cbfae334db2bc93781ccfe7707a7158a64d64",name:"variant"},t("span",{key:"e6599d7081c25eddb56c0e507610a933540fee2a",slot:"label"},"Variant"),t("smoothly-item",{key:"79caa2a8f42d9ec8fa99aab43f4e94086a9ca0a9",value:"outline"},"outline"),t("smoothly-item",{key:"e31fe80073050b010f809d9b0cb24ace35b23f06",value:"sharp"},"sharp"),t("smoothly-input-clear",{key:"e25bedaf8423625fc2519a9f58071678609efd2c",slot:"end"}))),t("h2",{key:"512c66c201567f14abc10e60ee9fc50950792dd7"},"Props"),t("smoothly-form",{key:"46b821b5871a14d2075a38893d7c072f1ddba8be",onSmoothlyFormInput:e=>this.props=e.detail},t("smoothly-input-select",{key:"1b14ebb3490198a4ebcb11a05a543853f48acae2",name:"color"},t("span",{key:"887bba78b3f7ac5ac31d752be0fc8d64bdccbd31",slot:"label"},"Color"),c.values.map((e=>t("smoothly-item",{value:e,color:e},e))),t("smoothly-input-clear",{key:"ec1a9f35b7d2efe688a42ac17a745af586ba65d5",slot:"end"})),t("smoothly-input-select",{key:"8eeb32f412b3eb98069382b1fc8146275152de4e",name:"fill"},t("span",{key:"b5095c6c37feffc383e411704a35c92d7f1f16d0",slot:"label"},"Fill"),i.values.map((e=>t("smoothly-item",{value:e},e))),t("smoothly-input-clear",{key:"c4c9096e4d4f6a0e768a26cd6e291abd03ce8a1d",slot:"end"})),t("smoothly-input-select",{key:"82f39197d5b222078feb0db6c1caaea43cc2ff4c",name:"flip"},t("span",{key:"28941724eba176612385fd568ae1ac2f70700668",slot:"label"},"Flip"),t("smoothly-item",{key:"eb246197acd42723a1024dee8abe0345603272e7",value:"x"},"x"),t("smoothly-item",{key:"342b97c622d716038f19317684576914257acdb1",value:"y"},"y"),t("smoothly-input-clear",{key:"21569726b10d6999b787042f7f2e533096d1e759",slot:"end"})),t("smoothly-input-select",{key:"e8cda7e1e14dcc593abb997e2d1f77caae71ba56",name:"size"},t("span",{key:"0311005eab874402134fa180e8c62829b6d444d0",slot:"label"},"Size"),t("smoothly-item",{key:"c4a818d1eed298db112640f1d356a1c277834c0f",value:"tiny"},"tiny"),t("smoothly-item",{key:"a2d5122deb9c8a51fe10796f19c9a16e22453c15",value:"small"},"small"),t("smoothly-item",{key:"6245959982688e42a7a33a8931c7e3255cc743c2",value:"medium"},"medium"),t("smoothly-item",{key:"d9127f7de89eed1680fe5a917b18abbf6933871b",value:"large"},"large"),t("smoothly-item",{key:"81058c44cc17c319447addd523ccacd72ef9137c",value:"xlarge"},"xlarge"),t("smoothly-input-clear",{key:"9ac0d568820db33f77d5162b77eb9787fd8ec9ba",slot:"end"})),t("smoothly-input-range",{key:"aa25c23d3f494139787b7465c5fe9d525092e0b0",name:"rotate",step:1,min:-180,max:180,value:0},"Rotate",t("smoothly-input-clear",{key:"1947c759df77c69e1b74ba559357112ba7cf1390",slot:"end"}))),t("h1",{key:"d893bf2235db23ef7a0b2199e1b5406660823200"},"Icons"),t("div",{key:"26d05332b66cb566bc0a0d93fc997d8bdebb6563",class:"icons"},[...l.Name.values.filter((e=>!this.display.filter||e.includes(this.display.filter))).map((e=>this.display.variant?`${e}-${this.display.variant}`:e)),...l.Logo.values.filter((e=>!this.display.filter||e.includes(this.display.filter)))].map((e=>t("smoothly-icon",{name:e,tooltip:e,"data-name":e,color:this.props.color,fill:this.props.fill,flip:this.props.flip,size:this.props.size,rotate:this.props.rotate,onClick:()=>{navigator.clipboard.writeText(e);this.notice.emit(d.succeeded(`Copied "${e}"`))}})))))}static get style(){return C()}},[2,"smoothly-icon-demo",{display:[32],props:[32]}]);function B(){if(typeof customElements==="undefined"){return}const e=["smoothly-icon-demo","smoothly-button","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-clear","smoothly-input-range","smoothly-input-select","smoothly-item","smoothly-spinner"];e.forEach((e=>{switch(e){case"smoothly-icon-demo":if(!customElements.get(m(e))){customElements.define(m(e),F)}break;case"smoothly-button":if(!customElements.get(m(e))){n()}break;case"smoothly-display":if(!customElements.get(m(e))){y()}break;case"smoothly-display-json":if(!customElements.get(m(e))){r()}break;case"smoothly-display-json-object":if(!customElements.get(m(e))){f()}break;case"smoothly-display-json-primitive":if(!customElements.get(m(e))){h()}break;case"smoothly-display-json-record-key":if(!customElements.get(m(e))){p()}break;case"smoothly-form":if(!customElements.get(m(e))){b()}break;case"smoothly-icon":if(!customElements.get(m(e))){u()}break;case"smoothly-input":if(!customElements.get(m(e))){k()}break;case"smoothly-input-clear":if(!customElements.get(m(e))){j()}break;case"smoothly-input-range":if(!customElements.get(m(e))){v()}break;case"smoothly-input-select":if(!customElements.get(m(e))){E()}break;case"smoothly-item":if(!customElements.get(m(e))){g()}break;case"smoothly-spinner":if(!customElements.get(m(e))){x()}break}}))}B();export{F as S,B as d};
|
|
2
|
-
//# sourceMappingURL=p-CqyInbXs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyIconDemo","__stencil_proxyCustomElement","HTMLElement","constructor","registerHost","this","page","display","props","render","h","Host","key","onSmoothlyFormInput","e","detail","name","slot","value","Color","values","map","color","Fill","fill","step","min","max","class","Icon","Name","filter","includes","variant","Logo","tooltip","flip","size","rotate","onClick","navigator","clipboard","writeText","notice","emit","Notice","succeeded"],"sources":["src/components/icon/demo/style.css?tag=smoothly-icon-demo&encapsulation=scoped","src/components/icon/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n\twidth: clamp(200px, 100%, 1200px);\n\tmargin: auto;\n}\n:host([hidden]) {\n\tdisplay: none;\n}\n:host > div {\n\tdisplay: flex;\n\tflex-flow: row wrap;\n}\n\n:host > div > smoothly-icon {\n\tpadding: 1rem;\n\tposition: relative;\n}\n\n:host > div > smoothly-icon:hover {\n\tscale: 1.5;\n}\n\n:host > div > smoothly-icon:hover::after {\n\tcontent: attr(data-name);\n\tposition: absolute;\n\twhite-space: nowrap;\n\tbottom: 100%;\n\tbackground: rgb(var(--smoothly-default-contrast));\n\tcolor: rgb(var(--smoothly-default-color));\n\tpadding: 0.25rem 1rem;\n\tz-index: 1;\n\tpointer-events: none;\n}\n","import { Component, Event, EventEmitter, h, Host, State } from \"@stencil/core\"\nimport { Color, Fill, Icon, Notice } from \"../../../model\"\n@Component({\n\ttag: \"smoothly-icon-demo\",\n\tstyleUrl: \"./style.css\",\n\tscoped: true,\n})\nexport class SmoothlyIconDemo {\n\tpage = 0\n\n\t@State() display: { filter?: string; variant?: \"outline\" | \"sharp\" } = {}\n\t@State() props: {\n\t\tcolor?: Color\n\t\tfill?: Fill\n\t\tflip?: \"x\" | \"y\"\n\t\tsize?: \"tiny\" | \"small\" | \"medium\" | \"large\" | \"xlarge\"\n\t\trotate?: number\n\t} = {}\n\t@Event() notice: EventEmitter<Notice>\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Filter and Variants</h2>\n\t\t\t\t<smoothly-form onSmoothlyFormInput={e => (this.display = e.detail)}>\n\t\t\t\t\t<smoothly-input name=\"filter\">Filter</smoothly-input>\n\t\t\t\t\t<smoothly-input-select name=\"variant\">\n\t\t\t\t\t\t<span slot=\"label\">Variant</span>\n\t\t\t\t\t\t<smoothly-item value={\"outline\"}>outline</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value={\"sharp\"}>sharp</smoothly-item>\n\t\t\t\t\t\t<smoothly-input-clear slot={\"end\"} />\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t</smoothly-form>\n\t\t\t\t<h2>Props</h2>\n\t\t\t\t<smoothly-form onSmoothlyFormInput={e => (this.props = e.detail)}>\n\t\t\t\t\t<smoothly-input-select name={\"color\"}>\n\t\t\t\t\t\t<span slot={\"label\"}>Color</span>\n\t\t\t\t\t\t{Color.values.map(color => (\n\t\t\t\t\t\t\t<smoothly-item value={color} color={color}>\n\t\t\t\t\t\t\t\t{color}\n\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t))}\n\t\t\t\t\t\t<smoothly-input-clear slot={\"end\"} />\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-select name={\"fill\"}>\n\t\t\t\t\t\t<span slot={\"label\"}>Fill</span>\n\t\t\t\t\t\t{Fill.values.map(fill => (\n\t\t\t\t\t\t\t<smoothly-item value={fill}>{fill}</smoothly-item>\n\t\t\t\t\t\t))}\n\t\t\t\t\t\t<smoothly-input-clear slot={\"end\"} />\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-select name=\"flip\">\n\t\t\t\t\t\t<span slot={\"label\"}>Flip</span>\n\t\t\t\t\t\t<smoothly-item value={\"x\"}>x</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value={\"y\"}>y</smoothly-item>\n\t\t\t\t\t\t<smoothly-input-clear slot={\"end\"} />\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-select name={\"size\"}>\n\t\t\t\t\t\t<span slot={\"label\"}>Size</span>\n\t\t\t\t\t\t<smoothly-item value={\"tiny\"}>tiny</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value={\"small\"}>small</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value={\"medium\"}>medium</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value={\"large\"}>large</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value={\"xlarge\"}>xlarge</smoothly-item>\n\t\t\t\t\t\t<smoothly-input-clear slot={\"end\"} />\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-range name=\"rotate\" step={1} min={-180} max={180} value={0}>\n\t\t\t\t\t\tRotate\n\t\t\t\t\t\t<smoothly-input-clear slot={\"end\"} />\n\t\t\t\t\t</smoothly-input-range>\n\t\t\t\t</smoothly-form>\n\t\t\t\t<h1>Icons</h1>\n\t\t\t\t<div class=\"icons\">\n\t\t\t\t\t{[\n\t\t\t\t\t\t...Icon.Name.values\n\t\t\t\t\t\t\t.filter(name => !this.display.filter || name.includes(this.display.filter))\n\t\t\t\t\t\t\t.map((name): Icon => (this.display.variant ? `${name}-${this.display.variant}` : name)),\n\t\t\t\t\t\t...Icon.Logo.values.filter(name => !this.display.filter || name.includes(this.display.filter)),\n\t\t\t\t\t].map(name => (\n\t\t\t\t\t\t<smoothly-icon\n\t\t\t\t\t\t\tname={name}\n\t\t\t\t\t\t\ttooltip={name}\n\t\t\t\t\t\t\tdata-name={name}\n\t\t\t\t\t\t\tcolor={this.props.color}\n\t\t\t\t\t\t\tfill={this.props.fill}\n\t\t\t\t\t\t\tflip={this.props.flip}\n\t\t\t\t\t\t\tsize={this.props.size}\n\t\t\t\t\t\t\trotate={this.props.rotate}\n\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\tnavigator.clipboard.writeText(name)\n\t\t\t\t\t\t\t\tthis.notice.emit(Notice.succeeded(`Copied \"${name}\"`))\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t/>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"mappings":"qsBAAA,MAAMA,EAAW,IAAM,+uB,MCOVC,EAAgBC,EAAA,MAAAD,UAAAE,EAL7B,WAAAC,CAAAC,G,yEAMCC,KAAAC,KAAO,EAEED,KAAAE,QAA8D,GAC9DF,KAAAG,MAML,EAiFJ,CA9EA,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,4CACJF,EAAA,MAAAE,IAAA,mEACAF,EAAA,iBAAAE,IAAA,2CAAeC,oBAAqBC,GAAMT,KAAKE,QAAUO,EAAEC,QAC1DL,EAAA,kBAAAE,IAAA,2CAAgBI,KAAK,UAAQ,UAC7BN,EAAA,yBAAAE,IAAA,2CAAuBI,KAAK,WAC3BN,EAAA,QAAAE,IAAA,2CAAMK,KAAK,SAAO,WAClBP,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,WAAS,WAC/BR,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,SAAO,SAC7BR,EAAA,wBAAAE,IAAA,2CAAsBK,KAAM,UAG9BP,EAAA,MAAAE,IAAA,qDACAF,EAAA,iBAAAE,IAAA,2CAAeC,oBAAqBC,GAAMT,KAAKG,MAAQM,EAAEC,QACxDL,EAAA,yBAAAE,IAAA,2CAAuBI,KAAM,SAC5BN,EAAA,QAAAE,IAAA,2CAAMK,KAAM,SAAO,SAClBE,EAAMC,OAAOC,KAAIC,GACjBZ,EAAA,iBAAeQ,MAAOI,EAAOA,MAAOA,GAClCA,KAGHZ,EAAA,wBAAAE,IAAA,2CAAsBK,KAAM,SAE7BP,EAAA,yBAAAE,IAAA,2CAAuBI,KAAM,QAC5BN,EAAA,QAAAE,IAAA,2CAAMK,KAAM,SAAO,QAClBM,EAAKH,OAAOC,KAAIG,GAChBd,EAAA,iBAAeQ,MAAOM,GAAOA,KAE9Bd,EAAA,wBAAAE,IAAA,2CAAsBK,KAAM,SAE7BP,EAAA,yBAAAE,IAAA,2CAAuBI,KAAK,QAC3BN,EAAA,QAAAE,IAAA,2CAAMK,KAAM,SAAO,QACnBP,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,KAAG,KACzBR,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,KAAG,KACzBR,EAAA,wBAAAE,IAAA,2CAAsBK,KAAM,SAE7BP,EAAA,yBAAAE,IAAA,2CAAuBI,KAAM,QAC5BN,EAAA,QAAAE,IAAA,2CAAMK,KAAM,SAAO,QACnBP,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,QAAM,QAC5BR,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,SAAO,SAC7BR,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,UAAQ,UAC9BR,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,SAAO,SAC7BR,EAAA,iBAAAE,IAAA,2CAAeM,MAAO,UAAQ,UAC9BR,EAAA,wBAAAE,IAAA,2CAAsBK,KAAM,SAE7BP,EAAA,wBAAAE,IAAA,2CAAsBI,KAAK,SAASS,KAAM,EAAGC,KAAK,IAAMC,IAAK,IAAKT,MAAO,GAAC,SAEzER,EAAA,wBAAAE,IAAA,2CAAsBK,KAAM,UAG9BP,EAAA,MAAAE,IAAA,qDACAF,EAAA,OAAAE,IAAA,2CAAKgB,MAAM,SACT,IACGC,EAAKC,KAAKV,OACXW,QAAOf,IAASX,KAAKE,QAAQwB,QAAUf,EAAKgB,SAAS3B,KAAKE,QAAQwB,UAClEV,KAAKL,GAAgBX,KAAKE,QAAQ0B,QAAU,GAAGjB,KAAQX,KAAKE,QAAQ0B,UAAYjB,OAC/Ea,EAAKK,KAAKd,OAAOW,QAAOf,IAASX,KAAKE,QAAQwB,QAAUf,EAAKgB,SAAS3B,KAAKE,QAAQwB,WACrFV,KAAIL,GACLN,EAAA,iBACCM,KAAMA,EACNmB,QAASnB,EAAI,YACFA,EACXM,MAAOjB,KAAKG,MAAMc,MAClBE,KAAMnB,KAAKG,MAAMgB,KACjBY,KAAM/B,KAAKG,MAAM4B,KACjBC,KAAMhC,KAAKG,MAAM6B,KACjBC,OAAQjC,KAAKG,MAAM8B,OACnBC,QAAS,KACRC,UAAUC,UAAUC,UAAU1B,GAC9BX,KAAKsC,OAAOC,KAAKC,EAAOC,UAAU,WAAW9B,MAAS,O","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as t,H as o,h as s,d as e,t as r}from"./p-BsZrGTcp.js";const a=()=>`.sc-smoothly-table-body-h{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;color:rgb(var(--smoothly-table-foreground));background-color:rgb(var(--smoothly-table-background))}`;const c=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}}render(){return s(e,{key:"399b61d93f037a694f0e3a8f99ec433c06b3c640"},s("slot",{key:"a8325da9f0ffac6857b6a7a6e5625544b5c46899"}))}static get style(){return a()}},[262,"smoothly-table-body"]);function l(){if(typeof customElements==="undefined"){return}const t=["smoothly-table-body"];t.forEach((t=>{switch(t){case"smoothly-table-body":if(!customElements.get(r(t))){customElements.define(r(t),c)}break}}))}l();export{c as S,l as d};
|
|
2
|
-
//# sourceMappingURL=p-CrcmijCR.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as o,H as t,h as e,t as s}from"./p-BsZrGTcp.js";import{d as r}from"./p-BPh3sXo6.js";import{d as m}from"./p-BnYCDLp0.js";const c=()=>`.sc-smoothly-theme-colors-h{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:1rem;column-gap:0.5rem;width:fit-content}`;const l=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return["primary","secondary","tertiary","success","warning","danger","light","medium","dark","default"].map((o=>e("smoothly-theme-color",{color:o})))}static get style(){return c()}},[2,"smoothly-theme-colors"]);function a(){if(typeof customElements==="undefined"){return}const o=["smoothly-theme-colors","smoothly-theme-color","smoothly-theme-color-variant"];o.forEach((o=>{switch(o){case"smoothly-theme-colors":if(!customElements.get(s(o))){customElements.define(s(o),l)}break;case"smoothly-theme-color":if(!customElements.get(s(o))){r()}break;case"smoothly-theme-color-variant":if(!customElements.get(s(o))){m()}break}}))}a();export{l as S,a as d};
|
|
2
|
-
//# sourceMappingURL=p-D2cHi1Nb.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as o,H as s,h as t,d as e,t as m}from"./p-BsZrGTcp.js";import{d as l}from"./p-DM5CKilY.js";import{d as r}from"./p-CR3Ni_o7.js";import{d as a}from"./p-B-l1S16Z.js";import{d as i}from"./p-Ud7Qhkgt.js";import{d as c}from"./p-C3FORjes.js";import{d as n}from"./p-BiQsRsV4.js";import{d as p}from"./p-R4uIvvER.js";import{d as y}from"./p-nrkV1PqR.js";import{d}from"./p-D2FsRCII.js";import{d as f}from"./p-DMzn0Iz0.js";const h=o(class o extends s{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return t(e,{key:"f984ceaff90804fca1e618768ebadbd329c6b2e1"},t("h2",{key:"00d7865260450e2575681ca1650bab25b4d52508"},"Color"),t("smoothly-input-color",{key:"67d034749c8c4725dfc05e30a035755da7aa53f4",name:"color"},"Choose color"))}static get style(){return`style.css`}},[0,"smoothly-input-color-demo"]);function u(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-color-demo","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-input","smoothly-input-color","smoothly-input-range","smoothly-toggle-switch"];o.forEach((o=>{switch(o){case"smoothly-input-color-demo":if(!customElements.get(m(o))){customElements.define(m(o),h)}break;case"smoothly-display":if(!customElements.get(m(o))){l()}break;case"smoothly-display-json":if(!customElements.get(m(o))){r()}break;case"smoothly-display-json-object":if(!customElements.get(m(o))){a()}break;case"smoothly-display-json-primitive":if(!customElements.get(m(o))){i()}break;case"smoothly-display-json-record-key":if(!customElements.get(m(o))){c()}break;case"smoothly-icon":if(!customElements.get(m(o))){n()}break;case"smoothly-input":if(!customElements.get(m(o))){p()}break;case"smoothly-input-color":if(!customElements.get(m(o))){y()}break;case"smoothly-input-range":if(!customElements.get(m(o))){d()}break;case"smoothly-toggle-switch":if(!customElements.get(m(o))){f()}break}}))}u();export{h as S,u as d};
|
|
2
|
-
//# sourceMappingURL=p-D58kSmOp.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as o,h as a,d as l,t as s}from"./p-BsZrGTcp.js";import{d as t}from"./p-DM5CKilY.js";import{d as c}from"./p-CR3Ni_o7.js";import{d as m}from"./p-B-l1S16Z.js";import{d as y}from"./p-Ud7Qhkgt.js";import{d}from"./p-C3FORjes.js";import{d as b}from"./p-CDQM-sOT.js";import{d as f}from"./p-DwYc62Ls.js";import{d as p}from"./p-Dekg3IGr.js";import{d as r}from"./p-CrcmijCR.js";import{d as i}from"./p-CRTkSTv3.js";import{d as h}from"./p-DZ4ogW8V.js";import{d as n}from"./p-CjdBPauI.js";import{d as k}from"./p-CTPT9Ngc.js";const u=()=>`.sc-smoothly-table-demo-colspan-h{display:block}.sc-smoothly-table-demo-colspan-h smoothly-display.sc-smoothly-table-demo-colspan{display:inline}`;const j=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return a(l,{key:"206c3432bf7936b15e972c161424e6b0e102a15c"},a("smoothly-table",{key:"fd9a1adfc79d7e3fa130e55614c8956aa9993ce7",columns:3},a("smoothly-table-head",{key:"079086e32eab6c27ec06646b7cc1addc5a45e218"},a("smoothly-table-row",{key:"6b421c777d5857d7b8c6e92dfa8ebb9e65c24f0d"},a("smoothly-table-cell",{key:"9c0f4181cefa485af433741c55eb8033057333ba"},"Date"),a("smoothly-table-cell",{key:"6b089e4d9d9d43ead73b8602d1f482b019810ee7"},"Skip"),a("smoothly-table-cell",{key:"b3a5f766b5a7bc15fe29aa2ba35d908f33883f7f"},"Total"))),a("smoothly-table-body",{key:"12be40d0b1546ef3bcb8d95815e3a6751a34dc95"},a("smoothly-table-row",{key:"22d3015ebb0c1a19b412c175f231de9cd3f9f04c"},a("smoothly-table-cell",{key:"cb591fa2b41381aa1c663a701a76b953ff610262",span:2},a("smoothly-display",{key:"a9dfcaebab3333ea62c290c9952ecc7c77ba33a7",type:"date",value:"2024-01-01"})),a("smoothly-table-cell",{key:"b3680b9847f0e5635538af75af7c117d86464fcc"},a("smoothly-display",{key:"c89fca16b3f2e836dc9dd8c2378f4b26bab2be1f",type:"price",value:120,currency:"EUR"}))),a("smoothly-table-row",{key:"d2574793e06a73ede9721349f9e26ea596947500"},a("smoothly-table-expandable-cell",{key:"2ab7fcbb3c3f54298e7b9f4b6b8287f0e5c07c04",span:2},a("smoothly-display",{key:"40f846739879908115983e730c2e135fc3473977",type:"date",value:"2024-01-02"}),a("smoothly-lazy",{key:"9989441f4da6a580d7d7a21a8623a1dafc0d6a3d",slot:"detail",content:a("smoothly-display",{type:"date-time",value:"2024-01-02T13:37:00.000Z"})})),a("smoothly-table-expandable-cell",{key:"20f47281da324a3fe529553b57c2e50de7a7039d"},a("smoothly-display",{key:"d9d02229b0bfa49122ede86d2513648a1448d8bf",type:"price",value:220,currency:"EUR"}),a("smoothly-lazy",{key:"7803a63f59d968622edfb07fed2b40338fb1b460",slot:"detail",content:a("span",null,a("smoothly-display",{type:"price",value:120,currency:"EUR"})," + ",a("smoothly-display",{type:"price",value:100,currency:"EUR"}))}))),a("smoothly-table-row",{key:"0bf9dd84e89fef204799961f85e24b5a14d4c4d4"},a("smoothly-table-cell",{key:"7feacfd6127864b97ac910256f434b42ee57dcd6"},a("smoothly-display",{key:"df857a1e9f9503c08c49f564a47bbb4b3b96f170",type:"date",value:"2024-01-02"})),a("smoothly-table-cell",{key:"bd1848a3218ec7b9177b0354570fc3a96f827c0a"},"Not Skipped"),a("smoothly-table-cell",{key:"1656b57464928e417afa36732fe710654c6c1e8d"},a("smoothly-display",{key:"6097190c8c8c9ae2899a0497d524da52f42a145e",type:"price",value:320,currency:"EUR"}))))))}static get style(){return u()}},[2,"smoothly-table-demo-colspan"]);function E(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-demo-colspan","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-lazy","smoothly-load-more","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-expandable-cell","smoothly-table-head","smoothly-table-row"];e.forEach((e=>{switch(e){case"smoothly-table-demo-colspan":if(!customElements.get(s(e))){customElements.define(s(e),j)}break;case"smoothly-display":if(!customElements.get(s(e))){t()}break;case"smoothly-display-json":if(!customElements.get(s(e))){c()}break;case"smoothly-display-json-object":if(!customElements.get(s(e))){m()}break;case"smoothly-display-json-primitive":if(!customElements.get(s(e))){y()}break;case"smoothly-display-json-record-key":if(!customElements.get(s(e))){d()}break;case"smoothly-lazy":if(!customElements.get(s(e))){b()}break;case"smoothly-load-more":if(!customElements.get(s(e))){f()}break;case"smoothly-table":if(!customElements.get(s(e))){p()}break;case"smoothly-table-body":if(!customElements.get(s(e))){r()}break;case"smoothly-table-cell":if(!customElements.get(s(e))){i()}break;case"smoothly-table-expandable-cell":if(!customElements.get(s(e))){h()}break;case"smoothly-table-head":if(!customElements.get(s(e))){n()}break;case"smoothly-table-row":if(!customElements.get(s(e))){k()}break}}))}E();export{j as S,E as d};
|
|
2
|
-
//# sourceMappingURL=p-D9qp7S6Q.js.map
|