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
|
@@ -8,7 +8,7 @@ const SmoothlyInputCheckboxDemo = class {
|
|
|
8
8
|
index.registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (index.h(index.Host, { key: '
|
|
11
|
+
return (index.h(index.Host, { key: 'f5df2f70e81f8189b2ed0fc110469fd31118f07e' }, index.h("h2", { key: 'f1805f70b5770fdf51ba8d7cd00ef7ddd2ab7706' }, "All inputs"), index.h("smoothly-form", { key: 'bcf287313fbda727ff66a43111c87f442ef2f77a', looks: "grid", readonly: true, action: "https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4" }, index.h("smoothly-input", { key: '5ad0e09227c953003294064ec9a74a34dad99884', readonly: true, name: "First Name", value: "John" }, "First name"), index.h("smoothly-input", { key: '4a827cff07982019b2d95e4e440bd2976aeb49da', name: "Last name", value: "Doe" }, "Last name", index.h("smoothly-input-clear", { key: '9e4989baaba55d9d456c243354b611986ba1c42c', size: "icon", slot: "end" })), index.h("smoothly-input", { key: 'aa0d1fc77c155bc236459b40500802ad58716194', type: "phone", name: "Phone", value: "777888999" }, "Phone", index.h("smoothly-input-reset", { key: 'd80e1b9acbd7cf53acfced029cc8d5a0bd24d161', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: '630fd379a65538192fb134f75cbcf55a282d8c44', clearable: true, name: "radioFirstInput" }, index.h("p", { key: '2b027b673dbcf3c4bf9d1f24c03f857f7477f59c', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '3ba57b27799284c623037056b2f7d57637055dd8', slot: "options", value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'cc4daf5e360276819fb0166a7023afff132dc43a', selected: true, slot: "options", value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '120fd9fd0758c17b5fb8926425b032a8a1065612', slot: "options", value: "third" }, "Label 3")), index.h("smoothly-input-color", { key: '1f326fa25ce6a00ecbebe2186cec26c6efdb6eb3', name: "color", value: "#479f56", output: "rgb" }, "Color"), index.h("smoothly-input-select", { key: 'a899972ebf9f79209c56d81b544184690b85dfaf', menuHeight: "7.5items", placeholder: "Select...", multiple: true, name: "select-month" }, index.h("label", { key: 'b4e4e3c4eebad921eb830a242531a650bef0acd3', slot: "label" }, "Month"), index.h("smoothly-item", { key: '13f7abe4d7201572786405f17557d44409a8ef3a', value: "1" }, "January"), index.h("smoothly-item", { key: 'd83d6bc200a1f124b850b8636420b388c47879f7', value: "2" }, "February"), index.h("smoothly-item", { key: 'b04c6c85a5db9e867ab2bc931794fe1105855c9e', value: "3" }, "March"), index.h("smoothly-item", { key: 'd5e5c01012f4c278144fcf08c59abcc09ac62533', value: "4" }, "April"), index.h("smoothly-item", { key: 'c4c2b5b4cb3c57f166ef809b0dbba85f0ec190e3', value: "5" }, "May"), index.h("smoothly-item", { key: 'cac9c84f18108bce0025a81635a3b8bdcead4f54', value: "6" }, "June"), index.h("smoothly-item", { key: '0f6c56fcca25ae22f7f22e27a21b379de9ca24b2', value: "7" }, "July"), index.h("smoothly-item", { key: '79019fb60f0b87844767ef3463fd2c5dbd309fa8', value: "8" }, "August"), index.h("smoothly-item", { key: '9a8d4fd4fc756c9b9925f8d176a99aa3bcab935f', value: "9" }, "September"), index.h("smoothly-item", { key: '63e1671cec1610bafe6e962af88f1715ee2dfb28', value: "10" }, "October"), index.h("smoothly-item", { key: '1c200d8d7e11673ce27d2d683a2b8bb9954ca552', value: "11" }, "November"), index.h("smoothly-item", { key: 'e6caeaac708433debb27ab47ec82b51c4ad16c2a', value: "12" }, "December"), index.h("smoothly-input-clear", { key: '8d2405dc1d53e2434dbad4b69990b49651e8c557', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: '8cb2fe5eb8b152d32045c4a150c7c790ad35d922', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: 'ae42e4ffed610af298235e7ebe3e1ec6b05d9e13', value: "folder", selected: true }, index.h("smoothly-icon", { key: '328f1295b0eb870bc80151c46a045bc5c180e998', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: 'c35837e991468d32bd1630519be188266558a976', value: "camera" }, index.h("smoothly-icon", { key: '02479e84c1ba0c5aca2bdbbe9cd72929e0572f0f', size: "small", name: "camera-outline" }))), index.h("smoothly-input-checkbox", { key: '6aa26dafb6d138c976683426757846b816c42dbc', name: "checkbox" }, "Check the box"), index.h("smoothly-input-checkbox", { key: '7bd63dbdc68f36325d579cf0d966fffa3435567c', name: "checkbox2", checked: true }, "Check the box 2"), index.h("smoothly-input-date-range", { key: '9183d69eae1040aede96d59cb5ff639335f43fb6', start: index$1.isoly.Date.now(), end: index$1.isoly.Date.now() }), index.h("smoothly-input-date", { key: '2650ad84a1f017d2672671af94c7c7991ea3e61b', name: "date" }, "Date", index.h("smoothly-input-clear", { key: 'e0f0b0c02189d0b930840e3a59a9adedd28a696a', slot: "end" })), index.h("smoothly-input-range", { key: '693b3fe5a9dd2aebf1dfb4ebb705ce0ecd5028a9', step: 1, name: "range3", value: 20000 }, "Select"), index.h("smoothly-input", { key: '0ac5d490c72cb234bfd328ffbd3cf3659bbc9aed', name: "pets.0.name" }, "First Pet's Name"), index.h("smoothly-input-range", { key: 'c86356ba541ab262d357dd194289ec2778ebbb07', name: "pets.0.age", max: 100, step: 1 }, "First Pet's Age"), index.h("smoothly-input", { key: 'd481ef9163d12757e43508af1e7ff0d7720ce31a', name: "pets.1.name" }, "Second Pet's Name"), index.h("smoothly-input-range", { key: 'e7bf653532ff0c957e6c3e82383cac5dc3210f40', name: "pets.1.age", max: 100, step: 1 }, "Second Pet's Age"), index.h("smoothly-input", { key: '27af92d8ccc19451a7786deb1cf8f59d10991e91', name: "pets.2.name" }, "Third Pet's Name"), index.h("smoothly-input-range", { key: 'fd9eb72093cf6f6c6fa7bdaa98a4d6066fbb43dc', name: "pets.2.age", max: 100, step: 1 }, "Third Pet's Age"), index.h("smoothly-input-file", { key: 'd444f859d0fdf764df0da9457d6a71e594ae560e', name: "profile", placeholder: "Click or drag your profile picture here..." }, index.h("span", { key: 'b044dca389ede3b37362ad564a5e84e9ccfd9c23', slot: "label" }, "Profile"), index.h("smoothly-icon", { key: 'adf0819cbb38fb45501aff5ba55ea75dd225b1e2', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), index.h("smoothly-input-clear", { key: 'ed14b047e2a63cbc29e7d01063abeebbe62e72ea', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), index.h("smoothly-input-edit", { key: '930962d9f3a141e8d863b3b7835efb6ac9e31a48', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), index.h("smoothly-input-reset", { key: '70eb43c4179e7edaa328f6360e24f7679930dfe7', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: '16f3e821c21d5c79a400c21720aebcc34d96a8eb', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: 'ff462593ad41911c666bd233d11109cfc9bca486', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -29,7 +29,7 @@ const SmoothlySubmit = class {
|
|
|
29
29
|
(_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h(Submittable.Button, { key: '
|
|
32
|
+
return (index.h(Submittable.Button, { key: 'b56bb200c5af6dd9a949ed1989ef150cf5902f33', disabled: this.disabled, type: this.type }, index.h("slot", { key: 'c3795191df1b9e6c5a696e7821d0fbc865814cfd' })));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
SmoothlySubmit.style = styleCss();
|
|
@@ -24,7 +24,7 @@ const SmoothlyTriggerSink = class {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return index.h("slot", { key: '
|
|
27
|
+
return index.h("slot", { key: '46aea3defd44d2a9b5038aacb56f734bc99857f4' });
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
SmoothlyTriggerSink.style = styleCss();
|
|
@@ -23,7 +23,7 @@ const SmoothlyTriggerSource = class {
|
|
|
23
23
|
}, window);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return index.h("slot", { key: '
|
|
26
|
+
return index.h("slot", { key: 'f92141efaa40e81b8bc0614af2dd7095fa316a88' });
|
|
27
27
|
}
|
|
28
28
|
get element() { return index.getElement(this); }
|
|
29
29
|
};
|
package/dist/cjs/smoothly.cjs.js
CHANGED
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy(JSON.parse("[[\"smoothly-app_98.cjs\",[[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}]}]]],[\"smoothly-input-checkbox-demo.cjs\",[[2,\"smoothly-input-checkbox-demo\"]]],[\"smoothly-checkbox.cjs\",[[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}]}]]],[\"smoothly-color.cjs\",[[262,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-submit.cjs\",[[262,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]]]],[\"smoothly-trigger-sink.cjs\",[[262,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source.cjs\",[[262,\"smoothly-trigger-source\",{\"listen\":[1]}]]]]"), options);
|
|
22
|
+
return index.bootstrapLazy(JSON.parse("[[\"smoothly-app_98.cjs\",[[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}]}]]],[\"smoothly-input-checkbox-demo.cjs\",[[2,\"smoothly-input-checkbox-demo\"]]],[\"smoothly-checkbox.cjs\",[[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}]}]]],[\"smoothly-color.cjs\",[[262,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country.cjs\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-submit.cjs\",[[262,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]]]],[\"smoothly-trigger-sink.cjs\",[[262,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source.cjs\",[[262,\"smoothly-trigger-source\",{\"listen\":[1]}]]]]"), options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
|
1
|
+
import { Fragment, h, Host } from "@stencil/core";
|
|
2
2
|
import { Color, Fill, Icon, Notice } from "../../../model";
|
|
3
3
|
export class SmoothlyIconDemo {
|
|
4
4
|
constructor() {
|
|
@@ -7,12 +7,34 @@ export class SmoothlyIconDemo {
|
|
|
7
7
|
this.props = {};
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'f176097a9e8b600e7b6849618d986932e1115dfa' }, h("h2", { key: '600c0aaa4c8d9d66b75b3a9fb2546f8128b00f0b' }, "Filter and Variants"), h("smoothly-form", { key: 'da8b0a10a564b01918e644af025436dd13e1aa8c', looks: "grid", onSmoothlyFormInput: e => (this.display = e.detail) }, h("smoothly-input", { key: '976282ac0d7bf9025e305b975b5800ba8946190d', name: "filter" }, "Filter"), h("smoothly-input-select", { key: '81287920684545cdaedf4ae5df9e79bb8a9eea4b', name: "variant" }, h("span", { key: '8f14bd0559ab879184978aa720fbe9d72002c981', slot: "label" }, "Variant"), h("smoothly-item", { key: '262b691b55fc7a5dc662b50f6e84ac98e04db140', value: "outline" }, "outline"), h("smoothly-item", { key: '9baf50fd4633f0785577bebf8647f9ec4c9da525', value: "sharp" }, "sharp"), h("smoothly-input-clear", { key: '5460d9ba34ad9e5f5bc765893174fb57bf88b189', slot: "end" }))), h("h2", { key: 'a204390a284b9da8171a655c315981111ee29906' }, "Props"), h("smoothly-form", { key: 'bbcb2e224b053d8983a743abd34c0a0186bfcc0f', looks: "grid", onSmoothlyFormInput: e => {
|
|
11
|
+
this.props = e.detail;
|
|
12
|
+
console.log("props", this.props);
|
|
13
|
+
} }, h("smoothly-input-select", { key: '7f0f6e1932f649f5fb300f96a2d6eabc88e701aa', name: "color" }, h("span", { key: '508bbda0d768fc4f661f0f0887857e25d21c7a91', slot: "label" }, "Color"), Color.values.map(color => (h("smoothly-item", { value: color }, h("span", { style: {
|
|
14
|
+
background: `rgb(var(--smoothly-${color}-color))`,
|
|
15
|
+
"margin-right": "0.5rem",
|
|
16
|
+
width: "2.5rem",
|
|
17
|
+
height: "2.5rem",
|
|
18
|
+
} }), h("span", null, color)))), h("smoothly-input-clear", { key: 'e9b59296121ab6e415840d4f501ba31a4347e7af', slot: "end" })), h("smoothly-input-select", { key: 'd066f9f4aa8d79c19537b03e9fba85386e673633', name: "fill" }, h("span", { key: 'f6ae683d747cbeb8a3e40e4d240efe08a1ef8ec4', slot: "label" }, "Fill"), Fill.values.map(fill => (h("smoothly-item", { value: fill }, fill))), h("smoothly-input-clear", { key: '594435142c02e0b379f6b54886927069681de3cf', slot: "end" })), h("smoothly-input-select", { key: 'f5f821cfdc6a83063bf22c2eb8417e3fa33845cd', name: "customColor", menuHeight: "12items", ordered: true }, h("span", { key: '2b502f1dc5775cc23df45be8e48da4e297071078', slot: "label" }, "Custom Color"), Color.values.flatMap(c => (h(Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (h("smoothly-item", { value: `--smoothly-${c}-${v}` }, h("span", { style: {
|
|
19
|
+
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
20
|
+
"margin-right": "0.5rem",
|
|
21
|
+
width: "2.5rem",
|
|
22
|
+
height: "2.5rem",
|
|
23
|
+
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: 'ca3d4788ce77f1175a2e9e0cce841f3c8aa5925c', name: "customBackground", menuHeight: "12items", ordered: true }, h("span", { key: 'cd4faa49f2167739f5b00f1b0c734fdf6b8ddc4b', slot: "label" }, "Custom Background"), Color.values.flatMap(c => (h(Fragment, null, ["tint", "color", "shade", "contrast"].map(v => (h("smoothly-item", { value: `--smoothly-${c}-${v}` }, h("span", { style: {
|
|
24
|
+
background: `rgb(var(--smoothly-${c}-${v}))`,
|
|
25
|
+
"margin-right": "0.5rem",
|
|
26
|
+
width: "2.5rem",
|
|
27
|
+
height: "2.5rem",
|
|
28
|
+
} }), h("span", null, `rgb(var(--smoothly-${c}-${v}))`)))))))), h("smoothly-input-select", { key: 'bfebecae9f13f019bd13a8baa8c1029468d83c18', name: "flip" }, h("span", { key: 'e8a300bdca3f1db8c36dff27b0df5afd08c6bda7', slot: "label" }, "Flip"), h("smoothly-item", { key: '5f92573e3420ce19c1d291c394259cf0b1b0cb63', value: "x" }, "x"), h("smoothly-item", { key: 'c55f735398bb6b01d83d0d80922214f007983f07', value: "y" }, "y"), h("smoothly-input-clear", { key: '171d0667b92be8ea4b8ef6c38bc4b6170c1db813', slot: "end" })), h("smoothly-input-select", { key: '30ebb8bdb6d5d75b8cfae380bb8a83bccb89b499', name: "size" }, h("span", { key: '62df815da76512b43ae1c4583ff3e61f29ed5133', slot: "label" }, "Size"), h("smoothly-item", { key: '5cb1ff7cb3660016cc243eb24b5f7f3fde4dd08f', value: "tiny" }, "tiny"), h("smoothly-item", { key: '0d4d0f54b705a47741d11f2b5fd29245362ded31', value: "small" }, "small"), h("smoothly-item", { key: 'd4469868285cfa6c6ec5de5609f313f892cc66f1', value: "medium" }, "medium"), h("smoothly-item", { key: '2b98aac9eeacc7942aa9ea73c48b16f36c226033', value: "large" }, "large"), h("smoothly-item", { key: '520ebe334ad34dde56d5f8b5ecb7ca25e6645989', value: "xlarge" }, "xlarge"), h("smoothly-input-clear", { key: '6b6dd6bd7070703371c89175f71ac30049e8042d', slot: "end" })), h("smoothly-input-range", { key: 'c85ffd310deeec0ef502b8549d9bfce3aa0ea895', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", h("smoothly-input-clear", { key: 'a83b8be42b242c1b42b9ab34c9a3c61e0420ab64', slot: "end" }))), h("h1", { key: '02ce154b99955eece2bca3bb28fa47ad8955d18a' }, "Icons"), h("div", { key: 'e40575d19a189a6c8142c40943692854d9899749', class: "icons" }, [
|
|
11
29
|
...Icon.Name.values
|
|
12
30
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
13
31
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
14
32
|
...Icon.Logo.values.filter(name => !this.display.filter || name.includes(this.display.filter)),
|
|
15
|
-
].map(name => (h("smoothly-icon", { name: name, tooltip: name, "data-name": name, color: this.props.color,
|
|
33
|
+
].map(name => (h("smoothly-icon", { name: name, tooltip: name, "data-name": name, color: this.props.color, style: {
|
|
34
|
+
fill: this.props["customColor"] ? `rgb(var(${this.props["customColor"]}))` : "",
|
|
35
|
+
color: this.props["customColor"] ? `rgb(var(${this.props["customColor"]}))` : "",
|
|
36
|
+
background: this.props["customBackground"] ? `rgb(var(${this.props["customBackground"]}))` : "",
|
|
37
|
+
}, fill: this.props.fill, flip: this.props.flip, size: this.props.size, rotate: this.props.rotate, onClick: () => {
|
|
16
38
|
navigator.clipboard.writeText(name);
|
|
17
39
|
this.notice.emit(Notice.succeeded(`Copied "${name}"`));
|
|
18
40
|
} }))))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/icon/demo/index.tsx"],"names":[],"mappings":"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","sourcesContent":["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"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/icon/demo/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACxF,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAM1D,MAAM,OAAO,gBAAgB;IAL7B;QAMC,SAAI,GAAG,CAAC,CAAA;QAEC,YAAO,GAAuD,EAAE,CAAA;QAChE,UAAK,GAQV,EAAE,CAAA;KA2IN;IAxIA,MAAM;QACL,OAAO,CACN,EAAC,IAAI;YACJ,mFAA4B;YAC5B,sEAAe,KAAK,EAAC,MAAM,EAAC,mBAAmB,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;gBAC9E,uEAAgB,IAAI,EAAC,QAAQ,aAAwB;gBACrD,8EAAuB,IAAI,EAAC,SAAS;oBACpC,6DAAM,IAAI,EAAC,OAAO,cAAe;oBACjC,sEAAe,KAAK,EAAE,SAAS,cAAyB;oBACxD,sEAAe,KAAK,EAAE,OAAO,YAAuB;oBACpD,6EAAsB,IAAI,EAAE,KAAK,GAAI,CACd,CACT;YAChB,qEAAc;YACd,sEACC,KAAK,EAAC,MAAM,EACZ,mBAAmB,EAAE,CAAC,CAAC,EAAE;oBACxB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,MAAM,CAAA;oBACrB,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;gBACjC,CAAC;gBACD,8EAAuB,IAAI,EAAE,OAAO;oBACnC,6DAAM,IAAI,EAAE,OAAO,YAAc;oBAChC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAC1B,qBAAe,KAAK,EAAE,KAAK;wBAC1B,YACC,KAAK,EAAE;gCACN,UAAU,EAAE,sBAAsB,KAAK,UAAU;gCACjD,cAAc,EAAE,QAAQ;gCACxB,KAAK,EAAE,QAAQ;gCACf,MAAM,EAAE,QAAQ;6BAChB,GACA;wBACF,gBAAO,KAAK,CAAQ,CACL,CAChB,CAAC;oBACF,6EAAsB,IAAI,EAAE,KAAK,GAAI,CACd;gBACxB,8EAAuB,IAAI,EAAE,MAAM;oBAClC,6DAAM,IAAI,EAAE,OAAO,WAAa;oBAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACxB,qBAAe,KAAK,EAAE,IAAI,IAAG,IAAI,CAAiB,CAClD,CAAC;oBACF,6EAAsB,IAAI,EAAE,KAAK,GAAI,CACd;gBACxB,8EAAuB,IAAI,EAAC,aAAa,EAAC,UAAU,EAAC,SAAS,EAAC,OAAO;oBACrE,6DAAM,IAAI,EAAE,OAAO,mBAAqB;oBACvC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAC1B,EAAC,QAAQ,QACP,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAChD,qBAAe,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,EAAE;wBAC3C,YACC,KAAK,EAAE;gCACN,UAAU,EAAE,sBAAsB,CAAC,IAAI,CAAC,IAAI;gCAC5C,cAAc,EAAE,QAAQ;gCACxB,KAAK,EAAE,QAAQ;gCACf,MAAM,EAAE,QAAQ;6BAChB,GACA;wBACF,gBAAO,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAQ,CAChC,CAChB,CAAC,CACQ,CACX,CAAC,CACqB;gBACxB,8EAAuB,IAAI,EAAC,kBAAkB,EAAC,UAAU,EAAC,SAAS,EAAC,OAAO;oBAC1E,6DAAM,IAAI,EAAE,OAAO,wBAA0B;oBAC5C,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAC1B,EAAC,QAAQ,QACP,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAChD,qBAAe,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,EAAE;wBAC3C,YACC,KAAK,EAAE;gCACN,UAAU,EAAE,sBAAsB,CAAC,IAAI,CAAC,IAAI;gCAC5C,cAAc,EAAE,QAAQ;gCACxB,KAAK,EAAE,QAAQ;gCACf,MAAM,EAAE,QAAQ;6BAChB,GACA;wBACF,gBAAO,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAQ,CAChC,CAChB,CAAC,CACQ,CACX,CAAC,CACqB;gBACxB,8EAAuB,IAAI,EAAC,MAAM;oBACjC,6DAAM,IAAI,EAAE,OAAO,WAAa;oBAChC,sEAAe,KAAK,EAAE,GAAG,QAAmB;oBAC5C,sEAAe,KAAK,EAAE,GAAG,QAAmB;oBAC5C,6EAAsB,IAAI,EAAE,KAAK,GAAI,CACd;gBACxB,8EAAuB,IAAI,EAAE,MAAM;oBAClC,6DAAM,IAAI,EAAE,OAAO,WAAa;oBAChC,sEAAe,KAAK,EAAE,MAAM,WAAsB;oBAClD,sEAAe,KAAK,EAAE,OAAO,YAAuB;oBACpD,sEAAe,KAAK,EAAE,QAAQ,aAAwB;oBACtD,sEAAe,KAAK,EAAE,OAAO,YAAuB;oBACpD,sEAAe,KAAK,EAAE,QAAQ,aAAwB;oBACtD,6EAAsB,IAAI,EAAE,KAAK,GAAI,CACd;gBACxB,6EAAsB,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;;oBAEzE,6EAAsB,IAAI,EAAE,KAAK,GAAI,CACf,CACR;YAChB,qEAAc;YACd,4DAAK,KAAK,EAAC,OAAO,IAChB;gBACA,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM;qBACjB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;qBAC1E,GAAG,CAAC,CAAC,IAAI,EAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;gBACxF,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;aAC9F,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACb,qBACC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,IAAI,eACF,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EACvB,KAAK,EAAE;oBACN,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;oBAC/E,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;oBAChF,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,WAAW,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE;iBAC/F,EACD,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,EACrB,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,EACzB,OAAO,EAAE,GAAG,EAAE;oBACb,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;oBACnC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,IAAI,GAAG,CAAC,CAAC,CAAA;gBACvD,CAAC,GACA,CACF,CAAC,CACG,CACA,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, Fragment, 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\tcustomColor?: string\n\t\tcustomBackground?: string\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 looks=\"grid\" 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\n\t\t\t\t\tlooks=\"grid\"\n\t\t\t\t\tonSmoothlyFormInput={e => {\n\t\t\t\t\t\tthis.props = e.detail\n\t\t\t\t\t\tconsole.log(\"props\", this.props)\n\t\t\t\t\t}}>\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}>\n\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\tbackground: `rgb(var(--smoothly-${color}-color))`,\n\t\t\t\t\t\t\t\t\t\t\"margin-right\": \"0.5rem\",\n\t\t\t\t\t\t\t\t\t\twidth: \"2.5rem\",\n\t\t\t\t\t\t\t\t\t\theight: \"2.5rem\",\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<span>{color}</span>\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=\"customColor\" menuHeight=\"12items\" ordered>\n\t\t\t\t\t\t<span slot={\"label\"}>Custom Color</span>\n\t\t\t\t\t\t{Color.values.flatMap(c => (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t{[\"tint\", \"color\", \"shade\", \"contrast\"].map(v => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={`--smoothly-${c}-${v}`}>\n\t\t\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\t\tbackground: `rgb(var(--smoothly-${c}-${v}))`,\n\t\t\t\t\t\t\t\t\t\t\t\t\"margin-right\": \"0.5rem\",\n\t\t\t\t\t\t\t\t\t\t\t\twidth: \"2.5rem\",\n\t\t\t\t\t\t\t\t\t\t\t\theight: \"2.5rem\",\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t<span>{`rgb(var(--smoothly-${c}-${v}))`}</span>\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-select name=\"customBackground\" menuHeight=\"12items\" ordered>\n\t\t\t\t\t\t<span slot={\"label\"}>Custom Background</span>\n\t\t\t\t\t\t{Color.values.flatMap(c => (\n\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t{[\"tint\", \"color\", \"shade\", \"contrast\"].map(v => (\n\t\t\t\t\t\t\t\t\t<smoothly-item value={`--smoothly-${c}-${v}`}>\n\t\t\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\t\t\tstyle={{\n\t\t\t\t\t\t\t\t\t\t\t\tbackground: `rgb(var(--smoothly-${c}-${v}))`,\n\t\t\t\t\t\t\t\t\t\t\t\t\"margin-right\": \"0.5rem\",\n\t\t\t\t\t\t\t\t\t\t\t\twidth: \"2.5rem\",\n\t\t\t\t\t\t\t\t\t\t\t\theight: \"2.5rem\",\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t<span>{`rgb(var(--smoothly-${c}-${v}))`}</span>\n\t\t\t\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t))}\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\tstyle={{\n\t\t\t\t\t\t\t\tfill: this.props[\"customColor\"] ? `rgb(var(${this.props[\"customColor\"]}))` : \"\",\n\t\t\t\t\t\t\t\tcolor: this.props[\"customColor\"] ? `rgb(var(${this.props[\"customColor\"]}))` : \"\",\n\t\t\t\t\t\t\t\tbackground: this.props[\"customBackground\"] ? `rgb(var(${this.props[\"customBackground\"]}))` : \"\",\n\t\t\t\t\t\t\t}}\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"]}
|
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { isoly } from "isoly";
|
|
3
3
|
export class SmoothlyInputCheckboxDemo {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: 'f5df2f70e81f8189b2ed0fc110469fd31118f07e' }, h("h2", { key: 'f1805f70b5770fdf51ba8d7cd00ef7ddd2ab7706' }, "All inputs"), h("smoothly-form", { key: 'bcf287313fbda727ff66a43111c87f442ef2f77a', looks: "grid", readonly: true, action: "https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4" }, h("smoothly-input", { key: '5ad0e09227c953003294064ec9a74a34dad99884', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '4a827cff07982019b2d95e4e440bd2976aeb49da', name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: '9e4989baaba55d9d456c243354b611986ba1c42c', size: "icon", slot: "end" })), h("smoothly-input", { key: 'aa0d1fc77c155bc236459b40500802ad58716194', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: 'd80e1b9acbd7cf53acfced029cc8d5a0bd24d161', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '630fd379a65538192fb134f75cbcf55a282d8c44', clearable: true, name: "radioFirstInput" }, h("p", { key: '2b027b673dbcf3c4bf9d1f24c03f857f7477f59c', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '3ba57b27799284c623037056b2f7d57637055dd8', slot: "options", value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'cc4daf5e360276819fb0166a7023afff132dc43a', selected: true, slot: "options", value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '120fd9fd0758c17b5fb8926425b032a8a1065612', slot: "options", value: "third" }, "Label 3")), h("smoothly-input-color", { key: '1f326fa25ce6a00ecbebe2186cec26c6efdb6eb3', name: "color", value: "#479f56", output: "rgb" }, "Color"), h("smoothly-input-select", { key: 'a899972ebf9f79209c56d81b544184690b85dfaf', menuHeight: "7.5items", placeholder: "Select...", multiple: true, name: "select-month" }, h("label", { key: 'b4e4e3c4eebad921eb830a242531a650bef0acd3', slot: "label" }, "Month"), h("smoothly-item", { key: '13f7abe4d7201572786405f17557d44409a8ef3a', value: "1" }, "January"), h("smoothly-item", { key: 'd83d6bc200a1f124b850b8636420b388c47879f7', value: "2" }, "February"), h("smoothly-item", { key: 'b04c6c85a5db9e867ab2bc931794fe1105855c9e', value: "3" }, "March"), h("smoothly-item", { key: 'd5e5c01012f4c278144fcf08c59abcc09ac62533', value: "4" }, "April"), h("smoothly-item", { key: 'c4c2b5b4cb3c57f166ef809b0dbba85f0ec190e3', value: "5" }, "May"), h("smoothly-item", { key: 'cac9c84f18108bce0025a81635a3b8bdcead4f54', value: "6" }, "June"), h("smoothly-item", { key: '0f6c56fcca25ae22f7f22e27a21b379de9ca24b2', value: "7" }, "July"), h("smoothly-item", { key: '79019fb60f0b87844767ef3463fd2c5dbd309fa8', value: "8" }, "August"), h("smoothly-item", { key: '9a8d4fd4fc756c9b9925f8d176a99aa3bcab935f', value: "9" }, "September"), h("smoothly-item", { key: '63e1671cec1610bafe6e962af88f1715ee2dfb28', value: "10" }, "October"), h("smoothly-item", { key: '1c200d8d7e11673ce27d2d683a2b8bb9954ca552', value: "11" }, "November"), h("smoothly-item", { key: 'e6caeaac708433debb27ab47ec82b51c4ad16c2a', value: "12" }, "December"), h("smoothly-input-clear", { key: '8d2405dc1d53e2434dbad4b69990b49651e8c557', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '8cb2fe5eb8b152d32045c4a150c7c790ad35d922', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: 'ae42e4ffed610af298235e7ebe3e1ec6b05d9e13', value: "folder", selected: true }, h("smoothly-icon", { key: '328f1295b0eb870bc80151c46a045bc5c180e998', size: "small", name: "folder-outline" })), h("smoothly-item", { key: 'c35837e991468d32bd1630519be188266558a976', value: "camera" }, h("smoothly-icon", { key: '02479e84c1ba0c5aca2bdbbe9cd72929e0572f0f', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: '6aa26dafb6d138c976683426757846b816c42dbc', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '7bd63dbdc68f36325d579cf0d966fffa3435567c', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-date-range", { key: '9183d69eae1040aede96d59cb5ff639335f43fb6', start: isoly.Date.now(), end: isoly.Date.now() }), h("smoothly-input-date", { key: '2650ad84a1f017d2672671af94c7c7991ea3e61b', name: "date" }, "Date", h("smoothly-input-clear", { key: 'e0f0b0c02189d0b930840e3a59a9adedd28a696a', slot: "end" })), h("smoothly-input-range", { key: '693b3fe5a9dd2aebf1dfb4ebb705ce0ecd5028a9', step: 1, name: "range3", value: 20000 }, "Select"), h("smoothly-input", { key: '0ac5d490c72cb234bfd328ffbd3cf3659bbc9aed', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: 'c86356ba541ab262d357dd194289ec2778ebbb07', name: "pets.0.age", max: 100, step: 1 }, "First Pet's Age"), h("smoothly-input", { key: 'd481ef9163d12757e43508af1e7ff0d7720ce31a', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: 'e7bf653532ff0c957e6c3e82383cac5dc3210f40', name: "pets.1.age", max: 100, step: 1 }, "Second Pet's Age"), h("smoothly-input", { key: '27af92d8ccc19451a7786deb1cf8f59d10991e91', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: 'fd9eb72093cf6f6c6fa7bdaa98a4d6066fbb43dc', name: "pets.2.age", max: 100, step: 1 }, "Third Pet's Age"), h("smoothly-input-file", { key: 'd444f859d0fdf764df0da9457d6a71e594ae560e', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: 'b044dca389ede3b37362ad564a5e84e9ccfd9c23', slot: "label" }, "Profile"), h("smoothly-icon", { key: 'adf0819cbb38fb45501aff5ba55ea75dd225b1e2', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input-clear", { key: 'ed14b047e2a63cbc29e7d01063abeebbe62e72ea', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: '930962d9f3a141e8d863b3b7835efb6ac9e31a48', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: '70eb43c4179e7edaa328f6360e24f7679930dfe7', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '16f3e821c21d5c79a400c21720aebcc34d96a8eb', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: 'ff462593ad41911c666bd233d11109cfc9bca486', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "smoothly-input-checkbox-demo"; }
|
|
8
8
|
static get encapsulation() { return "scoped"; }
|
|
@@ -64,10 +64,10 @@ export class SmoothlyInputCheckbox {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '3d423adb72e619d4119435408a6b4ee9adbc2704' }, h("input", { key: '489144f56039b3edf5dab1f7ffe9f37e2d0fcadd', type: "checkbox", id: this.id, checked: this.checked, disabled: this.disabled || this.readonly, onChange: async (e) => {
|
|
68
68
|
this.checked = e.target.checked;
|
|
69
69
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
70
|
-
} }), this.checked && h("smoothly-icon", { key: '
|
|
70
|
+
} }), this.checked && h("smoothly-icon", { key: '6f97dca6dbfedce3d06d4146269bb518016476a8', name: "checkmark-sharp", size: "tiny" }), h("label", { key: '63fc6b505b6d21a779e60ae9803b56134fd855e0', htmlFor: this.id }, h("slot", { key: '88de07dc316049e436784b8ad1e7a3fe359363ff' })), h("span", { key: 'dd9d9e7f30dd37550a089b65c62d26e38471d8bc', class: "smoothly-checkbox-end-slot" }, h("slot", { key: 'f74c25ab1f6765225044bfc21db40b51e47802aa', name: "end" }))));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "smoothly-input-checkbox"; }
|
|
73
73
|
static get encapsulation() { return "scoped"; }
|
|
@@ -42,7 +42,7 @@ export class SmoothlyInputClear {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
var _a;
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '35dfd4b4b5b2aaac1457f14143591df8244e4e2f', title: this.tooltip }, h("smoothly-button", { key: '681e2d83c6fe6061919a06ece237673e0c68a159', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: '31f3176ab610d6c1ce68055b6f0df55ba2303e29' }), h("smoothly-icon", { key: 'a454fc3409e50dd4a0fb7566460909645066b944', name: "close", size: "tiny" }))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "smoothly-input-clear"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputColorDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'a24614a0d013b44ad55334eba6849d7d4c2ebdc8' }, h("h2", { key: 'f003675167b0a648e3de7cd44a2a2c53a27c1e3a' }, "Color"), h("smoothly-input-color", { key: 'd562fdd31044939c84dd7bd6264adfe9ea4a8bfa', name: "color" }, "Choose color")));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-color-demo"; }
|
|
7
7
|
static get styles() { return "style.css"; }
|
|
@@ -146,7 +146,7 @@ export class SmoothlyInputColor {
|
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
148
|
var _a, _b, _c, _d, _e, _f;
|
|
149
|
-
return (h(Host, { key: '
|
|
149
|
+
return (h(Host, { key: '443b5ede9cb6485ed194f6c4bcd0dfa4d24fbf5f', style: {
|
|
150
150
|
"--hexCode": this.value,
|
|
151
151
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
152
152
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -155,7 +155,7 @@ export class SmoothlyInputColor {
|
|
|
155
155
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
156
156
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
157
157
|
"--element-height": `${this.element.clientHeight}px`,
|
|
158
|
-
} }, h("smoothly-input", { key: '
|
|
158
|
+
} }, h("smoothly-input", { key: '773d645e7cbe1dba29ed0faaf411873eff3850e4', value: this.value, color: this.color, looks: undefined, name: this.name, type: "hex-color", readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, h("slot", { key: 'e0237c1fd28820b5827660cc3f343a0b0daad919' })), h("div", { key: 'd4be603547b585719296c5fe4a129cffd7e5e904', class: "color-sample" }), h("smoothly-icon", { key: '17a5e51dba9a921faa53a42a2bd0b94cbdb8f490', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && !this.disabled && this.openDropdown() }), h("div", { key: '30eaa873254116bfb5930a1da0f93924682d5810' }, h("slot", { key: '65f98a331cb2b8cabbe58715c2cc496950e5a92c', name: "end" })), this.open && !this.readonly && !this.disabled && (h("div", { key: '972192b5efddbb9a173e2b50b35cfeebefb3a1f4', class: "rgb-sliders" }, h("smoothly-toggle-switch", { key: '9ec21361f064f9fc889aa1c1b50f672982882cb3', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() })))))));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "smoothly-input-color"; }
|
|
161
161
|
static get encapsulation() { return "scoped"; }
|
|
@@ -108,7 +108,7 @@ export class SmoothlyInputDate {
|
|
|
108
108
|
event.stopPropagation();
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'adce039516ed0f3009e61150455b2c51cc0ec899', tabindex: this.disabled ? undefined : 0, class: { "has-value": !!this.value, "has-text": this.hasText, "floating-label": this.alwaysShowGuide }, onClick: (e) => this.onClick(e) }, h("slot", { key: '9050a4383696852cac8b11bf7a426f41d592e3dc', name: "start" }), h("label", { key: '82204edd99bc733897ad6a05d79efc8dd74c83f6', class: "label float-on-focus" }, h("slot", { key: '6a479c63d63fdad7947cd25497f3dceba64574df' })), this.placeholder && h("span", { key: 'a905c85bffb75afa43cf2ea7effdf6a985ce64f8', class: "smoothly-date-placeholder" }, this.placeholder), h("smoothly-date-text", { key: '0e7c8d8a86189c99f83750435da80988153c6519', ref: el => (this.dateTextElement = el), locale: this.locale, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, value: this.value, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.hasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onUserChangedValue(e)), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (this.open = false), (_a = this.dateTextElement) === null || _a === void 0 ? void 0 : _a.deselect()); } }), h("span", { key: '6271a396fe0a9db78c65a3ceac415baa6993ce72', class: "smoothly-icons", ref: el => (this.iconsElement = el) }, h("smoothly-icon", { key: '67762b14cf3c1a8657441805585cc22920fcddf6', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '88eaca53d97c64fcfa81e0f749b1e9ff3a0068c4', name: "end" })), this.open && !this.readonly && (h("smoothly-calendar", { key: 'ed5ff09959095128feac27c0c5c4b8ba8b51514f', ref: el => (this.calendarElement = el), doubleInput: false, value: this.value, onSmoothlyDateSet: e => (e.stopPropagation(), this.onUserChangedValue(e)), max: this.max, min: this.min }, h("div", { key: '7d482a7dac0561c9f339948ef22573c9f49ccc51', slot: "year-label" }, h("slot", { key: '6a55528882645e6cc6c5e14b3498b480b8c1d6fd', name: "year-label" })), h("div", { key: 'c310a5c99728b55d0b3f19cb494cc7fe20f12353', slot: "month-label" }, h("slot", { key: '3a4324a869730eb9acb114243a4feae03318b6d5', name: "month-label" }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "smoothly-input-date"; }
|
|
114
114
|
static get encapsulation() { return "scoped"; }
|
|
@@ -123,15 +123,15 @@ export class SmoothlyInputDateRange {
|
|
|
123
123
|
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '1f8b2d046cbb64b8df5343a945cb51563d721f27', tabindex: this.disabled ? undefined : 0, class: {
|
|
127
127
|
"has-value": !!(this.start || this.end),
|
|
128
128
|
"has-text": !!(this.startHasText || this.endHasText),
|
|
129
129
|
"floating-label": this.alwaysShowGuide,
|
|
130
|
-
} }, h("span", { key: '
|
|
130
|
+
} }, h("span", { key: 'abc0f86b086ba26c3b1d4951394d81da35f83e86', class: "smoothly-date-range-input-part", onClick: (e) => this.onClick(e) }, h("slot", { key: 'a06c2b9b096aca90e83f765b364dca7544ed99ca', name: "start" }), h("label", { key: '70d76e4a489a17cb028c4b8831d352171214d58f', class: "label float-on-focus" }, h("slot", { key: '929cd10cba08419fbfeb0e19e99d01ef52bfaf96' })), this.placeholder && h("span", { key: '8c91d08654b77a865869dca0633c04d1af54d57f', class: "smoothly-date-range-placeholder" }, this.placeholder), h("smoothly-date-text", { key: '5a37bda38fa94c90ee8e5440f085c9eac3b81648', ref: el => (this.startTextElement = el), class: "start-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.startHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "start")), onSmoothlyDateTextNext: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.select()); }, onSmoothlyDateTextDone: e => {
|
|
131
131
|
var _a, _b;
|
|
132
132
|
return (e.stopPropagation(),
|
|
133
133
|
this.end ? ((_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)) : (_b = this.endTextElement) === null || _b === void 0 ? void 0 : _b.select());
|
|
134
|
-
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), h("span", { key: '
|
|
134
|
+
}, value: this.start, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel }), h("span", { key: '694bb773d16025b187d059c8b0cc7b36f94956d5', class: "smoothly-date-range-separator" }, " \u2013 "), h("smoothly-date-text", { key: '830739f213b8c3a27619d7f29667483f4317b612', ref: el => (this.endTextElement = el), class: "end-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.endHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateHasPartialDate: e => { var _a; return (e.stopPropagation(), (_a = this.calendarElement) === null || _a === void 0 ? void 0 : _a.jumpTo(e.detail)); }, onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "end")), onSmoothlyDateTextPrevious: e => { var _a; return (e.stopPropagation(), (_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.select("end")); }, onSmoothlyDateTextNext: e => e.stopPropagation(), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)); }, value: this.end, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel })), h("span", { key: '90767c1048bbcc816563496f3d3afbea4970e953', class: "smoothly-icons" }, h("smoothly-icon", { key: '9f6ffbfa8e626160be54d8e82f8538d5a1e75c5f', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '83aef1b1b1c8726f0a7b8b939fcf1d54b07a8389', name: "end" })), this.open && (h("smoothly-calendar", { key: '395c5ba753121d7a0eb1c2d1e986cfad58e98232', ref: el => (this.calendarElement = el), doubleInput: true, onSmoothlyDateSet: e => e.stopPropagation(), onSmoothlyDateRangeSet: e => {
|
|
135
135
|
e.stopPropagation();
|
|
136
136
|
this.open = false;
|
|
137
137
|
this.start = e.detail.start;
|
|
@@ -182,7 +182,7 @@ export class SmoothlyInputDateRangeText {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
render() {
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: '29343df478fdb9a5805aef00432be4456d8e4d12', class: { "has-text": Object.values(this.parts).some(part => !!part) } }, DateFormat.Order.toArray(this.order).map((part, index) => {
|
|
186
186
|
var _a;
|
|
187
187
|
return (h("span", { onClick: () => !this.readonly && !this.disabled && this.setFocus(index) }, h("span", { class: {
|
|
188
188
|
"smoothly-date-text-part": true,
|
|
@@ -97,30 +97,30 @@ export class SmoothlyInputDateTime {
|
|
|
97
97
|
this.isDifferentFromInitial = false;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(Host, { key: '
|
|
100
|
+
return (h(Host, { key: 'faf40611232f95c653ef583a7f0b7ed32ebb400d' }, h("smoothly-input", { key: 'e0761d639e8d0b3a4f305a05e70e5a6df241fd29', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && !this.disabled && (this.open = !this.open), onClick: () => !this.readonly && !this.disabled && (this.open = !this.open), readonly: this.readonly, disabled: this.disabled, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
101
101
|
e.stopPropagation();
|
|
102
102
|
this.date = e.detail.date;
|
|
103
103
|
}, onSmoothlyUserInput: async (e) => {
|
|
104
104
|
e.stopPropagation();
|
|
105
105
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
106
|
-
} }, h("slot", { key: '
|
|
106
|
+
} }, h("slot", { key: '7fbe6ae1b6697d22ab4037bcf86ef6d27ce5f923' })), h("smoothly-input", { key: 'cd751c2a4dfe09b316772c07e126ad0c5b875eb4', name: "hour", type: "integer", max: 23, pad: 2, value: this.hour, readonly: this.readonly, disabled: this.disabled, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
107
107
|
e.stopPropagation();
|
|
108
108
|
this.hour = e.detail.hour;
|
|
109
109
|
}, onSmoothlyUserInput: async (e) => {
|
|
110
110
|
e.stopPropagation();
|
|
111
111
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
112
|
-
} }), h("span", { key: '
|
|
112
|
+
} }), h("span", { key: 'ff4cc79cf32d9cd9528010965e6bbb2c60026f57', class: "colon" }, ":"), h("smoothly-input", { key: 'd96351c5c25c042915f2ea78f94365648f620e35', name: "minute", type: "integer", max: 59, pad: 2, value: this.minute, readonly: this.readonly, disabled: this.disabled, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
this.minute = e.detail.minute;
|
|
115
115
|
}, onSmoothlyUserInput: async (e) => {
|
|
116
116
|
e.stopPropagation();
|
|
117
117
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
118
|
-
} }), h("span", { key: '
|
|
118
|
+
} }), h("span", { key: '258c62771f84b3816025a7831756d52ddc3e61a3', class: "icons" }, h("smoothly-icon", { key: 'f10cdb5bd42fe2a1bc8e3c9eb41cd488957bb0bf', class: "smoothly-invalid", name: "alert-circle", size: "small", tooltip: this.errorMessage }), h("slot", { key: '867ca6ecbe958d5f97e126fc4df23c6fcef6e1fa', name: "end" })), this.open && !this.readonly && (h("smoothly-calendar", { key: 'd1c1ea3e905b5e677883c273231794de21777fc0', doubleInput: false, value: this.value ? isoly.DateTime.getDate(this.value) : undefined, min: this.min ? isoly.DateTime.getDate(this.min) : undefined, max: this.max ? isoly.DateTime.getDate(this.max) : undefined, onSmoothlyDateSet: async (e) => {
|
|
119
119
|
e.stopPropagation();
|
|
120
120
|
this.date = e.detail;
|
|
121
121
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
122
122
|
this.open = false;
|
|
123
|
-
} }, h("div", { key: '
|
|
123
|
+
} }, h("div", { key: '0ab989467e67bc709d0c45285a7eba7743606171', slot: "year-label" }, h("slot", { key: 'ae14dc89cb7cfa3df3bd12ed531d9e4f71242c07', name: "year-label" })), h("div", { key: '9e226c95c5ae7ab3af1e09a93d290222827c5dab', slot: "month-label" }, h("slot", { key: 'c0f55782eece8e74881124284504a2ac9489ed63', name: "month-label" }))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "smoothly-input-date-time"; }
|
|
126
126
|
static get encapsulation() { return "scoped"; }
|