smoothly 1.2.1-alpha.5 → 1.2.1-alpha.50
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/loader.cjs.js +1 -1
- package/dist/cjs/{smoothly-app_106.cjs.entry.js → smoothly-app_109.cjs.entry.js} +757 -660
- package/dist/cjs/smoothly-app_109.cjs.entry.js.map +1 -0
- 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 +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +3 -3
- package/dist/cjs/smoothly.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/app/index.js +5 -6
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/style.css +3 -0
- package/dist/collection/components/button/Button.js +1 -1
- package/dist/collection/components/button/Button.js.map +1 -1
- package/dist/collection/components/button/index.js +4 -5
- package/dist/collection/components/button/index.js.map +1 -1
- package/dist/collection/components/button/style.css +6 -6
- 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 +42 -48
- package/dist/collection/components/calendar/index.js.map +1 -1
- package/dist/collection/components/calendar/style.css +14 -7
- 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/dialog/demo/index.js +25 -2
- package/dist/collection/components/dialog/demo/index.js.map +1 -1
- package/dist/collection/components/dialog/demo/style.css +5 -0
- 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 +21 -21
- package/dist/collection/components/display/index.js.map +1 -1
- 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 +8 -3
- package/dist/collection/components/filter/field/index.js.map +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 +2 -2
- package/dist/collection/components/filter/toggle/index.js +2 -2
- 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/pet/index.js.map +1 -1
- package/dist/collection/components/form/demo/prices/index.js +1 -1
- package/dist/collection/components/form/demo/transparent/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/form/demo/typed/index.js.map +1 -1
- package/dist/collection/components/form/index.js +28 -12
- package/dist/collection/components/form/index.js.map +1 -1
- package/dist/collection/components/icon/demo/index.js +1 -1
- package/dist/collection/components/icon/index.js +4 -1
- package/dist/collection/components/icon/index.js.map +1 -1
- package/dist/collection/components/input/Deep.js +19 -0
- package/dist/collection/components/input/Deep.js.map +1 -0
- package/dist/collection/components/input/Deep.spec.js +18 -0
- package/dist/collection/components/input/Deep.spec.js.map +1 -0
- package/dist/collection/components/input/Input.js +8 -1
- package/dist/collection/components/input/Input.js.map +1 -1
- package/dist/collection/components/input/InputStateHandler.js +205 -0
- package/dist/collection/components/input/InputStateHandler.js.map +1 -0
- package/dist/collection/components/input/checkbox/demo/index.js +1 -1
- package/dist/collection/components/input/checkbox/index.js +2 -2
- package/dist/collection/components/input/checkbox/style.css +8 -0
- package/dist/collection/components/input/clear/index.js +2 -2
- package/dist/collection/components/input/clear/index.js.map +1 -1
- package/dist/collection/components/input/clear/style.css +6 -6
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +4 -5
- package/dist/collection/components/input/color/index.js.map +1 -1
- package/dist/collection/components/input/color/style.css +3 -1
- package/dist/collection/components/input/date/index.js +17 -22
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +6 -9
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/range/style.css +0 -3
- package/dist/collection/components/input/date/style.css +0 -2
- package/dist/collection/components/input/demo/index.js +5 -7
- package/dist/collection/components/input/demo/index.js.map +1 -1
- 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/demo/standard/index.js.map +1 -1
- package/dist/collection/components/input/edit/index.js +1 -1
- package/dist/collection/components/input/edit/style.css +6 -6
- package/dist/collection/components/input/file/index.js +15 -2
- package/dist/collection/components/input/file/index.js.map +1 -1
- package/dist/collection/components/input/file/style.css +15 -7
- package/dist/collection/components/input/index.js +140 -170
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/collection/components/input/month/index.js +43 -14
- package/dist/collection/components/input/month/index.js.map +1 -1
- package/dist/collection/components/input/month/style.css +3 -6
- package/dist/collection/components/input/radio/index.js +6 -9
- package/dist/collection/components/input/radio/index.js.map +1 -1
- package/dist/collection/components/input/radio/item/index.js +5 -5
- package/dist/collection/components/input/radio/item/index.js.map +1 -1
- package/dist/collection/components/input/radio/style.css +2 -6
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +31 -6
- package/dist/collection/components/input/range/index.js.map +1 -1
- package/dist/collection/components/input/range/style.css +2 -2
- package/dist/collection/components/input/reset/index.js +1 -1
- package/dist/collection/components/input/reset/style.css +6 -6
- package/dist/collection/components/input/select/index.js +9 -8
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/style.css +7 -8
- package/dist/collection/components/input/style.css +0 -4
- package/dist/collection/components/input/submit/index.js +1 -1
- package/dist/collection/components/input/submit/style.css +6 -6
- 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 +109 -0
- package/dist/collection/components/modal/index.js.map +1 -0
- package/dist/collection/components/modal/style.css +73 -0
- package/dist/collection/components/next/demo/colspan/index.js +1 -1
- package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js +32 -0
- package/dist/collection/components/next/demo/fillerRow/filleRowDemo.js.map +1 -0
- package/dist/collection/components/next/demo/fillerRow/style.css +9 -0
- package/dist/collection/components/next/demo/filtered/index.js +5 -5
- package/dist/collection/components/next/demo/group/index.js +1 -1
- package/dist/collection/components/next/demo/index.js +1 -1
- package/dist/collection/components/next/demo/index.js.map +1 -1
- package/dist/collection/components/next/demo/nested/index.js +1 -1
- package/dist/collection/components/next/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/next/demo/simple/simple.js +1 -1
- package/dist/collection/components/next/table/body/index.js +1 -1
- package/dist/collection/components/next/table/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/cell/style.css +1 -1
- package/dist/collection/components/next/table/expandable/row/index.js +1 -1
- package/dist/collection/components/next/table/expandable/row/style.css +1 -1
- package/dist/collection/components/next/table/fillerRow/index.js +19 -0
- package/dist/collection/components/next/table/fillerRow/index.js.map +1 -0
- package/dist/collection/components/next/table/fillerRow/style.css +3 -0
- package/dist/collection/components/next/table/foot/index.js +1 -1
- package/dist/collection/components/next/table/group/index.js +20 -1
- package/dist/collection/components/next/table/group/index.js.map +1 -1
- package/dist/collection/components/next/table/head/index.js +1 -1
- package/dist/collection/components/next/table/index.js +10 -1
- package/dist/collection/components/next/table/index.js.map +1 -1
- package/dist/collection/components/next/table/row/index.js +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +2 -2
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +3 -4
- package/dist/collection/components/submit/index.js.map +1 -1
- package/dist/collection/components/submit/style.css +6 -6
- package/dist/collection/components/summary/index.js +1 -1
- package/dist/collection/components/summary/index.js.map +1 -1
- package/dist/collection/components/summary/style.css +11 -4
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/testing/index.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/footer/index.js +1 -1
- package/dist/collection/components/table/header/index.js +1 -1
- package/dist/collection/components/table/index.js +1 -1
- package/dist/collection/components/table/row/index.js +1 -1
- package/dist/collection/components/tabs/demo/index.js +1 -1
- package/dist/collection/components/tabs/index.js +1 -1
- package/dist/collection/components/tabs/tab/index.js +2 -3
- package/dist/collection/components/tabs/tab/index.js.map +1 -1
- package/dist/collection/components/theme/color/index.js +1 -1
- package/dist/collection/components/theme/demo/index.js +1 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle/index.js +1 -1
- package/dist/collection/components/toggle/index.js.map +1 -1
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js.map +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/collection/model/Data.spec.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-72437d4a.js → p-00c5deff.js} +15 -15
- package/dist/components/{p-72437d4a.js.map → p-00c5deff.js.map} +1 -1
- package/dist/components/{p-c9723c6f.js → p-017323e3.js} +17 -17
- package/dist/components/{p-c9723c6f.js.map → p-017323e3.js.map} +1 -1
- package/dist/components/{p-417f0ff3.js → p-072d5748.js} +28 -28
- package/dist/components/{p-417f0ff3.js.map → p-072d5748.js.map} +1 -1
- package/dist/components/{p-29cf2133.js → p-0b423141.js} +2 -2
- package/dist/components/{p-29cf2133.js.map → p-0b423141.js.map} +1 -1
- package/dist/components/{p-c9b98b2c.js → p-0d10cb58.js} +2 -2
- package/dist/components/{p-c9b98b2c.js.map → p-0d10cb58.js.map} +1 -1
- package/dist/components/{p-b0b01235.js → p-1390a195.js} +28 -28
- package/dist/components/p-1390a195.js.map +1 -0
- package/dist/components/{p-e5613a72.js → p-172f7392.js} +6 -6
- package/dist/components/{p-e5613a72.js.map → p-172f7392.js.map} +1 -1
- package/dist/components/{p-53681ab6.js → p-192dca7c.js} +2 -2
- package/dist/components/{p-53681ab6.js.map → p-192dca7c.js.map} +1 -1
- package/dist/components/{p-fea68b4b.js → p-19580a07.js} +6 -3
- package/dist/components/p-19580a07.js.map +1 -0
- package/dist/components/p-1cd836ca.js +473 -0
- package/dist/components/p-1cd836ca.js.map +1 -0
- package/dist/components/{p-cb8fff69.js → p-1d427e55.js} +17 -17
- package/dist/components/{p-cb8fff69.js.map → p-1d427e55.js.map} +1 -1
- package/dist/components/p-1d44d3db.js +45 -0
- package/dist/components/p-1d44d3db.js.map +1 -0
- package/dist/components/p-1ff539de.js +123 -0
- package/dist/components/{p-6a51e4a6.js.map → p-1ff539de.js.map} +1 -1
- package/dist/components/{p-70ceab79.js → p-272d2d5a.js} +5 -5
- package/dist/components/p-272d2d5a.js.map +1 -0
- package/dist/components/p-29a260dd.js +82 -0
- package/dist/components/p-29a260dd.js.map +1 -0
- package/dist/components/{p-d5238da0.js → p-2ceb6925.js} +3 -3
- package/dist/components/{p-d5238da0.js.map → p-2ceb6925.js.map} +1 -1
- package/dist/components/p-2d4db101.js +113 -0
- package/dist/components/p-2d4db101.js.map +1 -0
- package/dist/components/{p-a1af56e3.js → p-2d60ab95.js} +3 -3
- package/dist/components/{p-a1af56e3.js.map → p-2d60ab95.js.map} +1 -1
- package/dist/components/{p-3671b826.js → p-2dba23a5.js} +15 -15
- package/dist/components/{p-3671b826.js.map → p-2dba23a5.js.map} +1 -1
- package/dist/components/{p-4c90a4c1.js → p-2ed3a16d.js} +43 -43
- package/dist/components/{p-4c90a4c1.js.map → p-2ed3a16d.js.map} +1 -1
- package/dist/components/{p-67fe8484.js → p-32f089f8.js} +2 -2
- package/dist/components/{p-67fe8484.js.map → p-32f089f8.js.map} +1 -1
- package/dist/components/{p-4c3b2014.js → p-38489e40.js} +4 -5
- package/dist/components/p-38489e40.js.map +1 -0
- package/dist/components/{p-6c77cd6c.js → p-38c3ff20.js} +3 -3
- package/dist/components/{p-6c77cd6c.js.map → p-38c3ff20.js.map} +1 -1
- package/dist/components/{p-9c14be4b.js → p-38ce18a1.js} +2 -2
- package/dist/components/{p-9c14be4b.js.map → p-38ce18a1.js.map} +1 -1
- package/dist/components/{p-99f89f10.js → p-390767c7.js} +2806 -1883
- package/dist/components/p-390767c7.js.map +1 -0
- package/dist/components/{p-582e4f8c.js → p-422f3359.js} +7 -7
- package/dist/components/{p-582e4f8c.js.map → p-422f3359.js.map} +1 -1
- package/dist/components/{p-24dcd271.js → p-448a256b.js} +5 -5
- package/dist/components/p-448a256b.js.map +1 -0
- package/dist/components/{p-5276d246.js → p-45124db6.js} +2 -2
- package/dist/components/p-45124db6.js.map +1 -0
- package/dist/components/{p-cb7811d5.js → p-46d6198c.js} +2 -2
- package/dist/components/{p-cb7811d5.js.map → p-46d6198c.js.map} +1 -1
- package/dist/components/p-47840b52.js +175 -0
- package/dist/components/{p-4f7e3345.js.map → p-47840b52.js.map} +1 -1
- package/dist/components/{p-087c623a.js → p-47d6c43d.js} +6 -6
- package/dist/components/{p-087c623a.js.map → p-47d6c43d.js.map} +1 -1
- package/dist/components/p-4aad1b00.js +176 -0
- package/dist/components/{p-adff8859.js.map → p-4aad1b00.js.map} +1 -1
- package/dist/components/{p-beabdd93.js → p-4b05e229.js} +16 -19
- package/dist/components/p-4b05e229.js.map +1 -0
- package/dist/components/{p-10abb216.js → p-4b663489.js} +2 -2
- package/dist/components/{p-10abb216.js.map → p-4b663489.js.map} +1 -1
- package/dist/components/{p-4f89fe0a.js → p-4c6fe645.js} +2 -2
- package/dist/components/{p-4f89fe0a.js.map → p-4c6fe645.js.map} +1 -1
- package/dist/components/{p-68acb3c2.js → p-4e8746f6.js} +12 -12
- package/dist/components/{p-68acb3c2.js.map → p-4e8746f6.js.map} +1 -1
- package/dist/components/{p-81a86859.js → p-4f53a0e1.js} +9 -9
- package/dist/components/{p-81a86859.js.map → p-4f53a0e1.js.map} +1 -1
- package/dist/components/{p-bb655bb7.js → p-4f80c811.js} +11 -11
- package/dist/components/p-4f80c811.js.map +1 -0
- package/dist/components/{p-960d8ba1.js → p-4f911ef7.js} +3 -3
- package/dist/components/p-4f911ef7.js.map +1 -0
- package/dist/components/{p-9661e3e2.js → p-5501db91.js} +2 -2
- package/dist/components/{p-9661e3e2.js.map → p-5501db91.js.map} +1 -1
- package/dist/components/{p-d4d6503f.js → p-562db6b2.js} +2 -2
- package/dist/components/{p-d4d6503f.js.map → p-562db6b2.js.map} +1 -1
- package/dist/components/{p-b67dde92.js → p-575b902b.js} +17 -18
- package/dist/components/p-575b902b.js.map +1 -0
- package/dist/components/{p-050d6683.js → p-591e0e42.js} +10 -10
- package/dist/components/p-591e0e42.js.map +1 -0
- package/dist/components/{p-7f7f0658.js → p-5926af96.js} +10 -10
- package/dist/components/{p-7f7f0658.js.map → p-5926af96.js.map} +1 -1
- package/dist/components/p-5a89aff9.js +55 -0
- package/dist/components/p-5a89aff9.js.map +1 -0
- package/dist/components/{p-532aa5fd.js → p-5bcf58c9.js} +3 -3
- package/dist/components/{p-532aa5fd.js.map → p-5bcf58c9.js.map} +1 -1
- package/dist/components/p-5d648150.js +144 -0
- package/dist/components/p-5d648150.js.map +1 -0
- package/dist/components/{p-c52830ed.js → p-5ef8d096.js} +4 -4
- package/dist/components/{p-c52830ed.js.map → p-5ef8d096.js.map} +1 -1
- package/dist/components/{p-0a7ea113.js → p-5ffba444.js} +8 -8
- package/dist/components/{p-0a7ea113.js.map → p-5ffba444.js.map} +1 -1
- package/dist/components/{p-7b6e9ca3.js → p-62c1780b.js} +3 -3
- package/dist/components/{p-7b6e9ca3.js.map → p-62c1780b.js.map} +1 -1
- package/dist/components/p-63ac6b31.js +241 -0
- package/dist/components/p-63ac6b31.js.map +1 -0
- package/dist/components/{p-f8a79773.js → p-67b8cf78.js} +23 -15
- package/dist/components/p-67b8cf78.js.map +1 -0
- package/dist/components/{p-58a11f85.js → p-683ee29d.js} +4 -4
- package/dist/components/p-683ee29d.js.map +1 -0
- package/dist/components/{p-3c19aee5.js → p-6b7f1394.js} +19 -19
- package/dist/components/{p-3c19aee5.js.map → p-6b7f1394.js.map} +1 -1
- package/dist/components/{p-e9b6de86.js → p-6b8fa870.js} +4 -4
- package/dist/components/{p-e9b6de86.js.map → p-6b8fa870.js.map} +1 -1
- package/dist/components/{p-7443f196.js → p-6c326e36.js} +6 -6
- package/dist/components/{p-7443f196.js.map → p-6c326e36.js.map} +1 -1
- package/dist/components/{p-8d6eccac.js → p-751259e1.js} +35 -18
- package/dist/components/p-751259e1.js.map +1 -0
- package/dist/components/{p-608a35ca.js → p-78e763a5.js} +3 -3
- package/dist/components/{p-608a35ca.js.map → p-78e763a5.js.map} +1 -1
- package/dist/components/{p-5733b8ef.js → p-79ae3224.js} +2 -2
- package/dist/components/{p-5733b8ef.js.map → p-79ae3224.js.map} +1 -1
- package/dist/components/{p-269e9901.js → p-7b5cb070.js} +15 -15
- package/dist/components/{p-269e9901.js.map → p-7b5cb070.js.map} +1 -1
- package/dist/components/{p-3e87d17f.js → p-7c727d4f.js} +16 -15
- package/dist/components/p-7c727d4f.js.map +1 -0
- package/dist/components/{p-abba2d2f.js → p-7d0eafb0.js} +5 -5
- package/dist/components/p-7d0eafb0.js.map +1 -0
- package/dist/components/{p-7478f877.js → p-7d208e60.js} +2 -2
- package/dist/components/{p-7478f877.js.map → p-7d208e60.js.map} +1 -1
- package/dist/components/{p-f4ad0c7e.js → p-7e8da083.js} +2 -2
- package/dist/components/{p-f4ad0c7e.js.map → p-7e8da083.js.map} +1 -1
- package/dist/components/{p-56536229.js → p-835d7c93.js} +14 -14
- package/dist/components/{p-56536229.js.map → p-835d7c93.js.map} +1 -1
- package/dist/components/{p-b28af62c.js → p-864278eb.js} +17 -7
- package/dist/components/p-864278eb.js.map +1 -0
- package/dist/components/{p-3c216afa.js → p-8948e296.js} +11 -6
- package/dist/components/p-8948e296.js.map +1 -0
- package/dist/components/{p-1de54888.js → p-8e13449b.js} +3 -3
- package/dist/components/{p-1de54888.js.map → p-8e13449b.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-8a02ff30.js → p-8e748704.js} +6 -4
- package/dist/components/p-8e748704.js.map +1 -0
- package/dist/components/{p-0812295b.js → p-93ece2c4.js} +32 -32
- package/dist/components/p-93ece2c4.js.map +1 -0
- package/dist/components/{p-1964f713.js → p-952205c2.js} +3 -3
- package/dist/components/{p-1964f713.js.map → p-952205c2.js.map} +1 -1
- package/dist/components/{p-bd99d7e0.js → p-954dd422.js} +2 -2
- package/dist/components/{p-bd99d7e0.js.map → p-954dd422.js.map} +1 -1
- package/dist/components/{p-d8db6c83.js → p-96acfe2c.js} +6 -6
- package/dist/components/{p-d8db6c83.js.map → p-96acfe2c.js.map} +1 -1
- package/dist/components/{p-1bab70cf.js → p-9caf65ff.js} +15 -20
- package/dist/components/p-9caf65ff.js.map +1 -0
- package/dist/components/{p-17acede5.js → p-a2c92450.js} +28 -28
- package/dist/components/{p-17acede5.js.map → p-a2c92450.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-4433b27b.js → p-b1e386db.js} +6 -6
- package/dist/components/p-b1e386db.js.map +1 -0
- package/dist/components/{p-38829eed.js → p-b2e18b02.js} +2 -2
- package/dist/components/{p-38829eed.js.map → p-b2e18b02.js.map} +1 -1
- package/dist/components/{p-631842aa.js → p-b789d768.js} +6 -6
- package/dist/components/{p-631842aa.js.map → p-b789d768.js.map} +1 -1
- package/dist/components/{p-17194438.js → p-b8c18e44.js} +4 -4
- package/dist/components/{p-17194438.js.map → p-b8c18e44.js.map} +1 -1
- package/dist/components/{p-816007ea.js → p-b93f6336.js} +5 -3
- package/dist/components/{p-816007ea.js.map → p-b93f6336.js.map} +1 -1
- package/dist/components/{p-aceb08d1.js → p-bad6a2f9.js} +5 -5
- package/dist/components/p-bad6a2f9.js.map +1 -0
- package/dist/components/p-bdbac42a.js +45 -0
- package/dist/components/{p-3b329054.js.map → p-bdbac42a.js.map} +1 -1
- package/dist/components/{p-dfa5abc8.js → p-beb87a00.js} +3 -3
- package/dist/components/{p-dfa5abc8.js.map → p-beb87a00.js.map} +1 -1
- package/dist/components/{p-1bf5dad5.js → p-bf57d733.js} +3 -3
- package/dist/components/{p-1bf5dad5.js.map → p-bf57d733.js.map} +1 -1
- package/dist/components/{p-eeb1e790.js → p-c0796b72.js} +7 -10
- package/dist/components/p-c0796b72.js.map +1 -0
- package/dist/components/{p-c49eb816.js → p-c090ac4b.js} +2 -2
- package/dist/components/{p-c49eb816.js.map → p-c090ac4b.js.map} +1 -1
- package/dist/components/{p-b067b386.js → p-c831e3d6.js} +9 -9
- package/dist/components/{p-b067b386.js.map → p-c831e3d6.js.map} +1 -1
- package/dist/components/{p-09cd86b9.js → p-ce2ca767.js} +75 -63
- package/dist/components/p-ce2ca767.js.map +1 -0
- package/dist/components/{p-78034c17.js → p-d03c5e1c.js} +19 -19
- package/dist/components/{p-78034c17.js.map → p-d03c5e1c.js.map} +1 -1
- package/dist/components/p-d254c9c9.js +207 -0
- package/dist/components/{p-3a3d264a.js.map → p-d254c9c9.js.map} +1 -1
- package/dist/components/{p-a8ec972e.js → p-d2c600c0.js} +4 -4
- package/dist/components/{p-a8ec972e.js.map → p-d2c600c0.js.map} +1 -1
- package/dist/components/{p-c12d4515.js → p-d2d74dcd.js} +7 -7
- package/dist/components/{p-c12d4515.js.map → p-d2d74dcd.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-56fd5598.js → p-d51abfe0.js} +2 -2
- package/dist/components/{p-56fd5598.js.map → p-d51abfe0.js.map} +1 -1
- package/dist/components/{p-2939bb2b.js → p-d8318156.js} +8 -8
- package/dist/components/p-d8318156.js.map +1 -0
- package/dist/components/{p-9e4a7b5b.js → p-dcb5daf0.js} +8 -8
- package/dist/components/{p-9e4a7b5b.js.map → p-dcb5daf0.js.map} +1 -1
- package/dist/components/{p-be596a9e.js → p-de7367c4.js} +23 -15
- package/dist/components/p-de7367c4.js.map +1 -0
- package/dist/components/{p-66d58d4e.js → p-df7644f9.js} +15 -15
- package/dist/components/{p-66d58d4e.js.map → p-df7644f9.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-6c0de944.js → p-e25d0a4a.js} +12 -12
- package/dist/components/{p-6c0de944.js.map → p-e25d0a4a.js.map} +1 -1
- package/dist/components/{p-6b5d4af8.js → p-e93c2ce9.js} +10 -10
- package/dist/components/{p-6b5d4af8.js.map → p-e93c2ce9.js.map} +1 -1
- package/dist/components/{p-cdf27943.js → p-e94f2ce5.js} +16 -16
- package/dist/components/{p-cdf27943.js.map → p-e94f2ce5.js.map} +1 -1
- package/dist/components/{p-9580f153.js → p-e98f0d21.js} +5 -5
- package/dist/components/{p-9580f153.js.map → p-e98f0d21.js.map} +1 -1
- package/dist/components/{p-4190e1af.js → p-ebf469aa.js} +39 -50
- package/dist/components/p-ebf469aa.js.map +1 -0
- package/dist/components/{p-7b577335.js → p-ee41db2f.js} +7 -7
- package/dist/components/{p-7b577335.js.map → p-ee41db2f.js.map} +1 -1
- package/dist/components/{p-cb513107.js → p-ee8027c8.js} +15 -15
- package/dist/components/{p-cb513107.js.map → p-ee8027c8.js.map} +1 -1
- package/dist/components/{p-9652bc90.js → p-f46dd8e4.js} +2 -2
- package/dist/components/{p-9652bc90.js.map → p-f46dd8e4.js.map} +1 -1
- package/dist/components/{p-9ba73174.js → p-f770567b.js} +5 -5
- package/dist/components/{p-9ba73174.js.map → p-f770567b.js.map} +1 -1
- package/dist/components/{p-06b2c0ff.js → p-f92cf8e8.js} +18 -18
- package/dist/components/{p-06b2c0ff.js.map → p-f92cf8e8.js.map} +1 -1
- package/dist/components/{p-c3549f14.js → p-f9cb46a5.js} +2 -2
- package/dist/components/{p-c3549f14.js.map → p-f9cb46a5.js.map} +1 -1
- package/dist/components/{p-085ade21.js → p-fa59c097.js} +8 -8
- package/dist/components/{p-085ade21.js.map → p-fa59c097.js.map} +1 -1
- package/dist/components/{p-a1ec2a51.js → p-fc02cd6e.js} +4 -4
- package/dist/components/{p-a1ec2a51.js.map → p-fc02cd6e.js.map} +1 -1
- package/dist/components/smoothly-app-demo.js +195 -177
- 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 +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-primitive.js +1 -1
- package/dist/components/smoothly-display-json-record-key.js +1 -1
- package/dist/components/smoothly-display-json.js +1 -1
- package/dist/components/smoothly-display.js +1 -1
- package/dist/components/smoothly-filter-field.js +1 -1
- package/dist/components/smoothly-filter-input.js +1 -1
- package/dist/components/smoothly-filter-select.js +1 -1
- package/dist/components/smoothly-filter-toggle.js +1 -1
- package/dist/components/smoothly-filter.js +1 -1
- package/dist/components/smoothly-form-demo-all.js +1 -1
- package/dist/components/smoothly-form-demo-card.js +1 -1
- package/dist/components/smoothly-form-demo-controlled.js +1 -1
- package/dist/components/smoothly-form-demo-date-range.js +1 -1
- package/dist/components/smoothly-form-demo-date.js +1 -1
- package/dist/components/smoothly-form-demo-login.js +1 -1
- package/dist/components/smoothly-form-demo-pet.js +1 -1
- package/dist/components/smoothly-form-demo-prices.js +1 -1
- package/dist/components/smoothly-form-demo-transparent.js +1 -1
- package/dist/components/smoothly-form-demo-typed.js +1 -1
- package/dist/components/smoothly-form-demo.js +1 -1
- package/dist/components/smoothly-form.js +1 -1
- package/dist/components/smoothly-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 +30 -30
- package/dist/components/smoothly-input-checkbox.js +1 -1
- package/dist/components/smoothly-input-clear.js +1 -1
- package/dist/components/smoothly-input-color-demo.js +1 -1
- package/dist/components/smoothly-input-color.js +1 -1
- package/dist/components/smoothly-input-date-range.js +1 -1
- package/dist/components/smoothly-input-date.js +1 -1
- package/dist/components/smoothly-input-demo-standard.js +1 -1
- package/dist/components/smoothly-input-demo.js +1 -1
- package/dist/components/smoothly-input-edit.js +1 -1
- package/dist/components/smoothly-input-file.js +1 -1
- package/dist/components/smoothly-input-month.js +1 -1
- package/dist/components/smoothly-input-price-demo.js +1 -1
- package/dist/components/smoothly-input-radio-item.js +1 -1
- package/dist/components/smoothly-input-radio.js +1 -1
- package/dist/components/smoothly-input-range-demo.js +1 -1
- package/dist/components/smoothly-input-range.js +1 -1
- package/dist/components/smoothly-input-reset.js +1 -1
- package/dist/components/smoothly-input-select.js +1 -1
- package/dist/components/smoothly-input-submit.js +1 -1
- package/dist/components/smoothly-input.js +1 -1
- package/dist/components/smoothly-item.js +1 -1
- package/dist/components/smoothly-label.js +1 -1
- package/dist/components/smoothly-lazy.js +1 -1
- package/dist/components/smoothly-load-more.js +1 -1
- package/dist/components/smoothly-modal.d.ts +11 -0
- package/dist/components/smoothly-modal.js +8 -0
- package/dist/components/smoothly-modal.js.map +1 -0
- package/dist/components/smoothly-next-demo-colspan.js +1 -1
- package/dist/components/smoothly-next-demo-filler-row-demo.d.ts +11 -0
- package/dist/components/smoothly-next-demo-filler-row-demo.js +8 -0
- package/dist/components/smoothly-next-demo-filler-row-demo.js.map +1 -0
- package/dist/components/smoothly-next-demo-group.js +1 -1
- package/dist/components/smoothly-next-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-next-demo-nested.js +1 -1
- package/dist/components/smoothly-next-demo-simple.js +1 -1
- package/dist/components/smoothly-next-demo.js +1 -1
- package/dist/components/smoothly-next-table-body.js +1 -1
- package/dist/components/smoothly-next-table-cell.js +1 -1
- package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-next-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-next-table-expandable-row.js +1 -1
- package/dist/components/smoothly-next-table-filler-row.d.ts +11 -0
- package/dist/components/smoothly-next-table-filler-row.js +8 -0
- package/dist/components/smoothly-next-table-filler-row.js.map +1 -0
- package/dist/components/smoothly-next-table-foot.js +1 -1
- package/dist/components/smoothly-next-table-head.js +1 -1
- package/dist/components/smoothly-next-table-row-group.js +1 -1
- package/dist/components/smoothly-next-table-row.js +1 -1
- package/dist/components/smoothly-next-table.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-spinner.js +1 -1
- package/dist/components/smoothly-submit.js +1 -1
- package/dist/components/smoothly-summary.js +1 -1
- package/dist/components/smoothly-tab.js +1 -1
- package/dist/components/smoothly-table-cell.js +1 -1
- package/dist/components/smoothly-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-table-demo.js +1 -1
- package/dist/components/smoothly-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-table-expandable-row.js +1 -1
- package/dist/components/smoothly-table-footer.js +1 -1
- package/dist/components/smoothly-table-header.js +1 -1
- package/dist/components/smoothly-table-row.js +1 -1
- package/dist/components/smoothly-table-testing.js +1 -1
- package/dist/components/smoothly-table.js +1 -1
- package/dist/components/smoothly-tabs-demo.js +1 -1
- package/dist/components/smoothly-tabs.js +1 -1
- package/dist/components/smoothly-theme-color.js +1 -1
- package/dist/components/smoothly-theme-colors.js +1 -1
- package/dist/components/smoothly-theme-demo.js +1 -1
- package/dist/components/smoothly-theme-guide.js +1 -1
- package/dist/components/smoothly-theme-picker.js +1 -1
- package/dist/components/smoothly-toggle-switch-demo.js +1 -1
- package/dist/components/smoothly-toggle-switch.js +1 -1
- package/dist/components/smoothly-toggle.js +1 -1
- package/dist/components/smoothly-trigger-sink.js +3 -3
- package/dist/components/smoothly-trigger-source.js +3 -3
- package/dist/components/smoothly-trigger.js +1 -1
- package/dist/esm/{Scrollable-94b2c80b.js → Scrollable-93e46f30.js} +17 -388
- package/dist/esm/Scrollable-93e46f30.js.map +1 -0
- package/dist/esm/{TimeZone-7b25e3f9.js → 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/loader.js +1 -1
- package/dist/esm/{smoothly-app_106.entry.js → smoothly-app_109.entry.js} +729 -635
- package/dist/esm/smoothly-app_109.entry.js.map +1 -0
- 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 +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +3 -3
- package/dist/esm/smoothly-trigger-source.entry.js +3 -3
- package/dist/esm/smoothly.js +1 -1
- 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-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-aa596b7e.entry.js → p-6a5409cf.entry.js} +2 -2
- package/dist/smoothly/p-6d7ee489.js +2 -0
- package/dist/smoothly/p-6d7ee489.js.map +1 -0
- package/dist/smoothly/{p-f0d68499.entry.js → p-7afb0711.entry.js} +2 -2
- package/dist/smoothly/p-8fa9500d.entry.js +2 -0
- package/dist/smoothly/p-9fa4a0f5.entry.js +2 -0
- package/dist/smoothly/p-9fa4a0f5.entry.js.map +1 -0
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/app/index.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +1 -1
- package/dist/types/components/calendar/generate.d.ts +1 -1
- package/dist/types/components/calendar/index.d.ts +15 -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/dialog/demo/index.d.ts +3 -0
- package/dist/types/components/display/index.d.ts +6 -6
- package/dist/types/components/filter/Filter.d.ts +3 -3
- package/dist/types/components/filter/field/index.d.ts +3 -0
- package/dist/types/components/form/demo/typed/Contact.d.ts +1 -1
- package/dist/types/components/input/Deep.d.ts +4 -0
- package/dist/types/components/input/Editable.d.ts +2 -2
- package/dist/types/components/input/Input.d.ts +3 -2
- package/dist/types/components/input/InputStateHandler.d.ts +37 -0
- package/dist/types/components/input/Looks.d.ts +2 -2
- package/dist/types/components/input/color/index.d.ts +1 -2
- package/dist/types/components/input/date/index.d.ts +9 -9
- package/dist/types/components/input/date/range/index.d.ts +1 -1
- package/dist/types/components/input/file/index.d.ts +1 -0
- package/dist/types/components/input/index.d.ts +9 -17
- package/dist/types/components/input/month/index.d.ts +6 -2
- package/dist/types/components/input/radio/Selected.d.ts +1 -1
- package/dist/types/components/input/radio/index.d.ts +1 -1
- package/dist/types/components/input/radio/item/index.d.ts +1 -1
- package/dist/types/components/input/range/index.d.ts +2 -1
- package/dist/types/components/item/Item.d.ts +2 -2
- package/dist/types/components/modal/index.d.ts +9 -0
- package/dist/types/components/next/demo/fillerRow/filleRowDemo.d.ts +13 -0
- package/dist/types/components/next/table/fillerRow/index.d.ts +4 -0
- package/dist/types/components/next/table/group/index.d.ts +2 -1
- package/dist/types/components/next/table/index.d.ts +1 -0
- package/dist/types/components/tabs/tab/index.d.ts +1 -1
- package/dist/types/components.d.ts +134 -50
- 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 -40
- package/dist/cjs/Scrollable-a60d6091.js.map +0 -1
- package/dist/cjs/TimeZone-45bcd855.js.map +0 -1
- package/dist/cjs/smoothly-app_106.cjs.entry.js.map +0 -1
- package/dist/collection/components/input/Action.js +0 -100
- package/dist/collection/components/input/Action.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-050d6683.js.map +0 -1
- package/dist/components/p-0812295b.js.map +0 -1
- package/dist/components/p-09cd86b9.js.map +0 -1
- package/dist/components/p-1bab70cf.js.map +0 -1
- package/dist/components/p-24dcd271.js.map +0 -1
- package/dist/components/p-2939bb2b.js.map +0 -1
- package/dist/components/p-3a3d264a.js +0 -207
- package/dist/components/p-3b329054.js +0 -45
- package/dist/components/p-3c216afa.js.map +0 -1
- package/dist/components/p-3e87d17f.js.map +0 -1
- package/dist/components/p-4190e1af.js.map +0 -1
- package/dist/components/p-4433b27b.js.map +0 -1
- package/dist/components/p-4c3b2014.js.map +0 -1
- package/dist/components/p-4f7e3345.js +0 -175
- package/dist/components/p-5276d246.js.map +0 -1
- package/dist/components/p-58a11f85.js.map +0 -1
- package/dist/components/p-6a51e4a6.js +0 -123
- package/dist/components/p-70ceab79.js.map +0 -1
- package/dist/components/p-82c01297.js.map +0 -1
- package/dist/components/p-8a02ff30.js.map +0 -1
- package/dist/components/p-8d6eccac.js.map +0 -1
- package/dist/components/p-960d8ba1.js.map +0 -1
- package/dist/components/p-96469335.js.map +0 -1
- package/dist/components/p-987d969a.js +0 -53
- package/dist/components/p-987d969a.js.map +0 -1
- package/dist/components/p-99f89f10.js.map +0 -1
- package/dist/components/p-abba2d2f.js.map +0 -1
- package/dist/components/p-aceb08d1.js.map +0 -1
- package/dist/components/p-adff8859.js +0 -176
- package/dist/components/p-b0b01235.js.map +0 -1
- package/dist/components/p-b28af62c.js.map +0 -1
- package/dist/components/p-b67dde92.js.map +0 -1
- package/dist/components/p-bb655bb7.js.map +0 -1
- package/dist/components/p-be596a9e.js.map +0 -1
- package/dist/components/p-beabdd93.js.map +0 -1
- package/dist/components/p-c2b45135.js +0 -149
- package/dist/components/p-c2b45135.js.map +0 -1
- package/dist/components/p-c7905089.js +0 -449
- package/dist/components/p-c7905089.js.map +0 -1
- package/dist/components/p-ca19ed60.js.map +0 -1
- package/dist/components/p-eeb1e790.js.map +0 -1
- package/dist/components/p-f3359c81.js +0 -243
- package/dist/components/p-f3359c81.js.map +0 -1
- package/dist/components/p-f8a79773.js.map +0 -1
- package/dist/components/p-fea68b4b.js.map +0 -1
- package/dist/esm/Scrollable-94b2c80b.js.map +0 -1
- package/dist/esm/TimeZone-7b25e3f9.js.map +0 -1
- package/dist/esm/smoothly-app_106.entry.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-0f71a043.entry.js +0 -2
- package/dist/smoothly/p-0f71a043.entry.js.map +0 -1
- package/dist/smoothly/p-3e49ca8d.entry.js +0 -2
- 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/types/components/input/Action.d.ts +0 -13
- /package/dist/smoothly/{p-cf245e8a.js.map → p-2257be8c.js.map} +0 -0
- /package/dist/smoothly/{p-aa596b7e.entry.js.map → p-6a5409cf.entry.js.map} +0 -0
- /package/dist/smoothly/{p-f0d68499.entry.js.map → p-7afb0711.entry.js.map} +0 -0
- /package/dist/smoothly/{p-3e49ca8d.entry.js.map → p-8fa9500d.entry.js.map} +0 -0
|
@@ -1,395 +1,47 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
get name() {
|
|
5
|
-
return typeof this._name == "function" ? this._name() : this._name;
|
|
6
|
-
}
|
|
7
|
-
get condition() {
|
|
8
|
-
return typeof this._condition == "function" ? this._condition() : this._condition;
|
|
9
|
-
}
|
|
10
|
-
optional() {
|
|
11
|
-
return new IslyOptional(this);
|
|
12
|
-
}
|
|
13
|
-
readonly() {
|
|
14
|
-
return new IslyReadonly(this);
|
|
15
|
-
}
|
|
16
|
-
array(...options) {
|
|
17
|
-
return array(this, ...options);
|
|
18
|
-
}
|
|
19
|
-
constructor(_name, _condition) {
|
|
20
|
-
this._name = _name;
|
|
21
|
-
this._condition = _condition;
|
|
22
|
-
/**
|
|
23
|
-
* Return a flaw object, describing the flaws of the value compared to expected type.
|
|
24
|
-
*
|
|
25
|
-
* If it is a correct value, according to the type, it returns a Flaw with the message `{message:"This type is correct.", isFlaw: false, ... }`
|
|
26
|
-
*
|
|
27
|
-
* Implemented as a closure.
|
|
28
|
-
*/
|
|
29
|
-
this.flaw = (value) => {
|
|
30
|
-
return this.is(value)
|
|
31
|
-
? {
|
|
32
|
-
type: this.name,
|
|
33
|
-
...(this.condition ? { condition: this.condition } : undefined),
|
|
34
|
-
isFlaw: false,
|
|
35
|
-
message: "This type is correct.",
|
|
36
|
-
}
|
|
37
|
-
: {
|
|
38
|
-
...(this.condition ? { condition: this.condition } : undefined),
|
|
39
|
-
...this.createFlaw(value),
|
|
40
|
-
type: this.name,
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Return the value if the value is valid for the type, otherwise undefined.
|
|
46
|
-
* For objects, unknown properties are filtered.
|
|
47
|
-
*
|
|
48
|
-
* Eg: isly.number().value(NaN) returns undefined
|
|
49
|
-
*/
|
|
50
|
-
get(value) {
|
|
51
|
-
return this.is(value) ? this.getValue(value) : undefined;
|
|
52
|
-
}
|
|
53
|
-
getValue(value) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Override this to create custom Flaws.
|
|
58
|
-
* Not necessary for simple types.
|
|
59
|
-
*/
|
|
60
|
-
createFlaw(value) {
|
|
61
|
-
return {};
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Used by types that use a backend type.
|
|
65
|
-
*/
|
|
66
|
-
createFlawFromType(backend, value) {
|
|
67
|
-
return "createFlaw" in backend && typeof backend.createFlaw == "function"
|
|
68
|
-
? backend.createFlaw(value)
|
|
69
|
-
: backend.flaw(value);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
class IslyOptional extends Type {
|
|
73
|
-
constructor(backend) {
|
|
74
|
-
super(() => backend.name + " | undefined", backend.condition);
|
|
75
|
-
this.backend = backend;
|
|
76
|
-
this.class = "optional";
|
|
77
|
-
this.is = (value) => value == undefined || this.backend.is(value);
|
|
78
|
-
}
|
|
79
|
-
createFlaw(value) {
|
|
80
|
-
return this.createFlawFromType(this.backend, value);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
class IslyReadonly extends Type {
|
|
84
|
-
constructor(backend) {
|
|
85
|
-
super(() => `Readonly<${backend.name}>`, backend.condition);
|
|
86
|
-
this.backend = backend;
|
|
87
|
-
this.class = "readonly";
|
|
88
|
-
this.is = (value) => value == undefined || this.backend.is(value);
|
|
89
|
-
}
|
|
90
|
-
createFlaw(value) {
|
|
91
|
-
return this.createFlawFromType(this.backend, value);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
function array(itemType, ...options) {
|
|
95
|
-
return new IslyArray(itemType, options);
|
|
96
|
-
}
|
|
97
|
-
const criteriaFunctions$1 = {
|
|
98
|
-
length: {
|
|
99
|
-
is: (value, optionValue) => value.length == optionValue,
|
|
100
|
-
condition: optionValue => `length == ${optionValue}`,
|
|
101
|
-
},
|
|
102
|
-
minLength: {
|
|
103
|
-
is: (value, optionValue) => value.length >= optionValue,
|
|
104
|
-
condition: optionValue => `minLength == ${optionValue}`,
|
|
105
|
-
},
|
|
106
|
-
maxLength: {
|
|
107
|
-
is: (value, optionValue) => value.length <= optionValue,
|
|
108
|
-
condition: optionValue => `maxLength == ${optionValue}`,
|
|
109
|
-
},
|
|
110
|
-
};
|
|
111
|
-
class IslyArray extends Type {
|
|
112
|
-
constructor(itemType, options) {
|
|
113
|
-
super(() => this.baseName() + "[]", options.length > 0 ? options.map(c => criteriaFunctions$1[c.criteria].condition(c.value)).join(" & ") : undefined);
|
|
114
|
-
this.itemType = itemType;
|
|
115
|
-
this.options = options;
|
|
116
|
-
this.class = "array";
|
|
117
|
-
this.is = (value) => globalThis.Array.isArray(value) &&
|
|
118
|
-
this.options.every(option => criteriaFunctions$1[option.criteria].is(value, option.value)) &&
|
|
119
|
-
value.every(item => this.itemType.is(item));
|
|
120
|
-
}
|
|
121
|
-
baseName() {
|
|
122
|
-
return this.itemType.name.includes(" ") ? `(${this.itemType.name})` : this.itemType.name;
|
|
123
|
-
}
|
|
124
|
-
itemName(index) {
|
|
125
|
-
return `${this.baseName()}[${index}]`;
|
|
126
|
-
}
|
|
127
|
-
createFlaw(value) {
|
|
128
|
-
const flaws = (globalThis.Array.isArray(value) &&
|
|
129
|
-
value.flatMap((item, index) => {
|
|
130
|
-
const subFlaw = this.itemType.flaw(item);
|
|
131
|
-
return subFlaw.isFlaw ?? true ? [{ ...subFlaw, type: this.itemName(index) }] : [];
|
|
132
|
-
})) ||
|
|
133
|
-
[];
|
|
134
|
-
return {
|
|
135
|
-
...(flaws.length > 0 ? { flaws } : undefined),
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
getValue(value) {
|
|
139
|
-
return value.map(item => this.itemType.get(item));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
function boolean(booleanValue) {
|
|
144
|
-
return new IslyBoolean(booleanValue);
|
|
145
|
-
}
|
|
146
|
-
class IslyBoolean extends Type {
|
|
147
|
-
constructor(booleanValue) {
|
|
148
|
-
super(booleanValue == undefined ? "boolean" : booleanValue ? "true" : "false");
|
|
149
|
-
this.booleanValue = booleanValue;
|
|
150
|
-
this.class = "boolean";
|
|
151
|
-
this.is = (value) => typeof value == "boolean" && (this.booleanValue == undefined || value == this.booleanValue);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Late evaluation of a type
|
|
157
|
-
* Can be used for for recursive types.
|
|
158
|
-
*
|
|
159
|
-
* @param factory
|
|
160
|
-
* @param name Provide a name, to avoid infinite loop if the type i recursive
|
|
161
|
-
* @returns
|
|
162
|
-
*/
|
|
163
|
-
function lazy(factory, name) {
|
|
164
|
-
return new IslyLazy(factory, name);
|
|
165
|
-
}
|
|
166
|
-
class IslyLazy extends Type {
|
|
167
|
-
constructor(factory, name) {
|
|
168
|
-
super(name ?? (() => (this.backend ??= factory()).name), () => (this.backend ??= factory()).condition);
|
|
169
|
-
this.factory = factory;
|
|
170
|
-
this.class = "lazy";
|
|
171
|
-
this.is = (value) => (this.backend ??= this.factory()).is(value);
|
|
172
|
-
}
|
|
173
|
-
createFlaw(value) {
|
|
174
|
-
return this.createFlawFromType((this.backend ??= this.factory()), value);
|
|
175
|
-
}
|
|
176
|
-
getBackend() {
|
|
177
|
-
return this.backend;
|
|
178
|
-
}
|
|
179
|
-
get(value) {
|
|
180
|
-
return this.backend.get(value);
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function object(properties, name) {
|
|
185
|
-
return new IslyObject(properties ?? {}, name);
|
|
186
|
-
}
|
|
187
|
-
class IslyObject extends Type {
|
|
188
|
-
constructor(properties, name, baseType) {
|
|
189
|
-
super(() => name ??
|
|
190
|
-
(this.baseType ? `${this.baseType.name} & ` : "") +
|
|
191
|
-
`{${globalThis.Object.entries(this.properties)
|
|
192
|
-
.map(([property, type]) => `${property}: ${type.name}`)
|
|
193
|
-
.join(", ")}}`);
|
|
194
|
-
this.properties = properties;
|
|
195
|
-
this.baseType = baseType;
|
|
196
|
-
this.class = "object";
|
|
197
|
-
this.is = (value) => !!(value &&
|
|
198
|
-
(this.baseType == undefined || this.baseType.is(value)) &&
|
|
199
|
-
typeof value == "object" &&
|
|
200
|
-
!globalThis.Array.isArray(value) &&
|
|
201
|
-
globalThis.Object.entries(this.properties).every(([property, type]) => type.is(value[property])));
|
|
202
|
-
}
|
|
203
|
-
extend(properties, name) {
|
|
204
|
-
return new IslyObject(properties, name, this);
|
|
205
|
-
}
|
|
206
|
-
omit(omits, name) {
|
|
207
|
-
return new IslyObject(globalThis.Object.fromEntries(globalThis.Object.entries(this.properties).filter(([key]) => !omits.includes(key))), name ?? `Omit<${this.name}, ${omits.map(key => `"${String(key)}"`).join(" | ")}>`, this.baseType?.omit(omits));
|
|
208
|
-
}
|
|
209
|
-
pick(picks, name) {
|
|
210
|
-
return new IslyObject(globalThis.Object.fromEntries(globalThis.Object.entries(this.properties).filter(([key]) => picks.includes(key))), name ?? `Pick<${this.name}, ${picks.map(key => `"${String(key)}"`).join(" | ")}>`, this.baseType?.pick(picks));
|
|
211
|
-
}
|
|
212
|
-
createFlaw(value) {
|
|
213
|
-
return {
|
|
214
|
-
flaws: [
|
|
215
|
-
this.baseType ? this.baseType.flaw(value)?.flaws ?? [] : [],
|
|
216
|
-
globalThis.Object.entries(this.properties)
|
|
217
|
-
.map(([property, type]) => [property, type.flaw(value?.[property])])
|
|
218
|
-
.map(([property, flaw]) => (flaw?.isFlaw ?? true) && { property, ...flaw })
|
|
219
|
-
.filter(flaw => flaw),
|
|
220
|
-
]
|
|
221
|
-
.flat()
|
|
222
|
-
.filter(flaw => flaw?.isFlaw ?? true),
|
|
223
|
-
};
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* get-function on a object returns a object with only specified properties
|
|
227
|
-
*/
|
|
228
|
-
getValue(value) {
|
|
229
|
-
const result = this.baseType ? this.baseType.getValue(value) : {};
|
|
230
|
-
if (result)
|
|
231
|
-
for (const [key, type] of globalThis.Object.entries(this.properties))
|
|
232
|
-
if (key in value)
|
|
233
|
-
result[key] = type.get(value[key]);
|
|
234
|
-
return result;
|
|
235
|
-
}
|
|
236
|
-
getProperties() {
|
|
237
|
-
return { ...this.baseType?.getProperties(), ...this.properties };
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
function string(condition) {
|
|
242
|
-
return new IslyString(condition);
|
|
243
|
-
}
|
|
244
|
-
class IslyString extends Type {
|
|
245
|
-
constructor(stringCondition) {
|
|
246
|
-
super(typeof stringCondition == "string" ? `"${stringCondition}"` : "string", () => {
|
|
247
|
-
const conditionObject = this.getConditionObject();
|
|
248
|
-
return conditionObject instanceof RegExp
|
|
249
|
-
? `/${conditionObject.source}/${conditionObject.flags}`
|
|
250
|
-
: globalThis.Object.keys(conditionObject)
|
|
251
|
-
.map(key => `"${key}"`)
|
|
252
|
-
.join(" | ");
|
|
253
|
-
});
|
|
254
|
-
this.stringCondition = stringCondition;
|
|
255
|
-
this.class = "string";
|
|
256
|
-
this.is = (value) => {
|
|
257
|
-
const conditionObject = this.getConditionObject();
|
|
258
|
-
return (typeof value == "string" &&
|
|
259
|
-
(conditionObject instanceof RegExp
|
|
260
|
-
? conditionObject.test(value)
|
|
261
|
-
: typeof conditionObject == "object"
|
|
262
|
-
? value in conditionObject //TODO, avoid "hasOwnProperty toString etc."
|
|
263
|
-
: conditionObject));
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
getConditionObject() {
|
|
267
|
-
return (this.conditionObject ??= Array.isArray(this.stringCondition)
|
|
268
|
-
? this.stringCondition.reduce((result, current) => {
|
|
269
|
-
result[current] = true;
|
|
270
|
-
return result;
|
|
271
|
-
}, globalThis.Object.create(null))
|
|
272
|
-
: typeof this.stringCondition == "string"
|
|
273
|
-
? { [this.stringCondition]: true }
|
|
274
|
-
: typeof this.stringCondition == "object" // Record or RegExp!
|
|
275
|
-
? this.stringCondition
|
|
276
|
-
: true);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
var Flaw;
|
|
281
|
-
(function (Flaw) {
|
|
282
|
-
Flaw.type = object({
|
|
283
|
-
message: string().optional(),
|
|
284
|
-
isFlaw: boolean().optional(),
|
|
285
|
-
property: string().optional(),
|
|
286
|
-
type: string(),
|
|
287
|
-
flaws: array(lazy(() => Flaw.type)).optional(),
|
|
288
|
-
condition: string().optional(),
|
|
289
|
-
}, "Flaw");
|
|
290
|
-
Flaw.is = Flaw.type.is;
|
|
291
|
-
Flaw.flaw = Flaw.type.flaw;
|
|
292
|
-
})(Flaw || (Flaw = {}));
|
|
3
|
+
const TimeZone = require('./TimeZone-c7477083.js');
|
|
293
4
|
|
|
294
5
|
function fromIs(name, is) {
|
|
295
6
|
return new IslyFromIs(name, is);
|
|
296
7
|
}
|
|
297
|
-
class IslyFromIs extends Type {
|
|
8
|
+
class IslyFromIs extends TimeZone.Type {
|
|
9
|
+
isFunction;
|
|
10
|
+
class = "fromIs";
|
|
298
11
|
constructor(name, isFunction) {
|
|
299
12
|
super(name);
|
|
300
13
|
this.isFunction = isFunction;
|
|
301
|
-
this.class = "fromIs";
|
|
302
|
-
this.is = (value) => this.isFunction(value);
|
|
303
14
|
}
|
|
15
|
+
is = (value) => this.isFunction(value);
|
|
304
16
|
}
|
|
305
17
|
|
|
306
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
307
18
|
function islyFunction() {
|
|
308
19
|
return new IslyFunction();
|
|
309
20
|
}
|
|
310
|
-
|
|
311
|
-
class
|
|
21
|
+
class IslyFunction extends TimeZone.Type {
|
|
22
|
+
class = "function";
|
|
312
23
|
constructor() {
|
|
313
24
|
super("function");
|
|
314
|
-
this.class = "function";
|
|
315
|
-
this.is = (value) => !!(value && typeof value == "function");
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
const criteriaFunctions = {
|
|
320
|
-
positive: {
|
|
321
|
-
is: (value) => value > 0,
|
|
322
|
-
condition: "> 0",
|
|
323
|
-
},
|
|
324
|
-
negative: {
|
|
325
|
-
is: (value) => value < 0,
|
|
326
|
-
condition: "< 0",
|
|
327
|
-
},
|
|
328
|
-
integer: {
|
|
329
|
-
is: (value) => Number.isInteger(value),
|
|
330
|
-
condition: "Number.isInteger",
|
|
331
|
-
},
|
|
332
|
-
};
|
|
333
|
-
/**
|
|
334
|
-
* NaN, Infinite and -Infinite is not considered to be numbers by this type,
|
|
335
|
-
* since that it is hardly ever desirable when validating input data.
|
|
336
|
-
*
|
|
337
|
-
* @param criteria
|
|
338
|
-
* @returns
|
|
339
|
-
*/
|
|
340
|
-
function number(criteria) {
|
|
341
|
-
const [isFunction, condition] = criteria == undefined ? [undefined, undefined] : fromCriteria(criteria);
|
|
342
|
-
return new IslyNumber(isFunction, condition);
|
|
343
|
-
}
|
|
344
|
-
function fromCriteria(criteria) {
|
|
345
|
-
return /* Eg: criteria == 42 */ typeof criteria == "number"
|
|
346
|
-
? [value => value == criteria, " == " + criteria.toString()]
|
|
347
|
-
: // Eg: criteria == [0,1,2]
|
|
348
|
-
((c) => Array.isArray(c) && c.every(c => typeof c == "number"))(criteria)
|
|
349
|
-
? [value => criteria.map(fromCriteria).some(c => c[0](value)), criteria.join(" | ")]
|
|
350
|
-
: // Eg: criteria == ["positive", "negative"]
|
|
351
|
-
((c) => Array.isArray(c) && c.every(c => typeof c == "string" && c in criteriaFunctions))(criteria)
|
|
352
|
-
? [
|
|
353
|
-
value => criteria.map(fromCriteria).every(c => c[0](value)),
|
|
354
|
-
criteria
|
|
355
|
-
.map(fromCriteria)
|
|
356
|
-
.map(c => c[1])
|
|
357
|
-
.join(" & "),
|
|
358
|
-
]
|
|
359
|
-
: // Eg: criteria == () => true
|
|
360
|
-
typeof criteria === "function"
|
|
361
|
-
? [criteria, "custom"]
|
|
362
|
-
: // Eg: criteria == "positive"
|
|
363
|
-
criteria in criteriaFunctions
|
|
364
|
-
? [criteriaFunctions[criteria].is, criteriaFunctions[criteria].condition]
|
|
365
|
-
: // Eg: criteria is unknown
|
|
366
|
-
[() => false, "Unknown criteria"];
|
|
367
|
-
}
|
|
368
|
-
class IslyNumber extends Type {
|
|
369
|
-
constructor(isFunction, condition) {
|
|
370
|
-
super("number", condition);
|
|
371
|
-
this.isFunction = isFunction;
|
|
372
|
-
this.class = "number";
|
|
373
|
-
this.is = (value) => typeof value == "number" &&
|
|
374
|
-
!Number.isNaN(value - value) && // NaN-NaN==NaN && Infinity-Infinity==NaN && (-Infinity)-(-Infinity)==NaN
|
|
375
|
-
(!this.isFunction || this.isFunction(value));
|
|
376
25
|
}
|
|
26
|
+
is = (value) => !!(value && typeof value == "function");
|
|
377
27
|
}
|
|
378
28
|
|
|
379
29
|
function record(keyType, valueType) {
|
|
380
30
|
return new IslyRecord(keyType, valueType);
|
|
381
31
|
}
|
|
382
|
-
class IslyRecord extends Type {
|
|
32
|
+
class IslyRecord extends TimeZone.Type {
|
|
33
|
+
keyType;
|
|
34
|
+
valueType;
|
|
35
|
+
class = "record";
|
|
383
36
|
constructor(keyType, valueType) {
|
|
384
37
|
super(() => `Record<${keyType.name}, ${valueType.name}>`);
|
|
385
38
|
this.keyType = keyType;
|
|
386
39
|
this.valueType = valueType;
|
|
387
|
-
this.class = "record";
|
|
388
|
-
this.is = (value) => !!(value &&
|
|
389
|
-
typeof value == "object" &&
|
|
390
|
-
!globalThis.Array.isArray(value) &&
|
|
391
|
-
globalThis.Object.entries(value).every(([key, value]) => this.keyType.is(this.keyType.name == "number" && `${+key}` == key ? +key : key) && this.valueType.is(value)));
|
|
392
40
|
}
|
|
41
|
+
is = (value) => !!(value &&
|
|
42
|
+
typeof value == "object" &&
|
|
43
|
+
!globalThis.Array.isArray(value) &&
|
|
44
|
+
globalThis.Object.entries(value).every(([key, value]) => this.keyType.is(this.keyType.name == "number" && `${+key}` == key ? +key : key) && this.valueType.is(value)));
|
|
393
45
|
createFlaw(value) {
|
|
394
46
|
return {
|
|
395
47
|
flaws: value &&
|
|
@@ -408,40 +60,17 @@ class IslyRecord extends Type {
|
|
|
408
60
|
}
|
|
409
61
|
}
|
|
410
62
|
|
|
411
|
-
function union(...types) {
|
|
412
|
-
return new IslyUnion(...types);
|
|
413
|
-
}
|
|
414
|
-
class IslyUnion extends Type {
|
|
415
|
-
constructor(...types) {
|
|
416
|
-
super(() => types.map(type => type.name).join(" | "));
|
|
417
|
-
this.class = "union";
|
|
418
|
-
this.is = (value) => this.types.some(type => type.is(value));
|
|
419
|
-
this.types = types;
|
|
420
|
-
}
|
|
421
|
-
createFlaw(value) {
|
|
422
|
-
return {
|
|
423
|
-
flaws: this.types.map(type => type.flaw(value)).filter(flaw => flaw),
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
getValue(value) {
|
|
427
|
-
return this.types.find(type => type.is(value))?.get(value);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
|
|
431
63
|
function islyUndefined(name) {
|
|
432
64
|
return new IslyUndefined(name ?? "undefined");
|
|
433
65
|
}
|
|
434
|
-
class IslyUndefined extends Type {
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
this.class = "undefined";
|
|
438
|
-
this.is = (value) => value === undefined;
|
|
439
|
-
}
|
|
66
|
+
class IslyUndefined extends TimeZone.Type {
|
|
67
|
+
class = "undefined";
|
|
68
|
+
is = (value) => value === undefined;
|
|
440
69
|
}
|
|
441
70
|
|
|
442
71
|
var Hex;
|
|
443
72
|
(function (Hex) {
|
|
444
|
-
Hex.type = string(new RegExp(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i));
|
|
73
|
+
Hex.type = TimeZone.string(new RegExp(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i));
|
|
445
74
|
function toRGB(hex) {
|
|
446
75
|
hex = hex.replace(/^#/, "");
|
|
447
76
|
if (hex.length === 3) {
|
|
@@ -461,10 +90,10 @@ var Hex;
|
|
|
461
90
|
|
|
462
91
|
var HSL;
|
|
463
92
|
(function (HSL) {
|
|
464
|
-
HSL.type = object({
|
|
465
|
-
h: number().optional(),
|
|
466
|
-
s: number().optional(),
|
|
467
|
-
l: number().optional(),
|
|
93
|
+
HSL.type = TimeZone.object({
|
|
94
|
+
h: TimeZone.number().optional(),
|
|
95
|
+
s: TimeZone.number().optional(),
|
|
96
|
+
l: TimeZone.number().optional(),
|
|
468
97
|
});
|
|
469
98
|
function toRGB({ h, s, l }) {
|
|
470
99
|
let r = 0;
|
|
@@ -517,10 +146,10 @@ var HSL;
|
|
|
517
146
|
|
|
518
147
|
exports.RGB = void 0;
|
|
519
148
|
(function (RGB) {
|
|
520
|
-
RGB.type = object({
|
|
521
|
-
r: number().optional(),
|
|
522
|
-
g: number().optional(),
|
|
523
|
-
b: number().optional(),
|
|
149
|
+
RGB.type = TimeZone.object({
|
|
150
|
+
r: TimeZone.number().optional(),
|
|
151
|
+
g: TimeZone.number().optional(),
|
|
152
|
+
b: TimeZone.number().optional(),
|
|
524
153
|
});
|
|
525
154
|
function toHex(rgb) {
|
|
526
155
|
let hex = "";
|
|
@@ -594,7 +223,7 @@ exports.Color = void 0;
|
|
|
594
223
|
"medium",
|
|
595
224
|
"dark",
|
|
596
225
|
];
|
|
597
|
-
Color.type = string(Color.types);
|
|
226
|
+
Color.type = TimeZone.string(Color.types);
|
|
598
227
|
Color.is = Color.type.is;
|
|
599
228
|
})(exports.Color || (exports.Color = {}));
|
|
600
229
|
|
|
@@ -1247,8 +876,8 @@ _Listenable_listeners = new WeakMap();
|
|
|
1247
876
|
|
|
1248
877
|
exports.Data = void 0;
|
|
1249
878
|
(function (Data) {
|
|
1250
|
-
Data.valueType = union(string(), number(), boolean(), fromIs("Blob", value => value instanceof Blob), islyUndefined());
|
|
1251
|
-
Data.type = record(string(), union(lazy(() => Data.type, "Data"), Data.valueType));
|
|
879
|
+
Data.valueType = TimeZone.union(TimeZone.string(), TimeZone.number(), TimeZone.boolean(), fromIs("Blob", value => value instanceof Blob), islyUndefined());
|
|
880
|
+
Data.type = record(TimeZone.string(), TimeZone.union(TimeZone.lazy(() => Data.type, "Data"), Data.valueType));
|
|
1252
881
|
function set(data, [head, ...tail], value) {
|
|
1253
882
|
const current = data[head !== null && head !== void 0 ? head : ""];
|
|
1254
883
|
return Object.assign(Object.assign({}, data), { [head !== null && head !== void 0 ? head : ""]: !tail.length
|
|
@@ -1261,7 +890,7 @@ exports.Data = void 0;
|
|
|
1261
890
|
}
|
|
1262
891
|
Data.deepen = deepen;
|
|
1263
892
|
function isArrayRecord(d) {
|
|
1264
|
-
return (object().is(d) && (keys => !!keys.length && keys.every(k => parseInt(k).toString() == k))(Object.keys(d)));
|
|
893
|
+
return (TimeZone.object().is(d) && (keys => !!keys.length && keys.every(k => parseInt(k).toString() == k))(Object.keys(d)));
|
|
1265
894
|
}
|
|
1266
895
|
function convertArrays(data) {
|
|
1267
896
|
return isArrayRecord(data)
|
|
@@ -1269,7 +898,7 @@ exports.Data = void 0;
|
|
|
1269
898
|
arr[k] = convertArrays(v);
|
|
1270
899
|
return arr;
|
|
1271
900
|
}, [])
|
|
1272
|
-
: object().is(data) && !(data instanceof Blob || data instanceof File)
|
|
901
|
+
: TimeZone.object().is(data) && !(data instanceof Blob || data instanceof File)
|
|
1273
902
|
? Object.fromEntries(Object.entries(data).map(([k, v]) => [k, convertArrays(v)]))
|
|
1274
903
|
: data;
|
|
1275
904
|
}
|
|
@@ -1303,8 +932,8 @@ exports.Data = void 0;
|
|
|
1303
932
|
exports.Submit = void 0;
|
|
1304
933
|
(function (Submit) {
|
|
1305
934
|
Submit.types = ["update", "change", "fetch", "create", "remove"];
|
|
1306
|
-
Submit.type = object({
|
|
1307
|
-
type: string(Submit.types).optional(),
|
|
935
|
+
Submit.type = TimeZone.object({
|
|
936
|
+
type: TimeZone.string(Submit.types).optional(),
|
|
1308
937
|
result: islyFunction(),
|
|
1309
938
|
value: exports.Data.type,
|
|
1310
939
|
});
|
|
@@ -1330,13 +959,8 @@ exports.Scrollable = void 0;
|
|
|
1330
959
|
})(exports.Scrollable || (exports.Scrollable = {}));
|
|
1331
960
|
|
|
1332
961
|
exports.Listenable = Listenable;
|
|
1333
|
-
exports.Type = Type;
|
|
1334
|
-
exports.boolean = boolean;
|
|
1335
962
|
exports.fromIs = fromIs;
|
|
1336
963
|
exports.islyFunction = islyFunction;
|
|
1337
|
-
exports.number = number;
|
|
1338
|
-
exports.object = object;
|
|
1339
964
|
exports.record = record;
|
|
1340
|
-
exports.string = string;
|
|
1341
965
|
|
|
1342
|
-
//# sourceMappingURL=Scrollable-
|
|
966
|
+
//# sourceMappingURL=Scrollable-20426515.js.map
|