smoothly 1.2.1-alpha.22 → 1.2.1-alpha.24
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/{Scrollable-a60d6091.js → Scrollable-20426515.js} +36 -412
- package/dist/cjs/Scrollable-20426515.js.map +1 -0
- package/dist/cjs/{TimeZone-45bcd855.js → TimeZone-c7477083.js} +2940 -1728
- package/dist/cjs/TimeZone-c7477083.js.map +1 -0
- package/dist/cjs/{en-56378cc9.js → en-f4546147.js} +2 -2
- package/dist/cjs/{en-56378cc9.js.map → en-f4546147.js.map} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/smoothly-app_107.cjs.entry.js +78 -91
- package/dist/cjs/smoothly-app_107.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
- package/dist/collection/components/calendar/generate.js +1 -1
- package/dist/collection/components/calendar/generate.js.map +1 -1
- package/dist/collection/components/calendar/index.js +28 -27
- package/dist/collection/components/calendar/index.js.map +1 -1
- package/dist/collection/components/checkbox/translation/index.js +1 -1
- package/dist/collection/components/checkbox/translation/index.js.map +1 -1
- package/dist/collection/components/country/index.js +5 -5
- package/dist/collection/components/country/index.js.map +1 -1
- package/dist/collection/components/display/index.js +21 -21
- package/dist/collection/components/display/index.js.map +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/typed/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js.map +1 -1
- package/dist/collection/components/input/checkbox/index.js +1 -1
- package/dist/collection/components/input/color/index.js +1 -1
- package/dist/collection/components/input/date/index.js +14 -14
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +1 -1
- package/dist/collection/components/input/file/index.js +1 -1
- package/dist/collection/components/input/index.js +3 -3
- package/dist/collection/components/input/month/index.js +1 -1
- package/dist/collection/components/input/radio/index.js +1 -1
- package/dist/collection/components/input/range/index.js +1 -1
- package/dist/collection/components/input/select/index.js +1 -1
- package/dist/collection/model/Data.spec.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-750bac7d.js → p-00028058.js} +6 -6
- package/dist/components/{p-750bac7d.js.map → p-00028058.js.map} +1 -1
- package/dist/components/{p-6b2c0f3e.js → p-0012d70e.js} +2 -2
- package/dist/components/{p-6b2c0f3e.js.map → p-0012d70e.js.map} +1 -1
- package/dist/components/{p-137b3421.js → p-0210b94d.js} +7 -7
- package/dist/components/{p-137b3421.js.map → p-0210b94d.js.map} +1 -1
- package/dist/components/{p-7ad3376d.js → p-0210db4b.js} +5 -5
- package/dist/components/{p-7ad3376d.js.map → p-0210db4b.js.map} +1 -1
- package/dist/components/{p-4833b43b.js → p-0c9b11f0.js} +2 -2
- package/dist/components/{p-4833b43b.js.map → p-0c9b11f0.js.map} +1 -1
- package/dist/components/{p-eccb82fa.js → p-114fa5c2.js} +3 -3
- package/dist/components/{p-eccb82fa.js.map → p-114fa5c2.js.map} +1 -1
- package/dist/components/{p-dffea279.js → p-153f8d1a.js} +12 -12
- package/dist/components/{p-dffea279.js.map → p-153f8d1a.js.map} +1 -1
- package/dist/components/{p-8362e6ea.js → p-174e1154.js} +3 -3
- package/dist/components/{p-8362e6ea.js.map → p-174e1154.js.map} +1 -1
- package/dist/components/{p-3851d6af.js → p-17575bc3.js} +5 -5
- package/dist/components/{p-3851d6af.js.map → p-17575bc3.js.map} +1 -1
- package/dist/components/{p-28e6aa24.js → p-17f423b8.js} +2 -2
- package/dist/components/{p-28e6aa24.js.map → p-17f423b8.js.map} +1 -1
- package/dist/components/{p-f8b6cc8e.js → p-1ccb9b5d.js} +3 -3
- package/dist/components/{p-f8b6cc8e.js.map → p-1ccb9b5d.js.map} +1 -1
- package/dist/components/{p-b5b689d9.js → p-1efc7982.js} +3 -3
- package/dist/components/{p-b5b689d9.js.map → p-1efc7982.js.map} +1 -1
- package/dist/components/{p-fc98f7be.js → p-23fbd92e.js} +6 -6
- package/dist/components/{p-fc98f7be.js.map → p-23fbd92e.js.map} +1 -1
- package/dist/components/{p-fccef2cd.js → p-269f59bb.js} +23 -23
- package/dist/components/{p-fccef2cd.js.map → p-269f59bb.js.map} +1 -1
- package/dist/components/{p-d7ba5dde.js → p-28d37bcb.js} +7 -7
- package/dist/components/{p-d7ba5dde.js.map → p-28d37bcb.js.map} +1 -1
- package/dist/components/{p-a1af56e3.js → p-2d60ab95.js} +3 -3
- package/dist/components/{p-a1af56e3.js.map → p-2d60ab95.js.map} +1 -1
- package/dist/components/{p-4d285afc.js → p-3442e053.js} +2 -2
- package/dist/components/{p-4d285afc.js.map → p-3442e053.js.map} +1 -1
- package/dist/components/{p-089f64c2.js → p-35124e90.js} +2 -2
- package/dist/components/{p-089f64c2.js.map → p-35124e90.js.map} +1 -1
- package/dist/components/{p-0ffdc60e.js → p-3749e7c2.js} +2 -2
- package/dist/components/{p-0ffdc60e.js.map → p-3749e7c2.js.map} +1 -1
- package/dist/components/{p-c5beaa82.js → p-383f1e16.js} +5 -5
- package/dist/components/{p-c5beaa82.js.map → p-383f1e16.js.map} +1 -1
- package/dist/components/{p-6f488a68.js → p-3851c98c.js} +5 -5
- package/dist/components/{p-6f488a68.js.map → p-3851c98c.js.map} +1 -1
- package/dist/{esm/TimeZone-7b25e3f9.js → components/p-390767c7.js} +2806 -1883
- package/dist/components/p-390767c7.js.map +1 -0
- package/dist/components/{p-97848f3d.js → p-3eef0252.js} +21 -21
- package/dist/components/{p-97848f3d.js.map → p-3eef0252.js.map} +1 -1
- package/dist/components/{p-5a3098ce.js → p-3f588352.js} +4 -4
- package/dist/components/{p-5a3098ce.js.map → p-3f588352.js.map} +1 -1
- package/dist/components/{p-acdb7891.js → p-3fc2b239.js} +4 -4
- package/dist/components/{p-acdb7891.js.map → p-3fc2b239.js.map} +1 -1
- package/dist/components/{p-4d4b4a0a.js → p-43c910c5.js} +2 -2
- package/dist/components/{p-4d4b4a0a.js.map → p-43c910c5.js.map} +1 -1
- package/dist/components/{p-72730ae3.js → p-44d5ec3b.js} +10 -10
- package/dist/components/{p-72730ae3.js.map → p-44d5ec3b.js.map} +1 -1
- package/dist/components/{p-918ddb21.js → p-46912f14.js} +10 -10
- package/dist/components/p-46912f14.js.map +1 -0
- package/dist/components/{p-ce03e4d0.js → p-4ed54d65.js} +3 -3
- package/dist/components/{p-ce03e4d0.js.map → p-4ed54d65.js.map} +1 -1
- package/dist/components/{p-58a11f85.js → p-53671a89.js} +3 -3
- package/dist/components/{p-58a11f85.js.map → p-53671a89.js.map} +1 -1
- package/dist/components/{p-938c06a2.js → p-5666c538.js} +2 -2
- package/dist/components/{p-938c06a2.js.map → p-5666c538.js.map} +1 -1
- package/dist/components/{p-ac285959.js → p-5a3bdf21.js} +25 -25
- package/dist/components/{p-ac285959.js.map → p-5a3bdf21.js.map} +1 -1
- package/dist/components/{p-eb3d2060.js → p-5f8480af.js} +2 -2
- package/dist/components/{p-eb3d2060.js.map → p-5f8480af.js.map} +1 -1
- package/dist/components/{p-d3edfccf.js → p-61a1fd24.js} +8 -8
- package/dist/components/{p-d3edfccf.js.map → p-61a1fd24.js.map} +1 -1
- package/dist/components/{p-a08bf822.js → p-6b3ea12e.js} +2 -2
- package/dist/components/{p-a08bf822.js.map → p-6b3ea12e.js.map} +1 -1
- package/dist/components/{p-8edc879e.js → p-6c5bd721.js} +20 -20
- package/dist/components/{p-8edc879e.js.map → p-6c5bd721.js.map} +1 -1
- package/dist/components/{p-5d3caa35.js → p-73862f4b.js} +17 -17
- package/dist/components/{p-5d3caa35.js.map → p-73862f4b.js.map} +1 -1
- package/dist/components/{p-fbd4a12b.js → p-78a3eb0a.js} +9 -9
- package/dist/components/{p-fbd4a12b.js.map → p-78a3eb0a.js.map} +1 -1
- package/dist/components/{p-e451a0b5.js → p-7902ae4f.js} +3 -3
- package/dist/components/{p-e451a0b5.js.map → p-7902ae4f.js.map} +1 -1
- package/dist/components/{p-6eb46ce4.js → p-79729668.js} +37 -37
- package/dist/components/{p-6eb46ce4.js.map → p-79729668.js.map} +1 -1
- package/dist/components/{p-4716165d.js → p-79b2dd05.js} +4 -4
- package/dist/components/{p-4716165d.js.map → p-79b2dd05.js.map} +1 -1
- package/dist/components/{p-264f51a5.js → p-7b1e9421.js} +9 -9
- package/dist/components/{p-264f51a5.js.map → p-7b1e9421.js.map} +1 -1
- package/dist/components/{p-43b0c35c.js → p-7cf8c0f7.js} +5 -5
- package/dist/components/p-7cf8c0f7.js.map +1 -0
- package/dist/components/{p-f8b21fed.js → p-7f853189.js} +9 -9
- package/dist/components/{p-f8b21fed.js.map → p-7f853189.js.map} +1 -1
- package/dist/components/{p-c5519ec1.js → p-80b231e3.js} +5 -5
- package/dist/components/{p-c5519ec1.js.map → p-80b231e3.js.map} +1 -1
- package/dist/components/{p-292bffec.js → p-89505ec7.js} +3 -3
- package/dist/components/{p-292bffec.js.map → p-89505ec7.js.map} +1 -1
- package/dist/components/{p-ca19ed60.js → p-8e1e509d.js} +18 -99
- package/dist/components/p-8e1e509d.js.map +1 -0
- package/dist/components/{p-5325f725.js → p-8e3e6e7c.js} +9 -9
- package/dist/components/{p-5325f725.js.map → p-8e3e6e7c.js.map} +1 -1
- package/dist/components/{p-283f43bb.js → p-904e4b38.js} +11 -11
- package/dist/components/{p-283f43bb.js.map → p-904e4b38.js.map} +1 -1
- package/dist/components/{p-d062ac7b.js → p-957188b3.js} +3 -3
- package/dist/components/{p-d062ac7b.js.map → p-957188b3.js.map} +1 -1
- package/dist/components/{p-c7c1ceaa.js → p-96ca540b.js} +3 -3
- package/dist/components/{p-c7c1ceaa.js.map → p-96ca540b.js.map} +1 -1
- package/dist/components/{p-c025f250.js → p-9780bea7.js} +8 -8
- package/dist/components/{p-c025f250.js.map → p-9780bea7.js.map} +1 -1
- package/dist/components/{p-50f303f3.js → p-97c0e862.js} +3 -3
- package/dist/components/{p-50f303f3.js.map → p-97c0e862.js.map} +1 -1
- package/dist/components/{p-58c24d57.js → p-98279044.js} +9 -9
- package/dist/components/p-98279044.js.map +1 -0
- package/dist/components/{p-e5ac7847.js → p-98cb1594.js} +6 -6
- package/dist/components/{p-e5ac7847.js.map → p-98cb1594.js.map} +1 -1
- package/dist/components/{p-34b2eda8.js → p-9c8ff26d.js} +4 -4
- package/dist/components/{p-34b2eda8.js.map → p-9c8ff26d.js.map} +1 -1
- package/dist/components/{p-666dab06.js → p-9e5e6e83.js} +6 -6
- package/dist/components/{p-666dab06.js.map → p-9e5e6e83.js.map} +1 -1
- package/dist/components/{p-aa3e9c0f.js → p-aa4ee979.js} +5 -5
- package/dist/components/{p-aa3e9c0f.js.map → p-aa4ee979.js.map} +1 -1
- package/dist/components/{p-2efadf3c.js → p-ad1af123.js} +2 -2
- package/dist/components/{p-2efadf3c.js.map → p-ad1af123.js.map} +1 -1
- package/dist/components/{p-96469335.js → p-b0d7a2e6.js} +5 -8
- package/dist/components/p-b0d7a2e6.js.map +1 -0
- package/dist/components/{p-8ad720fa.js → p-b18e0a8b.js} +4 -4
- package/dist/components/{p-8ad720fa.js.map → p-b18e0a8b.js.map} +1 -1
- package/dist/components/{p-fa39a723.js → p-b354198d.js} +2 -2
- package/dist/components/{p-fa39a723.js.map → p-b354198d.js.map} +1 -1
- package/dist/components/{p-6da87c78.js → p-be6d380e.js} +2 -2
- package/dist/components/{p-6da87c78.js.map → p-be6d380e.js.map} +1 -1
- package/dist/components/{p-a74bdd1f.js → p-c05a03ab.js} +2 -2
- package/dist/components/{p-a74bdd1f.js.map → p-c05a03ab.js.map} +1 -1
- package/dist/components/{p-f7691a04.js → p-c4395e67.js} +4 -4
- package/dist/components/{p-f7691a04.js.map → p-c4395e67.js.map} +1 -1
- package/dist/components/{p-2fb54a15.js → p-c44bb76a.js} +7 -7
- package/dist/components/{p-2fb54a15.js.map → p-c44bb76a.js.map} +1 -1
- package/dist/components/{p-730c6db2.js → p-c9b93eb4.js} +10 -10
- package/dist/components/{p-730c6db2.js.map → p-c9b93eb4.js.map} +1 -1
- package/dist/components/{p-0a1466e3.js → p-cc608e51.js} +9 -8
- package/dist/components/p-cc608e51.js.map +1 -0
- package/dist/components/{p-092b23d2.js → p-d2471133.js} +6 -6
- package/dist/components/{p-092b23d2.js.map → p-d2471133.js.map} +1 -1
- package/dist/components/{p-399bba68.js → p-d2ea52c8.js} +15 -15
- package/dist/components/{p-399bba68.js.map → p-d2ea52c8.js.map} +1 -1
- package/dist/components/{p-82c01297.js → p-d471066b.js} +107 -115
- package/dist/components/p-d471066b.js.map +1 -0
- package/dist/components/{p-cfe2cdab.js → p-d5eb1c4b.js} +13 -13
- package/dist/components/{p-cfe2cdab.js.map → p-d5eb1c4b.js.map} +1 -1
- package/dist/components/{p-0bed7501.js → p-df119a54.js} +5 -5
- package/dist/components/{p-0bed7501.js.map → p-df119a54.js.map} +1 -1
- package/dist/components/{p-876d64b3.js → p-e057cdb7.js} +2 -2
- package/dist/components/{p-876d64b3.js.map → p-e057cdb7.js.map} +1 -1
- package/dist/components/{p-96e2307f.js → p-e40f6d2b.js} +14 -14
- package/dist/components/{p-96e2307f.js.map → p-e40f6d2b.js.map} +1 -1
- package/dist/components/{p-5d416ccf.js → p-e51b6e5f.js} +14 -14
- package/dist/components/{p-5d416ccf.js.map → p-e51b6e5f.js.map} +1 -1
- package/dist/components/{p-e92eb120.js → p-ebf469aa.js} +38 -49
- package/dist/components/p-ebf469aa.js.map +1 -0
- package/dist/components/{p-005e85db.js → p-eccf7b48.js} +14 -14
- package/dist/components/{p-005e85db.js.map → p-eccf7b48.js.map} +1 -1
- package/dist/components/{p-dfc5f0b7.js → p-ecf6da6a.js} +2 -2
- package/dist/components/{p-dfc5f0b7.js.map → p-ecf6da6a.js.map} +1 -1
- package/dist/components/{p-26b64015.js → p-ee8127cd.js} +6 -6
- package/dist/components/{p-26b64015.js.map → p-ee8127cd.js.map} +1 -1
- package/dist/components/{p-62833e92.js → p-eed0cef2.js} +13 -13
- package/dist/components/{p-62833e92.js.map → p-eed0cef2.js.map} +1 -1
- package/dist/components/{p-f40a3efd.js → p-f1979b62.js} +2 -2
- package/dist/components/{p-f40a3efd.js.map → p-f1979b62.js.map} +1 -1
- package/dist/components/{p-e572ff39.js → p-f54bc7fc.js} +2 -2
- package/dist/components/{p-e572ff39.js.map → p-f54bc7fc.js.map} +1 -1
- package/dist/components/{p-531fa770.js → p-fa34f451.js} +3 -3
- package/dist/components/{p-531fa770.js.map → p-fa34f451.js.map} +1 -1
- package/dist/components/{p-d9b2d6c1.js → p-fa4fbcc0.js} +19 -19
- package/dist/components/{p-d9b2d6c1.js.map → p-fa4fbcc0.js.map} +1 -1
- package/dist/components/{p-76076037.js → p-fe1bc9d5.js} +2 -2
- package/dist/components/{p-76076037.js.map → p-fe1bc9d5.js.map} +1 -1
- package/dist/components/{p-31873e1c.js → p-fe67f064.js} +30 -30
- package/dist/components/{p-31873e1c.js.map → p-fe67f064.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +80 -80
- 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 +1 -1
- package/dist/components/smoothly-checkbox.js.map +1 -1
- package/dist/components/smoothly-country.js +3 -3
- package/dist/components/smoothly-country.js.map +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.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter-toggle.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-frame.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 +25 -25
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-modal.js +1 -1
- package/dist/components/smoothly-next-demo-colspan.js +1 -1
- package/dist/components/smoothly-next-demo-group.js +1 -1
- package/dist/components/smoothly-next-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-next-demo-nested.js +1 -1
- package/dist/components/smoothly-next-demo-simple.js +1 -1
- package/dist/components/smoothly-next-demo.js +1 -1
- package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-next-table-head.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-cell.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-testing.js +1 -1
- package/dist/components/smoothly-tabs-demo.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 +2 -2
- package/dist/components/smoothly-trigger-source.js +2 -2
- package/dist/esm/{Scrollable-94b2c80b.js → Scrollable-93e46f30.js} +17 -388
- package/dist/esm/Scrollable-93e46f30.js.map +1 -0
- package/dist/{components/p-99f89f10.js → esm/TimeZone-52285537.js} +2933 -1729
- package/dist/esm/TimeZone-52285537.js.map +1 -0
- package/dist/esm/{en-bacb390d.js → en-6e8712b5.js} +2 -2
- package/dist/esm/{en-bacb390d.js.map → en-6e8712b5.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/smoothly-app_107.entry.js +52 -65
- package/dist/esm/smoothly-app_107.entry.js.map +1 -1
- package/dist/esm/smoothly-checkbox.entry.js.map +1 -1
- package/dist/esm/smoothly-country.entry.js +3 -3
- package/dist/esm/smoothly-country.entry.js.map +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
- package/dist/esm/smoothly-trigger-source.entry.js +2 -2
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/p-152fd0d7.entry.js.map +1 -1
- package/dist/smoothly/{p-cf245e8a.js → p-2257be8c.js} +2 -2
- package/dist/smoothly/{p-9bfe8aba.entry.js → p-2512c689.entry.js} +2 -2
- package/dist/smoothly/p-34d144e8.js +2 -0
- package/dist/smoothly/p-34d144e8.js.map +1 -0
- package/dist/smoothly/{p-e9cd0cd0.entry.js → p-3ede8604.entry.js} +2 -2
- package/dist/smoothly/p-3ede8604.entry.js.map +1 -0
- package/dist/smoothly/p-6d7ee489.js +2 -0
- package/dist/smoothly/p-6d7ee489.js.map +1 -0
- package/dist/smoothly/{p-5ff5fc57.entry.js → p-87ae07b2.entry.js} +2 -2
- package/dist/smoothly/{p-83ce9999.entry.js → p-ac6fb4e4.entry.js} +2 -2
- package/dist/smoothly/p-e0bfc64f.entry.js +2 -0
- package/dist/smoothly/p-e0bfc64f.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/types/components/calendar/generate.d.ts +1 -1
- package/dist/types/components/calendar/index.d.ts +14 -14
- package/dist/types/components/checkbox/translation/index.d.ts +2 -2
- package/dist/types/components/country/index.d.ts +3 -3
- package/dist/types/components/display/index.d.ts +6 -6
- package/dist/types/components/filter/Filter.d.ts +3 -3
- package/dist/types/components/form/demo/typed/Contact.d.ts +1 -1
- package/dist/types/components/input/Editable.d.ts +2 -2
- package/dist/types/components/input/Input.d.ts +2 -2
- package/dist/types/components/input/Looks.d.ts +2 -2
- package/dist/types/components/input/date/index.d.ts +8 -8
- package/dist/types/components/input/radio/Selected.d.ts +1 -1
- package/dist/types/components/item/Item.d.ts +2 -2
- package/dist/types/components.d.ts +45 -45
- package/dist/types/model/Color/HSL.d.ts +1 -1
- package/dist/types/model/Color/RGB.d.ts +1 -1
- package/dist/types/model/Color/index.d.ts +2 -2
- package/dist/types/model/Submit.d.ts +1 -1
- package/package.json +20 -46
- package/dist/cjs/Scrollable-a60d6091.js.map +0 -1
- package/dist/cjs/TimeZone-45bcd855.js.map +0 -1
- package/dist/collection/components/input/index.e2e.js +0 -52
- package/dist/collection/components/input/index.e2e.js.map +0 -1
- package/dist/components/p-0a1466e3.js.map +0 -1
- package/dist/components/p-43b0c35c.js.map +0 -1
- package/dist/components/p-58c24d57.js.map +0 -1
- package/dist/components/p-82c01297.js.map +0 -1
- package/dist/components/p-918ddb21.js.map +0 -1
- package/dist/components/p-96469335.js.map +0 -1
- package/dist/components/p-99f89f10.js.map +0 -1
- package/dist/components/p-ca19ed60.js.map +0 -1
- package/dist/components/p-e92eb120.js.map +0 -1
- package/dist/esm/Scrollable-94b2c80b.js.map +0 -1
- package/dist/esm/TimeZone-7b25e3f9.js.map +0 -1
- package/dist/smoothly/p-05e38ae2.js +0 -2
- package/dist/smoothly/p-05e38ae2.js.map +0 -1
- package/dist/smoothly/p-32d55e4c.entry.js +0 -2
- package/dist/smoothly/p-32d55e4c.entry.js.map +0 -1
- package/dist/smoothly/p-99846f9b.js +0 -2
- package/dist/smoothly/p-99846f9b.js.map +0 -1
- package/dist/smoothly/p-e9cd0cd0.entry.js.map +0 -1
- /package/dist/smoothly/{p-cf245e8a.js.map → p-2257be8c.js.map} +0 -0
- /package/dist/smoothly/{p-9bfe8aba.entry.js.map → p-2512c689.entry.js.map} +0 -0
- /package/dist/smoothly/{p-5ff5fc57.entry.js.map → p-87ae07b2.entry.js.map} +0 -0
- /package/dist/smoothly/{p-83ce9999.entry.js.map → p-ac6fb4e4.entry.js.map} +0 -0
|
@@ -3,20 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ba6d0734.js');
|
|
6
|
-
const Scrollable = require('./Scrollable-
|
|
7
|
-
const TimeZone = require('./TimeZone-
|
|
6
|
+
const Scrollable = require('./Scrollable-20426515.js');
|
|
7
|
+
const TimeZone = require('./TimeZone-c7477083.js');
|
|
8
8
|
const redirect = require('./redirect-fa5e9d71.js');
|
|
9
|
-
const en = require('./en-
|
|
9
|
+
const en = require('./en-f4546147.js');
|
|
10
10
|
|
|
11
11
|
function any(name) {
|
|
12
12
|
return new IslyAny(name ?? "any");
|
|
13
13
|
}
|
|
14
|
-
class IslyAny extends
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
this.class = "any";
|
|
18
|
-
this.is = (value) => value != undefined;
|
|
19
|
-
}
|
|
14
|
+
class IslyAny extends TimeZone.Type {
|
|
15
|
+
class = "any";
|
|
16
|
+
is = (value) => value != undefined;
|
|
20
17
|
}
|
|
21
18
|
|
|
22
19
|
function getLocale() {
|
|
@@ -1888,15 +1885,16 @@ const Calendar = class {
|
|
|
1888
1885
|
}
|
|
1889
1886
|
render() {
|
|
1890
1887
|
var _a, _b, _c;
|
|
1891
|
-
return (index.h(index.Fragment, { key: '
|
|
1888
|
+
return (index.h(index.Fragment, { key: '72c5a169add38daacba482bf64d5e0ac4e5376f2' }, index.h("smoothly-input-month", { key: '400a611870cd3bd1dfef25b76497a7ddef88db0b', 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 => {
|
|
1892
1889
|
e.stopPropagation();
|
|
1893
1890
|
"month" in e.detail && typeof e.detail.month == "string" && (this.month = e.detail.month);
|
|
1894
|
-
} }, index.h("div", { key: '
|
|
1891
|
+
} }, index.h("div", { key: '8c399dd9fdfd8de727bde48d1123d78f25f208a8', slot: "year-label" }, index.h("slot", { key: '9e8fbc095327b1a09c7ac6c71817d9157d20b53d', name: "year-label" })), index.h("div", { key: '56fc2501be0d3fc5a7156e5156cfe0db7294f7f2', slot: "month-label" }, index.h("slot", { key: '715855818d0299d69946f44d4b2031a47f3ce0a2', name: "month-label" }))), index.h("table", { key: '25a94c6bd36a6a509402b152456de995411cf00c' }, index.h("thead", { key: 'd310889be1da1ecef2b1a15aa5537815ed014660' }, index.h("tr", { key: '2aabd32a00df64e4692d91c797934c5309e42a6c' }, 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 => {
|
|
1895
1892
|
var _a, _b, _c, _d;
|
|
1896
1893
|
return (index.h("td", { tabindex: 1, onMouseOver: () => (this.withinLimit(date) ? this.onHover(date) : undefined), onClick: this.withinLimit(date) ? () => this.onClick(date) : undefined, class: {
|
|
1897
1894
|
selected: date == this.value || (this.doubleInput && (date == this.start || date == this.end)),
|
|
1898
1895
|
today: date == TimeZone.Date.now(),
|
|
1899
|
-
currentMonth: TimeZone.Date.firstOfMonth((_b = (_a = this.month) !== null && _a !== void 0 ? _a : this.value) !== null && _b !== void 0 ? _b : TimeZone.Date.now()) ==
|
|
1896
|
+
currentMonth: TimeZone.Date.firstOfMonth((_b = (_a = this.month) !== null && _a !== void 0 ? _a : this.value) !== null && _b !== void 0 ? _b : TimeZone.Date.now()) ==
|
|
1897
|
+
TimeZone.Date.firstOfMonth(date),
|
|
1900
1898
|
dateRange: this.doubleInput && date > ((_c = this.start) !== null && _c !== void 0 ? _c : "") && date < ((_d = this.end) !== null && _d !== void 0 ? _d : ""),
|
|
1901
1899
|
disable: !this.withinLimit(date),
|
|
1902
1900
|
} }, date.substring(8, 10)));
|
|
@@ -2007,6 +2005,8 @@ var State;
|
|
|
2007
2005
|
})(State || (State = {}));
|
|
2008
2006
|
|
|
2009
2007
|
class StateEditor {
|
|
2008
|
+
value;
|
|
2009
|
+
selection;
|
|
2010
2010
|
constructor(state) {
|
|
2011
2011
|
this.value = state.value;
|
|
2012
2012
|
this.selection = { start: state.selection?.start, end: state.selection?.end, direction: state.selection?.direction };
|
|
@@ -2244,15 +2244,13 @@ function parse$3(value, type, ...argument) {
|
|
|
2244
2244
|
}
|
|
2245
2245
|
|
|
2246
2246
|
class Handler$j {
|
|
2247
|
-
constructor() {
|
|
2248
|
-
this.partialFormat = this.format;
|
|
2249
|
-
}
|
|
2250
2247
|
toString(data) {
|
|
2251
2248
|
return typeof data == "string" ? data : "";
|
|
2252
2249
|
}
|
|
2253
2250
|
fromString(value) {
|
|
2254
2251
|
return typeof value == "string" && !!value ? value : undefined;
|
|
2255
2252
|
}
|
|
2253
|
+
partialFormat = this.format;
|
|
2256
2254
|
format(unformatted) {
|
|
2257
2255
|
return {
|
|
2258
2256
|
...unformatted,
|
|
@@ -2273,9 +2271,6 @@ class Handler$j {
|
|
|
2273
2271
|
add$5("card-csc", () => new Handler$j());
|
|
2274
2272
|
|
|
2275
2273
|
class Handler$i {
|
|
2276
|
-
constructor() {
|
|
2277
|
-
this.partialFormat = this.format;
|
|
2278
|
-
}
|
|
2279
2274
|
toString(data) {
|
|
2280
2275
|
return Array.isArray(data) && data.length == 2 && typeof data[0] == "number" && typeof data[1] == "number"
|
|
2281
2276
|
? data[0].toString().padStart(2, "0") + data[1].toString().padStart(2, "0")
|
|
@@ -2286,6 +2281,7 @@ class Handler$i {
|
|
|
2286
2281
|
? [Number.parseInt(value.slice(0, 2)), Number.parseInt(value.slice(2))]
|
|
2287
2282
|
: undefined;
|
|
2288
2283
|
}
|
|
2284
|
+
partialFormat = this.format;
|
|
2289
2285
|
format(unformatted) {
|
|
2290
2286
|
let result = unformatted;
|
|
2291
2287
|
if (unformatted.value.length > 0 && !unformatted.is(0, "0", "1"))
|
|
@@ -2311,15 +2307,13 @@ class Handler$i {
|
|
|
2311
2307
|
add$5("card-expires", () => new Handler$i());
|
|
2312
2308
|
|
|
2313
2309
|
class Handler$h {
|
|
2314
|
-
constructor() {
|
|
2315
|
-
this.partialFormat = this.format;
|
|
2316
|
-
}
|
|
2317
2310
|
toString(data) {
|
|
2318
2311
|
return typeof data == "string" ? data : "";
|
|
2319
2312
|
}
|
|
2320
2313
|
fromString(value) {
|
|
2321
2314
|
return typeof value == "string" && !!value ? value : undefined;
|
|
2322
2315
|
}
|
|
2316
|
+
partialFormat = this.format;
|
|
2323
2317
|
format(unformatted) {
|
|
2324
2318
|
const issuer = getIssuer(unformatted.value);
|
|
2325
2319
|
const result = unformatted.map((symbol, index) => (index + 1 < issuer.length[0] && issuer.spaceIndexes.includes(index) ? " " : "") + symbol);
|
|
@@ -2505,6 +2499,7 @@ var DateFormat;
|
|
|
2505
2499
|
})(DateFormat || (DateFormat = {}));
|
|
2506
2500
|
|
|
2507
2501
|
class Base$1 {
|
|
2502
|
+
separator;
|
|
2508
2503
|
constructor(separator) {
|
|
2509
2504
|
this.separator = separator;
|
|
2510
2505
|
}
|
|
@@ -2537,7 +2532,6 @@ add$5("date", (parameters) => {
|
|
|
2537
2532
|
class Handler$g extends Base$1 {
|
|
2538
2533
|
constructor(separator) {
|
|
2539
2534
|
super(separator);
|
|
2540
|
-
this.formatString = `DD${this.separator}MM${this.separator}YYYY`;
|
|
2541
2535
|
}
|
|
2542
2536
|
toString(data) {
|
|
2543
2537
|
return TimeZone.Date.is(data) && data.length == 10
|
|
@@ -2548,6 +2542,7 @@ class Handler$g extends Base$1 {
|
|
|
2548
2542
|
const result = value?.length == 8 ? `${value.substring(4, 8)}-${value.substring(2, 4)}-${value.substring(0, 2)}` : undefined;
|
|
2549
2543
|
return TimeZone.Date.is(result) ? result : undefined;
|
|
2550
2544
|
}
|
|
2545
|
+
formatString = `DD${this.separator}MM${this.separator}YYYY`;
|
|
2551
2546
|
format(unformatted) {
|
|
2552
2547
|
let result = unformatted.delete(this.separator);
|
|
2553
2548
|
if (result.get(0, 1) > "3")
|
|
@@ -2590,7 +2585,6 @@ register("dd-mm-YYYY", () => new Handler$g("-"));
|
|
|
2590
2585
|
class Handler$f extends Base$1 {
|
|
2591
2586
|
constructor(separator) {
|
|
2592
2587
|
super(separator);
|
|
2593
|
-
this.formatString = `MM${this.separator}DD${this.separator}YYYY`;
|
|
2594
2588
|
}
|
|
2595
2589
|
toString(data) {
|
|
2596
2590
|
return TimeZone.Date.is(data) && data.length == 10
|
|
@@ -2601,6 +2595,7 @@ class Handler$f extends Base$1 {
|
|
|
2601
2595
|
const result = value.length == 8 ? `${value.substring(4, 8)}-${value.substring(0, 2)}-${value.substring(2, 4)}` : undefined;
|
|
2602
2596
|
return TimeZone.Date.is(result) ? result : undefined;
|
|
2603
2597
|
}
|
|
2598
|
+
formatString = `MM${this.separator}DD${this.separator}YYYY`;
|
|
2604
2599
|
format(unformatted) {
|
|
2605
2600
|
let result = unformatted.delete(this.separator);
|
|
2606
2601
|
if (result.get(0, 1) > "1")
|
|
@@ -2638,7 +2633,6 @@ register("mm/dd/YYYY", () => new Handler$f("/"));
|
|
|
2638
2633
|
class Handler$e extends Base$1 {
|
|
2639
2634
|
constructor(separator) {
|
|
2640
2635
|
super(separator);
|
|
2641
|
-
this.formatString = `YYYY${this.separator}MM${this.separator}DD`;
|
|
2642
2636
|
}
|
|
2643
2637
|
toString(data) {
|
|
2644
2638
|
return typeof data != "string" ? "" : data;
|
|
@@ -2653,6 +2647,7 @@ class Handler$e extends Base$1 {
|
|
|
2653
2647
|
? +TimeZone.Date.lastOfMonth(`${value.substring(0, 4)}-${value.substring(4, 6)}-01`).substring(8, 10)
|
|
2654
2648
|
: 31;
|
|
2655
2649
|
}
|
|
2650
|
+
formatString = `YYYY${this.separator}MM${this.separator}DD`;
|
|
2656
2651
|
format(unformatted) {
|
|
2657
2652
|
let result = unformatted.delete(this.separator);
|
|
2658
2653
|
if (result.value.length > 3) {
|
|
@@ -2688,9 +2683,6 @@ class Handler$e extends Base$1 {
|
|
|
2688
2683
|
register("YYYY-mm-dd", () => new Handler$e("-"));
|
|
2689
2684
|
|
|
2690
2685
|
class Handler$d {
|
|
2691
|
-
constructor() {
|
|
2692
|
-
this.partialFormat = this.format;
|
|
2693
|
-
}
|
|
2694
2686
|
toString(data) {
|
|
2695
2687
|
return typeof data == "string" ? data : "";
|
|
2696
2688
|
}
|
|
@@ -2704,6 +2696,7 @@ class Handler$d {
|
|
|
2704
2696
|
: result + fillerDate.substring(result.length, fillerDate.length);
|
|
2705
2697
|
return TimeZone.DateTime.is(result) ? result : undefined;
|
|
2706
2698
|
}
|
|
2699
|
+
partialFormat = this.format;
|
|
2707
2700
|
format(unformatted) {
|
|
2708
2701
|
let result = formatDate(unformatted);
|
|
2709
2702
|
if (result.match(/^\d{4}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[\d:.-]$/))
|
|
@@ -2841,9 +2834,6 @@ function daysPerMonth(year, month) {
|
|
|
2841
2834
|
}
|
|
2842
2835
|
|
|
2843
2836
|
class Handler$c {
|
|
2844
|
-
constructor() {
|
|
2845
|
-
this.partialFormat = this.format;
|
|
2846
|
-
}
|
|
2847
2837
|
toString(data) {
|
|
2848
2838
|
return Array.isArray(data) && data.length == 2 && typeof data[0] == "number" && typeof data[1] == "number"
|
|
2849
2839
|
? data[0].toString() + " / " + data[1].toString()
|
|
@@ -2858,6 +2848,7 @@ class Handler$c {
|
|
|
2858
2848
|
? Number.parseInt(value)
|
|
2859
2849
|
: undefined;
|
|
2860
2850
|
}
|
|
2851
|
+
partialFormat = this.format;
|
|
2861
2852
|
format(unformatted) {
|
|
2862
2853
|
let result = unformatted;
|
|
2863
2854
|
if (unformatted.match(/^\d\/$/))
|
|
@@ -2902,15 +2893,12 @@ class Handler$c {
|
|
|
2902
2893
|
add$5("divisor", () => new Handler$c());
|
|
2903
2894
|
|
|
2904
2895
|
class Handler$b {
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
};
|
|
2912
|
-
this.partialFormat = this.format;
|
|
2913
|
-
}
|
|
2896
|
+
separator = ":";
|
|
2897
|
+
patterns = {
|
|
2898
|
+
allowed: /^-?\d*(?::{0,1}[0-5]{0,1}[0-9]{0,1}|[.,]{0,1}[0-9]{0,2})$/,
|
|
2899
|
+
extract: /^(-?)(\d*)([:,.]{0,1})([0-9]{0,2})$/,
|
|
2900
|
+
zeros: /^(-?)(0+)(?:[1-9]|0[,.:]?)/,
|
|
2901
|
+
};
|
|
2914
2902
|
toString(data) {
|
|
2915
2903
|
let result;
|
|
2916
2904
|
if (!TimeZone.TimeSpan.is(data))
|
|
@@ -2958,6 +2946,7 @@ class Handler$b {
|
|
|
2958
2946
|
}
|
|
2959
2947
|
return result;
|
|
2960
2948
|
}
|
|
2949
|
+
partialFormat = this.format;
|
|
2961
2950
|
format(unformatted) {
|
|
2962
2951
|
let result = unformatted;
|
|
2963
2952
|
const [, negative, hours, separator] = unformatted.match(this.patterns.extract) ?? [];
|
|
@@ -2987,9 +2976,9 @@ class Handler$b {
|
|
|
2987
2976
|
add$5("duration", () => new Handler$b());
|
|
2988
2977
|
|
|
2989
2978
|
class Handler$a {
|
|
2979
|
+
settings;
|
|
2990
2980
|
constructor(settings) {
|
|
2991
2981
|
this.settings = settings;
|
|
2992
|
-
this.partialFormat = this.format;
|
|
2993
2982
|
}
|
|
2994
2983
|
toString(data) {
|
|
2995
2984
|
return typeof data == "string" ? data : "";
|
|
@@ -2997,6 +2986,7 @@ class Handler$a {
|
|
|
2997
2986
|
fromString(value) {
|
|
2998
2987
|
return typeof value == "string" && !!value ? value : undefined;
|
|
2999
2988
|
}
|
|
2989
|
+
partialFormat = this.format;
|
|
3000
2990
|
format(unformatted) {
|
|
3001
2991
|
return { ...unformatted, ...this.settings, type: "text", inputmode: "email", autocomplete: "email" };
|
|
3002
2992
|
}
|
|
@@ -3012,10 +3002,11 @@ class Handler$a {
|
|
|
3012
3002
|
add$5("email", (settings) => new Handler$a(settings || {}));
|
|
3013
3003
|
|
|
3014
3004
|
class Handler$9 {
|
|
3005
|
+
settings;
|
|
3006
|
+
mode;
|
|
3015
3007
|
constructor(settings, mode) {
|
|
3016
3008
|
this.settings = settings;
|
|
3017
3009
|
this.mode = mode;
|
|
3018
|
-
this.partialFormat = this.format;
|
|
3019
3010
|
}
|
|
3020
3011
|
toString(data) {
|
|
3021
3012
|
return typeof data == "string" ? data : "";
|
|
@@ -3056,6 +3047,7 @@ class Handler$9 {
|
|
|
3056
3047
|
isSymbolAllowed(symbol) {
|
|
3057
3048
|
return this.isSymbolLetter(symbol) || (symbol >= "0" && symbol <= "9") || symbol === " ";
|
|
3058
3049
|
}
|
|
3050
|
+
partialFormat = this.format;
|
|
3059
3051
|
format(unformatted) {
|
|
3060
3052
|
const alignedString = this.split(unformatted);
|
|
3061
3053
|
let result;
|
|
@@ -3100,9 +3092,9 @@ add$5("identifier-camel", (settings) => new Handler$9(settings || {}, "camel"));
|
|
|
3100
3092
|
add$5("identifier-attribute", (settings) => new Handler$9(settings || {}, "attribute"));
|
|
3101
3093
|
|
|
3102
3094
|
class Handler$8 {
|
|
3095
|
+
country;
|
|
3103
3096
|
constructor(country) {
|
|
3104
3097
|
this.country = country;
|
|
3105
|
-
this.partialFormat = this.format;
|
|
3106
3098
|
}
|
|
3107
3099
|
toString(data) {
|
|
3108
3100
|
return typeof data == "string" ? data : "";
|
|
@@ -3110,6 +3102,7 @@ class Handler$8 {
|
|
|
3110
3102
|
fromString(value) {
|
|
3111
3103
|
return typeof value == "string" && !!value ? value : undefined;
|
|
3112
3104
|
}
|
|
3105
|
+
partialFormat = this.format;
|
|
3113
3106
|
format(unformatted) {
|
|
3114
3107
|
let result = unformatted;
|
|
3115
3108
|
const year = new Date().getFullYear().toString();
|
|
@@ -3134,9 +3127,6 @@ class Handler$8 {
|
|
|
3134
3127
|
add$5("identity-number", (argument) => new Handler$8(argument && argument.length > 0 ? argument[0] : undefined));
|
|
3135
3128
|
|
|
3136
3129
|
class Handler$7 {
|
|
3137
|
-
constructor() {
|
|
3138
|
-
this.partialFormat = this.format;
|
|
3139
|
-
}
|
|
3140
3130
|
toString(data) {
|
|
3141
3131
|
return typeof data == "number" ? data.toString() : "";
|
|
3142
3132
|
}
|
|
@@ -3144,6 +3134,7 @@ class Handler$7 {
|
|
|
3144
3134
|
const parsed = typeof value == "string" ? Number.parseInt(value) : undefined;
|
|
3145
3135
|
return typeof parsed == "number" && !Number.isNaN(parsed) ? parsed : undefined;
|
|
3146
3136
|
}
|
|
3137
|
+
partialFormat = this.format;
|
|
3147
3138
|
format(unformatted) {
|
|
3148
3139
|
return {
|
|
3149
3140
|
...unformatted,
|
|
@@ -3163,15 +3154,13 @@ class Handler$7 {
|
|
|
3163
3154
|
add$5("integer", () => new Handler$7());
|
|
3164
3155
|
|
|
3165
3156
|
class Handler$6 {
|
|
3166
|
-
constructor() {
|
|
3167
|
-
this.partialFormat = this.format;
|
|
3168
|
-
}
|
|
3169
3157
|
toString(data) {
|
|
3170
3158
|
return typeof data == "string" ? data : "";
|
|
3171
3159
|
}
|
|
3172
3160
|
fromString(value) {
|
|
3173
3161
|
return typeof value == "string" && !!value ? value : undefined;
|
|
3174
3162
|
}
|
|
3163
|
+
partialFormat = this.format;
|
|
3175
3164
|
format(unformatted) {
|
|
3176
3165
|
return { ...unformatted, type: "password", autocomplete: "current-password" };
|
|
3177
3166
|
}
|
|
@@ -3185,9 +3174,6 @@ class Handler$6 {
|
|
|
3185
3174
|
add$5("password", () => new Handler$6());
|
|
3186
3175
|
|
|
3187
3176
|
class Handler$5 {
|
|
3188
|
-
constructor() {
|
|
3189
|
-
this.partialFormat = this.format;
|
|
3190
|
-
}
|
|
3191
3177
|
toString(data) {
|
|
3192
3178
|
let result = "";
|
|
3193
3179
|
if (typeof data == "number") {
|
|
@@ -3200,6 +3186,7 @@ class Handler$5 {
|
|
|
3200
3186
|
const parsedFloat = typeof value == "string" ? Number.parseFloat(value) : undefined;
|
|
3201
3187
|
return typeof parsedFloat == "number" && !Number.isNaN(parsedFloat) ? parsedFloat / 100 : undefined;
|
|
3202
3188
|
}
|
|
3189
|
+
partialFormat = this.format;
|
|
3203
3190
|
format(unformatted) {
|
|
3204
3191
|
return {
|
|
3205
3192
|
...(unformatted.value ? unformatted.suffix(" %") : unformatted),
|
|
@@ -3517,15 +3504,13 @@ const phonePrefix = [
|
|
|
3517
3504
|
];
|
|
3518
3505
|
|
|
3519
3506
|
class Handler$4 {
|
|
3520
|
-
constructor() {
|
|
3521
|
-
this.partialFormat = this.format;
|
|
3522
|
-
}
|
|
3523
3507
|
toString(data) {
|
|
3524
3508
|
return typeof data == "string" ? data : "";
|
|
3525
3509
|
}
|
|
3526
3510
|
fromString(value) {
|
|
3527
3511
|
return typeof value == "string" && !!value ? value : undefined;
|
|
3528
3512
|
}
|
|
3513
|
+
partialFormat = this.format;
|
|
3529
3514
|
format(unformatted) {
|
|
3530
3515
|
let result = unformatted;
|
|
3531
3516
|
if (result.value.startsWith("+")) {
|
|
@@ -3594,9 +3579,9 @@ class Handler$4 {
|
|
|
3594
3579
|
add$5("phone", () => new Handler$4());
|
|
3595
3580
|
|
|
3596
3581
|
class Handler$3 {
|
|
3582
|
+
country;
|
|
3597
3583
|
constructor(country) {
|
|
3598
3584
|
this.country = country;
|
|
3599
|
-
this.partialFormat = this.format;
|
|
3600
3585
|
}
|
|
3601
3586
|
toString(data) {
|
|
3602
3587
|
return typeof data == "string" ? data : "";
|
|
@@ -3604,6 +3589,7 @@ class Handler$3 {
|
|
|
3604
3589
|
fromString(value) {
|
|
3605
3590
|
return typeof value == "string" && !!value ? value : undefined;
|
|
3606
3591
|
}
|
|
3592
|
+
partialFormat = this.format;
|
|
3607
3593
|
format(unformatted) {
|
|
3608
3594
|
const result = !unformatted.value.includes(" ") && unformatted.value.length >= 4 ? unformatted.insert(3, " ") : unformatted;
|
|
3609
3595
|
return {
|
|
@@ -3624,6 +3610,8 @@ class Handler$3 {
|
|
|
3624
3610
|
add$5("postal-code", (argument) => new Handler$3(argument && argument.length > 0 ? argument[0] : undefined));
|
|
3625
3611
|
|
|
3626
3612
|
class Handler$2 {
|
|
3613
|
+
currency;
|
|
3614
|
+
toInteger;
|
|
3627
3615
|
constructor(options) {
|
|
3628
3616
|
this.currency = options && typeof options == "object" ? options.currency : options;
|
|
3629
3617
|
this.toInteger = options && typeof options == "object" ? options.toInteger : undefined;
|
|
@@ -3727,9 +3715,9 @@ class Handler$2 {
|
|
|
3727
3715
|
add$5("price", (argument) => new Handler$2(argument && argument.length > 0 ? argument[0] : undefined));
|
|
3728
3716
|
|
|
3729
3717
|
class Handler$1 {
|
|
3718
|
+
settings;
|
|
3730
3719
|
constructor(settings) {
|
|
3731
3720
|
this.settings = settings;
|
|
3732
|
-
this.partialFormat = this.format;
|
|
3733
3721
|
}
|
|
3734
3722
|
toString(data) {
|
|
3735
3723
|
return typeof data == "string" ? data : "";
|
|
@@ -3737,6 +3725,7 @@ class Handler$1 {
|
|
|
3737
3725
|
fromString(value) {
|
|
3738
3726
|
return typeof value == "string" && !!value ? value : undefined;
|
|
3739
3727
|
}
|
|
3728
|
+
partialFormat = this.format;
|
|
3740
3729
|
format(unformatted) {
|
|
3741
3730
|
return { ...unformatted, type: "text", ...this.settings };
|
|
3742
3731
|
}
|
|
@@ -3752,15 +3741,13 @@ class Handler$1 {
|
|
|
3752
3741
|
add$5("text", (settings) => new Handler$1(settings || {}));
|
|
3753
3742
|
|
|
3754
3743
|
class Handler {
|
|
3755
|
-
constructor() {
|
|
3756
|
-
this.partialFormat = this.format;
|
|
3757
|
-
}
|
|
3758
3744
|
toString(value) {
|
|
3759
3745
|
return typeof value == "string" ? "#" + value : "";
|
|
3760
3746
|
}
|
|
3761
3747
|
fromString(value) {
|
|
3762
3748
|
return value ? "#" + value : undefined;
|
|
3763
3749
|
}
|
|
3750
|
+
partialFormat = this.format;
|
|
3764
3751
|
format(unformatted) {
|
|
3765
3752
|
const result = unformatted.delete("#");
|
|
3766
3753
|
return {
|
|
@@ -3801,16 +3788,16 @@ const SmoothlyDisplay = class {
|
|
|
3801
3788
|
const type = this.type;
|
|
3802
3789
|
switch (type) {
|
|
3803
3790
|
case "json":
|
|
3804
|
-
result = index.h("smoothly-display-json", { key: '
|
|
3791
|
+
result = index.h("smoothly-display-json", { key: '5d2196701b252729d1f3fa479fdc63ffb03a15bd', value: this.value, collapseDepth: this.collapseDepth });
|
|
3805
3792
|
break;
|
|
3806
3793
|
default:
|
|
3807
3794
|
result = format(this.value, type);
|
|
3808
3795
|
break;
|
|
3809
3796
|
case "email":
|
|
3810
|
-
result = index.h("a", { key: '
|
|
3797
|
+
result = index.h("a", { key: '5241655ff14a969d2105b0c5eb833778ba108337', href: "mailto:" + this.value }, format(this.value, type));
|
|
3811
3798
|
break;
|
|
3812
3799
|
case "phone":
|
|
3813
|
-
result = index.h("a", { key: '
|
|
3800
|
+
result = index.h("a", { key: '2034904f71b8e057c0a9b38ab5a2c5d0f469543f', href: "tel:" + this.value }, format(this.value, type, this.country));
|
|
3814
3801
|
break;
|
|
3815
3802
|
case "postal-code":
|
|
3816
3803
|
result = format(this.value, type, this.country);
|
|
@@ -3946,7 +3933,7 @@ const json = {
|
|
|
3946
3933
|
};
|
|
3947
3934
|
|
|
3948
3935
|
const JsonValue = ({ value, collapseDepth }) => {
|
|
3949
|
-
return
|
|
3936
|
+
return TimeZone.object().is(value) || Array.isArray(value) ? (index.h("smoothly-display-json-object", { value: value, collapseDepth: collapseDepth })) : (index.h("smoothly-display-json-primitive", { value: value }));
|
|
3950
3937
|
};
|
|
3951
3938
|
|
|
3952
3939
|
const styleCss$1j = ".sc-smoothly-display-json-h{font-family:monospace}";
|
|
@@ -6996,14 +6983,14 @@ function filter(criteria, value) {
|
|
|
6996
6983
|
return c.filter(value);
|
|
6997
6984
|
}
|
|
6998
6985
|
|
|
6999
|
-
const EventEmitter =
|
|
6986
|
+
const EventEmitter = TimeZone.object({ emit: Scrollable.islyFunction() });
|
|
7000
6987
|
var Filter;
|
|
7001
6988
|
(function (Filter) {
|
|
7002
6989
|
let Element;
|
|
7003
6990
|
(function (Element) {
|
|
7004
|
-
Element.type =
|
|
7005
|
-
property:
|
|
7006
|
-
properties: Scrollable.record(
|
|
6991
|
+
Element.type = TimeZone.object({
|
|
6992
|
+
property: TimeZone.string().optional(),
|
|
6993
|
+
properties: Scrollable.record(TimeZone.string(), TimeZone.string()).optional(),
|
|
7007
6994
|
});
|
|
7008
6995
|
})(Element = Filter.Element || (Filter.Element = {}));
|
|
7009
6996
|
Filter.type = Element.type.extend({
|
|
@@ -7258,7 +7245,7 @@ const SmoothlyFilterSelect = class {
|
|
|
7258
7245
|
}
|
|
7259
7246
|
getCriteria(detail) {
|
|
7260
7247
|
let result;
|
|
7261
|
-
if (this.multiple &&
|
|
7248
|
+
if (this.multiple && TimeZone.string().array({ criteria: "minLength", value: 1 }).is(detail))
|
|
7262
7249
|
result = this.type == "array" ? contains(detail) : within(detail);
|
|
7263
7250
|
else if (typeof detail == "string")
|
|
7264
7251
|
result = is(detail);
|
|
@@ -8127,18 +8114,18 @@ var Editable;
|
|
|
8127
8114
|
(function (Editable) {
|
|
8128
8115
|
let Element;
|
|
8129
8116
|
(function (Element) {
|
|
8130
|
-
Element.type =
|
|
8117
|
+
Element.type = TimeZone.object({
|
|
8131
8118
|
edit: Scrollable.islyFunction(),
|
|
8132
|
-
readonly:
|
|
8119
|
+
readonly: TimeZone.boolean(),
|
|
8133
8120
|
listen: Scrollable.islyFunction(),
|
|
8134
8121
|
reset: Scrollable.islyFunction(),
|
|
8135
8122
|
setInitialValue: Scrollable.islyFunction(),
|
|
8136
8123
|
});
|
|
8137
8124
|
Element.is = Element.type.is;
|
|
8138
8125
|
})(Element = Editable.Element || (Editable.Element = {}));
|
|
8139
|
-
const EventEmitter =
|
|
8126
|
+
const EventEmitter = TimeZone.object({ emit: Scrollable.islyFunction() });
|
|
8140
8127
|
Editable.type = Element.type.extend({
|
|
8141
|
-
changed:
|
|
8128
|
+
changed: TimeZone.boolean(),
|
|
8142
8129
|
value: any().optional(),
|
|
8143
8130
|
smoothlyFormDisable: EventEmitter,
|
|
8144
8131
|
});
|
|
@@ -8148,7 +8135,7 @@ var Editable;
|
|
|
8148
8135
|
var Looks;
|
|
8149
8136
|
(function (Looks) {
|
|
8150
8137
|
Looks.types = ["plain", "grid", "border", "line", "transparent"];
|
|
8151
|
-
Looks.type =
|
|
8138
|
+
Looks.type = TimeZone.string(Looks.types);
|
|
8152
8139
|
Looks.is = Looks.type.is;
|
|
8153
8140
|
})(Looks || (Looks = {}));
|
|
8154
8141
|
|
|
@@ -8156,20 +8143,20 @@ var Input;
|
|
|
8156
8143
|
(function (Input) {
|
|
8157
8144
|
let Element;
|
|
8158
8145
|
(function (Element) {
|
|
8159
|
-
Element.type =
|
|
8146
|
+
Element.type = TimeZone.object({
|
|
8160
8147
|
register: Scrollable.islyFunction(),
|
|
8161
8148
|
unregister: Scrollable.islyFunction(),
|
|
8162
8149
|
getValue: Scrollable.islyFunction(),
|
|
8163
8150
|
color: Scrollable.Color.type.optional(),
|
|
8164
|
-
name:
|
|
8165
|
-
invalid:
|
|
8151
|
+
name: TimeZone.string(),
|
|
8152
|
+
invalid: TimeZone.boolean().optional(),
|
|
8166
8153
|
looks: Looks.type,
|
|
8167
|
-
defined:
|
|
8154
|
+
defined: TimeZone.boolean().optional(),
|
|
8168
8155
|
binary: Scrollable.islyFunction().optional(),
|
|
8169
8156
|
});
|
|
8170
8157
|
Element.is = Element.type.is;
|
|
8171
8158
|
})(Element = Input.Element || (Input.Element = {}));
|
|
8172
|
-
const EventEmitter =
|
|
8159
|
+
const EventEmitter = TimeZone.object({ emit: Scrollable.islyFunction() });
|
|
8173
8160
|
Input.type = Element.type.extend({
|
|
8174
8161
|
smoothlyInputLoad: EventEmitter,
|
|
8175
8162
|
smoothlyInput: EventEmitter,
|
|
@@ -8440,7 +8427,7 @@ const SmoothlyFormDemoDate = class {
|
|
|
8440
8427
|
constructor(hostRef) {
|
|
8441
8428
|
index.registerInstance(this, hostRef);
|
|
8442
8429
|
this.notice = index.createEvent(this, "notice", 7);
|
|
8443
|
-
this.validator =
|
|
8430
|
+
this.validator = TimeZone.object({
|
|
8444
8431
|
date: Scrollable.fromIs("isoly.Date", TimeZone.Date.is),
|
|
8445
8432
|
});
|
|
8446
8433
|
}
|
|
@@ -8469,7 +8456,7 @@ const SmoothlyFormDemoDateRange = class {
|
|
|
8469
8456
|
constructor(hostRef) {
|
|
8470
8457
|
index.registerInstance(this, hostRef);
|
|
8471
8458
|
this.notice = index.createEvent(this, "notice", 7);
|
|
8472
|
-
this.validator =
|
|
8459
|
+
this.validator = TimeZone.object({
|
|
8473
8460
|
range: Scrollable.fromIs("isoly.DateRange", TimeZone.DateRange.is),
|
|
8474
8461
|
});
|
|
8475
8462
|
}
|
|
@@ -8540,9 +8527,9 @@ const SmoothlyFormDemoTransparent = class {
|
|
|
8540
8527
|
|
|
8541
8528
|
var Contact;
|
|
8542
8529
|
(function (Contact) {
|
|
8543
|
-
Contact.type =
|
|
8544
|
-
name:
|
|
8545
|
-
age:
|
|
8530
|
+
Contact.type = TimeZone.object({
|
|
8531
|
+
name: TimeZone.object({ first: TimeZone.string(), middle: TimeZone.string().optional(), last: TimeZone.string() }),
|
|
8532
|
+
age: TimeZone.number(age => 18 <= age && age <= 120),
|
|
8546
8533
|
country: Scrollable.fromIs("CountryCode", TimeZone.Alpha2.is),
|
|
8547
8534
|
birthday: Scrollable.fromIs("Date", TimeZone.Date.is),
|
|
8548
8535
|
});
|
|
@@ -8556,7 +8543,7 @@ const SmoothlyFormDemoTyped = class {
|
|
|
8556
8543
|
index.registerInstance(this, hostRef);
|
|
8557
8544
|
}
|
|
8558
8545
|
render() {
|
|
8559
|
-
return (index.h(index.Host, { key: '863d42c367fa028fa1300469261155b3656317f0' }, index.h("h2", { key: 'c09c96c4d46e4ae793da5590177ee27a83a47344' }, "Typed Contact"), index.h("smoothly-form", { key: 'a573e17c47c9caa1edfffb45db48d5562994e9d7', validator: Contact.type }, index.h("smoothly-input", { key: 'af05cca00bc6b389964cb6421b6eea0c98f2777e', name: "name.first" }, "First Name"), index.h("smoothly-input", { key: '5b41c244e61776ce742beae0303ad32e9a400559', name: "name.middle" }, "Middle Name (optional)"), index.h("smoothly-input", { key: '6731f9d7aa683d0cc21b10e25af363e44e5d28d1', name: "name.last" }, "Last Name"), index.h("smoothly-input", { key: '76891da3232bb6220866a3c2a5532447133d52e5', name: "age", type: "integer" }, "Age (18-120)"), index.h("smoothly-input-select", { key: 'b5685795e011d37898da248d444c423fb3d79601', name: "country" }, index.h("span", { key: '73a337495ffd988b65a989bf30fd9304e5262ccb', slot: "label" }, "Country"), TimeZone.Alpha2.
|
|
8546
|
+
return (index.h(index.Host, { key: '863d42c367fa028fa1300469261155b3656317f0' }, index.h("h2", { key: 'c09c96c4d46e4ae793da5590177ee27a83a47344' }, "Typed Contact"), index.h("smoothly-form", { key: 'a573e17c47c9caa1edfffb45db48d5562994e9d7', validator: Contact.type }, index.h("smoothly-input", { key: 'af05cca00bc6b389964cb6421b6eea0c98f2777e', name: "name.first" }, "First Name"), index.h("smoothly-input", { key: '5b41c244e61776ce742beae0303ad32e9a400559', name: "name.middle" }, "Middle Name (optional)"), index.h("smoothly-input", { key: '6731f9d7aa683d0cc21b10e25af363e44e5d28d1', name: "name.last" }, "Last Name"), index.h("smoothly-input", { key: '76891da3232bb6220866a3c2a5532447133d52e5', name: "age", type: "integer" }, "Age (18-120)"), index.h("smoothly-input-select", { key: 'b5685795e011d37898da248d444c423fb3d79601', name: "country" }, index.h("span", { key: '73a337495ffd988b65a989bf30fd9304e5262ccb', slot: "label" }, "Country"), TimeZone.Alpha2.values.map(country => (index.h("smoothly-item", { value: country }, en.from(country))))), index.h("smoothly-input-date", { key: '7cebeadd1bce4ba9c21d303a4316b01f4c426ad6', name: "birthday" }, "Date of birth"), index.h("smoothly-input-reset", { key: '9f4ebc3c27050ac587b077d4bfb6ff0674ccf852', slot: "reset", type: "form", size: "icon", color: "warning" }), index.h("smoothly-input-submit", { key: 'a53d0147626193ab5d907b9212a86d2ee9d3524a', slot: "submit", size: "icon", color: "success" }))));
|
|
8560
8547
|
}
|
|
8561
8548
|
};
|
|
8562
8549
|
SmoothlyFormDemoTyped.style = SmoothlyFormDemoTypedStyle0;
|
|
@@ -9464,13 +9451,13 @@ const SmoothlyInputDate = class {
|
|
|
9464
9451
|
event.stopPropagation();
|
|
9465
9452
|
}
|
|
9466
9453
|
render() {
|
|
9467
|
-
return (index.h(index.Host, { key: '
|
|
9454
|
+
return (index.h(index.Host, { key: '371d5ba6f4bdd604cb0b2b3d1819d4e4a642c874' }, index.h("smoothly-input", { key: '5d21aba59d8614f8dc52a3ee1e6bb52a95cd2d2e', color: this.color, looks: this.looks == "transparent" ? this.looks : undefined, name: this.name, onFocus: () => !this.readonly && (this.open = !this.open), onClick: () => !this.readonly && (this.open = !this.open), readonly: this.readonly, invalid: this.invalid, type: "date", value: this.value, showLabel: this.showLabel, onSmoothlyInputLoad: e => e.stopPropagation(), onSmoothlyInput: e => {
|
|
9468
9455
|
e.stopPropagation();
|
|
9469
9456
|
this.value = e.detail[this.name];
|
|
9470
|
-
} }, index.h("slot", { key: '
|
|
9457
|
+
} }, index.h("slot", { key: 'f9eb1423c3e05775cb58785c805782a6166f0f3d' })), index.h("span", { key: 'e16e5e0a6386bd3fee1b9f90a0fe0ae2489107cb', class: "icons" }, index.h("slot", { key: 'e6961da77738c36c6335e1e3c4cc1bf316544600', name: "end" })), this.open && !this.readonly && (index.h("nav", { key: 'cdf8d7ea4e52fa79a13d6c387679d3613724cbb1' }, index.h("smoothly-calendar", { key: 'e274c7cb120fd6bea7fddf90a7fc0730a72e1a5c', doubleInput: false, value: this.value, onSmoothlyValueChange: event => {
|
|
9471
9458
|
this.value = event.detail;
|
|
9472
9459
|
event.stopPropagation();
|
|
9473
|
-
}, max: this.max, min: this.min }, index.h("div", { key: '
|
|
9460
|
+
}, max: this.max, min: this.min }, index.h("div", { key: 'dc4edbb36de0561921a48b0d6ffeaf1085323a68', slot: "year-label" }, index.h("slot", { key: '234cc72574deffde1c5ce018813a104d3b32e693', name: "year-label" })), index.h("div", { key: 'c3ce218f82ca9a656e79e679f2b8ac91ef3d08af', slot: "month-label" }, index.h("slot", { key: '180e56816f543a140e40cfb94fd59d802ee8e539', name: "month-label" })))))));
|
|
9474
9461
|
}
|
|
9475
9462
|
get element() { return index.getElement(this); }
|
|
9476
9463
|
static get watchers() { return {
|
|
@@ -10268,10 +10255,10 @@ var Item;
|
|
|
10268
10255
|
(function (Item) {
|
|
10269
10256
|
let Element;
|
|
10270
10257
|
(function (Element) {
|
|
10271
|
-
Element.type =
|
|
10258
|
+
Element.type = TimeZone.object({
|
|
10272
10259
|
value: any(),
|
|
10273
|
-
deselectable:
|
|
10274
|
-
selected:
|
|
10260
|
+
deselectable: TimeZone.boolean(),
|
|
10261
|
+
selected: TimeZone.boolean().optional(),
|
|
10275
10262
|
filter: Scrollable.islyFunction(),
|
|
10276
10263
|
});
|
|
10277
10264
|
Element.is = Element.type.is;
|
|
@@ -10624,7 +10611,7 @@ const SmoothlyInputSubmit = class {
|
|
|
10624
10611
|
this.disabled =
|
|
10625
10612
|
!this.delete &&
|
|
10626
10613
|
(p.readonly ||
|
|
10627
|
-
("validator" in p && p.validator instanceof
|
|
10614
|
+
("validator" in p && p.validator instanceof TimeZone.Type && !((_a = p.validator) === null || _a === void 0 ? void 0 : _a.is(p.value))) ||
|
|
10628
10615
|
!p.changed);
|
|
10629
10616
|
});
|
|
10630
10617
|
}
|