smoothly 1.69.0 → 1.71.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 +132 -146
- package/dist/cjs/smoothly-app_103.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/components/display/demo/index.js +1 -1
- package/dist/collection/components/display/demo/index.js.map +1 -1
- package/dist/collection/components/display/demo/json/index.js +1 -1
- package/dist/collection/components/display/json/index.js +1 -1
- package/dist/collection/components/display/json/object/index.js +2 -2
- package/dist/collection/components/display/json/object/key/index.js +1 -1
- package/dist/collection/components/display/json/primitive/index.js +1 -1
- package/dist/collection/components/filter/field/index.js +1 -1
- package/dist/collection/components/filter/index.js +3 -3
- package/dist/collection/components/filter/input/index.js +1 -1
- package/dist/collection/components/filter/select/index.js +1 -1
- package/dist/collection/components/filter/toggle/index.js +1 -1
- package/dist/collection/components/form/demo/all/index.js +2 -2
- package/dist/collection/components/form/demo/card/index.js +1 -1
- package/dist/collection/components/form/demo/controlled/index.js +1 -1
- package/dist/collection/components/form/demo/date/index.js +1 -1
- package/dist/collection/components/form/demo/date-range/index.js +1 -1
- package/dist/collection/components/form/demo/index.js +1 -1
- package/dist/collection/components/form/demo/login/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js +2 -2
- package/dist/collection/components/form/demo/pet/index.js.map +1 -1
- package/dist/collection/components/form/demo/pet/style.css +0 -1
- package/dist/collection/components/form/demo/prices/index.js +1 -1
- package/dist/collection/components/form/demo/schedule/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/icon/demo/index.js +1 -1
- package/dist/collection/components/icon/index.js +1 -1
- package/dist/collection/components/input/checkbox/demo/index.js +1 -1
- package/dist/collection/components/input/checkbox/index.js +2 -2
- package/dist/collection/components/input/clear/index.js +1 -1
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +2 -2
- package/dist/collection/components/input/date/index.js +5 -6
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +7 -8
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/text/DateFormat.js.map +1 -1
- package/dist/collection/components/input/date/text/index.js +6 -5
- package/dist/collection/components/input/date/text/index.js.map +1 -1
- package/dist/collection/components/input/date/time/index.js +5 -5
- package/dist/collection/components/input/demo/date/index.js +1 -1
- package/dist/collection/components/input/demo/index.js +4 -4
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/demo/user-input/index.js +3 -3
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +4 -4
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +3 -3
- 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 -96
- package/dist/collection/components/summary/index.js.map +1 -1
- package/dist/collection/components/summary/style.css +5 -17
- 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 +1 -1
- 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-2e0d658c.js → p-047334a5.js} +16 -16
- package/dist/components/{p-2e0d658c.js.map → p-047334a5.js.map} +1 -1
- package/dist/components/{p-2b85f832.js → p-14a3e347.js} +9 -9
- package/dist/components/{p-2b85f832.js.map → p-14a3e347.js.map} +1 -1
- package/dist/components/{p-74243da6.js → p-175304fe.js} +84 -90
- package/dist/components/p-175304fe.js.map +1 -0
- package/dist/components/p-17fab4bb.js +175 -0
- package/dist/components/{p-aade6a8f.js.map → p-17fab4bb.js.map} +1 -1
- package/dist/components/{p-30d5e6ae.js → p-1b8e16b8.js} +12 -12
- package/dist/components/{p-30d5e6ae.js.map → p-1b8e16b8.js.map} +1 -1
- package/dist/components/{p-baadaa91.js → p-2053972d.js} +5 -5
- package/dist/components/{p-baadaa91.js.map → p-2053972d.js.map} +1 -1
- package/dist/components/{p-d2bdcaa5.js → p-23a642e0.js} +2 -2
- package/dist/components/{p-d2bdcaa5.js.map → p-23a642e0.js.map} +1 -1
- package/dist/components/{p-151b5731.js → p-25651163.js} +3 -3
- package/dist/components/{p-151b5731.js.map → p-25651163.js.map} +1 -1
- package/dist/components/{p-a94971c4.js → p-28291796.js} +10 -10
- package/dist/components/p-28291796.js.map +1 -0
- package/dist/components/{p-c0d64c2c.js → p-286afcd7.js} +14 -14
- package/dist/components/{p-c0d64c2c.js.map → p-286afcd7.js.map} +1 -1
- package/dist/components/{p-ad1e94af.js → p-28d79a77.js} +2 -2
- package/dist/components/{p-ad1e94af.js.map → p-28d79a77.js.map} +1 -1
- package/dist/components/{p-652a91eb.js → p-2d0013dc.js} +4 -4
- package/dist/components/{p-652a91eb.js.map → p-2d0013dc.js.map} +1 -1
- package/dist/components/{p-d2a5c479.js → p-2f9abfb1.js} +2 -2
- package/dist/components/{p-d2a5c479.js.map → p-2f9abfb1.js.map} +1 -1
- package/dist/components/{p-1dd72fb2.js → p-2fed3381.js} +6 -6
- package/dist/components/{p-1dd72fb2.js.map → p-2fed3381.js.map} +1 -1
- package/dist/components/{p-08de5d34.js → p-3098ae83.js} +11 -11
- package/dist/components/{p-08de5d34.js.map → p-3098ae83.js.map} +1 -1
- package/dist/components/{p-0c936167.js → p-30fa1e5e.js} +6 -6
- package/dist/components/{p-0c936167.js.map → p-30fa1e5e.js.map} +1 -1
- package/dist/components/p-37a8a567.js +264 -0
- package/dist/components/{p-e2129765.js.map → p-37a8a567.js.map} +1 -1
- package/dist/components/{p-72862a0d.js → p-37d6c3c7.js} +5 -5
- package/dist/components/{p-72862a0d.js.map → p-37d6c3c7.js.map} +1 -1
- package/dist/components/{p-86c2773f.js → p-3aed2b34.js} +2 -2
- package/dist/components/{p-86c2773f.js.map → p-3aed2b34.js.map} +1 -1
- package/dist/components/{p-7bc05387.js → p-3e725e6b.js} +3 -3
- package/dist/components/{p-7bc05387.js.map → p-3e725e6b.js.map} +1 -1
- package/dist/components/{p-a786ea58.js → p-3e89effc.js} +2 -2
- package/dist/components/{p-a786ea58.js.map → p-3e89effc.js.map} +1 -1
- package/dist/components/{p-0b9a28d6.js → p-3f805be6.js} +7 -6
- package/dist/components/p-3f805be6.js.map +1 -0
- package/dist/components/{p-c6cacf97.js → p-3fbe4e84.js} +4 -4
- package/dist/components/{p-c6cacf97.js.map → p-3fbe4e84.js.map} +1 -1
- package/dist/components/{p-12798957.js → p-4691f468.js} +14 -14
- package/dist/components/{p-12798957.js.map → p-4691f468.js.map} +1 -1
- package/dist/components/{p-bfca2fb4.js → p-4e1cf556.js} +15 -15
- package/dist/components/{p-bfca2fb4.js.map → p-4e1cf556.js.map} +1 -1
- package/dist/components/{p-54ef3bb3.js → p-4e754f3b.js} +5 -5
- package/dist/components/{p-54ef3bb3.js.map → p-4e754f3b.js.map} +1 -1
- package/dist/components/{p-e6d44fec.js → p-513ba94d.js} +3 -3
- package/dist/components/{p-e6d44fec.js.map → p-513ba94d.js.map} +1 -1
- package/dist/components/{p-5f6c4cbf.js → p-53e148ef.js} +3 -3
- package/dist/components/{p-5f6c4cbf.js.map → p-53e148ef.js.map} +1 -1
- package/dist/components/{p-c90beb52.js → p-54ce65bd.js} +2 -2
- package/dist/components/{p-c90beb52.js.map → p-54ce65bd.js.map} +1 -1
- package/dist/components/{p-f6d82f3d.js → p-55a6fa56.js} +2 -2
- package/dist/components/{p-f6d82f3d.js.map → p-55a6fa56.js.map} +1 -1
- package/dist/components/{p-f5608cd0.js → p-56e8abd3.js} +3 -3
- package/dist/components/{p-f5608cd0.js.map → p-56e8abd3.js.map} +1 -1
- package/dist/components/{p-b19a705b.js → p-5b816c1a.js} +13 -13
- package/dist/components/{p-b19a705b.js.map → p-5b816c1a.js.map} +1 -1
- package/dist/components/{p-903dda51.js → p-5c22b8e0.js} +2 -2
- package/dist/components/{p-903dda51.js.map → p-5c22b8e0.js.map} +1 -1
- package/dist/components/p-5c770091.js +10 -0
- package/dist/components/p-5c770091.js.map +1 -0
- package/dist/components/p-5cd850dd.js +45 -0
- package/dist/components/{p-548de2b3.js.map → p-5cd850dd.js.map} +1 -1
- package/dist/components/{p-968a1d41.js → p-6945f37f.js} +2 -2
- package/dist/components/{p-968a1d41.js.map → p-6945f37f.js.map} +1 -1
- package/dist/components/{p-10e9d7eb.js → p-6af352ae.js} +6 -6
- package/dist/components/{p-10e9d7eb.js.map → p-6af352ae.js.map} +1 -1
- package/dist/components/{p-5c3ef9b4.js → p-6e022d08.js} +14 -14
- package/dist/components/{p-5c3ef9b4.js.map → p-6e022d08.js.map} +1 -1
- package/dist/components/{p-5af92463.js → p-6ef8b1e4.js} +2 -2
- package/dist/components/{p-5af92463.js.map → p-6ef8b1e4.js.map} +1 -1
- package/dist/components/{p-41c70616.js → p-6f3798e9.js} +2 -2
- package/dist/components/{p-41c70616.js.map → p-6f3798e9.js.map} +1 -1
- package/dist/components/{p-9d1eb839.js → p-7393ae40.js} +2 -2
- package/dist/components/{p-9d1eb839.js.map → p-7393ae40.js.map} +1 -1
- package/dist/components/{p-cb8485ff.js → p-77152963.js} +7 -7
- package/dist/components/{p-cb8485ff.js.map → p-77152963.js.map} +1 -1
- package/dist/components/{p-0612dd0d.js → p-79f7dce6.js} +4 -4
- package/dist/components/{p-0612dd0d.js.map → p-79f7dce6.js.map} +1 -1
- package/dist/components/{p-0a1d82c8.js → p-7c3726d9.js} +2 -2
- package/dist/components/{p-0a1d82c8.js.map → p-7c3726d9.js.map} +1 -1
- package/dist/components/{p-99444e85.js → p-7d2c3eb1.js} +13 -13
- package/dist/components/{p-99444e85.js.map → p-7d2c3eb1.js.map} +1 -1
- package/dist/components/{p-4286e2c5.js → p-7dc42c2a.js} +2 -2
- package/dist/components/{p-4286e2c5.js.map → p-7dc42c2a.js.map} +1 -1
- package/dist/components/{p-816a7eab.js → p-7fa9a237.js} +7 -7
- package/dist/components/{p-816a7eab.js.map → p-7fa9a237.js.map} +1 -1
- package/dist/components/{p-fdd004bf.js → p-8153821c.js} +2 -2
- package/dist/components/{p-fdd004bf.js.map → p-8153821c.js.map} +1 -1
- package/dist/components/{p-58edcb04.js → p-82c7b41d.js} +2 -2
- package/dist/components/{p-58edcb04.js.map → p-82c7b41d.js.map} +1 -1
- package/dist/components/{p-e9bcce38.js → p-86a42515.js} +16 -16
- package/dist/components/{p-e9bcce38.js.map → p-86a42515.js.map} +1 -1
- package/dist/components/{p-ab6fcd64.js → p-883eb635.js} +28 -28
- package/dist/components/{p-ab6fcd64.js.map → p-883eb635.js.map} +1 -1
- package/dist/components/{p-d1cd4e2e.js → p-8874881c.js} +5 -5
- package/dist/components/{p-d1cd4e2e.js.map → p-8874881c.js.map} +1 -1
- package/dist/components/{p-a195b157.js → p-893a620c.js} +15 -15
- package/dist/components/{p-a195b157.js.map → p-893a620c.js.map} +1 -1
- package/dist/components/p-8a8283f5.js +231 -0
- package/dist/components/p-8a8283f5.js.map +1 -0
- package/dist/components/{p-d8deaf7e.js → p-8f210b4c.js} +2 -2
- package/dist/components/{p-d8deaf7e.js.map → p-8f210b4c.js.map} +1 -1
- package/dist/components/{p-63fdb575.js → p-904b6845.js} +13 -13
- package/dist/components/{p-63fdb575.js.map → p-904b6845.js.map} +1 -1
- package/dist/components/{p-2710a332.js → p-9719c3f3.js} +7 -7
- package/dist/components/{p-2710a332.js.map → p-9719c3f3.js.map} +1 -1
- package/dist/components/{p-6d772a8d.js → p-98dde8b0.js} +28 -28
- package/dist/components/{p-6d772a8d.js.map → p-98dde8b0.js.map} +1 -1
- package/dist/components/{p-e8e1e393.js → p-9bc5461a.js} +12 -12
- package/dist/components/{p-e8e1e393.js.map → p-9bc5461a.js.map} +1 -1
- package/dist/components/{p-d1526680.js → p-9e2ee779.js} +7 -6
- package/dist/components/p-9e2ee779.js.map +1 -0
- package/dist/components/{p-97eb65a2.js → p-9e5ef13e.js} +4 -4
- package/dist/components/{p-97eb65a2.js.map → p-9e5ef13e.js.map} +1 -1
- package/dist/components/{p-4b81a248.js → p-9fcc7fb8.js} +13 -13
- package/dist/components/{p-4b81a248.js.map → p-9fcc7fb8.js.map} +1 -1
- package/dist/components/{p-43b9187e.js → p-a48b7170.js} +8 -8
- package/dist/components/{p-43b9187e.js.map → p-a48b7170.js.map} +1 -1
- package/dist/components/{p-fb913755.js → p-a524c1a5.js} +7 -7
- package/dist/components/{p-fb913755.js.map → p-a524c1a5.js.map} +1 -1
- package/dist/components/{p-12c22793.js → p-a5512dfc.js} +11 -11
- package/dist/components/{p-12c22793.js.map → p-a5512dfc.js.map} +1 -1
- package/dist/components/{p-93903284.js → p-ab1a0c9b.js} +25 -25
- package/dist/components/{p-93903284.js.map → p-ab1a0c9b.js.map} +1 -1
- package/dist/components/{p-ba79c73a.js → p-b1247d2f.js} +6 -6
- package/dist/components/{p-ba79c73a.js.map → p-b1247d2f.js.map} +1 -1
- package/dist/components/{p-5015d2f7.js → p-b7555b69.js} +15 -15
- package/dist/components/{p-5015d2f7.js.map → p-b7555b69.js.map} +1 -1
- package/dist/components/{p-4bcace13.js → p-bba9babd.js} +6 -3
- package/dist/components/p-bba9babd.js.map +1 -0
- package/dist/components/{p-b6bbd934.js → p-be478a63.js} +3 -3
- package/dist/components/{p-b6bbd934.js.map → p-be478a63.js.map} +1 -1
- package/dist/components/{p-6d984aff.js → p-c03bf1c2.js} +2 -2
- package/dist/components/{p-6d984aff.js.map → p-c03bf1c2.js.map} +1 -1
- package/dist/components/{p-38c88d25.js → p-c0473ff3.js} +13 -13
- package/dist/components/{p-38c88d25.js.map → p-c0473ff3.js.map} +1 -1
- package/dist/components/{p-4edacf2e.js → p-c188d3ad.js} +12 -12
- package/dist/components/p-c188d3ad.js.map +1 -0
- package/dist/components/{p-0c55578f.js → p-c19758ce.js} +4 -4
- package/dist/components/{p-0c55578f.js.map → p-c19758ce.js.map} +1 -1
- package/dist/components/{p-5c7faf00.js → p-c23e329c.js} +15 -15
- package/dist/components/{p-5c7faf00.js.map → p-c23e329c.js.map} +1 -1
- package/dist/components/p-c2b1e2fd.js +49 -0
- package/dist/components/p-c2b1e2fd.js.map +1 -0
- package/dist/components/{p-d6090a65.js → p-c4a1bbb8.js} +4 -4
- package/dist/components/{p-d6090a65.js.map → p-c4a1bbb8.js.map} +1 -1
- package/dist/components/p-cbe2fa98.js +123 -0
- package/dist/components/{p-48dfd0db.js.map → p-cbe2fa98.js.map} +1 -1
- package/dist/components/{p-92cf2e8f.js → p-ccbdacc9.js} +2 -2
- package/dist/components/{p-92cf2e8f.js.map → p-ccbdacc9.js.map} +1 -1
- package/dist/components/{p-9354bc57.js → p-d3fa1e77.js} +4 -4
- package/dist/components/{p-9354bc57.js.map → p-d3fa1e77.js.map} +1 -1
- package/dist/components/{p-a5ef5c15.js → p-da1b8bb1.js} +5 -5
- package/dist/components/{p-a5ef5c15.js.map → p-da1b8bb1.js.map} +1 -1
- package/dist/components/{p-0a4ae5ee.js → p-de7646e9.js} +4 -4
- package/dist/components/{p-0a4ae5ee.js.map → p-de7646e9.js.map} +1 -1
- package/dist/components/{p-c3586d99.js → p-e894cf0b.js} +14 -14
- package/dist/components/{p-c3586d99.js.map → p-e894cf0b.js.map} +1 -1
- package/dist/components/{p-5d8f7fac.js → p-e8e42e21.js} +9 -9
- package/dist/components/{p-5d8f7fac.js.map → p-e8e42e21.js.map} +1 -1
- package/dist/components/{p-49e6e33c.js → p-ebf5a90c.js} +16 -16
- package/dist/components/{p-49e6e33c.js.map → p-ebf5a90c.js.map} +1 -1
- package/dist/components/{p-754edcd2.js → p-ee2e6e07.js} +2 -2
- package/dist/components/{p-754edcd2.js.map → p-ee2e6e07.js.map} +1 -1
- package/dist/components/{p-68117149.js → p-ee93f201.js} +3 -3
- package/dist/components/{p-68117149.js.map → p-ee93f201.js.map} +1 -1
- package/dist/components/{p-ab583251.js → p-efca57cb.js} +4 -4
- package/dist/components/{p-ab583251.js.map → p-efca57cb.js.map} +1 -1
- package/dist/components/{p-11266f72.js → p-f04543c2.js} +3 -8
- package/dist/components/p-f04543c2.js.map +1 -0
- package/dist/components/{p-3eb6c346.js → p-f10e2152.js} +3 -3
- package/dist/components/{p-3eb6c346.js.map → p-f10e2152.js.map} +1 -1
- package/dist/components/{p-87b797d2.js → p-f4a081aa.js} +2 -2
- package/dist/components/{p-87b797d2.js.map → p-f4a081aa.js.map} +1 -1
- package/dist/components/{p-3d60d1ff.js → p-f4d38f75.js} +3 -3
- package/dist/components/{p-3d60d1ff.js.map → p-f4d38f75.js.map} +1 -1
- package/dist/components/{p-3a8c1290.js → p-f5396e0f.js} +4 -4
- package/dist/components/{p-3a8c1290.js.map → p-f5396e0f.js.map} +1 -1
- package/dist/components/{p-2e9815ef.js → p-f5648051.js} +2 -2
- package/dist/components/{p-2e9815ef.js.map → p-f5648051.js.map} +1 -1
- package/dist/components/{p-076e302d.js → p-f56ae370.js} +9 -9
- package/dist/components/{p-076e302d.js.map → p-f56ae370.js.map} +1 -1
- package/dist/components/{p-773d3773.js → p-f67d32f4.js} +13 -13
- package/dist/components/{p-773d3773.js.map → p-f67d32f4.js.map} +1 -1
- package/dist/components/{p-88e81ef7.js → p-f893b6cc.js} +5 -5
- package/dist/components/{p-88e81ef7.js.map → p-f893b6cc.js.map} +1 -1
- package/dist/components/{p-3814e921.js → p-f9e53a15.js} +37 -37
- package/dist/components/{p-3814e921.js.map → p-f9e53a15.js.map} +1 -1
- package/dist/components/{p-b8667d29.js → p-fb410f63.js} +4 -4
- package/dist/components/{p-b8667d29.js.map → p-fb410f63.js.map} +1 -1
- package/dist/components/{p-3ebeceb2.js → p-fd725e72.js} +12 -12
- package/dist/components/p-fd725e72.js.map +1 -0
- package/dist/components/smoothly-app-demo.js +98 -98
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.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-checkbox.js +1 -1
- package/dist/components/smoothly-date-text.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display-json-object.js +1 -1
- package/dist/components/smoothly-display-json-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.js +1 -1
- package/dist/components/smoothly-display.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-toggle.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-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +29 -29
- 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-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 +132 -146
- package/dist/esm/smoothly-app_103.entry.js.map +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +1 -1
- package/dist/smoothly/{p-9f86e4b0.entry.js → p-68d9c9fc.entry.js} +2 -2
- package/dist/smoothly/{p-fc228f69.entry.js → p-6b174729.entry.js} +2 -2
- package/dist/smoothly/p-d372621a.entry.js +2 -0
- package/dist/smoothly/p-d372621a.entry.js.map +1 -0
- package/dist/smoothly/{p-46c1e8ff.entry.js → p-eb9ae48f.entry.js} +2 -2
- package/dist/smoothly/p-ef387b27.entry.js +2 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/input/date/index.d.ts +1 -1
- package/dist/types/components/input/date/range/index.d.ts +1 -1
- package/dist/types/components/input/date/text/DateFormat.d.ts +2 -2
- package/dist/types/components/input/date/text/index.d.ts +1 -1
- package/dist/types/components/summary/index.d.ts +0 -6
- package/dist/types/components.d.ts +3 -9
- package/package.json +1 -1
- package/dist/components/p-00ad1280.js +0 -237
- package/dist/components/p-00ad1280.js.map +0 -1
- package/dist/components/p-0b9a28d6.js.map +0 -1
- package/dist/components/p-11266f72.js.map +0 -1
- package/dist/components/p-3ebeceb2.js.map +0 -1
- package/dist/components/p-48dfd0db.js +0 -123
- package/dist/components/p-4bcace13.js.map +0 -1
- package/dist/components/p-4edacf2e.js.map +0 -1
- package/dist/components/p-548de2b3.js +0 -45
- package/dist/components/p-74243da6.js.map +0 -1
- package/dist/components/p-a94971c4.js.map +0 -1
- package/dist/components/p-aade6a8f.js +0 -175
- package/dist/components/p-c6b15579.js +0 -67
- package/dist/components/p-c6b15579.js.map +0 -1
- package/dist/components/p-d1526680.js.map +0 -1
- package/dist/components/p-e2129765.js +0 -264
- package/dist/smoothly/p-48a96187.entry.js +0 -2
- package/dist/smoothly/p-48a96187.entry.js.map +0 -1
- package/dist/smoothly/p-8ba488d5.entry.js +0 -2
- /package/dist/smoothly/{p-9f86e4b0.entry.js.map → p-68d9c9fc.entry.js.map} +0 -0
- /package/dist/smoothly/{p-fc228f69.entry.js.map → p-6b174729.entry.js.map} +0 -0
- /package/dist/smoothly/{p-46c1e8ff.entry.js.map → p-eb9ae48f.entry.js.map} +0 -0
- /package/dist/smoothly/{p-8ba488d5.entry.js.map → p-ef387b27.entry.js.map} +0 -0
|
@@ -7,14 +7,14 @@ export class SmoothlyInputDemo {
|
|
|
7
7
|
this.alphanumeric = "!@##";
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '7f574c5c82806c7ee00a06c793b883984cf6a317' }, h("smoothly-input-demo-standard", { key: '7776c856dfbc7795c37b12f4e1ccff9a58a53f02' }), h("smoothly-input-date-demo", { key: '8695fac1f681495d23a203f0c1e658369a5208e5' }), h("smoothly-input-demo-user-input", { key: 'a6b2084ab3bb40d10b12807cbfa18ec4aa8c80a5' }), h("div", { key: '50487efa2c862624ce4738c461878b38efcbb8f9', class: "inputs" }, h("h2", { key: '48456a442136dcf27f068d619a4648f21231d4df' }, "Calendar"), h("smoothly-input-date", { key: '4ea9c301b995bd9ba221deec879a46c4fca68b5b', name: "some-date" }, "Calendar"), h("smoothly-input-date-time", { key: '0e87054e90eba9ac97cdcd48cdc2094deb765efb', name: "someDateTime", value: isoly.DateTime.now() }, "DateTime"), h("h2", { key: 'c7967bf8213f8e987ee1350ac4b86bbddd4794bf' }, "Date Range"), h("smoothly-input-date-range", { key: 'c5aee42f2de2c7da2b95e724e4e545e5459f7ca6', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-01", max: "2025-01-31" }), h("smoothly-input-date-range", { key: '1371f956391aa79369174d3bfc22bdb5ee5cf996', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2024-12-30" }, h("smoothly-input-reset", { key: 'd1b12734f006eaf59d8543c0578539f67245e0f7', slot: "end", size: "icon" })), h("smoothly-input-date-range", { key: '23306a5a8f414e14691e9fa39c9282dfc6ae3d1d', looks: "grid", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
11
11
|
"--smoothly-input-border-radius": "0.5rem",
|
|
12
|
-
} }, h("smoothly-input-clear", { key: '
|
|
12
|
+
} }, h("smoothly-input-clear", { key: '1774cefd3304bfa5c283a10cc44d85f6fe1eacc2', slot: "end", size: "icon" })), h("h2", { key: '7dc7b7271a81cd121f10fa61e28e88eaa037af3e' }, "Date"), h("smoothly-input-date", { key: '17b588159bde4dfbf0146ac942fa235d8d998688' }, "Date"), h("smoothly-input-date", { key: 'b9445869f64033bac130b0b0dca501752610af95', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), h("smoothly-input-date", { key: 'f34cd3598997c242ddb6b76698f7f821a601674e', value: "2021-10-28" }, "Date", h("smoothly-input-reset", { key: 'a46fc2210b837bebdc3cc7a27b07067e0a679476', slot: "end", size: "icon" })), h("smoothly-input-date", { key: 'a3811bb817fbdf3d28474494b8a7dffd71fac67a', value: "2021-10-28" }, "Date", h("smoothly-input-clear", { key: '0499c2a7c5434ed716ad1ef87c2786609d94e97e', slot: "end", size: "icon" })), h("h2", { key: '683a2678f46ad1989cc4dd2edef990430beb547c' }, "Select"), h("div", { key: '682acef1f140100dd2e985b6899b89e4914e771e', class: "select-div" }, h("smoothly-input-select", { key: '2e38d749bf959df4d3ced73e8e9d59b8e3d38a4e', name: "select-dessert", looks: "border" }, h("label", { key: '01432777fc4d5bbdde9c83e24015513b6c14016f', slot: "label" }, "Select with clear button"), h("smoothly-item", { key: '0f53eaac56e52386945622443068d6769f57b382', value: "1" }, "Ice cream"), h("smoothly-item", { key: '4ad0fee8dade01fd46c1c97397bebb9183385562', value: "2" }, "Sponge cake"), h("smoothly-item", { key: '67fb0107c5cd4294725f6a8399f5c93d589ee717', value: "3", disabled: true }, "Disabled Item"), h("smoothly-item", { key: '422b942a8306f00eb5cff7ef79d81ecf57033291', value: "4" }, "Cookie"), h("smoothly-item", { key: 'c77baa484e234d42d66c0e2a436f5ecdd7510b33', value: "5" }, "Croissant"), h("smoothly-item", { key: '36f84fdd871d2b8b7b89df7da54d07883c052282', value: "6" }, "Chocolate fondue"), h("smoothly-input-clear", { key: '1b6ab234c1c7c58bb065165373947f922ba466b4', size: "icon", slot: "end" })), h("smoothly-input-select", { key: 'cc2452592ab8c6b99b9630f9e464128c4a464350', multiple: true, name: "select-dessert-multiple", looks: "border" }, h("label", { key: '9172fbe566574d3a6376d69dec7a5d6b50834633', slot: "label" }, "Select multiple with reset button"), h("smoothly-item", { key: '75f90ab0248783d98e5fabdbcca908da69b1af21', value: "ice cream" }, "Ice cream"), h("smoothly-item", { key: '91adf3c9485a41aed6a5acb6edad6a76c91e13b3', value: "sponge cake" }, "Sponge cake"), h("smoothly-item", { key: '3dc66017de31e85c8d9ea8a5127a1cb2b7760071', selected: true, value: "cookie" }, "Cookie"), h("smoothly-item", { key: '733bd688bde445381df687fd17fb0d8a0ed8bf3b', value: "croissant" }, "Croissant"), h("smoothly-item", { key: '1425d34d36caa1cb8bc15307110b4c5dfda7c2d1', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), h("smoothly-input-reset", { key: '5ac44d62a99fa114f404edc847b645305f4ea42d', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '79fb109059a58e0f50f525f4437639c621b83b06', name: "spirit-animals", looks: "border", mutable: true }, h("label", { key: '33400cbca7257a35b9c931e046c51c18e50c9b55', slot: "label" }, "Select or add new options"), h("smoothly-item", { key: '0b394b9204545e7fe0ea938127c6cb625eaa919e', value: "manatee" }, "Manatee"), h("smoothly-item", { key: '8643b17c6b78739ce7c41737fd7ee764f4933c0d', selected: true, value: "cthulu" }, "Cthulu")), h("smoothly-input-select", { key: '1c6f7c00f1c21a3be1a8390a28306a5720982eae', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: 'b07f756a35e549b77e50be75f3a5e2fafc2b3099', value: "folder", selected: true }, h("smoothly-icon", { key: 'c50555d5282480fd507d55311bbfe0723dd03d53', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '6fa0811cc61e90332301cefcb2688ff27e31019a', value: "camera" }, h("smoothly-icon", { key: 'ab64f6988bb978556353d6d0097617d526ac304c', size: "small", name: "camera-outline" }))), h("smoothly-input-select", { key: '7a844e5cf695497cc30429d3e0bfb51cf30017ce', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: '3b319069eb3dd5c5c7270acf6e16b5a3b7655dbf', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
13
13
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
14
|
-
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '
|
|
14
|
+
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '24aa969e8e2608189b3c443e09ef3fa98c9feedd', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: '9c9c9e0d707a6f96fcba1b686873a9010be75a7d', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '0b6387482d71923df9e0b9d717d3ba88d8c98bd1', value: "1" }, "January"), h("smoothly-item", { key: '0947d179f35c567b557bda9dad655a8e25f6dd25', value: "2" }, "February"), h("smoothly-item", { key: '38daf41ad88e97e0852f296df2e5489948fce0f8', value: "3" }, "March"), h("smoothly-item", { key: '9ff729a187a5df043428043439a5f09ecc7260a4', value: "4" }, "April"), h("smoothly-item", { key: '71719ee81658c4897712459e3165accde7765bb8', value: "5" }, "May"), h("smoothly-item", { key: '7e917da27127b438a7de7d3c8e0aa3dce4eb2d72', value: "6" }, "June"), h("smoothly-item", { key: 'b70be51c019bf2f8dcf3e9e06168ac024b0a1c0b', value: "7" }, "July"), h("smoothly-item", { key: '32b97c0167a10cee962e417018b829723671ad50', value: "8" }, "August"), h("smoothly-item", { key: 'd54ca3fbb8cc3e1d68f9f68b9dbd4d432473e920', value: "9" }, "September"), h("smoothly-item", { key: 'd2209e23a9b8db4ea2281421dc108b177e1c04a7', value: "10" }, "October"), h("smoothly-item", { key: '73621556ac499b85857df738fc3bf1850cd4f964', value: "11" }, "November"), h("smoothly-item", { key: 'c6793237c76e6a26e374198ba2bdcdf9e8643251', value: "12" }, "December")), h("div", { key: '099d5c7456bc5836d7f0f2a840eb70ae81237f5a', class: "select-div-row" }, h("smoothly-input-select", { key: '804cf7f085aef7513ef3b76057af284dabab699c', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '830e7259b185f6f5e4df5f31545063549c2a69b2', value: "folder", selected: true }, h("smoothly-icon", { key: 'abe9cdf7e8096b1b317bb6c62a9b274271479391', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '01607bfabfaa6df288dfd242c90e41af8e4fe5b2', value: "camera" }, h("smoothly-icon", { key: '71481f1e468a8e3dde815421f18ec6ee94ed7384', size: "small", name: "camera-outline" })), h("smoothly-item", { key: 'a059b96cdc6c6d7df8ca5185b81d53680c635b22', value: "boat" }, h("smoothly-icon", { key: 'ebe1246148aa4df73a62461f885e4b846e502836', size: "small", name: "boat-outline" }))), h("smoothly-input-select", { key: '3eed3dc23316f18ab61b20a17ef3a602b8ebe7f2', name: "select-number", clearable: false }, this.numbers.map(number => (h("smoothly-item", { value: "number", selected: number === 3 }, number)))), h("smoothly-input", { key: 'bcfcc36500f746e17649c9ad9a553b88dc0823dc', name: "name", value: "Sten Qvist" }, "Name"))), h("h2", { key: '041402c92d6c43264d811dccc9b8ab6004a42792' }, "Duration"), h("smoothly-input", { key: '451397df5c93c9bc71b5a13aa5a3d40e6e7dd42f', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), h("smoothly-input", { key: '6fb8b8e8ea5b94a5fbdcca74b3852b75ef477a7c', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
15
15
|
const duration = e.detail.duration;
|
|
16
16
|
this.duration = duration;
|
|
17
|
-
} }, "Duration"), h("h2", { key: '
|
|
17
|
+
} }, "Duration"), h("h2", { key: 'a47dea26355bddf40255f0a88f72381b15b6fd39' }, "Integer with Min/Max"), h("smoothly-input", { key: '5708f669787dcfbe8fc18cd20ce1f43903331b3f', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), h("smoothly-input", { key: 'ba607eca48fd5d5c54da40c56f58f88b429a11c9', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), h("smoothly-input", { key: '3899120a4588724eb5486c713e6b3592f9490106', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), h("smoothly-input", { key: 'a83a35c1ddabdfe8338e5daa270642cd9a00cd7a', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), h("h2", { key: '69838545fe489b84e54394656f3fec9993214768' }, "Invalid text with warning icon and tooltip"), h("smoothly-input", { key: '2579f64feccd3ac373562867d7fc6c3a2fdc75b4', copyable: true, name: "alphanumeric", invalid: !/^[a-zA-Z0-9]+$/.test(this.alphanumeric), errorMessage: "Only alphanumeric allowed", value: this.alphanumeric, onSmoothlyInput: e => (this.alphanumeric = e.detail.alphanumeric) }, "Alphanumeric"), h("h2", { key: 'd55229c36af45dbeab240431c674fd1fee27b49c' }, "Identifiers"), h("smoothly-input", { key: 'd7abf3ed7f1d633e0ba5abe6673a6e634a896738', type: "identifier-code" }, "Code"), h("smoothly-input", { key: '8d600bc128529a9a6091fa18f0bea9bed1a74d7a', type: "identifier-attribute" }, "Attribute"), h("smoothly-input", { key: '85a4a2f01be2b3fd39014833fd495958866838da', type: "identifier-snake" }, "Snake"), h("smoothly-input", { key: '035f5f628c25f3d0398c9e8dc10390e5dacc0024', type: "identifier-pascal" }, "Pascal"), h("smoothly-input", { key: '673f91b6cae1ba8b04b496e20e58d1a4d1c92965', type: "identifier-camel" }, "Camel"), h("h2", { key: '85a4af61aca5745d0125fb8305a8f640c0b5cdf1' }, "Input Alternatives"), h("smoothly-input", { key: 'e4b05f18bb44d4c7b9fdcef83551d9f8c591274b', type: "text", name: "name.last" }, h("smoothly-icon", { key: '2bdcd29f5ae945c37f5a7bb6e5587759bc567351', name: "checkmark-circle", slot: "start" }), "First Name"), h("smoothly-input", { key: '7b17f499a2061624e34fe89fb81d6cfbed54ccd6', type: "text", name: "name.first" }, "Last Name", h("smoothly-icon", { key: '58041447b7edc6ee18d0f4752c7efaf6767ad2af', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: '70d890653d67ad30256b754bdbe3ffd0a5699044', type: "text", name: "name.first", placeholder: "Smith" }, "Last Name", h("smoothly-icon", { key: 'a1836734b16b3cccdbc0af9b0d894ed478d45e0d', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: '6c2a657437514116b1ae60210b289004b2e6a956', placeholder: "test" }), h("smoothly-input-submit", { key: '8e686ba1a74b8f9d85cc6778a314c793946d248e', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), h("h4", { key: 'a5b71808338b0ae5f06806bcd97142581a2a11f9' }, "Smoothly checkboxes"), h("div", { key: '309b348a380979cd64fdab4a66fd302a48b12b6f', class: "checkbox-group" }, h("smoothly-input-checkbox", { key: 'efcc143919480eb5901b12800f01ea4847a2df14', disabled: true, name: "first-checkbox" }, h("smoothly-icon", { key: 'a8835c00691583079ff65b59f750f59d470538c1', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), h("smoothly-input-checkbox", { key: 'fefb3a5f492b1d39993ca89fc265b9312d0a75cb', name: "second-checkbox", checked: true }, h("smoothly-icon", { key: '916895ae8d167ad667109ea5a94ce72131e03cb6', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", h("smoothly-input-clear", { key: '26f2c7dccea2f4eb93fe8c82bd9291b2bc139c19', size: "icon", slot: "end" })), h("smoothly-input-checkbox", { key: '5c71f635dd09d730ba6048bbc4bdf3d40de58a05', name: "third-checkbox" }, "3rd")), h("h4", { key: '24380ae0e1f791eef55523ae58f818286b1414cf' }, "Smoothly Radio Buttons"), h("smoothly-input-radio", { key: '376572dae3e2bb0dce2a68fe3503277a0681079b', clearable: true, name: "radioFirstInput" }, h("smoothly-icon", { key: '149759fd8c4d501ad96744e01701142face0d6c2', name: "checkmark-circle", slot: "start" }), h("label", { key: '2032d793fc1c94de9cb856c06c64d0b03e6f77cd', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '50ccd0ae9fb6dfab3a27b574f7bee10ec96089e8', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '2f52388467ff677b40de490648d2c07cc3ee3b30', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'b2dee0bfdd05ccfff9995011e5cef0663241a214', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '3d990b0e3d8e629f00970acf2c8d1e30a79e4966', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '9f56ea2525dd6bc4a6a889b170f49b79542dd590', name: "radioSecondInput" }, h("label", { key: 'dac6544a61c1f064360e5dd2b5520f63e2cc3938', slot: "label" }, "Not clearable"), h("smoothly-input-radio-item", { key: 'c4b32f24642b851f6b8da9c65df85df4294c598e', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'ca04462b6e8866f76edd48dcaac734b90f0a9b75', value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '6fa1b64cac9e953977a12687fa14a7218789f79c', value: "third" }, "Label 3"), h("smoothly-input-radio-item", { key: '4e32b3131c7becffb45d63a70926b8b0c2e1627f', value: "fourth" }, "Label 4"), h("smoothly-input-radio-item", { key: 'a841d0bf0bdde25c84b224e9d77fab3e7db2898c', value: "fifth" }, "Label 5"), h("smoothly-input-radio-item", { key: 'f5bf467213cdc73642fcfd2278ee8b963c1c1bc7', value: "sixth" }, "Label 6")), h("smoothly-input-range-demo", { key: '7c617d877ef45d0bd9a58066d3d185ae008f2eef' }), h("smoothly-input-color-demo", { key: 'ea9a64faece9ecf51e9d0f8e798f78d92e0590c3' }), h("smoothly-input-price-demo", { key: 'cc124983e4ca6aea3b925e2b229fcaac03565501' }), h("smoothly-back-to-top", { key: 'b01d5285d4fbf07edc5e955faa214f1fd40fd5d1' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-input-demo"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -6,7 +6,7 @@ export class SmoothlyInputPriceDemo {
|
|
|
6
6
|
this.currency = "USD";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '671d9e1e09c36db8094dfe6f1ab4dd682b28fe73' }, h("h2", { key: '85a013c5fe711cc2a9dc759707a4e3880530377a' }, "State demo on smoothly-input"), h("p", { key: '57296c7eb9eacc94aee6802d6808181af5d4190a' }, "This demo/test the internal state of the smoothly-input component."), h("p", { key: 'b41379a50dd8e97d98a5eebc38694e04d192414c' }, "The currency of the price should update when switching between the currencies."), h("smoothly-input-radio", { key: '3fc4076c53a6a0571f5375974d8b7e9b2bfb4414', name: "currency", onSmoothlyInput: e => (this.currency = isoly.Currency.is(e.detail.currency) ? e.detail.currency : undefined) }, this.currencies.map(currency => (h("smoothly-input-radio-item", { key: currency, selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '390be92c6e43aeaa2d5072b43539041ea794d51b', type: "price", currency: this.currency }, "price")));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "smoothly-input-price-demo"; }
|
|
12
12
|
static get encapsulation() { return "scoped"; }
|
|
@@ -20,7 +20,7 @@ export class SmoothlyInputDemoStandard {
|
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '0d47a2dd423a8bcdd889139f74ef2ec375d0ea97' }, h("div", { key: 'a884b4c59f663f8c47aa9e3736e6a82235e9d276', class: "description" }, h("h2", { key: '7c0b8da3728fd79d203de1895c6ae146e1eb8aef' }, "Input Standard"), h("p", { key: '10fe94edd162dd158388508c2470359447e6da57' }, "Height of input should be ", h("code", { key: 'dffd62a251af68595f7c5659a2251ada08999b63' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), h("smoothly-form", { key: '3f8c09fbdce4b808a430cf7266d40d25a596803d', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, h("smoothly-input-select", { key: '563356600a698bf3c974a61b79520aa8f77c249f', name: "color" }, h("span", { key: 'e12af511b6921b2d9f7d50b45fdbe3d5b34f6817', slot: "label" }, "Color"), Color.values.map(c => (h("smoothly-item", { value: c }, h("span", { color: c }, c)))), h("smoothly-input-clear", { key: '23c642ae01bb6d0f7aaf653c027eb255ee38d90a', slot: "end" })), h("smoothly-input-select", { key: 'fa106dd22e247954860c217692ca37a24fe4f772', name: "looks" }, h("span", { key: 'c42065aac1f357b670cf2a99bb8be554fb314cd9', slot: "label" }, "Looks"), Looks.values.map(l => (h("smoothly-item", { value: l }, l)))), h("smoothly-input-range", { key: 'c3b585f898718c9f81ef15c1469eccf08988c00e', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), h("smoothly-input-checkbox", { key: '8fab112575cb1c02c2019022cee83e5e5e65a9c6', name: "readonly" }, "Readonly"), h("smoothly-input-checkbox", { key: 'c34401c8b28faa79a139869c0766e8f8af357ca8', name: "disabled" }, "Disabled"), h("smoothly-input-checkbox", { key: '672b5bc96fa9e6886c90b5e8354d7dea8c916270', name: "invalid" }, "Invalid"), h("smoothly-input", { key: 'c395fd3b7ca8d1243cd9e9ea4e006f1fd7ef1a27', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), h("smoothly-input-checkbox", { key: '121d1a50813987b2aeac50afe73e40c6a7c4fb8b', name: "showLabel", checked: true }, "Show Label"), h("smoothly-input", { key: '265ce4b0e44c8fda1b3188929eb5901e1658bfd5', name: "placeholder" }, "Placeholder"), h("smoothly-input-checkbox", { key: '1eafaaaa6696f9f1d696742869d10aba19c2f0c9', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), h("div", { key: 'f6a5d34435c177c5dc64c31632dc7a1e65f3e270', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, h("div", { key: 'c4d82ee52f0d44015df7eb734c98aa41f7c92827', class: "width" }, "width: 100%"), h("div", { key: '2ae68895caf503ba92049a32d0054439f069123b', class: "left-padding" }, "padding-left: 0.5rem"), h("smoothly-input", { key: 'f5f4ee65ccf3180d2f9181fbc258c79e916e14ee', name: "text", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel, placeholder: this.options.placeholder }, this.options.showLabel && h("span", { key: 'bf32f13cfbfa88add92692bf9ee02b836eeea2be' }, "Text"), h("smoothly-input-clear", { key: '26639066ab906f755f7a42e154b1954f1f34f19d', slot: "end" })), h("div", { key: 'de01a46f39aa6f331c5edf54208a6f9f726337e3', class: "height" }), h("smoothly-input-select", { key: 'abb4be407f4b7ed51d5f796bdfce3b2b56c468a4', name: "month", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, placeholder: this.options.placeholder }, this.options.showLabel && h("label", { key: '49f71dbb091094f79927778d18a0a58e70689f42', slot: "label" }, "Select"), h("smoothly-item", { key: '4b0e9cb4ce233c50a42fe249a3aef5648dc62558', value: "1" }, "January"), h("smoothly-item", { key: '38380b0f13ddeb83e2e19e0ac645dcdbacf6c4df', value: "2" }, "February"), h("smoothly-item", { key: '4f65be9a949261542191e3b484ad646e17f04987', value: "3" }, "March"), h("smoothly-item", { key: 'b6e9be5fbe31a12865717daddcd1a4039c942205', value: "4" }, "April"), h("smoothly-item", { key: '6c867101a115315e30bcf525d3fde4a8e49a5719', value: "5" }, "May"), h("smoothly-item", { key: 'ba4792a24e862aed054b356a444f9b791add16b1', value: "6" }, "June"), h("smoothly-item", { key: '9cc3a21ed384c2e2415311770925458dc13ac8d1', value: "7" }, "July"), h("smoothly-item", { key: '53cf8809b4dbc8256448b5c08a9d07f274e365a3', value: "8" }, "August"), h("smoothly-item", { key: '47a43966214064dab4d321cf9116b5cd87409dd3', value: "9" }, "September"), h("smoothly-item", { key: 'c71ceab27a3f86a5c2a27dc251b18f119f5ac623', value: "10" }, "October"), h("smoothly-item", { key: '7e824138f3b0b28a414465d69bb71c4d6786c3b5', value: "11" }, "November"), h("smoothly-item", { key: 'e7813efea82efe4cd4a8bfa54a7a55b21f53fa48', value: "12" }, "December"), h("smoothly-input-clear", { key: '7072ef8f9ac5b9a3028cbd2962560fc315f3d58b', slot: "end" })), h("div", { key: '3a1c4b4c2834bbb4921e330a77fe477c4741f181', class: "height" }), h("smoothly-input-checkbox", { key: '50499f2f1a4258a56caeb2266da17a9e881c7993', name: "checkbox", checked: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled }, "Check", h("smoothly-input-reset", { key: '550d44f73f1ae07461d73f66febd5138867e8247', slot: "end" })), h("div", { key: 'acb1b0eaab732df76e2c586e8f56ee6c81fbdd87', class: "height" }), h("smoothly-input-radio", { key: 'ec7f8b66f806e63a09320e2ebfcda71be001cd3b', name: "radio", clearable: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel }, this.options.showLabel && h("label", { key: '00de1fcac1f811970b3f1154d6286dc7bd6036d8', slot: "label" }, "Radio"), h("smoothly-input-radio-item", { key: '35ea9212aa0f8eec4a96dedc406b428f58b848e6', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: 'db11c348c12a468a854c53c5f5f692ae7dcbaeb1', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '65707145740b173f4379c6bf5706a962a91bb021', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '883be5fef36a7e6fb16c57b30fcad312f1f25a6b', slot: "end" })), h("div", { key: '2cd8b1bb4ac90fd34732d2bfc34116bcc8429045', class: "height" }), h("smoothly-input-file", { key: '87739b41a33b7be135c5b3ed02648e702ac386ca', name: "file", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel, placeholder: this.options.placeholder }, this.options.showLabel && h("span", { key: '0d10524c66e0625ec86431a8c19dcedf83f47eac', slot: "label" }, "File"), h("smoothly-input-clear", { key: 'a95f256a28cf294430040b6c6028921f0c620c8d', slot: "end" })), h("div", { key: '48650848e22a86ca8aa7501e09fbd8c5f0ce83ea', class: "height" }), h("smoothly-input-range", { key: 'b1e96735886d8e3e4b451ed17fa11ecada3e2302', name: "range", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, label: this.options.showLabel ? "Range" : undefined }, h("smoothly-input-clear", { key: 'ab7f71a498ce9404aacc63f0273bd3b715ddf12c', slot: "end" })), h("div", { key: '0ff2870912f9ae2e2b41ba9d982c906124ef2641', class: "height" }), h("smoothly-input-color", { key: 'fa4d779da5bfaea1e9644e721d9f6c4249949407', name: "color", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '63674017888873443dc7b744114dae7996e79c52' }, "Color"), h("smoothly-input-clear", { key: '6344ad242592e19365961e80cc0814023eaa7dc2', slot: "end" })), h("div", { key: '16e0b71b1b6b1ee68813e3827b96bffe5ec63ef7', class: "height" }), h("smoothly-input-date", { key: '8ed46719b1c1e9a9085bd5decb2f0b76fda17e08', name: "date", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, showLabel: this.options.showLabel, placeholder: this.options.placeholder, alwaysShowGuide: this.options.alwaysShowGuide }, this.options.showLabel && h("span", { key: 'c268eeb0f99af102c6e1dc62b3d4a2ef01fb0982' }, "Date"), h("smoothly-input-clear", { key: '828d7b0e5719ee2c8e8ef5e431f19061dd1ade2b', slot: "end" })), h("div", { key: 'fe422ed5cc16bbb664f5dc190e59d05027b9ab6c', class: "height" }), h("smoothly-input-date-time", { key: 'f45a43382ca831e1755ef2d9ee3ff2529f52e092', name: "dateTime", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, errorMessage: this.options.errorMessage, showLabel: this.options.showLabel }, "DateTime", h("smoothly-input-clear", { key: '000c95f6c81a9c8f84c88e258804c190de62a085', slot: "end" })), h("div", { key: 'e203612e082b43846696f0e8f25ba1633c8a40c0', class: "height" }), h("smoothly-input-date-range", { key: '0a813285a0bb45af8a02e66bd7f336218ba2bf3f', name: "dateRange", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, invalid: this.options.invalid, placeholder: this.options.placeholder, alwaysShowGuide: this.options.alwaysShowGuide, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '8c4b143da14013a4e7869cc09ac125fd978ba652' }, "Date Range"), h("smoothly-input-clear", { key: '71942a3eb11884fd20b5dd66f93bfebfaaaa917e', slot: "end" })), h("div", { key: '6ddfef156eb2dcbb511742abe5e03f0dec1e78fa', class: "height" }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "smoothly-input-demo-standard"; }
|
|
26
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -19,11 +19,11 @@ export class SmoothlyInputDemoUserInput {
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
var _a, _b;
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'e5373df530143e9be043fef3040f0c28e4e6befd' }, h("div", { key: 'e43682af956adff7d7717bc0460eed3b1bb95d84' }, h("h2", { key: '4332098a4a62650fee3ff36df29bbab86ece7e9d' }, "User Input Event"), h("p", { key: 'b20f95a50866658227c61b92cd110ec481da9aea' }, "These inputs demonstrate how user input is handled. The ", h("code", { key: 'd7966a4bf162c151d82b4202e72cd090eaf54ea0' }, "smoothlyUserInput"), " event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).", h("br", { key: 'c491689d80addd8399ee02ab7cfc6c14f599bb85' }), "Check the console to see the details of each ", h("code", { key: '919ebbf26937841a5396d0d8b1f7d56a268ac292' }, "smoothlyUserInput"), " event.")), h("smoothly-button", { key: '241df770721275520a479cac831b972062cf0fce', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), h("smoothly-input", { key: '1c8afb64233081bd049d91a0dd0e8071aad85856', looks: "border", name: "demo-user-input-text", value: this.textIndex === undefined ? "" : this.values[this.textIndex], onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Text input"), h("smoothly-button", { key: '5fe334fb6629980fec2ee42d22df173f86b9bec2', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), h("smoothly-input-select", { key: '0972c18426ec3adf17de6b187c582d875de17c75', looks: "border", name: "demo-user-input-select", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '0e6d5f9596b71bae1f548aaf3cc830e9327dda05', slot: "label" }, "Select input"), this.values.map((value, index) => (h("smoothly-item", { value: index, selected: index == this.selectIndex }, value)))), h("smoothly-button", { key: '66f5d072734363f0457f38252105272c643354ce', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), h("smoothly-input-checkbox", { key: '37bb578799dfb2de20c6ed9c26214acc5a4b3c0b', looks: "border", name: "demo-user-input-checkbox", checked: this.checkboxChecked, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Checkbox input"), h("smoothly-button", { key: 'a70017b8ad95581ec4361d96350f809942b61d93', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), h("smoothly-input-radio", { key: '07558d4cbc286b03af94f0cc93718f35a93a73f6', looks: "border", name: "demo-user-input-radio", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, h("span", { key: '1e6fa16c98dbf64e75d4527a5619a37d30631801', slot: "label" }, "Radio input"), this.values.map((value, index) => (h("smoothly-input-radio-item", { value: value, selected: index == this.radioIndex }, value)))), h("smoothly-button", { key: 'd3d7581a7c25ce7a7add6cc0f318bb738fbfcf56', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), h("smoothly-input-range", { key: 'cf1ad804353d6cecc2a92f1c919f0814ddc90293', looks: "border", name: "demo-user-input-range", step: 1, min: 0, max: this.values.length, value: this.rangeValue, label: "Range Input", onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }), h("smoothly-button", { key: 'ac4215b8764d794d7b2b502e8978eeb066bb482b', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), h("smoothly-input-color", { key: 'b0f18cbf601c7a7e1b105b6ade6b7738e735c1af', looks: "border", name: "demo-user-input-color", value: typeof this.colorIndex == "number" ? this.colors[this.colorIndex] : undefined, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Color input"), h("smoothly-button", { key: '353846f23973a62890ca228fce9434606c351eab', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? isoly.Date.next(this.dateValue) : isoly.Date.now()) }, "Next day"), h("smoothly-input-date", { key: 'e4e466950e474177dfd57b95741256ece59aeba7', looks: "border", name: "demo-user-input-date", value: this.dateValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date input"), h("smoothly-button", { key: 'e39a9742e3c896ed0b8083b0cb12694971c2f7b3', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
|
|
23
23
|
? isoly.DateTime.nextDay(this.datetimeValue)
|
|
24
|
-
: isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: '
|
|
24
|
+
: isoly.DateTime.now()) }, "Next date time"), h("smoothly-input-date-time", { key: '91d54581db356cfcfc093286eb125502398315bd', looks: "border", name: "demo-user-input-datetime", value: this.datetimeValue, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date time input"), h("smoothly-button", { key: '1bfc78adefad21783c035335cf764bdb92c537e4', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
|
|
25
25
|
? { start: isoly.Date.next(this.dateRangeValue.start), end: isoly.Date.next(this.dateRangeValue.end) }
|
|
26
|
-
: { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '
|
|
26
|
+
: { start: isoly.Date.now(), end: isoly.Date.next(isoly.Date.now(), 10) }) }, "Next date range"), h("smoothly-input-date-range", { key: '78f36ca1d6a278db6d7bd4644689331be84c488a', looks: "border", name: "demo-user-input-daterange", start: (_a = this.dateRangeValue) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.dateRangeValue) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyUserInput: e => console.debug(e.type, e.detail.name, e.detail.value) }, "Date range input")));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "smoothly-input-demo-user-input"; }
|
|
29
29
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,7 +28,7 @@ export class SmoothlyInputEdit {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '9413c465eefd77797e42c791530e44dff3846f28', title: this.tooltip }, h("smoothly-button", { key: '6671fd2c91156be7d9a584e1a99f5b8b4f32eb1e', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: 'acaa5562e2b97fb0bf0f774fda77efdb33ba66cc' }), h("smoothly-icon", { key: '8defa183091cea2766970860a93f9005085e7325', class: "default", name: "create-outline", size: "tiny" }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "smoothly-input-edit"; }
|
|
34
34
|
static get encapsulation() { return "scoped"; }
|
|
@@ -111,7 +111,7 @@ export class SmoothlyInputFile {
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
var _a, _b, _c;
|
|
114
|
-
return (h(Host, { key: '
|
|
114
|
+
return (h(Host, { key: '8f0c65d2c9ed0950c1c5115f615f6d66e1242165', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: this.disabled ? undefined : 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: 'c03b59a35dbef07d3f0c4e0d58aecdd963fb499c' }, h("slot", { key: '75a815e3f443bb3e6c8e0aa81c30b68f9cddc9ce', name: "label" })), h("div", { key: '2e7c8f558cd1d344b1659ef2fde701dd612f3b53', class: "input" }, h("smoothly-button", { key: '8382da9351a2d57dfa17ff0a399066b1f645c5d8', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: '6e8366cbb446f9f5be138978711f7172f18d0005', name: "button" })), h("span", { key: '8b64bdf48fb8f8cf552e1d000c18e3e415826056' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '26d26451e82bdb71ac7be890f308363dddd8a73e', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: 'da2cb7bc7b9e481dd0edf6730adc4a9d26409167', name: "document-attach-outline" })), h("input", { key: 'd19b4581fb2070dc0baa3ae6c9da9d3a5ca288d5', onFocus: () => console.log("focus file input!"), ref: element => (this.input = element), type: "file", disabled: this.disabled, capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("span", { key: '8f4442060ca91b9d3ce769f71999031b9858aaaf', onClick: (e) => e.stopPropagation() }, h("slot", { key: '7fb47acfd5d5c4ae68b309d5302564cf757100a6', name: "end" }))));
|
|
115
115
|
}
|
|
116
116
|
static get is() { return "smoothly-input-file"; }
|
|
117
117
|
static get encapsulation() { return "scoped"; }
|
|
@@ -144,7 +144,7 @@ export class SmoothlyInput {
|
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
146
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
147
|
-
return (h(Host, { key: '
|
|
147
|
+
return (h(Host, { key: '6d20a9bb70a342e7a09879e61fd826448747fb34', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("slot", { key: 'aaaa87666cf2c318eb0cf5a8a2b8df897b2f5d3d', name: "start" }), h("div", { key: 'ffa189d0c2312eede65a0ba0adb10e189a59d91c', class: "smoothly-input-container" }, h("div", { key: 'b968632b22fa137d485a6410f9a082c581eb0941', class: "guide" }, h("div", { key: '395d499fbfab5a9dd4ba70f28ab3790e5a1d2201', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), h("div", { key: 'f78c326ffeebf0b9be35f46506a34384c207ea33', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), h("input", { key: 'be43d339ea279eee0067fb3d016a72504cd10730', ref: (el) => (this.inputElement = el), color: this.color, name: this.name, type: (_e = this.state) === null || _e === void 0 ? void 0 : _e.type, inputmode: (_f = this.state) === null || _f === void 0 ? void 0 : _f.inputmode, placeholder: this.placeholder, required: this.required, autocomplete: (_g = this.autocomplete) !== null && _g !== void 0 ? _g : (_h = this.state) === null || _h === void 0 ? void 0 : _h.autocomplete, disabled: this.disabled, readOnly: this.readonly, pattern: ((_j = this.state) === null || _j === void 0 ? void 0 : _j.pattern) && ((_k = this.state) === null || _k === void 0 ? void 0 : _k.pattern.source), onKeyDown: async (event) => {
|
|
148
148
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
149
149
|
if (!this.readonly && !this.disabled)
|
|
150
150
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -159,7 +159,7 @@ export class SmoothlyInput {
|
|
|
159
159
|
this.smoothlyUserInput.emit({ name: this.name, value: this.stateHandler.getValue(this.state) });
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
} }), h("label", { key: '
|
|
162
|
+
} }), h("label", { key: '7cb7865c02d3017807a09caffb2b6f551e4b01cc', class: "label float-on-focus", htmlFor: this.name }, h("slot", { key: '4ff4e42a697e5b8f5b1963a73e3b1e54f654f673' }))), this.copyable && this.value && (h("span", { key: '8395817fc60a71dc6c2b74cd2b42e5a765841448', class: "copyable" }, h("small", { key: '899bc49fe53abd066d154d02c46d21bd6a0379da' }, this.copied ? "Copied!" : "Copy"), h("smoothly-icon", { key: '5b110c5522cc03f8e944b505197bf9eb83139fc6', name: "copy-outline", size: "small", onClick: () => this.copyText(this.value), onMouseLeave: () => (this.copied = false) }))), h("smoothly-icon", { key: 'd8b2c4248adce0440568e9fd44c712377565e7f5', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", tooltip: this.errorMessage }), h("slot", { key: '8a3a7f7704b9073b8b9e4b82ddb20cf28730b7c8', name: "end" })));
|
|
163
163
|
}
|
|
164
164
|
static get is() { return "smoothly-input"; }
|
|
165
165
|
static get encapsulation() { return "scoped"; }
|
|
@@ -109,21 +109,21 @@ export class SmoothlyInputMonth {
|
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
111
|
var _a, _b;
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: 'a19d91c6e7a3418e4cc6645072227e24660a1055' }, h("smoothly-icon", { key: 'f49eef91fe444f2b2c46602239ffb720b463498a', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
113
113
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
114
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
114
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '63b194505c76cb794711fd50d6129c9037388687', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
115
115
|
const month = e.detail.value;
|
|
116
116
|
if (month && isoly.Date.is(month)) {
|
|
117
117
|
const value = isoly.Date.firstOfMonth(month);
|
|
118
118
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
119
119
|
}
|
|
120
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
120
|
+
}, searchDisabled: true }, h("div", { key: 'cb2f05a587d6dd8a54e0e9ef4e9b8d2da2956613', slot: "label" }, h("slot", { key: '25e30084d491b00bc0963c5d5675419f2a88ee02', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: '46bd63861b1facb4dfd7fd2dd0f4e7ade2a1535e', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), onSmoothlyUserInput: e => {
|
|
121
121
|
const year = e.detail.value;
|
|
122
122
|
if (year && isoly.Date.is(year)) {
|
|
123
123
|
const value = isoly.Date.firstOfMonth(year);
|
|
124
124
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
125
125
|
}
|
|
126
|
-
}, searchDisabled: true }, h("div", { key: '
|
|
126
|
+
}, searchDisabled: true }, h("div", { key: '7c9c95e399522fcadc86a7d56565ed24f83bd1dd', slot: "label" }, h("slot", { key: '8332af277b6a5c3e16a92487fa886dac4ba594dd', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: 'cd668eac7633d2d767387599488fe6bb7326b8f0', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: { disabled: this.readonly || !this.allowNextMonth }, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "smoothly-input-month"; }
|
|
129
129
|
static get encapsulation() { return "scoped"; }
|
|
@@ -27,7 +27,7 @@ export class SmoothlyInputRadioItem {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'df843e11d9c3363b27ceb3e4930e353072a8c537', onClick: () => this.inputHandler(true) }, h("input", { key: 'a38159efa771785ca314bdbce6569bcc05503089', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), h("smoothly-icon", { key: 'f3c5afda5328b233102ec346d05ba260dfe6cca3', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), h("label", { key: '80c90ca1625f26ec43f7e4fcdb3da585ee0e463e' }, h("slot", { key: 'af191ac240791505df6eb37658920f3564b71a42' }))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "smoothly-input-radio-item"; }
|
|
33
33
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputRangeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fe8877ae479bd8b4e8a530dbcdd2f8cac31170b2' }, h("h2", { key: 'd39ba6d14b8740a8d18fd3e62c51964a0079dfdd' }, "Range"), h("h3", { key: '1cde1d9dbda26b591f092ff6c1215a78c85668e3' }, "Phone Number"), h("smoothly-input-range", { key: '0df83246ce1c17510de342817b3e8371a405fd5f', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: '5aeaf74220d18db5d292b43316b862bb30e596fa' }, "Stars out of ten"), h("smoothly-input-range", { key: '9cf4138304c1bddf4f368c145129b85ac3c9fc98', max: 10, step: 1, label: "Stars" }), h("h3", { key: 'ec9ace4a4ca1da8e781839d7a7dc5808b4185c5a' }, "Percent"), h("smoothly-input-range", { key: '02512fb3b2a215c4ffe0cde5fbf79defe6bc431f', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: 'ff48ee90a6f0876d954fa97e55c100fdce94406f' }, "With icon at start and clear button"), h("smoothly-input-range", { key: 'f48778410e5ee8104c032220124a602bc3e84c7e', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: 'f08ec1e3e9621a87029901e2958a0d4221ab3e15', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '4b7382dc9c566fd1f94c080901e1949610fcb40e', size: "icon", slot: "end" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-range-demo"; }
|
|
7
7
|
}
|
|
@@ -95,18 +95,18 @@ export class SmoothlyInputRange {
|
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
97
|
var _a, _b, _c;
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '51d0d50c2260a8efef459a490a6d40576edf8904', class: {
|
|
99
99
|
"output-side-right": this.outputSide === "right",
|
|
100
100
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
101
|
-
} }, h("slot", { key: '
|
|
101
|
+
} }, h("slot", { key: 'b8115e4e8c82c45c95983a6ca05ac4910547d509', name: "start" }), h("div", { key: '21ac65ef6af325989f1586a4109f28b02c4d9414' }, h("label", { key: 'a8730e6a0478abdd2a81a2153ed1863f389f632d', htmlFor: this.name }, this.label), h("smoothly-input", { key: 'cce8eef1cb3fe30cafec2fccdcde4bb992b163ef', ref: e => (this.input = e), looks: undefined, color: this.color, name: this.name, showLabel: this.outputSide === "left" && !!this.label, type: this.type, onSmoothlyInputLoad: async (e) => (e.stopPropagation(),
|
|
102
102
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
103
103
|
e.stopPropagation();
|
|
104
104
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
105
|
-
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '
|
|
105
|
+
}, value: this.type == "percent" ? this.value : (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString(), placeholder: this.outputSide === "right" ? "-" : undefined, readonly: this.readonly, disabled: this.disabled }, this.label), h("smoothly-display", { key: '6ab9f7b99bf40826eb17eb300cd8be062defa4d3', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: '690aa75a19a26cf290c1290988357edab5097ab3', name: this.name, part: "range", type: "range", min: this.min, max: this.max, step: (_b = this.step) !== null && _b !== void 0 ? _b : "any", disabled: this.readonly || this.disabled, onInput: event => {
|
|
106
106
|
event.stopPropagation();
|
|
107
107
|
this.setValue(event.target.valueAsNumber);
|
|
108
108
|
this.smoothlyUserInput.emit({ name: this.name, value: this.value });
|
|
109
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '
|
|
109
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: 'f1541e975526a02100826dc3f817c64626b2750d', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: '06897088ceab10a99692b4fe2d06e5d227dd44f8', name: "end" })));
|
|
110
110
|
}
|
|
111
111
|
static get is() { return "smoothly-input-range"; }
|
|
112
112
|
static get encapsulation() { return "scoped"; }
|
|
@@ -40,7 +40,7 @@ export class SmoothlyInputReset {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
var _a;
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '00ce2610388bdfe4a860afc1eec4c91360ed0baa', title: this.tooltip }, h("smoothly-button", { key: 'f65ac219effa216faa6aeb8e8ef472b7656ce745', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined), onClick: event => this.clickHandler(event) }, h("slot", { key: '5432ebbc44053abcfa66d760436a8218f413f58f' }), h("smoothly-icon", { key: '098d71829c81316bcdaf71a072c37d8334a505c4', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "smoothly-input-reset"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
@@ -288,14 +288,14 @@ export class SmoothlyInputSelect {
|
|
|
288
288
|
this.addedItems = this.addedItems.concat(h("smoothly-item", { value: this.filter, selected: true }, this.filter));
|
|
289
289
|
}
|
|
290
290
|
render() {
|
|
291
|
-
return (h(Host, { key: '
|
|
291
|
+
return (h(Host, { key: '8865b3b7aa61d4f9836d8d56fe536ce60d3f1c14', tabIndex: this.disabled ? undefined : 0, class: { "has-value": this.selected.length !== 0, open: this.open }, onClick: (event) => this.handleShowOptions(event) }, h("div", { key: '5910b41ec6b8ccb26bb75c082344faa46ad035c1', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), h("div", { key: '11d384a9ce8ddeffefb96b9a6995dd7420f193c8', class: "icons", ref: element => (this.iconsDiv = element) }, h("smoothly-icon", { key: 'a27b8162d4f3e2a8a481d08408826ce252eeaa30', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", tooltip: this.errorMessage }), h("slot", { key: 'cf8416a6003d9adcafd84ba20df0a4e2bcc851d6', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: '92f7e28e4c455ff4bcd141a26cfcd60f9fcaec60', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), h("slot", { key: '1c41066d1be6798ec0d6416301f8efd65a75dd00', name: "label" }), h("div", { key: '044cf7d7c0ee0d73b0d111e658eebec5c0c730df', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (h("div", { key: 'c76062a280d2cfa5f0c5c6ea37f1ddffa6dcf0eb', class: "search-preview" }, h("smoothly-icon", { key: '1fcea707496416899b363e633fbdaf5967ed0333', name: "search-outline", size: "small" }), this.filter, h("smoothly-icon", { key: '0c608ee8231d08806686b024f1cdf7ef52543bc5', name: "backspace-outline", size: "small", onClick: e => {
|
|
292
292
|
e.stopPropagation();
|
|
293
293
|
this.filter = "";
|
|
294
294
|
this.element.focus();
|
|
295
|
-
} }), this.mutable && (h("smoothly-icon", { key: '
|
|
295
|
+
} }), this.mutable && (h("smoothly-icon", { key: 'd91911a2705e1c4977b103c363770333f01f950e', name: "add", size: "small", onClick: e => {
|
|
296
296
|
e.stopPropagation();
|
|
297
297
|
this.addItem();
|
|
298
|
-
} })))), h("slot", { key: '
|
|
298
|
+
} })))), h("slot", { key: '4b3fe308c5e4c9f4ed937ef1f7437ba64f6411a1' }), this.addedItems)));
|
|
299
299
|
}
|
|
300
300
|
static get is() { return "smoothly-input-select"; }
|
|
301
301
|
static get encapsulation() { return "scoped"; }
|
|
@@ -38,7 +38,7 @@ export class SmoothlyInputSubmit {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
var _a, _b;
|
|
41
|
-
return (h(Host, { key: '
|
|
41
|
+
return (h(Host, { key: 'f7f8d66cc479ee4cd0f92bc148dec2c0cb2d48f7', 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" })))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "smoothly-input-submit"; }
|
|
44
44
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class SmoothlyItem {
|
|
|
35
35
|
: false;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: 'e20234d30e92293239fab80b17123a82aaf7a4df', tabIndex: -1 }, h("slot", { key: '4087bb39941fd908d388a64a6036e3c50ead3a9c' })));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "smoothly-item"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -7,9 +7,9 @@ export class SmoothlyLabel {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
var _a;
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: 'de59874afe507061a1c3ede6954e5e4431fa7c68', title: this.description, style: {
|
|
11
11
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
12
|
-
} }, h("slot", { key: '
|
|
12
|
+
} }, h("slot", { key: 'fcb5def4232e85094c4504191a20fdde03b4cdb8' })));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-label"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class SmoothlyLazy {
|
|
|
9
9
|
this.show = true;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '9f9a3ad03a3cffa605de2e0a311c71ff0501cc74' }, h("slot", { key: '0e222b762686df3a561c17e45966654e6bdaa711', name: "before" }), h("smoothly-load-more", { key: 'b655698abb3cb1dc76e941d8c7b2b627221dcb85', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: 'dd06292abea01a005890a0c168a5152f6737ceb1' })));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-lazy"; }
|
|
15
15
|
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: '5200709c13719dcdfa30a25d921fa27e38750fcd' });
|
|
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: '8fa3a1a8abe74467813cad81e8822982d40eccdf', 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: 'e3cb0cb62a91cc16a4c115861e393504c1c8476f', class: "modal" }, h("div", { key: '6473ae0b383fa946ade76b878bcb1ee146c340d2', class: "header" }, h("slot", { key: 'b2370ebebfc0b3b9dd67437c955ee7e1576deafd', name: "header" }), this.closable && h("smoothly-icon", { key: '561a9331a431ee605bc3e0e52765017206c7a43d', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), h("slot", { key: 'ef0da1a3d54c242df32342c1d1a09f74cd2581be' }), h("div", { key: 'f937cbaea5e2bdd15f9aa0aa8f6fadacd0a93766', class: "actions" }, h("slot", { key: 'e23325708937e00b7138c30371d1474409fb70cb', name: "actions" })))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "smoothly-modal"; }
|
|
23
23
|
static get encapsulation() { return "scoped"; }
|
|
@@ -49,7 +49,7 @@ export class Notification {
|
|
|
49
49
|
this.onUpdatedNotice(this.notice);
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '874ce3aaa62fd7424e2c6629e13111b14649c7db', color: this.properties[0], fill: "solid" }, this.closable && (h("smoothly-trigger", { key: '57057c09df734c4d359fd9952314032373c93828', fill: "clear", name: "close" }, h("smoothly-icon", { key: 'ae2a94d9120759f44e0a0549e23b17d19fbf30a6', name: "close-circle-outline" }))), h("span", { key: 'c7a626eed0dc03b93f30ef5b7e0f22abad133b93', class: this.icon ? "icon" : "clean" }, this.icon && h("smoothly-icon", { key: 'aa195f76644db7643cc4b31191cc2f0f27c24c49', name: this.properties[1] }), h("p", { key: '176a35c914559bde761a2e055353c2162e92a7e1' }, this.notice.message))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "smoothly-notification"; }
|
|
55
55
|
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: '377473bb85fda49bf6654709bc583c8122a8a5fc' }, h("slot", { key: '0039c64ec570faa5702882cc273bd5bd778b0c0e' }), h("div", { key: '133205707821a6b56218eae7b1b135985301665a', 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"; }
|
|
@@ -6,9 +6,9 @@ export class SmoothlySpinner {
|
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
8
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '81b3ddac04d63c10cef57db98b33d20d3c486d1d', style: {
|
|
10
10
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
11
|
-
} }, h("svg", { key: '
|
|
11
|
+
} }, h("svg", { key: 'a56a9b915feb8212b71cab991aaea00eeef858fa', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '80b73ff22092fd16f75fa632c45441585ae7bad5', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "smoothly-spinner"; }
|
|
14
14
|
static get encapsulation() { return "scoped"; }
|
|
@@ -25,7 +25,7 @@ export class SmoothlySubmit {
|
|
|
25
25
|
(_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Button, { key: '
|
|
28
|
+
return (h(Button, { key: '1126363e33c9df54032d68e0b1637800fd59a547', disabled: this.disabled, type: this.type }, h("slot", { key: 'b0c64e8c390d82c430c78fd377f82106ac2cb6f0' })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "smoothly-submit"; }
|
|
31
31
|
static get encapsulation() { return "scoped"; }
|