smoothly 1.2.1-alpha.29 → 1.2.1-alpha.30
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 +146 -148
- package/dist/cjs/smoothly-app_107.cjs.entry.js.map +1 -1
- 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/components/dialog/demo/index.js +3 -1
- package/dist/collection/components/dialog/demo/index.js.map +1 -1
- package/dist/collection/components/display/demo/index.js +10 -10
- package/dist/collection/components/display/demo/json/index.js +1 -1
- package/dist/collection/components/display/index.js +3 -3
- 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/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/form/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 -27
- package/dist/collection/components/modal/index.js.map +1 -1
- package/dist/collection/components/modal/style.css +9 -1
- package/dist/collection/components/next/demo/colspan/index.js +1 -1
- 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/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/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-70484fce.js → p-0168449e.js} +2 -2
- package/dist/components/{p-70484fce.js.map → p-0168449e.js.map} +1 -1
- package/dist/components/{p-b057da45.js → p-0cfd31a4.js} +3 -3
- package/dist/components/{p-b057da45.js.map → p-0cfd31a4.js.map} +1 -1
- package/dist/components/{p-987086d3.js → p-0deda363.js} +3 -3
- package/dist/components/{p-987086d3.js.map → p-0deda363.js.map} +1 -1
- package/dist/components/{p-1737d90c.js → p-16401ed7.js} +28 -28
- package/dist/components/{p-1737d90c.js.map → p-16401ed7.js.map} +1 -1
- package/dist/components/p-17242304.js +175 -0
- package/dist/components/{p-e9ab5fdd.js.map → p-17242304.js.map} +1 -1
- package/dist/components/{p-65942317.js → p-17e815cf.js} +15 -15
- package/dist/components/{p-65942317.js.map → p-17e815cf.js.map} +1 -1
- package/dist/components/{p-6d0ec3eb.js → p-1fa3c93e.js} +9 -9
- package/dist/components/{p-6d0ec3eb.js.map → p-1fa3c93e.js.map} +1 -1
- package/dist/components/{p-1826dd84.js → p-2020cb82.js} +2 -2
- package/dist/components/{p-1826dd84.js.map → p-2020cb82.js.map} +1 -1
- package/dist/components/{p-2ce42c17.js → p-26d0f04b.js} +5 -5
- package/dist/components/{p-2ce42c17.js.map → p-26d0f04b.js.map} +1 -1
- package/dist/components/{p-c54db575.js → p-277a888c.js} +11 -11
- package/dist/components/{p-c54db575.js.map → p-277a888c.js.map} +1 -1
- package/dist/components/{p-2a749ba0.js → p-2fda299e.js} +4 -4
- package/dist/components/{p-2a749ba0.js.map → p-2fda299e.js.map} +1 -1
- package/dist/components/{p-d2dc3a17.js → p-300a9bbc.js} +3 -3
- package/dist/components/{p-d2dc3a17.js.map → p-300a9bbc.js.map} +1 -1
- package/dist/components/{p-fd8d2d90.js → p-330e3342.js} +3 -3
- package/dist/components/{p-fd8d2d90.js.map → p-330e3342.js.map} +1 -1
- package/dist/components/{p-cabdfcbc.js → p-332c1c38.js} +35 -35
- package/dist/components/{p-cabdfcbc.js.map → p-332c1c38.js.map} +1 -1
- package/dist/components/{p-0c9b11f0.js → p-362e1809.js} +2 -2
- package/dist/components/{p-0c9b11f0.js.map → p-362e1809.js.map} +1 -1
- package/dist/components/p-37d74e11.js +76 -0
- package/dist/components/p-37d74e11.js.map +1 -0
- package/dist/components/{p-7110e883.js → p-3868d634.js} +15 -15
- package/dist/components/{p-7110e883.js.map → p-3868d634.js.map} +1 -1
- package/dist/components/{p-05ea77df.js → p-3aae240d.js} +12 -12
- package/dist/components/{p-05ea77df.js.map → p-3aae240d.js.map} +1 -1
- package/dist/components/{p-2de04eca.js → p-3d45e113.js} +6 -6
- package/dist/components/{p-2de04eca.js.map → p-3d45e113.js.map} +1 -1
- package/dist/components/{p-f1b399da.js → p-42c6e01c.js} +7 -7
- package/dist/components/{p-f1b399da.js.map → p-42c6e01c.js.map} +1 -1
- package/dist/components/{p-21fc260a.js → p-441249ea.js} +6 -6
- package/dist/components/{p-21fc260a.js.map → p-441249ea.js.map} +1 -1
- package/dist/components/{p-5b7419a9.js → p-478e2d25.js} +2 -2
- package/dist/components/{p-5b7419a9.js.map → p-478e2d25.js.map} +1 -1
- package/dist/components/{p-86edb45f.js → p-4975c8af.js} +7 -7
- package/dist/components/{p-86edb45f.js.map → p-4975c8af.js.map} +1 -1
- package/dist/components/{p-2ccfa291.js → p-4bd5519b.js} +14 -14
- package/dist/components/{p-2ccfa291.js.map → p-4bd5519b.js.map} +1 -1
- package/dist/components/{p-b75fdb87.js → p-4c690de1.js} +3 -3
- package/dist/components/{p-b75fdb87.js.map → p-4c690de1.js.map} +1 -1
- package/dist/components/{p-50a7a4c4.js → p-4d3cdc01.js} +8 -8
- package/dist/components/{p-50a7a4c4.js.map → p-4d3cdc01.js.map} +1 -1
- package/dist/components/{p-c1717617.js → p-4ee37617.js} +2 -2
- package/dist/components/{p-c1717617.js.map → p-4ee37617.js.map} +1 -1
- package/dist/components/{p-6772d980.js → p-50c7497b.js} +4 -4
- package/dist/components/{p-6772d980.js.map → p-50c7497b.js.map} +1 -1
- package/dist/components/{p-231b3b8c.js → p-518dd348.js} +15 -15
- package/dist/components/{p-231b3b8c.js.map → p-518dd348.js.map} +1 -1
- package/dist/components/{p-3749e7c2.js → p-541e1b43.js} +2 -2
- package/dist/components/{p-3749e7c2.js.map → p-541e1b43.js.map} +1 -1
- package/dist/components/{p-33235247.js → p-5bbf4b7e.js} +2 -2
- package/dist/components/{p-33235247.js.map → p-5bbf4b7e.js.map} +1 -1
- package/dist/components/{p-ba7887fe.js → p-6000a56c.js} +15 -15
- package/dist/components/{p-ba7887fe.js.map → p-6000a56c.js.map} +1 -1
- package/dist/components/{p-41fa6e56.js → p-638bcbc3.js} +8 -8
- package/dist/components/{p-41fa6e56.js.map → p-638bcbc3.js.map} +1 -1
- package/dist/components/{p-d043ad09.js → p-64f82fd0.js} +4 -4
- package/dist/components/{p-d043ad09.js.map → p-64f82fd0.js.map} +1 -1
- package/dist/components/{p-35e573d5.js → p-6a770e19.js} +5 -5
- package/dist/components/{p-35e573d5.js.map → p-6a770e19.js.map} +1 -1
- package/dist/components/p-6bce4d32.js +123 -0
- package/dist/components/{p-207243d3.js.map → p-6bce4d32.js.map} +1 -1
- package/dist/components/{p-fe1bc9d5.js → p-6ead1a42.js} +5 -5
- package/dist/components/{p-fe1bc9d5.js.map → p-6ead1a42.js.map} +1 -1
- package/dist/components/{p-79051487.js → p-71401005.js} +30 -30
- package/dist/components/{p-79051487.js.map → p-71401005.js.map} +1 -1
- package/dist/components/{p-466281a7.js → p-747119af.js} +25 -25
- package/dist/components/{p-466281a7.js.map → p-747119af.js.map} +1 -1
- package/dist/components/{p-4db45807.js → p-79451548.js} +5 -5
- package/dist/components/{p-4db45807.js.map → p-79451548.js.map} +1 -1
- package/dist/components/{p-2b2ea90d.js → p-7a65bf33.js} +11 -11
- package/dist/components/{p-2b2ea90d.js.map → p-7a65bf33.js.map} +1 -1
- package/dist/components/{p-5666c538.js → p-7c5243b2.js} +5 -5
- package/dist/components/{p-5666c538.js.map → p-7c5243b2.js.map} +1 -1
- package/dist/components/{p-a7a27c09.js → p-86d3b8ad.js} +2 -2
- package/dist/components/{p-a7a27c09.js.map → p-86d3b8ad.js.map} +1 -1
- package/dist/components/{p-1239cd5d.js → p-872161d7.js} +6 -6
- package/dist/components/{p-1239cd5d.js.map → p-872161d7.js.map} +1 -1
- package/dist/components/{p-b0030875.js → p-894b3a75.js} +6 -6
- package/dist/components/{p-b0030875.js.map → p-894b3a75.js.map} +1 -1
- package/dist/components/{p-187dc653.js → p-8b02e207.js} +13 -13
- package/dist/components/{p-187dc653.js.map → p-8b02e207.js.map} +1 -1
- package/dist/components/{p-3fc2b239.js → p-8f3652f7.js} +7 -7
- package/dist/components/{p-3fc2b239.js.map → p-8f3652f7.js.map} +1 -1
- package/dist/components/{p-aa1e651e.js → p-9064ac46.js} +2 -2
- package/dist/components/{p-aa1e651e.js.map → p-9064ac46.js.map} +1 -1
- package/dist/components/{p-08f59638.js → p-91b783bd.js} +2 -2
- package/dist/components/{p-08f59638.js.map → p-91b783bd.js.map} +1 -1
- package/dist/components/{p-50a07c7f.js → p-93ca192e.js} +7 -7
- package/dist/components/{p-50a07c7f.js.map → p-93ca192e.js.map} +1 -1
- package/dist/components/{p-7e293ae9.js → p-95d3df21.js} +15 -15
- package/dist/components/{p-7e293ae9.js.map → p-95d3df21.js.map} +1 -1
- package/dist/components/{p-d055e0ef.js → p-95db379b.js} +4 -4
- package/dist/components/{p-d055e0ef.js.map → p-95db379b.js.map} +1 -1
- package/dist/components/{p-0a1c9451.js → p-962130fb.js} +3 -3
- package/dist/components/{p-0a1c9451.js.map → p-962130fb.js.map} +1 -1
- package/dist/components/p-963cad49.js +207 -0
- package/dist/components/{p-0f488b1b.js.map → p-963cad49.js.map} +1 -1
- package/dist/components/{p-0648924a.js → p-9658ae2c.js} +2 -2
- package/dist/components/{p-0648924a.js.map → p-9658ae2c.js.map} +1 -1
- package/dist/components/{p-509d8ffd.js → p-9702b067.js} +4 -4
- package/dist/components/{p-509d8ffd.js.map → p-9702b067.js.map} +1 -1
- package/dist/components/{p-d00a9409.js → p-9bf13adb.js} +2 -2
- package/dist/components/{p-d00a9409.js.map → p-9bf13adb.js.map} +1 -1
- package/dist/components/{p-7b38c226.js → p-9ce294a0.js} +14 -14
- package/dist/components/{p-7b38c226.js.map → p-9ce294a0.js.map} +1 -1
- package/dist/components/{p-98b3c126.js → p-9cf4d9b8.js} +3 -3
- package/dist/components/{p-98b3c126.js.map → p-9cf4d9b8.js.map} +1 -1
- package/dist/components/{p-101f8825.js → p-9eb86923.js} +3 -3
- package/dist/components/{p-101f8825.js.map → p-9eb86923.js.map} +1 -1
- package/dist/components/{p-cc1d5ee4.js → p-a2b0a4e1.js} +13 -13
- package/dist/components/{p-cc1d5ee4.js.map → p-a2b0a4e1.js.map} +1 -1
- package/dist/components/{p-fdbc2084.js → p-a3165105.js} +4 -4
- package/dist/components/{p-fdbc2084.js.map → p-a3165105.js.map} +1 -1
- package/dist/components/{p-583273d5.js → p-a3433716.js} +4 -4
- package/dist/components/{p-583273d5.js.map → p-a3433716.js.map} +1 -1
- package/dist/components/{p-63b1401f.js → p-a4f88595.js} +42 -42
- package/dist/components/{p-63b1401f.js.map → p-a4f88595.js.map} +1 -1
- package/dist/components/{p-6f6b1e0e.js → p-a6c3baf1.js} +2 -2
- package/dist/components/{p-6f6b1e0e.js.map → p-a6c3baf1.js.map} +1 -1
- package/dist/components/{p-d63370e6.js → p-abf5a90b.js} +13 -13
- package/dist/components/{p-d63370e6.js.map → p-abf5a90b.js.map} +1 -1
- package/dist/components/{p-a6256f42.js → p-ac804e4b.js} +13 -13
- package/dist/components/{p-a6256f42.js.map → p-ac804e4b.js.map} +1 -1
- package/dist/components/{p-bb134c1b.js → p-b152b0fb.js} +28 -28
- package/dist/components/{p-bb134c1b.js.map → p-b152b0fb.js.map} +1 -1
- package/dist/components/{p-349fa13f.js → p-b4bb3e74.js} +2 -2
- package/dist/components/{p-349fa13f.js.map → p-b4bb3e74.js.map} +1 -1
- package/dist/components/p-b50a2121.js +176 -0
- package/dist/components/{p-6badd4ca.js.map → p-b50a2121.js.map} +1 -1
- package/dist/components/{p-1ccb9b5d.js → p-b5bca419.js} +2 -2
- package/dist/components/{p-1ccb9b5d.js.map → p-b5bca419.js.map} +1 -1
- package/dist/components/{p-c05a03ab.js → p-bdfcae2a.js} +3 -3
- package/dist/components/{p-c05a03ab.js.map → p-bdfcae2a.js.map} +1 -1
- package/dist/components/{p-65c1798c.js → p-bfb7b697.js} +13 -13
- package/dist/components/{p-65c1798c.js.map → p-bfb7b697.js.map} +1 -1
- package/dist/components/{p-50e5742e.js → p-c8a6dcbc.js} +4 -4
- package/dist/components/{p-50e5742e.js.map → p-c8a6dcbc.js.map} +1 -1
- package/dist/components/p-c99a7044.js +53 -0
- package/dist/components/p-c99a7044.js.map +1 -0
- package/dist/components/{p-4ba510af.js → p-cbd573e1.js} +2 -2
- package/dist/components/{p-4ba510af.js.map → p-cbd573e1.js.map} +1 -1
- package/dist/components/{p-c79e408e.js → p-cc15c25a.js} +2 -2
- package/dist/components/{p-c79e408e.js.map → p-cc15c25a.js.map} +1 -1
- package/dist/components/{p-294da32c.js → p-ce772794.js} +2 -2
- package/dist/components/{p-294da32c.js.map → p-ce772794.js.map} +1 -1
- package/dist/components/{p-90c8123a.js → p-ceaca6de.js} +4 -4
- package/dist/components/{p-90c8123a.js.map → p-ceaca6de.js.map} +1 -1
- package/dist/components/{p-a39377d0.js → p-d076faed.js} +10 -10
- package/dist/components/{p-a39377d0.js.map → p-d076faed.js.map} +1 -1
- package/dist/components/{p-a546701b.js → p-d09d31f6.js} +2 -2
- package/dist/components/{p-a546701b.js.map → p-d09d31f6.js.map} +1 -1
- package/dist/components/{p-ad7c5bef.js → p-d2103448.js} +3 -3
- package/dist/components/{p-ad7c5bef.js.map → p-d2103448.js.map} +1 -1
- package/dist/components/{p-ad2ecf18.js → p-d2d048b2.js} +2 -2
- package/dist/components/{p-ad2ecf18.js.map → p-d2d048b2.js.map} +1 -1
- package/dist/components/{p-dab5504d.js → p-d35746af.js} +2 -2
- package/dist/components/{p-dab5504d.js.map → p-d35746af.js.map} +1 -1
- package/dist/components/{p-0010cb73.js → p-d41d7830.js} +2 -2
- package/dist/components/{p-0010cb73.js.map → p-d41d7830.js.map} +1 -1
- package/dist/components/p-d6cef59f.js +241 -0
- package/dist/components/{p-c272e96f.js.map → p-d6cef59f.js.map} +1 -1
- package/dist/components/{p-3e8f97a8.js → p-d92ee30a.js} +3 -3
- package/dist/components/{p-3e8f97a8.js.map → p-d92ee30a.js.map} +1 -1
- package/dist/components/{p-8de94499.js → p-db853fcf.js} +2 -2
- package/dist/components/{p-8de94499.js.map → p-db853fcf.js.map} +1 -1
- package/dist/components/{p-9da36f65.js → p-e07ca0d2.js} +2 -2
- package/dist/components/{p-9da36f65.js.map → p-e07ca0d2.js.map} +1 -1
- package/dist/components/p-e1bdb1d6.js +45 -0
- package/dist/components/{p-c8f584ea.js.map → p-e1bdb1d6.js.map} +1 -1
- package/dist/components/{p-fa34f451.js → p-e5bd19b5.js} +2 -2
- package/dist/components/{p-fa34f451.js.map → p-e5bd19b5.js.map} +1 -1
- package/dist/components/{p-c378fc7f.js → p-e739f42f.js} +4 -4
- package/dist/components/{p-c378fc7f.js.map → p-e739f42f.js.map} +1 -1
- package/dist/components/{p-421a7d61.js → p-ecbc92d2.js} +7 -7
- package/dist/components/{p-421a7d61.js.map → p-ecbc92d2.js.map} +1 -1
- package/dist/components/{p-ba0081ae.js → p-ee00a65d.js} +2 -2
- package/dist/components/{p-ba0081ae.js.map → p-ee00a65d.js.map} +1 -1
- package/dist/components/{p-4057e215.js → p-eeef2c8b.js} +9 -9
- package/dist/components/{p-4057e215.js.map → p-eeef2c8b.js.map} +1 -1
- package/dist/components/{p-d308d795.js → p-f42d01dc.js} +19 -19
- package/dist/components/{p-d308d795.js.map → p-f42d01dc.js.map} +1 -1
- package/dist/components/{p-ab4b7e20.js → p-f5e15f8c.js} +3 -3
- package/dist/components/{p-ab4b7e20.js.map → p-f5e15f8c.js.map} +1 -1
- package/dist/components/{p-65d9d075.js → p-f8e8e77c.js} +2 -2
- package/dist/components/{p-65d9d075.js.map → p-f8e8e77c.js.map} +1 -1
- package/dist/components/{p-407dfa12.js → p-f949a509.js} +3 -3
- package/dist/components/{p-407dfa12.js.map → p-f949a509.js.map} +1 -1
- package/dist/components/{p-98279044.js → p-f9770ff7.js} +8 -8
- package/dist/components/{p-98279044.js.map → p-f9770ff7.js.map} +1 -1
- package/dist/components/{p-144f8ff9.js → p-facb25d3.js} +14 -14
- package/dist/components/{p-144f8ff9.js.map → p-facb25d3.js.map} +1 -1
- package/dist/components/{p-a21301a8.js → p-fc0a36d9.js} +4 -4
- package/dist/components/{p-a21301a8.js.map → p-fc0a36d9.js.map} +1 -1
- package/dist/components/{p-134607f6.js → p-fcc5ab02.js} +2 -2
- package/dist/components/{p-134607f6.js.map → p-fcc5ab02.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +103 -103
- 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-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-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 +28 -28
- 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-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-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 +146 -148
- package/dist/esm/smoothly-app_107.entry.js.map +1 -1
- 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-08d8d270.entry.js +2 -0
- package/dist/smoothly/p-08d8d270.entry.js.map +1 -0
- package/dist/smoothly/p-0f87a1f6.entry.js +2 -0
- package/dist/smoothly/p-44d11e9d.entry.js +2 -0
- package/dist/smoothly/{p-6e78260b.entry.js → p-fcba77c0.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/dialog/demo/index.d.ts +1 -0
- package/dist/types/components/modal/index.d.ts +0 -2
- package/dist/types/components.d.ts +0 -2
- package/package.json +1 -1
- package/dist/components/p-0f488b1b.js +0 -207
- package/dist/components/p-207243d3.js +0 -123
- package/dist/components/p-594ea425.js +0 -57
- package/dist/components/p-594ea425.js.map +0 -1
- package/dist/components/p-6badd4ca.js +0 -176
- package/dist/components/p-ab4e2a87.js +0 -74
- package/dist/components/p-ab4e2a87.js.map +0 -1
- package/dist/components/p-c272e96f.js +0 -241
- package/dist/components/p-c8f584ea.js +0 -45
- package/dist/components/p-e9ab5fdd.js +0 -175
- package/dist/smoothly/p-242f6bf8.entry.js +0 -2
- package/dist/smoothly/p-81d67b83.entry.js +0 -2
- package/dist/smoothly/p-81d67b83.entry.js.map +0 -1
- package/dist/smoothly/p-ac6fb4e4.entry.js +0 -2
- /package/dist/smoothly/{p-ac6fb4e4.entry.js.map → p-0f87a1f6.entry.js.map} +0 -0
- /package/dist/smoothly/{p-242f6bf8.entry.js.map → p-44d11e9d.entry.js.map} +0 -0
- /package/dist/smoothly/{p-6e78260b.entry.js.map → p-fcba77c0.entry.js.map} +0 -0
|
@@ -1944,10 +1944,11 @@ const SmoothlyDialogDemo = class {
|
|
|
1944
1944
|
constructor(hostRef) {
|
|
1945
1945
|
index.registerInstance(this, hostRef);
|
|
1946
1946
|
this.openModal = false;
|
|
1947
|
+
this.openTallModal = false;
|
|
1947
1948
|
this.showFrame = false;
|
|
1948
1949
|
}
|
|
1949
1950
|
render() {
|
|
1950
|
-
return (index.h(index.Host, { key: '
|
|
1951
|
+
return (index.h(index.Host, { key: '6f23592546df981ab328a997d491fc38dd018cd9' }, index.h("smoothly-button", { key: '10c77679cf0d56bc2a6f72a811af6a8565c8a089', fill: "solid", color: "light", onClick: () => (this.openModal = true) }, "Open Modal"), index.h("smoothly-button", { key: '3ac4824da8c88e874ef3ce1fd074c14eb03b564c', fill: "solid", color: "light", onClick: () => (this.openTallModal = true) }, "Open Modal with long text"), index.h("smoothly-button", { key: '129d197f52ccfacf87c4af5fa0ce3a3ec200ba4e', fill: "solid", color: "light", onClick: () => (this.showFrame = !this.showFrame) }, "Show Frame"), index.h("smoothly-modal", { key: '951f8764d9b57d24399ac51550c886fdcdce98a6', closable: true, open: this.openModal, onSmoothlyModalChange: e => (this.openModal = e.detail) }, index.h("h2", { key: '074bfe974be4887ec60e5ce0d12c2b4a27cf1891', slot: "header" }, "Modal"), index.h("span", { key: '48e53abb102dc62d4b4d65d804cf9b3cf9bcfead' }, "Are you sure you want to confirm this action?"), index.h("smoothly-button", { key: '81cc4d058f49ab4525046ec2ef589876bc269555', slot: "actions", color: "success" }, "Confirm"), index.h("smoothly-button", { key: 'e611c3c8a644d96d6db2444f4229aae82b6f2795', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openModal = false) }, "Cancel")), index.h("smoothly-modal", { key: 'b8d779280ad362372b67c2fa03d29c2c301bb36e', closable: true, open: this.openTallModal, onSmoothlyModalChange: e => (this.openTallModal = e.detail) }, index.h("h2", { key: '9f9ed5125ec6df8b09afef98c8e6aea9689c0512', slot: "header" }, "Modal"), index.h("div", { key: 'ae95b36b3a1d30d8877dc070060d0099e08a576e' }, Array.from({ length: 10 }).map(() => (index.h("p", null, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.")))), index.h("smoothly-button", { key: 'c6de6bc0b9aff9c63a95d4ac210ae9314537936d', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openTallModal = false) }, "Cancel")), this.showFrame && (index.h("smoothly-dialog", { key: 'b4b59028c956dc34e857556bf0c3f909dca4dd77', closable: true }, index.h("smoothly-frame", { key: '0e7f75e998a37d4c0d02041c694f1b05563230d8', url: "https://www.wikipedia.org/", name: "parent", style: { height: "80vh" } })))));
|
|
1951
1952
|
}
|
|
1952
1953
|
};
|
|
1953
1954
|
SmoothlyDialogDemo.style = SmoothlyDialogDemoStyle0;
|
|
@@ -3788,16 +3789,16 @@ const SmoothlyDisplay = class {
|
|
|
3788
3789
|
const type = this.type;
|
|
3789
3790
|
switch (type) {
|
|
3790
3791
|
case "json":
|
|
3791
|
-
result = index.h("smoothly-display-json", { key: '
|
|
3792
|
+
result = index.h("smoothly-display-json", { key: '6b31a96e16b4b4f5a881fe9de434326d7262d302', value: this.value, collapseDepth: this.collapseDepth });
|
|
3792
3793
|
break;
|
|
3793
3794
|
default:
|
|
3794
3795
|
result = format(this.value, type);
|
|
3795
3796
|
break;
|
|
3796
3797
|
case "email":
|
|
3797
|
-
result = index.h("a", { key: '
|
|
3798
|
+
result = index.h("a", { key: '8cdbbe4ee158e11761a3dabeffa6fd7165004639', href: "mailto:" + this.value }, format(this.value, type));
|
|
3798
3799
|
break;
|
|
3799
3800
|
case "phone":
|
|
3800
|
-
result = index.h("a", { key: '
|
|
3801
|
+
result = index.h("a", { key: '17745ad8ad63df1451e314608b210dd31b35c8e7', href: "tel:" + this.value }, format(this.value, type, this.country));
|
|
3801
3802
|
break;
|
|
3802
3803
|
case "postal-code":
|
|
3803
3804
|
result = format(this.value, type, this.country);
|
|
@@ -3834,35 +3835,35 @@ const SmoothlyDisplayDemo = class {
|
|
|
3834
3835
|
}
|
|
3835
3836
|
render() {
|
|
3836
3837
|
return [
|
|
3837
|
-
index.h("main", { key: '
|
|
3838
|
+
index.h("main", { key: 'fd051f67ea55f254181be2b43716e84e00cabb05' }, index.h("fieldset", { key: 'bea8026fe521ec050e1780416fa9e32989b2afa4' }, index.h("h2", { key: 'ef4c1a656d67796afc8f9c5c9db63c04f96aab4c' }, "Smoothly display"), index.h("dl", { key: '8deda943fa8ead28b6df1b007907f6d9dbf66d85' }, index.h("dt", { key: 'caf0ad2fe220cdb62d47140efd9684998246e2c3' }, "Duration"), index.h("dd", { key: 'f1c4659bf36f0a327fabba9314042dace342c13b' }, index.h("div", { key: '30872a9bd82d2814a82cf53ec42f3a7b3fe13b3a' }, index.h("div", { key: '5f733cc2b6a745712e246479c59b8aa3daf11312' }, index.h("smoothly-display", { key: '1998b9c2061fa468aa9fffe4d733a8a683baae05', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), index.h("div", { key: '159344fc77844facc8960a4f71a99813623a7763' }, index.h("smoothly-display", { key: 'd0f14a4f05e1b9353b9a0b389c17e3fbd7537b1b', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), index.h("div", { key: 'cc65ac80578b939be2d3802fd3a5ded8fbf5b384' }, index.h("smoothly-display", { key: '489a7d80e18f1bb9d26eb8e807467f0cd8e0e1dc', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), index.h("div", { key: 'a7d5607906b992f698a00d293872dd5cfc65ad42' }, index.h("smoothly-display", { key: 'b868bb9a2ce5b8b0bab62e4ab90f5ed8172b2dc1', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), index.h("div", { key: 'bf53f2aae5ab5cdb6f7d98aba73a9e382fb98bd6' }, index.h("smoothly-display", { key: 'd27e664c4d0007dccfae976a13b3c3e202d7052b', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), index.h("div", { key: '7e7ab059fe4ce79836b9b3c63a212e5ab9e4b36c' }, index.h("smoothly-display", { key: '388670fcb5c8371244c4112d0cf5f0050b59b134', style: { display: "inline" }, type: "duration", value: {} }), " h"), index.h("div", { key: 'e34c143b748072810cec75427ee497bfa25f92d7' }, index.h("smoothly-display", { key: 'bc74a20668e2b2b8e5561ebcd79fcff63c7886d7', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), index.h("dt", { key: '04d7d7e6d8695b50afd0c80d7b8123d22a96a0a0' }, "text"), index.h("dd", { key: '0a51fa2990fa85c8154e2a14ad374252104d8658' }, index.h("smoothly-display", { key: '75b7cf9296c52cda27db01cc201b4417e2f19288', type: "text", value: "text" })), index.h("dt", { key: '3c9fa1e7b2eda3a838d779885ad48073a1e7ca78' }, "postal code"), index.h("dd", { key: 'adcfacf0c296667c4a98919fc64ff1b6823f253c' }, index.h("smoothly-display", { key: 'f35d166fc0ae74f26d9dab3ce217edf1e8df348e', type: "postal-code", value: "752 31" })), index.h("dt", { key: '5dd7df04105283e70182a8c24d69c7abc1632a0e' }, "password"), index.h("dd", { key: 'd785701c8d5e6ce9dddfe618b91f113b1cc47694' }, index.h("smoothly-display", { key: 'd9a04bc3d9c62eebf4b8fa192ee43544e25f48ec', type: "password", value: "password" })), index.h("dt", { key: '72a245580c0d67958d821918a64634089badf6e0' }, "email"), index.h("dd", { key: '4e2129c4690821e35017a025378a52a82d9c6e12' }, index.h("smoothly-display", { key: '6f60bb0a22b496b52f76d72c25f9c4959c275174', type: "email", value: "test@example.com" })), index.h("dt", { key: 'b47e6d91ac2ad5839eff3f2ed72793406c447381' }, "price"), index.h("dd", { key: '5ed6dc4d1894989f8c59e85a9d6b3474b1838d46' }, index.h("smoothly-display", { key: '88d50f738cc333ee0284011ded0e5bc2eb90eb01', type: "price", value: "13.37", currency: "SEK" })), index.h("dt", { key: '52b377e012d006448361e4190e85238eab82f425' }, "price without decimals"), index.h("dd", { key: '2d070cde97c125943423c28dd37a1bec7f1bf521' }, index.h("smoothly-display", { key: 'a63703e7aa73188db4b78d2378f2e30d491b35d7', type: "price", value: 200, currency: "SEK", toInteger: true })), index.h("dt", { key: '10348b35a582998ee6107a2b5c55a589e0d8c66d' }, "price with decimals if they are set, otherwise no decimal"), index.h("dd", { key: 'da178ce35a352086c815f4cfac4096e34abbaef7' }, index.h("smoothly-display", { key: '08b7c0ba00f0b9b57d1ea8cc4b537bf6b632c2b0', type: "price", value: 200.2, currency: "SEK", toInteger: true })), index.h("dt", { key: 'd7db59b325e85da3458ac99916b9bcf67ea567ff' }, "price with decimals"), index.h("dd", { key: '526c59b42c339389a0839a0ee96299d184850d2c' }, index.h("smoothly-display", { key: '2d7ebb7450b5eb08ee6ff7ada84034db4cfb06ab', type: "price", value: 200.2, currency: "SEK" })), index.h("dt", { key: '0417d708b6db96a1a3d08ccb552dc3704383f498' }, "percent"), index.h("dd", { key: '8c35ad31827aeddb6b205a7009e9987d317a813c' }, index.h("smoothly-display", { key: 'ebd4dd2565a20e48d31724b44d11b5cb44ae5277', type: "percent", value: "42" })), index.h("dt", { key: '65a23b48dbed3e8e7b50725148acd17891e19ddd' }, "phone"), index.h("dd", { key: '515ed149215811c8434f340256f8b4d331763db9' }, index.h("smoothly-display", { key: '6b7422b4b8387e74ef38aba7e8567f11b263cf9a', type: "phone", value: "0101881108" })), index.h("dt", { key: 'c1fe3e553de1313a579833275f43246d0673f812' }, "card number"), index.h("dd", { key: '6078440f5880b8442e388517f42660362841db2a' }, index.h("smoothly-display", { key: '6eb5a018d0d6f7f8458955369481294408d4fdf4', type: "card-number", value: "4111111111111111" })), index.h("dt", { key: '4ac0a352835d49083a89465d7fea27f951d2c4ac' }, "card expires"), index.h("dd", { key: 'db0cbb3b0795b19ffbf184da0dd2625eb8fb8918' }, index.h("smoothly-display", { key: 'd9ee4dc173460f0952d77053d12c68fce7feddc6', type: "card-expires", value: "7/22" })), index.h("dt", { key: '515cacce3dca652dfba9bf5528211576231495e5' }, "card csc"), index.h("dd", { key: '9f6c2d8490963f09828993d42ee16b9ffc5e0d0f' }, index.h("smoothly-display", { key: '1afda51b0213c77cf3b353bade47671790475112', type: "card-csc", value: "987" })), index.h("dt", { key: 'e7204fbb88672bf46f9551d7cf50e750cc8bbb38' }, "date"), index.h("dd", { key: '34fcebf482a696d179efbccc0708b8e71e8726d1' }, index.h("smoothly-display", { key: 'a55391a66ccc1cf033a2519fdf3b75c2510cb11f', type: "date", value: "2022-07-07" })), index.h("dt", { key: '4a818e58e65af6b0b27d090fb53909f4030a0442' }, "date time"), index.h("dd", { key: '18874fbe62d3f0d4758fbcb3ea56c28698285c23' }, index.h("smoothly-display", { key: '137a6be8368b02ec204b5baa82bf455f69a2fded', type: "date-time", format: {
|
|
3838
3839
|
year: "numeric",
|
|
3839
3840
|
month: "short",
|
|
3840
3841
|
day: "numeric",
|
|
3841
3842
|
hour: "numeric",
|
|
3842
3843
|
minute: "numeric",
|
|
3843
3844
|
second: "numeric",
|
|
3844
|
-
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '
|
|
3845
|
+
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '81829d196bd5886e41d896369a9c20a0e9ac6475' }, index.h("smoothly-display", { key: '69d3bce166d11def43480659575c51c171c22a45', type: "date-time", format: {
|
|
3845
3846
|
year: "2-digit",
|
|
3846
3847
|
month: "long",
|
|
3847
3848
|
day: "2-digit",
|
|
3848
3849
|
hour: "2-digit",
|
|
3849
3850
|
minute: "2-digit",
|
|
3850
3851
|
second: "2-digit",
|
|
3851
|
-
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '
|
|
3852
|
+
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '9f8913ccf6eb9aa0320ccc96c5f63d1368e03cb5' }, index.h("smoothly-display", { key: '440dec80b84e484440f55e568d018a46ebdcc199', type: "date-time", format: {
|
|
3852
3853
|
year: "numeric",
|
|
3853
3854
|
month: "2-digit",
|
|
3854
3855
|
day: "2-digit",
|
|
3855
3856
|
hour: "numeric",
|
|
3856
3857
|
minute: "numeric",
|
|
3857
3858
|
second: "numeric",
|
|
3858
|
-
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: '
|
|
3859
|
+
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: 'ca5f7e206cf42b4bee3e885c8dd6fb5ce1fb414e' }, index.h("smoothly-display", { key: 'c2258980a847c8d2ac8c77a47e7a5772bce08ec8', type: "date-time", format: {
|
|
3859
3860
|
year: "numeric",
|
|
3860
3861
|
month: "numeric",
|
|
3861
3862
|
day: "numeric",
|
|
3862
3863
|
hour: "numeric",
|
|
3863
3864
|
minute: "numeric",
|
|
3864
3865
|
second: "numeric",
|
|
3865
|
-
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: '
|
|
3866
|
+
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: '8b99f1ea1299e7001053e7b9deece7e6a15e2542' }, index.h("smoothly-display", { key: '89c93cace88996c65faa0791cc0ffd7a4e9e083a', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), index.h("dd", { key: '570142486b7ab93ddd59d9f418a60d700c7817d5' }, index.h("smoothly-display", { key: '63dfcf83183fba060fceed447d4bcdd0c30eb5a9', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), index.h("dd", { key: '4cc6f5ba3ddd1b339d5fb015de456abae54aab43' }, index.h("smoothly-display", { key: '6c2f659af73220903642fd0807d1151f204ba837', type: "date-time", format: {
|
|
3866
3867
|
year: "2-digit",
|
|
3867
3868
|
month: "numeric",
|
|
3868
3869
|
day: "numeric",
|
|
@@ -3870,21 +3871,21 @@ const SmoothlyDisplayDemo = class {
|
|
|
3870
3871
|
minute: "2-digit",
|
|
3871
3872
|
second: "2-digit",
|
|
3872
3873
|
timeZone: "Europe/Stockholm",
|
|
3873
|
-
}, value: "2022-07-07T12:15Z" })), index.h("dt", { key: '
|
|
3874
|
+
}, value: "2022-07-07T12:15Z" })), index.h("dt", { key: 'cb48cb11e0a8400291f08caa821b53cb443f8f12' }, "Display JSON"), index.h("dd", { key: '5f88f3eedffc8993d747898f9bf5dc9da06dbfb1' }, index.h("smoothly-display-demo-json", { key: '695a426dd6523dbac16fe830167f21e095499760' })))), index.h("h2", { key: 'e847b40c54e9c2343c3c572802732594110a3520' }, "With labels"), index.h("dd", { key: 'fa442318099a443bbc08f8b989993184afe12f57' }, index.h("smoothly-display", { key: 'e0b37f5c62a577c16805b7b3793a397ade55944e', label: "Today", type: "date", value: TimeZone.Date.now() }), index.h("smoothly-display", { key: 'e17917bd5c0ba53f198a218ac5377feb64a3219c', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), index.h("smoothly-display", { key: 'd8c0252e5b772d1328adcaff951d2394b4da4fdf', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), index.h("smoothly-display", { key: '3a020e58a1fbac08de20efa83040a6d2fff73d40', label: "Logs", type: "json", value: [
|
|
3874
3875
|
{ type: "trace", message: "Hello" },
|
|
3875
3876
|
{ type: "error", message: "Oh no!" },
|
|
3876
|
-
] })), index.h("fieldset", { key: '
|
|
3877
|
+
] })), index.h("fieldset", { key: '08d6ad86a6d79ff873156f7cb4d84360d8e92f38' }, index.h("h2", { key: '91450decd67bdc21c204adaa7f95d9d0d2f64107' }, "Test of different kinds of notifier"), index.h("button", { key: 'ded2972233a8361b91b75c8386ca3f3299735959', onClick: () => this.noticeWarning(redirect.Notice.warn("This is a test warning notice.")) }, "warning"), index.h("button", { key: '833fe76b9edaa48c4db0aed015bfd310936bd01a', onClick: () => this.noticeWarning(redirect.Notice.succeeded("This is a test success notice.")) }, "success"), index.h("button", { key: '5f74587f60215db920ea6a0b9a01702642e61745', onClick: () => this.noticeWarning(redirect.Notice.failed("This is a test danger notice.")) }, "danger"), index.h("button", { key: 'ed76217b6f2a5f84ecc04a04ebc13c1441958b39', onClick: () => this.noticeWarning(redirect.Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), index.h("button", { key: '7f7b974a4ed5528d8d226d380233e219203553bc', onClick: () => this.noticeWarning(redirect.Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), index.h("fieldset", { key: '287c9ce5ae199417e9883b2d10c7f74e755ec0f1' }, index.h("h2", { key: '14379ccb8cc02c5041a11ba85b15785a4fd87711' }, "Smoothly spinner"), index.h("div", { key: '71d53a5d93355f097f377cf0665c299fe85746e8', style: { width: "fit-content" } }, "Large", index.h("smoothly-spinner", { key: 'ea3b1bc70eb21b536c561f33176caffd2891b6df', size: "large", style: {
|
|
3877
3878
|
"--spinner-background": "200,255,200",
|
|
3878
3879
|
"--spinner-background-opacity": "0.2",
|
|
3879
3880
|
"--spinner-color": "0,130,0",
|
|
3880
|
-
} })), index.h("div", { key: '
|
|
3881
|
+
} })), index.h("div", { key: '0d5e895fdd77b5726b8c239e47cd044a067d1f2a', style: { width: "fit-content" } }, "Medium", index.h("smoothly-spinner", { key: '385f5a706c79db46521602b25a2b74010108c08d', size: "medium" })), index.h("div", { key: 'c7fa64f4652ec6c43d76f2479b7c0d495b839a39', style: { width: "fit-content" } }, "Small", index.h("smoothly-spinner", { key: '5c495259b28ce92f47998e40c30899ceaca44712', size: "small" })), index.h("div", { key: '788b86e0d1b31798d3ccb7a36b3b2ca30bbe5492' }, "Icon sized spinner on button", Scrollable.Color.types.map(color => (index.h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
|
|
3881
3882
|
this.downloadingSpinner = true;
|
|
3882
3883
|
setTimeout(() => (this.downloadingSpinner = false), 3000);
|
|
3883
|
-
} }, !this.downloadingSpinner && index.h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (index.h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), index.h("h3", { key: '
|
|
3884
|
+
} }, !this.downloadingSpinner && index.h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (index.h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), index.h("h3", { key: 'bfc699d0d863be1f32947b2c6fc8e423cfe9c6e7' }, "Spinner with overlay"), index.h("div", { key: '8b104392475d98d3ed535266efb5e1e43242eec2', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", index.h("smoothly-spinner", { key: 'da19b77e7623e6e5beb7a79f481c1454c0ba54ae', overlay: true, size: "large", style: {
|
|
3884
3885
|
"--spinner-background": "255,200,255",
|
|
3885
3886
|
"--spinner-background-opacity": "0.5",
|
|
3886
3887
|
"--spinner-color": "0,130,0",
|
|
3887
|
-
} })), index.h("div", { key: '
|
|
3888
|
+
} })), index.h("div", { key: '5db60a3ef1c609c086605215bf67587018350a2b', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", index.h("smoothly-spinner", { key: '5680ba103faabfaf100971b44bd593c78e829d6f', overlay: true, color: "secondary", size: "medium" })), index.h("div", { key: '5c1744129386116f82e90b461a82b41f1b1a7fa2', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", index.h("smoothly-spinner", { key: '986d2d8a53fc002aee01448f70959a084712c3a2', overlay: true, size: "small" }))), index.h("fieldset", { key: '3c8217e31e5895740f9ec2db68a5936ece213134' }, index.h("h2", { key: '230544e3d1daf869ffe78018507938ede4cdd25f' }, "Smoothly summary"), index.h("smoothly-summary", { key: '1ef51bf9f6f09efec5ce78320c8c8d887e832536' }, index.h("p", { key: 'bbb4e1c627cc29bcd3dcbf869123cd46fcee7c78', slot: "summary" }, "Some title"), index.h("p", { key: '98c3df7e2be91138ada47962a3d816ef7ca96116', slot: "content" }, "Some content")), index.h("smoothly-summary", { key: '0cee5711b5d4982d83a5af38de7b4a9d07f5b681', size: "large" }, index.h("p", { key: '01d3e7770a29191f3435ff71b5b910b1fe971986', slot: "summary" }, "Some title"), index.h("p", { key: '4bf19406510e9754aa6a6e80bf246250d16147b7', slot: "content" }, "Some content")), index.h("smoothly-summary", { key: '140ae2b80f6444ae1b0c6f010a986ad44a3ae660', color: "danger", fill: "clear" }, index.h("div", { key: '79d24ee9a8b34a5a1237133cf3b91b57a1939be9', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, index.h("span", { key: 'f356abe390f260e9a42fdda66618326133aa077d' }, "Person"), index.h("smoothly-icon", { key: 'adbc3c65da8c17a682f1f94dff503a2fb8b15f6c', name: "person", color: "light", fill: "clear", size: "tiny" })), index.h("p", { key: 'c9ee2266ff09249a525c04d5f336f7d837b683bf', slot: "content" }, "Some person information.")), index.h("smoothly-summary", { key: '8ceed261dadef7e9e1a36223034838843b193d95', color: "danger", fill: "clear", open: true }, index.h("p", { key: 'f463c38fc03dd5bd1f1888a1112f0ff81d333bbd', slot: "summary" }, "Some other title"), index.h("p", { key: '443efb036132d38db530da20d718f66659a30594', 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("h2", { key: '3e0fe4420b481349bae4af2c0f82b3488be08dc1' }, "Label"), labels.map(l => (index.h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), index.h("smoothly-label", { key: '2a741a99f86afdb9facdc93c3e39eadc8087910d', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
3888
3889
|
];
|
|
3889
3890
|
}
|
|
3890
3891
|
};
|
|
@@ -3911,7 +3912,7 @@ const SmoothlyDisplayDemoJson = class {
|
|
|
3911
3912
|
index.registerInstance(this, hostRef);
|
|
3912
3913
|
}
|
|
3913
3914
|
render() {
|
|
3914
|
-
return (index.h(index.Host, { key: '
|
|
3915
|
+
return (index.h(index.Host, { key: '67b8c263dfe7d72e1072ba3d630ea74f0a05788a' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
3915
3916
|
index.h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
3916
3917
|
index.h("div", null, index.h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
3917
3918
|
])));
|
|
@@ -3946,7 +3947,7 @@ const SmoothlyDisplayJson = class {
|
|
|
3946
3947
|
this.collapseDepth = undefined;
|
|
3947
3948
|
}
|
|
3948
3949
|
render() {
|
|
3949
|
-
return index.h(JsonValue, { key: '
|
|
3950
|
+
return index.h(JsonValue, { key: '4794f1dc5f6a104cc37ef15d6ff54650c2e162e6', value: this.value, collapseDepth: this.collapseDepth });
|
|
3950
3951
|
}
|
|
3951
3952
|
};
|
|
3952
3953
|
SmoothlyDisplayJson.style = SmoothlyDisplayJsonStyle0;
|
|
@@ -3980,9 +3981,9 @@ const SmoothlyDisplayJsonObject = class {
|
|
|
3980
3981
|
}
|
|
3981
3982
|
render() {
|
|
3982
3983
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
3983
|
-
return (index.h(index.Host, { key: '
|
|
3984
|
+
return (index.h(index.Host, { key: '096aba61e52c82b8fbddfa73b76ad5378898997b', class: { empty: this.empty, open: this.open } }, index.h("span", { key: '23b082be0c70e647b622f876ce92a91aebcdfcd5', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), index.h("span", { key: '851efa46e336cdcd39eb20b08106b37cf3189c53', class: "content" }, Array.isArray(this.value)
|
|
3984
3985
|
? this.value.map(v => (index.h("div", { class: "indent" }, index.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index.h("span", { class: "comma" }, ","))))
|
|
3985
|
-
: 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: '
|
|
3986
|
+
: 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: 'ea5f8fbd4f35a2c5a462c66fbb9133f806655e64' }, this.closeBracket)));
|
|
3986
3987
|
}
|
|
3987
3988
|
};
|
|
3988
3989
|
SmoothlyDisplayJsonObject.style = SmoothlyDisplayJsonObjectStyle0;
|
|
@@ -3996,7 +3997,7 @@ const SmoothlyDisplayJsonPrimitive = class {
|
|
|
3996
3997
|
this.value = undefined;
|
|
3997
3998
|
}
|
|
3998
3999
|
render() {
|
|
3999
|
-
return index.h(index.Host, { key: '
|
|
4000
|
+
return index.h(index.Host, { key: '7fb3f1eae3a5a4e958aff79b218347ad089810cd', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
4000
4001
|
}
|
|
4001
4002
|
};
|
|
4002
4003
|
SmoothlyDisplayJsonPrimitive.style = SmoothlyDisplayJsonPrimitiveStyle0;
|
|
@@ -4010,7 +4011,7 @@ const SmoothlyDisplayJsonRecordKey = class {
|
|
|
4010
4011
|
this.value = undefined;
|
|
4011
4012
|
}
|
|
4012
4013
|
render() {
|
|
4013
|
-
return index.h(index.Host, { key: '
|
|
4014
|
+
return index.h(index.Host, { key: 'e7e589428127bdfdc3a226523417e256788003f9' }, "\"", this.value, "\"");
|
|
4014
4015
|
}
|
|
4015
4016
|
};
|
|
4016
4017
|
SmoothlyDisplayJsonRecordKey.style = SmoothlyDisplayJsonRecordKeyStyle0;
|
|
@@ -7039,11 +7040,11 @@ const SmoothlyFilter = class {
|
|
|
7039
7040
|
this.filters.forEach(update => update(this.criteria));
|
|
7040
7041
|
}
|
|
7041
7042
|
render() {
|
|
7042
|
-
return (index.h(index.Host, { key: '
|
|
7043
|
+
return (index.h(index.Host, { key: '458866acba458b727749aab418c5d07b009f0886' }, index.h("slot", { key: '6deb9fb89f67c8adc89c88b67762b3200953ed29', name: "bar" }), index.h("smoothly-filter-field", { key: 'f3c3c18a6385b7abfeb82ec2320312f0a13f439e', criteria: this.criteria, ref: e => (this.field = e) }), this.criteria.toString() != "" && (index.h("smoothly-icon", { key: '5e7586e48cd66190af3d48ab013c1af4ff006acf', name: "close", toolTip: "Clear all filters", size: "small", onClick: () => {
|
|
7043
7044
|
this.clear();
|
|
7044
|
-
} })), index.h("div", { key: '
|
|
7045
|
+
} })), index.h("div", { key: '742d3c1ab86806412d5ab95bf19249feffb2cd35', class: this.expanded ? "container arrow-top" : "hidden" }, index.h("slot", { key: 'e8837329167c794efbcbb255ca9c50def503ef3f', name: "detail" })), index.h("smoothly-icon", { key: '0ebf30bb6797347fa77dec156f48c4b0a9d22e89', name: this.expanded ? "options" : "options-outline", toolTip: (this.expanded ? "Hide" : "Show") + " additional filters", size: "small", onClick: () => {
|
|
7045
7046
|
this.expanded = !this.expanded;
|
|
7046
|
-
} }), index.h("div", { key: '
|
|
7047
|
+
} }), index.h("div", { key: '31f476a863f44affca3c643529331e769f9658a0', class: this.expanded ? "close" : "hidden", onClick: () => (this.expanded = !this.expanded) })));
|
|
7047
7048
|
}
|
|
7048
7049
|
};
|
|
7049
7050
|
SmoothlyFilter.style = SmoothlyFilterStyle0;
|
|
@@ -7066,7 +7067,7 @@ const SmoothlyFilterField = class {
|
|
|
7066
7067
|
this.smoothlyFilterField.emit(parse$2((_b = (_a = this.input) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : ""));
|
|
7067
7068
|
}
|
|
7068
7069
|
render() {
|
|
7069
|
-
return (index.h(index.Host, { key: '
|
|
7070
|
+
return (index.h(index.Host, { key: '193bf2818e15324d19c9b775d2fcd621f97993c3', onKeyDown: (e) => e.key == "Enter" && this.filterFieldEmit() }, index.h("smoothly-input", { key: 'af427b9aa62eb3821c4f4c515e91540e4077cca2', name: "filter", ref: e => (this.input = e), value: this.criteria.toString(), onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyBlur: e => {
|
|
7070
7071
|
e.stopPropagation();
|
|
7071
7072
|
this.filterFieldEmit();
|
|
7072
7073
|
}, onSmoothlyFormDisable: e => e.stopPropagation(), onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyChange: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
@@ -7145,7 +7146,7 @@ const SmoothlyFilterInput = class {
|
|
|
7145
7146
|
(rest.length == 0 || (!!criteria.criteria && this.findInstanceOf(criteria.criteria, rest.join(".")))));
|
|
7146
7147
|
}
|
|
7147
7148
|
render() {
|
|
7148
|
-
return (index.h("smoothly-input", { key: '
|
|
7149
|
+
return (index.h("smoothly-input", { key: '90646ba0c33a81236352bc130c9139d652473b64', 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: 'f6ba39d46857fb3ac409c9ae4cc404b0dca9a7bd' })));
|
|
7149
7150
|
}
|
|
7150
7151
|
};
|
|
7151
7152
|
SmoothlyFilterInput.style = SmoothlyFilterInputStyle0;
|
|
@@ -7254,7 +7255,7 @@ const SmoothlyFilterSelect = class {
|
|
|
7254
7255
|
return result && this.property.split(".").reduceRight((r, e) => property(e, r), result);
|
|
7255
7256
|
}
|
|
7256
7257
|
render() {
|
|
7257
|
-
return (index.h("smoothly-input-select", { key: '
|
|
7258
|
+
return (index.h("smoothly-input-select", { key: '7880e87f45d9227a6663854c8eb427ac39f0bce8', 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: 'b1ec133090f874ce79645ba2e82718d78590282c', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), index.h("slot", { key: '87022479beb55154bc3006ec2ac564865f37a9c8', name: "items" })));
|
|
7258
7259
|
}
|
|
7259
7260
|
get element() { return index.getElement(this); }
|
|
7260
7261
|
};
|
|
@@ -7338,7 +7339,7 @@ const SmoothlyFilterToggle = class {
|
|
|
7338
7339
|
(rest.length == 0 || (!!check.criteria && this.findInstanceOf(check.criteria, rest.join(".")))));
|
|
7339
7340
|
}
|
|
7340
7341
|
render() {
|
|
7341
|
-
return (index.h("smoothly-icon", { key: '
|
|
7342
|
+
return (index.h("smoothly-icon", { key: '2fc0a0d6ad73406cacdb79964618ec4a97f7cfdf', fill: "clear", color: this.active ? "success" : "medium", name: (this.active ? `${this.icon}` : `${this.icon}-outline`), toolTip: this.toolTip, onClick: () => this.activeHandler(true) }));
|
|
7342
7343
|
}
|
|
7343
7344
|
};
|
|
7344
7345
|
SmoothlyFilterToggle.style = SmoothlyFilterToggleStyle0;
|
|
@@ -8345,7 +8346,7 @@ const SmoothlyForm = class {
|
|
|
8345
8346
|
await Promise.all([...this.inputs.values()].map(input => Editable.Element.type.is(input) && input.setInitialValue()));
|
|
8346
8347
|
}
|
|
8347
8348
|
render() {
|
|
8348
|
-
return (index.h(index.Host, { key: '
|
|
8349
|
+
return (index.h(index.Host, { key: 'be8232540d49c81973cc26ba550a256e5f9c13f5' }, index.h("smoothly-spinner", { key: '446c5461b8fa595d39bb34d05eddee9de15f2cea', overlay: true, hidden: !this.processing }), index.h("form", { key: '525ac3bf94ef5de8a740132ceded98fbfb6622ae', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, index.h("fieldset", { key: 'e5674d63a13c79c2481da8ad7a0dba01ba6ec75d' }, index.h("slot", { key: '7a822cd902ec76316b47386463582d52b5642d90' })), index.h("div", { key: 'ea251687d52ce2f55bffe395bb3c8fd2798afad7' }, index.h("slot", { key: 'e0559beaf08b07842464347ca12cfce81cd9a108', name: "clear" }), index.h("slot", { key: 'aacce8b25820506f52ea37381546f35e5cc6c09e', name: "edit" }), index.h("slot", { key: '8cca8531c0528a0dfdccd1f1e5df65016b737ade', name: "reset" }), index.h("slot", { key: 'fc02aaf36bbc61e7e8019e8906d2b1882822c22c', name: "delete" }), index.h("slot", { key: '08eff6b2af2e3fdca74407c66f940a5fa774fb9a', name: "submit" })))));
|
|
8349
8350
|
}
|
|
8350
8351
|
get element() { return index.getElement(this); }
|
|
8351
8352
|
static get watchers() { return {
|
|
@@ -8363,7 +8364,7 @@ const SmoothlyFormDemo = class {
|
|
|
8363
8364
|
index.registerInstance(this, hostRef);
|
|
8364
8365
|
}
|
|
8365
8366
|
render() {
|
|
8366
|
-
return (index.h(index.Host, { key: '
|
|
8367
|
+
return (index.h(index.Host, { key: '8e9b91eba4771356a02e26aa874149e9aec1e49e' }, index.h("div", { key: '322a7b8c4053c5307e09aedc034aec3bd58cfa40' }, index.h("smoothly-form-demo-all", { key: '36cff0fce86410559185639407888e064aa7f6f5' }), index.h("smoothly-form-demo-pet", { key: '8ac19a250eae3f03b36b7eefa4bb0b8fcef9bc67' }), index.h("smoothly-form-demo-card", { key: 'e92a4974e434fc122a4d6a9036031c19eb8fbdce' }), index.h("smoothly-form-demo-login", { key: '0551748193b700acbc0ef91afe2e330ac67c1ec6' }), index.h("smoothly-form-demo-prices", { key: '98e1cd3159817b7943b0fcab4b8e455527679aef' }), index.h("smoothly-form-demo-typed", { key: 'ee3a5a705e8295e6f030201876e8e9e6e0b17ce5' }), index.h("smoothly-form-demo-transparent", { key: 'f245050d3f3838922c51ab02a6fc7c51d030be49' }), index.h("smoothly-form-demo-date", { key: 'b9dab7e216a735a7d4a71e63e9dcdcbb261d35b9' }), index.h("smoothly-form-demo-date-range", { key: 'b120defdea28f4d5bfff40991d577e5851231cfb' }), index.h("smoothly-form-demo-controlled", { key: '56a57994209abcea1f1d7058f3a8f068f7396cce' }))));
|
|
8367
8368
|
}
|
|
8368
8369
|
};
|
|
8369
8370
|
SmoothlyFormDemo.style = SmoothlyFormDemoStyle0;
|
|
@@ -8373,9 +8374,9 @@ const SmoothlyFormDemoAll = class {
|
|
|
8373
8374
|
index.registerInstance(this, hostRef);
|
|
8374
8375
|
}
|
|
8375
8376
|
render() {
|
|
8376
|
-
return (index.h(index.Host, { key: '
|
|
8377
|
+
return (index.h(index.Host, { key: '67af39df61fd821fcc6a54a443a5c6e3b2164312' }, index.h("h2", { key: '41bc4cf60ccab146f4df13a653e1e1c8c5295b8a' }, "All inputs"), index.h("smoothly-form", { key: 'e38705cbf7dd1499abea94ebf5a8b5b0c8b075f1', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
8377
8378
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
8378
|
-
} }, index.h("smoothly-input", { key: '
|
|
8379
|
+
} }, index.h("smoothly-input", { key: '5518748d36147476f882b0efa6c58bdb7ea7f1c2', readonly: true, name: "First Name", value: "John" }, "First name"), index.h("smoothly-input", { key: '7c4c56fa2cff6b88edb696abd18317f8b6b22abf', showLabel: false, name: "Last name", value: "Doe" }, "Last name", index.h("smoothly-input-clear", { key: '47485ed9b6bd63adb11c359444dd609d2573dfd5', size: "icon", slot: "end" })), index.h("smoothly-input", { key: '2e08d6562542ccfd8c4b3cefc94eb61ea9310ec8', type: "phone", name: "Phone", value: "777888999" }, "Phone", index.h("smoothly-input-reset", { key: '5e52a23a365f1ef0a0e9c14af6dbc845ff3ec64f', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: '8de780d57f2d0410fe4ef70aea36280b2fab879a', clearable: true, name: "radioFirstInput" }, index.h("label", { key: '4bf45b92c59f829cb9020797a6b2447726bb863b', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '48a6ce9c20b91c92ea4b6d5fda0fe2edb8e84338', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '69bb874f031c4dce9120fdcdbe30d1185a8533b9', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '2665d5cd7970d76361b3a9c564a281300ec5b60e', value: "third" }, "Label 3")), index.h("smoothly-input-color", { key: '9604b6394bf35d765d83b11ee91beddd65ea0524', name: "color" }, "Color"), index.h("smoothly-input-select", { key: '18fe512715d01003b35bc83cfc2e2ca8d9a6c7fb', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '30aeb799af801a17fdb0f4ad6cf2135a159eeee2', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: '10f4ab84cdca7246b3f8382e094d6a5634071a1f', value: "1" }, "January"), index.h("smoothly-item", { key: '09bf1376088a3a61952601c96fb03e8ac6cdb7e7', value: "2" }, "February"), index.h("smoothly-item", { key: '62b13312de45b2233806e83b95fb148f7b6fbd87', value: "3" }, "March"), index.h("smoothly-item", { key: 'e98dfc613311e12057914b6455047cec9a0e2fd9', value: "4" }, "April"), index.h("smoothly-item", { key: '95a6ba970ad28e98a9424d92ad3f4374d9956fb0', value: "5" }, "May"), index.h("smoothly-item", { key: 'ffc61f7a970ad99cb1dad5c207a507f5fd13664b', value: "6" }, "June"), index.h("smoothly-item", { key: 'bfa799697ed8f87df3ea1712abeeb07ddc1ff2b2', value: "7" }, "July"), index.h("smoothly-item", { key: 'b8d824f7c4aa012bf9fa53dfe92309b8c89d7d73', value: "8" }, "August"), index.h("smoothly-item", { key: '78900640ecb2991bb8b6162db0b9ccd0bccd6749', value: "9" }, "September"), index.h("smoothly-item", { key: 'ed9e4d7432bab4589ca43d4f8321bae85440fbe2', value: "10" }, "October"), index.h("smoothly-item", { key: 'f4144b148fdb72bbd0777b2cbe1cd77782103977', value: "11" }, "November"), index.h("smoothly-item", { key: '28a2ad2a0a832de5d12938ca2fee4e8c70fa7567', value: "12" }, "December")), index.h("smoothly-input-select", { key: '4b1991cb5caa2cb8439833708ce4189c510786aa', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: 'b6ffdaf3b8fa957bafd088499c8071393bdcf12a', value: "folder", selected: true }, index.h("smoothly-icon", { key: '0fdcb71a98477d46c586a58185f4cc51301eb7a9', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: '137cba1989502f23f36add371d146bc4807ca6b6', value: "camera" }, index.h("smoothly-icon", { key: 'dad7cad3a4ce91dd7db6ab5a0140b1f318edc29c', size: "small", name: "camera-outline" }))), index.h("smoothly-input-checkbox", { key: '54649f418c20c3e13f557621db4996bda931b560', name: "checkbox" }, "Check the box"), index.h("smoothly-input-checkbox", { key: '988c540d19b1bd3a3fd87757c24212d1920a2f46', name: "checkbox2", checked: true }, "Check the box 2"), index.h("smoothly-input-range", { key: 'ae1f17c4c1fd061ca0cf760b1ac56e629b771dc5', step: 1, name: "range3", value: 20, label: "Range" }), index.h("smoothly-input", { key: '963d1e2e0f1687a028d2e68e6b3f0adab6001632', name: "pets.0.name" }, "First Pet's Name"), index.h("smoothly-input-range", { key: '47bb54e03b5d0f8d946efc85c1d0e446b47e4bf4', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), index.h("smoothly-input", { key: '01d8d11e59ef4bdb3217bfbba9ba3c0e1f7aaaa7', name: "pets.1.name" }, "Second Pet's Name"), index.h("smoothly-input-range", { key: '40a58105cec6048e50f680c43da13be4ad8e4dbc', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), index.h("smoothly-input", { key: 'ce735808de29f6956dc08ad7e4a08378808a4f86', name: "pets.2.name" }, "Third Pet's Name"), index.h("smoothly-input-range", { key: '0d64035c29d1125393d38ee6ed572e01b08e16e1', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), index.h("smoothly-input-file", { key: '70f3f6fea6f26285f514cab4c125f32ebfc9c5a0', name: "profile", placeholder: "Click or drag your profile picture here..." }, index.h("span", { key: 'e2d6d8590c5183c7e74bd1249506d30a0a1da050', slot: "label" }, "Profile"), index.h("smoothly-icon", { key: 'b259b5f3ccbb9c3d3d9e997dce02625b006763dc', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), index.h("smoothly-input", { key: '914704342157221f13dc42cb4c677e0b5c3089dd', type: "duration", name: "duration", value: {} }, "Duration"), index.h("smoothly-input-clear", { key: '4a49a4069781e14f81266c2a0934d9768c130d90', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), index.h("smoothly-input-edit", { key: '38036942c8604826e55cd0c0f8aabaa299b5578f', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), index.h("smoothly-input-reset", { key: '25de107d30973c77139269f8fd5a3ced5644432a', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: '5ea44f1660ea1bc45255c844329bee70cb97d2aa', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: '234c912a802cb9eaef6798d52b7bff115069cd16', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
8379
8380
|
}
|
|
8380
8381
|
};
|
|
8381
8382
|
|
|
@@ -8384,7 +8385,7 @@ const SmoothlyFormDemoCard = class {
|
|
|
8384
8385
|
index.registerInstance(this, hostRef);
|
|
8385
8386
|
}
|
|
8386
8387
|
render() {
|
|
8387
|
-
return (index.h(index.Host, { key: '
|
|
8388
|
+
return (index.h(index.Host, { key: '39e1ef97b159655f49b2bbf853138f5f389ae33f' }, index.h("h2", { key: 'dfe73b926cc44b9405a9c2f74c8a2baa90c77a91' }, "Card"), index.h("smoothly-form", { key: '7786e52f0f93cccf65c15e23ffb100cdec0791a6', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, index.h("smoothly-input", { key: 'df9dec1857b773b8cb9c9138272fa635881dd9ac', type: "card-number", name: "card" }, "Card #"), index.h("smoothly-input-submit", { key: 'ba763b31994226ceb8c14a648e02ac7f3886ed71', size: "icon", slot: "submit", color: "success", fill: "solid" }), index.h("smoothly-input", { key: 'fbd0066000aa84701443dd83fbcb133b9a291408', type: "card-expires", name: "expires" }, "Expires"), index.h("smoothly-input", { key: '496ba4fd146005cfe1e5bb7401e852ebfbfd1ec9', type: "card-csc", name: "csc" }, "CVV/CVC"), index.h("smoothly-input", { key: '8685b1e15a7b98c073d85c21aa598b2860a995ad', type: "text", name: "name.first" }, "First Name"), index.h("smoothly-input", { key: '071245e4d5661dd145f9aaac3b627871df9a5f42', type: "text", name: "name.last" }, "Last Name"))));
|
|
8388
8389
|
}
|
|
8389
8390
|
};
|
|
8390
8391
|
|
|
@@ -8420,7 +8421,7 @@ const SmoothlyFormDemoControlled = class {
|
|
|
8420
8421
|
event.detail.result(false);
|
|
8421
8422
|
}
|
|
8422
8423
|
render() {
|
|
8423
|
-
return (index.h(index.Host, { key: '
|
|
8424
|
+
return (index.h(index.Host, { key: '6d76703cc5295f6b1df247f15a827d8003f6a436' }, index.h("h2", { key: '70a3df9f04aac4162fda7133ece789c62d5f4e1b' }, "Controlled"), index.h("smoothly-form", { key: 'ab5d59e015bb649a6374455fa7ce0fb61d13b771', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input", { key: 'b79d4cd04331cfaa3b1b4c79d9a69b1e8a4ca9a2', type: "text", name: "name", value: this.name }, "Name"), index.h("smoothly-input-select", { key: 'de230fa9e41ea41e4fc0a775472443262280667b', name: "currency" }, index.h("span", { key: '9f0c4bc4ebcfebc7be0db47c8917f9974e2b27d1', slot: "label" }, "Currency"), this.currencies.map(currency => (index.h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), index.h("smoothly-input", { key: '2fb95bb3e623d2b133968d7819727228d1bb4104' }, "Dummy"), index.h("smoothly-input-month", { key: '3398acf31a92edfa8b340cb47204cdf94c610d3a', name: "date", value: this.date, next: true, previous: true }, index.h("span", { key: '8afa33e32a1072d767d9fdc7eafc02926791e1d0', slot: "year-label" }, "Year"), index.h("span", { key: '148a9035bb55e385cb762838a7af04ff6e1e9577', slot: "month-label" }, "Month")), index.h("smoothly-input-edit", { key: '50f0a6d1a810155b11656b578d92558c26b49509', slot: "edit", size: "icon", color: "primary", fill: "default" }), index.h("smoothly-input-reset", { key: '1d0946fe1eedc8d81efcaacb0272034b7539071f', slot: "reset", size: "icon", color: "warning", fill: "default" }), index.h("smoothly-input-submit", { key: '9cf09cedfb0369e5e597d9776ef8b2ce6b36da18', slot: "submit", size: "icon", color: "success" }))));
|
|
8424
8425
|
}
|
|
8425
8426
|
static get watchers() { return {
|
|
8426
8427
|
"name": ["nameChanged"]
|
|
@@ -8451,7 +8452,7 @@ const SmoothlyFormDemoDate = class {
|
|
|
8451
8452
|
event.detail.result(false);
|
|
8452
8453
|
}
|
|
8453
8454
|
render() {
|
|
8454
|
-
return (index.h(index.Host, { key: '
|
|
8455
|
+
return (index.h(index.Host, { key: 'c756ecd2158fcea20c5492fee29e06ae8eff5d77' }, index.h("h2", { key: '25aa4d7a8bc6a47adae135515ce9441074971ea4' }, "Date input"), index.h("smoothly-form", { key: 'bf965cf2ad3d3288fef0f8c393b6fd3c2775dad2', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input-date", { key: 'c1cbf84459eb2b330d8398277a3b101bcffe5a59', name: "date" }, "Date"), index.h("smoothly-input-submit", { key: '01557b861392e3e3d1d88525bde50007567c20e3', slot: "submit" }, index.h("smoothly-icon", { key: 'f77aacee0b4f0e1fcb158152c317897641ec493b', name: "checkmark-outline" })))));
|
|
8455
8456
|
}
|
|
8456
8457
|
};
|
|
8457
8458
|
SmoothlyFormDemoDate.style = SmoothlyFormDemoDateStyle0;
|
|
@@ -8480,7 +8481,7 @@ const SmoothlyFormDemoDateRange = class {
|
|
|
8480
8481
|
event.detail.result(false);
|
|
8481
8482
|
}
|
|
8482
8483
|
render() {
|
|
8483
|
-
return (index.h(index.Host, { key: '
|
|
8484
|
+
return (index.h(index.Host, { key: 'f5c929abd5dd00cbe86c0b319183b7f4e727d0dd' }, index.h("h2", { key: '0dcdeb8de570b990982a5565bda70a8a985798d6' }, "Date-range input"), index.h("smoothly-form", { key: '02bb8112b2be39fc8c1ca60dd3955ce4d775a5f6', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input-date-range", { key: 'e97c601501e4a9c7f24c45b447eb569a6bc03d3b', name: "range" }, "Range"), index.h("smoothly-input-submit", { key: '8c3eb4f6f16a8c86cb5be1f655ec03e192165c5a', slot: "submit" }, index.h("smoothly-icon", { key: '476f32c1c6d0c0d114db263c07be66ce03a15f25', name: "checkmark-outline" })))));
|
|
8484
8485
|
}
|
|
8485
8486
|
};
|
|
8486
8487
|
SmoothlyFormDemoDateRange.style = SmoothlyFormDemoDateRangeStyle0;
|
|
@@ -8490,7 +8491,7 @@ const SmoothlyFormDemoLogin = class {
|
|
|
8490
8491
|
index.registerInstance(this, hostRef);
|
|
8491
8492
|
}
|
|
8492
8493
|
render() {
|
|
8493
|
-
return (index.h(index.Host, { key: '
|
|
8494
|
+
return (index.h(index.Host, { key: '168c7e940237622031da85f5c5cb62bae9f922b4' }, index.h("h2", { key: 'a064669065587d7cfc90d760a6dbdf8e3afc13a9' }, "Login"), index.h("smoothly-form", { key: '41459587d19b629e8ebe3db68d38f55f9b985af5', looks: "border" }, index.h("smoothly-input", { key: 'a4cb3e71cc8a681fc38f7cefc4dabb2e886195b8', type: "text", name: "username" }, "Username"), index.h("smoothly-input", { key: '4e24ea60c29a1b5fbfa0826a7d6715c686bf7a47', type: "password", name: "password" }, "Password"), index.h("smoothly-input-reset", { key: 'b0480797e4813927d8cae0e8feb0f119d25c7d55', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'e3ae66fdedc1dfd824ccc493fd30acacf24426c2', slot: "submit" }))));
|
|
8494
8495
|
}
|
|
8495
8496
|
};
|
|
8496
8497
|
|
|
@@ -8506,10 +8507,10 @@ const SmoothlyFormDemoPet = class {
|
|
|
8506
8507
|
}
|
|
8507
8508
|
render() {
|
|
8508
8509
|
var _a, _b;
|
|
8509
|
-
return (index.h(index.Host, { key: '
|
|
8510
|
+
return (index.h(index.Host, { key: '0d46b4fc910a34c115642a2195c080b0d85d12d9' }, index.h("h2", { key: 'f77c27ceb6a0f0b5ef9412a1548369ed0aad9e9d' }, "Pet"), index.h("h3", { key: 'a99b84f9e362139384843470336a2326c547a29f' }, "Value"), index.h("smoothly-form", { key: '1ae24028e67d24b04b7b19f151c15a2243974760', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, index.h("smoothly-input", { key: 'e7ff263bbb2d74448269560238e89322f2c16c46', type: "text", name: "name.first" }, "Name"), index.h("smoothly-input", { key: 'f0339aa7f5996f3f6b35fd5221a816fe94ce3c95', type: "integer", name: "age" }, "Age (Years)"), index.h("smoothly-input-checkbox", { key: '05ced4a04c316d3646b0cc2384b3d5abf045f9e5', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
8510
8511
|
this.hasOwner = e.detail.hasOwner;
|
|
8511
8512
|
e.stopPropagation();
|
|
8512
|
-
} }, "Has Owner"), this.hasOwner && (index.h(index.Fragment, { key: '
|
|
8513
|
+
} }, "Has Owner"), this.hasOwner && (index.h(index.Fragment, { key: 'b3a1d4ac7f09be24f900589e571ee7108ab2314b' }, index.h("smoothly-input", { key: 'ba4db6589d95388ec7b80d26da3c0aa83e7ea9a4', 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", { key: '1b0f54ffe75008cddbb3f5ab50e21d870e50ef85', 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: '8a1fc8138991495b929d889f4611a9ce8f2b346f', name: "owner.picture" }, index.h("span", { key: 'c6a303649887edc21d380b83492c2c582a77cc4b', slot: "label" }, "Owner picture")), index.h("smoothly-input-date", { key: 'b62c24f139c6d6fc180279bf5b8931bbbd95bf17', 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-date-range", { key: 'db1b023fd04b7e31c76ba6758da4e95a8aa25aba', 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-range", { key: '52ae80072f773a1e206aa3ce1c6309deca100358', 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-select", { key: 'e7ea0e534410bbeae598c7d10233502dc8cedbd7', name: "owner.favoriteHat" }, index.h("span", { key: '4a9a4f4ee5cbdff8831d67d9cb9756e8f8e40280', 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-color", { key: '7eca92de76ba58e01e19e72724bb6590f5877053', 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-radio", { key: '1a28d57241c03c0b336e8da0954ddbb74abf2711', 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: 'd9c9546113277fc7ceadb5a9c0d8fecfaf539e7e', 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: '4b9fb14871adc6980b46c6691811ab6486c2de1a', 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-summary", { key: 'd211b98678b582de9a0eda75d09414d45f7fe18a' }, index.h("span", { key: '507f145237f4e21fee6271a219a75ce715031f55', slot: "summary" }, "Summary"), index.h("div", { key: 'ba54ac66f240970a68dd97b2558376b89889a9ad', slot: "content" }, index.h("smoothly-input", { key: '160d583fd5a7dc638f55ff635d954bf70dd9fd4e', type: "price", name: "summary.price", currency: "EUR" }, "Summary Price"), index.h("smoothly-input-file", { key: '7516228ed852285d3cefff8755bbe1b4819e3939', name: "summary.picture" }, index.h("span", { key: 'e55b87442834ee63de349f221015f49c34c53135', slot: "label" }, "Summary picture")), index.h("smoothly-input-date", { key: 'e739dbd4f0c39fa7da0f2154e9f39ecc1cf26015', name: "summary.birthday" }, "Summary birthday"), index.h("smoothly-input-date-range", { key: 'a73b4184da7911dd72b7db605f9f3530f6002960', name: "summary.ownedRange" }, "Summary ownedRange"), index.h("smoothly-input-range", { key: '3c7d677e88b90879913871c0c97b77c713e6383e', name: "summary.height" }, "Height"), index.h("smoothly-input-select", { key: '43760e5d2bdcd94020f695ab49d2b08a6a45b424', name: "summary.favoriteHat" }, index.h("span", { key: 'de302f7837e6d7aed5c20fdf83197e93eeecb50a', 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: '1bd6eb2f38716814964f8155a35c21e5feefeb39', name: "summary.month" }, "Summary Month"), index.h("smoothly-input-color", { key: '05e13310f32251d447e0a1944cb6a67ec86d77df', name: "summary.color" }, "Summary Color"), index.h("smoothly-input-radio", { key: '3b62f895f6c239406111a67a00c8f262f3a2322a', name: "summary.favoritePizza" }, index.h("span", { key: '717fcb239ad3e88060e0c4ccf6b690bf51680008', 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: '806a0f525016e524e24d11bfc212beae65c39987', name: "summary.hasPet" }, "Has Pet"))), index.h("smoothly-tabs", { key: '4fc35bd7008f114af74650bf86e2082a2a444cd8' }, index.h("smoothly-tab", { key: 'f8c318c6504fbf15c40f981a35d73b3c9dd7a5fa', label: "Dog" }, index.h("smoothly-input", { key: 'b0d513a1c38b2e5d80ef883a86164e3621f53a04', type: "text", name: "dog.breed" }, "Breed"), index.h("smoothly-input-file", { key: '3121318836e9062c386a9582436a01fc2605b0f7', name: "dog.picture" }, index.h("span", { key: '6a9919683534dc1faa55f5277e987dcf0f69b7e6', slot: "label" }, "Dog picture")), index.h("smoothly-input-date", { key: 'bb0c0595f20c7371cf7515430e34afff7052f7b5', name: "dog.birthday" }, "Dog birthday"), index.h("smoothly-input-date-range", { key: 'ae866769212a7236c41d0152febcae48547f2061', name: "dog.dateRange" }, "Dog date range"), index.h("smoothly-input-select", { key: 'dc65fc8f3d086245779db5df9399e80354f14710', name: "dog.favoriteHat" }, index.h("span", { key: 'dc7a23db7140be0289a1b3183a36eb8a3b868789', 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: '0a1a326345ba84c8c58bda73beb49a1e80301fed', name: "dog.favoriteColor" }, "Dog's Favorite Color"), index.h("smoothly-input-radio", { key: 'ca1254f3ca0137436e6f0275caa8664653a337e0', name: "dog.favoritePizza" }, index.h("span", { key: '6cbeba3ccb0213e78ef7b58198f9bf03db332d59', 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: '918eb8492a907b1edaa8899f893e54d27e99b48b', name: "dog.hasPet" }, "Has Pet")), index.h("smoothly-tab", { key: '07919402255ac3e56bc1b144f235bdbb2e5096ea', label: "Cat", open: true }, index.h("smoothly-input", { key: '6d1a2da7d9e4dfab0b099ba19831e881fc2022e8', name: "cat.favoriteFood" }, "Favorite Food"))), index.h("smoothly-input-submit", { key: '777ab4006d8860edad56569fd20c35effe34d8cc', size: "icon", slot: "submit", color: "success", fill: "solid" })), index.h("smoothly-display", { key: '5b25a5af2f22296c1aea22d939b790b11333effe', type: "json", value: this.value })));
|
|
8513
8514
|
}
|
|
8514
8515
|
};
|
|
8515
8516
|
SmoothlyFormDemoPet.style = SmoothlyFormDemoPetStyle0;
|
|
@@ -8519,7 +8520,7 @@ const SmoothlyFormDemoPrices = class {
|
|
|
8519
8520
|
index.registerInstance(this, hostRef);
|
|
8520
8521
|
}
|
|
8521
8522
|
render() {
|
|
8522
|
-
return (index.h(index.Host, { key: '
|
|
8523
|
+
return (index.h(index.Host, { key: 'cb1c1170c5ea86dfb77cc541a91afaa2105b84fc' }, index.h("h2", { key: 'fe67701a1ab85c13af8bc20c42db0616c10eb1b0' }, "Prices"), index.h("smoothly-form", { key: '798e69ab2868c05da2b72c14dfd7ee9ea7280b12', looks: "line" }, index.h("smoothly-input", { key: '3cd2f353851f307c1fc66b5675521b00d73509c9', type: "price", name: "no" }, "No currency"), index.h("smoothly-input", { key: '7b419ec1effb71097a53821d430b3a38e409c6ad', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), index.h("smoothly-input", { key: '0e02bea4915a6d413c0cb62f402e60d63be3f96f', type: "price", name: "usDollar", currency: "USD" }, "USD"), index.h("smoothly-input", { key: 'ac1a48155221cc5479e6819cb2fcf394113ceb2c', type: "price", name: "pounds", currency: "GBP" }, "GBP"), index.h("smoothly-input", { key: 'bd771fbc43aee1643ccd6cbb5c2954f5c0ff07b2', type: "price", name: "peso", currency: "UYW" }, "UYW"), index.h("smoothly-input", { key: 'd2413f2219ba690f6bbfacc2af397f7e59023f3c', type: "price", name: "iceland", currency: "ISK" }, "ISK"), index.h("smoothly-input", { key: 'fc01541f9e2102b62f34f658dea790530cbe8329', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), index.h("smoothly-input-reset", { key: 'e9f6164af7d75f84ca94584c7d39b45d0a0dafaa', slot: "reset", fill: "default", type: "form", color: "warning" }), index.h("smoothly-input-submit", { key: '76f3d9056029bb0ec13c58903c194d9a4df1af23', slot: "submit" }))));
|
|
8523
8524
|
}
|
|
8524
8525
|
};
|
|
8525
8526
|
|
|
@@ -8528,7 +8529,7 @@ const SmoothlyFormDemoTransparent = class {
|
|
|
8528
8529
|
index.registerInstance(this, hostRef);
|
|
8529
8530
|
}
|
|
8530
8531
|
render() {
|
|
8531
|
-
return (index.h(index.Host, { key: '
|
|
8532
|
+
return (index.h(index.Host, { key: '2a3c829987f29e2742b2f97c40d1d457a5662593' }, index.h("h2", { key: '0398f1f6160457523b7cc6bb961b379c4bd72de2' }, "Transparent"), index.h("smoothly-form", { key: '6fdbb834ec4d2b5164caeda9844c00dd89fe8961', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, index.h("smoothly-input-file", { key: 'aa18ec0bca6ad6690f977c90dc0ea2f9f7694584', name: "file" }, index.h("span", { key: 'e3e12dab1d7fc728dc832a92891f4e01b8815731', slot: "label" }, "File"), index.h("smoothly-icon", { key: '9d722201acd8387998abd749f97d6687a6d4a582', slot: "button", name: "folder-open-outline", size: "small" })), index.h("smoothly-input", { key: 'e7c8fd001cd2bafcdd278d68b94facff5c4657da', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), index.h("smoothly-input-date", { key: '58fe64d7d6b86462941ca3e0f9809665b8710ef7' }, "Date"), index.h("smoothly-input-date-range", { key: '07f79ef4b0a59b274e5b1fe29b422f2f75df1776' }, "Date Range"), index.h("smoothly-input-select", { key: '7bcd6ef09acb71a337ac4d38da8c130ec7cca2e1', name: "transport" }, index.h("smoothly-item", { key: '3676bb01a25a231986547562168c627740fe3a57', value: "plane" }, index.h("smoothly-icon", { key: '440d469dac65923bd6940d2f6496f8cbeaee1a34', name: "airplane-outline" })), index.h("smoothly-item", { key: '4a048c4568942f155ec75c07e402206604ad1eb7', value: "car" }, index.h("smoothly-icon", { key: '155c562d80fa4115b47517d95e88b9d867bcc132', name: "car-outline" })), index.h("smoothly-item", { key: '2cfdbd43faf98fe1a96455e2ac4e7437069b4fa1', value: "bus", selected: true }, index.h("smoothly-icon", { key: '3efe583b4ec8500cd4270039cccfe495c31b84f1', name: "bus-outline" }))), index.h("smoothly-input-submit", { key: 'c3350f6ad21a636e9b79f04ba1d419ac4c7720da', icon: "checkbox-outline" }))));
|
|
8532
8533
|
}
|
|
8533
8534
|
};
|
|
8534
8535
|
|
|
@@ -8550,7 +8551,7 @@ const SmoothlyFormDemoTyped = class {
|
|
|
8550
8551
|
index.registerInstance(this, hostRef);
|
|
8551
8552
|
}
|
|
8552
8553
|
render() {
|
|
8553
|
-
return (index.h(index.Host, { key: '
|
|
8554
|
+
return (index.h(index.Host, { key: 'c36986840edf41c6d2d85faea312ec1e6daa067d' }, index.h("h2", { key: 'ed664931573e0897f527e6513dc5e882e3bb63f5' }, "Typed Contact"), index.h("smoothly-form", { key: '37f8b0cefc578efed3de873e2dffc5edb388cee8', validator: Contact.type }, index.h("smoothly-input", { key: '651ac5c0e1e39548ead31e5ac104afda01c7ec65', name: "name.first" }, "First Name"), index.h("smoothly-input", { key: '685ef1e7b14ab5d26c1663832f4f695e5d000047', name: "name.middle" }, "Middle Name (optional)"), index.h("smoothly-input", { key: 'b2ac420d440c286498bddd275ac2f66228f16d07', name: "name.last" }, "Last Name"), index.h("smoothly-input", { key: '310185b6677ebb761a81eb2f96fd1b5b2aa605f1', name: "age", type: "integer" }, "Age (18-120)"), index.h("smoothly-input-select", { key: 'b1292c78e537a0470392717463e72f5263a9fcdb', name: "country" }, index.h("span", { key: '5e7543f35219050cf2278c1675e239360bb02cb2', slot: "label" }, "Country"), TimeZone.Alpha2.values.map(country => (index.h("smoothly-item", { value: country }, en.from(country))))), index.h("smoothly-input-date", { key: '90a7bf1deb04d2a5b3069120c8f739c2e3ff353c', name: "birthday" }, "Date of birth"), index.h("smoothly-input-reset", { key: 'a4def9e7f5490c60a551615648f0150c662542b7', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'cfe2f21d200097b1ecb65e680c179a5602c95b5b', slot: "submit", size: "icon", color: "success" }))));
|
|
8554
8555
|
}
|
|
8555
8556
|
};
|
|
8556
8557
|
SmoothlyFormDemoTyped.style = SmoothlyFormDemoTypedStyle0;
|
|
@@ -8648,7 +8649,7 @@ const SmoothlyIcon = class {
|
|
|
8648
8649
|
}
|
|
8649
8650
|
render() {
|
|
8650
8651
|
var _a;
|
|
8651
|
-
return index.h(index.Host, { key: '
|
|
8652
|
+
return index.h(index.Host, { key: '61cc062ccd91964eead610a03cf88160052b9ab3', innerHTML: this.document, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
8652
8653
|
}
|
|
8653
8654
|
static get watchers() { return {
|
|
8654
8655
|
"name": ["nameChanged"]
|
|
@@ -8668,7 +8669,7 @@ const SmoothlyIconDemo = class {
|
|
|
8668
8669
|
this.props = {};
|
|
8669
8670
|
}
|
|
8670
8671
|
render() {
|
|
8671
|
-
return (index.h(index.Host, { key: '
|
|
8672
|
+
return (index.h(index.Host, { key: 'd271babf08fc90d059b4db8dc7abe22d831eddc6' }, index.h("h2", { key: '80c2a150f78f9c9f73d8f5547df3ff3fe1f0b45a' }, "Filter and Variants"), index.h("smoothly-form", { key: 'a02db91045869b8804f11f4ae4b8d3cc7f967125', onSmoothlyFormInput: e => (this.display = e.detail) }, index.h("smoothly-input", { key: '4175f8cf6cc7bb2fde406a6c15df2892807fbed9', name: "filter" }, "Filter"), index.h("smoothly-input-select", { key: '0bfbf3dd05edbed718e511592c93905f5cce42af', name: "variant" }, index.h("span", { key: '6d320756014d8fe4749631c000fa0fe5f3a89c4a', slot: "label" }, "Variant"), index.h("smoothly-item", { key: '49d0a53e3c12d6b927275990f4f020c8741f0297', value: "outline" }, "outline"), index.h("smoothly-item", { key: '485fdb59ee1dfcf92cfed9f98144608f09b1cdf3', value: "sharp" }, "sharp"), index.h("smoothly-input-clear", { key: 'c1e1bcddd92cbf5f161dc263ba630d7045de55be', slot: "end" }))), index.h("h2", { key: '5357f02111cfa6c739ec756eb1027a04cf58e68e' }, "Props"), index.h("smoothly-form", { key: '0da38aebdd75727a26e85da411cc3aa73c5d88db', onSmoothlyFormInput: e => (this.props = e.detail) }, index.h("smoothly-input-select", { key: '1eb36164c48eb8ac8594322cc0dfbf370debc8fc', name: "color" }, index.h("span", { key: '11fa5e8777ebb1db6e977221ebe58f8d7005ffd5', slot: "label" }, "Color"), Scrollable.Color.types.map(color => (index.h("smoothly-item", { value: color, color: color }, color))), index.h("smoothly-input-clear", { key: '8fb6d9efb188b969b6efcea752e12020d577bd4c', slot: "end" })), index.h("smoothly-input-select", { key: '3e28cbbed1e7b4a73482ba11af5d5dfded150a32', name: "flip" }, index.h("span", { key: '5a3e7a13784790f840194a6631166798df15cdac', slot: "label" }, "Flip"), index.h("smoothly-item", { key: '0226636120e44875002601e4c976ced3111e00ea', value: "x" }, "x"), index.h("smoothly-item", { key: '79d583a09a40c5765c57efb26fd5ef500088562a', value: "y" }, "y"), index.h("smoothly-input-clear", { key: '00c4155c9f8dbafd12fb49339eb29b7b27a78a73', slot: "end" })), index.h("smoothly-input-select", { key: 'f6a1deec85622c01e90c04b02faafb3ddf8e78af', name: "size" }, index.h("span", { key: '7ee9ab0b92bb555a57a711213dbd935863c682aa', slot: "label" }, "Size"), index.h("smoothly-item", { key: '0c4c9991b544377cae41891a89a388d9f3571d42', value: "tiny" }, "tiny"), index.h("smoothly-item", { key: '3c8191fcb9243ad0d1aee9821c4ada823f0b84ab', value: "small" }, "small"), index.h("smoothly-item", { key: '8141454aca71916eb6474c3ef67c8168338b6d2a', value: "medium" }, "medium"), index.h("smoothly-item", { key: 'b5c996bd2b3dc872bb2f8a66407968b140b99b43', value: "large" }, "large"), index.h("smoothly-input-clear", { key: '74762e8d3174c98594abfd990d0b7cbdc74979eb', slot: "end" })), index.h("smoothly-input-range", { key: '6aec00e81106477b79c4594640faed4a4783dc7e', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", index.h("smoothly-input-clear", { key: '0e601082ac6d03ee63a59fab980b911da629e436', slot: "end" }))), index.h("h1", { key: '0f9c760ffea77581c78f981348fe8bd2d1204492' }, "Icons"), index.h("div", { key: '3e2b452c22eee90fe19b38dadd8313c554a7a2b9', class: "icons" }, [
|
|
8672
8673
|
...Scrollable.Icon.Name.values
|
|
8673
8674
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
8674
8675
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -9042,7 +9043,7 @@ const SmoothlyInput = class {
|
|
|
9042
9043
|
}
|
|
9043
9044
|
render() {
|
|
9044
9045
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
9045
|
-
return (index.h(index.Host, { key: '
|
|
9046
|
+
return (index.h(index.Host, { key: '2081a74bf6be0577f1117d3a24ac0cd172fbd2fc', 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: 'cd80fb8059ecf0d717e2d28d0b0e78222233f071', name: "start" }), index.h("div", { key: 'eb393a5144fba9cfbfe89f708dfdf499239a6f01' }, index.h("div", { key: '64f8755696e7aa49cd394ea84e2ea7ff0335c1c9', class: "ghost" }, index.h("div", { key: '1ce701d35eedfbeb594df10a9a9800ab7ee668e9', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), index.h("div", { key: '113993f0c4da58f1d98e991232425faab4f72145', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), index.h("input", { key: '5dc2888b742e7109bc3de6a2a57364cf1dc70a41', 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 => {
|
|
9046
9047
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
9047
9048
|
if (event.key == "Enter")
|
|
9048
9049
|
this.smoothlyBlur.emit();
|
|
@@ -9055,7 +9056,7 @@ const SmoothlyInput = class {
|
|
|
9055
9056
|
if (Deep.notEqual(lastValue, this.stateHandler.getValue(this.state)))
|
|
9056
9057
|
this.smoothlyChange.emit({ [this.name]: this.stateHandler.getValue(this.state) });
|
|
9057
9058
|
}
|
|
9058
|
-
} }), index.h("label", { key: '
|
|
9059
|
+
} }), index.h("label", { key: '61f058ae3ba0a9cf40212284c8f8788e37ed3e55', class: "label float-on-focus", htmlFor: this.name }, index.h("slot", { key: 'd829477221afec32e766b59e4aa4bdac9e6c9540' })), index.h("smoothly-icon", { key: 'b9c4b0ad7664c2f386b113e92072eb0224746ab7', name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage })), index.h("slot", { key: '96b1f1f375b1442690c903fd7dcbf637f3300d32', name: "end" })));
|
|
9059
9060
|
}
|
|
9060
9061
|
get element() { return index.getElement(this); }
|
|
9061
9062
|
static get watchers() { return {
|
|
@@ -9136,7 +9137,7 @@ const SmoothlyInputCheckbox = class {
|
|
|
9136
9137
|
!this.disabled && !this.readonly && (this.checked = !this.checked);
|
|
9137
9138
|
}
|
|
9138
9139
|
render() {
|
|
9139
|
-
return (index.h(index.Host, { key: '
|
|
9140
|
+
return (index.h(index.Host, { key: 'faf6b5b6ab0bf4eec833ee7404b79a26b7f0d231', onMouseDown: (e) => (this.mouseDownPosition = { x: e.clientX, y: e.clientY }), onMouseUp: (e) => { var _a; return ((_a = this.mouseDownPosition) === null || _a === void 0 ? void 0 : _a.x) == e.clientX && this.mouseDownPosition.y == e.clientY && this.click(); } }, index.h("input", { key: '0f1c6fcb3a8b4cb8e7aaa90d3963cb7ca5c74ee4', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: 'f66f42f169efd52552ce769d930e45c6b58d58e0', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: '27242f86ab849777cd3bc31f70ed42d138c0ce5c' }, index.h("slot", { key: 'f7d4cce333e657972b7a0610b66d5980de00318a' }))));
|
|
9140
9141
|
}
|
|
9141
9142
|
get element() { return index.getElement(this); }
|
|
9142
9143
|
static get watchers() { return {
|
|
@@ -9186,7 +9187,7 @@ const SmoothlyInputClear = class {
|
|
|
9186
9187
|
}
|
|
9187
9188
|
render() {
|
|
9188
9189
|
var _a;
|
|
9189
|
-
return (index.h(index.Host, { key: '
|
|
9190
|
+
return (index.h(index.Host, { key: '7bb322fb319af1b6a2fb1da1cdb24ea862632a7b', title: this.tooltip }, index.h("smoothly-button", { key: '8bb682ea233a93e79655eb56c5f1062663da8f6b', 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: 'ec40b26c5cdeeb3ea6d15125132b4eac7ed7e262' }), index.h("smoothly-icon", { key: '82c94ae2ac49414d95679167da83246d5b2eb6c8', name: "close", size: "tiny" }))));
|
|
9190
9191
|
}
|
|
9191
9192
|
};
|
|
9192
9193
|
SmoothlyInputClear.style = SmoothlyInputClearStyle0;
|
|
@@ -9336,7 +9337,7 @@ const SmoothlyInputColor = class {
|
|
|
9336
9337
|
}
|
|
9337
9338
|
render() {
|
|
9338
9339
|
var _a, _b, _c, _d, _e, _f;
|
|
9339
|
-
return (index.h(index.Host, { key: '
|
|
9340
|
+
return (index.h(index.Host, { key: 'bfabfb0cb6364a367ad580aaff7b2c0420cf5f08', style: {
|
|
9340
9341
|
"--hexCode": this.value,
|
|
9341
9342
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
9342
9343
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -9345,7 +9346,7 @@ const SmoothlyInputColor = class {
|
|
|
9345
9346
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
9346
9347
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
9347
9348
|
"--element-height": `${this.element.clientHeight}px`,
|
|
9348
|
-
} }, index.h("smoothly-input", { key: '
|
|
9349
|
+
} }, index.h("smoothly-input", { key: '9fb2d7aa842ebd640eae7dbe27339e037c366b83', value: this.value, name: this.name, looks: undefined, color: this.color, type: "hex-color", showLabel: this.showLabel, readonly: this.readonly, onSmoothlyInput: event => (event === null || event === void 0 ? void 0 : event.stopPropagation(), this.hexInputHandler(event.detail[this.name])) }, index.h("slot", { key: 'eacce508c9a2f44c439415e81d244edf2975de91' })), index.h("div", { key: '17ae45b18912cd75a2c8dadb5fd93842111a4f1d', class: "color-sample" }), index.h("smoothly-icon", { key: '5fabb3740559c54658fc6d38eff4cacb29d93dcb', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && this.openDropdown() }), index.h("div", { key: 'efd9a4fefb05a94d609cdca1ddd18b1d3e9f9c7a' }, index.h("slot", { key: 'e6b44bab5c837ce28099dab850ddbbcdfe56c86c', name: "end" })), this.open && !this.readonly && (index.h("div", { key: '59d3c24f446c902eedca8255c038237b504a6f9d', class: "rgb-sliders" }, index.h("smoothly-toggle-switch", { key: 'a3c52f89ac41e03a5fda0fc5953a9ceaacc441f2', 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), 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), label: key.toUpperCase() })))))));
|
|
9349
9350
|
}
|
|
9350
9351
|
get element() { return index.getElement(this); }
|
|
9351
9352
|
static get watchers() { return {
|
|
@@ -9359,7 +9360,7 @@ const SmoothlyInputColorDemo = class {
|
|
|
9359
9360
|
index.registerInstance(this, hostRef);
|
|
9360
9361
|
}
|
|
9361
9362
|
render() {
|
|
9362
|
-
return (index.h(index.Host, { key: '
|
|
9363
|
+
return (index.h(index.Host, { key: '32b690c4dd7460549299e38a5da3fb06d93044ed' }, index.h("h2", { key: 'f2a1c4bfce5ab9ae0cb568c37184776882678a08' }, "Color"), index.h("smoothly-input-color", { key: '97265d41ebcf18e1d9282d90898b325c7b807e56', name: "color" }, "Choose color")));
|
|
9363
9364
|
}
|
|
9364
9365
|
};
|
|
9365
9366
|
SmoothlyInputColorDemo.style = "style.css";
|
|
@@ -9451,13 +9452,13 @@ const SmoothlyInputDate = class {
|
|
|
9451
9452
|
event.stopPropagation();
|
|
9452
9453
|
}
|
|
9453
9454
|
render() {
|
|
9454
|
-
return (index.h(index.Host, { key: '
|
|
9455
|
+
return (index.h(index.Host, { key: '8b86488d54657388e8b6f69192d4f5645da29f4d' }, index.h("smoothly-input", { key: '80c2c4adc2eedd8c5b6abb6e84a31443e4ff01a4', 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 => {
|
|
9455
9456
|
e.stopPropagation();
|
|
9456
9457
|
this.value = e.detail[this.name];
|
|
9457
|
-
} }, index.h("slot", { key: '
|
|
9458
|
+
} }, index.h("slot", { key: '20e4799b82df63a172fcbc3bfe4cf7d024ca7f18' })), index.h("span", { key: 'fd1f3a5504000a5e9f748eab102f6c748a731a68', class: "icons" }, index.h("slot", { key: '08948707c27109c9e069015fe704a690524d0658', name: "end" })), this.open && !this.readonly && (index.h("nav", { key: 'ab56c5ef29ddbc708adf77eb38209104a23332e5' }, index.h("smoothly-calendar", { key: '54f4b90f744ce92327709381cf3104a9135beb59', doubleInput: false, value: this.value, onSmoothlyValueChange: event => {
|
|
9458
9459
|
this.value = event.detail;
|
|
9459
9460
|
event.stopPropagation();
|
|
9460
|
-
}, max: this.max, min: this.min }, index.h("div", { key: '
|
|
9461
|
+
}, max: this.max, min: this.min }, index.h("div", { key: '0ec760d8f6d993ef2e16d4a99185f11ecdeeaebf', slot: "year-label" }, index.h("slot", { key: '92375a5c20ef54090efb072c79498f6f01cb3207', name: "year-label" })), index.h("div", { key: '5f82b94081486262f2287ae8264ca4627dfc283c', slot: "month-label" }, index.h("slot", { key: 'e0779749e3bf137d15aa2e3677484f253f971394', name: "month-label" })))))));
|
|
9461
9462
|
}
|
|
9462
9463
|
get element() { return index.getElement(this); }
|
|
9463
9464
|
static get watchers() { return {
|
|
@@ -9563,12 +9564,12 @@ const SmoothlyInputDateRange = class {
|
|
|
9563
9564
|
}
|
|
9564
9565
|
render() {
|
|
9565
9566
|
const locale = navigator.language;
|
|
9566
|
-
return (index.h(index.Host, { key: '
|
|
9567
|
+
return (index.h(index.Host, { key: '27dc018890c8d7e8145deab7d1ad2e7e3087a4d0', tabindex: 0 }, index.h("section", { key: 'bf9fdb018d5061d79f7ae91023466825144cfaf4', onClick: () => !this.readonly && (this.open = !this.open) }, index.h("smoothly-input", { key: 'ed4b858aaf9d93a93b8aa218ce0a29084a37de9c', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
|
|
9567
9568
|
? `${format(this.start, "date", locale)} — ${format(this.end, "date", locale)}`
|
|
9568
9569
|
: undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
|
|
9569
9570
|
e.stopPropagation();
|
|
9570
9571
|
this.inputHandler(e.detail);
|
|
9571
|
-
} }, index.h("slot", { key: '
|
|
9572
|
+
} }, index.h("slot", { key: 'c2456ec3e2e79837c855e0d617311f76d741d09b' }))), index.h("span", { key: 'e07805ee0d9e709eefee9a4f2fc6ec391538464d', class: "icons" }, index.h("slot", { key: '6590c6a40ddd12cb18886d35b67dd7143e5f8891', name: "end" })), this.open && (index.h("nav", { key: '127ada4b281a9945eefded63ab8e878b1356d807' }, index.h("smoothly-calendar", { key: 'd5749b90c9f78505a37311d762bd99bd039980fb', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
|
|
9572
9573
|
e.stopPropagation();
|
|
9573
9574
|
this.start = e.detail;
|
|
9574
9575
|
}, onSmoothlyEndChange: e => {
|
|
@@ -9599,17 +9600,17 @@ const SmoothlyInputDemo = class {
|
|
|
9599
9600
|
this.alphanumeric = "!@##";
|
|
9600
9601
|
}
|
|
9601
9602
|
render() {
|
|
9602
|
-
return (index.h(index.Host, { key: '
|
|
9603
|
+
return (index.h(index.Host, { key: '45d876a84adb21d0291e507d75c98a34e245bae1' }, index.h("smoothly-input-demo-standard", { key: '16b4efe4bf9ce4cab767abde418c9475f39c07e6' }), index.h("div", { key: '456df927db12dd6155230497db1a18744eea9071', class: "inputs" }, index.h("h2", { key: 'afa11b76643c5d38c4504533764882e14d7c2021' }, "Calendar"), index.h("smoothly-input-date", { key: '197aeba701d9212d1ab5e2aefd6ec6e7a044b712', name: "some-date" }, "Calendar"), index.h("h2", { key: '9798bc7d87dd4230607124b44b44949a20146afc' }, "Date Range"), index.h("smoothly-input-date-range", { key: '94578e52eb50923c8133d93d694a155c87f5fbf8', 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: '1e96bb6c94fb3bb317b8bf3dced22de39752498e', 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: '504540317c63eb41b0ddd7486fb04906e67f2c16', slot: "end", size: "icon" })), index.h("smoothly-input-date-range", { key: '98b5ad4e2292332df7f80358ba9fd8d81ca06c17', looks: "grid", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
9603
9604
|
"--smoothly-input-border-radius": "0.5rem",
|
|
9604
|
-
} }, index.h("smoothly-input-clear", { key: '
|
|
9605
|
+
} }, index.h("smoothly-input-clear", { key: 'c3e320f9691a8bc94892b255ade54478ea168ba1', slot: "end", size: "icon" })), index.h("h2", { key: '18f4ccaa84069d1f35cbc527bf16b4d19b7d6740' }, "Date"), index.h("smoothly-input-date", { key: 'eb41b2588fb53ae7efe0a1bc0a2ae02df7ac2b23' }, "Date"), index.h("smoothly-input-date", { key: '8b1aa0fe4c3ce6df32d39bb74354cb5d91e4cbe9', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), index.h("smoothly-input-date", { key: '979c0d7255ee9e07decafac7d254418febf65658', value: "2021-10-28" }, "Date", index.h("smoothly-input-reset", { key: '76a94f4c2bfdedab350fdffd91e5e476b0175ae3', slot: "end", size: "icon" })), index.h("smoothly-input-date", { key: '9be7b95ec68a988dbedcf1f59b65580588648c7e', value: "2021-10-28" }, "Date", index.h("smoothly-input-clear", { key: 'f7504782876de6185bcc79cf783a8fe7b98cb549', slot: "end", size: "icon" })), index.h("h2", { key: '3a0973234d9ac25836a715c81df129e0ad3ad37f' }, "Select"), index.h("div", { key: '4f0340883b64ad65c265c3dc5d29587369fc7dfb', class: "select-div" }, index.h("smoothly-input-select", { key: '10969d77083f28f2b12000366a5962d96f1bf849', name: "select-dessert", looks: "border" }, index.h("label", { key: '2c653456ff8f9fd3a87b262ef71b590f172c471e', slot: "label" }, "Select with clear button"), index.h("smoothly-item", { key: '46dd6cdc25b1dfae027635a0b3015e43f6d2878f', value: "1" }, "Ice cream"), index.h("smoothly-item", { key: 'c11274fe1700acbc9c5c33cad6529d6a122139dc', value: "2" }, "Sponge cake"), index.h("smoothly-item", { key: 'f1d5905d3c0cd636e89dee3a8d840320fd71ee80', value: "3" }, "Cookie"), index.h("smoothly-item", { key: 'c53b070e0ab7884fc69275f06596b5745978e910', value: "4" }, "Croissant"), index.h("smoothly-item", { key: '36ae534d31120ca947763f1c6b155101104a97bd', value: "5" }, "Chocolate fondue"), index.h("smoothly-input-clear", { key: '86d5f2599981381dc196816e4f11fd9515e44f41', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: 'c7f6268322db571e2ec693788d5b2c35c33fa786', multiple: true, name: "select-dessert-multiple", looks: "border" }, index.h("label", { key: '70c564d21f49b5ccd96fd3a9d870da2ae2e75557', slot: "label" }, "Select multiple with reset button"), index.h("smoothly-item", { key: '789b5d9c4fa6c415dbfae4515396e7f567b59c98', value: "ice cream" }, "Ice cream"), index.h("smoothly-item", { key: '71bcd00cb118bd50a466162993989e3fbd5a6354', value: "sponge cake" }, "Sponge cake"), index.h("smoothly-item", { key: '7ea430156ec346e59c74972904b2c3ac6c25735e', selected: true, value: "cookie" }, "Cookie"), index.h("smoothly-item", { key: 'a76b2c4923f730340093006b3a95b5383db29f0f', value: "croissant" }, "Croissant"), index.h("smoothly-item", { key: '09e6d0a3f2aa8ef2b1d0af9dc975e68e6f7fcb2f', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), index.h("smoothly-input-reset", { key: 'd12503973564a3dd906214209a413ba35599d974', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: '36322f82ee3c4a5fdb52157d7c80edff03f2f6f1', name: "spirit-animals", looks: "border", mutable: true }, index.h("label", { key: 'bd284222ea57418c09ee55e37c013f2fa77636e2', slot: "label" }, "Select or add new options"), index.h("smoothly-item", { key: '587ec3f9eb650fa9f7b693687d188be450605669', value: "manatee" }, "Manatee"), index.h("smoothly-item", { key: 'afc72e2025c7ab491f5b792329b00ebb633681e5', selected: true, value: "cthulu" }, "Cthulu")), index.h("smoothly-input-select", { key: 'a449e76b493045c893ff6d20848b44416fb698af', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: '9a14e0ce1733fc4b3d86f10c2b45f52d6e372bf6', value: "folder", selected: true }, index.h("smoothly-icon", { key: 'f58ce43ecfcb6863052c6302513c0c113e13c074', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: 'fbfd64ede3b76bb7c0ad0775c257d3f9006efb7d', value: "camera" }, index.h("smoothly-icon", { key: '600cb76b3fded1923df8e9797addbe5801e1ee9a', size: "small", name: "camera-outline" }))), index.h("smoothly-input-select", { key: 'b5e86cfa6210481b2bd4c1171ba71f19f326d391', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: 'c6d4e7901e4f0da5c1f889cf1c81fc49b040777f', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
9605
9606
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
9606
|
-
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: '
|
|
9607
|
+
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: '16862fd74a850873d4d094365a00f2eac36086dd', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '937e851b80d06e8d3b9b0e9fd381d9c0349e7385', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: '3d227a817b2824c4b1f204fd671ccbe98c1c21a2', value: "1" }, "January"), index.h("smoothly-item", { key: '1e0fb723814aa1c6437543a2464f38f279ceef40', value: "2" }, "February"), index.h("smoothly-item", { key: '9709969f5373affae2dd1bc3d6f3564e7103f002', value: "3" }, "March"), index.h("smoothly-item", { key: 'dbe741500b2f19e346cfbc6b66bf44f5b151a8c8', value: "4" }, "April"), index.h("smoothly-item", { key: '07ff330954c255975db4dbc745cf187ed2f65d84', value: "5" }, "May"), index.h("smoothly-item", { key: 'fe531ab3dac3085d671dcbe2a79ae84f6cc1a5bf', value: "6" }, "June"), index.h("smoothly-item", { key: 'b89b2b1c6cefb1177caa53945d71737ddf3c0207', value: "7" }, "July"), index.h("smoothly-item", { key: '987e87174bdf424d244850d36563c8d003369847', value: "8" }, "August"), index.h("smoothly-item", { key: '5fc0fdc4b5a7fa5fe963e079c78e6e0b0986eb48', value: "9" }, "September"), index.h("smoothly-item", { key: 'b853ce420e91173007c0307e34f59cc17537368a', value: "10" }, "October"), index.h("smoothly-item", { key: '70d74d55773802d228419116172e65ef2949e1f8', value: "11" }, "November"), index.h("smoothly-item", { key: '43cea0f2a57d291703c0c727a6addae322a776fd', value: "12" }, "December"))), index.h("h2", { key: 'd0d6d95cb4eb3e1457fc8f7094d5fe2860a34e1f' }, "Duration"), index.h("smoothly-input", { key: 'cafe6f776e1865e6ee5f4553a13b7e2cc265f852', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => {
|
|
9607
9608
|
const duration = e.detail.duration;
|
|
9608
9609
|
this.duration = duration;
|
|
9609
|
-
} }, "Duration"), index.h("smoothly-input", { key: '
|
|
9610
|
+
} }, "Duration"), index.h("smoothly-input", { key: '17be7c32f4e12254ad7958d7887170a1080289f7', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
9610
9611
|
const duration = e.detail.duration;
|
|
9611
9612
|
this.duration = duration;
|
|
9612
|
-
} }, "Duration"), index.h("h2", { key: '
|
|
9613
|
+
} }, "Duration"), index.h("h2", { key: '8813e27ef8a826c4a2b3f1b6e4e9220ceef27e68' }, "Invalid text with warning icon and tooltip"), index.h("smoothly-input", { key: '7e157d862f37c77c609dc9497141ca1148cc89ee', 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: 'c4e7a69935914e657d61411739bbba893e093968' }, "Identifiers"), index.h("smoothly-input", { key: '27048a5bdcd7d4254bafb54d80bcf0bf3555db81', type: "identifier-code" }, "Code"), index.h("smoothly-input", { key: '87c0d7c72551176e387a286932506a15be1ad249', type: "identifier-attribute" }, "Attribute"), index.h("smoothly-input", { key: '410e405637554b7c79d93e66691b11490ed605bd', type: "identifier-snake" }, "Snake"), index.h("smoothly-input", { key: 'ed5079bbee4cda88f40c30d068ac024faf37ff91', type: "identifier-pascal" }, "Pascal"), index.h("smoothly-input", { key: '0c6154d7840f7d5a343dc68e06bf83ae72c54ca9', type: "identifier-camel" }, "Camel"), index.h("h2", { key: '2771a8ca39782d11fab286fcb65b867c0286f45a' }, "Input Alternatives"), index.h("smoothly-input", { key: 'ace3e3a84d1facb340e8c5ddb01c26f602968639', type: "text", name: "name.last", onSmoothlyChange: e => console.log("smoothly change event") }, index.h("smoothly-icon", { key: 'ce6af347f6575b124b9b9d85bd02a13b85952a20', name: "checkmark-circle", slot: "start" }), "First Name"), index.h("smoothly-input", { key: 'c95173bd3d21e9cd7c3647ea11704477c6c3beac', type: "text", name: "name.first", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", index.h("smoothly-icon", { key: '6f376745f55be6313e0fed61f88edd794ecf6034', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: '00a544d3585f9182c8e69f3cb1a103e7e962afa2', type: "text", name: "name.first", placeholder: "Smith", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", index.h("smoothly-icon", { key: 'ea1b82aaa7211dae9589b5787c4b1a7b514b8804', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: '80ecbd1fab6e742af5c45d7eeda8e82ac57f2a50', placeholder: "test" }), index.h("smoothly-input-submit", { key: 'f8efd49b66f1fdda88abecdb861544af96f3be22', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), index.h("h4", { key: 'a32d6eed0e38bb61824ed6770c89690a8ec304f7' }, "Smoothly checkboxes"), index.h("div", { key: 'd6765a03ee964713d33dafe7101f3944f8a87c89', class: "checkbox-group" }, index.h("smoothly-input-checkbox", { key: '22a994ef413c7daf2755dcd58f6801e39b9011cf', disabled: true, name: "first-checkbox" }, index.h("smoothly-icon", { key: 'a17a92b4b844b6fcbfa078e5ce7628d1a06177ad', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), index.h("smoothly-input-checkbox", { key: 'dbb134399456e3214b5108bab40a31b5c9ba7d4b', name: "second-checkbox", checked: true }, index.h("smoothly-icon", { key: '6670e21d997952d04e3c1b772800e1ff37d0819f', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", index.h("smoothly-input-clear", { key: 'a7580f0e29239604403b1baab6fdc72fb67a0c17', size: "icon", slot: "end" })), index.h("smoothly-input-checkbox", { key: '2c2c505ee8085c1581bbd7c89e057d963c1ae393', name: "third-checkbox" }, "3rd")), index.h("h4", { key: '827b1070f1cd62e1059ebebd1325dca037f7b649' }, "Smoothly Radio Buttons"), index.h("smoothly-input-radio", { key: '072e0eb8354773a26ada02942b832086670d1ac5', clearable: true, name: "radioFirstInput" }, index.h("smoothly-icon", { key: 'fd636989ea41124dd7c635d847dacb6963300dbd', name: "checkmark-circle", slot: "start" }), index.h("label", { key: 'dee55d551b2d3a7ab2d19c52e0f263c91b943ca7', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '9bf269d4ecbe875330b1e524b1676421f7abe405', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '7d45cf02303833971971bc478d325fa5da620e6b', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '1289212d68348cf167de9bd1868ca0fc93f26d4f', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '806f9888175db03b6e150605877d52ee70f1a5f5', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: 'a56240825efef2cbe63ddb3d5880d699b6b35e0e', name: "radioSecondInput" }, index.h("label", { key: 'bfc81c30b70f9522737364fcf563b053cf114e15', slot: "label" }, "Not clearable"), index.h("smoothly-input-radio-item", { key: 'abc6805ce48dffd368ed7b639eb86b3fce5cce21', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '88dfb557ed1aed288f40353a900bc404364dc7bf', value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '54f6440c82947c146785299f1f14f1fb4e197d86', value: "third" }, "Label 3"), index.h("smoothly-input-radio-item", { key: '905278887964aa51a4c237ffdd3e9c70bc2f0497', value: "fourth" }, "Label 4"), index.h("smoothly-input-radio-item", { key: 'f5a53e4b02d3fcbaccb9d7eac3cb3308b8a19db1', value: "fifth" }, "Label 5"), index.h("smoothly-input-radio-item", { key: 'd29681b24c56db5ca50f8f78c73d7faee68b944e', value: "sixth" }, "Label 6")), index.h("smoothly-input-range-demo", { key: '544ca889f35883c24e027bbf7282860e5b6cff28' }), index.h("smoothly-input-color-demo", { key: '306ce7a9603429c5f42bc7787db356d9e372281a' }), index.h("smoothly-input-price-demo", { key: '447e3ce8b8fb1e211ad8be0a92ea33200f3e945e' }), index.h("smoothly-back-to-top", { key: '081f592e35f68264a60da244ebbbd25f7fc256b0' }))));
|
|
9613
9614
|
}
|
|
9614
9615
|
};
|
|
9615
9616
|
SmoothlyInputDemo.style = SmoothlyInputDemoStyle0;
|
|
@@ -9638,7 +9639,7 @@ const SmoothlyInputDemoStandard = class {
|
|
|
9638
9639
|
}
|
|
9639
9640
|
render() {
|
|
9640
9641
|
const placeholder = this.options.placeholder ? "placeholder" : undefined;
|
|
9641
|
-
return (index.h(index.Host, { key: '
|
|
9642
|
+
return (index.h(index.Host, { key: '5264c1c9cf0f92f86ff0d368522287f8580122c2', class: { vertical: !!this.options.vertical } }, index.h("div", { key: 'ffafa5f6546434d2287a1f07469a8e251e9cde9f', class: "description" }, index.h("h2", { key: 'bccc24c712d54c8b6efc2308a8ac73c9f6fda677' }, "Input Standard"), index.h("p", { key: '4955d39f7be77b2c88ba56d759d386a8f389b797' }, "Height of input should be ", index.h("code", { key: '2cba3f4631613cf6c1892c678cf3b6d2489c610a' }, "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: '1ede0f00d2816bb598704f5ad828a95410fffb1e', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index.h("smoothly-input-select", { key: '0d7dfc6ef6b3df8c79f863b4c4849d6eea0cf4d8', name: "looks" }, index.h("span", { key: '3815a6dfb52bcdc791082f5c7aa6dab4ccca9047', slot: "label" }, "Looks"), Looks.types.map(l => (index.h("smoothly-item", { value: l }, l)))), index.h("smoothly-input-checkbox", { key: '1849cc0bfa3811add3bba272ce7eb36932b5f4ab', name: "readonly" }, "Readonly"), index.h("smoothly-input-select", { key: '37de4eaca616147ea628e0005e1066b0db500853', name: "color" }, index.h("span", { key: '135dac6d13c87b5a70e76fcca9ecea2187bb6012', slot: "label" }, "Color"), Scrollable.Color.types.map(c => (index.h("smoothly-item", { value: c }, index.h("span", { color: c }, c)))), index.h("smoothly-input-clear", { key: '87af07afc6a4a46c8cc785d477a333745e843e53', slot: "end" })), index.h("smoothly-input-checkbox", { key: '1d58c89cb01bcc24a928495ca511c38856c0215d', name: "vertical" }, "Vertical Layout"), index.h("smoothly-input-checkbox", { key: 'f6fbabb433bd48583aebca2d12ccb47f819dbb98', name: "showLabel", checked: this.options.showLabel }, "Show Label"), index.h("smoothly-input-checkbox", { key: '78b1007ac65662cdc82794bf4319267a3cb230a4', name: "placeholder", checked: this.options.placeholder }, "Placeholder"), index.h("smoothly-input-range", { key: '0d67c1750a475010c2f555c6d7ffa56f9b616843', label: "Border Radius (rem)", name: "borderRadius", value: this.options.borderRadius, min: 0, max: 2, step: 0.25 }))), index.h("div", { key: '4ff5e67eb421082c3010756b918ab8788dbbd81e', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index.h("div", { key: '09fcde40dd103c81c550ca71bd96e522c840ca4c', class: "width" }, "100%"), index.h("div", { key: 'd5a14854ee79918e0857d533e37221c5ee088d4d', class: "left-padding" }, "0.5rem - left padding"), index.h("smoothly-input", { key: 'a126b8db655f22b7daf861eece15b3f031cbc605', name: "text", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '33f2cc7f357a3846ccbcaa75201ae42aa369fe1c' }, "Text"), index.h("smoothly-input-clear", { key: '7b06802ce6ec1cf6e66464454f7e2c08c5509cea', slot: "end" })), index.h("div", { key: '74036c4691e7dec9f203a6a36987cec8644b7b17', class: "height" }), index.h("smoothly-input-select", { key: 'd24c977332de2ac0d09e08736dbe68c54fe82f42', name: "month", looks: this.options.looks, placeholder: placeholder, readonly: this.options.readonly, color: this.options.color }, this.options.showLabel && index.h("label", { key: '5413660ea9e0d9779811ce432ea958cd83d9ebed', slot: "label" }, "Select"), index.h("smoothly-item", { key: '2ac5c27083962fa8e1a25c5d15d3843a34d02b41', value: "1" }, "January"), index.h("smoothly-item", { key: '521a8845b6f331ddf040ee52c1f7724fd94f64d3', value: "2" }, "February"), index.h("smoothly-item", { key: '637195be2eb8ebe0faf80b7fb1c5d3860d33df80', value: "3" }, "March"), index.h("smoothly-item", { key: '2527e90e5171d97f3bc8b072d03d561c021188bc', value: "4" }, "April"), index.h("smoothly-item", { key: '5ba652f3e666f2afba3a945bfc674af42fdff10b', value: "5" }, "May"), index.h("smoothly-item", { key: 'e8898598c2132dc1e3dc47bf8b34443d217fdb6d', value: "6" }, "June"), index.h("smoothly-item", { key: '8c1797ec614431add028845b98b32d264a36a036', value: "7" }, "July"), index.h("smoothly-item", { key: '62ac28227f5a066bb5073f1fd90b0b4b1efd3afa', value: "8" }, "August"), index.h("smoothly-item", { key: '70764eeca66cf56ca620cdb1d963d56defdbdb83', value: "9" }, "September"), index.h("smoothly-item", { key: '4d132d530b45db4f8829bfe2bf25afc13a38e158', value: "10" }, "October"), index.h("smoothly-item", { key: 'a4d1ef299f0da9db3bd9973c8452e037c0173305', value: "11" }, "November"), index.h("smoothly-item", { key: '9e72c334c00b4cdcc74fe00086b2a028e33b6408', value: "12" }, "December"), index.h("smoothly-input-clear", { key: '1cf2720994c6f70830425ca2066ad370502dbc65', slot: "end" })), index.h("div", { key: '7b2bd944723409bc21be49273dee40dbe88e8e69', class: "height" }), index.h("smoothly-input-checkbox", { key: '648dbe1784e117de725a16ba4f70b3c8310c415e', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, "Check"), index.h("div", { key: 'd83bdbe0e7deafdaf375fc92bed15185315f1120', class: "height" }), index.h("smoothly-input-radio", { key: '2d9a8f739f4177bbebb8a3c7f7e4d51accb4a269', name: "radio", clearable: true, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("label", { key: '8e7b75b87d6b097a2820c1f63fbff106c0b3cac2', slot: "label" }, "Radio"), index.h("smoothly-input-radio-item", { key: '84f9d894f3608bbf6f6fd18166f148142cd59460', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'f2a62709db12077c1e46d70737a2de14792cf4e0', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '805e4c62d987029192f924a6e305451abcb95feb', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '845398abbf6f72f30060b7e080b2e9d024ab2e45', slot: "end" })), index.h("div", { key: '9b32f05a7587f50d6f02d5606f275f8b636745d8', class: "height" }), index.h("smoothly-input-file", { key: '05d07fd09bc51cf12855458bfeacb0a9a6f661e9', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '696715b9f104cceb8b20b46f8ca0a1eefecc34b6', slot: "label" }, "File"), index.h("smoothly-input-clear", { key: '72d276a80a33794c9bcc3e8865ba2c9c2988f6cc', slot: "end" })), index.h("div", { key: '9dbed3e714e898e5c615b6f24ba5ecdc555c056c', class: "height" }), index.h("smoothly-input-range", { key: '7357abaf96f5b24b86b150735b9b0c944a642008', name: "range", label: this.options.showLabel ? "Range" : undefined, looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, index.h("smoothly-input-clear", { key: '87a942e9be397f8876a099313c67fe292e8f6a34', slot: "end" })), index.h("div", { key: 'f29eea42ea273adf8014fc721040994704c053fa', class: "height" }), index.h("smoothly-input-color", { key: 'b97507b13cb5d9d256466c08981980a8299bf999', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '31bcb93fc12b7d03b0aa0a731d769850ec9ae2ec' }, "Color"), index.h("smoothly-input-clear", { key: 'c12b3d0d204f98c05c27e3df8200bd88b13baae7', slot: "end" })), index.h("div", { key: '41543b5fae1c2e80c6e249f6d2927c56fc92687c', class: "height" }), index.h("smoothly-input-date", { key: '4ea99e2b45a8d67fb109177f828dbfcef5a0b97a', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: 'e570d7d9be3c0de7f94253d830fd1915c09f649c' }, "Date"), index.h("smoothly-input-clear", { key: 'adf60c1a6e47fd6bb04c44a00b485922148a7c59', slot: "end" })), index.h("div", { key: '8cf5257d16d031fb2f8b5da4f43b18d6ceb51bd5', class: "height" }), index.h("smoothly-input-date-range", { key: '9b658f7d3a95228035d1a431ef44ee4a7e9d7e4e', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '370a96c354d6e8cb3ef2b50f390deda2dca7e793' }, "Date Range"), index.h("smoothly-input-clear", { key: '1735d46c5dd3d104680cf0f44768a8d524c5c294', slot: "end" })), index.h("div", { key: '8bc4fbd1c76eaeaccecf66bb390332d908adaead', class: "height" }), index.h("div", { key: '999019f00da141e750ee11e5c891e5b85f10ce7d', class: { "guide-lines": true, "show-label": !!this.options.showLabel } }, this.options.showLabel ? "Aligned labels & values" : "Center values"))));
|
|
9642
9643
|
}
|
|
9643
9644
|
get element() { return index.getElement(this); }
|
|
9644
9645
|
};
|
|
@@ -9677,7 +9678,7 @@ const SmoothlyInputEdit = class {
|
|
|
9677
9678
|
}
|
|
9678
9679
|
render() {
|
|
9679
9680
|
var _a;
|
|
9680
|
-
return (index.h(index.Host, { key: '
|
|
9681
|
+
return (index.h(index.Host, { key: '21b58cd9091410ccd7e18bfd0e7ef4cbf7f8c496', title: this.toolTip }, index.h("smoothly-button", { key: '9adc403f9d4408ab31aa49235b04ece843f49d94', 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: '141483162e42d7d8ea60ada89c08e61e8fedc28d' }), index.h("smoothly-icon", { key: '2a09d27319264c6ea07b0a98876ad8840983f286', class: "default", name: "create-outline", size: "tiny" }))));
|
|
9681
9682
|
}
|
|
9682
9683
|
};
|
|
9683
9684
|
SmoothlyInputEdit.style = SmoothlyInputEditStyle0;
|
|
@@ -9791,7 +9792,7 @@ const SmoothlyInputFile = class {
|
|
|
9791
9792
|
}
|
|
9792
9793
|
render() {
|
|
9793
9794
|
var _a, _b, _c;
|
|
9794
|
-
return (index.h(index.Host, { key: '
|
|
9795
|
+
return (index.h(index.Host, { key: 'b39d3e741149d0b0e442b352e61b558cdc2bb13a', 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) }, index.h("label", { key: '475bd4fb9ff30dc19b9c518c76556c4f3bf1e2a7' }, index.h("slot", { key: 'e19aa48c27ec6240b01766013a5004d0b87bdc95', name: "label" })), index.h("div", { key: 'a6d5c0ecb60b1b66ecb346c33f417fefb7414278', class: "input" }, index.h("smoothly-button", { key: 'd7e74af6c6c97b9c545a9c8d4d638bee9cdb45a0', color: this.color, fill: "clear", size: "flexible" }, index.h("slot", { key: '3194230dd2b45a1a6f808f36e0a8eea187a69584', name: "button" })), index.h("span", { key: 'ce4913a9f28977541b85fe2efa8e173f28b102a2' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index.h("div", { key: '7d5c8206a2f424da4f3d042a2f21a2a2600b6dbf', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, index.h("smoothly-icon", { key: '12a26ab3030ff6c43252bb9b735964a89592fb94', name: "document-attach-outline" })), index.h("input", { key: '60b903e6e81a5e4447ea4c87b1316972a1ac5ceb', 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) })), index.h("div", { key: '554dbf6b985f049bf1edcd41d356ba3ad22eb254', class: "end", onClick: (e) => e.stopPropagation() }, index.h("slot", { key: '47f15c7c35b9753684db8dd60f851e1681ee60f1', name: "end" }))));
|
|
9795
9796
|
}
|
|
9796
9797
|
get element() { return index.getElement(this); }
|
|
9797
9798
|
static get watchers() { return {
|
|
@@ -9912,9 +9913,9 @@ const SmoothlyInputMonth = class {
|
|
|
9912
9913
|
}
|
|
9913
9914
|
render() {
|
|
9914
9915
|
var _a, _b;
|
|
9915
|
-
return (index.h(index.Host, { key: '
|
|
9916
|
+
return (index.h(index.Host, { key: '7e05d80ebe8162924f86140f2335b7581c719a1b' }, index.h("smoothly-icon", { key: '2c74fc9ba9e3b9ae40d15f18ec1503270c153bfb', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
9916
9917
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
9917
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: '
|
|
9918
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: '60babf60bf9354c30c4745750259f7b5bf6835f0', 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 }, index.h("div", { key: '424585680e3e999dc2817dea33be756d350a2d02', slot: "label" }, index.h("slot", { key: 'b658f5a779d57cf7731ba90fea7bf1ae5407e107', 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: '10a65c08cb5534b9aa34c4b22e933ec13c48c5ac', 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 }, index.h("div", { key: 'd2d7f290030344d7ebc4ceed10492c9d4fdd45fa', slot: "label" }, index.h("slot", { key: '45b5a1a76f3e832f3455f717f57d09bdda313af4', 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: '432fdd7e4c46f6694bb7e6461a634bc37053689b', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
9918
9919
|
disabled: this.readonly || !this.allowNextMonth,
|
|
9919
9920
|
}, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
9920
9921
|
}
|
|
@@ -9937,7 +9938,7 @@ const SmoothlyInputPriceDemo = class {
|
|
|
9937
9938
|
this.currency = "USD";
|
|
9938
9939
|
}
|
|
9939
9940
|
render() {
|
|
9940
|
-
return (index.h(index.Host, { key: '
|
|
9941
|
+
return (index.h(index.Host, { key: 'e4342c6db7e1e4c6281497cd786e4d499257c504' }, index.h("h2", { key: '26aa0c16aa87d5dea4bb092e7104a31e2fb26d36' }, "State demo on smoothly-input"), index.h("p", { key: '163708f05a50f636cc0b9c71d45a692ebac5805f' }, "This demo/test the internal state of the smoothly-input component."), index.h("p", { key: '7799fc8b8d38da3dc473c2a65fa51d0521db7ea7' }, "The currency of the price should update when switching between the currencies."), index.h("smoothly-input-radio", { key: 'f55a75be6fa0090e8e55f6ea342bcd157167f0fb', 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: '6a6e28e0695faddf47599305fc6941fd5dd2e690', type: "price", currency: this.currency }, "price")));
|
|
9941
9942
|
}
|
|
9942
9943
|
};
|
|
9943
9944
|
SmoothlyInputPriceDemo.style = SmoothlyInputPriceDemoStyle0;
|
|
@@ -10046,7 +10047,7 @@ const SmoothlyInputRadio = class {
|
|
|
10046
10047
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
10047
10048
|
}
|
|
10048
10049
|
render() {
|
|
10049
|
-
return (index.h(index.Host, { key: '
|
|
10050
|
+
return (index.h(index.Host, { key: '8828b7206ca74d8442239af614ed6e1b6bfd4bd7', class: "floating-label" }, index.h("slot", { key: '4e255c47813606895d17d8b47d6d64ae24d07c6b', name: "start" }), index.h("div", { key: '7245bb7a51c937bdbc5f051d2c0dc98fc77d1b68' }, index.h("slot", { key: '8ab92b3da53624c8a8f250614317b5809bbaacb1', name: "label" }), index.h("div", { key: '3e0186d2df6a7af43948a4c6585556d5a066b41e', class: "options" }, index.h("slot", { key: 'cafddf5a5aaac9b6f97e0213ae205878367464df' }))), index.h("slot", { key: '0988751cbc6391d5c33ded7b671e16778d0ebadb', name: "end" })));
|
|
10050
10051
|
}
|
|
10051
10052
|
get element() { return index.getElement(this); }
|
|
10052
10053
|
static get watchers() { return {
|
|
@@ -10077,7 +10078,7 @@ const SmoothlyInputRadioItem = class {
|
|
|
10077
10078
|
this.smoothlySelect.emit({ value: this.value, selected: this.selected, select: s => (this.selected = s) });
|
|
10078
10079
|
}
|
|
10079
10080
|
render() {
|
|
10080
|
-
return (index.h(index.Host, { key: '
|
|
10081
|
+
return (index.h(index.Host, { key: '7008f21a9ed4142acfa0994520bce3e5f34d4cef', onClick: () => this.inputHandler() }, index.h("input", { key: '871b7bfca836308c79a02b07aacef3aae6d4a6de', name: this.name, type: "radio", checked: this.selected }), index.h("smoothly-icon", { key: '963b122dd7f50253995d8dd517a5cc143f534976', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", fill: "outline", color: this.selected ? "success" : "medium", toolTip: "Select" }), index.h("label", { key: 'c06d976ea945ac2ccc5b36fb6a0d1c0702187448' }, index.h("slot", { key: 'b9200aedece8fb161fa370fa6cbb9f1838d9e5ad' }))));
|
|
10081
10082
|
}
|
|
10082
10083
|
get element() { return index.getElement(this); }
|
|
10083
10084
|
};
|
|
@@ -10181,17 +10182,17 @@ const SmoothlyInputRange = class {
|
|
|
10181
10182
|
}
|
|
10182
10183
|
render() {
|
|
10183
10184
|
var _a, _b, _c;
|
|
10184
|
-
return (index.h(index.Host, { key: '
|
|
10185
|
+
return (index.h(index.Host, { key: '6eb88b4d79900c496a6c0c41ae56fc12b66f34b1', class: {
|
|
10185
10186
|
"output-side-right": this.outputSide === "right",
|
|
10186
10187
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
10187
|
-
} }, index.h("slot", { key: '
|
|
10188
|
+
} }, index.h("slot", { key: '21f1f080b371d4418846270c79019dbb5c13b486', name: "start" }), index.h("div", { key: '3cf86a0fe223bb050a81e1fa40c33a52d4bd9089' }, index.h("label", { key: '8fd4d658aa15dfe1841e21bfaca5904e1189ff2a', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: 'd70471f27095e8ba81dad816068782efd479cef7', 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(),
|
|
10188
10189
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
10189
10190
|
e.stopPropagation();
|
|
10190
10191
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
10191
|
-
}, 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), index.h("smoothly-display", { key: '
|
|
10192
|
+
}, 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), index.h("smoothly-display", { key: 'c4024448438ff16146298c09851089b8b24e2798', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: '27569cc45c80a0415098deea69de0d82bc41603a', 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 => {
|
|
10192
10193
|
event.stopPropagation();
|
|
10193
10194
|
this.setValue(event.target.valueAsNumber);
|
|
10194
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: '
|
|
10195
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: 'd74289b20e2645fefba9ee362e5d4c6d4bf40924', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: 'b4e6ac8ac6ca21e394f3cc74facf06d48226fa85', name: "end" })));
|
|
10195
10196
|
}
|
|
10196
10197
|
get element() { return index.getElement(this); }
|
|
10197
10198
|
static get watchers() { return {
|
|
@@ -10205,7 +10206,7 @@ const SmoothlyInputRangeDemo = class {
|
|
|
10205
10206
|
index.registerInstance(this, hostRef);
|
|
10206
10207
|
}
|
|
10207
10208
|
render() {
|
|
10208
|
-
return (index.h(index.Host, { key: '
|
|
10209
|
+
return (index.h(index.Host, { key: 'c812675343d64f3315f190ad1c908d10ace2c62c' }, index.h("h2", { key: '7638d925da134a917c195e141e9f5cc0ab501322' }, "Range"), index.h("h3", { key: '64ea67fce5489026de55211b6de6e5d181de30e1' }, "Phone Number"), index.h("smoothly-input-range", { key: '932e86e4c6df5b5ce4e64b31db597740628f5113', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), index.h("h3", { key: 'ccb928822f4f87d9069863cc195febea279b58a0' }, "Stars out of ten"), index.h("smoothly-input-range", { key: '7232e44dd5a8be19b3fd91232b548a090bd100be', max: 10, step: 1, label: "Stars" }), index.h("h3", { key: 'a8d2891ea79f41a2374030da6c8988b4d63dba2d' }, "Percent"), index.h("smoothly-input-range", { key: '4f9558319cf15a5926e4abe175af9abf8727e5f8', type: "percent", max: 1, step: 0.01, label: "Percent" }), index.h("h3", { key: '2b939b4330ceead0aa93bb2932baa0ceca932961' }, "With icon at start and clear button"), index.h("smoothly-input-range", { key: '7000d532a0a3086942c05676c3a200c8b942d4a9', step: 1, name: "range2", label: "Select" }, index.h("smoothly-icon", { key: '9ab62a9e0238046064533134ae9e251d10837c98', name: "checkmark-circle", slot: "start" }), index.h("smoothly-input-clear", { key: 'e97a0579668dd6dc631e23b58606882b9955bb6b', size: "icon", slot: "end" }))));
|
|
10209
10210
|
}
|
|
10210
10211
|
};
|
|
10211
10212
|
|
|
@@ -10251,7 +10252,7 @@ const SmoothlyInputReset = class {
|
|
|
10251
10252
|
}
|
|
10252
10253
|
render() {
|
|
10253
10254
|
var _a;
|
|
10254
|
-
return (index.h(index.Host, { key: '
|
|
10255
|
+
return (index.h(index.Host, { key: '71225baa49eaeb96d36c3d5dc2f1880d33ac2861', title: this.tooltip }, index.h("smoothly-button", { key: '6de9cca047751443fb84b7ab91e24834604f824b', 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: '31f056aa77bbf74bb2457c4999d699e6892ad437' }), index.h("smoothly-icon", { key: 'cb5f326a194a0ccac34d404d921cc858bf77f8a7', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
10255
10256
|
}
|
|
10256
10257
|
};
|
|
10257
10258
|
SmoothlyInputReset.style = SmoothlyInputResetStyle0;
|
|
@@ -10560,14 +10561,14 @@ const SmoothlyInputSelect = class {
|
|
|
10560
10561
|
this.addedItems = this.addedItems.concat(index.h("smoothly-item", { value: this.filter, selected: true }, this.filter));
|
|
10561
10562
|
}
|
|
10562
10563
|
render() {
|
|
10563
|
-
return (index.h(index.Host, { key: '
|
|
10564
|
+
return (index.h(index.Host, { key: '4e0632f2279150363b616f4fb562b14531d3a4b9', tabIndex: 0, class: { "has-value": this.selected.length !== 0, open: this.open, invalid: !!this.invalid }, onClick: (event) => this.handleShowOptions(event) }, index.h("div", { key: '3f43ae2df3bf57d85a7f596e444eb7ec890c1dd4', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), index.h("div", { key: '6d6cacb9cca744dfbe6afe9ff04bf24288fa6480', class: "icons", ref: element => (this.iconsDiv = element) }, index.h("slot", { key: 'e4371a6ea005aad63b7f214bd818ccd889521225', name: "end" }), this.looks == "border" && !this.readonly && (index.h("smoothly-icon", { key: '86c19de5e8f1ecdcef0c4ac66e1340b5802e9280', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" })), index.h("smoothly-icon", { key: 'effb63b5a8e00d905b301b31f7c97c35e07fc5b8', class: "invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small" })), index.h("slot", { key: '806bd09cc47d8c35bb01901d7ba20e25dcdc0bb2', name: "label" }), index.h("div", { key: '8792bdb77b6c63e36a73a18a767dd57dbae6cc21', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (index.h("smoothly-item", { key: 'bc8b6ee08d787ccf0e2b6b4e2f32eeccee6effb0', selectable: false }, index.h("smoothly-icon", { key: '86d925feceb294c2ebfc7a9b427e19d95d203446', name: "search-outline", size: "small" }), this.filter, index.h("smoothly-icon", { key: '4e5733106f07af612cbabcfa3d2fa1e248b4e343', name: "backspace-outline", size: "small", onClick: e => {
|
|
10564
10565
|
e.stopPropagation();
|
|
10565
10566
|
this.filter = "";
|
|
10566
10567
|
this.element.focus();
|
|
10567
|
-
} }), this.mutable && (index.h("smoothly-icon", { key: '
|
|
10568
|
+
} }), this.mutable && (index.h("smoothly-icon", { key: 'c0168cd488ff01296ff962a9ff4636d2df244905', name: "add", size: "small", onClick: e => {
|
|
10568
10569
|
e.stopPropagation();
|
|
10569
10570
|
this.addItem();
|
|
10570
|
-
} })))), index.h("slot", { key: '
|
|
10571
|
+
} })))), index.h("slot", { key: '9cd4292d4da25894b44297506ba89e4259ea9cd1' }), this.addedItems)));
|
|
10571
10572
|
}
|
|
10572
10573
|
get element() { return index.getElement(this); }
|
|
10573
10574
|
static get watchers() { return {
|
|
@@ -10628,7 +10629,7 @@ const SmoothlyInputSubmit = class {
|
|
|
10628
10629
|
}
|
|
10629
10630
|
render() {
|
|
10630
10631
|
var _a, _b;
|
|
10631
|
-
return (index.h(index.Host, { key: '
|
|
10632
|
+
return (index.h(index.Host, { key: '438434b7f94ee3a7d8b5cf3ed6c90113221c4494', 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" })))));
|
|
10632
10633
|
}
|
|
10633
10634
|
};
|
|
10634
10635
|
SmoothlyInputSubmit.style = SmoothlyInputSubmitStyle0;
|
|
@@ -10670,7 +10671,7 @@ const SmoothlyItem = class {
|
|
|
10670
10671
|
: false;
|
|
10671
10672
|
}
|
|
10672
10673
|
render() {
|
|
10673
|
-
return (index.h(index.Host, { key: '
|
|
10674
|
+
return (index.h(index.Host, { key: 'a6ebadd25393a75972ec92c5860de2381825976d', tabIndex: -1 }, index.h("slot", { key: '2eefba52d0cc208111208720bb474a3324a79299' })));
|
|
10674
10675
|
}
|
|
10675
10676
|
get element() { return index.getElement(this); }
|
|
10676
10677
|
static get watchers() { return {
|
|
@@ -10691,9 +10692,9 @@ const SmoothlyLabel = class {
|
|
|
10691
10692
|
}
|
|
10692
10693
|
render() {
|
|
10693
10694
|
var _a;
|
|
10694
|
-
return (index.h(index.Host, { key: '
|
|
10695
|
+
return (index.h(index.Host, { key: '01f79c44a6a9f4d3736efe6e4c0ee5ee3f973a0b', title: this.description, style: {
|
|
10695
10696
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
10696
|
-
} }, index.h("slot", { key: '
|
|
10697
|
+
} }, index.h("slot", { key: '14273a6f60d52b740355383bfe7c419bb5ea14a4' })));
|
|
10697
10698
|
}
|
|
10698
10699
|
};
|
|
10699
10700
|
SmoothlyLabel.style = SmoothlyLabelStyle0;
|
|
@@ -10712,7 +10713,7 @@ const SmoothlyLazy = class {
|
|
|
10712
10713
|
this.show = true;
|
|
10713
10714
|
}
|
|
10714
10715
|
render() {
|
|
10715
|
-
return (index.h(index.Host, { key: '
|
|
10716
|
+
return (index.h(index.Host, { key: '88024c5d322957a45010c9898bd110b8f48f1438' }, index.h("slot", { key: 'a585246e4fc2b4fcd240047b8bb1f2b7530cc25f', name: "before" }), index.h("smoothly-load-more", { key: 'f259e7ac58e3297a85a0ce9b843062a969b38273', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? index.h(this.content, null) : this.content), index.h("slot", { key: 'a6ad1c4865a75cb75eaae8920fc280a32105ac91' })));
|
|
10716
10717
|
}
|
|
10717
10718
|
};
|
|
10718
10719
|
SmoothlyLazy.style = SmoothlyLazyStyle0;
|
|
@@ -10756,19 +10757,18 @@ const LoadMore = class {
|
|
|
10756
10757
|
}
|
|
10757
10758
|
}
|
|
10758
10759
|
render() {
|
|
10759
|
-
return index.h(index.Host, { key: '
|
|
10760
|
+
return index.h(index.Host, { key: '28ddc5d3fca6524101b268794c4d83186352f77b' });
|
|
10760
10761
|
}
|
|
10761
10762
|
get element() { return index.getElement(this); }
|
|
10762
10763
|
};
|
|
10763
10764
|
|
|
10764
|
-
const styleCss$I = ".sc-smoothly-modal-h{position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;background-color:rgba(var(--smoothly-modal-backdrop));color:rgb(var(--smoothly-modal-foreground))}.sc-smoothly-modal-h:not([open]),[hidden].sc-smoothly-modal-h{display:none}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal{display:flex;flex-direction:column;padding:2rem;gap:1.5rem;max-width:
|
|
10765
|
+
const styleCss$I = ".sc-smoothly-modal-h{position:fixed;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;background-color:rgba(var(--smoothly-modal-backdrop));color:rgb(var(--smoothly-modal-foreground));z-index:5}.sc-smoothly-modal-h:not([open]),[hidden].sc-smoothly-modal-h{display:none}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal{display:flex;flex-direction:column;padding:2rem;gap:1.5rem;width:var(--smoothly-modal-width, 40rem);max-width:calc(100dvw - 1rem);height:fit-content;max-height:min(var(--smoothly-modal-max-height), 100dvh);background:rgb(var(--smoothly-modal-background, var(--smoothly-color)));border:1px solid rgb(var(--smoothly-modal-border));border-radius:var(--smoothly-modal-border-radius);box-shadow:var(--smoothly-modal-shadow);box-sizing:border-box}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal:empty,.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.actions.sc-smoothly-modal:empty{display:none}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal{display:flex;justify-content:space-between;align-items:center}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>*.sc-smoothly-modal,.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>*.sc-smoothly-modal{margin-block:0}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>*.sc-smoothly-modal:not(.header):not(.actions){overflow-y:auto}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal:not(:has([slot=\"header\"])){justify-content:end}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>smoothly-icon.sc-smoothly-modal:not([slot=\"header\"]){cursor:pointer;opacity:0.7;color:rgb(var(--smoothly-default-contrast))}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.header.sc-smoothly-modal>smoothly-icon.sc-smoothly-modal:not([slot=\"header\"]):hover{opacity:1}.sc-smoothly-modal-h>div.modal.sc-smoothly-modal>div.actions.sc-smoothly-modal{display:flex;justify-content:center;align-items:center;gap:1rem;flex-wrap:wrap}";
|
|
10765
10766
|
const SmoothlyModalStyle0 = styleCss$I;
|
|
10766
10767
|
|
|
10767
10768
|
const SmoothlyModal = class {
|
|
10768
10769
|
constructor(hostRef) {
|
|
10769
10770
|
index.registerInstance(this, hostRef);
|
|
10770
10771
|
this.smoothlyModalChange = index.createEvent(this, "smoothlyModalChange", 7);
|
|
10771
|
-
this.color = undefined;
|
|
10772
10772
|
this.open = false;
|
|
10773
10773
|
this.closable = false;
|
|
10774
10774
|
}
|
|
@@ -10776,9 +10776,7 @@ const SmoothlyModal = class {
|
|
|
10776
10776
|
this.smoothlyModalChange.emit(this.open);
|
|
10777
10777
|
}
|
|
10778
10778
|
render() {
|
|
10779
|
-
return (index.h(index.Host, { key: '
|
|
10780
|
-
this.open = false;
|
|
10781
|
-
} }))), index.h("slot", { key: '7b79007759e6857fabbaf98cc1eae82d09c38875' }), index.h("div", { key: 'e908c2f1ccb7a2adc8aa6acb81c76463193899ea', class: "actions" }, index.h("slot", { key: '4430a296cc58e88d5fe971ee5187a2f0974d7485', name: "actions" })))));
|
|
10779
|
+
return (index.h(index.Host, { key: '8bdd830db07503dc5ad7a485ea41fbd14ae633cb', role: "alertdialog" }, index.h("div", { key: 'd6ba6d97bcae9b4110c3eaef01e6f92dc48d9013', class: "modal" }, index.h("div", { key: '1174aebeb08e2c9d31bfe264230ac12a79db9923', class: "header" }, index.h("slot", { key: 'c5422829ad590bae88ff33798fcea80b0df6e555', name: "header" }), this.closable && index.h("smoothly-icon", { key: '1f54c5792caa7da280803c7eedf2eb5dbac7f0ae', name: "close-outline", fill: "solid", onClick: () => (this.open = false) })), index.h("slot", { key: 'e568a5e424f3be6fdb79917fcfd0c1487c0535ac' }), index.h("div", { key: '2521bd8a631756db112465be5a04bb34a17ba05c', class: "actions" }, index.h("slot", { key: '3e6f6cbf6c41feee3c6b33c0d468f0737d3b7981', name: "actions" })))));
|
|
10782
10780
|
}
|
|
10783
10781
|
static get watchers() { return {
|
|
10784
10782
|
"open": ["openChanged"]
|
|
@@ -10794,7 +10792,7 @@ const SmoothlyNextDemo = class {
|
|
|
10794
10792
|
index.registerInstance(this, hostRef);
|
|
10795
10793
|
}
|
|
10796
10794
|
render() {
|
|
10797
|
-
return (index.h(index.Host, { key: '
|
|
10795
|
+
return (index.h(index.Host, { key: 'd68c0979b5132c5dcb0764454ace4fc8f4b64983' }, index.h("smoothly-next-demo-group", { key: '846702fef150fe18cfdd909b1a1c2d64c1ff5242' }), index.h("smoothly-next-demo-colspan", { key: '244cebea8a6e51b398ba7c2af2cfc41da80e5121' }), index.h("smoothly-next-demo-simple", { key: 'fda034e25449569e6543e12cb1836d9421a9285f' }), index.h("smoothly-next-demo-nested", { key: 'c00ed11e4fdd08c2478153ce3bd5391fcef86440' }), index.h("smoothly-next-table-demo-filtered", { key: 'd058bfb651c724b5497eb49b93a90480790daf7d' })));
|
|
10798
10796
|
}
|
|
10799
10797
|
};
|
|
10800
10798
|
SmoothlyNextDemo.style = SmoothlyNextDemoStyle0;
|
|
@@ -10807,7 +10805,7 @@ const SmoothlyNextDemoColspan = class {
|
|
|
10807
10805
|
index.registerInstance(this, hostRef);
|
|
10808
10806
|
}
|
|
10809
10807
|
render() {
|
|
10810
|
-
return (index.h(index.Host, { key: '
|
|
10808
|
+
return (index.h(index.Host, { key: '322f2b276edccd53dfbaeb0a69c3fa177b43cab4' }, index.h("smoothly-next-table", { key: '5f6c1454afd074f410af1bc58b9051e4cc4565a5', columns: 3 }, index.h("smoothly-next-table-head", { key: '996f681fb42d9fa100bb6c1db890d63b45380aaa' }, index.h("smoothly-next-table-row", { key: 'f60c3d4f82d89ff57af38bb496f40d6880e65946' }, index.h("smoothly-next-table-cell", { key: '59ecdb00d518b081233441162f059f0351886a01' }, "Date"), index.h("smoothly-next-table-cell", { key: '4a0fc107f01a3f5990a66d72567fabd5d724f9c0' }, "Skip"), index.h("smoothly-next-table-cell", { key: 'dd73ce38da65de83632820b21af6f05ee07c3828' }, "Total"))), index.h("smoothly-next-table-body", { key: 'fbcd74ddfd81ca8b654a52045f9ac67a2ba086af' }, index.h("smoothly-next-table-row", { key: '974ebd927a3349cc5cee1a5f07456b8a9d04ed3c' }, index.h("smoothly-next-table-cell", { key: 'e23508ac94205d46507bf4035327ba6b8de1c59c', span: 2 }, index.h("smoothly-display", { key: 'ce6dec493c93ab4b56ab766b18a887a5c04b9a88', type: "date", value: "2024-01-01" })), index.h("smoothly-next-table-cell", { key: 'b0e802c95f68f126a100154ad9141fc96d4683bb' }, index.h("smoothly-display", { key: '7deb4d4111349fef3aba452cda451f362803ab46', type: "price", value: 120, currency: "EUR" }))), index.h("smoothly-next-table-row", { key: '77fe0794effe69b2000fbdb83868ed0553d0272b' }, index.h("smoothly-next-table-expandable-cell", { key: 'ac46fc6b2e2e86c40841ba4a3454e67dbf7879fa', span: 2 }, index.h("smoothly-display", { key: 'a8a251e544f1a96f0def89f33431b93d19199e8c', type: "date", value: "2024-01-02" }), index.h("smoothly-lazy", { key: '707e9fa0004e99b78f509049ae4f8e1abb5aaeb9', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), index.h("smoothly-next-table-expandable-cell", { key: 'e94393b2fe556d7a9a66d01f210bf78be31145e4' }, index.h("smoothly-display", { key: '3e9fe0dd066923340c8b6950ac5658280bb4b3ca', type: "price", value: 220, currency: "EUR" }), index.h("smoothly-lazy", { key: '000469e04b9c9c1decf3bcddf9dae83d57bce855', 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-next-table-row", { key: '1ac46694973e9a7d6ed7b0f963b0821627a9ad60' }, index.h("smoothly-next-table-cell", { key: '6ce70e4a0ba8adc455e96d66c4242730e332dbc4' }, index.h("smoothly-display", { key: 'b63c0e82edf8c8d461b5bb4127724fef865b98b0', type: "date", value: "2024-01-02" })), index.h("smoothly-next-table-cell", { key: '52cfc79ba1e09a72172d85510627bdad36096874' }, "Not Skipped"), index.h("smoothly-next-table-cell", { key: '26e4310cfde062fd1bb1edaf4d70e00007633906' }, index.h("smoothly-display", { key: '5f7a96c719a12e7acbc7a26d10e5e39abb9c5cef', type: "price", value: 320, currency: "EUR" })))))));
|
|
10811
10809
|
}
|
|
10812
10810
|
};
|
|
10813
10811
|
SmoothlyNextDemoColspan.style = SmoothlyNextDemoColspanStyle0;
|
|
@@ -10820,7 +10818,7 @@ const SmoothlyNextDemoGroup = class {
|
|
|
10820
10818
|
index.registerInstance(this, hostRef);
|
|
10821
10819
|
}
|
|
10822
10820
|
render() {
|
|
10823
|
-
return (index.h(index.Host, { key: '098ed5721d47488e2ec477b9393c823820c6cc27' }, index.h("smoothly-display", { key: 'dd1efeab82fb14a8cd01daa0f65a6a1133b7c56d', type: "text", value: "Group" }), index.h("smoothly-next-table", { key: 'd57da525c8dbf285ae8f13feff66b272cbc205b9', color: "primary", columns: 2 }, index.h("smoothly-next-table-head", { key: '2ca8db41ef08ceb2142216d1cf21b139dc7a2fbe' }, index.h("smoothly-next-table-row", { key: 'a7328b4727a996bd17d34acbb5bce696d8fd3183' }, index.h("smoothly-next-table-cell", { key: '2b6945b5ec49cf167def8836efb0646cbbeaf1ac' }, "Date"), index.h("smoothly-next-table-cell", { key: 'bff797c9c0e8c6a0b1da6377c3fd064d8def3580' }, "Total"))), index.h("smoothly-next-table-body", { key: 'c90fd640f2a5787a06dfe762d9fd631e9cca2529' }, index.h("smoothly-next-table-row-group", { key: '660341da58c29a36e9de0711cf4fd8cf7f0613e0', align: true }, index.h("smoothly-display", { key: '6140cb3390f7c123959561e2916a6fca7f28bf31', slot: "start", type: "date", value: "2024-01-01" }), index.h("smoothly-display", { key: '61d1f473b3b33809ffc4c005da03eb767582ce1b', slot: "end", type: "price", currency: "EUR", value: 510 }), index.h("smoothly-next-table-expandable-row", { key: 'ce246622ccd9204951c2be0c94e9ee495b3915d2' }, index.h("smoothly-next-table-cell", { key: '81c5dd6c64900f3e376d3eaf7d9c204edc574643' }, index.h("smoothly-display", { key: '33b919b9d1021fcb727adf948489ca87ff5059ed', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'cb2babe50a9d191c6cb7d853aea120e1e79d9429' }, index.h("smoothly-display", { key: 'eb6fb1eae1908c85d7007b3e60e62a6705361eac', type: "price", currency: "EUR", value: 250 })), index.h("smoothly-lazy", { key: 'e6b14e6ab80fefffd5f3bcebbf5e2b529e7dd30b', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: '0569658810e92d68178e32e581d6d156bb66542b' }, index.h("smoothly-next-table-cell", { key: 'ed6c9b7bec0626d3599522de48db99ca56461e97' }, index.h("smoothly-display", { key: '2221b82421625b49f8d93172048ab1accc4c9516', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '7b5c48ec7382adbfd0ae09ecc0773ae1d2cc1813' }, index.h("smoothly-display", { key: '3ad0e0257a4533771b6f4a6171b58eef3978d01e', type: "price", currency: "EUR", value: 260 })), index.h("smoothly-lazy", { key: '2f705c8df0e36b29e754111cf2fad9a50d698470', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index.h("smoothly-next-table-row", { key: '9d8d4146047389b3785c373581b370b566091aef' }, index.h("smoothly-next-table-cell", { key: '8dcdda4a2199230964efbc40fdd34fb96a73708c' }, index.h("smoothly-display", { key: '3eaa32a3b770c08141fea8e4e3825df05d7f1385', type: "date", value: "2024-01-02" })), index.h("smoothly-next-table-cell", { key: '88e888ebfefc53306dbda2bc4b79af720067c62c' }, index.h("smoothly-display", { key: '83fdd526b47911bb505b3022f9166cbeed5be1e9', type: "price", currency: "EUR", value: 130 }))), index.h("smoothly-next-table-row-group", { key: 'ff7d7d907064a03d3b305f9206447faadef1d8b4' }, index.h("smoothly-display", { key: '398f4c4134690c222465457b74e5c9f33e15bea3', slot: "start", type: "date", value: "2024-01-03" }), index.h("smoothly-display", { key: '2a6643526985bb2b9fbf457f5c247c0ddb21f121', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-next-table-expandable-row", { key: '126e1e14e4c868bf8e917d0b1bb62abe9d834263' }, index.h("smoothly-next-table-cell", { key: '93de7d772975c6472829aa1aaba6735b9c45d9d9' }, index.h("smoothly-display", { key: 'e1309d73225d0d41a1be70333e89544807f96eb4', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '55c7077b8d8d08ea25c2d78042c3efcd9cd50063' }, index.h("smoothly-display", { key: '22649c3db71f226608a9349400fcafca36732d60', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '96b6496da8666362e43f581286b1d6e09f9cf996', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: '6eb7273a68de8ed4a288de23b6a8f7f551c03d3b' }, index.h("smoothly-next-table-cell", { key: '384e2a4178690c3dbdb4cfdf2d3f426ba72e46b6' }, index.h("smoothly-display", { key: 'd3a6a99e88675a4e9810700f1d77aec339e0fd44', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'aeb9ed5b36e968a92758b200f4b4b2fc5c1eed13' }, index.h("smoothly-display", { key: 'd43781919082cc7a2818dcbc17dcd5326cfa5429', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: 'c1cc2c71b325b5be4c63c860ebf88e82a0f9532f', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index.h("smoothly-next-table-row-group", { key: 'a6aa1319c12ccd85aa9ab8c1833518c07f50cf7b' }, index.h("smoothly-display", { key: 'dc814abe1975a6081df2c6c3d672aef43403d4f0', slot: "start", type: "date", value: "2024-01-04" }), index.h("smoothly-next-table-expandable-row", { key: 'a3e055345196beaf025b1356b5da4373231e6a55' }, index.h("smoothly-next-table-cell", { key: 'ad8654dce8fc763ade47c7bccc96d0d3a0245e76' }, index.h("smoothly-display", { key: '03f954e5f3fc7c733daec96ce0543e7222569973', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '2592d4276b13d7c77433f464f3472b432950858d' }, index.h("smoothly-display", { key: '9f2239869708cbe1872c68914699fcab84e6ab4a', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '79b2a54064d04089c383dc4cfd4ae5f8e094239b', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: '45d159bac640c5c67bad19259c740525b7356746' }, index.h("smoothly-next-table-cell", { key: '544c676ba2c672a0bc823e18a5da45a06af25a66' }, index.h("smoothly-display", { key: 'f1906c649bff5e97455edfa75d46a90b6b7440bb', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'b1521586d42c9f051ddb34c1ac76ccbeda413444' }, index.h("smoothly-display", { key: 'c851e204cc21be7cf46fd48e4c7bdb51e7309061', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: 'eb60f28b135b665f6df21671505516509c306c93', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index.h("smoothly-next-table-row-group", { key: '52b97099dbffd28b10d3d9ac6cddcd43c6ac46eb' }, index.h("smoothly-display", { key: 'b25f15111a3ae40459bad88105664137bb9c5c25', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-next-table-expandable-row", { key: 'ed596717f2f0c23dda162ccc1719f55f26d90b5a' }, index.h("smoothly-next-table-cell", { key: 'c22ca646f532bf0fc33741cd0d40e5a05bf8bdef' }, index.h("smoothly-display", { key: '90b35b8c41efaff4f47ef12279cc0f8359b7882f', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'bfed43cb324809725291bab3339defd4740b9bb2' }, index.h("smoothly-display", { key: '53a108a9ad9da8b967a8b898701b01b0ca984fbd', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: 'd409764d0635ee33ab0f04b2dab33ef6968f8da8', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: '93c06480664e31ac9bc5e314ff94ba32db0c9ef3' }, index.h("smoothly-next-table-cell", { key: '32743eee5e81c83c74fe3012d65c030cd50f89ef' }, index.h("smoothly-display", { key: '54adb9253ab0cba0a0397b2b36338773874fcf38', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '4712e6a9380253720263525ae35b0ead96fffbe9' }, index.h("smoothly-display", { key: '561d24102faf7ff31bb890b1e286529196cd828f', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '3c3916db65c4b86c5d552624583da0db34b3cb42', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index.h("fake-group-wrapper", { key: '142d1c5b627ae92a1752f7d6ef06d501441cc32c' }, index.h("smoothly-next-table-row-group", { key: '283b4de00b567ae384979c71491ae5b1da68b8a3' }, index.h("smoothly-display", { key: 'c2528bbaee0d1768089e3d65f640c2ec4dde9b17', slot: "start", type: "date", value: "2024-01-06" }), index.h("smoothly-display", { key: 'd49a4418315e316666a2498bbc7219c9127ed44c', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("fake-row-wrapper", { key: '8d8156af71ecd1a2191da0c3f6ef0eea2069d2f5' }, index.h("smoothly-next-table-row", { key: '7b5fc6cef1ba76f8d2dedb7bfc7db3a2334a7954' }, index.h("fake-cell-wrapper", { key: '07b950bfa6ec9d08e25044055611bbe33085eb4f' }, index.h("smoothly-next-table-cell", { key: '735b7f2bd5696544ea2dac10b4334c703c1d3916' }, index.h("smoothly-display", { key: 'd48e34a42b66af9e6e3128c7361159bc8b6783e2', type: "date", value: "2024-01-02" }))), index.h("fake-expandable-cell-wrapper", { key: 'b796aa04e676ff95464d7a1e57515358eca59244' }, index.h("smoothly-next-table-expandable-cell", { key: 'a2e7beb3bc66ac381882d6436aa95ba40fea927d' }, index.h("smoothly-display", { key: 'cdd6557f9f5be1e75e619aaa43c7be25ecdc25bc', type: "price", currency: "EUR", value: 130 }), index.h("smoothly-lazy", { key: '373b952c59b56bc9c86ca73716ef260b3e6b0495', 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: '6002630598a704756ab1033d4add3e5be3f70da6' }, index.h("smoothly-next-table-expandable-row", { key: '280218959b52cfddc1d0a76d09d00ea16ce1ceee' }, index.h("fake-cell-wrapper", { key: '929b56a60bb688bea8c0216ddd30b4115ced99e4', class: "span-2" }, index.h("smoothly-next-table-cell", { key: '14ee5e81ebcc49152e4312f76f8bb48ec7705e63', span: 2 }, index.h("smoothly-display", { key: '56d758a97fc974cb4252f13920f17b365561e74d', type: "date", value: "2024-01-07" }))), index.h("smoothly-lazy", { key: '810b564db032af7aa940eaadf47c60fb24d737b6', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index.h("smoothly-next-table-row-group", { key: '0d82be7690fa661b08f06269839abfc01a343530' }, index.h("smoothly-display", { key: 'f917da5169a8cf3b3291f2a7569f940f7b55704c', slot: "start", type: "date", value: "2024-01-08" }), index.h("smoothly-display", { key: '54a827feee811e4af7e34fea3dece9f583f65fbd', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
10821
|
+
return (index.h(index.Host, { key: 'd04e8c35153417e76bba14acd36ea4ca7a55c3ec' }, index.h("smoothly-display", { key: '45973c766fa5e9f2de58fb465f175142a750e3db', type: "text", value: "Group" }), index.h("smoothly-next-table", { key: 'cfd126eb4d264e375b58967c659235d736b50c3d', color: "primary", columns: 2 }, index.h("smoothly-next-table-head", { key: 'c3c4ce2044e020cf2745fa8dc40df3c19ca24f63' }, index.h("smoothly-next-table-row", { key: 'fad438c3509dfff4df18082c0b57cb650895e546' }, index.h("smoothly-next-table-cell", { key: 'a53c5c4be617d724e5bc05d2511f983f85b3172f' }, "Date"), index.h("smoothly-next-table-cell", { key: '4d058ee9aa113d8ef0148b96e166ea774967d144' }, "Total"))), index.h("smoothly-next-table-body", { key: 'e0f0747e86439ff3d90f3a6171ca282731eaf358' }, index.h("smoothly-next-table-row-group", { key: '15511e13439150b8a92d52391f21b01d9be82b8a', align: true }, index.h("smoothly-display", { key: 'd6025dfbbd9a9b4d0fa0a7903937d3ad372201a5', slot: "start", type: "date", value: "2024-01-01" }), index.h("smoothly-display", { key: 'e0741caeb2ae307a4307ddb757b38fe536c32122', slot: "end", type: "price", currency: "EUR", value: 510 }), index.h("smoothly-next-table-expandable-row", { key: 'cf3287e8015acf361d1590fa81f364c3a511a661' }, index.h("smoothly-next-table-cell", { key: '7aa5daa4614bab82c0483f39f7d1fc552c6315ff' }, index.h("smoothly-display", { key: '2edbf7c3201bf10ab21941bd7cd6496307cd770d', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '1bf0b2f56c52546c8691a812c7fb689608580fe2' }, index.h("smoothly-display", { key: '05a8761b2b0cb683363709c4ec5371a824abfa71', type: "price", currency: "EUR", value: 250 })), index.h("smoothly-lazy", { key: '17b67e01e33757832dffa10015a31affe9500036', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: '28f2b114fb220d0adfebdbdae124bb2472ca30d6' }, index.h("smoothly-next-table-cell", { key: 'a200b2197ab8b94e9b3c7e95824f9af8a835e79e' }, index.h("smoothly-display", { key: '9a688195d0a5905f540197085211c6f1e5216d17', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'b20029908c653d5faba884752364c3b3a5876e05' }, index.h("smoothly-display", { key: '8784939571b6805fd657ada73847695e8fa0163f', type: "price", currency: "EUR", value: 260 })), index.h("smoothly-lazy", { key: 'b9be8d6d6176960f7a049c20c2edbc14fa88cd45', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index.h("smoothly-next-table-row", { key: '668ce58755d59879479a02ff46f54a31053fae0f' }, index.h("smoothly-next-table-cell", { key: '7e14ed0793eaf28b4b30a1977d866de86d16d564' }, index.h("smoothly-display", { key: 'd5db14298acd3818a28504fdf90157be80806beb', type: "date", value: "2024-01-02" })), index.h("smoothly-next-table-cell", { key: '8be549ef0cb3aca8cc88bfb5d7f7d80c10d1d085' }, index.h("smoothly-display", { key: '73e18de7dc992c7bbf44afe16b1f9d2fdbf1dbdb', type: "price", currency: "EUR", value: 130 }))), index.h("smoothly-next-table-row-group", { key: '587669b4c01cd33711a28c8f8d2ffa51f4a42ac4' }, index.h("smoothly-display", { key: '28954087fb6438f6ac144677d95ca4ce8ddf1db4', slot: "start", type: "date", value: "2024-01-03" }), index.h("smoothly-display", { key: 'bff26087e74f633be84cfdaa1b2b3c0c2212644d', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-next-table-expandable-row", { key: '045e21ff3f3e7369e5c22227165fd6924e95a7df' }, index.h("smoothly-next-table-cell", { key: 'd48c17ad4d6ad581967bdf285d6f48f8ddd3a2eb' }, index.h("smoothly-display", { key: 'd035a6fab995d18389b87320dffd61142acaf3da', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'cbdca0f53679358b66b71c0d0d5ea6162e07cacc' }, index.h("smoothly-display", { key: '2550e158ae294def827bee82d598c428e300f77c', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '808b6848a47f39544c75106c8fe52d67946cdba1', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: 'ca2f239d8db4b65c5ec053c606fb78ba9afb3d92' }, index.h("smoothly-next-table-cell", { key: 'b323b68935ab2a21bff9c48795bcdd899ea8c82c' }, index.h("smoothly-display", { key: 'b80e960842a48f8d9f7444dfd15794eeb881a992', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'edb157281e51e08030d353e22d5f3622c03fe82c' }, index.h("smoothly-display", { key: 'c340c065598212a016fd43052b69a326350a7e7b', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: 'e123201f6341fb44b62818e793a5e7c2c34e323f', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index.h("smoothly-next-table-row-group", { key: 'a766e561ba2f5f270c394ee301c650c2d76a6884' }, index.h("smoothly-display", { key: 'f87ae1dd2860d7a5ed692157b87ba3dd2efb8611', slot: "start", type: "date", value: "2024-01-04" }), index.h("smoothly-next-table-expandable-row", { key: 'a6fdb5701da825cf3c9fcf8d695e808cc2e5874f' }, index.h("smoothly-next-table-cell", { key: 'a72fae772e958d7d22a688db3a2a81d0c4abf29b' }, index.h("smoothly-display", { key: 'd4f6c8135a71be2eae4fdae73260aeca39a1ee38', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'd039c7016265c977cfef3525e3222c03362fce99' }, index.h("smoothly-display", { key: '50ec614595e3ff2344b243315649d4535c64eb06', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: 'c1434b0eb47245530e0819275a1cee6ef8271e2c', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: 'e9e6ebcdd9cef452818d28c71c596a1242b0f205' }, index.h("smoothly-next-table-cell", { key: '2733ff9bc8e16e4acc0a6d9e9c8cc9d886c44558' }, index.h("smoothly-display", { key: '33c4db0fbed9d0221091032fdbb4c1b6c8c5f30b', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '3b29e90b233fd7260c04ca449b65e3f7173c090f' }, index.h("smoothly-display", { key: '978af4218d9af91ff45a462ad6792e5e9eb37a3e', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '66218c9e216b8e4f976442b0fd177ade75ddc42a', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index.h("smoothly-next-table-row-group", { key: '446d0e34d7ccc20a433933864f46f14b6a4c12e9' }, index.h("smoothly-display", { key: 'f7c4e5c34c0ccb49c07180d54cc576abd3304108', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-next-table-expandable-row", { key: 'b9cc6547eb1b3a0bfd7c8825651807b11b86ee40' }, index.h("smoothly-next-table-cell", { key: 'c61156c4d46d9ed051e50a3728c0f1c6e5f11102' }, index.h("smoothly-display", { key: 'c7ec764a0932d07bf8bbe8f5c9c2874d24e71c7d', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: 'f516de923e16af3f1d81638d9944d3fc29ad011d' }, index.h("smoothly-display", { key: '4be7e012c8849ab7c16c248caecc4fa7cb07473b', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: 'f92b87c1c882a17362d34fd7113201115a1fc6f9', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index.h("smoothly-next-table-expandable-row", { key: '3585351b9a566e40a1a81d3d04e65c3d71ab3489' }, index.h("smoothly-next-table-cell", { key: '4985799bacb6611fc366e079989eb8b96cbef8f7' }, index.h("smoothly-display", { key: 'c932c83068a8786d70e88eda742172a85ad3bc12', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index.h("smoothly-next-table-cell", { key: '0d3a603683cd7198c47f98a5c2fa04b8d5ed7ed5' }, index.h("smoothly-display", { key: '72e4a955d95f296bb1b4e23fc516bfa2318a603d', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '90f148647cea3373df3842c92b3dd3e1af24de89', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index.h("fake-group-wrapper", { key: '77c771394227915988cb8045248c3bdc9d3e7da8' }, index.h("smoothly-next-table-row-group", { key: '1e309ad2bc941f611621adad1ee35d1426d373bb' }, index.h("smoothly-display", { key: 'aeb8df50733526bce7d1c2b45c7e662fdf4a27c1', slot: "start", type: "date", value: "2024-01-06" }), index.h("smoothly-display", { key: '23234d0f7215037c4e0e4a391acf1a224a822a4e', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("fake-row-wrapper", { key: '1441d65eac330485a0d67ba4da04794701c2a3f3' }, index.h("smoothly-next-table-row", { key: '99169f5e4843630a88cf4ba2feb8995dd1c7a6e9' }, index.h("fake-cell-wrapper", { key: 'f8728758cf1fd2820aa3495a7b14752bf2b454bb' }, index.h("smoothly-next-table-cell", { key: 'a9a795b78df65f1ace69e3a68420a1eaa12f76c9' }, index.h("smoothly-display", { key: '671e72183571983d83cfc9bb12c8ca42289e28bd', type: "date", value: "2024-01-02" }))), index.h("fake-expandable-cell-wrapper", { key: 'f63a4cf639ce50a82ebb1215b28198307009498a' }, index.h("smoothly-next-table-expandable-cell", { key: '79077527b9db7986243558f6283a57976fbaaf52' }, index.h("smoothly-display", { key: '4a1684618784970112d56021e33f072efaa8a7af', type: "price", currency: "EUR", value: 130 }), index.h("smoothly-lazy", { key: 'e0804b12698c1f69cf02f1ddbea48e6657405881', 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: 'f5ca21a477eb968f7e368966b21e94e215ef7f6e' }, index.h("smoothly-next-table-expandable-row", { key: 'aa84b462d7f31077d57b2edcec07bb964fd22a13' }, index.h("fake-cell-wrapper", { key: '19dd81792f7b4c6e194ddcfbbc3487faee27a5b2', class: "span-2" }, index.h("smoothly-next-table-cell", { key: '0d7c1e44d6ec12f464b3397f2cdb33bee34babc6', span: 2 }, index.h("smoothly-display", { key: 'f29965447072706a42077fc644b9edfc2851eee6', type: "date", value: "2024-01-07" }))), index.h("smoothly-lazy", { key: '66bf15ee9b7ac24ac4807bb12aef379d8bd2e34e', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index.h("smoothly-next-table-row-group", { key: '8e7fd297cab98d86eebd601f8a88e28d2a617602' }, index.h("smoothly-display", { key: 'bee4e8292c9a724d39fe4595d8b126905874e2ec', slot: "start", type: "date", value: "2024-01-08" }), index.h("smoothly-display", { key: '0b2dee430ae48168b00c93e5550e6746bd608025', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
10824
10822
|
}
|
|
10825
10823
|
};
|
|
10826
10824
|
SmoothlyNextDemoGroup.style = SmoothlyNextDemoGroupStyle0;
|
|
@@ -11766,7 +11764,7 @@ const SmoothlyNextDemoNested = class {
|
|
|
11766
11764
|
index.registerInstance(this, hostRef);
|
|
11767
11765
|
}
|
|
11768
11766
|
render() {
|
|
11769
|
-
return (index.h(index.Host, { key: '
|
|
11767
|
+
return (index.h(index.Host, { key: 'adfb7e48147e8015dcb72757c2b31d106a879127' }, index.h("smoothly-display", { key: '7d9c5c7d09369e813b55be6268631b75be70ca2c', type: "text", value: "Nested" }), index.h("smoothly-next-table", { key: '5fd37fde775e88fafb20d6784fe82be3ed86412b', color: "primary", columns: 8 }, index.h("smoothly-next-table-head", { key: '525cc6d3a6ae46999eef64fac6041b5fde216238' }, index.h("smoothly-next-table-row", { key: 'e16e37cfb054582e50b38a0dd174922db5274aa1' }, index.h("smoothly-next-table-cell", { key: 'f73b540b514009242730f53813e5781281dff4f6' }, "Id"), index.h("smoothly-next-table-cell", { key: '3b49084a612ccaaa24b5fe1a0f3b5cda68f8c91f' }, "Registered"), index.h("smoothly-next-table-cell", { key: 'd61176c2d4004786a8d46de386014185d7548593' }, "Name"), index.h("smoothly-next-table-cell", { key: 'e8c020d083e9e8646cac57d5591afc555c49df79' }, "Age"), index.h("smoothly-next-table-cell", { key: '236011cf9fac056411a3a01ec487b4169235693d' }, "Balance"), index.h("smoothly-next-table-cell", { key: '52bf0214223130e7ae5e3362f3fdef899fa7d589' }, "EyeColor"), index.h("smoothly-next-table-cell", { key: '7158968cd3f0558b82dce2bc62b83fc1db1fdf73' }, "Gender"), index.h("smoothly-next-table-cell", { key: '3e91a70642866ff714035819f4e016dff8ab308f' }, "Company"))), index.h("smoothly-next-table-body", { key: '74bd43db33fd5533be589117bd471eff82c6bc70' }, data$1.map(entry => (index.h("smoothly-next-table-expandable-row", null, index.h("smoothly-next-demo-nested-inner", { color: "secondary", data: entry.friends, slot: "detail" }), index.h("smoothly-next-table-cell", null, entry.id), index.h("smoothly-next-table-cell", null, entry.registered), index.h("smoothly-next-table-cell", null, entry.name), index.h("smoothly-next-table-cell", null, entry.age), index.h("smoothly-next-table-cell", null, entry.balance), index.h("smoothly-next-table-cell", null, entry.eyeColor), index.h("smoothly-next-table-cell", null, entry.gender), index.h("smoothly-next-table-cell", null, entry.company))))), index.h("smoothly-next-table-foot", { key: '68462c407816da7d352f66f79fc5c294cc076330' }, index.h("smoothly-next-table-row", { key: 'fc862a5173ae9ffa04b6ba81862d71f267b82021' }, index.h("smoothly-next-table-cell", { key: 'e262856b8354c0e76ade754c6a742b0fe4eefe63' }, "Footer Cell"), index.h("smoothly-next-table-cell", { key: 'e2d44a80f3e499006a0cef3b9c2b4e611b632342' }, "Footer Cell"))))));
|
|
11770
11768
|
}
|
|
11771
11769
|
};
|
|
11772
11770
|
SmoothlyNextDemoNested.style = SmoothlyNextDemoNestedStyle0;
|
|
@@ -11781,7 +11779,7 @@ const SmoothlyNextDemoNestedInner = class {
|
|
|
11781
11779
|
}
|
|
11782
11780
|
render() {
|
|
11783
11781
|
var _a;
|
|
11784
|
-
return (index.h(index.Host, { key: '
|
|
11782
|
+
return (index.h(index.Host, { key: '3cf46f42688d8bdee372084fa0b04314b810a462' }, index.h("smoothly-next-table", { key: '5674e02750e768a5a9cafe74c8475434d554a77c', columns: 4 }, index.h("smoothly-next-table-head", { key: 'b065dec611549c5274030e465445903f88668d3d' }, index.h("smoothly-next-table-row", { key: '6ea7335a05a669cf8a961e4f00bcac956f0743d7' }, index.h("smoothly-next-table-cell", { key: 'fdc8762433fb24d53940f356b367e56ab65f4280' }, "Id"), index.h("smoothly-next-table-cell", { key: 'fffb7b25554673c87e0d3ef3f496bbdf15148c58' }, "Name"), index.h("smoothly-next-table-cell", { key: '4a796bea3dd4973ca3d96d69b36cced794d1b5c4' }, "Age"), index.h("smoothly-next-table-cell", { key: '2498f69c7dd78568daed63fc696ad59a47d29e9c' }, "Balance"))), index.h("smoothly-next-table-body", { key: 'eadb0ac227b2315d311d02031bee05623d33fd24' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (index.h("smoothly-next-table-expandable-row", null, index.h("smoothly-next-table-cell", null, entry.id), index.h("smoothly-next-table-cell", null, entry.name), index.h("smoothly-next-table-cell", null, entry.age), index.h("smoothly-next-table-cell", null, entry.balance))))))));
|
|
11785
11783
|
}
|
|
11786
11784
|
};
|
|
11787
11785
|
SmoothlyNextDemoNestedInner.style = SmoothlyNextDemoNestedInnerStyle0;
|
|
@@ -11794,7 +11792,7 @@ const SmoothlyNextDemoSimple = class {
|
|
|
11794
11792
|
index.registerInstance(this, hostRef);
|
|
11795
11793
|
}
|
|
11796
11794
|
render() {
|
|
11797
|
-
return (index.h(index.Host, { key: '
|
|
11795
|
+
return (index.h(index.Host, { key: '8e92dd82bac65db9f446b2fc2284ccfbac64a8dd' }, index.h("smoothly-display", { key: 'e086e8c5a183509e94cdce8d840ffd09d2a31fd9', type: "text", value: "Simple" }), index.h("smoothly-next-table", { key: '2ff1d639364df62dd128c24c40d000c6a8aa8dcb', color: "primary", columns: 2 }, index.h("smoothly-next-table-head", { key: '4c7f07d1f22934cbe522079a80d17a83d52440da' }, index.h("smoothly-next-table-row", { key: 'e6b01ac01b4463c166ac21857ff0385ba8fa15d8' }, index.h("smoothly-next-table-cell", { key: '95fdbcb2794b12f570d2505833a915b810f1f6e9' }, "Breed"), index.h("smoothly-next-table-cell", { key: '5ab8ac49bd797995bfeb04c2f3ab6dfdc1905e2c' }, "Coat"))), index.h("smoothly-next-table-body", { key: '09129020f0828a76250fb8d2500d01cbe807cab1' }, cats.map(cat => (index.h("smoothly-next-table-row", null, index.h("smoothly-next-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country:", index.h("br", null), cat.country)), index.h("smoothly-next-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), index.h("smoothly-next-table-expandable-row", { key: '7b3b756098f77dd01e37c66b9a01798d35483ab8' }, index.h("div", { key: 'be3224db8a7d6da2ccdb59f23696fbdc5d28e59f', slot: "detail" }, "Content", index.h("br", { key: 'e844976e58bfb731c29ca4725d7f67f8e819fe86' }), "of", index.h("br", { key: 'd967b699eb1ae184b4a6a7a469e0a4956518881a' }), "the", index.h("br", { key: '431efe0f037c9d83259aa968974b221ed6782fdc' }), "expandable", index.h("br", { key: '7231b5dfbb73b87829cc39b217bf2c5e91b2be7d' }), "row"), index.h("smoothly-next-table-cell", { key: '5940b87bdfdea6b626062c602b041120bd638310' }, "Cell1 in expandable row"), index.h("smoothly-next-table-cell", { key: 'ecc2d764d47ddd7006f3a1b8593798b8bb6dfbc9' }, "Cell2 in expandable row")), index.h("smoothly-next-table-row", { key: 'e81962ddab33db641e329378b3a0d8941adf10fd' }, index.h("smoothly-next-table-cell", { key: 'a893df7ea912997fca138c6b5018afded0a76f62' }, "Cell5"), index.h("smoothly-next-table-expandable-cell", { key: 'fb7dae6b510c9fc0b3843fd44c183697b90f96f7' }, "Expandable Cell", index.h("div", { key: '190c3258c4a67751712c3b3776b9b13f18ca28c2', slot: "detail" }, "Content of the expandable cell"))), index.h("smoothly-next-table-row", { key: '8b364487ee3cdcfb7932dd6c40b9b595a45cbe80' }, index.h("smoothly-next-table-expandable-cell", { key: 'fab2682005c738d3da178cfe8da3d61da224e782' }, "Expandable Cell 1", index.h("div", { key: '039b067965568e0d0229602afac0d3c6772b2bd4', slot: "detail" }, "Content of the expandable cell 1")), index.h("smoothly-next-table-expandable-cell", { key: '9c5eb5eee6c560306951c3d72d228e5cd8d6e8f3' }, "Expandable Cell 2", index.h("div", { key: 'bbbea858863f79a46bf67d050da123215190b3e2', slot: "detail" }, "Content of the expandable cell 2")))), index.h("smoothly-next-table-foot", { key: '4569ddb85016ea8fc52eab67fa0a86aac0ea0870' }, index.h("smoothly-next-table-row", { key: '3b98144b36882bc7e912a5fe0fa2078431e55456' }, index.h("smoothly-next-table-cell", { key: 'dbe61e4ed793110155b3c0431be76c0eee6d8275' }, "Footer Cell"), index.h("smoothly-next-table-cell", { key: 'c6bc22e00fa6b3648de09d5a132bc618b9900d99' }, "Footer Cell"))))));
|
|
11798
11796
|
}
|
|
11799
11797
|
};
|
|
11800
11798
|
const cats = [
|
|
@@ -11883,7 +11881,7 @@ const SmoothlyNextTable = class {
|
|
|
11883
11881
|
event.stopPropagation();
|
|
11884
11882
|
}
|
|
11885
11883
|
render() {
|
|
11886
|
-
return (index.h(index.Host, { key: '
|
|
11884
|
+
return (index.h(index.Host, { key: '5d5975a4d43d7dace5b52a4acf0ffe82af226a30', style: { "--columns": this.columns.toString() } }, index.h("slot", { key: 'aa7fa731be6c4e0db99cf5460a4c9dbc2ebe0647' })));
|
|
11887
11885
|
}
|
|
11888
11886
|
};
|
|
11889
11887
|
SmoothlyNextTable.style = SmoothlyNextTableStyle0;
|
|
@@ -11896,7 +11894,7 @@ const SmoothlyNextTableBody = class {
|
|
|
11896
11894
|
index.registerInstance(this, hostRef);
|
|
11897
11895
|
}
|
|
11898
11896
|
render() {
|
|
11899
|
-
return (index.h(index.Host, { key: '
|
|
11897
|
+
return (index.h(index.Host, { key: 'afa8929413ad4fcfd8dc091695a46d33666ad94d' }, index.h("slot", { key: 'e7e13990accc4b9cd1532a22d14b9e358077f453' })));
|
|
11900
11898
|
}
|
|
11901
11899
|
};
|
|
11902
11900
|
SmoothlyNextTableBody.style = SmoothlyNextTableBodyStyle0;
|
|
@@ -11911,7 +11909,7 @@ const SmoothlyNextTableCell = class {
|
|
|
11911
11909
|
}
|
|
11912
11910
|
render() {
|
|
11913
11911
|
var _a;
|
|
11914
|
-
return (index.h(index.Host, { key: '
|
|
11912
|
+
return (index.h(index.Host, { key: 'fc91d1e5fdeaa1a7a595a20e96df44ad7c530be1', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, index.h("slot", { key: 'e4b6534934edf4db666e5abb9356a3c42d6af27a' })));
|
|
11915
11913
|
}
|
|
11916
11914
|
};
|
|
11917
11915
|
SmoothlyNextTableCell.style = SmoothlyNextTableCellStyle0;
|
|
@@ -11983,18 +11981,18 @@ const TableDemoFiltered$1 = class {
|
|
|
11983
11981
|
}
|
|
11984
11982
|
render() {
|
|
11985
11983
|
const cats = this.cats && filter(this.criteria, this.cats);
|
|
11986
|
-
return (index.h(index.Host, { key: '
|
|
11984
|
+
return (index.h(index.Host, { key: '4c341fbd43b5bbd2e04c1e2ee00a07c7ea045202' }, index.h("smoothly-display", { key: '7bbe6ef242a6a1c3a7e2567025a6047c60545a13', type: "text", value: "Filtered" }), index.h("smoothly-filter", { key: 'c1ab30a5084a12a02a9b06ceb29ee696e8a169ae' }, index.h("smoothly-filter-toggle", { key: '903bf17689829b658b49940f6bec29a2433480e8', properties: { ["nested.pattern"]: "Ticked", breed: "" }, icon: "add", toolTip: "Nested Ticked", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '66c99d6f0203db09a0d910e7b8a400c0f38a7170', properties: { pattern: "Ticked", breed: "" }, icon: "paw", toolTip: "Ticked cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '2dfaa749577006dfe8f3e2b8e515982bfd55717e', properties: { breed: "Bombay", pattern: "Solid" }, icon: "radio-button-on", toolTip: "Solid bombay cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '6ad16fcad1526fc789ab40a0129a26e8db89bf69', properties: { pattern: "Colorpoint" }, not: true, active: true, icon: "alert", toolTip: "Colored cats", slot: "bar" }), index.h("smoothly-filter-select", { key: '332596b7bcdee9807e13ed624d5ad86f1801cb7f', menuHeight: "5items", label: "coat", property: "nested.coat", slot: "bar", multiple: false }, this.cats &&
|
|
11987
11985
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
11988
11986
|
var _a;
|
|
11989
11987
|
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));
|
|
11990
|
-
})), index.h("div", { key: '
|
|
11988
|
+
})), index.h("div", { key: 'b40256e9e0600b770e75347692db324557948d9c', slot: "detail" }, index.h("smoothly-form", { key: 'c8183d8e51d0d8fa8a213cb045f638e04164dc3d', looks: "border" }, index.h("smoothly-filter-select", { key: 'fc0e067002129f9b75d65b5828ef8f0fc1dfce40', menuHeight: "5items", label: "coat", property: "nested.coat", multiple: true }, this.cats &&
|
|
11991
11989
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
11992
11990
|
var _a;
|
|
11993
11991
|
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));
|
|
11994
|
-
})), index.h("smoothly-filter-select", { key: '
|
|
11995
|
-
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: '
|
|
11992
|
+
})), index.h("smoothly-filter-select", { key: 'ea9b038234c2e2a257f20f2a3d974e0abd99f12d', menuHeight: "5items", label: "breed", property: "breed", multiple: false }, this.cats &&
|
|
11993
|
+
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: 'a49b3b47fe6793d1e58e4accb61d4ae2f03fb45b', menuHeight: "5items", label: "names", property: "nested.names", multiple: true, type: "array" }, Object.keys(Object.values(names$1)
|
|
11996
11994
|
.flat()
|
|
11997
|
-
.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: '
|
|
11995
|
+
.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: '8a4b00297e311b4d553e92aa83505f2e237fdb1b', label: "Coat", property: "coat" }), index.h("smoothly-filter-input", { key: '0d50a452467c6d24e94e881b25082a7fa68eec9e', label: "Nested Coat", property: "nested.coat" })))), !cats ? ("Failed to load data.") : (index.h("smoothly-next-table", { columns: 4 }, index.h("smoothly-next-table-head", null, index.h("smoothly-next-table-row", null, index.h("smoothly-next-table-cell", null, this.selector.render(cats)), index.h("smoothly-next-table-cell", null, "Breed"), index.h("smoothly-next-table-cell", null, "Coat"), index.h("smoothly-next-table-cell", null, "Price"))), cats.map(cat => (index.h("smoothly-next-table-row", null, index.h("smoothly-next-table-cell", null, this.selector.render(cat)), index.h("smoothly-next-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country: ", cat.country)), index.h("smoothly-next-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), index.h("smoothly-next-table-cell", null, index.h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), index.h("smoothly-next-table-foot", null, index.h("smoothly-next-table-row", null, index.h("smoothly-next-table-cell", { span: 3 }, index.h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` }))))))));
|
|
11998
11996
|
}
|
|
11999
11997
|
};
|
|
12000
11998
|
const names$1 = {
|
|
@@ -12030,7 +12028,7 @@ const SmoothlyNextTableExpandableCell = class {
|
|
|
12030
12028
|
}
|
|
12031
12029
|
render() {
|
|
12032
12030
|
var _a;
|
|
12033
|
-
return (index.h(index.Host, { key: '
|
|
12031
|
+
return (index.h(index.Host, { key: '5443d2dc59b2b1acb8c17e51a3f44ce452902d0b', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, index.h("div", { key: '3cc268ce7b32eb3c119cc0a6793360c6c8345e48', onClick: () => this.clickHandler(), class: "content" }, index.h("slot", { key: '3d595d6411e52f1f9ef57d845e80cca9dcd76244' })), index.h("div", { key: 'e8388be6dd244f76854005ff04342f828a81f27c', class: "detail" }, index.h("slot", { key: 'a7e8cae9582890d2afccf61bdcfe48ff505887a7', name: "detail" }))));
|
|
12034
12032
|
}
|
|
12035
12033
|
static get watchers() { return {
|
|
12036
12034
|
"open": ["openChange"]
|
|
@@ -12054,7 +12052,7 @@ const SmoothlyNextTableExpandableRow = class {
|
|
|
12054
12052
|
this.smoothlyNextTableExpandableRowChange.emit(this.open);
|
|
12055
12053
|
}
|
|
12056
12054
|
render() {
|
|
12057
|
-
return (index.h(index.Host, { key: '
|
|
12055
|
+
return (index.h(index.Host, { key: '52090a83bed3378cc11f71f89f98ac922e343bcb', onClick: (e) => this.clickHandler(e) }, index.h("slot", { key: '2f63dbffd0697efadf3fca874eab71dd375b4f07' }), index.h("div", { key: '38c32334b65c8ac49f41225ec471270c686d4302', ref: e => (this.div = e) }, index.h("slot", { key: '3a3e3b102d1cf455f4882f5a827539db82c7c3bc', name: "detail" }))));
|
|
12058
12056
|
}
|
|
12059
12057
|
static get watchers() { return {
|
|
12060
12058
|
"open": ["openChange"]
|
|
@@ -12070,7 +12068,7 @@ const SmoothlyNextTableFoot = class {
|
|
|
12070
12068
|
index.registerInstance(this, hostRef);
|
|
12071
12069
|
}
|
|
12072
12070
|
render() {
|
|
12073
|
-
return (index.h(index.Host, { key: '
|
|
12071
|
+
return (index.h(index.Host, { key: 'f9f687b29c96c6b248dc5bc2671188dbfaad2d9f' }, index.h("slot", { key: 'd0e18614274e61b26704c3dea97d49223716efe6' })));
|
|
12074
12072
|
}
|
|
12075
12073
|
};
|
|
12076
12074
|
SmoothlyNextTableFoot.style = SmoothlyNextTableFootStyle0;
|
|
@@ -12101,7 +12099,7 @@ const SmoothlyNextTableHead = class {
|
|
|
12101
12099
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
12102
12100
|
}
|
|
12103
12101
|
render() {
|
|
12104
|
-
return (index.h(index.Host, { key: '
|
|
12102
|
+
return (index.h(index.Host, { key: '92e728917e834755a0ddcabb566f9e7ef00e5fb0', class: { scrolled: !!this.scrolled } }, index.h("slot", { key: 'a339f472c78d04d0ec4a2d092983a115f032132c' })));
|
|
12105
12103
|
}
|
|
12106
12104
|
get element() { return index.getElement(this); }
|
|
12107
12105
|
};
|
|
@@ -12125,7 +12123,7 @@ const SmoothlyNextTableRow = class {
|
|
|
12125
12123
|
event.target != cell && cell.close();
|
|
12126
12124
|
}
|
|
12127
12125
|
render() {
|
|
12128
|
-
return (index.h(index.Host, { key: '
|
|
12126
|
+
return (index.h(index.Host, { key: 'bdb75c884f66fdcfe5d3c0f8d7ac0a3afce1c141' }, index.h("slot", { key: '8fbe024b50166b5e811610ec6aa6f9b467101e33' })));
|
|
12129
12127
|
}
|
|
12130
12128
|
};
|
|
12131
12129
|
SmoothlyNextTableRow.style = SmoothlyNextTableRowStyle0;
|
|
@@ -12145,7 +12143,7 @@ const SmoothlyNextTableRowGroup = class {
|
|
|
12145
12143
|
this.smoothlyNextTableRowGroupChange.emit(this.open);
|
|
12146
12144
|
}
|
|
12147
12145
|
render() {
|
|
12148
|
-
return (index.h(index.Host, { key: '
|
|
12146
|
+
return (index.h(index.Host, { key: 'de058b807b84987392df1e6b5115dbf9b75b1cda' }, index.h("div", { key: 'a17925b2fae86d0e782e2f7ca9c9b1f2ae7c174c', onClick: () => this.clickHandler() }, index.h("div", { key: 'dc49ab6e6c8a87ec6553af0d32cc87de255513dd' }, index.h("slot", { key: 'c09bf7cb34e67f63a6ba68bcf1729e576a2e5436', name: "start" })), index.h("div", { key: '48ec1407c08502e46517c317e98dd13c2e699778' }, index.h("slot", { key: '5eff4bdfe3b98df5c871bdc8dd94d9d7fef8dcae', name: "end" }))), index.h("div", { key: '87e35d3676048f5e30fad28aaa92dfa777aee8e0' }, index.h("slot", { key: 'ba4c943650debe7ecf462969b1144dba0c566588' }))));
|
|
12149
12147
|
}
|
|
12150
12148
|
};
|
|
12151
12149
|
SmoothlyNextTableRowGroup.style = SmoothlyNextTableRowGroupStyle0;
|
|
@@ -12205,7 +12203,7 @@ const Notification = class {
|
|
|
12205
12203
|
this.onUpdatedNotice(this.notice);
|
|
12206
12204
|
}
|
|
12207
12205
|
render() {
|
|
12208
|
-
return (index.h(index.Host, { key: '
|
|
12206
|
+
return (index.h(index.Host, { key: '15fad780b09899bf3eec930c4f44b94d8e3449e8', color: this.properties[0], fill: "solid" }, this.closable && (index.h("smoothly-trigger", { key: 'f018119de7c61bed2319a34d42c5f593d8777df5', fill: "clear", name: "close" }, index.h("smoothly-icon", { key: '73e160b47cca733860abb5461eea1bae7620445f', name: "close-circle-outline" }))), index.h("span", { key: '0f1ff04d65d618b841083fb0b6f72cb6e844cd63', class: this.icon ? "icon" : "clean" }, this.icon && index.h("smoothly-icon", { key: 'dca125d726d704c241481d1e706d696f0e996716', name: this.properties[1] }), index.h("p", { key: '8e32aee5e45a331ce7210b746c01fc3de3f23651' }, this.notice.message))));
|
|
12209
12207
|
}
|
|
12210
12208
|
static get watchers() { return {
|
|
12211
12209
|
"notice": ["onUpdatedNotice"]
|
|
@@ -12230,8 +12228,8 @@ const Notifier = class {
|
|
|
12230
12228
|
}
|
|
12231
12229
|
render() {
|
|
12232
12230
|
return [
|
|
12233
|
-
index.h("slot", { key: '
|
|
12234
|
-
index.h("aside", { key: '
|
|
12231
|
+
index.h("slot", { key: '006cd0996ebcc7ed267d4185f7b19535dd4c6a8f' }),
|
|
12232
|
+
index.h("aside", { key: 'ab767aa730f8bae5621de7bb520149f163af27e7' }, this.notices.map(n => (index.h("smoothly-notification", { notice: n, icon: this.icon })))),
|
|
12235
12233
|
];
|
|
12236
12234
|
}
|
|
12237
12235
|
};
|
|
@@ -12248,9 +12246,9 @@ const SmoothlySpinner = class {
|
|
|
12248
12246
|
}
|
|
12249
12247
|
render() {
|
|
12250
12248
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
12251
|
-
return (index.h(index.Host, { key: '
|
|
12249
|
+
return (index.h(index.Host, { key: 'f8f87e9c4b24c3a8cbd3619c0f769622e0959144', style: {
|
|
12252
12250
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
12253
|
-
} }, index.h("svg", { key: '
|
|
12251
|
+
} }, index.h("svg", { key: 'f8c14a860e35ef649866549dbfcd0f2eac198e8b', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { key: '8a0422fa7a21feefbe541c9bd8a95e9c6a190921', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
12254
12252
|
}
|
|
12255
12253
|
};
|
|
12256
12254
|
SmoothlySpinner.style = SmoothlySpinnerStyle0;
|
|
@@ -12283,7 +12281,7 @@ const SmoothlySubmit = class {
|
|
|
12283
12281
|
(_a = this.parent) === null || _a === void 0 ? void 0 : _a.submit();
|
|
12284
12282
|
}
|
|
12285
12283
|
render() {
|
|
12286
|
-
return (index.h(Button, { key: '
|
|
12284
|
+
return (index.h(Button, { key: 'e744ab24a03f09fcfce4126bf1c515cea3d3e58e', disabled: this.disabled, type: this.type }, index.h("slot", { key: '7170d7a7dcab90043a63464774b149cda9eaf5ea' })));
|
|
12287
12285
|
}
|
|
12288
12286
|
};
|
|
12289
12287
|
SmoothlySubmit.style = SmoothlySubmitStyle0;
|
|
@@ -12318,7 +12316,7 @@ const SmoothlySummary = class {
|
|
|
12318
12316
|
}
|
|
12319
12317
|
}
|
|
12320
12318
|
render() {
|
|
12321
|
-
return (index.h("details", { key: '
|
|
12319
|
+
return (index.h("details", { key: '4117914a048ab6e376a887df7f5c2222ebf96aa2', onToggle: e => this.toggleHandler(e), open: this.open }, index.h("summary", { key: '3cb0f1e1f376f2c11f840f6c713660eff9a6d855' }, index.h("smoothly-icon", { key: 'caaf14d47b3853217bb63b42c7fda6e57b077bd4', name: "caret-forward", color: this.color, fill: this.fill, size: this.size }), index.h("slot", { key: '2b33f71121407a0411ab5ee96c2335babd598a60', name: "summary" })), index.h("slot", { key: '295a16e9fd6ad9463792024ba4a18a826c2b8126', name: "content" })));
|
|
12322
12320
|
}
|
|
12323
12321
|
};
|
|
12324
12322
|
SmoothlySummary.style = SmoothlySummaryStyle0;
|
|
@@ -12360,7 +12358,7 @@ const SmoothlyTab = class {
|
|
|
12360
12358
|
}
|
|
12361
12359
|
}
|
|
12362
12360
|
render() {
|
|
12363
|
-
return (index.h(index.Host, { key: '
|
|
12361
|
+
return (index.h(index.Host, { key: '417ad462857abdf14e1ec37429e75b689799efb0' }, index.h("div", { key: '6993c98633a3794b71b4b83a3a69423dac7c74e2' }, index.h("label", { key: '0ee24bb008ec1fb28e7c41ae1c282b25bef04a1c' }, this.label)), index.h("div", { key: '3a1c8c42d5ef94e61c632c4eecbc4d2d02ac732b', hidden: !this.open }, index.h("slot", { key: '3d87938f9cb4240dd659a77096fb4d185dbca404' }))));
|
|
12364
12362
|
}
|
|
12365
12363
|
static get watchers() { return {
|
|
12366
12364
|
"open": ["openHandler"]
|
|
@@ -12411,7 +12409,7 @@ const Table = class {
|
|
|
12411
12409
|
event.stopPropagation();
|
|
12412
12410
|
}
|
|
12413
12411
|
render() {
|
|
12414
|
-
return [index.h("slot", { key: '
|
|
12412
|
+
return [index.h("slot", { key: 'bc7ed690ff5c01071dc2f439b76474122a93d3d2' })];
|
|
12415
12413
|
}
|
|
12416
12414
|
get element() { return index.getElement(this); }
|
|
12417
12415
|
};
|
|
@@ -12425,7 +12423,7 @@ const TableCell = class {
|
|
|
12425
12423
|
index.registerInstance(this, hostRef);
|
|
12426
12424
|
}
|
|
12427
12425
|
render() {
|
|
12428
|
-
return (index.h(index.Host, { key: '
|
|
12426
|
+
return (index.h(index.Host, { key: '112de927446e13a6ff6de0c826e4b33655d5fae0' }, index.h("div", { key: 'e9de207f2c36b6e3f026631241563b392167e1c9' }, index.h("div", { key: '127edfaba1f5a4c80803a77ac63e086169f07128' }, index.h("slot", { key: 'ad6ea04c2b33dcb014cffdb08fcc3cc0a7ecdf78' })), index.h("smoothly-icon", { key: 'e37c9beb47abc85f08beb84b28b157b3f1899095', name: "caret-forward-outline", size: "tiny" }))));
|
|
12429
12427
|
}
|
|
12430
12428
|
};
|
|
12431
12429
|
TableCell.style = SmoothlyTableCellStyle0;
|
|
@@ -12438,7 +12436,7 @@ const TableDemo = class {
|
|
|
12438
12436
|
index.registerInstance(this, hostRef);
|
|
12439
12437
|
}
|
|
12440
12438
|
render() {
|
|
12441
|
-
return (index.h(index.Host, { key: '112de927446e13a6ff6de0c826e4b33655d5fae0' }, index.h("h4", { key: '0ca412f01a85db840ac52d9d837f12c7d2eab013' }, "Demo table 1: Filtered & Checked Table"), " ", index.h("smoothly-lazy", { key: '7284df7b8ccc28af03ddb83af5100b312e94ba22', content: index.h("smoothly-table-demo-filtered", null) }), index.h("h4", { key: '7b31178676c30477f449f63839092c5c0a87f7fb' }, "Demo table 2"), " ", index.h("smoothly-table-testing", { key: '8e55ca9b78f06394e204913a1eb778acc4d254fc' }), " ", index.h("h4", { key: 'cf543da572eb0fa73036fc50cf758bc71042d7ea' }, "Demo table 3"), index.h("smoothly-table", { key: 'ca3829ae8817782801578d87c1e9917cd8bf5d90' }, index.h("smoothly-table-row", { key: '5c594fb0fbd0e0a9cf1294b28d15708c7a82f5ef' }, index.h("smoothly-table-header", { key: '15185fe9b084f1c1a5887d15808911033d48a879' }, "Header A"), index.h("smoothly-table-header", { key: '032df37c80a4d5f51685896bea298c4cc8673bfb' }, "Header B"), index.h("smoothly-table-header", { key: '66784eb167b97b5de635762f31be13d80977ea20' }, "Header C"), index.h("smoothly-table-header", { key: 'f7b182ce6ff4d4c77d9156b2f03e12117995ff42' }, "Header D")), index.h("smoothly-table-row", { key: 'cd7aab628e20d259972682714e1631782048796c' }, index.h("smoothly-table-expandable-cell", { key: '79da2cbe78cdce45f61794986d9e14608519fb3a' }, "normal row (exp.cell)", index.h("div", { key: '78cc08b82bd5923577804e3dc5b842d29bdd7698', slot: "detail" }, "expandable cell 1 content")), index.h("smoothly-table-expandable-cell", { key: 'e775213f6c7c266d2ddd163c10405ca524660581' }, "expandable cell", index.h("div", { key: 'f18c98a475adfe01001208b78725f75102893f80', slot: "detail" }, "expandable cell 2 content")), index.h("smoothly-table-expandable-cell", { key: '161cbf3feaef04d304815c4c8d1e349c047b2f61' }, "expandable cell", index.h("div", { key: 'c6b3392e295e7e27fcfb49bcc06404670928d230', slot: "detail" }, "expandable cell 3 content")), index.h("smoothly-table-expandable-cell", { key: '25dd7135451cad66cb70eb173f3f103b26f936ea' }, "expandable cell", index.h("div", { key: 'a74e8048b0b174cd64747143a335b0980244fe89', slot: "detail" }, "expandable cell 4 content"))), index.h("smoothly-table-row", { key: '4f925af66ed4a7dbad5e1e96672649b8e1c3e0a9' }, index.h("smoothly-table-cell", { key: '91bb5400761f17a3948a25f2f9c50ac23730b626' }, "normal row (nor.cell)\""), index.h("smoothly-table-cell", { key: '546ad1a08b3677f5f6f48c521e29f3aad9b3e470' }, "normal cell"), index.h("smoothly-table-expandable-cell", { key: '56d29532ecf1c2eb5c20ccea50b6a193ea2b74b3' }, "expandable cell", index.h("div", { key: '6da7dd2039ada2687a1d542903ac4c6e498b83bd', slot: "detail" }, "expandable cell details.")), index.h("smoothly-table-expandable-cell", { key: '18083db1b4477ca85a4fd0b4a4cf48f6fbce2e48' }, "expandable cell", index.h("div", { key: '4a23052e69cd408f742ac0eb7ca27a31b3f74cc9', slot: "detail" }, "expandable cell details."))), index.h("smoothly-table-expandable-row", { key: '77ad4d2bab4b105140e1841e982d18aa05396b33' }, index.h("smoothly-table-cell", { key: 'a9c1b0e695171b4196f8082922a0097f2a49bd91' }, "expandable row (nor.cell)"), index.h("smoothly-table-cell", { key: 'd06dd06a3c1cb2ea4b1e6e827befa4b7b29c071e' }, "Normal cell"), index.h("smoothly-table-cell", { key: '711f6a6f6a43658c504bb179d1c48bba8cfaa0fe' }, "normal cell"), index.h("smoothly-table-cell", { key: 'a52dba5771e75c75211502f346fcfe7c7720bcff' }, "Normal cell"), index.h("div", { key: '14b463c1fc11df6d51716c6b0bc46d9137963f99', slot: "detail" }, "expandable row content"))), index.h("h4", { key: '878aa1af3b9d3bf4cef70646bfec241748f88852' }, "Demo table 4"), index.h("smoothly-table", { key: '5a348142990b362d65150df03f81495f505693b0' }, index.h("smoothly-table-row", { key: 'f722e053b1a8640c22f33c9ebfee982a17026a28' }, index.h("smoothly-table-header", { key: 'c639583df3faf0ac837b17bb85ab76eeb6e1d26b' }, "Header A"), index.h("smoothly-table-expandable-cell", { key: '9976e2ffab16e25ca353b9c3d5f32f5967ed83a9' }, "Header expansion", index.h("div", { key: 'ff01e1df084f325be84bb3c7800253beed422884', slot: "detail" }, "Expansion content"))), index.h("smoothly-table-expandable-row", { key: '2c36a81b262ccb1cc60dece208b69adbba1db930' }, index.h("smoothly-table-cell", { key: '96215d78e2ebdaa50a5427441750e0398c0c6be5' }, "A Content"), index.h("smoothly-table-cell", { key: '5530879a8ad34831834b482e8449cc6c372c08b7' }, "Expansion cell"), index.h("div", { key: 'bdad6b059502ca50cd257bae0603ee8c891b988d', slot: "detail" }, index.h("smoothly-tab-switch", { key: 'fb7ab170a92287e687684c60921c7df84c6f0208' }, index.h("smoothly-tab", { key: 'a77b4537f163caca2cf8a5e1b4f07dbf0c05492d', label: "innertable 1", open: true }, index.h("smoothly-table", { key: 'e95509292af26b9d68ae6110cbb139202cccc227' }, index.h("smoothly-table-row", { key: 'f279813f4c3172296f8766299fd78807ad3a20b8' }, index.h("smoothly-table-header", { key: '77de5e8abf009536a75ac29bbcabacf0362536ff' }, "Header B")), index.h("smoothly-table-expandable-row", { key: 'e9ec1f3d693f9ff1d338c444ed497dec5e85fdd8' }, "B Content"))), index.h("smoothly-tab", { key: '0ce68ac72b2f32bfdc9985dbdbd5ef4331b6fa56', label: "innertable 2" }, index.h("smoothly-table", { key: '9e1bd7a05ba27943006d3ec820cb35b8cd94c13f' }, index.h("smoothly-table-row", { key: '06f52f9fecc06ed8b1a07e34e01e4b83f5b786b4' }, index.h("smoothly-table-header", { key: '255cb4214524b0de1d8ad80cbb507311cef66e92' }, "Header C")), index.h("smoothly-table-expandable-row", { key: 'fd8c0569c999d98758f4804abd5c27927dc0b3af' }, index.h("smoothly-table-cell", { key: '205e6c93960046acaddebed28bdfde8fd342a27f' }, "C Content"))))))), index.h("smoothly-table-row", { key: '78acc08880a8e9c02f92478d73e3779259239835' }, index.h("smoothly-table-cell", { key: '4ca1f4c9f5cfc82c0a9de9c44c46127a8571fb14' }, "A Content"), index.h("smoothly-table-expandable-cell", { key: 'ca9a743df336eff6368e31fda5b40bc68bcfa25c' }, "Expandable cell", index.h("div", { key: '6c54f59f4baf8b8edfceb2e2f6b6b1de9c9865b7', slot: "detail" }, "Expansion content")))), index.h("h4", { key: '64634ebf3a0288a3bdef564ab4e7734b4adc106d' }, "Demo table 5"), index.h("smoothly-table", { key: 'a5294010d3d8b152963ee57f75850a801a396ac9' }, index.h("smoothly-table-row", { key: '50ca377821b29d27913d8305c39a3321ead395c2' }, index.h("smoothly-table-header", { key: 'ca3e91d0a43a76d46a36e99135ec0adb0467e58e' }, "A"), index.h("smoothly-table-header", { key: '38a7cebfddc92776d118cf194b114c91e9c031ec' }, "B")), index.h("smoothly-table-expandable-row", { key: '819203d0e2c28dbd69c075296b85fcc036d99358' }, index.h("smoothly-table-cell", { key: '3f369b33ba6aa175cf93eeb3ec285b2a3a16daeb' }, "nested expandable row"), index.h("smoothly-table-cell", { key: '98b51303271d61644ac1b75c38743a981f52988c' }, "b row"), index.h("div", { key: '042c9b0ea28b722fb38d7cad375bcdee60436aec', slot: "detail" }, index.h("smoothly-table", { key: '09abc7a7f0913d457358078f47d1dd74b29f7c20' }, index.h("smoothly-table-row", { key: '6c1ce5abf10898dd2b3a4946e10d68c64917618b' }, index.h("smoothly-table-header", { key: '2c0d2ca3a8c994ff3d604e30f92a2032448e17e1' }, "C"), index.h("smoothly-table-header", { key: '488349d36ac67128f2d33f6b4a919f5354271db7' }, "D")), index.h("smoothly-table-expandable-row", { key: '84cc2d3d865df8890152dc78394e9075744230c2' }, index.h("smoothly-table-cell", { key: '1e67770d5d98d333125cd52d1a5151101407f6e3' }, "c"), index.h("smoothly-table-cell", { key: '8e183795d240dd4c57ff8c53ee8d031bb158b904' }, "d"), index.h("div", { key: 'e683a2e30afe3504ad58b85200343d2f1538baaf', slot: "detail" }, index.h("smoothly-table", { key: '7ffa6610f76d710be3666911fc186fa2cb989c39' }, index.h("smoothly-table-row", { key: 'bdad27301f1b72c4d75796b31310b8ef62bac213' }, index.h("smoothly-table-header", { key: '7fc6dea3db6b5b699f4f8b89c1bf570fa809aeb1' }, "E"), index.h("smoothly-table-header", { key: '48b76a0f42406b0e92cf63767113c03e53ee6c44' }, "F")), index.h("smoothly-table-expandable-row", { key: 'd4b8dc3153a93e2e96c3e9f77031628208724873' }, index.h("smoothly-table-cell", { key: '2cb53816be9e04b8b8c27274241821b407e5eda0' }, "e row"), index.h("smoothly-table-cell", { key: '47f1d43a0e8d9327580b2c1c53ea879a9b6d06a8' }, "f row"), index.h("div", { key: 'c20259534467a948efd4e3cd7e9da5872c7ae795', slot: "detail" }, "nested expandable row expansion e f")))))))), index.h("smoothly-table-expandable-row", { key: 'd234705cfcc0cfb16c81cfc43ea683a50038b353' }, index.h("smoothly-table-cell", { key: '90e43ec9e2835869fb11b4d1800e59071ccad982' }, index.h("span", { key: 'e47af24d55eddbdce0cd6fa5a590faa8b3a6d518' }, "one"), index.h("span", { key: '9d4470fc8387a4e66d4190a70ded996de39df318' }, "two"), index.h("span", { key: '1014a78f7dbaf86666fb0154c7b6e5d617036c7d' }, "three")), index.h("smoothly-table-cell", { key: '588619fb1add4c0bc2127284e93706c2a5ae2337' }, "five", index.h("smoothly-icon", { key: '4094a79520fe1228392f08ba4070375968f08396', name: "paper-plane-sharp", size: "small" })), index.h("div", { key: '822d05ad4b3c582db61115a240f49992e2bc201a', slot: "detail" }, "four")), index.h("smoothly-table-row", { key: '39639ef67e55ce304658c081deaa2d323fa71a07' }, index.h("smoothly-table-expandable-cell", { key: 'bb351fe086c9661d0736d9429e4915fdd9e81093' }, index.h("span", { key: '830e083c81a4fa73a77332988eaa918bb68c899b' }, "nested expandable cells"), index.h("div", { key: '6c69c8ddc6e47f9d6d2430709729464639ddcdd8', slot: "detail" }, index.h("smoothly-table", { key: 'c8e03b732d601218e43cf5cde90bbe797a6a8ce9' }, index.h("smoothly-table-row", { key: '1138efe1b5f44439f5e025c0d1e28d2833213f75' }, index.h("smoothly-table-header", { key: '4bb54d4e8a465cea94be96df4dbbf02ba2209204' }, "E"), index.h("smoothly-table-header", { key: '0a91912df392fb774602127c9797b75168acf4a0' }, "F")), index.h("smoothly-table-row", { key: 'b5b87d51ed95f83fd4710a57e353dba34a2fdc22' }, index.h("smoothly-table-expandable-cell", { key: '5080e8cef12fa95147de5c4b96ba345dbe8b411b' }, "e cell", index.h("div", { key: '3fc67a555e2c1f827a930ffaf73090e831dc2889', slot: "detail" }, index.h("smoothly-table", { key: '4ceb69ba4dc2dff14a1f916cb81edad48af8a9fb' }, index.h("smoothly-table-row", { key: '38b5e053d71474a27d7695e1107dbd6c5117e3fc' }, index.h("smoothly-table-header", { key: '266c28527fba05ac4f683e8e66e90406dfd7c96f' }, "G"), index.h("smoothly-table-header", { key: 'eaeab41bfea801a517ddb24d7dedfa18a6ed7929' }, "H")), index.h("smoothly-table-row", { key: '25e5243307118b45625664ce3106cf671a2969d9' }, index.h("smoothly-table-expandable-cell", { key: '20dce28d5466a193870ed62022bb08d342d0b3dc' }, "g cell", index.h("div", { key: '6bf17ebae0769008fbdae1d64ba8f4654486c285', slot: "detail" }, "nested expandable cell expansion g")), index.h("smoothly-table-expandable-cell", { key: '8b976cf17fbee90e1f78646251d6b793ef03ddbb' }, "h cell", index.h("div", { key: '3b7ca428bbdd7605feba54e5764594c341494664', slot: "detail" }, "nested expandable cell expansion h")))))), index.h("smoothly-table-expandable-cell", { key: 'a8103d635a5af23677ea0abdd20f8b15205fefd5' }, "f cell", index.h("div", { key: '1068f08f5ed362e36ed4e83a6c77a9775f240aa1', slot: "detail" }, "nested expandable cell expansion f")))))), index.h("smoothly-table-expandable-cell", { key: '8272982c0008038f4c494cd9172e72f66938fdf9' }, "b cell", index.h("div", { key: '634b58dce5106b4e1b5ac807e78d04cf7dbee622', slot: "detail" }, index.h("smoothly-table", { key: 'a1433649c0314ba7cdd2b8d2ec15e341899f4b63' }, index.h("smoothly-table-row", { key: 'c101e6243949b29b10a9088f289eaf5cafd3545c' }, index.h("smoothly-table-header", { key: 'de633374484f852dcdf93f77d70e84a7e8bbe262' }, "C"), index.h("smoothly-table-header", { key: 'ce913d8297fa167932883af79f2c6c8fcd31c1c0' }, "D")), index.h("smoothly-table-row", { key: 'bd489d58cfd016e2d8a5ade4ee2018748054d431' }, index.h("smoothly-table-expandable-cell", { key: 'bfc1f1778132fe6065b696c8e0da6a6169e39609' }, "c cell", index.h("div", { key: 'b60a149194a3a00aafad8ae07edb7e007583fde5', slot: "detail" }, "nested expandable cell expansion c")), index.h("smoothly-table-expandable-cell", { key: 'd9eef722d45393ef7c99bcb3b1d3e7d991cda281' }, "d cell", index.h("div", { key: '9ae8c201b2e25135f012504d5776f262ca5af34a', slot: "detail" }, "nested expandable cell expansion d")))))))), index.h("h4", { key: 'c36d23dd1d3982eaf2d05efcc60e698f9c0491af' }, "Demo table 6"), index.h("smoothly-table", { key: 'cbeeb4373e6aa41946e0326640fb4fa4a2a7118b' }, index.h("smoothly-table-row", { key: '97f030cb6b55bcf06fb6472a9f35f944e74ae475' }, index.h("smoothly-table-header", { key: 'cf9ec680c5480bc6833280280b0d30ccc19ae3e2' }, "display"), index.h("smoothly-table-header", { key: '362e3ac84693103393617178850c71a6e9e688c4' }, "contents")), index.h("smoothly-table-expandable-row", { key: 'aec3cf9ec6a47af7a69ab02b7b86ad42d8eef91a' }, index.h("div", { key: '72dd01b0a8592ad340528dfbafd67690edf07976', class: "content" }, index.h("smoothly-table-cell", { key: 'cb4f13006d5b11e34a5a785ea62a50fe6efcae98' }, "A"), index.h("smoothly-table-cell", { key: 'd09524025a8d1a252953f66147b62cdc346ae9ae' }, "B")), index.h("div", { key: 'a526f9a54bd787cc9918ca8c92db7e5762f22149', slot: "detail" }, "expansion"))), index.h("h4", { key: '65ef9ec2fa4709218e564c369494164b52cc4c78' }, "Demo table 7"), " ", index.h("span", { key: 'f413772cb517b938662c323e35f84eba74f8dc5e' }, "nested 1 then normal"), index.h("smoothly-table", { key: '58d58d9e21419a2ba963185d2c3d9993bc5ebb80' }, index.h("smoothly-table-row", { key: '80c1ec64f85096a9262f2c2c85896be2223cad27' }, index.h("smoothly-table-header", { key: 'a1b51d51042c17aab5fcf0298f58f46f340ebf59' }, "A"), index.h("smoothly-table-header", { key: '37a4dcf8017b8d706562cbcd742d4b7591e4a22b' }, "B")), index.h("smoothly-table-expandable-row", { key: '0153690a04931017060b284f76c07dfa3a08a8e1' }, index.h("smoothly-table-cell", { key: '6c1c0d445ce39fd27b312dc1fc1fc0a0e058c2de' }, "a"), index.h("smoothly-table-cell", { key: '44bfb5ad0224971258d2663a5b52e427d4e9951d' }, "b"), index.h("div", { key: 'e15d4f7089be9b7cbd6f7edeea18f8a767f862d5', slot: "detail" }, index.h("smoothly-table", { key: '227f667933a3fa1e7c38584922bb0bde23a8ea48' }, index.h("smoothly-table-row", { key: '028975d1f17b0efc57882fbe4b64c5c9eaedb66f' }, index.h("smoothly-table-header", { key: '20c448585b00b08e8b4be707863e6955f2be3165' }, "C"), index.h("smoothly-table-header", { key: '0aba0045e4d5419401f3218a20c02805c785d6b7' }, "D")), index.h("smoothly-table-row", { key: 'a7bee785cf257b2b95feee39b5901eded2fe75a5' }, index.h("smoothly-table-cell", { key: 'ea34a95fdc3498d1c02c083d018ab218eb2e9a3f' }, "c"), index.h("smoothly-table-cell", { key: '0233ca8aea5f29b30571495a2f0d1dc31dd24e0f' }, "d")), index.h("smoothly-table-row", { key: '70d7de4a19d40c52457c96a1b0ef08e94cd0c99d' }, index.h("smoothly-table-cell", { key: '265df9be85ad94d45e827c406bdf3ff6873afbd8' }, "ccc"), index.h("smoothly-table-cell", { key: '423037af6e2756865aa6cbf6988e49fc96141a77' }, "ddd")), index.h("smoothly-table-expandable-row", { key: 'd5e3a2696d0d01d986fc30d99dd4b75a8f36c388' }, index.h("smoothly-table-cell", { key: '3676c3eb6c8a674b150b418012a16dd5e4491673' }, "cccc"), index.h("smoothly-table-cell", { key: 'ca3243c8ab223ae7b0b76b9130ab59d9981ca39b' }, "dddd"), index.h("div", { key: '710017d79ae4be52ecb797516d9192316d1838ce', slot: "detail" }, "CONTENT")), index.h("smoothly-table-row", { key: '558c341772a7b4184639d0efe8eb2f55d069adeb' }, index.h("smoothly-table-cell", { key: '432d38d8eed301e016d975a4a53025e2c674633d' }, "ccccc"), index.h("smoothly-table-cell", { key: '4ad5eb4283a84cc9fb27b1a8df79ad7ca7ae008d' }, "ddd")), index.h("smoothly-table-expandable-row", { key: '578c085d5b99f31e383997baa27ae13e0b05e6b5' }, index.h("smoothly-table-cell", { key: 'ba92a81a34c433e9ba7002ceccfa7a2ff328c7ae' }, "cccc"), index.h("smoothly-table-cell", { key: '15c2556e874e310eb442491ff91802aa95a240ed' }, "dddd"), index.h("div", { key: '83dda4f04b29df46d38ba2e142648a44411dbb6a', slot: "detail" }, "CONTENT")))))), index.h("h4", { key: 'e97327174a441b833fd5a189143243689d68a657' }, "Demo table 8"), " ", index.h("span", { key: '690fc3f1c588da443c933efdc336c7efd2f6c32c' }, "not nested"), index.h("smoothly-table", { key: 'fea1c9fd95e05a4f84a7e4d8cc7919b024e558c4' }, index.h("smoothly-table-row", { key: '5f40aa02eeafdd9da796bf0f84d5b3924aa17173' }, index.h("smoothly-table-header", { key: 'b77d152a3d485b2545852d6fe638526e52ee08f8' }, "C"), index.h("smoothly-table-header", { key: '4b75ca9b0e3771efd9463cf03cfff5c2f4e1734a' }, "D")), index.h("smoothly-table-row", { key: 'ab145aabaaa9874800d4818ebb818e7fadb6e4a7' }, index.h("smoothly-table-cell", { key: '151d7f5c5e07352a038f4c2c4d82d909f0a55911' }, "c"), index.h("smoothly-table-cell", { key: 'b1d36eba7f7cd774a41838a5b54282a119b22d0a' }, "d")), index.h("smoothly-table-row", { key: '1e87721f62fd2e69eccf6d4e191798aaabe9b072' }, index.h("smoothly-table-cell", { key: '4e03b1e62d23c0b58d4433672192ff3f0346b19f' }, "cc"), index.h("smoothly-table-cell", { key: '2cebe5623928632faa34b9ace8566bf207fca379' }, "dd")), index.h("smoothly-table-row", { key: '604c60291ff3f2eae8681526059ad5a8105a1a9c' }, index.h("smoothly-table-cell", { key: 'cfaca20e757519e5d78c95ef605aa8feae9668c0' }, "ccc"), index.h("smoothly-table-cell", { key: 'f54be192d777c7cfdc3fde33c0e12df1cd22bff8' }, "ddd"))), index.h("h4", { key: 'a289bff46284b8fcdf7eb0b67428ec20cbecb89f' }, "Demo table 9"), index.h("smoothly-table", { key: 'edc7057a9018cbdc7d821a874dda7b3e6f998b02' }, index.h("smoothly-table-row", { key: '69cffb1f821746f7e8266bcdaa5c5b784c351608' }, index.h("smoothly-table-header", { key: '8b9c0f55e9ef7c2eddbd6ca98e24bfcce8c5b9f3' }, "First name"), index.h("smoothly-table-header", { key: '0fadda92b7d55fb438fe498204e35967787bae86' }, "Last name"), index.h("smoothly-table-header", { key: '9ab6a8078593493cc48eff988924a7ef24ff3600', style: { width: "1px" } }, index.h("smoothly-icon", { key: '8dd6e1869c11c9bf7743889ba281f683a6a7e8f9', name: "alert-outline" }))), index.h("smoothly-table-expandable-row", { key: '6e866d020e2b0fdc520c50763d09c631b3e5f6af' }, index.h("smoothly-table-cell", { key: '6e3ed40208dd476c089dbb6b8d7e39ae88efbed3' }, "Jessie"), index.h("smoothly-table-cell", { key: 'f95419c44c653c33eb1fd4c765f9dbdb56e4b021' }, "Doe"), index.h("smoothly-table-cell", { key: 'ed0532fc13b7aa9524c33d88e2d55d1a05397a6c' }), index.h("div", { key: 'cbae9a004801614a8430a7c5d5f2827a69e4366d', slot: "detail" }, index.h("p", { key: 'ee0937ca9dd38051d6c77e0aaf3cbf2868ae6003' }, "This is Jessie")))), index.h("h4", { key: '37e35f996b1c5c1f18ba45959e80441a60034bc2' }, "Demo table 9 - Lazy expansion rows"), index.h("smoothly-table", { key: '8a3758fd18893878883cbc5f857588a5390a3ae0' }, index.h("smoothly-table-row", { key: '6dca3b6696269076d85964e44441ffa9841f4f8c' }, index.h("smoothly-table-header", { key: 'c814aef74145d839c9917998c8639428707ddfa2' }, "Company")), index.h("smoothly-table-expandable-row", { key: '55ec7c8cb9f96ca5f587229c70032e2d6eadde5f' }, index.h("smoothly-table-cell", { key: '97d9276dfbe5c4a011efc5fafc64cbf68e7e9428' }, "Proquse"), index.h("smoothly-lazy", { key: '02f177aa21f3f3ba85556b945921cd9ea537eeb8', slot: "detail", content: index.h("img", { src: "https://brand.proquse.com/logo/proquse-black.svg", alt: "Proquse Logotype." }) })), index.h("smoothly-table-expandable-row", { key: '8cd1a9f002c0538a54abb793ffb8d11a1d315d78' }, index.h("smoothly-table-cell", { key: '38043088ffc3d0c96fe423f065a764f333a9f0f1' }, "Pax2Pay"), index.h("smoothly-lazy", { key: '936263a140c20405d33e6203fb984bf7ccaa5d55', slot: "detail", content: () => (index.h("img", { src: "https://dash.pax2pay.app/assets/pax2pay-dark-horizontal.svg", alt: "Pax2Pay Logotype." })) }))), index.h("h4", { key: 'c1a39e3696ee32d9aea4d0f6fd59e947237d29ff' }, "Demo table 10 - Lazy expansion cells"), index.h("smoothly-table", { key: 'daea0e7771798d381050bf2da25587de55404f8c' }, index.h("smoothly-table-row", { key: '0e09ce152e2ea57f514626429eca94600da67334' }, index.h("smoothly-table-header", { key: '8754a2389641ab7a8f1a18ca6a5b6147f5e4e643' }, "Company")), index.h("smoothly-table-row", { key: '22a037215578704299f0ad7463892648689cbdd8' }, index.h("smoothly-table-expandable-cell", { key: '775da09668bb0b0e44cdc02fba9df5e4c1911729' }, "Proquse", index.h("smoothly-lazy", { key: '4518b9115c1b5b190c67878d12e35069338c2640', slot: "detail", content: index.h("img", { src: "https://brand.proquse.com/logo/proquse-black.svg", alt: "Proquse Logotype." }) }))), index.h("smoothly-table-row", { key: '4671817683949e24e640fa89665454a708c5309f' }, index.h("smoothly-table-expandable-cell", { key: 'de8baed6fa2a2a6be7f3cf665a033d4a96f6e953' }, "Pax2Pay", index.h("smoothly-lazy", { key: '309467301864b8b6d90ebd198d9fd55ca1c846bf', slot: "detail", content: () => (index.h("img", { src: "https://dash.pax2pay.app/assets/pax2pay-dark-horizontal.svg", alt: "Pax2Pay Logotype." })) })))), index.h("h4", { key: '83a239b2580c56f8a48d1e83976c7a58a4b10c18' }, "Demo table 11 - expandable cells"), index.h("smoothly-table", { key: '7ddb6e03f197e0a25cd6162f49753c969e586de1' }, index.h("smoothly-table-row", { key: '60e0b7a61cc7e9cabb8414775d0f9b1f46cbd42c' }, index.h("smoothly-table-header", { key: '7d467b22a6a16c822e0165652794f4ae840f2928' }, "Name"), index.h("smoothly-table-header", { key: 'b6aba8a280624f9878cfabdeb15793e9af7abc7c' }, "Age"), index.h("smoothly-table-header", { key: '5ea1a02d04b300575d8d871282a7dae7202b418d' }, "Location")), index.h("smoothly-table-row", { key: 'bdb696de8b10b595e025a96685206587af11b289' }, index.h("smoothly-table-expandable-cell", { key: '60bf0a98303ce8a6db44df066b9e5113f1cc487d' }, "Jessie", index.h("div", { key: 'b209de95a6b63311658ea1b16b055fc77deecbfb', slot: "detail" }, "Doe")), index.h("smoothly-table-expandable-cell", { key: '364f561c53b5fc42625081e3c9bedaf9ca50a060' }, new Date().getFullYear() - 2000, index.h("div", { key: '21fdecb49374bd0097a92ffa247b7516cbacd8f8', slot: "detail" }, "2000-01-01")), index.h("smoothly-table-expandable-cell", { key: '1815d3e84d4b0beef8a2f0c246524d71e34d556c' }, "UK", index.h("div", { key: '137fe9c6ebabffe7018c75804d97df439aa8cbb9', slot: "detail" }, "London"))))));
|
|
12439
|
+
return (index.h(index.Host, { key: '084f8dd93e2e896aa0c82a2dbf94d15e590ab6b3' }, index.h("h4", { key: 'b415225da9d340343c1140cece8896618734408b' }, "Demo table 1: Filtered & Checked Table"), " ", index.h("smoothly-lazy", { key: '02f0149fe05a809bddbb5387d76589fa95cf3636', content: index.h("smoothly-table-demo-filtered", null) }), index.h("h4", { key: '3dd8cf1aa0f290b946924e7d33631ff7ead59068' }, "Demo table 2"), " ", index.h("smoothly-table-testing", { key: 'a41c384503a52961c08bb410dd88c7519b728799' }), " ", index.h("h4", { key: '8ffd0c73febbec012336e4b74a00ce1e5937082a' }, "Demo table 3"), index.h("smoothly-table", { key: '8238a27bcac022b998c09c26d6fce868fbecfe45' }, index.h("smoothly-table-row", { key: 'b4e62f8d29d73141e4c42f4613e63d3aa1881e01' }, index.h("smoothly-table-header", { key: '0a42b31aa3b59120000525d88aec1ecfd8829c45' }, "Header A"), index.h("smoothly-table-header", { key: 'db14af55f7588b4ff340a847ba8540682bf03c73' }, "Header B"), index.h("smoothly-table-header", { key: '85d56a58d0de295a58995957a0866b79167121ab' }, "Header C"), index.h("smoothly-table-header", { key: '03e8cd286eafe69a2f50e051b2a85ef75e1a8a54' }, "Header D")), index.h("smoothly-table-row", { key: '2682156506f8fb68bf2c234b41a63ac110f8b727' }, index.h("smoothly-table-expandable-cell", { key: '9a15ca31cfe50004d6c49988aadd2225af73fb30' }, "normal row (exp.cell)", index.h("div", { key: 'e0e1b167a5333ff7508f1fda9ce8f46f94fb0c86', slot: "detail" }, "expandable cell 1 content")), index.h("smoothly-table-expandable-cell", { key: 'cd23c79877acb9f4ed587b9a196f482c99f77d1f' }, "expandable cell", index.h("div", { key: '70de6e1eb0e37b6e48fc58ab039d1646aecd5590', slot: "detail" }, "expandable cell 2 content")), index.h("smoothly-table-expandable-cell", { key: 'c767fc973dcb18cea7a825f4ebacc2fcb8f9f834' }, "expandable cell", index.h("div", { key: 'b87f290f7a61063e91b2dfaf6fcb78ed6d50edcc', slot: "detail" }, "expandable cell 3 content")), index.h("smoothly-table-expandable-cell", { key: '5b915248d37d0a76409d4a3f42fa24ec6b3c24c9' }, "expandable cell", index.h("div", { key: '51d32db57bea1de0365bfed946f245a342876c03', slot: "detail" }, "expandable cell 4 content"))), index.h("smoothly-table-row", { key: 'c9b72eea96187a5eac7fa7bb92f46cdbbc236b7b' }, index.h("smoothly-table-cell", { key: '6afd7627309f99ea53ef3878564520e0342291d8' }, "normal row (nor.cell)\""), index.h("smoothly-table-cell", { key: 'd807670bbd5847a95b1f7147f90d270ce577fb5b' }, "normal cell"), index.h("smoothly-table-expandable-cell", { key: 'e223767b8b762ae7d94e5dfcd18b436d99525779' }, "expandable cell", index.h("div", { key: 'e016a6bf37e842872fdb29278da36993e8b0a164', slot: "detail" }, "expandable cell details.")), index.h("smoothly-table-expandable-cell", { key: '34f4733b68e0804be594201cf0ae1cbef75fb671' }, "expandable cell", index.h("div", { key: '3ff263ed2c11f61b644359f0bcdfee35d79998ae', slot: "detail" }, "expandable cell details."))), index.h("smoothly-table-expandable-row", { key: '2726ff719d4d97f44023645a474050b37693378e' }, index.h("smoothly-table-cell", { key: '00d7919bc16009c730d4bfe2eeb4bd81f586a75b' }, "expandable row (nor.cell)"), index.h("smoothly-table-cell", { key: 'a4761fe28dd65afcd183de191305d044b80520ab' }, "Normal cell"), index.h("smoothly-table-cell", { key: 'efbc8a671ae907024a78075c17c40f6786310cdc' }, "normal cell"), index.h("smoothly-table-cell", { key: '257ec4c36bc268ac4cb1607042b9889896d888c2' }, "Normal cell"), index.h("div", { key: '08d7fe72f5ff16098b07ea7d685caf31bac8a6dd', slot: "detail" }, "expandable row content"))), index.h("h4", { key: 'd53e6ff4a6e60aab6de9c0d3ea74c969e5efda91' }, "Demo table 4"), index.h("smoothly-table", { key: '73de9321ac19acc5e7083f65a98db49be93153c9' }, index.h("smoothly-table-row", { key: '8b1f99d3233e48aea2af4dc26070c788f1a80cef' }, index.h("smoothly-table-header", { key: 'f78d80c0395bacb63328aa252f31c6768aea6b7f' }, "Header A"), index.h("smoothly-table-expandable-cell", { key: '633bd520914c060e51d28ff0b3c7449b3d22294b' }, "Header expansion", index.h("div", { key: '271e4f0728dfc22b1843849baf99434c9445909a', slot: "detail" }, "Expansion content"))), index.h("smoothly-table-expandable-row", { key: '039d4ce3aa5dee481d1ccb6cefcb6cd9ceb8185b' }, index.h("smoothly-table-cell", { key: '6ec346a0a7e23185af45bd4fdbf1f60eb3078937' }, "A Content"), index.h("smoothly-table-cell", { key: '5f87c71d9273c2b05571f04cc67063dcba800368' }, "Expansion cell"), index.h("div", { key: '16253ba3ae361d4de560d9f265a122dc1bae0348', slot: "detail" }, index.h("smoothly-tab-switch", { key: '6039dc4d4532d4889be6c32423feed2692573719' }, index.h("smoothly-tab", { key: '264d4a1b65e4c556b33488f25dcb83656abcdd61', label: "innertable 1", open: true }, index.h("smoothly-table", { key: 'a0558c84e47e3b700725c1d30621d9e5ceb8edab' }, index.h("smoothly-table-row", { key: '7bd1bdd05b70c08b609fe508c1e4dd8c710c7a4f' }, index.h("smoothly-table-header", { key: 'f456b7a3928350d4c70710213bb2ff711970de88' }, "Header B")), index.h("smoothly-table-expandable-row", { key: 'b1ba00a79b110a6e62af6650058c6188fc3f4180' }, "B Content"))), index.h("smoothly-tab", { key: 'b46c2ac2124563a2e65d2008f4619af7886c7300', label: "innertable 2" }, index.h("smoothly-table", { key: '3b2f4e9ee7ac056b3f7f6d54f8f8fa99482afdb4' }, index.h("smoothly-table-row", { key: 'a3880dcb6b5f4ab9f45a9a2944f2059ad2edb745' }, index.h("smoothly-table-header", { key: '2781272e470153161befa28cd47b2eab37dc3552' }, "Header C")), index.h("smoothly-table-expandable-row", { key: 'e1b0316a76d3e2139b9bca5e393f504c66661132' }, index.h("smoothly-table-cell", { key: '570a8b77983570a5ae493254bea8613c45f9bcda' }, "C Content"))))))), index.h("smoothly-table-row", { key: '782c89e514003e26997425a0aa803bc0572f3dc1' }, index.h("smoothly-table-cell", { key: '52e0c55e7b96d48165c15eb448f4873739a5bf72' }, "A Content"), index.h("smoothly-table-expandable-cell", { key: 'bea42d590e7dbab7e27310dd1d8dca682d3d6611' }, "Expandable cell", index.h("div", { key: 'c5c1a48ae9b53c4750477ff66020bbeba67047af', slot: "detail" }, "Expansion content")))), index.h("h4", { key: '25e07ce04b63fcc09ab412d7f73edab24b3e6f61' }, "Demo table 5"), index.h("smoothly-table", { key: '89b6d51a1d4a2ea21b251b30fd31ca86766ec7dd' }, index.h("smoothly-table-row", { key: '9d8342fb6eb14f04f0f6fb16cf2f6e23f8f7190d' }, index.h("smoothly-table-header", { key: '64ef56025441774a7bb463ef2fcdb76364acef65' }, "A"), index.h("smoothly-table-header", { key: 'f983b14b47f5ee7ab12610983bcd49a3d25e7542' }, "B")), index.h("smoothly-table-expandable-row", { key: 'd5aa34248de31182fe5f3de2a52417acbfe70dfe' }, index.h("smoothly-table-cell", { key: 'a8c0648d231f3b30ed4d34fcb61d7f1f2254bcde' }, "nested expandable row"), index.h("smoothly-table-cell", { key: '3e15199317d011a121e373b1ae9d6f459dc9c02a' }, "b row"), index.h("div", { key: 'c51357a401d2a6c636f61dfcb8e41c4a76caf82c', slot: "detail" }, index.h("smoothly-table", { key: '7f483c542f6aeb6bfe5f852367a810ffd167fd13' }, index.h("smoothly-table-row", { key: 'e41079da0e1c20212ba906c046a6ee8c7012085f' }, index.h("smoothly-table-header", { key: '574e43d55bc11849bb814b2d3f5afb97b0b483aa' }, "C"), index.h("smoothly-table-header", { key: 'aed74610f19b5833ef2c028f85b75e8147faffc4' }, "D")), index.h("smoothly-table-expandable-row", { key: '8c60b3f2e4a8adafb2fb6b363aa4ff1f496e1683' }, index.h("smoothly-table-cell", { key: '84bbfea75f60ce4d6a9a7820d064b65150272502' }, "c"), index.h("smoothly-table-cell", { key: '6b9dba2e33651fff09599fea52744c8778099c0a' }, "d"), index.h("div", { key: '5ef1ebbf76421a9d563ad8db5f3452b633700e00', slot: "detail" }, index.h("smoothly-table", { key: 'b187dff7aafce9f5fba1e72106cfc5171f6cfb78' }, index.h("smoothly-table-row", { key: 'a8100316b27da94fccb4d06e25c63712653d76b3' }, index.h("smoothly-table-header", { key: '0baceebe9adc45de825ae8c56ae7497d28bf54ac' }, "E"), index.h("smoothly-table-header", { key: 'a63e145febcb38e0b7ee223e0458e2704172d1e3' }, "F")), index.h("smoothly-table-expandable-row", { key: '562049af8dc23b1ae6d0b3cb1e158814549e1713' }, index.h("smoothly-table-cell", { key: '2a8ee7d89a1a259399b11f09296eb66f3af538c6' }, "e row"), index.h("smoothly-table-cell", { key: 'e33339a1468986981cbb0b45eae5d8bf5742e1b6' }, "f row"), index.h("div", { key: '1de47c75ad56b33b7064e0853f28794f920e57d8', slot: "detail" }, "nested expandable row expansion e f")))))))), index.h("smoothly-table-expandable-row", { key: 'e5b032ae2717048dbcfc8b8efa3cdf2d7a43a387' }, index.h("smoothly-table-cell", { key: 'd5eaaf9d86bddad56d3c4c4d068744a8956955e2' }, index.h("span", { key: 'd18bccfbd3c539699b7794ac24c96ef17a7577b5' }, "one"), index.h("span", { key: 'a5e0a3bd3645e8955b4a947d98ee3634464ad9e8' }, "two"), index.h("span", { key: 'f3fed1d5790af1c9faab9d82857d5a1c5d5111b5' }, "three")), index.h("smoothly-table-cell", { key: '4e84517cfb2f58318199929bba56dc8ac2066f31' }, "five", index.h("smoothly-icon", { key: '724f7c870f6f650366e8b9c8c7e271d9229e8dc9', name: "paper-plane-sharp", size: "small" })), index.h("div", { key: 'c17cef1e13675ed6574ee0ed67fc3e0a809c4f62', slot: "detail" }, "four")), index.h("smoothly-table-row", { key: 'badec24e71bb0bc25eed15baae0bbdd6b34e56b2' }, index.h("smoothly-table-expandable-cell", { key: 'bb47b5ebaa9b57edf86661b8845ecd0b463f76ef' }, index.h("span", { key: '5072e29d8c1ec13b6f0fae9b34cfdf3b17abe76d' }, "nested expandable cells"), index.h("div", { key: 'fa02140e8c1cd37fc9102f8fee1730b0b97521f9', slot: "detail" }, index.h("smoothly-table", { key: 'c98d1425431843f5890ad268f1b4e51a89dd68d8' }, index.h("smoothly-table-row", { key: '62dbaa649f2d931965280496712102d828235dd8' }, index.h("smoothly-table-header", { key: '5ebe0f6612c4fa808af84a0618c20ab63f19e438' }, "E"), index.h("smoothly-table-header", { key: '5303b346f3942a30c91916cbb645c97e1a662388' }, "F")), index.h("smoothly-table-row", { key: '8048a33ac049fc2c4cf2c2bfa17225b37ff8970c' }, index.h("smoothly-table-expandable-cell", { key: 'a428e23eb58ecb10c22707c19779a05f7a935432' }, "e cell", index.h("div", { key: '5dd3c7a3fbf4e5ce5b2a8dcac4ffa70de76da152', slot: "detail" }, index.h("smoothly-table", { key: '5fed534993f7282fd1ceae9d63fb5d5f037e02d0' }, index.h("smoothly-table-row", { key: 'f15b11b8138c12e9262f7346eacc81b516b93052' }, index.h("smoothly-table-header", { key: 'a7b98696fb996541a0a660a3b8426c40dc04a531' }, "G"), index.h("smoothly-table-header", { key: '069e5d94c3905da04d0c459c86bdd84a25c8ac13' }, "H")), index.h("smoothly-table-row", { key: '84cd12fed1dceadd627bb542fb297d08c9733514' }, index.h("smoothly-table-expandable-cell", { key: '27b65a9b475cab095bf13b648b299e584471dcd6' }, "g cell", index.h("div", { key: '0a80848130efad2b6afdfa4e72c55f15f14a433c', slot: "detail" }, "nested expandable cell expansion g")), index.h("smoothly-table-expandable-cell", { key: '65c391ce8ebd26e8acdcd840fc53c3a563ca4f78' }, "h cell", index.h("div", { key: 'b486f11d8eb209191358fa12ae9c7a5fdab676be', slot: "detail" }, "nested expandable cell expansion h")))))), index.h("smoothly-table-expandable-cell", { key: 'ace694e77923dbc4c25e97667c1210c820e72191' }, "f cell", index.h("div", { key: '49dbb266e4b771c118e17ad6b7386fc7de00e31a', slot: "detail" }, "nested expandable cell expansion f")))))), index.h("smoothly-table-expandable-cell", { key: '32c9409c941c2f7fe2c05acbcf82b53883621434' }, "b cell", index.h("div", { key: '5c68f26d1cb6deb1a9beb5906ef92f856b1ccc08', slot: "detail" }, index.h("smoothly-table", { key: '2aed703f517727ab63fe300a8fbdf0273d73523d' }, index.h("smoothly-table-row", { key: '0d2add5efffa117a125fb6bcd1b2f658692f69cd' }, index.h("smoothly-table-header", { key: '0a27261642dd02abc897e0f15d867fe36a8a6a74' }, "C"), index.h("smoothly-table-header", { key: 'd2a853ce8ce64d5b9f8e6b9ed8cf0853559057bc' }, "D")), index.h("smoothly-table-row", { key: 'a1ad252e962e305b65a4ad345d4810349c8ffb3c' }, index.h("smoothly-table-expandable-cell", { key: '1a3447c4afc1dcfee4361fd7d33d6a46e1a7228e' }, "c cell", index.h("div", { key: '4d61b7d449f79258d113603b770c32bad133487b', slot: "detail" }, "nested expandable cell expansion c")), index.h("smoothly-table-expandable-cell", { key: 'edc66414c5267890c500920f0e1ce2f560b75103' }, "d cell", index.h("div", { key: '6ea88715023bbb1f355e5bb1c8b17b9b18d98f55', slot: "detail" }, "nested expandable cell expansion d")))))))), index.h("h4", { key: '7c6a91e1b9371b17f4f6c0552f212d02e70d4dd5' }, "Demo table 6"), index.h("smoothly-table", { key: '6940b4b31a7950383a5e3ac5476b19a73c83216b' }, index.h("smoothly-table-row", { key: 'c24cc1d61f51475ea694d0071f2e04cd70ff8fea' }, index.h("smoothly-table-header", { key: '66e2e3b67f8dbc26bee8b186dbdd858f47155298' }, "display"), index.h("smoothly-table-header", { key: '6a60efbdc7f23262971580112bc414b65f0718e6' }, "contents")), index.h("smoothly-table-expandable-row", { key: '4a35b9daa08c6e3e8eb067fb917a7e276af1df02' }, index.h("div", { key: '1df2a1a2843bb1107e3ecf9abe2dd95c52668d0f', class: "content" }, index.h("smoothly-table-cell", { key: '62662ad332e4632d3a1a6697549d3711be418a1d' }, "A"), index.h("smoothly-table-cell", { key: '351e6455db278a5ca76dd590e885c863ffd22490' }, "B")), index.h("div", { key: '4aacc22721929095a6c918241179b36ffb39f2b7', slot: "detail" }, "expansion"))), index.h("h4", { key: '3a839ad6f2e3160c7a2965af0a71650f612bca68' }, "Demo table 7"), " ", index.h("span", { key: 'c27d7696dc94d1efb9c9d5c83373d8de03d9141a' }, "nested 1 then normal"), index.h("smoothly-table", { key: '8346a49ab0cda4038b5d7b51ec333f2afaa96316' }, index.h("smoothly-table-row", { key: 'ad07b2deaf123302500654ac8f6c61fed5eacc33' }, index.h("smoothly-table-header", { key: '9feb73643ce3b74f46aa81b7a020d4efab09d4de' }, "A"), index.h("smoothly-table-header", { key: '10a2ca094a531f6ac810e1e070caae59291846f0' }, "B")), index.h("smoothly-table-expandable-row", { key: '903111d118991f769a083308c1b447f9a478949d' }, index.h("smoothly-table-cell", { key: 'd685dc02a9c45933343e63bfaf9a517c0bcdd86b' }, "a"), index.h("smoothly-table-cell", { key: '6204102aafb2ab25a2ab7a77fdfdac9fc5df3cfa' }, "b"), index.h("div", { key: '96e7a93c0941152d5a552a3b7aa82bd0726e2598', slot: "detail" }, index.h("smoothly-table", { key: 'a8f36265b9a846cdc7f5fbe2ae1429791a35055a' }, index.h("smoothly-table-row", { key: '0fb24b370fc86a548c3dd2010479d6ed62457736' }, index.h("smoothly-table-header", { key: '3a53717bf17d02d3967902029e609420580d475c' }, "C"), index.h("smoothly-table-header", { key: 'dc322ab7862c3d7914ea44158cfa15585ee47a30' }, "D")), index.h("smoothly-table-row", { key: '8379365daedde44e239af325dea73df327ed2222' }, index.h("smoothly-table-cell", { key: 'adfb3e913e9f9cf3856b6adcdcb1f47f9c12a05b' }, "c"), index.h("smoothly-table-cell", { key: '7336751d3220cd7a0a1091de6f650b548e6f9410' }, "d")), index.h("smoothly-table-row", { key: '30bf3a3f33bc2eb01ecd34014676eff5cde22665' }, index.h("smoothly-table-cell", { key: '699790b0055bc9c9f7dff3710b5ac83aa5d2406d' }, "ccc"), index.h("smoothly-table-cell", { key: '3f99dd86a7e914de11d93f00acae9fbcedf28f27' }, "ddd")), index.h("smoothly-table-expandable-row", { key: '4ff185adec3071bf09f923d631b8923c38d91fb9' }, index.h("smoothly-table-cell", { key: 'a883e5ac9951d84050ebede9a2cf9f5bbe20dc44' }, "cccc"), index.h("smoothly-table-cell", { key: 'f50ce74734d2a4386ea9981689cd308584ac58dd' }, "dddd"), index.h("div", { key: '2c53f30db73618ffb8fff8a979b0279b4150d9ac', slot: "detail" }, "CONTENT")), index.h("smoothly-table-row", { key: '31fd43fc8566c591a042fbdee640827e6dc77368' }, index.h("smoothly-table-cell", { key: '41f75c1ac310ad0949f972d7a6f05f53a45d9ea8' }, "ccccc"), index.h("smoothly-table-cell", { key: '4d4d8120ea96e8a36cfd86fce57bc10b29ee4328' }, "ddd")), index.h("smoothly-table-expandable-row", { key: '28120ef8260c71e0b5300ccc384a6bdb6678bbc4' }, index.h("smoothly-table-cell", { key: '5a5424d55b7da2b636af18af5c8b988df1a8f269' }, "cccc"), index.h("smoothly-table-cell", { key: 'ac72e66032e40d46a727719aae69503c7751f687' }, "dddd"), index.h("div", { key: '48cdf7b6cc87291005e046cfbcbf9b86f5b6077d', slot: "detail" }, "CONTENT")))))), index.h("h4", { key: '5a53cc774f265f09f5d3f33e0da6d70c41d12c48' }, "Demo table 8"), " ", index.h("span", { key: 'ff2a030650a271288702f978eb820282ab287c12' }, "not nested"), index.h("smoothly-table", { key: 'f0506607bc3c1bf066580bd18e793087dc09a529' }, index.h("smoothly-table-row", { key: '73b0e3cf1a3f4f7fa824e235a5499ec0a287d87f' }, index.h("smoothly-table-header", { key: '2b2343f08eed4f99954e61d8ec8433fcfebc8b28' }, "C"), index.h("smoothly-table-header", { key: '8279d7521ea8e53bf041c08966e327fddf497597' }, "D")), index.h("smoothly-table-row", { key: 'd117f53d79fe9976c77a638072aa8665cedd84d7' }, index.h("smoothly-table-cell", { key: '96c67a9bf13a706b54845553edd3aeddabf8c1ff' }, "c"), index.h("smoothly-table-cell", { key: '1100b126555dfeb60aeb26b8a6c88e9ef367d8d6' }, "d")), index.h("smoothly-table-row", { key: '296525eb3c93ce79d920d5842fa472266ae57ed6' }, index.h("smoothly-table-cell", { key: 'fa2a68ff8fe56b9f6a3ce00e25c0aa747a520c55' }, "cc"), index.h("smoothly-table-cell", { key: '1aaae91b4e7b66db8b30d9815dbedef859aba8a3' }, "dd")), index.h("smoothly-table-row", { key: 'f65b4220c79cd12871c00afbe14416b0e457129d' }, index.h("smoothly-table-cell", { key: 'd5a84e0c2034e13321785771ad984a850587c436' }, "ccc"), index.h("smoothly-table-cell", { key: 'e20f9e8e1ee08ff361ccd5d3cea6a889f74bd943' }, "ddd"))), index.h("h4", { key: 'a900cb5746cd921bdfe5c8706425e5a8ddf59898' }, "Demo table 9"), index.h("smoothly-table", { key: '59e97480d428b7e3ca06df2162a81e01e2c337b2' }, index.h("smoothly-table-row", { key: '8d5f079bf0f868fe1e53fb8fc340e32f5eaa2b63' }, index.h("smoothly-table-header", { key: 'b0cb0b97cb301d9ece2d8f951f40f5a0105db609' }, "First name"), index.h("smoothly-table-header", { key: 'e6a1fb4c1c6dee461cc0bba8c8a31ec1eb2a5e1c' }, "Last name"), index.h("smoothly-table-header", { key: '7f6ea59562cc3b6ee9ed1bad91310ccdde157633', style: { width: "1px" } }, index.h("smoothly-icon", { key: 'a380ca2177275401ee96defdbf5cc9a9da876d47', name: "alert-outline" }))), index.h("smoothly-table-expandable-row", { key: '277d38e71ef037cc745a92d1dcb297af1f672574' }, index.h("smoothly-table-cell", { key: '49237dd1700fea81b2a80270848ba0a9ad3d281a' }, "Jessie"), index.h("smoothly-table-cell", { key: '3b7e9e273e5883809e377616cb2b6212538f5741' }, "Doe"), index.h("smoothly-table-cell", { key: '68414432e77af3bbe828a41b4648fda8d0831f66' }), index.h("div", { key: '506223f6fd77d090fed6c76fcfd2595f356d5242', slot: "detail" }, index.h("p", { key: '146e68a3f9cc34215d6704a5cff01314fb415deb' }, "This is Jessie")))), index.h("h4", { key: 'aaa3b0bd7f949f74377bcf6827d093412030c95a' }, "Demo table 9 - Lazy expansion rows"), index.h("smoothly-table", { key: 'b0bb59d9539d0fd6c1dd5ede9c32efb42f46efcc' }, index.h("smoothly-table-row", { key: 'deecd22af026a54edc4ff57b3f35a4cbe3d9c8a4' }, index.h("smoothly-table-header", { key: 'ea174f5f29b39dfa28d5a32645f8b94b7a493eb8' }, "Company")), index.h("smoothly-table-expandable-row", { key: '650166a33923c9266f94ccf94a7b74bd9ec4f046' }, index.h("smoothly-table-cell", { key: 'f32f2b7e174d7e0066df89a462893efd145ad8f7' }, "Proquse"), index.h("smoothly-lazy", { key: 'e6c3ca28f4c1c21264e399d5c54f63b5484c3e26', slot: "detail", content: index.h("img", { src: "https://brand.proquse.com/logo/proquse-black.svg", alt: "Proquse Logotype." }) })), index.h("smoothly-table-expandable-row", { key: 'b035d415a4c544073f548b62765be411ba3a4516' }, index.h("smoothly-table-cell", { key: '4fbc39e2055d66d3b75977fb561434d6cedee0f4' }, "Pax2Pay"), index.h("smoothly-lazy", { key: '092f9af72ca7cde3dc5e2bd214a97ae3c6912560', slot: "detail", content: () => (index.h("img", { src: "https://dash.pax2pay.app/assets/pax2pay-dark-horizontal.svg", alt: "Pax2Pay Logotype." })) }))), index.h("h4", { key: 'adaee86a43f6684bf70b5ca9cafe4168b2d348a8' }, "Demo table 10 - Lazy expansion cells"), index.h("smoothly-table", { key: '2fa365287c5df8f595e6a134d2074014b2dcdaa9' }, index.h("smoothly-table-row", { key: 'feef56cf007d5682e54c224cfbac19468ce8648c' }, index.h("smoothly-table-header", { key: 'bd98a797a038d07cb3db05ab188e951a077e0031' }, "Company")), index.h("smoothly-table-row", { key: 'e3fbc04bbc6bd0293fd2e12110f8a2dbd464f76a' }, index.h("smoothly-table-expandable-cell", { key: 'bdf9ca53eace2765bc5f1057614ee2777f22b683' }, "Proquse", index.h("smoothly-lazy", { key: '9e318ab4caf98f60e162855de7b3ecc385139ab6', slot: "detail", content: index.h("img", { src: "https://brand.proquse.com/logo/proquse-black.svg", alt: "Proquse Logotype." }) }))), index.h("smoothly-table-row", { key: 'b0bc3892ef4823ecfcc081b287b31dc23b0af70b' }, index.h("smoothly-table-expandable-cell", { key: '9682235912884a15b2fac7c2f97c297a83306eff' }, "Pax2Pay", index.h("smoothly-lazy", { key: 'ce067b4394c9754a7950efb9a1d864cd153cb427', slot: "detail", content: () => (index.h("img", { src: "https://dash.pax2pay.app/assets/pax2pay-dark-horizontal.svg", alt: "Pax2Pay Logotype." })) })))), index.h("h4", { key: 'e72e58977ae1f2c72632e116cfb36f1df0a950cd' }, "Demo table 11 - expandable cells"), index.h("smoothly-table", { key: '506b3c5c8f7c4ac93f585a03048546c2a46ce7f6' }, index.h("smoothly-table-row", { key: 'beb8dc5eebf167f0815f7fafb183c7acd1cc1731' }, index.h("smoothly-table-header", { key: '117921c5a8ce86dfa45bc22c511e1c63ae342184' }, "Name"), index.h("smoothly-table-header", { key: '9a58650c185770fd18f5755767fe2ad44dd0632e' }, "Age"), index.h("smoothly-table-header", { key: '79116a1d1b433cbed0a27d6e2eaf5bdf863df930' }, "Location")), index.h("smoothly-table-row", { key: 'e91298585b10e4094e715f3c48b8453254a33665' }, index.h("smoothly-table-expandable-cell", { key: '909fb0bab82cc414edaa0d48f70c1f5c3ecbadfa' }, "Jessie", index.h("div", { key: '30b45fe235a99f5e78b098994ca6ca2d08be3ef3', slot: "detail" }, "Doe")), index.h("smoothly-table-expandable-cell", { key: '7945b46982f8548d4eff5b33083a269dc6206da1' }, new Date().getFullYear() - 2000, index.h("div", { key: 'cb80ca42b04a969699a7c7badfd756ac54fd08cd', slot: "detail" }, "2000-01-01")), index.h("smoothly-table-expandable-cell", { key: '433a980dd806cb4fe0958b688189375ba68d4e5b' }, "UK", index.h("div", { key: '1843c042018960e2f44de4873003a6720fd79e84', slot: "detail" }, "London"))))));
|
|
12442
12440
|
}
|
|
12443
12441
|
};
|
|
12444
12442
|
TableDemo.style = SmoothlyTableDemoStyle0;
|
|
@@ -12472,18 +12470,18 @@ const TableDemoFiltered = class {
|
|
|
12472
12470
|
}
|
|
12473
12471
|
render() {
|
|
12474
12472
|
const cats = this.cats && filter(this.criteria, this.cats);
|
|
12475
|
-
return (index.h(index.Host, { key: '
|
|
12473
|
+
return (index.h(index.Host, { key: '7718989fddf57e670873feeb9c33a043920e0620' }, index.h("smoothly-filter", { key: '5d8017178b78e2edb058131861952dd6794e67c8' }, index.h("smoothly-filter-toggle", { key: '9bc5583d2e3af8cf639073f45ebffd880cc3aaa6', properties: { ["nested.pattern"]: "Ticked", breed: "" }, icon: "add", toolTip: "Nested Ticked", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '409d4b6f205fe82d05d444e64a4ff8ed75e9a2b9', properties: { pattern: "Ticked", breed: "" }, icon: "paw", toolTip: "Ticked cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: 'ffecd1d61152af6644509b86ba601bd7aadb58bc', properties: { breed: "Bombay", pattern: "Solid" }, icon: "radio-button-on", toolTip: "Solid bombay cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '14207be1b8e46f911badbfdf83710230b2d1f848', properties: { pattern: "Colorpoint" }, not: true, active: true, icon: "alert", toolTip: "Colored cats", slot: "bar" }), index.h("smoothly-filter-select", { key: '7cf2f04b79d0fa4cd31b6e45b923f33987dd42cc', label: "coat", property: "nested.coat", slot: "bar", multiple: false }, this.cats &&
|
|
12476
12474
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
12477
12475
|
var _a;
|
|
12478
12476
|
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));
|
|
12479
|
-
})), index.h("div", { key: '
|
|
12477
|
+
})), index.h("div", { key: '65f135b91e4d6aba05130189899ab4232bb9c040', slot: "detail" }, index.h("smoothly-form", { key: 'f473103fea1734af2f8edb8a4e08ebd76761de1a', looks: "border" }, index.h("smoothly-filter-select", { key: '804fc172627b7a5089c2168b37b5fde7fc4ae54a', label: "coat", property: "nested.coat", multiple: true }, this.cats &&
|
|
12480
12478
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
12481
12479
|
var _a;
|
|
12482
12480
|
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));
|
|
12483
|
-
})), index.h("smoothly-filter-select", { key: '
|
|
12484
|
-
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: '
|
|
12481
|
+
})), index.h("smoothly-filter-select", { key: 'ab676a8817c1a5a4c2a5b572630a742bc5ff1840', label: "breed", property: "breed", multiple: false }, this.cats &&
|
|
12482
|
+
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: '0522742d240ad56ce4adc48b928d9bb9b17393d5', label: "names", property: "nested.names", multiple: true, type: "array" }, Object.keys(Object.values(names)
|
|
12485
12483
|
.flat()
|
|
12486
|
-
.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: '
|
|
12484
|
+
.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: '489de62a94b5368e29a003cebd0f9b298cd326dc', label: "Coat", property: "coat" }), index.h("smoothly-filter-input", { key: 'e5bd500f1f2dac97fef063583333b664e18eaf8a', label: "Nested Coat", property: "nested.coat" })))), !cats ? ("Failed to load data.") : (index.h("smoothly-table", null, index.h("smoothly-table-row", null, index.h("smoothly-table-header", null, this.selector.render(cats)), index.h("smoothly-table-header", null, "Breed"), index.h("smoothly-table-header", null, "Coat"), index.h("smoothly-table-header", 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-footer", null, index.h("td", { colSpan: 5 }, index.h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` })))))));
|
|
12487
12485
|
}
|
|
12488
12486
|
};
|
|
12489
12487
|
const names = {
|
|
@@ -12539,7 +12537,7 @@ const TableExpandableCell = class {
|
|
|
12539
12537
|
event.detail(this.element);
|
|
12540
12538
|
}
|
|
12541
12539
|
render() {
|
|
12542
|
-
return (index.h(index.Host, { key: '
|
|
12540
|
+
return (index.h(index.Host, { key: 'fae816857a7a1e11ceaf6e68ec3235bcce42752c' }, index.h("div", { key: 'a5d7d227c773060d3362e6fcbffededb5479ce92' }, index.h("smoothly-icon", { key: '77e05e11dec65bba4ecfe55ef8909d78345369d5', name: "caret-forward-outline" }), index.h("slot", { key: '4b037932f5955cc06f4ce4c0c5335fc5a42fdfcb' })), index.h("tr", { key: '8db6015b46df85bf1398c66c17e442dc6e4857ee', class: { spotlight: this.spotlight }, ref: e => (this.expansionElement = e) }, index.h("td", { key: 'a1cf80115cacbdf58ea26247eb3ef2ea37f3b4e4', colSpan: 999 }, index.h("slot", { key: 'da8fc38933a283d75c589e63a9083e34e031e1b8', name: "detail" })))));
|
|
12543
12541
|
}
|
|
12544
12542
|
get element() { return index.getElement(this); }
|
|
12545
12543
|
static get watchers() { return {
|
|
@@ -12575,7 +12573,7 @@ const TableExpandableRow = class {
|
|
|
12575
12573
|
event.detail(this.element);
|
|
12576
12574
|
}
|
|
12577
12575
|
render() {
|
|
12578
|
-
return (index.h(index.Host, { key: '
|
|
12576
|
+
return (index.h(index.Host, { key: '28554b39f11e3629095777c054c9a892fa9dcf1c' }, index.h("div", { key: 'f8274bcc990818c513c75d0a736505258c130a61', onClick: () => (this.open = !this.open) }, index.h("slot", { key: '5b2ae89526fdba843d282534ef45a33981a6e2a0' })), index.h("tr", { key: '92f536db44d47755fbf456e7409783729b065044', class: { spotlight: this.spotlight } }, index.h("td", { key: '3ce15c299ee5a3eeb10a0f69ce85d833aecc0837', colSpan: 999 }, index.h("slot", { key: 'cbd7bf72a3376d0c8a5c059f9fced11685c16271', name: "detail" })))));
|
|
12579
12577
|
}
|
|
12580
12578
|
get element() { return index.getElement(this); }
|
|
12581
12579
|
static get watchers() { return {
|
|
@@ -12593,7 +12591,7 @@ const TableFooter = class {
|
|
|
12593
12591
|
index.registerInstance(this, hostRef);
|
|
12594
12592
|
}
|
|
12595
12593
|
render() {
|
|
12596
|
-
return index.h("slot", { key: '
|
|
12594
|
+
return index.h("slot", { key: '9a8fd2ae8c30bc12aeb6b3ed124b09427d9ed9f6' });
|
|
12597
12595
|
}
|
|
12598
12596
|
};
|
|
12599
12597
|
TableFooter.style = SmoothlyTableFooterStyle0;
|
|
@@ -12607,7 +12605,7 @@ const TableHeader = class {
|
|
|
12607
12605
|
this.name = undefined;
|
|
12608
12606
|
}
|
|
12609
12607
|
render() {
|
|
12610
|
-
return (index.h(index.Host, { key: '
|
|
12608
|
+
return (index.h(index.Host, { key: '3727f46c284d59b2731f18824546968d2ae2a5e6' }, index.h("slot", { key: '16aede7771e7f851432365528d9f79cbc756c11b' })));
|
|
12611
12609
|
}
|
|
12612
12610
|
};
|
|
12613
12611
|
TableHeader.style = SmoothlyTableHeaderStyle0;
|
|
@@ -12637,7 +12635,7 @@ const TableRow = class {
|
|
|
12637
12635
|
(_a = this.element) === null || _a === void 0 ? void 0 : _a.after(event.detail);
|
|
12638
12636
|
}
|
|
12639
12637
|
render() {
|
|
12640
|
-
return (index.h("div", { key: '
|
|
12638
|
+
return (index.h("div", { key: 'f4016ec2ba8f871c843780d4d86306344f0a7b42', ref: e => (this.element = e) }, index.h("slot", { key: 'd02e94248182106e5ccb3da95370c2bd7a4e9b75' })));
|
|
12641
12639
|
}
|
|
12642
12640
|
};
|
|
12643
12641
|
TableRow.style = SmoothlyTableRowStyle0;
|
|
@@ -12679,7 +12677,7 @@ const SmoothlyTableTesting = class {
|
|
|
12679
12677
|
this.counter = 0;
|
|
12680
12678
|
}
|
|
12681
12679
|
render() {
|
|
12682
|
-
return (index.h(index.Host, { key: '
|
|
12680
|
+
return (index.h(index.Host, { key: '95ca99628bf0142068b0b1604d93ed5059a7f356' }, index.h("smoothly-table", { key: 'e68e552d07c554978939ca17b43fad665a77dbf4', color: "dark" }, index.h("smoothly-table-row", { key: '3aa17a5551481edc96cb5b1245ba95a665bd5ad6' }, index.h("smoothly-table-header", { key: '83fa6460c5231e9a63c0fd09e24301cd5d6d5bd2' }, "Type"), index.h("smoothly-table-header", { key: '41653caf3ae5e589eb6f70aee33d089fbb7a37ce' }, "Name"), index.h("smoothly-table-header", { key: 'bad3dcf2e3daff8a63c9e9536d06eefa5cf2d1d9' }, "Age")), data.map(animal => (index.h("smoothly-table-expandable-row", null, index.h("smoothly-table-cell", null, animal.type), index.h("smoothly-table-cell", null, animal.name), index.h("smoothly-table-cell", null, animal.age), index.h("smoothly-form", { slot: "detail", onSmoothlyFormSubmit: () => this.counter++, looks: "line" }, index.h("smoothly-input", { value: animal.type }, "Type"), index.h("smoothly-input", { value: animal.name }, "Name"), index.h("smoothly-input", null, animal.age), index.h("smoothly-submit", { slot: "submit" }, "Submit!"))))), data.map(animal => (index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, animal.type), index.h("smoothly-table-expandable-cell", null, animal.name, index.h("smoothly-form", { slot: "detail", onSmoothlyFormSubmit: () => this.counter++, looks: "line" }, index.h("smoothly-input", { value: animal.name }, "Name"), index.h("smoothly-submit", { slot: "submit" }, "Submit!"))), index.h("smoothly-table-expandable-cell", null, animal.age, index.h("smoothly-form", { slot: "detail", onSmoothlyFormSubmit: () => this.counter++, looks: "line" }, index.h("smoothly-input", { value: animal.type }, "Type"), index.h("smoothly-input", { value: animal.name }, "Name"), index.h("smoothly-input", null, animal.age), index.h("smoothly-submit", { slot: "submit" }, "Submit!")))))), index.h("smoothly-table-footer", { key: 'cc6775b294db656cf59b3f52c5fd3c23ce42e1f5' }, index.h("td", { key: 'fd50668d12f1059caf1bced562d1028717da171c', colSpan: 2 }, index.h("div", { key: 'b232bd68b7161949b0c9f35f21152c47a072eed8', class: "footer" }, "Currently viewing content from:", index.h("smoothly-display", { key: 'd1b94c0f165829cbe755db0394a28ac2e4c396b6', type: "date", value: "2023-10-12" }))), index.h("smoothly-table-header", { key: 'ecd061dcf8eb6a90520f19627edf5d07da685d86' }, "Total age: " + data.reduce((r, a) => r + a.age, 0))))));
|
|
12683
12681
|
}
|
|
12684
12682
|
};
|
|
12685
12683
|
SmoothlyTableTesting.style = SmoothlyTableTestingStyle0;
|
|
@@ -12711,7 +12709,7 @@ const SmoothlyTabs = class {
|
|
|
12711
12709
|
old.open = false;
|
|
12712
12710
|
}
|
|
12713
12711
|
render() {
|
|
12714
|
-
return (index.h(index.Host, { key: '
|
|
12712
|
+
return (index.h(index.Host, { key: '0e5023ca7717e4560b12fe3a18efa78121b2da9f', style: { "--tabs": `${this.tabs.length}` } }, index.h("slot", { key: '1b299ba1d8b0945a41016ce7f2da50fa73e36c17' })));
|
|
12715
12713
|
}
|
|
12716
12714
|
get element() { return index.getElement(this); }
|
|
12717
12715
|
static get watchers() { return {
|
|
@@ -12728,7 +12726,7 @@ const SmoothlyTabsDemo = class {
|
|
|
12728
12726
|
index.registerInstance(this, hostRef);
|
|
12729
12727
|
}
|
|
12730
12728
|
render() {
|
|
12731
|
-
return (index.h("smoothly-tabs", { key: '
|
|
12729
|
+
return (index.h("smoothly-tabs", { key: '533cfc91493d6dceed5aded6e6f26e26859224a1' }, index.h("smoothly-tab", { key: '5984ae187c5cc23a4b7a64d43bbbdd7d48b7d861', label: "test1", open: true }, "Hello world!"), index.h("smoothly-tab", { key: 'b8a3216625e2408c3c3fab08b0be1bdf08850da1', label: "test2" }, "this is a test message!"), index.h("smoothly-tab", { key: 'bd876638a084205f45c910a842d3e20205db2e7c', label: "test3" }, "this is a test message again!")));
|
|
12732
12730
|
}
|
|
12733
12731
|
};
|
|
12734
12732
|
SmoothlyTabsDemo.style = SmoothlyTabsDemoStyle0;
|
|
@@ -12742,7 +12740,7 @@ const SmoothlyThemeColor = class {
|
|
|
12742
12740
|
this.color = undefined;
|
|
12743
12741
|
}
|
|
12744
12742
|
render() {
|
|
12745
|
-
return (index.h(index.Host, { key: '
|
|
12743
|
+
return (index.h(index.Host, { key: '31afa14d4490b5c2d3a09322999ac7ec6084f0b8' }, this.color, ["tint", "color", "shade"].map(variant => (index.h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
12746
12744
|
}
|
|
12747
12745
|
};
|
|
12748
12746
|
SmoothlyThemeColor.style = SmoothlyThemeColorStyle0;
|
|
@@ -12794,7 +12792,7 @@ const SmoothlyThemeDemo = class {
|
|
|
12794
12792
|
index.registerInstance(this, hostRef);
|
|
12795
12793
|
}
|
|
12796
12794
|
render() {
|
|
12797
|
-
return (index.h(index.Host, { key: '
|
|
12795
|
+
return (index.h(index.Host, { key: 'f372aac59b4dcc24cde0f65888c90b14e7bcc527' }, index.h("h2", { key: 'fbf02d997500cc247c994318d04362c4cf180d22' }, "Theme"), index.h("smoothly-theme-picker", { key: '07248d954a9c4f9ba0ce3520b9d3f52af592f414' }, index.h("smoothly-item", { key: '56f792607d3696823681005ab99c64d2c6c8a26b', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), index.h("smoothly-item", { key: '88ed4bce954338ded99d9e20cc46922e6792fc05', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), index.h("smoothly-item", { key: '62ad657fd2956e4a8ecd6cbe3a4594c419cd4857', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), index.h("smoothly-item", { key: '1a05c71adfd42dce463c65d0f098c065661cc452', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), index.h("smoothly-item", { key: '61fec55bcbecfd26a4d867598e1a7f3aed292408', value: "https://dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), index.h("smoothly-item", { key: '70b0d3a2300539903fbf7ba5252bb1914e065ae7', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), index.h("smoothly-item", { key: '4259aef8ff5e9b238aea52d3f5c629aafadc0d91', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), index.h("smoothly-item", { key: '80f7c765f1de5982f9e833ef54a6635cbf0fe6b2', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), index.h("smoothly-item", { key: '7ff3946958929beeb820e3129b9a654a1b362f2d', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), index.h("span", { key: '103fca80dd8858bc227448bd56349026ecd444f4' }, index.h("smoothly-theme-colors", { key: '666897015cfd34976603149ded74fe06be6d9d2d' }), index.h("smoothly-theme-guide", { key: '9a0f02fa88ea4aa79ed2060df5e7ac59baf35b96' })), index.h("smoothly-button", { key: '42bdb748755ed442eb15da5adb7f4781ff3b10e9', type: "link", link: "/redirect" }, "To redirect"), index.h("smoothly-button", { key: '237d637586ce0f1fa752df6f7c26334437bb6d96', type: "link", link: "/redirect" }, "To /redirect"), index.h("smoothly-button", { key: 'f845f142b70b50a75a94e89725caddd0c4c4a379', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), index.h("smoothly-button", { key: '062c928768a552527d1b4238c1a2fdaaf4c4a87f', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
12798
12796
|
}
|
|
12799
12797
|
};
|
|
12800
12798
|
SmoothlyThemeDemo.style = SmoothlyThemeDemoStyle0;
|
|
@@ -12808,14 +12806,14 @@ const SmoothlyThemeColors = class {
|
|
|
12808
12806
|
}
|
|
12809
12807
|
render() {
|
|
12810
12808
|
return [
|
|
12811
|
-
index.h("smoothly-display", { key: '
|
|
12812
|
-
index.h("br", { key: '
|
|
12813
|
-
index.h("smoothly-display", { key: '
|
|
12814
|
-
index.h("br", { key: '
|
|
12815
|
-
index.h("smoothly-display", { key: '
|
|
12816
|
-
index.h("br", { key: '
|
|
12817
|
-
index.h("smoothly-display", { key: '
|
|
12818
|
-
index.h("br", { key: '
|
|
12809
|
+
index.h("smoothly-display", { key: '115daaa00fb7a4e0bacb23cbda1ed58cdab2505a' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
12810
|
+
index.h("br", { key: '0eacb21aa50f7faebf262e64b5e4c30878f50dc1' }),
|
|
12811
|
+
index.h("smoothly-display", { key: '5eddcb2c707956bc39e7b675bc61bf222ebfc0cd' }, "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."),
|
|
12812
|
+
index.h("br", { key: 'f157bd5d1fd2aa1db645aae1650d5e3711c73a1b' }),
|
|
12813
|
+
index.h("smoothly-display", { key: '58804f743836a8fc1822dac667724e24b4dca2db' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
|
|
12814
|
+
index.h("br", { key: 'bad13ec12d0eab96921b00edaab1cc4acba9d94c' }),
|
|
12815
|
+
index.h("smoothly-display", { key: '4375ae14448373728f92946e9984c55672432beb' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
12816
|
+
index.h("br", { key: '357075bdb38d7f2d963dde17c2fd78d88702402d' }),
|
|
12819
12817
|
];
|
|
12820
12818
|
}
|
|
12821
12819
|
};
|
|
@@ -12830,11 +12828,11 @@ const SmoothlyThemePicker = class {
|
|
|
12830
12828
|
this.element = "smoothly-css";
|
|
12831
12829
|
}
|
|
12832
12830
|
render() {
|
|
12833
|
-
return (index.h(index.Host, { key: '
|
|
12831
|
+
return (index.h(index.Host, { key: '4039dc4eb015dd6d869d1896c2be555bc29ee3dd' }, index.h("smoothly-input-select", { key: '3fc86668de12e928bafce4760bed4302267978a1', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
12834
12832
|
const element = document.querySelector(`#${this.element}`);
|
|
12835
12833
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string")
|
|
12836
12834
|
element.href = e.detail.theme;
|
|
12837
|
-
} }, index.h("label", { key: '
|
|
12835
|
+
} }, index.h("label", { key: '79fd10c45933e9b5589b92d2793f89bf0a23afaf', slot: "label" }, "Select theme"), index.h("slot", { key: 'dec18bec76ffc9ee4380e3609fda66196786480b' }))));
|
|
12838
12836
|
}
|
|
12839
12837
|
};
|
|
12840
12838
|
SmoothlyThemePicker.style = SmoothlyThemePickerStyle0;
|
|
@@ -12855,7 +12853,7 @@ const SmoothlyToggle = class {
|
|
|
12855
12853
|
this.selected = !this.selected;
|
|
12856
12854
|
}
|
|
12857
12855
|
render() {
|
|
12858
|
-
return (index.h("button", { key: '
|
|
12856
|
+
return (index.h("button", { key: '9ea210115f4c2a7677604a6d1853fc2c5d999ce6' }, index.h("slot", { key: '72df5acb95cdbe522ad162577e4ec34f31aef525', name: "icon-slot" }), index.h("slot", { key: 'd2c81cf33c4da3b4ce0b9443712a69fb38274b67' }, this.name)));
|
|
12859
12857
|
}
|
|
12860
12858
|
};
|
|
12861
12859
|
SmoothlyToggle.style = SmoothlyToggleStyle0;
|
|
@@ -12879,7 +12877,7 @@ const SmoothlyToggleSwitch = class {
|
|
|
12879
12877
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
12880
12878
|
}
|
|
12881
12879
|
render() {
|
|
12882
|
-
return (index.h(index.Host, { key: '
|
|
12880
|
+
return (index.h(index.Host, { key: '191a429c04889d30d5d293657df020d5d14b5e63' }, index.h("button", { key: 'ffa03674786389e8f07874a5bc2d675c360e2a53', disabled: this.disabled, onClick: () => this.handleClick() }, index.h("smoothly-icon", { key: '024e4ae444afefe53640b81f2f48fcbd81dfb2e4', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
12883
12881
|
}
|
|
12884
12882
|
};
|
|
12885
12883
|
SmoothlyToggleSwitch.style = SmoothlyToggleSwitchStyle0;
|
|
@@ -12892,7 +12890,7 @@ const SmoothlyToggleSwitchDemo = class {
|
|
|
12892
12890
|
index.registerInstance(this, hostRef);
|
|
12893
12891
|
}
|
|
12894
12892
|
render() {
|
|
12895
|
-
return (index.h(index.Host, { key: '
|
|
12893
|
+
return (index.h(index.Host, { key: 'd42c87cbc8367a4bedf1638f05493318ce41507e' }, index.h("h4", { key: 'fabd5caccf3b3076b12a5572dc07544c2343f717' }, "Toggle switches"), index.h("div", { key: 'ef1e2219e77722e2981b542379af6ca281d9b8c9' }, index.h("p", { key: '5ce2ae1f96e4f2298bf5302ffe3ac6573e2b2f90' }, "Checkmark"), index.h("span", { key: '5ecae1da643b292d06d9b825d733282a51a6b39f' }, index.h("p", { key: '941fe1972c919cc5830fd9531a331a2995d7e409' }, "Tiny"), index.h("smoothly-toggle-switch", { key: 'f355ac70925f61e806d7bdeffccf1ff5e60be479', disabled: false, size: "tiny" })), index.h("span", { key: '7baa75d53746d4e01ec4c4c6ce2ef55f8f0bfff0' }, index.h("p", { key: '4bdc3b7f070ff76753e79c54272e50c6cd769f13' }, "Small"), index.h("smoothly-toggle-switch", { key: 'fd72e51ae7f6cc00e1e1b4735cc72c37d03eb784', disabled: false, size: "small" })), index.h("span", { key: 'bf9bb03011a26331720dcdd840d940745d592907' }, index.h("p", { key: '1d2e9e18b8b7b38cc821ffbfdb891e651ecf22d0' }, "Standard"), index.h("smoothly-toggle-switch", { key: 'cb8e3e1809b19916e3d4aa8bd7282e03daa23fc8', disabled: false })), index.h("span", { key: '8900fb069434ff59482369277af9237211c586d3' }, index.h("p", { key: '19e9c7fd9b4aa2bbb75cace03f61efdc64121b49' }, "Large"), index.h("smoothly-toggle-switch", { key: 'dfe75cc413d58776293a88d15bf6817d82659eb2', disabled: false, size: "large" })), index.h("p", { key: 'c0dd0475ce038565b7989dcb8b7d2602e4efc5c6' }, "Colors checkmark"), index.h("span", { key: 'b10d71034ad8d205da901e00b8bc5c6c4fbb2b56' }, index.h("p", { key: 'e06de9836fb3755f242e15ce1fd96a52de476500' }, "Danger"), index.h("smoothly-toggle-switch", { key: 'b01be2ce99dc297789c859dc4a69dee1ceed1ab1', color: "danger", disabled: false, size: "small" })), index.h("span", { key: 'a1d7003f67a971e3e9d1cb0af6c46e63d27fc160' }, index.h("p", { key: '28cc6a5e62a9f2dbd95526ed20a41585cfd59ff4' }, "Primary color"), index.h("smoothly-toggle-switch", { key: '6a0daed9d6d35eddd91e967a7e77f0cd6b798971', color: "primary", disabled: false, size: "small" })), index.h("span", { key: '8e20e504b6064dd24a482c83dc4120105b2e54ec' }, index.h("p", { key: '136267d87422999493d00b6e78f5b798c70663a4' }, "Secondary color"), index.h("smoothly-toggle-switch", { key: '9ba7a38b869479df1dcbd275f400a95a03eb2096', color: "secondary", disabled: false, size: "small" })), index.h("p", { key: '5410cfe3c52cd9ec94f9d9be528873b9257dc72b' }), index.h("p", { key: '83957369bb649d1a875249b0c9d3491dc0f35d35' }, "Colors no checkmark"), index.h("span", { key: 'd8852a56a14c1b8575f640010418561dfa515317' }, index.h("p", { key: '1357ba7a51e0fb4676f97adeeabb2bb2988d0fcc' }, "Danger"), index.h("smoothly-toggle-switch", { key: 'e155e0cc9892978e4c6c7d63c63a7fa1fce9b5bb', checkmark: false, color: "danger", disabled: false, size: "small" })), index.h("span", { key: '9ab31a62d1cd71dee47a46398935626c3102951a' }, index.h("p", { key: '7429f1e4988c7f84776f78e4a625d209e51bb73a' }, "Primary color"), index.h("smoothly-toggle-switch", { key: '17e853b7aafdeeb35d0bd7e48ce9e2d0a3176b31', checkmark: false, color: "primary", disabled: false, size: "small" })), index.h("span", { key: '62e042c6671f30babc6b543f4c17ea140a880a60' }, index.h("p", { key: '832b8c4662871bd1d1c2861ac9f0783e4c0032b5' }, "Secondary color"), index.h("smoothly-toggle-switch", { key: '8fb61a82948410571b5d79b064279dc7127b73c9', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
12896
12894
|
}
|
|
12897
12895
|
};
|
|
12898
12896
|
SmoothlyToggleSwitchDemo.style = SmoothlyToggleSwitchDemoStyle0;
|
|
@@ -12923,7 +12921,7 @@ const SmoothlyTrigger = class {
|
|
|
12923
12921
|
result = this.disabled ? (index.h("slot", null)) : (index.h("a", { onClick: e => this.onClick(e) }, index.h("slot", null)));
|
|
12924
12922
|
break;
|
|
12925
12923
|
case "button":
|
|
12926
|
-
result = (index.h("button", { key: '
|
|
12924
|
+
result = (index.h("button", { key: '60d7037fc7bddb5954b2391c9f0062a72b38a030', disabled: this.disabled, name: this.name }, index.h("slot", { key: '2650651355e3f422337fa3712111d0c73f07693f' })));
|
|
12927
12925
|
break;
|
|
12928
12926
|
}
|
|
12929
12927
|
return result;
|