smoothly 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/smoothly-app_99.cjs.entry.js +148 -148
- package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/collection/components/app/demo/index.js +1 -1
- package/dist/collection/components/app/demo/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +1 -1
- package/dist/collection/components/back-to-top/index.js +2 -2
- package/dist/collection/components/burger/index.js +1 -1
- package/dist/collection/components/button/demo/index.js +3 -3
- package/dist/collection/components/button/index.js +1 -1
- package/dist/collection/components/calendar/index.js +2 -2
- package/dist/collection/components/checkbox/index.js +2 -2
- package/dist/collection/components/color/index.js +1 -1
- package/dist/collection/components/confirm/index.js +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/dialog/demo/index.js +1 -1
- package/dist/collection/components/dialog/index.js +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/schedule/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/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/date/time/index.js +5 -5
- package/dist/collection/components/input/demo/index.js +4 -4
- package/dist/collection/components/input/demo/price/index.js +1 -1
- package/dist/collection/components/input/demo/standard/index.js +1 -1
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +2 -2
- package/dist/collection/components/input/month/index.js +2 -2
- package/dist/collection/components/input/radio/index.js +1 -1
- package/dist/collection/components/input/radio/item/index.js +1 -1
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +4 -4
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/select/index.js +3 -3
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/item/index.js +1 -1
- package/dist/collection/components/label/index.js +2 -2
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +1 -1
- package/dist/collection/components/modal/index.js +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +1 -1
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +1 -1
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/table/body/index.js +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/colspan/index.js +1 -1
- package/dist/collection/components/table/demo/filler-row/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/group/index.js +1 -1
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/nested/index.js +1 -1
- package/dist/collection/components/table/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/table/demo/simple/simple.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js.map +1 -1
- package/dist/collection/components/table/expandable/row/style.css +4 -0
- package/dist/collection/components/table/filler-row/index.js +1 -1
- package/dist/collection/components/table/foot/index.js +1 -1
- package/dist/collection/components/table/group/index.js +1 -1
- package/dist/collection/components/table/head/index.js +1 -1
- package/dist/collection/components/table/index.js +1 -1
- package/dist/collection/components/table/row/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/index.js +1 -1
- package/dist/collection/components/tabs/tab/index.js +1 -1
- package/dist/collection/components/theme/color/index.js +1 -1
- package/dist/collection/components/theme/demo/index.js +1 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/components/{p-cd4ae22e.js → p-00e29131.js} +4 -4
- package/dist/components/{p-cd4ae22e.js.map → p-00e29131.js.map} +1 -1
- package/dist/components/{p-3a1f5e8b.js → p-03be2708.js} +10 -10
- package/dist/components/{p-3a1f5e8b.js.map → p-03be2708.js.map} +1 -1
- package/dist/components/{p-5dd30cc0.js → p-03c91070.js} +2 -2
- package/dist/components/{p-5dd30cc0.js.map → p-03c91070.js.map} +1 -1
- package/dist/components/{p-11cc925c.js → p-065cbcf5.js} +8 -8
- package/dist/components/{p-11cc925c.js.map → p-065cbcf5.js.map} +1 -1
- package/dist/components/{p-e2ff40ce.js → p-07d9e68a.js} +2 -2
- package/dist/components/{p-e2ff40ce.js.map → p-07d9e68a.js.map} +1 -1
- package/dist/components/{p-e569751f.js → p-0b8373df.js} +2 -2
- package/dist/components/{p-e569751f.js.map → p-0b8373df.js.map} +1 -1
- package/dist/components/{p-49deb5fc.js → p-115371b7.js} +3 -3
- package/dist/components/{p-49deb5fc.js.map → p-115371b7.js.map} +1 -1
- package/dist/components/p-14ea6e65.js +244 -0
- package/dist/components/{p-a0df7a64.js.map → p-14ea6e65.js.map} +1 -1
- package/dist/components/{p-f21f43d1.js → p-18451fa9.js} +3 -3
- package/dist/components/{p-f21f43d1.js.map → p-18451fa9.js.map} +1 -1
- package/dist/components/{p-a74a5a51.js → p-18e35dd4.js} +3 -3
- package/dist/components/{p-a74a5a51.js.map → p-18e35dd4.js.map} +1 -1
- package/dist/components/{p-95439799.js → p-1e8fa07d.js} +5 -5
- package/dist/components/{p-95439799.js.map → p-1e8fa07d.js.map} +1 -1
- package/dist/components/{p-940e5b8e.js → p-1eab7079.js} +4 -4
- package/dist/components/{p-940e5b8e.js.map → p-1eab7079.js.map} +1 -1
- package/dist/components/{p-d0935bef.js → p-28dac8ac.js} +3 -3
- package/dist/components/{p-d0935bef.js.map → p-28dac8ac.js.map} +1 -1
- package/dist/components/{p-04799383.js → p-2bbb8f53.js} +2 -2
- package/dist/components/{p-04799383.js.map → p-2bbb8f53.js.map} +1 -1
- package/dist/components/{p-97254dfe.js → p-2c9a8b37.js} +11 -11
- package/dist/components/{p-97254dfe.js.map → p-2c9a8b37.js.map} +1 -1
- package/dist/components/{p-8f6b490b.js → p-2f17a8e0.js} +14 -14
- package/dist/components/{p-8f6b490b.js.map → p-2f17a8e0.js.map} +1 -1
- package/dist/components/{p-a91db04a.js → p-3024abfc.js} +4 -4
- package/dist/components/{p-a91db04a.js.map → p-3024abfc.js.map} +1 -1
- package/dist/components/p-332ff0a5.js +123 -0
- package/dist/components/{p-a95bab7d.js.map → p-332ff0a5.js.map} +1 -1
- package/dist/components/{p-d209231e.js → p-347162c4.js} +10 -10
- package/dist/components/{p-d209231e.js.map → p-347162c4.js.map} +1 -1
- package/dist/components/{p-4d18f37f.js → p-35d30b5f.js} +14 -14
- package/dist/components/{p-4d18f37f.js.map → p-35d30b5f.js.map} +1 -1
- package/dist/components/{p-0f3b692b.js → p-3609c2f0.js} +13 -13
- package/dist/components/{p-0f3b692b.js.map → p-3609c2f0.js.map} +1 -1
- package/dist/components/{p-9bb1e20b.js → p-382b5857.js} +6 -6
- package/dist/components/{p-9bb1e20b.js.map → p-382b5857.js.map} +1 -1
- package/dist/components/{p-67370f30.js → p-38ec49fa.js} +3 -3
- package/dist/components/{p-67370f30.js.map → p-38ec49fa.js.map} +1 -1
- package/dist/components/{p-dfb0153c.js → p-3989ef69.js} +3 -3
- package/dist/components/{p-dfb0153c.js.map → p-3989ef69.js.map} +1 -1
- package/dist/components/{p-948e9305.js → p-3b06b8a0.js} +27 -27
- package/dist/components/{p-948e9305.js.map → p-3b06b8a0.js.map} +1 -1
- package/dist/components/{p-33cdc807.js → p-3b26fe6c.js} +5 -5
- package/dist/components/{p-33cdc807.js.map → p-3b26fe6c.js.map} +1 -1
- package/dist/components/{p-33f636a1.js → p-3f7a437a.js} +15 -15
- package/dist/components/{p-33f636a1.js.map → p-3f7a437a.js.map} +1 -1
- package/dist/components/{p-50f2b79d.js → p-4139620f.js} +14 -14
- package/dist/components/{p-50f2b79d.js.map → p-4139620f.js.map} +1 -1
- package/dist/components/{p-2de92429.js → p-49837ba2.js} +2 -2
- package/dist/components/{p-2de92429.js.map → p-49837ba2.js.map} +1 -1
- package/dist/components/{p-f0e08ba3.js → p-4fbdcaa4.js} +4 -4
- package/dist/components/{p-f0e08ba3.js.map → p-4fbdcaa4.js.map} +1 -1
- package/dist/components/{p-eba2af2b.js → p-50847f24.js} +13 -13
- package/dist/components/{p-eba2af2b.js.map → p-50847f24.js.map} +1 -1
- package/dist/components/{p-e91292f2.js → p-52ba5546.js} +5 -5
- package/dist/components/{p-e91292f2.js.map → p-52ba5546.js.map} +1 -1
- package/dist/components/{p-b8107946.js → p-565f1d48.js} +7 -7
- package/dist/components/{p-b8107946.js.map → p-565f1d48.js.map} +1 -1
- package/dist/components/{p-8ac400d5.js → p-56fc01bf.js} +5 -5
- package/dist/components/{p-8ac400d5.js.map → p-56fc01bf.js.map} +1 -1
- package/dist/components/{p-21601376.js → p-5bf78c75.js} +2 -2
- package/dist/components/{p-21601376.js.map → p-5bf78c75.js.map} +1 -1
- package/dist/components/{p-cf692cc2.js → p-5e242cbd.js} +3 -3
- package/dist/components/{p-cf692cc2.js.map → p-5e242cbd.js.map} +1 -1
- package/dist/components/{p-f4c50262.js → p-627c3fc7.js} +8 -8
- package/dist/components/{p-f4c50262.js.map → p-627c3fc7.js.map} +1 -1
- package/dist/components/{p-2683f275.js → p-6396cebd.js} +12 -12
- package/dist/components/{p-2683f275.js.map → p-6396cebd.js.map} +1 -1
- package/dist/components/{p-f0f3ed83.js → p-64883514.js} +37 -37
- package/dist/components/{p-f0f3ed83.js.map → p-64883514.js.map} +1 -1
- package/dist/components/{p-8ce2b17b.js → p-67a0640f.js} +15 -15
- package/dist/components/{p-8ce2b17b.js.map → p-67a0640f.js.map} +1 -1
- package/dist/components/{p-065742a9.js → p-68c91da3.js} +4 -4
- package/dist/components/{p-065742a9.js.map → p-68c91da3.js.map} +1 -1
- package/dist/components/{p-9f71d26f.js → p-72b6a817.js} +5 -5
- package/dist/components/{p-9f71d26f.js.map → p-72b6a817.js.map} +1 -1
- package/dist/components/{p-5e4e6b48.js → p-7b0de261.js} +6 -6
- package/dist/components/{p-5e4e6b48.js.map → p-7b0de261.js.map} +1 -1
- package/dist/components/{p-10e9b56f.js → p-7b9c60c5.js} +16 -16
- package/dist/components/{p-10e9b56f.js.map → p-7b9c60c5.js.map} +1 -1
- package/dist/components/{p-d20010f3.js → p-840a2e6c.js} +32 -32
- package/dist/components/{p-d20010f3.js.map → p-840a2e6c.js.map} +1 -1
- package/dist/components/{p-1d50e1c3.js → p-8a0d18a0.js} +15 -15
- package/dist/components/{p-1d50e1c3.js.map → p-8a0d18a0.js.map} +1 -1
- package/dist/components/{p-37363a06.js → p-8b9ba740.js} +8 -8
- package/dist/components/{p-37363a06.js.map → p-8b9ba740.js.map} +1 -1
- package/dist/components/{p-7995e164.js → p-8c0ab6b7.js} +15 -15
- package/dist/components/{p-7995e164.js.map → p-8c0ab6b7.js.map} +1 -1
- package/dist/components/{p-8309d8d7.js → p-8dedb4ea.js} +7 -7
- package/dist/components/{p-8309d8d7.js.map → p-8dedb4ea.js.map} +1 -1
- package/dist/components/{p-a0930b47.js → p-94091007.js} +6 -6
- package/dist/components/{p-a0930b47.js.map → p-94091007.js.map} +1 -1
- package/dist/components/p-97b63ea3.js +176 -0
- package/dist/components/{p-42fba537.js.map → p-97b63ea3.js.map} +1 -1
- package/dist/components/{p-28a3024e.js → p-98440131.js} +2 -2
- package/dist/components/{p-28a3024e.js.map → p-98440131.js.map} +1 -1
- package/dist/components/{p-8b2f08c5.js → p-9e3806ff.js} +7 -7
- package/dist/components/{p-8b2f08c5.js.map → p-9e3806ff.js.map} +1 -1
- package/dist/components/{p-e6eca6ea.js → p-a09be6d8.js} +2 -2
- package/dist/components/{p-e6eca6ea.js.map → p-a09be6d8.js.map} +1 -1
- package/dist/components/{p-76b9e403.js → p-a15015cc.js} +15 -15
- package/dist/components/{p-76b9e403.js.map → p-a15015cc.js.map} +1 -1
- package/dist/components/{p-6ce1475e.js → p-a50f622f.js} +5 -5
- package/dist/components/{p-6ce1475e.js.map → p-a50f622f.js.map} +1 -1
- package/dist/components/{p-182310f5.js → p-a57e7345.js} +7 -7
- package/dist/components/{p-182310f5.js.map → p-a57e7345.js.map} +1 -1
- package/dist/components/{p-125e9845.js → p-a765eaaa.js} +5 -5
- package/dist/components/{p-125e9845.js.map → p-a765eaaa.js.map} +1 -1
- package/dist/components/{p-a9bd3ecf.js → p-a966d505.js} +16 -16
- package/dist/components/{p-a9bd3ecf.js.map → p-a966d505.js.map} +1 -1
- package/dist/components/p-abd56282.js +48 -0
- package/dist/components/p-abd56282.js.map +1 -0
- package/dist/components/{p-9f7e55ba.js → p-b121c0da.js} +2 -2
- package/dist/components/{p-9f7e55ba.js.map → p-b121c0da.js.map} +1 -1
- package/dist/components/{p-ff99dcde.js → p-b235b5aa.js} +5 -5
- package/dist/components/{p-ff99dcde.js.map → p-b235b5aa.js.map} +1 -1
- package/dist/components/{p-3062590d.js → p-b3cfa9a5.js} +13 -13
- package/dist/components/{p-3062590d.js.map → p-b3cfa9a5.js.map} +1 -1
- package/dist/components/{p-b0806e7f.js → p-b5f48ead.js} +28 -28
- package/dist/components/{p-b0806e7f.js.map → p-b5f48ead.js.map} +1 -1
- package/dist/components/{p-a6abef9e.js → p-b74838fd.js} +2 -2
- package/dist/components/{p-a6abef9e.js.map → p-b74838fd.js.map} +1 -1
- package/dist/components/p-ba16f7d3.js +45 -0
- package/dist/components/{p-026d5067.js.map → p-ba16f7d3.js.map} +1 -1
- package/dist/components/{p-3217c7b5.js → p-ba76192d.js} +3 -3
- package/dist/components/{p-3217c7b5.js.map → p-ba76192d.js.map} +1 -1
- package/dist/components/p-bbc6eae6.js +175 -0
- package/dist/components/{p-f5758759.js.map → p-bbc6eae6.js.map} +1 -1
- package/dist/components/{p-77aa479d.js → p-c131480d.js} +4 -4
- package/dist/components/{p-77aa479d.js.map → p-c131480d.js.map} +1 -1
- package/dist/components/{p-559c35a3.js → p-c31cce0c.js} +14 -14
- package/dist/components/{p-559c35a3.js.map → p-c31cce0c.js.map} +1 -1
- package/dist/components/{p-b1d28f3f.js → p-c3d52c12.js} +7 -7
- package/dist/components/{p-b1d28f3f.js.map → p-c3d52c12.js.map} +1 -1
- package/dist/components/{p-8677ee6e.js → p-c5f249a3.js} +14 -14
- package/dist/components/{p-8677ee6e.js.map → p-c5f249a3.js.map} +1 -1
- package/dist/components/{p-675c3d3e.js → p-c9619231.js} +12 -12
- package/dist/components/{p-675c3d3e.js.map → p-c9619231.js.map} +1 -1
- package/dist/components/{p-0eacf5f4.js → p-c98922f4.js} +2 -2
- package/dist/components/{p-0eacf5f4.js.map → p-c98922f4.js.map} +1 -1
- package/dist/components/{p-1f5357e1.js → p-ca85bc1d.js} +2 -2
- package/dist/components/{p-1f5357e1.js.map → p-ca85bc1d.js.map} +1 -1
- package/dist/components/{p-2498d762.js → p-cbf3c133.js} +45 -45
- package/dist/components/{p-2498d762.js.map → p-cbf3c133.js.map} +1 -1
- package/dist/components/{p-0fb1eac0.js → p-cef759f2.js} +5 -5
- package/dist/components/{p-0fb1eac0.js.map → p-cef759f2.js.map} +1 -1
- package/dist/components/{p-ec207ccc.js → p-d0953a9e.js} +4 -4
- package/dist/components/{p-ec207ccc.js.map → p-d0953a9e.js.map} +1 -1
- package/dist/components/{p-44f424f6.js → p-d1462fc3.js} +3 -3
- package/dist/components/{p-44f424f6.js.map → p-d1462fc3.js.map} +1 -1
- package/dist/components/{p-fd158b77.js → p-d1dcafa9.js} +4 -4
- package/dist/components/{p-fd158b77.js.map → p-d1dcafa9.js.map} +1 -1
- package/dist/components/{p-51cb1946.js → p-d3c8be66.js} +5 -5
- package/dist/components/{p-51cb1946.js.map → p-d3c8be66.js.map} +1 -1
- package/dist/components/{p-fd1daa5a.js → p-d5fe813a.js} +2 -2
- package/dist/components/{p-fd1daa5a.js.map → p-d5fe813a.js.map} +1 -1
- package/dist/components/{p-f3e69915.js → p-d693d5de.js} +9 -9
- package/dist/components/{p-f3e69915.js.map → p-d693d5de.js.map} +1 -1
- package/dist/components/{p-5a0e167d.js → p-d81a3a84.js} +3 -3
- package/dist/components/{p-5a0e167d.js.map → p-d81a3a84.js.map} +1 -1
- package/dist/components/{p-d9989605.js → p-d8bd7cc0.js} +2 -2
- package/dist/components/{p-d9989605.js.map → p-d8bd7cc0.js.map} +1 -1
- package/dist/components/{p-c8f13bb3.js → p-d969fa64.js} +2 -2
- package/dist/components/{p-c8f13bb3.js.map → p-d969fa64.js.map} +1 -1
- package/dist/components/{p-90d81e79.js → p-da4c10d0.js} +2 -2
- package/dist/components/{p-90d81e79.js.map → p-da4c10d0.js.map} +1 -1
- package/dist/components/{p-aac94573.js → p-dd3b21a0.js} +10 -10
- package/dist/components/{p-aac94573.js.map → p-dd3b21a0.js.map} +1 -1
- package/dist/components/p-e4b92c84.js +73 -0
- package/dist/components/{p-6140aafa.js.map → p-e4b92c84.js.map} +1 -1
- package/dist/components/{p-a4614623.js → p-e5627b06.js} +4 -4
- package/dist/components/{p-a4614623.js.map → p-e5627b06.js.map} +1 -1
- package/dist/components/{p-5bee4bdc.js → p-e9e71692.js} +5 -5
- package/dist/components/{p-5bee4bdc.js.map → p-e9e71692.js.map} +1 -1
- package/dist/components/{p-e87aacc3.js → p-ea4cee14.js} +15 -15
- package/dist/components/{p-e87aacc3.js.map → p-ea4cee14.js.map} +1 -1
- package/dist/components/{p-758edf83.js → p-ec3b9004.js} +4 -4
- package/dist/components/{p-758edf83.js.map → p-ec3b9004.js.map} +1 -1
- package/dist/components/{p-16c06f14.js → p-ed1e7da4.js} +3 -3
- package/dist/components/{p-16c06f14.js.map → p-ed1e7da4.js.map} +1 -1
- package/dist/components/{p-270e635e.js → p-f2969db7.js} +2 -2
- package/dist/components/{p-270e635e.js.map → p-f2969db7.js.map} +1 -1
- package/dist/components/{p-33087585.js → p-fec4d798.js} +2 -2
- package/dist/components/{p-33087585.js.map → p-fec4d798.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +97 -97
- package/dist/components/smoothly-app-demo.js.map +1 -1
- package/dist/components/smoothly-app-room.js +1 -1
- package/dist/components/smoothly-app.js +1 -1
- package/dist/components/smoothly-back-to-top.js +1 -1
- package/dist/components/smoothly-burger.js +1 -1
- package/dist/components/smoothly-button-confirm.js +1 -1
- package/dist/components/smoothly-button-demo.js +1 -1
- package/dist/components/smoothly-button.js +1 -1
- package/dist/components/smoothly-calendar.js +1 -1
- package/dist/components/smoothly-checkbox.js +3 -3
- package/dist/components/smoothly-color.js +1 -1
- package/dist/components/smoothly-country.js +1 -1
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-demo-json.js +1 -1
- package/dist/components/smoothly-display-demo.js +1 -1
- package/dist/components/smoothly-display-json-object.js +1 -1
- package/dist/components/smoothly-display-json-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter-toggle.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-schedule.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-icon-demo.js +1 -1
- package/dist/components/smoothly-icon.js +1 -1
- package/dist/components/smoothly-input-checkbox-demo.js +29 -29
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date-time.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-item.js +1 -1
- package/dist/components/smoothly-label.js +1 -1
- package/dist/components/smoothly-lazy.js +1 -1
- package/dist/components/smoothly-load-more.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-spinner.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-body.js +1 -1
- package/dist/components/smoothly-table-cell.js +1 -1
- package/dist/components/smoothly-table-demo-colspan.js +1 -1
- package/dist/components/smoothly-table-demo-filler-row.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo-group.js +1 -1
- package/dist/components/smoothly-table-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-table-demo-nested.js +1 -1
- package/dist/components/smoothly-table-demo-simple.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-expandable-row.js +1 -1
- package/dist/components/smoothly-table-filler-row.js +1 -1
- package/dist/components/smoothly-table-foot.js +1 -1
- package/dist/components/smoothly-table-head.js +1 -1
- package/dist/components/smoothly-table-row-group.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-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-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/smoothly-app_99.entry.js +148 -148
- package/dist/esm/smoothly-app_99.entry.js.map +1 -1
- package/dist/esm/smoothly-checkbox.entry.js +2 -2
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-submit.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/smoothly/{p-ad856966.entry.js → p-0e2084ab.entry.js} +2 -2
- package/dist/smoothly/{p-2f60a07e.entry.js → p-451b0f1f.entry.js} +2 -2
- package/dist/smoothly/p-542e6f79.entry.js +2 -0
- package/dist/smoothly/{p-cdb8913e.entry.js → p-87b8d337.entry.js} +2 -2
- package/dist/smoothly/{p-018e3f3c.entry.js → p-884217fa.entry.js} +2 -2
- package/dist/smoothly/p-bf1fb323.entry.js +2 -0
- package/dist/smoothly/p-bf1fb323.entry.js.map +1 -0
- package/dist/smoothly/{p-e513fb66.entry.js → p-d4de2329.entry.js} +2 -2
- package/dist/smoothly/{p-519dd2b0.entry.js → p-d52851a6.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-026d5067.js +0 -45
- package/dist/components/p-18ba7524.js +0 -48
- package/dist/components/p-18ba7524.js.map +0 -1
- package/dist/components/p-42fba537.js +0 -176
- package/dist/components/p-6140aafa.js +0 -73
- package/dist/components/p-a0df7a64.js +0 -244
- package/dist/components/p-a95bab7d.js +0 -123
- package/dist/components/p-f5758759.js +0 -175
- package/dist/smoothly/p-8deb6fb9.entry.js +0 -2
- package/dist/smoothly/p-8deb6fb9.entry.js.map +0 -1
- package/dist/smoothly/p-ec1809c5.entry.js +0 -2
- /package/dist/smoothly/{p-ad856966.entry.js.map → p-0e2084ab.entry.js.map} +0 -0
- /package/dist/smoothly/{p-2f60a07e.entry.js.map → p-451b0f1f.entry.js.map} +0 -0
- /package/dist/smoothly/{p-ec1809c5.entry.js.map → p-542e6f79.entry.js.map} +0 -0
- /package/dist/smoothly/{p-cdb8913e.entry.js.map → p-87b8d337.entry.js.map} +0 -0
- /package/dist/smoothly/{p-018e3f3c.entry.js.map → p-884217fa.entry.js.map} +0 -0
- /package/dist/smoothly/{p-e513fb66.entry.js.map → p-d4de2329.entry.js.map} +0 -0
- /package/dist/smoothly/{p-519dd2b0.entry.js.map → p-d52851a6.entry.js.map} +0 -0
|
@@ -104,7 +104,7 @@ const SmoothlyAppDemo = class {
|
|
|
104
104
|
this.baseUrl = undefined;
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (index.h("smoothly-app", { key: 'aa798117a543b094b87cd4f794e41c2c62eedcf5', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, index.h("smoothly-
|
|
107
|
+
return (index.h("smoothly-app", { key: 'aa798117a543b094b87cd4f794e41c2c62eedcf5', color: "dark", label: "Smoothly Demo", home: "/root", ref: e => (this.app = e) }, index.h("smoothly-app-room", { key: '85bdb920a4cec5690305c57ef11b4b73f447c0bf', path: "/" }, index.h("section", { key: 'd47727e787b05a0d0967b8163c9c58d06fe51aae', style: { padding: "1em", maxWidth: "32em", margin: "0 auto" } }, index.h("header", { key: '03c54ddb20c1dcf03a60064cfedffa85ca0ced63' }, index.h("h1", { key: '99d367240e9e297cc1add3ef17025174f3c5c755' }, "Welcome")), index.h("p", { key: '9a40f185f369a48250800c705eb696a3bd26c8cc' }, "Smoothly is a component library written in ", index.h("a", { key: '89580a4c8ecc4c51db342447b1a38f99ad171234', href: "http://stenciljs.com" }, "Stencil"), ". It can therefore be used across web based frontend toolchains such as React, Vue, Angular, Svelte, and even plain HTML."), index.h("p", { key: 'b6fff912b28bb704fabd933b4f8bb20e732e05c7' }, "This is particularly useful when trying to unifying the user experience across projects written in different technology stacks. It is also written to minimize the amount of code you need to write to achieve a nice user experience."))), index.h("smoothly-app-room", { key: 'deac2fa2f54e269eee396c3d22edd4356ba46b27', path: "/form", label: "Forms", content: index.h("smoothly-form-demo", null) }), index.h("smoothly-app-room", { key: 'd126eddf7b846dc7867f76a1e79e8c0aea3dc104', path: "/input", label: "Inputs", content: index.h("smoothly-input-demo", null) }), index.h("smoothly-app-room", { key: '631bc052402b12971f763c9f67b5e765576af335', path: "/table", label: "Tables", content: index.h("smoothly-table-demo", null) }), index.h("smoothly-app-room", { key: '404c6baa19f137d8cf7e4ef1ea8b4d6b7acec7a5', path: "/button", label: "Buttons", content: index.h("smoothly-button-demo", null) }), index.h("smoothly-app-room", { key: 'ca2c1e442eb84bdd05144b47ebeaeec665921763', path: "/icon", label: "Icons", content: index.h("smoothly-icon-demo", null) }), index.h("smoothly-app-room", { key: '3ef2dfe590dcf35c374f66b01d7461c4bc5d3315', path: "/theme", label: "Theming", content: index.h("smoothly-theme-demo", null) }), index.h("smoothly-app-room", { key: '996329ff5578821430839a8329602557d8b35d07', path: "/dialog", label: "Dialogs", content: index.h("smoothly-dialog-demo", null), slot: "nav-end" }), index.h("smoothly-app-room", { key: '10c2ce61fade60508756db67a65cf875a67b8d31', path: "/display", label: "Display", content: index.h("smoothly-display-demo", null), slot: "nav-end" }), index.h("smoothly-app-room", { key: 'dae62864d7bf7d39bba3406696ac6cf3b557037a', path: "/tabs", label: "Tabs", slot: "nav-end" }, index.h("smoothly-tabs-demo", { key: 'e27a260608972b5433792874a20319707f63d892' })), index.h("smoothly-app-room", { key: '504d400a32ed9c9788e524d0fd45540f1cce847a', path: "/links", label: "Links", slot: "nav-end" }, index.h("smoothly-input", { key: 'e7ceaa22d7d81f3de43811b3fb5b3dc134f3e5bb', type: "text" }, "Default"), index.h("div", { key: 'bbdfd8ad120568fe607633fb588ecc67d591bf2d', style: { padding: "1em", maxWidth: "12em" } }, index.h("smoothly-button", { key: '1b5522a4fa3186436eb48f5a49142abdc69859fe', fill: "solid", color: "danger", link: "https://google.com" }, "open"), index.h("smoothly-button", { key: '17ae745a6e90dd94dc51d5959e10b25d5273bee7', fill: "solid", color: "danger", link: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", type: "download" }, "download"), index.h("smoothly-button", { key: 'b127a29fd4e4ea738f436c64b52e682ddf8a84cc', fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), index.h("smoothly-button", { key: 'ed71219b2fb38b3016ff09dee36b0031c270e5a6', disabled: true, fill: "solid", color: "danger", onClick: () => alert("clicked") }, "action"), index.h("smoothly-button", { key: '8fdff6cb0ed7981ff19a1fbd9ad81da0eda547d8', type: "link", fill: "clear", color: "danger", onClick: () => alert("clicked") }, "action link"))), index.h("smoothly-app-room", { key: '8bb16ffa57c618efaaae0a2d21c32d09dbd65347', path: "/redirect", label: "Redirect", slot: "nav-end" }, index.h("smoothly-button", { key: 'c6815e44d4787c9ad54c30115f68f63d209454cd', type: "link", link: "/input" }, "To input"), index.h("smoothly-button", { key: 'a0faa90c3f06b94020e4c2c4ad74fe8b9523654c', type: "link", link: "../button" }, "To button"), index.h("smoothly-button", { key: 'f2f54a2efa26bfe2c586cc1770b2c4892d00224e', type: "link", link: new URL("/hidden", window.location.origin).href }, "To hidden"), index.h("smoothly-button", { key: '780dccc231035cdf42b814ff25ab54f14d155e49', type: "link", link: "/redirect" }, "To redirect"), index.h("smoothly-button", { key: '53b5ea0d44d241691022ac0cb20bb2dacb9b4b11', type: "link", link: "nested" }, "To redirect nested, relative path")), index.h("smoothly-app-room", { key: '0ea49f1e50e0bbd1391e159cda3a0220cba3c4e3', path: "/hidden" }, index.h("p", { key: 'da7730eebeb034ef0e49bb72e257d55aa8c3d0d2' }, "hello world!")), index.h("smoothly-app-room", { key: '007d7288fdd999a8212da09f70ff8edfeb4e5ae8', path: "/redirect/nested" }, "this is a nested room")));
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
|
|
@@ -1559,7 +1559,7 @@ const SmoothlyAppRoom = class {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
1561
|
render() {
|
|
1562
|
-
return (index.h(index.Host, { key: '
|
|
1562
|
+
return (index.h(index.Host, { key: '6eab15e4c0747f152c898fcb1969460af052d108' }, index.h("li", { key: '2db436defe1028a66ef19a2bbd5348bda5ddcf28' }, index.h("a", { key: '120eb06853ed283b30aea0151eddf1e09b591c74', href: typeof this.path == "string" ? this.path : this.path.pathname, onClick: e => this.clickHandler(e) }, this.icon && index.h("smoothly-icon", { key: '6c3d5c9aa929c3054f69589e791af769ddc388f0', name: this.icon }), this.label && index.h("span", { key: 'de38c06e82e85b9a4d6d94ab5e56211d8f121142', class: "label" }, this.label))), index.h("div", { key: 'f73931b20dd9a48bfa911129591e31749875917b', ref: e => (this.contentElement = e) }, this.content && index.h("smoothly-lazy", { key: '36ffa7a77bd7317a04b84f82a1846d4ca8f41a8d', content: this.content }), index.h("slot", { key: '6ccdfed94a22ad7ece2388fba3d4734aa6a2b509' }))));
|
|
1563
1563
|
}
|
|
1564
1564
|
};
|
|
1565
1565
|
SmoothlyAppRoom.style = SmoothlyAppRoomStyle0;
|
|
@@ -1590,14 +1590,14 @@ const SmoothlyBackToTop = class {
|
|
|
1590
1590
|
"--bottom": this.bottom,
|
|
1591
1591
|
"--right": this.right,
|
|
1592
1592
|
};
|
|
1593
|
-
return (index.h(index.Host, { key: '
|
|
1593
|
+
return (index.h(index.Host, { key: 'baf97943484b567fb756707ac58a22f1445fa91a', style: cssVariables, onClick: () => {
|
|
1594
1594
|
var _a;
|
|
1595
1595
|
return (_a = this.scrollableParent) === null || _a === void 0 ? void 0 : _a.scrollTo({
|
|
1596
1596
|
top: 0,
|
|
1597
1597
|
left: 0,
|
|
1598
1598
|
behavior: "smooth",
|
|
1599
1599
|
});
|
|
1600
|
-
} }, index.h("smoothly-icon", { key: '
|
|
1600
|
+
} }, index.h("smoothly-icon", { key: 'd560b65f6c2133406a5dedafb59c5e3c513587b4', name: "caret-up-outline" })));
|
|
1601
1601
|
}
|
|
1602
1602
|
get element() { return index.getElement(this); }
|
|
1603
1603
|
};
|
|
@@ -1649,7 +1649,7 @@ const SmoothlyBurger = class {
|
|
|
1649
1649
|
this.history = result;
|
|
1650
1650
|
}
|
|
1651
1651
|
render() {
|
|
1652
|
-
return (index.h(index.Host, { key: '
|
|
1652
|
+
return (index.h(index.Host, { key: '7361aec3225da683952809dbd6dce297e09b84da' }, index.h("span", { key: 'f17f0f059c3263f334df3733b7d1b6e977fd6d0c', class: "burger" }, index.h("smoothly-icon", { key: 'd5e02f20a96f19685e5f5d8234d50f8c58911da2', name: "menu" }))));
|
|
1653
1653
|
}
|
|
1654
1654
|
get element() { return index.getElement(this); }
|
|
1655
1655
|
static get watchers() { return {
|
|
@@ -1674,7 +1674,7 @@ const SmoothlyButton = class {
|
|
|
1674
1674
|
this.link = undefined;
|
|
1675
1675
|
}
|
|
1676
1676
|
render() {
|
|
1677
|
-
return (index.h(Submittable.Button, { key: '
|
|
1677
|
+
return (index.h(Submittable.Button, { key: '9e1e36b3efacdf206d7366bae028b7831056c611', disabled: this.disabled, type: this.type, link: this.link }, index.h("slot", { key: '632f7e7c2d75774dd32754b59d8299274fe5dc88' })));
|
|
1678
1678
|
}
|
|
1679
1679
|
};
|
|
1680
1680
|
SmoothlyButton.style = SmoothlyButtonStyle0;
|
|
@@ -1711,7 +1711,7 @@ const SmoothlyButtonConfirm = class {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
1713
|
render() {
|
|
1714
|
-
return (index.h(index.Host, { key: '
|
|
1714
|
+
return (index.h(index.Host, { key: '81ee6d6cd788b6c2c191a173211228f2282d9a48', warning: this.clickTimeStamp }, index.h("smoothly-button", { key: '21053d68c60f203e70b0381d774550ab74d58dc6', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: "warning", disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, index.h("smoothly-icon", { key: '9fe4fe83f179209be811c930c6b5546b344ececb', name: "alert-outline", fill: this.fill, color: "warning", size: this.size === "icon" ? "tiny" : "small" })), index.h("smoothly-button", { key: '81191f3fd3c2d1aaa897ea8e4c608c79477ece27', fill: this.fill, expand: this.expand, size: this.size, shape: this.shape, color: this.color, disabled: this.disabled, type: "button", onClick: event => this.clickHandler(event) }, index.h("slot", { key: 'be8412810360c30abde1d4bcfd81f10f2e9cfd06' }))));
|
|
1715
1715
|
}
|
|
1716
1716
|
};
|
|
1717
1717
|
SmoothlyButtonConfirm.style = SmoothlyButtonConfirmStyle0;
|
|
@@ -1725,9 +1725,9 @@ const SmoothlyButtonDemo = class {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
render() {
|
|
1727
1727
|
return [
|
|
1728
|
-
index.h("h2", { key: '
|
|
1729
|
-
index.h("section", { key: '
|
|
1730
|
-
index.h("smoothly-back-to-top", { key: '
|
|
1728
|
+
index.h("h2", { key: '6b4e2e7fd6f5ac09bf5f659910bd3ab9649c8c74' }, "Buttons"),
|
|
1729
|
+
index.h("section", { key: 'a8c21a672eb93d92facc1a04cf5a1c16cf253c54' }, index.h("h4", { key: '95f09c04d6895f06194954208cc61da1b416a878' }, "Confirm button (two clicks)"), index.h("div", { key: 'ece6df70c9c0c924b9965b4cc20ca9ca411eef19' }, index.h("smoothly-button-confirm", { key: 'b356531d3d7858014146ccae0006bffc78e4c5b2', name: "confirm", shape: "rounded", color: "danger", size: "large" }, "Delete"), index.h("smoothly-button-confirm", { key: '4a0228367ca0e7939537c6ac0b91137b84d53545', name: "confirm-icon", shape: "rounded", color: "success", size: "icon" }, index.h("smoothly-icon", { key: 'c13e9507e37915a2e7050dc70f9a1a31768430c9', name: "checkmark-outline", size: "tiny" })), index.h("smoothly-button-confirm", { key: '97fc730307b1148d23cf1aa7a09f2c93f3b7989c', name: "confirm-icon", shape: "rounded", color: "danger", size: "icon", fill: "outline" }, index.h("smoothly-icon", { key: 'f62955f5e18b64bb3e43eeb7dc1bd3ab3fe7030a', name: "trash-outline", size: "tiny", fill: "outline" }))), index.h("smoothly-toggle-switch-demo", { key: '3b8cb29571361ca1788d77a85ae53cbbe4475fe6' }), index.h("h4", { key: '5e3b0eef700dc84413d57bf4d825a5145cdabaac' }, "Links with icons"), index.h("smoothly-button", { key: 'caead3e80f98af9ae50658b45670f1dc5f56131a', type: "link" }, index.h("smoothly-icon", { key: '3bb40c487d33085525f382d7361609249b0225aa', name: "checkmark-circle", slot: "start" }), "type link"), index.h("smoothly-button", { key: '2e7e16027df719fb69990bdfd3936fb9f1869004', type: "button", color: "warning", fill: "default" }, index.h("smoothly-icon", { key: '1600004998730dc8abde02c692a3b01a89fec5a2', name: "call", slot: "start" }), index.h("a", { key: '2771f2031a33e31d3eb9b5f1c0f38127ec0f8015', href: "https://google.com" }, "link")), index.h("smoothly-button", { key: 'e3b44f6c7b09e0f915bc630c2f7f340ff9f5f9b3', link: "https://google.com", type: "link" }, index.h("smoothly-icon", { key: '5f8ad3b08806ddc5cd7e3368e8a6248ca7b86d4f', name: "arrow-forward", slot: "end" }), "link + type link"), index.h("h4", { key: '38623ab73ffd29c4b8896a88f6266e9bd6760f44' }, "Size and Color test"), index.h("smoothly-button", { key: '871fed09c8276e9f3eed438ceffaa25c7ab4132d', color: "primary", fill: "solid", size: "small", shape: "rounded" }, "Color Primary + Small"), index.h("smoothly-button", { key: '3c41d7224734ce85fec74214642e4804b7dcd1f3', color: "secondary", fill: "solid", shape: "rounded" }, "Color Secondary + Default"), index.h("smoothly-button", { key: '2e515425a5af576e1eee7ba100b6407a74479faf', color: "warning", fill: "solid", size: "large" }, "Color Warning + Large"), index.h("smoothly-button", { key: 'e1ea7debe613f227b18fba7795d4358739d4b498', color: "danger", fill: "solid", size: "small", shape: "rounded" }, "Color Danger + Small"), index.h("smoothly-button", { key: '88ce6a163227ece5cfa30b78dc04c8dd33572fbc', color: "success", fill: "solid", size: "small", shape: "rounded" }, "Color Success + Small"), index.h("smoothly-button", { key: 'd215c603d81bf548e741f167980142b91d606ad7', color: "tertiary", fill: "solid", size: "small", shape: "rounded" }, "Color Tertiary + Small"), index.h("smoothly-button", { key: '442b7e5070fde2adaf9581b082bcb366bc99d440', color: "dark", fill: "solid", size: "small", shape: "rounded" }, "Color Dark + Small"), index.h("smoothly-button", { key: '97f4719f87607a0f0652c4c63c7a343e7e193e61', color: "medium", fill: "solid", size: "small", shape: "rounded" }, "Color Medium + Small"), index.h("smoothly-button", { key: 'fdab4a41358222e77b53fb9e2b792debba0009af', color: "light", fill: "solid", size: "small", shape: "rounded" }, "Color Light + Small"), index.h("h4", { key: '1a494d56ffb18e63e882a9a15a9708680305645a' }, "Expand examples"), index.h("smoothly-button", { key: '236c7b8f85e0fa08b09ab12ea66f0222541ca276', color: "secondary", fill: "solid", expand: "full" }, "Color Secondary + Default"), index.h("smoothly-button", { key: 'd37bdedd651be01d3bd5571179301e1e5cd48473', color: "warning", fill: "solid", expand: "block" }, "Color Warning + Large"), index.h("h4", { key: '7d253a8d81a443a68601b833fa939bbea608f9b6' }, "Fill examples"), index.h("div", { key: 'b27b8b79542e09c9dfca65a1f4b880ff12c2f752' }, index.h("smoothly-button", { key: '103064fe4143fdaf8053c343e4a8f8786d65fe4c', shape: "rounded", color: "primary", fill: "solid" }, index.h("smoothly-icon", { key: 'a9e90f809579431741dfdd357bf50dc7c7bfc123', name: "checkmark-circle", slot: "start" }), "Fill Solid"), index.h("smoothly-button", { key: '1f5e1196f7b1b41e1d7db735dae6baba5aa661bf', shape: "rounded", color: "secondary", fill: "outline" }, index.h("smoothly-icon", { key: '5302e9c8dc0fef41953d4cbd30d1105825d0c2c9', name: "checkmark-circle", slot: "start" }), "Fill Outline"), index.h("smoothly-button", { key: '5f898650f52cec4e6e5255cebe3e62f4ef7cd3f2', shape: "rounded", color: "tertiary", fill: "clear" }, index.h("smoothly-icon", { key: '73b680ad46cc7b54e3605857522eb6a7a5779f72', name: "checkmark-circle", slot: "start" }), "Fill Clear"), index.h("smoothly-button", { key: '049c9368a151fd6818e32a9cc2c3c839a2dfe1ce', size: "icon", shape: "rounded", color: "success", fill: "solid" }, index.h("smoothly-icon", { key: 'd089a85ca9f3abb8559c0f0d4777a642954334f8', name: "basketball" }))), index.h("h4", { key: '0801a466f4362bee9a68fbea8df5f68f23563ac0' }, "Buttons with Icon in \"start\""), index.h("div", { key: '53f0992772870859e577d2d33db8b0a26c60694b' }, index.h("smoothly-button", { key: '8cc2bfa082a2563e6360524b58e1ff57b6378a33', shape: "rounded", fill: "solid", color: "warning" }, index.h("smoothly-icon", { key: '5bfd5295b8bee2a4a3472501d485284214dd3aa2', name: "checkmark-circle", slot: "start" }), "Check"), index.h("smoothly-button", { key: '68aec74f5a8a131ff4a13403fb02c089ac740090', shape: "rounded", fill: "solid", color: "secondary" }, index.h("smoothly-icon", { key: '5d9c4f3ccade43c8082c932ff5ce0cb607b3f75e', name: "basketball", slot: "start" }), "Check"), index.h("smoothly-button", { key: '4dce21084d04b79bd4a99c223d6a7782a7dd05fb', shape: "rounded", fill: "solid", color: "success" }, index.h("smoothly-icon", { key: '207d7e15ba1ca9095a8372efc9fb64fa5010549e', name: "call", slot: "start" }), "Check"), index.h("smoothly-button", { key: 'd348f3dbb66b1a0a1643455642fea121aeb402c7', size: "icon", fill: "solid", shape: "rounded", color: "success" }, index.h("smoothly-icon", { key: '36eda8b6c89687d69851bfc4dcc8bda3091395f4', name: "call" })), index.h("smoothly-button", { key: '42069af5842c8daf5373875caf73825ce791c2df', size: "flexible", fill: "solid", color: "success" }, index.h("smoothly-icon", { key: '16983ae9151c3919ba993551b545210065a319f4', name: "airplane" }))), index.h("h4", { key: '6811065a92ab3388cc44e23b0262da45de83f553' }, "Buttons with Icon in \"end\""), index.h("smoothly-button", { key: '5ad9f07473c06714f5a55fcf6c4aa30c29571814', fill: "solid", color: "light" }, "Go Forward", index.h("smoothly-icon", { key: '0e50649ffa9b6b9c29b314d836024df21f40daaf', name: "arrow-forward", slot: "end" })), index.h("h4", { key: '9d15cf0f0b56f2ee347ef098ca081edc23b28d94' }, "Test for icon button"), index.h("div", { key: 'b68bda362262be40014b44f1177d457feac98887' }, index.h("smoothly-button", { key: '14795f5d84fb482925e9176bcedceaa541f04a5b', size: "icon", fill: "solid", shape: "rounded", color: "success" }, index.h("smoothly-icon", { key: 'e4babc292f88030ef23bcf9035eb2ab67ffa63a7', name: "call" })), index.h("smoothly-button", { key: 'e4ebda1f7fa126830b3635190bd8d1088f9c697e', size: "icon", shape: "rounded", color: "warning", fill: "solid" }, index.h("smoothly-icon", { key: 'c6f841256c358e74c7ca8377e1a09ff9d7a5fcb0', name: "search-outline" })), index.h("smoothly-button", { key: '4832663b7f348e853e28ce8ee562781c6843c3ab', size: "icon", shape: "rounded", color: "secondary" }, index.h("smoothly-icon", { key: 'd70b361928afa7a6430ffea309aa94fca9f652e3', name: "checkmark-circle" }))), index.h("h4", { key: '28853956975db199dfb10524a9b865abe9406e5b' }, "Link examples"), index.h("div", { key: '31d234a7798018a01991555e05859615b9cb4697' }, index.h("smoothly-button", { key: '5674f0f72eb5ad235848a5ea85ec2be102748260', type: "link" }, "type link"), index.h("smoothly-button", { key: 'c39ce5f8638024fd5a011c509184bf3199006bbb', type: "button", fill: "clear" }, index.h("a", { key: '2004dc3d932120e24dfd8a828d31d52564c6cf01', href: "https://google.com" }, "link")), index.h("smoothly-button", { key: 'a643dca03c3e7777ecf2b73f084962831de9f4f5', link: "https://google.com", type: "link" }, "link + type link")), index.h("h4", { key: 'a84c1c3fb3ff714eb47a4d678ab39a74c2f42924' }, "Disabled buttons"), index.h("div", { key: '3a856f60153bc8cf90889aaaade7292480b29dc2' }, index.h("smoothly-button", { key: '64484bb626d5abfacfb09da406f2281b5da10757', disabled: true, fill: "solid", color: "secondary" }, "Disabled"), index.h("smoothly-button", { key: 'e8059bff4c591dd79a57b70624db79c7b5ac3bdf', type: "link", link: "https://google.com", disabled: true }, "Disabled link"))),
|
|
1730
|
+
index.h("smoothly-back-to-top", { key: '5b644a9126f87a1036b9d8038f94c227d305dee8' }),
|
|
1731
1731
|
];
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
@@ -1855,10 +1855,10 @@ const Calendar = class {
|
|
|
1855
1855
|
}
|
|
1856
1856
|
render() {
|
|
1857
1857
|
var _a, _b, _c;
|
|
1858
|
-
return (index.h(index.Fragment, { key: '
|
|
1858
|
+
return (index.h(index.Fragment, { key: '873c2df4266e043f62561e1ab89129d6eef61150' }, index.h("smoothly-input-month", { key: 'b05971ae714b2e26f249a84ba91c1558c93f099c', name: "month", value: (_a = this.month) !== null && _a !== void 0 ? _a : this.value, min: this.min, max: this.max, inCalendar: true, next: true, previous: true, showLabel: false, onSmoothlyInput: e => {
|
|
1859
1859
|
e.stopPropagation();
|
|
1860
1860
|
"month" in e.detail && typeof e.detail.month == "string" && (this.month = e.detail.month);
|
|
1861
|
-
} }, index.h("div", { key: '
|
|
1861
|
+
} }, index.h("div", { key: 'faa7c396d6a42cf8376ac5f89c34e0cf70a05448', slot: "year-label" }, index.h("slot", { key: '7a09d4149ecf3a28f27dfff24be59858e9bf1771', name: "year-label" })), index.h("div", { key: '53173b614c5e305ca91081f63fa1c1c641bf288b', slot: "month-label" }, index.h("slot", { key: '4e952349c3ca7ac0b0abfc31725ca3d6879a5a93', name: "month-label" }))), index.h("table", { key: '6675b5c1daf856940e4fcc860d8d1f98179173d6' }, index.h("thead", { key: '9d8c168520e5570ccbe7cef6b17692ae3c782806' }, index.h("tr", { key: '234e57b12f82d0addb1af8b0a69ab352e11d65f1' }, weekdays().map(day => (index.h("th", null, day))))), month((_c = (_b = this.month) !== null && _b !== void 0 ? _b : this.value) !== null && _c !== void 0 ? _c : TimeZone.Date.now()).map(week => (index.h("tr", null, week.map(date => {
|
|
1862
1862
|
var _a, _b, _c, _d;
|
|
1863
1863
|
return (index.h("td", { tabindex: 1, onMouseOver: () => (this.withinLimit(date) ? this.onHover(date) : undefined), onClick: this.withinLimit(date) ? () => this.onClick(date) : undefined, class: {
|
|
1864
1864
|
selected: date == this.value || (this.doubleInput && (date == this.start || date == this.end)),
|
|
@@ -1901,7 +1901,7 @@ const SmoothlyDialog = class {
|
|
|
1901
1901
|
};
|
|
1902
1902
|
}
|
|
1903
1903
|
__stencil_render() {
|
|
1904
|
-
return (index.h("section", { key: '
|
|
1904
|
+
return (index.h("section", { key: 'e070e16a1f9d55f623156ab9e41ea1cda5a71196' }, index.h("div", { key: '35ebd08f6ca4f572c4e4af460391f608dbefa754', class: "header" }, this.closable && (index.h("smoothly-trigger", { key: 'f8c78829a42b1a49baf89fa7d94aff179a2d5e9c', fill: "clear", name: "close" }, index.h("smoothly-icon", { key: 'f1e3be3910170ca8a15867a5bd3e9c64dfcdc9b4', name: "close-circle", fill: "solid", color: this.color }))), this.header ? index.h("h1", null, this.header) : index.h("slot", { name: "header" })), index.h("div", { key: '7f0f5212049be0603eaa52cd26731ec08cd4a703', class: "content" }, index.h("slot", { key: 'b6dfaf8a392606b3f7eb644809b360acafa12c2f' }))));
|
|
1905
1905
|
}
|
|
1906
1906
|
render() { return index.h(index.Host, this.hostData(), this.__stencil_render()); }
|
|
1907
1907
|
};
|
|
@@ -1918,7 +1918,7 @@ const SmoothlyDialogDemo = class {
|
|
|
1918
1918
|
this.showFrame = false;
|
|
1919
1919
|
}
|
|
1920
1920
|
render() {
|
|
1921
|
-
return (index.h(index.Host, { key: '
|
|
1921
|
+
return (index.h(index.Host, { key: '171296f92ec571930bcc4bca7a2bbd433943d302' }, index.h("smoothly-button", { key: '31d7764ddb4163c83d1d5cd53bc664bde022521d', fill: "solid", color: "light", onClick: () => (this.openModal = true) }, "Open Modal"), index.h("smoothly-button", { key: '58ead69323e970d926b3b3f0e57b2f5340d7c956', fill: "solid", color: "light", onClick: () => (this.openTallModal = true) }, "Open Modal with long text and top-aligned."), index.h("smoothly-button", { key: '57939b58cfbb5e2d2081b2436094041eb1074e87', fill: "solid", color: "light", onClick: () => (this.showFrame = !this.showFrame) }, "Show Frame"), index.h("smoothly-modal", { key: 'eba2703ab68ac9a767640493bd91aaeaa84c2256', closable: true, open: this.openModal, onSmoothlyModalChange: e => (this.openModal = e.detail) }, index.h("h2", { key: '66557105cc449a37951e52271a184324333c310f', slot: "header" }, "Modal"), index.h("span", { key: '273f211df20373f6622994141102e780a7b3ee53' }, "Are you sure you want to confirm this action?"), index.h("smoothly-button", { key: '7710589cbd7be4649c8ea355cba53bed95ecb414', slot: "actions", color: "success" }, "Confirm"), index.h("smoothly-button", { key: '580de2b26b8b169209b7f2afa3446749a42d55ff', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openModal = false) }, "Cancel")), index.h("smoothly-modal", { key: '4293aa516d024c7deb849686b1c9b1d2cbde50c4', closable: true, open: this.openTallModal, onSmoothlyModalChange: e => (this.openTallModal = e.detail), align: "top" }, index.h("h2", { key: 'd5172b9f596b4dc05a1c66014c3dac4feda1fbcd', slot: "header" }, "Modal"), index.h("smoothly-summary", { key: '92b695be01a78bf00e70a60ef132092979617f79' }, index.h("div", { key: '2b1b7d17992a2d635a1a261c3768ce8f64b4f10a', slot: "summary" }, "Lorem ipsum"), index.h("div", { key: 'ca2a2ec987eb6049eb3a7fa609a7d3b77aacca48', slot: "content" }, 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: 'c1e0641f4631dd6cc21a695f0ffee7e2851e50bb', slot: "actions", color: "light", fill: "outline", onClick: () => (this.openTallModal = false) }, "Cancel")), this.showFrame && (index.h("smoothly-dialog", { key: '28d4f53e28c7e32bef9746362fce97cfb21cb442', closable: true }, index.h("smoothly-frame", { key: '61011e045d9a740f3937a1cdc83e0fb97c1d552b', url: "https://www.wikipedia.org/", name: "parent", style: { height: "80vh" } })))));
|
|
1922
1922
|
}
|
|
1923
1923
|
};
|
|
1924
1924
|
SmoothlyDialogDemo.style = SmoothlyDialogDemoStyle0;
|
|
@@ -3778,16 +3778,16 @@ const SmoothlyDisplay = class {
|
|
|
3778
3778
|
const type = this.type;
|
|
3779
3779
|
switch (type) {
|
|
3780
3780
|
case "json":
|
|
3781
|
-
result = index.h("smoothly-display-json", { key: '
|
|
3781
|
+
result = index.h("smoothly-display-json", { key: 'c171d3a83efbefce258b6929eb0a3bafb246d8d5', value: this.value, collapseDepth: this.collapseDepth });
|
|
3782
3782
|
break;
|
|
3783
3783
|
default:
|
|
3784
3784
|
result = format(this.value, type);
|
|
3785
3785
|
break;
|
|
3786
3786
|
case "email":
|
|
3787
|
-
result = index.h("a", { key: '
|
|
3787
|
+
result = index.h("a", { key: 'd61f90a089a457d0e388ec5739974dc081868e8f', href: "mailto:" + this.value }, format(this.value, type));
|
|
3788
3788
|
break;
|
|
3789
3789
|
case "phone":
|
|
3790
|
-
result = index.h("a", { key: '
|
|
3790
|
+
result = index.h("a", { key: 'f622c3de530f8251623ec003acf3fe077506ca6b', href: "tel:" + this.value }, format(this.value, type, this.country));
|
|
3791
3791
|
break;
|
|
3792
3792
|
case "postal-code":
|
|
3793
3793
|
result = format(this.value, type, this.country);
|
|
@@ -3824,35 +3824,35 @@ const SmoothlyDisplayDemo = class {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
render() {
|
|
3826
3826
|
return [
|
|
3827
|
-
index.h("main", { key: '
|
|
3827
|
+
index.h("main", { key: '2a76daef84887ea3bde88d366b2e21e14d57b44b' }, index.h("fieldset", { key: '1ca672f0189ec954870ec1a1334d710eb12de27b' }, index.h("h2", { key: '8adad2327cab875a2cb4b5bc0eec229d1e0056e9' }, "Smoothly display"), index.h("dl", { key: '34e4c3ffb01fbdf98ab7f37e421ee3d7cca379a3' }, index.h("dt", { key: '1e6fc46091902b66b8a40760191f53cdd30bc14a' }, "Duration"), index.h("dd", { key: '4966107aafd2506a4406e5dd282a81a7c6a9b66b' }, index.h("div", { key: '96dda5951ab4df35c0953b2aef462447770de4e7' }, index.h("div", { key: '5b315e7bf03247f15909ae0f3188666c4e542520' }, index.h("smoothly-display", { key: '8b4e73dadc46fbd99c17490d6847105690aa5f35', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), index.h("div", { key: 'fef2f6a200446d477b60eb70f0ca70f1238129a0' }, index.h("smoothly-display", { key: '0c488fdcaefa7864d050d98472dca2ecddd898b0', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), index.h("div", { key: '0afc6954ed6dd90cc8dad83d57cb2f94a8681492' }, index.h("smoothly-display", { key: 'f0340041c6996a6e482ea3199ec5416788c546a8', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), index.h("div", { key: '3a1670abc42b8e2fbfdbc0949c2eeb2c79a5c15c' }, index.h("smoothly-display", { key: '09392b66cee4872abf14c9ece430a63d100c2ee1', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), index.h("div", { key: 'e863e33d414dc0da17818ce632e892ce25eb4a46' }, index.h("smoothly-display", { key: 'bf6e57117a4720686c34846466bee6f2a13ba831', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), index.h("div", { key: '939798209aa002fb5a5bca479b099d101330fcfb' }, index.h("smoothly-display", { key: 'aa67a6663dee8531df73a141d304844eb96bc2c4', style: { display: "inline" }, type: "duration", value: {} }), " h"), index.h("div", { key: '69c7aa45e433a17583c13eb45ec68b32afbedf09' }, index.h("smoothly-display", { key: 'da59eece362ffe4847bf6e96a7c0cab6eb7aa9ee', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), index.h("dt", { key: '8c438d67510bdd91eb89f2160a3ef1bf45e62999' }, "text"), index.h("dd", { key: 'ee6084f1769f173a3c2bb7068857306f4590311e' }, index.h("smoothly-display", { key: '8b74f5d51fc7b2994390ae6ade97127edd92cd83', type: "text", value: "text" })), index.h("dt", { key: 'c8a6db267c2985d64ca553919ff4ea21c4a77a9c' }, "postal code"), index.h("dd", { key: 'bcc16ccfda356d180e45e4eec39b7fd563f244f2' }, index.h("smoothly-display", { key: 'd296d047c7bc9adb14beaf528defd2956b268127', type: "postal-code", value: "752 31" })), index.h("dt", { key: 'df3cd2a6890585cc9ccedd2ef45892e3a081c08e' }, "password"), index.h("dd", { key: 'd73cf9f0f3d6a4430d6b7e9a9280fd2659f4afec' }, index.h("smoothly-display", { key: 'e66094f4ba694eff429ee99627f5e91eea77565d', type: "password", value: "password" })), index.h("dt", { key: 'b6b684dd9dba0035c67c67d9f71cb8f2c5d8196d' }, "email"), index.h("dd", { key: '9a743be9a2fd0d9dc8f4d7998123d88bd41a5768' }, index.h("smoothly-display", { key: '62617815b23ab6b9dce1cccfe4171ed640d1f68f', type: "email", value: "test@example.com" })), index.h("dt", { key: 'c0e3675247d4d7cae59e11c9ac0d5084efec7da9' }, "price"), index.h("dd", { key: '5ba67df88825d3aea8eba493beb1ec6ed8deb6a7' }, index.h("smoothly-display", { key: '074c2cc0269b950e742414d527f3e020afd5c9a0', type: "price", value: "13.37", currency: "SEK" })), index.h("dt", { key: '1e8526fd51f22962fd429276d935701a1d331ff0' }, "price without decimals"), index.h("dd", { key: '857b7141e8abeeeeb09f4f5c8a8df5b6a55aca2e' }, index.h("smoothly-display", { key: '0b39e2af7552ba9506574cbc3a10566980476329', type: "price", value: 200, currency: "SEK", toInteger: true })), index.h("dt", { key: '2155f8ed8ad6b8ec67973563bbca51486047f053' }, "price with decimals if they are set, otherwise no decimal"), index.h("dd", { key: '76505996a0acd9606fd8cf420ba007501c1add91' }, index.h("smoothly-display", { key: 'ab04814225516711be97ffb281ed640d4149e71d', type: "price", value: 200.2, currency: "SEK", toInteger: true })), index.h("dt", { key: '8f8e578f2faa73548b948c8a345c93f2b283779a' }, "price with decimals"), index.h("dd", { key: 'e6fe391647cbf0cb563c0badc16394b830fe1fe2' }, index.h("smoothly-display", { key: 'd14257a209f93b62d916df7e8254f6a0baacaa3b', type: "price", value: 200.2, currency: "SEK" })), index.h("dt", { key: '3c5de766f714ec32c8e4258227a8583ae8e13c56' }, "percent"), index.h("dd", { key: '3035ba6e28b9ce76724d8ca7df1a2094cd1810e6' }, index.h("smoothly-display", { key: '55d8be440426d5b6489ecba69525546deb82a69d', type: "percent", value: "42" })), index.h("dt", { key: '7f2768abb769cec9b3d1bf1c4046405fa3f282c3' }, "phone"), index.h("dd", { key: '9121bd24b678134d94f1051bad4456d94b461540' }, index.h("smoothly-display", { key: 'd61b1a545fdba6c7a1b9c2ce9122183818e47542', type: "phone", value: "0101881108" })), index.h("dt", { key: 'd3d3f73f7ab5de5e2975c5bc1763c7d72c69acb8' }, "card number"), index.h("dd", { key: '849098be9e684ea9bc68bac8fd05e2a586893bf3' }, index.h("smoothly-display", { key: 'e751cc9912f1fdd338b63a9db5ef2cc8ed4b40bc', type: "card-number", value: "4111111111111111" })), index.h("dt", { key: '4acb2eeceb1334b6460a11f7f9933b61bd48ed20' }, "card expires"), index.h("dd", { key: 'f6ae3b93f77440abc5438f6af6e40d9964530811' }, index.h("smoothly-display", { key: '5bfa4a17d4e8e6ebc5b94faeee43ce963bd31bb2', type: "card-expires", value: "7/22" })), index.h("dt", { key: 'e30810b6adf6a71a7a5c6c6abc9e0cf28fad1c7e' }, "card csc"), index.h("dd", { key: 'bd67e6a4a616d7cf95ee90e02084970be15ad475' }, index.h("smoothly-display", { key: '7568ce3b669095fb4edcd1dd2974d959afdd485b', type: "card-csc", value: "987" })), index.h("dt", { key: '4f3e8f8a8367015afef690e33e30ff73255d3359' }, "date"), index.h("dd", { key: '85acb48a1f9295bc8f75c226a6edc55492926280' }, index.h("smoothly-display", { key: 'f4939232a91bf1f4d98b6ce6883d9e793fd95207', type: "date", value: "2022-07-07" })), index.h("dt", { key: 'a10293b50e7e9618941ce1f2337f6386175ff891' }, "date time"), index.h("dd", { key: 'b431af2a61d56675c4161e1c25861f4cb06780b4' }, index.h("smoothly-display", { key: '1ae46193f8205120d5970f5a9d213809e6768c12', type: "date-time", format: {
|
|
3828
3828
|
year: "numeric",
|
|
3829
3829
|
month: "short",
|
|
3830
3830
|
day: "numeric",
|
|
3831
3831
|
hour: "numeric",
|
|
3832
3832
|
minute: "numeric",
|
|
3833
3833
|
second: "numeric",
|
|
3834
|
-
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '
|
|
3834
|
+
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '6eee37e5837c3c31d0dd218b8d28ba72d14a7274' }, index.h("smoothly-display", { key: 'cadd5b0016b475b6f06845e4a5f096fa495fc38f', type: "date-time", format: {
|
|
3835
3835
|
year: "2-digit",
|
|
3836
3836
|
month: "long",
|
|
3837
3837
|
day: "2-digit",
|
|
3838
3838
|
hour: "2-digit",
|
|
3839
3839
|
minute: "2-digit",
|
|
3840
3840
|
second: "2-digit",
|
|
3841
|
-
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '
|
|
3841
|
+
}, value: "2022-07-07T02:02:02Z" })), index.h("dd", { key: '9e0b7ca976e9c2e76744e6b7f2b13169f8176db8' }, index.h("smoothly-display", { key: '9690855e4593579da6d6ef9848fabe421c53a188', type: "date-time", format: {
|
|
3842
3842
|
year: "numeric",
|
|
3843
3843
|
month: "2-digit",
|
|
3844
3844
|
day: "2-digit",
|
|
3845
3845
|
hour: "numeric",
|
|
3846
3846
|
minute: "numeric",
|
|
3847
3847
|
second: "numeric",
|
|
3848
|
-
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: '
|
|
3848
|
+
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: 'ae6a22a4058b7c703664032f4db6d34deab8f117' }, index.h("smoothly-display", { key: '08061cd335bcfcecc25fd21bea18dadf91b8a5b3', type: "date-time", format: {
|
|
3849
3849
|
year: "numeric",
|
|
3850
3850
|
month: "numeric",
|
|
3851
3851
|
day: "numeric",
|
|
3852
3852
|
hour: "numeric",
|
|
3853
3853
|
minute: "numeric",
|
|
3854
3854
|
second: "numeric",
|
|
3855
|
-
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: '
|
|
3855
|
+
}, value: "2022-07-07T12:22:24Z" })), index.h("dd", { key: '96055e5c2dabd5405c9abddce2e08968e9eaadc9' }, index.h("smoothly-display", { key: 'e0d438cea5912edfcadd435ebe18bb31820127a7', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), index.h("dd", { key: '98fb2ccd362a915d28f69dde02cf97934ecdbda3' }, index.h("smoothly-display", { key: '64741e7b923a1e9da0583839d8672a9f77a82ad3', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), index.h("dd", { key: 'ab24692222866cba986372402b73712f2fc86539' }, index.h("smoothly-display", { key: '3814df12b639cf811602d8d68e093c1cdf778310', type: "date-time", format: {
|
|
3856
3856
|
year: "2-digit",
|
|
3857
3857
|
month: "numeric",
|
|
3858
3858
|
day: "numeric",
|
|
@@ -3860,21 +3860,21 @@ const SmoothlyDisplayDemo = class {
|
|
|
3860
3860
|
minute: "2-digit",
|
|
3861
3861
|
second: "2-digit",
|
|
3862
3862
|
timeZone: "Europe/Stockholm",
|
|
3863
|
-
}, value: "2022-07-07T12:15Z" })), index.h("dt", { key: '
|
|
3863
|
+
}, value: "2022-07-07T12:15Z" })), index.h("dt", { key: 'c96a8dfd8a6bc8ecd8dccbd95e5afdbd25016df0' }, "Display JSON"), index.h("dd", { key: '70bd3c92f4519590fe7938e5d0e7d8c4adee11a3' }, index.h("smoothly-display-demo-json", { key: 'f0167e90e50c3e552bf30b74524080c7c252bfdc' })))), index.h("h2", { key: '9098912a1e0d971fb840aebb409d4192def5b629' }, "With labels"), index.h("dd", { key: '96302e348da1518bf09cdedefefe0cd5a183b2ec' }, index.h("smoothly-display", { key: 'ea9cfb671bae4e4245bf0186698632879c44535a', label: "Today", type: "date", value: TimeZone.Date.now() }), index.h("smoothly-display", { key: '09c37d099f968d1dd482ca0e6ee20744f551630f', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), index.h("smoothly-display", { key: '3e2dbe30539fad2757c6bc5027344a5dbf7bd454', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), index.h("smoothly-display", { key: '3415b6494541d0be2a5c88eb75e61f650d42de8e', label: "Logs", type: "json", value: [
|
|
3864
3864
|
{ type: "trace", message: "Hello" },
|
|
3865
3865
|
{ type: "error", message: "Oh no!" },
|
|
3866
|
-
] })), index.h("fieldset", { key: '
|
|
3866
|
+
] })), index.h("fieldset", { key: '468b3e8e6e7fe91c93493cd804bd59383f4b7e54' }, index.h("h2", { key: 'f4d81c45839324b8628ed92dc2db96d9f603fe09' }, "Test of different kinds of notifier"), index.h("button", { key: '32f3d4e71745238bf0efaf3ed27481e43aaa5e17', onClick: () => this.noticeWarning(Notice.Notice.warn("This is a test warning notice.")) }, "warning"), index.h("button", { key: '906b0f542433e9f13140e91db71d17b59f39d01d', onClick: () => this.noticeWarning(Notice.Notice.succeeded("This is a test success notice.")) }, "success"), index.h("button", { key: '56cc3dde29cc2550660b05d69f7ea372de2091c6', onClick: () => this.noticeWarning(Notice.Notice.failed("This is a test danger notice.")) }, "danger"), index.h("button", { key: '7282bec22e381a57864663f55e0535b05e139e35', onClick: () => this.noticeWarning(Notice.Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), index.h("button", { key: 'e0fd211f1bfb1210b218af387690cfde404ef6db', onClick: () => this.noticeWarning(Notice.Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), index.h("fieldset", { key: '56d71cbb8821a9d6a52ad403daf4e92c2327b61a' }, index.h("h2", { key: '70066d046ad7eff8e72d7c6508f2dddd33111364' }, "Smoothly spinner"), index.h("div", { key: 'f675d44f66e1ae6ba2432be0c1dc403505a0c503', style: { width: "fit-content" } }, "Large", index.h("smoothly-spinner", { key: '4f80b9b69703dc1c08603e110dd89ad07c5aa57d', size: "large", style: {
|
|
3867
3867
|
"--spinner-background": "200,255,200",
|
|
3868
3868
|
"--spinner-background-opacity": "0.2",
|
|
3869
3869
|
"--spinner-color": "0,130,0",
|
|
3870
|
-
} })), index.h("div", { key: '
|
|
3870
|
+
} })), index.h("div", { key: 'dda7689714bfa3354dd8d38ad528d347d252b5e9', style: { width: "fit-content" } }, "Medium", index.h("smoothly-spinner", { key: '2f685897c749961ccc804633a0fa6df417afa10f', size: "medium" })), index.h("div", { key: '04191765756b7bf0fe51c7aeb1c54fe03c3d72d7', style: { width: "fit-content" } }, "Small", index.h("smoothly-spinner", { key: 'e0deaf9e74c7dfb9bee2ef85f4309acc111e329a', size: "small" })), index.h("div", { key: '32cd2b79676ea2dbc4664b542e7ddfcd796fbfcb' }, "Icon sized spinner on button", Scrollable.Color.values.map(color => (index.h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
|
|
3871
3871
|
this.downloadingSpinner = true;
|
|
3872
3872
|
setTimeout(() => (this.downloadingSpinner = false), 3000);
|
|
3873
|
-
} }, !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: '
|
|
3873
|
+
} }, !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: '0e9e91fb145b5207f3e6ce1c6d0c872664afb37f' }, "Spinner with overlay"), index.h("div", { key: 'ace6e8a453aece5ee5e77f5be3fadeb394a12a0c', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", index.h("smoothly-spinner", { key: '0afa991d53f83679014fb0d71a169053968f5a04', overlay: true, size: "large", style: {
|
|
3874
3874
|
"--spinner-background": "255,200,255",
|
|
3875
3875
|
"--spinner-background-opacity": "0.5",
|
|
3876
3876
|
"--spinner-color": "0,130,0",
|
|
3877
|
-
} })), index.h("div", { key: '
|
|
3877
|
+
} })), index.h("div", { key: 'ae897d73839a31a663e5ca8516e466b5db9e6324', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", index.h("smoothly-spinner", { key: 'd5cf98b6843d934d9410f0f266fff8babcee33a8', overlay: true, color: "secondary", size: "medium" })), index.h("div", { key: '4730ec21fd935a3af1d6deccd649e5bbb8fd7bba', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", index.h("smoothly-spinner", { key: 'd2eccfe07320c09f6347ebdc5265985854355b12', overlay: true, size: "small" }))), index.h("fieldset", { key: '5bf91622534bf402abb0ec4fcbba5b5dc198f39a' }, index.h("h2", { key: '0e4a7ad1a10bb7b9a75940d4f657b6a8f74d509d' }, "Smoothly summary"), index.h("smoothly-summary", { key: 'f5c30b4fd816c6d83515148dc5375e48f45be60e' }, index.h("p", { key: 'a7bd57662d9cea09ee979721ed5848039dfa99ad', slot: "summary" }, "Some title"), index.h("p", { key: 'a90e969ca2dee0ae16b6ef1916be0b3580065136', slot: "content" }, "Some content")), index.h("smoothly-summary", { key: 'f0b863a9c41159ac007b4ce657e97d723c0b16a9', size: "large" }, index.h("p", { key: '59bb37db444e1663a91495bd12048469c5abb1d7', slot: "summary" }, "Some title"), index.h("p", { key: '0d922af3955750668610d1746f794112fa62b98c', slot: "content" }, "Some content")), index.h("smoothly-summary", { key: 'b5ee4149cc0a3d37b59a8992bcdb9b384971ae38', color: "danger", fill: "clear" }, index.h("div", { key: '4bbca655364e7c861f718dbbe6a4efb1b9d87378', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, index.h("span", { key: '92e3922fb302d942820b9f5d89ae827b4bea4e4c' }, "Person"), index.h("smoothly-icon", { key: 'f603d09a398a10a1f924350da5180480de40be43', name: "person", color: "light", fill: "clear", size: "tiny" })), index.h("p", { key: 'bbb6e876604ab87e76631f962f0d700986cb1637', slot: "content" }, "Some person information.")), index.h("smoothly-summary", { key: 'd3161f33879337b3b4662ad148e8ba594610989d', color: "danger", fill: "clear", open: true }, index.h("p", { key: '5cd164f5553ea40f9923f32280f4dbd8ff7646b4', slot: "summary" }, "Some other title"), index.h("p", { key: '753e20779f49d355ffd398d72e04d840b9821342', 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: 'cb73e95dfb043cf16acb09f5a0a2e95e7c543eb3' }, "Label"), labels.map(l => (index.h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), index.h("smoothly-label", { key: '84a1b5f36a88be4b01dfc2bd09711e8124d473d6', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
|
|
3878
3878
|
];
|
|
3879
3879
|
}
|
|
3880
3880
|
};
|
|
@@ -3901,7 +3901,7 @@ const SmoothlyDisplayDemoJson = class {
|
|
|
3901
3901
|
index.registerInstance(this, hostRef);
|
|
3902
3902
|
}
|
|
3903
3903
|
render() {
|
|
3904
|
-
return (index.h(index.Host, { key: '
|
|
3904
|
+
return (index.h(index.Host, { key: '19502d54bd7e93581bee4cdaa1f2503d7557fe34' }, [0, 1, 3, undefined].map(colapseDepth => [
|
|
3905
3905
|
index.h("div", null, "collapseDepth=", colapseDepth !== null && colapseDepth !== void 0 ? colapseDepth : "undefined"),
|
|
3906
3906
|
index.h("div", null, index.h("smoothly-display", { type: "json", value: json, collapseDepth: colapseDepth })),
|
|
3907
3907
|
])));
|
|
@@ -3936,7 +3936,7 @@ const SmoothlyDisplayJson = class {
|
|
|
3936
3936
|
this.collapseDepth = undefined;
|
|
3937
3937
|
}
|
|
3938
3938
|
render() {
|
|
3939
|
-
return index.h(JsonValue, { key: '
|
|
3939
|
+
return index.h(JsonValue, { key: '9021d65675eab4bd489a5590e33551be8b8a2062', value: this.value, collapseDepth: this.collapseDepth });
|
|
3940
3940
|
}
|
|
3941
3941
|
};
|
|
3942
3942
|
SmoothlyDisplayJson.style = SmoothlyDisplayJsonStyle0;
|
|
@@ -3970,9 +3970,9 @@ const SmoothlyDisplayJsonObject = class {
|
|
|
3970
3970
|
}
|
|
3971
3971
|
render() {
|
|
3972
3972
|
const nextCollapseDepth = typeof this.collapseDepth == "number" ? Math.max(this.collapseDepth - 1, 0) : undefined;
|
|
3973
|
-
return (index.h(index.Host, { key: '
|
|
3973
|
+
return (index.h(index.Host, { key: '0c00f594a1d3593d3ff476db6e8ec8a2594b84f0', class: { empty: this.empty, open: this.open } }, index.h("span", { key: '8a842f369633c0d7877dfbba492555473a0cccf3', class: "open-bracket", onClick: () => (this.open = !this.open), "data-length": this.length }, this.openBracket), index.h("span", { key: '5b222e67cb13cf4053180b934ee72b8f7a447b0e', class: "content" }, Array.isArray(this.value)
|
|
3974
3974
|
? this.value.map(v => (index.h("div", { class: "indent" }, index.h(JsonValue, { value: v, collapseDepth: nextCollapseDepth }), index.h("span", { class: "comma" }, ","))))
|
|
3975
|
-
: 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: '
|
|
3975
|
+
: 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: 'ccd423bb725216b06e0918e71a3dc7ffd37ea83d', class: "close-bracket" }, this.closeBracket)));
|
|
3976
3976
|
}
|
|
3977
3977
|
};
|
|
3978
3978
|
SmoothlyDisplayJsonObject.style = SmoothlyDisplayJsonObjectStyle0;
|
|
@@ -3986,7 +3986,7 @@ const SmoothlyDisplayJsonPrimitive = class {
|
|
|
3986
3986
|
this.value = undefined;
|
|
3987
3987
|
}
|
|
3988
3988
|
render() {
|
|
3989
|
-
return index.h(index.Host, { key: '
|
|
3989
|
+
return index.h(index.Host, { key: '67c7a46a3bbb4802275181d311a46e49637d4569', class: this.value == null ? "null" : typeof this.value }, "" + JSON.stringify(this.value));
|
|
3990
3990
|
}
|
|
3991
3991
|
};
|
|
3992
3992
|
SmoothlyDisplayJsonPrimitive.style = SmoothlyDisplayJsonPrimitiveStyle0;
|
|
@@ -4000,7 +4000,7 @@ const SmoothlyDisplayJsonRecordKey = class {
|
|
|
4000
4000
|
this.value = undefined;
|
|
4001
4001
|
}
|
|
4002
4002
|
render() {
|
|
4003
|
-
return index.h(index.Host, { key: '
|
|
4003
|
+
return index.h(index.Host, { key: 'b95b23adc8efb2d27813cd613129c0aa3a25f130' }, "\"", this.value, "\"");
|
|
4004
4004
|
}
|
|
4005
4005
|
};
|
|
4006
4006
|
SmoothlyDisplayJsonRecordKey.style = SmoothlyDisplayJsonRecordKeyStyle0;
|
|
@@ -7029,11 +7029,11 @@ const SmoothlyFilter = class {
|
|
|
7029
7029
|
this.filters.forEach(update => update(this.criteria));
|
|
7030
7030
|
}
|
|
7031
7031
|
render() {
|
|
7032
|
-
return (index.h(index.Host, { key: '
|
|
7032
|
+
return (index.h(index.Host, { key: 'c9beccb773a6101f5a26d96c1eddb16494d7158f' }, index.h("slot", { key: 'da7565883d337518c62ab0c188a2b651ca2ff70e', name: "bar" }), index.h("smoothly-filter-field", { key: '1565e127cd27b2a2c84bd9775053d2c681963152', criteria: this.criteria, ref: e => (this.field = e) }), this.criteria.toString() != "" && (index.h("smoothly-icon", { key: 'cc3baa28d08bd7bdca19d8a2265a45c1dfbcfcbb', name: "close", toolTip: "Clear all filters", size: "small", onClick: () => {
|
|
7033
7033
|
this.clear();
|
|
7034
|
-
} })), index.h("div", { key: '
|
|
7034
|
+
} })), index.h("div", { key: '9850fa072e6696f1f34e96358a03824e1e5ae878', class: this.expanded ? "container arrow-top" : "hidden" }, index.h("slot", { key: 'ed4ed18ebbe18ff0028909b4f94a8e4d5b3d1d9b', name: "detail" })), index.h("smoothly-icon", { key: 'fba156474c6d7c93b62ebe4d9690c5d60f44e299', name: this.expanded ? "options" : "options-outline", toolTip: (this.expanded ? "Hide" : "Show") + " additional filters", size: "small", onClick: () => {
|
|
7035
7035
|
this.expanded = !this.expanded;
|
|
7036
|
-
} }), index.h("div", { key: '
|
|
7036
|
+
} }), index.h("div", { key: 'f1011e232ba37fd419f7f90d65227a7b7cfb4882', class: this.expanded ? "close" : "hidden", onClick: () => (this.expanded = !this.expanded) })));
|
|
7037
7037
|
}
|
|
7038
7038
|
};
|
|
7039
7039
|
SmoothlyFilter.style = SmoothlyFilterStyle0;
|
|
@@ -7060,7 +7060,7 @@ const SmoothlyFilterField = class {
|
|
|
7060
7060
|
this.value = event.detail.filter;
|
|
7061
7061
|
}
|
|
7062
7062
|
render() {
|
|
7063
|
-
return (index.h(index.Host, { key: '
|
|
7063
|
+
return (index.h(index.Host, { key: '00a08a31c67448ba06e7b57cce3b88b240c715ba' }, index.h("smoothly-input", { key: 'a5ee71ef5672d4add5e99ccb2ffd3d4293cb778e', name: "filter", ref: e => (this.input = e), value: this.criteria.toString(), onSmoothlyInputLooks: e => e.stopPropagation(), onSmoothlyKeydown: e => {
|
|
7064
7064
|
e.stopPropagation();
|
|
7065
7065
|
e.detail.key == "Enter" && this.filterFieldEmit();
|
|
7066
7066
|
}, onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyFormDisable: e => e.stopPropagation(), onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyChange: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
@@ -7140,7 +7140,7 @@ const SmoothlyFilterInput = class {
|
|
|
7140
7140
|
(rest.length == 0 || (!!criteria.criteria && this.findInstanceOf(criteria.criteria, rest.join(".")))));
|
|
7141
7141
|
}
|
|
7142
7142
|
render() {
|
|
7143
|
-
return (index.h("smoothly-input", { key: '
|
|
7143
|
+
return (index.h("smoothly-input", { key: '397b2b9127c595d02cab01ee179da26eeb1d4c80', 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: '6cc2c8a4815cdbcfa837c6b0f6eb66a16979bd0d' })));
|
|
7144
7144
|
}
|
|
7145
7145
|
};
|
|
7146
7146
|
SmoothlyFilterInput.style = SmoothlyFilterInputStyle0;
|
|
@@ -7249,7 +7249,7 @@ const SmoothlyFilterSelect = class {
|
|
|
7249
7249
|
return result && this.property.split(".").reduceRight((r, e) => property(e, r), result);
|
|
7250
7250
|
}
|
|
7251
7251
|
render() {
|
|
7252
|
-
return (index.h("smoothly-input-select", { key: '
|
|
7252
|
+
return (index.h("smoothly-input-select", { key: '008714e67ebc64def90a0646f9780fa11c905197', 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: '558888a8817046ff2b4a9707b0af26c9cfaa11ad', slot: "label" }, [this.label.slice(0, 1).toUpperCase(), this.label.slice(1, this.label.length)].join(""))), index.h("slot", { key: 'b59919853a6c8d6f25d707885983103854eef211', name: "items" })));
|
|
7253
7253
|
}
|
|
7254
7254
|
get element() { return index.getElement(this); }
|
|
7255
7255
|
};
|
|
@@ -7333,7 +7333,7 @@ const SmoothlyFilterToggle = class {
|
|
|
7333
7333
|
(rest.length == 0 || (!!check.criteria && this.findInstanceOf(check.criteria, rest.join(".")))));
|
|
7334
7334
|
}
|
|
7335
7335
|
render() {
|
|
7336
|
-
return (index.h("smoothly-icon", { key: '
|
|
7336
|
+
return (index.h("smoothly-icon", { key: '638c257f2401426e232d2016bb979b98c5f56829', fill: "clear", color: this.active ? "success" : "medium", name: (this.active ? `${this.icon}` : `${this.icon}-outline`), toolTip: this.toolTip, onClick: () => this.activeHandler(true) }));
|
|
7337
7337
|
}
|
|
7338
7338
|
};
|
|
7339
7339
|
SmoothlyFilterToggle.style = SmoothlyFilterToggleStyle0;
|
|
@@ -8348,7 +8348,7 @@ const SmoothlyForm = class {
|
|
|
8348
8348
|
await Promise.all([...this.inputs.values()].map(input => Editable.Element.type.is(input) && input.setInitialValue()));
|
|
8349
8349
|
}
|
|
8350
8350
|
render() {
|
|
8351
|
-
return (index.h(index.Host, { key: '
|
|
8351
|
+
return (index.h(index.Host, { key: 'e2c17b7337acbcfe72ffb863c85e60faede5235e' }, index.h("smoothly-spinner", { key: 'd7662186f79ee0f5d4405016a35047f11ffcdc34', overlay: true, hidden: !this.processing }), index.h("form", { key: '632d61643ff5ebb0a76385ef491dc53fc1dd14d5', onSubmit: !this.prevent ? undefined : e => e.preventDefault(), name: this.name }, index.h("fieldset", { key: '75dda536071a876101b3f74810d234db35552ef4' }, index.h("slot", { key: '167a59eb0712168bc65779d6218b0c0cddb1233f' })), index.h("div", { key: 'be5617bf40a0f232bce860be106557b28d8356aa' }, index.h("slot", { key: '2fa4643245d138a6f2c249b38249451c9f3d077d', name: "clear" }), index.h("slot", { key: '93a446c4e11d622a7c02c27681cdcb579e1ce5db', name: "edit" }), index.h("slot", { key: '18a353c56f4dd2919f7ebd4aae3c10d8c505ceb0', name: "reset" }), index.h("slot", { key: '5a5712ab3ae35fecbad7e62750d8461cebbaaf71', name: "delete" }), index.h("slot", { key: '6f0467383249a488f44b5a276b2d6686afe18d97', name: "submit" })))));
|
|
8352
8352
|
}
|
|
8353
8353
|
get element() { return index.getElement(this); }
|
|
8354
8354
|
static get watchers() { return {
|
|
@@ -8366,7 +8366,7 @@ const SmoothlyFormDemo = class {
|
|
|
8366
8366
|
index.registerInstance(this, hostRef);
|
|
8367
8367
|
}
|
|
8368
8368
|
render() {
|
|
8369
|
-
return (index.h(index.Host, { key: '
|
|
8369
|
+
return (index.h(index.Host, { key: 'e560582ddeaa5e0ff02ebcee939fde0aef479b6b' }, index.h("div", { key: '497467fdc7ceed5f8639dcd59b1cd4c16cae3db4' }, index.h("smoothly-form-demo-all", { key: '901bf716bdd321ec487718ce3222920bc8fc03fc' }), index.h("smoothly-form-demo-pet", { key: 'fb763f09b51b3dd8cfd563cdbed68823754dcbb6' }), index.h("smoothly-form-demo-card", { key: '7ad6bcae7773737c7230284c1a9b63ef660f2d2f' }), index.h("smoothly-form-demo-login", { key: '5ab06018d16cc734fa4747463fb66a7423814404' }), index.h("smoothly-form-demo-prices", { key: '90138c1bea5ae9dfa51c477e27da5ab4f921e7f5' }), index.h("smoothly-form-demo-typed", { key: '87828d40f3cd03c13521e376d7f20e1a1ea69ea2' }), index.h("smoothly-form-demo-transparent", { key: 'c12850e8cde3da0aab86374ab341b69877a45584' }), index.h("smoothly-form-demo-date", { key: '30688a397df7d91632385b53a425bd70278a2e43' }), index.h("smoothly-form-demo-schedule", { key: 'ba375963be37b11115c43e8c67cb21702b6056d0' }), index.h("smoothly-form-demo-date-range", { key: '0c2db2682e603490ca75127534782dc944db1ed3' }), index.h("smoothly-form-demo-controlled", { key: '4673859d87e9527db0c762884712555fa0bc577f' }))));
|
|
8370
8370
|
}
|
|
8371
8371
|
};
|
|
8372
8372
|
SmoothlyFormDemo.style = SmoothlyFormDemoStyle0;
|
|
@@ -8376,9 +8376,9 @@ const SmoothlyFormDemoAll = class {
|
|
|
8376
8376
|
index.registerInstance(this, hostRef);
|
|
8377
8377
|
}
|
|
8378
8378
|
render() {
|
|
8379
|
-
return (index.h(index.Host, { key: '
|
|
8379
|
+
return (index.h(index.Host, { key: '9298c0027a86d364c9e0adb853ed89060cc7a644' }, index.h("h2", { key: 'b86f7e41dcddd8c9337ea48deb27446b6794ea8c' }, "All inputs"), index.h("smoothly-form", { key: '860e8fbce325048a8e6bfaafc46f83136b016e6b', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
8380
8380
|
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
8381
|
-
} }, index.h("smoothly-input", { key: '
|
|
8381
|
+
} }, index.h("smoothly-input", { key: '484dbd9795185b6639794d9327c89a143780e805', readonly: true, name: "First Name", value: "John" }, "First name"), index.h("smoothly-input", { key: '534fd25c0afa52da913af3b8db7e5466af0238e8', showLabel: false, name: "Last name", value: "Doe" }, "Last name", index.h("smoothly-input-clear", { key: '421f97e49656803aeece0b15c9b5836df4ba53e7', size: "icon", slot: "end" })), index.h("smoothly-input", { key: '86935d28602aa195dd06314d1cdc6de612086de8', type: "phone", name: "Phone", value: "777888999" }, "Phone", index.h("smoothly-input-reset", { key: 'fd8f16a7c8370a74eb5bb006862ff0711dfc7b6d', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: 'd5bcd5035a4a7b89c0508c59bc60872089b0d32d', clearable: true, name: "radioFirstInput" }, index.h("label", { key: '6863ab9bca796cf7251b070429a3c5e0f0550407', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '35af39c7a0fd98cc4dbb472c2ceb3dc63d5a934a', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '55c8c25754506cd692b1be9f90fc654094f6f1ea', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: 'c36de8288754936a549410de0cd2e85454428972', value: "third" }, "Label 3")), index.h("smoothly-input-color", { key: '0a090d87ced55edf0c1139714ac5545a605d531f', name: "color" }, "Color"), index.h("smoothly-input-select", { key: '446645ff8a548339fca2277cffb4c2ee3b9dd41c', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: 'bda1f349aad889ec40c44dae6474d0909b322968', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: '09fe26ce4b5a9920eec454b00cfc8a52f7c81c6b', value: "1" }, "January"), index.h("smoothly-item", { key: '563059787300a3eafab433e89ac4e0490ce0b715', value: "2" }, "February"), index.h("smoothly-item", { key: 'f24d391ba6068274e5121f72f47a7ed146197458', value: "3" }, "March"), index.h("smoothly-item", { key: 'e533bf1e61275b73e545cefdd3318e0e95cd04d5', value: "4" }, "April"), index.h("smoothly-item", { key: '3d729d92a59da224464fda63a15cf868a8f318d6', value: "5" }, "May"), index.h("smoothly-item", { key: '38bbd631f5aaa722091f15b8d6fcc7016a24ba2f', value: "6" }, "June"), index.h("smoothly-item", { key: '58558fb82d6bf7795c5333cb78e6f57cdb408285', value: "7" }, "July"), index.h("smoothly-item", { key: 'b9ac6170978756e9c0c132d094d3e6c589b2dbd6', value: "8" }, "August"), index.h("smoothly-item", { key: '8c1dfb21e9acf0bd6c1e3cb6f137b7e774ea97b3', value: "9" }, "September"), index.h("smoothly-item", { key: 'ada2161238c0abf800739e9e53a8eff4cd94eb7c', value: "10" }, "October"), index.h("smoothly-item", { key: 'c5abbaf2ad1afe813f0bd987db7ea0315d54cf9c', value: "11" }, "November"), index.h("smoothly-item", { key: 'f1f97f553cefa013b4a3764c53b1ab536255a880', value: "12" }, "December")), index.h("smoothly-input-select", { key: '1671889e3da056149cb5657d935d44afe600e0b2', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: '68d6ecab8efd17dde74150a1843c20a419453265', value: "folder", selected: true }, index.h("smoothly-icon", { key: '2cc01f6ac8ccb79b04e4aa6d809ed49a7044b2ee', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: '1079bb57d321fc79dd8555e487e376166064e62c', value: "camera" }, index.h("smoothly-icon", { key: '580075f31efb81b91c9d8301a9a4febf9e82c339', size: "small", name: "camera-outline" }))), index.h("smoothly-input-checkbox", { key: '71285cad4b29ad237c9005932d55380ef6f04b0b', name: "checkbox" }, "Check the box"), index.h("smoothly-input-checkbox", { key: '4196ec46bd8a9cb588c4109ab80ef34dd2531f63', name: "checkbox2", checked: true }, "Check the box 2"), index.h("smoothly-input-range", { key: 'bf51eaf55920c8dd72a73872a2ca2d9f14281e52', step: 1, name: "range3", value: 20, label: "Range" }), index.h("smoothly-input", { key: 'd3171b955095dcc17ee5497c3a264756e74b4096', name: "pets.0.name" }, "First Pet's Name"), index.h("smoothly-input-range", { key: 'b11740151f1ab60c21c02a9f4244607e3001e52f', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), index.h("smoothly-input", { key: '4a4409aabcfec783101425298bfdb1f70b1edffe', name: "pets.1.name" }, "Second Pet's Name"), index.h("smoothly-input-range", { key: '2c4d2d83bc1ddcdee8eb04fc199d849e9d973dcb', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), index.h("smoothly-input", { key: 'c721ccdf6b792df664d9e23e44e3d827d209aa76', name: "pets.2.name" }, "Third Pet's Name"), index.h("smoothly-input-range", { key: '767764bab214e208ef13572ca78f5353313aec4e', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), index.h("smoothly-input-file", { key: '720645538a3cdf72551570d1a8ab4f25203469f1', name: "profile", placeholder: "Click or drag your profile picture here..." }, index.h("span", { key: '1567a324ff92608c75e32be13aa1cf3d26bb80e9', slot: "label" }, "Profile"), index.h("smoothly-icon", { key: '3226559747e988f1ddebfab8f2da3f87c47135c1', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), index.h("smoothly-input", { key: '4549acca34866a6e7c3d460612222be24d3b7c7f', type: "duration", name: "duration", value: {} }, "Duration"), index.h("smoothly-input-clear", { key: '76eebe5998fd3d83a50467b40ed9f7ef1566641a', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), index.h("smoothly-input-edit", { key: '76d8f79bacd7ef403beabd0609f6c9db74384d5c', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), index.h("smoothly-input-reset", { key: 'a735f832cfde957585d383badd1b64ac0b380513', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: '375de0564e4df2b96158ce1ea3bfbc53ec3d55c4', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), index.h("smoothly-input-submit", { key: '148ba1273c6d7fb3b3068c47c1d1d78c7f2c260d', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
8382
8382
|
}
|
|
8383
8383
|
};
|
|
8384
8384
|
|
|
@@ -8387,7 +8387,7 @@ const SmoothlyFormDemoCard = class {
|
|
|
8387
8387
|
index.registerInstance(this, hostRef);
|
|
8388
8388
|
}
|
|
8389
8389
|
render() {
|
|
8390
|
-
return (index.h(index.Host, { key: '
|
|
8390
|
+
return (index.h(index.Host, { key: 'b38d193bc132649482539a562910c98936bfd71b' }, index.h("h2", { key: '90d93819c346fe276d0baad64a7ac3694ecf98ad' }, "Card"), index.h("smoothly-form", { key: '81e5440d63ff8059824a942cef88ceabfe192f2a', looks: "grid", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)) }, index.h("smoothly-input", { key: '9dd0df6526a036371062547bede12e96aa9514ba', type: "card-number", name: "card" }, "Card #"), index.h("smoothly-input-submit", { key: '06f270d4474cd54e955fe514ece6cb182561255a', size: "icon", slot: "submit", color: "success", fill: "solid" }), index.h("smoothly-input", { key: '97cf4ea96a751003a3522200a46bb754ca299bb9', type: "card-expires", name: "expires" }, "Expires"), index.h("smoothly-input", { key: '6262ef8e2d8b5acb83bd2d5bc781ade78ef8d3d9', type: "card-csc", name: "csc" }, "CVV/CVC"), index.h("smoothly-input", { key: '733d7f1542eebb66489f89e5c7b0db184e78d892', type: "text", name: "name.first" }, "First Name"), index.h("smoothly-input", { key: 'be78062f6dcddcaaf717a546b0ce12e8ef069a7a', type: "text", name: "name.last" }, "Last Name"))));
|
|
8391
8391
|
}
|
|
8392
8392
|
};
|
|
8393
8393
|
|
|
@@ -8423,7 +8423,7 @@ const SmoothlyFormDemoControlled = class {
|
|
|
8423
8423
|
event.detail.result(false);
|
|
8424
8424
|
}
|
|
8425
8425
|
render() {
|
|
8426
|
-
return (index.h(index.Host, { key: '
|
|
8426
|
+
return (index.h(index.Host, { key: 'f653f0ce84b051c93e1b28442113d2cf1a8b926b' }, index.h("h2", { key: 'e5dad92a06e3bc295b7cc5dc2df4ec1e55fd7d26' }, "Controlled"), index.h("smoothly-form", { key: 'da1d60fc62d3e5163420dd2784cace05a5df2f8b', readonly: true, looks: "grid", onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input", { key: '01b6daa4079c7885a31e4127b2b03e10c4e1df4e', type: "text", name: "name", value: this.name }, "Name"), index.h("smoothly-input-select", { key: '4dfdbd37e9916aec02850c83e0c7a830a9cc1b0e', name: "currency" }, index.h("span", { key: '9b1526a565f370b09490374eb8b7d03770470669', slot: "label" }, "Currency"), this.currencies.map(currency => (index.h("smoothly-item", { selected: currency == this.currency, value: currency }, currency)))), index.h("smoothly-input", { key: '3fd295c401905c5163b202ff044e8e3bdc5cf865' }, "Dummy"), index.h("smoothly-input-month", { key: '4a5239ad2cd9589ab827f5da772e95491cd99649', name: "date", value: this.date, next: true, previous: true }, index.h("span", { key: 'cd66aa878c1d871a11b32492b2348f8d32383281', slot: "year-label" }, "Year"), index.h("span", { key: '33029c392582580e37776c8dd0b7d7a30644bd10', slot: "month-label" }, "Month")), index.h("smoothly-input-edit", { key: '4a67aaf68157a04c90ca3c82de46bf5cb513ae52', slot: "edit", size: "icon", color: "primary", fill: "default" }), index.h("smoothly-input-reset", { key: 'd19f285af0e211b4a08f3ed82b6af1ee1c692783', slot: "reset", size: "icon", color: "warning", fill: "default" }), index.h("smoothly-input-submit", { key: '7199d2c48ff38360791ea6423179c3ffe6dafe04', slot: "submit", size: "icon", color: "success" }))));
|
|
8427
8427
|
}
|
|
8428
8428
|
static get watchers() { return {
|
|
8429
8429
|
"name": ["nameChanged"]
|
|
@@ -8454,7 +8454,7 @@ const SmoothlyFormDemoDate = class {
|
|
|
8454
8454
|
event.detail.result(false);
|
|
8455
8455
|
}
|
|
8456
8456
|
render() {
|
|
8457
|
-
return (index.h(index.Host, { key: '
|
|
8457
|
+
return (index.h(index.Host, { key: '6de62591a7ff99e95c86427c6e7d01374d9d8502' }, index.h("h2", { key: '1780c7b2b48f5472d1e3cb10f9390861172be2a1' }, "Date input"), index.h("smoothly-form", { key: '1a639c8acf534b5735111816fb2137325ec14683', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input-date", { key: '0168a5e216fabf08a0d8840ef011ea041931e4e9', name: "date" }, "Date"), index.h("smoothly-input-submit", { key: '3f2d5322924d28704e5588fb4446ad85b07c82ff', slot: "submit" }, index.h("smoothly-icon", { key: '3bc96c9ddce72c537182a47c21c764ab17c49780', name: "checkmark-outline" })))));
|
|
8458
8458
|
}
|
|
8459
8459
|
};
|
|
8460
8460
|
SmoothlyFormDemoDate.style = SmoothlyFormDemoDateStyle0;
|
|
@@ -8483,7 +8483,7 @@ const SmoothlyFormDemoDateRange = class {
|
|
|
8483
8483
|
event.detail.result(false);
|
|
8484
8484
|
}
|
|
8485
8485
|
render() {
|
|
8486
|
-
return (index.h(index.Host, { key: '
|
|
8486
|
+
return (index.h(index.Host, { key: 'cf815ff0b936ae8d935ec09487dd7e1931232bbf' }, index.h("h2", { key: 'a2c97f6d833c9cad02d7f67a917ff396ef95efb4' }, "Date-range input"), index.h("smoothly-form", { key: '549e8e92283c7193e9c712628d1c69ffc0fe6594', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, index.h("smoothly-input-date-range", { key: '8c616d33a7dc57cc9820baa0180e1c8a2856580c', name: "range" }, "Range"), index.h("smoothly-input-submit", { key: 'f835c5f6b6b8f8ce3b7ed86963c9c833ee38f614', slot: "submit" }, index.h("smoothly-icon", { key: 'e1e6fc8861978fbd78adec1762a42568c11f8670', name: "checkmark-outline" })))));
|
|
8487
8487
|
}
|
|
8488
8488
|
};
|
|
8489
8489
|
SmoothlyFormDemoDateRange.style = SmoothlyFormDemoDateRangeStyle0;
|
|
@@ -8493,7 +8493,7 @@ const SmoothlyFormDemoLogin = class {
|
|
|
8493
8493
|
index.registerInstance(this, hostRef);
|
|
8494
8494
|
}
|
|
8495
8495
|
render() {
|
|
8496
|
-
return (index.h(index.Host, { key: '
|
|
8496
|
+
return (index.h(index.Host, { key: '490a2e47a4ebc25628dd5ce7f43f238789c11d37' }, index.h("h2", { key: 'ee2857de7b8844162e90a0a067ad94a3ec6452b0' }, "Login"), index.h("smoothly-form", { key: '4f98f14f54bfa13e27b4165b68b67a1886399421', looks: "border" }, index.h("smoothly-input", { key: 'cbb7490b8a5e0e6d5f4ea836c0a067b5a8981f44', type: "text", name: "username" }, "Username"), index.h("smoothly-input", { key: '710a9b179b674cad575c3b871acb8fe20ee7bf93', type: "password", name: "password" }, "Password"), index.h("smoothly-input-reset", { key: '76a6869bcb095f3b96f2280271d33ed13ccc370c', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'faaffd995c8ab8430ea6e655be144a4d15442f39', slot: "submit" }))));
|
|
8497
8497
|
}
|
|
8498
8498
|
};
|
|
8499
8499
|
|
|
@@ -8509,10 +8509,10 @@ const SmoothlyFormDemoPet = class {
|
|
|
8509
8509
|
}
|
|
8510
8510
|
render() {
|
|
8511
8511
|
var _a, _b;
|
|
8512
|
-
return (index.h(index.Host, { key: '
|
|
8512
|
+
return (index.h(index.Host, { key: 'a18d5c4d14929268195fcd13712e653abee7ce4c' }, index.h("h2", { key: '0357eb46ceb9160a5e7c0301134d5ccec5dbecb1' }, "Pet"), index.h("h3", { key: '7f0ab35101334386099c65cd327e2db657ce81ca' }, "Value"), index.h("smoothly-form", { key: 'c5d882668e047eeaade1c61ba6faab1d12db7b7f', looks: "border", onSmoothlyFormSubmit: (e) => alert(JSON.stringify(e.detail)), onSmoothlyFormInput: e => (this.value = Object.assign({}, e.detail)) }, index.h("smoothly-input", { key: 'd2e45273c5ce4defe229bbd9602a6a61a807afe2', type: "text", name: "name.first" }, "Name"), index.h("smoothly-input", { key: '4f4ca5d95583b231a08972da2e97ab4207529257', type: "integer", name: "age" }, "Age (Years)"), index.h("smoothly-input-checkbox", { key: '471443d6c675415da6a3c623b7bc91c3b6d39742', name: "hasOwner", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
8513
8513
|
this.hasOwner = e.detail.hasOwner;
|
|
8514
8514
|
e.stopPropagation();
|
|
8515
|
-
} }, "Has Owner"), this.hasOwner && (index.h(index.Fragment, { key: '
|
|
8515
|
+
} }, "Has Owner"), this.hasOwner && (index.h(index.Fragment, { key: 'f1681976cacf93aa7fa738d9f46d07a977f2598e' }, index.h("smoothly-input", { key: 'b2cd9517d1c0ff3f30255222e7cd7c81795d0963', 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: '6ae4a20be64e8e361d4aff737bc97c7e5e0f5fba', 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: 'bf2a7442b03901a499c917632f7e371f77876d14', name: "owner.picture" }, index.h("span", { key: '316b8244fdc16e1421ff397f8bae5fca23ef298b', slot: "label" }, "Owner picture")), index.h("smoothly-input-date", { key: '26ed4d312009d365d0f8377a02ffc264c09513e8', 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: '94038dc278f1f2d845645f4d11da5cf0732a681b', 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: '954d3b9369243b66708a3621b87af070dc74c309', 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: '5733e2d2217ccc963265a87572b40448c920dc02', name: "owner.favoriteHat" }, index.h("span", { key: '1ea7549b5edcd448434da347d79b7f1452f285c8', 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: '52c0e5c0c2591c44a98d25c856ee4ed7b30d664f', 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: '5eb8772e00bf998a3afbef72a58b92b0508d1212', 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: '4976b880777c43be895af8624c68d30e74601aa0', 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: 'ed66290cbea3e2ceb5ae2db1a35236edf095bf88', 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: '15531c02a00038be14f92110635eabe7cbd91ee8' }, index.h("span", { key: 'cc8feedb365cc7309abb5e3c6615460a9bc9d51a', slot: "summary" }, "Summary"), index.h("div", { key: '86881f2206f8b6e668f30725abb59073cdde9bad', slot: "content" }, index.h("smoothly-input", { key: '8ae806180e0a3d7742d89ee0ee867de0a3154309', type: "price", name: "summary.price", currency: "EUR" }, "Summary Price"), index.h("smoothly-input-file", { key: '241fe3c82beb3c5cdd5f11ebe46e047e17c9b793', name: "summary.picture" }, index.h("span", { key: '4c8564d04eab9f0dd365676e61a591330d6a8377', slot: "label" }, "Summary picture")), index.h("smoothly-input-date", { key: '7314238424905e58a4b55cf71a9dcac6bcfb2037', name: "summary.birthday" }, "Summary birthday"), index.h("smoothly-input-date-range", { key: '9c4f11e07a21b09ebf9a16522ff4b7ea1737de93', name: "summary.ownedRange" }, "Summary ownedRange"), index.h("smoothly-input-range", { key: 'f1b14b7089e1a878c3ecd59619eae564c475a88b', name: "summary.height", label: "Height" }), index.h("smoothly-input-select", { key: '2ff53bd36442606dfe4edbd312000cf3dc27f7d4', name: "summary.favoriteHat" }, index.h("span", { key: 'c1639a257b254fa95e150c5331f6619cece2e271', 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: '3e9e26fea7233fed804cbaa4e47416f10b502e6a', name: "summary.month" }, index.h("span", { key: '55a0b4755c339c923ba1303f1633569cbfccde47', slot: "month-label" }, "Summary month")), index.h("smoothly-input-color", { key: '0b877be6d38d3830a02573ac31ae43f0d4e9d37f', name: "summary.color" }, "Summary Color"), index.h("smoothly-input-radio", { key: '2173726df1607df4e35595db8cc0b73da5a9be4a', name: "summary.favoritePizza" }, index.h("span", { key: 'af0ed6de4a2b0f43a0e03fa1053781e84355465d', 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: '3f101db40c6c9ba210413b95d77e4b2a92b59796', name: "summary.hasPet" }, "Has Pet"))), index.h("smoothly-tabs", { key: '7b94e0f32cf078215bdf1f6f8595de03dd6a9040' }, index.h("smoothly-tab", { key: 'fe043b8af808d30bae169cefdc81ca0df9f18979', label: "Dog" }, index.h("smoothly-input", { key: '882a63607ea9f8785c37b9474a748c34a9f5fbdb', type: "text", name: "dog.breed" }, "Breed"), index.h("smoothly-input-file", { key: '28e53f4ed82779b99dcb9bb28c2428321a299bdb', name: "dog.picture" }, index.h("span", { key: 'b0cda5a32d911bec1fbbc5a6986f49bc5fc4b484', slot: "label" }, "Dog picture")), index.h("smoothly-input-date-time", { key: 'cd4403ef213dc3085cb7ac5c3cdf2a58b1fc0c41', name: "dog.lastWalk" }, "Time of last walk"), index.h("smoothly-input-date", { key: '32047b040c0044fb34c0d75e30832c85b3ace4f5', name: "dog.birthday" }, "Dog birthday"), index.h("smoothly-input-date-range", { key: '38f674332427fe13994fc9b54b99cc34f839a344', name: "dog.dateRange" }, "Dog date range"), index.h("smoothly-input-select", { key: '8b384c2815f3fd6a6f4490b404bc05ef69386325', name: "dog.favoriteHat" }, index.h("span", { key: 'a1e78f6458fe7718f9c9ab540fbe42fe2d486f96', 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: '4126a474816acd625a5f3cc535f3f6088f44ad88', name: "dog.favoriteColor" }, "Dog's Favorite Color"), index.h("smoothly-input-radio", { key: '15f4faae549f42b0fd97ae3d12ead05d18f6356c', name: "dog.favoritePizza" }, index.h("span", { key: '8004907412ece6876d8a8b82f491a2748d909fe7', 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: 'f2e4751841dfa757f34e0aef0cde72475fccd451', name: "dog.hasPet" }, "Has Pet")), index.h("smoothly-tab", { key: 'c80492cade2d4e60d6858dfcabcd22d8e9a7afcd', label: "Cat", open: true }, index.h("smoothly-input", { key: '074d3b030c92792efb5dc64731acc4ee6937b013', name: "cat.favoriteFood" }, "Favorite Food"))), index.h("smoothly-input-submit", { key: 'fc2e297badc699b4dfa0acd208e79278437b149f', size: "icon", slot: "submit", color: "success", fill: "solid" })), index.h("smoothly-display", { key: 'b50600e5c51b8ab0d34bc45b9f0b97cbda54edc3', type: "json", value: this.value })));
|
|
8516
8516
|
}
|
|
8517
8517
|
};
|
|
8518
8518
|
SmoothlyFormDemoPet.style = SmoothlyFormDemoPetStyle0;
|
|
@@ -8522,7 +8522,7 @@ const SmoothlyFormDemoPrices$1 = class {
|
|
|
8522
8522
|
index.registerInstance(this, hostRef);
|
|
8523
8523
|
}
|
|
8524
8524
|
render() {
|
|
8525
|
-
return (index.h(index.Host, { key: '
|
|
8525
|
+
return (index.h(index.Host, { key: '5cf161138753162cf3c11c3e9566c513ff94f8d5' }, index.h("h2", { key: '0161fb3ff22219ba054d29272c97456d9e452a4f' }, "Prices"), index.h("smoothly-form", { key: 'd7643c355277d5125b3518e9fca40fc971e49c82', looks: "line" }, index.h("smoothly-input", { key: '9082686e7c532f67e5cb703142fe635ea07445af', type: "price", name: "no" }, "No currency"), index.h("smoothly-input", { key: '92de76dc50d9ef0f6a75a24d3ee57c99a6b25c02', type: "price", name: "crowns", currency: "SEK", toInteger: true }, "SEK (toInteger)"), index.h("smoothly-input", { key: '6c26c4cef820c4797f5278a4b7cd941031a7ee9e', type: "price", name: "usDollar", currency: "USD" }, "USD"), index.h("smoothly-input", { key: '1c94af3ac625617ccc7082db9f304ff351e50325', type: "price", name: "pounds", currency: "GBP" }, "GBP"), index.h("smoothly-input", { key: 'b1d2404c79c35f8222c5de3f680873f42f57ec7f', type: "price", name: "peso", currency: "UYW" }, "UYW"), index.h("smoothly-input", { key: '8a8553e49d1e3f2881d93fba40e9d9adc838c83b', type: "price", name: "iceland", currency: "ISK" }, "ISK"), index.h("smoothly-input", { key: '6bd9082eebfce511f786835db565de39e82369c5', type: "price", name: "Palladium", currency: "XPD" }, "XPD (Palladium)"), index.h("smoothly-input-reset", { key: '8473f604d9f3357711013f0d11822859a7d3dbab', slot: "reset", fill: "default", type: "form", color: "warning" }), index.h("smoothly-input-submit", { key: '449971455202ecff95211d20e436388edbd2b95b', slot: "submit" }))));
|
|
8526
8526
|
}
|
|
8527
8527
|
};
|
|
8528
8528
|
|
|
@@ -8542,7 +8542,7 @@ const SmoothlyFormDemoPrices = class {
|
|
|
8542
8542
|
index.registerInstance(this, hostRef);
|
|
8543
8543
|
}
|
|
8544
8544
|
render() {
|
|
8545
|
-
return (index.h(index.Host, { key: '
|
|
8545
|
+
return (index.h(index.Host, { key: '3299acd725ccaa0186e0113a6c679ab18d6652a9' }, index.h("h2", { key: 'e1bc9edde289a35721c23036728963e1e33eb721' }, "Schedule"), index.h("smoothly-form", { key: 'fc8f0785f9031ba7f02a66a10978255e832fa599', looks: "line", validator: TimeTable.type }, index.h("smoothly-input-date", { key: 'a7ce025c1056ada02dc4c21f16348a8b0169fbb2', name: "schedule.0.date" }, "Date"), index.h("smoothly-input", { key: 'f9001abd54ce0b18742bc0af2defeb38a39ed858', name: "schedule.0.amount", type: "price" }, "Amount"), index.h("smoothly-input-date", { key: '5b4cfed469b03c901ad1487962cb67e0dc214ea7', name: "schedule.1.date" }, "Date"), index.h("smoothly-input", { key: '0427bbd7b4c5187293284b73bafcd3c21ab07f0f', name: "schedule.1.amount", type: "price" }, "Amount"), index.h("smoothly-input-date", { key: 'e689f08a71814fd2ee110d168caae2cb7ad635c7', name: "schedule.2.date" }, "Date"), index.h("smoothly-input", { key: '731308742dc071a745eb219952055e500bd503af', name: "schedule.2.amount", type: "price" }, "Amount"), index.h("smoothly-input-reset", { key: '02882a6878a2600eb45e25bda01421ac2142069c', slot: "reset", fill: "default", type: "form", color: "warning" }), index.h("smoothly-input-submit", { key: '9a656da9019c0845d6d1e64526228fa62a978176', slot: "submit" }))));
|
|
8546
8546
|
}
|
|
8547
8547
|
};
|
|
8548
8548
|
|
|
@@ -8551,7 +8551,7 @@ const SmoothlyFormDemoTransparent = class {
|
|
|
8551
8551
|
index.registerInstance(this, hostRef);
|
|
8552
8552
|
}
|
|
8553
8553
|
render() {
|
|
8554
|
-
return (index.h(index.Host, { key: '
|
|
8554
|
+
return (index.h(index.Host, { key: '8d7be0985d3c1b2b79dd2b2b843fc77c37d17c1f' }, index.h("h2", { key: '9dcd718676e6ba9dd71267c4bb3d11871329b622' }, "Transparent"), index.h("smoothly-form", { key: '81b16b7b4f7a9a693b76b709256638f17c2880a5', looks: "transparent", onSmoothlyFormSubmit: e => console.log(e.detail.value) }, index.h("smoothly-input-file", { key: '4586888852990146274d880c983a1e3be992c436', name: "file" }, index.h("span", { key: 'd9068024fdbcc58b39311d4abaaf3341b77bfab3', slot: "label" }, "File"), index.h("smoothly-icon", { key: 'f42649cbeda953b487d951326ed39043dab4122d', slot: "button", name: "folder-open-outline", size: "small" })), index.h("smoothly-input", { key: '630bd231d11937a6ac4378736d39e87d94323932', type: "duration", looks: "transparent", placeholder: "h:mm" }, "Input"), index.h("smoothly-input-date", { key: '1b9f2ae8887909c9e2fea98728d3f556d46964a4' }, "Date"), index.h("smoothly-input-date-range", { key: '655a5a882586b21193abd30335b3381ef7feb539' }, "Date Range"), index.h("smoothly-input-select", { key: '7368c71dce051429d9bac906a19ee130781c2c67', name: "transport" }, index.h("smoothly-item", { key: '05984fc6b2c165ff275e2fabe92594cfa87782a7', value: "plane" }, index.h("smoothly-icon", { key: '4bbfa0b7de34a53d7e890432fde7db1b11ef129b', name: "airplane-outline" })), index.h("smoothly-item", { key: '2038866ae87e6e2e06a66c98ffa41826dad3c7cd', value: "car" }, index.h("smoothly-icon", { key: '9b52c37976ed2839314ddea50d9d50617bf5aa34', name: "car-outline" })), index.h("smoothly-item", { key: '03f5679c1145b764ef65b3557a021e7dcc689b04', value: "bus", selected: true }, index.h("smoothly-icon", { key: '88ca130b69c2aa5e6f452c6c341a09cb72b948c8', name: "bus-outline" }))), index.h("smoothly-input-submit", { key: '01c6a19725e6a2d774796423ed04bfe153650b33', icon: "checkbox-outline" }))));
|
|
8555
8555
|
}
|
|
8556
8556
|
};
|
|
8557
8557
|
|
|
@@ -8573,7 +8573,7 @@ const SmoothlyFormDemoTyped = class {
|
|
|
8573
8573
|
index.registerInstance(this, hostRef);
|
|
8574
8574
|
}
|
|
8575
8575
|
render() {
|
|
8576
|
-
return (index.h(index.Host, { key: '
|
|
8576
|
+
return (index.h(index.Host, { key: 'c73c988ce6681e27320a66655a0528079958cab4' }, index.h("h2", { key: '6298cb241f37a9c13f05331454e73c5a8207bddf' }, "Typed Contact"), index.h("smoothly-form", { key: '04bec3db0d73a661140f5b5cd791f785903f998e', validator: Contact.type }, index.h("smoothly-input", { key: 'f35f3b74089291760ac7f3609f3c2b974859ed1f', name: "name.first" }, "First Name"), index.h("smoothly-input", { key: 'eefa07426757567f90ef92040fbad59fb07d6d67', name: "name.middle" }, "Middle Name (optional)"), index.h("smoothly-input", { key: '1761cde3715783a29414ed07b73e59d797c5f39d', name: "name.last" }, "Last Name"), index.h("smoothly-input", { key: '5c63c10a9913c425db7e670500e11f1c2aa80e38', name: "age", type: "integer" }, "Age (18-120)"), index.h("smoothly-input-select", { key: 'c057deac00aabc0218425940fc92911df63190bc', name: "country" }, index.h("span", { key: '1c34bc0d49d075140a376e2c80ef3585f2551c67', slot: "label" }, "Country"), TimeZone.Alpha2.values.map(country => (index.h("smoothly-item", { value: country }, en.from(country))))), index.h("smoothly-input-date", { key: '8a9be3f1d54d46184509a712d85be19049e8bb28', name: "birthday" }, "Date of birth"), index.h("smoothly-input-reset", { key: '4013323961a0eee9353c2384ad6881a562ce7753', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'c637c7234c29c115889c68c3ccb78d141c68e454', slot: "submit", size: "icon", color: "success" }))));
|
|
8577
8577
|
}
|
|
8578
8578
|
};
|
|
8579
8579
|
SmoothlyFormDemoTyped.style = SmoothlyFormDemoTypedStyle0;
|
|
@@ -8671,7 +8671,7 @@ const SmoothlyIcon = class {
|
|
|
8671
8671
|
}
|
|
8672
8672
|
render() {
|
|
8673
8673
|
var _a;
|
|
8674
|
-
return index.h(index.Host, { key: '
|
|
8674
|
+
return index.h(index.Host, { key: '6131214e72ce045ae0f9402ce58de3f26aeac91d', innerHTML: this.document, style: { ["--rotation"]: `${(_a = this.rotate) !== null && _a !== void 0 ? _a : 0}deg` } });
|
|
8675
8675
|
}
|
|
8676
8676
|
static get watchers() { return {
|
|
8677
8677
|
"toolTip": ["nameChanged"],
|
|
@@ -8692,7 +8692,7 @@ const SmoothlyIconDemo = class {
|
|
|
8692
8692
|
this.props = {};
|
|
8693
8693
|
}
|
|
8694
8694
|
render() {
|
|
8695
|
-
return (index.h(index.Host, { key: '
|
|
8695
|
+
return (index.h(index.Host, { key: 'a0706709d49ae4e3beea0bb5a592cce83dbdfc50' }, index.h("h2", { key: 'c4058a68fd71e6c1a659f997815902225772e0ce' }, "Filter and Variants"), index.h("smoothly-form", { key: '2a7206c94f5bd868954ef2bbab2c16ba5ec701be', onSmoothlyFormInput: e => (this.display = e.detail) }, index.h("smoothly-input", { key: 'c81c786a01c0c9101c4c2669dde4891fcc8d79bd', name: "filter" }, "Filter"), index.h("smoothly-input-select", { key: '21d064354e488eedaf0f4d837324d6473edffd99', name: "variant" }, index.h("span", { key: '8e770299b884f6920949df5386e8eb2a1b68c057', slot: "label" }, "Variant"), index.h("smoothly-item", { key: 'b29db45415e020b3170d75a5b114c826e9d88454', value: "outline" }, "outline"), index.h("smoothly-item", { key: '9d032a3f19743194c46b68b5e9ee58e4d13d15dc', value: "sharp" }, "sharp"), index.h("smoothly-input-clear", { key: '32adc83b75e1cba0af54469866681129265c108d', slot: "end" }))), index.h("h2", { key: 'b7261752dc07d9859f217cdd79769e490b950ee0' }, "Props"), index.h("smoothly-form", { key: '3e34648bfa6bf8628974bbda25db0132bef60982', onSmoothlyFormInput: e => (this.props = e.detail) }, index.h("smoothly-input-select", { key: 'fe612d11a476b67e7ac7535df7a06eed6676545b', name: "color" }, index.h("span", { key: 'a8774f195af193c7bf455e3f1ee746c83393de2d', slot: "label" }, "Color"), Scrollable.Color.values.map(color => (index.h("smoothly-item", { value: color, color: color }, color))), index.h("smoothly-input-clear", { key: 'cb96ef4ea25111b19a8a32f61ebda4d48aed061f', slot: "end" })), index.h("smoothly-input-select", { key: '8be80163691b4843d40152e228ccf837b28d902c', name: "fill" }, index.h("span", { key: '7a4ad5ab5d75fdb994d7dd51e27fe0f3048024cf', slot: "label" }, "Fill"), Scrollable.Fill.values.map(fill => (index.h("smoothly-item", { value: fill }, fill))), index.h("smoothly-input-clear", { key: '6e945d2ce1769e1b97b4f28cfb52aa4f5c288e01', slot: "end" })), index.h("smoothly-input-select", { key: '3cb368e15af0312dfa6cb64ddea95b06d1f8aa7f', name: "flip" }, index.h("span", { key: '8622114e3082f040179d53ea261d17f585a29c5b', slot: "label" }, "Flip"), index.h("smoothly-item", { key: '41940930aed4abfafb6b50713dc133f2cd34c9c5', value: "x" }, "x"), index.h("smoothly-item", { key: '9d151f226cf4aa1bcf82415b74341259f9f78b24', value: "y" }, "y"), index.h("smoothly-input-clear", { key: '72975515ddf54f1fd7dab600ef080ee8498c07bb', slot: "end" })), index.h("smoothly-input-select", { key: '4ba83461e4023c99ef94fcf0c351ac98e70e0cea', name: "size" }, index.h("span", { key: 'ea31df439d850779406fa35094e68c590e3c8add', slot: "label" }, "Size"), index.h("smoothly-item", { key: 'b27300ba82640e5ee2e78b712417aa96c7bb6093', value: "tiny" }, "tiny"), index.h("smoothly-item", { key: '0e5de1cc80c0a336c4dfc1b77e21f6593483fe44', value: "small" }, "small"), index.h("smoothly-item", { key: '2d71100ccd666e7e53c40ad9dcb24094d6316ba6', value: "medium" }, "medium"), index.h("smoothly-item", { key: 'b5dc3ca6278d607f91df771c39c67f2b73ee0a86', value: "large" }, "large"), index.h("smoothly-item", { key: '9dfba645effcec688557c2bed05c44698dd0159b', value: "xlarge" }, "xlarge"), index.h("smoothly-input-clear", { key: 'e23d58562e554d6096a44feabaf4365c800c82f3', slot: "end" })), index.h("smoothly-input-range", { key: 'e6076caecd252d6185fc88c8f5dd13b544d115e9', name: "rotate", step: 1, min: -180, max: 180, value: 0 }, "Rotate", index.h("smoothly-input-clear", { key: '47d878d21777308baffba2529d08aa1a7a85954c', slot: "end" }))), index.h("h1", { key: '8f9791fe61a60dcb595332f08387d297caf25d9a' }, "Icons"), index.h("div", { key: 'b85cbd6ffe7d5a3cdacba67227114ffc6ecd641b', class: "icons" }, [
|
|
8696
8696
|
...Scrollable.Icon.Name.values
|
|
8697
8697
|
.filter(name => !this.display.filter || name.includes(this.display.filter))
|
|
8698
8698
|
.map((name) => (this.display.variant ? `${name}-${this.display.variant}` : name)),
|
|
@@ -9124,7 +9124,7 @@ const SmoothlyInput = class {
|
|
|
9124
9124
|
}
|
|
9125
9125
|
render() {
|
|
9126
9126
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
9127
|
-
return (index.h(index.Host, { key: '
|
|
9127
|
+
return (index.h(index.Host, { key: '872dc829ab3ad7ae0a89d5bb33b6873a8bcfcd63', 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: '30df6acf4cb3acb717a486ac0ad75da1522927a7', name: "start" }), index.h("div", { key: '1250557b67717ca57b08c2b6424a7896f432e11a', class: "smoothly-input-container" }, index.h("div", { key: 'fef92aa30c0c0107f45c6818267dc20221f2cc30', class: "ghost" }, index.h("div", { key: 'bad4d7ea96ba8e4da99271223e127ce5f062330f', class: "value" }, (_c = this.state) === null || _c === void 0 ? void 0 : _c.value), index.h("div", { key: 'b17df2280f81d15afc29f5402341e85e50beb5ba', class: "remainder" }, (_d = this.state) === null || _d === void 0 ? void 0 : _d.remainder)), index.h("input", { key: 'c96649c35f2c06dfdf3630b5c497523d0248d9b4', 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 => {
|
|
9128
9128
|
this.state = this.stateHandler.onKeyDown(event, this.state);
|
|
9129
9129
|
if (!this.readonly && !this.disabled)
|
|
9130
9130
|
this.smoothlyKeydown.emit(Key.create(this.name, event));
|
|
@@ -9137,7 +9137,7 @@ const SmoothlyInput = class {
|
|
|
9137
9137
|
if (Deep.notEqual(lastValue, this.stateHandler.getValue(this.state)))
|
|
9138
9138
|
this.smoothlyChange.emit({ [this.name]: this.stateHandler.getValue(this.state) });
|
|
9139
9139
|
}
|
|
9140
|
-
} }), index.h("label", { key: '
|
|
9140
|
+
} }), index.h("label", { key: 'c59ccd5a649873efc5bc0feefc722d5c85068b2d', class: "label float-on-focus", htmlFor: this.name }, index.h("slot", { key: '73aa7a5bb5448bf7bd37f5102c8d53ebda0a2b62' }))), index.h("smoothly-icon", { key: '8145ef6bdfcf30cc9402916e0880a425d6dad9d4', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), index.h("slot", { key: '5313f26d26dc2141b84194f9965ea67b324af575', name: "end" })));
|
|
9141
9141
|
}
|
|
9142
9142
|
get element() { return index.getElement(this); }
|
|
9143
9143
|
static get watchers() { return {
|
|
@@ -9218,7 +9218,7 @@ const SmoothlyInputCheckbox = class {
|
|
|
9218
9218
|
!this.disabled && !this.readonly && (this.checked = !this.checked);
|
|
9219
9219
|
}
|
|
9220
9220
|
render() {
|
|
9221
|
-
return (index.h(index.Host, { key: '
|
|
9221
|
+
return (index.h(index.Host, { key: '45c1c7beef37896ee98099088ddd736986615840', 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: '4283cbb2f152ef92e627b277121cda8de1b573ed', type: "checkbox", checked: this.checked }), this.checked && index.h("smoothly-icon", { key: '6384fd5ad97ea238b71fed6cc1ed9f4d84f9dfaa', name: "checkmark-outline", size: "tiny" }), index.h("label", { key: '053cd3b9ff5f9c80cac0fb8663d08a38769f31b2' }, index.h("slot", { key: 'efad1d448b746b765ce6e8a6a17c6c2e9a9658f5' }))));
|
|
9222
9222
|
}
|
|
9223
9223
|
get element() { return index.getElement(this); }
|
|
9224
9224
|
static get watchers() { return {
|
|
@@ -9268,7 +9268,7 @@ const SmoothlyInputClear = class {
|
|
|
9268
9268
|
}
|
|
9269
9269
|
render() {
|
|
9270
9270
|
var _a;
|
|
9271
|
-
return (index.h(index.Host, { key: '
|
|
9271
|
+
return (index.h(index.Host, { key: '1c44261b3920fc4afef44e592c57d4edce43cfa2', title: this.tooltip }, index.h("smoothly-button", { key: '5640b6d34c7d6910a21a8e87f60b365521eb55e1', 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: '9c3fd0bfd5edf45d75f11639f569db85a71e6070' }), index.h("smoothly-icon", { key: '624113149ddac310bc350ea3a6bb73e73216e10c', name: "close", size: "tiny" }))));
|
|
9272
9272
|
}
|
|
9273
9273
|
};
|
|
9274
9274
|
SmoothlyInputClear.style = SmoothlyInputClearStyle0;
|
|
@@ -9418,7 +9418,7 @@ const SmoothlyInputColor = class {
|
|
|
9418
9418
|
}
|
|
9419
9419
|
render() {
|
|
9420
9420
|
var _a, _b, _c, _d, _e, _f;
|
|
9421
|
-
return (index.h(index.Host, { key: '
|
|
9421
|
+
return (index.h(index.Host, { key: 'da2e8d3b9d34a34700e56943bf46f97952c82c8f', style: {
|
|
9422
9422
|
"--hexCode": this.value,
|
|
9423
9423
|
"--rgb-r": `${Math.round((_a = this.rgb.r) !== null && _a !== void 0 ? _a : 0)}`,
|
|
9424
9424
|
"--rgb-g": `${Math.round((_b = this.rgb.g) !== null && _b !== void 0 ? _b : 0)}`,
|
|
@@ -9427,7 +9427,7 @@ const SmoothlyInputColor = class {
|
|
|
9427
9427
|
"--hsl-s": `${Math.round((_e = this.hsl.s) !== null && _e !== void 0 ? _e : 0)}%`,
|
|
9428
9428
|
"--hsl-l": `${Math.round((_f = this.hsl.l) !== null && _f !== void 0 ? _f : 0)}%`,
|
|
9429
9429
|
"--element-height": `${this.element.clientHeight}px`,
|
|
9430
|
-
} }, index.h("smoothly-input", { key: '
|
|
9430
|
+
} }, index.h("smoothly-input", { key: '0811b9e8b343160a8767b07ddfbc8124cfa9ee6d', 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: 'c20ff101d416406ea67da7d9cb5aa0aa0b3c4f43' })), index.h("div", { key: '554cc3985ec8bb9737c94b65031a34a86f4de6cc', class: "color-sample" }), index.h("smoothly-icon", { key: '27ec92c81e1da06171dc03ee0fc1a4d801c25811', color: this.color, name: "options-outline", size: "small", onClick: () => !this.readonly && this.openDropdown() }), index.h("div", { key: '9c3069fbd41e47041145877424504858eec0f5c0' }, index.h("slot", { key: '4b5a81761af0eaa45b80ff291c78a1662d62a5c4', name: "end" })), this.open && !this.readonly && (index.h("div", { key: '71642c17b0531a61f0f3032ec189f337094b589b', class: "rgb-sliders" }, index.h("smoothly-toggle-switch", { key: 'a3a1500be0748165ed5ba43fd0671744b6fc801d', 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() })))))));
|
|
9431
9431
|
}
|
|
9432
9432
|
get element() { return index.getElement(this); }
|
|
9433
9433
|
static get watchers() { return {
|
|
@@ -9441,7 +9441,7 @@ const SmoothlyInputColorDemo = class {
|
|
|
9441
9441
|
index.registerInstance(this, hostRef);
|
|
9442
9442
|
}
|
|
9443
9443
|
render() {
|
|
9444
|
-
return (index.h(index.Host, { key: '
|
|
9444
|
+
return (index.h(index.Host, { key: '6c0f77709d1ab40676d2214ec1a0e1545baf1e5b' }, index.h("h2", { key: 'a5840477e827a305d2441f157a67936afe48397f' }, "Color"), index.h("smoothly-input-color", { key: 'b4c59fbfcaacd9c2561264ca5bad49a5c15d2c1f', name: "color" }, "Choose color")));
|
|
9445
9445
|
}
|
|
9446
9446
|
};
|
|
9447
9447
|
SmoothlyInputColorDemo.style = "style.css";
|
|
@@ -9534,13 +9534,13 @@ const SmoothlyInputDate = class {
|
|
|
9534
9534
|
event.stopPropagation();
|
|
9535
9535
|
}
|
|
9536
9536
|
render() {
|
|
9537
|
-
return (index.h(index.Host, { key: '
|
|
9537
|
+
return (index.h(index.Host, { key: 'a755134a252d7a353d9a77367c6850ec0e7bb2fa' }, index.h("smoothly-input", { key: 'c84f19abf9b612265662c923924bb9e27e4470dd', 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, errorMessage: this.errorMessage, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9538
9538
|
e.stopPropagation();
|
|
9539
9539
|
this.value = e.detail[this.name];
|
|
9540
|
-
} }, index.h("slot", { key: '
|
|
9540
|
+
} }, index.h("slot", { key: '76957a67776b6e114a134ad8e381fccab3b3bcdb' })), index.h("span", { key: '913e4d85afb432d619a8b97b9498aca63fb65524', class: "icons" }, index.h("slot", { key: 'e3241b7fcad13b265db309d1893b235a8ddef397', name: "end" })), this.open && !this.readonly && (index.h("nav", { key: '7e930465a1ad3354480a4089bc9a041b3fffcc93' }, index.h("smoothly-calendar", { key: '207d73550c0b0274990b5a6afe6bcf2b96840055', doubleInput: false, value: this.value, onSmoothlyValueChange: event => {
|
|
9541
9541
|
this.value = event.detail;
|
|
9542
9542
|
event.stopPropagation();
|
|
9543
|
-
}, max: this.max, min: this.min }, index.h("div", { key: '
|
|
9543
|
+
}, max: this.max, min: this.min }, index.h("div", { key: 'bf152dd3b3de42c90569c7d484748181c5ca4fa3', slot: "year-label" }, index.h("slot", { key: '6a2fc92cbd7f61f12ceb21ce9d2844d713053b0c', name: "year-label" })), index.h("div", { key: '87a13f22c38aa9004483f4d197b7eddafe96941a', slot: "month-label" }, index.h("slot", { key: '11c277001bc28bcb4525d7f3fd120e8b643810b9', name: "month-label" })))))));
|
|
9544
9544
|
}
|
|
9545
9545
|
get element() { return index.getElement(this); }
|
|
9546
9546
|
static get watchers() { return {
|
|
@@ -9646,12 +9646,12 @@ const SmoothlyInputDateRange = class {
|
|
|
9646
9646
|
}
|
|
9647
9647
|
render() {
|
|
9648
9648
|
const locale = navigator.language;
|
|
9649
|
-
return (index.h(index.Host, { key: '
|
|
9649
|
+
return (index.h(index.Host, { key: '0a06894b9e72b93df447ff82ad27d2a6779f8031', tabindex: 0 }, index.h("section", { key: '2d13b0592a766e768cf858150513475fd4522b59', onClick: () => !this.readonly && (this.open = !this.open) }, index.h("smoothly-input", { key: 'be576244d7b348ae617ccc719ffcd81418ff0b75', type: "text", name: "dateRangeInput", readonly: this.readonly, value: this.start && this.end
|
|
9650
9650
|
? `${format(this.start, "date", locale)} — ${format(this.end, "date", locale)}`
|
|
9651
9651
|
: undefined, invalid: this.invalid, placeholder: this.placeholder, showLabel: this.showLabel, onSmoothlyInput: e => {
|
|
9652
9652
|
e.stopPropagation();
|
|
9653
9653
|
this.inputHandler(e.detail);
|
|
9654
|
-
} }, index.h("slot", { key: '
|
|
9654
|
+
} }, index.h("slot", { key: '80adf2bd502c516457c9870c05fc4bc2b6275c3b' }))), index.h("span", { key: '5c95250e283bc5bada2daa574d21112e43a37492', class: "icons" }, index.h("slot", { key: '0389d3bd80370d6fae95fe7f32bb9f8a19a6ba06', name: "end" })), this.open && (index.h("nav", { key: '62bc92246212b47307de1180c9c1267825693d86' }, index.h("smoothly-calendar", { key: '735dd9ca6c84394d666fd71d2d831007e50a0574', doubleInput: true, onSmoothlyValueChange: e => e.stopPropagation(), onSmoothlyStartChange: e => {
|
|
9655
9655
|
e.stopPropagation();
|
|
9656
9656
|
this.start = e.detail;
|
|
9657
9657
|
}, onSmoothlyEndChange: e => {
|
|
@@ -9786,22 +9786,22 @@ const SmoothlyInputDateTime = class {
|
|
|
9786
9786
|
this.changed = false;
|
|
9787
9787
|
}
|
|
9788
9788
|
render() {
|
|
9789
|
-
return (index.h(index.Host, { key: '
|
|
9789
|
+
return (index.h(index.Host, { key: '1f7d50b47ec60aeb9bf5527be3e993dd988e8873' }, index.h("smoothly-input", { key: 'a7539f5cbb2f0845e7ad900b0402572388f19e8b', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: "date", onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, type: "date", value: this.date, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9790
9790
|
e.stopPropagation();
|
|
9791
9791
|
this.date = e.detail.date;
|
|
9792
|
-
} }, index.h("slot", { key: '
|
|
9792
|
+
} }, index.h("slot", { key: 'be6a15ab70967423d3d307d52a02373842cdc12a' })), index.h("smoothly-input", { key: '1706bd3e02d205c8cfed03abeb9f5ae900f1c6ff', name: "hour", type: "integer", max: 23, value: this.hour, placeholder: "hh", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9793
9793
|
e.stopPropagation();
|
|
9794
9794
|
this.hour = e.detail.hour;
|
|
9795
|
-
} }), index.h("span", { key: '
|
|
9795
|
+
} }), index.h("span", { key: 'ae7ab41ec2918f480e0b4347346f2975aa23d0d1', class: "colon" }, ":"), index.h("smoothly-input", { key: '3e5d9221987f2cdb7c47c01abe4e2453655bbd3f', name: "minute", type: "integer", max: 59, value: this.minute, placeholder: "mm", onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9796
9796
|
e.stopPropagation();
|
|
9797
9797
|
this.minute = e.detail.minute;
|
|
9798
|
-
} }), index.h("span", { key: '
|
|
9798
|
+
} }), index.h("span", { key: 'fe9259b03b623b96e3ba20c342b94e3f43e9f68c', class: "icons" }, index.h("smoothly-icon", { key: '81f9e8da653d36eb8e450294dc2dc4264fb76122', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), index.h("slot", { key: 'e70b4a872aa43692c8f1a5e8f7d8a6bf7dc0aa28', name: "end" })), this.open && !this.readonly && (index.h("nav", { key: '312657e918b72f06eb76187e064fdf7113960499' }, index.h("smoothly-calendar", { key: 'bc461b9606b3f0a05a788b7ae72ac5d96231ab9b', doubleInput: false, value: this.value, min: this.min ? TimeZone.DateTime.getDate(this.min) : undefined, max: this.max ? TimeZone.DateTime.getDate(this.max) : undefined, onSmoothlyValueChange: e => {
|
|
9799
9799
|
this.date = e.detail;
|
|
9800
9800
|
e.stopPropagation();
|
|
9801
9801
|
}, onSmoothlyDateSet: e => {
|
|
9802
9802
|
this.open = false;
|
|
9803
9803
|
e.stopPropagation();
|
|
9804
|
-
} }, index.h("div", { key: '
|
|
9804
|
+
} }, index.h("div", { key: 'bd29e39875d5afe6acaaca8351156ed2c9784b50', slot: "year-label" }, index.h("slot", { key: '47b5e7d5621164f66ee939cda905e2d8cc8595ba', name: "year-label" })), index.h("div", { key: 'f65988215e183bfae36378932401dfb656e1acba', slot: "month-label" }, index.h("slot", { key: 'f9bfa7c085e9de6c255b5782595d41f3242e8e90', name: "month-label" })))))));
|
|
9805
9805
|
}
|
|
9806
9806
|
get element() { return index.getElement(this); }
|
|
9807
9807
|
static get watchers() { return {
|
|
@@ -9823,14 +9823,14 @@ const SmoothlyInputDemo = class {
|
|
|
9823
9823
|
this.alphanumeric = "!@##";
|
|
9824
9824
|
}
|
|
9825
9825
|
render() {
|
|
9826
|
-
return (index.h(index.Host, { key: '
|
|
9826
|
+
return (index.h(index.Host, { key: 'f391bd78c0251dabd6f1ff36b039dbb88dd6f36b' }, index.h("smoothly-input-demo-standard", { key: '6ec0721055230720b20f5e7d4ead62c430a57caa' }), index.h("div", { key: '5fc44c0c8fdadf263692766ce0ecdbe8e8facd6b', class: "inputs" }, index.h("h2", { key: '5c0b67d96c5c5e9ec56cf4cd7135cb844c3034e0' }, "Calendar"), index.h("smoothly-input-date", { key: '7110f32cb9d5c3451595a70b08232848c9d4b465', name: "some-date" }, "Calendar"), index.h("smoothly-input-date-time", { key: '840b983439402d95ddc6ed9ea03d1edc82d1bbbf', name: "someDateTime" }, "DateTime"), index.h("h2", { key: 'd5db1f5c8ae18f67bc0cdb61273043f647675a89' }, "Date Range"), index.h("smoothly-input-date-range", { key: '2b6a94b1f56c5eec888ec19ac95af52255caf1b4', 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: '8e86b0a98a3abd79fdf625aed83dfb278fb3470b', 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: 'ac33be124dcf125eeae6f56c8fcf77dee2e9e09b', slot: "end", size: "icon" })), index.h("smoothly-input-date-range", { key: 'ddff97927d04e2ccec654cbe9687889e2ac915e6', looks: "grid", start: TimeZone.Date.now(), end: TimeZone.Date.nextMonth(TimeZone.Date.now()), min: "2021-10-10", max: "2025-12-30", showLabel: false, style: {
|
|
9827
9827
|
"--smoothly-input-border-radius": "0.5rem",
|
|
9828
|
-
} }, index.h("smoothly-input-clear", { key: '
|
|
9828
|
+
} }, index.h("smoothly-input-clear", { key: 'f5f998abd40b9403ccebafe27ba14493fa8f19ca', slot: "end", size: "icon" })), index.h("h2", { key: '7d173c425b81aa7deb4cd89edb3c89a2ff528a3b' }, "Date"), index.h("smoothly-input-date", { key: '0b811e8dd45367c464a7f6edb1b4a33b627adeba' }, "Date"), index.h("smoothly-input-date", { key: 'bf8581823bc434be491ebc5fafdba71061a14101', showLabel: false, value: "2021-10-28", max: "2021-12-30", min: "2021-10-10" }, "Date"), index.h("smoothly-input-date", { key: '88e7ffea5182215229db30af9afe6f4e7ce57146', value: "2021-10-28" }, "Date", index.h("smoothly-input-reset", { key: '172b1c34e6cd4b67f78625b75ff471c303fb12d4', slot: "end", size: "icon" })), index.h("smoothly-input-date", { key: '30968f8dcc79a0321afca68cf79e2ea31b8735fc', value: "2021-10-28" }, "Date", index.h("smoothly-input-clear", { key: '0bbdf2875ce1621de5ed65128569f2e20846f85a', slot: "end", size: "icon" })), index.h("h2", { key: 'a9eb917e3d429438514b7ad091b5cd84fd872889' }, "Select"), index.h("div", { key: 'ff41a3d04e75f1d6509c6c986dc88e4becad3721', class: "select-div" }, index.h("smoothly-input-select", { key: 'e2dd73ead13a60e47494d3cd025c34a805f5e4ee', name: "select-dessert", looks: "border" }, index.h("label", { key: '75e7c9ff86ce84ac3eda4bb40af16d6e9b16e434', slot: "label" }, "Select with clear button"), index.h("smoothly-item", { key: '577f76315b49efcef1f260362b93ff6112004b47', value: "1" }, "Ice cream"), index.h("smoothly-item", { key: 'ed71f3d6e83f8fa10811c952bb1ab5f7b9baa97b', value: "2" }, "Sponge cake"), index.h("smoothly-item", { key: 'e4885a3b9170974878d5c9882d0239fe944c11f2', value: "3", disabled: true }, "Disabled Item"), index.h("smoothly-item", { key: '8bcc76448c631fbf793f91947af4c0e17c60a858', value: "4" }, "Cookie"), index.h("smoothly-item", { key: 'a72d1e10c4b69da2584f2e15d4215c08c5f92fdb', value: "5" }, "Croissant"), index.h("smoothly-item", { key: '6f5653a3a0e7caa778b40eccbc4069f324fd25cb', value: "6" }, "Chocolate fondue"), index.h("smoothly-input-clear", { key: 'ddc17cfc7f7c3146518ad4827f8d674b165db328', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: '0404ede6b67ed2840409c725d0d2863f0d306c30', multiple: true, name: "select-dessert-multiple", looks: "border" }, index.h("label", { key: '16b514b69567d48eb36e14812c700e8658e95ea0', slot: "label" }, "Select multiple with reset button"), index.h("smoothly-item", { key: '6e2dbeee5a47c7f8c2e1a1c6c4d079ff31f200e4', value: "ice cream" }, "Ice cream"), index.h("smoothly-item", { key: '915a599dcbe877f1513ead46fda81150c7781a03', value: "sponge cake" }, "Sponge cake"), index.h("smoothly-item", { key: '2664f2bcd62e4f27fb49f46652fa9e69516c8e57', selected: true, value: "cookie" }, "Cookie"), index.h("smoothly-item", { key: 'd1cf93f393ecff22c4ac6fcc007ab6c09a534b8e', value: "croissant" }, "Croissant"), index.h("smoothly-item", { key: '0b7dd82efb700709a66ced995a3dc4d18be30ff6', selected: true, value: "chocolate fondue" }, "Chocolate fondue"), index.h("smoothly-input-reset", { key: '9866a5e80c446f5b4ca2c2ff8f711ab039912b87', size: "icon", slot: "end" })), index.h("smoothly-input-select", { key: '775756976b9654150ee7670be56f7b44bacc09a2', name: "spirit-animals", looks: "border", mutable: true }, index.h("label", { key: '2543c280d67278c8215a0f1c40060d1a650551c9', slot: "label" }, "Select or add new options"), index.h("smoothly-item", { key: '99670894167dd333c93ddeb166ce6d6677bfa7db', value: "manatee" }, "Manatee"), index.h("smoothly-item", { key: '8523895743bb77d41829b97a82b34b1b8c13de85', selected: true, value: "cthulu" }, "Cthulu")), index.h("smoothly-input-select", { key: '2b77ced15c1efccc0c963ea0190a108aaf7ff254', name: "select-icon", clearable: false, showSelected: false }, index.h("smoothly-item", { key: 'ec88105457f95ec7582b95a0cd6174a96fa4691f', value: "folder", selected: true }, index.h("smoothly-icon", { key: 'a8420b94eedd11f7a27bb589ea15e0fe8ad28eed', size: "small", name: "folder-outline" })), index.h("smoothly-item", { key: 'a0a2524ccf06e777498a0612bfc755fbdb3c26da', value: "camera" }, index.h("smoothly-icon", { key: 'd6a08b892a58f56187b5921cff2b55646a2fd1fb', size: "small", name: "camera-outline" }))), index.h("smoothly-input-select", { key: 'fba2c8857f72aa30927a76faa5005a8f629f7432', ordered: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: 'c469cb86e393ca8567e4f306074f6b1822da1f4c', slot: "label" }, "Alphabet ordered select"), Array.from({ length: 26 })
|
|
9829
9829
|
.map((_, i) => String.fromCharCode(i + 65))
|
|
9830
|
-
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: '
|
|
9830
|
+
.map(char => (index.h("smoothly-item", { value: char, selected: char == "H" }, char)))), index.h("smoothly-input-select", { key: 'e3bf61ef393d38a27d457c34dd0c6e1725581cd7', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, index.h("label", { key: '6f378b22b5f5e65b7a806ae68675131d6e024d00', slot: "label" }, "Month multiple select"), index.h("smoothly-item", { key: '7d1f5110fe52b497edd86a5e4397914cd1636eb3', value: "1" }, "January"), index.h("smoothly-item", { key: 'a5217ec2aa7daf0992a53392724d3de162f1b7c3', value: "2" }, "February"), index.h("smoothly-item", { key: 'e97d698810ba4cc74fbf9235fb1f3c8fd2c3c3d4', value: "3" }, "March"), index.h("smoothly-item", { key: 'b379faa9da4b684ba555c949c6b6ddccc4c116b8', value: "4" }, "April"), index.h("smoothly-item", { key: '97de95e971a0c07e462aea3e935536a59df7e89a', value: "5" }, "May"), index.h("smoothly-item", { key: '684e39a859bfd80078bee12230cbaebdc2ed6fb9', value: "6" }, "June"), index.h("smoothly-item", { key: '84ceedba22aaed9a7c9dc866131deb3da7cb637f', value: "7" }, "July"), index.h("smoothly-item", { key: '1c310541498a90e74471932e7d5236466c9b61a5', value: "8" }, "August"), index.h("smoothly-item", { key: '5779cad53606a81b4b8741748f7dff06f4c1d53b', value: "9" }, "September"), index.h("smoothly-item", { key: '4f77e5f150de94e40fa44ad9a18c62e946583b1e', value: "10" }, "October"), index.h("smoothly-item", { key: '0721ac6d8ad7b08bbf3f37e6000ae21d39cff10a', value: "11" }, "November"), index.h("smoothly-item", { key: '786168eff22dd2df98369268f734f3382e5f0144', value: "12" }, "December"))), index.h("h2", { key: 'a0fb40b3246b9810fc8c628947e34e8e7861edc8' }, "Duration"), index.h("smoothly-input", { key: '6e8dc2d9bb81905f9b361e3d86fc5bde907d9a08', name: "duration", type: "duration", placeholder: "hh:mm", value: this.duration, onSmoothlyInput: e => (this.duration = e.detail.duration) }, "Duration"), index.h("smoothly-input", { key: '9e7b6a937a25da6e1b54e3936a349899a82f444d', name: "duration", type: "duration", value: this.duration, placeholder: "-hh:mm", onSmoothlyInput: e => {
|
|
9831
9831
|
const duration = e.detail.duration;
|
|
9832
9832
|
this.duration = duration;
|
|
9833
|
-
} }, "Duration"), index.h("h2", { key: '
|
|
9833
|
+
} }, "Duration"), index.h("h2", { key: '31b7b747b3aaaf845ad1aed49ab45ba9523a2fc3' }, "Integer with Min/Max"), index.h("smoothly-input", { key: 'c81811ff2d335ea60df070a960524ff16ede8489', name: "days", type: "integer", min: 0, max: 365 }, "Days per year (0-365)"), index.h("smoothly-input", { key: '86aeb498c9731e91de63412a11a79f29292adcd0', name: "hour", type: "integer", min: 0, max: 23 }, "Hours per day (0-23)"), index.h("smoothly-input", { key: '4802f8b96a9aab4828c3327de3eb2b531edcddfd', name: "minute", type: "integer", min: 0, max: 59 }, "Minutes per hour (0-59)"), index.h("smoothly-input", { key: '3737eab0df9fd0706175be8a971593ab3bb9343d', name: "minute", type: "integer", min: 18, max: 120 }, "Age (18-120)"), index.h("h2", { key: '6b2f5d91faf5bf0d3bc074e859d88445a80b5667' }, "Invalid text with warning icon and tooltip"), index.h("smoothly-input", { key: '95410c2f81a47ca003616bd40d89f7885b634f37', 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: 'ad449776079245f9531bd8ce3f51efe3411e5e7e' }, "Identifiers"), index.h("smoothly-input", { key: 'b3325535a6ac61fd0476d6a075693c7e2fca5ef6', type: "identifier-code" }, "Code"), index.h("smoothly-input", { key: '28e66d1f923f9807252c3cc72fe4a788240aba1d', type: "identifier-attribute" }, "Attribute"), index.h("smoothly-input", { key: '491387109239d78a481aa0a4c9058a2cdb2a4c65', type: "identifier-snake" }, "Snake"), index.h("smoothly-input", { key: '35fce4f6c948209470cd2ad28f8d9621ee6b5321', type: "identifier-pascal" }, "Pascal"), index.h("smoothly-input", { key: 'dd534f14f8e8943f7ddef74992dd46c318347ae8', type: "identifier-camel" }, "Camel"), index.h("h2", { key: '38685f41f8810a5795834ca27905b2f2afc27eac' }, "Input Alternatives"), index.h("smoothly-input", { key: '59043422556d04cc56c186714e91dc64f0816ed7', type: "text", name: "name.last", onSmoothlyChange: e => console.log("smoothly change event") }, index.h("smoothly-icon", { key: '213e727678e743ec88cdd54a979ce8935c541340', name: "checkmark-circle", slot: "start" }), "First Name"), index.h("smoothly-input", { key: '51f32ad9c0b4c9b7a8204bc63c441f8fa167b611', type: "text", name: "name.first", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", index.h("smoothly-icon", { key: '46aa75ade3df2db1b151e01096a197f2e2fd8af9', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: 'b1293dfab17cf01887cbf5841db05e04dd3a1464', type: "text", name: "name.first", placeholder: "Smith", onSmoothlyChange: e => console.log("smoothly change event") }, "Last Name", index.h("smoothly-icon", { key: 'b284306b4866a605add8c5ef598dc40f1282ec43', name: "checkmark-circle", slot: "end" })), index.h("smoothly-input", { key: '24ec4d180f050b371e9af2f002b7116a99b88cf4', placeholder: "test" }), index.h("smoothly-input-submit", { key: 'd55d4fff97828924002492d9016bd73eef46eba7', slot: "submit", fill: "solid", onSubmit: (e) => alert(e), color: "success" }), index.h("h4", { key: 'f45625069ac93259c0631c1137df1f0275ac0a57' }, "Smoothly checkboxes"), index.h("div", { key: '0b987f4c368c8d50dbb6f49055ba0cff33835427', class: "checkbox-group" }, index.h("smoothly-input-checkbox", { key: '315c00eb4677344a3877d819a6a90882a97da7b9', disabled: true, name: "first-checkbox" }, index.h("smoothly-icon", { key: '24b845e4451277aac8e6c945aaa7536e481b523e', name: "checkmark-circle", slot: "start", size: "tiny" }), "First"), index.h("smoothly-input-checkbox", { key: 'c7e4398c49e7299b6b235b5ff5572d7f59998c5c', name: "second-checkbox", checked: true }, index.h("smoothly-icon", { key: '3c59195cd3e5de2a5ca0db1ef7e67fdac4b20773', name: "checkmark-circle", slot: "start", size: "tiny" }), "second", index.h("smoothly-input-clear", { key: 'b353f63610a38744c63f5a98827a8be376f24689', size: "icon", slot: "end" })), index.h("smoothly-input-checkbox", { key: '594f7ec3d3f3be405aaf885621eb718e3fbf0a35', name: "third-checkbox" }, "3rd")), index.h("h4", { key: 'cf0b6447f28184077a82ebd6fa338531484442fb' }, "Smoothly Radio Buttons"), index.h("smoothly-input-radio", { key: '2dd5ceb1a1ff1b080616ec88e9480c53750ded4c', clearable: true, name: "radioFirstInput" }, index.h("smoothly-icon", { key: '79cf63ff3aac8acaa1511e77fe27d993270913c3', name: "checkmark-circle", slot: "start" }), index.h("label", { key: 'b794b9b61a60fd655a906db0ff400785d8dfb970', slot: "label" }, "Clearable"), index.h("smoothly-input-radio-item", { key: '7344467bc0580b1efd378925eb4af010967a0276', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'bd8afddd7a86f9853f3c01b1121c9164140a8418', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: 'eac077c9f5c7c480b00806bc59dd7bc0e5747399', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: 'e87f205103c7dd86c240a63d6f944c5c8775f693', size: "icon", slot: "end" })), index.h("smoothly-input-radio", { key: 'f4fa9eda695df9d7dcc4d3f68fe060a781cc20d6', name: "radioSecondInput" }, index.h("label", { key: 'd0a413214b688e493d73951747eba6bba204d85e', slot: "label" }, "Not clearable"), index.h("smoothly-input-radio-item", { key: 'ddb690ff8501c50743bc0d0e11e1c26ce5c5bb23', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: 'bb5db85ec9f091bb62dd89c3ad0c8f749b85db8f', value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '0a16abf56b4f3f77407d64fe2969b512b8444582', value: "third" }, "Label 3"), index.h("smoothly-input-radio-item", { key: 'e67deaa29b84a99dff1332357144fc7e9055400f', value: "fourth" }, "Label 4"), index.h("smoothly-input-radio-item", { key: '96e014e32102387364e1bfd5bf2288c3b1c028db', value: "fifth" }, "Label 5"), index.h("smoothly-input-radio-item", { key: '73cc1861839ecfe97fa494dd5544780a794abb5b', value: "sixth" }, "Label 6")), index.h("smoothly-input-range-demo", { key: '70d2d8f0df0397e64de5a5406431a26819438d21' }), index.h("smoothly-input-color-demo", { key: '2f34171560df93381803026b34d678474403bb7a' }), index.h("smoothly-input-price-demo", { key: '10fa39ce18a471a2ca132cc95a68ece4d04f78b9' }), index.h("smoothly-back-to-top", { key: '646557d1c7a1ab4d661562591f77c4107527af08' }))));
|
|
9834
9834
|
}
|
|
9835
9835
|
};
|
|
9836
9836
|
SmoothlyInputDemo.style = SmoothlyInputDemoStyle0;
|
|
@@ -9859,7 +9859,7 @@ const SmoothlyInputDemoStandard = class {
|
|
|
9859
9859
|
}
|
|
9860
9860
|
render() {
|
|
9861
9861
|
const placeholder = this.options.placeholder ? "placeholder" : undefined;
|
|
9862
|
-
return (index.h(index.Host, { key: '
|
|
9862
|
+
return (index.h(index.Host, { key: '951d8e936755153c60dfb5e9c4fa714f6c2cfcbb', class: { vertical: !!this.options.vertical } }, index.h("div", { key: 'af5cd56f01a657adc81a7c1952fc0fa99c983cca', class: "description" }, index.h("h2", { key: '000ead60500d3ecb23f0925490c470bfa12b1b17' }, "Input Standard"), index.h("p", { key: 'e8e0ac8ac447a507a8ff84a82910ccfb28eb108b' }, "Height of input should be ", index.h("code", { key: '3442836222d91b57b578154201b379c01984a44b' }, "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: 'b6c4e839e5a281c96c774a54e2b23907fedab94a', looks: "grid", onSmoothlyFormInput: (e) => (this.options = e.detail) }, index.h("smoothly-input-select", { key: '052325bf03d817a341eea65d6b5f8937faa9f5a9', name: "looks" }, index.h("span", { key: '4e9ef448481c3ee611c93a27de4cb8faa6bbdb8b', slot: "label" }, "Looks"), Looks.values.map(l => (index.h("smoothly-item", { value: l }, l)))), index.h("smoothly-input-checkbox", { key: 'c7aef46d0c10a1f270d6f4989ff5f28dc54eaa46', name: "readonly" }, "Readonly"), index.h("smoothly-input-select", { key: '8c66e722864389166198e6dc2ed088054a7b52ae', name: "color" }, index.h("span", { key: 'c099222e90e71c652685f2e6b7ec3be644fe1128', slot: "label" }, "Color"), Scrollable.Color.values.map(c => (index.h("smoothly-item", { value: c }, index.h("span", { color: c }, c)))), index.h("smoothly-input-clear", { key: '9be13aef6903d2d1278b65c7ef42d44037ba3db2', slot: "end" })), index.h("smoothly-input-checkbox", { key: 'a6c41ffa70909296a000349ae4b69aac2b68cacb', name: "vertical" }, "Vertical Layout"), index.h("smoothly-input-checkbox", { key: 'd2220c0c8f405eb2b9f53be947ca125587b4d0eb', name: "showLabel", checked: true }, "Show Label"), index.h("smoothly-input-checkbox", { key: '155e50f789e3d357ec1dfcecace74599a7807f64', name: "placeholder" }, "Placeholder"), index.h("smoothly-input-checkbox", { key: '36aad13274e6ef7cdb86c87d2085932653381f37', name: "invalid" }, "Invalid"), index.h("smoothly-input", { key: '130deb857bd5d3e73d875f34b8ee0d50e1f16039', name: "errorMessage", value: "This is not a valid value" }, "Error Message"), index.h("smoothly-input-range", { key: 'abac1a46412e0c3ee5f79a43b183ef90d3e435b0', label: "Border Radius (rem)", name: "borderRadius", min: 0, max: 2, step: 0.25 }))), index.h("div", { key: 'b286d517da6cd031b9c7590e792e75a417440d4f', class: "input-wrapper", style: { "--smoothly-input-border-radius": `${this.options.borderRadius}rem` } }, index.h("div", { key: '0e7c535d8aca6532806ae5f7fea57a22b5d32f1c', class: "width" }, "100%"), index.h("div", { key: 'a2a835349a7f2dd5cf2fc407ffb6ba43e5ff9bb5', class: "left-padding" }, "0.5rem - left padding"), index.h("smoothly-input", { key: '2f266438ea51914cfcce08f22139c752e721498e', name: "text", looks: this.options.looks, placeholder: placeholder, invalid: this.options.invalid, errorMessage: this.options.errorMessage, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '96e2acaa65f5ac445dae13fce8b1ab6f0cb64091' }, "Text"), index.h("smoothly-input-clear", { key: 'bac98746bafdee5e2af488b9dd1c881a2fd41abb', slot: "end" })), index.h("div", { key: '3b7dbf2d82b62247f85cac4f9c1b1a7c4f7e3101', class: "height" }), index.h("smoothly-input-select", { key: 'b837f6e96996b1a9f1a2d3fa4e188050abd69ba6', name: "month", looks: this.options.looks, placeholder: placeholder, invalid: this.options.invalid, errorMessage: this.options.errorMessage, readonly: this.options.readonly, color: this.options.color }, this.options.showLabel && index.h("label", { key: '489c682c94902d5bf104a32462239429be1208c0', slot: "label" }, "Select"), index.h("smoothly-item", { key: '846be873419369ca5b3a3bb7ec1763790847f548', value: "1" }, "January"), index.h("smoothly-item", { key: '78f330e0329eb2c63171e78d35680509e8e172a5', value: "2" }, "February"), index.h("smoothly-item", { key: '69179c3218be846bb33c018abc37a9bf2f379416', value: "3" }, "March"), index.h("smoothly-item", { key: 'a5594f65d0320457c0edb516d760dcb6bd5ee7b1', value: "4" }, "April"), index.h("smoothly-item", { key: '4377a009490a3636f3b8fcea6fd55c5a2c1577f9', value: "5" }, "May"), index.h("smoothly-item", { key: '74acc707028b86f5266a365614e7bdeb6da67a25', value: "6" }, "June"), index.h("smoothly-item", { key: '5767cc4323d227293c27934cfcd7ca146a3e71df', value: "7" }, "July"), index.h("smoothly-item", { key: '51d3e6cc6c9dc142c30e63ac1bb2df2cd3f7422c', value: "8" }, "August"), index.h("smoothly-item", { key: '58d40956906a3a9d59fbd9b59db8f99990ec04b7', value: "9" }, "September"), index.h("smoothly-item", { key: 'd78a4d9eb90e73cdf69610dded70dcb30b76119e', value: "10" }, "October"), index.h("smoothly-item", { key: 'b8867b2bbcf65f519455c8b501120c61368cc9cd', value: "11" }, "November"), index.h("smoothly-item", { key: '9f30a2ca954a2a47ff166c9eab312df2d03c3fca', value: "12" }, "December"), index.h("smoothly-input-clear", { key: 'd5e610c5a85b7d5e44dd0128aab00339a02a3210', slot: "end" })), index.h("div", { key: 'cbe1ff70d9410549cae2db26afe2328f7664fa50', class: "height" }), index.h("smoothly-input-checkbox", { key: '74a4ca779d60ee6eeed471e50a02b5da4ab1ec18', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color }, "Check"), index.h("div", { key: '00c58e9df1e81eeefd02e504b4d8b801c2023694', class: "height" }), index.h("smoothly-input-radio", { key: 'ed80d56631c1d6e34345a2b0abb0f5708e420779', 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: 'f22e8e2408d8dc2b3d835ec65d031381ee9c81b1', slot: "label" }, "Radio"), index.h("smoothly-input-radio-item", { key: 'e6b40167ec1c4bdb1ec801bd86c5a936dcfac2d1', value: "first" }, "Label 1"), index.h("smoothly-input-radio-item", { key: '975d48ee804f99f041ab0e1d9775831fac38a893', selected: true, value: "second" }, "Label 2"), index.h("smoothly-input-radio-item", { key: '47cb61faeca4e7538bae225bcfecb8417c26cbca', value: "third" }, "Label 3"), index.h("smoothly-input-clear", { key: '60cf6f95ad009845e7f6e319d952c1f270f966aa', slot: "end" })), index.h("div", { key: 'a9405a9b52e859ca553dd19560fa86610183024f', class: "height" }), index.h("smoothly-input-file", { key: '401a22707d76d8ed5d34abe448814cf4959a1fa8', 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: '89ab3c037ef0696c2dff55013406f6b427497cae', slot: "label" }, "File"), index.h("smoothly-input-clear", { key: 'b43d75694fb277232384c2976be6321795062b96', slot: "end" })), index.h("div", { key: 'bd9d687f9b59e41e8dcb4302e2422a7a27e63677', class: "height" }), index.h("smoothly-input-range", { key: '1394a573bf3c1c0a833e4f02335a3303b9edf10a', 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: '49f3b4028cd51409e1cbc5fdfeaef81ec27188f5', slot: "end" })), index.h("div", { key: '17f16df032bc1927129da013189f3c274d767c5d', class: "height" }), index.h("smoothly-input-color", { key: '5383ee49642c9b85e015535762abc344a559c6fc', looks: this.options.looks, readonly: this.options.readonly, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '8d749e5c39d9b1f70ed423b1258f31115912d02f' }, "Color"), index.h("smoothly-input-clear", { key: '47cc64ea251de5c33e05482de258667c8cb825ef', slot: "end" })), index.h("div", { key: '1a95e6d7d34d525420537abb68455514a8acaac3', class: "height" }), index.h("smoothly-input-date", { key: '48dbc96f309f9bb57d39acaf040524db9b4a28ad', looks: this.options.looks, readonly: this.options.readonly, invalid: this.options.invalid, color: this.options.color, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '0c14d8bceffe8a9e420850302525165679c508ad' }, "Date"), index.h("smoothly-input-clear", { key: '019d0c408379cf2b0bc265e920025d649ddd8777', slot: "end" })), index.h("div", { key: '3d67ba7e9f382f769f787b51e70c7f5cf7d3fe4b', class: "height" }), index.h("smoothly-input-date-time", { key: '96cbf433bc0b3c569d15103236e7a4fb8c63b21c', looks: this.options.looks, readonly: this.options.readonly, invalid: this.options.invalid, errorMessage: this.options.errorMessage, color: this.options.color, showLabel: this.options.showLabel }, "DateTime", index.h("smoothly-input-clear", { key: 'a631f516a994b86df2aa9ec3f4651f2314ea8dd2', slot: "end" })), index.h("div", { key: '97fe1c5b932289b2e42e9c634289725418b348c5', class: "height" }), index.h("smoothly-input-date-range", { key: 'b58568c51c8b45ae135450ec3686929732255fc7', looks: this.options.looks, readonly: this.options.readonly, invalid: this.options.invalid, color: this.options.color, placeholder: placeholder, showLabel: this.options.showLabel }, this.options.showLabel && index.h("span", { key: '41efbed231e88d909bd6f28162979f7ddb758e18' }, "Date Range"), index.h("smoothly-input-clear", { key: '9a2f23707a48fe56b6a37c7d035cc4b84ee85bd0', slot: "end" })), index.h("div", { key: '4c7ecea506ec437fe67337d65edd8f55d6947972', class: "height" }), index.h("div", { key: '3b365c0068e208b0f5c8f3f7b52853b169d92c54', class: { "guide-lines": true, "show-label": !!this.options.showLabel } }, this.options.showLabel ? "Aligned labels & values" : "Center values"))));
|
|
9863
9863
|
}
|
|
9864
9864
|
get element() { return index.getElement(this); }
|
|
9865
9865
|
};
|
|
@@ -9898,7 +9898,7 @@ const SmoothlyInputEdit = class {
|
|
|
9898
9898
|
}
|
|
9899
9899
|
render() {
|
|
9900
9900
|
var _a;
|
|
9901
|
-
return (index.h(index.Host, { key: '
|
|
9901
|
+
return (index.h(index.Host, { key: 'e479bc4e0e7151a26964d30ef6cab245d4ecf48c', title: this.toolTip }, index.h("smoothly-button", { key: '784668d63e1d5945c8fd74517950badd23a25271', 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: 'ae09bd22cf4d54255c16d1fc2e99059417a10ec0' }), index.h("smoothly-icon", { key: '32511b0a5744aeead31e1c00e3ee756299c4ec1c', class: "default", name: "create-outline", size: "tiny" }))));
|
|
9902
9902
|
}
|
|
9903
9903
|
};
|
|
9904
9904
|
SmoothlyInputEdit.style = SmoothlyInputEditStyle0;
|
|
@@ -10012,7 +10012,7 @@ const SmoothlyInputFile = class {
|
|
|
10012
10012
|
}
|
|
10013
10013
|
render() {
|
|
10014
10014
|
var _a, _b, _c;
|
|
10015
|
-
return (index.h(index.Host, { key: '
|
|
10015
|
+
return (index.h(index.Host, { key: '4e378111db0e10663f7a66d87cae73136fef9bb2', 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: '32b422053ae2c0f784e253b201f54a9c234e23d2' }, index.h("slot", { key: '2e8353bacb424ae6e9e80c7de566baadc0e4cd4a', name: "label" })), index.h("div", { key: '6802b6824a3434f972ed760e61122582eef6c2a1', class: "input" }, index.h("smoothly-button", { key: '7b4edbef075ce51a50b3d61ebd0df858ce25afee', type: "button", color: this.color, fill: "clear", size: "flexible" }, index.h("slot", { key: '35dc27313c8e9d7463e4cc1a924dcdc3a5414fd8', name: "button" })), index.h("span", { key: '113ccb707f133856df9a6f2c707db99adcf9af42' }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : this.placeholder), index.h("div", { key: 'a128670edafc51b44e0bfb1d092f0d6a8eb20dea', class: "drag-overlay", onDrop: e => this.dropHandler(e), onDragLeave: e => this.dragLeaveHandler(e) }, index.h("smoothly-icon", { key: '24c5da9c87f099c6998c911a01a6e2c150a71795', name: "document-attach-outline" })), index.h("input", { key: '896fe0eba364441816f4f16b2a6585baba195ced', 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: 'd8a0d4950ce1846166cf16166437c166839ef201', class: "end", onClick: (e) => e.stopPropagation() }, index.h("slot", { key: '06bb474570c901cc3fe00e2de5404c3d37cb836c', name: "end" }))));
|
|
10016
10016
|
}
|
|
10017
10017
|
get element() { return index.getElement(this); }
|
|
10018
10018
|
static get watchers() { return {
|
|
@@ -10133,9 +10133,9 @@ const SmoothlyInputMonth = class {
|
|
|
10133
10133
|
}
|
|
10134
10134
|
render() {
|
|
10135
10135
|
var _a, _b;
|
|
10136
|
-
return (index.h(index.Host, { key: '
|
|
10136
|
+
return (index.h(index.Host, { key: 'b1f87fae87e6203e9ef74b7221281e037a830b9b' }, index.h("smoothly-icon", { key: 'dd4fe8e284f87807fbb31617ae79060bf0a59ee7', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
10137
10137
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
10138
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: '
|
|
10138
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), index.h("smoothly-input-select", { key: 'ca65bfc738b814d4b9d7cfa1b9c10ab1ed2f478a', 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: 'bebf42ca61c711925077807fd39d590ad7c62b90', slot: "label" }, index.h("slot", { key: '4b21253002def35172963163cf0070f319321c68', 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: 'b26c5f5d8395b4b656a29bdf1e8a5d73e4d27877', 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: 'cfa634dc871e83c96cdd49c7e65aeeaa347d9181', slot: "label" }, index.h("slot", { key: 'ae56d5cb8aadc9eab5f33da0fee54af46db7f3d2', 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: 'a56a322fadacacd62d1cbae348c0f650432bf3c3', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
10139
10139
|
disabled: this.readonly || !this.allowNextMonth,
|
|
10140
10140
|
}, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
10141
10141
|
}
|
|
@@ -10158,7 +10158,7 @@ const SmoothlyInputPriceDemo = class {
|
|
|
10158
10158
|
this.currency = "USD";
|
|
10159
10159
|
}
|
|
10160
10160
|
render() {
|
|
10161
|
-
return (index.h(index.Host, { key: '
|
|
10161
|
+
return (index.h(index.Host, { key: 'edcdc1ceec7f4019e08498066b88c74d9579f4aa' }, index.h("h2", { key: '46d387d433f70510f8520cd48d6b097c18df46a9' }, "State demo on smoothly-input"), index.h("p", { key: '782e65c8fb7c8e5b17d1df4590241db5d346f33a' }, "This demo/test the internal state of the smoothly-input component."), index.h("p", { key: '630705dfad5ac3e9990f78f6de3452553e501854' }, "The currency of the price should update when switching between the currencies."), index.h("smoothly-input-radio", { key: 'ad933b980ccd259935b5faf994565c6937ddb1fd', 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: '714f78af7e19b0651eaebb5d4669d17b5cdc8d70', type: "price", currency: this.currency }, "price")));
|
|
10162
10162
|
}
|
|
10163
10163
|
};
|
|
10164
10164
|
SmoothlyInputPriceDemo.style = SmoothlyInputPriceDemoStyle0;
|
|
@@ -10267,7 +10267,7 @@ const SmoothlyInputRadio = class {
|
|
|
10267
10267
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
10268
10268
|
}
|
|
10269
10269
|
render() {
|
|
10270
|
-
return (index.h(index.Host, { key: '
|
|
10270
|
+
return (index.h(index.Host, { key: '9832f054f11d49d0c5f427bad59d7e71c3dfb2bb', class: "floating-label" }, index.h("slot", { key: 'bbb81a0d76656ee8b8b16d44d986a20a8a26229b', name: "start" }), index.h("div", { key: 'f89673a9f124e42216d39f5d09ea7445f0eb40d8' }, index.h("slot", { key: '1b9cb1c072213a19fa8b83d9f2dfe61792b9571f', name: "label" }), index.h("div", { key: 'a14d4813301823d8ef7108a36dbf6d6ab15bda30', class: "options" }, index.h("slot", { key: '3b34f630c9780413c4ee72d611c0298d04482bfe' }))), index.h("slot", { key: '90f11393598e9548125f758148c75a09af02a56b', name: "end" })));
|
|
10271
10271
|
}
|
|
10272
10272
|
get element() { return index.getElement(this); }
|
|
10273
10273
|
static get watchers() { return {
|
|
@@ -10298,7 +10298,7 @@ const SmoothlyInputRadioItem = class {
|
|
|
10298
10298
|
this.smoothlySelect.emit({ value: this.value, selected: this.selected, select: s => (this.selected = s) });
|
|
10299
10299
|
}
|
|
10300
10300
|
render() {
|
|
10301
|
-
return (index.h(index.Host, { key: '
|
|
10301
|
+
return (index.h(index.Host, { key: 'bf596b71824dfc45cf982587f22ccad43580f29e', onClick: () => this.inputHandler() }, index.h("input", { key: 'b0d3c66f47add4e99b6b36eb5cbede2931c7b834', name: this.name, type: "radio", checked: this.selected }), index.h("smoothly-icon", { key: '9a9e1538061ef20eec2ff98f7684ce16d72c4efe', name: this.selected ? "checkmark-circle" : "ellipse-outline", size: "small", fill: "outline", color: this.selected ? "success" : "medium", toolTip: "Select" }), index.h("label", { key: 'e22dfa008729bf93d2bd09517651ce605db21b09' }, index.h("slot", { key: '9f36ea8d7085eb8d9f30dff91bbaa515113879af' }))));
|
|
10302
10302
|
}
|
|
10303
10303
|
get element() { return index.getElement(this); }
|
|
10304
10304
|
};
|
|
@@ -10402,17 +10402,17 @@ const SmoothlyInputRange = class {
|
|
|
10402
10402
|
}
|
|
10403
10403
|
render() {
|
|
10404
10404
|
var _a, _b, _c;
|
|
10405
|
-
return (index.h(index.Host, { key: '
|
|
10405
|
+
return (index.h(index.Host, { key: '98a98128458102922f18ec177df52a2f3a1c58ad', class: {
|
|
10406
10406
|
"output-side-right": this.outputSide === "right",
|
|
10407
10407
|
"show-label": this.outputSide === "left" && !!this.label,
|
|
10408
|
-
} }, index.h("slot", { key: '
|
|
10408
|
+
} }, index.h("slot", { key: 'e06db3f6ee0fe1348fbc09d0012c5339512552d7', name: "start" }), index.h("div", { key: '81d3179f141bb88c291cfc590d897917b3a8b348' }, index.h("label", { key: '837b8b5fff2ba7b1e37515dd65b877cd16a82921', htmlFor: this.name }, this.label), index.h("smoothly-input", { key: 'f572fea0e08f24de2f009e0e94021169a3dadee0', 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(),
|
|
10409
10409
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined)), onSmoothlyBlur: e => e.stopPropagation(), onSmoothlyInput: async (e) => {
|
|
10410
10410
|
e.stopPropagation();
|
|
10411
10411
|
this.setValue(Input.Element.is(e.target) ? Number(await e.target.getValue()) : undefined);
|
|
10412
|
-
}, 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: '
|
|
10412
|
+
}, 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: '190335c665330b75959e71c798bc21c4ac773234', label: (this.type == "percent" ? this.min * 100 : this.min).toString() }), index.h("input", { key: '3a2308e1b862d0a68ab6de8f3744ec0222e7992c', 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 => {
|
|
10413
10413
|
event.stopPropagation();
|
|
10414
10414
|
this.setValue(event.target.valueAsNumber);
|
|
10415
|
-
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: '
|
|
10415
|
+
}, value: (_c = this.value) !== null && _c !== void 0 ? _c : this.min }), index.h("smoothly-display", { key: '2312264e39ea280bb19c1f9edf1684b6207a21bc', label: (this.type == "percent" ? this.max * 100 : this.max).toString() })), index.h("slot", { key: '1b30b4f2d76728e54313f170631294334ae6e0da', name: "end" })));
|
|
10416
10416
|
}
|
|
10417
10417
|
get element() { return index.getElement(this); }
|
|
10418
10418
|
static get watchers() { return {
|
|
@@ -10426,7 +10426,7 @@ const SmoothlyInputRangeDemo = class {
|
|
|
10426
10426
|
index.registerInstance(this, hostRef);
|
|
10427
10427
|
}
|
|
10428
10428
|
render() {
|
|
10429
|
-
return (index.h(index.Host, { key: '
|
|
10429
|
+
return (index.h(index.Host, { key: 'a65fa28c070c9c8622dace5fa9dfe6ae672ab68c' }, index.h("h2", { key: '36d30888a8055f706d3d43250c99d6c8882c2bd4' }, "Range"), index.h("h3", { key: '1e2f77ebc5c3c1df3fbd5d095e7c7ab7a86b2b2c' }, "Phone Number"), index.h("smoothly-input-range", { key: '5f50b12ee4a8579e21e67d4247e034541f0fa92e', min: 700000000, max: 799999999, step: 1, label: "Phone Number" }), index.h("h3", { key: '13db0164ed6b16703c502bd04575492cbbb14e57' }, "Stars out of ten"), index.h("smoothly-input-range", { key: 'd38b9df06cfbc0616aa870f9cef411356bedc319', max: 10, step: 1, label: "Stars" }), index.h("h3", { key: 'e159fcd4db7812bafacaa7c03fc4dfbc6ae5a40a' }, "Percent"), index.h("smoothly-input-range", { key: '0422cada1f51e4f879a8f39120e0534305ecbc44', type: "percent", max: 1, step: 0.01, label: "Percent" }), index.h("h3", { key: '1b316682a274d09ca05752ec36ebf62fa95c0f07' }, "With icon at start and clear button"), index.h("smoothly-input-range", { key: '07f1e67528c810002f0d73c8d98783c0c3e0ccf6', step: 1, name: "range2", label: "Select" }, index.h("smoothly-icon", { key: '3b84524cdcc3ad429bf78f6f79ea81960e0be18d', name: "checkmark-circle", slot: "start" }), index.h("smoothly-input-clear", { key: '63ab031dd53c1bfc4d2eb390fe35f5af8039da95', size: "icon", slot: "end" }))));
|
|
10430
10430
|
}
|
|
10431
10431
|
};
|
|
10432
10432
|
|
|
@@ -10472,7 +10472,7 @@ const SmoothlyInputReset = class {
|
|
|
10472
10472
|
}
|
|
10473
10473
|
render() {
|
|
10474
10474
|
var _a;
|
|
10475
|
-
return (index.h(index.Host, { key: '
|
|
10475
|
+
return (index.h(index.Host, { key: '57e2e0372226f9bf0f4202b05c08277b0c9dc10f', title: this.tooltip }, index.h("smoothly-button", { key: '6b8a01fa2fddd93f37b18b04f1257872275bbbd9', 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: '5f7448c8bd003b714e4df0e44f7572057324676d' }), index.h("smoothly-icon", { key: 'f018073be7166306d4799775211fe93e2e1b6eb9', flip: "x", name: "refresh-outline", size: "tiny" }))));
|
|
10476
10476
|
}
|
|
10477
10477
|
};
|
|
10478
10478
|
SmoothlyInputReset.style = SmoothlyInputResetStyle0;
|
|
@@ -10780,14 +10780,14 @@ const SmoothlyInputSelect = class {
|
|
|
10780
10780
|
this.addedItems = this.addedItems.concat(index.h("smoothly-item", { value: this.filter, selected: true }, this.filter));
|
|
10781
10781
|
}
|
|
10782
10782
|
render() {
|
|
10783
|
-
return (index.h(index.Host, { key: '
|
|
10783
|
+
return (index.h(index.Host, { key: 'cc2f32af9113cb135f67ad108e713ce816d02982', tabIndex: 0, class: { "has-value": this.selected.length !== 0, open: this.open }, onClick: (event) => this.handleShowOptions(event) }, index.h("div", { key: '7f37e622e83a0b3aa3750838737654bc6830f077', class: "select-display", ref: element => (this.displaySelectedElement = element) }, this.placeholder), index.h("div", { key: '3d4918108064cb74b446de04eb359ac956d9236c', class: "icons", ref: element => (this.iconsDiv = element) }, index.h("smoothly-icon", { key: '4b94e6917943aadebdc6df22de085e723df52d9c', class: "smoothly-invalid", name: "alert-circle", color: "danger", fill: "clear", size: "small", toolTip: this.errorMessage }), index.h("slot", { key: '9139b66beef3ba075edf0d3fc0008b1db1fcba15', name: "end" }), this.looks == "border" && !this.readonly && (index.h("smoothly-icon", { key: '4c5346ce25a54840c1886c33d2bef94fdf5db8be', ref: element => (this.toggle = element), size: "tiny", name: this.open ? "caret-down-outline" : "caret-forward-outline" }))), index.h("slot", { key: 'bb1ffe6ca46c6fa722f03577f63853a85910f01f', name: "label" }), index.h("div", { key: '8d31463792eb47339cb5913a2b6311ccffd2bf65', class: { hidden: !this.open, options: true }, ref: (el) => (this.optionsDiv = el) }, this.filter.length > 0 && (index.h("div", { key: '0f80ba71ac1884f2de0e6f4315cdaf648a455ea5', class: "search-preview" }, index.h("smoothly-icon", { key: 'e0f5bf862bdcc02a76578b6ed91f01d93616efad', name: "search-outline", size: "small" }), this.filter, index.h("smoothly-icon", { key: 'f1d3c0b29e3977fe8220cd6e57bc03cf7e3b0e25', name: "backspace-outline", size: "small", onClick: e => {
|
|
10784
10784
|
e.stopPropagation();
|
|
10785
10785
|
this.filter = "";
|
|
10786
10786
|
this.element.focus();
|
|
10787
|
-
} }), this.mutable && (index.h("smoothly-icon", { key: '
|
|
10787
|
+
} }), this.mutable && (index.h("smoothly-icon", { key: 'ec4d9605893885482781549dc0a19eccfeed2de2', name: "add", size: "small", onClick: e => {
|
|
10788
10788
|
e.stopPropagation();
|
|
10789
10789
|
this.addItem();
|
|
10790
|
-
} })))), index.h("slot", { key: '
|
|
10790
|
+
} })))), index.h("slot", { key: '284a9f4c2c198aa1c6924a86d5925bd2f705bfa5' }), this.addedItems)));
|
|
10791
10791
|
}
|
|
10792
10792
|
get element() { return index.getElement(this); }
|
|
10793
10793
|
static get watchers() { return {
|
|
@@ -10840,7 +10840,7 @@ const SmoothlyInputSubmit = class {
|
|
|
10840
10840
|
}
|
|
10841
10841
|
render() {
|
|
10842
10842
|
var _a, _b;
|
|
10843
|
-
return (index.h(index.Host, { key: '
|
|
10843
|
+
return (index.h(index.Host, { key: '6275b8a59180dfe1a6c9ffe1c251a4bd2fdb1f3d', 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" })))));
|
|
10844
10844
|
}
|
|
10845
10845
|
};
|
|
10846
10846
|
SmoothlyInputSubmit.style = SmoothlyInputSubmitStyle0;
|
|
@@ -10881,7 +10881,7 @@ const SmoothlyItem = class {
|
|
|
10881
10881
|
: false;
|
|
10882
10882
|
}
|
|
10883
10883
|
render() {
|
|
10884
|
-
return (index.h(index.Host, { key: '
|
|
10884
|
+
return (index.h(index.Host, { key: '2bcb4ce39cf6dc6c8ee10b071750cb7831f8492f', tabIndex: -1 }, index.h("slot", { key: 'e16e1cfdcdc3b2adf794846c892e74756c0a6e13' })));
|
|
10885
10885
|
}
|
|
10886
10886
|
get element() { return index.getElement(this); }
|
|
10887
10887
|
static get watchers() { return {
|
|
@@ -10902,9 +10902,9 @@ const SmoothlyLabel = class {
|
|
|
10902
10902
|
}
|
|
10903
10903
|
render() {
|
|
10904
10904
|
var _a;
|
|
10905
|
-
return (index.h(index.Host, { key: '
|
|
10905
|
+
return (index.h(index.Host, { key: 'f2d690e01f4feb5fd77267a90215c635afb0f099', title: this.description, style: {
|
|
10906
10906
|
"--hue": (_a = this.hue) === null || _a === void 0 ? void 0 : _a.toString(),
|
|
10907
|
-
} }, index.h("slot", { key: '
|
|
10907
|
+
} }, index.h("slot", { key: '2e6db8a90c124d58ccaf1dba95081cd9526a4c8c' })));
|
|
10908
10908
|
}
|
|
10909
10909
|
};
|
|
10910
10910
|
SmoothlyLabel.style = SmoothlyLabelStyle0;
|
|
@@ -10923,7 +10923,7 @@ const SmoothlyLazy = class {
|
|
|
10923
10923
|
this.show = true;
|
|
10924
10924
|
}
|
|
10925
10925
|
render() {
|
|
10926
|
-
return (index.h(index.Host, { key: '
|
|
10926
|
+
return (index.h(index.Host, { key: '450f3f9b10d1c1ce6b707ee7436d14b91a02f7ff' }, index.h("slot", { key: '30b4468cc7527a4fc6adbd35a80217503be8618b', name: "before" }), index.h("smoothly-load-more", { key: '878a61f0086a5def6ad24eaa4fa6092e49a60415', onSmoothlyLoadMore: e => this.loadMoreHandler(e) }), this.show && (typeof this.content == "function" ? index.h(this.content, null) : this.content), index.h("slot", { key: 'f5e9b745ba2369f7150a88714a5129ff4ffc7a79' })));
|
|
10927
10927
|
}
|
|
10928
10928
|
};
|
|
10929
10929
|
SmoothlyLazy.style = SmoothlyLazyStyle0;
|
|
@@ -10967,7 +10967,7 @@ const LoadMore = class {
|
|
|
10967
10967
|
}
|
|
10968
10968
|
}
|
|
10969
10969
|
render() {
|
|
10970
|
-
return index.h(index.Host, { key: '
|
|
10970
|
+
return index.h(index.Host, { key: '4f0df4fdcba3f813c7559c7415a60b91c8d3acb0' });
|
|
10971
10971
|
}
|
|
10972
10972
|
get element() { return index.getElement(this); }
|
|
10973
10973
|
};
|
|
@@ -10987,7 +10987,7 @@ const SmoothlyModal = class {
|
|
|
10987
10987
|
this.smoothlyModalChange.emit(this.open);
|
|
10988
10988
|
}
|
|
10989
10989
|
render() {
|
|
10990
|
-
return (index.h(index.Host, { key: '
|
|
10990
|
+
return (index.h(index.Host, { key: '2c2112786afba4ee1e0078af711cc66a3b54ec0f', role: "alertdialog" }, index.h("div", { key: 'e1037c2ea38bfa435b7d641dd5e23c354c97bcf2', class: "modal" }, index.h("div", { key: '1ece8c35264ff9229be44ab51a7501b329d9b952', class: "header" }, index.h("slot", { key: '2fc3f0b4de6d541138144f39d1c79f53aac71edd', name: "header" }), this.closable && index.h("smoothly-icon", { key: '8a53bb4df4ad0c58930e909edf2a4c1852334986', name: "close-outline", fill: "solid", onClick: () => (this.open = false) })), index.h("slot", { key: 'cb01d39b81fd0072650c8e252fe19a61fdaddecb' }), index.h("div", { key: '684d3c1b5abb7f0611d798df79643ba77edfcb30', class: "actions" }, index.h("slot", { key: '640d93cb040871439633722f29c4d82bb7fb4d14', name: "actions" })))));
|
|
10991
10991
|
}
|
|
10992
10992
|
static get watchers() { return {
|
|
10993
10993
|
"open": ["openChanged"]
|
|
@@ -11050,7 +11050,7 @@ const Notification = class {
|
|
|
11050
11050
|
this.onUpdatedNotice(this.notice);
|
|
11051
11051
|
}
|
|
11052
11052
|
render() {
|
|
11053
|
-
return (index.h(index.Host, { key: '
|
|
11053
|
+
return (index.h(index.Host, { key: '8fb5a20434e762590043ed4faf11cec75d008fb0', color: this.properties[0], fill: "solid" }, this.closable && (index.h("smoothly-trigger", { key: 'de26276f71118d785f71c4ae363fd9ddacc71ce7', fill: "clear", name: "close" }, index.h("smoothly-icon", { key: '2e399a9b671be2b1d74e3400d393cb779c03ddc1', name: "close-circle-outline" }))), index.h("span", { key: 'b904641dc0fe92147df5e5cb550207711321915f', class: this.icon ? "icon" : "clean" }, this.icon && index.h("smoothly-icon", { key: '7ab71b91b315668ada24d42f60af2cf0bd397a8c', name: this.properties[1] }), index.h("p", { key: '68e2b2c6a51829cd023bbaa3023790c36e3da46e' }, this.notice.message))));
|
|
11054
11054
|
}
|
|
11055
11055
|
static get watchers() { return {
|
|
11056
11056
|
"notice": ["onUpdatedNotice"]
|
|
@@ -11074,7 +11074,7 @@ const Notifier = class {
|
|
|
11074
11074
|
this.notices = [...this.notices.filter(n => n != event.detail)];
|
|
11075
11075
|
}
|
|
11076
11076
|
render() {
|
|
11077
|
-
return (index.h(index.Host, { key: '
|
|
11077
|
+
return (index.h(index.Host, { key: '01bb9499d8533fc3b57267bcd33cb15bbf2ff864' }, index.h("slot", { key: '6be9c9ddcdca91c5d409ff6f30a45dbb138d4a24' }), index.h("div", { key: '657205e7d19a9fd5a8f3ed826d597358ea5eb013', class: "smoothly-notifier-wrapper" }, this.notices.map(n => (index.h("smoothly-notification", { notice: n, icon: this.icon }))))));
|
|
11078
11078
|
}
|
|
11079
11079
|
};
|
|
11080
11080
|
Notifier.style = SmoothlyNotifierStyle0;
|
|
@@ -11090,9 +11090,9 @@ const SmoothlySpinner = class {
|
|
|
11090
11090
|
}
|
|
11091
11091
|
render() {
|
|
11092
11092
|
const strokeWidth = this.size == "large" ? 6 : this.size == "medium" ? 8 : this.size == "icon" ? 8 : 12;
|
|
11093
|
-
return (index.h(index.Host, { key: '
|
|
11093
|
+
return (index.h(index.Host, { key: 'e398e743d6ae2c9371afedc1af71197697f8627c', style: {
|
|
11094
11094
|
"--spinner-size": this.size == "large" ? "5em" : this.size == "medium" ? "3em" : this.size == "icon" ? "1.8em" : "1.2em",
|
|
11095
|
-
} }, index.h("svg", { key: '
|
|
11095
|
+
} }, index.h("svg", { key: 'f90840c895e699f9a7e0660b4c4487711992ce0c', class: "spinner", viewBox: `0 0 ${60 + strokeWidth} ${60 + strokeWidth}`, xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { key: 'f431c63f8b43f51fbc89aa7b926abd81202d4485', class: "path", fill: "none", "stroke-width": strokeWidth, "stroke-linecap": "round", cx: `${30 + strokeWidth / 2}`, cy: `${30 + strokeWidth / 2}`, r: "30" }))));
|
|
11096
11096
|
}
|
|
11097
11097
|
};
|
|
11098
11098
|
SmoothlySpinner.style = SmoothlySpinnerStyle0;
|
|
@@ -11127,7 +11127,7 @@ const SmoothlySummary = class {
|
|
|
11127
11127
|
}
|
|
11128
11128
|
}
|
|
11129
11129
|
render() {
|
|
11130
|
-
return (index.h("details", { key: '
|
|
11130
|
+
return (index.h("details", { key: '013ca7fe45e2706b0be77690a72ff55c37bd03cd', onToggle: e => this.toggleHandler(e), open: this.open }, index.h("summary", { key: 'ff74d57224d99e0623f866711fca8d21d4635eb5' }, index.h("smoothly-icon", { key: '4a8b741fe22d64f2f411e6704b9b7b4d5d14b288', name: "caret-forward", color: this.color, fill: this.fill, size: this.size }), index.h("slot", { key: 'a8f5a0416c17b4c011b508f1b44f93a0362709b9', name: "summary" })), index.h("slot", { key: '9d7905d61c1cd60c1bd44c3e812ecd2c18eb63b7', name: "content" })));
|
|
11131
11131
|
}
|
|
11132
11132
|
};
|
|
11133
11133
|
SmoothlySummary.style = SmoothlySummaryStyle0;
|
|
@@ -11168,7 +11168,7 @@ const SmoothlyTab = class {
|
|
|
11168
11168
|
}
|
|
11169
11169
|
}
|
|
11170
11170
|
render() {
|
|
11171
|
-
return (index.h(index.Host, { key: '
|
|
11171
|
+
return (index.h(index.Host, { key: 'c899210cbea49b143b2de3b443dc4cf656014d4d' }, index.h("div", { key: '1ffb57e2b5286e818526d81ae9516357ab3050ec' }, index.h("label", { key: '7e5c98ae6cf9124a5165d8132f57cadf1b07b677' }, this.label)), index.h("div", { key: '0a0b0faef055809e0da293b3efa092af2d81b9e3', hidden: !this.open }, index.h("slot", { key: '4e16af2cc30e5e62f1af8818c4c5037f46383a70' }))));
|
|
11172
11172
|
}
|
|
11173
11173
|
static get watchers() { return {
|
|
11174
11174
|
"open": ["openHandler"]
|
|
@@ -11191,7 +11191,7 @@ const SmoothlyTable = class {
|
|
|
11191
11191
|
event.stopPropagation();
|
|
11192
11192
|
}
|
|
11193
11193
|
render() {
|
|
11194
|
-
return (index.h(index.Host, { key: '
|
|
11194
|
+
return (index.h(index.Host, { key: '272c1550a6839b84a3182b78744a8d744e9f201a', style: { "--columns": this.columns.toString() } }, index.h("slot", { key: '6d0e2a8487189de01d90a785966205648160d580' })));
|
|
11195
11195
|
}
|
|
11196
11196
|
};
|
|
11197
11197
|
SmoothlyTable.style = SmoothlyTableStyle0;
|
|
@@ -11204,7 +11204,7 @@ const SmoothlyTableBody = class {
|
|
|
11204
11204
|
index.registerInstance(this, hostRef);
|
|
11205
11205
|
}
|
|
11206
11206
|
render() {
|
|
11207
|
-
return (index.h(index.Host, { key: '
|
|
11207
|
+
return (index.h(index.Host, { key: '568b240511f1f928e398f24090134204e05f5725' }, index.h("slot", { key: '686d093a90d9a2a16492108c45ff2b9d60bbef32' })));
|
|
11208
11208
|
}
|
|
11209
11209
|
};
|
|
11210
11210
|
SmoothlyTableBody.style = SmoothlyTableBodyStyle0;
|
|
@@ -11219,7 +11219,7 @@ const SmoothlyTableCell = class {
|
|
|
11219
11219
|
}
|
|
11220
11220
|
render() {
|
|
11221
11221
|
var _a;
|
|
11222
|
-
return (index.h(index.Host, { key: '
|
|
11222
|
+
return (index.h(index.Host, { key: '8cd74b926185e5e15b8c48a0723ec6c9b03b1227', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, index.h("slot", { key: 'a1eb377c3532feb0ba18cd74fb09b0a00a780033' })));
|
|
11223
11223
|
}
|
|
11224
11224
|
};
|
|
11225
11225
|
SmoothlyTableCell.style = SmoothlyTableCellStyle0;
|
|
@@ -11232,7 +11232,7 @@ const SmoothlyTableDemo = class {
|
|
|
11232
11232
|
index.registerInstance(this, hostRef);
|
|
11233
11233
|
}
|
|
11234
11234
|
render() {
|
|
11235
|
-
return (index.h(index.Host, { key: '
|
|
11235
|
+
return (index.h(index.Host, { key: '3046978ea77a2bff648a14420f05f85e398a0927' }, index.h("smoothly-table-demo-filler-row", { key: '6690a2d0b36d1e7f7969a61d78908de0fc568a50' }), index.h("smoothly-table-demo-group", { key: '37e23b74ae8923c970bbb2639e640222feedc307' }), index.h("smoothly-table-demo-colspan", { key: 'b8539d27f7a8f36cd1b7bca1bf54eb54183db0b8' }), index.h("smoothly-table-demo-simple", { key: '89fd22a0e50f0c87d39437fa5fe04b66e2280584' }), index.h("smoothly-table-demo-nested", { key: 'b4b1eae30554c4f7a56891112473c2eb84232263' }), index.h("smoothly-table-demo-filtered", { key: '7f9ec900541185901c822b5450edb4aca4f4ee2c' })));
|
|
11236
11236
|
}
|
|
11237
11237
|
};
|
|
11238
11238
|
SmoothlyTableDemo.style = SmoothlyTableDemoStyle0;
|
|
@@ -11245,7 +11245,7 @@ const SmoothlyTableDemoColspan = class {
|
|
|
11245
11245
|
index.registerInstance(this, hostRef);
|
|
11246
11246
|
}
|
|
11247
11247
|
render() {
|
|
11248
|
-
return (index.h(index.Host, { key: '
|
|
11248
|
+
return (index.h(index.Host, { key: 'f3c409f0b6f43da04fbe409c7ed7ebadf5c94799' }, index.h("smoothly-table", { key: '54b821e2e4524e7eecda98229df2319fc48c7724', columns: 3 }, index.h("smoothly-table-head", { key: '422385fdbb992c1d32cd6c8d0876d550f615f0c6' }, index.h("smoothly-table-row", { key: '2ad82993c654b485c79962b606eff1953644670c' }, index.h("smoothly-table-cell", { key: 'f8f42a802e34b3695d04e2de59a99b49c6192ecf' }, "Date"), index.h("smoothly-table-cell", { key: '79681fd1fe78adb229aaf3071ae51ba8161c7ba0' }, "Skip"), index.h("smoothly-table-cell", { key: '311219701e89b0ea46cac7c9e7334eb3eabc5501' }, "Total"))), index.h("smoothly-table-body", { key: '75a1ec1e2629ed1220673b48adca3189617f7443' }, index.h("smoothly-table-row", { key: '49295b1e8cbbf145ecca779851285e14665dff56' }, index.h("smoothly-table-cell", { key: '456af9cb2a8f86b7a63890fe8f5e8f581915be33', span: 2 }, index.h("smoothly-display", { key: 'e7031f02b0b241830e60bfd811757db862305df9', type: "date", value: "2024-01-01" })), index.h("smoothly-table-cell", { key: 'fb2be68daaa5221b44c7e3db0b55ac899c40acdd' }, index.h("smoothly-display", { key: '086f117daf113001597da48844df96f22d631b7f', type: "price", value: 120, currency: "EUR" }))), index.h("smoothly-table-row", { key: '97a1254a17a62dd45b82290c6bf4fef2853d7907' }, index.h("smoothly-table-expandable-cell", { key: 'c44e6b35ef42095c057c84696b536e9dddad3027', span: 2 }, index.h("smoothly-display", { key: '13a7b5c6d3defc5aa8d48f238f3de47e09a5ee2c', type: "date", value: "2024-01-02" }), index.h("smoothly-lazy", { key: '1278a07efc56a1bcd4360a2de22c0f014ed343cc', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-02T13:37:00.000Z" }) })), index.h("smoothly-table-expandable-cell", { key: '2f6cdd2a7cfcb741ed0d8ff8e2aa64d6221d42df' }, index.h("smoothly-display", { key: '5d716640836a1e215802d0584a894bd1b69633d2', type: "price", value: 220, currency: "EUR" }), index.h("smoothly-lazy", { key: '1f2d1719387d09873db7affab6b4989253e5d46b', slot: "detail", content: index.h("span", null, index.h("smoothly-display", { type: "price", value: 120, currency: "EUR" }), " + ", index.h("smoothly-display", { type: "price", value: 100, currency: "EUR" })) }))), index.h("smoothly-table-row", { key: 'b2a3418c23c1563a518b563b9308e2ab1be21bb0' }, index.h("smoothly-table-cell", { key: 'f095ecfb75a74fd65fc7d0c20104947d02dd9864' }, index.h("smoothly-display", { key: 'b6ab78cc06b647366d9da976a220d186cb10c949', type: "date", value: "2024-01-02" })), index.h("smoothly-table-cell", { key: 'a5b5a5c7b8b01c5ba52fbd8ecb45ba5ab109120d' }, "Not Skipped"), index.h("smoothly-table-cell", { key: '9803423aab3535613a0b812b94b62f618a832443' }, index.h("smoothly-display", { key: '1a2f69afa1560deb43141bf1e62b47e324e9053f', type: "price", value: 320, currency: "EUR" })))))));
|
|
11249
11249
|
}
|
|
11250
11250
|
};
|
|
11251
11251
|
SmoothlyTableDemoColspan.style = SmoothlyTableDemoColspanStyle0;
|
|
@@ -11264,7 +11264,7 @@ const SmoothlyTableDemoFillerRow = class {
|
|
|
11264
11264
|
}, 3000);
|
|
11265
11265
|
}
|
|
11266
11266
|
render() {
|
|
11267
|
-
return (index.h(index.Host, { key: '
|
|
11267
|
+
return (index.h(index.Host, { key: 'f7a6e988e23fbfe0d327f2c2c0ea383e91e6c00d' }, index.h("smoothly-display", { key: '1c15584e9359a22e169f9d996b64c2e4a8642e70', type: "text", value: "Filler row" }), index.h("smoothly-table", { key: 'ff3d8237d67bee82f468f931909d6f7aa9ea1cf2', color: "primary", columns: 4 }, index.h("smoothly-table-head", { key: 'aa696f144f5eb68825668f25c70a47ebe604bfe0' }, index.h("smoothly-table-row", { key: 'a08b9a87b9e3d22e5052f835839b819509669bae' }, index.h("smoothly-table-cell", { key: '47cbc283c04f9de90787063b55567c62176b3b88' }, "Breed"), index.h("smoothly-table-cell", { key: '36576f62ebe64e4666256f71f3bba1d6865fb810' }, "Country"), index.h("smoothly-table-cell", { key: '86ab4675cbab63fe53fdd0c50249f6c9c954d2eb' }, "Coat"), index.h("smoothly-table-cell", { key: '33445c896de6507a1786622e87600d6799a853d2' }, "Origin"))), index.h("smoothly-table-body", { key: '3199cb2736ccc655d0a5e3a0b27e8957e7fade3d' }, this.cats === undefined ? (index.h("smoothly-table-filler-row", null, "No data to display")) : this.cats.length === 0 ? (index.h("smoothly-table-filler-row", null, index.h("smoothly-spinner", { style: { margin: "auto" }, color: "default", size: "small" }))) : (this.cats.map(a => (index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, a.breed), index.h("smoothly-table-cell", null, a.country), index.h("smoothly-table-cell", null, a.coat), index.h("smoothly-table-cell", null, a.origin)))))))));
|
|
11268
11268
|
}
|
|
11269
11269
|
};
|
|
11270
11270
|
SmoothlyTableDemoFillerRow.style = SmoothlyTableDemoFillerRowStyle0;
|
|
@@ -11336,18 +11336,18 @@ const TableDemoFiltered = class {
|
|
|
11336
11336
|
}
|
|
11337
11337
|
render() {
|
|
11338
11338
|
const cats = this.cats && filter(this.criteria, this.cats);
|
|
11339
|
-
return (index.h(index.Host, { key: '
|
|
11339
|
+
return (index.h(index.Host, { key: '9ed2288b9aa0b7fec71e9034742b3ced8fb95335' }, index.h("smoothly-display", { key: 'c9e9f9f84b649977c431411a45c9a7ef4c708650', type: "text", value: "Filtered" }), index.h("smoothly-filter", { key: 'df8733d3749d616833ad435fc2cf964a4d2889a2' }, index.h("smoothly-filter-toggle", { key: '28c6c2405c5e0ec916bdff7b01ef5f05b433594b', properties: { ["nested.pattern"]: "Ticked", breed: "" }, icon: "add", toolTip: "Nested Ticked", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '28356b3ac2762fbb0b02daa481a725b7c9de4ecf', properties: { pattern: "Ticked", breed: "" }, icon: "paw", toolTip: "Ticked cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '84f494b764c2cb58c93a9dbc3d3937bc83950267', properties: { breed: "Bombay", pattern: "Solid" }, icon: "radio-button-on", toolTip: "Solid bombay cats", slot: "bar" }), index.h("smoothly-filter-toggle", { key: '3fb0d6fcaabced6b54cf388785c62dbb712d4ea2', properties: { pattern: "Colorpoint" }, not: true, active: true, icon: "alert", toolTip: "Colored cats", slot: "bar" }), index.h("smoothly-filter-select", { key: '455dbc1ae303429a13b0d40d56c4db3ce3ea923e', menuHeight: "5items", label: "coat", property: "nested.coat", slot: "bar", multiple: false }, this.cats &&
|
|
11340
11340
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
11341
11341
|
var _a;
|
|
11342
11342
|
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));
|
|
11343
|
-
})), index.h("div", { key: '
|
|
11343
|
+
})), index.h("div", { key: '65b8bfa14a1fe65f71e5b3d88422526d5300f316', slot: "detail" }, index.h("smoothly-form", { key: '606c9015213fc51bede9d2390204ab548d5741de', looks: "border" }, index.h("smoothly-filter-select", { key: 'aa61ce0e551a0737da8c6d3dd0f7fcf53cb22071', menuHeight: "5items", label: "coat", property: "nested.coat", multiple: true }, this.cats &&
|
|
11344
11344
|
Object.values(this.cats.reduce((r, cat) => (cat.nested ? Object.assign(Object.assign({}, r), { [cat.nested.coat]: cat }) : r), {})).map(cat => {
|
|
11345
11345
|
var _a;
|
|
11346
11346
|
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));
|
|
11347
|
-
})), index.h("smoothly-filter-select", { key: '
|
|
11348
|
-
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: '
|
|
11347
|
+
})), index.h("smoothly-filter-select", { key: 'fafee16b81d94a8de99ecb1595311f699e77772a', menuHeight: "5items", label: "breed", property: "breed", multiple: false }, this.cats &&
|
|
11348
|
+
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: 'd093121dbac5c4da3d847366e14126623cc3bfcc', menuHeight: "5items", label: "names", property: "nested.names", multiple: true, type: "array" }, Object.keys(Object.values(names)
|
|
11349
11349
|
.flat()
|
|
11350
|
-
.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: '
|
|
11350
|
+
.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: 'f70f7009cfa2f2768c8201d1558131723aec8473', label: "Coat", property: "coat" }), index.h("smoothly-filter-input", { key: '4b86865751461f38e68e3ee3cd3c73e3002ea39e', label: "Nested Coat", property: "nested.coat" })))), !cats ? ("Failed to load data.") : (index.h("smoothly-table", { columns: 4 }, index.h("smoothly-table-head", null, index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, this.selector.render(cats)), index.h("smoothly-table-cell", null, "Breed"), index.h("smoothly-table-cell", null, "Coat"), index.h("smoothly-table-cell", null, "Price"))), cats.map(cat => (index.h("smoothly-table-row", null, index.h("smoothly-table-cell", null, this.selector.render(cat)), index.h("smoothly-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country: ", cat.country)), index.h("smoothly-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern)), index.h("smoothly-table-cell", null, index.h("smoothly-display", { type: "price", value: cat.price, currency: "SEK" }))))), index.h("smoothly-table-foot", null, index.h("smoothly-table-row", null, index.h("smoothly-table-cell", { span: 3 }, index.h("smoothly-display", { type: "text", value: `Selected: ${this.selector.selected.length != 0 ? this.selector.selected.length : cats ? cats.length : "?"}` }))))))));
|
|
11351
11351
|
}
|
|
11352
11352
|
};
|
|
11353
11353
|
const names = {
|
|
@@ -11366,7 +11366,7 @@ const SmoothlyTableDemoGroup = class {
|
|
|
11366
11366
|
index.registerInstance(this, hostRef);
|
|
11367
11367
|
}
|
|
11368
11368
|
render() {
|
|
11369
|
-
return (index.h(index.Host, { key: 'ac1e2b26f2380a5f96245f1b2163151b2ad7b3e7' }, index.h("smoothly-display", { key: '2aacadd33613d06b333ad69891486fd8b6eb69ef', type: "text", value: "Group" }), index.h("smoothly-table", { key: '57d9e86ee2e9886663ebaa8a4eed65d15a6b7b92', color: "primary", columns: 2 }, index.h("smoothly-table-head", { key: '51b92cb9bc233305b122dcf17218ffa8484fc45d' }, index.h("smoothly-table-row", { key: '594ed85e562ed3fb61d06803a4e068cb6597c599' }, index.h("smoothly-table-cell", { key: '1a2fd79dd5b6cf3639d46ecc7575d8875774348c' }, "Date"), index.h("smoothly-table-cell", { key: 'be4715328ec4467c724bf09c370ec1091fedb771' }, "Total"))), index.h("smoothly-table-body", { key: '8f33c69d6915080b09f39fc81f24c0d884141fbe' }, index.h("smoothly-table-row-group", { key: 'd0f4dd5a1f7df7b292bd2fa48548ab11f2331e23', align: true }, index.h("smoothly-display", { key: '0163976ad21213b03059df5b33fe8667e4b1ab61', slot: "start", type: "date", value: "2024-01-01" }), index.h("smoothly-display", { key: '9fa1e617b130038c017ffbb8b14c16b894bd0fa7', slot: "end", type: "price", currency: "EUR", value: 510 }), index.h("smoothly-table-expandable-row", { key: '01cd244dc7b6c8c2c46466932d2e1b8fcc72136b' }, index.h("smoothly-table-cell", { key: '599ea21bf02dd781b0e534f536d9db2d357411dd' }, index.h("smoothly-display", { key: 'e69887f04252006b8c815497717683d6bff103ee', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'c7083e894459c0af28577d7f457445fcfbb332b8' }, index.h("smoothly-display", { key: 'ebd41fd0de8f02cd8791fbf1a8133d0cf70e7bfa', type: "price", currency: "EUR", value: 250 })), index.h("smoothly-lazy", { key: '1183b94bfa97c42c4a283291c4036b91e9aba84f', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '197aa13a0ba31133e08f2723ee398b541052e377' }, index.h("smoothly-table-cell", { key: '148263446a5546a9aea1c24c627a612a5447a22c' }, index.h("smoothly-display", { key: 'ab9646e529fa57b8bf1bf3568643891bd6b34659', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: '58a8d86babe68e9c6988bd2972b0edda1749c0ec' }, index.h("smoothly-display", { key: 'cfa34641d9c1adb8e7f6e6239bedcd44bbd4d908', type: "price", currency: "EUR", value: 260 })), index.h("smoothly-lazy", { key: 'def091fc9cc806d11379792cb18a027591155484', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index.h("smoothly-table-row", { key: '6257f6207341f724d6a9dffeeaaf8186fb36673a' }, index.h("smoothly-table-cell", { key: '93989c61fe42aa07f202610f0929c2049faf8301' }, index.h("smoothly-display", { key: 'ae0ac80a8105d5137c7541cefaa0da293d7c166c', type: "date", value: "2024-01-02" })), index.h("smoothly-table-cell", { key: 'c049824b441dcfd5a90952814b7932e0a706a611' }, index.h("smoothly-display", { key: '1109b09b8fd9ab91aacad6fac87663dd7d8bc397', type: "price", currency: "EUR", value: 130 }))), index.h("smoothly-table-row-group", { key: '8024d8c48bc150254bb7c32b9b1e4d25c1f0227b' }, index.h("smoothly-display", { key: '8b0512426d5e003c7dcd168a7033ba91c5482f3e', slot: "start", type: "date", value: "2024-01-03" }), index.h("smoothly-display", { key: 'fcf8088def567c886ef14394ae761c7481e8ae69', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '77855907af956570d16bc04979b2d133bdf0f3dc' }, index.h("smoothly-table-cell", { key: '645dd969cf30cad850143b7746775f67e8dd067c' }, index.h("smoothly-display", { key: 'a8c4208116f295666224502abc1935df992caf25', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: '6f9e7bd4df149dc8f26c7e4cac625c6ae50ba6e5' }, index.h("smoothly-display", { key: '561248e3a9a090f71a5e8c0824e04cc151781346', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '01e619b768f4d6a75d330717b8c62caff3b1d5de', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '11fc0d3d5af141e92f95cc0f33d1624b6ecfc702' }, index.h("smoothly-table-cell", { key: '53b593499f30b1fe9bbcdcf9e34a3843f595065d' }, index.h("smoothly-display", { key: 'ded56d951cc0954619d31c9153f9b4b38d04b4ac', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'f45ee29586add80ae10f886974fa99f7b2692f5d' }, index.h("smoothly-display", { key: '26940755ba0efb3151154f4efca225f071b231e2', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '4b48c9d516e1c0acd6de61f385563f0cce5fc3f5', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: '49b134a12cbee6c373abd8e1cb29bd7a42e58122' }, index.h("smoothly-display", { key: 'ca0b7af40a5b904722ea9352471dc592b6888d22', slot: "start", type: "date", value: "2024-01-04" }), index.h("smoothly-table-expandable-row", { key: '619bf96abacccf28b1d0cc6b4cf760a20cabcfd0' }, index.h("smoothly-table-cell", { key: 'f81c78d4f6ac39a9f511b9c2a3f1781861462e13' }, index.h("smoothly-display", { key: '02941b7e64aa0b43fc204a67f3239af65c818fbf', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'c93c70f460e9ddbb9d2ddadec99771cb8b80787b' }, index.h("smoothly-display", { key: '1f0fad76ef3a0775bfaa7901bea6d039a480808c', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '88b01a1486453745ec84673e9b8ba1d3b5665fd4', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'f46236401cff7790c805501aaf17fbb27cb5deef' }, index.h("smoothly-table-cell", { key: '983123f84dac8b8444d574c0f17b40fde54f82b7' }, index.h("smoothly-display", { key: 'ce2ce797c6da24fe2b792ea0fdbedf31446c554b', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'd7cee8e15c2729262626df9e7fb4f274081bf6d5' }, index.h("smoothly-display", { key: '3e030ede5ddec3069cd7523ccf0e72667025c897', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '20444c6ca489da00358efda2aecd4d2b4828d943', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: 'b4102e638c5be5706df5202e443dc6627e5100f9' }, index.h("smoothly-display", { key: '835b77937ce71f8dccadfbe27424698654758bc5', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '133846d95cec85f4d36d3a35ea342b170c907fdf' }, index.h("smoothly-table-cell", { key: '96e0ab35c87f41b52f5ac25fa37c91577d3dab4c' }, index.h("smoothly-display", { key: '697fcaf06d91f8fcf675a9c181752eda2edcb957', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: '01e3e076f6e3b2237baa5ae94c11d099f40bc2c1' }, index.h("smoothly-display", { key: 'dfabd0a43902e0d2468e45c4c0b7e57c26c72f21', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '74ba4dce88edcb26d388dc570fc9e7f683ffe914', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'fc95ba0ad6792d17b9a152e220004c0a0ae915fa' }, index.h("smoothly-table-cell", { key: '4095a8723d5dfef1a5311d02b5eb6ddacdd21d4f' }, index.h("smoothly-display", { key: '79e73efb2d15ad1423ff50fc59850d33e0c37332', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'bcebdc2bd0446896de6bbe63b36353d21572e4d2' }, index.h("smoothly-display", { key: 'debfdac7984b94192a8f4b0de882830a0fe1b9f5', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '57853f97602df3961cc1921e73ad0eb7e2edd2cb', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index.h("fake-group-wrapper", { key: '3d4d9d34a570a9a1ed3762aa1884d105ff1c3921' }, index.h("smoothly-table-row-group", { key: 'd4b1ace25b3870f2e5c9ff843eef7cdc58f8d77b' }, index.h("smoothly-display", { key: 'bef9be6c16383367efeed4e0329408991f86afe3', slot: "start", type: "date", value: "2024-01-06" }), index.h("smoothly-display", { key: '7852ab6f71d06069c70ee749f7d75da35e56b3dd', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("fake-row-wrapper", { key: '59d809fadda4bf589598feb8fcea0775d524b5ac' }, index.h("smoothly-table-row", { key: '4be357fc59ab67ab05cb567f922967a196a4e4ee' }, index.h("fake-cell-wrapper", { key: '287d8fac5591b448b02f02170011ec50213c5724' }, index.h("smoothly-table-cell", { key: '0d6caa57455cc936a149fa987616ddd143a135e0' }, index.h("smoothly-display", { key: '90b82e4e9d5d28f6825fc8e4a225c887b37cea1f', type: "date", value: "2024-01-02" }))), index.h("fake-expandable-cell-wrapper", { key: '0d4a64edab46d9ae0d69831713a8cfaca6630da1' }, index.h("smoothly-table-expandable-cell", { key: '523918968f3a22ddc5de7d0d7577e18d524a9aaf' }, index.h("smoothly-display", { key: '9f8da05b5a433d82fb68f656217a22c4801d07c9', type: "price", currency: "EUR", value: 130 }), index.h("smoothly-lazy", { key: 'a196d55674366110428f32f469f414048f9a8c8b', 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: '42945048578ebfb8e5573604347776dae8efb2dc' }, index.h("smoothly-table-expandable-row", { key: '9a3d3fe7187c0181beb0d0d71519d3fc6caec842' }, index.h("fake-cell-wrapper", { key: 'a8c8cc790dc98f50640c7c55657f8772634d50ff', class: "span-2" }, index.h("smoothly-table-cell", { key: '1ad78842759037672fe9e31d08c8c845b46b9814', span: 2 }, index.h("smoothly-display", { key: '96951fcb252a7c29a5c69ddc1b319e706f806cdb', type: "date", value: "2024-01-07" }))), index.h("smoothly-lazy", { key: '7770e38591005b8f87cf28ae9b46643b84804fa8', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index.h("smoothly-table-row-group", { key: '6b57c7aecd0e4556c47826bbdedd42c3b716ef73' }, index.h("smoothly-display", { key: '26e21c0bc8fea7e27387dde2471fd34f6fa3623b', slot: "start", type: "date", value: "2024-01-08" }), index.h("smoothly-display", { key: '39995adb80b1c246a45aaad63d28b31a36d1b5f6', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
11369
|
+
return (index.h(index.Host, { key: '525eeb222fc5adf7686f01218b851237c1999f41' }, index.h("smoothly-display", { key: '16b431fd3e0c5121621001a637e35efa0471775d', type: "text", value: "Group" }), index.h("smoothly-table", { key: '4e71111d0ab87c2a1b7c017bac2467846a196a67', color: "primary", columns: 2 }, index.h("smoothly-table-head", { key: '9bd108bb1e59a6ded5ec13ef0a87c36173be7f75' }, index.h("smoothly-table-row", { key: '82ac75f037ae43980e3379e94d9b8d5ab0a8b0d2' }, index.h("smoothly-table-cell", { key: '9f5e0d4b0b0089fb11325cedde0d3cb38311e74d' }, "Date"), index.h("smoothly-table-cell", { key: 'f8245b75fce32068c78393fb4739489ae8f198f4' }, "Total"))), index.h("smoothly-table-body", { key: 'd45013659fca29b22289625304ffee15ca8a5ef3' }, index.h("smoothly-table-row-group", { key: '1deb59cea4ed8fae6b8ead06c530d1ef28026592', align: true }, index.h("smoothly-display", { key: '9497ecdf2558f9f3a7e24495ace80c42a1667f52', slot: "start", type: "date", value: "2024-01-01" }), index.h("smoothly-display", { key: 'c31bd0d77e8226c8548eb2088425d022554de981', slot: "end", type: "price", currency: "EUR", value: 510 }), index.h("smoothly-table-expandable-row", { key: '5e8aa13aa0364e233888b5e9243697991105babf' }, index.h("smoothly-table-cell", { key: '653203b35b3fc24aca74f01eddf8a95e544985f4' }, index.h("smoothly-display", { key: '11e70eee43318e5a418504717297f8a0d322949f', type: "date-time", value: "2024-01-01T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'edf443bf38474b73585310979c9cae9e1a710bcd' }, index.h("smoothly-display", { key: 'd01ce8934c552744864f98653ac86c906d8c7125', type: "price", currency: "EUR", value: 250 })), index.h("smoothly-lazy", { key: '226222ba98a44d3a2177b9426ca075733dbf310f', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '54eb65d5619d4bf9393b9d2b4ab93526d5713157' }, index.h("smoothly-table-cell", { key: 'c5514790ff8ab9bbc749f17b407562ecb6eb99ea' }, index.h("smoothly-display", { key: '39597722d78f192d2e4fbd05210a3f094712d3b8', type: "date-time", value: "2024-01-01T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'a41a3848f53285f5cb1c08be15580476138b1c1f' }, index.h("smoothly-display", { key: '01979311ac640d12e119027b23403196e5db17fd', type: "price", currency: "EUR", value: 260 })), index.h("smoothly-lazy", { key: '5100c23d76896339eb498b799d40111a4e25209f', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-01T13:37:00.000Z") }))), index.h("smoothly-table-row", { key: '597ce39b9479a1e1357f796a71e2d1c503d919a8' }, index.h("smoothly-table-cell", { key: '40030ccef075d3db739f93313bcbf4fd3b217824' }, index.h("smoothly-display", { key: '1b7d2f7f188904a64027183c5b92ee46696a58b3', type: "date", value: "2024-01-02" })), index.h("smoothly-table-cell", { key: 'a1bab5c05633dedaa4577c3467c467e8434c9dff' }, index.h("smoothly-display", { key: '149cb3594ff7fce3804b249db2c0dc4eaab7c792', type: "price", currency: "EUR", value: 130 }))), index.h("smoothly-table-row-group", { key: '3f4cb98c9833ef2db6d620c19edb99664fceef81' }, index.h("smoothly-display", { key: '43da59e71204d7de7bb96dd2dca0f0e2f8ccb45c', slot: "start", type: "date", value: "2024-01-03" }), index.h("smoothly-display", { key: '8e9e3f780a49c66022c2d1a862fd4a045dccd27a', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '1cfc918002f3265ad9f41015d48c1f6b1239064f' }, index.h("smoothly-table-cell", { key: '42a745d0332754db7292bf73a7819477affcdc9a' }, index.h("smoothly-display", { key: '243ecea204945b53e1214e54451f6e1466c8da16', type: "date-time", value: "2024-01-03T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: '4e2a0cd1afd162c601598fafffd16bd603027b21' }, index.h("smoothly-display", { key: '8808efedafd877fbd37e86a48116e0c097c5f87b', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '15e33aa24d8a9b16cc769575f447906b6c857feb', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: '2f7150bbf8788efdf3f952699ee0152314e50ff2' }, index.h("smoothly-table-cell", { key: '22a1cae330863e4d200242ca60ecc02e9d6d701b' }, index.h("smoothly-display", { key: '46af4c591ed61833edf8270a3897ce5523d926f3', type: "date-time", value: "2024-01-03T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'd10025ffebe60be43a1be27f9f45256645601169' }, index.h("smoothly-display", { key: '6845240c041b29305eacfd40ac5a2d7c6e20111e', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '77894ef80c6e032306681e926d347c942850f73d', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-03T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: '05ae54333b11f8fbf78a278b2bfba561e63ae0df' }, index.h("smoothly-display", { key: '2fc5952b6551f0fc8766e7152b9966258761bb91', slot: "start", type: "date", value: "2024-01-04" }), index.h("smoothly-table-expandable-row", { key: '32b4a1ff9f17e25e60c07ec20452f88af599bd1e' }, index.h("smoothly-table-cell", { key: '828d082dd015e349dc37ff317619cd2d56f3470e' }, index.h("smoothly-display", { key: '74267a4292dd9ead42f26028bdd76fff623a2693', type: "date-time", value: "2024-01-04T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'cd67a1766268f2d56559e7a60ee01046a7fc7a18' }, index.h("smoothly-display", { key: '05431f09e4bebf6ff856a41e0862a38cbe6137f2', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '67b58fb40bb98c3936d28afc76543df5748de6aa', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'f422620e633abee78fb069729fb95537e5cb94b6' }, index.h("smoothly-table-cell", { key: 'a590a63eece73f6ba0401c273962b960a801f7c0' }, index.h("smoothly-display", { key: 'dc59556c574211873d979ce2b21eb6944bbc7ea6', type: "date-time", value: "2024-01-04T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: '2f9adf000972ce9ac3e5f9508d3e551e85da4f0f' }, index.h("smoothly-display", { key: '463b5ad3a144ffdea4e5815a9fdaef810579d668', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: '24f174c46ca2b1d48a63ba9bb5af8aed4f677807', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-04T13:37:00.000Z") }))), index.h("smoothly-table-row-group", { key: '85c3a2b72afd6b4bd6ca5e049e5d998c7f452617' }, index.h("smoothly-display", { key: 'a3eab9df28f622cb7209d94998b9cd7092cf4094', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("smoothly-table-expandable-row", { key: '2f519457811a80b7b046c751c7ca7ba809cc5a7e' }, index.h("smoothly-table-cell", { key: 'bce1e2896e6c67cc2f4ab6ea9a33da7f2ac6baaf' }, index.h("smoothly-display", { key: '0b399fa785d1c1584c2b5a0e2c62089cdc70b853', type: "date-time", value: "2024-01-05T01:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'b11c1ccd8926cea12bab9b17e0213cd92448179b' }, index.h("smoothly-display", { key: 'f6f64669ddbb7929c4bf25434e2f1f01e7d28b8d', type: "price", currency: "EUR", value: 320 })), index.h("smoothly-lazy", { key: '491217ba81f5f259eaf8bcf06f81a38c9786da5a', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T01:37:00.000Z") })), index.h("smoothly-table-expandable-row", { key: 'e42f9a96e747c23a31fec50e85be8cf7adb6b5f4' }, index.h("smoothly-table-cell", { key: 'fff1468ed1fa968decd385ccb4d567db558d5236' }, index.h("smoothly-display", { key: 'd69fed5921022a7f1d9ee02068e2310939d12820', type: "date-time", value: "2024-01-05T13:37:00.000Z" })), index.h("smoothly-table-cell", { key: 'c2f9064d078bd2acc1372b13570da65de9540a28' }, index.h("smoothly-display", { key: '74576b278170b1fbfd42bcb460e04e3b3c0c278d', type: "price", currency: "EUR", value: 400 })), index.h("smoothly-lazy", { key: 'cb82144ebf48347f1e787948b7e2741626281cac', slot: "detail", content: index.h(index.Fragment, null, "Details of 2024-01-05T13:37:00.000Z") }))), index.h("fake-group-wrapper", { key: '1d0501694958227a3fc26b5a71e47ba8c0f67fa9' }, index.h("smoothly-table-row-group", { key: 'cbcd31378bc87715a07f242e5b1e088b67c1ce36' }, index.h("smoothly-display", { key: '7ca0a0f5b277448b1427451ffcee6df822b6c0a0', slot: "start", type: "date", value: "2024-01-06" }), index.h("smoothly-display", { key: 'a46ecf07459ba03d79db21f31f0c7570f8247a49', slot: "end", type: "price", currency: "EUR", value: 720 }), index.h("fake-row-wrapper", { key: 'a0e0f8583067c85c2cfcd753bf77048c00c23ca0' }, index.h("smoothly-table-row", { key: '18bc28ff57dacc6ab43fac17ac2918297188363b' }, index.h("fake-cell-wrapper", { key: 'f74e9f2cf3a66f177b65005629dbb156668980c3' }, index.h("smoothly-table-cell", { key: 'd51d0c9b75b6deaba1e0fa1761e857d01bd349fa' }, index.h("smoothly-display", { key: 'cf39b5b2a9b261b586348fd9d8739533b5a0d100', type: "date", value: "2024-01-02" }))), index.h("fake-expandable-cell-wrapper", { key: 'b3c63c3130812325d382ab8ae4eff274e1dcc2c2' }, index.h("smoothly-table-expandable-cell", { key: '3a2d4f1c077e846f9f03605e9b8ccd24eac32914' }, index.h("smoothly-display", { key: '37cf54b0a6eb2c3787a074d45d563ce2a379656a', type: "price", currency: "EUR", value: 130 }), index.h("smoothly-lazy", { key: '6776c4a2b15dc519c1fd4fde9b0db19d939e713f', 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: 'b5157bc904e78c24500337f20b163a8dfda0de3d' }, index.h("smoothly-table-expandable-row", { key: '3f9f32a8424257aa9ab31fcf37dbd3684640a1f6' }, index.h("fake-cell-wrapper", { key: '40d9d8aef075ddd8b00348f75c3241cd70afa753', class: "span-2" }, index.h("smoothly-table-cell", { key: 'f74561780c1399d1b4122688cbe7a746b4fc6299', span: 2 }, index.h("smoothly-display", { key: 'a58fd01124a4c5768872c5be3d5f6454ff6a4db9', type: "date", value: "2024-01-07" }))), index.h("smoothly-lazy", { key: '421930675caba973df071bd32fee2e86410eb3af', slot: "detail", content: index.h("smoothly-display", { type: "date-time", value: "2024-01-07T13:37:00.000Z" }) }))))), index.h("smoothly-table-row-group", { key: '5f80049f47cfbb23e355c7f71344c32ca121260d' }, index.h("smoothly-display", { key: '9850d54767d961cc1bc2ab91fa87a438d762aa26', slot: "start", type: "date", value: "2024-01-08" }), index.h("smoothly-display", { key: '5f6e9c093aa50717f31abad9d69fb142ef762a26', slot: "end", type: "price", currency: "EUR", value: 720 }))))));
|
|
11370
11370
|
}
|
|
11371
11371
|
};
|
|
11372
11372
|
SmoothlyTableDemoGroup.style = SmoothlyTableDemoGroupStyle0;
|
|
@@ -12312,7 +12312,7 @@ const SmoothlyTableDemoNested = class {
|
|
|
12312
12312
|
index.registerInstance(this, hostRef);
|
|
12313
12313
|
}
|
|
12314
12314
|
render() {
|
|
12315
|
-
return (index.h(index.Host, { key: '
|
|
12315
|
+
return (index.h(index.Host, { key: '1743d7589bd492377468972dabf4deec6e20069a' }, index.h("smoothly-display", { key: '779c7a09c0c0468f62b42dcb19787f19188f3481', type: "text", value: "Nested" }), index.h("smoothly-table", { key: '35f9b6f470fa53a1d7ad6336c6de80c0a49b5aa0', color: "primary", columns: 8 }, index.h("smoothly-table-head", { key: '30f3cc7fc9e43d591701aa48673e85a50eea0039' }, index.h("smoothly-table-row", { key: 'be8c95740340f2aeedfd269b5aee1cbaca8d8fdc' }, index.h("smoothly-table-cell", { key: 'a66a2cfee429a827bf6edf8b46b132bff41219c5' }, "Id"), index.h("smoothly-table-cell", { key: 'fc52ddfecdf7f31a1fd24454ab7806fead292d97' }, "Registered"), index.h("smoothly-table-cell", { key: 'c59f5611769381273e862a38d30a6a7ae2ad75f5' }, "Name"), index.h("smoothly-table-cell", { key: '3c0453f5da50e9601e09841afa565c36e9e60b25' }, "Age"), index.h("smoothly-table-cell", { key: '92ec3aa300dbca0d2012bc7899fbc7e7c849bd4d' }, "Balance"), index.h("smoothly-table-cell", { key: '025e440cfd9de4b0a785d2e7502f281af4047518' }, "EyeColor"), index.h("smoothly-table-cell", { key: '0d138945bacee71cc2c558d2d8d5d2895283d080' }, "Gender"), index.h("smoothly-table-cell", { key: '8f233a5c7e1ff21618ba10d5aab626f91b45168a' }, "Company"))), index.h("smoothly-table-body", { key: '7fe751054d49b1e870665253493ef0745fd047b0' }, data.map(entry => (index.h("smoothly-table-expandable-row", null, index.h("smoothly-table-demo-nested-inner", { color: "secondary", data: entry.friends, slot: "detail" }), index.h("smoothly-table-cell", null, entry.id), index.h("smoothly-table-cell", null, entry.registered), index.h("smoothly-table-cell", null, entry.name), index.h("smoothly-table-cell", null, entry.age), index.h("smoothly-table-cell", null, entry.balance), index.h("smoothly-table-cell", null, entry.eyeColor), index.h("smoothly-table-cell", null, entry.gender), index.h("smoothly-table-cell", null, entry.company))))), index.h("smoothly-table-foot", { key: 'e394c6fbe111c46b6f04955424a913cf54bdb28c' }, index.h("smoothly-table-row", { key: '79bba0ffedb84848d39eea8e3e40c154a74065c9' }, index.h("smoothly-table-cell", { key: '87248c277bb4bc20b961a575763470a8eaaee119' }, "Footer Cell"), index.h("smoothly-table-cell", { key: '3f084a0097337a69cab73887f0130b98129ca0e4' }, "Footer Cell"))))));
|
|
12316
12316
|
}
|
|
12317
12317
|
};
|
|
12318
12318
|
SmoothlyTableDemoNested.style = SmoothlyTableDemoNestedStyle0;
|
|
@@ -12327,7 +12327,7 @@ const SmoothlyTableDemoNestedInner = class {
|
|
|
12327
12327
|
}
|
|
12328
12328
|
render() {
|
|
12329
12329
|
var _a;
|
|
12330
|
-
return (index.h(index.Host, { key: '
|
|
12330
|
+
return (index.h(index.Host, { key: '83636579f0ac1515fa2c1a912d2625dc98dc2870' }, index.h("smoothly-table", { key: '04bb54e0def08d95349b4924d480702632a310ad', columns: 4 }, index.h("smoothly-table-head", { key: '444c47c289856b5b6cff4c44954656d0a853fe95' }, index.h("smoothly-table-row", { key: '59044bea8b54871bded78091b98574358fc6022e' }, index.h("smoothly-table-cell", { key: 'd77d47360a9c5a317357f15a87a17e191f202e3f' }, "Id"), index.h("smoothly-table-cell", { key: '953bf1a655f4807131ebffa8ea7cec8571177e8e' }, "Name"), index.h("smoothly-table-cell", { key: '047211617101160584267f87d55a4c63c4a3c54d' }, "Age"), index.h("smoothly-table-cell", { key: '0c01220d3751fd8e895180860d59f756758baed8' }, "Balance"))), index.h("smoothly-table-body", { key: 'fc0cd184a5f603bf0b827cf1b0e307320085fdff' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (index.h("smoothly-table-expandable-row", null, index.h("smoothly-table-cell", null, entry.id), index.h("smoothly-table-cell", null, entry.name), index.h("smoothly-table-cell", null, entry.age), index.h("smoothly-table-cell", null, entry.balance))))))));
|
|
12331
12331
|
}
|
|
12332
12332
|
};
|
|
12333
12333
|
SmoothlyTableDemoNestedInner.style = SmoothlyTableDemoNestedInnerStyle0;
|
|
@@ -12340,7 +12340,7 @@ const SmoothlyTableDemoSimple = class {
|
|
|
12340
12340
|
index.registerInstance(this, hostRef);
|
|
12341
12341
|
}
|
|
12342
12342
|
render() {
|
|
12343
|
-
return (index.h(index.Host, { key: '
|
|
12343
|
+
return (index.h(index.Host, { key: '1e86196497b4efcd12ce83e2029e6405bd124003' }, index.h("smoothly-display", { key: 'fdeba88a51dfa10bdece176d5376a0be91fdd049', type: "text", value: "Simple" }), index.h("smoothly-table", { key: '4cf8352df796c51cb0885c5d6e8fddd8a629dddf', color: "primary", columns: 2 }, index.h("smoothly-table-head", { key: '351cabf09c280eb068004a2f6a4d2fa2d4b59d8b' }, index.h("smoothly-table-row", { key: 'a59bbb50fa9833bbed66780e2e100404558b0fda' }, index.h("smoothly-table-cell", { key: 'ae807fbef99679ba195277ce450465eeb3b4cda6' }, "Breed"), index.h("smoothly-table-cell", { key: '1d4bf3137688e4ad1ea55eab3a347b0fd4dba1fc' }, "Coat"))), index.h("smoothly-table-body", { key: '8f2d969bc13ee4f3e8fd66eda1561ef5e2acd74c' }, cats.map(cat => (index.h("smoothly-table-row", null, index.h("smoothly-table-expandable-cell", null, cat.breed, index.h("div", { slot: "detail" }, "Country:", index.h("br", null), cat.country)), index.h("smoothly-table-expandable-cell", null, cat.coat, index.h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), index.h("smoothly-table-expandable-row", { key: 'ce71eef208830a266b947cc06406abc16bd0d707' }, index.h("div", { key: 'f73b597444e74b3f08a1ecdf0fa97a3a7652f09f', slot: "detail" }, "Content", index.h("br", { key: '064db5c92f57b5409cd48ec77bbffc207ce9c3f4' }), "of", index.h("br", { key: 'b84db2dddd92c7a5d4a0da02f39a14a2e77f4d27' }), "the", index.h("br", { key: '453ce193951a32c0913225210095c490f975eaba' }), "expandable", index.h("br", { key: 'd3238f2c58cbae7b44a2430338437edbfdc2883c' }), "row"), index.h("smoothly-table-cell", { key: 'be1db189448b8296e525ccde250acceb8da69ba9' }, "Cell1 in expandable row"), index.h("smoothly-table-cell", { key: 'e036a536d5e2adb960fb9a8a48a053f59384a1c9' }, "Cell2 in expandable row")), index.h("smoothly-table-row", { key: '02d3d0a32b56cff3d08bb31bbc27e03d406023f0' }, index.h("smoothly-table-cell", { key: '1781f0b418317895b3e016a68622d6286ef2f78c' }, "Cell5"), index.h("smoothly-table-expandable-cell", { key: 'c193285c0ae1286aa8b4a23214078fdf9240fe20' }, "Expandable Cell", index.h("div", { key: '24b11089104ccacfddf9963e9a1a49921ea225d5', slot: "detail" }, "Content of the expandable cell"))), index.h("smoothly-table-row", { key: '9e7a977a926a505c2eee8fb2a18edf6a522de93e' }, index.h("smoothly-table-expandable-cell", { key: '46cb2c15163d00214ea8abba6591890735fe9607' }, "Expandable Cell 1", index.h("div", { key: '13f57a5b68bb7f113712675789ae25904df76474', slot: "detail" }, "Content of the expandable cell 1")), index.h("smoothly-table-expandable-cell", { key: 'dca3f34766b72bc6f7524739045ab4f915be0a98' }, "Expandable Cell 2", index.h("div", { key: 'c10dd964b3286c3d19cc774393f7384b4a0c02dc', slot: "detail" }, "Content of the expandable cell 2")))), index.h("smoothly-table-foot", { key: '919b4e73a0622d50e98a02fb7cc8ac942b306c94' }, index.h("smoothly-table-row", { key: '35bb5238eca0e7cdbc877053a64f104815c62fb7' }, index.h("smoothly-table-cell", { key: 'bbaba511bd645d1801f6d8130ddbfaaca95128e1' }, "Footer Cell"), index.h("smoothly-table-cell", { key: '3f4a385d7a39c5cdb02b43d397205d92d2857d24' }, "Footer Cell"))))));
|
|
12344
12344
|
}
|
|
12345
12345
|
};
|
|
12346
12346
|
const cats = [
|
|
@@ -12442,7 +12442,7 @@ const SmoothlyTableExpandableCell = class {
|
|
|
12442
12442
|
}
|
|
12443
12443
|
render() {
|
|
12444
12444
|
var _a;
|
|
12445
|
-
return (index.h(index.Host, { key: '
|
|
12445
|
+
return (index.h(index.Host, { key: 'd5b6720e262df19e8c0a465c046cc581e6b76d5c', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) } }, index.h("div", { key: 'a984cc509f2a176da5f00fc95410b3f9466ff962', onClick: () => this.clickHandler(), class: "content" }, index.h("slot", { key: '90fcd6fb228a36473d83bc1c46c4313cf983932c' })), index.h("div", { key: '7919ac6b9cf97e478f01029da270a510ca754d46', class: "detail" }, index.h("slot", { key: 'bbbd37aa4f47c109ff917ab32d15e22bd781b7be', name: "detail" }))));
|
|
12446
12446
|
}
|
|
12447
12447
|
static get watchers() { return {
|
|
12448
12448
|
"open": ["openChange"]
|
|
@@ -12450,7 +12450,7 @@ const SmoothlyTableExpandableCell = class {
|
|
|
12450
12450
|
};
|
|
12451
12451
|
SmoothlyTableExpandableCell.style = SmoothlyTableExpandableCellStyle0;
|
|
12452
12452
|
|
|
12453
|
-
const styleCss$g = ".sc-smoothly-table-expandable-row-h{grid-column:1/-1;display:grid;grid-template-columns:subgrid;grid-template-rows:auto 0fr;box-shadow:0px 1px 1px -1px rgb(var(--smoothly-table-border))}.sc-smoothly-table-expandable-row-h.sc-smoothly-table-expandable-row-s>*{cursor:pointer}.sc-smoothly-table-expandable-row-h:has(>.sc-smoothly-table-expandable-row:not(:last-child):hover)>.sc-smoothly-table-expandable-row:not(:last-child){background-color:rgb(var(--smoothly-table-hover-background));color:rgb(var(--smoothly-table-hover-foreground))}[open].sc-smoothly-table-expandable-row-h{background-color:rgb(var(--smoothly-table-expanded-background));color:rgb(var(--smoothly-table-expanded-foreground));grid-template-rows:auto 1fr;box-shadow:0px 1px 1px -1px rgb(var(--smoothly-table-border)), 0px 0px 1px rgb(var(--smoothly-table-border)) inset;grid-template-rows:0fr 1fr}.sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child{grid-column:1/-1;cursor:default;position:relative;overflow:hidden;background-color:rgb(var(--smoothly-table-expanded-background));color:rgb(var(--smoothly-table-expanded-foreground))}.sc-smoothly-table-expandable-row-h>.sc-smoothly-table-expandable-row:first-child:not(:last-child){position:relative}.sc-smoothly-table-expandable-row-h>.sc-smoothly-table-expandable-row:first-child:not(:last-child)::before{content:\"\";display:flex;position:absolute;top:50%;translate:0 -50%;height:0.4em;width:0.4em;left:0.3em;border-bottom:1px solid rgb(var(--smoothly-table-foreground));border-right:1px solid rgb(var(--smoothly-table-foreground));transition:rotate 200ms ease-in-out;rotate:-45deg;opacity:0.3}.sc-smoothly-table-expandable-row-h:has(>.sc-smoothly-table-expandable-row:not(:last-child):hover)>.sc-smoothly-table-expandable-row:first-child:not(:last-child)::before{border-bottom:1px solid rgb(var(--smoothly-table-hover-foreground));border-right:1px solid rgb(var(--smoothly-table-hover-foreground));opacity:1}[open].sc-smoothly-table-expandable-row-h>.sc-smoothly-table-expandable-row:first-child:not(:last-child)::before{rotate:45deg}[open].sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child{overflow:visible;padding:0.3rem 1.1rem}.sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child::before{content:\"\";position:absolute;display:flex;box-sizing:border-box;top:0;bottom:0;left:-1em;width:1em;background-color:rgb(var(--smoothly-table-expanded-background));border-left:0.3em solid rgb(var(--smoothly-table-detail-border, var(--smoothly-table-border)));box-shadow:2px 0px 0px 0px rgb(var(--smoothly-table-expanded-background)), 0px 0px 1px 0px rgb(var(--smoothly-table-border))}.sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child::after{content:\"\";position:absolute;display:flex;top:0;bottom:0;right:-1em;width:1em;background-color:rgb(var(--smoothly-table-expanded-background));box-shadow:-2px 0px 0px 0px rgb(var(--smoothly-table-expanded-background)), 0px 0px 1px 0px rgb(var(--smoothly-table-border))}";
|
|
12453
|
+
const styleCss$g = ".sc-smoothly-table-expandable-row-h{grid-column:1/-1;display:grid;grid-template-columns:subgrid;grid-template-rows:auto 0fr;box-shadow:0px 1px 1px -1px rgb(var(--smoothly-table-border))}.sc-smoothly-table-expandable-row-h.sc-smoothly-table-expandable-row-s>*{cursor:pointer}.sc-smoothly-table-expandable-row-h:has(>.sc-smoothly-table-expandable-row:not(:last-child):hover)>.sc-smoothly-table-expandable-row:not(:last-child){background-color:rgb(var(--smoothly-table-hover-background));color:rgb(var(--smoothly-table-hover-foreground))}[open].sc-smoothly-table-expandable-row-h{background-color:rgb(var(--smoothly-table-expanded-background));color:rgb(var(--smoothly-table-expanded-foreground));grid-template-rows:auto 1fr;box-shadow:0px 1px 1px -1px rgb(var(--smoothly-table-border)), 0px 0px 1px rgb(var(--smoothly-table-border)) inset;grid-template-rows:0fr 1fr}.sc-smoothly-table-expandable-row-h:not([open])>div.detail.sc-smoothly-table-expandable-row{display:none}.sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child{grid-column:1/-1;cursor:default;position:relative;overflow:hidden;background-color:rgb(var(--smoothly-table-expanded-background));color:rgb(var(--smoothly-table-expanded-foreground))}.sc-smoothly-table-expandable-row-h>.sc-smoothly-table-expandable-row:first-child:not(:last-child){position:relative}.sc-smoothly-table-expandable-row-h>.sc-smoothly-table-expandable-row:first-child:not(:last-child)::before{content:\"\";display:flex;position:absolute;top:50%;translate:0 -50%;height:0.4em;width:0.4em;left:0.3em;border-bottom:1px solid rgb(var(--smoothly-table-foreground));border-right:1px solid rgb(var(--smoothly-table-foreground));transition:rotate 200ms ease-in-out;rotate:-45deg;opacity:0.3}.sc-smoothly-table-expandable-row-h:has(>.sc-smoothly-table-expandable-row:not(:last-child):hover)>.sc-smoothly-table-expandable-row:first-child:not(:last-child)::before{border-bottom:1px solid rgb(var(--smoothly-table-hover-foreground));border-right:1px solid rgb(var(--smoothly-table-hover-foreground));opacity:1}[open].sc-smoothly-table-expandable-row-h>.sc-smoothly-table-expandable-row:first-child:not(:last-child)::before{rotate:45deg}[open].sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child{overflow:visible;padding:0.3rem 1.1rem}.sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child::before{content:\"\";position:absolute;display:flex;box-sizing:border-box;top:0;bottom:0;left:-1em;width:1em;background-color:rgb(var(--smoothly-table-expanded-background));border-left:0.3em solid rgb(var(--smoothly-table-detail-border, var(--smoothly-table-border)));box-shadow:2px 0px 0px 0px rgb(var(--smoothly-table-expanded-background)), 0px 0px 1px 0px rgb(var(--smoothly-table-border))}.sc-smoothly-table-expandable-row-h>div.sc-smoothly-table-expandable-row:last-child::after{content:\"\";position:absolute;display:flex;top:0;bottom:0;right:-1em;width:1em;background-color:rgb(var(--smoothly-table-expanded-background));box-shadow:-2px 0px 0px 0px rgb(var(--smoothly-table-expanded-background)), 0px 0px 1px 0px rgb(var(--smoothly-table-border))}";
|
|
12454
12454
|
const SmoothlyTableExpandableRowStyle0 = styleCss$g;
|
|
12455
12455
|
|
|
12456
12456
|
const SmoothlyTableExpandableRow = class {
|
|
@@ -12466,7 +12466,7 @@ const SmoothlyTableExpandableRow = class {
|
|
|
12466
12466
|
this.smoothlyTableExpandableRowChange.emit(this.open);
|
|
12467
12467
|
}
|
|
12468
12468
|
render() {
|
|
12469
|
-
return (index.h(index.Host, { key: '
|
|
12469
|
+
return (index.h(index.Host, { key: '5a03872a2612d5dc038fd10e1dd3992dd8449d52', onClick: (e) => this.clickHandler(e) }, index.h("slot", { key: 'c3bf948bb8a2a616269d1b4f446b3ee6db0a1288' }), index.h("div", { key: '39e4adac2059bd257187980f3563e91aba38c8c0', class: "detail", ref: e => (this.div = e) }, index.h("slot", { key: 'caf6ea84042033799aae986ff11a56d1db66d5ed', name: "detail" }))));
|
|
12470
12470
|
}
|
|
12471
12471
|
static get watchers() { return {
|
|
12472
12472
|
"open": ["openChange"]
|
|
@@ -12482,7 +12482,7 @@ const SmoothlyTableFillerRow = class {
|
|
|
12482
12482
|
index.registerInstance(this, hostRef);
|
|
12483
12483
|
}
|
|
12484
12484
|
render() {
|
|
12485
|
-
return (index.h("smoothly-table-row", { key: '
|
|
12485
|
+
return (index.h("smoothly-table-row", { key: '92fd87de4da585ef58f350ab082895c4b958a156' }, index.h("smoothly-table-cell", { key: '49989c2461d4c057c81c4e881ae4d10f8aed5f7c' }, index.h("slot", { key: 'c4be1ef40a3106786e2d37528584a515dfec2264' }))));
|
|
12486
12486
|
}
|
|
12487
12487
|
};
|
|
12488
12488
|
SmoothlyTableFillerRow.style = SmoothlyTableFillerRowStyle0;
|
|
@@ -12495,7 +12495,7 @@ const SmoothlyTableFoot = class {
|
|
|
12495
12495
|
index.registerInstance(this, hostRef);
|
|
12496
12496
|
}
|
|
12497
12497
|
render() {
|
|
12498
|
-
return (index.h(index.Host, { key: '
|
|
12498
|
+
return (index.h(index.Host, { key: '797b95aea26a73ad238c0b44b431db7c9f83127d' }, index.h("slot", { key: '798ace60c404e7d2b7111188ea3ad7a575e86f89' })));
|
|
12499
12499
|
}
|
|
12500
12500
|
};
|
|
12501
12501
|
SmoothlyTableFoot.style = SmoothlyTableFootStyle0;
|
|
@@ -12526,7 +12526,7 @@ const SmoothlyTableHead = class {
|
|
|
12526
12526
|
(_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
|
|
12527
12527
|
}
|
|
12528
12528
|
render() {
|
|
12529
|
-
return (index.h(index.Host, { key: '
|
|
12529
|
+
return (index.h(index.Host, { key: '1d91e59f55039d50572b9b649aa6b48b2528052e', class: { scrolled: !!this.scrolled } }, index.h("slot", { key: 'c733cae9e99665e62441ae8723331849db2394ca' })));
|
|
12530
12530
|
}
|
|
12531
12531
|
get element() { return index.getElement(this); }
|
|
12532
12532
|
};
|
|
@@ -12550,7 +12550,7 @@ const SmoothlyTableRow = class {
|
|
|
12550
12550
|
event.target != cell && cell.close();
|
|
12551
12551
|
}
|
|
12552
12552
|
render() {
|
|
12553
|
-
return (index.h(index.Host, { key: '
|
|
12553
|
+
return (index.h(index.Host, { key: '710fb98629cc8100ea43178387a873aae6cd27b1' }, index.h("slot", { key: 'd9453ee6fab901e26500f3c423edbab1d0b479ed' })));
|
|
12554
12554
|
}
|
|
12555
12555
|
};
|
|
12556
12556
|
SmoothlyTableRow.style = SmoothlyTableRowStyle0;
|
|
@@ -12570,7 +12570,7 @@ const SmoothlyTableRowGroup = class {
|
|
|
12570
12570
|
this.smoothlyTableRowGroupChange.emit(this.open);
|
|
12571
12571
|
}
|
|
12572
12572
|
render() {
|
|
12573
|
-
return (index.h(index.Host, { key: '
|
|
12573
|
+
return (index.h(index.Host, { key: '234c5c04d4aa4ca110a3895227132669766abf22' }, index.h("div", { key: '804e459a3aab21755bc7f3f6a3dfd9aafa4d13f4', onClick: () => this.clickHandler() }, index.h("div", { key: '29cd5e3f57b697745a9a2ac77dffd01b10e8bfaf' }, index.h("slot", { key: 'd3bd27d6147985e3f19b15e4e9a4b02b3da47399', name: "start" })), index.h("div", { key: 'f6b0f6b8d3103bc85818380ab9c11b4f629d1c38' }, index.h("slot", { key: '85c4fe961a4dbc4ea4db73392ba26e549c3f7f08', name: "end" }))), index.h("div", { key: '23547483350de1447bf35f4dc6d6c057cd153b93' }, index.h("slot", { key: 'f34b550b48eced496d6bdd92bf28f6bacda47ae7' }))));
|
|
12574
12574
|
}
|
|
12575
12575
|
};
|
|
12576
12576
|
SmoothlyTableRowGroup.style = SmoothlyTableRowGroupStyle0;
|
|
@@ -12603,7 +12603,7 @@ const SmoothlyTabs = class {
|
|
|
12603
12603
|
old.open = false;
|
|
12604
12604
|
}
|
|
12605
12605
|
render() {
|
|
12606
|
-
return (index.h(index.Host, { key: '
|
|
12606
|
+
return (index.h(index.Host, { key: '3e2a5060c408fedf1e4a02d2ee64a12b361892ca', class: { "hide-tabs": this.tabs == "multiple" && this.tabElements.length == 1 }, style: { "--tabs": `${this.tabElements.length}` } }, index.h("slot", { key: 'bac26ec71ef6b24e54f527aa37ee1bf7fbf48567' })));
|
|
12607
12607
|
}
|
|
12608
12608
|
get element() { return index.getElement(this); }
|
|
12609
12609
|
static get watchers() { return {
|
|
@@ -12621,7 +12621,7 @@ const SmoothlyTabsDemo = class {
|
|
|
12621
12621
|
this.extraTab = undefined;
|
|
12622
12622
|
}
|
|
12623
12623
|
render() {
|
|
12624
|
-
return (index.h(index.Host, { key: '
|
|
12624
|
+
return (index.h(index.Host, { key: 'ec145eb00524cda91498766b9e9ae7ca715bc494' }, index.h("smoothly-tabs", { key: '70c47302b686767345d82bf8f011847cf75efad4', tabs: "multiple" }, index.h("smoothly-tab", { key: '83426f550c4539852669d3577b8573be151dad32', label: "Single Tab", open: true }, index.h("strong", { key: 'd89e2642d9087f71f46fffda20d3e8ef092c3ade' }, "Single Tab content here."), " If only one tab is available setting ", index.h("code", { key: '8a1a80fafe9780cacfe835f6875f8a2763086d93' }, "tabs"), " to", " ", index.h("code", { key: '89aec94fd33241f34d7d34d465452c3dbfae9f0b' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly.", !this.extraTab && (index.h("div", { key: 'efedaf74ed8f139dd4b00ee29d745b0ce00cc20a' }, index.h("smoothly-button", { key: 'c4a0b3d4fda1a72ad38a2f38afddfe010ddfd67a', color: "primary", onClick: () => (this.extraTab = true) }, "Click to add extra tab")))), this.extraTab && (index.h("smoothly-tab", { key: '239808e72e00bac39bd2c7684bce82dcad374765', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), index.h("smoothly-tabs", { key: 'f56e37f6c69e9a290cfa392626ee62a1e4a7ca68' }, index.h("smoothly-tab", { key: '608024b94967df590fbd45fbb93b8c0bd28e1385', label: "test1", open: true }, "Hello world!"), index.h("smoothly-tab", { key: 'b7039d33a48fe68268d192d3a4486eb65e500ee2', label: "test2" }, "this is a test message!"), index.h("smoothly-tab", { key: '412e749f9ed6625d7ba22ed9378c60ee52d7b70b', label: "test3" }, "this is a test message again!"))));
|
|
12625
12625
|
}
|
|
12626
12626
|
};
|
|
12627
12627
|
SmoothlyTabsDemo.style = SmoothlyTabsDemoStyle0;
|
|
@@ -12635,7 +12635,7 @@ const SmoothlyThemeColor = class {
|
|
|
12635
12635
|
this.color = undefined;
|
|
12636
12636
|
}
|
|
12637
12637
|
render() {
|
|
12638
|
-
return (index.h(index.Host, { key: '
|
|
12638
|
+
return (index.h(index.Host, { key: 'f0ac1160979284b3d8445e2d0eec65710221cf8d' }, this.color, ["tint", "color", "shade"].map(variant => (index.h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
|
|
12639
12639
|
}
|
|
12640
12640
|
};
|
|
12641
12641
|
SmoothlyThemeColor.style = SmoothlyThemeColorStyle0;
|
|
@@ -12687,7 +12687,7 @@ const SmoothlyThemeDemo = class {
|
|
|
12687
12687
|
index.registerInstance(this, hostRef);
|
|
12688
12688
|
}
|
|
12689
12689
|
render() {
|
|
12690
|
-
return (index.h(index.Host, { key: '
|
|
12690
|
+
return (index.h(index.Host, { key: '60a6fdfc96dc0f5c716a5b879f04e8bfa7aa7955' }, index.h("h2", { key: '800ac25c4a2aec861b21255420aa696d016f0dc4' }, "Theme"), index.h("smoothly-theme-picker", { key: '081a0359c39e431bd92c336c5e7b4112027fe940' }, index.h("smoothly-item", { key: 'e1d332a1ace18688c085e2d3aacd6480d223300f', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), index.h("smoothly-item", { key: 'd183e44eca2b257bcc7edf7b4491673ca871cd91', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), index.h("smoothly-item", { key: 'f5677315f1803e5002974fb86b683cf4199abb74', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), index.h("smoothly-item", { key: '18ed8f9181da013d2d4de75393a86a22e567bb72', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), index.h("smoothly-item", { key: '480a5028c0aba00a5caa1cd9feb671857e22d5fb', value: "https://dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), index.h("smoothly-item", { key: '0686eca3757ea52987a4f8e9b70aec69e43437ea', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), index.h("smoothly-item", { key: '945161921608f664e3283a6bce008d59b8115282', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), index.h("smoothly-item", { key: 'a881c566e1cb7ae4a01f0d617a13109643b05585', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), index.h("smoothly-item", { key: '3834fec43bc18e1368a1bc952c5ac83ffbfa4807', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), index.h("span", { key: '598ce87600fd7a66e1d2351311fd01773d6f8451' }, index.h("smoothly-theme-colors", { key: '0b982bc4d771f98c37111782fa61056bb64a5bca' }), index.h("smoothly-theme-guide", { key: 'f6ef76f863436b20b33653174ad9e98151e31a6f' })), index.h("smoothly-button", { key: '97743bff836025c1eef5d152b06aca450b585a5a', type: "link", link: "/redirect" }, "To redirect"), index.h("smoothly-button", { key: 'b26f5dcdd936b876cf430e2ab109458a405b1da9', type: "link", link: "/redirect" }, "To /redirect"), index.h("smoothly-button", { key: '9850c727cd8c7d74187e3a99253e3b6637a02f62', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), index.h("smoothly-button", { key: '41efeb245770de7407eb14dacfd686ca2a691076', type: "link", link: "redirect/nested" }, "To redirect nested")));
|
|
12691
12691
|
}
|
|
12692
12692
|
};
|
|
12693
12693
|
SmoothlyThemeDemo.style = SmoothlyThemeDemoStyle0;
|
|
@@ -12701,14 +12701,14 @@ const SmoothlyThemeColors = class {
|
|
|
12701
12701
|
}
|
|
12702
12702
|
render() {
|
|
12703
12703
|
return [
|
|
12704
|
-
index.h("smoothly-display", { key: '
|
|
12705
|
-
index.h("br", { key: '
|
|
12706
|
-
index.h("smoothly-display", { key: '
|
|
12707
|
-
index.h("br", { key: '
|
|
12708
|
-
index.h("smoothly-display", { key: '
|
|
12709
|
-
index.h("br", { key: '
|
|
12710
|
-
index.h("smoothly-display", { key: '
|
|
12711
|
-
index.h("br", { key: '
|
|
12704
|
+
index.h("smoothly-display", { key: '95949623ac00a28b6949a8d0cf53b3c808dca2b4' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
|
|
12705
|
+
index.h("br", { key: 'b08743d1cdc7ce73ee54cfbedb2336bd39e2291a' }),
|
|
12706
|
+
index.h("smoothly-display", { key: '8fa5a57c02fe12e0132c77f05a3ae9fefb569a53' }, "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."),
|
|
12707
|
+
index.h("br", { key: 'eedbe73d19d72c38175956118666d0dd4b3101d2' }),
|
|
12708
|
+
index.h("smoothly-display", { key: '570dec0a6a28b70f4a69e3e247607db386c57117' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
|
|
12709
|
+
index.h("br", { key: 'b0244a42b0230846843cabf9411c6ff1ca128440' }),
|
|
12710
|
+
index.h("smoothly-display", { key: '8e9705544b119e7fe073420ba31f49c5c32ab2a8' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
|
|
12711
|
+
index.h("br", { key: '45ddb1ca086bae44b11c8124836afbc891c4875d' }),
|
|
12712
12712
|
];
|
|
12713
12713
|
}
|
|
12714
12714
|
};
|
|
@@ -12723,11 +12723,11 @@ const SmoothlyThemePicker = class {
|
|
|
12723
12723
|
this.element = "smoothly-css";
|
|
12724
12724
|
}
|
|
12725
12725
|
render() {
|
|
12726
|
-
return (index.h(index.Host, { key: '
|
|
12726
|
+
return (index.h(index.Host, { key: '5a994ebf276306118d92bb477b5dcf04cffd0614' }, index.h("smoothly-input-select", { key: '98ef8a2da6f5b00f60367874705a8836ba7176cf', name: "theme", looks: "border", onSmoothlyInput: e => {
|
|
12727
12727
|
const element = document.querySelector(`#${this.element}`);
|
|
12728
12728
|
if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string")
|
|
12729
12729
|
element.href = e.detail.theme;
|
|
12730
|
-
} }, index.h("label", { key: '
|
|
12730
|
+
} }, index.h("label", { key: 'de252bb3867e0f59efb66136b6fc7850805bdfea', slot: "label" }, "Select theme"), index.h("slot", { key: 'f30571604c2c60256ef3f4e4ee57fbf394d7af63' }))));
|
|
12731
12731
|
}
|
|
12732
12732
|
};
|
|
12733
12733
|
SmoothlyThemePicker.style = SmoothlyThemePickerStyle0;
|
|
@@ -12751,7 +12751,7 @@ const SmoothlyToggleSwitch = class {
|
|
|
12751
12751
|
this.smoothlyToggleSwitchChange.emit(this.selected);
|
|
12752
12752
|
}
|
|
12753
12753
|
render() {
|
|
12754
|
-
return (index.h(index.Host, { key: '
|
|
12754
|
+
return (index.h(index.Host, { key: 'd8948989b99fab7341e46cbc4398c6889f41602d' }, index.h("button", { key: 'e9dd959f7573c9da2c0fd6279304b239ad06b9fe', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, index.h("smoothly-icon", { key: '6be530b9951c2ddc8806d24adcd3f76602919e46', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
|
|
12755
12755
|
}
|
|
12756
12756
|
};
|
|
12757
12757
|
SmoothlyToggleSwitch.style = SmoothlyToggleSwitchStyle0;
|
|
@@ -12764,7 +12764,7 @@ const SmoothlyToggleSwitchDemo = class {
|
|
|
12764
12764
|
index.registerInstance(this, hostRef);
|
|
12765
12765
|
}
|
|
12766
12766
|
render() {
|
|
12767
|
-
return (index.h(index.Host, { key: '
|
|
12767
|
+
return (index.h(index.Host, { key: '7244c0775661c5251de41f4cb585558e982e9cdc' }, index.h("h4", { key: 'c108f6c96f41a583cecbfa4f802e09bf5b29bfa6' }, "Toggle switches"), index.h("div", { key: 'd2392feab387636df6b679d66193a1e653730b9c' }, index.h("p", { key: '3a7183bc8158e48e87f85e4f6cdc9dc4ad73d439' }, "Checkmark"), index.h("span", { key: 'edd3411d6f0b9fb5f326d50c3ba5e65d7c9d3f46' }, index.h("p", { key: '3fb9bb4ecb81e5d50e123f2202a391ebebd8bcea' }, "Tiny"), index.h("smoothly-toggle-switch", { key: '40c66f8203c5d5334cb1e14f4c37df29d9cf0485', disabled: false, size: "tiny" })), index.h("span", { key: '4391169b01717b9afd58f80528ce6f07a2f13090' }, index.h("p", { key: 'dc9f64b2bd7275033e17d6b9fb7065c6bb9b94df' }, "Small"), index.h("smoothly-toggle-switch", { key: 'ed4899bc0923bcdbfbbdbdb9b6a2cc089bd364de', disabled: false, size: "small" })), index.h("span", { key: 'd31a484739a59c7fcce0edd573e4291efeca44e4' }, index.h("p", { key: '4e1497c248ab56f2c3bc3576686b2ddd7bb7a782' }, "Standard"), index.h("smoothly-toggle-switch", { key: 'd64bcfb068ad854639ecccc8a7e697650c54521f', disabled: false })), index.h("span", { key: '19a06462de61ee2836f1fa30114e46f576b6edf4' }, index.h("p", { key: 'ae25ea9d14593a21ae90f5badb1249725dd3ff78' }, "Large"), index.h("smoothly-toggle-switch", { key: '09d47e0964233a311f5bf4cb8b9c0dbcd04ef958', disabled: false, size: "large" })), index.h("p", { key: '34095ddde101a0d5ffd98589cf526f4b57caf572' }, "Colors checkmark"), index.h("span", { key: '76572774a4e9e14b384c4b40444ab04f46b833a9' }, index.h("p", { key: '2e5ad34f22b142fc19586f43a778851f98dfda8c' }, "Danger"), index.h("smoothly-toggle-switch", { key: 'cf026c289dbfcf230049290516e9ab4f5274ba45', color: "danger", disabled: false, size: "small" })), index.h("span", { key: 'cd1e858211f54ba90168398f8dc6dc9433778815' }, index.h("p", { key: 'b2b51c00108c1ae9396eb9b1e5aeee9223faecde' }, "Primary color"), index.h("smoothly-toggle-switch", { key: '66fbbd81fe1e7ea9e4bdd52c374e1644d634d195', color: "primary", disabled: false, size: "small" })), index.h("span", { key: 'a6de47e35e6ff653a0efa7ca7b7245abb44e32ac' }, index.h("p", { key: '89ab7f161e45ea01edee1fa4c9eb96332fd18043' }, "Secondary color"), index.h("smoothly-toggle-switch", { key: '82f993af3797d0754e0cad6a8374c78d98ca058c', color: "secondary", disabled: false, size: "small" })), index.h("p", { key: 'dfce3bdd11950ef7c97eb423f9bc08346e0e1cfc' }), index.h("p", { key: '25ebe0b63abaeb37895a8286ec5a4203d665da99' }, "Colors no checkmark"), index.h("span", { key: '111622bbb1ea6d5efd300b515a066d19d6dd9dbd' }, index.h("p", { key: 'd3f80fe3a765aad09ca735795ccd1f66e459bf44' }, "Danger"), index.h("smoothly-toggle-switch", { key: 'b19cb7d3f582e0423442adde9b21218e73d45837', checkmark: false, color: "danger", disabled: false, size: "small" })), index.h("span", { key: 'dfb1fe67e596f44dde4c07494011dc6b8009a961' }, index.h("p", { key: 'a0f15473ffc3f2d33dee7726c0493ddd192fa39e' }, "Primary color"), index.h("smoothly-toggle-switch", { key: '1e7cbda870f2816244dac14c7c65a99367feddb3', checkmark: false, color: "primary", disabled: false, size: "small" })), index.h("span", { key: '4fa92a8eee14883f9fedcf543ae87cbda4de8922' }, index.h("p", { key: 'b69a2307ad3c726dc6f602788c490fe81e0299e0' }, "Secondary color"), index.h("smoothly-toggle-switch", { key: 'd1dc476caab4529bb728338d7d83e8dc7f7b6bca', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
12768
12768
|
}
|
|
12769
12769
|
};
|
|
12770
12770
|
SmoothlyToggleSwitchDemo.style = SmoothlyToggleSwitchDemoStyle0;
|
|
@@ -12795,7 +12795,7 @@ const SmoothlyTrigger = class {
|
|
|
12795
12795
|
result = this.disabled ? (index.h("slot", null)) : (index.h("a", { onClick: e => this.onClick(e) }, index.h("slot", null)));
|
|
12796
12796
|
break;
|
|
12797
12797
|
case "button":
|
|
12798
|
-
result = (index.h("button", { key: '
|
|
12798
|
+
result = (index.h("button", { key: '6153b3befa2edf972b4fe3bf0844d3a6a456e9cc', disabled: this.disabled, name: this.name }, index.h("slot", { key: '2920b8301a6e36851e52b2b7884338657a326aff' })));
|
|
12799
12799
|
break;
|
|
12800
12800
|
}
|
|
12801
12801
|
return result;
|