smoothly 1.1.1-alpha.99 → 1.2.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Submit-a58ac294.js → Scrollable-a60d6091.js} +789 -81
- package/dist/cjs/Scrollable-a60d6091.js.map +1 -0
- package/dist/cjs/{TimeZone-814b03bd.js → TimeZone-45bcd855.js} +3 -261
- package/dist/cjs/TimeZone-45bcd855.js.map +1 -0
- package/dist/cjs/en-56378cc9.js +263 -0
- package/dist/cjs/en-56378cc9.js.map +1 -0
- package/dist/cjs/index-6aa68079.js +1028 -0
- package/dist/cjs/index-6aa68079.js.map +1 -0
- package/dist/cjs/{index-04271bdc.js → index-c0bbcb16.js} +10 -4
- package/dist/cjs/index-c0bbcb16.js.map +1 -0
- package/dist/cjs/index.cjs.js +11 -9
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{smoothly-app_96.cjs.entry.js → smoothly-app_107.cjs.entry.js} +1515 -2501
- package/dist/cjs/smoothly-app_107.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-color.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-country.cjs.entry.js +5 -4
- package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +19 -0
- package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-picker-demo.cjs.entry.js +5 -4
- package/dist/cjs/smoothly-picker-demo.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-picker-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/smoothly-picker-menu_3.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-picker.cjs.entry.js +26 -11
- package/dist/cjs/smoothly-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-slotted-elements.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +6 -5
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +6 -5
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +13 -1
- package/dist/collection/components/app/room/index.js +1 -1
- package/dist/collection/components/app/room/index.js.map +1 -1
- package/dist/collection/components/app/room/style.css +28 -0
- package/dist/collection/components/back-to-top/index.js +15 -7
- package/dist/collection/components/back-to-top/index.js.map +1 -1
- package/dist/collection/components/button/demo/index.js +2 -2
- package/dist/collection/components/button/demo/index.js.map +1 -1
- package/dist/collection/components/button/demo/style.css +4 -0
- package/dist/collection/components/button/style.css +14 -17
- package/dist/collection/components/calendar/index.js +3 -3
- package/dist/collection/components/calendar/index.js.map +1 -1
- package/dist/collection/components/checkbox/index.js +3 -3
- package/dist/collection/components/checkbox/index.js.map +1 -1
- package/dist/collection/components/color/index.js +1 -1
- package/dist/collection/components/confirm/index.js +8 -26
- package/dist/collection/components/confirm/index.js.map +1 -1
- package/dist/collection/components/country/index.js +1 -1
- package/dist/collection/components/dialog/demo/index.js +1 -1
- package/dist/collection/components/dialog/index.js +1 -1
- package/dist/collection/components/display/demo/index.js +10 -22
- package/dist/collection/components/display/demo/index.js.map +1 -1
- package/dist/collection/components/display/demo/json/index.js +25 -0
- package/dist/collection/components/display/demo/json/index.js.map +1 -0
- package/dist/collection/components/display/index.js +42 -9
- package/dist/collection/components/display/index.js.map +1 -1
- package/dist/collection/components/display/json/JsonValue.js +2 -2
- package/dist/collection/components/display/json/JsonValue.js.map +1 -1
- package/dist/collection/components/display/json/index.js +19 -1
- package/dist/collection/components/display/json/index.js.map +1 -1
- package/dist/collection/components/display/json/object/index.js +16 -13
- package/dist/collection/components/display/json/object/index.js.map +1 -1
- package/dist/collection/components/display/json/object/key/index.js +1 -1
- package/dist/collection/components/display/json/object/style.css +7 -4
- package/dist/collection/components/display/json/primitive/index.js +1 -1
- package/dist/collection/components/display/json/primitive/style.css +1 -0
- package/dist/collection/components/display-amount/index.js.map +1 -1
- package/dist/collection/components/filter/field/index.js +1 -1
- package/dist/collection/components/filter/index.js +3 -3
- package/dist/collection/components/filter/input/index.js +1 -1
- package/dist/collection/components/filter/select/index.js +12 -11
- package/dist/collection/components/filter/select/index.js.map +1 -1
- package/dist/collection/components/filter/toggle/index.js +2 -2
- package/dist/collection/components/form/demo/all/index.js +11 -0
- package/dist/collection/components/form/demo/all/index.js.map +1 -0
- package/dist/collection/components/form/demo/card/index.js +9 -0
- package/dist/collection/components/form/demo/card/index.js.map +1 -0
- package/dist/collection/components/form/demo/controlled/index.js +52 -0
- package/dist/collection/components/form/demo/controlled/index.js.map +1 -0
- package/dist/collection/components/form/demo/date/index.js +63 -0
- package/dist/collection/components/form/demo/date/index.js.map +1 -0
- package/dist/collection/components/form/demo/date/style.css +3 -0
- package/dist/collection/components/form/demo/date-range/index.js +63 -0
- package/dist/collection/components/form/demo/date-range/index.js.map +1 -0
- package/dist/collection/components/form/demo/date-range/style.css +3 -0
- package/dist/collection/components/form/demo/index.js +1 -1
- package/dist/collection/components/form/demo/index.js.map +1 -1
- package/dist/collection/components/form/demo/login/index.js +9 -0
- package/dist/collection/components/form/demo/login/index.js.map +1 -0
- package/dist/collection/components/form/demo/pet/index.js +36 -0
- package/dist/collection/components/form/demo/pet/index.js.map +1 -0
- package/dist/collection/components/form/demo/pet/style.css +13 -0
- package/dist/collection/components/form/demo/prices/index.js +9 -0
- package/dist/collection/components/form/demo/prices/index.js.map +1 -0
- package/dist/collection/components/form/demo/style.css +8 -5
- package/dist/collection/components/form/demo/transparent/index.js +9 -0
- package/dist/collection/components/form/demo/transparent/index.js.map +1 -0
- package/dist/collection/components/form/demo/typed/index.js +1 -1
- package/dist/collection/components/form/index.js +45 -24
- package/dist/collection/components/form/index.js.map +1 -1
- package/dist/collection/components/form/style.css +5 -3
- package/dist/collection/components/frame/index.js +1 -1
- package/dist/collection/components/frame/index.js.map +1 -1
- package/dist/collection/components/icon/demo/index.js +43 -475
- package/dist/collection/components/icon/demo/index.js.map +1 -1
- package/dist/collection/components/icon/demo/style.css +22 -2
- package/dist/collection/components/icon/index.js +1 -1
- package/dist/collection/components/icon/style.css +7 -1
- package/dist/collection/components/input/Action.js +100 -0
- package/dist/collection/components/input/Action.js.map +1 -0
- package/dist/collection/components/input/Adjacent.js +32 -0
- package/dist/collection/components/input/Adjacent.js.map +1 -0
- package/dist/collection/components/input/Input.js +17 -2
- package/dist/collection/components/input/Input.js.map +1 -1
- package/dist/collection/components/input/checkbox/demo/index.js +10 -0
- package/dist/collection/components/input/checkbox/demo/index.js.map +1 -0
- package/dist/collection/components/input/checkbox/index.js +110 -22
- package/dist/collection/components/input/checkbox/index.js.map +1 -1
- package/dist/collection/components/input/checkbox/style.css +47 -15
- package/dist/collection/components/input/clear/index.js +8 -7
- package/dist/collection/components/input/clear/index.js.map +1 -1
- package/dist/collection/components/input/clear/style.css +14 -17
- package/dist/collection/components/input/color/demo/index.js +1 -1
- package/dist/collection/components/input/color/index.js +160 -55
- package/dist/collection/components/input/color/index.js.map +1 -1
- package/dist/collection/components/input/color/style.css +93 -0
- package/dist/collection/components/input/date/index.js +100 -23
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +98 -17
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/range/style.css +46 -22
- package/dist/collection/components/input/date/style.css +47 -23
- package/dist/collection/components/input/demo/index.js +11 -16
- package/dist/collection/components/input/demo/index.js.map +1 -1
- package/dist/collection/components/input/demo/price/index.js +30 -0
- package/dist/collection/components/input/demo/price/index.js.map +1 -0
- package/dist/collection/components/input/demo/price/style.css +3 -0
- package/dist/collection/components/input/demo/standard/index.js +46 -0
- package/dist/collection/components/input/demo/standard/index.js.map +1 -0
- package/dist/collection/components/input/demo/standard/style.css +106 -0
- package/dist/collection/components/input/demo/style.css +14 -9
- package/dist/collection/components/input/edit/index.js +13 -12
- package/dist/collection/components/input/edit/index.js.map +1 -1
- package/dist/collection/components/input/edit/style.css +21 -17
- package/dist/collection/components/input/file/index.js +89 -19
- package/dist/collection/components/input/file/index.js.map +1 -1
- package/dist/collection/components/input/file/style.css +56 -31
- package/dist/collection/components/input/index.js +156 -201
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/collection/components/input/month/index.js +104 -14
- package/dist/collection/components/input/month/index.js.map +1 -1
- package/dist/collection/components/input/radio/index.js +128 -21
- package/dist/collection/components/input/radio/index.js.map +1 -1
- package/dist/collection/components/input/radio/item/index.js +5 -6
- package/dist/collection/components/input/radio/item/index.js.map +1 -1
- package/dist/collection/components/input/radio/style.css +56 -27
- package/dist/collection/components/input/range/demo/index.js +1 -1
- package/dist/collection/components/input/range/index.js +108 -20
- package/dist/collection/components/input/range/index.js.map +1 -1
- package/dist/collection/components/input/range/style.css +46 -12
- package/dist/collection/components/input/reset/index.js +7 -6
- package/dist/collection/components/input/reset/index.js.map +1 -1
- package/dist/collection/components/input/reset/style.css +14 -21
- package/dist/collection/components/input/select/index.js +109 -29
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/style.css +65 -45
- package/dist/collection/components/input/style.css +73 -36
- package/dist/collection/components/input/submit/index.js +7 -25
- package/dist/collection/components/input/submit/index.js.map +1 -1
- package/dist/collection/components/input/submit/style.css +218 -0
- package/dist/collection/components/item/index.js +8 -9
- package/dist/collection/components/item/index.js.map +1 -1
- package/dist/collection/components/item/style.css +4 -2
- package/dist/collection/components/label/index.js +8 -7
- package/dist/collection/components/label/index.js.map +1 -1
- package/dist/collection/components/lazy/index.js +1 -1
- package/dist/collection/components/load-more/index.js +36 -21
- package/dist/collection/components/load-more/index.js.map +1 -1
- package/dist/collection/components/next/demo/colspan/index.js +1 -1
- package/dist/collection/components/next/demo/filtered/index.js +5 -5
- package/dist/collection/components/next/demo/group/index.js +1 -1
- package/dist/collection/components/next/demo/index.js +1 -1
- package/dist/collection/components/next/demo/nested/index.js +1 -1
- package/dist/collection/components/next/demo/nested/inner/index.js +1 -1
- package/dist/collection/components/next/demo/simple/simple.js +1 -1
- package/dist/collection/components/next/table/body/index.js +1 -1
- package/dist/collection/components/next/table/cell/index.js +1 -1
- package/dist/collection/components/next/table/expandable/cell/index.js +14 -6
- package/dist/collection/components/next/table/expandable/cell/index.js.map +1 -1
- package/dist/collection/components/next/table/expandable/row/index.js +28 -1
- package/dist/collection/components/next/table/expandable/row/index.js.map +1 -1
- package/dist/collection/components/next/table/foot/index.js +1 -1
- package/dist/collection/components/next/table/group/index.js +1 -1
- package/dist/collection/components/next/table/head/index.js +28 -1
- package/dist/collection/components/next/table/head/index.js.map +1 -1
- package/dist/collection/components/next/table/head/style.css +5 -0
- package/dist/collection/components/next/table/index.js +13 -1
- package/dist/collection/components/next/table/index.js.map +1 -1
- package/dist/collection/components/next/table/row/index.js +7 -7
- package/dist/collection/components/next/table/row/index.js.map +1 -1
- package/dist/collection/components/notification/index.js +1 -1
- package/dist/collection/components/notifier/index.js +2 -2
- package/dist/collection/components/picker/demo/index.js +2 -2
- package/dist/collection/components/picker/index.js +83 -20
- package/dist/collection/components/picker/index.js.map +1 -1
- package/dist/collection/components/picker/menu/index.js +3 -3
- package/dist/collection/components/picker/menu/index.js.map +1 -1
- package/dist/collection/components/picker/option/index.js +1 -1
- package/dist/collection/components/picker/slotted-elements/index.js +1 -1
- package/dist/collection/components/picker/style.css +42 -10
- package/dist/collection/components/spinner/index.js +2 -2
- package/dist/collection/components/submit/index.js +7 -6
- package/dist/collection/components/submit/index.js.map +1 -1
- package/dist/collection/components/submit/style.css +14 -17
- package/dist/collection/components/summary/index.js +29 -2
- package/dist/collection/components/summary/index.js.map +1 -1
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +5 -5
- package/dist/collection/components/table/demo/index.js +1 -1
- package/dist/collection/components/table/demo/testing/index.js +1 -1
- package/dist/collection/components/table/expandable/cell/index.js +1 -1
- package/dist/collection/components/table/expandable/row/index.js +1 -1
- package/dist/collection/components/table/footer/index.js +1 -1
- package/dist/collection/components/table/header/index.js +2 -2
- package/dist/collection/components/table/header/index.js.map +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 -3
- package/dist/collection/components/tabs/demo/index.js.map +1 -1
- package/dist/collection/components/tabs/demo/style.css +4 -8
- package/dist/collection/components/tabs/index.js +22 -8
- package/dist/collection/components/tabs/index.js.map +1 -1
- package/dist/collection/components/tabs/style.css +3 -4
- package/dist/collection/components/tabs/tab/index.js +53 -17
- package/dist/collection/components/tabs/tab/index.js.map +1 -1
- package/dist/collection/components/tabs/tab/style.css +23 -9
- 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/demo/style.css +2 -1
- package/dist/collection/components/theme/guide/index.js +8 -8
- package/dist/collection/components/theme/picker/index.js +2 -2
- package/dist/collection/components/toggle/index.js +1 -1
- package/dist/collection/components/toggle-switch/demo/index.js +1 -1
- package/dist/collection/components/toggle-switch/index.js +1 -1
- package/dist/collection/components/trigger/index.js +1 -1
- package/dist/collection/components/trigger/sink/index.js +1 -1
- package/dist/collection/components/trigger/source/index.js +1 -1
- package/dist/collection/model/Color/HSL.js +57 -0
- package/dist/collection/model/Color/HSL.js.map +1 -0
- package/dist/collection/model/Color/Hex.js +21 -0
- package/dist/collection/model/Color/Hex.js.map +1 -0
- package/dist/collection/model/Color/RGB.js +63 -0
- package/dist/collection/model/Color/RGB.js.map +1 -0
- package/dist/collection/model/{Color.js → Color/index.js} +7 -1
- package/dist/collection/model/Color/index.js.map +1 -0
- package/dist/collection/model/Data.js +22 -2
- package/dist/collection/model/Data.js.map +1 -1
- package/dist/collection/model/Data.spec.js +136 -1
- package/dist/collection/model/Data.spec.js.map +1 -1
- package/dist/collection/model/Icon.js +510 -0
- package/dist/collection/model/Icon.js.map +1 -1
- package/dist/collection/model/Scrollable.js +17 -0
- package/dist/collection/model/Scrollable.js.map +1 -0
- package/dist/collection/model/getLocale.js +6 -0
- package/dist/collection/model/getLocale.js.map +1 -0
- package/dist/collection/model/index.js +2 -0
- package/dist/collection/model/index.js.map +1 -1
- package/dist/collection/smoothly.js +1 -1
- package/dist/collection/smoothly.js.map +1 -1
- package/dist/components/index.js +5 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-8f52e93c.js → p-02a23195.js} +16 -16
- package/dist/components/{p-8f52e93c.js.map → p-02a23195.js.map} +1 -1
- package/dist/components/{p-77879f9a.js → p-03dfc90e.js} +7 -7
- package/dist/components/{p-77879f9a.js.map → p-03dfc90e.js.map} +1 -1
- package/dist/components/{p-a57c099b.js → p-0b8b9b08.js} +3 -3
- package/dist/components/{p-a57c099b.js.map → p-0b8b9b08.js.map} +1 -1
- package/dist/components/{p-83e7ca47.js → p-0d341641.js} +20 -20
- package/dist/components/{p-83e7ca47.js.map → p-0d341641.js.map} +1 -1
- package/dist/components/{p-d240ce6b.js → p-15ce2db5.js} +8 -8
- package/dist/components/{p-d240ce6b.js.map → p-15ce2db5.js.map} +1 -1
- package/dist/components/{p-12f9ef19.js → p-169f3518.js} +12 -5
- package/dist/components/p-169f3518.js.map +1 -0
- package/dist/components/{p-136fe28a.js → p-17db0a3d.js} +5 -5
- package/dist/components/{p-136fe28a.js.map → p-17db0a3d.js.map} +1 -1
- package/dist/components/{p-ca3aeb65.js → p-1a1ffba5.js} +15 -15
- package/dist/components/{p-ca3aeb65.js.map → p-1a1ffba5.js.map} +1 -1
- package/dist/components/{p-5590b9b9.js → p-1a98fd86.js} +5 -7
- package/dist/components/p-1a98fd86.js.map +1 -0
- package/dist/components/{p-90fbea6a.js → p-1c48c06a.js} +18 -6
- package/dist/components/p-1c48c06a.js.map +1 -0
- package/dist/components/{p-e53a5dc6.js → p-1e1ebe80.js} +3 -3
- package/dist/components/{p-e53a5dc6.js.map → p-1e1ebe80.js.map} +1 -1
- package/dist/components/{p-314daed5.js → p-2775ff11.js} +18 -18
- package/dist/components/p-2775ff11.js.map +1 -0
- package/dist/components/p-28ce1e96.js +212 -0
- package/dist/components/p-28ce1e96.js.map +1 -0
- package/dist/components/{p-095bf2a8.js → p-2b7e23b7.js} +74 -57
- package/dist/components/p-2b7e23b7.js.map +1 -0
- package/dist/components/{p-427ec773.js → p-2bbca807.js} +36 -36
- package/dist/components/{p-427ec773.js.map → p-2bbca807.js.map} +1 -1
- package/dist/components/{p-a70198ee.js → p-2d3a3983.js} +5 -7
- package/dist/components/p-2d3a3983.js.map +1 -0
- package/dist/components/p-2e3f2e5e.js +200 -0
- package/dist/components/p-2e3f2e5e.js.map +1 -0
- package/dist/components/{p-81a37592.js → p-3100d745.js} +18 -10
- package/dist/components/p-3100d745.js.map +1 -0
- package/dist/components/{p-bb1e8def.js → p-32577351.js} +5 -5
- package/dist/components/{p-bb1e8def.js.map → p-32577351.js.map} +1 -1
- package/dist/components/{p-a9137eb9.js → p-335c4625.js} +4 -4
- package/dist/components/{p-a9137eb9.js.map → p-335c4625.js.map} +1 -1
- package/dist/components/p-33a17335.js +77 -0
- package/dist/components/p-33a17335.js.map +1 -0
- package/dist/components/p-39cb63fc.js +279 -0
- package/dist/components/p-39cb63fc.js.map +1 -0
- package/dist/components/p-3a2d612c.js +63 -0
- package/dist/components/p-3a2d612c.js.map +1 -0
- package/dist/components/{p-e0a1662f.js → p-3f1fc74a.js} +3 -3
- package/dist/components/{p-e0a1662f.js.map → p-3f1fc74a.js.map} +1 -1
- package/dist/components/{p-7c816086.js → p-416a1983.js} +29 -29
- package/dist/components/{p-7c816086.js.map → p-416a1983.js.map} +1 -1
- package/dist/components/{p-3850f200.js → p-4190e1af.js} +148 -37
- package/dist/components/p-4190e1af.js.map +1 -0
- package/dist/components/p-42feacb7.js +207 -0
- package/dist/components/{p-e28db418.js.map → p-42feacb7.js.map} +1 -1
- package/dist/components/{p-553f791a.js → p-452ded65.js} +4 -4
- package/dist/components/{p-553f791a.js.map → p-452ded65.js.map} +1 -1
- package/dist/components/p-456ba372.js +197 -0
- package/dist/components/p-456ba372.js.map +1 -0
- package/dist/components/p-47ea6b68.js +20 -0
- package/dist/components/p-47ea6b68.js.map +1 -0
- package/dist/components/{p-24ca832b.js → p-48cafa38.js} +4 -4
- package/dist/components/{p-24ca832b.js.map → p-48cafa38.js.map} +1 -1
- package/dist/components/{p-9aa70fb6.js → p-48ee01bf.js} +10 -10
- package/dist/components/{p-9aa70fb6.js.map → p-48ee01bf.js.map} +1 -1
- package/dist/components/{p-ef0f881a.js → p-49bd7ae1.js} +9 -7
- package/dist/components/p-49bd7ae1.js.map +1 -0
- package/dist/components/{p-43cf327e.js → p-4cc29e14.js} +4 -4
- package/dist/components/{p-43cf327e.js.map → p-4cc29e14.js.map} +1 -1
- package/dist/components/{p-07b66098.js → p-4d4c7c91.js} +2 -2
- package/dist/components/{p-07b66098.js.map → p-4d4c7c91.js.map} +1 -1
- package/dist/components/{p-746bbd05.js → p-5013791d.js} +3 -3
- package/dist/components/{p-746bbd05.js.map → p-5013791d.js.map} +1 -1
- package/dist/components/{p-8548c5ea.js → p-548e35db.js} +29 -29
- package/dist/components/{p-8548c5ea.js.map → p-548e35db.js.map} +1 -1
- package/dist/components/{p-6a39a08b.js → p-54d3dbe7.js} +7 -7
- package/dist/components/{p-6a39a08b.js.map → p-54d3dbe7.js.map} +1 -1
- package/dist/components/{p-c726c531.js → p-54efd471.js} +5 -5
- package/dist/components/{p-c726c531.js.map → p-54efd471.js.map} +1 -1
- package/dist/components/{p-3ff1915c.js → p-58a11f85.js} +4 -2
- package/dist/components/p-58a11f85.js.map +1 -0
- package/dist/components/p-59405c54.js +164 -0
- package/dist/components/p-59405c54.js.map +1 -0
- package/dist/components/{p-2eeadec8.js → p-5f0aebbc.js} +4 -4
- package/dist/components/p-5f0aebbc.js.map +1 -0
- package/dist/components/{p-07766517.js → p-6b8086c7.js} +7 -4
- package/dist/components/p-6b8086c7.js.map +1 -0
- package/dist/components/{p-9c680806.js → p-6bcbb87a.js} +13 -11
- package/dist/components/p-6bcbb87a.js.map +1 -0
- package/dist/components/p-6bede153.js +123 -0
- package/dist/components/{p-b5d32dbe.js.map → p-6bede153.js.map} +1 -1
- package/dist/components/p-6bf310c8.js +77 -0
- package/dist/components/p-6bf310c8.js.map +1 -0
- package/dist/components/p-6ec2b327.js +241 -0
- package/dist/components/p-6ec2b327.js.map +1 -0
- package/dist/components/{p-92cdb433.js → p-6f17295f.js} +6 -8
- package/dist/components/p-6f17295f.js.map +1 -0
- package/dist/components/{p-e2ae34ac.js → p-6fa8d3d5.js} +9 -9
- package/dist/components/{p-e2ae34ac.js.map → p-6fa8d3d5.js.map} +1 -1
- package/dist/components/{p-3618ea51.js → p-713356de.js} +4 -4
- package/dist/components/{p-3618ea51.js.map → p-713356de.js.map} +1 -1
- package/dist/components/{p-cdc67dab.js → p-71eac340.js} +13 -13
- package/dist/components/{p-cdc67dab.js.map → p-71eac340.js.map} +1 -1
- package/dist/components/{p-454d2da3.js → p-74cffbeb.js} +6 -5
- package/dist/components/p-74cffbeb.js.map +1 -0
- package/dist/components/{p-bd142d05.js → p-75faf130.js} +9 -9
- package/dist/components/{p-bd142d05.js.map → p-75faf130.js.map} +1 -1
- package/dist/components/{p-6d1325c5.js → p-7b03122a.js} +20 -20
- package/dist/components/{p-6d1325c5.js.map → p-7b03122a.js.map} +1 -1
- package/dist/components/{p-3c883164.js → p-82c01297.js} +60 -43
- package/dist/components/p-82c01297.js.map +1 -0
- package/dist/components/{p-0afaba0c.js → p-876d64b3.js} +2 -2
- package/dist/components/{p-0afaba0c.js.map → p-876d64b3.js.map} +1 -1
- package/dist/components/{p-9a7b5a90.js → p-8eef505e.js} +3 -3
- package/dist/components/{p-9a7b5a90.js.map → p-8eef505e.js.map} +1 -1
- package/dist/components/p-93396a2f.js +57 -0
- package/dist/components/p-93396a2f.js.map +1 -0
- package/dist/components/{p-e989d63f.js → p-93410764.js} +10 -10
- package/dist/components/p-93410764.js.map +1 -0
- package/dist/components/p-9597387b.js +81 -0
- package/dist/components/p-9597387b.js.map +1 -0
- package/dist/components/{p-ce8bbb99.js → p-96469335.js} +15 -5
- package/dist/components/p-96469335.js.map +1 -0
- package/dist/components/{p-c9aadb0e.js → p-984e9c9a.js} +3 -3
- package/dist/components/{p-c9aadb0e.js.map → p-984e9c9a.js.map} +1 -1
- package/dist/components/{p-5ab5a176.js → p-99f89f10.js} +2 -2
- package/dist/components/p-99f89f10.js.map +1 -0
- package/dist/components/{p-00878a2e.js → p-9cba086d.js} +12 -3
- package/dist/components/p-9cba086d.js.map +1 -0
- package/dist/components/{p-fe7ad313.js → p-9cd36304.js} +4 -4
- package/dist/components/{p-fe7ad313.js.map → p-9cd36304.js.map} +1 -1
- package/dist/components/{p-2ba4d40f.js → p-9d72e92d.js} +2 -2
- package/dist/components/{p-2ba4d40f.js.map → p-9d72e92d.js.map} +1 -1
- package/dist/components/{p-420381e8.js → p-9ebce96a.js} +7 -5
- package/dist/components/p-9ebce96a.js.map +1 -0
- package/dist/components/{p-50333315.js → p-a158544b.js} +18 -16
- package/dist/components/p-a158544b.js.map +1 -0
- package/dist/components/{p-2054f7e0.js → p-a284d958.js} +4 -4
- package/dist/components/p-a284d958.js.map +1 -0
- package/dist/components/p-a3f70d01.js +175 -0
- package/dist/components/p-a3f70d01.js.map +1 -0
- package/dist/components/{p-921071d3.js → p-a45a9886.js} +3 -3
- package/dist/components/{p-921071d3.js.map → p-a45a9886.js.map} +1 -1
- package/dist/components/{p-d6e3ee3d.js → p-a514c0ad.js} +8 -8
- package/dist/components/p-a514c0ad.js.map +1 -0
- package/dist/components/{p-ba1b4f8d.js → p-a5cebd85.js} +33 -18
- package/dist/components/p-a5cebd85.js.map +1 -0
- package/dist/components/p-a5f56bc7.js +447 -0
- package/dist/components/p-a5f56bc7.js.map +1 -0
- package/dist/components/p-a86702db.js +126 -0
- package/dist/components/p-a86702db.js.map +1 -0
- package/dist/components/{p-d909ddc1.js → p-a86c399f.js} +18 -10
- package/dist/components/p-a86c399f.js.map +1 -0
- package/dist/components/{p-8d7b21c1.js → p-a8b0487c.js} +3 -3
- package/dist/components/{p-8d7b21c1.js.map → p-a8b0487c.js.map} +1 -1
- package/dist/components/{p-99440081.js → p-a8e4c28a.js} +41 -26
- package/dist/components/p-a8e4c28a.js.map +1 -0
- package/dist/components/{p-4b8d7f98.js → p-aaba09fc.js} +5 -5
- package/dist/components/p-aaba09fc.js.map +1 -0
- package/dist/components/{p-2524ea4d.js → p-b316b814.js} +4 -4
- package/dist/components/{p-2524ea4d.js.map → p-b316b814.js.map} +1 -1
- package/dist/components/{p-372c31e3.js → p-b68793a2.js} +16 -16
- package/dist/components/{p-372c31e3.js.map → p-b68793a2.js.map} +1 -1
- package/dist/components/p-bc89f8eb.js +71 -0
- package/dist/components/p-bc89f8eb.js.map +1 -0
- package/dist/components/{p-776c42d9.js → p-bd4b1e1c.js} +3 -3
- package/dist/components/{p-776c42d9.js.map → p-bd4b1e1c.js.map} +1 -1
- package/dist/components/p-bfdc65e8.js +70 -0
- package/dist/components/p-bfdc65e8.js.map +1 -0
- package/dist/components/p-c3ed1476.js +213 -0
- package/dist/components/p-c3ed1476.js.map +1 -0
- package/dist/components/p-c58c4eb9.js +263 -0
- package/dist/components/p-c58c4eb9.js.map +1 -0
- package/dist/components/{p-c8d4f6c6.js → p-c63da968.js} +7 -7
- package/dist/components/{p-c8d4f6c6.js.map → p-c63da968.js.map} +1 -1
- package/dist/components/p-c9dfb79b.js +79 -0
- package/dist/components/p-c9dfb79b.js.map +1 -0
- package/dist/components/p-ca19ed60.js +1026 -0
- package/dist/components/p-ca19ed60.js.map +1 -0
- package/dist/components/p-cc1fc94f.js +71 -0
- package/dist/components/p-cc1fc94f.js.map +1 -0
- package/dist/components/p-ce47729d.js +186 -0
- package/dist/components/p-ce47729d.js.map +1 -0
- package/dist/components/{p-a78af3a6.js → p-d18eeab9.js} +4 -4
- package/dist/components/{p-a78af3a6.js.map → p-d18eeab9.js.map} +1 -1
- package/dist/components/{p-4416a050.js → p-d47cf55d.js} +13 -13
- package/dist/components/{p-4416a050.js.map → p-d47cf55d.js.map} +1 -1
- package/dist/components/{p-e6eddda6.js → p-d580b246.js} +3 -3
- package/dist/components/{p-e6eddda6.js.map → p-d580b246.js.map} +1 -1
- package/dist/components/p-d6d921b4.js +136 -0
- package/dist/components/p-d6d921b4.js.map +1 -0
- package/dist/components/p-d89727d9.js +126 -0
- package/dist/components/p-d89727d9.js.map +1 -0
- package/dist/components/{p-72264c6e.js → p-d9809e6e.js} +3 -3
- package/dist/components/{p-72264c6e.js.map → p-d9809e6e.js.map} +1 -1
- package/dist/components/{p-c86020c2.js → p-d9ffab40.js} +4 -4
- package/dist/components/{p-c86020c2.js.map → p-d9ffab40.js.map} +1 -1
- package/dist/components/{p-d3d0b34e.js → p-e116d777.js} +22 -26
- package/dist/components/p-e116d777.js.map +1 -0
- package/dist/components/p-e385a6bc.js +97 -0
- package/dist/components/p-e385a6bc.js.map +1 -0
- package/dist/components/{p-467d65e7.js → p-e47eafc3.js} +6 -2
- package/dist/components/p-e47eafc3.js.map +1 -0
- package/dist/components/{p-abdf9688.js → p-e740570b.js} +5 -5
- package/dist/components/{p-abdf9688.js.map → p-e740570b.js.map} +1 -1
- package/dist/components/p-e74e842c.js +113 -0
- package/dist/components/p-e74e842c.js.map +1 -0
- package/dist/components/{p-0dd1eadb.js → p-e7c4f996.js} +7 -7
- package/dist/components/{p-0dd1eadb.js.map → p-e7c4f996.js.map} +1 -1
- package/dist/components/{p-1100302b.js → p-e808e352.js} +7 -7
- package/dist/components/{p-1100302b.js.map → p-e808e352.js.map} +1 -1
- package/dist/components/{p-a2c9b968.js → p-e8a5eb6e.js} +3 -3
- package/dist/components/{p-a2c9b968.js.map → p-e8a5eb6e.js.map} +1 -1
- package/dist/components/{p-9e87c63c.js → p-e8c45b78.js} +16 -16
- package/dist/components/{p-9e87c63c.js.map → p-e8c45b78.js.map} +1 -1
- package/dist/components/p-eb1622c1.js +182 -0
- package/dist/components/p-eb1622c1.js.map +1 -0
- package/dist/components/{p-4e118d30.js → p-eb85e33c.js} +6 -4
- package/dist/components/p-eb85e33c.js.map +1 -0
- package/dist/components/{p-02153716.js → p-ec592bef.js} +3 -3
- package/dist/components/{p-02153716.js.map → p-ec592bef.js.map} +1 -1
- package/dist/components/p-edd7a65e.js +123 -0
- package/dist/components/p-edd7a65e.js.map +1 -0
- package/dist/components/p-f043a875.js +158 -0
- package/dist/components/p-f043a875.js.map +1 -0
- package/dist/components/p-f08a09cc.js +45 -0
- package/dist/components/{p-f2aaa99e.js.map → p-f08a09cc.js.map} +1 -1
- package/dist/components/{p-7f139e6e.js → p-f211f4b4.js} +3 -3
- package/dist/components/{p-7f139e6e.js.map → p-f211f4b4.js.map} +1 -1
- package/dist/components/{p-6edee8d6.js → p-f3365331.js} +8 -8
- package/dist/components/p-f3365331.js.map +1 -0
- package/dist/components/{p-0bbdda27.js → p-f4053f42.js} +29 -10
- package/dist/components/p-f4053f42.js.map +1 -0
- package/dist/components/{p-0ab4c2a3.js → p-f49ce232.js} +8 -6
- package/dist/components/p-f49ce232.js.map +1 -0
- package/dist/components/{p-94573542.js → p-f4fa8a78.js} +5 -5
- package/dist/components/p-f4fa8a78.js.map +1 -0
- package/dist/components/{p-0eb878c8.js → p-f9b016d8.js} +17 -13
- package/dist/components/p-f9b016d8.js.map +1 -0
- package/dist/components/p-ff134548.js +76 -0
- package/dist/components/p-ff134548.js.map +1 -0
- package/dist/components/smoothly-app-demo.js +202 -136
- 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 +5 -5
- package/dist/components/smoothly-checkbox.js.map +1 -1
- package/dist/components/smoothly-color.js +2 -2
- package/dist/components/smoothly-country.js +4 -4
- package/dist/components/smoothly-dialog-demo.js +1 -1
- package/dist/components/smoothly-dialog.js +1 -1
- package/dist/components/smoothly-display-amount.js +1 -1
- package/dist/components/smoothly-display-demo-json.d.ts +11 -0
- package/dist/components/smoothly-display-demo-json.js +8 -0
- package/dist/components/smoothly-display-demo-json.js.map +1 -0
- 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.d.ts +11 -0
- package/dist/components/smoothly-form-demo-all.js +8 -0
- package/dist/components/smoothly-form-demo-all.js.map +1 -0
- package/dist/components/smoothly-form-demo-card.d.ts +11 -0
- package/dist/components/smoothly-form-demo-card.js +8 -0
- package/dist/components/smoothly-form-demo-card.js.map +1 -0
- package/dist/components/smoothly-form-demo-controlled.d.ts +11 -0
- package/dist/components/smoothly-form-demo-controlled.js +8 -0
- package/dist/components/smoothly-form-demo-controlled.js.map +1 -0
- package/dist/components/smoothly-form-demo-date-range.d.ts +11 -0
- package/dist/components/smoothly-form-demo-date-range.js +8 -0
- package/dist/components/smoothly-form-demo-date-range.js.map +1 -0
- package/dist/components/smoothly-form-demo-date.d.ts +11 -0
- package/dist/components/smoothly-form-demo-date.js +8 -0
- package/dist/components/smoothly-form-demo-date.js.map +1 -0
- package/dist/components/smoothly-form-demo-login.d.ts +11 -0
- package/dist/components/smoothly-form-demo-login.js +8 -0
- package/dist/components/smoothly-form-demo-login.js.map +1 -0
- package/dist/components/smoothly-form-demo-pet.d.ts +11 -0
- package/dist/components/smoothly-form-demo-pet.js +8 -0
- package/dist/components/smoothly-form-demo-pet.js.map +1 -0
- package/dist/components/smoothly-form-demo-prices.d.ts +11 -0
- package/dist/components/smoothly-form-demo-prices.js +8 -0
- package/dist/components/smoothly-form-demo-prices.js.map +1 -0
- package/dist/components/smoothly-form-demo-transparent.d.ts +11 -0
- package/dist/components/smoothly-form-demo-transparent.js +8 -0
- package/dist/components/smoothly-form-demo-transparent.js.map +1 -0
- 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.d.ts +11 -0
- package/dist/components/smoothly-input-checkbox-demo.js +201 -0
- package/dist/components/smoothly-input-checkbox-demo.js.map +1 -0
- 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.d.ts +11 -0
- package/dist/components/smoothly-input-demo-standard.js +8 -0
- package/dist/components/smoothly-input-demo-standard.js.map +1 -0
- 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.d.ts +11 -0
- package/dist/components/smoothly-input-price-demo.js +8 -0
- package/dist/components/smoothly-input-price-demo.js.map +1 -0
- 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-next-demo-colspan.js +1 -1
- package/dist/components/smoothly-next-demo-group.js +1 -1
- package/dist/components/smoothly-next-demo-nested-inner.js +1 -1
- package/dist/components/smoothly-next-demo-nested.js +1 -1
- package/dist/components/smoothly-next-demo-simple.js +1 -1
- package/dist/components/smoothly-next-demo.js +1 -1
- package/dist/components/smoothly-next-table-body.js +1 -1
- package/dist/components/smoothly-next-table-cell.js +1 -1
- package/dist/components/smoothly-next-table-demo-filtered.js +1 -1
- package/dist/components/smoothly-next-table-expandable-cell.js +1 -1
- package/dist/components/smoothly-next-table-expandable-row.js +1 -1
- package/dist/components/smoothly-next-table-foot.js +1 -1
- package/dist/components/smoothly-next-table-head.js +1 -1
- package/dist/components/smoothly-next-table-row-group.js +1 -1
- package/dist/components/smoothly-next-table-row.js +1 -1
- package/dist/components/smoothly-next-table.js +1 -1
- package/dist/components/smoothly-notification.js +1 -1
- package/dist/components/smoothly-notifier.js +1 -1
- package/dist/components/smoothly-picker-demo.js +18 -16
- package/dist/components/smoothly-picker-demo.js.map +1 -1
- package/dist/components/smoothly-picker-menu.js +1 -1
- package/dist/components/smoothly-picker-option.js +1 -1
- package/dist/components/smoothly-picker.js +1 -1
- package/dist/components/smoothly-slot-elements.js +1 -1
- package/dist/components/smoothly-slotted-elements.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-variant.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 +5 -3
- package/dist/components/smoothly-trigger-sink.js.map +1 -1
- package/dist/components/smoothly-trigger-source.js +5 -3
- package/dist/components/smoothly-trigger-source.js.map +1 -1
- package/dist/components/smoothly-trigger.js +1 -1
- package/dist/esm/Scrollable-72afca83.js +1332 -0
- package/dist/esm/Scrollable-72afca83.js.map +1 -0
- package/dist/esm/{TimeZone-dd862c8d.js → TimeZone-7b25e3f9.js} +2 -258
- package/dist/esm/TimeZone-7b25e3f9.js.map +1 -0
- package/dist/esm/en-bacb390d.js +261 -0
- package/dist/esm/en-bacb390d.js.map +1 -0
- package/dist/esm/{index-478eef6a.js → index-95786f7d.js} +10 -4
- package/dist/esm/index-95786f7d.js.map +1 -0
- package/dist/esm/index-f19abc0b.js +1024 -0
- package/dist/esm/index-f19abc0b.js.map +1 -0
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{smoothly-app_96.entry.js → smoothly-app_107.entry.js} +1225 -2221
- package/dist/esm/smoothly-app_107.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js +3 -3
- package/dist/esm/smoothly-checkbox.entry.js.map +1 -1
- package/dist/esm/smoothly-color.entry.js +2 -2
- package/dist/esm/smoothly-country.entry.js +4 -3
- package/dist/esm/smoothly-country.entry.js.map +1 -1
- package/dist/esm/smoothly-input-checkbox-demo.entry.js +15 -0
- package/dist/esm/smoothly-input-checkbox-demo.entry.js.map +1 -0
- package/dist/esm/smoothly-picker-demo.entry.js +5 -4
- package/dist/esm/smoothly-picker-demo.entry.js.map +1 -1
- package/dist/esm/smoothly-picker-menu_3.entry.js +3 -3
- package/dist/esm/smoothly-picker-menu_3.entry.js.map +1 -1
- package/dist/esm/smoothly-picker.entry.js +26 -11
- package/dist/esm/smoothly-picker.entry.js.map +1 -1
- package/dist/esm/smoothly-slotted-elements.entry.js +2 -2
- package/dist/esm/smoothly-trigger-sink.entry.js +4 -3
- package/dist/esm/smoothly-trigger-sink.entry.js.map +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +4 -3
- package/dist/esm/smoothly-trigger-source.entry.js.map +1 -1
- package/dist/esm/smoothly.js +3 -3
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/index.esm.js.map +1 -1
- package/dist/smoothly/p-05e38ae2.js +2 -0
- package/dist/smoothly/p-05e38ae2.js.map +1 -0
- package/dist/smoothly/p-05ed11ef.entry.js +2 -0
- package/dist/smoothly/{p-8b2a89db.entry.js.map → p-05ed11ef.entry.js.map} +1 -1
- package/dist/smoothly/{p-442b39bb.entry.js → p-06f4201d.entry.js} +2 -2
- package/dist/smoothly/p-06f4201d.entry.js.map +1 -0
- package/dist/smoothly/p-1aae518f.js +2 -0
- package/dist/smoothly/p-1aae518f.js.map +1 -0
- package/dist/smoothly/p-1ac24004.entry.js +2 -0
- package/dist/smoothly/{p-46548ee6.entry.js.map → p-1ac24004.entry.js.map} +1 -1
- package/dist/smoothly/{p-b09d923d.entry.js → p-1e3eed3c.entry.js} +2 -2
- package/dist/smoothly/p-34a051bf.js +2 -0
- package/dist/smoothly/p-34a051bf.js.map +1 -0
- package/dist/smoothly/p-3b940908.entry.js +2 -0
- package/dist/smoothly/p-3b940908.entry.js.map +1 -0
- package/dist/smoothly/p-758d1aa7.js +3 -0
- package/dist/smoothly/p-758d1aa7.js.map +1 -0
- package/dist/smoothly/p-76c4e6c8.entry.js +2 -0
- package/dist/smoothly/p-76c4e6c8.entry.js.map +1 -0
- package/dist/smoothly/p-9388e37c.entry.js +2 -0
- package/dist/smoothly/{p-7e067da0.entry.js.map → p-9388e37c.entry.js.map} +1 -1
- package/dist/smoothly/{p-26af0443.entry.js → p-96cbb8dc.entry.js} +2 -2
- package/dist/smoothly/{p-4bfb25d0.entry.js → p-9d57b540.entry.js} +2 -2
- package/dist/smoothly/{p-4bfb25d0.entry.js.map → p-9d57b540.entry.js.map} +1 -1
- package/dist/smoothly/p-a1250db8.entry.js +2 -0
- package/dist/smoothly/{p-6fbaa605.entry.js.map → p-a1250db8.entry.js.map} +1 -1
- package/dist/smoothly/p-cf245e8a.js +2 -0
- package/dist/smoothly/p-cf245e8a.js.map +1 -0
- package/dist/smoothly/p-ee108069.entry.js +2 -0
- package/dist/smoothly/p-ee108069.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/back-to-top/index.d.ts +2 -0
- package/dist/types/components/confirm/index.d.ts +2 -2
- package/dist/types/components/display/demo/json/index.d.ts +3 -0
- package/dist/types/components/display/index.d.ts +2 -0
- package/dist/types/components/display/json/JsonValue.d.ts +1 -0
- package/dist/types/components/display/json/index.d.ts +1 -0
- package/dist/types/components/display/json/object/index.d.ts +1 -0
- package/dist/types/components/filter/Filter.d.ts +3 -4
- package/dist/types/components/filter/select/index.d.ts +6 -4
- package/dist/types/components/form/demo/all/index.d.ts +4 -0
- package/dist/types/components/form/demo/card/index.d.ts +4 -0
- package/dist/types/components/{input/demo/controlled-form → form/demo/controlled}/index.d.ts +1 -1
- package/dist/types/components/form/demo/date/index.d.ts +8 -0
- package/dist/types/components/form/demo/date-range/index.d.ts +8 -0
- package/dist/types/components/form/demo/login/index.d.ts +4 -0
- package/dist/types/components/form/demo/pet/index.d.ts +19 -0
- package/dist/types/components/form/demo/prices/index.d.ts +4 -0
- package/dist/types/components/form/demo/transparent/index.d.ts +4 -0
- package/dist/types/components/form/demo/typed/Contact.d.ts +1 -2
- package/dist/types/components/form/index.d.ts +3 -2
- package/dist/types/components/icon/demo/index.d.ts +14 -1
- package/dist/types/components/input/Action.d.ts +13 -0
- package/dist/types/components/input/Adjacent.d.ts +3 -0
- package/dist/types/components/input/Editable.d.ts +4 -5
- package/dist/types/components/input/Input.d.ts +14 -8
- package/dist/types/components/input/Looks.d.ts +1 -1
- package/dist/types/components/input/checkbox/demo/index.d.ts +4 -0
- package/dist/types/components/input/checkbox/index.d.ts +13 -5
- package/dist/types/components/input/clear/index.d.ts +2 -1
- package/dist/types/components/input/color/index.d.ts +13 -5
- package/dist/types/components/input/date/index.d.ts +9 -3
- package/dist/types/components/input/date/range/index.d.ts +9 -3
- package/dist/types/components/input/demo/index.d.ts +1 -0
- package/dist/types/components/input/demo/price/index.d.ts +7 -0
- package/dist/types/components/input/demo/standard/index.d.ts +22 -0
- package/dist/types/components/input/edit/index.d.ts +3 -2
- package/dist/types/components/input/file/index.d.ts +11 -5
- package/dist/types/components/input/index.d.ts +22 -25
- package/dist/types/components/input/month/index.d.ts +11 -5
- package/dist/types/components/input/radio/Selected.d.ts +2 -3
- package/dist/types/components/input/radio/index.d.ts +12 -4
- package/dist/types/components/input/radio/item/index.d.ts +1 -1
- package/dist/types/components/input/range/index.d.ts +10 -4
- package/dist/types/components/input/reset/index.d.ts +2 -1
- package/dist/types/components/input/select/index.d.ts +10 -4
- package/dist/types/components/input/submit/index.d.ts +2 -2
- package/dist/types/components/item/Item.d.ts +4 -5
- package/dist/types/components/item/index.d.ts +2 -1
- package/dist/types/components/label/index.d.ts +2 -2
- package/dist/types/components/load-more/index.d.ts +9 -4
- package/dist/types/components/next/table/expandable/cell/index.d.ts +2 -1
- package/dist/types/components/next/table/expandable/row/index.d.ts +3 -1
- package/dist/types/components/next/table/head/index.d.ts +6 -0
- package/dist/types/components/next/table/index.d.ts +2 -0
- package/dist/types/components/next/table/row/index.d.ts +1 -1
- package/dist/types/components/picker/index.d.ts +10 -5
- package/dist/types/components/picker/menu/index.d.ts +1 -1
- package/dist/types/components/submit/index.d.ts +2 -1
- package/dist/types/components/summary/index.d.ts +3 -1
- package/dist/types/components/tabs/demo/index.d.ts +1 -1
- package/dist/types/components/tabs/index.d.ts +3 -1
- package/dist/types/components/tabs/tab/index.d.ts +7 -4
- package/dist/types/components.d.ts +384 -109
- package/dist/types/model/Color/HSL.d.ts +10 -0
- package/dist/types/model/Color/Hex.d.ts +7 -0
- package/dist/types/model/Color/RGB.d.ts +12 -0
- package/dist/types/model/{Color.d.ts → Color/index.d.ts} +7 -1
- package/dist/types/model/Data.d.ts +2 -1
- package/dist/types/model/Icon.d.ts +9 -2
- package/dist/types/model/Scrollable.d.ts +4 -0
- package/dist/types/model/Submit.d.ts +3 -3
- package/dist/types/model/getLocale.d.ts +2 -0
- package/dist/types/model/index.d.ts +2 -0
- package/dist/types/smoothly.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/Submit-a58ac294.js.map +0 -1
- package/dist/cjs/TimeZone-814b03bd.js.map +0 -1
- package/dist/cjs/index-04271bdc.js.map +0 -1
- package/dist/cjs/smoothly-app_96.cjs.entry.js.map +0 -1
- package/dist/collection/components/input/color/color.js +0 -112
- package/dist/collection/components/input/color/color.js.map +0 -1
- package/dist/collection/components/input/demo/controlled-form/index.js +0 -62
- package/dist/collection/components/input/demo/controlled-form/index.js.map +0 -1
- package/dist/collection/components/input/demo/controlled-form/style.css +0 -7
- package/dist/collection/components/load-more/style.css +0 -5
- package/dist/collection/model/Color.js.map +0 -1
- package/dist/components/p-00878a2e.js.map +0 -1
- package/dist/components/p-07766517.js.map +0 -1
- package/dist/components/p-092714f3.js +0 -75
- package/dist/components/p-092714f3.js.map +0 -1
- package/dist/components/p-095bf2a8.js.map +0 -1
- package/dist/components/p-0ab4c2a3.js.map +0 -1
- package/dist/components/p-0bbdda27.js.map +0 -1
- package/dist/components/p-0eb878c8.js.map +0 -1
- package/dist/components/p-12f9ef19.js.map +0 -1
- package/dist/components/p-2054f7e0.js.map +0 -1
- package/dist/components/p-20cb1af7.js +0 -513
- package/dist/components/p-20cb1af7.js.map +0 -1
- package/dist/components/p-2eeadec8.js.map +0 -1
- package/dist/components/p-314daed5.js.map +0 -1
- package/dist/components/p-3850f200.js.map +0 -1
- package/dist/components/p-3c883164.js.map +0 -1
- package/dist/components/p-3ff1915c.js.map +0 -1
- package/dist/components/p-411f4d4e.js +0 -79
- package/dist/components/p-411f4d4e.js.map +0 -1
- package/dist/components/p-41b69852.js +0 -138
- package/dist/components/p-41b69852.js.map +0 -1
- package/dist/components/p-420381e8.js.map +0 -1
- package/dist/components/p-454d2da3.js.map +0 -1
- package/dist/components/p-467d65e7.js.map +0 -1
- package/dist/components/p-4ae90e60.js +0 -33
- package/dist/components/p-4ae90e60.js.map +0 -1
- package/dist/components/p-4b8d7f98.js.map +0 -1
- package/dist/components/p-4e118d30.js.map +0 -1
- package/dist/components/p-50333315.js.map +0 -1
- package/dist/components/p-53277e5e.js +0 -247
- package/dist/components/p-53277e5e.js.map +0 -1
- package/dist/components/p-5590b9b9.js.map +0 -1
- package/dist/components/p-560062c6.js +0 -351
- package/dist/components/p-560062c6.js.map +0 -1
- package/dist/components/p-5ab5a176.js.map +0 -1
- package/dist/components/p-5e35b3cf.js +0 -146
- package/dist/components/p-5e35b3cf.js.map +0 -1
- package/dist/components/p-6d89283c.js +0 -56
- package/dist/components/p-6d89283c.js.map +0 -1
- package/dist/components/p-6edee8d6.js.map +0 -1
- package/dist/components/p-81a37592.js.map +0 -1
- package/dist/components/p-842a91d2.js +0 -190
- package/dist/components/p-842a91d2.js.map +0 -1
- package/dist/components/p-90fbea6a.js.map +0 -1
- package/dist/components/p-92cdb433.js.map +0 -1
- package/dist/components/p-94573542.js.map +0 -1
- package/dist/components/p-99440081.js.map +0 -1
- package/dist/components/p-9c680806.js.map +0 -1
- package/dist/components/p-a70198ee.js.map +0 -1
- package/dist/components/p-ac7ea4c9.js +0 -179
- package/dist/components/p-ac7ea4c9.js.map +0 -1
- package/dist/components/p-b0b49900.js +0 -15
- package/dist/components/p-b0b49900.js.map +0 -1
- package/dist/components/p-b5d32dbe.js +0 -123
- package/dist/components/p-b711ddca.js +0 -187
- package/dist/components/p-b711ddca.js.map +0 -1
- package/dist/components/p-b7312e96.js +0 -364
- package/dist/components/p-b7312e96.js.map +0 -1
- package/dist/components/p-ba1b4f8d.js.map +0 -1
- package/dist/components/p-bbb27c1d.js +0 -99
- package/dist/components/p-bbb27c1d.js.map +0 -1
- package/dist/components/p-ce8bbb99.js.map +0 -1
- package/dist/components/p-d3d0b34e.js.map +0 -1
- package/dist/components/p-d5d54376.js +0 -105
- package/dist/components/p-d5d54376.js.map +0 -1
- package/dist/components/p-d6e3ee3d.js.map +0 -1
- package/dist/components/p-d909ddc1.js.map +0 -1
- package/dist/components/p-dceb77ef.js +0 -353
- package/dist/components/p-dceb77ef.js.map +0 -1
- package/dist/components/p-e28db418.js +0 -207
- package/dist/components/p-e989d63f.js.map +0 -1
- package/dist/components/p-ef0f881a.js.map +0 -1
- package/dist/components/p-f1557f3a.js +0 -168
- package/dist/components/p-f1557f3a.js.map +0 -1
- package/dist/components/p-f1d5f533.js +0 -53
- package/dist/components/p-f1d5f533.js.map +0 -1
- package/dist/components/p-f2aaa99e.js +0 -45
- package/dist/components/p-f3b6629c.js +0 -117
- package/dist/components/p-f3b6629c.js.map +0 -1
- package/dist/components/smoothly-input-demo-controlled-form.d.ts +0 -11
- package/dist/components/smoothly-input-demo-controlled-form.js +0 -8
- package/dist/components/smoothly-input-demo-controlled-form.js.map +0 -1
- package/dist/esm/Submit-ba47a6e9.js +0 -623
- package/dist/esm/Submit-ba47a6e9.js.map +0 -1
- package/dist/esm/TimeZone-dd862c8d.js.map +0 -1
- package/dist/esm/index-478eef6a.js.map +0 -1
- package/dist/esm/smoothly-app_96.entry.js.map +0 -1
- package/dist/smoothly/p-10e27f88.entry.js +0 -2
- package/dist/smoothly/p-10e27f88.entry.js.map +0 -1
- package/dist/smoothly/p-2fcbd4d4.entry.js +0 -2
- package/dist/smoothly/p-2fcbd4d4.entry.js.map +0 -1
- package/dist/smoothly/p-442b39bb.entry.js.map +0 -1
- package/dist/smoothly/p-46548ee6.entry.js +0 -2
- package/dist/smoothly/p-6fbaa605.entry.js +0 -2
- package/dist/smoothly/p-7e067da0.entry.js +0 -2
- package/dist/smoothly/p-8b2a89db.entry.js +0 -2
- package/dist/smoothly/p-9fb9b457.js +0 -2
- package/dist/smoothly/p-9fb9b457.js.map +0 -1
- package/dist/smoothly/p-f27dd6d5.js +0 -3
- package/dist/smoothly/p-f27dd6d5.js.map +0 -1
- package/dist/smoothly/p-f56563d8.js +0 -2
- package/dist/smoothly/p-f56563d8.js.map +0 -1
- package/dist/types/components/input/color/color.d.ts +0 -14
- /package/dist/smoothly/{p-b09d923d.entry.js.map → p-1e3eed3c.entry.js.map} +0 -0
- /package/dist/smoothly/{p-26af0443.entry.js.map → p-96cbb8dc.entry.js.map} +0 -0
|
@@ -19,13 +19,6 @@ class Type {
|
|
|
19
19
|
constructor(_name, _condition) {
|
|
20
20
|
this._name = _name;
|
|
21
21
|
this._condition = _condition;
|
|
22
|
-
/**
|
|
23
|
-
* Return the value if the value is valid for the type, otherwise undefined.
|
|
24
|
-
* For objects, unknown properties are filtered.
|
|
25
|
-
*
|
|
26
|
-
* Eg: isly.number().value(NaN) returns undefined
|
|
27
|
-
*/
|
|
28
|
-
this.get = value => (this.is(value) ? this.getValue(value) : undefined);
|
|
29
22
|
/**
|
|
30
23
|
* Return a flaw object, describing the flaws of the value compared to expected type.
|
|
31
24
|
*
|
|
@@ -33,7 +26,7 @@ class Type {
|
|
|
33
26
|
*
|
|
34
27
|
* Implemented as a closure.
|
|
35
28
|
*/
|
|
36
|
-
this.flaw = value => {
|
|
29
|
+
this.flaw = (value) => {
|
|
37
30
|
return this.is(value)
|
|
38
31
|
? {
|
|
39
32
|
type: this.name,
|
|
@@ -48,6 +41,15 @@ class Type {
|
|
|
48
41
|
};
|
|
49
42
|
};
|
|
50
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
|
+
}
|
|
51
53
|
getValue(value) {
|
|
52
54
|
return value;
|
|
53
55
|
}
|
|
@@ -71,7 +73,8 @@ class IslyOptional extends Type {
|
|
|
71
73
|
constructor(backend) {
|
|
72
74
|
super(() => backend.name + " | undefined", backend.condition);
|
|
73
75
|
this.backend = backend;
|
|
74
|
-
this.
|
|
76
|
+
this.class = "optional";
|
|
77
|
+
this.is = (value) => value == undefined || this.backend.is(value);
|
|
75
78
|
}
|
|
76
79
|
createFlaw(value) {
|
|
77
80
|
return this.createFlawFromType(this.backend, value);
|
|
@@ -81,7 +84,8 @@ class IslyReadonly extends Type {
|
|
|
81
84
|
constructor(backend) {
|
|
82
85
|
super(() => `Readonly<${backend.name}>`, backend.condition);
|
|
83
86
|
this.backend = backend;
|
|
84
|
-
this.
|
|
87
|
+
this.class = "readonly";
|
|
88
|
+
this.is = (value) => value == undefined || this.backend.is(value);
|
|
85
89
|
}
|
|
86
90
|
createFlaw(value) {
|
|
87
91
|
return this.createFlawFromType(this.backend, value);
|
|
@@ -109,9 +113,10 @@ class IslyArray extends Type {
|
|
|
109
113
|
super(() => this.baseName() + "[]", options.length > 0 ? options.map(c => criteriaFunctions$1[c.criteria].condition(c.value)).join(" & ") : undefined);
|
|
110
114
|
this.itemType = itemType;
|
|
111
115
|
this.options = options;
|
|
112
|
-
this.
|
|
116
|
+
this.class = "array";
|
|
117
|
+
this.is = (value) => globalThis.Array.isArray(value) &&
|
|
113
118
|
this.options.every(option => criteriaFunctions$1[option.criteria].is(value, option.value)) &&
|
|
114
|
-
value.every(item => this.itemType.is(item))
|
|
119
|
+
value.every(item => this.itemType.is(item));
|
|
115
120
|
}
|
|
116
121
|
baseName() {
|
|
117
122
|
return this.itemType.name.includes(" ") ? `(${this.itemType.name})` : this.itemType.name;
|
|
@@ -135,28 +140,18 @@ class IslyArray extends Type {
|
|
|
135
140
|
}
|
|
136
141
|
}
|
|
137
142
|
|
|
143
|
+
function boolean(booleanValue) {
|
|
144
|
+
return new IslyBoolean(booleanValue);
|
|
145
|
+
}
|
|
138
146
|
class IslyBoolean extends Type {
|
|
139
147
|
constructor(booleanValue) {
|
|
140
148
|
super(booleanValue == undefined ? "boolean" : booleanValue ? "true" : "false");
|
|
141
149
|
this.booleanValue = booleanValue;
|
|
142
|
-
this.
|
|
150
|
+
this.class = "boolean";
|
|
151
|
+
this.is = (value) => typeof value == "boolean" && (this.booleanValue == undefined || value == this.booleanValue);
|
|
143
152
|
}
|
|
144
153
|
}
|
|
145
|
-
function boolean(booleanValue) {
|
|
146
|
-
return new IslyBoolean(booleanValue);
|
|
147
|
-
}
|
|
148
154
|
|
|
149
|
-
class IslyLazy extends Type {
|
|
150
|
-
constructor(factory, name) {
|
|
151
|
-
super(name ?? (() => (this.backend ??= factory()).name), () => (this.backend ??= factory()).condition);
|
|
152
|
-
this.factory = factory;
|
|
153
|
-
this.is = (value => (this.backend ??= this.factory()).is(value));
|
|
154
|
-
this.get = value => this.backend.get(value);
|
|
155
|
-
}
|
|
156
|
-
createFlaw(value) {
|
|
157
|
-
return this.createFlawFromType((this.backend ??= this.factory()), value);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
155
|
/**
|
|
161
156
|
* Late evaluation of a type
|
|
162
157
|
* Can be used for for recursive types.
|
|
@@ -168,30 +163,51 @@ class IslyLazy extends Type {
|
|
|
168
163
|
function lazy(factory, name) {
|
|
169
164
|
return new IslyLazy(factory, name);
|
|
170
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
|
+
}
|
|
171
183
|
|
|
184
|
+
function object(properties, name) {
|
|
185
|
+
return new IslyObject(properties ?? {}, name);
|
|
186
|
+
}
|
|
172
187
|
class IslyObject extends Type {
|
|
173
|
-
constructor(
|
|
188
|
+
constructor(properties, name, baseType) {
|
|
174
189
|
super(() => name ??
|
|
175
190
|
(this.baseType ? `${this.baseType.name} & ` : "") +
|
|
176
191
|
`{${globalThis.Object.entries(this.properties)
|
|
177
192
|
.map(([property, type]) => `${property}: ${type.name}`)
|
|
178
193
|
.join(", ")}}`);
|
|
179
|
-
this.baseType = baseType;
|
|
180
194
|
this.properties = properties;
|
|
181
|
-
this.
|
|
195
|
+
this.baseType = baseType;
|
|
196
|
+
this.class = "object";
|
|
197
|
+
this.is = (value) => !!(value &&
|
|
182
198
|
(this.baseType == undefined || this.baseType.is(value)) &&
|
|
183
199
|
typeof value == "object" &&
|
|
184
200
|
!globalThis.Array.isArray(value) &&
|
|
185
|
-
globalThis.Object.entries(this.properties).every(([property, type]) => type.is(value[property])))
|
|
201
|
+
globalThis.Object.entries(this.properties).every(([property, type]) => type.is(value[property])));
|
|
186
202
|
}
|
|
187
203
|
extend(properties, name) {
|
|
188
|
-
return new IslyObject(
|
|
204
|
+
return new IslyObject(properties, name, this);
|
|
189
205
|
}
|
|
190
206
|
omit(omits, name) {
|
|
191
|
-
return new IslyObject(
|
|
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));
|
|
192
208
|
}
|
|
193
209
|
pick(picks, name) {
|
|
194
|
-
return new IslyObject(
|
|
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));
|
|
195
211
|
}
|
|
196
212
|
createFlaw(value) {
|
|
197
213
|
return {
|
|
@@ -217,11 +233,14 @@ class IslyObject extends Type {
|
|
|
217
233
|
result[key] = type.get(value[key]);
|
|
218
234
|
return result;
|
|
219
235
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
236
|
+
getProperties() {
|
|
237
|
+
return { ...this.baseType?.getProperties(), ...this.properties };
|
|
238
|
+
}
|
|
223
239
|
}
|
|
224
240
|
|
|
241
|
+
function string(condition) {
|
|
242
|
+
return new IslyString(condition);
|
|
243
|
+
}
|
|
225
244
|
class IslyString extends Type {
|
|
226
245
|
constructor(stringCondition) {
|
|
227
246
|
super(typeof stringCondition == "string" ? `"${stringCondition}"` : "string", () => {
|
|
@@ -233,7 +252,8 @@ class IslyString extends Type {
|
|
|
233
252
|
.join(" | ");
|
|
234
253
|
});
|
|
235
254
|
this.stringCondition = stringCondition;
|
|
236
|
-
this.
|
|
255
|
+
this.class = "string";
|
|
256
|
+
this.is = (value) => {
|
|
237
257
|
const conditionObject = this.getConditionObject();
|
|
238
258
|
return (typeof value == "string" &&
|
|
239
259
|
(conditionObject instanceof RegExp
|
|
@@ -241,7 +261,7 @@ class IslyString extends Type {
|
|
|
241
261
|
: typeof conditionObject == "object"
|
|
242
262
|
? value in conditionObject //TODO, avoid "hasOwnProperty toString etc."
|
|
243
263
|
: conditionObject));
|
|
244
|
-
}
|
|
264
|
+
};
|
|
245
265
|
}
|
|
246
266
|
getConditionObject() {
|
|
247
267
|
return (this.conditionObject ??= Array.isArray(this.stringCondition)
|
|
@@ -256,9 +276,6 @@ class IslyString extends Type {
|
|
|
256
276
|
: true);
|
|
257
277
|
}
|
|
258
278
|
}
|
|
259
|
-
function string(condition) {
|
|
260
|
-
return new IslyString(condition);
|
|
261
|
-
}
|
|
262
279
|
|
|
263
280
|
var Flaw;
|
|
264
281
|
(function (Flaw) {
|
|
@@ -274,28 +291,30 @@ var Flaw;
|
|
|
274
291
|
Flaw.flaw = Flaw.type.flaw;
|
|
275
292
|
})(Flaw || (Flaw = {}));
|
|
276
293
|
|
|
294
|
+
function fromIs(name, is) {
|
|
295
|
+
return new IslyFromIs(name, is);
|
|
296
|
+
}
|
|
277
297
|
class IslyFromIs extends Type {
|
|
278
298
|
constructor(name, isFunction) {
|
|
279
299
|
super(name);
|
|
280
300
|
this.isFunction = isFunction;
|
|
281
|
-
this.
|
|
301
|
+
this.class = "fromIs";
|
|
302
|
+
this.is = (value) => this.isFunction(value);
|
|
282
303
|
}
|
|
283
304
|
}
|
|
284
|
-
function fromIs(name, is) {
|
|
285
|
-
return new IslyFromIs(name, is);
|
|
286
|
-
}
|
|
287
305
|
|
|
306
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
307
|
+
function islyFunction() {
|
|
308
|
+
return new IslyFunction();
|
|
309
|
+
}
|
|
288
310
|
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
289
311
|
class IslyFunction extends Type {
|
|
290
312
|
constructor() {
|
|
291
313
|
super("function");
|
|
292
|
-
this.
|
|
314
|
+
this.class = "function";
|
|
315
|
+
this.is = (value) => !!(value && typeof value == "function");
|
|
293
316
|
}
|
|
294
317
|
}
|
|
295
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
296
|
-
function islyFunction() {
|
|
297
|
-
return new IslyFunction();
|
|
298
|
-
}
|
|
299
318
|
|
|
300
319
|
const criteriaFunctions = {
|
|
301
320
|
positive: {
|
|
@@ -311,6 +330,17 @@ const criteriaFunctions = {
|
|
|
311
330
|
condition: "Number.isInteger",
|
|
312
331
|
},
|
|
313
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
|
+
}
|
|
314
344
|
function fromCriteria(criteria) {
|
|
315
345
|
return /* Eg: criteria == 42 */ typeof criteria == "number"
|
|
316
346
|
? [value => value == criteria, " == " + criteria.toString()]
|
|
@@ -339,32 +369,26 @@ class IslyNumber extends Type {
|
|
|
339
369
|
constructor(isFunction, condition) {
|
|
340
370
|
super("number", condition);
|
|
341
371
|
this.isFunction = isFunction;
|
|
342
|
-
this.
|
|
372
|
+
this.class = "number";
|
|
373
|
+
this.is = (value) => typeof value == "number" &&
|
|
343
374
|
!Number.isNaN(value - value) && // NaN-NaN==NaN && Infinity-Infinity==NaN && (-Infinity)-(-Infinity)==NaN
|
|
344
|
-
(!this.isFunction || this.isFunction(value))
|
|
375
|
+
(!this.isFunction || this.isFunction(value));
|
|
345
376
|
}
|
|
346
377
|
}
|
|
347
|
-
/**
|
|
348
|
-
* NaN, Infinite and -Infinite is not considered to be numbers by this type,
|
|
349
|
-
* since that it is hardly ever desirable when validating input data.
|
|
350
|
-
*
|
|
351
|
-
* @param criteria
|
|
352
|
-
* @returns
|
|
353
|
-
*/
|
|
354
|
-
function number(criteria) {
|
|
355
|
-
const [isFunction, condition] = criteria == undefined ? [undefined, undefined] : fromCriteria(criteria);
|
|
356
|
-
return new IslyNumber(isFunction, condition);
|
|
357
|
-
}
|
|
358
378
|
|
|
379
|
+
function record(keyType, valueType) {
|
|
380
|
+
return new IslyRecord(keyType, valueType);
|
|
381
|
+
}
|
|
359
382
|
class IslyRecord extends Type {
|
|
360
383
|
constructor(keyType, valueType) {
|
|
361
384
|
super(() => `Record<${keyType.name}, ${valueType.name}>`);
|
|
362
385
|
this.keyType = keyType;
|
|
363
386
|
this.valueType = valueType;
|
|
364
|
-
this.
|
|
387
|
+
this.class = "record";
|
|
388
|
+
this.is = (value) => !!(value &&
|
|
365
389
|
typeof value == "object" &&
|
|
366
390
|
!globalThis.Array.isArray(value) &&
|
|
367
|
-
globalThis.Object.entries(value).every(([key, value]) => this.keyType.is(this.keyType.name == "number" && `${+key}` == key ? +key : key) && this.valueType.is(value)))
|
|
391
|
+
globalThis.Object.entries(value).every(([key, value]) => this.keyType.is(this.keyType.name == "number" && `${+key}` == key ? +key : key) && this.valueType.is(value)));
|
|
368
392
|
}
|
|
369
393
|
createFlaw(value) {
|
|
370
394
|
return {
|
|
@@ -383,14 +407,15 @@ class IslyRecord extends Type {
|
|
|
383
407
|
return globalThis.Object.fromEntries(globalThis.Object.entries(value).map(([key, value]) => [key, this.valueType.get(value)]));
|
|
384
408
|
}
|
|
385
409
|
}
|
|
386
|
-
function record(keyType, valueType) {
|
|
387
|
-
return new IslyRecord(keyType, valueType);
|
|
388
|
-
}
|
|
389
410
|
|
|
411
|
+
function union(...types) {
|
|
412
|
+
return new IslyUnion(...types);
|
|
413
|
+
}
|
|
390
414
|
class IslyUnion extends Type {
|
|
391
415
|
constructor(...types) {
|
|
392
416
|
super(() => types.map(type => type.name).join(" | "));
|
|
393
|
-
this.
|
|
417
|
+
this.class = "union";
|
|
418
|
+
this.is = (value) => this.types.some(type => type.is(value));
|
|
394
419
|
this.types = types;
|
|
395
420
|
}
|
|
396
421
|
createFlaw(value) {
|
|
@@ -402,22 +427,161 @@ class IslyUnion extends Type {
|
|
|
402
427
|
return this.types.find(type => type.is(value))?.get(value);
|
|
403
428
|
}
|
|
404
429
|
}
|
|
405
|
-
function union(...types) {
|
|
406
|
-
return new IslyUnion(...types);
|
|
407
|
-
}
|
|
408
430
|
|
|
431
|
+
function islyUndefined(name) {
|
|
432
|
+
return new IslyUndefined(name ?? "undefined");
|
|
433
|
+
}
|
|
409
434
|
class IslyUndefined extends Type {
|
|
410
435
|
constructor() {
|
|
411
436
|
super(...arguments);
|
|
412
|
-
this.
|
|
437
|
+
this.class = "undefined";
|
|
438
|
+
this.is = (value) => value === undefined;
|
|
413
439
|
}
|
|
414
440
|
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
441
|
+
|
|
442
|
+
var Hex;
|
|
443
|
+
(function (Hex) {
|
|
444
|
+
Hex.type = string(new RegExp(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i));
|
|
445
|
+
function toRGB(hex) {
|
|
446
|
+
hex = hex.replace(/^#/, "");
|
|
447
|
+
if (hex.length === 3) {
|
|
448
|
+
hex = hex
|
|
449
|
+
.split("")
|
|
450
|
+
.map(char => char + char)
|
|
451
|
+
.join("");
|
|
452
|
+
}
|
|
453
|
+
const bigint = parseInt(hex, 16);
|
|
454
|
+
const r = (bigint >> 16) & 255;
|
|
455
|
+
const g = (bigint >> 8) & 255;
|
|
456
|
+
const b = bigint & 255;
|
|
457
|
+
return { r, g, b };
|
|
458
|
+
}
|
|
459
|
+
Hex.toRGB = toRGB;
|
|
460
|
+
})(Hex || (Hex = {}));
|
|
461
|
+
|
|
462
|
+
var HSL;
|
|
463
|
+
(function (HSL) {
|
|
464
|
+
HSL.type = object({
|
|
465
|
+
h: number().optional(),
|
|
466
|
+
s: number().optional(),
|
|
467
|
+
l: number().optional(),
|
|
468
|
+
});
|
|
469
|
+
function toRGB({ h, s, l }) {
|
|
470
|
+
let r = 0;
|
|
471
|
+
let g = 0;
|
|
472
|
+
let b = 0;
|
|
473
|
+
if (h !== undefined && s !== undefined && l !== undefined) {
|
|
474
|
+
s /= 100;
|
|
475
|
+
l /= 100;
|
|
476
|
+
const c = (1 - Math.abs(2 * l - 1)) * s;
|
|
477
|
+
const x = c * (1 - Math.abs(((h / 60) % 2) - 1));
|
|
478
|
+
const m = l - c / 2;
|
|
479
|
+
if (0 <= h && h < 60) {
|
|
480
|
+
r = c;
|
|
481
|
+
g = x;
|
|
482
|
+
b = 0;
|
|
483
|
+
}
|
|
484
|
+
else if (60 <= h && h < 120) {
|
|
485
|
+
r = x;
|
|
486
|
+
g = c;
|
|
487
|
+
b = 0;
|
|
488
|
+
}
|
|
489
|
+
else if (120 <= h && h < 180) {
|
|
490
|
+
r = 0;
|
|
491
|
+
g = c;
|
|
492
|
+
b = x;
|
|
493
|
+
}
|
|
494
|
+
else if (180 <= h && h < 240) {
|
|
495
|
+
r = 0;
|
|
496
|
+
g = x;
|
|
497
|
+
b = c;
|
|
498
|
+
}
|
|
499
|
+
else if (240 <= h && h < 300) {
|
|
500
|
+
r = x;
|
|
501
|
+
g = 0;
|
|
502
|
+
b = c;
|
|
503
|
+
}
|
|
504
|
+
else if (300 <= h && h < 360) {
|
|
505
|
+
r = c;
|
|
506
|
+
g = 0;
|
|
507
|
+
b = x;
|
|
508
|
+
}
|
|
509
|
+
r = (r + m) * 255;
|
|
510
|
+
g = (g + m) * 255;
|
|
511
|
+
b = (b + m) * 255;
|
|
512
|
+
}
|
|
513
|
+
return { r, g, b };
|
|
514
|
+
}
|
|
515
|
+
HSL.toRGB = toRGB;
|
|
516
|
+
})(HSL || (HSL = {}));
|
|
517
|
+
|
|
518
|
+
exports.RGB = void 0;
|
|
519
|
+
(function (RGB) {
|
|
520
|
+
RGB.type = object({
|
|
521
|
+
r: number().optional(),
|
|
522
|
+
g: number().optional(),
|
|
523
|
+
b: number().optional(),
|
|
524
|
+
});
|
|
525
|
+
function toHex(rgb) {
|
|
526
|
+
let hex = "";
|
|
527
|
+
for (const component of Object.values(rgb)) {
|
|
528
|
+
if (component === 0) {
|
|
529
|
+
hex += "00";
|
|
530
|
+
}
|
|
531
|
+
else if (component && component >= 0 && component <= 255) {
|
|
532
|
+
const temp = Math.round(component).toString(16);
|
|
533
|
+
hex += temp.length === 1 ? "0" + temp : temp;
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
const hexPairs = [hex.slice(0, 2), hex.slice(2, 4), hex.slice(4, 6)];
|
|
537
|
+
hexPairs.every(pair => pair[0] === pair[1]) && (hex = hexPairs.map(pair => pair[0]).join(""));
|
|
538
|
+
return "#" + hex;
|
|
539
|
+
}
|
|
540
|
+
RGB.toHex = toHex;
|
|
541
|
+
function toHSL({ r, g, b }) {
|
|
542
|
+
let h, s, l;
|
|
543
|
+
if (r !== undefined && g !== undefined && b !== undefined) {
|
|
544
|
+
r /= 255;
|
|
545
|
+
g /= 255;
|
|
546
|
+
b /= 255;
|
|
547
|
+
const max = Math.max(r, g, b);
|
|
548
|
+
const min = Math.min(r, g, b);
|
|
549
|
+
l = (max + min) / 2;
|
|
550
|
+
if (max === min) {
|
|
551
|
+
h = s = 0;
|
|
552
|
+
}
|
|
553
|
+
else {
|
|
554
|
+
const d = max - min;
|
|
555
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
556
|
+
switch (max) {
|
|
557
|
+
case r:
|
|
558
|
+
h = (g - b) / d + (g < b ? 6 : 0);
|
|
559
|
+
break;
|
|
560
|
+
case g:
|
|
561
|
+
h = (b - r) / d + 2;
|
|
562
|
+
break;
|
|
563
|
+
case b:
|
|
564
|
+
h = (r - g) / d + 4;
|
|
565
|
+
break;
|
|
566
|
+
default:
|
|
567
|
+
h = 0;
|
|
568
|
+
}
|
|
569
|
+
h /= 6;
|
|
570
|
+
}
|
|
571
|
+
h = h * 360;
|
|
572
|
+
s = s * 100;
|
|
573
|
+
l = l * 100;
|
|
574
|
+
}
|
|
575
|
+
return { h, s, l };
|
|
576
|
+
}
|
|
577
|
+
RGB.toHSL = toHSL;
|
|
578
|
+
})(exports.RGB || (exports.RGB = {}));
|
|
418
579
|
|
|
419
580
|
exports.Color = void 0;
|
|
420
581
|
(function (Color) {
|
|
582
|
+
Color.Hex = Hex;
|
|
583
|
+
Color.HSL = HSL;
|
|
584
|
+
Color.RGB = exports.RGB;
|
|
421
585
|
Color.types = [
|
|
422
586
|
"default",
|
|
423
587
|
"primary",
|
|
@@ -455,6 +619,514 @@ exports.Icon = void 0;
|
|
|
455
619
|
names[n] = url;
|
|
456
620
|
}
|
|
457
621
|
Icon.add = add;
|
|
622
|
+
(function (Name) {
|
|
623
|
+
Name.values = [
|
|
624
|
+
"accessibility",
|
|
625
|
+
"add-circle",
|
|
626
|
+
"add",
|
|
627
|
+
"airplane",
|
|
628
|
+
"alarm",
|
|
629
|
+
"albums",
|
|
630
|
+
"alert-circle",
|
|
631
|
+
"alert",
|
|
632
|
+
"american-football",
|
|
633
|
+
"analytics",
|
|
634
|
+
"aperture",
|
|
635
|
+
"apps",
|
|
636
|
+
"archive",
|
|
637
|
+
"arrow-back-circle",
|
|
638
|
+
"arrow-back",
|
|
639
|
+
"arrow-down-circle",
|
|
640
|
+
"arrow-down",
|
|
641
|
+
"arrow-forward-circle",
|
|
642
|
+
"arrow-forward",
|
|
643
|
+
"arrow-redo-circle",
|
|
644
|
+
"arrow-redo",
|
|
645
|
+
"arrow-undo-circle",
|
|
646
|
+
"arrow-undo",
|
|
647
|
+
"arrow-up-circle",
|
|
648
|
+
"arrow-up",
|
|
649
|
+
"at-circle",
|
|
650
|
+
"at",
|
|
651
|
+
"attach",
|
|
652
|
+
"backspace",
|
|
653
|
+
"bag",
|
|
654
|
+
"bag-add",
|
|
655
|
+
"bag-check",
|
|
656
|
+
"bag-handle",
|
|
657
|
+
"balloon",
|
|
658
|
+
"ban",
|
|
659
|
+
"bandage",
|
|
660
|
+
"barbell",
|
|
661
|
+
"bar-chart",
|
|
662
|
+
"barcode",
|
|
663
|
+
"baseball",
|
|
664
|
+
"basketball",
|
|
665
|
+
"basket",
|
|
666
|
+
"battery-charging",
|
|
667
|
+
"battery-dead",
|
|
668
|
+
"battery-full",
|
|
669
|
+
"battery-half",
|
|
670
|
+
"beaker",
|
|
671
|
+
"bed",
|
|
672
|
+
"beer",
|
|
673
|
+
"bicycle",
|
|
674
|
+
"bluetooth",
|
|
675
|
+
"boat",
|
|
676
|
+
"body",
|
|
677
|
+
"bonfire",
|
|
678
|
+
"bowling-ball",
|
|
679
|
+
"bookmarks",
|
|
680
|
+
"bookmark",
|
|
681
|
+
"book",
|
|
682
|
+
"briefcase",
|
|
683
|
+
"browsers",
|
|
684
|
+
"brush",
|
|
685
|
+
"bug",
|
|
686
|
+
"build",
|
|
687
|
+
"bulb",
|
|
688
|
+
"business",
|
|
689
|
+
"bus",
|
|
690
|
+
"cafe",
|
|
691
|
+
"calculator",
|
|
692
|
+
"calendar",
|
|
693
|
+
"calendar-clear",
|
|
694
|
+
"calendar-number",
|
|
695
|
+
"call",
|
|
696
|
+
"camera-reverse",
|
|
697
|
+
"camera",
|
|
698
|
+
"card",
|
|
699
|
+
"caret-back-circle",
|
|
700
|
+
"caret-back",
|
|
701
|
+
"caret-down-circle",
|
|
702
|
+
"caret-down",
|
|
703
|
+
"caret-forward-circle",
|
|
704
|
+
"caret-forward",
|
|
705
|
+
"caret-up-circle",
|
|
706
|
+
"caret-up",
|
|
707
|
+
"car-sport",
|
|
708
|
+
"car",
|
|
709
|
+
"cart",
|
|
710
|
+
"cash",
|
|
711
|
+
"cellular",
|
|
712
|
+
"chatbox-ellipses",
|
|
713
|
+
"chatbox",
|
|
714
|
+
"chatbubble-ellipses",
|
|
715
|
+
"chatbubbles",
|
|
716
|
+
"chatbubble",
|
|
717
|
+
"checkbox",
|
|
718
|
+
"checkmark-circle",
|
|
719
|
+
"checkmark-done-circle",
|
|
720
|
+
"checkmark-done",
|
|
721
|
+
"checkmark",
|
|
722
|
+
"chevron-back-circle",
|
|
723
|
+
"chevron-back",
|
|
724
|
+
"chevron-down-circle",
|
|
725
|
+
"chevron-down",
|
|
726
|
+
"chevron-forward-circle",
|
|
727
|
+
"chevron-forward",
|
|
728
|
+
"chevron-up-circle",
|
|
729
|
+
"chevron-up",
|
|
730
|
+
"clipboard",
|
|
731
|
+
"close-circle",
|
|
732
|
+
"close",
|
|
733
|
+
"cloud-circle",
|
|
734
|
+
"cloud-done",
|
|
735
|
+
"cloud-download",
|
|
736
|
+
"cloud-offline",
|
|
737
|
+
"cloud",
|
|
738
|
+
"cloud-upload",
|
|
739
|
+
"cloudy-night",
|
|
740
|
+
"cloudy",
|
|
741
|
+
"code-download",
|
|
742
|
+
"code-slash",
|
|
743
|
+
"code",
|
|
744
|
+
"code-working",
|
|
745
|
+
"cog",
|
|
746
|
+
"color-fill",
|
|
747
|
+
"color-filter",
|
|
748
|
+
"color-palette",
|
|
749
|
+
"color-wand",
|
|
750
|
+
"compass",
|
|
751
|
+
"construct",
|
|
752
|
+
"contract",
|
|
753
|
+
"contrast",
|
|
754
|
+
"copy",
|
|
755
|
+
"create",
|
|
756
|
+
"crop",
|
|
757
|
+
"cube",
|
|
758
|
+
"cut",
|
|
759
|
+
"desktop",
|
|
760
|
+
"diamond",
|
|
761
|
+
"dice",
|
|
762
|
+
"disc",
|
|
763
|
+
"document-attach",
|
|
764
|
+
"document-lock",
|
|
765
|
+
"documents",
|
|
766
|
+
"document",
|
|
767
|
+
"document-text",
|
|
768
|
+
"download",
|
|
769
|
+
"duplicate",
|
|
770
|
+
"ear",
|
|
771
|
+
"earth",
|
|
772
|
+
"easel",
|
|
773
|
+
"egg",
|
|
774
|
+
"ellipse",
|
|
775
|
+
"ellipsis-horizontal-circle",
|
|
776
|
+
"ellipsis-horizontal",
|
|
777
|
+
"ellipsis-vertical-circle",
|
|
778
|
+
"ellipsis-vertical",
|
|
779
|
+
"enter",
|
|
780
|
+
"exit",
|
|
781
|
+
"expand",
|
|
782
|
+
"eyedrop",
|
|
783
|
+
"eye-off",
|
|
784
|
+
"eye",
|
|
785
|
+
"fast-food",
|
|
786
|
+
"female",
|
|
787
|
+
"file-tray-full",
|
|
788
|
+
"file-tray-stacked",
|
|
789
|
+
"file-tray",
|
|
790
|
+
"film",
|
|
791
|
+
"filter",
|
|
792
|
+
"filter-circle",
|
|
793
|
+
"finger-print",
|
|
794
|
+
"fish",
|
|
795
|
+
"fitness",
|
|
796
|
+
"flag",
|
|
797
|
+
"flame",
|
|
798
|
+
"flashlight",
|
|
799
|
+
"flash-off",
|
|
800
|
+
"flash",
|
|
801
|
+
"flask",
|
|
802
|
+
"flower",
|
|
803
|
+
"folder-open",
|
|
804
|
+
"folder",
|
|
805
|
+
"football",
|
|
806
|
+
"footsteps",
|
|
807
|
+
"funnel",
|
|
808
|
+
"game-controller",
|
|
809
|
+
"gift",
|
|
810
|
+
"git-branch",
|
|
811
|
+
"git-commit",
|
|
812
|
+
"git-compare",
|
|
813
|
+
"git-merge",
|
|
814
|
+
"git-network",
|
|
815
|
+
"git-pull-request",
|
|
816
|
+
"glasses",
|
|
817
|
+
"globe",
|
|
818
|
+
"golf",
|
|
819
|
+
"grid",
|
|
820
|
+
"hammer",
|
|
821
|
+
"hand-left",
|
|
822
|
+
"hand-right",
|
|
823
|
+
"happy",
|
|
824
|
+
"hardware-chip",
|
|
825
|
+
"headset",
|
|
826
|
+
"heart-circle",
|
|
827
|
+
"heart-dislike-circle",
|
|
828
|
+
"heart-dislike",
|
|
829
|
+
"heart-half",
|
|
830
|
+
"heart",
|
|
831
|
+
"help-buoy",
|
|
832
|
+
"help-circle",
|
|
833
|
+
"help",
|
|
834
|
+
"home",
|
|
835
|
+
"hourglass",
|
|
836
|
+
"ice-cream",
|
|
837
|
+
"id-card",
|
|
838
|
+
"images",
|
|
839
|
+
"image",
|
|
840
|
+
"infinite",
|
|
841
|
+
"information-circle",
|
|
842
|
+
"information",
|
|
843
|
+
"journal",
|
|
844
|
+
"invert-mode",
|
|
845
|
+
"keypad",
|
|
846
|
+
"key",
|
|
847
|
+
"language",
|
|
848
|
+
"laptop",
|
|
849
|
+
"layers",
|
|
850
|
+
"leaf",
|
|
851
|
+
"library",
|
|
852
|
+
"link",
|
|
853
|
+
"list-circle",
|
|
854
|
+
"list",
|
|
855
|
+
"locate",
|
|
856
|
+
"location",
|
|
857
|
+
"lock-closed",
|
|
858
|
+
"lock-open",
|
|
859
|
+
"log-in",
|
|
860
|
+
"log-out",
|
|
861
|
+
"magnet",
|
|
862
|
+
"mail-open",
|
|
863
|
+
"mail",
|
|
864
|
+
"mail-unread",
|
|
865
|
+
"male-female",
|
|
866
|
+
"male",
|
|
867
|
+
"man",
|
|
868
|
+
"map",
|
|
869
|
+
"medal",
|
|
870
|
+
"medical",
|
|
871
|
+
"medkit",
|
|
872
|
+
"megaphone",
|
|
873
|
+
"menu",
|
|
874
|
+
"mic-circle",
|
|
875
|
+
"mic-off-circle",
|
|
876
|
+
"mic-off",
|
|
877
|
+
"mic",
|
|
878
|
+
"moon",
|
|
879
|
+
"move",
|
|
880
|
+
"musical-notes",
|
|
881
|
+
"musical-note",
|
|
882
|
+
"navigate-circle",
|
|
883
|
+
"navigate",
|
|
884
|
+
"newspaper",
|
|
885
|
+
"notifications-circle",
|
|
886
|
+
"notifications-off-circle",
|
|
887
|
+
"notifications-off",
|
|
888
|
+
"notifications",
|
|
889
|
+
"nuclear",
|
|
890
|
+
"nutrition",
|
|
891
|
+
"open",
|
|
892
|
+
"options",
|
|
893
|
+
"paper-plane",
|
|
894
|
+
"partly-sunny",
|
|
895
|
+
"pause-circle",
|
|
896
|
+
"pause",
|
|
897
|
+
"paw",
|
|
898
|
+
"pencil",
|
|
899
|
+
"people-circle",
|
|
900
|
+
"people",
|
|
901
|
+
"person-add",
|
|
902
|
+
"person-circle",
|
|
903
|
+
"person-remove",
|
|
904
|
+
"person",
|
|
905
|
+
"phone-landscape",
|
|
906
|
+
"phone-portrait",
|
|
907
|
+
"pie-chart",
|
|
908
|
+
"pin",
|
|
909
|
+
"pint",
|
|
910
|
+
"pizza",
|
|
911
|
+
"planet",
|
|
912
|
+
"play-back-circle",
|
|
913
|
+
"play-back",
|
|
914
|
+
"play-circle",
|
|
915
|
+
"play-forward-circle",
|
|
916
|
+
"play-forward",
|
|
917
|
+
"play-skip-back-circle",
|
|
918
|
+
"play-skip-back",
|
|
919
|
+
"play-skip-forward-circle",
|
|
920
|
+
"play-skip-forward",
|
|
921
|
+
"play",
|
|
922
|
+
"podium",
|
|
923
|
+
"power",
|
|
924
|
+
"pricetags",
|
|
925
|
+
"prism",
|
|
926
|
+
"pricetag",
|
|
927
|
+
"print",
|
|
928
|
+
"pulse",
|
|
929
|
+
"push",
|
|
930
|
+
"qr-code",
|
|
931
|
+
"radio-button-off",
|
|
932
|
+
"radio-button-on",
|
|
933
|
+
"radio",
|
|
934
|
+
"rainy",
|
|
935
|
+
"reader",
|
|
936
|
+
"receipt",
|
|
937
|
+
"recording",
|
|
938
|
+
"refresh-circle",
|
|
939
|
+
"refresh",
|
|
940
|
+
"reload-circle",
|
|
941
|
+
"reload",
|
|
942
|
+
"remove-circle",
|
|
943
|
+
"remove",
|
|
944
|
+
"reorder-four",
|
|
945
|
+
"reorder-three",
|
|
946
|
+
"reorder-two",
|
|
947
|
+
"repeat",
|
|
948
|
+
"resize",
|
|
949
|
+
"restaurant",
|
|
950
|
+
"return-down-back",
|
|
951
|
+
"return-down-forward",
|
|
952
|
+
"return-up-back",
|
|
953
|
+
"return-up-forward",
|
|
954
|
+
"ribbon",
|
|
955
|
+
"rocket",
|
|
956
|
+
"rose",
|
|
957
|
+
"sad",
|
|
958
|
+
"save",
|
|
959
|
+
"scan-circle",
|
|
960
|
+
"scale",
|
|
961
|
+
"scan",
|
|
962
|
+
"school",
|
|
963
|
+
"search-circle",
|
|
964
|
+
"search",
|
|
965
|
+
"send",
|
|
966
|
+
"server",
|
|
967
|
+
"settings",
|
|
968
|
+
"shapes",
|
|
969
|
+
"share-social",
|
|
970
|
+
"share",
|
|
971
|
+
"shield-checkmark",
|
|
972
|
+
"shield-half",
|
|
973
|
+
"shield",
|
|
974
|
+
"shirt",
|
|
975
|
+
"shuffle",
|
|
976
|
+
"skull",
|
|
977
|
+
"snow",
|
|
978
|
+
"sparkles",
|
|
979
|
+
"speedometer",
|
|
980
|
+
"square",
|
|
981
|
+
"star-half",
|
|
982
|
+
"star",
|
|
983
|
+
"stats-chart",
|
|
984
|
+
"stop-circle",
|
|
985
|
+
"stop",
|
|
986
|
+
"stopwatch",
|
|
987
|
+
"storefront",
|
|
988
|
+
"subway",
|
|
989
|
+
"sunny",
|
|
990
|
+
"swap-horizontal",
|
|
991
|
+
"swap-vertical",
|
|
992
|
+
"sync-circle",
|
|
993
|
+
"sync",
|
|
994
|
+
"tablet-landscape",
|
|
995
|
+
"tablet-portrait",
|
|
996
|
+
"telescope",
|
|
997
|
+
"tennisball",
|
|
998
|
+
"terminal",
|
|
999
|
+
"text",
|
|
1000
|
+
"thermometer",
|
|
1001
|
+
"thumbs-down",
|
|
1002
|
+
"thumbs-up",
|
|
1003
|
+
"thunderstorm",
|
|
1004
|
+
"ticket",
|
|
1005
|
+
"timer",
|
|
1006
|
+
"time",
|
|
1007
|
+
"today",
|
|
1008
|
+
"toggle",
|
|
1009
|
+
"trail-sign",
|
|
1010
|
+
"train",
|
|
1011
|
+
"transgender",
|
|
1012
|
+
"trash-bin",
|
|
1013
|
+
"trash",
|
|
1014
|
+
"trending-down",
|
|
1015
|
+
"trending-up",
|
|
1016
|
+
"triangle",
|
|
1017
|
+
"trophy",
|
|
1018
|
+
"tv",
|
|
1019
|
+
"umbrella",
|
|
1020
|
+
"unlink",
|
|
1021
|
+
"videocam-off",
|
|
1022
|
+
"walk",
|
|
1023
|
+
"wallet",
|
|
1024
|
+
"warning",
|
|
1025
|
+
"watch",
|
|
1026
|
+
"water",
|
|
1027
|
+
"videocam",
|
|
1028
|
+
"wifi",
|
|
1029
|
+
"wine",
|
|
1030
|
+
"volume-high",
|
|
1031
|
+
"volume-low",
|
|
1032
|
+
"volume-medium",
|
|
1033
|
+
"volume-mute",
|
|
1034
|
+
"volume-off",
|
|
1035
|
+
"woman",
|
|
1036
|
+
];
|
|
1037
|
+
})(Icon.Name || (Icon.Name = {}));
|
|
1038
|
+
(function (Logo) {
|
|
1039
|
+
Logo.values = [
|
|
1040
|
+
"logo-alipay",
|
|
1041
|
+
"logo-amazon",
|
|
1042
|
+
"logo-amplify",
|
|
1043
|
+
"logo-android",
|
|
1044
|
+
"logo-angular",
|
|
1045
|
+
"logo-apple-appstore",
|
|
1046
|
+
"logo-apple",
|
|
1047
|
+
"logo-apple-ar",
|
|
1048
|
+
"logo-behance",
|
|
1049
|
+
"logo-bitbucket",
|
|
1050
|
+
"logo-bitcoin",
|
|
1051
|
+
"logo-buffer",
|
|
1052
|
+
"logo-capacitor",
|
|
1053
|
+
"logo-chrome",
|
|
1054
|
+
"logo-closed-captioning",
|
|
1055
|
+
"logo-codepen",
|
|
1056
|
+
"logo-css3",
|
|
1057
|
+
"logo-designernews",
|
|
1058
|
+
"logo-deviantart",
|
|
1059
|
+
"logo-discord",
|
|
1060
|
+
"logo-docker",
|
|
1061
|
+
"logo-dribbble",
|
|
1062
|
+
"logo-dropbox",
|
|
1063
|
+
"logo-edge",
|
|
1064
|
+
"logo-electron",
|
|
1065
|
+
"logo-euro",
|
|
1066
|
+
"logo-facebook",
|
|
1067
|
+
"logo-firebase",
|
|
1068
|
+
"logo-firefox",
|
|
1069
|
+
"logo-flickr",
|
|
1070
|
+
"logo-foursquare",
|
|
1071
|
+
"logo-github",
|
|
1072
|
+
"logo-gitlab",
|
|
1073
|
+
"logo-google-playstore",
|
|
1074
|
+
"logo-google",
|
|
1075
|
+
"logo-hackernews",
|
|
1076
|
+
"logo-html5",
|
|
1077
|
+
"logo-instagram",
|
|
1078
|
+
"logo-ionic",
|
|
1079
|
+
"logo-ionitron",
|
|
1080
|
+
"logo-javascript",
|
|
1081
|
+
"logo-laravel",
|
|
1082
|
+
"logo-linkedin",
|
|
1083
|
+
"logo-markdown",
|
|
1084
|
+
"logo-mastodon",
|
|
1085
|
+
"logo-medium",
|
|
1086
|
+
"logo-microsoft",
|
|
1087
|
+
"logo-nodejs",
|
|
1088
|
+
"logo-no-smoking",
|
|
1089
|
+
"logo-npm",
|
|
1090
|
+
"logo-octocat",
|
|
1091
|
+
"logo-paypal",
|
|
1092
|
+
"logo-pinterest",
|
|
1093
|
+
"logo-playstation",
|
|
1094
|
+
"logo-pwa",
|
|
1095
|
+
"logo-python",
|
|
1096
|
+
"logo-react",
|
|
1097
|
+
"logo-reddit",
|
|
1098
|
+
"logo-rss",
|
|
1099
|
+
"logo-sass",
|
|
1100
|
+
"logo-skype",
|
|
1101
|
+
"logo-slack",
|
|
1102
|
+
"logo-snapchat",
|
|
1103
|
+
"logo-soundcloud",
|
|
1104
|
+
"logo-stackoverflow",
|
|
1105
|
+
"logo-steam",
|
|
1106
|
+
"logo-stencil",
|
|
1107
|
+
"logo-tableau",
|
|
1108
|
+
"logo-tiktok",
|
|
1109
|
+
"logo-tumblr",
|
|
1110
|
+
"logo-tux",
|
|
1111
|
+
"logo-twitch",
|
|
1112
|
+
"logo-twitter",
|
|
1113
|
+
"logo-usd",
|
|
1114
|
+
"logo-web-component",
|
|
1115
|
+
"logo-venmo",
|
|
1116
|
+
"logo-whatsapp",
|
|
1117
|
+
"logo-vercel",
|
|
1118
|
+
"logo-vimeo",
|
|
1119
|
+
"logo-windows",
|
|
1120
|
+
"logo-vk",
|
|
1121
|
+
"logo-wordpress",
|
|
1122
|
+
"logo-vue",
|
|
1123
|
+
"logo-xbox",
|
|
1124
|
+
"logo-xing",
|
|
1125
|
+
"logo-yahoo",
|
|
1126
|
+
"logo-yen",
|
|
1127
|
+
"logo-youtube",
|
|
1128
|
+
];
|
|
1129
|
+
})(Icon.Logo || (Icon.Logo = {}));
|
|
458
1130
|
})(exports.Icon || (exports.Icon = {}));
|
|
459
1131
|
|
|
460
1132
|
exports.Message = void 0;
|
|
@@ -589,7 +1261,7 @@ exports.Data = void 0;
|
|
|
589
1261
|
}
|
|
590
1262
|
Data.deepen = deepen;
|
|
591
1263
|
function isArrayRecord(d) {
|
|
592
|
-
return object().is(d) &&
|
|
1264
|
+
return (object().is(d) && (keys => !!keys.length && keys.every(k => parseInt(k).toString() == k))(Object.keys(d)));
|
|
593
1265
|
}
|
|
594
1266
|
function convertArrays(data) {
|
|
595
1267
|
return isArrayRecord(data)
|
|
@@ -597,7 +1269,7 @@ exports.Data = void 0;
|
|
|
597
1269
|
arr[k] = convertArrays(v);
|
|
598
1270
|
return arr;
|
|
599
1271
|
}, [])
|
|
600
|
-
: object().is(data)
|
|
1272
|
+
: object().is(data) && !(data instanceof Blob || data instanceof File)
|
|
601
1273
|
? Object.fromEntries(Object.entries(data).map(([k, v]) => [k, convertArrays(v)]))
|
|
602
1274
|
: data;
|
|
603
1275
|
}
|
|
@@ -606,6 +1278,26 @@ exports.Data = void 0;
|
|
|
606
1278
|
return Object.entries(changes).reduce((r, [name, value]) => set(r, name.split("."), value), data);
|
|
607
1279
|
}
|
|
608
1280
|
Data.merge = merge;
|
|
1281
|
+
function remove(data, name) {
|
|
1282
|
+
const keys = name.split(".");
|
|
1283
|
+
removeKey(data, keys);
|
|
1284
|
+
return data;
|
|
1285
|
+
}
|
|
1286
|
+
Data.remove = remove;
|
|
1287
|
+
function removeKey(current, [head, ...tail]) {
|
|
1288
|
+
if (tail.length === 0) {
|
|
1289
|
+
if (typeof current === "object" && head in current)
|
|
1290
|
+
delete current[head];
|
|
1291
|
+
}
|
|
1292
|
+
else if (typeof current === "object" && head in current) {
|
|
1293
|
+
removeKey(current[head], tail);
|
|
1294
|
+
if (isEmpty(current[head]))
|
|
1295
|
+
delete current[head];
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
function isEmpty(current) {
|
|
1299
|
+
return typeof current === "object" && Object.keys(current).length === 0;
|
|
1300
|
+
}
|
|
609
1301
|
})(exports.Data || (exports.Data = {}));
|
|
610
1302
|
|
|
611
1303
|
exports.Submit = void 0;
|
|
@@ -620,6 +1312,23 @@ exports.Submit = void 0;
|
|
|
620
1312
|
Submit.flaw = Submit.type.flaw;
|
|
621
1313
|
})(exports.Submit || (exports.Submit = {}));
|
|
622
1314
|
|
|
1315
|
+
exports.Scrollable = void 0;
|
|
1316
|
+
(function (Scrollable) {
|
|
1317
|
+
function is(element) {
|
|
1318
|
+
const overflow = window.getComputedStyle(element).overflowY;
|
|
1319
|
+
return (overflow == "scroll" ||
|
|
1320
|
+
((overflow == "auto" || document.documentElement == element) && element.scrollHeight > element.clientHeight));
|
|
1321
|
+
}
|
|
1322
|
+
Scrollable.is = is;
|
|
1323
|
+
function findParent(element) {
|
|
1324
|
+
let parent = element.parentElement;
|
|
1325
|
+
while (parent && !is(parent))
|
|
1326
|
+
parent = parent.parentElement;
|
|
1327
|
+
return parent && is(parent) ? parent : undefined;
|
|
1328
|
+
}
|
|
1329
|
+
Scrollable.findParent = findParent;
|
|
1330
|
+
})(exports.Scrollable || (exports.Scrollable = {}));
|
|
1331
|
+
|
|
623
1332
|
exports.Listenable = Listenable;
|
|
624
1333
|
exports.Type = Type;
|
|
625
1334
|
exports.boolean = boolean;
|
|
@@ -629,6 +1338,5 @@ exports.number = number;
|
|
|
629
1338
|
exports.object = object;
|
|
630
1339
|
exports.record = record;
|
|
631
1340
|
exports.string = string;
|
|
632
|
-
exports.union = union;
|
|
633
1341
|
|
|
634
|
-
//# sourceMappingURL=
|
|
1342
|
+
//# sourceMappingURL=Scrollable-a60d6091.js.map
|