smoothly 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/smoothly-app_99.cjs.entry.js +154 -152
- 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/cjs/smoothly.cjs.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/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 +10 -2
- package/dist/collection/components/tabs/demo/index.js.map +1 -1
- package/dist/collection/components/tabs/demo/style.css +7 -0
- package/dist/collection/components/tabs/index.js +28 -5
- package/dist/collection/components/tabs/index.js.map +1 -1
- package/dist/collection/components/tabs/style.css +3 -0
- 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-5cbcfb4d.js → p-00e29131.js} +4 -4
- package/dist/components/{p-5cbcfb4d.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-0ce90bf9.js → p-03c91070.js} +9 -7
- package/dist/components/p-03c91070.js.map +1 -0
- 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-df5f3329.js → p-0b8373df.js} +2 -2
- package/dist/components/{p-df5f3329.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-586da201.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-1d36d047.js +123 -0
- package/dist/components/{p-a95bab7d.js.map → p-1d36d047.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-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-7b8d9ec5.js → p-3609c2f0.js} +13 -13
- package/dist/components/{p-7b8d9ec5.js.map → p-3609c2f0.js.map} +1 -1
- package/dist/components/{p-c5f2b7e2.js → p-382b5857.js} +6 -6
- package/dist/components/{p-c5f2b7e2.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-9184ede6.js → p-3989ef69.js} +3 -3
- package/dist/components/{p-9184ede6.js.map → p-3989ef69.js.map} +1 -1
- package/dist/components/{p-0f1944b8.js → p-3b06b8a0.js} +27 -27
- package/dist/components/{p-0f1944b8.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-24d81cac.js → p-4139620f.js} +14 -14
- package/dist/components/{p-24d81cac.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-18ba7524.js → p-5083f036.js} +2 -2
- package/dist/components/{p-18ba7524.js.map → p-5083f036.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-83de27af.js → p-52ba5546.js} +5 -5
- package/dist/components/{p-83de27af.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-37363a06.js → p-5bb38e6d.js} +8 -8
- package/dist/components/{p-37363a06.js.map → p-5bb38e6d.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-671e09bf.js → p-627c3fc7.js} +8 -8
- package/dist/components/{p-671e09bf.js.map → p-627c3fc7.js.map} +1 -1
- package/dist/components/{p-183f3712.js → p-6396cebd.js} +12 -12
- package/dist/components/{p-183f3712.js.map → p-6396cebd.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-72b6a817.js +54 -0
- package/dist/components/p-72b6a817.js.map +1 -0
- package/dist/components/{p-047f6a2c.js → p-7b0de261.js} +6 -6
- package/dist/components/{p-047f6a2c.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-ecbadf51.js → p-840a2e6c.js} +32 -32
- package/dist/components/{p-ecbadf51.js.map → p-840a2e6c.js.map} +1 -1
- package/dist/components/{p-06279029.js → p-8a0d18a0.js} +15 -15
- package/dist/components/{p-06279029.js.map → p-8a0d18a0.js.map} +1 -1
- package/dist/components/{p-f0f3ed83.js → p-8a92424a.js} +37 -37
- package/dist/components/{p-f0f3ed83.js.map → p-8a92424a.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-8ce2b17b.js → p-9bc7b378.js} +15 -15
- package/dist/components/{p-8ce2b17b.js.map → p-9bc7b378.js.map} +1 -1
- package/dist/components/{p-76b9e403.js → p-9d5f7dde.js} +15 -15
- package/dist/components/{p-76b9e403.js.map → p-9d5f7dde.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-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-d4e83a45.js → p-b121c0da.js} +2 -2
- package/dist/components/{p-d4e83a45.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-90b3c187.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-f26d6e24.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-495023df.js → p-cbf3c133.js} +45 -45
- package/dist/components/{p-495023df.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-9253f214.js → p-d0953a9e.js} +4 -4
- package/dist/components/{p-9253f214.js.map → p-d0953a9e.js.map} +1 -1
- package/dist/components/{p-194c03be.js → p-d1462fc3.js} +3 -3
- package/dist/components/{p-194c03be.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-b52b18ec.js → p-d969fa64.js} +2 -2
- package/dist/components/{p-b52b18ec.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-10ecc565.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/loader.js +1 -1
- package/dist/esm/smoothly-app_99.entry.js +154 -152
- 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/esm/smoothly.js +1 -1
- package/dist/smoothly/{p-ad856966.entry.js → p-0e2084ab.entry.js} +2 -2
- package/dist/smoothly/p-2f754778.entry.js +2 -0
- package/dist/smoothly/p-2f754778.entry.js.map +1 -0
- 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-44bafff1.entry.js → p-d4de2329.entry.js} +2 -2
- package/dist/smoothly/{p-944059f1.entry.js → p-d52851a6.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/tabs/demo/index.d.ts +1 -0
- package/dist/types/components/tabs/index.d.ts +2 -1
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-0ce90bf9.js.map +0 -1
- package/dist/components/p-10ecc565.js +0 -73
- package/dist/components/p-42fba537.js +0 -176
- package/dist/components/p-586da201.js +0 -244
- package/dist/components/p-7eba212a.js +0 -45
- package/dist/components/p-7eba212a.js.map +0 -1
- package/dist/components/p-90b3c187.js +0 -45
- package/dist/components/p-a95bab7d.js +0 -123
- package/dist/components/p-f26d6e24.js +0 -175
- package/dist/smoothly/p-7be14d99.entry.js +0 -2
- package/dist/smoothly/p-7be14d99.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-44bafff1.entry.js.map → p-d4de2329.entry.js.map} +0 -0
- /package/dist/smoothly/{p-944059f1.entry.js.map → p-d52851a6.entry.js.map} +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-a09be6d8.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-d1462fc3.js';
|
|
4
|
+
|
|
5
|
+
const styleCss = ".sc-smoothly-toggle-switch-demo-h>div.sc-smoothly-toggle-switch-demo{display:grid;grid-template-columns:repeat(5, max-content);gap:1em}.sc-smoothly-toggle-switch-demo-h>div.sc-smoothly-toggle-switch-demo>span.sc-smoothly-toggle-switch-demo>p.sc-smoothly-toggle-switch-demo{margin:0}";
|
|
6
|
+
const SmoothlyToggleSwitchDemoStyle0 = styleCss;
|
|
7
|
+
|
|
8
|
+
const SmoothlyToggleSwitchDemo = proxyCustomElement(class SmoothlyToggleSwitchDemo extends H {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { key: '7244c0775661c5251de41f4cb585558e982e9cdc' }, h("h4", { key: 'c108f6c96f41a583cecbfa4f802e09bf5b29bfa6' }, "Toggle switches"), h("div", { key: 'd2392feab387636df6b679d66193a1e653730b9c' }, h("p", { key: '3a7183bc8158e48e87f85e4f6cdc9dc4ad73d439' }, "Checkmark"), h("span", { key: 'edd3411d6f0b9fb5f326d50c3ba5e65d7c9d3f46' }, h("p", { key: '3fb9bb4ecb81e5d50e123f2202a391ebebd8bcea' }, "Tiny"), h("smoothly-toggle-switch", { key: '40c66f8203c5d5334cb1e14f4c37df29d9cf0485', disabled: false, size: "tiny" })), h("span", { key: '4391169b01717b9afd58f80528ce6f07a2f13090' }, h("p", { key: 'dc9f64b2bd7275033e17d6b9fb7065c6bb9b94df' }, "Small"), h("smoothly-toggle-switch", { key: 'ed4899bc0923bcdbfbbdbdb9b6a2cc089bd364de', disabled: false, size: "small" })), h("span", { key: 'd31a484739a59c7fcce0edd573e4291efeca44e4' }, h("p", { key: '4e1497c248ab56f2c3bc3576686b2ddd7bb7a782' }, "Standard"), h("smoothly-toggle-switch", { key: 'd64bcfb068ad854639ecccc8a7e697650c54521f', disabled: false })), h("span", { key: '19a06462de61ee2836f1fa30114e46f576b6edf4' }, h("p", { key: 'ae25ea9d14593a21ae90f5badb1249725dd3ff78' }, "Large"), h("smoothly-toggle-switch", { key: '09d47e0964233a311f5bf4cb8b9c0dbcd04ef958', disabled: false, size: "large" })), h("p", { key: '34095ddde101a0d5ffd98589cf526f4b57caf572' }, "Colors checkmark"), h("span", { key: '76572774a4e9e14b384c4b40444ab04f46b833a9' }, h("p", { key: '2e5ad34f22b142fc19586f43a778851f98dfda8c' }, "Danger"), h("smoothly-toggle-switch", { key: 'cf026c289dbfcf230049290516e9ab4f5274ba45', color: "danger", disabled: false, size: "small" })), h("span", { key: 'cd1e858211f54ba90168398f8dc6dc9433778815' }, h("p", { key: 'b2b51c00108c1ae9396eb9b1e5aeee9223faecde' }, "Primary color"), h("smoothly-toggle-switch", { key: '66fbbd81fe1e7ea9e4bdd52c374e1644d634d195', color: "primary", disabled: false, size: "small" })), h("span", { key: 'a6de47e35e6ff653a0efa7ca7b7245abb44e32ac' }, h("p", { key: '89ab7f161e45ea01edee1fa4c9eb96332fd18043' }, "Secondary color"), h("smoothly-toggle-switch", { key: '82f993af3797d0754e0cad6a8374c78d98ca058c', color: "secondary", disabled: false, size: "small" })), h("p", { key: 'dfce3bdd11950ef7c97eb423f9bc08346e0e1cfc' }), h("p", { key: '25ebe0b63abaeb37895a8286ec5a4203d665da99' }, "Colors no checkmark"), h("span", { key: '111622bbb1ea6d5efd300b515a066d19d6dd9dbd' }, h("p", { key: 'd3f80fe3a765aad09ca735795ccd1f66e459bf44' }, "Danger"), h("smoothly-toggle-switch", { key: 'b19cb7d3f582e0423442adde9b21218e73d45837', checkmark: false, color: "danger", disabled: false, size: "small" })), h("span", { key: 'dfb1fe67e596f44dde4c07494011dc6b8009a961' }, h("p", { key: 'a0f15473ffc3f2d33dee7726c0493ddd192fa39e' }, "Primary color"), h("smoothly-toggle-switch", { key: '1e7cbda870f2816244dac14c7c65a99367feddb3', checkmark: false, color: "primary", disabled: false, size: "small" })), h("span", { key: '4fa92a8eee14883f9fedcf543ae87cbda4de8922' }, h("p", { key: 'b69a2307ad3c726dc6f602788c490fe81e0299e0' }, "Secondary color"), h("smoothly-toggle-switch", { key: 'd1dc476caab4529bb728338d7d83e8dc7f7b6bca', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
|
|
15
|
+
}
|
|
16
|
+
static get style() { return SmoothlyToggleSwitchDemoStyle0; }
|
|
17
|
+
}, [2, "smoothly-toggle-switch-demo"]);
|
|
18
|
+
function defineCustomElement() {
|
|
19
|
+
if (typeof customElements === "undefined") {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const components = ["smoothly-toggle-switch-demo", "smoothly-icon", "smoothly-toggle-switch"];
|
|
23
|
+
components.forEach(tagName => { switch (tagName) {
|
|
24
|
+
case "smoothly-toggle-switch-demo":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
customElements.define(tagName, SmoothlyToggleSwitchDemo);
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
case "smoothly-icon":
|
|
30
|
+
if (!customElements.get(tagName)) {
|
|
31
|
+
defineCustomElement$2();
|
|
32
|
+
}
|
|
33
|
+
break;
|
|
34
|
+
case "smoothly-toggle-switch":
|
|
35
|
+
if (!customElements.get(tagName)) {
|
|
36
|
+
defineCustomElement$1();
|
|
37
|
+
}
|
|
38
|
+
break;
|
|
39
|
+
} });
|
|
40
|
+
}
|
|
41
|
+
defineCustomElement();
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AS,EAAE,KAAK,EAAE,KAAK,EAAC,SAAS,EAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG,CACpF,EACP,+DACC,8EAAsB,EACtB,+EAAwB,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,WAAW,EAAC,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAC,OAAO,GAAG,CACtF,CACF,CACA,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/toggle-switch/demo/style.css?tag=smoothly-toggle-switch-demo&encapsulation=scoped","src/components/toggle-switch/demo/index.tsx"],"sourcesContent":[":host>div {\n\tdisplay: grid;\n\tgrid-template-columns: repeat(5, max-content);\n\tgap: 1em;\n}\n\n:host>div>span>p {\n\tmargin: 0;\n}\n","import { Component, h, Host } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-toggle-switch-demo\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyToggleSwitchDemo {\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h4>Toggle switches</h4>\n\t\t\t\t<div>\n\t\t\t\t\t<p>Checkmark</p>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Tiny</p>\n\t\t\t\t\t\t<smoothly-toggle-switch disabled={false} size=\"tiny\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Small</p>\n\t\t\t\t\t\t<smoothly-toggle-switch disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Standard</p>\n\t\t\t\t\t\t<smoothly-toggle-switch disabled={false} />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Large</p>\n\t\t\t\t\t\t<smoothly-toggle-switch disabled={false} size=\"large\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<p>Colors checkmark</p>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Danger</p>\n\t\t\t\t\t\t<smoothly-toggle-switch color=\"danger\" disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Primary color</p>\n\t\t\t\t\t\t<smoothly-toggle-switch color=\"primary\" disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Secondary color</p>\n\t\t\t\t\t\t<smoothly-toggle-switch color=\"secondary\" disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<p></p>\n\t\t\t\t\t<p>Colors no checkmark</p>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Danger</p>\n\t\t\t\t\t\t<smoothly-toggle-switch checkmark={false} color=\"danger\" disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Primary color</p>\n\t\t\t\t\t\t<smoothly-toggle-switch checkmark={false} color=\"primary\" disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t\t<span>\n\t\t\t\t\t\t<p>Secondary color</p>\n\t\t\t\t\t\t<smoothly-toggle-switch checkmark={false} color=\"secondary\" disabled={false} size=\"small\" />\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
|
|
2
|
-
import { I as Input } from './p-
|
|
2
|
+
import { I as Input } from './p-ed1e7da4.js';
|
|
3
3
|
|
|
4
4
|
const styleCss = ".sc-smoothly-input-radio-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}.sc-smoothly-input-radio-h[looks=\"border\"].sc-smoothly-input-radio-s>smoothly-picker-menu smoothly-input,[looks=\"border\"].sc-smoothly-input-radio-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"border\"][readonly].sc-smoothly-input-radio-h{border:transparent solid 1px}.sc-smoothly-input-radio-h[looks=\"line\"].sc-smoothly-input-radio-s>smoothly-picker-menu smoothly-input,[looks=\"line\"].sc-smoothly-input-radio-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px}[looks=\"line\"][readonly].sc-smoothly-input-radio-h{border-bottom:transparent solid 1px}[looks=\"grid\"].sc-smoothly-input-radio-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks=\"grid\"][readonly].sc-smoothly-input-radio-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks=\"transparent\"].sc-smoothly-input-radio-h{border:none}[looks=\"transparent\"][readonly].sc-smoothly-input-radio-h,[looks=\"transparent\"].sc-smoothly-input-radio-h:not(:focus-within){background-color:transparent}[looks=\"transparent\"][readonly].sc-smoothly-input-radio-h>input.sc-smoothly-input-radio,[looks=\"transparent\"].sc-smoothly-input-radio-h:not(:focus-within)>input.sc-smoothly-input-radio{background:transparent}[looks=\"transparent\"].sc-smoothly-input-radio-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-radio-h.floating-label.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.floating-label .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder] .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly] .sc-smoothly-input-radio-s>[slot=label],.has-value.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[placeholder].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[readonly].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.sc-smoothly-input-radio-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-radio{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-radio-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-radio{display:none}.sc-smoothly-input-radio-h{background-color:rgb(var(--smoothly-input-background));display:flex;align-items:center;padding-left:var(--input-padding-side);box-sizing:border-box}[show-label].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio{position:relative;padding-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio,.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{display:flex;gap:1.5rem}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=end]{margin-right:0;margin-left:auto}[readonly].sc-smoothly-input-radio-h smoothly-input-radio-item.sc-smoothly-input-radio *.sc-smoothly-input-radio{cursor:not-allowed}";
|
|
5
5
|
const SmoothlyInputRadioStyle0 = styleCss;
|
|
@@ -106,7 +106,7 @@ const SmoothlyInputRadio = proxyCustomElement(class SmoothlyInputRadio extends H
|
|
|
106
106
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: '9832f054f11d49d0c5f427bad59d7e71c3dfb2bb', class: "floating-label" }, h("slot", { key: 'bbb81a0d76656ee8b8b16d44d986a20a8a26229b', name: "start" }), h("div", { key: 'f89673a9f124e42216d39f5d09ea7445f0eb40d8' }, h("slot", { key: '1b9cb1c072213a19fa8b83d9f2dfe61792b9571f', name: "label" }), h("div", { key: 'a14d4813301823d8ef7108a36dbf6d6ab15bda30', class: "options" }, h("slot", { key: '3b34f630c9780413c4ee72d611c0298d04482bfe' }))), h("slot", { key: '90f11393598e9548125f758148c75a09af02a56b', name: "end" })));
|
|
110
110
|
}
|
|
111
111
|
get element() { return this; }
|
|
112
112
|
static get watchers() { return {
|
|
@@ -152,4 +152,4 @@ defineCustomElement();
|
|
|
152
152
|
|
|
153
153
|
export { SmoothlyInputRadio as S, defineCustomElement as d };
|
|
154
154
|
|
|
155
|
-
//# sourceMappingURL=p-
|
|
155
|
+
//# sourceMappingURL=p-ba76192d.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-ba76192d.js","mappings":";;;AAAA,MAAM,QAAQ,GAAG,ytHAAytH,CAAC;AAC3uH,iCAAe,QAAQ;;MCyBV,kBAAkB;;;;;;;;QAItB,wBAAmB,GAAG,KAAK,CAAA;QAC3B,aAAQ,GAAsD,EAAE,CAAA;uBAErC,KAAK;qBACF,SAAS;;;;wBAII,KAAK;;yBAEnB,IAAI;;IAKzC,iBAAiB;;QAChB,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,eAAK,QAAC,CAAC,IAAI,CAAC,KAAK,GAAG,MAAA,IAAI,CAAC,KAAK,mCAAI,KAAK,IAAI,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,EAAC,EAAA,CAAC,CAAA;QAC1G,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC,CAAA;QACvF,MAAA,MAAA,IAAI,CAAC,QAAQ,EAAC,OAAO,mDAAG,IAAI,CAAC,CAAA;K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AAC,YAAY,EAAE,CAAA;KACnB;IAED,MAAM,YAAY;;QACjB,IAAI,CAAC,mBAAmB,KAAK,IAAI,CAAC,OAAO,GAAG,CAAA,MAAA,IAAI,CAAC,YAAY,0CAAE,KAAK,MAAK,IAAI,CAAC,KAAK,CAAC,CAAA;QACpF,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,GAAG,MAAM,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;QAC/D,MAAA,MAAA,IAAI,CAAC,QAAQ,EAAC,OAAO,mDAAG,IAAI,CAAC,CAAA;KAC7B;IAED,gBAAgB;;QACf,MAAA,MAAA,IAAI,CAAC,QAAQ,EAAC,OAAO,mDAAG,IAAI,CAAC,CAAA;KAC7B;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,gBAAgB,IAC3B,6DAAM,IAAI,EAAC,OAAO,GAAG,EACrB,8DACC,6DAAM,IAAI,EAAC,OAAO,GAAG,EACrB,4DAAK,KAAK,EAAC,SAAS,IACnB,8DAAQ,CACH,CACD,EACN,6DAAM,IAAI,EAAC,KAAK,GAAG,CACb,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/input/radio/style.css?tag=smoothly-input-radio&encapsulation=scoped","src/components/input/radio/index.tsx"],"sourcesContent":["@import \"../shared.css\";\n\n:host {\n\tbackground-color: rgb(var(--smoothly-input-background));\n\tdisplay: flex;\n\talign-items: center;\n\tpadding-left: var(--input-padding-side);\n\tbox-sizing: border-box;\n}\n:host[show-label]>div {\n\tposition: relative;\n\tpadding-block: var(--input-value-padding-top) var(--input-value-padding-bottom);\n}\n:host>div,\n:host>div>div.options {\n\tdisplay: flex;\n\tgap: 1.5rem;\n}\n:host::slotted([slot=end]) {\n\tmargin-right: 0;\n\tmargin-left: auto;\n}\n\n:host[readonly] smoothly-input-radio-item * {\n\tcursor: not-allowed;\n}\n","import {\n\tComponent,\n\tComponentWillLoad,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tMethod,\n\tProp,\n\tVNode,\n\tWatch,\n} from \"@stencil/core\"\nimport { Color, Data } from \"../../../model\"\nimport { Clearable } from \"../Clearable\"\nimport { Editable } from \"../Editable\"\nimport { Input } from \"../Input\"\nimport { Looks } from \"../Looks\"\nimport { Selectable } from \"./Selected\"\n\n@Component({\n\ttag: \"smoothly-input-radio\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyInputRadio implements Input, Clearable, Editable, ComponentWillLoad {\n\t@Element() element: HTMLSmoothlyInputRadioElement\n\tparent: Editable | undefined\n\tprivate active?: Selectable\n\tprivate valueReceivedOnLoad = false\n\tprivate listener: { changed?: (parent: Editable) => Promise<void> } = {}\n\tinitialValue?: Selectable\n\t@Prop({ mutable: true }) changed = false\n\t@Prop({ mutable: true }) value: any = undefined\n\t@Prop({ mutable: true, reflect: true }) looks?: Looks\n\t@Prop({ reflect: true, mutable: true }) color?: Color\n\t@Prop() clearable?: boolean\n\t@Prop({ mutable: true, reflect: true }) readonly = false\n\t@Prop({ reflect: true }) name: string\n\t@Prop({ reflect: true }) showLabel = true\n\t@Event() smoothlyInputLooks: EventEmitter<(looks?: Looks, color?: Color) => void>\n\t@Event() smoothlyInput: EventEmitter<Data>\n\t@Event() smoothlyInputLoad: EventEmitter<(parent: Editable) => void>\n\t@Event() smoothlyFormDisable: EventEmitter<(disabled: boolean) => void>\n\tcomponentWillLoad(): void | Promise<void> {\n\t\tthis.smoothlyInputLooks.emit((looks, color) => ((this.looks = this.looks ?? looks), (this.color = color)))\n\t\t!this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly))\n\t\tthis.listener.changed?.(this)\n\t}\n\tcomponentDidLoad(): void | Promise<void> {\n\t\t!this.valueReceivedOnLoad && this.smoothlyInput.emit({ [this.name]: this.value })\n\t\tthis.smoothlyInputLoad.emit(parent => (this.parent = parent))\n\t\tthis.initialValue = this.active\n\t}\n\t@Listen(\"smoothlyRadioItemRegister\")\n\thandleRegister(event: CustomEvent<(name: string) => void>) {\n\t\tevent.stopPropagation()\n\t\tevent.detail(this.name)\n\t}\n\t@Listen(\"smoothlyInputLoad\")\n\tsmoothlyInputLoadHandler(event: CustomEvent<(parent: SmoothlyInputRadio) => void>): void {\n\t\tInput.registerSubAction(this, event)\n\t}\n\t@Listen(\"smoothlySelect\")\n\tsmoothlyRadioInputHandler(event: CustomEvent<Selectable>): void {\n\t\tevent.stopPropagation()\n\t\tif (!this.readonly || !this.valueReceivedOnLoad) {\n\t\t\tif (this.clearable && this.active?.value === event.detail.value)\n\t\t\t\tthis.clear()\n\t\t\telse if (this.active?.value !== event.detail.value) {\n\t\t\t\tthis.active?.select(false)\n\t\t\t\tthis.active = event.detail\n\t\t\t\tthis.value = this.active.value\n\t\t\t\tthis.active.select(true)\n\t\t\t}\n\t\t}\n\t\t!this.valueReceivedOnLoad && (this.valueReceivedOnLoad = !this.valueReceivedOnLoad)\n\t}\n\t@Method()\n\tasync listen(property: \"changed\", listener: (parent: Editable) => Promise<void>): Promise<void> {\n\t\tthis.listener[property] = listener\n\t\tlistener(this)\n\t}\n\tasync disconnectedCallback() {\n\t\tif (!this.element.isConnected)\n\t\t\tawait this.unregister()\n\t}\n\t@Method()\n\tasync register() {\n\t\tInput.formAdd(this)\n\t}\n\t@Method()\n\tasync unregister() {\n\t\tInput.formRemove(this)\n\t}\n\t@Method()\n\tasync getValue(): Promise<any | undefined> {\n\t\treturn this.value\n\t}\n\t@Method()\n\tasync clear(): Promise<void> {\n\t\tif (this.clearable) {\n\t\t\tthis.active?.select(false)\n\t\t\tthis.active = undefined\n\t\t\tthis.value = undefined\n\t\t}\n\t}\n\t@Method()\n\tasync edit(editable: boolean): Promise<void> {\n\t\tthis.readonly = !editable\n\t}\n\t@Method()\n\tasync reset(): Promise<void> {\n\t\tthis.active?.select(false)\n\t\tthis.active = this.initialValue\n\t\tthis.value = this.initialValue?.value\n\t\tthis.active?.select(true)\n\t}\n\t@Method()\n\tasync setInitialValue(): Promise<void> {\n\t\tthis.initialValue = this.active\n\t\tthis.valueChanged()\n\t}\n\t@Watch(\"value\")\n\tasync valueChanged(): Promise<void> {\n\t\tthis.valueReceivedOnLoad && (this.changed = this.initialValue?.value !== this.value)\n\t\tthis.smoothlyInput.emit({ [this.name]: await this.getValue() })\n\t\tthis.listener.changed?.(this)\n\t}\n\t@Watch(\"readonly\")\n\twatchingReadonly(): void {\n\t\tthis.listener.changed?.(this)\n\t}\n\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host class=\"floating-label\">\n\t\t\t\t<slot name=\"start\" />\n\t\t\t\t<div>\n\t\t\t\t\t<slot name=\"label\" />\n\t\t\t\t\t<div class=\"options\">\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<slot name=\"end\" />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-f765921a.js';
|
|
2
|
+
import { d as defineCustomElement$o } from './p-c98922f4.js';
|
|
3
|
+
import { d as defineCustomElement$n } from './p-e5627b06.js';
|
|
4
|
+
import { d as defineCustomElement$m } from './p-065cbcf5.js';
|
|
5
|
+
import { d as defineCustomElement$l } from './p-b235b5aa.js';
|
|
6
|
+
import { d as defineCustomElement$k } from './p-d3c8be66.js';
|
|
7
|
+
import { d as defineCustomElement$j } from './p-5bf78c75.js';
|
|
8
|
+
import { d as defineCustomElement$i } from './p-d8bd7cc0.js';
|
|
9
|
+
import { d as defineCustomElement$h } from './p-ed1e7da4.js';
|
|
10
|
+
import { d as defineCustomElement$g } from './p-a09be6d8.js';
|
|
11
|
+
import { d as defineCustomElement$f } from './p-cef759f2.js';
|
|
12
|
+
import { d as defineCustomElement$e } from './p-d1dcafa9.js';
|
|
13
|
+
import { d as defineCustomElement$d } from './p-56fc01bf.js';
|
|
14
|
+
import { d as defineCustomElement$c } from './p-3609c2f0.js';
|
|
15
|
+
import { d as defineCustomElement$b } from './p-4fbdcaa4.js';
|
|
16
|
+
import { d as defineCustomElement$a } from './p-1e8fa07d.js';
|
|
17
|
+
import { d as defineCustomElement$9 } from './p-ba76192d.js';
|
|
18
|
+
import { d as defineCustomElement$8 } from './p-d81a3a84.js';
|
|
19
|
+
import { d as defineCustomElement$7 } from './p-b3cfa9a5.js';
|
|
20
|
+
import { d as defineCustomElement$6 } from './p-a765eaaa.js';
|
|
21
|
+
import { d as defineCustomElement$5 } from './p-9e3806ff.js';
|
|
22
|
+
import { d as defineCustomElement$4 } from './p-e9e71692.js';
|
|
23
|
+
import { d as defineCustomElement$3 } from './p-da4c10d0.js';
|
|
24
|
+
import { d as defineCustomElement$2 } from './p-18451fa9.js';
|
|
25
|
+
import { d as defineCustomElement$1 } from './p-d1462fc3.js';
|
|
26
|
+
|
|
27
|
+
const SmoothlyFormDemoAll = proxyCustomElement(class SmoothlyFormDemoAll extends H {
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
this.__registerHost();
|
|
31
|
+
}
|
|
32
|
+
render() {
|
|
33
|
+
return (h(Host, { key: '9298c0027a86d364c9e0adb853ed89060cc7a644' }, h("h2", { key: 'b86f7e41dcddd8c9337ea48deb27446b6794ea8c' }, "All inputs"), h("smoothly-form", { key: '860e8fbce325048a8e6bfaafc46f83136b016e6b', looks: "grid", type: "create", readonly: true, action: "https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4", onSmoothlyFormSubmit: e => {
|
|
34
|
+
Object.entries(e.detail.value).forEach(([key, value]) => console.log(key, value));
|
|
35
|
+
} }, h("smoothly-input", { key: '484dbd9795185b6639794d9327c89a143780e805', readonly: true, name: "First Name", value: "John" }, "First name"), h("smoothly-input", { key: '534fd25c0afa52da913af3b8db7e5466af0238e8', showLabel: false, name: "Last name", value: "Doe" }, "Last name", h("smoothly-input-clear", { key: '421f97e49656803aeece0b15c9b5836df4ba53e7', size: "icon", slot: "end" })), h("smoothly-input", { key: '86935d28602aa195dd06314d1cdc6de612086de8', type: "phone", name: "Phone", value: "777888999" }, "Phone", h("smoothly-input-reset", { key: 'fd8f16a7c8370a74eb5bb006862ff0711dfc7b6d', size: "icon", slot: "end" })), h("smoothly-input-radio", { key: 'd5bcd5035a4a7b89c0508c59bc60872089b0d32d', clearable: true, name: "radioFirstInput" }, h("label", { key: '6863ab9bca796cf7251b070429a3c5e0f0550407', slot: "label" }, "Clearable"), h("smoothly-input-radio-item", { key: '35af39c7a0fd98cc4dbb472c2ceb3dc63d5a934a', value: "first" }, "Label 1"), h("smoothly-input-radio-item", { key: '55c8c25754506cd692b1be9f90fc654094f6f1ea', selected: true, value: "second" }, "Label 2"), h("smoothly-input-radio-item", { key: 'c36de8288754936a549410de0cd2e85454428972', value: "third" }, "Label 3")), h("smoothly-input-color", { key: '0a090d87ced55edf0c1139714ac5545a605d531f', name: "color" }, "Color"), h("smoothly-input-select", { key: '446645ff8a548339fca2277cffb4c2ee3b9dd41c', multiple: true, menuHeight: "7.5items", placeholder: "Select...", name: "select-month" }, h("label", { key: 'bda1f349aad889ec40c44dae6474d0909b322968', slot: "label" }, "Month multiple select"), h("smoothly-item", { key: '09fe26ce4b5a9920eec454b00cfc8a52f7c81c6b', value: "1" }, "January"), h("smoothly-item", { key: '563059787300a3eafab433e89ac4e0490ce0b715', value: "2" }, "February"), h("smoothly-item", { key: 'f24d391ba6068274e5121f72f47a7ed146197458', value: "3" }, "March"), h("smoothly-item", { key: 'e533bf1e61275b73e545cefdd3318e0e95cd04d5', value: "4" }, "April"), h("smoothly-item", { key: '3d729d92a59da224464fda63a15cf868a8f318d6', value: "5" }, "May"), h("smoothly-item", { key: '38bbd631f5aaa722091f15b8d6fcc7016a24ba2f', value: "6" }, "June"), h("smoothly-item", { key: '58558fb82d6bf7795c5333cb78e6f57cdb408285', value: "7" }, "July"), h("smoothly-item", { key: 'b9ac6170978756e9c0c132d094d3e6c589b2dbd6', value: "8" }, "August"), h("smoothly-item", { key: '8c1dfb21e9acf0bd6c1e3cb6f137b7e774ea97b3', value: "9" }, "September"), h("smoothly-item", { key: 'ada2161238c0abf800739e9e53a8eff4cd94eb7c', value: "10" }, "October"), h("smoothly-item", { key: 'c5abbaf2ad1afe813f0bd987db7ea0315d54cf9c', value: "11" }, "November"), h("smoothly-item", { key: 'f1f97f553cefa013b4a3764c53b1ab536255a880', value: "12" }, "December")), h("smoothly-input-select", { key: '1671889e3da056149cb5657d935d44afe600e0b2', name: "select-icon", clearable: false, showSelected: false }, h("smoothly-item", { key: '68d6ecab8efd17dde74150a1843c20a419453265', value: "folder", selected: true }, h("smoothly-icon", { key: '2cc01f6ac8ccb79b04e4aa6d809ed49a7044b2ee', size: "small", name: "folder-outline" })), h("smoothly-item", { key: '1079bb57d321fc79dd8555e487e376166064e62c', value: "camera" }, h("smoothly-icon", { key: '580075f31efb81b91c9d8301a9a4febf9e82c339', size: "small", name: "camera-outline" }))), h("smoothly-input-checkbox", { key: '71285cad4b29ad237c9005932d55380ef6f04b0b', name: "checkbox" }, "Check the box"), h("smoothly-input-checkbox", { key: '4196ec46bd8a9cb588c4109ab80ef34dd2531f63', name: "checkbox2", checked: true }, "Check the box 2"), h("smoothly-input-range", { key: 'bf51eaf55920c8dd72a73872a2ca2d9f14281e52', step: 1, name: "range3", value: 20, label: "Range" }), h("smoothly-input", { key: 'd3171b955095dcc17ee5497c3a264756e74b4096', name: "pets.0.name" }, "First Pet's Name"), h("smoothly-input-range", { key: 'b11740151f1ab60c21c02a9f4244607e3001e52f', name: "pets.0.age", max: 100, step: 1, label: "First Pet's Age" }), h("smoothly-input", { key: '4a4409aabcfec783101425298bfdb1f70b1edffe', name: "pets.1.name" }, "Second Pet's Name"), h("smoothly-input-range", { key: '2c4d2d83bc1ddcdee8eb04fc199d849e9d973dcb', name: "pets.1.age", max: 100, step: 1, label: "Second Pet's Age" }), h("smoothly-input", { key: 'c721ccdf6b792df664d9e23e44e3d827d209aa76', name: "pets.2.name" }, "Third Pet's Name"), h("smoothly-input-range", { key: '767764bab214e208ef13572ca78f5353313aec4e', name: "pets.2.age", max: 100, step: 1, label: "Third Pet's Age" }), h("smoothly-input-file", { key: '720645538a3cdf72551570d1a8ab4f25203469f1', name: "profile", placeholder: "Click or drag your profile picture here..." }, h("span", { key: '1567a324ff92608c75e32be13aa1cf3d26bb80e9', slot: "label" }, "Profile"), h("smoothly-icon", { key: '3226559747e988f1ddebfab8f2da3f87c47135c1', slot: "button", name: "person-circle-outline", size: "tiny", fill: "default" })), h("smoothly-input", { key: '4549acca34866a6e7c3d460612222be24d3b7c7f', type: "duration", name: "duration", value: {} }, "Duration"), h("smoothly-input-clear", { key: '76eebe5998fd3d83a50467b40ed9f7ef1566641a', fill: "default", type: "form", color: "warning", slot: "clear", size: "icon", shape: "rounded" }), h("smoothly-input-edit", { key: '76d8f79bacd7ef403beabd0609f6c9db74384d5c', fill: "default", type: "form", color: "tertiary", slot: "edit", size: "icon", shape: "rounded" }), h("smoothly-input-reset", { key: 'a735f832cfde957585d383badd1b64ac0b380513', fill: "default", type: "form", color: "warning", slot: "reset", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '375de0564e4df2b96158ce1ea3bfbc53ec3d55c4', delete: true, slot: "delete", color: "danger", size: "icon", shape: "rounded" }), h("smoothly-input-submit", { key: '148ba1273c6d7fb3b3068c47c1d1d78c7f2c260d', fill: "default", color: "success", slot: "submit", size: "icon", shape: "rounded" }))));
|
|
36
|
+
}
|
|
37
|
+
}, [2, "smoothly-form-demo-all"]);
|
|
38
|
+
function defineCustomElement() {
|
|
39
|
+
if (typeof customElements === "undefined") {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const components = ["smoothly-form-demo-all", "smoothly-button", "smoothly-button-confirm", "smoothly-display", "smoothly-display-json", "smoothly-display-json-object", "smoothly-display-json-primitive", "smoothly-display-json-record-key", "smoothly-form", "smoothly-icon", "smoothly-input", "smoothly-input-checkbox", "smoothly-input-clear", "smoothly-input-color", "smoothly-input-edit", "smoothly-input-file", "smoothly-input-radio", "smoothly-input-radio-item", "smoothly-input-range", "smoothly-input-reset", "smoothly-input-select", "smoothly-input-submit", "smoothly-item", "smoothly-spinner", "smoothly-toggle-switch"];
|
|
43
|
+
components.forEach(tagName => { switch (tagName) {
|
|
44
|
+
case "smoothly-form-demo-all":
|
|
45
|
+
if (!customElements.get(tagName)) {
|
|
46
|
+
customElements.define(tagName, SmoothlyFormDemoAll);
|
|
47
|
+
}
|
|
48
|
+
break;
|
|
49
|
+
case "smoothly-button":
|
|
50
|
+
if (!customElements.get(tagName)) {
|
|
51
|
+
defineCustomElement$o();
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
case "smoothly-button-confirm":
|
|
55
|
+
if (!customElements.get(tagName)) {
|
|
56
|
+
defineCustomElement$n();
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
case "smoothly-display":
|
|
60
|
+
if (!customElements.get(tagName)) {
|
|
61
|
+
defineCustomElement$m();
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
case "smoothly-display-json":
|
|
65
|
+
if (!customElements.get(tagName)) {
|
|
66
|
+
defineCustomElement$l();
|
|
67
|
+
}
|
|
68
|
+
break;
|
|
69
|
+
case "smoothly-display-json-object":
|
|
70
|
+
if (!customElements.get(tagName)) {
|
|
71
|
+
defineCustomElement$k();
|
|
72
|
+
}
|
|
73
|
+
break;
|
|
74
|
+
case "smoothly-display-json-primitive":
|
|
75
|
+
if (!customElements.get(tagName)) {
|
|
76
|
+
defineCustomElement$j();
|
|
77
|
+
}
|
|
78
|
+
break;
|
|
79
|
+
case "smoothly-display-json-record-key":
|
|
80
|
+
if (!customElements.get(tagName)) {
|
|
81
|
+
defineCustomElement$i();
|
|
82
|
+
}
|
|
83
|
+
break;
|
|
84
|
+
case "smoothly-form":
|
|
85
|
+
if (!customElements.get(tagName)) {
|
|
86
|
+
defineCustomElement$h();
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
case "smoothly-icon":
|
|
90
|
+
if (!customElements.get(tagName)) {
|
|
91
|
+
defineCustomElement$g();
|
|
92
|
+
}
|
|
93
|
+
break;
|
|
94
|
+
case "smoothly-input":
|
|
95
|
+
if (!customElements.get(tagName)) {
|
|
96
|
+
defineCustomElement$f();
|
|
97
|
+
}
|
|
98
|
+
break;
|
|
99
|
+
case "smoothly-input-checkbox":
|
|
100
|
+
if (!customElements.get(tagName)) {
|
|
101
|
+
defineCustomElement$e();
|
|
102
|
+
}
|
|
103
|
+
break;
|
|
104
|
+
case "smoothly-input-clear":
|
|
105
|
+
if (!customElements.get(tagName)) {
|
|
106
|
+
defineCustomElement$d();
|
|
107
|
+
}
|
|
108
|
+
break;
|
|
109
|
+
case "smoothly-input-color":
|
|
110
|
+
if (!customElements.get(tagName)) {
|
|
111
|
+
defineCustomElement$c();
|
|
112
|
+
}
|
|
113
|
+
break;
|
|
114
|
+
case "smoothly-input-edit":
|
|
115
|
+
if (!customElements.get(tagName)) {
|
|
116
|
+
defineCustomElement$b();
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
119
|
+
case "smoothly-input-file":
|
|
120
|
+
if (!customElements.get(tagName)) {
|
|
121
|
+
defineCustomElement$a();
|
|
122
|
+
}
|
|
123
|
+
break;
|
|
124
|
+
case "smoothly-input-radio":
|
|
125
|
+
if (!customElements.get(tagName)) {
|
|
126
|
+
defineCustomElement$9();
|
|
127
|
+
}
|
|
128
|
+
break;
|
|
129
|
+
case "smoothly-input-radio-item":
|
|
130
|
+
if (!customElements.get(tagName)) {
|
|
131
|
+
defineCustomElement$8();
|
|
132
|
+
}
|
|
133
|
+
break;
|
|
134
|
+
case "smoothly-input-range":
|
|
135
|
+
if (!customElements.get(tagName)) {
|
|
136
|
+
defineCustomElement$7();
|
|
137
|
+
}
|
|
138
|
+
break;
|
|
139
|
+
case "smoothly-input-reset":
|
|
140
|
+
if (!customElements.get(tagName)) {
|
|
141
|
+
defineCustomElement$6();
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
case "smoothly-input-select":
|
|
145
|
+
if (!customElements.get(tagName)) {
|
|
146
|
+
defineCustomElement$5();
|
|
147
|
+
}
|
|
148
|
+
break;
|
|
149
|
+
case "smoothly-input-submit":
|
|
150
|
+
if (!customElements.get(tagName)) {
|
|
151
|
+
defineCustomElement$4();
|
|
152
|
+
}
|
|
153
|
+
break;
|
|
154
|
+
case "smoothly-item":
|
|
155
|
+
if (!customElements.get(tagName)) {
|
|
156
|
+
defineCustomElement$3();
|
|
157
|
+
}
|
|
158
|
+
break;
|
|
159
|
+
case "smoothly-spinner":
|
|
160
|
+
if (!customElements.get(tagName)) {
|
|
161
|
+
defineCustomElement$2();
|
|
162
|
+
}
|
|
163
|
+
break;
|
|
164
|
+
case "smoothly-toggle-switch":
|
|
165
|
+
if (!customElements.get(tagName)) {
|
|
166
|
+
defineCustomElement$1();
|
|
167
|
+
}
|
|
168
|
+
break;
|
|
169
|
+
} });
|
|
170
|
+
}
|
|
171
|
+
defineCustomElement();
|
|
172
|
+
|
|
173
|
+
export { SmoothlyFormDemoAll as S, defineCustomElement as d };
|
|
174
|
+
|
|
175
|
+
//# sourceMappingURL=p-bbc6eae6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-bbc6eae6.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAMa,mBAAmB;;;;;IAC/B,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,0EAAmB,EACnB,sEACC,KAAK,EAAC,MAAM,EACZ,IAAI,EAAC,QAAQ,EACb,QAAQ,QACR,MAAM,EAAC,uEAAuE,EAC9E,oBAAoB,EAAE,CAAC;gBACtB,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAA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E,IAAI,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAI,CAC1E,EACtB,uEAAgB,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,UAAU,EAAC,KAAK,EAAE,EAAE,eAExC,EACjB,6EAAsB,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EAC5G,4EAAqB,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,UAAU,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EAC3G,6EAAsB,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EAC5G,8EAAuB,MAAM,QAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,EACzF,8EAAuB,IAAI,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,SAAS,GAAG,CACnF,CACV,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/form/demo/all/index.tsx"],"sourcesContent":["import { Component, h, Host, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-form-demo-all\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoAll {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>All inputs</h2>\n\t\t\t\t<smoothly-form\n\t\t\t\t\tlooks=\"grid\"\n\t\t\t\t\ttype=\"create\"\n\t\t\t\t\treadonly\n\t\t\t\t\taction=\"https://api.toiletapi.com/upload/6b12fd2f-e896-46f9-b38f-25cf42cee4b4\"\n\t\t\t\t\tonSmoothlyFormSubmit={e => {\n\t\t\t\t\t\tObject.entries(e.detail.value).forEach(([key, value]) => console.log(key, value))\n\t\t\t\t\t}}>\n\t\t\t\t\t<smoothly-input readonly name=\"First Name\" value=\"John\">\n\t\t\t\t\t\tFirst name\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input showLabel={false} name=\"Last name\" value=\"Doe\">\n\t\t\t\t\t\tLast name\n\t\t\t\t\t\t<smoothly-input-clear size=\"icon\" slot=\"end\" />\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input type=\"phone\" name=\"Phone\" value={\"777888999\"}>\n\t\t\t\t\t\tPhone\n\t\t\t\t\t\t<smoothly-input-reset size=\"icon\" slot=\"end\" />\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-radio clearable name=\"radioFirstInput\">\n\t\t\t\t\t\t<label slot=\"label\">Clearable</label>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"first\"}>Label 1</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item selected value={\"second\"}>\n\t\t\t\t\t\t\tLabel 2\n\t\t\t\t\t\t</smoothly-input-radio-item>\n\t\t\t\t\t\t<smoothly-input-radio-item value={\"third\"}>Label 3</smoothly-input-radio-item>\n\t\t\t\t\t</smoothly-input-radio>\n\t\t\t\t\t<smoothly-input-color name=\"color\">Color</smoothly-input-color>\n\t\t\t\t\t<smoothly-input-select multiple menuHeight=\"7.5items\" placeholder=\"Select...\" name=\"select-month\">\n\t\t\t\t\t\t<label slot=\"label\">Month multiple select</label>\n\t\t\t\t\t\t<smoothly-item value=\"1\">January</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"2\">February</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"3\">March</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"4\">April</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"5\">May</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"6\">June</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"7\">July</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"8\">August</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"9\">September</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"10\">October</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"11\">November</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"12\">December</smoothly-item>\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-select name=\"select-icon\" clearable={false} showSelected={false}>\n\t\t\t\t\t\t<smoothly-item value=\"folder\" selected>\n\t\t\t\t\t\t\t<smoothly-icon size=\"small\" name=\"folder-outline\" />\n\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t\t<smoothly-item value=\"camera\">\n\t\t\t\t\t\t\t<smoothly-icon size=\"small\" name=\"camera-outline\" />\n\t\t\t\t\t\t</smoothly-item>\n\t\t\t\t\t</smoothly-input-select>\n\t\t\t\t\t<smoothly-input-checkbox name=\"checkbox\">Check the box</smoothly-input-checkbox>\n\t\t\t\t\t<smoothly-input-checkbox name=\"checkbox2\" checked>\n\t\t\t\t\t\tCheck the box 2\n\t\t\t\t\t</smoothly-input-checkbox>\n\t\t\t\t\t<smoothly-input-range step={1} name=\"range3\" value={20} label=\"Range\" />\n\t\t\t\t\t<smoothly-input name=\"pets.0.name\">First Pet's Name</smoothly-input>\n\t\t\t\t\t<smoothly-input-range name=\"pets.0.age\" max={100} step={1} label=\"First Pet's Age\" />\n\t\t\t\t\t<smoothly-input name=\"pets.1.name\">Second Pet's Name</smoothly-input>\n\t\t\t\t\t<smoothly-input-range name=\"pets.1.age\" max={100} step={1} label=\"Second Pet's Age\" />\n\t\t\t\t\t<smoothly-input name=\"pets.2.name\">Third Pet's Name</smoothly-input>\n\t\t\t\t\t<smoothly-input-range name=\"pets.2.age\" max={100} step={1} label=\"Third Pet's Age\" />\n\t\t\t\t\t<smoothly-input-file name={\"profile\"} placeholder={\"Click or drag your profile picture here...\"}>\n\t\t\t\t\t\t<span slot={\"label\"}>Profile</span>\n\t\t\t\t\t\t<smoothly-icon slot={\"button\"} name={\"person-circle-outline\"} size={\"tiny\"} fill={\"default\"} />\n\t\t\t\t\t</smoothly-input-file>\n\t\t\t\t\t<smoothly-input type=\"duration\" name=\"duration\" value={{}}>\n\t\t\t\t\t\tDuration\n\t\t\t\t\t</smoothly-input>\n\t\t\t\t\t<smoothly-input-clear fill=\"default\" type=\"form\" color=\"warning\" slot=\"clear\" size=\"icon\" shape=\"rounded\" />\n\t\t\t\t\t<smoothly-input-edit fill=\"default\" type=\"form\" color=\"tertiary\" slot=\"edit\" size=\"icon\" shape=\"rounded\" />\n\t\t\t\t\t<smoothly-input-reset fill=\"default\" type=\"form\" color=\"warning\" slot=\"reset\" size=\"icon\" shape=\"rounded\" />\n\t\t\t\t\t<smoothly-input-submit delete slot=\"delete\" color=\"danger\" size=\"icon\" shape=\"rounded\" />\n\t\t\t\t\t<smoothly-input-submit fill=\"default\" color=\"success\" slot=\"submit\" size=\"icon\" shape=\"rounded\" />\n\t\t\t\t</smoothly-form>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-f765921a.js';
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-07d9e68a.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-2bbb8f53.js';
|
|
4
4
|
|
|
5
5
|
const styleCss = ".sc-smoothly-table-filler-row-h{grid-column:1 / -1}";
|
|
6
6
|
const SmoothlyTableFillerRowStyle0 = styleCss;
|
|
@@ -11,7 +11,7 @@ const SmoothlyTableFillerRow = proxyCustomElement(class SmoothlyTableFillerRow e
|
|
|
11
11
|
this.__registerHost();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("smoothly-table-row", { key: '
|
|
14
|
+
return (h("smoothly-table-row", { key: '92fd87de4da585ef58f350ab082895c4b958a156' }, h("smoothly-table-cell", { key: '49989c2461d4c057c81c4e881ae4d10f8aed5f7c' }, h("slot", { key: 'c4be1ef40a3106786e2d37528584a515dfec2264' }))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return SmoothlyTableFillerRowStyle0; }
|
|
17
17
|
}, [6, "smoothly-table-filler-row"]);
|
|
@@ -42,4 +42,4 @@ defineCustomElement();
|
|
|
42
42
|
|
|
43
43
|
export { SmoothlyTableFillerRow as S, defineCustomElement as d };
|
|
44
44
|
|
|
45
|
-
//# sourceMappingURL=p-
|
|
45
|
+
//# sourceMappingURL=p-c131480d.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-c131480d.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,qDAAqD,CAAC;AACvE,qCAAe,QAAQ;;MCMV,sBAAsB;;;;;IAClC,MAAM;QACL,QACC,6EACC,8EACC,8DAAQ,CACa,CACF,EACrB;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/table/filler-row/style.css?tag=smoothly-table-filler-row&encapsulation=scoped","src/components/table/filler-row/index.tsx"],"sourcesContent":[":host {\n\tgrid-column: 1 / -1;\n}\n","import { Component, h, VNode } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-table-filler-row\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTableFillerRow {\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<smoothly-table-row>\n\t\t\t\t<smoothly-table-cell>\n\t\t\t\t\t<slot />\n\t\t\t\t</smoothly-table-cell>\n\t\t\t</smoothly-table-row>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -4,18 +4,18 @@ import { o as object } from './p-d471066b.js';
|
|
|
4
4
|
import { f as fromIs } from './p-57ac5d1b.js';
|
|
5
5
|
import { N as Notice } from './p-ef01331e.js';
|
|
6
6
|
import './p-47ea6b68.js';
|
|
7
|
-
import { d as defineCustomElement$c } from './p-
|
|
8
|
-
import { d as defineCustomElement$b } from './p-
|
|
9
|
-
import { d as defineCustomElement$a } from './p-
|
|
10
|
-
import { d as defineCustomElement$9 } from './p-
|
|
11
|
-
import { d as defineCustomElement$8 } from './p-
|
|
12
|
-
import { d as defineCustomElement$7 } from './p-
|
|
13
|
-
import { d as defineCustomElement$6 } from './p-
|
|
14
|
-
import { d as defineCustomElement$5 } from './p-
|
|
15
|
-
import { d as defineCustomElement$4 } from './p-
|
|
16
|
-
import { d as defineCustomElement$3 } from './p-
|
|
17
|
-
import { d as defineCustomElement$2 } from './p-
|
|
18
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$c } from './p-c98922f4.js';
|
|
8
|
+
import { d as defineCustomElement$b } from './p-e5627b06.js';
|
|
9
|
+
import { d as defineCustomElement$a } from './p-a57e7345.js';
|
|
10
|
+
import { d as defineCustomElement$9 } from './p-ed1e7da4.js';
|
|
11
|
+
import { d as defineCustomElement$8 } from './p-a09be6d8.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './p-cef759f2.js';
|
|
13
|
+
import { d as defineCustomElement$6 } from './p-2c9a8b37.js';
|
|
14
|
+
import { d as defineCustomElement$5 } from './p-c3d52c12.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-9e3806ff.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-e9e71692.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-da4c10d0.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-18451fa9.js';
|
|
19
19
|
|
|
20
20
|
const styleCss = ".sc-smoothly-form-demo-date-h{display:block}";
|
|
21
21
|
const SmoothlyFormDemoDateStyle0 = styleCss;
|
|
@@ -42,7 +42,7 @@ const SmoothlyFormDemoDate = proxyCustomElement(class SmoothlyFormDemoDate exten
|
|
|
42
42
|
event.detail.result(false);
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '6de62591a7ff99e95c86427c6e7d01374d9d8502' }, h("h2", { key: '1780c7b2b48f5472d1e3cb10f9390861172be2a1' }, "Date input"), h("smoothly-form", { key: '1a639c8acf534b5735111816fb2137325ec14683', looks: "border", type: "create", validator: this.validator, onSmoothlyFormSubmit: e => this.submitHandler(e) }, h("smoothly-input-date", { key: '0168a5e216fabf08a0d8840ef011ea041931e4e9', name: "date" }, "Date"), h("smoothly-input-submit", { key: '3f2d5322924d28704e5588fb4446ad85b07c82ff', slot: "submit" }, h("smoothly-icon", { key: '3bc96c9ddce72c537182a47c21c764ab17c49780', name: "checkmark-outline" })))));
|
|
46
46
|
}
|
|
47
47
|
static get style() { return SmoothlyFormDemoDateStyle0; }
|
|
48
48
|
}, [2, "smoothly-form-demo-date"]);
|
|
@@ -123,4 +123,4 @@ defineCustomElement();
|
|
|
123
123
|
|
|
124
124
|
export { SmoothlyFormDemoDate as S, defineCustomElement as d };
|
|
125
125
|
|
|
126
|
-
//# sourceMappingURL=p-
|
|
126
|
+
//# sourceMappingURL=p-c31cce0c.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-c31cce0c.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,QAAQ,GAAG,8CAA8C,CAAC;AAChE,mCAAe,QAAQ;;MCSV,oBAAoB;IALjC;;;;QAOS,cAAS,GAAGA,MAAW,CAAuB;YACrD,IAAI,EAAEC,MAAW,CAAC,YAAY,EAAEC,IAAU,CAAC,EAAE,CAAC;SAC9C,CAAC,CAAA;KA6BF;IA5BA,MAAM,aAAa,CAAC,KAA0B;QAC7C,KAAK,CAAC,eAAe,EAAE,CAAA;QACvB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;YAC3C,OAAO,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAA;YACpC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,CAAA;SACtD;aAAM;YACN,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAA;YACvD,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;SACzB;QACD,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;KAC1B;IACD,MAAM;QACL,QACC,EAAC,IAAI,uDACJ,0EAAmB,EACnB,sEACC,KAAK,EAAE,QAAQ,EACf,IAAI,EAAE,QAAQ,EACd,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,oBAAoB,EAAE,CAAC,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAChD,4EAAqB,IAAI,EAAE,MAAM,IAAG,MAAM,CAAuB,EACjE,8EAAuB,IAAI,EAAE,QAAQ,IACpC,sEAAe,IAAI,EAAE,mBAAmB,GAAI,CACrB,CACT,CACV,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["isly.object","isly.fromIs","isoly.Date"],"sources":["src/components/form/demo/date/style.css?tag=smoothly-form-demo-date&encapsulation=scoped","src/components/form/demo/date/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n","import { Component, Event, EventEmitter, h, Host, VNode } from \"@stencil/core\"\nimport { isoly } from \"isoly\"\nimport { isly } from \"isly\"\nimport { Notice, Submit } from \"../../../../model\"\n\n@Component({\n\ttag: \"smoothly-form-demo-date\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyFormDemoDate {\n\t@Event() notice: EventEmitter<Notice>\n\tprivate validator = isly.object<{ date: isoly.Date }>({\n\t\tdate: isly.fromIs(\"isoly.Date\", isoly.Date.is),\n\t})\n\tasync submitHandler(event: CustomEvent<Submit>): Promise<void> {\n\t\tevent.stopPropagation()\n\t\tif (!this.validator.is(event.detail.value)) {\n\t\t\tconsole.error(`Type is incomplete.`)\n\t\t\tthis.notice.emit(Notice.failed(`Type is incomplete.`))\n\t\t} else {\n\t\t\tthis.notice.emit(Notice.succeeded(`Type is complete!`))\n\t\t\tevent.detail.result(true)\n\t\t}\n\t\tevent.detail.result(false)\n\t}\n\trender(): VNode | VNode[] {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<h2>Date input</h2>\n\t\t\t\t<smoothly-form\n\t\t\t\t\tlooks={\"border\"}\n\t\t\t\t\ttype={\"create\"}\n\t\t\t\t\tvalidator={this.validator}\n\t\t\t\t\tonSmoothlyFormSubmit={e => this.submitHandler(e)}>\n\t\t\t\t\t<smoothly-input-date name={\"date\"}>{\"Date\"}</smoothly-input-date>\n\t\t\t\t\t<smoothly-input-submit slot={\"submit\"}>\n\t\t\t\t\t\t<smoothly-icon name={\"checkmark-outline\"} />\n\t\t\t\t\t</smoothly-input-submit>\n\t\t\t\t</smoothly-form>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-f765921a.js';
|
|
2
2
|
import { D as Date$1 } from './p-390767c7.js';
|
|
3
|
-
import { I as Input } from './p-
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { I as Input } from './p-ed1e7da4.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-a09be6d8.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-9e3806ff.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-da4c10d0.js';
|
|
7
7
|
|
|
8
8
|
function month(date) {
|
|
9
9
|
const d = new Date(date);
|
|
@@ -176,9 +176,9 @@ const SmoothlyInputMonth = proxyCustomElement(class SmoothlyInputMonth extends H
|
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
178
|
var _a, _b;
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: 'b1f87fae87e6203e9ef74b7221281e037a830b9b' }, h("smoothly-icon", { key: 'dd4fe8e284f87807fbb31617ae79060bf0a59ee7', name: "caret-back-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
180
180
|
disabled: this.readonly || !this.allowPreviousMonth,
|
|
181
|
-
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), h("smoothly-input-select", { key: '
|
|
181
|
+
}, onClick: () => this.allowPreviousMonth && this.adjustMonth(-1) }), 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 }, h("div", { key: 'bebf42ca61c711925077807fd39d590ad7c62b90', slot: "label" }, h("slot", { key: '4b21253002def35172963163cf0070f319321c68', name: "year-label" })), years((_a = this.value) !== null && _a !== void 0 ? _a : Date$1.now(), this.min, this.max).map(year => (h("smoothly-item", { key: year.date, value: year.date, selected: year.selected || this.value == year.date }, year.name)))), h("smoothly-input-select", { key: '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 }, h("div", { key: 'cfa634dc871e83c96cdd49c7e65aeeaa347d9181', slot: "label" }, h("slot", { key: 'ae56d5cb8aadc9eab5f33da0fee54af46db7f3d2', name: "month-label" })), months((_b = this.value) !== null && _b !== void 0 ? _b : Date$1.now()).map(month => (h("smoothly-item", { key: month.date, value: month.date, selected: month.selected || this.value == month.date }, month.name)))), h("smoothly-icon", { key: 'a56a322fadacacd62d1cbae348c0f650432bf3c3', name: "caret-forward-outline", size: "tiny", color: this.color, fill: "default", class: {
|
|
182
182
|
disabled: this.readonly || !this.allowNextMonth,
|
|
183
183
|
}, onClick: () => this.allowNextMonth && this.adjustMonth(1) })));
|
|
184
184
|
}
|
|
@@ -248,4 +248,4 @@ defineCustomElement();
|
|
|
248
248
|
|
|
249
249
|
export { SmoothlyInputMonth as S, defineCustomElement as d, month as m, weekdays as w };
|
|
250
250
|
|
|
251
|
-
//# sourceMappingURL=p-
|
|
251
|
+
//# sourceMappingURL=p-c3d52c12.js.map
|