smoothly 1.113.0 → 1.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/smoothly-app_98.cjs.entry.js +117 -95
- 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/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-97N6vnZd.js → p-CClpvMw2.js} +2 -2
- 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-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-B_Tu52N5.js → p-qxJgmVrq.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/smoothly-app_98.entry.js +117 -95
- 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/smoothly/p-7d6c72eb.entry.js +2 -0
- package/dist/smoothly/{p-118fd1b8.entry.js → p-94d091cd.entry.js} +2 -2
- 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/p-e7c5888e.entry.js +2 -0
- package/dist/smoothly/p-e7c5888e.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/icon/demo/index.d.ts +2 -0
- package/package.json +1 -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-97N6vnZd.js.map → p-CClpvMw2.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-B_Tu52N5.js.map → p-qxJgmVrq.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,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoGroup {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '13ca441187f66529344769d886b77d0c01cf0ec7' }, h("smoothly-display", { key: 'b2dbf9deacd800eb2bbcc303418a5f2ce6344399', type: "text", value: "Group" }), h("smoothly-table", { key: '8e80f2e26eda2a33c65d665d2d369b11a03f39b3', color: "primary", columns: 2 }, h("smoothly-table-head", { key: 'a80ad7e011c9432b00488a3dad6cc48d4cf56ffa' }, h("smoothly-table-row", { key: '9d15a2c5ec712913ef7195f40eae2d7cc4328b43' }, h("smoothly-table-cell", { key: '4658db6a627442459d39caf71d3053c0b0373153' }, "Date"), h("smoothly-table-cell", { key: '62640f3c5426d8b1cbb7e5309b9a5eb8ae1fd244' }, "Total"))), h("smoothly-table-body", { key: '30185fa157aeed1482eb4ed13e227e735450204f' }, h("smoothly-table-row-group", { key: '2f88c12ff6aa6b59f6545f1939c0b390ff04fb9b', align: true }, h("smoothly-display", { key: '504c5fd4776cf580054b1643d3cdf25746b0ef4d', slot: "start", type: "date", value: "2024-01-01" }), h("smoothly-display", { key: 'abb7c187f97506286cce8fdb7cf9e44024cb1eee', slot: "end", type: "price", currency: "EUR", value: 510 }), h("smoothly-table-expandable-row", { key: '4c4ee8e36cdef0fa1c7dd5e088ba27b0470b94a0' }, h("smoothly-table-cell", { key: 'e78d6d08b6b141e5d37e309697ae71a5158aa83e' }, h("smoothly-display", { key: 'd4545cbccf585edd9a753216cd7eb065794cc61d', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), h("smoothly-table-cell", { key: '2bfa64247f7bf2ccf879859f66de74904dd7438f' }, h("smoothly-display", { key: '45bc665caae3e04dd8f4a94ab96d0e5f974c1b66', type: "price", currency: "EUR", value: 250 })), h("smoothly-lazy", { key: '60b37654b01d3c248d2c7339593990e5a04fb188', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: 'e18d58866e7e132073ccd951f114780566bc19d8' }, h("smoothly-table-cell", { key: '9bce755fdb66c5a53be2a1a30b897c56cfd292e2' }, h("smoothly-display", { key: 'e93ddd23a90132c87a717651c39cd9b3e0ec76be', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), h("smoothly-table-cell", { key: '25760dc3dc0c4db717a663849b0a5b4855d0fa49' }, h("smoothly-display", { key: '6bddb16177d1b3aaba00f690e15830b4de4c560f', type: "price", currency: "EUR", value: 260 })), h("smoothly-lazy", { key: 'b270f93a5b22cc963761b4ba3fac9831948eb229', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), h("smoothly-table-row", { key: '13eeb89739730d945227aff29d6ffb02405a7162' }, h("smoothly-table-cell", { key: 'f6ee0efe4aafe2b3bc46d1391addd0cdd0372643' }, h("smoothly-display", { key: 'fefcd6b25329f0acac11ce9b5f62936c250e4e13', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'ef2d0fc611d84b2380f4cb3342e9a747ca7b0571' }, h("smoothly-display", { key: '049dfb4f85369daf945b216256ced74597135572', type: "price", currency: "EUR", value: 130 }))), h("smoothly-table-row-group", { key: '0818d5289ddf639e1f41b8377eefda9a42e8a660' }, h("smoothly-display", { key: 'c313d4b6c8e1658c6a2bb9bda1b7aee77b5c4708', slot: "start", type: "date", value: "2024-01-03" }), h("smoothly-display", { key: '6e57124ffd9cb7a0737b49144fdae07c04e7ce54', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: '075bcd04dbac92bb2733eae3983e205c604c0897' }, h("smoothly-table-cell", { key: '2da65d488c647c5952fd2f7b496ad477c78e43a0' }, h("smoothly-display", { key: '268b41c5942180ff8cbf781c225569a464a98048', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'bf8c3e7a40c471fc22de92ff894ab5145407949c' }, h("smoothly-display", { key: 'ee271b788d3bccfec5354a4e96b0a16a9faa224d', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: '684a6831e691a9dc67f81977c39f32cb74ca4796', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '82ca4163f480bb0f87f51d40680ee079dd615b11' }, h("smoothly-table-cell", { key: 'c7022929f9eee697165dabdf09f209f62cec9e20' }, h("smoothly-display", { key: 'f85ecb5f99a2f5f00b1d8946a33057b87691ebf2', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), h("smoothly-table-cell", { key: '71a2d8a0b8426614bc5842b27e80957bc560066b' }, h("smoothly-display", { key: '6e1fa476d41664ccd4f4475e3d78e6811181dc83', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '3c21237b9ab3bcbad4ce8f71d590b62e92f425e4', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: '89f7bd195d9558793f2806d9331a4f60127a2288' }, h("smoothly-display", { key: '9af59f5175f04af6c3c661efea33c884ef2443a4', slot: "start", type: "date", value: "2024-01-04" }), h("smoothly-table-expandable-row", { key: 'cf98a3d3738cc247ddb748eb5d62103b5f4cb898' }, h("smoothly-table-cell", { key: 'fed5bcbfedb84593f7372d686ec367176e09f203' }, h("smoothly-display", { key: 'cbaf8f631003338f43637aca9af85e05ee61acb9', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), h("smoothly-table-cell", { key: '01ca45bac88026b162678192a11a4f5dd3c068be' }, h("smoothly-display", { key: '80a57b43c7a010aab88b2d16c7fbedaeb29568ce', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: '70d2c87d6db5d93807832babed5234fb464f74f4', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '20cb4d49bb58652118d26a85e3700303493c68c5' }, h("smoothly-table-cell", { key: '825986c6db5f37ccc73569f6f1c2228a5974165a' }, h("smoothly-display", { key: '21e131ad762de83ceb50ba3c73438b19726c38e2', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'c5ee086388bcba90b3f2f8b8e87de8b640af19ae' }, h("smoothly-display", { key: '0451e5542008991f62d5aed3be962be7ede89e92', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: 'eff29a26691c08d70aa7cacad2a199dabc06f76c', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: '16aa704a00da4ee503ef5c8a66ce41cd2768d704' }, h("smoothly-display", { key: 'ebda8de8516871eaf501d00fe3c334dc229b8105', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: 'dc912bef3657af1eadb481ecbaa1f71e061fd3ae' }, h("smoothly-table-cell", { key: '7f3451e00998d997440f16b85fb53598778128c8' }, h("smoothly-display", { key: 'def111369e6fae7bcb7e5c6bdc3bfaaa9700b6fe', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'cf70102ed28029c2eafbfa3c14f5f42bf185b4cf' }, h("smoothly-display", { key: '567fe6aa345e74223a8332b93cc1b1b9cb288eba', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: '3ad490689fcafce374b5b02550d5e03962da7a75', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '0cfffb40fd9119c737384bdfcf4196252e2680ed' }, h("smoothly-table-cell", { key: '17017970a2de014c63dc0c2f942e83a4ef9b322d' }, h("smoothly-display", { key: '9f6d27350e38a66bab11ce29a331ccecee9335d0', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'f1d2cc0caf106aaabb4d9262fb6f589924ded4cf' }, h("smoothly-display", { key: '1ae2025a7b69811c991c4e50acd45be7f2af4820', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: 'fd8db8bbca191d29614972042d49aabf04b00325', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), h("fake-group-wrapper", { key: '7ed94c5850dca92de109a72d543e7892a4ad1f27' }, h("smoothly-table-row-group", { key: 'fd411b94eb083f25414f29ee5f0c82fe10e336b2' }, h("smoothly-display", { key: 'c1eec946da5403fe5fb367f864de25a07d37bb45', slot: "start", type: "date", value: "2024-01-06" }), h("smoothly-display", { key: 'b69b22be0181ebd04b4fb6c9934b76d41a8c92f6', slot: "end", type: "price", currency: "EUR", value: 720 }), h("fake-row-wrapper", { key: '39f7a1f520615967cc4972f7c2f2ffd6824c3fcc' }, h("smoothly-table-row", { key: 'a0edb450a28de03759ae4c2240a979f27704718b' }, h("fake-cell-wrapper", { key: '9c2c3823f9e8771e15625a0353e7031be7ab862c' }, h("smoothly-table-cell", { key: 'b47064b530ce8ee1bb66350cc2bb4ac172bfbe99' }, h("smoothly-display", { key: '23245c1af652033586ff8b001f406da931221ff7', type: "date", value: "2024-01-02" }))), h("fake-expandable-cell-wrapper", { key: 'cecaf2863e686ddd4b7b6db5bf0ba39a6f77b70b' }, h("smoothly-table-expandable-cell", { key: 'b715899e9cc80dfded13610df5224069c9eebabe' }, h("smoothly-display", { key: '3e261554b8e11c7388c5cf4057228575b87acd0e', type: "price", currency: "EUR", value: 130 }), h("smoothly-lazy", { key: '5844d701bc675abd246d2d18f7387edd9c9f7e7b', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), h("fake-expandable-row-wrapper", { key: '32bce4a1c74db7b752671e090eca7216dfeda5e4' }, h("smoothly-table-expandable-row", { key: '76397c42828314da38f36ba8046227bce793f3b0' }, h("fake-cell-wrapper", { key: '4707a608abe80f2fa745d0a669dd26d327ce3fa7', class: "span-2" }, h("smoothly-table-cell", { key: 'a4b2b9dba3fe2d95439f995c04d218729f6f7c05', span: 2 }, h("smoothly-display", { key: 'd3ab93ede3071809115eb9a392b29c97ada02788', type: "date", value: "2024-01-07" }))), h("smoothly-lazy", { key: 'ab3787df579b0c266b5cc521e6c88b8976d7eeb4', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), h("smoothly-table-row-group", { key: '31e0f780af3568f236e185c33beffd1fe131f15c' }, h("smoothly-display", { key: '71f3de541c67562eed2c4138b3c487e13f45891a', slot: "start", type: "date", value: "2024-01-08" }), h("smoothly-display", { key: '56b9d221c55a67b758a529d3542819b8cc73a9d1', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-group"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '94e95e0d83a8ff1f6b0175d81f6a4d0f573b3387' }, h("smoothly-table-demo-filler-row", { key: '0517b70eb65ed6a34faaa1c7805907f304654951' }), h("smoothly-table-demo-group", { key: 'e92405b3fa081cfa94f0311970db780f44782bd5' }), h("smoothly-table-demo-colspan", { key: 'd9f10e07549f56da20d1dcbca45f3a497db3e072' }), h("smoothly-table-demo-simple", { key: '0ae3ade94e2cc900e0a5362f65778163868f3ef0' }), h("smoothly-table-demo-nested-no-cell", { key: '9d0f1784998f8f7607f93b914cd2d5c53a986f8a' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ export class SmoothlyTableDemoNestedNoCell {
|
|
|
5
5
|
this.loadedRows = [];
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '58aa208d70e2da93e893ef08cb5967664bd0c051' }, h("smoothly-display", { key: '2deea15d1b6e1df7377c7d7a75f1bf3bdc0e23e6', type: "text", value: "Nested" }), h("smoothly-table", { key: '86c9c4de9e86faddf03910093dc8046534198a6e', color: "primary", columns: 8 }, h("smoothly-table-head", { key: 'e68242f5576ac5903448bc958706512b6fdde4a2' }, h("smoothly-table-row", { key: 'db1d09f006f8e6d7ce18ae91caf34d6f5a14bf83' }, h("div", { key: '3e3e11e86247d24322182392410b18b1f77be2d9', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'd9e4adcfa2c4f241f0351c78cb21a968663a6c44', class: "smoothly-table-cell" }, "Registered"), h("div", { key: 'fe70738e34cad44a2334118b1390c3a4fc55a78c', class: "smoothly-table-cell" }, "Name"), h("div", { key: '8d289629063da16589bb44c438577ece4eff5703', class: "smoothly-table-cell" }, "Age"), h("div", { key: '41d4a8187b8a431cea1ab7c0d5dd94fc5e3d7c14', class: "smoothly-table-cell" }, "Balance"), h("div", { key: '1394c75f60c62a437f8e45bd331e102a84b3357e', class: "smoothly-table-cell" }, "EyeColor"), h("div", { key: '675a742c81647d180c327a3b033a7dd90bda7411', class: "smoothly-table-cell" }, "Gender"), h("div", { key: '16c97f1027ac5d65ebfaa303a56bb80ea37c7c40', class: "smoothly-table-cell" }, "Company"))), h("smoothly-table-body", { key: '8839563b64e8c05cdfbf0be64fd78e901490dcf3' }, data.map((entry, index) => (h("smoothly-table-expandable-row", { onSmoothlyTableExpandableRowChange: event => {
|
|
9
9
|
if (event.detail) {
|
|
10
10
|
this.loadingIndex = index;
|
|
11
11
|
setTimeout(() => {
|
|
@@ -13,7 +13,7 @@ export class SmoothlyTableDemoNestedNoCell {
|
|
|
13
13
|
this.loadedRows = [...this.loadedRows, index];
|
|
14
14
|
}, 1500);
|
|
15
15
|
}
|
|
16
|
-
} }, this.loadingIndex === index && h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.registered), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance), h("div", { class: "smoothly-table-cell" }, entry.eyeColor), h("div", { class: "smoothly-table-cell" }, entry.gender), h("div", { class: "smoothly-table-cell" }, entry.company))))), h("smoothly-table-foot", { key: '
|
|
16
|
+
} }, this.loadingIndex === index && h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index) && (h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.registered), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance), h("div", { class: "smoothly-table-cell" }, entry.eyeColor), h("div", { class: "smoothly-table-cell" }, entry.gender), h("div", { class: "smoothly-table-cell" }, entry.company))))), h("smoothly-table-foot", { key: '6b4ad314b547876f79a192885d8f6c396b5289a4' }, h("smoothly-table-row", { key: 'd0b756f7d918e94ef014702eae9f6b60de81feec' }, h("div", { key: '06107bc944f6e1304054e68b91622ea30e0a833e', class: "smoothly-table-cell" }, "Footer Cell"), h("div", { key: '0150811226ddc55197a6ef7933f024a54ab2c853', class: "smoothly-table-cell" }, "Footer Cell"))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-table-demo-nested-no-cell"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyTableDemoNestedNoCellInner {
|
|
3
3
|
render() {
|
|
4
4
|
var _a;
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '9150c28b151e6567c9d4d385068702f600fcb2f1' }, h("smoothly-table", { key: '7261ea2339bc05332c0bb2e8d43a9362bbe13d3a', columns: 4 }, h("smoothly-table-head", { key: 'd800c29461ff8bc75f0ac1265e50640c0138d211' }, h("smoothly-table-row", { key: '56bb549fe6154737b01ad2564df4c58a6e5f8c52' }, h("div", { key: 'e6e3a1c445d93d2c814c7cb6057643124c132de2', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'c92d18120e36c54139713090f821a605ad42e3fc', class: "smoothly-table-cell" }, "Name"), h("div", { key: '2fc4f2987f92840727806f222a300bf463990917', class: "smoothly-table-cell" }, "Age"), h("div", { key: '4c5f4888480ac4afdc2a7ea0ea1223f019ac342f', class: "smoothly-table-cell" }, "Balance"))), h("smoothly-table-body", { key: 'ea1511197b149bc2963a00345c5cde47378c7f26' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (h("smoothly-table-expandable-row", null, h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "smoothly-table-demo-nested-no-cell-inner"; }
|
|
8
8
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoSimple {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fa0ee8dabad78b4e11466c08476a7b7bab777bcf' }, h("smoothly-display", { key: 'f1929229c708243f89969fb865281c87cdea3974', type: "text", value: "Simple" }), h("smoothly-table", { key: 'a74ccd3d2757769582a1640cd03f275040258979', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '3740997a15cd0be3f576a5ccd325dedbcf7ecf57' }, h("smoothly-table-row", { key: '173e8a0edf3ca6131dbfd5fd2e23bf5e818de068' }, h("smoothly-table-cell", { key: '6ccc98fe385d936d3fc18a0802aa171c9e4833f0' }, "Breed"), h("smoothly-table-cell", { key: 'f12b6543b4b7be9f4d26610d2a90b900951e7f52' }, "Coat"))), h("smoothly-table-body", { key: '2cc82f1d8659f303f29352fa4cce8961fa698fab' }, cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country:", h("br", null), cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), h("smoothly-table-row", { key: '9548adc12d9a485c5e973deeb2fe4abf22119809' }, h("smoothly-table-cell", { key: '502907286ab36ee5358c143d8d5613bb0685fa29' }, "Cell5"), h("smoothly-table-expandable-cell", { key: '4ed0239f7262bfb76e8dbfd94b4b76e992dbf1af' }, "Expandable Cell", h("div", { key: 'f576406602ee34bf67621939ff7fe2c57c4b66be', slot: "detail" }, "Content of the expandable cell"))), h("smoothly-table-row", { key: '54e2ecd8dcb9c666930d9005ba31a3f64e25aabc' }, h("smoothly-table-expandable-cell", { key: '88b51a8cf477ca4de13d0735a491c30fe28870c6' }, "Expandable Cell 1", h("div", { key: 'd0ddd7d5489dc8e9df88b52315d61e97d9c6434d', slot: "detail" }, "Content of the expandable cell 1")), h("smoothly-table-expandable-cell", { key: 'ee707b238f569e36eb9bdbaca1c82fc7a0f830bc' }, "Expandable Cell 2", h("div", { key: 'bbdaab7554b86deee81fea4697afc013909cb218', slot: "detail" }, "Content of the expandable cell 2")))), h("smoothly-table-foot", { key: '936f27ddd1dbc6b3b1f8fa5cbe9887898c1b3688' }, h("smoothly-table-row", { key: '161b992762fa4617785cd6c6c83d957a7d5f976c' }, h("smoothly-table-cell", { key: '158fc3ac159fe7eeac086fdde980b1f39c9d79db' }, "Footer Cell"), h("smoothly-table-cell", { key: '3a6ff2185ab3ff1306655498582ea9bfff4d7099' }, "Footer Cell"))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-simple"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,7 +25,7 @@ export class SmoothlyTableExpandableCell {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
var _a;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '1c27ff4e5c10ad504e0c8307be3bfb1243afc5d9', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) }, onClick: (e) => this.clickHandler(e) }, h("div", { key: '9df957e7d9f55f6687adbdfc550b3cfa6a8d3dea', class: "content" }, h("slot", { key: '505b6a8964feb91d4d0256b6ea3f27519742ef6c' })), h("div", { key: '9054849f559fc9f02c7ba5c9c95cabf1e741f417', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, h("slot", { key: '0feb5288d454fc6b606ad4585706f40ec3789443', name: "detail" }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "smoothly-table-expandable-cell"; }
|
|
31
31
|
static get encapsulation() { return "scoped"; }
|
|
@@ -17,7 +17,7 @@ export class SmoothlyTableExpandableRow {
|
|
|
17
17
|
this.smoothlyTableExpandableRowChange.emit(this.open);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '21d040e883e73f9415ee1a3e7055fa5ce9adc57b', onClick: (e) => this.clickHandler(e) }, h("slot", { key: '9c42a350c5e00b6b24f7c746cc801588df69c14f' }), h("div", { key: '0c5c8a4e231018e1f96e09348447c876051540cf', class: "smoothly-table-detail", ref: e => (this.div = e) }, h("slot", { key: '263395e4d57775e72e510071245261a23097175f', name: "detail" }))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "smoothly-table-expandable-row"; }
|
|
23
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableFillerRow {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("smoothly-table-row", { key: '
|
|
4
|
+
return (h("smoothly-table-row", { key: '7561aa3596121beb8d1fa3af10d14ed9be08f7f2' }, h("smoothly-table-cell", { key: '04c9c851fb31ec6a246b2bc82cdbc7293478a0e3' }, h("slot", { key: 'f0db97bf64c0979fbca0c6f5ab4296684f743a70' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-filler-row"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableFoot {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fa6bc933396023c1d84d01460a4ff641c53136a1' }, h("slot", { key: '7aaddf60b15f344866dce0847441bec4dc739ae0' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-foot"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -13,7 +13,7 @@ export class SmoothlyTableRowGroup {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '8407e47bd79c00425a93bbf78bfaa234417e6730' }, h("div", { key: '80a4d3121142f72cecf08afee5083fc3f00e8772', onClick: () => this.clickHandler() }, h("div", { key: 'ae02eb813ffb3951e41363c41b89e16f8cf93199' }, h("slot", { key: '5020efcd50f6b9349c05c93c90c7b0499ebaa5f6', name: "start" })), h("div", { key: '081546adcccc771440f2f5e681dfc15712579fb3' }, h("slot", { key: 'd05a5dff9ba8473a329e3cb00bedc0732cbed6f9', name: "end" }))), h("div", { key: '26e75848ce1b7f8c889fb7376f5c65c9a1f95ef8' }, h("slot", { key: '0d1687ebc94faafddea6b096c26ce5fdd408ff7f' }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-table-row-group"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -38,10 +38,10 @@ export class SmoothlyTableHead {
|
|
|
38
38
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'a892578836b416a7ca7dcecf5436988fcd9c33d1', class: { scrolled: !!this.scrolled }, style: {
|
|
42
42
|
"--top": `calc(${this.depth} * var(--smoothly-table-cell-min-height))`,
|
|
43
43
|
"--z-index": `${10 - this.depth}`,
|
|
44
|
-
} }, h("slot", { key: '
|
|
44
|
+
} }, h("slot", { key: '6905eb9cae9ac8411ff90d83de4ff7a2a5fd5f12' })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "smoothly-table-head"; }
|
|
47
47
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SmoothlyTable {
|
|
|
10
10
|
event.stopPropagation();
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'e1e0fc478ebf90003f156eddb44e1de2213cf4e0', style: { "--columns": this.columns.toString() } }, h("slot", { key: '10e080ed0213084a43750f73df364993b30f72b4' })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-table"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,7 +15,7 @@ export class SmoothlyTableRow {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '213964e8d2239419bb9dd5751e00096a922ab084' }, h("slot", { key: '37b92c81dff5ba150141d0d060f7d1eb17c414d2' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "smoothly-table-row"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTabsDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'e5afcbf69dade2bfdfbccdb5ebef98067703e03e' }, h("div", { key: '720708cebe6311006737245ba3bfd2ce495fddd4' }, h("smoothly-button", { key: '9cc479c1ca7de47f611071bc020640509ec55f13', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '5e91c482c3f8d282c48630216797762712fbd088', tabs: "multiple" }, h("smoothly-tab", { key: '30fd2e83a0ad2e4ef4363b2471d5ef3a8f508e79', label: "Single Tab", open: true }, h("strong", { key: '46b7eb4a05793c23e1235026732d599ad7cd8acf' }, "Single Tab content here."), " If only one tab is available setting ", h("code", { key: '7f0e856a9e3b6f922c9a872e303f8ef2af92fe68' }, "tabs"), " to", " ", h("code", { key: 'b8398697b2d6c2757cd0a9a6216b1ca9b1680053' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (h("smoothly-tab", { key: 'd52047652788873a578d9f071e07e7a0ade65ea9', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), h("div", { key: '4ce9bdf4953f65e8296e45fc63ea4eef285010bd' }, h("smoothly-button", { key: '68c65012a5382c124b140c26442bbbf00e09b94c', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '7afa233b048274a8966859485ebbe28c76e6b87b' }, h("smoothly-tab", { key: '390d8492e788d1f8748090a43e57b12f0ce88107', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), h("smoothly-tab", { key: 'f3e74d731d6b3fcd9d188a5653beaec79fc179ee', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), h("smoothly-tab", { key: '6de96abf84eb6fb72065cdcc97691257cd0ced76', label: "test2" }, "this is a test message!"), this.extraTab2 && h("smoothly-tab", { key: '01fba3e8e1ad1ed22b3458bd5240f4f4192f3145', label: "test-extra" }, "this is a test message!"))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-tabs-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class SmoothlyTab {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'dd61170ab95f4c9ceaca14bea3f9a232960a6d9d' }, h("div", { key: 'cfc1188d6c8c405c46a234ad9ac98eb81fd65ec8', onClick: () => !this.disabled && (this.open = true) }, h("label", { key: '25b8c5b4de124f5e597a524aa086a54f3f65ba56', "data-smoothly-tooltip": this.tooltip }, this.label)), h("div", { key: 'd9931e625c2f70c92b8c6ac0efa66f28ae7f4d62', hidden: !this.open }, h("slot", { key: '5811a6f791ceddbf1ef12a80913357fabbc53e5e' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "smoothly-tab"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyThemeColor {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '2ffa9ed25b646e14b48d6da53a3afd3a9f897468' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-theme-color"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyThemeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '259010889b682573bbfb69b7711dcf03f972b06f' }, h("h2", { key: 'fe4330363bc1b6322e015569a02662077907cca8' }, "Theme"), h("smoothly-theme-picker", { key: '6df264adb5b90050418224f373e927dc33373d3f' }, h("smoothly-item", { key: 'ac79f3b604c3b6bffe8e1cd19e7b24b03960bf14', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), h("smoothly-item", { key: '4ca9bad0897a7a216a56aa0db0004a6e14b6f272', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), h("smoothly-item", { key: '2e71be7455105d37aa039c6347e4aa24dab3c15a', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), h("smoothly-item", { key: '235223f83245bb7cc3455f2102237a8923c5cf22', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), h("smoothly-item", { key: '43153d498cde19b3a97ea93036be8dabb90c86d7', value: "https://test.dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), h("smoothly-item", { key: 'e5e1e6079b7b20cfe8a62c5572f1fa48c6365a90', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), h("smoothly-item", { key: '26b2f21f376a927f788771a32292d3fb13d7380e', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), h("smoothly-item", { key: 'c36d493ae4ba1b8152c3bb8f41b086b08437f600', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), h("smoothly-item", { key: '1dab38f02ffadd2e2160f99f6209f72e294ac874', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), h("div", { key: 'f542097bfc16f9214244cfb7bcc1e2a2e31704e8' }, h("smoothly-theme-colors", { key: 'a363e1e7ba2164cd58bc1fa03d5b9d13c8e81c10' }), h("smoothly-theme-guide", { key: 'bedcda407b6d30d538176e1c32112d455feddcfd' })), h("smoothly-button", { key: 'aeb9185b1efeb83db2e4359b733c8bad207adb2b', type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { key: '761c81b4c4724e61a6d7bb96f44ef3d241b86ee1', type: "link", link: "/redirect" }, "To /redirect"), h("smoothly-button", { key: 'a45adb52d81652f71a997c9f1c81466822e3da4e', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), h("smoothly-button", { key: '0ad5ce583e40ea790411d756bcc0d9ebb118452c', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-theme-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,14 +2,14 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyThemeColors {
|
|
3
3
|
render() {
|
|
4
4
|
return [
|
|
5
|
-
h("smoothly-display", { key: '
|
|
6
|
-
h("br", { key: '
|
|
7
|
-
h("smoothly-display", { key: '
|
|
8
|
-
h("br", { key: '
|
|
9
|
-
h("smoothly-display", { key: '
|
|
10
|
-
h("br", { key: '
|
|
11
|
-
h("smoothly-display", { key: '
|
|
12
|
-
h("br", { key: '
|
|
5
|
+
h("smoothly-display", { key: '9d9ac39e30705ec8aa0175a54771ab32d88f70cb' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
6
|
+
h("br", { key: '704a1265d7bb3ec33ab58b3f997df5afdf0707a5' }),
|
|
7
|
+
h("smoothly-display", { key: '2335c861ac8cb203da8e68ee536565bc2a90174f' }, "Color is used as a normal background or as a background to show that something is selected, for example a selected item in the select menu."),
|
|
8
|
+
h("br", { key: '02804573e827624e8eebec30f835679c1ecf2fd3' }),
|
|
9
|
+
h("smoothly-display", { key: '75dfb78b730a334347ff3b5d305df980fa8f41aa' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
|
|
10
|
+
h("br", { key: '988cfafb48a6f100c7eca395e6a4ac5be3e9d329' }),
|
|
11
|
+
h("smoothly-display", { key: '2bf7c0cdc1be980a3ff5b0e360a8ffbad6553980' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
12
|
+
h("br", { key: 'c6dbc6a33cf896d8be26a3c8c08641b9de7ade17' }),
|
|
13
13
|
];
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-theme-guide"; }
|
|
@@ -4,12 +4,12 @@ export class SmoothlyThemePicker {
|
|
|
4
4
|
this.element = "smoothly-css";
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '6b397ed31434037a5f53640cd677e4bf9f680671' }, h("smoothly-input-select", { key: 'e89de311276c516112329aa634ec4fa372eeeda7', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
8
8
|
const element = document.querySelector(`#${this.element}`);
|
|
9
9
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string") {
|
|
10
10
|
element.href = e.detail.theme;
|
|
11
11
|
}
|
|
12
|
-
} }, h("label", { key: '
|
|
12
|
+
} }, h("label", { key: '185ea02a7eeda366e8290a3b2855e287eb62e91d', slot: "label" }, "Select theme"), h("slot", { key: '3844628b22bfe87cebc35c2ab396accc02cf48dc' }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-theme-picker"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyToggleSwitchDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '427648c217c445ff9bfcbc15897305cd8cc7a1fb' }, h("h4", { key: 'de6459b36d5a11ca5ef125e7be6fd47b6a7eb938' }, "Toggle switches"), h("div", { key: '544de9cabe5fa1da5a303b3ac4cb21f46d4e773a' }, h("p", { key: '3e464b80ef1bd8fe1ab43b29a1dffd8fb328df7d' }, "Checkmark"), h("span", { key: '3439d69cae6f0d7e5a6df6132050abe5c344b187' }, h("p", { key: 'fc9499fddd3bc798c7c52b614cec7bcb6bf52b65' }, "Tiny"), h("smoothly-toggle-switch", { key: '34bdc859582b47fbbb74341becc0e6087072eba5', disabled: false, size: "tiny" })), h("span", { key: 'a58d98e68a782423c12f4b8df8e80857e03dc139' }, h("p", { key: '9034c32dc86c0efdf5a8ab6fff641c09ad43a1a4' }, "Small"), h("smoothly-toggle-switch", { key: 'db605c265143f36a67891e7ed45351e36621df13', disabled: false, size: "small" })), h("span", { key: 'bebf928abd8c347d8022255de8e889dc85c09c77' }, h("p", { key: 'e860772082f263847681a239953580e86e29c399' }, "Standard"), h("smoothly-toggle-switch", { key: '79f4366d8b1862858afb468219c75ecb7018789c', disabled: false })), h("span", { key: 'f4ad70d60ecc85f2814d3e87dfdc7a236e7fef13' }, h("p", { key: 'fb93088b1c7482580821322ee74aaf6e9d3cf87e' }, "Large"), h("smoothly-toggle-switch", { key: '694db2c0cfc2fc9fa5ab37934891c3df9a7cbcff', disabled: false, size: "large" })), h("p", { key: '367eeb72e8cdd2c16e456e425c152e8a68976e06' }, "Colors checkmark"), h("span", { key: '9aea20656b1cb4223c036b138790c0fa46182bcd' }, h("p", { key: '861904268f1d9f131fc12de30419576dd4e03ca4' }, "Danger"), h("smoothly-toggle-switch", { key: 'f3e7eb843fa01e958c29dcb055bf121fae011348', color: "danger", disabled: false, size: "small" })), h("span", { key: 'ad94d89305156111da3908a7f4b07dd157e0fcd5' }, h("p", { key: '7c23b1a9151d430b267b66f21430da94b8492acd' }, "Primary color"), h("smoothly-toggle-switch", { key: '50fd4aaa9762a92c9b2f2607d61ed30c8350ce1e', color: "primary", disabled: false, size: "small" })), h("span", { key: '8a8fa2fdf036938a89b0cee770199aadae78b6b0' }, h("p", { key: '581928f8b5a88a15ad840b1ed0c43487cbb58465' }, "Secondary color"), h("smoothly-toggle-switch", { key: '833d19dfc2a929777ec935e69314588883bf153e', color: "secondary", disabled: false, size: "small" })), h("p", { key: 'b36bd1756c7911a71c17b48857c89e41efd497ef' }), h("p", { key: '911b6241ac22a6b6987014b86afa7bae155bad70' }, "Colors no checkmark"), h("span", { key: '6136db79afe7390f27a70286b2b7af2c85f360bb' }, h("p", { key: 'bc5fb4108a80a40d247464b44131eba9dd7613cb' }, "Danger"), h("smoothly-toggle-switch", { key: 'ab1d1ac99e8871dbfe8bffe0d71f1ab3b3542f5a', checkmark: false, color: "danger", disabled: false, size: "small" })), h("span", { key: '2876aa64a40c492e295f7e24d5812ea8d790c405' }, h("p", { key: 'fd59cd462154da9215c9aa80b026319baa021582' }, "Primary color"), h("smoothly-toggle-switch", { key: '50cc57021cc9aaddaf0d1053ce1e9c73ed02813d', checkmark: false, color: "primary", disabled: false, size: "small" })), h("span", { key: '1608427985a0e07188d5566c7f3709a347864b9a' }, h("p", { key: '23050dbf5fb9e8cc76120818921a3fbbfef4d21d' }, "Secondary color"), h("smoothly-toggle-switch", { key: '5c8152a8d52d9fd778aea9f84f3b36b49acf9869', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-toggle-switch-demo"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -13,7 +13,7 @@ export class SmoothlyToggleSwitch {
|
|
|
13
13
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '8fe4ea1f46f6c01c92b57819809602946c96c06f' }, h("button", { key: 'd9bfcb5daac769bbd7ef5aaa7839737e4711d76a', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, h("smoothly-icon", { key: '270b37fed4a32ba6ce9226af559a6aaa23aae7de', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "smoothly-toggle-switch"; }
|
|
19
19
|
static get encapsulation() { return "scoped"; }
|
|
@@ -16,7 +16,7 @@ export class SmoothlyTrigger {
|
|
|
16
16
|
result = this.disabled ? (h("slot", null)) : (h("a", { onClick: e => this.onClick(e) }, h("slot", null)));
|
|
17
17
|
break;
|
|
18
18
|
case "button":
|
|
19
|
-
result = (h("button", { key: '
|
|
19
|
+
result = (h("button", { key: 'a8277d3521475192961463b4867553aacea5f8e3', disabled: this.disabled, name: this.name }, h("slot", { key: '6998482165ff6a73d87eb079235f88741353a1ce' })));
|
|
20
20
|
break;
|
|
21
21
|
}
|
|
22
22
|
return result;
|
|
@@ -15,7 +15,7 @@ export class SmoothlyTriggerSink {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return h("slot", { key: '
|
|
18
|
+
return h("slot", { key: '46aea3defd44d2a9b5038aacb56f734bc99857f4' });
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "smoothly-trigger-sink"; }
|
|
21
21
|
static get encapsulation() { return "scoped"; }
|
|
@@ -12,7 +12,7 @@ export class SmoothlyTriggerSource {
|
|
|
12
12
|
}, window);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h("slot", { key: '
|
|
15
|
+
return h("slot", { key: 'f92141efaa40e81b8bc0614af2dd7095fa316a88' });
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "smoothly-trigger-source"; }
|
|
18
18
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as t,H as o,c as s,h as a,F as e,t as l}from"./p-BsZrGTcp.js";import{i as r}from"./p-BVKhAhsB.js";import{w as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as t,H as o,c as s,h as a,F as e,t as l}from"./p-BsZrGTcp.js";import{i as r}from"./p-BVKhAhsB.js";import{w as n,m as c,d as h}from"./p-CtuuZV3u.js";import{d}from"./p-BiQsRsV4.js";import{d as i}from"./p-CJEV2v84.js";import{d as m}from"./p-fnKrPnzp.js";const y=()=>`.sc-smoothly-calendar-h{display:block;--other-month-opacity:0.5;padding:0.5em;border:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-calendar-h>smoothly-input-month.sc-smoothly-calendar{padding:0 0.5em}.sc-smoothly-calendar-h>table.sc-smoothly-calendar{table-layout:fixed;width:100%}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>thead.sc-smoothly-calendar>tr.sc-smoothly-calendar>th.sc-smoothly-calendar,.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar{text-align:center;padding:0.5em;min-width:2em;box-sizing:border-box;background-color:rgb(var(--smoothly-input-background));color:rgb(var(--smoothly-input-foreground));-webkit-user-select:none;user-select:none}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar{position:relative;cursor:pointer}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.currentMonth.sc-smoothly-calendar{color:rgb(var(--smoothly-default-contrast))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:not(.currentMonth){color:rgba(var(--smoothly-default-contrast), var(--other-month-opacity))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(6):not(.currentMonth).selected,.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(6):not(.currentMonth).dateRange,.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(7):not(.currentMonth).selected,.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(7):not(.currentMonth).dateRange{color:rgba(var(--smoothly-default-contrast))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(6),.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(7){color:rgb(var(--smoothly-calendar-weekend-foreground, var(--smoothly-danger-color)))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(6):not(.currentMonth),.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.sc-smoothly-calendar:nth-child(7):not(.currentMonth){color:rgba(var(--smoothly-calendar-weekend-foreground, var(--smoothly-danger-color)), var(--other-month-opacity))}>table>tr>td.sc-smoothly-calendar-h:not(.selected,.disable).sc-smoothly-calendar:hover{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-tint))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.selected.sc-smoothly-calendar{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-color))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.today.sc-smoothly-calendar::before{content:"";inset:2px;position:absolute;border:1px solid currentColor}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.dateRange.sc-smoothly-calendar{color:rgb(var(--smoothly-primary-contrast));background:rgb(var(--smoothly-primary-tint))}.sc-smoothly-calendar-h>table.sc-smoothly-calendar>tr.sc-smoothly-calendar>td.disable.sc-smoothly-calendar{cursor:not-allowed;opacity:0.5}`;const b=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyDateSet=s(this,"smoothlyDateSet");this.smoothlyDateRangeSet=s(this,"smoothlyDateRangeSet");this.clickCounter=0}componentWillLoad(){this.onStart();this.onEnd()}onStart(){this.startInternal=this.start}onEnd(){this.endInternal=this.end}async jumpTo(t){var o,s,a,e;const l=r.Date.Year.is(t.Y)?t.Y:(s=(o=this.month)===null||o===void 0?void 0:o.substring(0,4))!==null&&s!==void 0?s:r.Date.now().substring(0,4);const n=r.Date.Month.is(t.M)?t.M:(e=(a=this.month)===null||a===void 0?void 0:a.substring(5,7))!==null&&e!==void 0?e:r.Date.now().substring(5,7);const c=`${l}-${n}-01`;if(r.Date.is(c)){this.month=c}}onClick(t){this.value=t;this.smoothlyDateSet.emit(this.value)}onClickDoubleInput(t){this.clickCounter+=1;if(this.clickCounter%2==1){this.startInternal=this.endInternal=this.frozenDate=t}else{const o=this.startInternal>t?t:this.startInternal;const s=this.endInternal<t?t:this.endInternal;this.startInternal=o;this.endInternal=s}this.clickCounter%2==0&&this.startInternal&&this.endInternal&&this.smoothlyDateRangeSet.emit({start:this.startInternal,end:this.endInternal})}onHover(t){if(this.doubleInput&&this.clickCounter%2==1){if(t<this.frozenDate){this.startInternal=t;this.endInternal=this.frozenDate}else{this.startInternal=this.frozenDate;this.endInternal=t}}}withinLimit(t){return(!this.min||t>=this.min)&&(!this.max||t<=this.max)}render(){var t,o,s;return a(e,{key:"ce6f5ed6897c671cd7317ba890f420b82b797271"},a("smoothly-input-month",{key:"670fd797951b17f0e26c7f073bd31aa087280625",name:"month",value:(t=this.month)!==null&&t!==void 0?t:this.value,min:this.min,max:this.max,inCalendar:true,next:true,previous:true,showLabel:false,onSmoothlyInput:t=>{t.stopPropagation();"month"in t.detail&&typeof t.detail.month=="string"&&(this.month=t.detail.month)},onSmoothlyUserInput:t=>t.stopPropagation()},a("div",{key:"627d7dd4e5ddf05c5408ce8f9b255e028e089ed8",slot:"year-label"},a("slot",{key:"1103cb741e629b6f4b797d9d304bb85d4407e9d4",name:"year-label"})),a("div",{key:"a1ab52b83ad62c7b80d30b65df99d17f0aca15c1",slot:"month-label"},a("slot",{key:"feac55da56ff9dd5108e39733b63d0923fa019de",name:"month-label"}))),a("table",{key:"1389cd23c50d790139c31d627024cdc22b10ed35"},a("thead",{key:"1c3ef2d2584eef6e7b4be81b5d6268b111ac3105"},a("tr",{key:"e75be690b817d27820c03bc041107387ee60cbf8"},n().map((t=>a("th",null,t))))),c((s=(o=this.month)!==null&&o!==void 0?o:this.value)!==null&&s!==void 0?s:r.Date.now()).map((t=>a("tr",null,t.map((t=>{var o,s,e,l;return a("td",{tabindex:1,onMouseOver:this.withinLimit(t)?()=>this.onHover(t):undefined,onClick:this.withinLimit(t)?()=>this.doubleInput?this.onClickDoubleInput(t):this.onClick(t):undefined,class:{selected:t==this.value||this.doubleInput&&(t==this.startInternal||t==this.endInternal),today:t==r.Date.now(),currentMonth:r.Date.firstOfMonth((s=(o=this.month)!==null&&o!==void 0?o:this.value)!==null&&s!==void 0?s:r.Date.now())==r.Date.firstOfMonth(t),dateRange:this.doubleInput&&t>((e=this.startInternal)!==null&&e!==void 0?e:"")&&t<((l=this.endInternal)!==null&&l!==void 0?l:""),disable:!this.withinLimit(t)}},t.substring(8,10))})))))))}get element(){return this}static get watchers(){return{start:[{onStart:0}],end:[{onEnd:0}]}}static get style(){return y()}},[262,"smoothly-calendar",{month:[1025],value:[1025],start:[1],end:[1],max:[1025],min:[1025],doubleInput:[516,"double-input"],startInternal:[32],endInternal:[32],jumpTo:[64]},undefined,{start:[{onStart:0}],end:[{onEnd:0}]}]);function u(){if(typeof customElements==="undefined"){return}const t=["smoothly-calendar","smoothly-icon","smoothly-input-month","smoothly-input-select","smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-calendar":if(!customElements.get(l(t))){customElements.define(l(t),b)}break;case"smoothly-icon":if(!customElements.get(l(t))){d()}break;case"smoothly-input-month":if(!customElements.get(l(t))){h()}break;case"smoothly-input-select":if(!customElements.get(l(t))){i()}break;case"smoothly-item":if(!customElements.get(l(t))){m()}break}}))}u();export{b as C,u as d};
|
|
2
|
+
//# sourceMappingURL=p-1j2KmcfQ.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,H as t,c as s,h as i,d as l,t as e}from"./p-BsZrGTcp.js";import{E as n}from"./p-DFXJvHuL.js";import{d as r}from"./p-BHEtq3Ue.js";import{d as h}from"./p-BiQsRsV4.js";const m=()=>`[color=default].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-input-edit-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-input-edit-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-input-edit-h{display:inline}[disabled].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit{font-weight:400;background-color:transparent}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-input-edit-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-input-edit-h:has(>a:empty),.sc-smoothly-input-edit-h:has(>button:empty),.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit:empty,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-input-edit-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-input-edit-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-input-edit-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-input-edit{min-width:8rem}[size=icon].sc-smoothly-input-edit-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-input-edit-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-input-edit-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-input-edit-h{width:100%}[expand=full].sc-smoothly-input-edit-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-input-edit-h:not([fill=clear]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-visible,[fill=outline].sc-smoothly-input-edit-h:not([disabled]):active>button.sc-smoothly-input-edit::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:hover::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-within::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:focus-visible,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit,.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>smoothly-icon,.sc-smoothly-input-edit-h .sc-smoothly-input-edit-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-input-edit-h{display:none}.sc-smoothly-input-edit-h:not([display]){display:none}[editable].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h[type="input"].sc-smoothly-input-edit-s>smoothly-button>button{cursor:pointer;filter:opacity(60%);--smoothly-button-foreground:var(--smoothly-input-foreground);background-color:transparent}.sc-smoothly-input-edit-h smoothly-icon.default.sc-smoothly-input-edit{transform:translate(.1em, -.1em)}.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>button>*+smoothly-icon{display:none}`;const
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{p as o,H as t,c as s,h as i,d as l,t as e}from"./p-BsZrGTcp.js";import{E as n}from"./p-DFXJvHuL.js";import{d as r}from"./p-BHEtq3Ue.js";import{d as h}from"./p-BiQsRsV4.js";const m=()=>`[color=default].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-input-edit-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-input-edit-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-input-edit-h{display:inline}[disabled].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit{font-weight:400;background-color:transparent}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-input-edit-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-input-edit-h:has(>a:empty),.sc-smoothly-input-edit-h:has(>button:empty),.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit:empty,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-input-edit-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-input-edit-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-input-edit-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-input-edit{min-width:8rem}[size=icon].sc-smoothly-input-edit-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-input-edit-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-input-edit-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-input-edit-h{width:100%}[expand=full].sc-smoothly-input-edit-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-input-edit-h:not([fill=clear]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-visible,[fill=outline].sc-smoothly-input-edit-h:not([disabled]):active>button.sc-smoothly-input-edit::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:hover::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-within::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:focus-visible,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit,.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>smoothly-icon,.sc-smoothly-input-edit-h .sc-smoothly-input-edit-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-input-edit-h{display:none}.sc-smoothly-input-edit-h:not([display]){display:none}[editable].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h[type="input"].sc-smoothly-input-edit-s>smoothly-button>button{cursor:pointer;filter:opacity(60%);--smoothly-button-foreground:var(--smoothly-input-foreground);background-color:transparent}.sc-smoothly-input-edit-h smoothly-icon.default.sc-smoothly-input-edit{transform:translate(.1em, -.1em)}.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>button>*+smoothly-icon{display:none}`;const d=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.color="tertiary";this.disabled=false;this.display=true;this.type="input";this.tooltip="Edit"}componentWillLoad(){this.smoothlyInputLoad.emit((o=>{if(n.type.is(o)){this.parent=o;o.listen((async o=>{this.display=o.readonly}))}}))}clickHandler(){var o;(o=this.parent)===null||o===void 0?void 0:o.edit(true)}render(){var o;return i(l,{key:"3fa8bd92acf77d574acfe3bd36d305e043376237",title:this.tooltip},i("smoothly-button",{key:"758777db051b7ed16e62e11c01c74d718cfefea7",disabled:this.disabled,size:this.size,type:"button",shape:this.shape,expand:this.expand,color:this.color,fill:(o=this.fill)!==null&&o!==void 0?o:this.type=="input"?"clear":undefined},i("slot",{key:"15d7fef684aa41d04a1a5e11ffa18480ae6aeee8"}),i("smoothly-icon",{key:"d47e6290709546c917d2b15ad60e30fa1df11410",class:"default",name:"create-outline",size:"tiny"})))}static get style(){return m()}},[262,"smoothly-input-edit",{color:[1],expand:[513],fill:[513],disabled:[1540],display:[1540],shape:[513],type:[513],size:[513],tooltip:[1]},[[0,"click","clickHandler"]]]);function a(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-edit","smoothly-button","smoothly-icon"];o.forEach((o=>{switch(o){case"smoothly-input-edit":if(!customElements.get(e(o))){customElements.define(e(o),d)}break;case"smoothly-button":if(!customElements.get(e(o))){r()}break;case"smoothly-icon":if(!customElements.get(e(o))){h()}break}}))}a();export{d as S,a as d};
|
|
2
|
+
//# sourceMappingURL=p-4pGbxojU.js.map
|