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
|
@@ -2134,7 +2134,7 @@ const SmoothlyInputDateRangeText = class {
|
|
|
2134
2134
|
1: undefined,
|
|
2135
2135
|
2: undefined,
|
|
2136
2136
|
};
|
|
2137
|
-
this.locale =
|
|
2137
|
+
this.locale = getLocale();
|
|
2138
2138
|
this.readonly = undefined;
|
|
2139
2139
|
this.disabled = undefined;
|
|
2140
2140
|
this.invalid = undefined;
|
|
@@ -2306,7 +2306,7 @@ const SmoothlyInputDateRangeText = class {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
render() {
|
|
2309
|
-
return (index.h(index.Host, { key: '
|
|
2309
|
+
return (index.h(index.Host, { key: 'f4fdae0e9a38401271697dc64583a442dbc63eb1', class: { "has-text": Object.values(this.parts).some(part => !!part) } }, DateFormat$1.Order.toArray(this.order).map((part, index$1) => {
|
|
2310
2310
|
var _a;
|
|
2311
2311
|
return (index.h("span", { onClick: () => !this.readonly && !this.disabled && this.setFocus(index$1) }, index.h("span", { class: {
|
|
2312
2312
|
"smoothly-date-text-part": true,
|
|
@@ -4325,7 +4325,7 @@ const SmoothlyDisplayDemo = class {
|
|
|
4325
4325
|
"--spinner-background": "255,200,255",
|
|
4326
4326
|
"--spinner-background-opacity": "0.5",
|
|
4327
4327
|
"--spinner-color": "0,130,0",
|
|
4328
|
-
} })), index.h("div", { key: '88dae76ba4f26b5ba5dab790d030efd2740a9c3a', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", index.h("smoothly-spinner", { key: 'ea74d644a344b2347888a609a72b20ac5c8651df', overlay: true, color: "secondary", size: "medium" })), index.h("div", { key: '64d9ade2587010213832e33830c5eeca985c7480', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", index.h("smoothly-spinner", { key: '494f01fde3c846454bfa32681895b2253db373a4', overlay: true, size: "small" }))), index.h("fieldset", { key: '6629bd3d32263860e046c756bd0f392c51f25be0' }, index.h("h2", { key: '33d110238af08bfc80a06d55b93cc128cc3a4d50' }, "Smoothly summary"), index.h("smoothly-summary", { key: '5439e9671227547e17576d921bd4d193184310ae' }, index.h("
|
|
4328
|
+
} })), index.h("div", { key: '88dae76ba4f26b5ba5dab790d030efd2740a9c3a', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", index.h("smoothly-spinner", { key: 'ea74d644a344b2347888a609a72b20ac5c8651df', overlay: true, color: "secondary", size: "medium" })), index.h("div", { key: '64d9ade2587010213832e33830c5eeca985c7480', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", index.h("smoothly-spinner", { key: '494f01fde3c846454bfa32681895b2253db373a4', overlay: true, size: "small" }))), index.h("fieldset", { key: '6629bd3d32263860e046c756bd0f392c51f25be0' }, index.h("h2", { key: '33d110238af08bfc80a06d55b93cc128cc3a4d50' }, "Smoothly summary"), index.h("smoothly-summary", { key: '5439e9671227547e17576d921bd4d193184310ae' }, index.h("span", { key: '5aa376de959eac730f1731a9d1abaa7c9b2906e2', slot: "summary" }, "Some title"), index.h("smoothly-summary", { key: '0f3c9220d9317c54c53037b25b92374ee64b8b3b', slot: "content" }, index.h("div", { key: 'aa1dc04d09749f3c125eac38fdd59b15f990871e', slot: "summary" }, "Some other title"), index.h("div", { key: '327cbe85e798cbd7b5a6a96acb0d62db4486b6e2', slot: "content" }, "A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please."))), index.h("smoothly-summary", { key: '34df179fe11e57724c204fc7faa92b6dd3d2c312' }, index.h("div", { key: 'bc7f0348eba69ce4b5ec090c3132152829cd2bdb', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, index.h("span", { key: 'e46943da2844edc16d8c93e99f2a421668af34cf' }, "Person"), index.h("smoothly-icon", { key: 'b677ed1036743b2994003c0b4d8573124fa30407', name: "person", color: "light", fill: "clear", size: "tiny" })), index.h("p", { key: '8a22ac8f00f37ce9b4d90978d329daef975a2856', slot: "content" }, "Some person information.")), index.h("h2", { key: '52120c774608c56017e1b8479631be4019449516' }, "Label"), labels.map(l => (index.h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), index.h("smoothly-label", { key: '16fba37231ff5ef8859a05e1d7b138ce27ba2769', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
4329
4329
|
];
|
|
4330
4330
|
}
|
|
4331
4331
|
};
|
|
@@ -4352,7 +4352,7 @@ const SmoothlyDisplayDemoJson = class {
|
|
|
4352
4352
|
index.registerInstance(this, hostRef);
|
|
4353
4353
|
}
|
|
4354
4354
|
render() {
|
|
4355
|
-
return (index.h(index.Host, { key: '
|
|
4355
|
+
return (index.h(index.Host, { key: 'c459dfb0ab28ba6c9ec1be1f334398200800cf56' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
4356
4356
|
index.h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
4357
4357
|
index.h("div", null, index.h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
4358
4358
|
])));
|
|
@@ -4387,7 +4387,7 @@ const SmoothlyDisplayJson = class {
|
|
|
4387
4387
|
this.collapseDepth = undefined;
|
|
4388
4388
|
}
|
|
4389
4389
|
render() {
|
|
4390
|
-
return index.h(JsonValue, { key: '
|
|
4390
|
+
return index.h(JsonValue, { key: 'dc8824ed92fdfde3a318f0449eb531600678000f', value: this.value, collapseDepth: this.collapseDepth });
|
|
4391
4391
|
}
|
|
4392
4392
|
};
|
|
4393
4393
|
SmoothlyDisplayJson.style = SmoothlyDisplayJsonStyle0;
|
|
@@ -4421,9 +4421,9 @@ const SmoothlyDisplayJsonObject = class {
|
|
|
4421
4421
|
}
|
|
4422
4422
|
render() {
|
|
4423
4423
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
4424
|
-
return (index.h(index.Host, { key: '
|
|
4424
|
+
return (index.h(index.Host, { key: 'd8c5fd222b4cbe393ccd7e5fe13ec04bff9c5614', class: { empty: this.empty, open: this.open } }, index.h("span", { key: '56070a9821ec22233a1a53614bf062234b5e1645', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), index.h("span", { key: '9fb7f10b2c330e486270e875bc3adff84066aa23', class: "content" }, Array.isArray(this.value)
|
|
4425
4425
|
? this.value.map(v => (index.h("div", { class: "indent" }, index.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index.h("span", { class: "comma" }, ","))))
|
|
4426
|
-
: Object.entries(this.value).map(([k, v]) => (index.h("div", { class: "indent" }, index.h("smoothly-display-json-record-key", { value: k }), ":", " ", index.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index.h("span", { class: "comma" }, ","))))), index.h("span", { key: '
|
|
4426
|
+
: Object.entries(this.value).map(([k, v]) => (index.h("div", { class: "indent" }, index.h("smoothly-display-json-record-key", { value: k }), ":", " ", index.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index.h("span", { class: "comma" }, ","))))), index.h("span", { key: 'dbc0412cec64f81e0bd88c48d7299ed8f0143feb', class: "close-bracket" }, this.closeBracket)));
|
|
4427
4427
|
}
|
|
4428
4428
|
};
|
|
4429
4429
|
SmoothlyDisplayJsonObject.style = SmoothlyDisplayJsonObjectStyle0;
|
|
@@ -4437,7 +4437,7 @@ const SmoothlyDisplayJsonPrimitive = class {
|
|
|
4437
4437
|
this.value = undefined;
|
|
4438
4438
|
}
|
|
4439
4439
|
render() {
|
|
4440
|
-
return index.h(index.Host, { key: '
|
|
4440
|
+
return index.h(index.Host, { key: '0e8d894d5b03272d4df6b648eef111b4efe5b236', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
4441
4441
|
}
|
|
4442
4442
|
};
|
|
4443
4443
|
SmoothlyDisplayJsonPrimitive.style = SmoothlyDisplayJsonPrimitiveStyle0;
|
|
@@ -4451,7 +4451,7 @@ const SmoothlyDisplayJsonRecordKey = class {
|
|
|
4451
4451
|
this.value = undefined;
|
|
4452
4452
|
}
|
|
4453
4453
|
render() {
|
|
4454
|
-
return index.h(index.Host, { key: '
|
|
4454
|
+
return index.h(index.Host, { key: '2a03b569bedb742a25108741886a5a781f31a703' }, "\"", this.value, "\"");
|
|
4455
4455
|
}
|
|
4456
4456
|
};
|
|
4457
4457
|
SmoothlyDisplayJsonRecordKey.style = SmoothlyDisplayJsonRecordKeyStyle0;
|
|
@@ -7480,11 +7480,11 @@ const SmoothlyFilter = class {
|
|
|
7480
7480
|
this.filters.forEach(update => update(this.criteria));
|
|
7481
7481
|
}
|
|
7482
7482
|
render() {
|
|
7483
|
-
return (index.h(index.Host, { key: '
|
|
7483
|
+
return (index.h(index.Host, { key: 'd80c4372569f616eec9d9dce3c02910f3c9220bd' }, index.h("slot", { key: '896325f5ecf8bc018125513533528a207a2774bf', name: "bar" }), index.h("smoothly-filter-field", { key: '77384e4d304861bafef0f505bf2451963670f625', criteria: this.criteria, ref: e => (this.field = e) }), this.criteria.toString() != "" && (index.h("smoothly-icon", { key: '2fbde76c1523e7f04b3838e9375efcf280321402', name: "close", tooltip: "Clear all filters", size: "small", onClick: () => {
|
|
7484
7484
|
this.clear();
|
|
7485
|
-
} })), index.h("div", { key: '
|
|
7485
|
+
} })), index.h("div", { key: '396ed6dd80fac7e7d6fcd7691c8c79fc037042fc', class: this.expanded ? "container arrow-top" : "hidden" }, index.h("slot", { key: 'fb80eb35ca23cfeed30d3e50398b177a75556d0b', name: "detail" })), index.h("smoothly-icon", { key: '1203589fd5c9fe219c88fb208c7d7242d778fe1d', name: this.expanded ? "options" : "options-outline", tooltip: (this.expanded ? "Hide" : "Show") + " additional filters", size: "small", onClick: () => {
|
|
7486
7486
|
this.expanded = !this.expanded;
|
|
7487
|
-
} }), index.h("div", { key: '
|
|
7487
|
+
} }), index.h("div", { key: '559ae34826c02ec0e1c3d83809513eff71eb0db2', class: this.expanded ? "close" : "hidden", onClick: () => (this.expanded = !this.expanded) })));
|
|
7488
7488
|
}
|
|
7489
7489
|
};
|
|
7490
7490
|
SmoothlyFilter.style = SmoothlyFilterStyle0;
|
|
@@ -7511,7 +7511,7 @@ const SmoothlyFilterField = class {
|
|
|
7511
7511
|
this.value = event.detail.filter;
|
|
7512
7512
|
}
|
|
7513
7513
|
render() {
|
|
7514
|
-
return (index.h(index.Host, { key: '
|
|
7514
|
+
return (index.h(index.Host, { key: '5cc4e4b4f143253b8db39e8a6adcdaf3d0e952d8' }, index.h("smoothly-input", { key: '64e515c9069eb50deaf4a07f5a5af04ca1605eb5', name: "filter", ref: e => (this.input = e), value: this.criteria.toString(), onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyKeydown: e => {
|
|
7515
7515
|
e.stopPropagation();
|
|
7516
7516
|
e.detail.key == "Enter" && this.filterFieldEmit();
|
|
7517
7517
|
}, onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyFormDisable: e => e.stopPropagation(), onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyChange: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
@@ -7591,7 +7591,7 @@ const SmoothlyFilterInput = class {
|
|
|
7591
7591
|
(rest.length == 0 || (!!criteria.criteria && this.findInstanceOf(criteria.criteria, rest.join(".")))));
|
|
7592
7592
|
}
|
|
7593
7593
|
render() {
|
|
7594
|
-
return (index.h("smoothly-input", { key: '
|
|
7594
|
+
return (index.h("smoothly-input", { key: '8e71fe5e757acf5ee4a4c09cb0fcb8d3121fd7c6', name: this.property, value: this.needle, type: this.type, placeholder: this.placeholder, onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyFormDisable: e => e.stopPropagation(), onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyChange: e => e.stopPropagation(), onSmoothlyInput: e => this.inputHandler(e) }, this.label, index.h("slot", { key: 'ad5b42ba26c59a18c099b139387dab43c2afa695' })));
|
|
7595
7595
|
}
|
|
7596
7596
|
};
|
|
7597
7597
|
SmoothlyFilterInput.style = SmoothlyFilterInputStyle0;
|
|
@@ -7700,7 +7700,7 @@ const SmoothlyFilterSelect = class {
|
|
|
7700
7700
|
return result && this.property.split(".").reduceRight((r, e) => property(e, r), result);
|
|
7701
7701
|
}
|
|
7702
7702
|
render() {
|
|
7703
|
-
return (index.h("smoothly-input-select", { key: '
|
|
7703
|
+
return (index.h("smoothly-input-select", { key: '6d72b38daa8c61d5c80a1f658c0056368409692e', ref: e => (this.selectElement = e), name: this.property, looks: this.looks, multiple: this.multiple, menuHeight: this.menuHeight, onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyItemSelect: e => e.stopPropagation(), onSmoothlyInput: e => this.selectHandler(e) }, this.label && (index.h("span", { key: '35be4b286aa305a609c1f13feb854880a2ce9db5', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), index.h("slot", { key: '9a70e72ad7bcf911da188136ff161431e73191e0', name: "items" })));
|
|
7704
7704
|
}
|
|
7705
7705
|
get element() { return index.getElement(this); }
|
|
7706
7706
|
};
|
|
@@ -7784,7 +7784,7 @@ const SmoothlyFilterToggle = class {
|
|
|
7784
7784
|
(rest.length == 0 || (!!check.criteria && this.findInstanceOf(check.criteria, rest.join(".")))));
|
|
7785
7785
|
}
|
|
7786
7786
|
render() {
|
|
7787
|
-
return (index.h("smoothly-icon", { key: '
|
|
7787
|
+
return (index.h("smoothly-icon", { key: '8e99d15e7835225602da2540570d484bb86eed6a', fill: "clear", color: this.active ? "success" : "medium", name: (this.active ? `${this.icon}` : `${this.icon}-outline`), tooltip: this.tooltip, onClick: () => this.activeHandler(true) }));
|
|
7788
7788
|
}
|
|
7789
7789
|
};
|
|
7790
7790
|
SmoothlyFilterToggle.style = SmoothlyFilterToggleStyle0;
|
|
@@ -8838,7 +8838,7 @@ const SmoothlyFormDemo = class {
|
|
|
8838
8838
|
index.registerInstance(this, hostRef);
|
|
8839
8839
|
}
|
|
8840
8840
|
render() {
|
|
8841
|
-
return (index.h(index.Host, { key: '
|
|
8841
|
+
return (index.h(index.Host, { key: 'c520f9686d30f0f54e5a7b85a6411c7a6c4c8e26' }, index.h("div", { key: '218bccd1eb09e6c14499c064eb08b16acedab2b8' }, index.h("smoothly-form-demo-all", { key: '77aa11539755efb250357dff60c864437cbeee2d' }), index.h("smoothly-form-demo-pet", { key: 'd3d014e2fa8bedbcb28a74e7ae4f86eb5d8b4325' }), index.h("smoothly-form-demo-card", { key: '7b5483970827a684367a5ed8df45eb4dfbfacbdb' }), index.h("smoothly-form-demo-login", { key: 'e46120b15dc4f00622c6a3bb3608386c26978d94' }), index.h("smoothly-form-demo-prices", { key: '75e777d76b24702ea6e0d8d3decc634dcf204c57' }), index.h("smoothly-form-demo-typed", { key: 'dfe06d4d06a4d1ef32c23aba03bd880478b8f9a6' }), index.h("smoothly-form-demo-transparent", { key: '4e91222efb70aa23ca251cfb30158470b1077169' }), index.h("smoothly-form-demo-date", { key: '0b953abf55b43d5fbb4b47b5ee0e1a51000decce' }), index.h("smoothly-form-demo-schedule", { key: '656148a09b8131f87180451cae014ebdeffbb2dc' }), index.h("smoothly-form-demo-date-range", { key: '30d9a63aba3b4db8a8437e42dd0d113f3bd67186' }), index.h("smoothly-form-demo-controlled", { key: '5c754319261cdccce3cd7f32423ce71995acdcf8' }))));
|
|
8842
8842
|
}
|
|
8843
8843
|
};
|
|
8844
8844
|
SmoothlyFormDemo.style = SmoothlyFormDemoStyle0;
|
|
@@ -8848,9 +8848,9 @@ const SmoothlyFormDemoAll = class {
|
|
|
8848
8848
|
index.registerInstance(this, hostRef);
|
|
8849
8849
|
}
|
|
8850
8850
|
render() {
|
|
8851
|
-
return (index.h(index.Host, { key: '
|
|
8851
|
+
return (index.h(index.Host, { key: 'f87ebe24ef7535d757e8725b636c8c5f32e27ba0' }, index.h("h2", { key: '5241f0eba4da432b480c6dfd9bd7578830551ac1' }, "All inputs"), index.h("smoothly-form", { key: 'a0613285e9987be33adf9854772d59daab068593', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
8852
8852
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
8853
|
-
} }, index.h("smoothly-input", { key: '
|
|
8853
|
+
} }, index.h("smoothly-input", { key: 'b0b7156547112cae4f5d168f83a7a11e8488c9e8', readonly: true, name: "First Name", value: "John" }, "First name"), index.h("smoothly-input", { key: '5419a70db41131bc59e9b0ddd8c370056708e172', showLabel: false, name: "Last name", value: "Doe" }, "Last name", index.h("smoothly-input-clear", { key: '6a012ae5cae0fb5374290cd03cc7cbad353f3406', size: "icon", slot: "end" })), index.h("smoothly-input", { key: '41f5ca945f6845ad9061f6b926362cbfcae01d1d', type: "phone", name: "Phone", value: "777888999" }, "Phone", index.h("smoothly-input-reset", { key: 'b19508551c13d4bd67193d6acb5d6462fe5b1ba2', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: '3871f74d499c89843ff7ad1e34776860206c8357', clearable: true, name: "radioFirstInput" }, index.h("label", { key: 'ea69c69a9e98f1758205a5ca789feb3171b20995', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '23ea5e016a13cbc0bb97eeefba0303e28dd57537', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '0ed432cec4205d7e25271e9309ea18ba26db4f10', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '7241ba1b311649638d665c823f95050501a231d7', value: "third" }, "Label 3")), index.h("smoothly-input-color", { key: 'fa8af54f789ac7e82c94e266ececf1ef35cea9f8', name: "color" }, "Color"), index.h("smoothly-input-select", { key: 'd5186d7b98ef556ace8aafa2069d4d7ac9696e61', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '0d517222d1d84036c34e89443a72b43316b92706', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: 'f95f3715a21df0c713ac13bbfbe2ab14dcc4a940', value: "1" }, "January"), index.h("smoothly-item", { key: '21ffd877b069ea3d9a8fdeb2b89432d84deca067', value: "2" }, "February"), index.h("smoothly-item", { key: 'fb032a3c25ccc4778e4f25b2d8fe18d66c7adc13', value: "3" }, "March"), index.h("smoothly-item", { key: '649124af9fc5338f28844bbeb8201766da509e0c', value: "4" }, "April"), index.h("smoothly-item", { key: '437ac584c1cdcee5396602f6fd8f6cf91fe7641a', value: "5" }, "May"), index.h("smoothly-item", { key: '3a34c4b7a2e8233815d2a98761b6b386fa93d1d6', value: "6" }, "June"), index.h("smoothly-item", { key: 'd1efd8d1cf676e1fd0ce8eaaf5a0fef42f3ec710', value: "7" }, "July"), index.h("smoothly-item", { key: '191eb07b78ad0d2d8eb8f3d4d8dc31823bbdabf8', value: "8" }, "August"), index.h("smoothly-item", { key: '6c13668fc67dbdd6717e250af16aa9b8392051f4', value: "9" }, "September"), index.h("smoothly-item", { key: '225133ad67ee7f3b153e05c107b26503338deaeb', value: "10" }, "October"), index.h("smoothly-item", { key: 'f4ff13b68f8ce7e342e0acb52a0f60408cdb9343', value: "11" }, "November"), index.h("smoothly-item", { key: '45858a3aad26242cac51603ba9f2b44416a40451', value: "12" }, "December")), index.h("smoothly-input-select", { key: '7ed1d42abf67e8ddec48cbbe03bf5cac83139646', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: 'b9f59017eb104add92c26b2aaebf7c1b4891520a', value: "folder", selected: true }, index.h("smoothly-icon", { key: 'ba6256a645f9c179f28a7fd78fb2502985ee1e1b', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: '0904069f5ffef98b0031d2cca2c088ca174af9c8', value: "camera" }, index.h("smoothly-icon", { key: '5b1361ae41d71349b17ed8ae5dcd0801f1130022', size: "small", name: "camera-outline" }))), index.h("smoothly-input-checkbox", { key: 'fd4d2841e68ce6fbf6fee5d52be0aa7b89b7ee8f', name: "checkbox" }, "Check the box"), index.h("smoothly-input-checkbox", { key: 'be505553364e66f0e07c84638f3388c7fa86df52', name: "checkbox2", checked: true }, "Check the box 2"), index.h("smoothly-input-range", { key: '2b59d9da1babb202e0f4229bd4cf44f33417a993', step: 1, name: "range3", value: 20, label: "Range" }), index.h("smoothly-input", { key: 'db2e3796a86d37fbdebd6ef723b75b74058abf1d', name: "pets.0.name" }, "First Pet's Name"), index.h("smoothly-input-range", { key: '9e5f22df32f52bbb79608062473ebff9c6313bf1', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), index.h("smoothly-input", { key: '2fbd85a6b4ff8e59da2a347e21e22d459efa92ff', name: "pets.1.name" }, "Second Pet's Name"), index.h("smoothly-input-range", { key: 'de5d3819eed414de9e7a2e84dfdaa6b0574e3c62', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), index.h("smoothly-input", { key: 'a476167a0ed9889a668bb3cb725673a3e7610607', name: "pets.2.name" }, "Third Pet's Name"), index.h("smoothly-input-range", { key: 'a7478bc13ff8aaf069125171116b58e58cc41bff', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), index.h("smoothly-input-file", { key: '12beed2cee2c7605e422cca9367bf606fe9957fb', name: "profile", placeholder: "Click or drag your profile picture here..." }, index.h("span", { key: '42c65b9f428f5db584bf3a166b9b6594733f8d80', slot: "label" }, "Profile"), index.h("smoothly-icon", { key: 'fa2ab91385f534d7f052ccdbb3205a1da8032963', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), index.h("smoothly-input", { key: 'a9c3ea48b7a41baf04bb40b11bd304aae2ab9197', type: "duration", name: "duration", value: {} }, "Duration"), index.h("smoothly-input-clear", { key: '439e86e9d2bd36eb4f21fdc6477b264025912ccd', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), index.h("smoothly-input-edit", { key: 'b647e995fd7d90693497070b7751fdf787958dc7', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), index.h("smoothly-input-reset", { key: '7bc5533af945d6d3acea8ceee2a9ab7d166e5d38', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: 'c9251420eb11a27433edfa4eb62be070d283b814', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: '5741bc096734acc63eccb7ce5cf66fac7ba3cb65', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
8854
8854
|
}
|
|
8855
8855
|
};
|
|
8856
8856
|
|
|
@@ -8859,7 +8859,7 @@ const SmoothlyFormDemoCard = class {
|
|
|
8859
8859
|
index.registerInstance(this, hostRef);
|
|
8860
8860
|
}
|
|
8861
8861
|
render() {
|
|
8862
|
-
return (index.h(index.Host, { key: '
|
|
8862
|
+
return (index.h(index.Host, { key: '380563e89b70c7195faf77cfe59aa7b287bf65c8' }, index.h("h2", { key: '15c8b7c114af4388e99b2eaa2d9b70fa52463e67' }, "Card"), index.h("smoothly-form", { key: '089bae2b007fd14c82f2f946f63c97419174de7e', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, index.h("smoothly-input", { key: '51a4adf0bc70273b70759a560e4e69d90686ef84', type: "card-number", name: "card" }, "Card #"), index.h("smoothly-input-submit", { key: '5c328965e5e3e54d6dacd06e70cd7a09ff78e081', size: "icon", slot: "submit", color: "success", fill: "solid" }), index.h("smoothly-input", { key: 'cae7ec030ab677708b19735c28e6c4dc50a754fb', type: "card-expires", name: "expires" }, "Expires"), index.h("smoothly-input", { key: '229929c495abca2028ecfdc3e2def372d976eb97', type: "card-csc", name: "csc" }, "CVV/CVC"), index.h("smoothly-input", { key: '05260b48e59cf1a42a44bf361be6c9e3b78935aa', type: "text", name: "name.first" }, "First Name"), index.h("smoothly-input", { key: '50b0822f1264f855f3c24cf3a709952067a9f8f4', type: "text", name: "name.last" }, "Last Name"))));
|
|
8863
8863
|
}
|
|
8864
8864
|
};
|
|
8865
8865
|
|
|
@@ -8895,7 +8895,7 @@ const SmoothlyFormDemoControlled = class {
|
|
|
8895
8895
|
event.detail.result(false);
|
|
8896
8896
|
}
|
|
8897
8897
|
render() {
|
|
8898
|
-
return (index.h(index.Host, { key: '
|
|
8898
|
+
return (index.h(index.Host, { key: '127eacdf51179a2452403e4663dde0be40455552' }, index.h("h2", { key: 'e70564d49f51c04b57ac3b0bce258d70a22fe242' }, "Controlled"), index.h("smoothly-form", { key: '2591ededf60a7c1312a1df93c4041faec8a8d844', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input", { key: 'fc96c65a316b8d6c8ee884f9a75aaa6f3073934c', type: "text", name: "name", value: this.name }, "Name"), index.h("smoothly-input-select", { key: '22ec7d223940ea5d39876215ccf3140d939d1eb6', name: "currency" }, index.h("span", { key: '23a5a040a4434a403800cd38914bf71dfb054ee1', slot: "label" }, "Currency"), this.currencies.map(currency => (index.h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), index.h("smoothly-input", { key: 'f7ed25cb59c5613f68ac46c2c7ab683ed1502f19' }, "Dummy"), index.h("smoothly-input-month", { key: 'dbb0d0b5f451aee0e9ac553a7a7495b2a639ffba', name: "date", value: this.date, next: true, previous: true }, index.h("span", { key: '448ca98878cdc14ff95aa8f0c1b3f0a54a143350', slot: "year-label" }, "Year"), index.h("span", { key: '363426ff1d76786accede88917902ef00e5508d2', slot: "month-label" }, "Month")), index.h("smoothly-input-edit", { key: '7a34a2a619743eec8546afe02042ee19c75ca622', slot: "edit", size: "icon", color: "primary", fill: "default" }), index.h("smoothly-input-reset", { key: 'e11fbad0e4bf0366c3e87330678a9a8250faeacb', slot: "reset", size: "icon", color: "warning", fill: "default" }), index.h("smoothly-input-submit", { key: 'b0a0221c4074d2bef38d09a5ecefa30243521a90', slot: "submit", size: "icon", color: "success" }))));
|
|
8899
8899
|
}
|
|
8900
8900
|
static get watchers() { return {
|
|
8901
8901
|
"name": ["nameChanged"]
|
|
@@ -8926,7 +8926,7 @@ const SmoothlyFormDemoDate = class {
|
|
|
8926
8926
|
event.detail.result(false);
|
|
8927
8927
|
}
|
|
8928
8928
|
render() {
|
|
8929
|
-
return (index.h(index.Host, { key: '
|
|
8929
|
+
return (index.h(index.Host, { key: 'adefda2f6f0d537082d10f63ebd53a0497a7ca82' }, index.h("h2", { key: 'cf57f578f2caf3001c3ab14ce1b12eee3a8e7f74' }, "Date input"), index.h("smoothly-form", { key: '220ef96f2cef2e4526871b4dd7cae3736ffc3aa6', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input-date", { key: '37a21d5d8b094ba14ce80f2b521989927b40bffa', name: "date" }, "Date"), index.h("smoothly-input-submit", { key: '082d7a7369455a651bce813da2aab843df891835', slot: "submit" }, index.h("smoothly-icon", { key: '01fdc733a2a2ec49589658981ce32183dd6fcb75', name: "checkmark-outline" })))));
|
|
8930
8930
|
}
|
|
8931
8931
|
};
|
|
8932
8932
|
SmoothlyFormDemoDate.style = SmoothlyFormDemoDateStyle0;
|
|
@@ -8955,7 +8955,7 @@ const SmoothlyFormDemoDateRange = class {
|
|
|
8955
8955
|
event.detail.result(false);
|
|
8956
8956
|
}
|
|
8957
8957
|
render() {
|
|
8958
|
-
return (index.h(index.Host, { key: '
|
|
8958
|
+
return (index.h(index.Host, { key: '7070cc781370699e35f5c90f89ddd0d2c1e08132' }, index.h("h2", { key: '44687d1177ddbaf97523e92067c4ad7b680b5bd9' }, "Date-range input"), index.h("smoothly-form", { key: '8a0df7c1c746e592b40a2c4422755e001d3a516f', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input-date-range", { key: 'a71548e2febc7dc65fb69125fa9200c0a061c384', name: "range" }, "Range"), index.h("smoothly-input-submit", { key: 'f0a37a386880bd34a13644093a1cc6256d0e5a64', slot: "submit" }, index.h("smoothly-icon", { key: 'bf0dec6f422116ecea2a42b1b057c6e2a412a105', name: "checkmark-outline" })))));
|
|
8959
8959
|
}
|
|
8960
8960
|
};
|
|
8961
8961
|
SmoothlyFormDemoDateRange.style = SmoothlyFormDemoDateRangeStyle0;
|
|
@@ -8965,11 +8965,11 @@ const SmoothlyFormDemoLogin = class {
|
|
|
8965
8965
|
index.registerInstance(this, hostRef);
|
|
8966
8966
|
}
|
|
8967
8967
|
render() {
|
|
8968
|
-
return (index.h(index.Host, { key: '
|
|
8968
|
+
return (index.h(index.Host, { key: '1e3f78829eab55a6c245870eeb74cb6c26063828' }, index.h("h2", { key: 'f54eed1eabb841f82de0da90b212ea6c11a2a988' }, "Login"), index.h("smoothly-form", { key: 'acdad38bf6530f2624b1b52d88ee0251dd7af3d3', looks: "border" }, index.h("smoothly-input", { key: '68d96eae8c35ac89869f20266896d008d843edf4', type: "text", name: "username" }, "Username"), index.h("smoothly-input", { key: '9beab566c6f7189dfcebae7149d25be6bd2885e1', type: "password", name: "password" }, "Password"), index.h("smoothly-input-reset", { key: '851c57a3d2e2e8b42a36ba97ec3aa086959b0df3', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'dbb45b020eecfd32e532848c4e5b474030c5f1a0', slot: "submit" }))));
|
|
8969
8969
|
}
|
|
8970
8970
|
};
|
|
8971
8971
|
|
|
8972
|
-
const styleCss$$ = ".sc-smoothly-form-demo-pet-h{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:auto auto;grid-column-gap:2rem}.sc-smoothly-form-demo-pet-h smoothly-input-checkbox[name=\"hasOwner\"].sc-smoothly-form-demo-pet,.sc-smoothly-form-demo-pet-h>smoothly-form.sc-smoothly-form-demo-pet smoothly-
|
|
8972
|
+
const styleCss$$ = ".sc-smoothly-form-demo-pet-h{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:auto auto;grid-column-gap:2rem}.sc-smoothly-form-demo-pet-h smoothly-input-checkbox[name=\"hasOwner\"].sc-smoothly-form-demo-pet,.sc-smoothly-form-demo-pet-h>smoothly-form.sc-smoothly-form-demo-pet smoothly-tabs.sc-smoothly-form-demo-pet{flex-basis:100%}";
|
|
8973
8973
|
const SmoothlyFormDemoPetStyle0 = styleCss$$;
|
|
8974
8974
|
|
|
8975
8975
|
const SmoothlyFormDemoPet = class {
|
|
@@ -8981,10 +8981,10 @@ const SmoothlyFormDemoPet = class {
|
|
|
8981
8981
|
}
|
|
8982
8982
|
render() {
|
|
8983
8983
|
var _a, _b;
|
|
8984
|
-
return (index.h(index.Host, { key: '
|
|
8984
|
+
return (index.h(index.Host, { key: 'fd6f58f335cd349a61d568e69537dfeb7f816567' }, index.h("h2", { key: 'fcccf576c54df16f5cb8a1b050def1d7456b3295' }, "Pet"), index.h("h3", { key: 'b1ff28871663e3d883717831eddec29a85ba0ccb' }, "Value"), index.h("smoothly-form", { key: 'eb882ce38ca479836483edf6d1794362e64b39df', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, index.h("smoothly-input", { key: '1d034f4162cfa87ff6f609add559682dd9e05cb6', type: "text", name: "name.first", value: "Johnny" }, "Name", index.h("smoothly-input-reset", { key: '308698375c3d928a829b7a0585b652acd7eb7125', slot: "end" })), index.h("smoothly-input", { key: '6332686d7d46872727ff9de8a578c3ac117149b8', type: "integer", name: "age" }, "Age (Years)"), index.h("smoothly-input-checkbox", { key: 'eb1f6aec65f842f22366fa844b0fda1584df0c66', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
8985
8985
|
this.hasOwner = e.detail.hasOwner;
|
|
8986
8986
|
e.stopPropagation();
|
|
8987
|
-
} }, "Has Owner", index.h("smoothly-input-reset", { key: '
|
|
8987
|
+
} }, "Has Owner", index.h("smoothly-input-reset", { key: 'cd6c11e114bce17426f90e355eb1db1af7ed8fc1', slot: "end" })), this.hasOwner && (index.h(index.Fragment, { key: 'e6ac2d7b3087306f99b0fa9b6444e91b5e0e37a6' }, index.h("smoothly-input", { key: 'b9acbcf6211fa057df6cf813b3138987f87d0faf', type: "text", name: "owner.firstName", value: this.owner.firstName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { firstName: e.detail["owner.firstName"] })) }, "Owner First Name", index.h("smoothly-input-reset", { key: '6135bc037cb61797db43929298cb0fecb566bae1', slot: "end" })), index.h("smoothly-input", { key: 'ea1cd7c11207f6ffef10b998d48601b23e32784c', type: "text", name: "owner.lastName", value: this.owner.lastName, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { lastName: e.detail["owner.lastName"] })) }, "Owner Last Name"), index.h("smoothly-input-file", { key: '7b29325cf763adc7f8a74aa038787bcbc79e2cbc', name: "owner.picture" }, index.h("span", { key: '6cfb9c9ca08c1aa21bffd74440b9fc72be1f9b9e', slot: "label" }, "Owner picture")), index.h("smoothly-input-date", { key: 'b0e13b530fcbecdc3473f8f3a6b64faae0539f99', name: "owner.birthday", value: this.owner.birthday, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { birthday: e.detail["owner.birthday"] })) }, "Owner birthday", index.h("smoothly-input-reset", { key: '091080379497e5b4a44baa6e4c308d615d11efd3', slot: "end" })), index.h("smoothly-input-date-range", { key: '177cf8bab833aefc37641f84e311bae632766e4f', name: "owner.ownedRange", start: (_a = this.owner.ownedRange) === null || _a === void 0 ? void 0 : _a.start, end: (_b = this.owner.ownedRange) === null || _b === void 0 ? void 0 : _b.end, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { ownedRange: e.detail["owner.ownedRange"] })) }, "Owner ownedRange", index.h("smoothly-input-reset", { key: '50d628cc5312eeaddc9e63eee1bec136edad5d54', slot: "end" })), index.h("smoothly-input-range", { key: '45d0b2a96491f83fa490303d972b1888ca238499', name: "owner.height", step: 1, max: 250, value: this.owner.height, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { height: e.detail["owner.height"] })) }, "Owner's Height", index.h("smoothly-input-reset", { key: 'e6d5532bae6b869e2689606856fed111437b10b4', slot: "end" })), index.h("smoothly-input-select", { key: '4eb44a966295ea7c466e05ffefdc78539d67a1c3', name: "owner.favoriteHat" }, index.h("span", { key: '4c5f5c7e8d90c0fbcdc4d7f3a08904a2d2a12e7a', slot: "label" }, "Owner's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1, selected: this.owner.favoriteHat == value }, value))), index.h("smoothly-input-reset", { key: '953da4ac3876ae0426e16f575cb73f3d5f2f0167', slot: "end" })), index.h("smoothly-input-color", { key: '88e770f1c77599d46031e1d58d7c927748e4930c', name: "owner.favoriteColor", value: this.owner.favoriteColor ? Scrollable.RGB.toHex(this.owner.favoriteColor) : undefined, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoriteColor: e.detail["owner.favoriteColor"] })) }, "Owner's Favorite Color", index.h("smoothly-input-reset", { key: '7ede6644743c2635706d4cf278f47e21d3b74d98', slot: "end" })), index.h("smoothly-input-radio", { key: 'c231193127024d9761aa559bec89ffb1eaf09acc', name: "owner.favoritePizza", value: this.owner.favoritePizza, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { favoritePizza: e.detail["owner.favoritePizza"] })) }, index.h("span", { key: '4388ee769be45cb2df1226a3abf3a4f11cbb6065', slot: "label" }, "Owner's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: '012f9e3da80a1ec67aee406964263dd91ea47138', name: "owner.hasPet", checked: this.owner.hasPet, onSmoothlyInput: e => (this.owner = Object.assign(Object.assign({}, this.owner), { hasPet: e.detail["owner.hasPet"] })) }, "Has Pet"))), index.h("smoothly-tabs", { key: '69d1dc65939a4deab9b22e83bd326ee88e1ac6fb' }, index.h("smoothly-tab", { key: 'add8493e142d0f4fb001bce90659e9ac9b514696', label: "Dog", name: "dog" }, index.h("smoothly-input", { key: '55d8cfe1ec5f5de509df765454025eb0f890b6f3', type: "text", name: "dog.breed" }, "Breed"), index.h("smoothly-input-file", { key: 'c676d03691f28f7cd69d27ab72f2f79667f7af04', name: "dog.picture" }, index.h("span", { key: '8f3cdfde96d4d8c9667ccc142e1aa324f3da2d26', slot: "label" }, "Dog picture")), index.h("smoothly-input-date-time", { key: 'd29a5e0694ab908dc4bdf52f5b9ad6b28985132d', name: "dog.lastWalk" }, "Time of last walk"), index.h("smoothly-input-date", { key: '474667a7c5357cfc9a4a6dbe98f1d688c4ec4954', name: "dog.birthday" }, "Dog birthday"), index.h("smoothly-input-date-range", { key: '8ccfb03d70d83cf566676b7ab57ea5191dd5393f', name: "dog.dateRange" }, "Dog date range"), index.h("smoothly-input-select", { key: '2066db8c8d4e5b44a378cf293e2adbb5e8bf460d', name: "dog.favoriteHat" }, index.h("span", { key: 'a62342e8af25a36683b5bb71329e5a9838e46ad8', slot: "label" }, "Dog's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-color", { key: '542fe343740ac056bfbae4cd475115d14e55747c', name: "dog.favoriteColor" }, "Dog's Favorite Color"), index.h("smoothly-input-radio", { key: '3a974e789695f7d1f7dad1029b18e8234a40f520', name: "dog.favoritePizza" }, index.h("span", { key: 'ceb0081e3d6cdbb28132be63098b592399aea837', slot: "label" }, "Dog's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: 'ee5fee3e5b44ee6ec5bd5c2a745cefc69e828ae2', name: "dog.hasPet" }, "Has Pet")), index.h("smoothly-tab", { key: '8fa8c7108190cc80ea2f19162d9da05d771cd012', label: "Cat", name: "cat", open: true }, index.h("smoothly-input", { key: '1447b9e61334745da924780fe9fd9ffa08d0772f', name: "cat.favoriteFood" }, "Favorite Food")), index.h("smoothly-tab", { key: '6aa5088e6670b82a7e322a6e3884834a3a6bebc6', label: "Parrot", name: "parrot" }, index.h("smoothly-input", { key: 'ea0f62a2bef7ba932d81d1cfc758a30730a942ae', type: "price", name: "parrot.price", currency: "EUR" }, "Summary Price"), index.h("smoothly-input-file", { key: '0d4ec9d5fb2629416bd2503b21ca161b1a42781c', name: "parrot.picture" }, index.h("span", { key: '277b9fadfca699e97cf6b59f32bc9eb935236ccb', slot: "label" }, "Summary picture"), index.h("smoothly-input-clear", { key: 'bde01c974d7a9a6d8f72ba693d14da87412142ce', slot: "end" })), index.h("smoothly-input-date", { key: 'dbb7ff97e4032431c28296f571bb9c14f4792a9f', name: "parrot.birthday" }, "Summary birthday"), index.h("smoothly-input-date-range", { key: '7c8bc746930884acd71fe8b9e43ad3f39df2280a', name: "parrot.ownedRange", start: "2020-01-01", end: "2020-01-15" }, "Summary ownedRange", index.h("smoothly-input-reset", { key: 'c2c019d38267cc7cf2e1bb9f9de099093dcba829', slot: "end" })), index.h("smoothly-input-range", { key: 'f9e1e846edc01ff5d1d0a70623e1218115d74922', name: "parrot.height", label: "Height" }, index.h("smoothly-input-reset", { key: '28336ff1ca0555df0bad230de82ca4f27fac0f17', slot: "end" })), index.h("smoothly-input-select", { key: '1284dab60ff21da638a1c6de3b97bebc89f5336f', name: "parrot.favoriteHat" }, index.h("span", { key: '0f42c20171f445ee7662143458622bfe82edfbee', slot: "label" }, "Summary's Favorite Hat"), ["🎩 top hat", "🧢 cap", "👒 sun hat", "❌ none"].map((value, index$1) => (index.h("smoothly-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-month", { key: '6add4cdf7a3ab70b237ebdd1b305702d0206960f', name: "parrot.month" }, index.h("span", { key: '1daadc9241a75387cbce7a75fe580e7816fd3db2', slot: "month-label" }, "Summary month")), index.h("smoothly-input-color", { key: '436f5e0c5cc9d2ebe4610db98ee2e06c99cdb342', name: "parrot.color" }, "Summary Color"), index.h("smoothly-input-radio", { key: '266007f891ac4b2b657c5b387cf8decb4f591a71', name: "parrot.favoritePizza" }, index.h("span", { key: '9e90dbf17288235b318dbda58b13bec95dc727c9', slot: "label" }, "Summary's Favorite Pizza"), ["vesuvio", "capricciosa", "quattro formaggi"].map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, key: index$1 }, value)))), index.h("smoothly-input-checkbox", { key: '9422f35a25153747298d082b011823d983046a86', name: "parrot.hasPet" }, "Has Pet"))), index.h("smoothly-input-submit", { key: 'd60ff5f5085e2b3eb74f23c127dd6a3a9897a47a', size: "icon", slot: "submit", color: "success", fill: "solid" })), index.h("smoothly-display", { key: '84847bdce423d1d7c2d935d84b725dc3e2f0a5fb', type: "json", value: this.value })));
|
|
8988
8988
|
}
|
|
8989
8989
|
};
|
|
8990
8990
|
SmoothlyFormDemoPet.style = SmoothlyFormDemoPetStyle0;
|
|
@@ -8994,7 +8994,7 @@ const SmoothlyFormDemoPrices$1 = class {
|
|
|
8994
8994
|
index.registerInstance(this, hostRef);
|
|
8995
8995
|
}
|
|
8996
8996
|
render() {
|
|
8997
|
-
return (index.h(index.Host, { key: '
|
|
8997
|
+
return (index.h(index.Host, { key: '07b1adb88bd8e33146a7136cfd9937bb514ca7f2' }, index.h("h2", { key: '07aa50d7b9724126041784ebcd6470db505b2b30' }, "Prices"), index.h("smoothly-form", { key: 'bacdec10f2b08eb01821fd3d0ef499ac9f226b10', looks: "line" }, index.h("smoothly-input", { key: '1de0e8872ccfaee3b0dd409b6e20b035b827bb24', type: "price", name: "no" }, "No currency"), index.h("smoothly-input", { key: 'f3e3ff990f12aed4d9c2fc183b1537c60bd5c334', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), index.h("smoothly-input", { key: '43c10d5ed2802155c05ea78c562f7f70750f726e', type: "price", name: "usDollar", currency: "USD" }, "USD"), index.h("smoothly-input", { key: '14b2ed48704938dbd3324cb9643964e94f506f69', type: "price", name: "pounds", currency: "GBP" }, "GBP"), index.h("smoothly-input", { key: '925f583dff01f4776cc356caf5cbf457b029f887', type: "price", name: "peso", currency: "UYW" }, "UYW"), index.h("smoothly-input", { key: '9336ce172a3721c71085eed3a12bdd5059a2506e', type: "price", name: "iceland", currency: "ISK" }, "ISK"), index.h("smoothly-input", { key: 'fad2f01e3f1ab0c7cf06cf5da0cfef6636154c5b', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), index.h("smoothly-input-reset", { key: '60aac83fc7d1330da74f5828e8ae59a622ac5595', slot: "reset", fill: "default", type: "form", color: "warning" }), index.h("smoothly-input-submit", { key: 'e760313c45ebfd058ed98e0a5ba107d04a69ae8a', slot: "submit" }))));
|
|
8998
8998
|
}
|
|
8999
8999
|
};
|
|
9000
9000
|
|
|
@@ -9014,7 +9014,7 @@ const SmoothlyFormDemoPrices = class {
|
|
|
9014
9014
|
index.registerInstance(this, hostRef);
|
|
9015
9015
|
}
|
|
9016
9016
|
render() {
|
|
9017
|
-
return (index.h(index.Host, { key: '
|
|
9017
|
+
return (index.h(index.Host, { key: 'c6c8f8e9732b7bee6174b065aca78ec9433d106f' }, index.h("h2", { key: '3abd7dcb1223634ebe153ca72bc01a63b8f1cc0f' }, "Schedule"), index.h("smoothly-form", { key: '58efff0608dccc24e672f0af2c46ed7a6910f91f', looks: "line", validator: TimeTable.type }, index.h("smoothly-input-date", { key: 'edfbd13e8fad7a7c250d0a34b6a05c8e14e7cfc7', name: "schedule.0.date" }, "Date"), index.h("smoothly-input", { key: 'b8be4605fffe2989054278d01c92267f5763389e', name: "schedule.0.amount", type: "price" }, "Amount"), index.h("smoothly-input-date", { key: '0748a3ebf8c6be536eddc53800c0d411799f5bf4', name: "schedule.1.date" }, "Date"), index.h("smoothly-input", { key: '5bedf4f31945901c20d0cf856a2a1b8ae9e80423', name: "schedule.1.amount", type: "price" }, "Amount"), index.h("smoothly-input-date", { key: 'e45b5341043beedfde0c3e0384b0e3d102c0a671', name: "schedule.2.date" }, "Date"), index.h("smoothly-input", { key: 'bdba3363ca72fde13eacd55ddfe6410c57c7bb41', name: "schedule.2.amount", type: "price" }, "Amount"), index.h("smoothly-input-reset", { key: '18dca6b3c44da961d7b2ef3da97820ae966cd5c4', slot: "reset", fill: "default", type: "form", color: "warning" }), index.h("smoothly-input-submit", { key: '400283fd87c5de2ee10e72873afcba9064fa6814', slot: "submit" }))));
|
|
9018
9018
|
}
|
|
9019
9019
|
};
|
|
9020
9020
|
|
|
@@ -9023,7 +9023,7 @@ const SmoothlyFormDemoTransparent = class {
|
|
|
9023
9023
|
index.registerInstance(this, hostRef);
|
|
9024
9024
|
}
|
|
9025
9025
|
render() {
|
|
9026
|
-
return (index.h(index.Host, { key: '
|
|
9026
|
+
return (index.h(index.Host, { key: '23c35e22c6f70f6b55ad18ec6d38a188f0215c9b' }, index.h("h2", { key: 'e2fc9d3be81cdd5da0c630b42ede7e6715084d38' }, "Transparent"), index.h("smoothly-form", { key: '084e4048817e9edac303e5eb5cf10ca0b9161a3c', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, index.h("smoothly-input-file", { key: 'a8839f3a389be8f634d2f92eba94141b6448592c', name: "file" }, index.h("span", { key: '3c21619014ceb39e67679b08af8b05c0440d85fa', slot: "label" }, "File"), index.h("smoothly-icon", { key: '5ca5dbcc76fd50469eae5d0ed4a2b34b1eca00e3', slot: "button", name: "folder-open-outline", size: "small" })), index.h("smoothly-input", { key: '6e10c11a9dd709713192cafaf916355866b471f7', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), index.h("smoothly-input-date", { key: 'cfa290bcb1a0a5d1330a7ca989673efeb5ee3c51' }, "Date"), index.h("smoothly-input-date-range", { key: '4f50a65e65ec2df78c4a1636b346c5fc14bf4b29' }, "Date Range"), index.h("smoothly-input-select", { key: 'cca7b65376fc4a9a00acd0a2e70fd8d452e771ba', name: "transport" }, index.h("smoothly-item", { key: 'fb144f0f2b2242e0dd2769f61bf1a472be2c79c5', value: "plane" }, index.h("smoothly-icon", { key: '4474223b29cfd66f71f64a7f617559c9b714bbc1', name: "airplane-outline" })), index.h("smoothly-item", { key: '5beaffe896df6aa774a94e4ac008596020eb39b5', value: "car" }, index.h("smoothly-icon", { key: '3c84883a539e367eceab216e93d30a6d0da03d03', name: "car-outline" })), index.h("smoothly-item", { key: 'f0d434a1c2c86e14088cc266c9a6b45845e4abf1', value: "bus", selected: true }, index.h("smoothly-icon", { key: '67c1a2c383c6b6afe3f8d090cb92e367c3a2de08', name: "bus-outline" }))), index.h("smoothly-input-submit", { key: '6feb50ed966210ea27886c404fe104f6b46dfc4e', icon: "checkbox-outline" }))));
|
|
9027
9027
|
}
|
|
9028
9028
|
};
|
|
9029
9029
|
|
|
@@ -9045,7 +9045,7 @@ const SmoothlyFormDemoTyped = class {
|
|
|
9045
9045
|
index.registerInstance(this, hostRef);
|
|
9046
9046
|
}
|
|
9047
9047
|
render() {
|
|
9048
|
-
return (index.h(index.Host, { key: '
|
|
9048
|
+
return (index.h(index.Host, { key: '09d832f2e2c7fabdb8a1aa67f9e1597994165e5d' }, index.h("h2", { key: '8c90f3c15aeffc1cf3502e4e6ac153d3de1b9cc8' }, "Typed Contact"), index.h("smoothly-form", { key: '57bce4118b8793986ced78a45d115e0323f6f563', validator: Contact.type }, index.h("smoothly-input", { key: 'f5cf0372e007ae990944e92ff880622133e20bf5', name: "name.first" }, "First Name"), index.h("smoothly-input", { key: '8580c166148a543c2a75e06cef0d045aee90e110', name: "name.middle" }, "Middle Name (optional)"), index.h("smoothly-input", { key: '96ace8adf89b75c8b23ae2328d31d904e70bb31b', name: "name.last" }, "Last Name"), index.h("smoothly-input", { key: '51834ec2a86232e2792fe1a4e97b17669e7fc3dc', name: "age", type: "integer" }, "Age (18-120)"), index.h("smoothly-input-select", { key: '8be08f56052a4b985f0bcd66f7a4a1ab6b1d72f2', name: "country" }, index.h("span", { key: 'e5daf40e56a6ac2d79440fc62424362f121f6fbd', slot: "label" }, "Country"), TimeZone.Alpha2.values.map(country => (index.h("smoothly-item", { value: country }, en.from(country))))), index.h("smoothly-input-date", { key: 'ff85538ce1aa8b04b69fada24c8c1ebb7e0bab12', name: "birthday" }, "Date of birth"), index.h("smoothly-input-reset", { key: '816e986b3a198860cbabf2869b440e10fe60e620', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'e912e9b466f52c4aad5d43ac0fca19ec155560c5', slot: "submit", size: "icon", color: "success" }))));
|
|
9049
9049
|
}
|
|
9050
9050
|
};
|
|
9051
9051
|
SmoothlyFormDemoTyped.style = SmoothlyFormDemoTypedStyle0;
|
|
@@ -9150,7 +9150,7 @@ const SmoothlyIcon = class {
|
|
|
9150
9150
|
}
|
|
9151
9151
|
render() {
|
|
9152
9152
|
var _a;
|
|
9153
|
-
return index.h(index.Host, { key: '
|
|
9153
|
+
return index.h(index.Host, { key: '9020a09ffba054d3478a3ae7df25c7a785e9f7a4', title: this.tooltip, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
9154
9154
|
}
|
|
9155
9155
|
get element() { return index.getElement(this); }
|
|
9156
9156
|
static get watchers() { return {
|
|
@@ -9172,7 +9172,7 @@ const SmoothlyIconDemo = class {
|
|
|
9172
9172
|
this.props = {};
|
|
9173
9173
|
}
|
|
9174
9174
|
render() {
|
|
9175
|
-
return (index.h(index.Host, { key: '
|
|
9175
|
+
return (index.h(index.Host, { key: '76d04985ea3b05b89e3924d1477e2152cf69987e' }, index.h("h2", { key: '55a228ff66264dee9b1a33451dd38624e36405fd' }, "Filter and Variants"), index.h("smoothly-form", { key: 'b7028afd552ad08a426a576334edc075927d4da0', onSmoothlyFormInput: e => (this.display = e.detail) }, index.h("smoothly-input", { key: 'ef32f99e3efa643130eafe143ff3eb041eb740de', name: "filter" }, "Filter"), index.h("smoothly-input-select", { key: '95246b9a7714f3fa94c5bb9aed572acbc043943a', name: "variant" }, index.h("span", { key: '945522c24b5bd7e486428ff874728c126bfe2bb7', slot: "label" }, "Variant"), index.h("smoothly-item", { key: '624784f7b0621c9d9bc582ff521fd7d027ab4740', value: "outline" }, "outline"), index.h("smoothly-item", { key: '781872747dd78da5c18307937eae02546a54645f', value: "sharp" }, "sharp"), index.h("smoothly-input-clear", { key: '62f2a2dcecd806ab989784da1d29dc1d55d2181c', slot: "end" }))), index.h("h2", { key: '02700b2b3e514ef0475b89049df54839d1d99818' }, "Props"), index.h("smoothly-form", { key: 'ee64fa2e888fc8d5eee88c5f6ba2ac56073a485b', onSmoothlyFormInput: e => (this.props = e.detail) }, index.h("smoothly-input-select", { key: '84f79069f3059fb7c6ff9787b8dea43d240fcb04', name: "color" }, index.h("span", { key: 'e1384bdbbad1d3ef47d18fe7701515764c21f51f', slot: "label" }, "Color"), Scrollable.Color.values.map(color => (index.h("smoothly-item", { value: color, color: color }, color))), index.h("smoothly-input-clear", { key: '57bab5535b6984a060d7a115a700437a9792531a', slot: "end" })), index.h("smoothly-input-select", { key: 'cedc770b05430217c136caf5fb5a6fcc05a99d30', name: "fill" }, index.h("span", { key: 'dc0646109f5a72d1701b7c248e4c998a4cc81642', slot: "label" }, "Fill"), Scrollable.Fill.values.map(fill => (index.h("smoothly-item", { value: fill }, fill))), index.h("smoothly-input-clear", { key: 'd639c904f93b4e705378d2327fd711de594020ec', slot: "end" })), index.h("smoothly-input-select", { key: '0e54bdadbe97e37890076ca87bd4b7e95cf4360f', name: "flip" }, index.h("span", { key: 'c8ef684d2a5f69ded9f0084fd2810e89c15fc330', slot: "label" }, "Flip"), index.h("smoothly-item", { key: '52ff2983e7fcecc19de0e9b93bf7f0c74a232eab', value: "x" }, "x"), index.h("smoothly-item", { key: 'c2b73656f06d4b843855623840603ce11c92dcc0', value: "y" }, "y"), index.h("smoothly-input-clear", { key: 'b245af6ebbc40ad4d0497b3145140e628be0afb8', slot: "end" })), index.h("smoothly-input-select", { key: '024759f276ae3ffcbdd736c07d291db66f9d951d', name: "size" }, index.h("span", { key: '6cddfc1203383bd0e8262d72f830e5f0f9018db1', slot: "label" }, "Size"), index.h("smoothly-item", { key: 'ea1550b29efa366731efa1094de22a3b198ab21b', value: "tiny" }, "tiny"), index.h("smoothly-item", { key: '0d71e4dd9a2d4f5bc8a4fb433cca1c0168acc90e', value: "small" }, "small"), index.h("smoothly-item", { key: '77648ec680152d4eff67a94ee973f914a4fa4ac6', value: "medium" }, "medium"), index.h("smoothly-item", { key: '8e99089682b90d50295eba87e2f962851d5e98a4', value: "large" }, "large"), index.h("smoothly-item", { key: 'd8bdde05960be9319372854c3c16e4a8dcbca8a0', value: "xlarge" }, "xlarge"), index.h("smoothly-input-clear", { key: 'f5db639f69afffd1a00b2e052d447c287f135e04', slot: "end" })), index.h("smoothly-input-range", { key: 'c1357626e97be16d3c132a6037379de2d7003871', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", index.h("smoothly-input-clear", { key: 'ebb027ab694dc4f8641f0d158ec8d637f24ef9b9', slot: "end" }))), index.h("h1", { key: '114eb0be41737d8b679a4b2c4e583552cc9b3bcd' }, "Icons"), index.h("div", { key: '16fb9b9010f0ab0ca2729eb5fd3aaf799512f702', class: "icons" }, [
|
|
9176
9176
|
...Scrollable.Icon.Name.values
|
|
9177
9177
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
9178
9178
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -9617,7 +9617,7 @@ const SmoothlyInput = class {
|
|
|
9617
9617
|
}
|
|
9618
9618
|
render() {
|
|
9619
9619
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
9620
|
-
return (index.h(index.Host, { key: '
|
|
9620
|
+
return (index.h(index.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(); } }, index.h("slot", { key: 'aaaa87666cf2c318eb0cf5a8a2b8df897b2f5d3d', name: "start" }), index.h("div", { key: 'ffa189d0c2312eede65a0ba0adb10e189a59d91c', class: "smoothly-input-container" }, index.h("div", { key: 'b968632b22fa137d485a6410f9a082c581eb0941', class: "guide" }, index.h("div", { key: '395d499fbfab5a9dd4ba70f28ab3790e5a1d2201', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), index.h("div", { key: 'f78c326ffeebf0b9be35f46506a34384c207ea33', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), index.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) => {
|
|
9621
9621
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
9622
9622
|
if (!this.readonly && !this.disabled)
|
|
9623
9623
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -9632,7 +9632,7 @@ const SmoothlyInput = class {
|
|
|
9632
9632
|
this.smoothlyUserInput.emit({ name: this.name, value: this.stateHandler.getValue(this.state) });
|
|
9633
9633
|
}
|
|
9634
9634
|
}
|
|
9635
|
-
} }), index.h("label", { key: '
|
|
9635
|
+
} }), index.h("label", { key: '7cb7865c02d3017807a09caffb2b6f551e4b01cc', class: "label float-on-focus", htmlFor: this.name }, index.h("slot", { key: '4ff4e42a697e5b8f5b1963a73e3b1e54f654f673' }))), this.copyable && this.value && (index.h("span", { key: '8395817fc60a71dc6c2b74cd2b42e5a765841448', class: "copyable" }, index.h("small", { key: '899bc49fe53abd066d154d02c46d21bd6a0379da' }, this.copied ? "Copied!" : "Copy"), index.h("smoothly-icon", { key: '5b110c5522cc03f8e944b505197bf9eb83139fc6', name: "copy-outline", size: "small", onClick: () => this.copyText(this.value), onMouseLeave: () => (this.copied = false) }))), index.h("smoothly-icon", { key: 'd8b2c4248adce0440568e9fd44c712377565e7f5', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", tooltip: this.errorMessage }), index.h("slot", { key: '8a3a7f7704b9073b8b9e4b82ddb20cf28730b7c8', name: "end" })));
|
|
9636
9636
|
}
|
|
9637
9637
|
get element() { return index.getElement(this); }
|
|
9638
9638
|
static get watchers() { return {
|
|
@@ -9723,10 +9723,10 @@ const SmoothlyInputCheckbox = class {
|
|
|
9723
9723
|
}
|
|
9724
9724
|
}
|
|
9725
9725
|
render() {
|
|
9726
|
-
return (index.h(index.Host, { key: '
|
|
9726
|
+
return (index.h(index.Host, { key: 'bb6f4d6ec2194928ec0e7f1c2a58cce9c49ac552' }, index.h("input", { key: 'ccd673f8d7279a26b2d303a0c0790793697fdf01', type: "checkbox", id: this.id, checked: this.checked, disabled: this.disabled || this.readonly, onChange: async (e) => {
|
|
9727
9727
|
this.checked = e.target.checked;
|
|
9728
9728
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
9729
|
-
} }), this.checked && index.h("smoothly-icon", { key: '
|
|
9729
|
+
} }), this.checked && index.h("smoothly-icon", { key: 'c3bd2176759b4c069ba0c10d5a9bf471a47250a8', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: '977f8c81a690951ead38770b7752b9b41f6dbb20', htmlFor: this.id }, index.h("slot", { key: 'ee849d646b9a22d5828283218d4cf69d0bdc44e9' })), index.h("span", { key: 'd014a1a601d3bd394104f9159bb3558dd8638b0a', class: "smoothly-checkbox-end-slot" }, index.h("slot", { key: '535f36bf90ec3183f5013ae7231ad7e323a173f0', name: "end" }))));
|
|
9730
9730
|
}
|
|
9731
9731
|
get element() { return index.getElement(this); }
|
|
9732
9732
|
static get watchers() { return {
|
|
@@ -9780,7 +9780,7 @@ const SmoothlyInputClear = class {
|
|
|
9780
9780
|
}
|
|
9781
9781
|
render() {
|
|
9782
9782
|
var _a;
|
|
9783
|
-
return (index.h(index.Host, { key: '
|
|
9783
|
+
return (index.h(index.Host, { key: 'cd9c333c2ac4a663fe6cebdb037074ef4cefab41', title: this.tooltip }, index.h("smoothly-button", { key: 'e1fd1227b620c3cbef9c4ba1fd41ab90cae36f56', 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) }, index.h("slot", { key: 'f3a383e5fee2538aa0cc228fccaf1976b5bc7827' }), index.h("smoothly-icon", { key: '7cffe6821b2bd1ee11ff74f3bd63a856d688886c', name: "close", size: "tiny" }))));
|
|
9784
9784
|
}
|
|
9785
9785
|
get element() { return index.getElement(this); }
|
|
9786
9786
|
};
|
|
@@ -9938,7 +9938,7 @@ const SmoothlyInputColor = class {
|
|
|
9938
9938
|
}
|
|
9939
9939
|
render() {
|
|
9940
9940
|
var _a, _b, _c, _d, _e, _f;
|
|
9941
|
-
return (index.h(index.Host, { key: '
|
|
9941
|
+
return (index.h(index.Host, { key: '9b1cbc0ab4531b0be3c6a8ec5f494e38aad0992e', style: {
|
|
9942
9942
|
"--hexCode": this.value,
|
|
9943
9943
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
9944
9944
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -9947,7 +9947,7 @@ const SmoothlyInputColor = class {
|
|
|
9947
9947
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
9948
9948
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
9949
9949
|
"--element-height": `${this.element.clientHeight}px`,
|
|
9950
|
-
} }, index.h("smoothly-input", { key: '
|
|
9950
|
+
} }, index.h("smoothly-input", { key: '4b4670e41f318a9e905bd919f61f41dd079135fd', value: this.value, color: this.color, looks: undefined, name: this.name, type: "hex-color", readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, index.h("slot", { key: 'e09a966d52d5767eecaabd3d58a2bf58154df117' })), index.h("div", { key: 'e386dd1331ea1cd887738cccdefff94fed71adc5', class: "color-sample" }), index.h("smoothly-icon", { key: 'e1b051f1cd915ea1410d9eb83fde16e1542ab6d2', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && !this.disabled && this.openDropdown() }), index.h("div", { key: '1c60634acd1193c2bd6e0c014494c19ab6e27e53' }, index.h("slot", { key: '51f601cf28faa654139009e2cfdae637085543da', name: "end" })), this.open && !this.readonly && !this.disabled && (index.h("div", { key: '1ba1f943bd8fe436d21d5fd8ae56c8f2ef466874', class: "rgb-sliders" }, index.h("smoothly-toggle-switch", { key: 'dfbf03c32e92c6db7bb48aafb430c8df8f49e6d9', title: `${this.sliderMode === "rgb" ? "To HSL" : "To RGB"}`, onSmoothlyToggleSwitchChange: event => this.handleSwitchMode(event), size: "tiny", checkmark: false, selected: this.sliderMode === "hsl" }), Object.entries(this.rgb).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "rgb" ? { display: "none" } : {}, name: key, min: 0, max: 255, color: undefined, type: "text", value: value, step: 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() }))), Object.entries(this.hsl).map(([key, value]) => (index.h("smoothly-input-range", { style: this.sliderMode != "hsl" ? { display: "none" } : {}, name: key, min: 0, max: key === "h" ? 359 : 1, color: undefined, type: key === "s" || key === "l" ? "percent" : "text", value: (key === "s" || key === "l") && value ? value / 100 : value, step: key === "s" || key === "l" ? 0.01 : 1, outputSide: "right", onSmoothlyInput: event => this.sliderInputHandler(event), onSmoothlyUserInput: event => event.stopPropagation(), label: key.toUpperCase() })))))));
|
|
9951
9951
|
}
|
|
9952
9952
|
get element() { return index.getElement(this); }
|
|
9953
9953
|
static get watchers() { return {
|
|
@@ -9964,7 +9964,7 @@ const SmoothlyInputColorDemo = class {
|
|
|
9964
9964
|
index.registerInstance(this, hostRef);
|
|
9965
9965
|
}
|
|
9966
9966
|
render() {
|
|
9967
|
-
return (index.h(index.Host, { key: '
|
|
9967
|
+
return (index.h(index.Host, { key: '8b90083f43a8db87c43f33d13c0e4125258eb8d6' }, index.h("h2", { key: '354d9f00965e36cc287031640278cffae58edf93' }, "Color"), index.h("smoothly-input-color", { key: '93daa25294822d9293c88c73cc1896934908d48a', name: "color" }, "Choose color")));
|
|
9968
9968
|
}
|
|
9969
9969
|
};
|
|
9970
9970
|
SmoothlyInputColorDemo.style = "style.css";
|
|
@@ -9985,7 +9985,7 @@ const SmoothlyInputDate = class {
|
|
|
9985
9985
|
this.isDifferentFromInitial = false;
|
|
9986
9986
|
this.hasFocus = false;
|
|
9987
9987
|
this.observer = Editable.Observer.create(this);
|
|
9988
|
-
this.locale =
|
|
9988
|
+
this.locale = undefined;
|
|
9989
9989
|
this.color = undefined;
|
|
9990
9990
|
this.looks = undefined;
|
|
9991
9991
|
this.name = undefined;
|
|
@@ -10092,7 +10092,7 @@ const SmoothlyInputDate = class {
|
|
|
10092
10092
|
event.stopPropagation();
|
|
10093
10093
|
}
|
|
10094
10094
|
render() {
|
|
10095
|
-
return (index.h(index.Host, { key: '
|
|
10095
|
+
return (index.h(index.Host, { key: 'f485bdfddf2c5f33038866d4a9133b9f6e0a59bc', tabindex: this.disabled ? undefined : 0, class: { "has-value": !!this.value, "has-text": this.hasText, "floating-label": this.alwaysShowGuide }, onClick: (e) => this.onClick(e) }, index.h("slot", { key: '56682a22b2609c96ce58848b7621ff3322ad9240', name: "start" }), index.h("label", { key: 'e8bc5bddb4ac1fedca4726d5179372bc47dcf72d', class: "label float-on-focus" }, index.h("slot", { key: '495639abbc4f50ab5fdc64c64a0f77cdeaa64912' })), this.placeholder && index.h("span", { key: '9149cc0a5c29d26c3f7f112979c4317420402807', class: "smoothly-date-placeholder" }, this.placeholder), index.h("smoothly-date-text", { key: '85090a2b409e555de2c8c06df7b04d37aecb1a89', ref: el => (this.dateTextElement = el), locale: this.locale, readonly: this.readonly, disabled: this.disabled, showLabel: this.showLabel, value: this.value, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.hasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateTextChange: e => this.onUserChangedValue(e), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (this.open = false), (_a = this.dateTextElement) === null || _a === void 0 ? void 0 : _a.deselect()); } }), index.h("span", { key: '98e54b0eed76b3ac412afe6454222cea7de5fba9', class: "icons", ref: el => (this.iconsElement = el) }, index.h("slot", { key: '487c69e90a413abe916ecb4bc828548f37f11b3f', name: "end" })), this.open && !this.readonly && (index.h("smoothly-calendar", { key: '9e1506697be46a758179b88ee0cdc11a74cbd2e6', ref: el => (this.calendarElement = el), doubleInput: false, value: this.value, onSmoothlyValueChange: e => this.onUserChangedValue(e), max: this.max, min: this.min }, index.h("div", { key: '73c2bfce422bf391b04fb983d8b4847c1e00ec26', slot: "year-label" }, index.h("slot", { key: '3b64d8b7a68685629ce040b37623db924c3e5f5c', name: "year-label" })), index.h("div", { key: 'e54348fecfb8026e0488b13267389af5d8bb4986', slot: "month-label" }, index.h("slot", { key: 'b83518e048bb3b27ba32a36351d6f9fd047d8454', name: "month-label" }))))));
|
|
10096
10096
|
}
|
|
10097
10097
|
get element() { return index.getElement(this); }
|
|
10098
10098
|
static get watchers() { return {
|
|
@@ -10114,7 +10114,7 @@ const SmoothlyInputDateDemo = class {
|
|
|
10114
10114
|
this.alwaysShowGuide = false;
|
|
10115
10115
|
}
|
|
10116
10116
|
render() {
|
|
10117
|
-
return (index.h(index.Host, { key: '
|
|
10117
|
+
return (index.h(index.Host, { key: '191fe0a37d160b07317f1585c0a0b6d09c22983e' }, index.h("div", { key: 'c289398819d08aa6e608bf1e98d9149f7b981de7' }, index.h("h2", { key: '8c0875cfe6af62e2aefb1faba9185a6f1813cc58' }, "Date input"), index.h("p", { key: '7908bdc75aabfe06fa926e53cd9c854b3437c44c' }, "Different locales formatting the same date"), index.h("smoothly-button", { key: 'f4d9f68bda448d5e6dc7f6f61d124c94b24a5573', color: "primary", onClick: () => (this.date = this.date ? TimeZone.Date.next(this.date) : TimeZone.Date.now()) }, "Set date"), index.h("smoothly-input-checkbox", { key: 'fb3f1a290a0bae953e5365d5c9e96b989dde94ee', looks: "transparent", onSmoothlyUserInput: e => {
|
|
10118
10118
|
this.alwaysShowGuide = e.detail.value;
|
|
10119
10119
|
console.log(this.alwaysShowGuide);
|
|
10120
10120
|
} }, "Always Show Guide")), ["en-US", "en-GB", "de-DE", "se-SE"].map(locale => (index.h(index.Fragment, null, index.h("smoothly-input-date", { locale: locale, name: locale, looks: "border", value: this.date, alwaysShowGuide: this.alwaysShowGuide }, locale, index.h("smoothly-input-clear", { slot: "end" })), index.h("smoothly-input-date-range", { locale: locale, name: locale + "-range", looks: "border", start: this.date, end: this.date ? TimeZone.Date.next(this.date) : undefined, alwaysShowGuide: this.alwaysShowGuide }, locale, " Range", index.h("smoothly-input-clear", { slot: "end" })))))));
|
|
@@ -10136,7 +10136,7 @@ const SmoothlyInputDateRange = class {
|
|
|
10136
10136
|
this.isDifferentFromInitial = false;
|
|
10137
10137
|
this.hasFocus = false;
|
|
10138
10138
|
this.observer = Editable.Observer.create(this);
|
|
10139
|
-
this.locale =
|
|
10139
|
+
this.locale = undefined;
|
|
10140
10140
|
this.name = "dateRange";
|
|
10141
10141
|
this.color = undefined;
|
|
10142
10142
|
this.looks = undefined;
|
|
@@ -10249,15 +10249,15 @@ const SmoothlyInputDateRange = class {
|
|
|
10249
10249
|
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
10250
10250
|
}
|
|
10251
10251
|
render() {
|
|
10252
|
-
return (index.h(index.Host, { key: '
|
|
10252
|
+
return (index.h(index.Host, { key: 'a21eb3b08441eb4e9607c1c648c2587195d84eea', tabindex: this.disabled ? undefined : 0, class: {
|
|
10253
10253
|
"has-value": !!(this.start || this.end),
|
|
10254
10254
|
"has-text": !!(this.startHasText || this.endHasText),
|
|
10255
10255
|
"floating-label": this.alwaysShowGuide,
|
|
10256
|
-
} }, index.h("span", { key: '
|
|
10256
|
+
} }, index.h("span", { key: '07816f2a676822e3f3bc1e72a5fe735ff598927b', class: "smoothly-date-range-input-part", onClick: (e) => this.onClick(e) }, index.h("slot", { key: '8477be4a3ca2b5af8c6735f2ddde2b36d6f48bf2', name: "start" }), index.h("label", { key: '773c7414fc909c2eba62ff688654786b6d7d0398', class: "label float-on-focus" }, index.h("slot", { key: '4ba16fb5d7467fff476f8de3384245d9fb24bca7' })), this.placeholder && index.h("span", { key: '15f8638cedd9fe16810980f662abb19bdb9d7aef', class: "smoothly-date-range-placeholder" }, this.placeholder), index.h("smoothly-date-text", { key: 'b5af15d843991f7b56d9bd1c2ab274e9fbf3e023', ref: el => (this.startTextElement = el), class: "start-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.startHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "start")), onSmoothlyDateTextNext: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.select()); }, onSmoothlyDateTextDone: e => {
|
|
10257
10257
|
var _a, _b;
|
|
10258
10258
|
return (e.stopPropagation(),
|
|
10259
10259
|
this.end ? ((_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)) : (_b = this.endTextElement) === null || _b === void 0 ? void 0 : _b.select());
|
|
10260
|
-
}, value: this.start, readonly: this.readonly, disabled: this.disabled, invalid: this.invalid, showLabel: this.showLabel }), index.h("span", { key: '
|
|
10260
|
+
}, value: this.start, readonly: this.readonly, disabled: this.disabled, invalid: this.invalid, showLabel: this.showLabel }), index.h("span", { key: 'f7227cfad45f28852efcedcae0e7d5b69c01af5d', class: "smoothly-date-range-separator" }, " \u2013 "), index.h("smoothly-date-text", { key: '6dfde63b34f116ec6f5c4ed5938dae3d76b5c276', ref: el => (this.endTextElement = el), class: "end-date-text", locale: this.locale, onSmoothlyDateTextHasText: e => (e.stopPropagation(), (this.endHasText = e.detail)), onSmoothlyDateTextFocusChange: e => (e.stopPropagation(), (this.hasFocus = e.detail)), onSmoothlyDateTextChange: e => (e.stopPropagation(), this.onSmoothlyDateTextChange(e, "end")), onSmoothlyDateTextPrevious: e => { var _a; return (e.stopPropagation(), (_a = this.startTextElement) === null || _a === void 0 ? void 0 : _a.select("end")); }, onSmoothlyDateTextNext: e => e.stopPropagation(), onSmoothlyDateTextDone: e => { var _a; return (e.stopPropagation(), (_a = this.endTextElement) === null || _a === void 0 ? void 0 : _a.deselect(), (this.open = false)); }, value: this.end, readonly: this.readonly, disabled: this.disabled, invalid: this.invalid, showLabel: this.showLabel })), index.h("span", { key: '150ff2ee50bd018e1a329a9a2e5345f8a62a8e59', class: "icons" }, index.h("slot", { key: '37810249e44f6e0b048ccc00a18b77ddb84ac38c', name: "end" })), this.open && (index.h("smoothly-calendar", { key: '92e39805f60c598a22adac199b20e44c816f3ed8', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => (e.stopPropagation(), (this.start = e.detail)), onSmoothlyEndChange: e => (e.stopPropagation(), (this.end = e.detail)), onSmoothlyDateSet: e => e.stopPropagation(), onSmoothlyDateRangeSet: e => {
|
|
10261
10261
|
e.stopPropagation();
|
|
10262
10262
|
this.open = false;
|
|
10263
10263
|
this.smoothlyInput.emit({ [this.name]: e.detail });
|
|
@@ -10390,32 +10390,32 @@ const SmoothlyInputDateTime = class {
|
|
|
10390
10390
|
this.isDifferentFromInitial = false;
|
|
10391
10391
|
}
|
|
10392
10392
|
render() {
|
|
10393
|
-
return (index.h(index.Host, { key: '
|
|
10393
|
+
return (index.h(index.Host, { key: '4a9bc8cb5a9617237b63cff35930d693dbf11d1f' }, index.h("smoothly-input", { key: '7ab42b7d0fb7389703a42b460939ce8cee8698fb', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && !this.disabled && (this.open = !this.open), onClick: () => !this.readonly && !this.disabled && (this.open = !this.open), readonly: this.readonly, disabled: this.disabled, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
10394
10394
|
e.stopPropagation();
|
|
10395
10395
|
this.date = e.detail.date;
|
|
10396
10396
|
}, onSmoothlyUserInput: async (e) => {
|
|
10397
10397
|
e.stopPropagation();
|
|
10398
10398
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
10399
|
-
} }, index.h("slot", { key: '
|
|
10399
|
+
} }, index.h("slot", { key: '8fc841cb3735e2b4e2e13fc974dde4d4271e0627' })), index.h("smoothly-input", { key: '012223abf5a9cf71b378da011cc5dcee5b75be8e', name: "hour", type: "integer", max: 23, pad: 2, value: this.hour, readonly: this.readonly, disabled: this.disabled, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
10400
10400
|
e.stopPropagation();
|
|
10401
10401
|
this.hour = e.detail.hour;
|
|
10402
10402
|
}, onSmoothlyUserInput: async (e) => {
|
|
10403
10403
|
e.stopPropagation();
|
|
10404
10404
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
10405
|
-
} }), index.h("span", { key: '
|
|
10405
|
+
} }), index.h("span", { key: '79c8a593aea2d4bead18363b41264d3ce1205bd8', class: "colon" }, ":"), index.h("smoothly-input", { key: '8b76dea985a9fc687279a50a6e8c3307a2465907', name: "minute", type: "integer", max: 59, pad: 2, value: this.minute, readonly: this.readonly, disabled: this.disabled, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
10406
10406
|
e.stopPropagation();
|
|
10407
10407
|
this.minute = e.detail.minute;
|
|
10408
10408
|
}, onSmoothlyUserInput: async (e) => {
|
|
10409
10409
|
e.stopPropagation();
|
|
10410
10410
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
10411
|
-
} }), index.h("span", { key: '
|
|
10411
|
+
} }), index.h("span", { key: '4bb9c14d94c8e2e9e9dbacd01eff9d69023a732a', class: "icons" }, index.h("smoothly-icon", { key: '8be49066019b25edd9d8c98e453b91fe55ba862c', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", tooltip: this.errorMessage }), index.h("slot", { key: 'a6dce3592939a8444cd81b5f8733e24db3c1119d', name: "end" })), this.open && !this.readonly && (index.h("smoothly-calendar", { key: '7bcb0a7a972bfed570c9d0c09ed1c52686817cb7', doubleInput: false, value: this.value ? TimeZone.DateTime.getDate(this.value) : undefined, min: this.min ? TimeZone.DateTime.getDate(this.min) : undefined, max: this.max ? TimeZone.DateTime.getDate(this.max) : undefined, onSmoothlyValueChange: async (e) => {
|
|
10412
10412
|
e.stopPropagation();
|
|
10413
10413
|
this.date = e.detail;
|
|
10414
10414
|
this.smoothlyUserInput.emit({ name: this.name, value: await this.getValue() });
|
|
10415
10415
|
}, onSmoothlyDateSet: e => {
|
|
10416
10416
|
e.stopPropagation();
|
|
10417
10417
|
this.open = false;
|
|
10418
|
-
} }, index.h("div", { key: '
|
|
10418
|
+
} }, index.h("div", { key: '9f30ea81ad21226069a927fb5826002e978c28c2', slot: "year-label" }, index.h("slot", { key: 'd59c4081c59e07ec1cda4338997b8962f247078a', name: "year-label" })), index.h("div", { key: 'acbe1fa8ad6b9e4d9d02e3b8b9300871c46e329a', slot: "month-label" }, index.h("slot", { key: '11cfb34bdc37a3c76eb37050a27dfd4821681587', name: "month-label" }))))));
|
|
10419
10419
|
}
|
|
10420
10420
|
get element() { return index.getElement(this); }
|
|
10421
10421
|
static get watchers() { return {
|
|
@@ -10442,14 +10442,14 @@ const SmoothlyInputDemo = class {
|
|
|
10442
10442
|
this.alphanumeric = "!@##";
|
|
10443
10443
|
}
|
|
10444
10444
|
render() {
|
|
10445
|
-
return (index.h(index.Host, { key: '
|
|
10445
|
+
return (index.h(index.Host, { key: '7f574c5c82806c7ee00a06c793b883984cf6a317' }, index.h("smoothly-input-demo-standard", { key: '7776c856dfbc7795c37b12f4e1ccff9a58a53f02' }), index.h("smoothly-input-date-demo", { key: '8695fac1f681495d23a203f0c1e658369a5208e5' }), index.h("smoothly-input-demo-user-input", { key: 'a6b2084ab3bb40d10b12807cbfa18ec4aa8c80a5' }), index.h("div", { key: '50487efa2c862624ce4738c461878b38efcbb8f9', class: "inputs" }, index.h("h2", { key: '48456a442136dcf27f068d619a4648f21231d4df' }, "Calendar"), index.h("smoothly-input-date", { key: '4ea9c301b995bd9ba221deec879a46c4fca68b5b', name: "some-date" }, "Calendar"), index.h("smoothly-input-date-time", { key: '0e87054e90eba9ac97cdcd48cdc2094deb765efb', name: "someDateTime", value: TimeZone.DateTime.now() }, "DateTime"), index.h("h2", { key: 'c7967bf8213f8e987ee1350ac4b86bbddd4794bf' }, "Date Range"), index.h("smoothly-input-date-range", { key: 'c5aee42f2de2c7da2b95e724e4e545e5459f7ca6', name: "testing", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-01", max: "2025-01-31" }), index.h("smoothly-input-date-range", { key: '1371f956391aa79369174d3bfc22bdb5ee5cf996', name: "testing", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-10", max: "2024-12-30" }, index.h("smoothly-input-reset", { key: 'd1b12734f006eaf59d8543c0578539f67245e0f7', slot: "end", size: "icon" })), index.h("smoothly-input-date-range", { key: '23306a5a8f414e14691e9fa39c9282dfc6ae3d1d', looks: "grid", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
10446
10446
|
"--smoothly-input-border-radius": "0.5rem",
|
|
10447
|
-
} }, index.h("smoothly-input-clear", { key: '
|
|
10447
|
+
} }, index.h("smoothly-input-clear", { key: '1774cefd3304bfa5c283a10cc44d85f6fe1eacc2', slot: "end", size: "icon" })), index.h("h2", { key: '7dc7b7271a81cd121f10fa61e28e88eaa037af3e' }, "Date"), index.h("smoothly-input-date", { key: '17b588159bde4dfbf0146ac942fa235d8d998688' }, "Date"), index.h("smoothly-input-date", { key: 'b9445869f64033bac130b0b0dca501752610af95', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), index.h("smoothly-input-date", { key: 'f34cd3598997c242ddb6b76698f7f821a601674e', value: "2021-10-28" }, "Date", index.h("smoothly-input-reset", { key: 'a46fc2210b837bebdc3cc7a27b07067e0a679476', slot: "end", size: "icon" })), index.h("smoothly-input-date", { key: 'a3811bb817fbdf3d28474494b8a7dffd71fac67a', value: "2021-10-28" }, "Date", index.h("smoothly-input-clear", { key: '0499c2a7c5434ed716ad1ef87c2786609d94e97e', slot: "end", size: "icon" })), index.h("h2", { key: '683a2678f46ad1989cc4dd2edef990430beb547c' }, "Select"), index.h("div", { key: '682acef1f140100dd2e985b6899b89e4914e771e', class: "select-div" }, index.h("smoothly-input-select", { key: '2e38d749bf959df4d3ced73e8e9d59b8e3d38a4e', name: "select-dessert", looks: "border" }, index.h("label", { key: '01432777fc4d5bbdde9c83e24015513b6c14016f', slot: "label" }, "Select with clear button"), index.h("smoothly-item", { key: '0f53eaac56e52386945622443068d6769f57b382', value: "1" }, "Ice cream"), index.h("smoothly-item", { key: '4ad0fee8dade01fd46c1c97397bebb9183385562', value: "2" }, "Sponge cake"), index.h("smoothly-item", { key: '67fb0107c5cd4294725f6a8399f5c93d589ee717', value: "3", disabled: true }, "Disabled Item"), index.h("smoothly-item", { key: '422b942a8306f00eb5cff7ef79d81ecf57033291', value: "4" }, "Cookie"), index.h("smoothly-item", { key: 'c77baa484e234d42d66c0e2a436f5ecdd7510b33', value: "5" }, "Croissant"), index.h("smoothly-item", { key: '36f84fdd871d2b8b7b89df7da54d07883c052282', value: "6" }, "Chocolate fondue"), index.h("smoothly-input-clear", { key: '1b6ab234c1c7c58bb065165373947f922ba466b4', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: 'cc2452592ab8c6b99b9630f9e464128c4a464350', multiple: true, name: "select-dessert-multiple", looks: "border" }, index.h("label", { key: '9172fbe566574d3a6376d69dec7a5d6b50834633', slot: "label" }, "Select multiple with reset button"), index.h("smoothly-item", { key: '75f90ab0248783d98e5fabdbcca908da69b1af21', value: "ice cream" }, "Ice cream"), index.h("smoothly-item", { key: '91adf3c9485a41aed6a5acb6edad6a76c91e13b3', value: "sponge cake" }, "Sponge cake"), index.h("smoothly-item", { key: '3dc66017de31e85c8d9ea8a5127a1cb2b7760071', selected: true, value: "cookie" }, "Cookie"), index.h("smoothly-item", { key: '733bd688bde445381df687fd17fb0d8a0ed8bf3b', value: "croissant" }, "Croissant"), index.h("smoothly-item", { key: '1425d34d36caa1cb8bc15307110b4c5dfda7c2d1', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), index.h("smoothly-input-reset", { key: '5ac44d62a99fa114f404edc847b645305f4ea42d', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: '79fb109059a58e0f50f525f4437639c621b83b06', name: "spirit-animals", looks: "border", mutable: true }, index.h("label", { key: '33400cbca7257a35b9c931e046c51c18e50c9b55', slot: "label" }, "Select or add new options"), index.h("smoothly-item", { key: '0b394b9204545e7fe0ea938127c6cb625eaa919e', value: "manatee" }, "Manatee"), index.h("smoothly-item", { key: '8643b17c6b78739ce7c41737fd7ee764f4933c0d', selected: true, value: "cthulu" }, "Cthulu")), index.h("smoothly-input-select", { key: '1c6f7c00f1c21a3be1a8390a28306a5720982eae', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: 'b07f756a35e549b77e50be75f3a5e2fafc2b3099', value: "folder", selected: true }, index.h("smoothly-icon", { key: 'c50555d5282480fd507d55311bbfe0723dd03d53', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: '6fa0811cc61e90332301cefcb2688ff27e31019a', value: "camera" }, index.h("smoothly-icon", { key: 'ab64f6988bb978556353d6d0097617d526ac304c', size: "small", name: "camera-outline" }))), index.h("smoothly-input-select", { key: '7a844e5cf695497cc30429d3e0bfb51cf30017ce', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '3b319069eb3dd5c5c7270acf6e16b5a3b7655dbf', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
10448
10448
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
10449
|
-
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: '
|
|
10449
|
+
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: '24aa969e8e2608189b3c443e09ef3fa98c9feedd', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '9c9c9e0d707a6f96fcba1b686873a9010be75a7d', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: '0b6387482d71923df9e0b9d717d3ba88d8c98bd1', value: "1" }, "January"), index.h("smoothly-item", { key: '0947d179f35c567b557bda9dad655a8e25f6dd25', value: "2" }, "February"), index.h("smoothly-item", { key: '38daf41ad88e97e0852f296df2e5489948fce0f8', value: "3" }, "March"), index.h("smoothly-item", { key: '9ff729a187a5df043428043439a5f09ecc7260a4', value: "4" }, "April"), index.h("smoothly-item", { key: '71719ee81658c4897712459e3165accde7765bb8', value: "5" }, "May"), index.h("smoothly-item", { key: '7e917da27127b438a7de7d3c8e0aa3dce4eb2d72', value: "6" }, "June"), index.h("smoothly-item", { key: 'b70be51c019bf2f8dcf3e9e06168ac024b0a1c0b', value: "7" }, "July"), index.h("smoothly-item", { key: '32b97c0167a10cee962e417018b829723671ad50', value: "8" }, "August"), index.h("smoothly-item", { key: 'd54ca3fbb8cc3e1d68f9f68b9dbd4d432473e920', value: "9" }, "September"), index.h("smoothly-item", { key: 'd2209e23a9b8db4ea2281421dc108b177e1c04a7', value: "10" }, "October"), index.h("smoothly-item", { key: '73621556ac499b85857df738fc3bf1850cd4f964', value: "11" }, "November"), index.h("smoothly-item", { key: 'c6793237c76e6a26e374198ba2bdcdf9e8643251', value: "12" }, "December")), index.h("div", { key: '099d5c7456bc5836d7f0f2a840eb70ae81237f5a', class: "select-div-row" }, index.h("smoothly-input-select", { key: '804cf7f085aef7513ef3b76057af284dabab699c', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: '830e7259b185f6f5e4df5f31545063549c2a69b2', value: "folder", selected: true }, index.h("smoothly-icon", { key: 'abe9cdf7e8096b1b317bb6c62a9b274271479391', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: '01607bfabfaa6df288dfd242c90e41af8e4fe5b2', value: "camera" }, index.h("smoothly-icon", { key: '71481f1e468a8e3dde815421f18ec6ee94ed7384', size: "small", name: "camera-outline" })), index.h("smoothly-item", { key: 'a059b96cdc6c6d7df8ca5185b81d53680c635b22', value: "boat" }, index.h("smoothly-icon", { key: 'ebe1246148aa4df73a62461f885e4b846e502836', size: "small", name: "boat-outline" }))), index.h("smoothly-input-select", { key: '3eed3dc23316f18ab61b20a17ef3a602b8ebe7f2', name: "select-number", clearable: false }, this.numbers.map(number => (index.h("smoothly-item", { value: "number", selected: number === 3 }, number)))), index.h("smoothly-input", { key: 'bcfcc36500f746e17649c9ad9a553b88dc0823dc', name: "name", value: "Sten Qvist" }, "Name"))), index.h("h2", { key: '041402c92d6c43264d811dccc9b8ab6004a42792' }, "Duration"), index.h("smoothly-input", { key: '451397df5c93c9bc71b5a13aa5a3d40e6e7dd42f', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), index.h("smoothly-input", { key: '6fb8b8e8ea5b94a5fbdcca74b3852b75ef477a7c', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
10450
10450
|
const duration = e.detail.duration;
|
|
10451
10451
|
this.duration = duration;
|
|
10452
|
-
} }, "Duration"), index.h("h2", { key: '
|
|
10452
|
+
} }, "Duration"), index.h("h2", { key: 'a47dea26355bddf40255f0a88f72381b15b6fd39' }, "Integer with Min/Max"), index.h("smoothly-input", { key: '5708f669787dcfbe8fc18cd20ce1f43903331b3f', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), index.h("smoothly-input", { key: 'ba607eca48fd5d5c54da40c56f58f88b429a11c9', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), index.h("smoothly-input", { key: '3899120a4588724eb5486c713e6b3592f9490106', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), index.h("smoothly-input", { key: 'a83a35c1ddabdfe8338e5daa270642cd9a00cd7a', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), index.h("h2", { key: '69838545fe489b84e54394656f3fec9993214768' }, "Invalid text with warning icon and tooltip"), index.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"), index.h("h2", { key: 'd55229c36af45dbeab240431c674fd1fee27b49c' }, "Identifiers"), index.h("smoothly-input", { key: 'd7abf3ed7f1d633e0ba5abe6673a6e634a896738', type: "identifier-code" }, "Code"), index.h("smoothly-input", { key: '8d600bc128529a9a6091fa18f0bea9bed1a74d7a', type: "identifier-attribute" }, "Attribute"), index.h("smoothly-input", { key: '85a4a2f01be2b3fd39014833fd495958866838da', type: "identifier-snake" }, "Snake"), index.h("smoothly-input", { key: '035f5f628c25f3d0398c9e8dc10390e5dacc0024', type: "identifier-pascal" }, "Pascal"), index.h("smoothly-input", { key: '673f91b6cae1ba8b04b496e20e58d1a4d1c92965', type: "identifier-camel" }, "Camel"), index.h("h2", { key: '85a4af61aca5745d0125fb8305a8f640c0b5cdf1' }, "Input Alternatives"), index.h("smoothly-input", { key: 'e4b05f18bb44d4c7b9fdcef83551d9f8c591274b', type: "text", name: "name.last" }, index.h("smoothly-icon", { key: '2bdcd29f5ae945c37f5a7bb6e5587759bc567351', name: "checkmark-circle", slot: "start" }), "First Name"), index.h("smoothly-input", { key: '7b17f499a2061624e34fe89fb81d6cfbed54ccd6', type: "text", name: "name.first" }, "Last Name", index.h("smoothly-icon", { key: '58041447b7edc6ee18d0f4752c7efaf6767ad2af', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: '70d890653d67ad30256b754bdbe3ffd0a5699044', type: "text", name: "name.first", placeholder: "Smith" }, "Last Name", index.h("smoothly-icon", { key: 'a1836734b16b3cccdbc0af9b0d894ed478d45e0d', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: '6c2a657437514116b1ae60210b289004b2e6a956', placeholder: "test" }), index.h("smoothly-input-submit", { key: '8e686ba1a74b8f9d85cc6778a314c793946d248e', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), index.h("h4", { key: 'a5b71808338b0ae5f06806bcd97142581a2a11f9' }, "Smoothly checkboxes"), index.h("div", { key: '309b348a380979cd64fdab4a66fd302a48b12b6f', class: "checkbox-group" }, index.h("smoothly-input-checkbox", { key: 'efcc143919480eb5901b12800f01ea4847a2df14', disabled: true, name: "first-checkbox" }, index.h("smoothly-icon", { key: 'a8835c00691583079ff65b59f750f59d470538c1', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), index.h("smoothly-input-checkbox", { key: 'fefb3a5f492b1d39993ca89fc265b9312d0a75cb', name: "second-checkbox", checked: true }, index.h("smoothly-icon", { key: '916895ae8d167ad667109ea5a94ce72131e03cb6', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", index.h("smoothly-input-clear", { key: '26f2c7dccea2f4eb93fe8c82bd9291b2bc139c19', size: "icon", slot: "end" })), index.h("smoothly-input-checkbox", { key: '5c71f635dd09d730ba6048bbc4bdf3d40de58a05', name: "third-checkbox" }, "3rd")), index.h("h4", { key: '24380ae0e1f791eef55523ae58f818286b1414cf' }, "Smoothly Radio Buttons"), index.h("smoothly-input-radio", { key: '376572dae3e2bb0dce2a68fe3503277a0681079b', clearable: true, name: "radioFirstInput" }, index.h("smoothly-icon", { key: '149759fd8c4d501ad96744e01701142face0d6c2', name: "checkmark-circle", slot: "start" }), index.h("label", { key: '2032d793fc1c94de9cb856c06c64d0b03e6f77cd', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '50ccd0ae9fb6dfab3a27b574f7bee10ec96089e8', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '2f52388467ff677b40de490648d2c07cc3ee3b30', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: 'b2dee0bfdd05ccfff9995011e5cef0663241a214', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '3d990b0e3d8e629f00970acf2c8d1e30a79e4966', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: '9f56ea2525dd6bc4a6a889b170f49b79542dd590', name: "radioSecondInput" }, index.h("label", { key: 'dac6544a61c1f064360e5dd2b5520f63e2cc3938', slot: "label" }, "Not clearable"), index.h("smoothly-input-radio-item", { key: 'c4b32f24642b851f6b8da9c65df85df4294c598e', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'ca04462b6e8866f76edd48dcaac734b90f0a9b75', value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '6fa1b64cac9e953977a12687fa14a7218789f79c', value: "third" }, "Label 3"), index.h("smoothly-input-radio-item", { key: '4e32b3131c7becffb45d63a70926b8b0c2e1627f', value: "fourth" }, "Label 4"), index.h("smoothly-input-radio-item", { key: 'a841d0bf0bdde25c84b224e9d77fab3e7db2898c', value: "fifth" }, "Label 5"), index.h("smoothly-input-radio-item", { key: 'f5bf467213cdc73642fcfd2278ee8b963c1c1bc7', value: "sixth" }, "Label 6")), index.h("smoothly-input-range-demo", { key: '7c617d877ef45d0bd9a58066d3d185ae008f2eef' }), index.h("smoothly-input-color-demo", { key: 'ea9a64faece9ecf51e9d0f8e798f78d92e0590c3' }), index.h("smoothly-input-price-demo", { key: 'cc124983e4ca6aea3b925e2b229fcaac03565501' }), index.h("smoothly-back-to-top", { key: 'b01d5285d4fbf07edc5e955faa214f1fd40fd5d1' }))));
|
|
10453
10453
|
}
|
|
10454
10454
|
};
|
|
10455
10455
|
SmoothlyInputDemo.style = SmoothlyInputDemoStyle0;
|
|
@@ -10477,7 +10477,7 @@ const SmoothlyInputDemoStandard = class {
|
|
|
10477
10477
|
});
|
|
10478
10478
|
}
|
|
10479
10479
|
render() {
|
|
10480
|
-
return (index.h(index.Host, { key: '54cf2b88dfb0ae3326c332e0d608b5e2aab4e2af' }, index.h("div", { key: 'c549a1f2bf55faa1db79e85170fd5106269400d0', class: "description" }, index.h("h2", { key: '4cd8be6f457b84c4363c93262a0a8c57d6ad794a' }, "Input Standard"), index.h("p", { key: 'd704b09fb11c51a92fa618c106039ed01695ce58' }, "Height of input should be ", index.h("code", { key: 'abee88ddb4d762af1cde9a6f7c94ad13fd069152' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), index.h("smoothly-form", { key: '0922d6713e44cffa51cc253e94fb1ae98a823f24', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index.h("smoothly-input-select", { key: '1cdba85a6cddb32a49a763394b8cdb7b36d2c24a', name: "color" }, index.h("span", { key: '58013cb8ab43cc7cc05f6ab58670ec5f41eab179', slot: "label" }, "Color"), Scrollable.Color.values.map(c => (index.h("smoothly-item", { value: c }, index.h("span", { color: c }, c)))), index.h("smoothly-input-clear", { key: '0eae109840ebc9b0101fb08f7daa61253826da9c', slot: "end" })), index.h("smoothly-input-select", { key: 'f48cf9bd8f86d1eb5e68e3383bf9178ea27b5f22', name: "looks" }, index.h("span", { key: 'd6f665f4cbc8e871229312e611180bc0bf9607d1', slot: "label" }, "Looks"), Looks.values.map(l => (index.h("smoothly-item", { value: l }, l)))), index.h("smoothly-input-range", { key: '955d191d8da75e9dace4c57e6f6f3d427bdac864', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), index.h("smoothly-input-checkbox", { key: 'cbd64dab264df038bf40efa6c2d8733f6c767185', name: "readonly" }, "Readonly"), index.h("smoothly-input-checkbox", { key: 'e5a2a80fba021019871563ac7197360060ccb451', name: "disabled" }, "Disabled"), index.h("smoothly-input-checkbox", { key: 'f1bca93555a7cc9fa7a56a39e6bbdfc5b7570edc', name: "invalid" }, "Invalid"), index.h("smoothly-input", { key: '15361ba7d104e800e627aebc52d8fff1623782b9', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), index.h("smoothly-input-checkbox", { key: '649cc21e6575e27e765e17443678f14ac73ba84f', name: "showLabel", checked: true }, "Show Label"), index.h("smoothly-input", { key: '59125e661fdf79f98c9d5a0f8f2c97eeb52f2b52', name: "placeholder" }, "Placeholder"), index.h("smoothly-input-checkbox", { key: 'bc3803d7f0e97f5f8b7c863153aa0ce0d382e1de', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), index.h("div", { key: '44d87477325a59e8b62c1f7ce3a29cdc29705916', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index.h("div", { key: '0adfeb398a2f6f969d206cb46eb4776808fd4fc9', class: "width" }, "width: 100%"), index.h("div", { key: '1e617acd8e12c75a00259062602a8ef8775651cf', class: "left-padding" }, "padding-left: 0.5rem"), index.h("smoothly-input", { key: '9521d2afdc06788925f96c2d0702fd3f00466359', 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 && index.h("span", { key: '75e835255286d02e1b8185902b4df7fc2b0a1147' }, "Text"), index.h("smoothly-input-clear", { key: 'ddd739321caa1aad97518efcde5068fef178b456', slot: "end" })), index.h("div", { key: 'a4ad7dae327fc4cf6fb5caa803f388f31d06ecff', class: "height" }), index.h("smoothly-input-select", { key: '989e3591abbfe261104fdc8e638e30593de4d487', 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 && index.h("label", { key: '2b03942427cc79d149444a6d9761307c43a32935', slot: "label" }, "Select"), index.h("smoothly-item", { key: '049747edec7c1f5ba4a3176d554f78bb065da54b', value: "1" }, "January"), index.h("smoothly-item", { key: '1a348110d398cecbad0c0cb7f4c58add1e4a3ff7', value: "2" }, "February"), index.h("smoothly-item", { key: '3f44a3ca68b3efb9f69ece4dbb4aa5719d62689f', value: "3" }, "March"), index.h("smoothly-item", { key: '2e6a23f327a391073cd581a537c74b404e633f61', value: "4" }, "April"), index.h("smoothly-item", { key: '0ec3a67ceb43fee1b4aed5d6641b8773976f8253', value: "5" }, "May"), index.h("smoothly-item", { key: '8ad75702a0011c4dfa0b58eb0e701cfd5b1b6079', value: "6" }, "June"), index.h("smoothly-item", { key: '37d90fd9da7a68b02bb4cd7388c9dc3fd3fad571', value: "7" }, "July"), index.h("smoothly-item", { key: 'df48b6b98fd8f8a4c4404a29880e6564cb84e830', value: "8" }, "August"), index.h("smoothly-item", { key: '4f81a3c63d0becbab5a2e2c437ca11c2eab05dbe', value: "9" }, "September"), index.h("smoothly-item", { key: 'a2127aff910d9201fccd3b2aaf784e75bedbaafa', value: "10" }, "October"), index.h("smoothly-item", { key: '9ae028899cdb86c7171dcb5d4b7ca9c33e44796e', value: "11" }, "November"), index.h("smoothly-item", { key: 'f968c99dcf0fedb0a4eacbbe4081880148448577', value: "12" }, "December"), index.h("smoothly-input-clear", { key: 'b6eab95784294604bd6b50c6ff0771b905f6d55b', slot: "end" })), index.h("div", { key: 'a46ef7c12df7de0166907d872b421fe6d0ad061e', class: "height" }), index.h("smoothly-input-checkbox", { key: '03db7a557a36f903bbfa5c70168099321de9bfaa', name: "checkbox", checked: true, color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled }, "Check", index.h("smoothly-input-reset", { key: '8dd9be16c98100177e896fd587ae0cf5b78402ba', slot: "end" })), index.h("div", { key: 'd7a333388176160dcc641e3921f65a37d0f931b8', class: "height" }), index.h("smoothly-input-radio", { key: '3228c33a9f797f7e883fa89ce0f348c04833aa95', 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 && index.h("label", { key: 'a2a4723025bb8fc6bdc656e036d7ce9a39eda82e', slot: "label" }, "Radio"), index.h("smoothly-input-radio-item", { key: '12221f4f2af214a53b30baa49cc767c30a595f4d', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '2b94d51be413b315b04bda5a15d94ba0a32d9110', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: 'f248d8c813e26760d7b9423ca91291a0ec1f9ef6', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '2b6cdfc609ef9e391e9d77db584adda5d041532a', slot: "end" })), index.h("div", { key: '006c1a1f17297b57ebd653727ef2ddfff3447b97', class: "height" }), index.h("smoothly-input-file", { key: '538ecb6a31bf36bdd0b1d09f93cb674c8aa0c02c', 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 && index.h("span", { key: 'e3fc537c5ac5ec5147085921239f7d01ff7d73e4', slot: "label" }, "File"), index.h("smoothly-input-clear", { key: 'dafa754b67cf94c4cdfbb4d1ffd1bedd970cad3a', slot: "end" })), index.h("div", { key: '467ea157fd9e4b51622bee191b8299702f7fbbaf', class: "height" }), index.h("smoothly-input-range", { key: '2d0aea78c861a096b1f52140df75bd7a489f48da', name: "range", color: this.options.color, looks: this.options.looks, readonly: this.options.readonly, disabled: this.options.disabled, label: this.options.showLabel ? "Range" : undefined }, index.h("smoothly-input-clear", { key: 'da071ac8f3749c37764e52a75f885a4558035630', slot: "end" })), index.h("div", { key: '599eba7c67eedc7c48238bb25266e544ebf51462', class: "height" }), index.h("smoothly-input-color", { key: 'e190a9d822eb04394a0bdd61c814d4d830a07b1b', 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 && index.h("span", { key: '4574ccb78b8cdb7c369c0e0ba6484793e7723a71' }, "Color"), index.h("smoothly-input-clear", { key: 'd135ececb5676cae9815d93324af41d22135e031', slot: "end" })), index.h("div", { key: '1fad04af82ecb775a216e54522cb615ebf99e55d', class: "height" }), index.h("smoothly-input-date", { key: 'e401fcd75ebc7344db4efbd293668694f7c67f2f', 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 && index.h("span", { key: '55a177807e873b60ba1fe106e11e4ca3d8806675' }, "Date"), index.h("smoothly-input-clear", { key: '255c515c381089461a199a8917b4cdd0f9bed0a2', slot: "end" })), index.h("div", { key: '0bb95de33a1a9416f9f980b58ee085988e7cf5c2', class: "height" }), index.h("smoothly-input-date-time", { key: 'c5d51c371c58f20e28b6ef21cd4ec59b942ea51d', 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", index.h("smoothly-input-clear", { key: '723d6be1a2df58e787e1e6b3b994aa57856eb950', slot: "end" })), index.h("div", { key: 'f3caa12fed8a58c86d82f88e8184d8f33ddc3936', class: "height" }), index.h("smoothly-input-date-range", { key: '2f7b4f5aea8229344de58eacdb192021ab01aa88', 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 && index.h("span", { key: 'd34bf0d664e007e0e3209c3461364b4c0477ab1d' }, "Date Range"), index.h("smoothly-input-clear", { key: '2f8c2648ccde1e9839161cee087661e503e11275', slot: "end" })), index.h("div", { key: '5d56a40d324dcec60ee958ce52cea4c733b00b81', class: "height" }))));
|
|
10480
|
+
return (index.h(index.Host, { key: '0d47a2dd423a8bcdd889139f74ef2ec375d0ea97' }, index.h("div", { key: 'a884b4c59f663f8c47aa9e3736e6a82235e9d276', class: "description" }, index.h("h2", { key: '7c0b8da3728fd79d203de1895c6ae146e1eb8aef' }, "Input Standard"), index.h("p", { key: '10fe94edd162dd158388508c2470359447e6da57' }, "Height of input should be ", index.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."), index.h("smoothly-form", { key: '3f8c09fbdce4b808a430cf7266d40d25a596803d', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index.h("smoothly-input-select", { key: '563356600a698bf3c974a61b79520aa8f77c249f', name: "color" }, index.h("span", { key: 'e12af511b6921b2d9f7d50b45fdbe3d5b34f6817', slot: "label" }, "Color"), Scrollable.Color.values.map(c => (index.h("smoothly-item", { value: c }, index.h("span", { color: c }, c)))), index.h("smoothly-input-clear", { key: '23c642ae01bb6d0f7aaf653c027eb255ee38d90a', slot: "end" })), index.h("smoothly-input-select", { key: 'fa106dd22e247954860c217692ca37a24fe4f772', name: "looks" }, index.h("span", { key: 'c42065aac1f357b670cf2a99bb8be554fb314cd9', slot: "label" }, "Looks"), Looks.values.map(l => (index.h("smoothly-item", { value: l }, l)))), index.h("smoothly-input-range", { key: 'c3b585f898718c9f81ef15c1469eccf08988c00e', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }), index.h("smoothly-input-checkbox", { key: '8fab112575cb1c02c2019022cee83e5e5e65a9c6', name: "readonly" }, "Readonly"), index.h("smoothly-input-checkbox", { key: 'c34401c8b28faa79a139869c0766e8f8af357ca8', name: "disabled" }, "Disabled"), index.h("smoothly-input-checkbox", { key: '672b5bc96fa9e6886c90b5e8354d7dea8c916270', name: "invalid" }, "Invalid"), index.h("smoothly-input", { key: 'c395fd3b7ca8d1243cd9e9ea4e006f1fd7ef1a27', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), index.h("smoothly-input-checkbox", { key: '121d1a50813987b2aeac50afe73e40c6a7c4fb8b', name: "showLabel", checked: true }, "Show Label"), index.h("smoothly-input", { key: '265ce4b0e44c8fda1b3188929eb5901e1658bfd5', name: "placeholder" }, "Placeholder"), index.h("smoothly-input-checkbox", { key: '1eafaaaa6696f9f1d696742869d10aba19c2f0c9', name: "alwaysShowGuide" }, "Always Show Guide (for date inputs)"))), index.h("div", { key: 'f6a5d34435c177c5dc64c31632dc7a1e65f3e270', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index.h("div", { key: 'c4d82ee52f0d44015df7eb734c98aa41f7c92827', class: "width" }, "width: 100%"), index.h("div", { key: '2ae68895caf503ba92049a32d0054439f069123b', class: "left-padding" }, "padding-left: 0.5rem"), index.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 && index.h("span", { key: 'bf32f13cfbfa88add92692bf9ee02b836eeea2be' }, "Text"), index.h("smoothly-input-clear", { key: '26639066ab906f755f7a42e154b1954f1f34f19d', slot: "end" })), index.h("div", { key: 'de01a46f39aa6f331c5edf54208a6f9f726337e3', class: "height" }), index.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 && index.h("label", { key: '49f71dbb091094f79927778d18a0a58e70689f42', slot: "label" }, "Select"), index.h("smoothly-item", { key: '4b0e9cb4ce233c50a42fe249a3aef5648dc62558', value: "1" }, "January"), index.h("smoothly-item", { key: '38380b0f13ddeb83e2e19e0ac645dcdbacf6c4df', value: "2" }, "February"), index.h("smoothly-item", { key: '4f65be9a949261542191e3b484ad646e17f04987', value: "3" }, "March"), index.h("smoothly-item", { key: 'b6e9be5fbe31a12865717daddcd1a4039c942205', value: "4" }, "April"), index.h("smoothly-item", { key: '6c867101a115315e30bcf525d3fde4a8e49a5719', value: "5" }, "May"), index.h("smoothly-item", { key: 'ba4792a24e862aed054b356a444f9b791add16b1', value: "6" }, "June"), index.h("smoothly-item", { key: '9cc3a21ed384c2e2415311770925458dc13ac8d1', value: "7" }, "July"), index.h("smoothly-item", { key: '53cf8809b4dbc8256448b5c08a9d07f274e365a3', value: "8" }, "August"), index.h("smoothly-item", { key: '47a43966214064dab4d321cf9116b5cd87409dd3', value: "9" }, "September"), index.h("smoothly-item", { key: 'c71ceab27a3f86a5c2a27dc251b18f119f5ac623', value: "10" }, "October"), index.h("smoothly-item", { key: '7e824138f3b0b28a414465d69bb71c4d6786c3b5', value: "11" }, "November"), index.h("smoothly-item", { key: 'e7813efea82efe4cd4a8bfa54a7a55b21f53fa48', value: "12" }, "December"), index.h("smoothly-input-clear", { key: '7072ef8f9ac5b9a3028cbd2962560fc315f3d58b', slot: "end" })), index.h("div", { key: '3a1c4b4c2834bbb4921e330a77fe477c4741f181', class: "height" }), index.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", index.h("smoothly-input-reset", { key: '550d44f73f1ae07461d73f66febd5138867e8247', slot: "end" })), index.h("div", { key: 'acb1b0eaab732df76e2c586e8f56ee6c81fbdd87', class: "height" }), index.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 && index.h("label", { key: '00de1fcac1f811970b3f1154d6286dc7bd6036d8', slot: "label" }, "Radio"), index.h("smoothly-input-radio-item", { key: '35ea9212aa0f8eec4a96dedc406b428f58b848e6', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'db11c348c12a468a854c53c5f5f692ae7dcbaeb1', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '65707145740b173f4379c6bf5706a962a91bb021', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '883be5fef36a7e6fb16c57b30fcad312f1f25a6b', slot: "end" })), index.h("div", { key: '2cd8b1bb4ac90fd34732d2bfc34116bcc8429045', class: "height" }), index.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 && index.h("span", { key: '0d10524c66e0625ec86431a8c19dcedf83f47eac', slot: "label" }, "File"), index.h("smoothly-input-clear", { key: 'a95f256a28cf294430040b6c6028921f0c620c8d', slot: "end" })), index.h("div", { key: '48650848e22a86ca8aa7501e09fbd8c5f0ce83ea', class: "height" }), index.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 }, index.h("smoothly-input-clear", { key: 'ab7f71a498ce9404aacc63f0273bd3b715ddf12c', slot: "end" })), index.h("div", { key: '0ff2870912f9ae2e2b41ba9d982c906124ef2641', class: "height" }), index.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 && index.h("span", { key: '63674017888873443dc7b744114dae7996e79c52' }, "Color"), index.h("smoothly-input-clear", { key: '6344ad242592e19365961e80cc0814023eaa7dc2', slot: "end" })), index.h("div", { key: '16e0b71b1b6b1ee68813e3827b96bffe5ec63ef7', class: "height" }), index.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 && index.h("span", { key: 'c268eeb0f99af102c6e1dc62b3d4a2ef01fb0982' }, "Date"), index.h("smoothly-input-clear", { key: '828d7b0e5719ee2c8e8ef5e431f19061dd1ade2b', slot: "end" })), index.h("div", { key: 'fe422ed5cc16bbb664f5dc190e59d05027b9ab6c', class: "height" }), index.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", index.h("smoothly-input-clear", { key: '000c95f6c81a9c8f84c88e258804c190de62a085', slot: "end" })), index.h("div", { key: 'e203612e082b43846696f0e8f25ba1633c8a40c0', class: "height" }), index.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 && index.h("span", { key: '8c4b143da14013a4e7869cc09ac125fd978ba652' }, "Date Range"), index.h("smoothly-input-clear", { key: '71942a3eb11884fd20b5dd66f93bfebfaaaa917e', slot: "end" })), index.h("div", { key: '6ddfef156eb2dcbb511742abe5e03f0dec1e78fa', class: "height" }))));
|
|
10481
10481
|
}
|
|
10482
10482
|
get element() { return index.getElement(this); }
|
|
10483
10483
|
};
|
|
@@ -10506,11 +10506,11 @@ const SmoothlyInputDemoUserInput = class {
|
|
|
10506
10506
|
}
|
|
10507
10507
|
render() {
|
|
10508
10508
|
var _a, _b;
|
|
10509
|
-
return (index.h(index.Host, { key: '
|
|
10509
|
+
return (index.h(index.Host, { key: 'e5373df530143e9be043fef3040f0c28e4e6befd' }, index.h("div", { key: 'e43682af956adff7d7717bc0460eed3b1bb95d84' }, index.h("h2", { key: '4332098a4a62650fee3ff36df29bbab86ece7e9d' }, "User Input Event"), index.h("p", { key: 'b20f95a50866658227c61b92cd110ec481da9aea' }, "These inputs demonstrate how user input is handled. The ", index.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).", index.h("br", { key: 'c491689d80addd8399ee02ab7cfc6c14f599bb85' }), "Check the console to see the details of each ", index.h("code", { key: '919ebbf26937841a5396d0d8b1f7d56a268ac292' }, "smoothlyUserInput"), " event.")), index.h("smoothly-button", { key: '241df770721275520a479cac831b972062cf0fce', color: "tertiary", onClick: () => (this.textIndex = this.increment(this.textIndex)) }, "Change text"), index.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"), index.h("smoothly-button", { key: '5fe334fb6629980fec2ee42d22df173f86b9bec2', onClick: () => (this.selectIndex = this.increment(this.selectIndex)), color: "tertiary" }, "Next select item"), index.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) }, index.h("span", { key: '0e6d5f9596b71bae1f548aaf3cc830e9327dda05', slot: "label" }, "Select input"), this.values.map((value, index$1) => (index.h("smoothly-item", { value: index$1, selected: index$1 == this.selectIndex }, value)))), index.h("smoothly-button", { key: '66f5d072734363f0457f38252105272c643354ce', color: "tertiary", onClick: () => (this.checkboxChecked = !this.checkboxChecked) }, "Toggle checkbox"), index.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"), index.h("smoothly-button", { key: 'a70017b8ad95581ec4361d96350f809942b61d93', color: "tertiary", onClick: () => (this.radioIndex = this.increment(this.radioIndex)) }, "Next radio item"), index.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) }, index.h("span", { key: '1e6fa16c98dbf64e75d4527a5619a37d30631801', slot: "label" }, "Radio input"), this.values.map((value, index$1) => (index.h("smoothly-input-radio-item", { value: value, selected: index$1 == this.radioIndex }, value)))), index.h("smoothly-button", { key: 'd3d7581a7c25ce7a7add6cc0f318bb738fbfcf56', color: "tertiary", onClick: () => (this.rangeValue = this.increment(this.rangeValue)) }, "Next range value"), index.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) }), index.h("smoothly-button", { key: 'ac4215b8764d794d7b2b502e8978eeb066bb482b', color: "tertiary", onClick: () => (this.colorIndex = this.increment(this.colorIndex)) }, "Next color"), index.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"), index.h("smoothly-button", { key: '353846f23973a62890ca228fce9434606c351eab', color: "tertiary", onClick: () => (this.dateValue = this.dateValue ? TimeZone.Date.next(this.dateValue) : TimeZone.Date.now()) }, "Next day"), index.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"), index.h("smoothly-button", { key: 'e39a9742e3c896ed0b8083b0cb12694971c2f7b3', color: "tertiary", onClick: () => (this.datetimeValue = this.datetimeValue
|
|
10510
10510
|
? TimeZone.DateTime.nextDay(this.datetimeValue)
|
|
10511
|
-
: TimeZone.DateTime.now()) }, "Next date time"), index.h("smoothly-input-date-time", { key: '
|
|
10511
|
+
: TimeZone.DateTime.now()) }, "Next date time"), index.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"), index.h("smoothly-button", { key: '1bfc78adefad21783c035335cf764bdb92c537e4', color: "tertiary", onClick: () => (this.dateRangeValue = this.dateRangeValue
|
|
10512
10512
|
? { start: TimeZone.Date.next(this.dateRangeValue.start), end: TimeZone.Date.next(this.dateRangeValue.end) }
|
|
10513
|
-
: { start: TimeZone.Date.now(), end: TimeZone.Date.next(TimeZone.Date.now(), 10) }) }, "Next date range"), index.h("smoothly-input-date-range", { key: '
|
|
10513
|
+
: { start: TimeZone.Date.now(), end: TimeZone.Date.next(TimeZone.Date.now(), 10) }) }, "Next date range"), index.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")));
|
|
10514
10514
|
}
|
|
10515
10515
|
};
|
|
10516
10516
|
SmoothlyInputDemoUserInput.style = SmoothlyInputDemoUserInputStyle0;
|
|
@@ -10548,7 +10548,7 @@ const SmoothlyInputEdit = class {
|
|
|
10548
10548
|
}
|
|
10549
10549
|
render() {
|
|
10550
10550
|
var _a;
|
|
10551
|
-
return (index.h(index.Host, { key: '
|
|
10551
|
+
return (index.h(index.Host, { key: '9413c465eefd77797e42c791530e44dff3846f28', title: this.tooltip }, index.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) }, index.h("slot", { key: 'acaa5562e2b97fb0bf0f774fda77efdb33ba66cc' }), index.h("smoothly-icon", { key: '8defa183091cea2766970860a93f9005085e7325', class: "default", name: "create-outline", size: "tiny" }))));
|
|
10552
10552
|
}
|
|
10553
10553
|
};
|
|
10554
10554
|
SmoothlyInputEdit.style = SmoothlyInputEditStyle0;
|
|
@@ -10672,7 +10672,7 @@ const SmoothlyInputFile = class {
|
|
|
10672
10672
|
}
|
|
10673
10673
|
render() {
|
|
10674
10674
|
var _a, _b, _c;
|
|
10675
|
-
return (index.h(index.Host, { key: '
|
|
10675
|
+
return (index.h(index.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) }, index.h("label", { key: 'c03b59a35dbef07d3f0c4e0d58aecdd963fb499c' }, index.h("slot", { key: '75a815e3f443bb3e6c8e0aa81c30b68f9cddc9ce', name: "label" })), index.h("div", { key: '2e7c8f558cd1d344b1659ef2fde701dd612f3b53', class: "input" }, index.h("smoothly-button", { key: '8382da9351a2d57dfa17ff0a399066b1f645c5d8', disabled: this.disabled, type: "button", color: this.color, fill: "clear", size: "flexible" }, index.h("slot", { key: '6e8366cbb446f9f5be138978711f7172f18d0005', name: "button" })), index.h("span", { key: '8b64bdf48fb8f8cf552e1d000c18e3e415826056' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index.h("div", { key: '26d26451e82bdb71ac7be890f308363dddd8a73e', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, index.h("smoothly-icon", { key: 'da2cb7bc7b9e481dd0edf6730adc4a9d26409167', name: "document-attach-outline" })), index.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) })), index.h("span", { key: '8f4442060ca91b9d3ce769f71999031b9858aaaf', onClick: (e) => e.stopPropagation() }, index.h("slot", { key: '7fb47acfd5d5c4ae68b309d5302564cf757100a6', name: "end" }))));
|
|
10676
10676
|
}
|
|
10677
10677
|
get element() { return index.getElement(this); }
|
|
10678
10678
|
static get watchers() { return {
|
|
@@ -10797,21 +10797,21 @@ const SmoothlyInputMonth = class {
|
|
|
10797
10797
|
}
|
|
10798
10798
|
render() {
|
|
10799
10799
|
var _a, _b;
|
|
10800
|
-
return (index.h(index.Host, { key: '
|
|
10800
|
+
return (index.h(index.Host, { key: 'a19d91c6e7a3418e4cc6645072227e24660a1055' }, index.h("smoothly-icon", { key: 'f49eef91fe444f2b2c46602239ffb720b463498a', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
10801
10801
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
10802
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: '
|
|
10802
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.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 => {
|
|
10803
10803
|
const month = e.detail.value;
|
|
10804
10804
|
if (month && TimeZone.Date.is(month)) {
|
|
10805
10805
|
const value = TimeZone.Date.firstOfMonth(month);
|
|
10806
10806
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
10807
10807
|
}
|
|
10808
|
-
}, searchDisabled: true }, index.h("div", { key: '
|
|
10808
|
+
}, searchDisabled: true }, index.h("div", { key: 'cb2f05a587d6dd8a54e0e9ef4e9b8d2da2956613', slot: "label" }, index.h("slot", { key: '25e30084d491b00bc0963c5d5675419f2a88ee02', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : TimeZone.Date.now(), this.min, this.max).map(year => (index.h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), index.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 => {
|
|
10809
10809
|
const year = e.detail.value;
|
|
10810
10810
|
if (year && TimeZone.Date.is(year)) {
|
|
10811
10811
|
const value = TimeZone.Date.firstOfMonth(year);
|
|
10812
10812
|
this.smoothlyUserInput.emit({ name: this.name, value });
|
|
10813
10813
|
}
|
|
10814
|
-
}, searchDisabled: true }, index.h("div", { key: '
|
|
10814
|
+
}, searchDisabled: true }, index.h("div", { key: '7c9c95e399522fcadc86a7d56565ed24f83bd1dd', slot: "label" }, index.h("slot", { key: '8332af277b6a5c3e16a92487fa886dac4ba594dd', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : TimeZone.Date.now()).map(month => (index.h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), index.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) })));
|
|
10815
10815
|
}
|
|
10816
10816
|
get element() { return index.getElement(this); }
|
|
10817
10817
|
static get watchers() { return {
|
|
@@ -10833,7 +10833,7 @@ const SmoothlyInputPriceDemo = class {
|
|
|
10833
10833
|
this.currency = "USD";
|
|
10834
10834
|
}
|
|
10835
10835
|
render() {
|
|
10836
|
-
return (index.h(index.Host, { key: '
|
|
10836
|
+
return (index.h(index.Host, { key: '671d9e1e09c36db8094dfe6f1ab4dd682b28fe73' }, index.h("h2", { key: '85a013c5fe711cc2a9dc759707a4e3880530377a' }, "State demo on smoothly-input"), index.h("p", { key: '57296c7eb9eacc94aee6802d6808181af5d4190a' }, "This demo/test the internal state of the smoothly-input component."), index.h("p", { key: 'b41379a50dd8e97d98a5eebc38694e04d192414c' }, "The currency of the price should update when switching between the currencies."), index.h("smoothly-input-radio", { key: '3fc4076c53a6a0571f5375974d8b7e9b2bfb4414', name: "currency", onSmoothlyInput: e => (this.currency = TimeZone.Currency.is(e.detail.currency) ? e.detail.currency : undefined) }, this.currencies.map(currency => (index.h("smoothly-input-radio-item", { key: currency, selected: currency == this.currency, value: currency }, currency)))), index.h("smoothly-input", { key: '390be92c6e43aeaa2d5072b43539041ea794d51b', type: "price", currency: this.currency }, "price")));
|
|
10837
10837
|
}
|
|
10838
10838
|
};
|
|
10839
10839
|
SmoothlyInputPriceDemo.style = SmoothlyInputPriceDemoStyle0;
|
|
@@ -10992,7 +10992,7 @@ const SmoothlyInputRadioItem = class {
|
|
|
10992
10992
|
});
|
|
10993
10993
|
}
|
|
10994
10994
|
render() {
|
|
10995
|
-
return (index.h(index.Host, { key: '
|
|
10995
|
+
return (index.h(index.Host, { key: 'df843e11d9c3363b27ceb3e4930e353072a8c537', onClick: () => this.inputHandler(true) }, index.h("input", { key: 'a38159efa771785ca314bdbce6569bcc05503089', name: this.name, type: "radio", checked: this.selected, disabled: this.disabled }), index.h("smoothly-icon", { key: 'f3c5afda5328b233102ec346d05ba260dfe6cca3', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", tooltip: "Select" }), index.h("label", { key: '80c90ca1625f26ec43f7e4fcdb3da585ee0e463e' }, index.h("slot", { key: 'af191ac240791505df6eb37658920f3564b71a42' }))));
|
|
10996
10996
|
}
|
|
10997
10997
|
get element() { return index.getElement(this); }
|
|
10998
10998
|
};
|
|
@@ -11101,18 +11101,18 @@ const SmoothlyInputRange = class {
|
|
|
11101
11101
|
}
|
|
11102
11102
|
render() {
|
|
11103
11103
|
var _a, _b, _c;
|
|
11104
|
-
return (index.h(index.Host, { key: '
|
|
11104
|
+
return (index.h(index.Host, { key: '51d0d50c2260a8efef459a490a6d40576edf8904', class: {
|
|
11105
11105
|
"output-side-right": this.outputSide === "right",
|
|
11106
11106
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
11107
|
-
} }, index.h("slot", { key: '
|
|
11107
|
+
} }, index.h("slot", { key: 'b8115e4e8c82c45c95983a6ca05ac4910547d509', name: "start" }), index.h("div", { key: '21ac65ef6af325989f1586a4109f28b02c4d9414' }, index.h("label", { key: 'a8730e6a0478abdd2a81a2153ed1863f389f632d', htmlFor: this.name }, this.label), index.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(),
|
|
11108
11108
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
11109
11109
|
e.stopPropagation();
|
|
11110
11110
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
11111
|
-
}, 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), index.h("smoothly-display", { key: '
|
|
11111
|
+
}, 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), index.h("smoothly-display", { key: '6ab9f7b99bf40826eb17eb300cd8be062defa4d3', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.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 => {
|
|
11112
11112
|
event.stopPropagation();
|
|
11113
11113
|
this.setValue(event.target.valueAsNumber);
|
|
11114
11114
|
this.smoothlyUserInput.emit({ name: this.name, value: this.value });
|
|
11115
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: '
|
|
11115
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: 'f1541e975526a02100826dc3f817c64626b2750d', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: '06897088ceab10a99692b4fe2d06e5d227dd44f8', name: "end" })));
|
|
11116
11116
|
}
|
|
11117
11117
|
get element() { return index.getElement(this); }
|
|
11118
11118
|
static get watchers() { return {
|
|
@@ -11129,7 +11129,7 @@ const SmoothlyInputRangeDemo = class {
|
|
|
11129
11129
|
index.registerInstance(this, hostRef);
|
|
11130
11130
|
}
|
|
11131
11131
|
render() {
|
|
11132
|
-
return (index.h(index.Host, { key: '
|
|
11132
|
+
return (index.h(index.Host, { key: 'fe8877ae479bd8b4e8a530dbcdd2f8cac31170b2' }, index.h("h2", { key: 'd39ba6d14b8740a8d18fd3e62c51964a0079dfdd' }, "Range"), index.h("h3", { key: '1cde1d9dbda26b591f092ff6c1215a78c85668e3' }, "Phone Number"), index.h("smoothly-input-range", { key: '0df83246ce1c17510de342817b3e8371a405fd5f', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), index.h("h3", { key: '5aeaf74220d18db5d292b43316b862bb30e596fa' }, "Stars out of ten"), index.h("smoothly-input-range", { key: '9cf4138304c1bddf4f368c145129b85ac3c9fc98', max: 10, step: 1, label: "Stars" }), index.h("h3", { key: 'ec9ace4a4ca1da8e781839d7a7dc5808b4185c5a' }, "Percent"), index.h("smoothly-input-range", { key: '02512fb3b2a215c4ffe0cde5fbf79defe6bc431f', type: "percent", max: 1, step: 0.01, label: "Percent" }), index.h("h3", { key: 'ff48ee90a6f0876d954fa97e55c100fdce94406f' }, "With icon at start and clear button"), index.h("smoothly-input-range", { key: 'f48778410e5ee8104c032220124a602bc3e84c7e', step: 1, name: "range2", label: "Select" }, index.h("smoothly-icon", { key: 'f08ec1e3e9621a87029901e2958a0d4221ab3e15', name: "checkmark-circle", slot: "start" }), index.h("smoothly-input-clear", { key: '4b7382dc9c566fd1f94c080901e1949610fcb40e', size: "icon", slot: "end" }))));
|
|
11133
11133
|
}
|
|
11134
11134
|
};
|
|
11135
11135
|
|
|
@@ -11176,7 +11176,7 @@ const SmoothlyInputReset = class {
|
|
|
11176
11176
|
}
|
|
11177
11177
|
render() {
|
|
11178
11178
|
var _a;
|
|
11179
|
-
return (index.h(index.Host, { key: '
|
|
11179
|
+
return (index.h(index.Host, { key: '00ce2610388bdfe4a860afc1eec4c91360ed0baa', title: this.tooltip }, index.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) }, index.h("slot", { key: '5432ebbc44053abcfa66d760436a8218f413f58f' }), index.h("smoothly-icon", { key: '098d71829c81316bcdaf71a072c37d8334a505c4', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
11180
11180
|
}
|
|
11181
11181
|
};
|
|
11182
11182
|
SmoothlyInputReset.style = SmoothlyInputResetStyle0;
|
|
@@ -11493,14 +11493,14 @@ const SmoothlyInputSelect = class {
|
|
|
11493
11493
|
this.addedItems = this.addedItems.concat(index.h("smoothly-item", { value: this.filter, selected: true }, this.filter));
|
|
11494
11494
|
}
|
|
11495
11495
|
render() {
|
|
11496
|
-
return (index.h(index.Host, { key: '
|
|
11496
|
+
return (index.h(index.Host, { key: '8865b3b7aa61d4f9836d8d56fe536ce60d3f1c14', tabIndex: this.disabled ? undefined : 0, class: { "has-value": this.selected.length !== 0, open: this.open }, onClick: (event) => this.handleShowOptions(event) }, index.h("div", { key: '5910b41ec6b8ccb26bb75c082344faa46ad035c1', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), index.h("div", { key: '11d384a9ce8ddeffefb96b9a6995dd7420f193c8', class: "icons", ref: element => (this.iconsDiv = element) }, index.h("smoothly-icon", { key: 'a27b8162d4f3e2a8a481d08408826ce252eeaa30', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", tooltip: this.errorMessage }), index.h("slot", { key: 'cf8416a6003d9adcafd84ba20df0a4e2bcc851d6', name: "end" }), this.looks == "border" && !this.readonly && (index.h("smoothly-icon", { key: '92f7e28e4c455ff4bcd141a26cfcd60f9fcaec60', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), index.h("slot", { key: '1c41066d1be6798ec0d6416301f8efd65a75dd00', name: "label" }), index.h("div", { key: '044cf7d7c0ee0d73b0d111e658eebec5c0c730df', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (index.h("div", { key: 'c76062a280d2cfa5f0c5c6ea37f1ddffa6dcf0eb', class: "search-preview" }, index.h("smoothly-icon", { key: '1fcea707496416899b363e633fbdaf5967ed0333', name: "search-outline", size: "small" }), this.filter, index.h("smoothly-icon", { key: '0c608ee8231d08806686b024f1cdf7ef52543bc5', name: "backspace-outline", size: "small", onClick: e => {
|
|
11497
11497
|
e.stopPropagation();
|
|
11498
11498
|
this.filter = "";
|
|
11499
11499
|
this.element.focus();
|
|
11500
|
-
} }), this.mutable && (index.h("smoothly-icon", { key: '
|
|
11500
|
+
} }), this.mutable && (index.h("smoothly-icon", { key: 'd91911a2705e1c4977b103c363770333f01f950e', name: "add", size: "small", onClick: e => {
|
|
11501
11501
|
e.stopPropagation();
|
|
11502
11502
|
this.addItem();
|
|
11503
|
-
} })))), index.h("slot", { key: '
|
|
11503
|
+
} })))), index.h("slot", { key: '4b3fe308c5e4c9f4ed937ef1f7437ba64f6411a1' }), this.addedItems)));
|
|
11504
11504
|
}
|
|
11505
11505
|
get element() { return index.getElement(this); }
|
|
11506
11506
|
static get watchers() { return {
|
|
@@ -11555,7 +11555,7 @@ const SmoothlyInputSubmit = class {
|
|
|
11555
11555
|
}
|
|
11556
11556
|
render() {
|
|
11557
11557
|
var _a, _b;
|
|
11558
|
-
return (index.h(index.Host, { key: '
|
|
11558
|
+
return (index.h(index.Host, { key: 'f7f8d66cc479ee4cd0f92bc148dec2c0cb2d48f7', title: this.tooltip }, this.delete == true ? (index.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() }, index.h("slot", null), index.h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (index.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() }, index.h("slot", null), this.icon && index.h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
11559
11559
|
}
|
|
11560
11560
|
};
|
|
11561
11561
|
SmoothlyInputSubmit.style = SmoothlyInputSubmitStyle0;
|
|
@@ -11603,7 +11603,7 @@ const SmoothlyItem = class {
|
|
|
11603
11603
|
: false;
|
|
11604
11604
|
}
|
|
11605
11605
|
render() {
|
|
11606
|
-
return (index.h(index.Host, { key: '
|
|
11606
|
+
return (index.h(index.Host, { key: 'e20234d30e92293239fab80b17123a82aaf7a4df', tabIndex: -1 }, index.h("slot", { key: '4087bb39941fd908d388a64a6036e3c50ead3a9c' })));
|
|
11607
11607
|
}
|
|
11608
11608
|
get element() { return index.getElement(this); }
|
|
11609
11609
|
static get watchers() { return {
|
|
@@ -11624,9 +11624,9 @@ const SmoothlyLabel = class {
|
|
|
11624
11624
|
}
|
|
11625
11625
|
render() {
|
|
11626
11626
|
var _a;
|
|
11627
|
-
return (index.h(index.Host, { key: '
|
|
11627
|
+
return (index.h(index.Host, { key: 'de59874afe507061a1c3ede6954e5e4431fa7c68', title: this.description, style: {
|
|
11628
11628
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
11629
|
-
} }, index.h("slot", { key: '
|
|
11629
|
+
} }, index.h("slot", { key: 'fcb5def4232e85094c4504191a20fdde03b4cdb8' })));
|
|
11630
11630
|
}
|
|
11631
11631
|
};
|
|
11632
11632
|
SmoothlyLabel.style = SmoothlyLabelStyle0;
|
|
@@ -11645,7 +11645,7 @@ const SmoothlyLazy = class {
|
|
|
11645
11645
|
this.show = true;
|
|
11646
11646
|
}
|
|
11647
11647
|
render() {
|
|
11648
|
-
return (index.h(index.Host, { key: '
|
|
11648
|
+
return (index.h(index.Host, { key: '9f9a3ad03a3cffa605de2e0a311c71ff0501cc74' }, index.h("slot", { key: '0e222b762686df3a561c17e45966654e6bdaa711', name: "before" }), index.h("smoothly-load-more", { key: 'b655698abb3cb1dc76e941d8c7b2b627221dcb85', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? index.h(this.content, null) : this.content), index.h("slot", { key: 'dd06292abea01a005890a0c168a5152f6737ceb1' })));
|
|
11649
11649
|
}
|
|
11650
11650
|
};
|
|
11651
11651
|
SmoothlyLazy.style = SmoothlyLazyStyle0;
|
|
@@ -11689,7 +11689,7 @@ const LoadMore = class {
|
|
|
11689
11689
|
}
|
|
11690
11690
|
}
|
|
11691
11691
|
render() {
|
|
11692
|
-
return index.h(index.Host, { key: '
|
|
11692
|
+
return index.h(index.Host, { key: '5200709c13719dcdfa30a25d921fa27e38750fcd' });
|
|
11693
11693
|
}
|
|
11694
11694
|
get element() { return index.getElement(this); }
|
|
11695
11695
|
};
|
|
@@ -11715,9 +11715,9 @@ const SmoothlyModal = class {
|
|
|
11715
11715
|
this.open = true;
|
|
11716
11716
|
}
|
|
11717
11717
|
render() {
|
|
11718
|
-
return (index.h(index.Host, { key: '
|
|
11718
|
+
return (index.h(index.Host, { key: '8fa3a1a8abe74467813cad81e8822982d40eccdf', role: "alertdialog", onClick: (e) => {
|
|
11719
11719
|
this.closable && !e.composedPath().some((el) => { var _a; return (_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains("modal"); }) && this.closeModal();
|
|
11720
|
-
} }, index.h("div", { key: '
|
|
11720
|
+
} }, index.h("div", { key: 'e3cb0cb62a91cc16a4c115861e393504c1c8476f', class: "modal" }, index.h("div", { key: '6473ae0b383fa946ade76b878bcb1ee146c340d2', class: "header" }, index.h("slot", { key: 'b2370ebebfc0b3b9dd67437c955ee7e1576deafd', name: "header" }), this.closable && index.h("smoothly-icon", { key: '561a9331a431ee605bc3e0e52765017206c7a43d', name: "close-outline", fill: "solid", onClick: () => this.closeModal() })), index.h("slot", { key: 'ef0da1a3d54c242df32342c1d1a09f74cd2581be' }), index.h("div", { key: 'f937cbaea5e2bdd15f9aa0aa8f6fadacd0a93766', class: "actions" }, index.h("slot", { key: 'e23325708937e00b7138c30371d1474409fb70cb', name: "actions" })))));
|
|
11721
11721
|
}
|
|
11722
11722
|
static get watchers() { return {
|
|
11723
11723
|
"open": ["openChanged"]
|
|
@@ -11780,7 +11780,7 @@ const Notification = class {
|
|
|
11780
11780
|
this.onUpdatedNotice(this.notice);
|
|
11781
11781
|
}
|
|
11782
11782
|
render() {
|
|
11783
|
-
return (index.h(index.Host, { key: '
|
|
11783
|
+
return (index.h(index.Host, { key: '874ce3aaa62fd7424e2c6629e13111b14649c7db', color: this.properties[0], fill: "solid" }, this.closable && (index.h("smoothly-trigger", { key: '57057c09df734c4d359fd9952314032373c93828', fill: "clear", name: "close" }, index.h("smoothly-icon", { key: 'ae2a94d9120759f44e0a0549e23b17d19fbf30a6', name: "close-circle-outline" }))), index.h("span", { key: 'c7a626eed0dc03b93f30ef5b7e0f22abad133b93', class: this.icon ? "icon" : "clean" }, this.icon && index.h("smoothly-icon", { key: 'aa195f76644db7643cc4b31191cc2f0f27c24c49', name: this.properties[1] }), index.h("p", { key: '176a35c914559bde761a2e055353c2162e92a7e1' }, this.notice.message))));
|
|
11784
11784
|
}
|
|
11785
11785
|
static get watchers() { return {
|
|
11786
11786
|
"notice": ["onUpdatedNotice"]
|
|
@@ -11804,7 +11804,7 @@ const Notifier = class {
|
|
|
11804
11804
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
11805
11805
|
}
|
|
11806
11806
|
render() {
|
|
11807
|
-
return (index.h(index.Host, { key: '
|
|
11807
|
+
return (index.h(index.Host, { key: '377473bb85fda49bf6654709bc583c8122a8a5fc' }, index.h("slot", { key: '0039c64ec570faa5702882cc273bd5bd778b0c0e' }), index.h("div", { key: '133205707821a6b56218eae7b1b135985301665a', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (index.h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
11808
11808
|
}
|
|
11809
11809
|
};
|
|
11810
11810
|
Notifier.style = SmoothlyNotifierStyle0;
|
|
@@ -11820,44 +11820,30 @@ const SmoothlySpinner = class {
|
|
|
11820
11820
|
}
|
|
11821
11821
|
render() {
|
|
11822
11822
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
11823
|
-
return (index.h(index.Host, { key: '
|
|
11823
|
+
return (index.h(index.Host, { key: '81b3ddac04d63c10cef57db98b33d20d3c486d1d', style: {
|
|
11824
11824
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
11825
|
-
} }, index.h("svg", { key: '
|
|
11825
|
+
} }, index.h("svg", { key: 'a56a9b915feb8212b71cab991aaea00eeef858fa', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { key: '80b73ff22092fd16f75fa632c45441585ae7bad5', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
11826
11826
|
}
|
|
11827
11827
|
};
|
|
11828
11828
|
SmoothlySpinner.style = SmoothlySpinnerStyle0;
|
|
11829
11829
|
|
|
11830
|
-
const styleCss$u = ".sc-smoothly-summary-h{display:
|
|
11830
|
+
const styleCss$u = ".sc-smoothly-summary-h{display:block}.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary{display:flex;column-gap:0.25rem;width:fit-content;list-style:none;align-items:center;cursor:pointer}.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary>smoothly-icon.sc-smoothly-summary{transition:transform 0.2s, opacity 0.1s;opacity:0.3}.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary:hover>smoothly-icon.sc-smoothly-summary{opacity:1}.sc-smoothly-summary-h>details[open].sc-smoothly-summary>summary.sc-smoothly-summary>smoothly-icon.sc-smoothly-summary{transform:rotate(90deg)}.sc-smoothly-summary-h>details.sc-smoothly-summary-s>[slot=content]{margin-left:var(--smoothly-summary-content-indent, 1.5rem)}@media (prefers-reduced-motion){.sc-smoothly-summary-h>details.sc-smoothly-summary>summary.sc-smoothly-summary>smoothly-icon.sc-smoothly-summary{transition:none}}";
|
|
11831
11831
|
const SmoothlySummaryStyle0 = styleCss$u;
|
|
11832
11832
|
|
|
11833
11833
|
const SmoothlySummary = class {
|
|
11834
11834
|
constructor(hostRef) {
|
|
11835
11835
|
index.registerInstance(this, hostRef);
|
|
11836
11836
|
this.smoothlySummaryOpen = index.createEvent(this, "smoothlySummaryOpen", 7);
|
|
11837
|
-
this.inputs = {};
|
|
11838
11837
|
this.open = false;
|
|
11839
|
-
this.color = undefined;
|
|
11840
|
-
this.fill = "solid";
|
|
11841
|
-
this.size = "tiny";
|
|
11842
11838
|
}
|
|
11843
11839
|
async toggleHandler(event) {
|
|
11844
11840
|
if (event.target instanceof HTMLDetailsElement) {
|
|
11845
11841
|
this.open = event.target.open;
|
|
11846
11842
|
this.smoothlySummaryOpen.emit(this.open);
|
|
11847
|
-
this.open
|
|
11848
|
-
? await Promise.all(Object.values(this.inputs).map(input => input.register()))
|
|
11849
|
-
: await Promise.all(Object.values(this.inputs).map(input => input.unregister()));
|
|
11850
|
-
}
|
|
11851
|
-
}
|
|
11852
|
-
onInputLoad(event) {
|
|
11853
|
-
if (Input.Element.is(event.target)) {
|
|
11854
|
-
this.inputs[event.target.name] = event.target;
|
|
11855
|
-
if (!this.open)
|
|
11856
|
-
event.stopPropagation();
|
|
11857
11843
|
}
|
|
11858
11844
|
}
|
|
11859
11845
|
render() {
|
|
11860
|
-
return (index.h("details", { key: '
|
|
11846
|
+
return (index.h("details", { key: 'bbeeca90e53734b3e3fd868962beee5f692c65f9', onToggle: e => this.toggleHandler(e), open: this.open }, index.h("summary", { key: 'e859d2917705c7f6e0b850de7d8efa9f2b88212a' }, index.h("smoothly-icon", { key: 'f432d3670a80d5df6384555195736d29468bdce9', name: "caret-forward", fill: "solid", size: "tiny" }), index.h("slot", { key: '21344a4ffa7f4154d07a0c584b0550b7c395afd3', name: "summary" })), index.h("slot", { key: '5b2c189f3cb88911ede221584e4824d6e336d82d', name: "content" })));
|
|
11861
11847
|
}
|
|
11862
11848
|
};
|
|
11863
11849
|
SmoothlySummary.style = SmoothlySummaryStyle0;
|
|
@@ -11906,7 +11892,7 @@ const SmoothlyTab = class {
|
|
|
11906
11892
|
}
|
|
11907
11893
|
}
|
|
11908
11894
|
render() {
|
|
11909
|
-
return (index.h(index.Host, { key: '
|
|
11895
|
+
return (index.h(index.Host, { key: '2a9419f70ed2126516bc5ee55affbc8965ac2783' }, index.h("div", { key: '13fd8f7013833d85c6300848205feee915f97822', onClick: () => !this.disabled && (this.open = true) }, index.h("label", { key: 'ec233d8c479867447482aa97dfef805a21143dd9', "data-smoothly-tooltip": this.tooltip }, this.label)), index.h("div", { key: 'daabe3447f10b0231793cda1b7e1dc4c6ff0b298', hidden: !this.open }, index.h("slot", { key: '53f98e491dde3a333c4c4b0d9955762d8440145d' }))));
|
|
11910
11896
|
}
|
|
11911
11897
|
get element() { return index.getElement(this); }
|
|
11912
11898
|
static get watchers() { return {
|
|
@@ -11930,7 +11916,7 @@ const SmoothlyTable = class {
|
|
|
11930
11916
|
event.stopPropagation();
|
|
11931
11917
|
}
|
|
11932
11918
|
render() {
|
|
11933
|
-
return (index.h(index.Host, { key: '
|
|
11919
|
+
return (index.h(index.Host, { key: '2d475aad72fcaf31aed36d99f2684a5012e5dd06', style: { "--columns": this.columns.toString() } }, index.h("slot", { key: 'ed1188366aa69849604369b1d0286541027a13a1' })));
|
|
11934
11920
|
}
|
|
11935
11921
|
};
|
|
11936
11922
|
SmoothlyTable.style = SmoothlyTableStyle0;
|
|
@@ -11943,7 +11929,7 @@ const SmoothlyTableBody = class {
|
|
|
11943
11929
|
index.registerInstance(this, hostRef);
|
|
11944
11930
|
}
|
|
11945
11931
|
render() {
|
|
11946
|
-
return (index.h(index.Host, { key: '
|
|
11932
|
+
return (index.h(index.Host, { key: '4ca1a1cc8e285f8a87b5b8dd385b414de8599968' }, index.h("slot", { key: 'f998de1a4a3998a9d6f8391618098b839702d4de' })));
|
|
11947
11933
|
}
|
|
11948
11934
|
};
|
|
11949
11935
|
SmoothlyTableBody.style = SmoothlyTableBodyStyle0;
|
|
@@ -11958,7 +11944,7 @@ const SmoothlyTableCell = class {
|
|
|
11958
11944
|
}
|
|
11959
11945
|
render() {
|
|
11960
11946
|
var _a;
|
|
11961
|
-
return (index.h(index.Host, { key: '
|
|
11947
|
+
return (index.h(index.Host, { key: '608d5b165eeb45ada644442d3adf5c0817f08f72', class: "smoothly-table-cell", style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, index.h("slot", { key: 'b274f770e741e3fca953b6012963042ebd78f055' })));
|
|
11962
11948
|
}
|
|
11963
11949
|
};
|
|
11964
11950
|
SmoothlyTableCell.style = SmoothlyTableCellStyle0;
|
|
@@ -11971,7 +11957,7 @@ const SmoothlyTableDemo = class {
|
|
|
11971
11957
|
index.registerInstance(this, hostRef);
|
|
11972
11958
|
}
|
|
11973
11959
|
render() {
|
|
11974
|
-
return (index.h(index.Host, { key: '
|
|
11960
|
+
return (index.h(index.Host, { key: 'efe7db65edfcc29401a4b6144451a594e6aa6b51' }, index.h("smoothly-table-demo-filler-row", { key: 'b5d3ed513629fa9004ccdbe2d0b4fa5a846c9c1c' }), index.h("smoothly-table-demo-group", { key: '59e9996230870d75df4225bb1e8fca8054ae4bfd' }), index.h("smoothly-table-demo-colspan", { key: '76350cc4b70f56b5efd23e03f418aa7255ec0881' }), index.h("smoothly-table-demo-simple", { key: '7a713c248f8710a291c397dd40f60d3a8a753ece' }), index.h("smoothly-table-demo-nested-no-cell", { key: '3c82254151124465fe4a2f0b72c84f32e00505c2' }), index.h("smoothly-table-demo-filtered", { key: '20656c59c35345217d823184d9678a6a87f40ade' })));
|
|
11975
11961
|
}
|
|
11976
11962
|
};
|
|
11977
11963
|
SmoothlyTableDemo.style = SmoothlyTableDemoStyle0;
|
|
@@ -11984,7 +11970,7 @@ const SmoothlyTableDemoColspan = class {
|
|
|
11984
11970
|
index.registerInstance(this, hostRef);
|
|
11985
11971
|
}
|
|
11986
11972
|
render() {
|
|
11987
|
-
return (index.h(index.Host, { key: '
|
|
11973
|
+
return (index.h(index.Host, { key: '206c3432bf7936b15e972c161424e6b0e102a15c' }, index.h("smoothly-table", { key: 'fd9a1adfc79d7e3fa130e55614c8956aa9993ce7', columns: 3 }, index.h("smoothly-table-head", { key: '079086e32eab6c27ec06646b7cc1addc5a45e218' }, index.h("smoothly-table-row", { key: '6b421c777d5857d7b8c6e92dfa8ebb9e65c24f0d' }, index.h("smoothly-table-cell", { key: '9c0f4181cefa485af433741c55eb8033057333ba' }, "Date"), index.h("smoothly-table-cell", { key: '6b089e4d9d9d43ead73b8602d1f482b019810ee7' }, "Skip"), index.h("smoothly-table-cell", { key: 'b3a5f766b5a7bc15fe29aa2ba35d908f33883f7f' }, "Total"))), index.h("smoothly-table-body", { key: '12be40d0b1546ef3bcb8d95815e3a6751a34dc95' }, index.h("smoothly-table-row", { key: '22d3015ebb0c1a19b412c175f231de9cd3f9f04c' }, index.h("smoothly-table-cell", { key: 'cb591fa2b41381aa1c663a701a76b953ff610262', span: 2 }, index.h("smoothly-display", { key: 'a9dfcaebab3333ea62c290c9952ecc7c77ba33a7', type: "date", value: "2024-01-01" })), index.h("smoothly-table-cell", { key: 'b3680b9847f0e5635538af75af7c117d86464fcc' }, index.h("smoothly-display", { key: 'c89fca16b3f2e836dc9dd8c2378f4b26bab2be1f', type: "price", value: 120, currency: "EUR" }))), index.h("smoothly-table-row", { key: 'd2574793e06a73ede9721349f9e26ea596947500' }, index.h("smoothly-table-expandable-cell", { key: '2ab7fcbb3c3f54298e7b9f4b6b8287f0e5c07c04', span: 2 }, index.h("smoothly-display", { key: '40f846739879908115983e730c2e135fc3473977', type: "date", value: "2024-01-02" }), index.h("smoothly-lazy", { key: '9989441f4da6a580d7d7a21a8623a1dafc0d6a3d', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), index.h("smoothly-table-expandable-cell", { key: '20f47281da324a3fe529553b57c2e50de7a7039d' }, index.h("smoothly-display", { key: 'd9d02229b0bfa49122ede86d2513648a1448d8bf', type: "price", value: 220, currency: "EUR" }), index.h("smoothly-lazy", { key: '7803a63f59d968622edfb07fed2b40338fb1b460', slot: "detail", content: index.h("span", null, index.h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", index.h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), index.h("smoothly-table-row", { key: '0bf9dd84e89fef204799961f85e24b5a14d4c4d4' }, index.h("smoothly-table-cell", { key: '7feacfd6127864b97ac910256f434b42ee57dcd6' }, index.h("smoothly-display", { key: 'df857a1e9f9503c08c49f564a47bbb4b3b96f170', type: "date", value: "2024-01-02" })), index.h("smoothly-table-cell", { key: 'bd1848a3218ec7b9177b0354570fc3a96f827c0a' }, "Not Skipped"), index.h("smoothly-table-cell", { key: '1656b57464928e417afa36732fe710654c6c1e8d' }, index.h("smoothly-display", { key: '6097190c8c8c9ae2899a0497d524da52f42a145e', type: "price", value: 320, currency: "EUR" })))))));
|
|
11988
11974
|
}
|
|
11989
11975
|
};
|
|
11990
11976
|
SmoothlyTableDemoColspan.style = SmoothlyTableDemoColspanStyle0;
|
|
@@ -12003,7 +11989,7 @@ const SmoothlyTableDemoFillerRow = class {
|
|
|
12003
11989
|
}, 3000);
|
|
12004
11990
|
}
|
|
12005
11991
|
render() {
|
|
12006
|
-
return (index.h(index.Host, { key: '
|
|
11992
|
+
return (index.h(index.Host, { key: 'e2842ae7ee217b160d69fc5fa6cb686af528e2fc' }, index.h("smoothly-display", { key: '8ec4889c9bc004f61f6b9d91b87e9135f2b7ba11', type: "text", value: "Filler row" }), index.h("smoothly-table", { key: '39f5a22a15a05631cf015918050e94215a336d62', color: "primary", columns: 4 }, index.h("smoothly-table-head", { key: '271ced47bcbc64f53cc70bf3f1ca757059ac81dd' }, index.h("smoothly-table-row", { key: '7a7566c40b27be58ab6bc3f6eeea2b5e90726cf5' }, index.h("smoothly-table-cell", { key: 'c3f0eb89f019759418b4524fa923194e1eaa05c9' }, "Breed"), index.h("smoothly-table-cell", { key: 'beb4c8b9c55d96c4f3e9faa71bfc9bf3971a1e25' }, "Country"), index.h("smoothly-table-cell", { key: '6c8e3177e07f82961707a6f31729ede9da79acd9' }, "Coat"), index.h("smoothly-table-cell", { key: '71023e2b53ab05e19b5d2f973f4b45c6ad1b7525' }, "Origin"))), index.h("smoothly-table-body", { key: 'a4a2e96740dbb0191031fb008fba9c349f4d37b1' }, this.cats === undefined ? (index.h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (index.h("smoothly-table-filler-row", null, index.h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (index.h("smoothly-table-row", null, index.h("div", { class: "smoothly-table-cell" }, a.breed), index.h("div", { class: "smoothly-table-cell" }, a.country), index.h("div", { class: "smoothly-table-cell" }, a.coat), index.h("div", { class: "smoothly-table-cell" }, a.origin)))))))));
|
|
12007
11993
|
}
|
|
12008
11994
|
};
|
|
12009
11995
|
SmoothlyTableDemoFillerRow.style = SmoothlyTableDemoFillerRowStyle0;
|
|
@@ -12075,18 +12061,18 @@ const TableDemoFiltered = class {
|
|
|
12075
12061
|
}
|
|
12076
12062
|
render() {
|
|
12077
12063
|
const cats = this.cats && filter(this.criteria, this.cats);
|
|
12078
|
-
return (index.h(index.Host, { key: '
|
|
12064
|
+
return (index.h(index.Host, { key: 'b2496133669576bf999beed5b34209da721db862' }, index.h("smoothly-display", { key: 'e6ca869034ac2981e7b2725a9b0b15a187ff0533', type: "text", value: "Filtered" }), index.h("smoothly-filter", { key: '9671d4342e35e40dca90683c6051b277395e5b8d' }, index.h("smoothly-filter-toggle", { key: 'bdb72d2b1cd012fccfeaafc6a39b0939da679581', properties: { ["nested.pattern"]: "Ticked", breed: "" }, icon: "add", tooltip: "Nested Ticked", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '7e02ac6837819923749faf9d27b06877b6a91f53', properties: { pattern: "Ticked", breed: "" }, icon: "paw", tooltip: "Ticked cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: 'ce9dedd04d828a036dd35893f816107a3e2bff98', properties: { breed: "Bombay", pattern: "Solid" }, icon: "radio-button-on", tooltip: "Solid bombay cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '12246409d8b02f58a02951e3045a2f1d608393f3', properties: { pattern: "Colorpoint" }, not: true, active: true, icon: "alert", tooltip: "Colored cats", slot: "bar" }), index.h("smoothly-filter-select", { key: '92d614561377e367e09fcf360398211106f22caa', menuHeight: "5items", label: "coat", property: "nested.coat", slot: "bar", multiple: false }, this.cats &&
|
|
12079
12065
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
12080
12066
|
var _a;
|
|
12081
12067
|
return ((_a = cat.nested) === null || _a === void 0 ? void 0 : _a.coat) && (index.h("smoothly-item", { slot: "items", value: cat.nested.coat }, cat.nested.coat));
|
|
12082
|
-
})), index.h("div", { key: '
|
|
12068
|
+
})), index.h("div", { key: '7633ee0389289db186d8f69ec959489e7ce849ee', slot: "detail" }, index.h("smoothly-form", { key: '9e298b588a374bb5d25815598bfb90ef5e0b7249', looks: "border" }, index.h("smoothly-filter-select", { key: 'c1e06cf576321f8d1689fb717da71e0ab94adc54', menuHeight: "5items", label: "coat", property: "nested.coat", multiple: true }, this.cats &&
|
|
12083
12069
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
12084
12070
|
var _a;
|
|
12085
12071
|
return ((_a = cat.nested) === null || _a === void 0 ? void 0 : _a.coat) && (index.h("smoothly-item", { slot: "items", value: cat.nested.coat }, cat.nested.coat));
|
|
12086
|
-
})), index.h("smoothly-filter-select", { key: '
|
|
12087
|
-
Object.values(this.cats.reduce((r, cat) => (cat.breed ? Object.assign(Object.assign({}, r), { [cat.breed]: cat }) : r), {})).map(cat => cat.breed && (index.h("smoothly-item", { slot: "items", value: cat.breed }, cat.breed)))), index.h("smoothly-filter-select", { key: '
|
|
12072
|
+
})), index.h("smoothly-filter-select", { key: '502b2cd5e7bb76f26e37b7baaf48d32f3d45ad8a', menuHeight: "5items", label: "breed", property: "breed", multiple: false }, this.cats &&
|
|
12073
|
+
Object.values(this.cats.reduce((r, cat) => (cat.breed ? Object.assign(Object.assign({}, r), { [cat.breed]: cat }) : r), {})).map(cat => cat.breed && (index.h("smoothly-item", { slot: "items", value: cat.breed }, cat.breed)))), index.h("smoothly-filter-select", { key: '86ce003b89b69ac422fcaa99814154c9b5c7e811', menuHeight: "5items", label: "names", property: "nested.names", multiple: true, type: "array" }, Object.keys(Object.values(names)
|
|
12088
12074
|
.flat()
|
|
12089
|
-
.reduce((r, name) => (Object.assign(Object.assign({}, r), { [name]: true })), {})).flatMap(name => (index.h("smoothly-item", { slot: "items", value: name }, name)))), index.h("smoothly-filter-input", { key: '
|
|
12075
|
+
.reduce((r, name) => (Object.assign(Object.assign({}, r), { [name]: true })), {})).flatMap(name => (index.h("smoothly-item", { slot: "items", value: name }, name)))), index.h("smoothly-filter-input", { key: '1b1633c816f19e098226dc046ba96890f554fa2e', label: "Coat", property: "coat" }), index.h("smoothly-filter-input", { key: '2a2ae7d91ad02a57f6d704e12a491811654416a8', label: "Nested Coat", property: "nested.coat" })))), !cats ? ("Failed to load data.") : (index.h("smoothly-table", { columns: 4 }, index.h("smoothly-table-head", null, index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, this.selector.render(cats)), index.h("smoothly-table-cell", null, "Breed"), index.h("smoothly-table-cell", null, "Coat"), index.h("smoothly-table-cell", null, "Price"))), cats.map(cat => (index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, this.selector.render(cat)), index.h("smoothly-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country: ", cat.country)), index.h("smoothly-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), index.h("smoothly-table-cell", null, index.h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), index.h("smoothly-table-foot", null, index.h("smoothly-table-row", null, index.h("smoothly-table-cell", { span: 3 }, index.h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` }))))))));
|
|
12090
12076
|
}
|
|
12091
12077
|
};
|
|
12092
12078
|
const names = {
|
|
@@ -12105,7 +12091,7 @@ const SmoothlyTableDemoGroup = class {
|
|
|
12105
12091
|
index.registerInstance(this, hostRef);
|
|
12106
12092
|
}
|
|
12107
12093
|
render() {
|
|
12108
|
-
return (index.h(index.Host, { key: '6d9d720c9f65ee6e78d7f596f9ee408be480ed88' }, index.h("smoothly-display", { key: '442f2225f2bb78b7cfe89ead3dff83f8a1024a12', type: "text", value: "Group" }), index.h("smoothly-table", { key: '75e518f1bb83c6f6f6d62010d053ef4a4b50d8ad', color: "primary", columns: 2 }, index.h("smoothly-table-head", { key: 'a3b1b7ca223ca3a25b88b0227e1612eb3e336942' }, index.h("smoothly-table-row", { key: 'c73a74aae9e8d864e7cee7db9499edee0b15cbf8' }, index.h("smoothly-table-cell", { key: '99d7b1277ba0c972fe34cdd147355869756fd28f' }, "Date"), index.h("smoothly-table-cell", { key: '573e988d77b5dd5adc437a75f946e0150be5c923' }, "Total"))), index.h("smoothly-table-body", { key: '2d7ebdd9a13ba981340393562959c9fdcdf712b6' }, index.h("smoothly-table-row-group", { key: '6b5f75f9149d0164b2e44be982235aa246403db3', align: true }, index.h("smoothly-display", { key: '82ea0c8ec6aac799ac5a7289f1a9de1e138f32f4', slot: "start", type: "date", value: "2024-01-01" }), index.h("smoothly-display", { key: 'c1635fde48e93028e0dff1190a6126e2518780bf', slot: "end", type: "price", currency: "EUR", value: 510 }), index.h("smoothly-table-expandable-row", { key: '219ecff799b456f79b8bd3f7579b8eedfbe1fd4f' }, index.h("smoothly-table-cell", { key: '4af427ab1067d867a2db1e5fbabf7a158247e392' }, index.h("smoothly-display", { key: '7f26e1e50ccfe1ef9e8fd3195088b869b10eb3c0', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'e41d6251de24de87eb6fbff44b7f6484d0959a6b' }, index.h("smoothly-display", { key: '6e936eb954709ccd79e07c0f095d4550130a1c6f', type: "price", currency: "EUR", value: 250 })), index.h("smoothly-lazy", { key: 'd2d1849b4d33793e49d195c53f016d808e0b1886', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '40c10a52c8f5f9c4d9e93966b59251e4f4e42149' }, index.h("smoothly-table-cell", { key: 'b6c95ae35ee94d18c5dffc045b68fac6a7e06d2f' }, index.h("smoothly-display", { key: '91a552a9a396793dd70fef75ffc907c2fbfe65fe', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: '9ad9b08413b3af146964ad7ec55c1ea2c02a712f' }, index.h("smoothly-display", { key: 'b4d454228ebdb79c31c731466651f784b1613224', type: "price", currency: "EUR", value: 260 })), index.h("smoothly-lazy", { key: '8d732c325253f602d25ec6ba30b1291201a32c7a', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index.h("smoothly-table-row", { key: 'c9e41854cec178b08a57cc36a81960cb237cef7f' }, index.h("smoothly-table-cell", { key: '48e4c3f51bd3e5dcfef37de376486bb0cacb1897' }, index.h("smoothly-display", { key: '969399bad6fb75140f5f83708dcb50cb627effda', type: "date", value: "2024-01-02" })), index.h("smoothly-table-cell", { key: 'f9bc001afdeccd78165b9d2478d6314cac70bff2' }, index.h("smoothly-display", { key: '4434c24160a55b7240b5593cf312092a3947ddef', type: "price", currency: "EUR", value: 130 }))), index.h("smoothly-table-row-group", { key: 'a21233eeb054f83b737c58925a4c4495e5b7ff51' }, index.h("smoothly-display", { key: '84f74f0bbf11900d6eee8216bb4088617931637a', slot: "start", type: "date", value: "2024-01-03" }), index.h("smoothly-display", { key: '157cb701956e04bf9c670cda76e5b5858fd9be1c', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '23af7d13f3b58326f0c9a4cdccd9306fb5ad60e4' }, index.h("smoothly-table-cell", { key: '131221fd900aa54a7a2d2e4e42020b05b39990cd' }, index.h("smoothly-display", { key: 'd5edd178663afecd6ceab1e423c072e7ed95205c', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'ccadd0bd3aa811bfc83792e95a22ba307856c543' }, index.h("smoothly-display", { key: '119615d08a8dd9a3481441b4eaccc8f84e794234', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '7bdd1508625fc65fea848f9c871bc0f7113713c4', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'a22ae664ecce5e85f977541d821dd4f4d366531e' }, index.h("smoothly-table-cell", { key: '269b28c5665de4c1768987adb15a92d7a0acf621' }, index.h("smoothly-display", { key: '2d52a2cf92af3bf7b52f6adbf8b8a7285d62b4fb', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'fe9d872e9b37c4a4b08b4a03c1acb0d212818cb1' }, index.h("smoothly-display", { key: '43170bb184784a9d0b082c898a7f0a77f8baf3f4', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: 'bd412ca84f5b4b9062606feece29ad1184bc0476', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: '6112ee6121bcad833d1f02167ba8073e3235cc95' }, index.h("smoothly-display", { key: 'facc202e110a1053cc26a97cf767bfdb9e73394e', slot: "start", type: "date", value: "2024-01-04" }), index.h("smoothly-table-expandable-row", { key: '8d7bdd302c9377cbba23ef2b4906273e15c599ec' }, index.h("smoothly-table-cell", { key: '698c9999906b3be4246d0a20f71b85cd012e6473' }, index.h("smoothly-display", { key: '9be680909e86d6b2df9b73a89afe4cbf1a3d1a84', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'f047498688a24070acc3dfb2a32b5628220a6aae' }, index.h("smoothly-display", { key: '1f02d412063ab76e661d0fe085b95145b74d2ce7', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '327f8952dcc07cc927b9c1373c7dbf7311a7d5b6', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '80ef35064b8381294fc9505b9c8878c8a94c0d08' }, index.h("smoothly-table-cell", { key: '7f27cb4321897cf89756a000cd0660a7e5290010' }, index.h("smoothly-display", { key: 'cd57556e1a80c1eea860f56c92bc843a4f44c40e', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'aaa72d5269512ba1ab02855550f20a7f92ad1371' }, index.h("smoothly-display", { key: '68450b89acaed9519be6f2116b04d5f81a20a6c4', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '370515defa109a30b4c15a78f11eae5c66350828', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: 'c0c2053a5e4791d6a4dff32351efbe4da3639d99' }, index.h("smoothly-display", { key: '7468596a3759d2f84dc81576c6870b8d5827ccbf', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: 'f7603b206230bf809e45e80790d08849dc40d8f9' }, index.h("smoothly-table-cell", { key: 'b84710d6d77b9f7e1c63bf6b8627b66d5e0948a5' }, index.h("smoothly-display", { key: '49a4e934e415b06f8b08c80f62dab8b4aa8d9f95', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'a79299767ba343f1046aad9450c43ad98950aad4' }, index.h("smoothly-display", { key: 'ccab7e3fad519585802f32d4b0909a86bf3b9c01', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '9636cdd9717072aa6f864aa91b90bb8fcbe5a687', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'ed90ef5e0e075709b748956cee2c3f6f38102680' }, index.h("smoothly-table-cell", { key: '16211d7f920672f603e50663bb4ab7159f84ac82' }, index.h("smoothly-display", { key: '245a46a01cf2af116a69c34539fcc35f689b6341', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: '83d04a784aab7b8b8bff1d85b4f18856f18d0716' }, index.h("smoothly-display", { key: '884a75969507a2761004769c4cad8a84117ceded', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '34e6cd24929dce32bd55a3292adbc25064ebb0be', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index.h("fake-group-wrapper", { key: '6b6f7525e80b02168c3c17e3814c317d7c52ccc7' }, index.h("smoothly-table-row-group", { key: '2130f2f4e0fbb98ea91e34b1f8357f8f1f3b5249' }, index.h("smoothly-display", { key: '68b6b288fcafaabce7e8326502ae43a74510eb79', slot: "start", type: "date", value: "2024-01-06" }), index.h("smoothly-display", { key: 'a1d3e7a2f6acd5eacf9640f798d76fcb1eb3f968', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("fake-row-wrapper", { key: '867ee14f5bd095b89abdc5c834f99dccc1375580' }, index.h("smoothly-table-row", { key: '406e8d3ae31dfb96910581c83a52c48e74b32191' }, index.h("fake-cell-wrapper", { key: '3618f86fec25652686269c38ac485b52b5858414' }, index.h("smoothly-table-cell", { key: '4e05b78f422225d1703542bdc09c031d4ef01439' }, index.h("smoothly-display", { key: '524047b0c78e55c371d6429be46baaf584ff7773', type: "date", value: "2024-01-02" }))), index.h("fake-expandable-cell-wrapper", { key: '8af40560c19095286387a1d34f1a90775b8eb904' }, index.h("smoothly-table-expandable-cell", { key: '5af22121f49b70c6acdcdbcc75d5b23aaf1e6f14' }, index.h("smoothly-display", { key: '57c9c46d563ab92dbb41ec95612c8a911bab50a2', type: "price", currency: "EUR", value: 130 }), index.h("smoothly-lazy", { key: '04a1b0e907daa6f9636d1b326e90456b9cf8e6f8', slot: "detail", content: index.h("span", null, index.h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", index.h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), index.h("fake-expandable-row-wrapper", { key: 'c52eaa827ceba1f5f66fda7f24100709db8f2d2d' }, index.h("smoothly-table-expandable-row", { key: '9ac70443987bef8edefa84b3fb8e208533ebc650' }, index.h("fake-cell-wrapper", { key: '93b0839f92eca4c40a9e17dc5f1a41780a7a867d', class: "span-2" }, index.h("smoothly-table-cell", { key: '2fe0229182ee9015448e4ff946bc2ccc4bd1ef1e', span: 2 }, index.h("smoothly-display", { key: '4435bb704d3e4364a1fc1b5223024c563a2ac39f', type: "date", value: "2024-01-07" }))), index.h("smoothly-lazy", { key: 'e6e993d75df5a4100e16fe601dd1a3af690ad032', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index.h("smoothly-table-row-group", { key: 'c1a7c1157668bc689449d7481867d627b9017163' }, index.h("smoothly-display", { key: '4c3b421c9b1d97d18ba83acb46b08d271704f6bf', slot: "start", type: "date", value: "2024-01-08" }), index.h("smoothly-display", { key: 'd9b984cf9a96b3cf9241d4f1d2217b1b6410d504', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
12094
|
+
return (index.h(index.Host, { key: 'da018054a4b16d6fd81dc60fc9ddf3e4c77860c1' }, index.h("smoothly-display", { key: '51aa321cd3b22275ff7dc12e1b82b42fc1997c25', type: "text", value: "Group" }), index.h("smoothly-table", { key: '32aec70ba3bc78e572b118d0a7c796cf1b40a9cc', color: "primary", columns: 2 }, index.h("smoothly-table-head", { key: '75374db74064f5ec5926b08baedffa2f553037e3' }, index.h("smoothly-table-row", { key: 'fc5e9fb16db4aaf96b005fdc08b0973fd94d5a6b' }, index.h("smoothly-table-cell", { key: '7ef43c21f5c4760cf379ebed4fd77a0c4263ef6a' }, "Date"), index.h("smoothly-table-cell", { key: '33f0ad771cb46b032661ff5b43d5fdc4dd6425bb' }, "Total"))), index.h("smoothly-table-body", { key: 'd74fc9dbf2cae53ad0dbb53412132e1090591a65' }, index.h("smoothly-table-row-group", { key: '7cd93d9bcc6ee81c60e96b402bd96dbb9db74725', align: true }, index.h("smoothly-display", { key: '3dcbc09dea2add837101f1ba69e90fa4a46edea9', slot: "start", type: "date", value: "2024-01-01" }), index.h("smoothly-display", { key: '6d5c82538e836f4e47c802b711a94876b77f3817', slot: "end", type: "price", currency: "EUR", value: 510 }), index.h("smoothly-table-expandable-row", { key: '8a8c2bc2dcfb221fa92f01c7356340811d88996b' }, index.h("smoothly-table-cell", { key: 'fd6da924a5a26c7e8961c66ea2bb31f9f81d715a' }, index.h("smoothly-display", { key: '443b690dc480dad5705fa5e3841bb3c7a2c256da', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: '6775c121dfef064a1c2536514fa8d38aeab30624' }, index.h("smoothly-display", { key: 'de6f0ce1d1f23d0b64059b9768834e0795ffc3db', type: "price", currency: "EUR", value: 250 })), index.h("smoothly-lazy", { key: '4eedf3384b751068dbe9d7e54f77f0821658a24b', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '2e86dcf3208a55f0c5a32013638e167dcc949fd3' }, index.h("smoothly-table-cell", { key: '3563fa6a11720be09e59404cc39f8c5b2c0932ec' }, index.h("smoothly-display", { key: '828d9102af9043b3af6f74d0dec9d474a85e4c87', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: '4deb09e2dcdbccf59c02b7797e18561569ecba39' }, index.h("smoothly-display", { key: 'aa34dca36239d202565311e5e89bfc65832cb10a', type: "price", currency: "EUR", value: 260 })), index.h("smoothly-lazy", { key: 'e7716c3cf2fe6a6ffdfdbd386c12a8d4ce9e5549', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index.h("smoothly-table-row", { key: '07c2d59e74294030d8a5af6bf66cfbcb00f0c7fd' }, index.h("smoothly-table-cell", { key: 'c71040890a72916ad35b12ee588d6ba0420646b8' }, index.h("smoothly-display", { key: '68cb381ce234e38d8bbbfbfa47ea43d94e5e7ec4', type: "date", value: "2024-01-02" })), index.h("smoothly-table-cell", { key: '2481c10a323c27700db2acd5912caf0ef974a23e' }, index.h("smoothly-display", { key: 'a1d92551f0d769e5e148f20225805f5d178cb40f', type: "price", currency: "EUR", value: 130 }))), index.h("smoothly-table-row-group", { key: 'eab21ae8ceae4007183b890f0f843db056f75b3b' }, index.h("smoothly-display", { key: 'e3cab2799afc3b8220eeb5959ba349954d64f432', slot: "start", type: "date", value: "2024-01-03" }), index.h("smoothly-display", { key: '2c008844c5e33e2c94a71312bb83017bd2f5c21a', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '8fc307fb2ca022baaca2185e4ad07bb2ae1874b3' }, index.h("smoothly-table-cell", { key: 'bf8896a16335d24b7c454d865561e38fc9f7e18d' }, index.h("smoothly-display", { key: 'd390d1e203be30e671640ab40ecfc303cd2ad373', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'b7b0f8552e8553da4688617e91d1ec363cb76ac1' }, index.h("smoothly-display", { key: 'f15c573f1b1bda33e7e645648a38f27ba2b760c2', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '9e3b1abdc5531434bff506e5fd60e3cf2f5b1302', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '685d8ca397497da8c1d6284061b1f27c6d7dd0bb' }, index.h("smoothly-table-cell", { key: '617e0c3c1b7a30eb275ed475d42e705be7dfc5ea' }, index.h("smoothly-display", { key: 'afaa145b63c5a6b3627d5996381e2d5bda27172d', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: '1b13e3bb4d32abd553a47dc62035d8334020a5d5' }, index.h("smoothly-display", { key: '9412d8622d09f5927efdc5bb3ec65c4def72af80', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '2587a7908fbc2573eda2a718aa748225f7e950e7', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: 'cacde2dbf4de84459496605e81d3164060ee33c6' }, index.h("smoothly-display", { key: 'c38877961cce544f5503aafdd7816d0ed732c1d2', slot: "start", type: "date", value: "2024-01-04" }), index.h("smoothly-table-expandable-row", { key: '6b14e1f8b1b25199c60f46aa721816e943a490d3' }, index.h("smoothly-table-cell", { key: '1d7f5ec04613837bd2b59dbcd2663411f4ed0cb6' }, index.h("smoothly-display", { key: '67307cd9c3ffd4c2c9efe340d7c83b8fbc4bc534', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'e8170034117e3be53d6d3c6244ae324d7314db52' }, index.h("smoothly-display", { key: '68169967a6b58da90e4829477b1eec315a7ac976', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: 'c202d836185afef6ef82f26c42dd88d7def426d9', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'd01d644c0eddfef155d11734bb446fec2c05bb45' }, index.h("smoothly-table-cell", { key: '25fc8925fbede3bbc1d8820ec1e45f2b24d5b667' }, index.h("smoothly-display", { key: '2173e747b53529897a2d8b59529a57e970b90315', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'ed4fe4b60e75f53e05c5a8db757402c61e7d70a0' }, index.h("smoothly-display", { key: 'ed5c13a807f6b72a357be497ce19453775ec46e8', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '45397867dde0889104541487e4583efb409b0b5f', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: '67aef82d4437f494d548dee5a43ce5cbfc5ab72f' }, index.h("smoothly-display", { key: 'b9eef7f0227a3724f179d0ee78c7a176f715f508', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '07f54cf1e98b36b00e51bf05b8510aed92e99235' }, index.h("smoothly-table-cell", { key: '72ffadaf8aef7fd69d22437dada51c9c42514440' }, index.h("smoothly-display", { key: 'da23b7948ee52423977da6fa03db5e17cc45b349', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: '07341b7e77b18bd7f35f7ec19d8f0ce5125bd87b' }, index.h("smoothly-display", { key: '6aaa00ea2364f5aaf31dc25d2b349d21328fcdc5', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: 'bfc335f98ecd74084e50dc910e4c7aad297ad214', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '966c6857a25076214d04d9e3005140b544062217' }, index.h("smoothly-table-cell", { key: '62ceb6e434e519560be7626dd9b949eea5471cac' }, index.h("smoothly-display", { key: '865dd5f8b1c4d2b74696d6f70f19ae07fb31c01b', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'bd9f91491faa6a42777c05c12c98c3d2b6527ee2' }, index.h("smoothly-display", { key: '7605031ad04f719305c75913906d8ec1ecda1957', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: 'c5d8373f3f7d5bca502f9c1af9ced0f87d63d447', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index.h("fake-group-wrapper", { key: '6aa2a583c922c3e2b54866a0a7b8367876fa71ba' }, index.h("smoothly-table-row-group", { key: 'e66a37d22790a34947db4aef076ff68fa775aba2' }, index.h("smoothly-display", { key: '026dfdfa13d81da7276a14aedc7624bf877d60a1', slot: "start", type: "date", value: "2024-01-06" }), index.h("smoothly-display", { key: '012e25ac22a4af1bf7c3da7e979faf9ef894b8eb', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("fake-row-wrapper", { key: '5aec00c528da5f999e9cdd4bf21cd9e2cb3ab503' }, index.h("smoothly-table-row", { key: 'b733662dbe7f3c4a635af51719531597e252c295' }, index.h("fake-cell-wrapper", { key: '8a20a4fe8699569b946e82d184df6ece1027ccc9' }, index.h("smoothly-table-cell", { key: 'b9719cb65467fec3ff95c44ed42ea7e28d58c47d' }, index.h("smoothly-display", { key: 'c875865ff95ae604ea72c3d7d4a44cce6c81d70f', type: "date", value: "2024-01-02" }))), index.h("fake-expandable-cell-wrapper", { key: 'a8e641b74ac5252beafd6a18270e9619123b5173' }, index.h("smoothly-table-expandable-cell", { key: '1c2a62ed15b03d462a1f03e01845546a7849caee' }, index.h("smoothly-display", { key: '593b8b35deb66e2870ee64e7cbbec8e954241986', type: "price", currency: "EUR", value: 130 }), index.h("smoothly-lazy", { key: '0dea3b894850a75f3189b6d20594e4eebda93383', slot: "detail", content: index.h("span", null, index.h("smoothly-display", { type: "price", value: 100, currency: "EUR" }), " + ", index.h("smoothly-display", { type: "price", value: 30, currency: "EUR" })) }))))), index.h("fake-expandable-row-wrapper", { key: '53a8d5e0edbbfae641257bde1d2957aa83bcf28c' }, index.h("smoothly-table-expandable-row", { key: '187e5073bd8a6b6beb9986b73374e271b7074e16' }, index.h("fake-cell-wrapper", { key: 'd92cc6581ce932ad32f87014d625fa8dbcd52ddb', class: "span-2" }, index.h("smoothly-table-cell", { key: '6d02637fd50db42ef9c00689fd83744fa6fa1930', span: 2 }, index.h("smoothly-display", { key: 'e7ac8d9d25dc03f6de7a75cb18f7e1287cbb0551', type: "date", value: "2024-01-07" }))), index.h("smoothly-lazy", { key: 'febf6353725027457a7adeab916a8620fff60404', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index.h("smoothly-table-row-group", { key: 'e4d7e6a2d08b1ca22fa82e36bcac5626d174d917' }, index.h("smoothly-display", { key: 'e6c1395ac51f719ce119dbdfa01d14114460da99', slot: "start", type: "date", value: "2024-01-08" }), index.h("smoothly-display", { key: '003a6cbd69b50fb04252ec20c30c83b3ad7f2da2', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
12109
12095
|
}
|
|
12110
12096
|
};
|
|
12111
12097
|
SmoothlyTableDemoGroup.style = SmoothlyTableDemoGroupStyle0;
|
|
@@ -13053,7 +13039,7 @@ const SmoothlyTableDemoNestedNoCell = class {
|
|
|
13053
13039
|
this.loadedRows = [];
|
|
13054
13040
|
}
|
|
13055
13041
|
render() {
|
|
13056
|
-
return (index.h(index.Host, { key: '
|
|
13042
|
+
return (index.h(index.Host, { key: 'd9a2afc99200a5d26f91685928f65f17e7bf4011' }, index.h("smoothly-display", { key: '8ba8c8c5d923b3a33d945bedc7012c2d8972bbe5', type: "text", value: "Nested" }), index.h("smoothly-table", { key: '3d9b1557644de9b8fa357aa1172028d9c8783d38', color: "primary", columns: 8 }, index.h("smoothly-table-head", { key: '542ce03049d85cc1eaba4eb12fd622cc98deb8b9' }, index.h("smoothly-table-row", { key: '48bfb36158c329821c054ae2058f00f2ca2b57f4' }, index.h("div", { key: 'ce0e5c7fa53dd372d911e281d0b9821056a23476', class: "smoothly-table-cell" }, "Id"), index.h("div", { key: 'f17c235a442ef273ffc7015ccd7e8af83254edad', class: "smoothly-table-cell" }, "Registered"), index.h("div", { key: '5a23f578af6264b760ea2708fb45ec5dc323378f', class: "smoothly-table-cell" }, "Name"), index.h("div", { key: 'cd2bac823bd19c8d7c7f74aac4469e8c7b84e156', class: "smoothly-table-cell" }, "Age"), index.h("div", { key: '62ec178c9917b2349572001481e1297d296c5d17', class: "smoothly-table-cell" }, "Balance"), index.h("div", { key: '41caf4b33aafb15e67df78ce700cd1e44889b95d', class: "smoothly-table-cell" }, "EyeColor"), index.h("div", { key: '7aa2168dc4a0b4bb80a9f19aaa2a34de0a78f9ec', class: "smoothly-table-cell" }, "Gender"), index.h("div", { key: 'd5a5f5e6abd610224c2fabde318232bf482fc3e3', class: "smoothly-table-cell" }, "Company"))), index.h("smoothly-table-body", { key: '02f484daac071e7c67643da886605c48456f8ddc' }, data.map((entry, index$1) => (index.h("smoothly-table-expandable-row", { onSmoothlyTableExpandableRowChange: event => {
|
|
13057
13043
|
if (event.detail) {
|
|
13058
13044
|
this.loadingIndex = index$1;
|
|
13059
13045
|
setTimeout(() => {
|
|
@@ -13061,7 +13047,7 @@ const SmoothlyTableDemoNestedNoCell = class {
|
|
|
13061
13047
|
this.loadedRows = [...this.loadedRows, index$1];
|
|
13062
13048
|
}, 1500);
|
|
13063
13049
|
}
|
|
13064
|
-
} }, this.loadingIndex === index$1 && index.h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index$1) && (index.h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), index.h("div", { class: "smoothly-table-cell" }, entry.id), index.h("div", { class: "smoothly-table-cell" }, entry.registered), index.h("div", { class: "smoothly-table-cell" }, entry.name), index.h("div", { class: "smoothly-table-cell" }, entry.age), index.h("div", { class: "smoothly-table-cell" }, entry.balance), index.h("div", { class: "smoothly-table-cell" }, entry.eyeColor), index.h("div", { class: "smoothly-table-cell" }, entry.gender), index.h("div", { class: "smoothly-table-cell" }, entry.company))))), index.h("smoothly-table-foot", { key: '
|
|
13050
|
+
} }, this.loadingIndex === index$1 && index.h("smoothly-spinner", { overlay: true, size: "small" }), this.loadedRows.includes(index$1) && (index.h("smoothly-table-demo-nested-no-cell-inner", { color: "secondary", data: entry.friends, slot: "detail" })), index.h("div", { class: "smoothly-table-cell" }, entry.id), index.h("div", { class: "smoothly-table-cell" }, entry.registered), index.h("div", { class: "smoothly-table-cell" }, entry.name), index.h("div", { class: "smoothly-table-cell" }, entry.age), index.h("div", { class: "smoothly-table-cell" }, entry.balance), index.h("div", { class: "smoothly-table-cell" }, entry.eyeColor), index.h("div", { class: "smoothly-table-cell" }, entry.gender), index.h("div", { class: "smoothly-table-cell" }, entry.company))))), index.h("smoothly-table-foot", { key: 'e071f5ee248cc2d4ad39e4ef33d2ce8fe95a4bed' }, index.h("smoothly-table-row", { key: '5c1c6ddf0c8544176bf0a0dc2ea94c92e368d028' }, index.h("div", { key: '36887d23065d3694040b2ff045727fa670c9fec9', class: "smoothly-table-cell" }, "Footer Cell"), index.h("div", { key: '352c1ec7f806cfac4f751a837d688ba8ecbbd97d', class: "smoothly-table-cell" }, "Footer Cell"))))));
|
|
13065
13051
|
}
|
|
13066
13052
|
};
|
|
13067
13053
|
SmoothlyTableDemoNestedNoCell.style = SmoothlyTableDemoNestedNoCellStyle0;
|
|
@@ -13076,7 +13062,7 @@ const SmoothlyTableDemoNestedNoCellInner = class {
|
|
|
13076
13062
|
}
|
|
13077
13063
|
render() {
|
|
13078
13064
|
var _a;
|
|
13079
|
-
return (index.h(index.Host, { key: '
|
|
13065
|
+
return (index.h(index.Host, { key: '2fad17f95bd478c2eb533b0239a63694b83c9f81' }, index.h("smoothly-table", { key: '0e6f6d73e4c9046818b3266afc85978907af7a56', columns: 4 }, index.h("smoothly-table-head", { key: 'a6521280e62df7ca1831a93b9e583b7a2fd6c20b' }, index.h("smoothly-table-row", { key: '87c4affbf2d36422ef5d9fda6873629437160528' }, index.h("div", { key: '7eeb79369fc478d3e6338d906e8da75f28f91a0a', class: "smoothly-table-cell" }, "Id"), index.h("div", { key: '920af80028d7658e16b3cee5fb02ba6dbf1f0640', class: "smoothly-table-cell" }, "Name"), index.h("div", { key: '8c52f5f92a7d918639a6c6190513ebebfe7ac346', class: "smoothly-table-cell" }, "Age"), index.h("div", { key: '462dd0bab5ddd117dc1e589798677f69fd0beeff', class: "smoothly-table-cell" }, "Balance"))), index.h("smoothly-table-body", { key: '632d73be3c9eb538258f6728ff192099ce4aa264' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (index.h("smoothly-table-expandable-row", null, index.h("div", { class: "smoothly-table-cell" }, entry.id), index.h("div", { class: "smoothly-table-cell" }, entry.name), index.h("div", { class: "smoothly-table-cell" }, entry.age), index.h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
|
|
13080
13066
|
}
|
|
13081
13067
|
};
|
|
13082
13068
|
SmoothlyTableDemoNestedNoCellInner.style = SmoothlyTableDemoNestedNoCellInnerStyle0;
|
|
@@ -13089,7 +13075,7 @@ const SmoothlyTableDemoSimple = class {
|
|
|
13089
13075
|
index.registerInstance(this, hostRef);
|
|
13090
13076
|
}
|
|
13091
13077
|
render() {
|
|
13092
|
-
return (index.h(index.Host, { key: '
|
|
13078
|
+
return (index.h(index.Host, { key: '3c44e473cd3c7a39000d80d2cd8f7d4f6259d28c' }, index.h("smoothly-display", { key: '4f67509b54850559c717b9c8feb45a61517537b5', type: "text", value: "Simple" }), index.h("smoothly-table", { key: '498414973d54fe1b049058d0c0d5db97911c759f', color: "primary", columns: 2 }, index.h("smoothly-table-head", { key: '1cb4600f3bac84ed5a33240fece52904266cb058' }, index.h("smoothly-table-row", { key: 'cf64bbd77000b3d278ab7f8216d9cb0baf07150b' }, index.h("smoothly-table-cell", { key: '85f0427a93dcbe123fdb1e40cc35c1b84356ae75' }, "Breed"), index.h("smoothly-table-cell", { key: '4d8843cfa736067b351e06d852e55093e012cfea' }, "Coat"))), index.h("smoothly-table-body", { key: '93facc4b9d076dc19a5c4e8926c51bdc9d27068c' }, cats.map(cat => (index.h("smoothly-table-row", null, index.h("smoothly-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country:", index.h("br", null), cat.country)), index.h("smoothly-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), index.h("smoothly-table-row", { key: 'a6aace80a3161945f19daa5f5b47dc5af1569bcc' }, index.h("smoothly-table-cell", { key: 'a6a9bd8fa88a0008fbb320af534a45e32ac3705c' }, "Cell5"), index.h("smoothly-table-expandable-cell", { key: 'fc44f561b827ce8d002ed7787c11a0de6d68c3f6' }, "Expandable Cell", index.h("div", { key: 'a8f331b0b4b2e4acaf0fc46b9b11dc6cfb29d577', slot: "detail" }, "Content of the expandable cell"))), index.h("smoothly-table-row", { key: 'ce878da536b3f96454218e7ffde80c1c668503e9' }, index.h("smoothly-table-expandable-cell", { key: 'bf67df9a09086f2202e2654b0a219499ba63c6d6' }, "Expandable Cell 1", index.h("div", { key: 'efbbea44e97c4d4537d12f43528dc92587766c5d', slot: "detail" }, "Content of the expandable cell 1")), index.h("smoothly-table-expandable-cell", { key: '50bcdf77eaf5b80f79ba333f0e6fe2abc2404e78' }, "Expandable Cell 2", index.h("div", { key: '402aa4ba61635738550d68d106755b48e60059f7', slot: "detail" }, "Content of the expandable cell 2")))), index.h("smoothly-table-foot", { key: '7fce823d7ac195d33d123493f98972b3337d4308' }, index.h("smoothly-table-row", { key: '15796d7fb9e7d1c5072682f7cb0ac17a0dd75a80' }, index.h("smoothly-table-cell", { key: '3d57499943e186926e3e5829ff1ee47db0737abb' }, "Footer Cell"), index.h("smoothly-table-cell", { key: '33376913bad1c9f73f6bbd23e7c6065247ac9ab9' }, "Footer Cell"))))));
|
|
13093
13079
|
}
|
|
13094
13080
|
};
|
|
13095
13081
|
const cats = [
|
|
@@ -13197,7 +13183,7 @@ const SmoothlyTableExpandableCell = class {
|
|
|
13197
13183
|
}
|
|
13198
13184
|
render() {
|
|
13199
13185
|
var _a;
|
|
13200
|
-
return (index.h(index.Host, { key: '
|
|
13186
|
+
return (index.h(index.Host, { key: 'ac06673cd91c65a5a80d81229e9f9336f675c14b', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) }, onClick: (e) => this.clickHandler(e) }, index.h("div", { key: '8fd0cf961de88d5a7120259324ed61628f960b53', class: "content" }, index.h("slot", { key: '1cb3e3c0c98c2338ae21598c740255d18bfe5714' })), index.h("div", { key: '28cbeb9e91ef6c96df4272f2cab92bddb81c8946', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, index.h("slot", { key: 'af8954d6bd1c1ce393a1ede0b70971324af5f903', name: "detail" }))));
|
|
13201
13187
|
}
|
|
13202
13188
|
static get watchers() { return {
|
|
13203
13189
|
"open": ["openChange"]
|
|
@@ -13227,7 +13213,7 @@ const SmoothlyTableExpandableRow = class {
|
|
|
13227
13213
|
this.smoothlyTableExpandableRowChange.emit(this.open);
|
|
13228
13214
|
}
|
|
13229
13215
|
render() {
|
|
13230
|
-
return (index.h(index.Host, { key: '
|
|
13216
|
+
return (index.h(index.Host, { key: '6033a860074a26860ac2d9397cfa4391831ed4ac', onClick: (e) => this.clickHandler(e) }, index.h("slot", { key: '7a95e4cb3c3e224a7341aa2a2334f20eb8a532bf' }), index.h("div", { key: 'fd83d53e3db726abead7cf59f7b0bda74a72562c', class: "smoothly-table-detail", ref: e => (this.div = e) }, index.h("slot", { key: '1db917174ae6c70ae7944e67c70e79cf62354f81', name: "detail" }))));
|
|
13231
13217
|
}
|
|
13232
13218
|
static get watchers() { return {
|
|
13233
13219
|
"open": ["openChange"]
|
|
@@ -13243,7 +13229,7 @@ const SmoothlyTableFillerRow = class {
|
|
|
13243
13229
|
index.registerInstance(this, hostRef);
|
|
13244
13230
|
}
|
|
13245
13231
|
render() {
|
|
13246
|
-
return (index.h("smoothly-table-row", { key: '
|
|
13232
|
+
return (index.h("smoothly-table-row", { key: '39f4df9798bfe072c1939753ba2cfcd52c8c6d14' }, index.h("smoothly-table-cell", { key: 'c4925e9dc2e432ec346681054de64387c1b191c7' }, index.h("slot", { key: '7cd372f479837d10ee4a0d53ca4089d80e333183' }))));
|
|
13247
13233
|
}
|
|
13248
13234
|
};
|
|
13249
13235
|
SmoothlyTableFillerRow.style = SmoothlyTableFillerRowStyle0;
|
|
@@ -13256,7 +13242,7 @@ const SmoothlyTableFoot = class {
|
|
|
13256
13242
|
index.registerInstance(this, hostRef);
|
|
13257
13243
|
}
|
|
13258
13244
|
render() {
|
|
13259
|
-
return (index.h(index.Host, { key: '
|
|
13245
|
+
return (index.h(index.Host, { key: 'c136890da1c10d7845b054fcb7160bf6573c3b1c' }, index.h("slot", { key: '2ba64ba55fc7842cdbfe8950aa075fcc82be49e2' })));
|
|
13260
13246
|
}
|
|
13261
13247
|
};
|
|
13262
13248
|
SmoothlyTableFoot.style = SmoothlyTableFootStyle0;
|
|
@@ -13287,7 +13273,7 @@ const SmoothlyTableHead = class {
|
|
|
13287
13273
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
13288
13274
|
}
|
|
13289
13275
|
render() {
|
|
13290
|
-
return (index.h(index.Host, { key: '
|
|
13276
|
+
return (index.h(index.Host, { key: 'fc2b929afcaaae8784a250b33c1784b51f6069d0', class: { scrolled: !!this.scrolled } }, index.h("slot", { key: '0647311dac1ee867e9bde641f11f7ac581179d33' })));
|
|
13291
13277
|
}
|
|
13292
13278
|
get element() { return index.getElement(this); }
|
|
13293
13279
|
};
|
|
@@ -13311,7 +13297,7 @@ const SmoothlyTableRow = class {
|
|
|
13311
13297
|
event.target != cell && cell.close();
|
|
13312
13298
|
}
|
|
13313
13299
|
render() {
|
|
13314
|
-
return (index.h(index.Host, { key: '
|
|
13300
|
+
return (index.h(index.Host, { key: 'd1154a9f154063757b445c703fd472bf61789038' }, index.h("slot", { key: '6365abd761556dc9a04d3d03ee97168b2b4f029a' })));
|
|
13315
13301
|
}
|
|
13316
13302
|
};
|
|
13317
13303
|
SmoothlyTableRow.style = SmoothlyTableRowStyle0;
|
|
@@ -13335,7 +13321,7 @@ const SmoothlyTableRowGroup = class {
|
|
|
13335
13321
|
}
|
|
13336
13322
|
}
|
|
13337
13323
|
render() {
|
|
13338
|
-
return (index.h(index.Host, { key: '
|
|
13324
|
+
return (index.h(index.Host, { key: '7e997a6abf62fee39b266f148a6157a880182d44' }, index.h("div", { key: 'be5ed254470787857415ee61dcbb275bdcad6938', onClick: () => this.clickHandler() }, index.h("div", { key: '7bfb0dc7d14be32c973d7524fe5dd8b339b4b70a' }, index.h("slot", { key: '277d81983cc2f7c23bc50d3c41175c161e461b86', name: "start" })), index.h("div", { key: '813cab4c382c1cedc39b7286898074ba4ada84bf' }, index.h("slot", { key: '86cc29d007effc636195285f8ba217fd772b26a6', name: "end" }))), index.h("div", { key: 'bc3b16d26f262c19bf5e0fb957db15dcbfcaf332' }, index.h("slot", { key: 'ab625e1e87b7eabeb8ef5d84d2174e5a70cdeafd' }))));
|
|
13339
13325
|
}
|
|
13340
13326
|
};
|
|
13341
13327
|
SmoothlyTableRowGroup.style = SmoothlyTableRowGroupStyle0;
|
|
@@ -13404,7 +13390,7 @@ const SmoothlyTabsDemo = class {
|
|
|
13404
13390
|
this.extraTab2 = undefined;
|
|
13405
13391
|
}
|
|
13406
13392
|
render() {
|
|
13407
|
-
return (index.h(index.Host, { key: '
|
|
13393
|
+
return (index.h(index.Host, { key: 'b62a8ae826fac8ab9bd918d17c9bb4bb2cde74a4' }, index.h("div", { key: '6319af78c4c93f0c1afa7964f539d1da3aea06de' }, index.h("smoothly-button", { key: '528e4e880dcf7d490649f5cd15f275b7d5b20c9d', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), index.h("smoothly-tabs", { key: 'bbf8219b3d9f2278494b6c1970457ef78f593535', tabs: "multiple" }, index.h("smoothly-tab", { key: '176284720bf9b0310f45df70cde15719a9b9ac45', label: "Single Tab", open: true }, index.h("strong", { key: 'd5d108161a9cc3057ab5a012e9a229b3d0bac2d0' }, "Single Tab content here."), " If only one tab is available setting ", index.h("code", { key: '4f61bc9ce5acea5b491ab37ba1401a79dd874840' }, "tabs"), " to", " ", index.h("code", { key: '172992639ebf1fc3910deaec479693bf18fee99f' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (index.h("smoothly-tab", { key: '0eb7431accdfa9eec7fe1c950000217081ba3a51', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), index.h("div", { key: '78eb4b4f24b515f3f5e2e133c7d7d91c2613d8d5' }, index.h("smoothly-button", { key: '401c9f0313b43813f32bb2b9d5af044496712baf', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), index.h("smoothly-tabs", { key: '3509d3b8e2384a5b76ac7025113fad7ab6ed811a' }, index.h("smoothly-tab", { key: 'ee2f6481f5528915afb26923316f7cfb21e17bcf', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), index.h("smoothly-tab", { key: '49a14aaca20b3956cf2c5bb80793f407c050ca86', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), index.h("smoothly-tab", { key: 'af7143a98a2e0d6bdd20808e4da81bef8a35b67f', label: "test2" }, "this is a test message!"), this.extraTab2 && index.h("smoothly-tab", { key: 'e5b5ba3d85119c4e3450be4710fc6007931b0092', label: "test-extra" }, "this is a test message!"))));
|
|
13408
13394
|
}
|
|
13409
13395
|
};
|
|
13410
13396
|
SmoothlyTabsDemo.style = SmoothlyTabsDemoStyle0;
|
|
@@ -13418,7 +13404,7 @@ const SmoothlyThemeColor = class {
|
|
|
13418
13404
|
this.color = undefined;
|
|
13419
13405
|
}
|
|
13420
13406
|
render() {
|
|
13421
|
-
return (index.h(index.Host, { key: '
|
|
13407
|
+
return (index.h(index.Host, { key: '8223831dfa84ea7a14906e3006e97db1f158443d' }, this.color, ["tint", "color", "shade"].map(variant => (index.h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
13422
13408
|
}
|
|
13423
13409
|
};
|
|
13424
13410
|
SmoothlyThemeColor.style = SmoothlyThemeColorStyle0;
|
|
@@ -13470,7 +13456,7 @@ const SmoothlyThemeDemo = class {
|
|
|
13470
13456
|
index.registerInstance(this, hostRef);
|
|
13471
13457
|
}
|
|
13472
13458
|
render() {
|
|
13473
|
-
return (index.h(index.Host, { key: '
|
|
13459
|
+
return (index.h(index.Host, { key: 'f3a9bce2ea9ea921ddc0cdd0af59f278be0808fa' }, index.h("h2", { key: '0cde0c59c478d9793c78277783ddca18a2c46dd6' }, "Theme"), index.h("smoothly-theme-picker", { key: 'cb06e7228d22bfc7fa5231b38ccb5bd281026751' }, index.h("smoothly-item", { key: '37a46c34ec4767c282487d34c0178ac96d4f0a27', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), index.h("smoothly-item", { key: '961b69baea8b3760c095834bd8604d93ae1e3c74', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), index.h("smoothly-item", { key: '23989e21f124308a39da7e657726916184e5ab72', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), index.h("smoothly-item", { key: '93ffa3949d02f68f7a7dfa5f79b351a8eb8b7f56', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), index.h("smoothly-item", { key: '98bc1c21a725ae552e75e7133b32406c15c21c5b', value: "https://dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), index.h("smoothly-item", { key: '73481eca7b2759efa8ed022eda4d9ff4388e8068', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), index.h("smoothly-item", { key: '9402ca492b8d2f7671bd6134f4bc89d0ea2da416', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), index.h("smoothly-item", { key: '6e1e73a3d57216f482d5dc2d8054374c0501b33d', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), index.h("smoothly-item", { key: '71d27357073891f1bb129289464955dc85458e96', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), index.h("span", { key: 'abf005c54cf96f66cedbe5a407b6bcb6c9362c34' }, index.h("smoothly-theme-colors", { key: '9efd5049331fcf93907122e74a3ab0c82bc67aa2' }), index.h("smoothly-theme-guide", { key: '60e3b296b89f628e3e0f180c450f7186e5295286' })), index.h("smoothly-button", { key: '0bbc0d57c16f3171172f4cc5a1b5f6d2ebc9d9c6', type: "link", link: "/redirect" }, "To redirect"), index.h("smoothly-button", { key: '5f52fb18a8c0ceb9b8fc280e04adbb838a8a41b2', type: "link", link: "/redirect" }, "To /redirect"), index.h("smoothly-button", { key: 'faf14655d01668c8cebec6968bb4d0b67c2bc4f1', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), index.h("smoothly-button", { key: '763387d9b3f7960b6dc0a69031296a23ef793f77', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
13474
13460
|
}
|
|
13475
13461
|
};
|
|
13476
13462
|
SmoothlyThemeDemo.style = SmoothlyThemeDemoStyle0;
|
|
@@ -13484,14 +13470,14 @@ const SmoothlyThemeColors = class {
|
|
|
13484
13470
|
}
|
|
13485
13471
|
render() {
|
|
13486
13472
|
return [
|
|
13487
|
-
index.h("smoothly-display", { key: '
|
|
13488
|
-
index.h("br", { key: '
|
|
13489
|
-
index.h("smoothly-display", { key: '
|
|
13490
|
-
index.h("br", { key: '
|
|
13491
|
-
index.h("smoothly-display", { key: '
|
|
13492
|
-
index.h("br", { key: '
|
|
13493
|
-
index.h("smoothly-display", { key: '
|
|
13494
|
-
index.h("br", { key: '
|
|
13473
|
+
index.h("smoothly-display", { key: 'e33cb6c2fb224049dc0618a101d4a34ce4a97979' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
13474
|
+
index.h("br", { key: '3a5221a91fb24771d7f00c44ed8f56f21c82dff0' }),
|
|
13475
|
+
index.h("smoothly-display", { key: 'a84c2e5055c178dadf46cd2b977bf1a262cb7f30' }, "Color is used as a normal background or as a background to show that something is selected, for example a selected item in the select menu."),
|
|
13476
|
+
index.h("br", { key: '76ef02c10cd940ed85f86a0d68cf91c474ae5231' }),
|
|
13477
|
+
index.h("smoothly-display", { key: '0eb2188895599cb3925dd1ea319115e7207f638b' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
|
|
13478
|
+
index.h("br", { key: '59f39e2da1a7c941fea84706d87575ad8c0f3a38' }),
|
|
13479
|
+
index.h("smoothly-display", { key: '56727256e187ecfb71ef10626b86db6a1bccf755' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
13480
|
+
index.h("br", { key: '02f2dfbbf17e60d7e7981b2180cc5fc1cfa8531d' }),
|
|
13495
13481
|
];
|
|
13496
13482
|
}
|
|
13497
13483
|
};
|
|
@@ -13506,11 +13492,11 @@ const SmoothlyThemePicker = class {
|
|
|
13506
13492
|
this.element = "smoothly-css";
|
|
13507
13493
|
}
|
|
13508
13494
|
render() {
|
|
13509
|
-
return (index.h(index.Host, { key: '
|
|
13495
|
+
return (index.h(index.Host, { key: 'bd78dc0c77ab62560dfa7dcfd6d70eb6c20822aa' }, index.h("smoothly-input-select", { key: '9f4134cf70fe712423e5102d196a8310cb1e189d', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
13510
13496
|
const element = document.querySelector(`#${this.element}`);
|
|
13511
13497
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string")
|
|
13512
13498
|
element.href = e.detail.theme;
|
|
13513
|
-
} }, index.h("label", { key: '
|
|
13499
|
+
} }, index.h("label", { key: '233405b26871eab292f6c258fbc43464515f7c01', slot: "label" }, "Select theme"), index.h("slot", { key: '14656f7d3466ceedbb9db0a1733c07978c8bad68' }))));
|
|
13514
13500
|
}
|
|
13515
13501
|
};
|
|
13516
13502
|
SmoothlyThemePicker.style = SmoothlyThemePickerStyle0;
|
|
@@ -13534,7 +13520,7 @@ const SmoothlyToggleSwitch = class {
|
|
|
13534
13520
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
13535
13521
|
}
|
|
13536
13522
|
render() {
|
|
13537
|
-
return (index.h(index.Host, { key: '
|
|
13523
|
+
return (index.h(index.Host, { key: '93ae759c47e932319428b842eb408698c2849b31' }, index.h("button", { key: '5ed72f7e5cde56e49dc9d3116dc9fd507d496d4b', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, index.h("smoothly-icon", { key: 'bcc686be4b1477a7cb469263d8e0bc02f0ffadb8', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
13538
13524
|
}
|
|
13539
13525
|
};
|
|
13540
13526
|
SmoothlyToggleSwitch.style = SmoothlyToggleSwitchStyle0;
|
|
@@ -13547,7 +13533,7 @@ const SmoothlyToggleSwitchDemo = class {
|
|
|
13547
13533
|
index.registerInstance(this, hostRef);
|
|
13548
13534
|
}
|
|
13549
13535
|
render() {
|
|
13550
|
-
return (index.h(index.Host, { key: '
|
|
13536
|
+
return (index.h(index.Host, { key: 'c622506b07d0d5d4f8f7bb65ec0b808216ac71f4' }, index.h("h4", { key: '8f5bccb8bf300780d0f50a9b66a8433a2a6e4423' }, "Toggle switches"), index.h("div", { key: '5c94e88e5016e60741c95aecb3fccf42f2ce2bf9' }, index.h("p", { key: 'a842fa899ab91738c7748ba2efb0f727a26c3ec5' }, "Checkmark"), index.h("span", { key: '0a89a7c406c050db45ebefd7426bca1f44748e36' }, index.h("p", { key: 'd70ab8939a0ce332845cb41af0e21c777c0ee73a' }, "Tiny"), index.h("smoothly-toggle-switch", { key: '52c88ff1e6e9e2f8989b7aef24e1e66c983e298a', disabled: false, size: "tiny" })), index.h("span", { key: '4a0a857accdc647288cf7f3c349f09964a5de0df' }, index.h("p", { key: '488c5fe7676ea3641f4222ceb658c2c026fcabc1' }, "Small"), index.h("smoothly-toggle-switch", { key: 'c8fee404136527423d490fb03b49ed387b67419a', disabled: false, size: "small" })), index.h("span", { key: 'c319ed9031d6a6420510428088c784305a09684c' }, index.h("p", { key: '42e785cdd2d12032f310e58cd8b2842748b2cdda' }, "Standard"), index.h("smoothly-toggle-switch", { key: 'f5124d5042159df3b4fcc164b0efb4adcf1b01da', disabled: false })), index.h("span", { key: '8113acc2967dca4ace18ccf45f97f8b7daac4221' }, index.h("p", { key: 'e19f0f93cd75db150867e10f48b009ee4eb0cb4b' }, "Large"), index.h("smoothly-toggle-switch", { key: 'c4beb63b9038e1d3589ccc30d243eb0236548d88', disabled: false, size: "large" })), index.h("p", { key: '9c2d02b48add10ad48387ea0c4b9f2450dd39cc6' }, "Colors checkmark"), index.h("span", { key: '7f91266d633dda37b21f3b9c162f791ac4b38746' }, index.h("p", { key: '9d86ab646d05c081851046b020c2cbbd765acae4' }, "Danger"), index.h("smoothly-toggle-switch", { key: 'fb3dc5c94a4a05d727772d762a5abff0fa202e82', color: "danger", disabled: false, size: "small" })), index.h("span", { key: 'f581c530b32021d2a0847fec0f17d95be39d8d7e' }, index.h("p", { key: '6a0ecea4b4fe03f88838a36e5ec9386da4272791' }, "Primary color"), index.h("smoothly-toggle-switch", { key: '0f862750bacdc23bc516220586c2a47dc3ce649e', color: "primary", disabled: false, size: "small" })), index.h("span", { key: 'ab0980c909071f57d9a13f22d88d4301b583067a' }, index.h("p", { key: '4b0a69324cf7b8f04bcfdbf35731a43c37aade9f' }, "Secondary color"), index.h("smoothly-toggle-switch", { key: '6442d57ecdb61558e7cb6048c586f46b3e3941b1', color: "secondary", disabled: false, size: "small" })), index.h("p", { key: 'bb47bc7dd98ceb86bfbd0e28391321731f95dad5' }), index.h("p", { key: 'c64a2ff112b72d9cff6afd6c371a3da7083cd1f1' }, "Colors no checkmark"), index.h("span", { key: 'd690a84b3d08750e3e2ff7cd6473feb0a715b4d8' }, index.h("p", { key: '849781f19a7523b22f8f0dffe0fa15185d38de2f' }, "Danger"), index.h("smoothly-toggle-switch", { key: '29788801258d901f6cc0780bee771ae78da455e5', checkmark: false, color: "danger", disabled: false, size: "small" })), index.h("span", { key: '33fabad2c343849cdd76aebee35b8f99f25d86ba' }, index.h("p", { key: '006efb42b3d98028594a306799d12a4a16f0fc75' }, "Primary color"), index.h("smoothly-toggle-switch", { key: 'af3f58fbcf78c86ba6bf56735977ababf19d1077', checkmark: false, color: "primary", disabled: false, size: "small" })), index.h("span", { key: '6e44a069cdfcc16f35dedbd02e394eeb56ed7197' }, index.h("p", { key: '8ded09c92723b570e0a8806adab267e29b878a1f' }, "Secondary color"), index.h("smoothly-toggle-switch", { key: '676edb5d7c66dc6882234361f64d57e07a14b606', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
13551
13537
|
}
|
|
13552
13538
|
};
|
|
13553
13539
|
SmoothlyToggleSwitchDemo.style = SmoothlyToggleSwitchDemoStyle0;
|
|
@@ -13578,7 +13564,7 @@ const SmoothlyTrigger = class {
|
|
|
13578
13564
|
result = this.disabled ? (index.h("slot", null)) : (index.h("a", { onClick: e => this.onClick(e) }, index.h("slot", null)));
|
|
13579
13565
|
break;
|
|
13580
13566
|
case "button":
|
|
13581
|
-
result = (index.h("button", { key: '
|
|
13567
|
+
result = (index.h("button", { key: 'fc636c1efded46fbc488da77da59375c0e6042e9', disabled: this.disabled, name: this.name }, index.h("slot", { key: 'cf9af420179685f2eb7edcff63de43eeba1639a4' })));
|
|
13582
13568
|
break;
|
|
13583
13569
|
}
|
|
13584
13570
|
return result;
|