smoothly 1.113.0 → 1.115.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 +126 -101
- 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/app/index.js +2 -2
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +12 -8
- package/dist/collection/components/app/room/index.js.map +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/user-input/index.js +3 -3
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +4 -4
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +2 -2
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/item/index.js +1 -1
- package/dist/collection/components/label/index.js +2 -2
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +1 -1
- package/dist/collection/components/modal/index.js +2 -2
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/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-DdXfvS4U.js → p-1j2KmcfQ.js} +2 -2
- package/dist/components/{p-C519IJGa.js → p-4pGbxojU.js} +2 -2
- package/dist/components/{p-WzQNLGYx.js → p-67RlLkJb.js} +2 -2
- package/dist/components/{p-BDW8BGmy.js → p-6PsJb2Ez.js} +2 -2
- package/dist/components/{p-B8ljN4o0.js → p-AX8gOGUr.js} +2 -2
- package/dist/components/p-B0kZrKne.js +2 -0
- package/dist/components/p-B2MMqcTF.js +2 -0
- package/dist/components/{p-CDetFhB9.js → p-B6sHuEsq.js} +2 -2
- package/dist/components/{p-Bh2x2l2j.js → p-BEHgXDtQ.js} +2 -2
- package/dist/components/{p-Qf8o2d67.js → p-BFJL6rrU.js} +2 -2
- package/dist/components/p-BGBbdXaw.js +2 -0
- package/dist/components/{p-9Fc5vWzs.js → p-BGzrO9CQ.js} +2 -2
- package/dist/components/{p-CjAkXCwI.js → p-BHcHgI_e.js} +2 -2
- package/dist/components/{p-CLN-EYZz.js → p-BHsrC9Oh.js} +2 -2
- package/dist/components/{p-CjknknP6.js → p-BRoShuOu.js} +2 -2
- package/dist/components/{p-CGg8GrGq.js → p-BUa0wBSK.js} +2 -2
- package/dist/components/p-BXoBluZQ.js +2 -0
- package/dist/components/{p-jlska1pM.js → p-B_z5-Hf8.js} +2 -2
- package/dist/components/p-BanWK6rV.js +2 -0
- package/dist/components/p-Bes8H54c.js +2 -0
- package/dist/components/{p-JLn3QBuQ.js.map → p-Bes8H54c.js.map} +1 -1
- package/dist/components/{p-BznhH5yZ.js → p-BfwEfI7H.js} +2 -2
- package/dist/components/{p-BrrLEO2B.js → p-Bn7CZqdz.js} +2 -2
- package/dist/components/{p-DvF8zgEi.js → p-BpV6GXd7.js} +2 -2
- package/dist/components/{p-BEQ2yAjW.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-CuC7MNAM.js → p-BulPH2Jo.js} +2 -2
- package/dist/components/{p-CXEfxOpA.js → p-C-zr_dP8.js} +2 -2
- package/dist/components/{p-MCxlBxSA.js → p-C02MtoAQ.js} +2 -2
- package/dist/components/{p-DxVl-YSW.js → p-C2xjUTYO.js} +2 -2
- package/dist/components/{p-JdwWRJjd.js → p-C6T0ZB2C.js} +2 -2
- package/dist/components/{p-MNhi5te8.js → p-CAgJrhiy.js} +2 -2
- package/dist/components/p-CApTrLt_.js +2 -0
- package/dist/components/{p-B_Tu52N5.js → p-CCExK0R5.js} +2 -2
- package/dist/components/p-CCExK0R5.js.map +1 -0
- package/dist/components/{p-C5JaWzfu.js → p-CFgT9iMG.js} +2 -2
- package/dist/components/{p-OfpR2_fh.js → p-CJEV2v84.js} +2 -2
- package/dist/components/p-CKlr_F9h.js +2 -0
- package/dist/components/{p-Cct10sTX.js → p-CL7fW_Oh.js} +2 -2
- package/dist/components/{p-DTOzpQD8.js → p-COK__8-d.js} +2 -2
- package/dist/components/{p-uCXQl-5J.js → p-CPnXAdGI.js} +2 -2
- package/dist/components/p-CSXWpZjy.js +2 -0
- package/dist/components/{p-fjRiTKvl.js → p-CTdXhHGF.js} +2 -2
- package/dist/components/{p-0vl7fnbi.js → p-CUdZx76u.js} +2 -2
- package/dist/components/{p-C0XPq5lI.js → p-CVNSeOlg.js} +2 -2
- package/dist/components/{p-Dt4cCJEp.js → p-CcXqouEO.js} +2 -2
- package/dist/components/p-CgCEK6Lc.js +2 -0
- package/dist/components/{p-uWmGtcyP.js.map → p-CgCEK6Lc.js.map} +1 -1
- package/dist/components/{p-DRiOEv4L.js → p-CmPHR3tf.js} +2 -2
- package/dist/components/{p-C-dGqk3e.js → p-CoJyQegK.js} +2 -2
- package/dist/components/p-CooymHn6.js +2 -0
- package/dist/components/p-CqMnH54Q.js +2 -0
- package/dist/components/p-CqSiLhUe.js +2 -0
- package/dist/components/{p-CbWiiNJL.js → p-CqXSfYre.js} +2 -2
- package/dist/components/{p-xbCL6ChL.js → p-CqyGm3oe.js} +2 -2
- package/dist/components/{p-Q-gVll-_.js → p-CrKwvG9J.js} +2 -2
- package/dist/components/{p-BMHv8WTp.js → p-CrkBYYf-.js} +2 -2
- package/dist/components/{p-B6W5V130.js → p-CtuuZV3u.js} +2 -2
- package/dist/components/p-Cv-uvD7X.js +2 -0
- package/dist/components/{p-BZJNdp6g.js → p-Cw_sHLuu.js} +2 -2
- package/dist/components/{p-DbS9bWfm.js → p-D-mAUrbR.js} +2 -2
- package/dist/components/{p-gJF_-tuy.js → p-D5WTwmc6.js} +2 -2
- package/dist/components/{p-DGxkSNZ-.js → p-D5dkLuTD.js} +2 -2
- package/dist/components/p-DGa_QPb9.js +2 -0
- package/dist/components/{p-eptsxAXs.js.map → p-DGa_QPb9.js.map} +1 -1
- package/dist/components/{p-97N6vnZd.js → p-DHj4bfJ8.js} +2 -2
- package/dist/components/{p-97N6vnZd.js.map → p-DHj4bfJ8.js.map} +1 -1
- package/dist/components/{p-DVbSVIVZ.js → p-DIf6-Fvg.js} +2 -2
- package/dist/components/{p-BpBeeNcM.js → p-DIhqNc1G.js} +2 -2
- package/dist/components/{p-CsHiDnB-.js → p-DLBMEh0f.js} +2 -2
- package/dist/components/{p-pYGmgv_e.js → p-DM3PMEgb.js} +2 -2
- package/dist/components/{p-D4LmYvoM.js → p-DS66Mn9S.js} +2 -2
- package/dist/components/p-DYNjCosy.js +2 -0
- package/dist/components/{p-OV_wRej-.js → p-D_uKY0yY.js} +2 -2
- package/dist/components/p-DkhX1qsg.js +2 -0
- package/dist/components/{p-DkxTx6nY.js → p-Dz8Bblye.js} +2 -2
- package/dist/components/{p-BqODWrES.js → p-He4KDK9-.js} +2 -2
- package/dist/components/{p-W-kaGeCx.js → p-N-UYdc5h.js} +2 -2
- package/dist/components/{p-oWil-NTX.js → p-NFd9Dxr1.js} +2 -2
- package/dist/components/{p-DyL_ilIk.js → p-NGbZCAH9.js} +2 -2
- package/dist/components/{p-DtoC1d2_.js → p-Qv-IgIvL.js} +2 -2
- package/dist/components/{p-7ReeDB-R.js → p-Ww5QjB3D.js} +2 -2
- package/dist/components/{p-CCzyYE1m.js → p-_o_lUhve.js} +2 -2
- package/dist/components/{p-B11YJh32.js → p-d26Fb7IS.js} +2 -2
- package/dist/components/{p-D4PyTfe4.js → p-dBpTpVs8.js} +2 -2
- package/dist/components/{p-DKir2dIt.js → p-fnKrPnzp.js} +2 -2
- package/dist/components/{p-V6FzDWfL.js → p-nFLcvugJ.js} +2 -2
- package/dist/components/{p-B7ws0a8Z.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 +126 -101
- 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-118fd1b8.entry.js → p-94d091cd.entry.js} +2 -2
- package/dist/smoothly/p-b7ac3c88.entry.js +2 -0
- package/dist/smoothly/p-b7ac3c88.entry.js.map +1 -0
- package/dist/smoothly/{p-2cd32901.entry.js → p-be43737e.entry.js} +2 -2
- package/dist/smoothly/{p-baabb62e.entry.js → p-d4dad5a8.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/app/index.d.ts +1 -0
- package/dist/types/components/app/room/index.d.ts +3 -1
- package/dist/types/components/icon/demo/index.d.ts +2 -0
- package/dist/types/components.d.ts +5 -5
- package/package.json +1 -1
- package/dist/components/p-B_Tu52N5.js.map +0 -1
- package/dist/components/p-BdqxED0P.js +0 -2
- package/dist/components/p-BnKGlfV9.js +0 -2
- package/dist/components/p-Bufbdh4o.js +0 -2
- package/dist/components/p-Bufbdh4o.js.map +0 -1
- package/dist/components/p-BxsOj_LX.js +0 -2
- package/dist/components/p-CMEyMMZz.js +0 -2
- package/dist/components/p-COTO4dlW.js +0 -2
- package/dist/components/p-CZGfvbsC.js +0 -2
- package/dist/components/p-Cgowjgod.js +0 -2
- package/dist/components/p-Cw-_pWl-.js +0 -2
- package/dist/components/p-D4fagxgG.js +0 -2
- package/dist/components/p-D8jJZbTy.js +0 -2
- package/dist/components/p-JB57brc4.js +0 -2
- package/dist/components/p-JLn3QBuQ.js +0 -2
- package/dist/components/p-eptsxAXs.js +0 -2
- package/dist/components/p-h1R5xtdy.js +0 -2
- package/dist/components/p-hcVaU3nW.js +0 -2
- package/dist/components/p-rRkypR5s.js +0 -2
- package/dist/components/p-uWmGtcyP.js +0 -2
- package/dist/smoothly/p-2fbd48bb.entry.js +0 -2
- package/dist/smoothly/p-d2f00811.entry.js +0 -2
- package/dist/smoothly/p-d2f00811.entry.js.map +0 -1
- /package/dist/components/{p-DdXfvS4U.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-WzQNLGYx.js.map → p-67RlLkJb.js.map} +0 -0
- /package/dist/components/{p-BDW8BGmy.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-JB57brc4.js.map → p-B0kZrKne.js.map} +0 -0
- /package/dist/components/{p-Cw-_pWl-.js.map → p-B2MMqcTF.js.map} +0 -0
- /package/dist/components/{p-CDetFhB9.js.map → p-B6sHuEsq.js.map} +0 -0
- /package/dist/components/{p-Bh2x2l2j.js.map → p-BEHgXDtQ.js.map} +0 -0
- /package/dist/components/{p-Qf8o2d67.js.map → p-BFJL6rrU.js.map} +0 -0
- /package/dist/components/{p-h1R5xtdy.js.map → p-BGBbdXaw.js.map} +0 -0
- /package/dist/components/{p-9Fc5vWzs.js.map → p-BGzrO9CQ.js.map} +0 -0
- /package/dist/components/{p-CjAkXCwI.js.map → p-BHcHgI_e.js.map} +0 -0
- /package/dist/components/{p-CLN-EYZz.js.map → p-BHsrC9Oh.js.map} +0 -0
- /package/dist/components/{p-CjknknP6.js.map → p-BRoShuOu.js.map} +0 -0
- /package/dist/components/{p-CGg8GrGq.js.map → p-BUa0wBSK.js.map} +0 -0
- /package/dist/components/{p-hcVaU3nW.js.map → p-BXoBluZQ.js.map} +0 -0
- /package/dist/components/{p-jlska1pM.js.map → p-B_z5-Hf8.js.map} +0 -0
- /package/dist/components/{p-BnKGlfV9.js.map → p-BanWK6rV.js.map} +0 -0
- /package/dist/components/{p-BznhH5yZ.js.map → p-BfwEfI7H.js.map} +0 -0
- /package/dist/components/{p-BrrLEO2B.js.map → p-Bn7CZqdz.js.map} +0 -0
- /package/dist/components/{p-DvF8zgEi.js.map → p-BpV6GXd7.js.map} +0 -0
- /package/dist/components/{p-BEQ2yAjW.js.map → p-Bpc6uh0M.js.map} +0 -0
- /package/dist/components/{p-CuC7MNAM.js.map → p-BulPH2Jo.js.map} +0 -0
- /package/dist/components/{p-CXEfxOpA.js.map → p-C-zr_dP8.js.map} +0 -0
- /package/dist/components/{p-MCxlBxSA.js.map → p-C02MtoAQ.js.map} +0 -0
- /package/dist/components/{p-DxVl-YSW.js.map → p-C2xjUTYO.js.map} +0 -0
- /package/dist/components/{p-JdwWRJjd.js.map → p-C6T0ZB2C.js.map} +0 -0
- /package/dist/components/{p-MNhi5te8.js.map → p-CAgJrhiy.js.map} +0 -0
- /package/dist/components/{p-BxsOj_LX.js.map → p-CApTrLt_.js.map} +0 -0
- /package/dist/components/{p-C5JaWzfu.js.map → p-CFgT9iMG.js.map} +0 -0
- /package/dist/components/{p-OfpR2_fh.js.map → p-CJEV2v84.js.map} +0 -0
- /package/dist/components/{p-COTO4dlW.js.map → p-CKlr_F9h.js.map} +0 -0
- /package/dist/components/{p-Cct10sTX.js.map → p-CL7fW_Oh.js.map} +0 -0
- /package/dist/components/{p-DTOzpQD8.js.map → p-COK__8-d.js.map} +0 -0
- /package/dist/components/{p-uCXQl-5J.js.map → p-CPnXAdGI.js.map} +0 -0
- /package/dist/components/{p-BdqxED0P.js.map → p-CSXWpZjy.js.map} +0 -0
- /package/dist/components/{p-fjRiTKvl.js.map → p-CTdXhHGF.js.map} +0 -0
- /package/dist/components/{p-0vl7fnbi.js.map → p-CUdZx76u.js.map} +0 -0
- /package/dist/components/{p-C0XPq5lI.js.map → p-CVNSeOlg.js.map} +0 -0
- /package/dist/components/{p-Dt4cCJEp.js.map → p-CcXqouEO.js.map} +0 -0
- /package/dist/components/{p-DRiOEv4L.js.map → p-CmPHR3tf.js.map} +0 -0
- /package/dist/components/{p-C-dGqk3e.js.map → p-CoJyQegK.js.map} +0 -0
- /package/dist/components/{p-Cgowjgod.js.map → p-CooymHn6.js.map} +0 -0
- /package/dist/components/{p-rRkypR5s.js.map → p-CqMnH54Q.js.map} +0 -0
- /package/dist/components/{p-D8jJZbTy.js.map → p-CqSiLhUe.js.map} +0 -0
- /package/dist/components/{p-CbWiiNJL.js.map → p-CqXSfYre.js.map} +0 -0
- /package/dist/components/{p-xbCL6ChL.js.map → p-CqyGm3oe.js.map} +0 -0
- /package/dist/components/{p-Q-gVll-_.js.map → p-CrKwvG9J.js.map} +0 -0
- /package/dist/components/{p-BMHv8WTp.js.map → p-CrkBYYf-.js.map} +0 -0
- /package/dist/components/{p-B6W5V130.js.map → p-CtuuZV3u.js.map} +0 -0
- /package/dist/components/{p-CZGfvbsC.js.map → p-Cv-uvD7X.js.map} +0 -0
- /package/dist/components/{p-BZJNdp6g.js.map → p-Cw_sHLuu.js.map} +0 -0
- /package/dist/components/{p-DbS9bWfm.js.map → p-D-mAUrbR.js.map} +0 -0
- /package/dist/components/{p-gJF_-tuy.js.map → p-D5WTwmc6.js.map} +0 -0
- /package/dist/components/{p-DGxkSNZ-.js.map → p-D5dkLuTD.js.map} +0 -0
- /package/dist/components/{p-DVbSVIVZ.js.map → p-DIf6-Fvg.js.map} +0 -0
- /package/dist/components/{p-BpBeeNcM.js.map → p-DIhqNc1G.js.map} +0 -0
- /package/dist/components/{p-CsHiDnB-.js.map → p-DLBMEh0f.js.map} +0 -0
- /package/dist/components/{p-pYGmgv_e.js.map → p-DM3PMEgb.js.map} +0 -0
- /package/dist/components/{p-D4LmYvoM.js.map → p-DS66Mn9S.js.map} +0 -0
- /package/dist/components/{p-CMEyMMZz.js.map → p-DYNjCosy.js.map} +0 -0
- /package/dist/components/{p-OV_wRej-.js.map → p-D_uKY0yY.js.map} +0 -0
- /package/dist/components/{p-D4fagxgG.js.map → p-DkhX1qsg.js.map} +0 -0
- /package/dist/components/{p-DkxTx6nY.js.map → p-Dz8Bblye.js.map} +0 -0
- /package/dist/components/{p-BqODWrES.js.map → p-He4KDK9-.js.map} +0 -0
- /package/dist/components/{p-W-kaGeCx.js.map → p-N-UYdc5h.js.map} +0 -0
- /package/dist/components/{p-oWil-NTX.js.map → p-NFd9Dxr1.js.map} +0 -0
- /package/dist/components/{p-DyL_ilIk.js.map → p-NGbZCAH9.js.map} +0 -0
- /package/dist/components/{p-DtoC1d2_.js.map → p-Qv-IgIvL.js.map} +0 -0
- /package/dist/components/{p-7ReeDB-R.js.map → p-Ww5QjB3D.js.map} +0 -0
- /package/dist/components/{p-CCzyYE1m.js.map → p-_o_lUhve.js.map} +0 -0
- /package/dist/components/{p-B11YJh32.js.map → p-d26Fb7IS.js.map} +0 -0
- /package/dist/components/{p-D4PyTfe4.js.map → p-dBpTpVs8.js.map} +0 -0
- /package/dist/components/{p-DKir2dIt.js.map → p-fnKrPnzp.js.map} +0 -0
- /package/dist/components/{p-V6FzDWfL.js.map → p-nFLcvugJ.js.map} +0 -0
- /package/dist/components/{p-B7ws0a8Z.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-118fd1b8.entry.js.map → p-94d091cd.entry.js.map} +0 -0
- /package/dist/smoothly/{p-2cd32901.entry.js.map → p-be43737e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-baabb62e.entry.js.map → p-d4dad5a8.entry.js.map} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as a,h as l,F as o,d as t,t as c}from"./p-BsZrGTcp.js";import{d}from"./p-DM5CKilY.js";import{d as s}from"./p-CR3Ni_o7.js";import{d as b}from"./p-B-l1S16Z.js";import{d as y}from"./p-Ud7Qhkgt.js";import{d as f}from"./p-C3FORjes.js";import{d as m}from"./p-BxsOj_LX.js";import{d as p}from"./p-Bh2x2l2j.js";import{d as r}from"./p-JLn3QBuQ.js";import{d as h}from"./p-h1R5xtdy.js";import{d as i}from"./p-uCXQl-5J.js";import{d as u}from"./p-Cct10sTX.js";import{d as n}from"./p-C5JaWzfu.js";import{d as k}from"./p-DbS9bWfm.js";import{d as g}from"./p-MCxlBxSA.js";import{d as w}from"./p-CjAkXCwI.js";const v=()=>`.sc-smoothly-table-demo-group-h{display:block}.sc-smoothly-table-demo-group-h smoothly-display.sc-smoothly-table-demo-group{display:inline}.sc-smoothly-table-demo-group-h fake-cell-wrapper.span-2.sc-smoothly-table-demo-group{grid-column:span 2}.sc-smoothly-table-demo-group-h>smoothly-display.sc-smoothly-table-demo-group{display:inherit;font-size:2em}.sc-smoothly-table-demo-group-h>*.sc-smoothly-table-demo-group{margin-bottom:2rem}.sc-smoothly-table-demo-group-h fake-group-wrapper.sc-smoothly-table-demo-group,.sc-smoothly-table-demo-group-h fake-row-wrapper.sc-smoothly-table-demo-group,.sc-smoothly-table-demo-group-h fake-expandable-row-wrapper.sc-smoothly-table-demo-group{grid-column:1 / -1;display:grid;grid-template-columns:subgrid}.sc-smoothly-table-demo-group-h fake-cell-wrapper.sc-smoothly-table-demo-group{grid-column:span 1;display:block}.sc-smoothly-table-demo-group-h fake-expandable-cell-wrapper.sc-smoothly-table-demo-group{display:contents}`;const E=e(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return l(t,{key:"9af97a2dd73e554ea9c1bff231782e9889157fde"},l("smoothly-display",{key:"2257c3cba1ba5ce0431e32f53dfd92573b25bcb3",type:"text",value:"Group"}),l("smoothly-table",{key:"90b901a78ae391af9f7acdd0ef1c494a8f6fe133",color:"primary",columns:2},l("smoothly-table-head",{key:"972dd604c495658a4655c9d4afbe7585b7f34e9e"},l("smoothly-table-row",{key:"71e959f5666e68ad006252a4591a194840495936"},l("smoothly-table-cell",{key:"62d2bd26dce8826b74dc4c8e8c569532cc07ca45"},"Date"),l("smoothly-table-cell",{key:"f866b0f9719d679f6a7830c65ac3391491c00349"},"Total"))),l("smoothly-table-body",{key:"70dc05107403877ad47644460a09d3250c1ddd1e"},l("smoothly-table-row-group",{key:"e7f2268c625dcdb0350b9b6171fdbeb3163d8413",align:true},l("smoothly-display",{key:"dac67a56a4fc3ab520128b3b63646cde0c6fcbce",slot:"start",type:"date",value:"2024-01-01"}),l("smoothly-display",{key:"ed4b8fd5dcafc2cae49e475b4c091d35b2b30b3f",slot:"end",type:"price",currency:"EUR",value:510}),l("smoothly-table-expandable-row",{key:"ff08cffdfcec5945cb13ea713e5379ff16e8e917"},l("smoothly-table-cell",{key:"2575df31b1c799750a491c07400b90f3c8c0732e"},l("smoothly-display",{key:"a72e50c14f31b8061a78eb378fdf243e6a757d9a",type:"date-time",value:"2024-01-01T01:37:00.000Z"})),l("smoothly-table-cell",{key:"b88eb73fcb09cbce241d452905f767498da92335"},l("smoothly-display",{key:"bf82b932285431bc9beb341f8c5bd9aaa5b56766",type:"price",currency:"EUR",value:250})),l("smoothly-lazy",{key:"0f51682b219b4130d614bffb8399011764f81018",slot:"detail",content:l(o,null,"Details of 2024-01-01T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"24aedfa873558b5bfc91d12ed8a1283097b11add"},l("smoothly-table-cell",{key:"5e7a30c94f9c8b5607ced0bdc1756ba89a9b19e9"},l("smoothly-display",{key:"bc14c1e289193e3be9bf3ba4940e11eb2db915f7",type:"date-time",value:"2024-01-01T13:37:00.000Z"})),l("smoothly-table-cell",{key:"d82b33d05e427ec17f8aae619b168e6968addb68"},l("smoothly-display",{key:"a9b7548b18d6ba3dfa509ce436bc90848a485f15",type:"price",currency:"EUR",value:260})),l("smoothly-lazy",{key:"5f6c95d971232a61ba4366a0506c6a4d6e143b08",slot:"detail",content:l(o,null,"Details of 2024-01-01T13:37:00.000Z")}))),l("smoothly-table-row",{key:"5e50d0d8833c2d51d3926dd13d13632be5d4a14a"},l("smoothly-table-cell",{key:"500e6fa274591bfa46fb7df980e5c00e66950f1f"},l("smoothly-display",{key:"f3b0357299f95a2708a205a2d6a36fc9153a113c",type:"date",value:"2024-01-02"})),l("smoothly-table-cell",{key:"e714d0a9d84bc9c2fb7e63df0a5a2242ff0aeb47"},l("smoothly-display",{key:"f77b5b7645e03522332aad7c867cc9cc7d50ce5a",type:"price",currency:"EUR",value:130}))),l("smoothly-table-row-group",{key:"d5563da2fba612869aee7e52891dbe3bbbb3eb5b"},l("smoothly-display",{key:"938b397b77eccae59e9d75c6095314b04d49005d",slot:"start",type:"date",value:"2024-01-03"}),l("smoothly-display",{key:"94cf02e6a97968bc0698e36db986b8f201f383e3",slot:"end",type:"price",currency:"EUR",value:720}),l("smoothly-table-expandable-row",{key:"cd8a0312c1308565eecd1989eff865836259e9ec"},l("smoothly-table-cell",{key:"6e53dceadf261cfd110895b6803f85f428fbc788"},l("smoothly-display",{key:"7f006f2a033a00961c7a6a3d68c22f873857ad98",type:"date-time",value:"2024-01-03T01:37:00.000Z"})),l("smoothly-table-cell",{key:"039d08030bd0f63af9c1afa1a728dadc9680ae82"},l("smoothly-display",{key:"d88710af1a900007217541f3943e5a7efb5a2a3f",type:"price",currency:"EUR",value:320})),l("smoothly-lazy",{key:"fdcd37bb700758be174cc0e5713b4c07403f8682",slot:"detail",content:l(o,null,"Details of 2024-01-03T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"79b4d9f391ef6ab8841d2de05cf8aa55ef8a59ec"},l("smoothly-table-cell",{key:"c1261022a5c3fffe6119e321d129907c07fe18ac"},l("smoothly-display",{key:"5748d8bc6db59fab0f80ce1812f569287d808b81",type:"date-time",value:"2024-01-03T13:37:00.000Z"})),l("smoothly-table-cell",{key:"118a115ba40c16775073062b039d382e5501cca4"},l("smoothly-display",{key:"42d80083625b2e8374f00c629ea64802788c8459",type:"price",currency:"EUR",value:400})),l("smoothly-lazy",{key:"808b3347c13ec37e4a4a1b63c91392eb667e4f66",slot:"detail",content:l(o,null,"Details of 2024-01-03T13:37:00.000Z")}))),l("smoothly-table-row-group",{key:"6f0a95e81ca788091fc90768f1a0f295fa35b6b9"},l("smoothly-display",{key:"731be311b19de2a133edc969fc6561ded4e6aa99",slot:"start",type:"date",value:"2024-01-04"}),l("smoothly-table-expandable-row",{key:"e09a2691c08602f3fda9b2803a30ea5056761c27"},l("smoothly-table-cell",{key:"e50ef37a30a54a6d1b76cd27fe678c6d4e998486"},l("smoothly-display",{key:"2b2147f209ef7ef3fcdefe8526d8332188a64e60",type:"date-time",value:"2024-01-04T01:37:00.000Z"})),l("smoothly-table-cell",{key:"df7f27802f806d3d63c9855f49b26a7281ab2c7e"},l("smoothly-display",{key:"0945da5982870fab2637680ecaa974801c046690",type:"price",currency:"EUR",value:320})),l("smoothly-lazy",{key:"be7bcd85defabd41296f9e428cbac22bdf52fffc",slot:"detail",content:l(o,null,"Details of 2024-01-04T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"4caaa5c8890ff1aca72adea083a6fe58f23ffc1d"},l("smoothly-table-cell",{key:"46ffccf1ff8e575e1784a8a8b62799c163f76bff"},l("smoothly-display",{key:"df4c90a165a16556072af954ddd2ecf2a25fb6cb",type:"date-time",value:"2024-01-04T13:37:00.000Z"})),l("smoothly-table-cell",{key:"c42afea6b5256e18b5c0bd235abb00a5589a1639"},l("smoothly-display",{key:"afd91932af6b3d9df399e31f3a3dfb3710dd67da",type:"price",currency:"EUR",value:400})),l("smoothly-lazy",{key:"116923536874fae3bf8f248c654620d7e9d84caf",slot:"detail",content:l(o,null,"Details of 2024-01-04T13:37:00.000Z")}))),l("smoothly-table-row-group",{key:"c5bfe45b4fe1f13f93cfd525ae19d50442851294"},l("smoothly-display",{key:"bd7d161f3cafdcbd699db62bc17723818ef72549",slot:"end",type:"price",currency:"EUR",value:720}),l("smoothly-table-expandable-row",{key:"6c23d8c95b24d54b1b331353e18b75069d088ead"},l("smoothly-table-cell",{key:"bb493a1fd99fffea71a80b2ee6896461c6690b67"},l("smoothly-display",{key:"a97142706d066ef6044dd8c2ffebf1dd205a42aa",type:"date-time",value:"2024-01-05T01:37:00.000Z"})),l("smoothly-table-cell",{key:"d1dc093bebe2b4983aba8a146958dd91ba25e3d1"},l("smoothly-display",{key:"375f129f914048e76c1fcb32b9f95eb83acca27c",type:"price",currency:"EUR",value:320})),l("smoothly-lazy",{key:"0b75809560b5a2eef3e8efb5a1d4b413430ffff9",slot:"detail",content:l(o,null,"Details of 2024-01-05T01:37:00.000Z")})),l("smoothly-table-expandable-row",{key:"b53719c5188bb125812eec710b00bf93a7d64fce"},l("smoothly-table-cell",{key:"20012bd7ea22477b21ca4c6522e04a2296cb5e95"},l("smoothly-display",{key:"6bbd6c62dad1231cb57e68df58ccceaa33ec76ea",type:"date-time",value:"2024-01-05T13:37:00.000Z"})),l("smoothly-table-cell",{key:"a04700a2c7ba95e6912a0c8685dd394e1116e56a"},l("smoothly-display",{key:"28993df17be6cd71f9d8da5580bd13173e5b1728",type:"price",currency:"EUR",value:400})),l("smoothly-lazy",{key:"716d3711fb1ba17f1b07e40d0cc4e42f77d6e48a",slot:"detail",content:l(o,null,"Details of 2024-01-05T13:37:00.000Z")}))),l("fake-group-wrapper",{key:"5a8d87d22055a3cc9a6eb3fac647b3b10ddf3107"},l("smoothly-table-row-group",{key:"6c29d6604c34f297e75f4b5d6b1599b38e3f5c4f"},l("smoothly-display",{key:"25835c64a61ef3ef5ded3ec48be000c759f3c263",slot:"start",type:"date",value:"2024-01-06"}),l("smoothly-display",{key:"b986fbafe80daab7dd7a2c522785c633406c01c0",slot:"end",type:"price",currency:"EUR",value:720}),l("fake-row-wrapper",{key:"6f0817c4ed598275401f6d86c869dd39b3b900bb"},l("smoothly-table-row",{key:"c627b346517b950d2883bed648e8acd06991f7dd"},l("fake-cell-wrapper",{key:"2136dcadb092ce67f4ce986fe3bd1d73759ad03b"},l("smoothly-table-cell",{key:"21f1b8c4df866a68caee5da599e1bb8219e042b7"},l("smoothly-display",{key:"857236ba64c06093da4c1ecb7eae6710c2cddbce",type:"date",value:"2024-01-02"}))),l("fake-expandable-cell-wrapper",{key:"c840c1896076ee2ca7e6bf3217b6f89ec3cfac7e"},l("smoothly-table-expandable-cell",{key:"b5dd3983275b0e6948b71d4d5d4e8696ed9a0373"},l("smoothly-display",{key:"44b2aa3acfebb161747e8e693fcadd6a95c1f2df",type:"price",currency:"EUR",value:130}),l("smoothly-lazy",{key:"e555b070d789e2ec97a730de08dd5b4c479eb06a",slot:"detail",content:l("span",null,l("smoothly-display",{type:"price",value:100,currency:"EUR"})," + ",l("smoothly-display",{type:"price",value:30,currency:"EUR"}))}))))),l("fake-expandable-row-wrapper",{key:"47afe4d30b2e7a0f29f019489d00f93679b3b3f5"},l("smoothly-table-expandable-row",{key:"0e066e8ef7beb4f5212b7ab366faa8e8a766f8fc"},l("fake-cell-wrapper",{key:"c1e8f9e0bc80e21f5cf13a9e1c08dccfc69812a6",class:"span-2"},l("smoothly-table-cell",{key:"aa446fc3558e1777af3f7db9de01838e2f7da1b9",span:2},l("smoothly-display",{key:"80800c6bc0d00193c959425eb1e72d82f74519e1",type:"date",value:"2024-01-07"}))),l("smoothly-lazy",{key:"761732bea1df5e3e78dadef9c2817610e50169ff",slot:"detail",content:l("smoothly-display",{type:"date-time",value:"2024-01-07T13:37:00.000Z"})}))))),l("smoothly-table-row-group",{key:"ccc5676e70c09b50f05a5429c8bbba6e7c0031df"},l("smoothly-display",{key:"8ef9e40351c078324f6f599addbf8d767b4d4a77",slot:"start",type:"date",value:"2024-01-08"}),l("smoothly-display",{key:"fb97dc92fb8b501a5bcf89e68a1d8ebba1a856b4",slot:"end",type:"price",currency:"EUR",value:720})))))}static get style(){return v()}},[2,"smoothly-table-demo-group"]);function j(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-demo-group","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-lazy","smoothly-load-more","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-expandable-cell","smoothly-table-expandable-row","smoothly-table-head","smoothly-table-row","smoothly-table-row-group"];e.forEach((e=>{switch(e){case"smoothly-table-demo-group":if(!customElements.get(c(e))){customElements.define(c(e),E)}break;case"smoothly-display":if(!customElements.get(c(e))){d()}break;case"smoothly-display-json":if(!customElements.get(c(e))){s()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){b()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){f()}break;case"smoothly-lazy":if(!customElements.get(c(e))){m()}break;case"smoothly-load-more":if(!customElements.get(c(e))){p()}break;case"smoothly-table":if(!customElements.get(c(e))){r()}break;case"smoothly-table-body":if(!customElements.get(c(e))){h()}break;case"smoothly-table-cell":if(!customElements.get(c(e))){i()}break;case"smoothly-table-expandable-cell":if(!customElements.get(c(e))){u()}break;case"smoothly-table-expandable-row":if(!customElements.get(c(e))){n()}break;case"smoothly-table-head":if(!customElements.get(c(e))){k()}break;case"smoothly-table-row":if(!customElements.get(c(e))){g()}break;case"smoothly-table-row-group":if(!customElements.get(c(e))){w()}break}}))}j();export{E as S,j as d};
|
|
2
|
-
//# sourceMappingURL=p-CZGfvbsC.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as l,h as a,d as o,t}from"./p-BsZrGTcp.js";import{d as s}from"./p-JLn3QBuQ.js";import{d}from"./p-h1R5xtdy.js";import{d as c}from"./p-C5JaWzfu.js";import{d as m}from"./p-DbS9bWfm.js";import{d as b}from"./p-MCxlBxSA.js";const n=()=>`.sc-smoothly-table-demo-nested-no-cell-inner-h{display:block;margin:1em auto;width:60%}`;const r=e(class e extends l{constructor(e){super();if(e!==false){this.__registerHost()}}render(){var e;return a(o,{key:"aac05d43b4512b20fa4cec737ccb31ec3a528b56"},a("smoothly-table",{key:"b022de2650d8db21e46aab409b8d1df0dc409f80",columns:4},a("smoothly-table-head",{key:"6516f877eb54fdebc85619885a92389af7ec34da"},a("smoothly-table-row",{key:"8951f89b3230404a2fc8fc6ef1d48a20abea803c"},a("div",{key:"82ee1252466066d77df7f70385faa4f83850d9a7",class:"smoothly-table-cell"},"Id"),a("div",{key:"7145ba1e199eadecb5dd727ae1adfa52d25e4bce",class:"smoothly-table-cell"},"Name"),a("div",{key:"60d99a7d209367adea18000214d01b4a3e1905b9",class:"smoothly-table-cell"},"Age"),a("div",{key:"ee489d4b66d755c9590cf0dfe23fe09c440773aa",class:"smoothly-table-cell"},"Balance"))),a("smoothly-table-body",{key:"86837cf19c76e57fe423dd185e1c877e4f04b192"},(e=this.data)===null||e===void 0?void 0:e.map((e=>a("smoothly-table-expandable-row",null,a("div",{class:"smoothly-table-cell"},e.id),a("div",{class:"smoothly-table-cell"},e.name),a("div",{class:"smoothly-table-cell"},e.age),a("div",{class:"smoothly-table-cell"},e.balance)))))))}static get style(){return n()}},[2,"smoothly-table-demo-nested-no-cell-inner",{data:[16]}]);function y(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-demo-nested-no-cell-inner","smoothly-table","smoothly-table-body","smoothly-table-expandable-row","smoothly-table-head","smoothly-table-row"];e.forEach((e=>{switch(e){case"smoothly-table-demo-nested-no-cell-inner":if(!customElements.get(t(e))){customElements.define(t(e),r)}break;case"smoothly-table":if(!customElements.get(t(e))){s()}break;case"smoothly-table-body":if(!customElements.get(t(e))){d()}break;case"smoothly-table-expandable-row":if(!customElements.get(t(e))){c()}break;case"smoothly-table-head":if(!customElements.get(t(e))){m()}break;case"smoothly-table-row":if(!customElements.get(t(e))){b()}break}}))}y();export{r as S,y as d};
|
|
2
|
-
//# sourceMappingURL=p-Cgowjgod.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,d as a,t as l}from"./p-BsZrGTcp.js";import{d as s}from"./p-DM5CKilY.js";import{d}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d as c}from"./p-Ud7Qhkgt.js";import{d as m}from"./p-C3FORjes.js";import{d as i}from"./p-JLn3QBuQ.js";import{d as b}from"./p-h1R5xtdy.js";import{d as n}from"./p-uCXQl-5J.js";import{d as y}from"./p-Cct10sTX.js";import{d as f}from"./p-CuC7MNAM.js";import{d as p}from"./p-DbS9bWfm.js";import{d as h}from"./p-MCxlBxSA.js";const u=()=>`.sc-smoothly-table-demo-simple-h{display:block}.sc-smoothly-table-demo-simple-h>smoothly-display.sc-smoothly-table-demo-simple{font-size:2em}.sc-smoothly-table-demo-simple-h>*.sc-smoothly-table-demo-simple{margin-bottom:2rem}`;const k=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return o(a,{key:"70206f06c6f0927b7fd56f6c447441883cdb8cbb"},o("smoothly-display",{key:"fe882f04329755107f28029e6c3ed3162e2a6f2d",type:"text",value:"Simple"}),o("smoothly-table",{key:"943c5b0e05764d07eb88e9723c42214c7c785a74",color:"primary",columns:2},o("smoothly-table-head",{key:"e26f7945d199844450707d36aa848e7ef5e85e4c"},o("smoothly-table-row",{key:"f60bcd540697bf27ef22ba3b2db828c1eaba8a18"},o("smoothly-table-cell",{key:"5e2e2d9f3724051fd61ff787caae7e47c120e31f"},"Breed"),o("smoothly-table-cell",{key:"5ac9dddc03f397574b16d7809938f133be3a5e32"},"Coat"))),o("smoothly-table-body",{key:"48228f02bdc713ef18e1e9400c7b274b6ed7a91f"},j.map((e=>o("smoothly-table-row",null,o("smoothly-table-expandable-cell",null,e.breed,o("div",{slot:"detail"},"Country:",o("br",null),e.country)),o("smoothly-table-expandable-cell",null,e.coat,o("div",{slot:"detail"},"Pattern: ",e.pattern))))),o("smoothly-table-row",{key:"04146e8b286cede980153a96645635ec21d87135"},o("smoothly-table-cell",{key:"37ff22202464b1ef68aecea476a5070e3612fa5d"},"Cell5"),o("smoothly-table-expandable-cell",{key:"0db694a71548c2a27909bd2b74e9c4e24e1368cb"},"Expandable Cell",o("div",{key:"f73430644f301ba65ff5b10affee17b767dda779",slot:"detail"},"Content of the expandable cell"))),o("smoothly-table-row",{key:"d8e43c4f6104f2ea9ed4a3e1d5526f4216cd1755"},o("smoothly-table-expandable-cell",{key:"d63e6c60646e17005dcd1502603ecb0a0bc58519"},"Expandable Cell 1",o("div",{key:"f7892854c7a6284ac783062ddf9a99dda3693dc9",slot:"detail"},"Content of the expandable cell 1")),o("smoothly-table-expandable-cell",{key:"f46176b69a8f96ad79ab20d0c7ad48dc25830437"},"Expandable Cell 2",o("div",{key:"7a77dc2d15bb99724a61c606cc21760361f03187",slot:"detail"},"Content of the expandable cell 2")))),o("smoothly-table-foot",{key:"48288078e1087b9a080970b292019f34c154516f"},o("smoothly-table-row",{key:"36df570d42c5b836f46876778c1be549ddacf5d9"},o("smoothly-table-cell",{key:"b428dbfbc9460d84ca3c86d3e9b3c911e4bf174e"},"Footer Cell"),o("smoothly-table-cell",{key:"3f288427d5c543e60e9aaf1419b265ce7a26d452"},"Footer Cell")))))}static get style(){return u()}},[2,"smoothly-table-demo-simple"]);const j=[{breed:"Abyssinian",country:"Ethiopia",origin:"Natural/Standard",coat:"Short",pattern:"Ticked"},{breed:"Aegean",country:"Greece",origin:"Natural/Standard",coat:"Semi-long",pattern:"Bi- or tri-colored"},{breed:"American Curl",country:"United States",origin:"Mutation",coat:"Short/Long",pattern:"All"},{breed:"American Bobtail",country:"United States",origin:"Mutation",coat:"Short/Long",pattern:"All"},{breed:"American Shorthair",country:"United States",origin:"Natural",coat:"Short",pattern:"All but colorpoint"},{breed:"American Wirehair",country:"United States",origin:"Mutation",coat:"Rex",pattern:"All but colorpoint"},{breed:"Arabian Mau",country:"Arabian Peninsula",origin:"Natural",coat:"Short",pattern:""},{breed:"Australian Mist",country:"Australia",origin:"Crossbreed",coat:"Short",pattern:"Spotted and Classic tabby"},{breed:"Asian",country:"developed in the United Kingdom (founding stock from Asia)",origin:"",coat:"Short",pattern:"Evenly solid"},{breed:"Asian Semi-longhair",country:"United Kingdom",origin:"Crossbreed",coat:"Semi-long",pattern:"Solid"}];function S(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-demo-simple","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-expandable-cell","smoothly-table-foot","smoothly-table-head","smoothly-table-row"];e.forEach((e=>{switch(e){case"smoothly-table-demo-simple":if(!customElements.get(l(e))){customElements.define(l(e),k)}break;case"smoothly-display":if(!customElements.get(l(e))){s()}break;case"smoothly-display-json":if(!customElements.get(l(e))){d()}break;case"smoothly-display-json-object":if(!customElements.get(l(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(l(e))){c()}break;case"smoothly-display-json-record-key":if(!customElements.get(l(e))){m()}break;case"smoothly-table":if(!customElements.get(l(e))){i()}break;case"smoothly-table-body":if(!customElements.get(l(e))){b()}break;case"smoothly-table-cell":if(!customElements.get(l(e))){n()}break;case"smoothly-table-expandable-cell":if(!customElements.get(l(e))){y()}break;case"smoothly-table-foot":if(!customElements.get(l(e))){f()}break;case"smoothly-table-head":if(!customElements.get(l(e))){p()}break;case"smoothly-table-row":if(!customElements.get(l(e))){h()}break}}))}S();export{k as S,S as d};
|
|
2
|
-
//# sourceMappingURL=p-Cw-_pWl-.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as s,d as o,t as l}from"./p-BsZrGTcp.js";const a=()=>`.sc-smoothly-label-h{position:relative;width:max-content;display:flex;justify-content:center;align-items:center;padding:0.15em 0.6em;border-radius:2em;color:rgb(var(--smoothly-default-contrast));background-color:hsl(var(--hue), 85%, 70%)}[shape=rectangle].sc-smoothly-label-h{border-radius:0.3em}`;const r=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){var e;return s(o,{key:"d6dfddb0df4c99de8e075141cf16d3f4ca4c861a",title:this.description,style:{"--hue":(e=this.hue)===null||e===void 0?void 0:e.toString()}},s("slot",{key:"1f56e22de589b47ac208c96ee5c84edd8484e3a4"}))}static get style(){return a()}},[262,"smoothly-label",{hue:[2],description:[1],shape:[513]}]);function c(){if(typeof customElements==="undefined"){return}const e=["smoothly-label"];e.forEach((e=>{switch(e){case"smoothly-label":if(!customElements.get(l(e))){customElements.define(l(e),r)}break}}))}c();export{r as S,c as d};
|
|
2
|
-
//# sourceMappingURL=p-D4fagxgG.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,d as s,t as a}from"./p-BsZrGTcp.js";import{C as d}from"./p-CkXes5c-.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{L as i,d as l}from"./p-BpBeeNcM.js";import{d as c}from"./p-BHEtq3Ue.js";import{d as m}from"./p-DdXfvS4U.js";import{d as r}from"./p-B8ljN4o0.js";import{d as n}from"./p-DM5CKilY.js";import{d as h}from"./p-CR3Ni_o7.js";import{d as f}from"./p-B-l1S16Z.js";import{d as b}from"./p-Ud7Qhkgt.js";import{d as p}from"./p-C3FORjes.js";import{d as y}from"./p-BiQsRsV4.js";import{d as u}from"./p-7ReeDB-R.js";import{d as k}from"./p-Q-gVll-_.js";import{d as g}from"./p-CCzyYE1m.js";import{d as v}from"./p-BMHv8WTp.js";import{d as j}from"./p-B7ws0a8Z.js";import{d as w}from"./p-oWil-NTX.js";import{d as E}from"./p-Qf8o2d67.js";import{d as x}from"./p-CjknknP6.js";import{d as R}from"./p-B6W5V130.js";import{d as B}from"./p-BznhH5yZ.js";import{d as L}from"./p-V6FzDWfL.js";import{d as C}from"./p-fjRiTKvl.js";import{d as D}from"./p-CGg8GrGq.js";import{d as S}from"./p-OfpR2_fh.js";import{d as M}from"./p-DKir2dIt.js";import{d as T}from"./p-BEQ2yAjW.js";import{d as G}from"./p-D4PyTfe4.js";const z=()=>`.sc-smoothly-input-demo-standard-h{max-width:min(calc(100% - 0.5rem), 48rem);margin:auto}.sc-smoothly-input-demo-standard-h h2.sc-smoothly-input-demo-standard,.sc-smoothly-input-demo-standard-h p.sc-smoothly-input-demo-standard{margin:.5rem 0}.sc-smoothly-input-demo-standard-h>.description.sc-smoothly-input-demo-standard{--smoothly-form-input-min-width:18rem}.sc-smoothly-input-demo-standard-h smoothly-input-range[name=borderRadius].sc-smoothly-input-demo-standard{flex-basis:100%}div.input-wrapper.sc-smoothly-input-demo-standard{display:grid;margin-top:1rem;grid-template-columns:1fr 9rem;gap:1rem;position:relative;justify-content:space-around}div.input-wrapper.sc-smoothly-input-demo-standard>[name].sc-smoothly-input-demo-standard{grid-column:1 / 2}div.input-wrapper.sc-smoothly-input-demo-standard>.width.sc-smoothly-input-demo-standard{width:100%;text-align:center;border-bottom:1px dashed black}div.input-wrapper.sc-smoothly-input-demo-standard>.height.sc-smoothly-input-demo-standard{align-content:center;grid-column:2 / 3;border-left:1px dashed black;padding-left:1rem;content:"hello"}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard{width:0.5rem;grid-column:1 / 2;white-space:nowrap;overflow:visible;position:relative;cursor:default}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard::before{content:"";position:absolute;width:100%;top:1.5rem;bottom:-1rem;border:1px dashed black;z-index:2}div.input-wrapper.sc-smoothly-input-demo-standard>.left-padding.sc-smoothly-input-demo-standard:hover::before{bottom:-100vh}`;const F=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.duration={hours:8};this.options={}}connectedCallback(){this.updateInputHeightText()}componentDidRender(){this.updateInputHeightText()}updateInputHeightText(){const e=Number(getComputedStyle(document.documentElement).fontSize.replace("px",""));this.element.querySelectorAll(".height").forEach((t=>{const o=t.clientHeight;t.innerHTML=`<b>${o/e}rem</b> (${o}pixels)`}))}render(){return o(s,{key:"0d47a2dd423a8bcdd889139f74ef2ec375d0ea97"},o("div",{key:"a884b4c59f663f8c47aa9e3736e6a82235e9d276",class:"description"},o("h2",{key:"7c0b8da3728fd79d203de1895c6ae146e1eb8aef"},"Input Standard"),o("p",{key:"10fe94edd162dd158388508c2470359447e6da57"},"Height of input should be ",o("code",{key:"dffd62a251af68595f7c5659a2251ada08999b63"},"3rem")," including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."),o("smoothly-form",{key:"3f8c09fbdce4b808a430cf7266d40d25a596803d",looks:"grid",onSmoothlyFormInput:e=>this.options=e.detail},o("smoothly-input-select",{key:"563356600a698bf3c974a61b79520aa8f77c249f",name:"color"},o("span",{key:"e12af511b6921b2d9f7d50b45fdbe3d5b34f6817",slot:"label"},"Color"),d.values.map((e=>o("smoothly-item",{value:e},o("span",{color:e},e)))),o("smoothly-input-clear",{key:"23c642ae01bb6d0f7aaf653c027eb255ee38d90a",slot:"end"})),o("smoothly-input-select",{key:"fa106dd22e247954860c217692ca37a24fe4f772",name:"looks"},o("span",{key:"c42065aac1f357b670cf2a99bb8be554fb314cd9",slot:"label"},"Looks"),i.values.map((e=>o("smoothly-item",{value:e},e)))),o("smoothly-input-range",{key:"c3b585f898718c9f81ef15c1469eccf08988c00e",label:"Border Radius (rem)",name:"borderRadius",min:0,max:2,step:.25}),o("smoothly-input-checkbox",{key:"8fab112575cb1c02c2019022cee83e5e5e65a9c6",name:"readonly"},"Readonly"),o("smoothly-input-checkbox",{key:"c34401c8b28faa79a139869c0766e8f8af357ca8",name:"disabled"},"Disabled"),o("smoothly-input-checkbox",{key:"672b5bc96fa9e6886c90b5e8354d7dea8c916270",name:"invalid"},"Invalid"),o("smoothly-input",{key:"c395fd3b7ca8d1243cd9e9ea4e006f1fd7ef1a27",name:"errorMessage",value:"This is not a valid value"},"Error Message"),o("smoothly-input-checkbox",{key:"121d1a50813987b2aeac50afe73e40c6a7c4fb8b",name:"showLabel",checked:true},"Show Label"),o("smoothly-input",{key:"265ce4b0e44c8fda1b3188929eb5901e1658bfd5",name:"placeholder"},"Placeholder"),o("smoothly-input-checkbox",{key:"1eafaaaa6696f9f1d696742869d10aba19c2f0c9",name:"alwaysShowGuide"},"Always Show Guide (for date inputs)"))),o("div",{key:"f6a5d34435c177c5dc64c31632dc7a1e65f3e270",class:"input-wrapper",style:{"--smoothly-input-border-radius":`${this.options.borderRadius}rem`}},o("div",{key:"c4d82ee52f0d44015df7eb734c98aa41f7c92827",class:"width"},"width: 100%"),o("div",{key:"2ae68895caf503ba92049a32d0054439f069123b",class:"left-padding"},"padding-left: 0.5rem"),o("smoothly-input",{key:"f5f4ee65ccf3180d2f9181fbc258c79e916e14ee",name:"text",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel,placeholder:this.options.placeholder},this.options.showLabel&&o("span",{key:"bf32f13cfbfa88add92692bf9ee02b836eeea2be"},"Text"),o("smoothly-input-clear",{key:"26639066ab906f755f7a42e154b1954f1f34f19d",slot:"end"})),o("div",{key:"de01a46f39aa6f331c5edf54208a6f9f726337e3",class:"height"}),o("smoothly-input-select",{key:"510076d3203f1fb1e2e506832364710feb15f0c8",name:"month",color:this.options.color,looks:this.options.looks,menuHeight:"6.7items",readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,placeholder:this.options.placeholder},this.options.showLabel&&o("label",{key:"9bf577f8339bb2c4edde779113b069eeb34ef748",slot:"label"},"Select"),o("smoothly-item",{key:"60780147390d2cf0e8da424841a50e27417479e6",value:"1"},"January"),o("smoothly-item",{key:"173c112cb747fe2b85a1633df99fbcb506f58d48",value:"2"},"February"),o("smoothly-item",{key:"a7ee7adea1ea9b92362737cc840aca34a6f8d436",value:"3"},"March"),o("smoothly-item",{key:"d9640cc6ffef2dd85241ca133b7a145624f4fc9a",value:"4"},"April"),o("smoothly-item",{key:"a8481666f7c15b3a0ff0f88602e9dbc4056c415b",value:"5"},"May"),o("smoothly-item",{key:"0e5303b6e803afe7f7e09e4624319e4ff418a689",value:"6"},"June"),o("smoothly-item",{key:"b83eb587d51b7d9921f9d3abef167ff0d936c5ae",value:"7"},"July"),o("smoothly-item",{key:"3d2b9def6e4a70238e61a0eb84328e90fec966ef",value:"8"},"August"),o("smoothly-item",{key:"93a12ce1b0e1dd4c9178520a0ecb517df10087a2",value:"9"},"September"),o("smoothly-item",{key:"d33c600d87e72fa217a90c2d8ed45d2481cee72f",value:"10"},"October"),o("smoothly-item",{key:"fe604dc056ea4a597a8b6d7f1be09c89c879dbdf",value:"11"},"November"),o("smoothly-item",{key:"51bcb469aa305b0ae7cacfdd875022ec39530e6c",value:"12"},"December"),o("smoothly-input-clear",{key:"0833dfa02fbc7cff603e37644baed0a6b8c4e4d5",slot:"end"})),o("div",{key:"79f0f6f00a86ddcc2dfdb4a68b0ebe07bc689c00",class:"height"}),o("smoothly-input-checkbox",{key:"be23f09cb9a5d45fa322399d9990665bb9a4bf34",name:"checkbox",checked:true,color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled},"Check",o("smoothly-input-reset",{key:"b017bae486a26d0987c569284dcb933c32128870",slot:"end"})),o("div",{key:"cfcf1788ea24c44ebdc3b66918475fbeadbb7eb3",class:"height"}),o("smoothly-input-radio",{key:"eb33d705570a661c8a6af35664274d15dadf8651",name:"radio",clearable:true,color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel},this.options.showLabel&&o("label",{key:"34e9e0a159e7b8132dcb8b83b23b71c7b3315950",slot:"label"},"Radio"),o("smoothly-input-radio-item",{key:"c3eeacc48f78063b3a22d3b8dcfd7e883254d3f1",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"7e268ae592952b97ac20e89519d778b2aadb8fcc",selected:true,value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"79e5d297744e5478f49d68cae946c2ecef34eba6",value:"third"},"Label 3"),o("smoothly-input-clear",{key:"dff06e18033a50015e9108d368824f30b811c264",slot:"end"})),o("div",{key:"9d3c81366b646b71f06c601cf57653ff9c99cc0b",class:"height"}),o("smoothly-input-file",{key:"b2c1b865f112c22559951812ad2de40d26290a0e",name:"file",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel,placeholder:this.options.placeholder},this.options.showLabel&&o("span",{key:"4db9c0510129863aeeb39d8752554ae83c69ec5f",slot:"label"},"File"),o("smoothly-input-clear",{key:"3f5ac4383708baf78c2f916a13c0583a315fcd4a",slot:"end"})),o("div",{key:"fed8a7e19c81970c362b4795555e27691b04e7bc",class:"height"}),o("smoothly-input-range",{key:"471ff911649f0fff74d0a6a2f1f6ff9836be1e29",name:"range",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,label:this.options.showLabel?"Range":undefined},o("smoothly-input-clear",{key:"95cd1bfffa55434df83458f93c72dc7628b9e26d",slot:"end"})),o("div",{key:"89529b1695656c2ddf4eb8ec68186200b0b4054a",class:"height"}),o("smoothly-input-color",{key:"22deff755c1da762df9d27dce227432862a4c3ef",name:"color",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,showLabel:this.options.showLabel},this.options.showLabel&&o("span",{key:"62579a646e0c4d6f4a267ab6aa22c1d3a0e24895"},"Color"),o("smoothly-input-clear",{key:"1f3617c7f813399adcfafaa68e919cca440f2814",slot:"end"})),o("div",{key:"a0f45e33d4328c5c534f92929617f6fb42577827",class:"height"}),o("smoothly-input-date",{key:"b2217e88e18bbb4f4bb8ecc768fcd67a022ff05b",name:"date",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel,placeholder:this.options.placeholder,alwaysShowGuide:this.options.alwaysShowGuide},this.options.showLabel&&o("span",{key:"acc7706396f3923db94d65cc12e25df341052a3f"},"Date"),o("smoothly-input-clear",{key:"962a1961612037e2171caa40a25397ff501de2fa",slot:"end"})),o("div",{key:"c2b39662f59227a0feedd322db39055d52f4b3fc",class:"height"}),o("smoothly-input-date-time",{key:"9144e9af51bc9ec45f771eae3b1ab80cec7d3f67",name:"dateTime",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,showLabel:this.options.showLabel},"DateTime",o("smoothly-input-clear",{key:"b40b0db65ab9d9ef61527f14cd951d2e337b3a31",slot:"end"})),o("div",{key:"1e39a4410aae2f4b7bb6501fa7a436c46034028e",class:"height"}),o("smoothly-input-date-range",{key:"8be62583be2bc8955ac923b18155c60ebe7e216a",name:"dateRange",color:this.options.color,looks:this.options.looks,readonly:this.options.readonly,disabled:this.options.disabled,invalid:this.options.invalid,errorMessage:this.options.errorMessage,placeholder:this.options.placeholder,alwaysShowGuide:this.options.alwaysShowGuide,showLabel:this.options.showLabel},this.options.showLabel&&o("span",{key:"a893c51241fd2935145f97dd68ff7fb7226ccdfc"},"Date Range"),o("smoothly-input-clear",{key:"de9180934a9b8396e54aaafb39d25a0777433c81",slot:"end"})),o("div",{key:"a7493fe9750ab795e22aa3fc543405f5d627440a",class:"height"})))}get element(){return this}static get style(){return z()}},[2,"smoothly-input-demo-standard",{duration:[32],options:[32]}]);function H(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-standard","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-file","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-reset","smoothly-input-select","smoothly-item","smoothly-spinner","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-standard":if(!customElements.get(a(e))){customElements.define(a(e),F)}break;case"smoothly-button":if(!customElements.get(a(e))){c()}break;case"smoothly-calendar":if(!customElements.get(a(e))){m()}break;case"smoothly-date-text":if(!customElements.get(a(e))){r()}break;case"smoothly-display":if(!customElements.get(a(e))){n()}break;case"smoothly-display-json":if(!customElements.get(a(e))){h()}break;case"smoothly-display-json-object":if(!customElements.get(a(e))){f()}break;case"smoothly-display-json-primitive":if(!customElements.get(a(e))){b()}break;case"smoothly-display-json-record-key":if(!customElements.get(a(e))){p()}break;case"smoothly-form":if(!customElements.get(a(e))){l()}break;case"smoothly-icon":if(!customElements.get(a(e))){y()}break;case"smoothly-input":if(!customElements.get(a(e))){u()}break;case"smoothly-input-checkbox":if(!customElements.get(a(e))){k()}break;case"smoothly-input-clear":if(!customElements.get(a(e))){g()}break;case"smoothly-input-color":if(!customElements.get(a(e))){v()}break;case"smoothly-input-date":if(!customElements.get(a(e))){j()}break;case"smoothly-input-date-range":if(!customElements.get(a(e))){w()}break;case"smoothly-input-date-time":if(!customElements.get(a(e))){E()}break;case"smoothly-input-file":if(!customElements.get(a(e))){x()}break;case"smoothly-input-month":if(!customElements.get(a(e))){R()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){B()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){L()}break;case"smoothly-input-range":if(!customElements.get(a(e))){C()}break;case"smoothly-input-reset":if(!customElements.get(a(e))){D()}break;case"smoothly-input-select":if(!customElements.get(a(e))){S()}break;case"smoothly-item":if(!customElements.get(a(e))){M()}break;case"smoothly-spinner":if(!customElements.get(a(e))){T()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){G()}break}}))}H();export{F as S,H as d};
|
|
2
|
-
//# sourceMappingURL=p-D8jJZbTy.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as o,H as e,h as s,d as t,t as m}from"./p-BsZrGTcp.js";import{d as l}from"./p-DM5CKilY.js";import{d as a}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d}from"./p-Ud7Qhkgt.js";import{d as i}from"./p-C3FORjes.js";import{d as b}from"./p-BxsOj_LX.js";import{d as c}from"./p-Bh2x2l2j.js";import{d as p}from"./p-BEQ2yAjW.js";import{d as y}from"./p-JLn3QBuQ.js";import{d as n}from"./p-h1R5xtdy.js";import{d as f}from"./p-uCXQl-5J.js";import{d as h}from"./p-BnKGlfV9.js";import{d as u}from"./p-DxVl-YSW.js";import{d as j}from"./p-CZGfvbsC.js";import{d as k}from"./p-CXEfxOpA.js";import{d as E}from"./p-Cgowjgod.js";import{d as w}from"./p-Cw-_pWl-.js";import{d as C}from"./p-Cct10sTX.js";import{d as x}from"./p-C5JaWzfu.js";import{d as g}from"./p-C-dGqk3e.js";import{d as B}from"./p-CuC7MNAM.js";import{d as A}from"./p-DbS9bWfm.js";import{d as Q}from"./p-MCxlBxSA.js";import{d as S}from"./p-CjAkXCwI.js";const W=()=>`.sc-smoothly-table-demo-h{display:grid;gap:5rem;box-sizing:border-box;max-width:80rem;width:100%;margin:auto;padding:2rem}`;const X=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return s(t,{key:"35794212738d56a6ee77383f2cdee89a57db82f1"},s("smoothly-table-demo-filler-row",{key:"4eeaba2055e5ad58c8e9942264a5f8d81c04e29e"}),s("smoothly-table-demo-group",{key:"e8d15d7d715d993385df9de46b4dc42597f3a120"}),s("smoothly-table-demo-colspan",{key:"7ae3ade7115e92e55cb992749b6a5e5a6371634d"}),s("smoothly-table-demo-simple",{key:"edd4c2e7e16c3c9bbb2e28f4321b66fad061e339"}),s("smoothly-table-demo-nested-no-cell",{key:"d07a40ff623a290ea90367b1b170ecd93b150565"}))}static get style(){return W()}},[2,"smoothly-table-demo"]);function z(){if(typeof customElements==="undefined"){return}const o=["smoothly-table-demo","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-lazy","smoothly-load-more","smoothly-spinner","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-demo-colspan","smoothly-table-demo-filler-row","smoothly-table-demo-group","smoothly-table-demo-nested-no-cell","smoothly-table-demo-nested-no-cell-inner","smoothly-table-demo-simple","smoothly-table-expandable-cell","smoothly-table-expandable-row","smoothly-table-filler-row","smoothly-table-foot","smoothly-table-head","smoothly-table-row","smoothly-table-row-group"];o.forEach((o=>{switch(o){case"smoothly-table-demo":if(!customElements.get(m(o))){customElements.define(m(o),X)}break;case"smoothly-display":if(!customElements.get(m(o))){l()}break;case"smoothly-display-json":if(!customElements.get(m(o))){a()}break;case"smoothly-display-json-object":if(!customElements.get(m(o))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(m(o))){d()}break;case"smoothly-display-json-record-key":if(!customElements.get(m(o))){i()}break;case"smoothly-lazy":if(!customElements.get(m(o))){b()}break;case"smoothly-load-more":if(!customElements.get(m(o))){c()}break;case"smoothly-spinner":if(!customElements.get(m(o))){p()}break;case"smoothly-table":if(!customElements.get(m(o))){y()}break;case"smoothly-table-body":if(!customElements.get(m(o))){n()}break;case"smoothly-table-cell":if(!customElements.get(m(o))){f()}break;case"smoothly-table-demo-colspan":if(!customElements.get(m(o))){h()}break;case"smoothly-table-demo-filler-row":if(!customElements.get(m(o))){u()}break;case"smoothly-table-demo-group":if(!customElements.get(m(o))){j()}break;case"smoothly-table-demo-nested-no-cell":if(!customElements.get(m(o))){k()}break;case"smoothly-table-demo-nested-no-cell-inner":if(!customElements.get(m(o))){E()}break;case"smoothly-table-demo-simple":if(!customElements.get(m(o))){w()}break;case"smoothly-table-expandable-cell":if(!customElements.get(m(o))){C()}break;case"smoothly-table-expandable-row":if(!customElements.get(m(o))){x()}break;case"smoothly-table-filler-row":if(!customElements.get(m(o))){g()}break;case"smoothly-table-foot":if(!customElements.get(m(o))){B()}break;case"smoothly-table-head":if(!customElements.get(m(o))){A()}break;case"smoothly-table-row":if(!customElements.get(m(o))){Q()}break;case"smoothly-table-row-group":if(!customElements.get(m(o))){S()}break}}))}z();export{X as S,z as d};
|
|
2
|
-
//# sourceMappingURL=p-JB57brc4.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as a,h as o,d as l,t}from"./p-BsZrGTcp.js";const s=()=>`.sc-smoothly-table-h{display:grid;grid-template-columns:repeat(var(--columns), auto);color:rgb(var(--smoothly-table-foreground));stroke:rgb(var(--smoothly-table-foreground));fill:rgb(var(--smoothly-table-foreground))}`;const n=e(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}this.columns=1}smoothlyTableExpandableRowChange(e){e.stopPropagation()}smoothlyTableExpandableCellChange(e){e.stopPropagation()}render(){return o(l,{key:"3a7738442ae2ebe705e9c75fb9aa06862a4157e8",style:{"--columns":this.columns.toString()}},o("slot",{key:"67b59f54351d43e5c3fdf73c77aa991b2fe73acc"}))}static get style(){return s()}},[262,"smoothly-table",{columns:[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]]);function r(){if(typeof customElements==="undefined"){return}const e=["smoothly-table"];e.forEach((e=>{switch(e){case"smoothly-table":if(!customElements.get(t(e))){customElements.define(t(e),n)}break}}))}r();export{n as S,r as d};
|
|
2
|
-
//# sourceMappingURL=p-JLn3QBuQ.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as a,d as o,t as s}from"./p-BsZrGTcp.js";import{d as b}from"./p-BHEtq3Ue.js";import{d as c}from"./p-DyL_ilIk.js";import{d as l}from"./p-2Y5tLcQ1.js";const d=()=>`.sc-smoothly-tabs-demo-h{display:block}[hidden].sc-smoothly-tabs-demo-h{display:none}.sc-smoothly-tabs-demo-h>*.sc-smoothly-tabs-demo{margin:auto;max-width:1200px;width:100%;margin-block:5rem}.sc-smoothly-tabs-demo-h code.sc-smoothly-tabs-demo{color:rgb(var(--smoothly-medium-contrast));background-color:rgb(var(--smoothly-medium-color));padding-inline:0.25rem;border-radius:0.25rem}`;const m=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return a(o,{key:"5781b5ebdcad292a5b08f40f31ebebb24222014f"},a("div",{key:"0988223a7ffccdb2cab03999dc462ced6f6996cd"},a("smoothly-button",{key:"e97edc5cf05136e6ab3032e6271275a6fdc947b9",color:"primary",onClick:()=>this.extraTab1=!this.extraTab1},this.extraTab1?"Remove":"Add"," tab")),a("smoothly-tabs",{key:"87a0b317fbfb07a8f2f03ec0e866dc4376c7cae2",tabs:"multiple"},a("smoothly-tab",{key:"d644206d3f7b6baf6c0900f2f461d18f3dc16e23",label:"Single Tab",open:true},a("strong",{key:"d02c9f64638183e494f0c903aedb31ecb07e5791"},"Single Tab content here.")," If only one tab is available setting ",a("code",{key:"a62e17aa9f7ac71c74a2796f9491610ef3ecaadc"},"tabs")," to"," ",a("code",{key:"b14b0cdbaad33dcda4a8a824e60351779966895b"},'"multiple"')," will hide the tab navigation and display the single tab's content directly."),this.extraTab1&&a("smoothly-tab",{key:"6576f69475e5c5a97ffca76f2481acc6983ef451",label:"Extra tab"},"When there are more then one tab, the tab navigation will show.")),a("div",{key:"55be8c4f25e2a4bb806a355307b48f8a0c3430d3"},a("smoothly-button",{key:"e456813c237a864bc2f21e6af147a63f62daec22",color:"primary",onClick:()=>this.extraTab2=!this.extraTab2},this.extraTab2?"Remove":"Add"," tab")),a("smoothly-tabs",{key:"2cafcf41ba65de3f65ce1090e03d7e2f8690e2f5"},a("smoothly-tab",{key:"f67c211b8436be3361fe382c67c88690ad745e1e",label:"Disabled tab",tooltip:"Tooltip for test3",disabled:true},"this is a test message again!"),a("smoothly-tab",{key:"731625fa3d088cc441f8434af3a6723463d10e0d",label:"test1",tooltip:"Tooltip for test1",open:true},"Hello world!"),a("smoothly-tab",{key:"27af20a8bd5902978986f98b0b54d5bf8cb0cb0e",label:"test2"},"this is a test message!"),this.extraTab2&&a("smoothly-tab",{key:"76ce0bd1c7fe46c76b1401bd7dfd5d3dde777fa6",label:"test-extra"},"this is a test message!")))}static get style(){return d()}},[2,"smoothly-tabs-demo",{extraTab1:[32],extraTab2:[32]}]);function i(){if(typeof customElements==="undefined"){return}const e=["smoothly-tabs-demo","smoothly-button","smoothly-tab","smoothly-tabs"];e.forEach((e=>{switch(e){case"smoothly-tabs-demo":if(!customElements.get(s(e))){customElements.define(s(e),m)}break;case"smoothly-button":if(!customElements.get(s(e))){b()}break;case"smoothly-tab":if(!customElements.get(s(e))){c()}break;case"smoothly-tabs":if(!customElements.get(s(e))){l()}break}}))}i();export{m as S,i as d};
|
|
2
|
-
//# sourceMappingURL=p-eptsxAXs.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,d as s,t as r}from"./p-BsZrGTcp.js";const a=()=>`.sc-smoothly-table-body-h{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;color:rgb(var(--smoothly-table-foreground));background-color:rgb(var(--smoothly-table-background))}`;const l=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return o(s,{key:"383e7918b3e1e57f2970da2d97f19f2628a53e64"},o("slot",{key:"8d9059eed589799ad9eea2132a0bd2b10aabc03e"}))}static get style(){return a()}},[262,"smoothly-table-body"]);function d(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-body"];e.forEach((e=>{switch(e){case"smoothly-table-body":if(!customElements.get(r(e))){customElements.define(r(e),l)}break}}))}d();export{l as S,d};
|
|
2
|
-
//# sourceMappingURL=p-h1R5xtdy.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,c as o,h as a,d as s,t as c}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d}from"./p-BoHJT9bR.js";import{d as l}from"./p-BHEtq3Ue.js";import{d as i}from"./p-DX3KKRD9.js";import{d as b}from"./p-DdXfvS4U.js";import{d as f}from"./p-B8ljN4o0.js";import{d as n}from"./p-DM5CKilY.js";import{d as y}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d as u}from"./p-Ud7Qhkgt.js";import{d as h}from"./p-C3FORjes.js";import{d as p}from"./p-BpBeeNcM.js";import{d as k}from"./p-BiQsRsV4.js";import{d as v}from"./p-7ReeDB-R.js";import{d as j}from"./p-Q-gVll-_.js";import{d as g}from"./p-CCzyYE1m.js";import{d as E}from"./p-BMHv8WTp.js";import{d as x}from"./p-BZJNdp6g.js";import{d as D}from"./p-B7ws0a8Z.js";import{d as S}from"./p-DVbSVIVZ.js";import{d as w}from"./p-oWil-NTX.js";import{d as C}from"./p-Qf8o2d67.js";import{d as z}from"./p-CsHiDnB-.js";import{d as B}from"./p-D8jJZbTy.js";import{d as L}from"./p-uWmGtcyP.js";import{d as I}from"./p-CjknknP6.js";import{d as A}from"./p-B6W5V130.js";import{d as M}from"./p-COTO4dlW.js";import{d as N}from"./p-BznhH5yZ.js";import{d as R}from"./p-V6FzDWfL.js";import{d as T}from"./p-fjRiTKvl.js";import{d as H}from"./p-gJF_-tuy.js";import{d as V}from"./p-CGg8GrGq.js";import{d as Z}from"./p-OfpR2_fh.js";import{d as F}from"./p-xbCL6ChL.js";import{d as J}from"./p-DKir2dIt.js";import{d as Q}from"./p-BEQ2yAjW.js";import{d as W}from"./p-DyL_ilIk.js";import{d as K}from"./p-2Y5tLcQ1.js";import{d as O}from"./p-D4PyTfe4.js";const G=()=>`.sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo{display:flex}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo smoothly-input.sc-smoothly-input-demo{flex:1}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{max-width:min(calc(100% - 2rem), 56rem);margin:auto}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-grow:1;min-width:min(100%, var(--smoothly-form-input-min-width, 18rem));flex-basis:40%}`;const U=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyUrlUpdate=o(this,"smoothlyUrlUpdate");this.duration={hours:8};this.alphanumeric="!@##";this.numbers=[1,2,3,4,5,6,7,8,9]}render(){return a(s,{key:"77487e04cd393519b5080f752b3cba328ae8bbd3"},a("smoothly-input-demo-standard",{key:"f9de577b637efcaffe3a92dc55bff25520e0384f"}),a("smoothly-input-date-demo",{key:"cdb1c974c8cb5844cf800f8fc52c407479db307e"}),a("smoothly-input-demo-user-input",{key:"38bb2d03ef20e3e8e5737e423f4f54c9fad4f973"}),a("smoothly-input-demo-radio",{key:"999e3b97199fbcb547e83c589c1447e726f4754a"}),a("div",{key:"ee8094197dd274791200a010baedd05db71b888a",class:"inputs"},a("h2",{key:"5b65b420015ad7bb32ef059f6aee019400cdc6b3"},"Calendar"),a("smoothly-input-date",{key:"375cad6d89a6f80cbe8e67cbeb1759e0cb28ab11",name:"some-date"},"Calendar"),a("smoothly-input-date-time",{key:"797e6d6ccbbba14258926f21f202eacad2b85d76",name:"someDateTime",value:m.DateTime.now()},"DateTime"),a("h2",{key:"a49689e5821a93c721be25c6faa570f05402582b"},"Date Range"),a("smoothly-input-date-range",{key:"ab71a879e70b97431da2f0beacf54dc093ca0a7a",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-01",max:"2025-01-31"}),a("smoothly-input-date-range",{key:"703952d0ba703d6a8cc26b4bef028d7a48c8c4f6",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2024-12-30"},a("smoothly-input-reset",{key:"5bd07b3504d054442cefb2ba9db61c4d83ed39c9",slot:"end",size:"icon"})),a("smoothly-input-date-range",{key:"39c7ae936d2a952626f20dcc19ae0a52885db2f5",looks:"grid",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2025-12-30",showLabel:false,style:{"--smoothly-input-border-radius":"0.5rem"}},a("smoothly-input-clear",{key:"ef4179eba332c4aefcccec094f4cd75e0a724b3d",slot:"end",size:"icon"})),a("h2",{key:"8b97455a27099963ab131055f4d43f0e050f4cc7"},"Date"),a("smoothly-input-date",{key:"c167353ed6a2b37488e709929e8dd7691ff3b0b7"},"Date"),a("smoothly-input-date",{key:"f0cfeb105e03c511c2b2c4daa5cd618fb1bcbfb4",showLabel:false,value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),a("smoothly-input-date",{key:"771efe6acb85206eb87024409a78ed52d3907af0",value:"2021-10-28"},"Date",a("smoothly-input-reset",{key:"8e009b6d59da638ada992b07ddb2c2d1c071be55",slot:"end",size:"icon"})),a("smoothly-input-date",{key:"936b5cdea71f19463922d25d2ed9468df89586ce",value:"2021-10-28"},"Date",a("smoothly-input-clear",{key:"ad177348cf1f5353d3a2b7c7317fbd71c3614f61",slot:"end",size:"icon"})),a("h2",{key:"475ca58552f978b55eba5222267d18a0d78938c5"},"Select"),a("div",{key:"7eae0b4cee9e74e38e9e726934101066f870aeec",class:"select-div"},a("smoothly-input-select",{key:"16d9addd365f75e1ff255d9cd94bb90b20901fd3",name:"select-dessert",looks:"border"},a("label",{key:"7e7550a94183d31ae99bc7dd85eda059c755e3d0",slot:"label"},"Select with clear button"),a("smoothly-item",{key:"62b741c6154152014d1206fd2481984aa3097d8f",value:"1"},"Ice cream"),a("smoothly-item",{key:"b45f30884b44e05528555295bd11b4e01fc5d3a4",value:"2"},"Sponge cake"),a("smoothly-item",{key:"7b2c3712a21be6943acf8eb1557ddd9fa101320c",value:"3",disabled:true},"Disabled Item"),a("smoothly-item",{key:"47bbd5ccbaaa9977688f2db60e3b01ee44c37806",value:"4"},"Cookie"),a("smoothly-item",{key:"0965a9480aa7dfad59a07bc19d49ccf6a5a7d52d",value:"5"},"Croissant"),a("smoothly-item",{key:"8298f1a72b728eeb490ba52d31f34e4a5d667da5",value:"6"},"Chocolate fondue"),a("smoothly-input-clear",{key:"6a5b85b80fd07f85f8d7ca7704e3a80174bd6e6e",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"e5bc84b980a2bd6cca07a580f15817c3b7dc988b",multiple:true,name:"select-dessert-multiple",looks:"border"},a("label",{key:"f73a74a039e1b892a444591ba6c86ab184dbcbbb",slot:"label"},"Select multiple with reset button"),a("smoothly-item",{key:"a863ec926936998f9bbf571b0250ed0f6d0d0a9c",value:"ice cream"},"Ice cream"),a("smoothly-item",{key:"7dc67e9285547dda4daad5136837e80450ac13ea",value:"sponge cake"},"Sponge cake"),a("smoothly-item",{key:"55dd30ea0dabd3481795c13c350ee7052207aad6",selected:true,value:"cookie"},"Cookie"),a("smoothly-item",{key:"213ff1fbc6a5c445bbbce07140dbd18ee162cb89",value:"croissant"},"Croissant"),a("smoothly-item",{key:"abc065dab103fdaeb511f56c8db239b82cc48577",selected:true,value:"chocolate fondue"},"Chocolate fondue"),a("smoothly-input-reset",{key:"48922c5a07288a94407c4dc1f55305f567d45893",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"3ebed3f650a369cfbd7850584efd9bcf79c6f846",name:"spirit-animals",looks:"border",mutable:true},a("label",{key:"73f73f2bce086f81b7fcb46f4808bd5732783aef",slot:"label"},"Select or add new options"),a("smoothly-item",{key:"beb4a3b4c715c8b1f2bb5b765fb742da64363cb7",value:"manatee"},"Manatee"),a("smoothly-item",{key:"f5c8c7fccb97ac840b42220f8380035a7ac7088f",selected:true,value:"cthulu"},"Cthulu")),a("smoothly-input-select",{key:"5163d4d246184319955f0c1cc756f9cee765847b",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"2c7ab7ef09f08930f072f5e2e51677951c84ea50",value:"folder",selected:true},a("smoothly-icon",{key:"86f4ed31d2e4ff382aece3cedf8f0d0265454b8a",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"afc8fbf7dba66206051d2ae4d7df8b16a0c3b2cf",value:"camera"},a("smoothly-icon",{key:"a9a115b3a8038393e75e72ef38742f3bb1b60339",size:"small",name:"camera-outline"}))),a("smoothly-input-select",{key:"d7aac15a3ff5c7271fd22cab0621aa6d4f69cb99",ordered:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"db0eba7390d2b64d810f07898b7b646f0d6a360d",slot:"label"},"Alphabet ordered select"),Array.from({length:26}).map(((e,t)=>String.fromCharCode(t+65))).map((e=>a("smoothly-item",{value:e,selected:e=="H"},e)))),a("smoothly-input-select",{key:"c61728d55e5e96dc81d5df36c4fa38ed802f8b00",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},a("label",{key:"5768a186da1bf2fa4fbc80fb91478af031981694",slot:"label"},"Month multiple select"),a("smoothly-item",{key:"950676b7ffb90bc765f2a0c24cb40c631f64add8",value:"1"},"January"),a("smoothly-item",{key:"57e77e1ca64869441e44e0c753a0c132e6c8a152",value:"2"},"February"),a("smoothly-item",{key:"2ee03ce05d5dfa6ec01fc3cde97051a10d2215d9",value:"3"},"March"),a("smoothly-item",{key:"9c9dfdf2dd5ebdfffdc92732b7dff4b770632775",value:"4"},"April"),a("smoothly-item",{key:"35a1ce3376a84c830c00fba8080c093ef6f4830a",value:"5"},"May"),a("smoothly-item",{key:"cbf4b76e9f8324b29626555ec612f5ee5da8d47b",value:"6"},"June"),a("smoothly-item",{key:"6f7bc0aaeb4ff6e5d0427ab5226924b625086419",value:"7"},"July"),a("smoothly-item",{key:"72d72d65b42e1250b527023364c2bb0c79178a37",value:"8"},"August"),a("smoothly-item",{key:"5d6f57f7ca75f90c30aef101bbbdbb9a26aafb69",value:"9"},"September"),a("smoothly-item",{key:"08d57569eab4d0948f87eaeb8d5e1b936ee17839",value:"10"},"October"),a("smoothly-item",{key:"99e91533b340a40db158f87ed28fb371ebd8eb08",value:"11"},"November"),a("smoothly-item",{key:"4fd40ffef20baed8a6f5ca58768c78693b3a45a4",value:"12"},"December")),a("div",{key:"e1c03afba7cd1421976e4a4c59beac860dedf723",class:"select-div-row"},a("smoothly-input-select",{key:"4067c5e666655fe1b474a73a58241373c826ab03",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"0589c79c7fa7cf31dbad4ab0e8be68523e684299",value:"folder",selected:true},a("smoothly-icon",{key:"56813db2ee593db9227920662d646f7493e0515a",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"3937b7ebb395698a854b2eeb9aeed188fe8fd78d",value:"camera"},a("smoothly-icon",{key:"ce39494e071c12c23a475c31eb448512d2fa0f25",size:"small",name:"camera-outline"})),a("smoothly-item",{key:"9a65176e01981ccfd312fd4d3d4b255760891699",value:"boat"},a("smoothly-icon",{key:"e9e97ae824d225a6dc33fa997b5e46a8bc3c2812",size:"small",name:"boat-outline"}))),a("smoothly-input-select",{key:"1f21eb6eded9dffd449157755bad1b84f7a52981",name:"select-number",clearable:false},this.numbers.map((e=>a("smoothly-item",{value:"number",selected:e===3},e)))),a("smoothly-input",{key:"f4afcff411357a29b89fe0a52239ba7c677cb490",name:"name",value:"Sten Qvist"},"Name"))),a("h2",{key:"9883744d26d1eec36ed1082407e3656d4ea0d1f7"},"Duration"),a("smoothly-input",{key:"fa507aaa61557ca41837cf906a78fef5d16affc0",name:"duration",type:"duration",placeholder:"hh:mm",value:this.duration,onSmoothlyInput:e=>this.duration=e.detail.duration},"Duration"),a("smoothly-input",{key:"f5c027a3ed22026819a2e88ddc5300afe7b8c900",name:"duration",type:"duration",value:this.duration,placeholder:"-hh:mm",onSmoothlyInput:e=>{const t=e.detail.duration;this.duration=t}},"Duration"),a("h2",{key:"f178f51facdeb434a16ecc35c0820ee5035f7d6c"},"Integer with Min/Max"),a("smoothly-input",{key:"acc0577e2f0679be92ef3ba362210cd1953a73ff",name:"days",type:"integer",min:0,max:365},"Days per year (0-365)"),a("smoothly-input",{key:"9a24258cbec32021cf1ec3506f7b4cadf2f459e5",name:"hour",type:"integer",min:0,max:23},"Hours per day (0-23)"),a("smoothly-input",{key:"95a122168d96126ef14f48810daf29867fba07b4",name:"minute",type:"integer",min:0,max:59},"Minutes per hour (0-59)"),a("smoothly-input",{key:"9631a9f894bbefd71bb298683f3333c4357db73b",name:"minute",type:"integer",min:18,max:120},"Age (18-120)"),a("h2",{key:"c6f4545ede80c54a354bc0f01be6072b19ea2bb1"},"Invalid text with warning icon and tooltip"),a("smoothly-input",{key:"ae5cf8e08b0887db2752d0bf39a4c5a14cb1027c",copyable:true,name:"alphanumeric",invalid:!/^[a-zA-Z0-9]+$/.test(this.alphanumeric),errorMessage:"Only alphanumeric allowed",value:this.alphanumeric,onSmoothlyInput:e=>this.alphanumeric=e.detail.alphanumeric},"Alphanumeric"),a("h2",{key:"22724babf43bccb1d64e21646130dd8f58c9505c"},"Identifiers"),a("smoothly-input",{key:"c5a7f350b414fd154ab54c889aeab223cbe23d16",type:"identifier-code"},"Code"),a("smoothly-input",{key:"de0f4aaf40eca11ccb24293c3976ade34f91aaa5",type:"identifier-attribute"},"Attribute"),a("smoothly-input",{key:"fda65727abf9aa451b8b7f755f7bb92fa43afb93",type:"identifier-snake"},"Snake"),a("smoothly-input",{key:"11de906823b2e325f3f9548b019aa8234722656a",type:"identifier-pascal"},"Pascal"),a("smoothly-input",{key:"ba3477e4964b1336e6198db348640d7144fbd06c",type:"identifier-camel"},"Camel"),a("h2",{key:"059c263a0ec79a3986d4e57337a2949c755feb70"},"Input Alternatives"),a("smoothly-input",{key:"8fbe4f80ac2d1d4bd1093a2b60103e248e4169f8",type:"text",name:"name.last"},a("smoothly-icon",{key:"cd0f121fd2ff7bbc8cdc9cfa9cf730cef08e8f11",name:"checkmark-circle",slot:"start"}),"First Name"),a("smoothly-input",{key:"adf350f5ec052599e95fbf6dcc7c16fa64bcc277",type:"text",name:"name.first"},"Last Name",a("smoothly-icon",{key:"4d0ca4a746cce893302008a8b66f07df9a96604c",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"cfb36cd378ca610efbb3d6252e70391985f9b00f",type:"text",name:"name.first",placeholder:"Smith"},"Last Name",a("smoothly-icon",{key:"9fbb53db768468228c7716881cc996d20b77fba3",name:"checkmark-circle",slot:"end"})),a("smoothly-input",{key:"1383590d66cba4e38a1beb82cfafb551ea1661fd",placeholder:"test"}),a("smoothly-input-submit",{key:"13cc6546a1eb274496d10c27c3c80a2bca7dca66",slot:"submit",fill:"solid",onSubmit:e=>alert(e),color:"success"}),a("h4",{key:"53f6a46a5524668011994c2be07b47ab4d2fb1d0"},"Smoothly checkboxes"),a("div",{key:"cc5f357f8e9b673c95de607251ef97437f0f2afc",class:"checkbox-group"},a("smoothly-input-checkbox",{key:"b12ff9cf6d4c042dfc079dea8ed8f92d95a70c68",disabled:true,name:"first-checkbox"},a("smoothly-icon",{key:"7daedabd25cb229c4512c017efb990cca3a08cc8",name:"checkmark-circle",slot:"start",size:"tiny"}),"First"),a("smoothly-input-checkbox",{key:"0836da075b7030bee160bb8931c54092a5b93ef8",name:"second-checkbox",checked:true},a("smoothly-icon",{key:"4d94e2fe73e6580791da9d9a872cd8d4649df36f",name:"checkmark-circle",slot:"start",size:"tiny"}),"second",a("smoothly-input-clear",{key:"117ca8ae52817149a678b4a100a24c3a4829a9b3",size:"icon",slot:"end"})),a("smoothly-input-checkbox",{key:"6e99923c8c082c4727eea3c75b77b23d86eed801",name:"third-checkbox"},"3rd")),a("h4",{key:"3a807db156e197c5192388886889988b874018d8"},"Smoothly Radio Buttons"),a("smoothly-input-radio",{key:"85e1ce54231e39c9f248fe1c7829a2b9cc7775e3",clearable:true,name:"radioFirstInput"},a("smoothly-icon",{key:"72e48b10d12022b72d30591bc74af1c4cb516bf7",name:"checkmark-circle",slot:"start"}),a("label",{key:"5b67d1eaaf73b84abb3a3e26ddd3fe27c9993e23",slot:"label"},"Clearable"),a("smoothly-input-radio-item",{key:"06f796bdde5479565e1ee6258ad73f0b7c4327f5",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"14ab365a1da0fe3b94f1454549e3040df215d9c8",selected:true,value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"ccaf48dc6917aeb500653f637c4b30883814e61a",value:"third"},"Label 3"),a("smoothly-input-clear",{key:"3cc0373ca5e87e2bb0916b2afed9e4cd70515866",size:"icon",slot:"end"})),a("smoothly-input-radio",{key:"cdd729d929f57261d1422a45d83f6332912ae399",name:"radioSecondInput"},a("label",{key:"95d8374b3914b2f88605e2e90cb607bb423fed2b",slot:"label"},"Not clearable"),a("smoothly-input-radio-item",{key:"b1cd33f88df8c1161b203675a4e02c8815954f96",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"b797b785615fbfd4b881db249c99c39bf0fa6504",value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"8557067758ca9f7acc6b35db56e9c6aee2c49f43",value:"third"},"Label 3"),a("smoothly-input-radio-item",{key:"bdbbcf1228089b03cae001cdb573b8c7f37f08df",value:"fourth"},"Label 4"),a("smoothly-input-radio-item",{key:"414016c094bc15ceb37955e3adf1dc18db87e45c",value:"fifth"},"Label 5"),a("smoothly-input-radio-item",{key:"ba3a6a393f5f3af34eb12ec5391d0a6a1eb03e04",value:"sixth"},"Label 6")),a("smoothly-input-range-demo",{key:"97406c6ddb794364f4a1b53c5e1ed551ed8a1ad6"}),a("smoothly-input-color-demo",{key:"0676c5e29637f2097dd0fb084d6507ec9c5c218c"}),a("smoothly-input-price-demo",{key:"80c25cdc1a8d1c2d88df5c680527d5638da91d65"}),a("smoothly-back-to-top",{key:"6aad374c875c762e4e4aff5567aae10300fbd7be"})))}static get style(){return G()}},[2,"smoothly-input-demo",{duration:[32],alphanumeric:[32]}]);function _(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo","smoothly-back-to-top","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","smoothly-input-file","smoothly-input-month","smoothly-input-price-demo","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-range-demo","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo":if(!customElements.get(c(e))){customElements.define(c(e),U)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){d()}break;case"smoothly-button":if(!customElements.get(c(e))){l()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){i()}break;case"smoothly-calendar":if(!customElements.get(c(e))){b()}break;case"smoothly-date-text":if(!customElements.get(c(e))){f()}break;case"smoothly-display":if(!customElements.get(c(e))){n()}break;case"smoothly-display-json":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){u()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){h()}break;case"smoothly-form":if(!customElements.get(c(e))){p()}break;case"smoothly-icon":if(!customElements.get(c(e))){k()}break;case"smoothly-input":if(!customElements.get(c(e))){v()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){j()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){g()}break;case"smoothly-input-color":if(!customElements.get(c(e))){E()}break;case"smoothly-input-color-demo":if(!customElements.get(c(e))){x()}break;case"smoothly-input-date":if(!customElements.get(c(e))){D()}break;case"smoothly-input-date-demo":if(!customElements.get(c(e))){S()}break;case"smoothly-input-date-range":if(!customElements.get(c(e))){w()}break;case"smoothly-input-date-time":if(!customElements.get(c(e))){C()}break;case"smoothly-input-demo-radio":if(!customElements.get(c(e))){z()}break;case"smoothly-input-demo-standard":if(!customElements.get(c(e))){B()}break;case"smoothly-input-demo-user-input":if(!customElements.get(c(e))){L()}break;case"smoothly-input-file":if(!customElements.get(c(e))){I()}break;case"smoothly-input-month":if(!customElements.get(c(e))){A()}break;case"smoothly-input-price-demo":if(!customElements.get(c(e))){M()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){N()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){R()}break;case"smoothly-input-range":if(!customElements.get(c(e))){T()}break;case"smoothly-input-range-demo":if(!customElements.get(c(e))){H()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){V()}break;case"smoothly-input-select":if(!customElements.get(c(e))){Z()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){F()}break;case"smoothly-item":if(!customElements.get(c(e))){J()}break;case"smoothly-spinner":if(!customElements.get(c(e))){Q()}break;case"smoothly-tab":if(!customElements.get(c(e))){W()}break;case"smoothly-tabs":if(!customElements.get(c(e))){K()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){O()}break}}))}_();export{U as S,_ as d};
|
|
2
|
-
//# sourceMappingURL=p-hcVaU3nW.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as s,d as o,t as c}from"./p-BsZrGTcp.js";import{d as m}from"./p-BiQsRsV4.js";import{d as n}from"./p-OfpR2_fh.js";import{d as l}from"./p-DKir2dIt.js";const i=()=>``;const r=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.element="smoothly-css"}render(){return s(o,{key:"cb423fa145741455a271c877f13093c5172b7dca"},s("smoothly-input-select",{key:"ef47ed51099360c415eeb7f9ddfa89d3ac89cf76",name:"theme",looks:"border",onSmoothlyInput:e=>{const t=document.querySelector(`#${this.element}`);if(t instanceof HTMLLinkElement&&typeof e.detail.theme=="string"){t.href=e.detail.theme}}},s("label",{key:"2b54b1ae3b0a7f6be35234ec90b5f4178058d396",slot:"label"},"Select theme"),s("slot",{key:"6612441eed70e810214e212aec0026e1c5015000"})))}static get style(){return i()}},[262,"smoothly-theme-picker",{element:[1]}]);function a(){if(typeof customElements==="undefined"){return}const e=["smoothly-theme-picker","smoothly-icon","smoothly-input-select","smoothly-item"];e.forEach((e=>{switch(e){case"smoothly-theme-picker":if(!customElements.get(c(e))){customElements.define(c(e),r)}break;case"smoothly-icon":if(!customElements.get(c(e))){m()}break;case"smoothly-input-select":if(!customElements.get(c(e))){n()}break;case"smoothly-item":if(!customElements.get(c(e))){l()}break}}))}a();export{r as S,a as d};
|
|
2
|
-
//# sourceMappingURL=p-rRkypR5s.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,H as t,h as o,d as s,t as i}from"./p-BsZrGTcp.js";import{i as a}from"./p-BVKhAhsB.js";import{d as m}from"./p-BHEtq3Ue.js";import{d as n}from"./p-DdXfvS4U.js";import{d as r}from"./p-B8ljN4o0.js";import{d as l}from"./p-DM5CKilY.js";import{d as c}from"./p-CR3Ni_o7.js";import{d}from"./p-B-l1S16Z.js";import{d as h}from"./p-Ud7Qhkgt.js";import{d as u}from"./p-C3FORjes.js";import{d as p}from"./p-BiQsRsV4.js";import{d as f}from"./p-7ReeDB-R.js";import{d as y}from"./p-Q-gVll-_.js";import{d as b}from"./p-BMHv8WTp.js";import{d as k}from"./p-B7ws0a8Z.js";import{d as j}from"./p-oWil-NTX.js";import{d as g}from"./p-Qf8o2d67.js";import{d as x}from"./p-B6W5V130.js";import{d as E}from"./p-BznhH5yZ.js";import{d as v}from"./p-V6FzDWfL.js";import{d as I}from"./p-fjRiTKvl.js";import{d as C}from"./p-OfpR2_fh.js";import{d as U}from"./p-DKir2dIt.js";import{d as S}from"./p-D4PyTfe4.js";const B=()=>`.sc-smoothly-input-demo-user-input-h{max-width:min(100%, 56rem);margin-inline:auto;display:grid;grid-template-columns:12rem 1fr;gap:1rem}.sc-smoothly-input-demo-user-input-h>div.sc-smoothly-input-demo-user-input{grid-column:1 / -1}@media (max-width: 48rem){.sc-smoothly-input-demo-user-input-h{grid-template-columns:1fr}}`;const w=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.values=["zero","one","two","three","four","five"];this.colors=["#ff0000","#00ff00","#0000ff","#ffff00","#00ffff","#ff00ff"]}increment(e){return e===undefined?0:(e+1)%this.values.length}render(){var e,t;return o(s,{key:"e5373df530143e9be043fef3040f0c28e4e6befd"},o("div",{key:"e43682af956adff7d7717bc0460eed3b1bb95d84"},o("h2",{key:"4332098a4a62650fee3ff36df29bbab86ece7e9d"},"User Input Event"),o("p",{key:"b20f95a50866658227c61b92cd110ec481da9aea"},"These inputs demonstrate how user input is handled. The ",o("code",{key:"d7966a4bf162c151d82b4202e72cd090eaf54ea0"},"smoothlyUserInput")," event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).",o("br",{key:"c491689d80addd8399ee02ab7cfc6c14f599bb85"}),"Check the console to see the details of each ",o("code",{key:"919ebbf26937841a5396d0d8b1f7d56a268ac292"},"smoothlyUserInput")," event.")),o("smoothly-button",{key:"241df770721275520a479cac831b972062cf0fce",color:"tertiary",onClick:()=>this.textIndex=this.increment(this.textIndex)},"Change text"),o("smoothly-input",{key:"1c8afb64233081bd049d91a0dd0e8071aad85856",looks:"border",name:"demo-user-input-text",value:this.textIndex===undefined?"":this.values[this.textIndex],onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Text input"),o("smoothly-button",{key:"5fe334fb6629980fec2ee42d22df173f86b9bec2",onClick:()=>this.selectIndex=this.increment(this.selectIndex),color:"tertiary"},"Next select item"),o("smoothly-input-select",{key:"0972c18426ec3adf17de6b187c582d875de17c75",looks:"border",name:"demo-user-input-select",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"0e6d5f9596b71bae1f548aaf3cc830e9327dda05",slot:"label"},"Select input"),this.values.map(((e,t)=>o("smoothly-item",{value:t,selected:t==this.selectIndex},e)))),o("smoothly-button",{key:"66f5d072734363f0457f38252105272c643354ce",color:"tertiary",onClick:()=>this.checkboxChecked=!this.checkboxChecked},"Toggle checkbox"),o("smoothly-input-checkbox",{key:"37bb578799dfb2de20c6ed9c26214acc5a4b3c0b",looks:"border",name:"demo-user-input-checkbox",checked:this.checkboxChecked,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Checkbox input"),o("smoothly-button",{key:"a70017b8ad95581ec4361d96350f809942b61d93",color:"tertiary",onClick:()=>this.radioIndex=this.increment(this.radioIndex)},"Next radio item"),o("smoothly-input-radio",{key:"07558d4cbc286b03af94f0cc93718f35a93a73f6",looks:"border",name:"demo-user-input-radio",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"1e6fa16c98dbf64e75d4527a5619a37d30631801",slot:"label"},"Radio input"),this.values.map(((e,t)=>o("smoothly-input-radio-item",{value:e,selected:t==this.radioIndex},e)))),o("smoothly-button",{key:"d3d7581a7c25ce7a7add6cc0f318bb738fbfcf56",color:"tertiary",onClick:()=>this.rangeValue=this.increment(this.rangeValue)},"Next range value"),o("smoothly-input-range",{key:"cf1ad804353d6cecc2a92f1c919f0814ddc90293",looks:"border",name:"demo-user-input-range",step:1,min:0,max:this.values.length,value:this.rangeValue,label:"Range Input",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)}),o("smoothly-button",{key:"ac4215b8764d794d7b2b502e8978eeb066bb482b",color:"tertiary",onClick:()=>this.colorIndex=this.increment(this.colorIndex)},"Next color"),o("smoothly-input-color",{key:"b0f18cbf601c7a7e1b105b6ade6b7738e735c1af",looks:"border",name:"demo-user-input-color",value:typeof this.colorIndex=="number"?this.colors[this.colorIndex]:undefined,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Color input"),o("smoothly-button",{key:"353846f23973a62890ca228fce9434606c351eab",color:"tertiary",onClick:()=>this.dateValue=this.dateValue?a.Date.next(this.dateValue):a.Date.now()},"Next day"),o("smoothly-input-date",{key:"e4e466950e474177dfd57b95741256ece59aeba7",looks:"border",name:"demo-user-input-date",value:this.dateValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date input"),o("smoothly-button",{key:"e39a9742e3c896ed0b8083b0cb12694971c2f7b3",color:"tertiary",onClick:()=>this.datetimeValue=this.datetimeValue?a.DateTime.nextDay(this.datetimeValue):a.DateTime.now()},"Next date time"),o("smoothly-input-date-time",{key:"91d54581db356cfcfc093286eb125502398315bd",looks:"border",name:"demo-user-input-datetime",value:this.datetimeValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date time input"),o("smoothly-button",{key:"1bfc78adefad21783c035335cf764bdb92c537e4",color:"tertiary",onClick:()=>this.dateRangeValue=this.dateRangeValue?{start:a.Date.next(this.dateRangeValue.start),end:a.Date.next(this.dateRangeValue.end)}:{start:a.Date.now(),end:a.Date.next(a.Date.now(),10)}},"Next date range"),o("smoothly-input-date-range",{key:"78f36ca1d6a278db6d7bd4644689331be84c488a",looks:"border",name:"demo-user-input-daterange",start:(e=this.dateRangeValue)===null||e===void 0?void 0:e.start,end:(t=this.dateRangeValue)===null||t===void 0?void 0:t.end,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date range input"))}static get style(){return B()}},[2,"smoothly-input-demo-user-input",{textIndex:[32],selectIndex:[32],checkboxChecked:[32],radioIndex:[32],rangeValue:[32],colorIndex:[32],dateValue:[32],datetimeValue:[32],dateRangeValue:[32]}]);function N(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-user-input","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-select","smoothly-item","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-user-input":if(!customElements.get(i(e))){customElements.define(i(e),w)}break;case"smoothly-button":if(!customElements.get(i(e))){m()}break;case"smoothly-calendar":if(!customElements.get(i(e))){n()}break;case"smoothly-date-text":if(!customElements.get(i(e))){r()}break;case"smoothly-display":if(!customElements.get(i(e))){l()}break;case"smoothly-display-json":if(!customElements.get(i(e))){c()}break;case"smoothly-display-json-object":if(!customElements.get(i(e))){d()}break;case"smoothly-display-json-primitive":if(!customElements.get(i(e))){h()}break;case"smoothly-display-json-record-key":if(!customElements.get(i(e))){u()}break;case"smoothly-icon":if(!customElements.get(i(e))){p()}break;case"smoothly-input":if(!customElements.get(i(e))){f()}break;case"smoothly-input-checkbox":if(!customElements.get(i(e))){y()}break;case"smoothly-input-color":if(!customElements.get(i(e))){b()}break;case"smoothly-input-date":if(!customElements.get(i(e))){k()}break;case"smoothly-input-date-range":if(!customElements.get(i(e))){j()}break;case"smoothly-input-date-time":if(!customElements.get(i(e))){g()}break;case"smoothly-input-month":if(!customElements.get(i(e))){x()}break;case"smoothly-input-radio":if(!customElements.get(i(e))){E()}break;case"smoothly-input-radio-item":if(!customElements.get(i(e))){v()}break;case"smoothly-input-range":if(!customElements.get(i(e))){I()}break;case"smoothly-input-select":if(!customElements.get(i(e))){C()}break;case"smoothly-item":if(!customElements.get(i(e))){U()}break;case"smoothly-toggle-switch":if(!customElements.get(i(e))){S()}break}}))}N();export{w as S,N as d};
|
|
2
|
-
//# sourceMappingURL=p-uWmGtcyP.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as t}from"./p-CdFSoe1d.js";import{i as o}from"./p-BVKhAhsB.js";const d=class{constructor(a){e(this,a)}render(){return a(t,{key:"62cd9b578b793b42ce87d31e8c479923c35c328a"},a("h2",{key:"42c842216a71aa13d2be4383bc5fb18884ef7a54"},"All inputs"),a("smoothly-form",{key:"e2cb3ffdc3354e2447adaa34779a691a80e0b047",looks:"grid",readonly:true,action:"https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4"},a("smoothly-input",{key:"8911d921b47dcaf038125b4cb9891adda2e1f53a",readonly:true,name:"First Name",value:"John"},"First name"),a("smoothly-input",{key:"82186c019e062fbf7039b2c812c1004f23f987a9",name:"Last name",value:"Doe"},"Last name",a("smoothly-input-clear",{key:"8c0dad76fdf225a132a80e583ea34ba67b2c7595",size:"icon",slot:"end"})),a("smoothly-input",{key:"6dd2a725472e678d096093ea238d9386b0a97086",type:"phone",name:"Phone",value:"777888999"},"Phone",a("smoothly-input-reset",{key:"a1a998126419d72bc94e02be86a40a9fbc58e7aa",size:"icon",slot:"end"})),a("smoothly-input-radio",{key:"fd3e7fda9a293e1e137412fdefc4b89942f20350",clearable:true,name:"radioFirstInput"},a("p",{key:"3f295c0de2d9531e30783e195715e2fb4fcf612b",slot:"label"},"Clearable"),a("smoothly-input-radio-item",{key:"dd604c8017fccab9624aff3c4bdd0c754f41bf2f",slot:"options",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"f7b8bbfcd00753c0ffc7612ede095d678dfedc99",selected:true,slot:"options",value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"8185b37554d6e9973897d89ee860518a24d35049",slot:"options",value:"third"},"Label 3")),a("smoothly-input-color",{key:"2304148d0df81929fcac680338a3696d9c9a8a47",name:"color",value:"#479f56",output:"rgb"},"Color"),a("smoothly-input-select",{key:"d676038323375ed173dddac5a2490e9037c60ea3",menuHeight:"7.5items",placeholder:"Select...",multiple:true,name:"select-month"},a("label",{key:"bbbd77b064171c2fb7ddbfefde89f494212e894b",slot:"label"},"Month"),a("smoothly-item",{key:"5be4f0e88b14a1225fb5fd9dbf8bada60c68193c",value:"1"},"January"),a("smoothly-item",{key:"39a347df6c77fdc8a7abc932bfe4f05976f6efb7",value:"2"},"February"),a("smoothly-item",{key:"c9cde1792b5512fb61f516f41d8087003f7e1434",value:"3"},"March"),a("smoothly-item",{key:"1627e2bc2d340e2e9dcd846a5f151a3ccc37a418",value:"4"},"April"),a("smoothly-item",{key:"557ca46be77349ce3ded22b079216efd1f0d03c3",value:"5"},"May"),a("smoothly-item",{key:"6a50c4949f11afe60e6f7f3bfa0fb3099cd6c7d3",value:"6"},"June"),a("smoothly-item",{key:"84fe924e744e8257edc6ae0bccbfa6a7f4a4b265",value:"7"},"July"),a("smoothly-item",{key:"b3143d747989a72d65e91cb2a0cf9a2cadba2504",value:"8"},"August"),a("smoothly-item",{key:"24e5c25ae1a8bcd5b34aad7512fefe67f04d0918",value:"9"},"September"),a("smoothly-item",{key:"f8688b010b6c2ffdeede228d394104b42c58a988",value:"10"},"October"),a("smoothly-item",{key:"d8ca163502e7e04c6d8fab2d8863e1a23e61a085",value:"11"},"November"),a("smoothly-item",{key:"b50d2a5691e9588642596d2e24cbede7ffa0845f",value:"12"},"December"),a("smoothly-input-clear",{key:"3c0d229fffc6ccf6132c5a23c4d0bd3f8589c861",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"be5f84ecaf35bedd71629621691311cfca695766",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"c8e2502dc5d05461b348ec685dd2f9f5870aed56",value:"folder",selected:true},a("smoothly-icon",{key:"ffa5a4176f0d7ecebbfbd867289364939bb2940a",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"fc028e2b8b5334d38e496b3726790e180664a8b4",value:"camera"},a("smoothly-icon",{key:"0adfbc64668bceefb47187d9a7614609c2105f35",size:"small",name:"camera-outline"}))),a("smoothly-input-checkbox",{key:"886eb606828944b48dc7d306fd0831791798ace0",name:"checkbox"},"Check the box"),a("smoothly-input-checkbox",{key:"ea7d537284fccd859c22cadadc5551c988728c24",name:"checkbox2",checked:true},"Check the box 2"),a("smoothly-input-date-range",{key:"32800d12cb52e378e665fa46e6acad80b5753226",start:o.Date.now(),end:o.Date.now()}),a("smoothly-input-date",{key:"af7ec6c95f6dedd66c9bf469b50978de6eb6da0a",name:"date"},"Date",a("smoothly-input-clear",{key:"9203d6b1561777759d1912af409696e24313b7ee",slot:"end"})),a("smoothly-input-range",{key:"cbe6d674d73f5c202e4f49d4d5e16b347024d34c",step:1,name:"range3",value:2e4},"Select"),a("smoothly-input",{key:"4b24a68961da14058371426c905c41dfde4eefd5",name:"pets.0.name"},"First Pet's Name"),a("smoothly-input-range",{key:"a9a1c86c1fe113995119f89f6390b51acd64312b",name:"pets.0.age",max:100,step:1},"First Pet's Age"),a("smoothly-input",{key:"602580c1b69eafece089ca242f7500e7fc2ee0cb",name:"pets.1.name"},"Second Pet's Name"),a("smoothly-input-range",{key:"876655986846490d80cddb89b7b02a934cc3350f",name:"pets.1.age",max:100,step:1},"Second Pet's Age"),a("smoothly-input",{key:"a5f37ec6acede820d50a1da9bb245a55ea12bff2",name:"pets.2.name"},"Third Pet's Name"),a("smoothly-input-range",{key:"12caf47761fb7c802b37dfd0faa1c51727305936",name:"pets.2.age",max:100,step:1},"Third Pet's Age"),a("smoothly-input-file",{key:"ac56467f4fca8f78131a8bdee6f8f03816508661",name:"profile",placeholder:"Click or drag your profile picture here..."},a("span",{key:"d4f91804a33080174dd6b563303e42e2d9d18579",slot:"label"},"Profile"),a("smoothly-icon",{key:"7dee62dcf2298dbbaa9ef9c63ca32457d77ae95b",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),a("smoothly-input-clear",{key:"54a876639427fb7c31310c57247b823115a9ffe8",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),a("smoothly-input-edit",{key:"d9549efa42c9b880e218bb7ed917c437cc043e40",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),a("smoothly-input-reset",{key:"dfa1dc2459a11ee9d24dd5d90a9c7a0e36f8eb8a",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),a("smoothly-input-submit",{key:"6f8b2f85467de40d67965350ad262977d4d06a75",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),a("smoothly-input-submit",{key:"3919204248c4b41f8ff4452d2d577d825e74a727",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}};export{d as smoothly_input_checkbox_demo};
|
|
2
|
-
//# sourceMappingURL=p-2fbd48bb.entry.js.map
|