smoothly 1.2.1-alpha.48 → 1.2.1-alpha.49
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_107.cjs.entry.js → smoothly-app_109.cjs.entry.js} +268 -234
- package/dist/cjs/smoothly-app_109.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/form/demo/pet/index.js +1 -1
- package/dist/collection/components/form/demo/pet/index.js.map +1 -1
- package/dist/collection/components/form/demo/prices/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 +1 -1
- 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 +3 -3
- package/dist/collection/components/input/date/range/index.js +2 -2
- package/dist/collection/components/input/demo/index.js +5 -5
- 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/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 +2 -2
- package/dist/collection/components/input/radio/index.js +1 -1
- 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 +1 -1
- package/dist/collection/components/next/demo/colspan/index.js +1 -1
- package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js +32 -0
- package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js.map +1 -0
- package/dist/collection/components/next/demo/fillerRow/style.css +9 -0
- package/dist/collection/components/next/demo/filtered/index.js +5 -5
- package/dist/collection/components/next/demo/group/index.js +1 -1
- package/dist/collection/components/next/demo/index.js +1 -1
- package/dist/collection/components/next/demo/index.js.map +1 -1
- package/dist/collection/components/next/demo/nested/index.js +1 -1
- package/dist/collection/components/next/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/next/demo/simple/simple.js +1 -1
- package/dist/collection/components/next/table/body/index.js +1 -1
- package/dist/collection/components/next/table/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/row/index.js +1 -1
- package/dist/collection/components/next/table/fillerRow/index.js +19 -0
- package/dist/collection/components/next/table/fillerRow/index.js.map +1 -0
- package/dist/collection/components/next/table/fillerRow/style.css +3 -0
- package/dist/collection/components/next/table/foot/index.js +1 -1
- package/dist/collection/components/next/table/group/index.js +1 -1
- package/dist/collection/components/next/table/head/index.js +1 -1
- package/dist/collection/components/next/table/index.js +1 -1
- package/dist/collection/components/next/table/row/index.js +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +2 -2
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +1 -1
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/testing/index.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/footer/index.js +1 -1
- package/dist/collection/components/table/header/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/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/index.js +1 -1
- 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-818a0ebe.js → p-00c5deff.js} +10 -10
- package/dist/components/{p-818a0ebe.js.map → p-00c5deff.js.map} +1 -1
- package/dist/components/{p-4fcc1ffa.js → p-017323e3.js} +12 -12
- package/dist/components/{p-4fcc1ffa.js.map → p-017323e3.js.map} +1 -1
- package/dist/components/{p-f64b103b.js → p-0b423141.js} +2 -2
- package/dist/components/{p-f64b103b.js.map → p-0b423141.js.map} +1 -1
- package/dist/components/{p-90e9aa1f.js → p-0d10cb58.js} +2 -2
- package/dist/components/{p-90e9aa1f.js.map → p-0d10cb58.js.map} +1 -1
- package/dist/components/{p-971ff797.js → p-0ea6c8fd.js} +23 -23
- package/dist/components/{p-971ff797.js.map → p-0ea6c8fd.js.map} +1 -1
- package/dist/components/{p-2f737371.js → p-1390a195.js} +20 -20
- package/dist/components/{p-2f737371.js.map → p-1390a195.js.map} +1 -1
- package/dist/components/{p-7a45faec.js → p-172f7392.js} +3 -3
- package/dist/components/{p-7a45faec.js.map → p-172f7392.js.map} +1 -1
- package/dist/components/{p-040802e2.js → p-192dca7c.js} +2 -2
- package/dist/components/{p-040802e2.js.map → p-192dca7c.js.map} +1 -1
- package/dist/components/{p-46e6dd30.js → p-19580a07.js} +2 -2
- package/dist/components/{p-46e6dd30.js.map → p-19580a07.js.map} +1 -1
- package/dist/components/{p-2b19c666.js → p-1cd836ca.js} +5 -5
- package/dist/components/{p-2b19c666.js.map → p-1cd836ca.js.map} +1 -1
- package/dist/components/{p-f4b2ed5f.js → p-1d427e55.js} +12 -12
- package/dist/components/{p-f4b2ed5f.js.map → p-1d427e55.js.map} +1 -1
- package/dist/components/p-1d44d3db.js +45 -0
- package/dist/components/p-1d44d3db.js.map +1 -0
- package/dist/components/p-1ff539de.js +123 -0
- package/dist/components/{p-f91c386e.js.map → p-1ff539de.js.map} +1 -1
- package/dist/components/{p-c47769b8.js → p-272d2d5a.js} +4 -4
- package/dist/components/{p-c47769b8.js.map → p-272d2d5a.js.map} +1 -1
- package/dist/components/{p-2eaee3c4.js → p-2737c300.js} +4 -4
- package/dist/components/{p-2eaee3c4.js.map → p-2737c300.js.map} +1 -1
- package/dist/components/{p-792cf362.js → p-29a260dd.js} +6 -6
- package/dist/components/{p-792cf362.js.map → p-29a260dd.js.map} +1 -1
- package/dist/components/{p-a560de93.js → p-2ceb6925.js} +2 -2
- package/dist/components/{p-a560de93.js.map → p-2ceb6925.js.map} +1 -1
- package/dist/components/p-2d4db101.js +113 -0
- package/dist/components/p-2d4db101.js.map +1 -0
- package/dist/components/{p-d5980695.js → p-2dba23a5.js} +10 -10
- package/dist/components/{p-d5980695.js.map → p-2dba23a5.js.map} +1 -1
- package/dist/components/{p-0b3c3d54.js → p-2ed3a16d.js} +36 -36
- package/dist/components/{p-0b3c3d54.js.map → p-2ed3a16d.js.map} +1 -1
- package/dist/components/{p-bfd34443.js → p-32f089f8.js} +2 -2
- package/dist/components/{p-bfd34443.js.map → p-32f089f8.js.map} +1 -1
- package/dist/components/{p-ed3722cc.js → p-38489e40.js} +3 -3
- package/dist/components/{p-ed3722cc.js.map → p-38489e40.js.map} +1 -1
- package/dist/components/{p-405b7f06.js → p-38c3ff20.js} +3 -3
- package/dist/components/{p-405b7f06.js.map → p-38c3ff20.js.map} +1 -1
- package/dist/components/{p-edcdcc51.js → p-38ce18a1.js} +2 -2
- package/dist/components/{p-edcdcc51.js.map → p-38ce18a1.js.map} +1 -1
- package/dist/components/{p-cc2c334d.js → p-422f3359.js} +4 -4
- package/dist/components/{p-cc2c334d.js.map → p-422f3359.js.map} +1 -1
- package/dist/components/{p-92adf709.js → p-448a256b.js} +2 -2
- package/dist/components/{p-92adf709.js.map → p-448a256b.js.map} +1 -1
- package/dist/components/{p-41d6da47.js → p-45124db6.js} +2 -2
- package/dist/components/{p-41d6da47.js.map → p-45124db6.js.map} +1 -1
- package/dist/components/{p-97686228.js → p-46d6198c.js} +2 -2
- package/dist/components/{p-97686228.js.map → p-46d6198c.js.map} +1 -1
- package/dist/components/{p-d0678b5e.js → p-47840b52.js} +19 -19
- package/dist/components/{p-d0678b5e.js.map → p-47840b52.js.map} +1 -1
- package/dist/components/{p-b3193095.js → p-47d6c43d.js} +6 -6
- package/dist/components/{p-b3193095.js.map → p-47d6c43d.js.map} +1 -1
- package/dist/components/{p-9d2628e7.js → p-4aad1b00.js} +5 -5
- package/dist/components/{p-9d2628e7.js.map → p-4aad1b00.js.map} +1 -1
- package/dist/components/{p-22f4742d.js → p-4b05e229.js} +10 -10
- package/dist/components/{p-22f4742d.js.map → p-4b05e229.js.map} +1 -1
- package/dist/components/{p-6f1d2edf.js → p-4b663489.js} +2 -2
- package/dist/components/{p-6f1d2edf.js.map → p-4b663489.js.map} +1 -1
- package/dist/components/{p-ebbe611d.js → p-4e8746f6.js} +7 -7
- package/dist/components/{p-ebbe611d.js.map → p-4e8746f6.js.map} +1 -1
- package/dist/components/{p-19671644.js → p-4f53a0e1.js} +7 -7
- package/dist/components/{p-19671644.js.map → p-4f53a0e1.js.map} +1 -1
- package/dist/components/{p-dd5d9674.js → p-4f911ef7.js} +3 -3
- package/dist/components/{p-dd5d9674.js.map → p-4f911ef7.js.map} +1 -1
- package/dist/components/{p-2951a47f.js → p-5501db91.js} +2 -2
- package/dist/components/{p-2951a47f.js.map → p-5501db91.js.map} +1 -1
- package/dist/components/{p-681bfb09.js → p-562db6b2.js} +2 -2
- package/dist/components/{p-681bfb09.js.map → p-562db6b2.js.map} +1 -1
- package/dist/components/{p-cd448401.js → p-575b902b.js} +8 -8
- package/dist/components/{p-cd448401.js.map → p-575b902b.js.map} +1 -1
- package/dist/components/{p-588bab5b.js → p-591e0e42.js} +6 -6
- package/dist/components/{p-588bab5b.js.map → p-591e0e42.js.map} +1 -1
- package/dist/components/{p-70ab7b2a.js → p-5926af96.js} +8 -8
- package/dist/components/{p-70ab7b2a.js.map → p-5926af96.js.map} +1 -1
- package/dist/components/{p-78eccb34.js → p-5a89aff9.js} +3 -3
- package/dist/components/{p-78eccb34.js.map → p-5a89aff9.js.map} +1 -1
- package/dist/components/{p-43651317.js → p-5bcf58c9.js} +3 -3
- package/dist/components/{p-43651317.js.map → p-5bcf58c9.js.map} +1 -1
- package/dist/components/{p-666206c5.js → p-5d648150.js} +5 -5
- package/dist/components/{p-666206c5.js.map → p-5d648150.js.map} +1 -1
- package/dist/components/{p-66efcdc0.js → p-5ef8d096.js} +4 -4
- package/dist/components/{p-66efcdc0.js.map → p-5ef8d096.js.map} +1 -1
- package/dist/components/{p-02796429.js → p-5ffba444.js} +4 -4
- package/dist/components/{p-02796429.js.map → p-5ffba444.js.map} +1 -1
- package/dist/components/{p-c77944e7.js → p-62c1780b.js} +3 -3
- package/dist/components/{p-c77944e7.js.map → p-62c1780b.js.map} +1 -1
- package/dist/components/p-63ac6b31.js +241 -0
- package/dist/components/{p-606ce249.js.map → p-63ac6b31.js.map} +1 -1
- package/dist/components/{p-9d011d36.js → p-67b8cf78.js} +8 -8
- package/dist/components/{p-9d011d36.js.map → p-67b8cf78.js.map} +1 -1
- package/dist/components/{p-d51e9e17.js → p-6b7f1394.js} +14 -14
- package/dist/components/{p-d51e9e17.js.map → p-6b7f1394.js.map} +1 -1
- package/dist/components/{p-d13712dc.js → p-6b8fa870.js} +3 -3
- package/dist/components/{p-d13712dc.js.map → p-6b8fa870.js.map} +1 -1
- package/dist/components/{p-2927f568.js → p-6c326e36.js} +6 -6
- package/dist/components/{p-2927f568.js.map → p-6c326e36.js.map} +1 -1
- package/dist/components/{p-046dcaa0.js → p-751259e1.js} +7 -7
- package/dist/components/{p-046dcaa0.js.map → p-751259e1.js.map} +1 -1
- package/dist/components/{p-d532422c.js → p-78e763a5.js} +3 -3
- package/dist/components/{p-d532422c.js.map → p-78e763a5.js.map} +1 -1
- package/dist/components/{p-4d44c37a.js → p-79ae3224.js} +2 -2
- package/dist/components/{p-4d44c37a.js.map → p-79ae3224.js.map} +1 -1
- package/dist/components/{p-9397efbf.js → p-7b5cb070.js} +10 -10
- package/dist/components/{p-9397efbf.js.map → p-7b5cb070.js.map} +1 -1
- package/dist/components/{p-db26eba4.js → p-7c727d4f.js} +7 -7
- package/dist/components/{p-db26eba4.js.map → p-7c727d4f.js.map} +1 -1
- package/dist/components/{p-07ed0ebd.js → p-7d208e60.js} +2 -2
- package/dist/components/{p-07ed0ebd.js.map → p-7d208e60.js.map} +1 -1
- package/dist/components/{p-969f9875.js → p-7e8da083.js} +2 -2
- package/dist/components/{p-969f9875.js.map → p-7e8da083.js.map} +1 -1
- package/dist/components/{p-a38dbdc4.js → p-835d7c93.js} +9 -9
- package/dist/components/{p-a38dbdc4.js.map → p-835d7c93.js.map} +1 -1
- package/dist/components/{p-515ab07d.js → p-864278eb.js} +4 -4
- package/dist/components/{p-515ab07d.js.map → p-864278eb.js.map} +1 -1
- package/dist/components/{p-edc7e53a.js → p-8e13449b.js} +2 -2
- package/dist/components/{p-edc7e53a.js.map → p-8e13449b.js.map} +1 -1
- package/dist/components/{p-4922697f.js → p-8e748704.js} +2 -2
- package/dist/components/{p-4922697f.js.map → p-8e748704.js.map} +1 -1
- package/dist/components/{p-1cebb9b6.js → p-93ece2c4.js} +24 -24
- package/dist/components/p-93ece2c4.js.map +1 -0
- package/dist/components/{p-4854855c.js → p-952205c2.js} +3 -3
- package/dist/components/{p-4854855c.js.map → p-952205c2.js.map} +1 -1
- package/dist/components/{p-ab4f6f94.js → p-954dd422.js} +2 -2
- package/dist/components/{p-ab4f6f94.js.map → p-954dd422.js.map} +1 -1
- package/dist/components/{p-2a79dcdb.js → p-97e2d2d1.js} +3 -3
- package/dist/components/{p-2a79dcdb.js.map → p-97e2d2d1.js.map} +1 -1
- package/dist/components/p-9a07b79f.js +207 -0
- package/dist/components/{p-69071ce8.js.map → p-9a07b79f.js.map} +1 -1
- package/dist/components/{p-c446b8ad.js → p-9caf65ff.js} +11 -11
- package/dist/components/{p-c446b8ad.js.map → p-9caf65ff.js.map} +1 -1
- package/dist/components/{p-78fd29c9.js → p-b1e386db.js} +3 -3
- package/dist/components/{p-78fd29c9.js.map → p-b1e386db.js.map} +1 -1
- package/dist/components/{p-08159d78.js → p-b2e18b02.js} +2 -2
- package/dist/components/{p-08159d78.js.map → p-b2e18b02.js.map} +1 -1
- package/dist/components/{p-4625dac5.js → p-b789d768.js} +4 -4
- package/dist/components/{p-4625dac5.js.map → p-b789d768.js.map} +1 -1
- package/dist/components/{p-3e30f0e3.js → p-b8c18e44.js} +2 -2
- package/dist/components/{p-3e30f0e3.js.map → p-b8c18e44.js.map} +1 -1
- package/dist/components/{p-550a71dc.js → p-b93f6336.js} +2 -2
- package/dist/components/{p-550a71dc.js.map → p-b93f6336.js.map} +1 -1
- package/dist/components/{p-ddf9d2aa.js → p-bad6a2f9.js} +4 -4
- package/dist/components/{p-ddf9d2aa.js.map → p-bad6a2f9.js.map} +1 -1
- package/dist/components/p-bdbac42a.js +45 -0
- package/dist/components/{p-c311a65d.js.map → p-bdbac42a.js.map} +1 -1
- package/dist/components/{p-25a43fb2.js → p-beb71121.js} +75 -63
- package/dist/components/p-beb71121.js.map +1 -0
- package/dist/components/{p-04e1a322.js → p-beb87a00.js} +2 -2
- package/dist/components/{p-04e1a322.js.map → p-beb87a00.js.map} +1 -1
- package/dist/components/{p-ae5eb701.js → p-bf57d733.js} +2 -2
- package/dist/components/{p-ae5eb701.js.map → p-bf57d733.js.map} +1 -1
- package/dist/components/{p-b3a66468.js → p-c0796b72.js} +3 -3
- package/dist/components/{p-b3a66468.js.map → p-c0796b72.js.map} +1 -1
- package/dist/components/{p-bbb43abd.js → p-c090ac4b.js} +2 -2
- package/dist/components/{p-bbb43abd.js.map → p-c090ac4b.js.map} +1 -1
- package/dist/components/{p-9741bfb4.js → p-d03c5e1c.js} +14 -14
- package/dist/components/{p-9741bfb4.js.map → p-d03c5e1c.js.map} +1 -1
- package/dist/components/{p-282a351d.js → p-d2c600c0.js} +4 -4
- package/dist/components/{p-282a351d.js.map → p-d2c600c0.js.map} +1 -1
- package/dist/components/{p-72b742f3.js → p-d51abfe0.js} +2 -2
- package/dist/components/{p-72b742f3.js.map → p-d51abfe0.js.map} +1 -1
- package/dist/components/{p-75de9c9a.js → p-d8318156.js} +4 -4
- package/dist/components/{p-75de9c9a.js.map → p-d8318156.js.map} +1 -1
- package/dist/components/{p-23e216a7.js → p-dcb5daf0.js} +7 -7
- package/dist/components/{p-23e216a7.js.map → p-dcb5daf0.js.map} +1 -1
- package/dist/components/{p-08d0d254.js → p-de7367c4.js} +2 -2
- package/dist/components/{p-08d0d254.js.map → p-de7367c4.js.map} +1 -1
- package/dist/components/{p-a9ea4176.js → p-df7644f9.js} +12 -12
- package/dist/components/{p-a9ea4176.js.map → p-df7644f9.js.map} +1 -1
- package/dist/components/{p-82080d82.js → p-e25d0a4a.js} +6 -6
- package/dist/components/{p-82080d82.js.map → p-e25d0a4a.js.map} +1 -1
- package/dist/components/{p-b75701e7.js → p-e93c2ce9.js} +9 -9
- package/dist/components/{p-b75701e7.js.map → p-e93c2ce9.js.map} +1 -1
- package/dist/components/{p-1b7eaa3c.js → p-e94f2ce5.js} +15 -15
- package/dist/components/{p-1b7eaa3c.js.map → p-e94f2ce5.js.map} +1 -1
- package/dist/components/{p-9b18f789.js → p-e98f0d21.js} +3 -3
- package/dist/components/{p-9b18f789.js.map → p-e98f0d21.js.map} +1 -1
- package/dist/components/{p-72ea39be.js → p-ea039b1e.js} +23 -23
- package/dist/components/{p-72ea39be.js.map → p-ea039b1e.js.map} +1 -1
- package/dist/components/{p-03f8f866.js → p-ee41db2f.js} +6 -6
- package/dist/components/{p-03f8f866.js.map → p-ee41db2f.js.map} +1 -1
- package/dist/components/{p-2d9134f1.js → p-ee8027c8.js} +9 -9
- package/dist/components/{p-2d9134f1.js.map → p-ee8027c8.js.map} +1 -1
- package/dist/components/{p-00307e9c.js → p-f92cf8e8.js} +10 -10
- package/dist/components/{p-00307e9c.js.map → p-f92cf8e8.js.map} +1 -1
- package/dist/components/{p-725308f2.js → p-f9cb46a5.js} +2 -2
- package/dist/components/{p-725308f2.js.map → p-f9cb46a5.js.map} +1 -1
- package/dist/components/{p-fb5105d9.js → p-fa59c097.js} +8 -8
- package/dist/components/{p-fb5105d9.js.map → p-fa59c097.js.map} +1 -1
- package/dist/components/{p-c39541c7.js → p-fc02cd6e.js} +4 -4
- package/dist/components/{p-c39541c7.js.map → p-fc02cd6e.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +191 -179
- package/dist/components/smoothly-app-demo.js.map +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-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.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter-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-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 +23 -23
- 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-range.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.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-next-demo-colspan.js +1 -1
- package/dist/components/smoothly-next-demo-filler-row-demo.d.ts +11 -0
- package/dist/components/smoothly-next-demo-filler-row-demo.js +8 -0
- package/dist/components/smoothly-next-demo-filler-row-demo.js.map +1 -0
- package/dist/components/smoothly-next-demo-group.js +1 -1
- package/dist/components/smoothly-next-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-next-demo-nested.js +1 -1
- package/dist/components/smoothly-next-demo-simple.js +1 -1
- package/dist/components/smoothly-next-demo.js +1 -1
- package/dist/components/smoothly-next-table-body.js +1 -1
- package/dist/components/smoothly-next-table-cell.js +1 -1
- package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-next-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-next-table-expandable-row.js +1 -1
- package/dist/components/smoothly-next-table-filler-row.d.ts +11 -0
- package/dist/components/smoothly-next-table-filler-row.js +8 -0
- package/dist/components/smoothly-next-table-filler-row.js.map +1 -0
- package/dist/components/smoothly-next-table-foot.js +1 -1
- package/dist/components/smoothly-next-table-head.js +1 -1
- package/dist/components/smoothly-next-table-row-group.js +1 -1
- package/dist/components/smoothly-next-table-row.js +1 -1
- package/dist/components/smoothly-next-table.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-cell.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.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-footer.js +1 -1
- package/dist/components/smoothly-table-header.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table-testing.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-tabs.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-toggle.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_107.entry.js → smoothly-app_109.entry.js} +267 -235
- package/dist/esm/smoothly-app_109.entry.js.map +1 -0
- package/dist/esm/smoothly-input-checkbox-demo.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-01a28324.entry.js +2 -0
- package/dist/smoothly/p-01a28324.entry.js.map +1 -0
- package/dist/smoothly/{p-651dcac2.entry.js → p-6a5409cf.entry.js} +2 -2
- package/dist/smoothly/{p-9f631b35.entry.js → p-7afb0711.entry.js} +2 -2
- package/dist/smoothly/p-8fa9500d.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/next/demo/fillerRow/filleRowDemo.d.ts +13 -0
- package/dist/types/components/next/table/fillerRow/index.d.ts +4 -0
- package/dist/types/components.d.ts +26 -0
- package/package.json +1 -1
- package/dist/cjs/smoothly-app_107.cjs.entry.js.map +0 -1
- package/dist/components/p-1cebb9b6.js.map +0 -1
- package/dist/components/p-25a43fb2.js.map +0 -1
- package/dist/components/p-606ce249.js +0 -241
- package/dist/components/p-69071ce8.js +0 -207
- package/dist/components/p-c311a65d.js +0 -45
- package/dist/components/p-f91c386e.js +0 -123
- package/dist/esm/smoothly-app_107.entry.js.map +0 -1
- package/dist/smoothly/p-22f843be.entry.js +0 -2
- package/dist/smoothly/p-8cc47619.entry.js +0 -2
- package/dist/smoothly/p-8cc47619.entry.js.map +0 -1
- /package/dist/smoothly/{p-651dcac2.entry.js.map → p-6a5409cf.entry.js.map} +0 -0
- /package/dist/smoothly/{p-9f631b35.entry.js.map → p-7afb0711.entry.js.map} +0 -0
- /package/dist/smoothly/{p-22f843be.entry.js.map → p-8fa9500d.entry.js.map} +0 -0
|
@@ -78,13 +78,13 @@ export class SmoothlyInputDate {
|
|
|
78
78
|
event.stopPropagation();
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: 'dd5cb22ac438173fa42b0cc33d30d5f2d2cfc6ab' }, h("smoothly-input", { key: 'a5b78b48e4fe1f56394c194f1a204d9aaac9ecc3', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: this.name, onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
82
82
|
e.stopPropagation();
|
|
83
83
|
this.value = e.detail[this.name];
|
|
84
|
-
} }, h("slot", { key: '
|
|
84
|
+
} }, h("slot", { key: '9f926b39e9c5750d8099e77195788cdb0bf757aa' })), h("span", { key: '527ecd6825dd1b46d8faf4d97e2522ecc8a1b4db', class: "icons" }, h("slot", { key: '8edd6c554ffc9df30d2dde2cea952cd069648d39', name: "end" })), this.open && !this.readonly && (h("nav", { key: 'e5adc9ac0dea0c93e87774f81afde215b7bd071a' }, h("smoothly-calendar", { key: 'd93d146dbd74f8925dffe92cb181d386e1a9e7ff', doubleInput: false, value: this.value, onSmoothlyValueChange: event => {
|
|
85
85
|
this.value = event.detail;
|
|
86
86
|
event.stopPropagation();
|
|
87
|
-
}, max: this.max, min: this.min }, h("div", { key: '
|
|
87
|
+
}, max: this.max, min: this.min }, h("div", { key: 'cdf37ec29e2150b44fee7c7153fe9eb301aa7548', slot: "year-label" }, h("slot", { key: '961d1de6ef85344b433a8405963a817b57f94a5f', name: "year-label" })), h("div", { key: '5edd148108c9ad3cce7ccbdcf23985c067c3d324', slot: "month-label" }, h("slot", { key: 'cad29d4e9e8932d3547bbe17ce006e99b861f35d', name: "month-label" })))))));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "smoothly-input-date"; }
|
|
90
90
|
static get encapsulation() { return "scoped"; }
|
|
@@ -91,12 +91,12 @@ export class SmoothlyInputDateRange {
|
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
const locale = navigator.language;
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: '0a39feda764bfd21373182adf3b7f5b0b3472eb2', tabindex: 0 }, h("section", { key: '6bc56a02490b2e855d9d9c0b6f2b4e79d2f097b9', onClick: () => !this.readonly && (this.open = !this.open) }, h("smoothly-input", { key: 'bb64b743e16f0f80232a101121475c9b18bf22fe', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
|
|
95
95
|
? `${tidily.format(this.start, "date", locale)} — ${tidily.format(this.end, "date", locale)}`
|
|
96
96
|
: undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
|
|
97
97
|
e.stopPropagation();
|
|
98
98
|
this.inputHandler(e.detail);
|
|
99
|
-
} }, h("slot", { key: '
|
|
99
|
+
} }, h("slot", { key: '5c0304ae71532534e4df6673a2ca538e131ce7cc' }))), h("span", { key: '51c98ef57299158e77be485a5355d4a98eda18a2', class: "icons" }, h("slot", { key: 'a8e2f3cf5dee52eb181865b6fb6b992a87216a54', name: "end" })), this.open && (h("nav", { key: 'e41d58a167a882bff1878fec710c5295dc3f7ea3' }, h("smoothly-calendar", { key: 'de6578bbf253dbf6b5179629e1a414d311c40785', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
|
|
100
100
|
e.stopPropagation();
|
|
101
101
|
this.start = e.detail;
|
|
102
102
|
}, onSmoothlyEndChange: e => {
|
|
@@ -6,17 +6,17 @@ export class SmoothlyInputDemo {
|
|
|
6
6
|
this.alphanumeric = "!@##";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '2c21d84c0c387c41621323eac28a6fb0c7aa9eff' }, h("smoothly-input-demo-standard", { key: '119dd61fec7d5679e7d71ed8b1cbd7cd7676df8e' }), h("div", { key: 'f27fe4ccbce6bcb2bb247a7ca2bdf1a3c0f48eeb', class: "inputs" }, h("h2", { key: '14d1b974cd3d39d9bfce6db4db90390829af27fc' }, "Calendar"), h("smoothly-input-date", { key: '2554c0764e1c3240fed2a60b1f0fed1debc4b288', name: "some-date" }, "Calendar"), h("h2", { key: '566d6aa65ed9d693953c8f16fcfdd84877f948f6' }, "Date Range"), h("smoothly-input-date-range", { key: '888e3043ba1f13b4ee9bd00b214cb422745271e5', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-01", max: "2025-01-31" }), h("smoothly-input-date-range", { key: '40cc239a477203bcec3950ca8f9d58760662b6f4', name: "testing", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2024-12-30" }, h("smoothly-input-reset", { key: '5914ae9340c307ebb9f2d237be1c464489af5e11', slot: "end", size: "icon" })), h("smoothly-input-date-range", { key: '27f7376080ee0194d9b10c1b67fca176171582ca', looks: "grid", start: isoly.Date.now(), end: isoly.Date.nextMonth(isoly.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
10
10
|
"--smoothly-input-border-radius": "0.5rem",
|
|
11
|
-
} }, h("smoothly-input-clear", { key: '
|
|
11
|
+
} }, h("smoothly-input-clear", { key: '68f4e45c98c8ae86540d47dda347f7da2a6311c0', slot: "end", size: "icon" })), h("h2", { key: '22fa286405039f0ffad5f3e0699d319e19afab81' }, "Date"), h("smoothly-input-date", { key: '234714e87a3d7758ddb461c2e41d8338b08d1dac' }, "Date"), h("smoothly-input-date", { key: 'ffa9825d1607cfff36c0f905c54f599eb27641df', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), h("smoothly-input-date", { key: '0996c7930dda251e062c3ddeb3913235945c8770', value: "2021-10-28" }, "Date", h("smoothly-input-reset", { key: 'f93840584abbe3bcf42b2ef631b9af0ad3777cb9', slot: "end", size: "icon" })), h("smoothly-input-date", { key: '922eba0deb0d83ef492fc6179729784b65d56007', value: "2021-10-28" }, "Date", h("smoothly-input-clear", { key: '1e1922feaf0d74cbd28838910e76aa4996b79379', slot: "end", size: "icon" })), h("h2", { key: '285f1e7ac38d73d1cefd2d09cad980e3bfdb4eef' }, "Select"), h("div", { key: '530acc8bb23dcded52f542fd5776b9915d8747a5', class: "select-div" }, h("smoothly-input-select", { key: '055b09252fe6854519b55355309123649a1d8548', name: "select-dessert", looks: "border" }, h("label", { key: 'eb009b697a58e228e218b03be5c5443f9112813e', slot: "label" }, "Select with clear button"), h("smoothly-item", { key: '797c3dacc4cfdfc5dbc844c84792e33bb7717315', value: "1" }, "Ice cream"), h("smoothly-item", { key: '39663fc179e11bb1dde2d11070a071ae2b6c983e', value: "2" }, "Sponge cake"), h("smoothly-item", { key: '07ecb2a92ba7a8d96702cade6cea2352abd9b6ba', value: "3" }, "Cookie"), h("smoothly-item", { key: '199fd2229c654cce7219f1f443c92d0159f688d8', value: "4" }, "Croissant"), h("smoothly-item", { key: 'ca81d64043bed3518c468e9b7889106c28a6c9a3', value: "5" }, "Chocolate fondue"), h("smoothly-input-clear", { key: 'efbe12f1284be04fa9da11fb06f566ca4e3566f3', size: "icon", slot: "end" })), h("smoothly-input-select", { key: '5f1f71f6e23c2c966774f2400acc19b05ab953ab', multiple: true, name: "select-dessert-multiple", looks: "border" }, h("label", { key: 'e05b5b2685a0e43751f543f2007250989f13998f', slot: "label" }, "Select multiple with reset button"), h("smoothly-item", { key: '9e6dd82329905758ed38829b83d540d21b700970', value: "ice cream" }, "Ice cream"), h("smoothly-item", { key: '9b0292116361e68bcb8565269d1c9887231769ba', value: "sponge cake" }, "Sponge cake"), h("smoothly-item", { key: 'f75d180a17e590e1c6d266f3d54fb14ba0583d77', selected: true, value: "cookie" }, "Cookie"), h("smoothly-item", { key: '70b55fca1ebf5d1ce143537d0ce0cb59eb1239d9', value: "croissant" }, "Croissant"), h("smoothly-item", { key: '38593ddd022bf1b89e2a1f746bdb78ac25adfaf5', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), h("smoothly-input-reset", { key: '73817d432108c84097d89ae6343f4467c2c3dba5', size: "icon", slot: "end" })), h("smoothly-input-select", { key: 'a02780a198f189e67bd9afb876dfd40d48d8749e', name: "spirit-animals", looks: "border", mutable: true }, h("label", { key: '6396739580e9c4641f89dfb7b0124a2286d7f80d', slot: "label" }, "Select or add new options"), h("smoothly-item", { key: '780d77499458aae22ef7a263254337863263d258', value: "manatee" }, "Manatee"), h("smoothly-item", { key: 'fe2015a62f5df7bf43f47b20970f44956090e515', selected: true, value: "cthulu" }, "Cthulu")), h("smoothly-input-select", { key: '3a3d3e369cafc3a5b4730c45410020edff3847aa', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '8ffb133d23c890286071965e4a81b4f0c1c7a40c', value: "folder", selected: true }, h("smoothly-icon", { key: '1c4258df5c53f0ea7131bbe7f70aa9a0763c590e', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '29b5bf212246c78ad291018ed913571d97c264d9', value: "camera" }, h("smoothly-icon", { key: 'e0c3ee87ca0e922c7791d0ec6122b82788d77b18', size: "small", name: "camera-outline" }))), h("smoothly-input-select", { key: 'e1d10123cb5b1a787382817c07e10a3deb74ea34', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'c26862e531cb18e66740c61b29211040213acaee', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
12
12
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
13
|
-
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '
|
|
13
|
+
.map(char => (h("smoothly-item", { value: char, selected: char == "H" }, char)))), h("smoothly-input-select", { key: '914bcb2ad740dead0f170ca65d6709ccc074da64', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'a0a19f995856bbed75facfd13e8678e2660a3f00', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: 'b204bf4e58d9e958caa858bef2e6c332d4380aac', value: "1" }, "January"), h("smoothly-item", { key: 'af992fa019db3145e771d99a9d8076ef4d29e8ff', value: "2" }, "February"), h("smoothly-item", { key: 'ad288e51d7da7b7e036c6c03e41e58ace1e9ebba', value: "3" }, "March"), h("smoothly-item", { key: '6eef09ea011660bc8f05890dc8e3b214162c1a8a', value: "4" }, "April"), h("smoothly-item", { key: 'b35f8c9936d3d889820a32a4952bc00d9e207777', value: "5" }, "May"), h("smoothly-item", { key: '6334d689acd1db1ff3371b83845e42fbed12cf97', value: "6" }, "June"), h("smoothly-item", { key: 'e0e6fd95341bc868cfb078c3084087ae1f7116b1', value: "7" }, "July"), h("smoothly-item", { key: 'e1d2110eb9ce3049fad072dbc7b3ee5fdd5417e0', value: "8" }, "August"), h("smoothly-item", { key: '67e1e2e03fe996d3513713777fc5fb173bde40f3', value: "9" }, "September"), h("smoothly-item", { key: '1d339f1b19f2837821e9ad1854ff91c6377a9b46', value: "10" }, "October"), h("smoothly-item", { key: 'f337d69b0cf691004026dcd1fd9fb6e05663e6ab', value: "11" }, "November"), h("smoothly-item", { key: '59e4f576d3682797d304af9de5b034874232edd8', value: "12" }, "December"))), h("h2", { key: '857f8038b0c7eba6cc1cdf809006602895bd50ce' }, "Duration"), h("smoothly-input", { key: '2fe4664cc1c0ccab14c73eace5e3245050ee42e6', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => {
|
|
14
14
|
const duration = e.detail.duration;
|
|
15
15
|
this.duration = duration;
|
|
16
|
-
} }, "Duration"), h("smoothly-input", { key: '
|
|
16
|
+
} }, "Duration"), h("smoothly-input", { key: '4d2c766c08d7668dc950cdf0e79c2376e65cb10e', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
17
17
|
const duration = e.detail.duration;
|
|
18
18
|
this.duration = duration;
|
|
19
|
-
} }, "Duration"), h("h2", { key: '
|
|
19
|
+
} }, "Duration"), h("h2", { key: 'ebe91cd09ac5eaf64582d32e2d19020e28a8e431' }, "Invalid text with warning icon and tooltip"), h("smoothly-input", { key: 'c5a54e12f1e6bc615e82820adb9808028963ee62', name: "alphanumeric", invalid: !/^[a-zA-Z0-9]+$/.test(this.alphanumeric), errorMessage: "Only alphanumeric allowed", value: this.alphanumeric, onSmoothlyInput: e => (this.alphanumeric = e.detail.alphanumeric) }, "Alphanumeric"), h("h2", { key: '436d524f5d496de80f178eb48967707ef2c371cc' }, "Identifiers"), h("smoothly-input", { key: 'e81c1ea987dbae312c926b4c23e484d5224c369c', type: "identifier-code" }, "Code"), h("smoothly-input", { key: 'c8e035329dfce2d45feb2584dc9bdea751f780d6', type: "identifier-attribute" }, "Attribute"), h("smoothly-input", { key: '0c601277a87d76107c59ff9ed9a972220c9ce8ae', type: "identifier-snake" }, "Snake"), h("smoothly-input", { key: '02c6999478f3c1bba98afdde77a3d0423947ea4b', type: "identifier-pascal" }, "Pascal"), h("smoothly-input", { key: '6192de09d6ee62b9a94f26d144edd0f31b9094fe', type: "identifier-camel" }, "Camel"), h("h2", { key: '031f9e449e3c161737d14f175b1c125bc7c42b23' }, "Input Alternatives"), h("smoothly-input", { key: '9d0ccf91ea643a35949fce4e127e4da41404d84c', type: "text", name: "name.last", onSmoothlyChange: e => console.log("smoothly change event") }, h("smoothly-icon", { key: 'b700bb685a07e1506639e01e2635a423b5082cd5', name: "checkmark-circle", slot: "start" }), "First Name"), h("smoothly-input", { key: '3e2556fb2f33499792dd69becf68a6042a7e4027', type: "text", name: "name.first", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", h("smoothly-icon", { key: '7020584ecc47e9e3ee55834f3340ae1a5fb31dd0', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: 'c32269531a2cce3ce8600884e33f477a804091a6', type: "text", name: "name.first", placeholder: "Smith", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", h("smoothly-icon", { key: '5807e5e4b0eafbf9a45fcd4612fadbdd2b1b1a84', name: "checkmark-circle", slot: "end" })), h("smoothly-input", { key: '6ad0ed7ca5fc6fbcadd643c956e83cf40b83c86d', placeholder: "test" }), h("smoothly-input-submit", { key: 'fefaf76c25fbca0e52c03b013db854215775278e', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), h("h4", { key: 'a21b1ac255ec749e48b8f3600f50aa60742065af' }, "Smoothly checkboxes"), h("div", { key: '0f174810638970840571e784396f5386f9a728a1', class: "checkbox-group" }, h("smoothly-input-checkbox", { key: '4d3919ee270974bee934702b45c0e43fbf391991', disabled: true, name: "first-checkbox" }, h("smoothly-icon", { key: 'e1947db3f4e0cb37b86621b532d5123e0de24a12', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), h("smoothly-input-checkbox", { key: '5db66f0e920a5ce03c9bf0c4829b042eae9adbc0', name: "second-checkbox", checked: true }, h("smoothly-icon", { key: '93b2170be8dbbe239e75079a45fe0d4acf3ed40a', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", h("smoothly-input-clear", { key: 'e8ec74b50cf2be6e30a37e787a61e904df1b9154', size: "icon", slot: "end" })), h("smoothly-input-checkbox", { key: '7e44d27a76d61736ec42a2e8d8531132c5ac86b2', name: "third-checkbox" }, "3rd")), h("h4", { key: '3751c4486172886d76699dd0b4c2685201ef2c6a' }, "Smoothly Radio Buttons"), h("smoothly-input-radio", { key: '999bd3f7ebc3b66dad5dfcb419e3f89dc80efae0', clearable: true, name: "radioFirstInput" }, h("smoothly-icon", { key: '0df5464e535813443495fc3ea18310878697ce8b', name: "checkmark-circle", slot: "start" }), h("label", { key: '0561365fd4133d9cc73f3abb2c50970074fbb1ca', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: 'fa9180e66a63c3804c9d93976fd427cb6416c0ff', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '0aa37e8ac6dbb5796ae4bbdaa6b04990f6e627f8', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '1fa790e6efe4c1a4c3a647ab75fa1bd8ff5cd1f2', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: '6f6470d0341663a35e904ce3a26a25b0ab357838', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: '8971a429e5e231b283864c2a50c9a4d8e5026d3d', name: "radioSecondInput" }, h("label", { key: 'fceed2bb3cd4e69e3f5478cee6f9c31682470da1', slot: "label" }, "Not clearable"), h("smoothly-input-radio-item", { key: '285d7046af2ebe57f66932d843f2db35f2927c83', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '990ce64efece7e1f27572bb1ac983c7d695ab4bf', value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '6367bbe2e7e5f80ec66854ce8e1d59cafd7e6006', value: "third" }, "Label 3"), h("smoothly-input-radio-item", { key: 'd5ba0827aac67b46b29d0c6cd9ffffcaf3f75fa6', value: "fourth" }, "Label 4"), h("smoothly-input-radio-item", { key: '77f0e308ff8a0632005246f0f3d7cd39fa4720f9', value: "fifth" }, "Label 5"), h("smoothly-input-radio-item", { key: '9a50b5807b38dd21431e0bcfd7a741ae5f1f7858', value: "sixth" }, "Label 6")), h("smoothly-input-range-demo", { key: 'a026639b8abb9a20214d26ef4e745104aab9f3b5' }), h("smoothly-input-color-demo", { key: 'a1d742e35900ee52300d94461e848182a811687c' }), h("smoothly-input-price-demo", { key: '13548eae0e3e92ab25cbab2dba88e771990feb2f' }), h("smoothly-back-to-top", { key: '7dd86bfc6d190cb82949d74faa1b7e76fa6443a0' }))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "smoothly-input-demo"; }
|
|
22
22
|
static get encapsulation() { return "scoped"; }
|
|
@@ -6,7 +6,7 @@ export class SmoothlyInputPriceDemo {
|
|
|
6
6
|
this.currency = "USD";
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '9c6661ac8c89ced4284ae6b68958201d22211cd8' }, h("h2", { key: '7165928dd4c25bb176f5d596f2439100e18e04e1' }, "State demo on smoothly-input"), h("p", { key: 'af13231e44288235e7511982059c57aee82b3344' }, "This demo/test the internal state of the smoothly-input component."), h("p", { key: 'e238336b2827ea5ee5d9aadd057c3e472ec0348d' }, "The currency of the price should update when switching between the currencies."), h("smoothly-input-radio", { key: 'a36f517404fa3cc2a32a6c1a3f2e7bc3bf2845cb', name: "currency", onSmoothlyInput: e => (this.currency = isoly.Currency.is(e.detail.currency) ? e.detail.currency : undefined) }, this.currencies.map(currency => (h("smoothly-input-radio-item", { key: currency, selected: currency == this.currency, value: currency }, currency)))), h("smoothly-input", { key: '5880eaca14ffeabea917edb4f1100b07e0a6b943', type: "price", currency: this.currency }, "price")));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "smoothly-input-price-demo"; }
|
|
12
12
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,7 +21,7 @@ export class SmoothlyInputDemoStandard {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const placeholder = this.options.placeholder ? "placeholder" : undefined;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '784cd389b73ec998cfc33687554c6ce89652079d', class: { vertical: !!this.options.vertical } }, h("div", { key: '922dcb022d6102729c23cf6b3e4eb9d181104791', class: "description" }, h("h2", { key: '25394f0be9723506febc2d87d1fd5c4120b4ca39' }, "Input Standard"), h("p", { key: '062ca48b69560e7237a419f182bf77dd5d549698' }, "Height of input should be ", h("code", { key: '6f3d6eb77059d1e485b802b4882720980077c0b3' }, "3rem"), " including border. This is should result in a 48 pixel height at 100% zoom, assuming a root font-size of 16 pixels."), h("smoothly-form", { key: '04bcc3858224312058187a41bfb6f99ca314aa44', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, h("smoothly-input-select", { key: '0d2abfaec915f58a4f43024fab1723d597fd2dc5', name: "looks" }, h("span", { key: 'ef60b294b701aedeb1540007cc0e6c4f7fc196e7', slot: "label" }, "Looks"), Looks.types.map(l => (h("smoothly-item", { value: l }, l)))), h("smoothly-input-checkbox", { key: '49f2bf14f8ad5734097b0aa7e58b5216d803be62', name: "readonly" }, "Readonly"), h("smoothly-input-select", { key: 'b4da34fe37a43cc44a6f5a779740e793724fc446', name: "color" }, h("span", { key: '40ab845ccf5250bce39c7f70d76c093cffc93c26', slot: "label" }, "Color"), Color.types.map(c => (h("smoothly-item", { value: c }, h("span", { color: c }, c)))), h("smoothly-input-clear", { key: '4506d88ad3a4a4863b48ce00bca5b40d48204cb3', slot: "end" })), h("smoothly-input-checkbox", { key: '8d20deeda95a6afbbd75a4788963fe6cb21e34a0', name: "vertical" }, "Vertical Layout"), h("smoothly-input-checkbox", { key: 'fab8770e50db7c6263fe5dd8768c5a049e3005ad', name: "showLabel", checked: this.options.showLabel }, "Show Label"), h("smoothly-input-checkbox", { key: 'a3f6d6aced12a9d905f5b3f73530dc145735a17f', name: "placeholder", checked: this.options.placeholder }, "Placeholder"), h("smoothly-input-range", { key: '6685791a655b9de1499a1f738fc5197ecb9a67a0', label: "Border Radius (rem)", name: "borderRadius", value: this.options.borderRadius, min: 0, max: 2, step: 0.25 }))), h("div", { key: '1b4d02bdb4dc4c1e992eeb6040ae158e2748d50f', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, h("div", { key: '2608d0af230ddc45a5e305f5cd50306d7944f13f', class: "width" }, "100%"), h("div", { key: '2f86b418dc79ec24e6f76c8f66351dd5d06acb6d', class: "left-padding" }, "0.5rem - left padding"), h("smoothly-input", { key: '5d2355bd0874b9717f29a347042b855caf3735e2', name: "text", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: 'df7abc3274a87b70abd7e440fc93f778e9e88d77' }, "Text"), h("smoothly-input-clear", { key: '88e2456ddb005705f7ba71cd60bec4cf9ee95f8d', slot: "end" })), h("div", { key: '44e12dede8311dd568518f72c42530b3ecfb66af', class: "height" }), h("smoothly-input-select", { key: '5019fe1b9518e783aa7da0e7fc2a5a83dc93a128', name: "month", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color }, this.options.showLabel && h("label", { key: '0cb0541a87e4dcca91ce0d80dafdba72f85b9e03', slot: "label" }, "Select"), h("smoothly-item", { key: 'e5b3071fea883db86b9e231f4b2c20732173536c', value: "1" }, "January"), h("smoothly-item", { key: '495795fabf01a9070b762cd66e5ed770f228bf4d', value: "2" }, "February"), h("smoothly-item", { key: 'faaac29a98b1ec33c26bdf5f6514a76412f32228', value: "3" }, "March"), h("smoothly-item", { key: 'b1426ae59bb51ade1e7dad20fb6e1949b3a5c0f8', value: "4" }, "April"), h("smoothly-item", { key: 'e9d3f4dfe7ee79709e5a8b290a7fd9518fde709e', value: "5" }, "May"), h("smoothly-item", { key: '4d4d17f2c6fc5bd16287bc4b61fc98e647745839', value: "6" }, "June"), h("smoothly-item", { key: 'bf85ab8cc41ce12e4f39128fc346354e90e4a818', value: "7" }, "July"), h("smoothly-item", { key: '4ac673d58a2720c0faa744d48d6396e3b1bde9dd', value: "8" }, "August"), h("smoothly-item", { key: '1d9f93d1104446b13c7acd9600d17644f1e1b0b3', value: "9" }, "September"), h("smoothly-item", { key: '4c7879c0c8f1fb4a1e5fffdac85d70fddbee6be1', value: "10" }, "October"), h("smoothly-item", { key: '39af8225cc806f8ecd6baef04179bd8641c4f45c', value: "11" }, "November"), h("smoothly-item", { key: '91181c350899880d8d557464eb2d73233a745725', value: "12" }, "December"), h("smoothly-input-clear", { key: '38bf44afab753632846ae8f1e06da14396a069d2', slot: "end" })), h("div", { key: 'f3f4a148d023e69f350d584f676f3f9230d50b81', class: "height" }), h("smoothly-input-checkbox", { key: '04145e3352cb19b808b667bc7f915aa4ed11b139', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, "Check"), h("div", { key: '9730c4383240e7dfd827f6363a51af1e20f2b0d2', class: "height" }), h("smoothly-input-radio", { key: '80016b96d58dd97c3e76b1a58896011005793bc5', name: "radio", clearable: true, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("label", { key: 'e352df7b302d99455e10aba7dec3c80c463c8d12', slot: "label" }, "Radio"), h("smoothly-input-radio-item", { key: '1f64692c6c834c37ceb0a13ab68dc65468cba491', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '003bddef9a78f0380abd81a12c3588b52c5f3a96', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: '4846a126e904c491bcb8377ee6a00911777d882e', value: "third" }, "Label 3"), h("smoothly-input-clear", { key: 'b14968dc755270099340bfccf8a1909155fb9211', slot: "end" })), h("div", { key: 'cb18de85115b554d5e9d4e1490531a7083dd8a77', class: "height" }), h("smoothly-input-file", { key: 'b97675882d95e04f8692c5b3460b4ccabfc1e975', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '7fa640ef3e6db9e981dcab96857df59cec8e576d', slot: "label" }, "File"), h("smoothly-input-clear", { key: 'c0a80dea47043e132bff876dddbdcf0283c7c998', slot: "end" })), h("div", { key: '29b5b4dbfc7b547cc6defb6dd3d7971d92d3a57e', class: "height" }), h("smoothly-input-range", { key: '2913c10df0c8f821f96e6380c96c142322e2beaf', name: "range", label: this.options.showLabel ? "Range" : undefined, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, h("smoothly-input-clear", { key: '2927d9e4292279ffe1d3e0d430214764e3112535', slot: "end" })), h("div", { key: '76d623669ac24a878c40044d96182d84e8e9dddc', class: "height" }), h("smoothly-input-color", { key: '2e2bf08a782668b937eec20119d59245486a3b8c', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: 'b152d46dd05edd95214cd4bc00feda7e14102a92' }, "Color"), h("smoothly-input-clear", { key: '688575ba0e75c9fd8089a51618b3df6691e0b6d0', slot: "end" })), h("div", { key: 'a288a016a8aba3a666004d1745af57a9a49c4a84', class: "height" }), h("smoothly-input-date", { key: '50c9171499d5ee91181babfcaeb01884483e5430', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: '3a738742111958ee0b4e520d3882bfc122f25764' }, "Date"), h("smoothly-input-clear", { key: '1eb81c4f1c3d838825d02cde5dab3ec1c778203b', slot: "end" })), h("div", { key: 'b2ef4db841230f6b80bc540c7f37ff1aeebb6cab', class: "height" }), h("smoothly-input-date-range", { key: 'f64d6d45d5efd6f3c19a5f8739b43b7bfcee5de3', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && h("span", { key: 'd419575d64589b4b2817b90fd2ae4f0d3440880e' }, "Date Range"), h("smoothly-input-clear", { key: '3e305c54a0d42326b5eea572ce62f3dccb15cc6c', slot: "end" })), h("div", { key: '96094b6ec9150edb1f8c5a64f51b3646296be49c', class: "height" }), h("div", { key: '2bce35052b55dc97f8da3e995110cbb2a22fde28', class: { "guide-lines": true, "show-label": !!this.options.showLabel } }, this.options.showLabel ? "Aligned labels & values" : "Center values"))));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "smoothly-input-demo-standard"; }
|
|
27
27
|
static get encapsulation() { return "scoped"; }
|
|
@@ -28,7 +28,7 @@ export class SmoothlyInputEdit {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
var _a;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'c4187c46bdcb80dac6991e3b3e72cb04a1f019db', title: this.toolTip }, h("smoothly-button", { key: '44d5368b74918d0686d13f03a5c915630e5a80e7', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined) }, h("slot", { key: 'fcdc2c3e243dd00405415fc700a466a62e4b3c1a' }), h("smoothly-icon", { key: 'b653b0fb812c845b15d56096052e2672e019aadf', class: "default", name: "create-outline", size: "tiny" }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "smoothly-input-edit"; }
|
|
34
34
|
static get encapsulation() { return "scoped"; }
|
|
@@ -101,7 +101,7 @@ export class SmoothlyInputFile {
|
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
103
|
var _a, _b, _c;
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: 'f928458bd935387c53e72bb413ece3afc4951f2d', class: { dragging: this.dragging, "has-value": !!this.value }, tabindex: 0, onClick: (e) => this.clickHandler(e), onDragOver: (e) => this.dragOverHandler(e), onDragEnter: (e) => this.dragEnterHandler(e) }, h("label", { key: '2d6bf1fa20f3fcdf481eacd8f8c70ea109b736cc' }, h("slot", { key: 'e0e1489ae90b378b32f295fda00d1152fee04d26', name: "label" })), h("div", { key: 'f27c32bfdfa5c6d13763e644efb968c71c4d12b4', class: "input" }, h("smoothly-button", { key: '6a62af23186cd52fdb03e28881aeba4177efbda3', color: this.color, fill: "clear", size: "flexible" }, h("slot", { key: 'fe91571962e0f92b91cb8003717475707d09da59', name: "button" })), h("span", { key: '7130a835cd0994789df802bb8b6146928e9feb15' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), h("div", { key: '860c4a93cf0858bd933286f3c2e7ee0f71bb6118', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, h("smoothly-icon", { key: '19023ba2c6091461988b4c3147199e04df3a973b', name: "document-attach-outline" })), h("input", { key: '1aab90d2db03d735a147d0c3a221e221fafacf22', ref: element => (this.input = element), type: "file", capture: this.camera == "back" ? "environment" : "user", accept: (_c = this.accept) !== null && _c !== void 0 ? _c : (!this.camera ? undefined : "image/jpeg"), files: this.files, onInput: e => this.inputHandler(e) })), h("div", { key: 'c1944bd9f359ac18bae5dad4bc045d5f2f19e346', class: "end", onClick: (e) => e.stopPropagation() }, h("slot", { key: '425e766d0c38f8f758e8bd4a0b795f89511910df', name: "end" }))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "smoothly-input-file"; }
|
|
107
107
|
static get encapsulation() { return "scoped"; }
|
|
@@ -122,7 +122,7 @@ export class SmoothlyInput {
|
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
124
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '3fc905423d5254b46e48b2f433ea0339d00fcf19', class: { "has-value": ((_a = this.state) === null || _a === void 0 ? void 0 : _a.value) != undefined && ((_b = this.state) === null || _b === void 0 ? void 0 : _b.value) != "" }, onclick: () => { var _a; return (_a = this.inputElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, h("slot", { key: '61d0acc825f8c09c416320291991a9f7e8747635', name: "start" }), h("div", { key: '80a86d79a71c2e3706925fd2afcd1d4173784cfd' }, h("div", { key: '87275f36e4fdf6d02e85bec867b8d7d538e16269', class: "ghost" }, h("div", { key: '51ad2aabffe421d21f67b0f7c2353c3ee83f75e1', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), h("div", { key: '3fa1c2a8ab779dd79de96a63425d5b5830ec9b38', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), h("input", { key: 'fa6c3c58f831f5a2f45786d2ed28244c9151d510', 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: event => {
|
|
126
126
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
127
127
|
if (event.key == "Enter")
|
|
128
128
|
this.smoothlyBlur.emit();
|
|
@@ -135,7 +135,7 @@ export class SmoothlyInput {
|
|
|
135
135
|
if (Deep.notEqual(lastValue, this.stateHandler.getValue(this.state)))
|
|
136
136
|
this.smoothlyChange.emit({ [this.name]: this.stateHandler.getValue(this.state) });
|
|
137
137
|
}
|
|
138
|
-
} }), h("label", { key: '
|
|
138
|
+
} }), h("label", { key: 'd5028b886068594878aafe45fbd0717ffb8fe967', class: "label float-on-focus", htmlFor: this.name }, h("slot", { key: 'a7d06eddc4e537e75097bb884cb04335a9094002' })), h("smoothly-icon", { key: '37a6af033a22bed6ec0ab7935826b9bb8bfe4b98', name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage })), h("slot", { key: 'ffeffc908bd319a22aa0c1d43ef4851e218275c1', name: "end" })));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "smoothly-input"; }
|
|
141
141
|
static get encapsulation() { return "scoped"; }
|
|
@@ -106,9 +106,9 @@ export class SmoothlyInputMonth {
|
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
108
|
var _a, _b;
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '1943685acea16f3f7365d4726c155bb4c9f08a08' }, h("smoothly-icon", { key: '029ae9819e734d3abc9831387dedd0785eb9b682', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
110
110
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
111
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
111
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '86c6c640f18a3d4eec43174875151e40b3312516', ref: e => (this.year = e), name: `${this.name}-year`, readonly: this.readonly, changed: this.changed, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, h("div", { key: '41e72d8ce92de46f25a5a7fb4f3ce3199e13901c', slot: "label" }, h("slot", { key: '553a753f930ec75d6a22503caf8d9daa10bffac1', name: "year-label" })), generate.years((_a = this.value) !== null && _a !== void 0 ? _a : isoly.Date.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: '14395761ce8d660b900d33a9788ef7dea8d94fdf', ref: e => (this.month = e), name: `${this.name}-month`, readonly: this.readonly, color: this.color, looks: this.looks, changed: this.changed, menuHeight: "5.5items", required: true, ordered: true, inCalendar: this.inCalendar, showLabel: this.showLabel, onSmoothlyInput: e => this.inputHandler(e), searchDisabled: true }, h("div", { key: '0008803d6e9729e35cf873dfcdeed8b85aa0ab63', slot: "label" }, h("slot", { key: '9a71e838cb19a0ebecf2bdf0d37910caec36b3a9', name: "month-label" })), generate.months((_b = this.value) !== null && _b !== void 0 ? _b : isoly.Date.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: '74682dfc3b0108a34014cad5229d14bd7ececf51', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
112
112
|
disabled: this.readonly || !this.allowNextMonth,
|
|
113
113
|
}, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
114
114
|
}
|
|
@@ -96,7 +96,7 @@ export class SmoothlyInputRadio {
|
|
|
96
96
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
99
|
+
return (h(Host, { key: '922330dfeb58cc9bbd47acfda45b0cc727c2ee78', class: "floating-label" }, h("slot", { key: '7d84c2fcbda1d0b8b98bd3dfb2122854f8d4ba48', name: "start" }), h("div", { key: '0d170f8d4695171d2e2ee7224e502dbbf74fd2b8' }, h("slot", { key: 'ff9b06c3ac6e6d3d4866d22769a17b5f37fca91e', name: "label" }), h("div", { key: 'd1d39e3d5d4463d152f63e5b91a858342f621fd0', class: "options" }, h("slot", { key: 'd6931cfb09a492a962a45df852ddb7b76954866d' }))), h("slot", { key: 'd8b3b53070739d0da4fac4449d5b404df26eef93', name: "end" })));
|
|
100
100
|
}
|
|
101
101
|
static get is() { return "smoothly-input-radio"; }
|
|
102
102
|
static get encapsulation() { return "scoped"; }
|
|
@@ -14,7 +14,7 @@ export class SmoothlyInputRadioItem {
|
|
|
14
14
|
this.smoothlySelect.emit({ value: this.value, selected: this.selected, select: s => (this.selected = s) });
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '002e26f56eaf8b6a5a1d82831ca8d6e75640c6b5', onClick: () => this.inputHandler() }, h("input", { key: 'cce7006d1e987923e10bc472f80d1b9d3eb94799', name: this.name, type: "radio", checked: this.selected }), h("smoothly-icon", { key: '92560203ac82ea5bc172ad2b928be1f127be7da6', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", fill: "outline", color: this.selected ? "success" : "medium", toolTip: "Select" }), h("label", { key: '3d3c5a6b68bce65f4556f9159542d42c3b0b5fd6' }, h("slot", { key: 'f69d8bf5a6bb8d25493ab82cd31ec46b5a576826' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "smoothly-input-radio-item"; }
|
|
20
20
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyInputRangeDemo {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'd80b7d97e5938f89b114bd6cefe2379bd7d539ff' }, h("h2", { key: 'e130c40a42caf8099c73ddd602b4729dfcd6d6aa' }, "Range"), h("h3", { key: 'c250412bad7b95f15a82b697e458322b67a04bf8' }, "Phone Number"), h("smoothly-input-range", { key: '091a7a33a8e295785984bf44f25807e5e792161f', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), h("h3", { key: '5a5e3026b334ea2abb62dada30ca121b6c02bf65' }, "Stars out of ten"), h("smoothly-input-range", { key: '41402636155c1518d6d4e008743416d4146c2579', max: 10, step: 1, label: "Stars" }), h("h3", { key: '7624a9d0ef702c6f3e9b8f254196bcccd92e278e' }, "Percent"), h("smoothly-input-range", { key: 'a2ca37d7755949003438c9370e74091862f42555', type: "percent", max: 1, step: 0.01, label: "Percent" }), h("h3", { key: 'e492ba09bcba0cdaa2df72a1d1fc584a742f5090' }, "With icon at start and clear button"), h("smoothly-input-range", { key: '0a69b9be845fd9150cd6159132ee4047f8da60b1', step: 1, name: "range2", label: "Select" }, h("smoothly-icon", { key: '11a3f47010f5c2ae24328a154c861d3b2e72cc15', name: "checkmark-circle", slot: "start" }), h("smoothly-input-clear", { key: '131a8a23a1333f7ddc8472675ec20b4154dac055', size: "icon", slot: "end" }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-input-range-demo"; }
|
|
7
7
|
}
|
|
@@ -90,17 +90,17 @@ export class SmoothlyInputRange {
|
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
92
|
var _a, _b, _c;
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: 'f30307fb1bb01d0a1cbe061b729895d05e4d0a71', class: {
|
|
94
94
|
"output-side-right": this.outputSide === "right",
|
|
95
95
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
96
|
-
} }, h("slot", { key: '
|
|
96
|
+
} }, h("slot", { key: 'ab94b178299760c8f203d1e1e06d3122db81ffbf', name: "start" }), h("div", { key: '66717b13b3025f6645bf9f58f4d3255787fcf162' }, h("label", { key: '1a8458d9a4fb5b17d3d05794d6b536de0cadd4e9', htmlFor: this.name }, this.label), h("smoothly-input", { key: '9e495879fc7c32a01ce945cbc9902a94be1e5910', 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(),
|
|
97
97
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
98
98
|
e.stopPropagation();
|
|
99
99
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
100
|
-
}, 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 }, this.label), h("smoothly-display", { key: '
|
|
100
|
+
}, 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 }, this.label), h("smoothly-display", { key: 'facaa91f246feae01d65b14a2169a65130329686', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), h("input", { key: 'dfa426ae80bfd8a52c03e0b872747655e8d04d77', 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, onInput: event => {
|
|
101
101
|
event.stopPropagation();
|
|
102
102
|
this.setValue(event.target.valueAsNumber);
|
|
103
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '
|
|
103
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), h("smoothly-display", { key: '8a36e5c707c72ede4b326b9b6c17236235a0770c', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), h("slot", { key: '47baf47817df9f2c93e4c65413bb2342b10a96e5', name: "end" })));
|
|
104
104
|
}
|
|
105
105
|
static get is() { return "smoothly-input-range"; }
|
|
106
106
|
static get encapsulation() { return "scoped"; }
|
|
@@ -39,7 +39,7 @@ export class SmoothlyInputReset {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
var _a;
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'e866598d780286347fd99ae758bf3007b51d9b96', title: this.tooltip }, h("smoothly-button", { key: 'b6f884b563fcb7e77435c8bd2f133b8fb5c7efa1', disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: this.color, fill: (_a = this.fill) !== null && _a !== void 0 ? _a : (this.type == "input" ? "clear" : undefined), onClick: event => this.clickHandler(event) }, h("slot", { key: '324001fa4903bb6c2fba3320ef75393ca2a68c64' }), h("smoothly-icon", { key: '168b29242d33e6bc8f7dcf3dbe4068bca86adb5d', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "smoothly-input-reset"; }
|
|
45
45
|
static get encapsulation() { return "scoped"; }
|
|
@@ -281,14 +281,14 @@ export class SmoothlyInputSelect {
|
|
|
281
281
|
this.addedItems = this.addedItems.concat(h("smoothly-item", { value: this.filter, selected: true }, this.filter));
|
|
282
282
|
}
|
|
283
283
|
render() {
|
|
284
|
-
return (h(Host, { key: '
|
|
284
|
+
return (h(Host, { key: '5b7c85699f51b843232ef7b355a33c3c5c96ed64', tabIndex: 0, class: { "has-value": this.selected.length !== 0, open: this.open, invalid: !!this.invalid }, onClick: (event) => this.handleShowOptions(event) }, h("div", { key: '391926d97a5026dce32bdfb07be5b9dabc38f56b', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), h("div", { key: '70720e567f0ba06f6ece6ae36b843f099e948a67', class: "icons", ref: element => (this.iconsDiv = element) }, h("slot", { key: '768e0485bdb18c93c72de159529e6e7121c7e619', name: "end" }), this.looks == "border" && !this.readonly && (h("smoothly-icon", { key: '03ecc5d50a13464e28185ac73279e9167a051768', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" })), h("smoothly-icon", { key: '3707e5940fd443a28609f83d8697daad4aae4d16', class: "invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small" })), h("slot", { key: '21fd05ee6339d7678394876cf3098f04be5cef51', name: "label" }), h("div", { key: 'e7c54a182d1f8764b27eae5473e580d0c0d06837', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (h("smoothly-item", { key: 'dd2f141af2770ed76cc395b9a280ecbee43d97ca', selectable: false }, h("smoothly-icon", { key: '852372b4c0e2a5d40bacabec4192bc45f0afbf5d', name: "search-outline", size: "small" }), this.filter, h("smoothly-icon", { key: 'dae65bfcb83add2b1c37fe1104f8e9c4b52c68c3', name: "backspace-outline", size: "small", onClick: e => {
|
|
285
285
|
e.stopPropagation();
|
|
286
286
|
this.filter = "";
|
|
287
287
|
this.element.focus();
|
|
288
|
-
} }), this.mutable && (h("smoothly-icon", { key: '
|
|
288
|
+
} }), this.mutable && (h("smoothly-icon", { key: '1ea0a67803af3b863f5c753e99450d8ee6c7b0a4', name: "add", size: "small", onClick: e => {
|
|
289
289
|
e.stopPropagation();
|
|
290
290
|
this.addItem();
|
|
291
|
-
} })))), h("slot", { key: '
|
|
291
|
+
} })))), h("slot", { key: '25ee7f5852ac9d21ccf6e803e5a1d8869d2d8b3d' }), this.addedItems)));
|
|
292
292
|
}
|
|
293
293
|
static get is() { return "smoothly-input-select"; }
|
|
294
294
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class SmoothlyInputSubmit {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
var _a, _b;
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'dcf2c85088947c0dc6f5e89492133563a3828d1d', title: this.toolTip }, this.delete == true ? (h("smoothly-button-confirm", { size: this.size, shape: this.shape, expand: this.expand, color: (_a = this.color) !== null && _a !== void 0 ? _a : "danger", fill: this.fill, onSmoothlyConfirm: () => this.clickHandler() }, h("slot", null), h("smoothly-icon", { name: "trash-outline", fill: "solid", size: "tiny" }))) : (h("smoothly-button", { disabled: this.disabled, size: this.size, type: "button", shape: this.shape, expand: this.expand, color: (_b = this.color) !== null && _b !== void 0 ? _b : "success", fill: this.fill, onClick: () => this.clickHandler() }, h("slot", null), this.icon && h("smoothly-icon", { name: this.icon, fill: "solid", size: "tiny" })))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "smoothly-input-submit"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -30,7 +30,7 @@ export class SmoothlyItem {
|
|
|
30
30
|
: false;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '4496214f6929152ee69c108766f5069c12ac341b', tabIndex: -1 }, h("slot", { key: 'be282f9e111d5a681f08cd27c8b98d063cd8df2a' })));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "smoothly-item"; }
|
|
36
36
|
static get encapsulation() { return "scoped"; }
|
|
@@ -7,9 +7,9 @@ export class SmoothlyLabel {
|
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
9
|
var _a;
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '43fe16ebaa7bbc29415b7e32ca1d8a524d573989', title: this.description, style: {
|
|
11
11
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
12
|
-
} }, h("slot", { key: '
|
|
12
|
+
} }, h("slot", { key: '3a12dd1b1780022a08bc21a542580a07d0d3ecd4' })));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-label"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class SmoothlyLazy {
|
|
|
9
9
|
this.show = true;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '2d06454e832d780979279d9125d049caf6bbbbc3' }, h("slot", { key: '5369abfe98a9c6b4152405908f3610aa451820a4', name: "before" }), h("smoothly-load-more", { key: '89f8af60faec0338c00047c5fa00166640590ddb', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? h(this.content, null) : this.content), h("slot", { key: 'defa87bd198b7265dca41759fb5a51508dcdfcfa' })));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-lazy"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class LoadMore {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return h(Host, { key: '
|
|
40
|
+
return h(Host, { key: '54a43e14bf0d37a774435917c1a93ad6458c33d2' });
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "smoothly-load-more"; }
|
|
43
43
|
static get encapsulation() { return "scoped"; }
|
|
@@ -9,7 +9,7 @@ export class SmoothlyModal {
|
|
|
9
9
|
this.smoothlyModalChange.emit(this.open);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'd9e159e312462b3d3e135005c9ca7a4b79185eb9', role: "alertdialog" }, h("div", { key: 'd534202354a2412331dbbf68f86ea8dc38a45002', class: "modal" }, h("div", { key: '50b7c7acefba7a6d5bd304f09fd38d6a4a3fccbe', class: "header" }, h("slot", { key: '418a8c84295c7541acad0a89b0dbdd7f39ed57b9', name: "header" }), this.closable && h("smoothly-icon", { key: 'fba5fbe0f58a56ec487da0aef4b71600cbe3e621', name: "close-outline", fill: "solid", onClick: () => (this.open = false) })), h("slot", { key: '1475235e478fe491f300ffbc5b2916f42d504aa1' }), h("div", { key: 'bcf6188af093fbfce98b03d258d28a886bb5ffba', class: "actions" }, h("slot", { key: 'c59c355e521ebdff33ea0e1d633c69b6d8f521aa', name: "actions" })))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "smoothly-modal"; }
|
|
15
15
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SmoothlyNextDemoColspan {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '488976738e54fe7baf9e74f42344fe7b1e98e3fb' }, h("smoothly-next-table", { key: '82a93a63188133f2d04ce24ef7b143f6fa2de4cd', columns: 3 }, h("smoothly-next-table-head", { key: '89bddc285955f8fc60f851d9b7684d844ad0aaca' }, h("smoothly-next-table-row", { key: 'b6bac346038a04cd1622456367180e7c7c35193f' }, h("smoothly-next-table-cell", { key: '44d8e9466d1c5176b74eafd80fdecce612f4f227' }, "Date"), h("smoothly-next-table-cell", { key: 'efb9740506adf2c568e3262ef740480acaf7a4c6' }, "Skip"), h("smoothly-next-table-cell", { key: 'b265b78176bce89426c64bef1359397f88d8e22b' }, "Total"))), h("smoothly-next-table-body", { key: 'df5616f10c1d5579dfa2d39406cacbc7980318fa' }, h("smoothly-next-table-row", { key: 'fc61d9e1bd606ab7067c1d02cd33f3464e372dbb' }, h("smoothly-next-table-cell", { key: '684dd628487396dab30035ff5c9496eb463f2dbc', span: 2 }, h("smoothly-display", { key: '0a2977c12d50e3969014be7653963ad77ac5edda', type: "date", value: "2024-01-01" })), h("smoothly-next-table-cell", { key: '9e58d24032d52652961a6a43d94b907eeb5f006b' }, h("smoothly-display", { key: '37c76375bccc7cd9cea03b8b1be97294eee42ab1', type: "price", value: 120, currency: "EUR" }))), h("smoothly-next-table-row", { key: '8c39aec297e4f7dd8ba768ce828f71a2ac7c0439' }, h("smoothly-next-table-expandable-cell", { key: 'c2911ffccca9d3f23fd158679a5a2892887dd50c', span: 2 }, h("smoothly-display", { key: 'f462fc5572f5b87bee43427a056878d27b895f0d', type: "date", value: "2024-01-02" }), h("smoothly-lazy", { key: 'b032bba062c484b9b1c9328605444f308a39ef85', slot: "detail", content: h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), h("smoothly-next-table-expandable-cell", { key: 'a25e49f7aaba75ecd1cd5223ac378cb9f8d44be7' }, h("smoothly-display", { key: '96fba2bc8dd413a449b68d2e10ab9c34eeb13148', type: "price", value: 220, currency: "EUR" }), h("smoothly-lazy", { key: '47ab93b1ad2ade9210be22892305329328763f57', slot: "detail", content: h("span", null, h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), h("smoothly-next-table-row", { key: '6e39d072882582b22a019473ae68a85fbac3b2e3' }, h("smoothly-next-table-cell", { key: '5984a3b8cd4dda298a40f2bec180a70f82421877' }, h("smoothly-display", { key: 'f1c278506c6aceb8ffec23191a5eb246cdef321b', type: "date", value: "2024-01-02" })), h("smoothly-next-table-cell", { key: '60e4e11a34fea1b24eefa7de4474e5364ec73df7' }, "Not Skipped"), h("smoothly-next-table-cell", { key: '1d02c9cfc12335a59ba489f48d71de08bed55459' }, h("smoothly-display", { key: '954a2b7822d289678ff75c2fea90e92f69426b05', type: "price", value: 320, currency: "EUR" })))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "smoothly-next-demo-colspan"; }
|
|
7
7
|
static get encapsulation() { return "scoped"; }
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
export class SmoothlyNextDemoFillerRowDemo {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.cats = [];
|
|
5
|
+
}
|
|
6
|
+
async componentDidLoad() {
|
|
7
|
+
window.setTimeout(() => {
|
|
8
|
+
this.cats = undefined;
|
|
9
|
+
}, 3000);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, { key: 'b7e5fddaa2acf3e9f92f00cf90dca4701485dc47' }, h("smoothly-display", { key: '3d0e8e789be4d9c2b00bf0b5e86d122e70d87eca', type: "text", value: "Filler row" }), h("smoothly-next-table", { key: '5fc7d8d7fa92fc4d759d0e2dbf603432e2a967e6', color: "primary", columns: 4 }, h("smoothly-next-table-head", { key: '9e5d6762630530c3885d7bbf974dfbadb5fff225' }, h("smoothly-next-table-row", { key: 'd77fc3f96385f037859b82d64015695fd0b4317b' }, h("smoothly-next-table-cell", { key: '3ec5afafef17365a3e7d707d638c0af1e30df0ef' }, "Breed"), h("smoothly-next-table-cell", { key: 'ed0c6df720f0b3abb969297f745024a8284b39e6' }, "Country"), h("smoothly-next-table-cell", { key: 'b4003ba900cf958290b0fc6bdb72d33380e92e81' }, "Coat"), h("smoothly-next-table-cell", { key: 'e3a4f14716109b4dc52293248f2bff3287b437dd' }, "Origin"))), h("smoothly-next-table-body", { key: 'dbeaea2b089b7e27f4052e154505d26f486ce3cf' }, this.cats === undefined ? (h("smoothly-next-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (h("smoothly-next-table-filler-row", null, h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (h("smoothly-next-table-row", null, h("smoothly-next-table-cell", null, a.breed), h("smoothly-next-table-cell", null, a.country), h("smoothly-next-table-cell", null, a.coat), h("smoothly-next-table-cell", null, a.origin)))))))));
|
|
13
|
+
}
|
|
14
|
+
static get is() { return "smoothly-next-demo-filler-row-demo"; }
|
|
15
|
+
static get encapsulation() { return "scoped"; }
|
|
16
|
+
static get originalStyleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["style.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
static get styleUrls() {
|
|
22
|
+
return {
|
|
23
|
+
"$": ["style.css"]
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
static get states() {
|
|
27
|
+
return {
|
|
28
|
+
"cats": {}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=filleRowDemo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filleRowDemo.js","sourceRoot":"","sources":["../../../../../src/components/next/demo/fillerRow/filleRowDemo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAS,MAAM,eAAe,CAAA;AAOhE,MAAM,OAAO,6BAA6B;;oBACjB,EAAE;;IAE1B,KAAK,CAAC,gBAAgB;QACrB,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;YACtB,IAAI,CAAC,IAAI,GAAG,SAAS,CAAA;QACtB,CAAC,EAAE,IAAI,CAAC,CAAA;IACT,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI;YACJ,yEAAkB,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,YAAY,GAAG;YACnD,4EAAqB,KAAK,EAAC,SAAS,EAAC,OAAO,EAAE,CAAC;gBAC9C;oBACC;wBACC,2FAA0D;wBAC1D,6FAA4D;wBAC5D,0FAAyD;wBACzD,4FAA2D,CAClC,CACA;gBAC3B,mFACE,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,CAC1B,+DAAmF,CACnF,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAC5B;oBACC,wBAAkB,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,GAAG,CAC5C,CACjC,CAAC,CAAC,CAAC,CACH,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAClB;oBACC,oCAA2B,CAAC,CAAC,KAAK,CAA4B;oBAC9D,oCAA2B,CAAC,CAAC,OAAO,CAA4B;oBAChE,oCAA2B,CAAC,CAAC,IAAI,CAA4B;oBAC7D,oCAA2B,CAAC,CAAC,MAAM,CAA4B,CACtC,CAC1B,CAAC,CACF,CACyB,CACN,CAChB,CACP,CAAA;IACF,CAAC;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, State, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-next-demo-filler-row-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyNextDemoFillerRowDemo {\n\t@State() cats?: Cat[] = []\n\n\tasync componentDidLoad(): Promise<void> {\n\t\twindow.setTimeout(() => {\n\t\t\tthis.cats = undefined\n\t\t}, 3000)\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-display type=\"text\" value=\"Filler row\" />\n\t\t\t\t<smoothly-next-table color=\"primary\" columns={4}>\n\t\t\t\t\t<smoothly-next-table-head>\n\t\t\t\t\t\t<smoothly-next-table-row>\n\t\t\t\t\t\t\t<smoothly-next-table-cell>Breed</smoothly-next-table-cell>\n\t\t\t\t\t\t\t<smoothly-next-table-cell>Country</smoothly-next-table-cell>\n\t\t\t\t\t\t\t<smoothly-next-table-cell>Coat</smoothly-next-table-cell>\n\t\t\t\t\t\t\t<smoothly-next-table-cell>Origin</smoothly-next-table-cell>\n\t\t\t\t\t\t</smoothly-next-table-row>\n\t\t\t\t\t</smoothly-next-table-head>\n\t\t\t\t\t<smoothly-next-table-body>\n\t\t\t\t\t\t{this.cats === undefined ? (\n\t\t\t\t\t\t\t<smoothly-next-table-filler-row>No data to display</smoothly-next-table-filler-row>\n\t\t\t\t\t\t) : this.cats.length === 0 ? (\n\t\t\t\t\t\t\t<smoothly-next-table-filler-row>\n\t\t\t\t\t\t\t\t<smoothly-spinner style={{ margin: \"auto\" }} color=\"default\" size=\"small\" />\n\t\t\t\t\t\t\t</smoothly-next-table-filler-row>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tthis.cats.map(a => (\n\t\t\t\t\t\t\t\t<smoothly-next-table-row>\n\t\t\t\t\t\t\t\t\t<smoothly-next-table-cell>{a.breed}</smoothly-next-table-cell>\n\t\t\t\t\t\t\t\t\t<smoothly-next-table-cell>{a.country}</smoothly-next-table-cell>\n\t\t\t\t\t\t\t\t\t<smoothly-next-table-cell>{a.coat}</smoothly-next-table-cell>\n\t\t\t\t\t\t\t\t\t<smoothly-next-table-cell>{a.origin}</smoothly-next-table-cell>\n\t\t\t\t\t\t\t\t</smoothly-next-table-row>\n\t\t\t\t\t\t\t))\n\t\t\t\t\t\t)}\n\t\t\t\t\t</smoothly-next-table-body>\n\t\t\t\t</smoothly-next-table>\n\t\t\t</Host>\n\t\t)\n\t}\n}\nexport interface Cat {\n\tbreed: string\n\tcountry: string\n\torigin: string\n\tcoat: string\n\tpattern: string\n}\n"]}
|