smoothly 1.102.0 → 1.104.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_103.cjs.entry.js → smoothly-app_104.cjs.entry.js} +184 -163
- package/dist/cjs/smoothly-app_104.cjs.entry.js.map +1 -0
- 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/collection-manifest.json +1 -0
- 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/index.js.map +1 -1
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/radio/index.js +36 -0
- package/dist/collection/components/input/demo/radio/index.js.map +1 -0
- package/dist/collection/components/input/demo/radio/style.css +12 -0
- 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/month/index.js +4 -4
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/radio/item/index.js.map +1 -1
- package/dist/collection/components/input/radio/item/style.css +10 -1
- package/dist/collection/components/input/radio/style.css +1 -0
- 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 +3 -3
- package/dist/collection/components/input/style.css +4 -5
- 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/filtered/index.js +5 -5
- 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-2d754996.js → p-018f3b07.js} +3 -3
- package/dist/components/{p-2d754996.js.map → p-018f3b07.js.map} +1 -1
- package/dist/components/{p-5d4481e5.js → p-08527022.js} +2 -2
- package/dist/components/{p-5d4481e5.js.map → p-08527022.js.map} +1 -1
- package/dist/components/{p-55806dd1.js → p-0f6f0385.js} +6 -6
- package/dist/components/{p-55806dd1.js.map → p-0f6f0385.js.map} +1 -1
- package/dist/components/{p-9bcdd1ec.js → p-1a006926.js} +6 -6
- package/dist/components/{p-9bcdd1ec.js.map → p-1a006926.js.map} +1 -1
- package/dist/components/{p-fdf5432e.js → p-1b2cdb40.js} +8 -8
- package/dist/components/{p-fdf5432e.js.map → p-1b2cdb40.js.map} +1 -1
- package/dist/components/{p-1904abe1.js → p-1e5c4418.js} +5 -5
- package/dist/components/{p-1904abe1.js.map → p-1e5c4418.js.map} +1 -1
- package/dist/components/p-23411737.js +282 -0
- package/dist/components/p-23411737.js.map +1 -0
- package/dist/components/{p-4051f859.js → p-234932d2.js} +3 -3
- package/dist/components/{p-4051f859.js.map → p-234932d2.js.map} +1 -1
- package/dist/components/{p-4d3d5d0b.js → p-237af64d.js} +9 -9
- package/dist/components/{p-4d3d5d0b.js.map → p-237af64d.js.map} +1 -1
- package/dist/components/{p-7a9728b2.js → p-239cce56.js} +3 -3
- package/dist/components/{p-7a9728b2.js.map → p-239cce56.js.map} +1 -1
- package/dist/components/{p-1062aeb9.js → p-29b5ead7.js} +3 -3
- package/dist/components/{p-1062aeb9.js.map → p-29b5ead7.js.map} +1 -1
- package/dist/components/{p-14e31e4a.js → p-2b01f531.js} +10 -10
- package/dist/components/{p-14e31e4a.js.map → p-2b01f531.js.map} +1 -1
- package/dist/components/{p-f2f0d309.js → p-2d648420.js} +10 -10
- package/dist/components/{p-f2f0d309.js.map → p-2d648420.js.map} +1 -1
- package/dist/components/{p-d4f3568a.js → p-31af74d1.js} +18 -18
- package/dist/components/{p-d4f3568a.js.map → p-31af74d1.js.map} +1 -1
- package/dist/components/{p-1e46b981.js → p-33c30e05.js} +2 -2
- package/dist/components/{p-1e46b981.js.map → p-33c30e05.js.map} +1 -1
- package/dist/components/{p-35bfb804.js → p-3f2e92e9.js} +2 -2
- package/dist/components/{p-35bfb804.js.map → p-3f2e92e9.js.map} +1 -1
- package/dist/components/{p-658906f0.js → p-44a8837c.js} +9 -9
- package/dist/components/{p-658906f0.js.map → p-44a8837c.js.map} +1 -1
- package/dist/components/{p-5bc54b34.js → p-4be11c6b.js} +2 -2
- package/dist/components/{p-5bc54b34.js.map → p-4be11c6b.js.map} +1 -1
- package/dist/components/p-4c5965cd.js +45 -0
- package/dist/components/{p-003a635b.js.map → p-4c5965cd.js.map} +1 -1
- package/dist/components/{p-a2a5e7f4.js → p-4cb94746.js} +2 -2
- package/dist/components/{p-a2a5e7f4.js.map → p-4cb94746.js.map} +1 -1
- package/dist/components/{p-12f62e4d.js → p-4da1c188.js} +6 -6
- package/dist/components/{p-12f62e4d.js.map → p-4da1c188.js.map} +1 -1
- package/dist/components/{p-5cd257ad.js → p-4ee29da5.js} +3 -3
- package/dist/components/{p-5cd257ad.js.map → p-4ee29da5.js.map} +1 -1
- package/dist/components/p-52626573.js +123 -0
- package/dist/components/{p-c2fb9b51.js.map → p-52626573.js.map} +1 -1
- package/dist/components/{p-31603adf.js → p-527dedc1.js} +7 -7
- package/dist/components/{p-31603adf.js.map → p-527dedc1.js.map} +1 -1
- package/dist/components/{p-e3486f48.js → p-555fc66e.js} +10 -10
- package/dist/components/{p-e3486f48.js.map → p-555fc66e.js.map} +1 -1
- package/dist/components/{p-e32d9cd5.js → p-56100bc5.js} +5 -5
- package/dist/components/{p-e32d9cd5.js.map → p-56100bc5.js.map} +1 -1
- package/dist/components/{p-d422d58c.js → p-5ac20ff9.js} +3 -3
- package/dist/components/{p-d422d58c.js.map → p-5ac20ff9.js.map} +1 -1
- package/dist/components/{p-346ba422.js → p-5c9332bf.js} +2 -2
- package/dist/components/{p-346ba422.js.map → p-5c9332bf.js.map} +1 -1
- package/dist/components/{p-b25fbf6e.js → p-5d5bf179.js} +5 -5
- package/dist/components/{p-b25fbf6e.js.map → p-5d5bf179.js.map} +1 -1
- package/dist/components/{p-30f4e440.js → p-5eafd1ac.js} +4 -4
- package/dist/components/{p-30f4e440.js.map → p-5eafd1ac.js.map} +1 -1
- package/dist/components/{p-9ffa8501.js → p-60b2b2bb.js} +9 -9
- package/dist/components/{p-9ffa8501.js.map → p-60b2b2bb.js.map} +1 -1
- package/dist/components/{p-e48ad105.js → p-6337ab02.js} +3 -3
- package/dist/components/{p-e48ad105.js.map → p-6337ab02.js.map} +1 -1
- package/dist/components/{p-02c38067.js → p-6386d760.js} +5 -5
- package/dist/components/{p-02c38067.js.map → p-6386d760.js.map} +1 -1
- package/dist/components/{p-76cc6651.js → p-6ea452d9.js} +2 -2
- package/dist/components/{p-76cc6651.js.map → p-6ea452d9.js.map} +1 -1
- package/dist/components/{p-37732412.js → p-70b61978.js} +2 -2
- package/dist/components/{p-37732412.js.map → p-70b61978.js.map} +1 -1
- package/dist/components/{p-3a1a67e7.js → p-723edf05.js} +3 -3
- package/dist/components/{p-3a1a67e7.js.map → p-723edf05.js.map} +1 -1
- package/dist/components/{p-96fff9ba.js → p-73a6bddc.js} +7 -7
- package/dist/components/{p-96fff9ba.js.map → p-73a6bddc.js.map} +1 -1
- package/dist/components/{p-aff94100.js → p-766ab435.js} +5 -5
- package/dist/components/{p-aff94100.js.map → p-766ab435.js.map} +1 -1
- package/dist/components/{p-7550fc08.js → p-792c42af.js} +2 -2
- package/dist/components/{p-7550fc08.js.map → p-792c42af.js.map} +1 -1
- package/dist/components/{p-e7dcaec1.js → p-795bda50.js} +2 -2
- package/dist/components/{p-e7dcaec1.js.map → p-795bda50.js.map} +1 -1
- package/dist/components/{p-c9126eb3.js → p-81dec243.js} +34 -34
- package/dist/components/{p-c9126eb3.js.map → p-81dec243.js.map} +1 -1
- package/dist/components/{p-140b6f3c.js → p-82336e7b.js} +5 -5
- package/dist/components/{p-140b6f3c.js.map → p-82336e7b.js.map} +1 -1
- package/dist/components/{p-ec815cfd.js → p-82c97ae6.js} +7 -7
- package/dist/components/{p-ec815cfd.js.map → p-82c97ae6.js.map} +1 -1
- package/dist/components/{p-c259b478.js → p-830b192c.js} +12 -12
- package/dist/components/{p-c259b478.js.map → p-830b192c.js.map} +1 -1
- package/dist/components/{p-4dcf5fac.js → p-831cc89a.js} +21 -21
- package/dist/components/{p-4dcf5fac.js.map → p-831cc89a.js.map} +1 -1
- package/dist/components/{p-a3c25ce5.js → p-8435133a.js} +21 -21
- package/dist/components/{p-a3c25ce5.js.map → p-8435133a.js.map} +1 -1
- package/dist/components/{p-d8c97dde.js → p-84ba0025.js} +3 -3
- package/dist/components/{p-d8c97dde.js.map → p-84ba0025.js.map} +1 -1
- package/dist/components/{p-40d2000b.js → p-85ed9f7d.js} +2 -2
- package/dist/components/{p-40d2000b.js.map → p-85ed9f7d.js.map} +1 -1
- package/dist/components/{p-0e242fdd.js → p-974b3a13.js} +4 -4
- package/dist/components/{p-0e242fdd.js.map → p-974b3a13.js.map} +1 -1
- package/dist/components/{p-90cf2f0e.js → p-9ad494c1.js} +2 -2
- package/dist/components/{p-90cf2f0e.js.map → p-9ad494c1.js.map} +1 -1
- package/dist/components/{p-0b3f1a79.js → p-a76a4d76.js} +2 -2
- package/dist/components/{p-0b3f1a79.js.map → p-a76a4d76.js.map} +1 -1
- package/dist/components/{p-6aaf93a3.js → p-a9dd6d56.js} +13 -13
- package/dist/components/{p-6aaf93a3.js.map → p-a9dd6d56.js.map} +1 -1
- package/dist/components/{p-b494ebd3.js → p-aac05986.js} +9 -9
- package/dist/components/{p-b494ebd3.js.map → p-aac05986.js.map} +1 -1
- package/dist/components/{p-c4637f18.js → p-aac4d78f.js} +9 -9
- package/dist/components/{p-c4637f18.js.map → p-aac4d78f.js.map} +1 -1
- package/dist/components/{p-bb94849f.js → p-ac63635b.js} +2 -2
- package/dist/components/{p-bb94849f.js.map → p-ac63635b.js.map} +1 -1
- package/dist/components/{p-581d3377.js → p-ad918487.js} +6 -6
- package/dist/components/{p-581d3377.js.map → p-ad918487.js.map} +1 -1
- package/dist/components/{p-e04a506b.js → p-adb5afee.js} +11 -11
- package/dist/components/{p-e04a506b.js.map → p-adb5afee.js.map} +1 -1
- package/dist/components/{p-c172bb64.js → p-b34956f3.js} +8 -8
- package/dist/components/{p-c172bb64.js.map → p-b34956f3.js.map} +1 -1
- package/dist/components/{p-753658b4.js → p-b4919dec.js} +2 -2
- package/dist/components/{p-753658b4.js.map → p-b4919dec.js.map} +1 -1
- package/dist/components/{p-4f0ce21b.js → p-b52a6734.js} +3 -3
- package/dist/components/{p-4f0ce21b.js.map → p-b52a6734.js.map} +1 -1
- package/dist/components/{p-3abf736a.js → p-b5752ca0.js} +5 -5
- package/dist/components/{p-3abf736a.js.map → p-b5752ca0.js.map} +1 -1
- package/dist/components/{p-2779565d.js → p-b80060f3.js} +2 -2
- package/dist/components/{p-2779565d.js.map → p-b80060f3.js.map} +1 -1
- package/dist/components/{p-a4614780.js → p-bb65b34c.js} +2 -2
- package/dist/components/{p-a4614780.js.map → p-bb65b34c.js.map} +1 -1
- package/dist/components/{p-e9905fbc.js → p-bc772857.js} +17 -17
- package/dist/components/{p-e9905fbc.js.map → p-bc772857.js.map} +1 -1
- package/dist/components/{p-71fa6386.js → p-c26e4c8e.js} +4 -4
- package/dist/components/{p-71fa6386.js.map → p-c26e4c8e.js.map} +1 -1
- package/dist/components/{p-dea4659e.js → p-c3625434.js} +3 -3
- package/dist/components/{p-dea4659e.js.map → p-c3625434.js.map} +1 -1
- package/dist/components/{p-3fa2299b.js → p-c37e4491.js} +2 -2
- package/dist/components/{p-3fa2299b.js.map → p-c37e4491.js.map} +1 -1
- package/dist/components/{p-fb97b2ff.js → p-c4674baf.js} +4 -4
- package/dist/components/p-c4674baf.js.map +1 -0
- package/dist/components/{p-4a5c24c0.js → p-c65c7493.js} +22 -22
- package/dist/components/{p-4a5c24c0.js.map → p-c65c7493.js.map} +1 -1
- package/dist/components/{p-19d93e64.js → p-c9caeeb4.js} +2 -2
- package/dist/components/{p-19d93e64.js.map → p-c9caeeb4.js.map} +1 -1
- package/dist/components/{p-93141817.js → p-ccb418c1.js} +10 -10
- package/dist/components/{p-93141817.js.map → p-ccb418c1.js.map} +1 -1
- package/dist/components/{p-6d1e5f27.js → p-ce52b5f8.js} +3 -3
- package/dist/components/p-ce52b5f8.js.map +1 -0
- package/dist/components/{p-f55ddc88.js → p-ced1fd1c.js} +30 -30
- package/dist/components/{p-f55ddc88.js.map → p-ced1fd1c.js.map} +1 -1
- package/dist/components/{p-7b6467fd.js → p-d5f78e0f.js} +11 -11
- package/dist/components/{p-7b6467fd.js.map → p-d5f78e0f.js.map} +1 -1
- package/dist/components/{p-50304fc1.js → p-d8a2f2ba.js} +3 -3
- package/dist/components/{p-50304fc1.js.map → p-d8a2f2ba.js.map} +1 -1
- package/dist/components/p-dccf0678.js +74 -0
- package/dist/components/p-dccf0678.js.map +1 -0
- package/dist/components/{p-97e22dc3.js → p-e44568a9.js} +4 -4
- package/dist/components/{p-97e22dc3.js.map → p-e44568a9.js.map} +1 -1
- package/dist/components/{p-211c0f22.js → p-e779a545.js} +3 -3
- package/dist/components/{p-211c0f22.js.map → p-e779a545.js.map} +1 -1
- package/dist/components/{p-6008d530.js → p-ea295759.js} +4 -4
- package/dist/components/{p-6008d530.js.map → p-ea295759.js.map} +1 -1
- package/dist/components/{p-6f96e7ef.js → p-ef0cb600.js} +2 -2
- package/dist/components/{p-6f96e7ef.js.map → p-ef0cb600.js.map} +1 -1
- package/dist/components/{p-4441247b.js → p-efb6497e.js} +6 -6
- package/dist/components/{p-4441247b.js.map → p-efb6497e.js.map} +1 -1
- package/dist/components/{p-6a11096b.js → p-f1b7920d.js} +2 -2
- package/dist/components/{p-6a11096b.js.map → p-f1b7920d.js.map} +1 -1
- package/dist/components/{p-04b312ca.js → p-f4a54d1b.js} +2 -2
- package/dist/components/{p-04b312ca.js.map → p-f4a54d1b.js.map} +1 -1
- package/dist/components/{p-a8f5826f.js → p-f5400818.js} +11 -11
- package/dist/components/{p-a8f5826f.js.map → p-f5400818.js.map} +1 -1
- package/dist/components/{p-064f3907.js → p-f5bbd838.js} +3 -3
- package/dist/components/{p-064f3907.js.map → p-f5bbd838.js.map} +1 -1
- package/dist/components/{p-6e8454e3.js → p-f7d8bf2d.js} +8 -8
- package/dist/components/{p-6e8454e3.js.map → p-f7d8bf2d.js.map} +1 -1
- package/dist/components/{p-2ef8a833.js → p-fd230d2b.js} +2 -2
- package/dist/components/{p-2ef8a833.js.map → p-fd230d2b.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +156 -150
- package/dist/components/smoothly-app-demo.js.map +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-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter.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 +20 -20
- 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.d.ts +11 -0
- package/dist/components/smoothly-input-demo-radio.js +8 -0
- package/dist/components/smoothly-input-demo-radio.js.map +1 -0
- 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-filtered.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_103.entry.js → smoothly-app_104.entry.js} +184 -164
- package/dist/esm/smoothly-app_104.entry.js.map +1 -0
- 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-1591ed71.entry.js → p-2009497a.entry.js} +2 -2
- package/dist/smoothly/{p-bcf83be6.entry.js → p-24c44cdc.entry.js} +2 -2
- package/dist/smoothly/p-2b771608.entry.js +2 -0
- package/dist/smoothly/p-2b771608.entry.js.map +1 -0
- package/dist/smoothly/{p-a00d7c21.entry.js → p-c04ed5b3.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/input/demo/radio/index.d.ts +5 -0
- package/dist/types/components.d.ts +13 -0
- package/package.json +1 -1
- package/dist/cjs/smoothly-app_103.cjs.entry.js.map +0 -1
- package/dist/components/p-003a635b.js +0 -45
- package/dist/components/p-6d1e5f27.js.map +0 -1
- package/dist/components/p-7c487e25.js +0 -264
- package/dist/components/p-7c487e25.js.map +0 -1
- package/dist/components/p-c2fb9b51.js +0 -123
- package/dist/components/p-fb97b2ff.js.map +0 -1
- package/dist/esm/smoothly-app_103.entry.js.map +0 -1
- package/dist/smoothly/p-5b91cbdd.entry.js +0 -2
- package/dist/smoothly/p-5b91cbdd.entry.js.map +0 -1
- /package/dist/smoothly/{p-1591ed71.entry.js.map → p-2009497a.entry.js.map} +0 -0
- /package/dist/smoothly/{p-bcf83be6.entry.js.map → p-24c44cdc.entry.js.map} +0 -0
- /package/dist/smoothly/{p-a00d7c21.entry.js.map → p-c04ed5b3.entry.js.map} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
|
|
2
2
|
import { E as Editable } from './p-ddd5bc95.js';
|
|
3
|
-
import { I as Input } from './p-
|
|
3
|
+
import { I as Input } from './p-c9caeeb4.js';
|
|
4
4
|
|
|
5
|
-
const styleCss = ".sc-smoothly-input-radio-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks=\"border\"].sc-smoothly-input-radio-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"border\"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks=\"border\"][readonly].sc-smoothly-input-radio-h{border:transparent solid 1px}[looks=\"line\"].sc-smoothly-input-radio-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks=\"line\"][readonly].sc-smoothly-input-radio-h{border-bottom:transparent solid 1px}[looks=\"line\"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within::before{content:\"\";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks=\"grid\"].sc-smoothly-input-radio-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks=\"grid\"][readonly].sc-smoothly-input-radio-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks=\"grid\"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks=\"transparent\"].sc-smoothly-input-radio-h{border:none}[looks=\"transparent\"][readonly].sc-smoothly-input-radio-h,[looks=\"transparent\"].sc-smoothly-input-radio-h:not(:focus-within){background-color:transparent}[looks=\"transparent\"][readonly].sc-smoothly-input-radio-h>input.sc-smoothly-input-radio,[looks=\"transparent\"].sc-smoothly-input-radio-h:not(:focus-within)>input.sc-smoothly-input-radio{background-color:transparent}[looks=\"transparent\"].sc-smoothly-input-radio-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-radio-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-radio-h.floating-label.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.floating-label .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder] .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly] .sc-smoothly-input-radio-s>[slot=label],.floating-label.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-value.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-text.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[placeholder].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[readonly].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.sc-smoothly-input-radio-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-radio{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-radio-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-radio{display:none}.sc-smoothly-input-radio-h smoothly-icon.smoothly-invalid.sc-smoothly-input-radio{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-radio-h{background-color:rgb(var(--smoothly-input-background));display:flex;align-items:center;padding-left:var(--input-padding-side);box-sizing:border-box}[show-label].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio{position:relative;padding-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio,.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{display:flex;gap:1.5rem}[direction=column].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{flex-direction:column}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=end]{margin-right:0;margin-left:auto}[disabled].sc-smoothly-input-radio-h smoothly-input-radio-item.sc-smoothly-input-radio *.sc-smoothly-input-radio{cursor:not-allowed}";
|
|
5
|
+
const styleCss = ".sc-smoothly-input-radio-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks=\"border\"].sc-smoothly-input-radio-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"border\"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks=\"border\"][readonly].sc-smoothly-input-radio-h{border:transparent solid 1px}[looks=\"line\"].sc-smoothly-input-radio-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks=\"line\"][readonly].sc-smoothly-input-radio-h{border-bottom:transparent solid 1px}[looks=\"line\"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within::before{content:\"\";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks=\"grid\"].sc-smoothly-input-radio-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks=\"grid\"][readonly].sc-smoothly-input-radio-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks=\"grid\"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks=\"transparent\"].sc-smoothly-input-radio-h{border:none}[looks=\"transparent\"][readonly].sc-smoothly-input-radio-h,[looks=\"transparent\"].sc-smoothly-input-radio-h:not(:focus-within){background-color:transparent}[looks=\"transparent\"][readonly].sc-smoothly-input-radio-h>input.sc-smoothly-input-radio,[looks=\"transparent\"].sc-smoothly-input-radio-h:not(:focus-within)>input.sc-smoothly-input-radio{background-color:transparent}[looks=\"transparent\"].sc-smoothly-input-radio-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-radio-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-radio-h.floating-label.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.floating-label .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder] .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly] .sc-smoothly-input-radio-s>[slot=label],.floating-label.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-value.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-text.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[placeholder].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[readonly].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.sc-smoothly-input-radio-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-radio{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-radio-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-radio{display:none}.sc-smoothly-input-radio-h smoothly-icon.smoothly-invalid.sc-smoothly-input-radio{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-radio-h{background-color:rgb(var(--smoothly-input-background));display:flex;align-items:center;padding-left:var(--input-padding-side);box-sizing:border-box}[show-label].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio{position:relative;padding-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio,.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{display:flex;gap:1.5rem;width:100%}[direction=column].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{flex-direction:column}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=end]{margin-right:0;margin-left:auto}[disabled].sc-smoothly-input-radio-h smoothly-input-radio-item.sc-smoothly-input-radio *.sc-smoothly-input-radio{cursor:not-allowed}";
|
|
6
6
|
const SmoothlyInputRadioStyle0 = styleCss;
|
|
7
7
|
|
|
8
8
|
const SmoothlyInputRadio = proxyCustomElement(class SmoothlyInputRadio extends H {
|
|
@@ -163,4 +163,4 @@ defineCustomElement();
|
|
|
163
163
|
|
|
164
164
|
export { SmoothlyInputRadio as S, defineCustomElement as d };
|
|
165
165
|
|
|
166
|
-
//# sourceMappingURL=p-
|
|
166
|
+
//# sourceMappingURL=p-ce52b5f8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-ce52b5f8.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,qxJAAqxJ,CAAC;AACvyJ,iCAAe,QAAQ;;MCyBV,kBAAkB;;;;;;;;;QAG9B,2BAAsB,GAAG,KAAK,CAAA;QAEtB,wBAAmB,GAAG,KAAK,CAAA;QAC3B,aAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;qBAEX,SAAS;;;;;wBAKI,KAAK;;;yBAGnB,IAAI;;IAMzC,iBAAiB;QACh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,GAAG,EACrB,4DAAK,KAAK,EAAC,SAAS,IACnB,8DAAQ,CACH,CACD,EACN,6DAAM,IAAI,EAAC,KAAK,GAAG,CACb,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/input/radio/style.css?tag=smoothly-input-radio&encapsulation=scoped","src/components/input/radio/index.tsx"],"sourcesContent":["@import \"../shared.css\";\n\n:host {\n\tbackground-color: rgb(var(--smoothly-input-background));\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-left: var(--input-padding-side);\n\tbox-sizing: border-box;\n}\n:host[show-label]>div {\n\tposition: relative;\n\tpadding-block: var(--input-value-padding-top) var(--input-value-padding-bottom);\n}\n:host>div,\n:host>div>div.options {\n\tdisplay: flex;\n\tgap: 1.5rem;\n\twidth: 100%;\n}\n:host[direction=column]>div>div.options {\n\tflex-direction: column;\n}\n:host::slotted([slot=end]) {\n\tmargin-right: 0;\n\tmargin-left: auto;\n}\n\n:host[disabled] smoothly-input-radio-item * {\n\tcursor: not-allowed;\n}\n","import {\n\tComponent,\n\tComponentWillLoad,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tMethod,\n\tProp,\n\tVNode,\n\tWatch,\n} from \"@stencil/core\"\nimport { Color, Data } from \"../../../model\"\nimport { Clearable } from \"../Clearable\"\nimport { Editable } from \"../Editable\"\nimport { Input } from \"../Input\"\nimport { Looks } from \"../Looks\"\nimport { RadioItemSelect } from \"./RadioItemSelect\"\n\n@Component({\n\ttag: \"smoothly-input-radio\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputRadio implements Input, Clearable, Editable, ComponentWillLoad {\n\t@Element() element: HTMLSmoothlyInputRadioElement\n\tparent: Editable | undefined\n\tisDifferentFromInitial = false\n\tprivate active?: RadioItemSelect\n\tprivate valueReceivedOnLoad = false\n\tprivate observer = Editable.Observer.create(this)\n\tinitialValue?: RadioItemSelect\n\t@Prop({ mutable: true }) value: any = undefined\n\t@Prop({ mutable: true, reflect: true }) looks?: Looks\n\t@Prop({ reflect: true, mutable: true }) color?: Color\n\t@Prop({ reflect: true }) direction?: \"row\" | \"column\"\n\t@Prop() clearable?: boolean\n\t@Prop({ mutable: true, reflect: true }) readonly = false\n\t@Prop({ reflect: true }) disabled?: boolean\n\t@Prop({ reflect: true }) name: string\n\t@Prop({ reflect: true }) showLabel = true\n\t@Event() smoothlyInputLooks: EventEmitter<(looks?: Looks, color?: Color) => void>\n\t@Event() smoothlyInput: EventEmitter<Data>\n\t@Event() smoothlyUserInput: EventEmitter<Input.UserInput>\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\t@Event() smoothlyFormDisable: EventEmitter<(disabled: boolean) => void>\n\tcomponentWillLoad(): void | Promise<void> {\n\t\tthis.smoothlyInputLooks.emit((looks, color) => ((this.looks = this.looks ?? looks), (this.color = color)))\n\t\t!this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly))\n\t\tthis.observer.publish()\n\t}\n\tcomponentDidLoad(): void | Promise<void> {\n\t\t!this.valueReceivedOnLoad && this.smoothlyInput.emit({ [this.name]: this.value })\n\t\tthis.smoothlyInputLoad.emit(parent => (this.parent = parent))\n\t\tthis.initialValue = this.active\n\t}\n\t@Listen(\"smoothlyRadioItemRegister\")\n\thandleRegister(event: CustomEvent<(parent: SmoothlyInputRadio) => void>) {\n\t\tevent.stopPropagation()\n\t\tevent.detail(this)\n\t}\n\t@Listen(\"smoothlyInputLoad\")\n\tsmoothlyInputLoadHandler(event: CustomEvent<(parent: SmoothlyInputRadio) => void>): void {\n\t\tInput.registerSubAction(this, event)\n\t}\n\t@Listen(\"smoothlyRadioItemSelect\")\n\tsmoothlyRadioInputHandler(event: CustomEvent<RadioItemSelect>): void {\n\t\tevent.stopPropagation()\n\t\tif ((!this.readonly && !this.disabled) || !this.valueReceivedOnLoad) {\n\t\t\tif (this.clearable && this.active?.value === event.detail.value)\n\t\t\t\tthis.clear()\n\t\t\telse if (this.active?.value !== event.detail.value) {\n\t\t\t\tthis.active?.select(false)\n\t\t\t\tthis.active = event.detail\n\t\t\t\tthis.value = this.active.value\n\t\t\t\tthis.active.select(true)\n\t\t\t}\n\t\t}\n\t\tif (event.detail.userInitiated)\n\t\t\tthis.smoothlyUserInput.emit({ name: this.name, value: this.value })\n\t\t!this.valueReceivedOnLoad && (this.valueReceivedOnLoad = !this.valueReceivedOnLoad)\n\t}\n\t@Method()\n\tasync listen(listener: Editable.Observer.Listener): Promise<void> {\n\t\tthis.observer.subscribe(listener)\n\t}\n\tasync disconnectedCallback() {\n\t\tif (!this.element.isConnected)\n\t\t\tawait this.unregister()\n\t}\n\t@Watch(\"name\")\n\tnameChange(_: string | undefined, oldName: string | undefined) {\n\t\tInput.formRename(this, oldName)\n\t}\n\t@Method()\n\tasync register() {\n\t\tInput.formAdd(this)\n\t}\n\t@Method()\n\tasync unregister() {\n\t\tInput.formRemove(this)\n\t}\n\t@Method()\n\tasync getValue(): Promise<any | undefined> {\n\t\treturn this.value\n\t}\n\t@Method()\n\tasync clear(): Promise<void> {\n\t\tif (this.clearable) {\n\t\t\tthis.active?.select(false)\n\t\t\tthis.active = undefined\n\t\t\tthis.value = undefined\n\t\t}\n\t}\n\t@Method()\n\tasync edit(editable: boolean): Promise<void> {\n\t\tthis.readonly = !editable\n\t}\n\t@Method()\n\tasync reset(): Promise<void> {\n\t\tthis.active?.select(false)\n\t\tthis.active = this.initialValue\n\t\tthis.value = this.initialValue?.value\n\t\tthis.active?.select(true)\n\t}\n\t@Method()\n\tasync setInitialValue(): Promise<void> {\n\t\tthis.initialValue = this.active\n\t\tthis.valueChanged()\n\t}\n\t@Watch(\"value\")\n\tasync valueChanged(): Promise<void> {\n\t\tthis.valueReceivedOnLoad && (this.isDifferentFromInitial = this.initialValue?.value !== this.value)\n\t\tthis.smoothlyInput.emit({ [this.name]: await this.getValue() })\n\t\tthis.observer.publish()\n\t}\n\t@Watch(\"disabled\")\n\t@Watch(\"readonly\")\n\twatchingReadonly(): void {\n\t\tthis.observer.publish()\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host class=\"floating-label\">\n\t\t\t\t<slot name=\"start\" />\n\t\t\t\t<div>\n\t\t\t\t\t<slot name=\"label\" />\n\t\t\t\t\t<div class=\"options\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<slot name=\"end\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -4,36 +4,36 @@ import { d as defineCustomElement$y } from './p-4e754f3b.js';
|
|
|
4
4
|
import { d as defineCustomElement$x } from './p-f893b6cc.js';
|
|
5
5
|
import { d as defineCustomElement$w } from './p-ccbdacc9.js';
|
|
6
6
|
import { d as defineCustomElement$v } from './p-3aed2b34.js';
|
|
7
|
-
import { d as defineCustomElement$u } from './p-
|
|
8
|
-
import { d as defineCustomElement$t } from './p-
|
|
9
|
-
import { d as defineCustomElement$s } from './p-
|
|
10
|
-
import { d as defineCustomElement$r } from './p-
|
|
7
|
+
import { d as defineCustomElement$u } from './p-d8a2f2ba.js';
|
|
8
|
+
import { d as defineCustomElement$t } from './p-792c42af.js';
|
|
9
|
+
import { d as defineCustomElement$s } from './p-4be11c6b.js';
|
|
10
|
+
import { d as defineCustomElement$r } from './p-f5bbd838.js';
|
|
11
11
|
import { d as defineCustomElement$q } from './p-be9012d1.js';
|
|
12
|
-
import { d as defineCustomElement$p } from './p-
|
|
12
|
+
import { d as defineCustomElement$p } from './p-c9caeeb4.js';
|
|
13
13
|
import { d as defineCustomElement$o } from './p-604f869e.js';
|
|
14
|
-
import { d as defineCustomElement$n } from './p-
|
|
15
|
-
import { d as defineCustomElement$m } from './p-
|
|
16
|
-
import { d as defineCustomElement$l } from './p-
|
|
17
|
-
import { d as defineCustomElement$k } from './p-
|
|
18
|
-
import { d as defineCustomElement$j } from './p-
|
|
19
|
-
import { d as defineCustomElement$i } from './p-
|
|
20
|
-
import { d as defineCustomElement$h } from './p-
|
|
21
|
-
import { d as defineCustomElement$g } from './p-
|
|
22
|
-
import { d as defineCustomElement$f } from './p-
|
|
23
|
-
import { d as defineCustomElement$e } from './p-
|
|
24
|
-
import { d as defineCustomElement$d } from './p-
|
|
25
|
-
import { d as defineCustomElement$c } from './p-
|
|
26
|
-
import { d as defineCustomElement$b } from './p-
|
|
27
|
-
import { d as defineCustomElement$a } from './p-
|
|
28
|
-
import { d as defineCustomElement$9 } from './p-
|
|
29
|
-
import { d as defineCustomElement$8 } from './p-
|
|
30
|
-
import { d as defineCustomElement$7 } from './p-
|
|
31
|
-
import { d as defineCustomElement$6 } from './p-
|
|
32
|
-
import { d as defineCustomElement$5 } from './p-
|
|
33
|
-
import { d as defineCustomElement$4 } from './p-
|
|
34
|
-
import { d as defineCustomElement$3 } from './p-
|
|
35
|
-
import { d as defineCustomElement$2 } from './p-
|
|
36
|
-
import { d as defineCustomElement$1 } from './p-
|
|
14
|
+
import { d as defineCustomElement$n } from './p-6337ab02.js';
|
|
15
|
+
import { d as defineCustomElement$m } from './p-efb6497e.js';
|
|
16
|
+
import { d as defineCustomElement$l } from './p-33c30e05.js';
|
|
17
|
+
import { d as defineCustomElement$k } from './p-239cce56.js';
|
|
18
|
+
import { d as defineCustomElement$j } from './p-70b61978.js';
|
|
19
|
+
import { d as defineCustomElement$i } from './p-723edf05.js';
|
|
20
|
+
import { d as defineCustomElement$h } from './p-5c9332bf.js';
|
|
21
|
+
import { d as defineCustomElement$g } from './p-3f2e92e9.js';
|
|
22
|
+
import { d as defineCustomElement$f } from './p-08527022.js';
|
|
23
|
+
import { d as defineCustomElement$e } from './p-2d648420.js';
|
|
24
|
+
import { d as defineCustomElement$d } from './p-44a8837c.js';
|
|
25
|
+
import { d as defineCustomElement$c } from './p-8435133a.js';
|
|
26
|
+
import { d as defineCustomElement$b } from './p-52626573.js';
|
|
27
|
+
import { d as defineCustomElement$a } from './p-adb5afee.js';
|
|
28
|
+
import { d as defineCustomElement$9 } from './p-527dedc1.js';
|
|
29
|
+
import { d as defineCustomElement$8 } from './p-237af64d.js';
|
|
30
|
+
import { d as defineCustomElement$7 } from './p-85ed9f7d.js';
|
|
31
|
+
import { d as defineCustomElement$6 } from './p-b80060f3.js';
|
|
32
|
+
import { d as defineCustomElement$5 } from './p-ea295759.js';
|
|
33
|
+
import { d as defineCustomElement$4 } from './p-6ea452d9.js';
|
|
34
|
+
import { d as defineCustomElement$3 } from './p-234932d2.js';
|
|
35
|
+
import { d as defineCustomElement$2 } from './p-c37e4491.js';
|
|
36
|
+
import { d as defineCustomElement$1 } from './p-4cb94746.js';
|
|
37
37
|
|
|
38
38
|
const styleCss = ".sc-smoothly-table-demo-h{display:grid;gap:5rem;box-sizing:border-box;max-width:80rem;width:100%;margin:auto;padding:2rem}";
|
|
39
39
|
const SmoothlyTableDemoStyle0 = styleCss;
|
|
@@ -44,7 +44,7 @@ const SmoothlyTableDemo = proxyCustomElement(class SmoothlyTableDemo extends H {
|
|
|
44
44
|
this.__registerHost();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '4233a67a671728bcb825e9c39bf585ad9c14809d' }, h("smoothly-table-demo-filler-row", { key: 'a4b1151ef192f0d6eb86f51b9e5ee1ccfee3ef7b' }), h("smoothly-table-demo-group", { key: '9ae859258f3011661eafd08815d62beb6c2d7a71' }), h("smoothly-table-demo-colspan", { key: '97f708df9eed1c196de23c8bee7f5ba20af45a0c' }), h("smoothly-table-demo-simple", { key: '79d2512389d22929913c5e568b89abd429e26e44' }), h("smoothly-table-demo-nested-no-cell", { key: '3944d3ffa104e64ea4cdd1367284b99abed485b7' }), h("smoothly-table-demo-filtered", { key: 'fac919f7e05b195d1962a30f9ab91d79bca8ea59' })));
|
|
48
48
|
}
|
|
49
49
|
static get style() { return SmoothlyTableDemoStyle0; }
|
|
50
50
|
}, [2, "smoothly-table-demo"]);
|
|
@@ -240,4 +240,4 @@ defineCustomElement();
|
|
|
240
240
|
|
|
241
241
|
export { SmoothlyTableDemo as S, defineCustomElement as d };
|
|
242
242
|
|
|
243
|
-
//# sourceMappingURL=p-
|
|
243
|
+
//# sourceMappingURL=p-ced1fd1c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-ced1fd1c.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,4HAA4H,CAAC;AAC9I,gCAAe,QAAQ;;MCMV,iBAAiB;;;;;IAC7B,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,wFAAkC,EAClC,mFAA6B,EAC7B,qFAA+B,EAC/B,oFAA8B,EAC9B,4FAAsC,EACtC,sFAAgC,CAC1B,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/table/demo/style.css?tag=smoothly-table-demo&encapsulation=scoped","src/components/table/demo/index.tsx"],"sourcesContent":[":host {\n\tdisplay: grid;\n\tgap: 5rem;\n\tbox-sizing: border-box;\n\tmax-width: 80rem;\n\twidth: 100%;\n\tmargin: auto;\n\tpadding: 2rem;\n}\n","import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-table-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTableDemo {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-table-demo-filler-row />\n\t\t\t\t<smoothly-table-demo-group />\n\t\t\t\t<smoothly-table-demo-colspan />\n\t\t\t\t<smoothly-table-demo-simple />\n\t\t\t\t<smoothly-table-demo-nested-no-cell />\n\t\t\t\t<smoothly-table-demo-filtered />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -4,18 +4,18 @@ import { o as object } from './p-d471066b.js';
|
|
|
4
4
|
import { f as fromIs } from './p-57ac5d1b.js';
|
|
5
5
|
import { d as defineCustomElement$e } from './p-76531b32.js';
|
|
6
6
|
import { d as defineCustomElement$d } from './p-2826e824.js';
|
|
7
|
-
import { d as defineCustomElement$c } from './p-
|
|
7
|
+
import { d as defineCustomElement$c } from './p-5eafd1ac.js';
|
|
8
8
|
import { d as defineCustomElement$b } from './p-00165343.js';
|
|
9
|
-
import { d as defineCustomElement$a } from './p-
|
|
9
|
+
import { d as defineCustomElement$a } from './p-c9caeeb4.js';
|
|
10
10
|
import { d as defineCustomElement$9 } from './p-604f869e.js';
|
|
11
|
-
import { d as defineCustomElement$8 } from './p-
|
|
12
|
-
import { d as defineCustomElement$7 } from './p-
|
|
13
|
-
import { d as defineCustomElement$6 } from './p-
|
|
14
|
-
import { d as defineCustomElement$5 } from './p-
|
|
15
|
-
import { d as defineCustomElement$4 } from './p-
|
|
16
|
-
import { d as defineCustomElement$3 } from './p-
|
|
17
|
-
import { d as defineCustomElement$2 } from './p-
|
|
18
|
-
import { d as defineCustomElement$1 } from './p-
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-6337ab02.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-4da1c188.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-b34956f3.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-4ee29da5.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-efb6497e.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-a76a4d76.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-33c30e05.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-723edf05.js';
|
|
19
19
|
|
|
20
20
|
var ScheduledEvent;
|
|
21
21
|
(function (ScheduledEvent) {
|
|
@@ -124,4 +124,4 @@ defineCustomElement();
|
|
|
124
124
|
|
|
125
125
|
export { SmoothlyFormDemoPrices as S, defineCustomElement as d };
|
|
126
126
|
|
|
127
|
-
//# sourceMappingURL=p-
|
|
127
|
+
//# sourceMappingURL=p-d5f78e0f.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-d5f78e0f.js","mappings":";;;;;;;;;;;;;;;;;;;AAQA,IAAU,cAAc,CAKvB;AALD,WAAU,cAAc;IACV,mBAAI,GAAGA,MAAW,CAAiB;QAC/C,IAAI,EAAEC,MAAW,CAAC,YAAY,EAAEC,IAAU,CAAC,EAAE,CAAC;QAC9C,MAAM,EAAEC,MAAW,EAAE;KACrB,CAAC,CAAA;AACH,CAAC,EALS,cAAc,KAAd,cAAc,QAKvB;AAGD,IAAU,SAAS,CAElB;AAFD,WAAU,SAAS;IACL,cAAI,GAAGH,MAAW,CAAY,EAAE,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;AACtF,CAAC,EAFS,SAAS,KAAT,SAAS,QAElB;MAOY,sBAAsB;;;;;IAClC,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,wEAAiB,EACjB,sEAAe,KAAK,EAAC,MAAM,EAAC,SAAS,EAAE,SAAS,CAAC,IAAI,IACpD,4EAAqB,IAAI,EAAC,iBAAiB,WAA2B,EACtE,uEAAgB,IAAI,EAAC,mBAAmB,EAAC,IAAI,EAAC,OAAO,aAEpC,EACjB,4EAAqB,IAAI,EAAC,iBAAiB,WAA2B,EACtE,uEAAgB,IAAI,EAAC,mBAAmB,EAAC,IAAI,EAAC,OAAO,aAEpC,EACjB,4EAAqB,IAAI,EAAC,iBAAiB,WAA2B,EACtE,uEAAgB,IAAI,EAAC,mBAAmB,EAAC,IAAI,EAAC,OAAO,aAEpC,EACjB,6EAAsB,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EAChF,8EAAuB,IAAI,EAAC,QAAQ,GAAG,CACxB,CACV,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isly.object","isly.fromIs","isoly.Date","isly.number"],"sources":["src/components/form/demo/schedule/index.tsx"],"sourcesContent":["import { Component, h, Host, VNode } from \"@stencil/core\"\nimport { isoly } from \"isoly\"\nimport { isly } from \"isly\"\n\ntype ScheduledEvent = {\n\tdate: isoly.Date\n\tamount: number\n}\nnamespace ScheduledEvent {\n\texport const type = isly.object<ScheduledEvent>({\n\t\tdate: isly.fromIs(\"isoly.Date\", isoly.Date.is),\n\t\tamount: isly.number(),\n\t})\n}\n\ntype TimeTable = { schedule: ScheduledEvent[] }\nnamespace TimeTable {\n\texport const type = isly.object<TimeTable>({ schedule: ScheduledEvent.type.array() })\n}\n\n// This demo demonstrate that the form can handle arrays in the validator\n@Component({\n\ttag: \"smoothly-form-demo-schedule\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoPrices {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Schedule</h2>\n\t\t\t\t<smoothly-form looks=\"line\" validator={TimeTable.type}>\n\t\t\t\t\t<smoothly-input-date name=\"schedule.0.date\">Date</smoothly-input-date>\n\t\t\t\t\t<smoothly-input name=\"schedule.0.amount\" type=\"price\">\n\t\t\t\t\t\tAmount\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-date name=\"schedule.1.date\">Date</smoothly-input-date>\n\t\t\t\t\t<smoothly-input name=\"schedule.1.amount\" type=\"price\">\n\t\t\t\t\t\tAmount\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-date name=\"schedule.2.date\">Date</smoothly-input-date>\n\t\t\t\t\t<smoothly-input name=\"schedule.2.amount\" type=\"price\">\n\t\t\t\t\t\tAmount\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-reset slot=\"reset\" fill=\"default\" type=\"form\" color=\"warning\" />\n\t\t\t\t\t<smoothly-input-submit slot=\"submit\" />\n\t\t\t\t</smoothly-form>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -2,9 +2,9 @@ import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
|
2
2
|
import { a as and } from './p-caf09da9.js';
|
|
3
3
|
import { o as object, s as string } from './p-d471066b.js';
|
|
4
4
|
import { i as islyFunction, r as record } from './p-57ac5d1b.js';
|
|
5
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
+
import { d as defineCustomElement$3 } from './p-792c42af.js';
|
|
6
6
|
import { d as defineCustomElement$2 } from './p-604f869e.js';
|
|
7
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$1 } from './p-6337ab02.js';
|
|
8
8
|
|
|
9
9
|
const EventEmitter = object({ emit: islyFunction() });
|
|
10
10
|
var Filter;
|
|
@@ -107,4 +107,4 @@ defineCustomElement();
|
|
|
107
107
|
|
|
108
108
|
export { SmoothlyFilter as S, defineCustomElement as d };
|
|
109
109
|
|
|
110
|
-
//# sourceMappingURL=p-
|
|
110
|
+
//# sourceMappingURL=p-d8a2f2ba.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-d8a2f2ba.js","mappings":";;;;;;;;AAIA,MAAM,YAAY,GAAGA,MAAW,CAAe,EAAE,IAAI,EAAEC,YAAa,EAAwB,EAAE,CAAC,CAAA;IAK9E,MAAM,CAiBtB;AAjBD,WAAiB,MAAM;IAOtB,IAAiB,OAAO,CAKvB;IALD,WAAiB,OAAO;QACV,YAAI,GAAGD,MAAW,CAAU;YACxC,QAAQ,EAAE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,qBAAqB,EAClE,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE;gBACR,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAA;aAC9B,GACA,EACF,4DAAK,KAAK,EAAE,IAAI,CAAC,QAAQ,GAAG,OAAO,GAAG,QAAQ,EAAE,OAAO,EAAE,OAAO,IAAI,CAAC,QAAQ,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAI,CAC7F,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isly.object","isly.function","isly.string","isly.record","selectively.and"],"sources":["src/components/filter/Filter.ts","src/components/filter/style.css?tag=smoothly-filter&encapsulation=scoped","src/components/filter/index.tsx"],"sourcesContent":["import { EventEmitter } from \"@stencil/core\"\nimport { selectively } from \"selectively\"\nimport { isly } from \"isly\"\n\nconst EventEmitter = isly.object<EventEmitter>({ emit: isly.function<EventEmitter[\"emit\"]>() })\nexport interface Filter extends Filter.Element {\n\tsmoothlyFilterUpdate: EventEmitter<Filter.Update>\n\tsmoothlyFilterManipulate: EventEmitter<Filter.Manipulate>\n}\nexport namespace Filter {\n\texport type Manipulate = (criteria: selectively.Criteria) => selectively.Criteria\n\texport type Update = (expression: selectively.Criteria) => void\n\texport interface Element {\n\t\tproperty?: string\n\t\tproperties?: Record<string, string>\n\t}\n\texport namespace Element {\n\t\texport const type = isly.object<Element>({\n\t\t\tproperty: isly.string().optional(),\n\t\t\tproperties: isly.record<Record<string, string>>(isly.string(), isly.string()).optional(),\n\t\t})\n\t}\n\texport const type = Element.type.extend<Filter>({\n\t\tsmoothlyFilterUpdate: EventEmitter,\n\t\tsmoothlyFilterManipulate: EventEmitter,\n\t})\n}\n",":host {\n\tposition: relative;\n\tborder: 1px solid rgb(var(--smoothly-medium-tint));\n\tmargin-left: 1rem;\n\tbackground-color: rgb(var(--smoothly-input-background));\n\tmargin-right: 1rem;\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n}\n\n:host>div::slotted([slot=detail]) {\n\tz-index: 5;\n}\n\n:host::slotted([slot=bar]) {\n\tpointer-events: auto;\n\tmargin-left: 0.3em;\n\tmargin-right: 0.3em;\n\n\t&>[looks=\"plain\"] {\n\t\tdisplay: flex;\n\t\talign-self: stretch;\n\t\talign-items: center;\n\t}\n}\n\n:host>div:empty+smoothly-icon {\n\tdisplay: none;\n}\n\n:host>smoothly-icon {\n\tcursor: pointer;\n\tmargin-left: 0.3em;\n\tmargin-right: 0.3em;\n\tflex-shrink: 0;\n}\n\n:host>div.close {\n\tposition: fixed;\n\tz-index: 3;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100dvw;\n\theight: 100dvh;\n\tbackground: transparent;\n}\n\n:host>div.hidden {\n\tdisplay: none;\n}\n\n:host>.container {\n\tpadding: 2em;\n\tposition: absolute;\n\tright: 0.35em;\n\twidth: fit-content;\n\tdisplay: flex;\n\tjustify-content: center;\n\ttop: 100%;\n\twidth: fit-content;\n\tz-index: 4;\n\tbackground-color: rgb(var(--smoothly-color));\n\tmargin: 0.8em -2em;\n}\n\n/* arrow */\n:host>div.container:before {\n\tcontent: \"\";\n\twidth: 0.6em;\n\theight: 0.6em;\n\ttransform: rotate(45deg);\n\tborder-top: 1px solid rgb(var(--smoothly-medium-tint));\n\tborder-left: 1px solid rgb(var(--smoothly-medium-tint));\n\tbackground-color: rgb(var(--smoothly-color));\n\tposition: absolute;\n\tz-index: 3;\n}\n\n/* arrow placement */\n:host>div.container.arrow-top:before {\n\tleft: calc(91%);\n\ttop: -5px;\n}\n\n:host div.container:after {\n\tcontent: \"\";\n\theight: 100%;\n\twidth: 100%;\n\tborder: 1px solid rgb(var(--smoothly-medium-tint));\n\tborder-radius: 0.25em;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n}\n","import { Component, Event, EventEmitter, h, Host, Listen, State } from \"@stencil/core\"\nimport { selectively } from \"selectively\"\nimport { Filter } from \"./Filter\"\n\n@Component({\n\ttag: \"smoothly-filter\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFilter {\n\tfield: HTMLSmoothlyFilterFieldElement | undefined\n\tupdating = false\n\tfilters: Set<Filter.Update> = new Set<Filter.Update>() // maybe set?\n\t@State() detailChildren?: boolean\n\t@State() criteria: selectively.Criteria = selectively.and()\n\t@State() expanded = false\n\t@Event() smoothlyFilter: EventEmitter<selectively.Criteria>\n\n\t@Listen(\"smoothlyFilterUpdate\")\n\tupdateHandler(event: CustomEvent<Filter.Update>) {\n\t\tevent.stopPropagation()\n\t\tif (Filter.Element.type.is(event.target))\n\t\t\tthis.filters.add(event.detail)\n\t}\n\t@Listen(\"smoothlyFilterManipulate\")\n\tmanipulateHandler(event: CustomEvent<Filter.Manipulate>) {\n\t\tevent.stopPropagation()\n\t\tthis.updating = true\n\t\tthis.criteria = event.detail(this.criteria)\n\t\tthis.smoothlyFilter.emit(this.criteria)\n\t\tthis.filters.forEach(update => update(this.criteria))\n\t\tthis.updating = false\n\t}\n\t@Listen(\"smoothlyFilterField\")\n\tfilterFieldHandler(event: CustomEvent<selectively.Criteria>) {\n\t\tevent.stopPropagation()\n\t\tif (!this.updating) {\n\t\t\tthis.smoothlyFilter.emit((this.criteria = selectively.and(event.detail)))\n\t\t\tthis.filters.forEach(update => update(this.criteria))\n\t\t}\n\t}\n\tclear(): void {\n\t\tthis.field?.clear()\n\t\tthis.smoothlyFilter.emit((this.criteria = selectively.and()))\n\t\tthis.filters.forEach(update => update(this.criteria))\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<slot name=\"bar\" />\n\t\t\t\t<smoothly-filter-field criteria={this.criteria} ref={e => (this.field = e)} />\n\t\t\t\t{this.criteria.toString() != \"\" && (\n\t\t\t\t\t<smoothly-icon\n\t\t\t\t\t\tname={\"close\"}\n\t\t\t\t\t\ttooltip={\"Clear all filters\"}\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\tthis.clear()\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\t<div class={this.expanded ? \"container arrow-top\" : \"hidden\"}>\n\t\t\t\t\t<slot name=\"detail\" />\n\t\t\t\t</div>\n\t\t\t\t<smoothly-icon\n\t\t\t\t\tname={this.expanded ? \"options\" : \"options-outline\"}\n\t\t\t\t\ttooltip={(this.expanded ? \"Hide\" : \"Show\") + \" additional filters\"}\n\t\t\t\t\tsize=\"small\"\n\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\tthis.expanded = !this.expanded\n\t\t\t\t\t}}\n\t\t\t\t/>\n\t\t\t\t<div class={this.expanded ? \"close\" : \"hidden\"} onClick={() => (this.expanded = !this.expanded)} />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
|
+
import { d as defineCustomElement$5 } from './p-604f869e.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './p-ce52b5f8.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-c4674baf.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-84ba0025.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-f62fe4be.js';
|
|
7
|
+
|
|
8
|
+
const styleCss = ".sc-smoothly-input-demo-radio-h{display:grid;grid-template-columns:repeat(auto-fit, minmax(20rem, 1fr));max-width:min(56rem, 100%);margin:auto;flex-direction:column;gap:0.5rem}.sc-smoothly-input-demo-radio-h .sc-smoothly-input-demo-radio:not(smoothly-input-date):not(smoothly-input-date-range){grid-column:1 / -1}";
|
|
9
|
+
const SmoothlyInputDemoRadioStyle0 = styleCss;
|
|
10
|
+
|
|
11
|
+
const SmoothlyInputDemoRadio = proxyCustomElement(class SmoothlyInputDemoRadio extends H {
|
|
12
|
+
constructor() {
|
|
13
|
+
super();
|
|
14
|
+
this.__registerHost();
|
|
15
|
+
this.selected = undefined;
|
|
16
|
+
}
|
|
17
|
+
selectedChange() {
|
|
18
|
+
console.log("selected", this.selected);
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
return (h(Host, { key: 'c3b8ab15f7d5b4293c3f014c37f94c5ec76c9900' }, h("h2", { key: '73eaa3db6de6c83e06125debc2a3d9b519f3c2bf' }, "radio input - column direction"), h("smoothly-input-radio", { key: 'd2d017e7c74b455b97ca6e16e3806caa2a3cc876', name: "radio", direction: "column", onSmoothlyInput: e => (this.selected = e.detail.radio) }, h("smoothly-input-radio-item", { key: '0acb4e1bfc61d3f8c612c4831d3ad7c8627b4732', value: "1" }, h("span", { key: '81e25f4f1908ca06093da3893f2044bd6263b635' }, "Option 1"), h("span", { key: '8b951dc4128c07072edfcc6687f0216444b107f0', slot: "detail" }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.")), h("smoothly-input-radio-item", { key: '0e7a0fadf0f3dae0b563e8511787539e5ddecb77', value: "2", selected: true }, h("span", { key: 'ca6255390099436de4a6fbb5f2c1e182d8a9dc4b' }, "Option 2"), h("div", { key: '4fc784d028ea7ce3025b6e983ab51b05185595fc', slot: "detail" }, h("smoothly-tabs", { key: 'c336dc2a0ce56efa45a639c2e89e62e1e246a442' }, h("smoothly-tab", { key: '6820992dcd04115db18b9cd9030587d1f1a5f023', label: "Dog", name: "dog", open: true }, "\uD83D\uDC15"), h("smoothly-tab", { key: '9aa5005a09e4be778116e88b578dcc26a52ff9d4', label: "Cat", name: "cat" }, "\uD83D\uDC08"), h("smoothly-tab", { key: '64b1a15fe3834a1d75d7feb4365e63e4fe6240da', label: "Rat", name: "rat" }, "\uD83D\uDC00")))))));
|
|
22
|
+
}
|
|
23
|
+
static get watchers() { return {
|
|
24
|
+
"selected": ["selectedChange"]
|
|
25
|
+
}; }
|
|
26
|
+
static get style() { return SmoothlyInputDemoRadioStyle0; }
|
|
27
|
+
}, [2, "smoothly-input-demo-radio", {
|
|
28
|
+
"selected": [32]
|
|
29
|
+
}, undefined, {
|
|
30
|
+
"selected": ["selectedChange"]
|
|
31
|
+
}]);
|
|
32
|
+
function defineCustomElement() {
|
|
33
|
+
if (typeof customElements === "undefined") {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const components = ["smoothly-input-demo-radio", "smoothly-icon", "smoothly-input-radio", "smoothly-input-radio-item", "smoothly-tab", "smoothly-tabs"];
|
|
37
|
+
components.forEach(tagName => { switch (tagName) {
|
|
38
|
+
case "smoothly-input-demo-radio":
|
|
39
|
+
if (!customElements.get(tagName)) {
|
|
40
|
+
customElements.define(tagName, SmoothlyInputDemoRadio);
|
|
41
|
+
}
|
|
42
|
+
break;
|
|
43
|
+
case "smoothly-icon":
|
|
44
|
+
if (!customElements.get(tagName)) {
|
|
45
|
+
defineCustomElement$5();
|
|
46
|
+
}
|
|
47
|
+
break;
|
|
48
|
+
case "smoothly-input-radio":
|
|
49
|
+
if (!customElements.get(tagName)) {
|
|
50
|
+
defineCustomElement$4();
|
|
51
|
+
}
|
|
52
|
+
break;
|
|
53
|
+
case "smoothly-input-radio-item":
|
|
54
|
+
if (!customElements.get(tagName)) {
|
|
55
|
+
defineCustomElement$3();
|
|
56
|
+
}
|
|
57
|
+
break;
|
|
58
|
+
case "smoothly-tab":
|
|
59
|
+
if (!customElements.get(tagName)) {
|
|
60
|
+
defineCustomElement$2();
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
case "smoothly-tabs":
|
|
64
|
+
if (!customElements.get(tagName)) {
|
|
65
|
+
defineCustomElement$1();
|
|
66
|
+
}
|
|
67
|
+
break;
|
|
68
|
+
} });
|
|
69
|
+
}
|
|
70
|
+
defineCustomElement();
|
|
71
|
+
|
|
72
|
+
export { SmoothlyInputDemoRadio as S, defineCustomElement as d };
|
|
73
|
+
|
|
74
|
+
//# sourceMappingURL=p-dccf0678.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-dccf0678.js","mappings":";;;;;;;AAAA,MAAM,QAAQ,GAAG,2TAA2T,CAAC;AAC7U,qCAAe,QAAQ;;MCMV,sBAAsB;;;;;;IAIlC,cAAc;QACb,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;KACtC;IAED,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,8FAAuC,EACvC,6EACC,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,QAAQ,EAClB,eAAe,EAAE,CAAC,KAAK,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,KAAe,CAAC,IAChE,kFAA2B,KAAK,EAAC,GAAG,IACnC,0EAAqB,EAErB,6DAAM,IAAI,EAAC,QAAQ,ocAMZ,CACoB,EAC5B,kFAA2B,KAAK,EAAC,GAAG,EAAC,QAAQ,UAC5C,0EAAqB,EACrB,4DAAK,IAAI,EAAC,QAAQ,IACjB,wEACC,qEAAc,KAAK,EAAC,KAAK,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,yBAE1B,EACf,qEAAc,KAAK,EAAC,KAAK,EAAC,IAAI,EAAC,KAAK,mBAErB,EACf,qEAAc,KAAK,EAAC,KAAK,EAAC,IAAI,EAAC,KAAK,mBAErB,CACA,CACX,CACqB,CACN,CACjB,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/input/demo/radio/style.css?tag=smoothly-input-demo-radio&encapsulation=scoped","src/components/input/demo/radio/index.tsx"],"sourcesContent":[":host {\n\tdisplay: grid;\n\tgrid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));\n\tmax-width: min(56rem, 100%);\n\tmargin: auto;\n\tflex-direction: column;\n\tgap: 0.5rem;\n}\n\n:host :not(smoothly-input-date):not(smoothly-input-date-range) {\n\tgrid-column: 1 / -1;\n}\n","import { Component, h, Host, State, Watch } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-input-demo-radio\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputDemoRadio {\n\t@State() selected: string\n\n\t@Watch(\"selected\")\n\tselectedChange() {\n\t\tconsole.log(\"selected\", this.selected)\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>radio input - column direction</h2>\n\t\t\t\t<smoothly-input-radio\n\t\t\t\t\tname=\"radio\"\n\t\t\t\t\tdirection=\"column\"\n\t\t\t\t\tonSmoothlyInput={e => (this.selected = e.detail.radio as string)}>\n\t\t\t\t\t<smoothly-input-radio-item value=\"1\">\n\t\t\t\t\t\t<span>Option 1</span>\n\n\t\t\t\t\t\t<span slot=\"detail\">\n\t\t\t\t\t\t\tLorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et\n\t\t\t\t\t\t\tdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex\n\t\t\t\t\t\t\tea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu\n\t\t\t\t\t\t\tfugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt\n\t\t\t\t\t\t\tmollit anim id est laborum.\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t<smoothly-input-radio-item value=\"2\" selected>\n\t\t\t\t\t\t<span>Option 2</span>\n\t\t\t\t\t\t<div slot=\"detail\">\n\t\t\t\t\t\t\t<smoothly-tabs>\n\t\t\t\t\t\t\t\t<smoothly-tab label=\"Dog\" name=\"dog\" open>\n\t\t\t\t\t\t\t\t\t🐕\n\t\t\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t\t\t\t<smoothly-tab label=\"Cat\" name=\"cat\">\n\t\t\t\t\t\t\t\t\t🐈\n\t\t\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t\t\t\t<smoothly-tab label=\"Rat\" name=\"rat\">\n\t\t\t\t\t\t\t\t\t🐀\n\t\t\t\t\t\t\t\t</smoothly-tab>\n\t\t\t\t\t\t\t</smoothly-tabs>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t</smoothly-input-radio>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
2
|
import { d as defineCustomElement$3 } from './p-604f869e.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-b52a6734.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-ef0cb600.js';
|
|
5
5
|
|
|
6
6
|
const styleCss = ".sc-smoothly-notifier-h{display:block}[hidden].sc-smoothly-notifier-h{display:none}.sc-smoothly-notifier-h>.smoothly-notifier-wrapper.sc-smoothly-notifier{pointer-events:none;display:flex;flex-wrap:wrap-reverse;align-content:stretch;position:fixed;bottom:3rem;left:0;text-align:center;z-index:100}.sc-smoothly-notifier-h>.smoothly-notifier-wrapper.sc-smoothly-notifier>smoothly-notification.sc-smoothly-notifier{pointer-events:all}";
|
|
7
7
|
const SmoothlyNotifierStyle0 = styleCss;
|
|
@@ -20,7 +20,7 @@ const Notifier = proxyCustomElement(class Notifier extends H {
|
|
|
20
20
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '25e53ef1a4d48669cda0a254c63dbc439726a4c4' }, h("slot", { key: '6bed9d295489eedbe95ce62a03cd535059ffcdef' }), h("div", { key: 'dc788339a0295b6ac649c26072638b510165524d', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return SmoothlyNotifierStyle0; }
|
|
26
26
|
}, [6, "smoothly-notifier", {
|
|
@@ -59,4 +59,4 @@ defineCustomElement();
|
|
|
59
59
|
|
|
60
60
|
export { Notifier as N, defineCustomElement as d };
|
|
61
61
|
|
|
62
|
-
//# sourceMappingURL=p-
|
|
62
|
+
//# sourceMappingURL=p-e44568a9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-e44568a9.js","mappings":";;;;;AAAA,MAAM,QAAQ,GAAG,ibAAib,CAAC;AACnc,+BAAe,QAAQ;;MCOV,QAAQ;;;;oBACL,KAAK;uBACS,EAAE;;IAG/B,QAAQ,CAAC,KAA0B;QAClC,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;KAC9C;IAED,QAAQ,CAAC,KAA0B;QAClC,IAAI,CAAC,OAAO,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAA;KAC/D;IACD,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,8DAAQ,EACR,4DAAK,KAAK,EAAC,2BAA2B,IACpC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAClB,6BAAuB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CACrD,CAAC,CACG,CACA,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/notifier/style.css?tag=smoothly-notifier&encapsulation=scoped","src/components/notifier/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n:host[hidden] {\n\tdisplay: none;\n}\n:host > .smoothly-notifier-wrapper {\n\tpointer-events: none;\n\tdisplay: flex;\n\tflex-wrap: wrap-reverse;\n\talign-content: stretch;\n\tposition: fixed;\n\tbottom: 3rem;\n\tleft: 0;\n\ttext-align: center;\n\tz-index: 100;\n}\n\n:host > .smoothly-notifier-wrapper > smoothly-notification {\n\tpointer-events: all;\n}\n","import { Component, h, Host, Listen, Prop, State } from \"@stencil/core\"\nimport { Notice } from \"../../model\"\n\n@Component({\n\ttag: \"smoothly-notifier\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class Notifier {\n\t@Prop() icon = false\n\t@State() notices: Notice[] = []\n\n\t@Listen(\"notice\")\n\tonNotice(event: CustomEvent<Notice>) {\n\t\tthis.notices = [...this.notices, event.detail]\n\t}\n\t@Listen(\"remove\")\n\tonRemove(event: CustomEvent<Notice>) {\n\t\tthis.notices = [...this.notices.filter(n => n != event.detail)]\n\t}\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<slot />\n\t\t\t\t<div class=\"smoothly-notifier-wrapper\">\n\t\t\t\t\t{this.notices.map(n => (\n\t\t\t\t\t\t<smoothly-notification notice={n} icon={this.icon} />\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
|
|
2
2
|
import { d as defineCustomElement$3 } from './p-604f869e.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-239cce56.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-70b61978.js';
|
|
5
5
|
|
|
6
6
|
// src/path-to-regex-modified.ts
|
|
7
7
|
var Part = class {
|
|
@@ -1519,4 +1519,4 @@ defineCustomElement();
|
|
|
1519
1519
|
|
|
1520
1520
|
export { SmoothlyAppRoom as S, defineCustomElement as d };
|
|
1521
1521
|
|
|
1522
|
-
//# sourceMappingURL=p-
|
|
1522
|
+
//# sourceMappingURL=p-e779a545.js.map
|