smoothly 1.111.0 → 1.113.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 +257 -189
- package/dist/cjs/smoothly-app_98.cjs.entry.js.map +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/input/clear/index.js +11 -7
- package/dist/collection/components/input/clear/index.js.map +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js.map +1 -1
- package/dist/collection/components/input/reset/index.js +12 -8
- package/dist/collection/components/input/reset/index.js.map +1 -1
- package/dist/collection/components/input/select/index.js +121 -133
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/layout.js +21 -0
- package/dist/collection/components/input/select/layout.js.map +1 -0
- package/dist/collection/components/input/select/menu.js +33 -0
- package/dist/collection/components/input/select/menu.js.map +1 -0
- package/dist/collection/components/input/select/scroll.js +14 -0
- package/dist/collection/components/input/select/scroll.js.map +1 -0
- package/dist/collection/components/input/select/style.css +72 -64
- package/dist/collection/components/input/submit/index.js +13 -7
- package/dist/collection/components/input/submit/index.js.map +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-iucZC6z5.js → p-0vl7fnbi.js} +2 -2
- package/dist/components/{p-R4uIvvER.js → p-7ReeDB-R.js} +2 -2
- package/dist/components/{p-D1uYEo7L.js → p-97N6vnZd.js} +2 -2
- package/dist/components/{p-BaGuG5hS.js → p-9Fc5vWzs.js} +2 -2
- package/dist/components/{p-DA_1vtmU.js → p-B11YJh32.js} +2 -2
- package/dist/components/{p-DTqtObrT.js → p-B6W5V130.js} +2 -2
- package/dist/components/{p-C9zTTp-4.js → p-B7ws0a8Z.js} +2 -2
- package/dist/components/{p-Bm-gpoFa.js → p-BDW8BGmy.js} +2 -2
- package/dist/components/{p-CsLlJDsh.js → p-BEQ2yAjW.js} +2 -2
- package/dist/components/{p-nrkV1PqR.js → p-BMHv8WTp.js} +2 -2
- package/dist/components/{p-D58kSmOp.js → p-BZJNdp6g.js} +2 -2
- package/dist/components/{p-v06atw3t.js → p-B_Tu52N5.js} +2 -2
- package/dist/components/p-BdqxED0P.js +2 -0
- package/dist/components/{p-DwYc62Ls.js → p-Bh2x2l2j.js} +2 -2
- package/dist/components/p-BnKGlfV9.js +2 -0
- package/dist/components/{p-DgaHxdNI.js → p-BpBeeNcM.js} +2 -2
- package/dist/components/{p-B3OjIxsE.js → p-BqODWrES.js} +2 -2
- package/dist/components/p-BrrLEO2B.js +2 -0
- package/dist/components/{p-C629G4I1.js → p-Bufbdh4o.js} +2 -2
- package/dist/components/p-BxsOj_LX.js +2 -0
- package/dist/components/{p-BDhPxj59.js → p-BznhH5yZ.js} +2 -2
- package/dist/components/{p-BNnhxQyl.js → p-C-dGqk3e.js} +2 -2
- package/dist/components/{p-C8cvGmGP.js → p-C0XPq5lI.js} +2 -2
- package/dist/components/{p-CG636AEF.js → p-C5JaWzfu.js} +2 -2
- package/dist/components/{p-DZadnBSZ.js → p-CCzyYE1m.js} +2 -2
- package/dist/components/p-CCzyYE1m.js.map +1 -0
- package/dist/components/{p-C5Bgwjpo.js → p-CDetFhB9.js} +2 -2
- package/dist/components/{p-DqwlZYFh.js → p-CGg8GrGq.js} +2 -2
- package/dist/components/p-CGg8GrGq.js.map +1 -0
- package/dist/components/p-CLN-EYZz.js +2 -0
- package/dist/components/{p-CottiZWN.js.map → p-CLN-EYZz.js.map} +1 -1
- package/dist/components/p-CMEyMMZz.js +2 -0
- package/dist/components/{p-CdgiqBtD.js.map → p-CMEyMMZz.js.map} +1 -1
- package/dist/components/{p-nHKstm2X.js → p-COTO4dlW.js} +2 -2
- package/dist/components/{p-CuMoDdaf.js → p-CXEfxOpA.js} +2 -2
- package/dist/components/p-CZGfvbsC.js +2 -0
- package/dist/components/{p-BQIS-JBV.js → p-CbWiiNJL.js} +2 -2
- package/dist/components/{p-DZ4ogW8V.js → p-Cct10sTX.js} +2 -2
- package/dist/components/p-Cgowjgod.js +2 -0
- package/dist/components/{p-DBuVH8IL.js → p-CjAkXCwI.js} +2 -2
- package/dist/components/{p-CioJtwj-.js → p-CjknknP6.js} +2 -2
- package/dist/components/{p-DdTTiJbE.js → p-CsHiDnB-.js} +2 -2
- package/dist/components/{p-CVH3vlKv.js → p-CuC7MNAM.js} +2 -2
- package/dist/components/{p-i8IFRTdL.js → p-Cw-_pWl-.js} +2 -2
- package/dist/components/{p-DnLJBwZR.js → p-D4LmYvoM.js} +2 -2
- package/dist/components/{p-DMzn0Iz0.js → p-D4PyTfe4.js} +2 -2
- package/dist/components/p-D4fagxgG.js +2 -0
- package/dist/components/p-D8jJZbTy.js +2 -0
- package/dist/components/p-D8jJZbTy.js.map +1 -0
- package/dist/components/{p-ByWVc-XC.js → p-DGxkSNZ-.js} +2 -2
- package/dist/components/{p-BS2SWUX6.js → p-DKir2dIt.js} +2 -2
- package/dist/components/{p-CF5IKGi5.js → p-DRiOEv4L.js} +2 -2
- package/dist/components/{p-CiJgTdse.js → p-DTOzpQD8.js} +2 -2
- package/dist/components/{p-BgXgncGY.js → p-DVbSVIVZ.js} +2 -2
- package/dist/components/{p-CjdBPauI.js → p-DbS9bWfm.js} +2 -2
- package/dist/components/{p-BqAN7jax.js → p-DdXfvS4U.js} +2 -2
- package/dist/components/{p-D1cLYdzg.js → p-DkxTx6nY.js} +2 -2
- package/dist/components/{p-CrNizZqW.js → p-Dt4cCJEp.js} +2 -2
- package/dist/components/{p-DR3KUEvE.js → p-DtoC1d2_.js} +2 -2
- package/dist/components/{p-BPh3sXo6.js → p-DvF8zgEi.js} +2 -2
- package/dist/components/{p-CR1YZ3na.js → p-DxVl-YSW.js} +2 -2
- package/dist/components/{p-DSsOLbj6.js → p-DyL_ilIk.js} +2 -2
- package/dist/components/p-JB57brc4.js +2 -0
- package/dist/components/p-JLn3QBuQ.js +2 -0
- package/dist/components/{p-Dekg3IGr.js.map → p-JLn3QBuQ.js.map} +1 -1
- package/dist/components/{p-HKrMuYSD.js → p-JdwWRJjd.js} +2 -2
- package/dist/components/{p-CTPT9Ngc.js → p-MCxlBxSA.js} +2 -2
- package/dist/components/{p-p0yn7c4h.js → p-MNhi5te8.js} +2 -2
- package/dist/components/p-OV_wRej-.js +2 -0
- package/dist/components/p-OfpR2_fh.js +2 -0
- package/dist/components/p-OfpR2_fh.js.map +1 -0
- package/dist/components/{p-C_f8s6n5.js → p-Q-gVll-_.js} +2 -2
- package/dist/components/{p-CGG77xzV.js → p-Qf8o2d67.js} +2 -2
- package/dist/components/{p-DXHBXAV0.js → p-V6FzDWfL.js} +2 -2
- package/dist/components/p-W-kaGeCx.js +2 -0
- package/dist/components/{p-DlHIV5_u.js.map → p-W-kaGeCx.js.map} +1 -1
- package/dist/components/{p-DBkHnJdp.js → p-WzQNLGYx.js} +2 -2
- package/dist/components/{p-1KOtWYkC.js → p-eptsxAXs.js} +2 -2
- package/dist/components/{p-D2FsRCII.js → p-fjRiTKvl.js} +2 -2
- package/dist/components/{p-fafhoJgv.js → p-gJF_-tuy.js} +2 -2
- package/dist/components/p-h1R5xtdy.js +2 -0
- package/dist/components/{p-CKxNCxBn.js → p-hcVaU3nW.js} +2 -2
- package/dist/components/{p-fJkfUsWz.js → p-jlska1pM.js} +2 -2
- package/dist/components/{p-DKggy9E3.js → p-oWil-NTX.js} +2 -2
- package/dist/components/{p-CyhRVB6K.js → p-pYGmgv_e.js} +2 -2
- package/dist/components/p-rRkypR5s.js +2 -0
- package/dist/components/{p-CRTkSTv3.js → p-uCXQl-5J.js} +2 -2
- package/dist/components/{p-CUiFFtAw.js → p-uWmGtcyP.js} +2 -2
- package/dist/components/{p-CVp4Wd4u.js → p-xbCL6ChL.js} +2 -2
- package/dist/components/p-xbCL6ChL.js.map +1 -0
- 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-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-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 +257 -189
- package/dist/esm/smoothly-app_98.entry.js.map +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-5e123fe2.entry.js → p-118fd1b8.entry.js} +2 -2
- package/dist/smoothly/{p-13d05a22.entry.js → p-2cd32901.entry.js} +2 -2
- package/dist/smoothly/{p-7a59c6a9.entry.js → p-baabb62e.entry.js} +2 -2
- package/dist/smoothly/p-d2f00811.entry.js +2 -0
- package/dist/smoothly/p-d2f00811.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/input/clear/index.d.ts +1 -1
- package/dist/types/components/input/reset/index.d.ts +1 -1
- package/dist/types/components/input/select/index.d.ts +18 -9
- package/dist/types/components/input/select/layout.d.ts +6 -0
- package/dist/types/components/input/select/menu.d.ts +10 -0
- package/dist/types/components/input/select/scroll.d.ts +3 -0
- package/dist/types/components.d.ts +7 -17
- package/package.json +1 -1
- package/dist/components/p-3dApo-uA.js +0 -2
- package/dist/components/p-4y8eF-fy.js +0 -2
- package/dist/components/p-BQSKXVmh.js +0 -2
- package/dist/components/p-CDQM-sOT.js +0 -2
- package/dist/components/p-CMiST1Tm.js +0 -2
- package/dist/components/p-CVp4Wd4u.js.map +0 -1
- package/dist/components/p-CdYYtJX2.js +0 -2
- package/dist/components/p-CdYYtJX2.js.map +0 -1
- package/dist/components/p-CdgiqBtD.js +0 -2
- package/dist/components/p-CottiZWN.js +0 -2
- package/dist/components/p-CrcmijCR.js +0 -2
- package/dist/components/p-Cvl7cLxT.js +0 -2
- package/dist/components/p-D2cHi1Nb.js +0 -2
- package/dist/components/p-D9qp7S6Q.js +0 -2
- package/dist/components/p-DZadnBSZ.js.map +0 -1
- package/dist/components/p-Dekg3IGr.js +0 -2
- package/dist/components/p-DgHAvBgB.js +0 -2
- package/dist/components/p-DlHIV5_u.js +0 -2
- package/dist/components/p-DqwlZYFh.js.map +0 -1
- package/dist/components/p-RNCr3p17.js +0 -2
- package/dist/components/p-RNCr3p17.js.map +0 -1
- package/dist/components/p-thKhutym.js +0 -2
- package/dist/smoothly/p-0a7de225.entry.js +0 -2
- package/dist/smoothly/p-0a7de225.entry.js.map +0 -1
- /package/dist/components/{p-iucZC6z5.js.map → p-0vl7fnbi.js.map} +0 -0
- /package/dist/components/{p-R4uIvvER.js.map → p-7ReeDB-R.js.map} +0 -0
- /package/dist/components/{p-D1uYEo7L.js.map → p-97N6vnZd.js.map} +0 -0
- /package/dist/components/{p-BaGuG5hS.js.map → p-9Fc5vWzs.js.map} +0 -0
- /package/dist/components/{p-DA_1vtmU.js.map → p-B11YJh32.js.map} +0 -0
- /package/dist/components/{p-DTqtObrT.js.map → p-B6W5V130.js.map} +0 -0
- /package/dist/components/{p-C9zTTp-4.js.map → p-B7ws0a8Z.js.map} +0 -0
- /package/dist/components/{p-Bm-gpoFa.js.map → p-BDW8BGmy.js.map} +0 -0
- /package/dist/components/{p-CsLlJDsh.js.map → p-BEQ2yAjW.js.map} +0 -0
- /package/dist/components/{p-nrkV1PqR.js.map → p-BMHv8WTp.js.map} +0 -0
- /package/dist/components/{p-D58kSmOp.js.map → p-BZJNdp6g.js.map} +0 -0
- /package/dist/components/{p-v06atw3t.js.map → p-B_Tu52N5.js.map} +0 -0
- /package/dist/components/{p-DgHAvBgB.js.map → p-BdqxED0P.js.map} +0 -0
- /package/dist/components/{p-DwYc62Ls.js.map → p-Bh2x2l2j.js.map} +0 -0
- /package/dist/components/{p-D9qp7S6Q.js.map → p-BnKGlfV9.js.map} +0 -0
- /package/dist/components/{p-DgaHxdNI.js.map → p-BpBeeNcM.js.map} +0 -0
- /package/dist/components/{p-B3OjIxsE.js.map → p-BqODWrES.js.map} +0 -0
- /package/dist/components/{p-3dApo-uA.js.map → p-BrrLEO2B.js.map} +0 -0
- /package/dist/components/{p-C629G4I1.js.map → p-Bufbdh4o.js.map} +0 -0
- /package/dist/components/{p-CDQM-sOT.js.map → p-BxsOj_LX.js.map} +0 -0
- /package/dist/components/{p-BDhPxj59.js.map → p-BznhH5yZ.js.map} +0 -0
- /package/dist/components/{p-BNnhxQyl.js.map → p-C-dGqk3e.js.map} +0 -0
- /package/dist/components/{p-C8cvGmGP.js.map → p-C0XPq5lI.js.map} +0 -0
- /package/dist/components/{p-CG636AEF.js.map → p-C5JaWzfu.js.map} +0 -0
- /package/dist/components/{p-C5Bgwjpo.js.map → p-CDetFhB9.js.map} +0 -0
- /package/dist/components/{p-nHKstm2X.js.map → p-COTO4dlW.js.map} +0 -0
- /package/dist/components/{p-CuMoDdaf.js.map → p-CXEfxOpA.js.map} +0 -0
- /package/dist/components/{p-4y8eF-fy.js.map → p-CZGfvbsC.js.map} +0 -0
- /package/dist/components/{p-BQIS-JBV.js.map → p-CbWiiNJL.js.map} +0 -0
- /package/dist/components/{p-DZ4ogW8V.js.map → p-Cct10sTX.js.map} +0 -0
- /package/dist/components/{p-BQSKXVmh.js.map → p-Cgowjgod.js.map} +0 -0
- /package/dist/components/{p-DBuVH8IL.js.map → p-CjAkXCwI.js.map} +0 -0
- /package/dist/components/{p-CioJtwj-.js.map → p-CjknknP6.js.map} +0 -0
- /package/dist/components/{p-DdTTiJbE.js.map → p-CsHiDnB-.js.map} +0 -0
- /package/dist/components/{p-CVH3vlKv.js.map → p-CuC7MNAM.js.map} +0 -0
- /package/dist/components/{p-i8IFRTdL.js.map → p-Cw-_pWl-.js.map} +0 -0
- /package/dist/components/{p-DnLJBwZR.js.map → p-D4LmYvoM.js.map} +0 -0
- /package/dist/components/{p-DMzn0Iz0.js.map → p-D4PyTfe4.js.map} +0 -0
- /package/dist/components/{p-thKhutym.js.map → p-D4fagxgG.js.map} +0 -0
- /package/dist/components/{p-ByWVc-XC.js.map → p-DGxkSNZ-.js.map} +0 -0
- /package/dist/components/{p-BS2SWUX6.js.map → p-DKir2dIt.js.map} +0 -0
- /package/dist/components/{p-CF5IKGi5.js.map → p-DRiOEv4L.js.map} +0 -0
- /package/dist/components/{p-CiJgTdse.js.map → p-DTOzpQD8.js.map} +0 -0
- /package/dist/components/{p-BgXgncGY.js.map → p-DVbSVIVZ.js.map} +0 -0
- /package/dist/components/{p-CjdBPauI.js.map → p-DbS9bWfm.js.map} +0 -0
- /package/dist/components/{p-BqAN7jax.js.map → p-DdXfvS4U.js.map} +0 -0
- /package/dist/components/{p-D1cLYdzg.js.map → p-DkxTx6nY.js.map} +0 -0
- /package/dist/components/{p-CrNizZqW.js.map → p-Dt4cCJEp.js.map} +0 -0
- /package/dist/components/{p-DR3KUEvE.js.map → p-DtoC1d2_.js.map} +0 -0
- /package/dist/components/{p-BPh3sXo6.js.map → p-DvF8zgEi.js.map} +0 -0
- /package/dist/components/{p-CR1YZ3na.js.map → p-DxVl-YSW.js.map} +0 -0
- /package/dist/components/{p-DSsOLbj6.js.map → p-DyL_ilIk.js.map} +0 -0
- /package/dist/components/{p-Cvl7cLxT.js.map → p-JB57brc4.js.map} +0 -0
- /package/dist/components/{p-HKrMuYSD.js.map → p-JdwWRJjd.js.map} +0 -0
- /package/dist/components/{p-CTPT9Ngc.js.map → p-MCxlBxSA.js.map} +0 -0
- /package/dist/components/{p-p0yn7c4h.js.map → p-MNhi5te8.js.map} +0 -0
- /package/dist/components/{p-D2cHi1Nb.js.map → p-OV_wRej-.js.map} +0 -0
- /package/dist/components/{p-C_f8s6n5.js.map → p-Q-gVll-_.js.map} +0 -0
- /package/dist/components/{p-CGG77xzV.js.map → p-Qf8o2d67.js.map} +0 -0
- /package/dist/components/{p-DXHBXAV0.js.map → p-V6FzDWfL.js.map} +0 -0
- /package/dist/components/{p-DBkHnJdp.js.map → p-WzQNLGYx.js.map} +0 -0
- /package/dist/components/{p-1KOtWYkC.js.map → p-eptsxAXs.js.map} +0 -0
- /package/dist/components/{p-D2FsRCII.js.map → p-fjRiTKvl.js.map} +0 -0
- /package/dist/components/{p-fafhoJgv.js.map → p-gJF_-tuy.js.map} +0 -0
- /package/dist/components/{p-CrcmijCR.js.map → p-h1R5xtdy.js.map} +0 -0
- /package/dist/components/{p-CKxNCxBn.js.map → p-hcVaU3nW.js.map} +0 -0
- /package/dist/components/{p-fJkfUsWz.js.map → p-jlska1pM.js.map} +0 -0
- /package/dist/components/{p-DKggy9E3.js.map → p-oWil-NTX.js.map} +0 -0
- /package/dist/components/{p-CyhRVB6K.js.map → p-pYGmgv_e.js.map} +0 -0
- /package/dist/components/{p-CMiST1Tm.js.map → p-rRkypR5s.js.map} +0 -0
- /package/dist/components/{p-CRTkSTv3.js.map → p-uCXQl-5J.js.map} +0 -0
- /package/dist/components/{p-CUiFFtAw.js.map → p-uWmGtcyP.js.map} +0 -0
- /package/dist/smoothly/{p-5e123fe2.entry.js.map → p-118fd1b8.entry.js.map} +0 -0
- /package/dist/smoothly/{p-13d05a22.entry.js.map → p-2cd32901.entry.js.map} +0 -0
- /package/dist/smoothly/{p-7a59c6a9.entry.js.map → p-baabb62e.entry.js.map} +0 -0
|
@@ -126,12 +126,8 @@
|
|
|
126
126
|
border-radius: var(--smoothly-input-border-radius) var(--smoothly-input-border-radius) 0 0;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
:host.icon {
|
|
130
|
-
width: fit-content;
|
|
131
|
-
flex-direction: column;
|
|
132
|
-
}
|
|
133
129
|
|
|
134
|
-
:host
|
|
130
|
+
:host>.select-display {
|
|
135
131
|
box-sizing: border-box;
|
|
136
132
|
display: flex;
|
|
137
133
|
padding: var(--input-value-padding-top) .8rem var(--input-value-padding-bottom) 0;
|
|
@@ -141,17 +137,17 @@
|
|
|
141
137
|
gap: 1rem;
|
|
142
138
|
text-overflow: ellipsis;
|
|
143
139
|
}
|
|
144
|
-
:host:not([readonly]):not([disabled])
|
|
140
|
+
:host:not([readonly]):not([disabled])>.select-display {
|
|
145
141
|
cursor: pointer;
|
|
146
142
|
}
|
|
147
143
|
|
|
148
|
-
:host:not(:has([slot=label]))
|
|
149
|
-
:host:not([show-label])
|
|
144
|
+
:host:not(:has([slot=label]))>.select-display,
|
|
145
|
+
:host:not([show-label])>.select-display {
|
|
150
146
|
padding: .6rem .8rem .6rem 0;
|
|
151
147
|
align-items: center;
|
|
152
148
|
}
|
|
153
149
|
|
|
154
|
-
:host
|
|
150
|
+
:host>.select-display smoothly-icon {
|
|
155
151
|
color: rgb(var(--smoothly-input-foreground));
|
|
156
152
|
fill: rgb(var(--smoothly-input-foreground));
|
|
157
153
|
stroke: rgb(var(--smoothly-input-foreground));
|
|
@@ -187,17 +183,15 @@
|
|
|
187
183
|
display: none
|
|
188
184
|
}
|
|
189
185
|
|
|
190
|
-
:host .label {
|
|
191
|
-
left: .5rem;
|
|
192
|
-
}
|
|
193
186
|
|
|
194
|
-
:host.has-value:has([slot=label]:not(:empty))
|
|
195
|
-
:host:not(.has-value)[placeholder]
|
|
187
|
+
:host.has-value:has([slot=label]:not(:empty))>.select-display,
|
|
188
|
+
:host:not(.has-value)[placeholder]>.select-display {
|
|
196
189
|
overflow: hidden;
|
|
197
190
|
width: 100%;
|
|
198
191
|
}
|
|
199
192
|
|
|
200
|
-
|
|
193
|
+
|
|
194
|
+
:host>.dropdown {
|
|
201
195
|
display: flex;
|
|
202
196
|
flex-direction: column;
|
|
203
197
|
position: absolute;
|
|
@@ -207,82 +201,96 @@
|
|
|
207
201
|
overflow-x: hidden;
|
|
208
202
|
overflow-y: auto;
|
|
209
203
|
background-color: rgb(var(--smoothly-input-background));
|
|
210
|
-
|
|
211
|
-
right: 0;
|
|
204
|
+
inset-inline: 0;
|
|
212
205
|
border-radius: 0 0 var(--smoothly-input-border-radius) var(--smoothly-input-border-radius);
|
|
213
|
-
min-width: fit-content;
|
|
214
206
|
border: rgb(var(--smoothly-input-border, var(--smoothly-color-contrast))) solid 1px;
|
|
215
207
|
border-top: rgba(var(--smoothly-input-border, var(--smoothly-color-contrast)), .4) solid 1px;
|
|
216
208
|
}
|
|
217
|
-
:host
|
|
218
|
-
:
|
|
219
|
-
:host[looks="transparent"]>div.options {
|
|
220
|
-
left: -1px;
|
|
221
|
-
right: -1px;
|
|
222
|
-
}
|
|
223
|
-
:host[multiple]>div.options>smoothly-item::before {
|
|
224
|
-
content: "";
|
|
225
|
-
display: inline-block;
|
|
226
|
-
width: 1rem;
|
|
227
|
-
height: 1rem;
|
|
228
|
-
margin-right: 0.5rem;
|
|
229
|
-
border: 1px solid rgb(var(--smoothly-input-foreground));
|
|
230
|
-
border-radius: 0.15rem;
|
|
231
|
-
vertical-align: middle;
|
|
232
|
-
}
|
|
233
|
-
:host[multiple]>div.options>smoothly-item[selected]::after {
|
|
234
|
-
content: "✔";
|
|
235
|
-
position: absolute;
|
|
236
|
-
left: 0.65rem;
|
|
237
|
-
color: rgb(var(--smoothly-item-selected-foreground))
|
|
238
|
-
}
|
|
239
|
-
:host[multiple]>div.options>smoothly-item[selected]::before {
|
|
240
|
-
border: 1px solid rgb(var(--smoothly-item-selected-foreground));
|
|
241
|
-
}
|
|
242
|
-
:host[multiple]>div.options>smoothly-item[selected]::after {
|
|
243
|
-
color: rgb(var(--smoothly-item-selected-foreground));
|
|
244
|
-
}
|
|
245
|
-
:host[multiple]>div.options>smoothly-item:hover::before {
|
|
246
|
-
border: 1px solid rgb(var(--smoothly-item-hover-foreground));
|
|
209
|
+
:host:not(.open)>.dropdown {
|
|
210
|
+
border: 0;
|
|
247
211
|
}
|
|
248
|
-
:host[
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
:
|
|
252
|
-
:host>div.options::slotted(div.search-preview) {
|
|
253
|
-
padding: .7rem .7rem .7rem .25rem;
|
|
212
|
+
:host[looks="grid"]>.dropdown,
|
|
213
|
+
:host[looks=border]>.dropdown,
|
|
214
|
+
:host[looks="transparent"]>.dropdown {
|
|
215
|
+
inset-inline: -1px;
|
|
254
216
|
}
|
|
255
217
|
|
|
256
|
-
:host
|
|
218
|
+
:host>.dropdown>.search {
|
|
257
219
|
display: flex;
|
|
258
220
|
position: sticky;
|
|
221
|
+
align-items: center;
|
|
259
222
|
top: 0;
|
|
260
223
|
gap: 1rem;
|
|
224
|
+
padding: .7rem .7rem .7rem .25rem;
|
|
261
225
|
background-color: rgb(var(--smoothly-input-background));
|
|
262
226
|
color: rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));
|
|
263
227
|
fill: rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));
|
|
264
228
|
stroke: rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));
|
|
265
229
|
}
|
|
266
|
-
:host
|
|
267
|
-
/*
|
|
230
|
+
:host:not(.has-filter)>.dropdown>.search {
|
|
231
|
+
/* hide search */
|
|
232
|
+
/* search cant be display: none, since it is the focus element */
|
|
233
|
+
height: 0;
|
|
234
|
+
padding: 0;
|
|
235
|
+
overflow: hidden;
|
|
236
|
+
pointer-events: none;
|
|
237
|
+
}
|
|
238
|
+
:host>.dropdown>.search::before {
|
|
239
|
+
/* search have opacity without showing what is underneath */
|
|
268
240
|
content: "";
|
|
269
241
|
position: absolute;
|
|
270
242
|
inset: 0;
|
|
271
243
|
background-color: rgba(var(--smoothly-primary-tint), 0.5);
|
|
272
244
|
z-index: -1;
|
|
273
245
|
}
|
|
274
|
-
:host
|
|
275
|
-
:
|
|
246
|
+
:host>.dropdown>.search>.search-input {
|
|
247
|
+
width: 100%;
|
|
248
|
+
background-color: transparent;
|
|
249
|
+
border: none;
|
|
250
|
+
outline: none;
|
|
251
|
+
}
|
|
252
|
+
:host>.dropdown>.search>smoothly-icon[name="search-outline"],
|
|
253
|
+
:host>.dropdown>.search>smoothly-icon[name="backspace-outline"] {
|
|
276
254
|
color: rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));
|
|
277
255
|
fill: rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));
|
|
278
256
|
stroke: rgb(var(--smoothly-input-foreground, var(--smoothly-color-contrast)));
|
|
279
257
|
}
|
|
280
258
|
|
|
281
|
-
:host>div.options>div.search-preview>smoothly-icon[name="backspace-outline"] {
|
|
282
|
-
margin-left: auto;
|
|
283
|
-
margin-right: 0;
|
|
284
|
-
}
|
|
285
259
|
|
|
286
|
-
|
|
260
|
+
/* --- multiple options --- */
|
|
261
|
+
:host([multiple])::slotted(.dropdown>.menu>smoothly-item) {
|
|
262
|
+
position: relative;
|
|
263
|
+
}
|
|
264
|
+
:host([multiple])::slotted(.dropdown>.menu>smoothly-item::before) {
|
|
265
|
+
content: "";
|
|
266
|
+
display: inline-block;
|
|
267
|
+
width: 1rem;
|
|
268
|
+
height: 1rem;
|
|
269
|
+
margin-right: 0.5rem;
|
|
270
|
+
border: 1px solid rgb(var(--smoothly-input-foreground));
|
|
271
|
+
border-radius: 0.15rem;
|
|
272
|
+
vertical-align: middle;
|
|
273
|
+
}
|
|
274
|
+
:host([multiple])::slotted(.dropdown>.menu>smoothly-item[selected]::before) {
|
|
275
|
+
border-color: rgb(var(--smoothly-item-selected-foreground));
|
|
276
|
+
}
|
|
277
|
+
:host([multiple])::slotted(.dropdown>.menu>smoothly-item:hover::before) {
|
|
278
|
+
border: 1px solid rgb(var(--smoothly-item-hover-foreground));
|
|
279
|
+
}
|
|
280
|
+
:host([multiple])::slotted(.dropdown>.menu>smoothly-item[selected]::after) {
|
|
281
|
+
content: "✔";
|
|
282
|
+
position: absolute;
|
|
283
|
+
left: 0.65rem;
|
|
284
|
+
color: rgb(var(--smoothly-item-selected-foreground));
|
|
285
|
+
}
|
|
286
|
+
:host([multiple])::slotted(.dropdown>.menu>smoothly-item:hover::after) {
|
|
287
|
+
color: rgb(var(--smoothly-item-hover-foreground));
|
|
288
|
+
}
|
|
289
|
+
:host>.dropdown {
|
|
290
|
+
min-width: fit-content;
|
|
291
|
+
}
|
|
292
|
+
:host>.dropdown>.menu[hidden] {
|
|
287
293
|
display: none;
|
|
288
294
|
}
|
|
295
|
+
|
|
296
|
+
|
|
@@ -17,14 +17,20 @@ export class SmoothlyInputSubmit {
|
|
|
17
17
|
if (Submittable.is(parent) && Editable.type.is(parent)) {
|
|
18
18
|
this.parent = parent;
|
|
19
19
|
parent.listen(async (p) => {
|
|
20
|
-
var _a;
|
|
21
20
|
this.display = !p.readonly;
|
|
22
|
-
this.disabled =
|
|
23
|
-
!this.delete &&
|
|
24
|
-
(p.readonly ||
|
|
25
|
-
("validator" in p && p.validator instanceof isly.Type && !((_a = p.validator) === null || _a === void 0 ? void 0 : _a.is(Data.convertArrays(p.value)))) ||
|
|
26
|
-
!p.isDifferentFromInitial);
|
|
27
21
|
});
|
|
22
|
+
if (typeof this.disabled !== "boolean") {
|
|
23
|
+
parent.listen(async (p) => {
|
|
24
|
+
var _a;
|
|
25
|
+
this.disabled =
|
|
26
|
+
!this.delete &&
|
|
27
|
+
(p.readonly ||
|
|
28
|
+
("validator" in p &&
|
|
29
|
+
p.validator instanceof isly.Type &&
|
|
30
|
+
!((_a = p.validator) === null || _a === void 0 ? void 0 : _a.is(Data.convertArrays(p.value)))) ||
|
|
31
|
+
!p.isDifferentFromInitial);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
28
34
|
}
|
|
29
35
|
});
|
|
30
36
|
}
|
|
@@ -34,7 +40,7 @@ export class SmoothlyInputSubmit {
|
|
|
34
40
|
}
|
|
35
41
|
render() {
|
|
36
42
|
var _a, _b;
|
|
37
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '0fed4a319580841ba1d3281fb084b91a4d7b5a68', title: this.tooltip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
38
44
|
}
|
|
39
45
|
static get is() { return "smoothly-input-submit"; }
|
|
40
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/input/submit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAS,MAAM,eAAe,CAAA;AACvG,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAS,IAAI,EAAc,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAO5C,MAAM,OAAO,mBAAmB;IALhC;QAO0B,WAAM,GAAG,KAAK,CAAA;QAE/B,SAAI,GAAiB,mBAAmB,CAAA;QAGR,aAAQ,GAAG,KAAK,CAAA;QAChB,YAAO,GAAG,KAAK,CAAA;QAE9B,SAAI,GAA4C,MAAM,CAAA;QACvE,YAAO,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/input/submit/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAqB,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAS,MAAM,eAAe,CAAA;AACvG,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAS,IAAI,EAAc,MAAM,gBAAgB,CAAA;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAO5C,MAAM,OAAO,mBAAmB;IALhC;QAO0B,WAAM,GAAG,KAAK,CAAA;QAE/B,SAAI,GAAiB,mBAAmB,CAAA;QAGR,aAAQ,GAAG,KAAK,CAAA;QAChB,YAAO,GAAG,KAAK,CAAA;QAE9B,SAAI,GAA4C,MAAM,CAAA;QACvE,YAAO,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAA;KA0DnD;IAxDA,iBAAiB;QAChB,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE;YACpC,IAAI,WAAW,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC;gBACxD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;gBACpB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAC,CAAC,EAAC,EAAE;oBACvB,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAA;gBAC3B,CAAC,CAAC,CAAA;gBACF,IAAI,OAAO,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;oBACxC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAC,CAAC,EAAC,EAAE;;wBACvB,IAAI,CAAC,QAAQ;4BACZ,CAAC,IAAI,CAAC,MAAM;gCACZ,CAAC,CAAC,CAAC,QAAQ;oCACV,CAAC,WAAW,IAAI,CAAC;wCAChB,CAAC,CAAC,SAAS,YAAY,IAAI,CAAC,IAAI;wCAChC,CAAC,CAAA,MAAA,CAAC,CAAC,SAAS,0CAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAA,CAAC;oCAC/C,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAA;oBAC7B,CAAC,CAAC,CAAA;gBACH,CAAC;YACF,CAAC;QACF,CAAC,CAAC,CAAA;IACH,CAAC;IACD,YAAY;;QACX,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACjC,CAAC;IAED,MAAM;;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,OAAO,IACvB,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,CACtB,+BACC,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,QAAQ,EAC7B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,iBAAiB,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE;YAC5C,eAAQ;YACR,qBAAe,IAAI,EAAC,eAAe,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACtC,CAC1B,CAAC,CAAC,CAAC,CACH,uBACC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,MAAA,IAAI,CAAC,KAAK,mCAAI,SAAS,EAC9B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE;YAClC,eAAQ;YACP,IAAI,CAAC,IAAI,IAAI,qBAAe,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,GAAG,CACxD,CAClB,CACK,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, ComponentWillLoad, Event, EventEmitter, h, Host, Prop, VNode } from \"@stencil/core\"\nimport { isly } from \"isly\"\nimport { Color, Data, Fill, Icon } from \"../../../model\"\nimport { Editable } from \"../Editable\"\nimport { Submittable } from \"../Submittable\"\n\n@Component({\n\ttag: \"smoothly-input-submit\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputSubmit implements ComponentWillLoad {\n\tprivate parent?: Submittable & Editable\n\t@Prop({ reflect: true }) delete = false\n\t@Prop() color?: Color\n\t@Prop() icon: Icon | false = \"checkmark-outline\"\n\t@Prop({ reflect: true }) expand?: \"block\" | \"full\"\n\t@Prop({ reflect: true }) fill?: Fill\n\t@Prop({ reflect: true, mutable: true }) disabled = false\n\t@Prop({ reflect: true, mutable: true }) display = false\n\t@Prop({ reflect: true }) shape?: \"rounded\"\n\t@Prop({ reflect: true }) size: \"flexible\" | \"small\" | \"large\" | \"icon\" = \"icon\"\n\t@Prop() tooltip = this.delete ? \"Remove\" : \"Submit\"\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\tcomponentWillLoad(): void {\n\t\tthis.smoothlyInputLoad.emit(parent => {\n\t\t\tif (Submittable.is(parent) && Editable.type.is(parent)) {\n\t\t\t\tthis.parent = parent\n\t\t\t\tparent.listen(async p => {\n\t\t\t\t\tthis.display = !p.readonly\n\t\t\t\t})\n\t\t\t\tif (typeof this.disabled !== \"boolean\") {\n\t\t\t\t\tparent.listen(async p => {\n\t\t\t\t\t\tthis.disabled =\n\t\t\t\t\t\t\t!this.delete &&\n\t\t\t\t\t\t\t(p.readonly ||\n\t\t\t\t\t\t\t\t(\"validator\" in p &&\n\t\t\t\t\t\t\t\t\tp.validator instanceof isly.Type &&\n\t\t\t\t\t\t\t\t\t!p.validator?.is(Data.convertArrays(p.value))) ||\n\t\t\t\t\t\t\t\t!p.isDifferentFromInitial)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t}\n\tclickHandler() {\n\t\tthis.parent?.submit(this.delete)\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host title={this.tooltip}>\n\t\t\t\t{this.delete == true ? (\n\t\t\t\t\t<smoothly-button-confirm\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tshape={this.shape}\n\t\t\t\t\t\texpand={this.expand}\n\t\t\t\t\t\tcolor={this.color ?? \"danger\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tonSmoothlyConfirm={() => this.clickHandler()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t<smoothly-icon name=\"trash-outline\" fill=\"solid\" size=\"tiny\" />\n\t\t\t\t\t</smoothly-button-confirm>\n\t\t\t\t) : (\n\t\t\t\t\t<smoothly-button\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\ttype={\"button\"}\n\t\t\t\t\t\tshape={this.shape}\n\t\t\t\t\t\texpand={this.expand}\n\t\t\t\t\t\tcolor={this.color ?? \"success\"}\n\t\t\t\t\t\tfill={this.fill}\n\t\t\t\t\t\tonClick={() => this.clickHandler()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t{this.icon && <smoothly-icon name={this.icon} fill=\"solid\" size=\"tiny\" />}\n\t\t\t\t\t</smoothly-button>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"]}
|
|
@@ -34,7 +34,7 @@ export class SmoothlyItem {
|
|
|
34
34
|
: false;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '5a606bfedb2eb8cf6a503386d2d5e16f0f60c090', tabIndex: -1 }, h("slot", { key: 'a7912c7b3ac7ecb40e61058d949b4cc62806246d' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "smoothly-item"; }
|
|
40
40
|
static get encapsulation() { return "scoped"; }
|
|
@@ -2,9 +2,9 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
export class SmoothlyLabel {
|
|
3
3
|
render() {
|
|
4
4
|
var _a;
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: 'd6dfddb0df4c99de8e075141cf16d3f4ca4c861a', title: this.description, style: {
|
|
6
6
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
7
|
-
} }, h("slot", { key: '
|
|
7
|
+
} }, h("slot", { key: '1f56e22de589b47ac208c96ee5c84edd8484e3a4' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "smoothly-label"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -8,7 +8,7 @@ export class SmoothlyLazy {
|
|
|
8
8
|
this.show = true;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '0b17b27ef091a5cbf3efedc7560c0af506f8927a' }, h("slot", { key: '7cb9a362b4540fbdcdc579bf95a273e7c13fad25', name: "before" }), h("smoothly-load-more", { key: '7dde9ba1e78a9a7f0eeeefbe124c3410f367bd3e', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: 'fbe22ffca8fa781a19bf07537f294be36a8bc212' })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "smoothly-lazy"; }
|
|
14
14
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class LoadMore {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return h(Host, { key: '
|
|
40
|
+
return h(Host, { key: '1b86dd2400a791b125a24513cb9514face925d3d' });
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "smoothly-load-more"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -15,9 +15,9 @@ export class SmoothlyModal {
|
|
|
15
15
|
this.open = true;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '36caaa17bfd076dd297f58ccb9ac4a12871343a7', role: "alertdialog", onClick: (e) => {
|
|
19
19
|
this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
|
|
20
|
-
} }, h("div", { key: '
|
|
20
|
+
} }, h("div", { key: '4c0f2d6537496a8b2392aacddd9ba9db9c5d6052', class: "modal" }, h("div", { key: '0ecf5c976360402e1117570ef10bd3e46f69ff2b', class: "header" }, h("slot", { key: '93b7f39f4a41f83743bc766a3c6e35f3ac1c324f', name: "header" }), this.closable && h("smoothly-icon", { key: 'c61e00a97962890149cb89c0daf5df907c7dfb6e', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: 'fda69f545df08c71f58c85ea096fed500a6c6ff6' }), h("div", { key: 'c7e180ef59712c1096aa12359eac3e97d0c42d6e', class: "actions" }, h("slot", { key: '7cfef8c5cdf40fc9eedb5a0fa2538e02d82be8a7', name: "actions" })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "smoothly-modal"; }
|
|
23
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -50,7 +50,7 @@ export class Notification {
|
|
|
50
50
|
this.onUpdatedNotice(this.notice);
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '02ae0659b1c3c7e4e5e74ac356bb94cf91ef8835', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: '4525814eb8b98479507575f107ea3f89f708bc56', fill: "clear", name: "close" }, h("smoothly-icon", { key: 'd611ae4917fa50ef7d0e397a96fec34aee39cb72', name: "close-circle-outline" }))), h("span", { key: '30b99783d4c02842315a782a4029f97a450f5a2b', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: '147a0858cc23b98e8aac82463ab19b1891896d1a', name: this.properties[1] }), h("p", { key: '45d9c9e89189a31941461500868439768c3199e6' }, this.notice.message))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "smoothly-notification"; }
|
|
56
56
|
static get encapsulation() { return "scoped"; }
|
|
@@ -11,7 +11,7 @@ export class Notifier {
|
|
|
11
11
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '6da528516e01fc32e6f17fd480068664b5c9e021' }, h("slot", { key: '1067e9afd266e04d3e0b32a79f974762f3bad7d2' }), h("div", { key: '493f3f5119c9c66fd6e5f9ee90d7b4fea22dc30f', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "smoothly-notifier"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,9 +5,9 @@ export class SmoothlySpinner {
|
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '9a0cc6ad21f0c3bfce350ba2a2c83272891844d6', style: {
|
|
9
9
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
10
|
-
} }, h("svg", { key: '
|
|
10
|
+
} }, h("svg", { key: '669a73232e58cb2d87dca969cd32150f2fd010f5', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '31faf5cfc5a15e627ad7875af4cd16f6e9adac09', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "smoothly-spinner"; }
|
|
13
13
|
static get encapsulation() { return "scoped"; }
|
|
@@ -20,7 +20,7 @@ export class SmoothlySubmit {
|
|
|
20
20
|
(_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Button, { key: '
|
|
23
|
+
return (h(Button, { key: 'ae0834363121d13204f7ebb794c44acfe10ca71e', disabled: this.disabled, type: this.type }, h("slot", { key: '7cafd59438f3f509652a416964338f8e6a87b9f4' })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "smoothly-submit"; }
|
|
26
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -10,7 +10,7 @@ export class SmoothlySummary {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h("details", { key: '
|
|
13
|
+
return (h("details", { key: 'd77e78b718fca10f4d8e9e2bdae4112cffb4cfc3', onToggle: e => this.toggleHandler(e), open: this.open }, h("summary", { key: '5e264e08db22ec0eb85433d3d72f0f12d10cd2c1' }, h("smoothly-icon", { key: '36d49d1d21151034a35fca5b93a064074d49bb84', name: "caret-forward", fill: "solid", size: "tiny" }), h("slot", { key: '55164da27444d19c18b6b931813d12a3d5a4abe4', name: "summary" })), h("slot", { key: 'b459e14735415bee4c85af02cff23c0675372931', name: "content" })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "smoothly-summary"; }
|
|
16
16
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableBody {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '383e7918b3e1e57f2970da2d97f19f2628a53e64' }, h("slot", { key: '8d9059eed589799ad9eea2132a0bd2b10aabc03e' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-body"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -5,7 +5,7 @@ export class SmoothlyTableCell {
|
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
7
|
var _a;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '2c1a6679cabf05342c1e8a783a4a8fb27fd8c6f1', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, h("slot", { key: '3a33c09387abdf5f499ba1f92dcf92b5b7f71a2d' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "smoothly-table-cell"; }
|
|
11
11
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyTableDemoColspan {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '1b9dfde05087d6be2711b86baca19630286b2322' }, h("smoothly-table", { key: '0ba0536e747782d879f6a2cf099388435c881ad5', columns: 3 }, h("smoothly-table-head", { key: 'e14bea187af499007f4173c261526c72f3b89c8e' }, h("smoothly-table-row", { key: '9104850519968b86ba1f48f5ee997a1ccfa49a12' }, h("smoothly-table-cell", { key: '26dd9041355d04f517e3951ce608cc8b60b8caaf' }, "Date"), h("smoothly-table-cell", { key: 'b78eb957ed8ec68b5919362fe0afedc1f6375c5d' }, "Skip"), h("smoothly-table-cell", { key: '1f8ef467f5a9e9ba2157e126fc3adedb2821c9ea' }, "Total"))), h("smoothly-table-body", { key: '6679b94c153ce61b39957e64d453f8f5edd47cf0' }, h("smoothly-table-row", { key: 'd0f0c0b13b0e56b7fc761701897f9304c531c5d9' }, h("smoothly-table-cell", { key: '8e022e2e5befad0983c8d6e0567dc92a8fe1bb0c', span: 2 }, h("smoothly-display", { key: 'efb5e464048093e3855163818b6b38d86f084995', type: "date", value: "2024-01-01" })), h("smoothly-table-cell", { key: 'c9912c8e499f751cd84323b15b282f58e1a2a052' }, h("smoothly-display", { key: 'f618c45ed3960424e46ef6f40adf2b69c7307a08', type: "price", value: 120, currency: "EUR" }))), h("smoothly-table-row", { key: 'a8605b2eb3eb80ab039f2cc6e257842045e16909' }, h("smoothly-table-expandable-cell", { key: 'cf8436e7d932f4ff0d92a054c74275551961a1ab', span: 2 }, h("smoothly-display", { key: '2013f65b67bf9f03de31fabae41e2fa4cfab338c', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: 'e8d3b46995025d2f3af0f2f587b555bf4d1c0daf', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-table-expandable-cell", { key: '0409b2d3c90ada5737e6bb9069fb1066ff7063af' }, h("smoothly-display", { key: '82bd4a3cde9062604343fd53161a7d86838f4fed', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: '4592efa154194347becf15f00275303577d743b7', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-table-row", { key: '0aa33698c9d9de3f41d04298d60a15b62f9294e4' }, h("smoothly-table-cell", { key: '5e7265ba2d08b2aba02decd78ad88319cc407f72' }, h("smoothly-display", { key: '5af078d9ea92c4a6865a3f7545ece78d709c85fd', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: '606899c1227efff03793e7108f413ca727b77304' }, "Not Skipped"), h("smoothly-table-cell", { key: '9fcdda1bad4686bf2c8a5a78486a05d25d923402' }, h("smoothly-display", { key: '033cf9f7f2f090738f71320df238d26152acdcd1', type: "price", value: 320, currency: "EUR" })))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-colspan"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class SmoothlyTableDemoFillerRow {
|
|
|
9
9
|
}, 3000);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'f857bf2706fea0bc7bef38da1231c17460e9c609' }, h("smoothly-display", { key: '56bb55f00ea43d80e8b94460bb2e951bc741aa72', type: "text", value: "Filler row" }), h("smoothly-table", { key: '3a6c43bc37797672d40417395ffdacca1b52f327', color: "primary", columns: 4 }, h("smoothly-table-head", { key: '09289f8564422ceb0f8b7d33040a561d35dc9a02' }, h("smoothly-table-row", { key: '9675f44ce397953bc4b674bc768299d3a018820e' }, h("smoothly-table-cell", { key: '8fde03da5517c6f75c7c8da3c5bb336d2ed5a4b0' }, "Breed"), h("smoothly-table-cell", { key: '721fc804d59cb6dca7b66b2fd38dd700172322be' }, "Country"), h("smoothly-table-cell", { key: 'e8fbd6258f7167841eef83776e00406cd9ed3690' }, "Coat"), h("smoothly-table-cell", { key: '3e514eab5bb013da0d23cdde06324492bb97632b' }, "Origin"))), h("smoothly-table-body", { key: 'a14df5fcfad26c2d54ef13810e409ed65f72ac39' }, this.cats === undefined ? (h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-table-row", null, h("div", { class: "smoothly-table-cell" }, a.breed), h("div", { class: "smoothly-table-cell" }, a.country), h("div", { class: "smoothly-table-cell" }, a.coat), h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-table-demo-filler-row"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -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: '9af97a2dd73e554ea9c1bff231782e9889157fde' }, h("smoothly-display", { key: '2257c3cba1ba5ce0431e32f53dfd92573b25bcb3', type: "text", value: "Group" }), h("smoothly-table", { key: '90b901a78ae391af9f7acdd0ef1c494a8f6fe133', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '972dd604c495658a4655c9d4afbe7585b7f34e9e' }, h("smoothly-table-row", { key: '71e959f5666e68ad006252a4591a194840495936' }, h("smoothly-table-cell", { key: '62d2bd26dce8826b74dc4c8e8c569532cc07ca45' }, "Date"), h("smoothly-table-cell", { key: 'f866b0f9719d679f6a7830c65ac3391491c00349' }, "Total"))), h("smoothly-table-body", { key: '70dc05107403877ad47644460a09d3250c1ddd1e' }, h("smoothly-table-row-group", { key: 'e7f2268c625dcdb0350b9b6171fdbeb3163d8413', align: true }, h("smoothly-display", { key: 'dac67a56a4fc3ab520128b3b63646cde0c6fcbce', slot: "start", type: "date", value: "2024-01-01" }), h("smoothly-display", { key: 'ed4b8fd5dcafc2cae49e475b4c091d35b2b30b3f', slot: "end", type: "price", currency: "EUR", value: 510 }), h("smoothly-table-expandable-row", { key: 'ff08cffdfcec5945cb13ea713e5379ff16e8e917' }, h("smoothly-table-cell", { key: '2575df31b1c799750a491c07400b90f3c8c0732e' }, h("smoothly-display", { key: 'a72e50c14f31b8061a78eb378fdf243e6a757d9a', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'b88eb73fcb09cbce241d452905f767498da92335' }, h("smoothly-display", { key: 'bf82b932285431bc9beb341f8c5bd9aaa5b56766', type: "price", currency: "EUR", value: 250 })), h("smoothly-lazy", { key: '0f51682b219b4130d614bffb8399011764f81018', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '24aedfa873558b5bfc91d12ed8a1283097b11add' }, h("smoothly-table-cell", { key: '5e7a30c94f9c8b5607ced0bdc1756ba89a9b19e9' }, h("smoothly-display", { key: 'bc14c1e289193e3be9bf3ba4940e11eb2db915f7', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'd82b33d05e427ec17f8aae619b168e6968addb68' }, h("smoothly-display", { key: 'a9b7548b18d6ba3dfa509ce436bc90848a485f15', type: "price", currency: "EUR", value: 260 })), h("smoothly-lazy", { key: '5f6c95d971232a61ba4366a0506c6a4d6e143b08', slot: "detail", content: h(Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), h("smoothly-table-row", { key: '5e50d0d8833c2d51d3926dd13d13632be5d4a14a' }, h("smoothly-table-cell", { key: '500e6fa274591bfa46fb7df980e5c00e66950f1f' }, h("smoothly-display", { key: 'f3b0357299f95a2708a205a2d6a36fc9153a113c', type: "date", value: "2024-01-02" })), h("smoothly-table-cell", { key: 'e714d0a9d84bc9c2fb7e63df0a5a2242ff0aeb47' }, h("smoothly-display", { key: 'f77b5b7645e03522332aad7c867cc9cc7d50ce5a', type: "price", currency: "EUR", value: 130 }))), h("smoothly-table-row-group", { key: 'd5563da2fba612869aee7e52891dbe3bbbb3eb5b' }, h("smoothly-display", { key: '938b397b77eccae59e9d75c6095314b04d49005d', slot: "start", type: "date", value: "2024-01-03" }), h("smoothly-display", { key: '94cf02e6a97968bc0698e36db986b8f201f383e3', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: 'cd8a0312c1308565eecd1989eff865836259e9ec' }, h("smoothly-table-cell", { key: '6e53dceadf261cfd110895b6803f85f428fbc788' }, h("smoothly-display", { key: '7f006f2a033a00961c7a6a3d68c22f873857ad98', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), h("smoothly-table-cell", { key: '039d08030bd0f63af9c1afa1a728dadc9680ae82' }, h("smoothly-display", { key: 'd88710af1a900007217541f3943e5a7efb5a2a3f', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: 'fdcd37bb700758be174cc0e5713b4c07403f8682', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '79b4d9f391ef6ab8841d2de05cf8aa55ef8a59ec' }, h("smoothly-table-cell", { key: 'c1261022a5c3fffe6119e321d129907c07fe18ac' }, h("smoothly-display", { key: '5748d8bc6db59fab0f80ce1812f569287d808b81', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), h("smoothly-table-cell", { key: '118a115ba40c16775073062b039d382e5501cca4' }, h("smoothly-display", { key: '42d80083625b2e8374f00c629ea64802788c8459', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '808b3347c13ec37e4a4a1b63c91392eb667e4f66', slot: "detail", content: h(Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: '6f0a95e81ca788091fc90768f1a0f295fa35b6b9' }, h("smoothly-display", { key: '731be311b19de2a133edc969fc6561ded4e6aa99', slot: "start", type: "date", value: "2024-01-04" }), h("smoothly-table-expandable-row", { key: 'e09a2691c08602f3fda9b2803a30ea5056761c27' }, h("smoothly-table-cell", { key: 'e50ef37a30a54a6d1b76cd27fe678c6d4e998486' }, h("smoothly-display", { key: '2b2147f209ef7ef3fcdefe8526d8332188a64e60', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'df7f27802f806d3d63c9855f49b26a7281ab2c7e' }, h("smoothly-display", { key: '0945da5982870fab2637680ecaa974801c046690', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: 'be7bcd85defabd41296f9e428cbac22bdf52fffc', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: '4caaa5c8890ff1aca72adea083a6fe58f23ffc1d' }, h("smoothly-table-cell", { key: '46ffccf1ff8e575e1784a8a8b62799c163f76bff' }, h("smoothly-display", { key: 'df4c90a165a16556072af954ddd2ecf2a25fb6cb', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'c42afea6b5256e18b5c0bd235abb00a5589a1639' }, h("smoothly-display", { key: 'afd91932af6b3d9df399e31f3a3dfb3710dd67da', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '116923536874fae3bf8f248c654620d7e9d84caf', slot: "detail", content: h(Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), h("smoothly-table-row-group", { key: 'c5bfe45b4fe1f13f93cfd525ae19d50442851294' }, h("smoothly-display", { key: 'bd7d161f3cafdcbd699db62bc17723818ef72549', slot: "end", type: "price", currency: "EUR", value: 720 }), h("smoothly-table-expandable-row", { key: '6c23d8c95b24d54b1b331353e18b75069d088ead' }, h("smoothly-table-cell", { key: 'bb493a1fd99fffea71a80b2ee6896461c6690b67' }, h("smoothly-display", { key: 'a97142706d066ef6044dd8c2ffebf1dd205a42aa', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), h("smoothly-table-cell", { key: 'd1dc093bebe2b4983aba8a146958dd91ba25e3d1' }, h("smoothly-display", { key: '375f129f914048e76c1fcb32b9f95eb83acca27c', type: "price", currency: "EUR", value: 320 })), h("smoothly-lazy", { key: '0b75809560b5a2eef3e8efb5a1d4b413430ffff9', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), h("smoothly-table-expandable-row", { key: 'b53719c5188bb125812eec710b00bf93a7d64fce' }, h("smoothly-table-cell", { key: '20012bd7ea22477b21ca4c6522e04a2296cb5e95' }, h("smoothly-display", { key: '6bbd6c62dad1231cb57e68df58ccceaa33ec76ea', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), h("smoothly-table-cell", { key: 'a04700a2c7ba95e6912a0c8685dd394e1116e56a' }, h("smoothly-display", { key: '28993df17be6cd71f9d8da5580bd13173e5b1728', type: "price", currency: "EUR", value: 400 })), h("smoothly-lazy", { key: '716d3711fb1ba17f1b07e40d0cc4e42f77d6e48a', slot: "detail", content: h(Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), h("fake-group-wrapper", { key: '5a8d87d22055a3cc9a6eb3fac647b3b10ddf3107' }, h("smoothly-table-row-group", { key: '6c29d6604c34f297e75f4b5d6b1599b38e3f5c4f' }, h("smoothly-display", { key: '25835c64a61ef3ef5ded3ec48be000c759f3c263', slot: "start", type: "date", value: "2024-01-06" }), h("smoothly-display", { key: 'b986fbafe80daab7dd7a2c522785c633406c01c0', slot: "end", type: "price", currency: "EUR", value: 720 }), h("fake-row-wrapper", { key: '6f0817c4ed598275401f6d86c869dd39b3b900bb' }, h("smoothly-table-row", { key: 'c627b346517b950d2883bed648e8acd06991f7dd' }, h("fake-cell-wrapper", { key: '2136dcadb092ce67f4ce986fe3bd1d73759ad03b' }, h("smoothly-table-cell", { key: '21f1b8c4df866a68caee5da599e1bb8219e042b7' }, h("smoothly-display", { key: '857236ba64c06093da4c1ecb7eae6710c2cddbce', type: "date", value: "2024-01-02" }))), h("fake-expandable-cell-wrapper", { key: 'c840c1896076ee2ca7e6bf3217b6f89ec3cfac7e' }, h("smoothly-table-expandable-cell", { key: 'b5dd3983275b0e6948b71d4d5d4e8696ed9a0373' }, h("smoothly-display", { key: '44b2aa3acfebb161747e8e693fcadd6a95c1f2df', type: "price", currency: "EUR", value: 130 }), h("smoothly-lazy", { key: 'e555b070d789e2ec97a730de08dd5b4c479eb06a', 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: '47afe4d30b2e7a0f29f019489d00f93679b3b3f5' }, h("smoothly-table-expandable-row", { key: '0e066e8ef7beb4f5212b7ab366faa8e8a766f8fc' }, h("fake-cell-wrapper", { key: 'c1e8f9e0bc80e21f5cf13a9e1c08dccfc69812a6', class: "span-2" }, h("smoothly-table-cell", { key: 'aa446fc3558e1777af3f7db9de01838e2f7da1b9', span: 2 }, h("smoothly-display", { key: '80800c6bc0d00193c959425eb1e72d82f74519e1', type: "date", value: "2024-01-07" }))), h("smoothly-lazy", { key: '761732bea1df5e3e78dadef9c2817610e50169ff', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), h("smoothly-table-row-group", { key: 'ccc5676e70c09b50f05a5429c8bbba6e7c0031df' }, h("smoothly-display", { key: '8ef9e40351c078324f6f599addbf8d767b4d4a77', slot: "start", type: "date", value: "2024-01-08" }), h("smoothly-display", { key: 'fb97dc92fb8b501a5bcf89e68a1d8ebba1a856b4', 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: '35794212738d56a6ee77383f2cdee89a57db82f1' }, h("smoothly-table-demo-filler-row", { key: '4eeaba2055e5ad58c8e9942264a5f8d81c04e29e' }), h("smoothly-table-demo-group", { key: 'e8d15d7d715d993385df9de46b4dc42597f3a120' }), h("smoothly-table-demo-colspan", { key: '7ae3ade7115e92e55cb992749b6a5e5a6371634d' }), h("smoothly-table-demo-simple", { key: 'edd4c2e7e16c3c9bbb2e28f4321b66fad061e339' }), h("smoothly-table-demo-nested-no-cell", { key: 'd07a40ff623a290ea90367b1b170ecd93b150565' })));
|
|
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: '460dd1e98f1ee50a19fbbcc297389ce8406bb59c' }, h("smoothly-display", { key: '36a48c1134c56fb73ee494a3d5838a07485473a1', type: "text", value: "Nested" }), h("smoothly-table", { key: '8eaba9ebaaad200fa7bd0addaca098651dff32c4', color: "primary", columns: 8 }, h("smoothly-table-head", { key: '0a4c113f707aa20076ea30a3a5dd2f27152fedac' }, h("smoothly-table-row", { key: '0c4d3e3ded2c62be537c7304d37533ba3a53e9ac' }, h("div", { key: 'f59f569ba6872affb34f6cf043f08a597f171e2e', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'a72101553c2d7af6d2ce92d488b7cb0aaf622fca', class: "smoothly-table-cell" }, "Registered"), h("div", { key: 'c442f7e5260320209001d6b381089a68f33cf0c1', class: "smoothly-table-cell" }, "Name"), h("div", { key: 'd5c73e0cafdfa5db279babe93176b0efebffb256', class: "smoothly-table-cell" }, "Age"), h("div", { key: 'd668bf984ce8de36976bf95f2ede82f0770336d6', class: "smoothly-table-cell" }, "Balance"), h("div", { key: '9f92f505cef3b3fa10538a33ce94d1aea27e8496', class: "smoothly-table-cell" }, "EyeColor"), h("div", { key: 'def6a9aad7bb6fb64bf6400650c75c5bf89fcec4', class: "smoothly-table-cell" }, "Gender"), h("div", { key: '1e0aad645cb72a7dc7cde05d0e30cb46a86de437', class: "smoothly-table-cell" }, "Company"))), h("smoothly-table-body", { key: '409e2bb51254cbfcb7f87bc77f0723e4ecbf162f' }, 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: '5c99a61adab8729709a0887dd866b462e6737554' }, h("smoothly-table-row", { key: '2d224a2a8ad6e35ff2c36eadec885de9f0203b48' }, h("div", { key: '78480235c2e055b5960c5a049314e323528e6030', class: "smoothly-table-cell" }, "Footer Cell"), h("div", { key: 'ba6d2fb174d44ad05eb6d99deec082a8180a247b', 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: 'aac05d43b4512b20fa4cec737ccb31ec3a528b56' }, h("smoothly-table", { key: 'b022de2650d8db21e46aab409b8d1df0dc409f80', columns: 4 }, h("smoothly-table-head", { key: '6516f877eb54fdebc85619885a92389af7ec34da' }, h("smoothly-table-row", { key: '8951f89b3230404a2fc8fc6ef1d48a20abea803c' }, h("div", { key: '82ee1252466066d77df7f70385faa4f83850d9a7', class: "smoothly-table-cell" }, "Id"), h("div", { key: '7145ba1e199eadecb5dd727ae1adfa52d25e4bce', class: "smoothly-table-cell" }, "Name"), h("div", { key: '60d99a7d209367adea18000214d01b4a3e1905b9', class: "smoothly-table-cell" }, "Age"), h("div", { key: 'ee489d4b66d755c9590cf0dfe23fe09c440773aa', class: "smoothly-table-cell" }, "Balance"))), h("smoothly-table-body", { key: '86837cf19c76e57fe423dd185e1c877e4f04b192' }, (_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: '70206f06c6f0927b7fd56f6c447441883cdb8cbb' }, h("smoothly-display", { key: 'fe882f04329755107f28029e6c3ed3162e2a6f2d', type: "text", value: "Simple" }), h("smoothly-table", { key: '943c5b0e05764d07eb88e9723c42214c7c785a74', color: "primary", columns: 2 }, h("smoothly-table-head", { key: 'e26f7945d199844450707d36aa848e7ef5e85e4c' }, h("smoothly-table-row", { key: 'f60bcd540697bf27ef22ba3b2db828c1eaba8a18' }, h("smoothly-table-cell", { key: '5e2e2d9f3724051fd61ff787caae7e47c120e31f' }, "Breed"), h("smoothly-table-cell", { key: '5ac9dddc03f397574b16d7809938f133be3a5e32' }, "Coat"))), h("smoothly-table-body", { key: '48228f02bdc713ef18e1e9400c7b274b6ed7a91f' }, 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: '04146e8b286cede980153a96645635ec21d87135' }, h("smoothly-table-cell", { key: '37ff22202464b1ef68aecea476a5070e3612fa5d' }, "Cell5"), h("smoothly-table-expandable-cell", { key: '0db694a71548c2a27909bd2b74e9c4e24e1368cb' }, "Expandable Cell", h("div", { key: 'f73430644f301ba65ff5b10affee17b767dda779', slot: "detail" }, "Content of the expandable cell"))), h("smoothly-table-row", { key: 'd8e43c4f6104f2ea9ed4a3e1d5526f4216cd1755' }, h("smoothly-table-expandable-cell", { key: 'd63e6c60646e17005dcd1502603ecb0a0bc58519' }, "Expandable Cell 1", h("div", { key: 'f7892854c7a6284ac783062ddf9a99dda3693dc9', slot: "detail" }, "Content of the expandable cell 1")), h("smoothly-table-expandable-cell", { key: 'f46176b69a8f96ad79ab20d0c7ad48dc25830437' }, "Expandable Cell 2", h("div", { key: '7a77dc2d15bb99724a61c606cc21760361f03187', slot: "detail" }, "Content of the expandable cell 2")))), h("smoothly-table-foot", { key: '48288078e1087b9a080970b292019f34c154516f' }, h("smoothly-table-row", { key: '36df570d42c5b836f46876778c1be549ddacf5d9' }, h("smoothly-table-cell", { key: 'b428dbfbc9460d84ca3c86d3e9b3c911e4bf174e' }, "Footer Cell"), h("smoothly-table-cell", { key: '3f288427d5c543e60e9aaf1419b265ce7a26d452' }, "Footer Cell"))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-table-demo-simple"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|