smoothly 1.0.0-alpha.99 → 1.0.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/Data-50d47740.js +589 -0
- package/dist/cjs/Data-50d47740.js.map +1 -0
- package/dist/cjs/Observers-6450f075.js +25 -0
- package/dist/cjs/Observers-6450f075.js.map +1 -0
- package/dist/cjs/TimeZone-016ac7b0.js +6181 -0
- package/dist/cjs/TimeZone-016ac7b0.js.map +1 -0
- package/dist/cjs/{getLanguage-7e53766b.js → getLanguage-49a534df.js} +1 -5993
- package/dist/cjs/getLanguage-49a534df.js.map +1 -0
- package/dist/cjs/{index-6ae370b4.js → index-43af753b.js} +1 -4
- package/dist/cjs/index-43af753b.js.map +1 -0
- package/dist/cjs/index.cjs.js +3 -14
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/smoothly-accordion-item.cjs.entry.js +61 -0
- package/dist/cjs/smoothly-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-accordion.cjs.entry.js +58 -0
- package/dist/cjs/smoothly-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-address-display.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-address.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-addresses.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-app_80.cjs.entry.js +11148 -0
- package/dist/cjs/smoothly-app_80.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js +102 -0
- package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +56 -55
- package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-display-date-time.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-reorder.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
- package/dist/cjs/smoothly.cjs.js +4 -3
- package/dist/cjs/smoothly.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +24 -7
- package/dist/collection/components/Button.js +16 -2
- package/dist/collection/components/Button.js.map +1 -1
- package/dist/collection/components/app/index.js +53 -1
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +45 -2
- package/dist/collection/components/app/room/index.js.map +1 -1
- package/dist/collection/components/app/room/style.css +23 -9
- package/dist/collection/components/app/style.css +57 -32
- package/dist/collection/components/app-demo/index.js +1 -2
- package/dist/collection/components/app-demo/index.js.map +1 -1
- package/dist/collection/components/burger/index.js +9 -9
- package/dist/collection/components/burger/index.js.map +1 -1
- package/dist/collection/components/button/index.js +9 -22
- package/dist/collection/components/button/index.js.map +1 -1
- package/dist/collection/components/button/style.css +23 -20
- package/dist/collection/components/button-demo/index.js +3 -1
- package/dist/collection/components/button-demo/index.js.map +1 -1
- package/dist/collection/components/button-demo/style.css +1 -0
- 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 +16 -16
- package/dist/collection/components/calendar/index.js.map +1 -1
- package/dist/collection/components/checkbox/index.js +60 -29
- package/dist/collection/components/checkbox/index.js.map +1 -1
- package/dist/collection/components/checkbox/style.css +39 -42
- package/dist/collection/components/confirm/index.js +261 -0
- package/dist/collection/components/confirm/index.js.map +1 -0
- package/dist/collection/components/confirm/style.css +15 -0
- package/dist/collection/components/display/index.js +4 -1
- package/dist/collection/components/display/index.js.map +1 -1
- package/dist/collection/components/display-demo/index.js +16 -1
- package/dist/collection/components/display-demo/index.js.map +1 -1
- package/dist/collection/components/filter/Filter.js +17 -0
- package/dist/collection/components/filter/Filter.js.map +1 -0
- package/dist/collection/components/filter/field/index.js +105 -0
- package/dist/collection/components/filter/field/index.js.map +1 -0
- package/dist/collection/components/filter/field/style.css +4 -0
- package/dist/collection/components/filter/index.js +55 -132
- package/dist/collection/components/filter/index.js.map +1 -1
- package/dist/collection/components/filter/input/index.js +84 -301
- package/dist/collection/components/filter/input/index.js.map +1 -1
- package/dist/collection/components/filter/picker/index.js +229 -0
- package/dist/collection/components/filter/picker/index.js.map +1 -0
- package/dist/collection/components/filter/picker/style.css +8 -0
- package/dist/collection/components/filter/style.css +56 -71
- package/dist/collection/components/filter/toggle/index.js +248 -0
- package/dist/collection/components/filter/toggle/index.js.map +1 -0
- package/dist/collection/components/filter/toggle/style.css +8 -0
- package/dist/collection/components/form/index.js +234 -66
- package/dist/collection/components/form/index.js.map +1 -1
- package/dist/collection/components/form/style.css +3 -1
- package/dist/collection/components/icon/index.js +60 -32
- package/dist/collection/components/icon/index.js.map +1 -1
- package/dist/collection/components/icon/style.css +15 -0
- package/dist/collection/components/icon-demo/index.js +3 -1
- package/dist/collection/components/icon-demo/index.js.map +1 -1
- package/dist/collection/components/icon-demo/style.css +5 -6
- package/dist/collection/components/input/Editable.js +19 -0
- package/dist/collection/components/input/Editable.js.map +1 -0
- package/dist/collection/components/input/Input.js +22 -1
- package/dist/collection/components/input/Input.js.map +1 -1
- package/dist/collection/components/input/Looks.js +7 -1
- package/dist/collection/components/input/Looks.js.map +1 -1
- package/dist/collection/components/input/Submittable.js.map +1 -1
- package/dist/collection/components/input/checkbox/index.js +382 -0
- package/dist/collection/components/input/checkbox/index.js.map +1 -0
- package/dist/collection/components/input/checkbox/style.css +75 -0
- package/dist/collection/components/input/clear/index.js +12 -7
- package/dist/collection/components/input/clear/index.js.map +1 -1
- package/dist/collection/components/input/clear/style.css +23 -20
- package/dist/collection/components/input/color/index.js +226 -0
- package/dist/collection/components/input/color/index.js.map +1 -0
- package/dist/collection/components/input/color/style.css +15 -0
- package/dist/collection/components/input/date/index.js +8 -8
- package/dist/collection/components/input/date/index.js.map +1 -1
- package/dist/collection/components/input/date/range/index.js +13 -17
- package/dist/collection/components/input/date/range/index.js.map +1 -1
- package/dist/collection/components/input/date/range/style.css +25 -0
- package/dist/collection/components/input/date/style.css +25 -0
- package/dist/collection/components/input/demo/index.js +28 -72
- package/dist/collection/components/input/demo/index.js.map +1 -1
- package/dist/collection/components/input/demo/style.css +15 -0
- package/dist/collection/components/input/edit/index.js +249 -0
- package/dist/collection/components/input/edit/index.js.map +1 -0
- package/dist/collection/components/input/edit/style.css +238 -0
- package/dist/collection/components/input/file/index.js +3 -3
- package/dist/collection/components/input/file/index.js.map +1 -1
- package/dist/collection/components/input/file/style.css +22 -0
- package/dist/collection/components/input/index.js +245 -110
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/collection/components/input/month/index.js +5 -5
- package/dist/collection/components/input/month/index.js.map +1 -1
- package/dist/collection/components/input/radio/Selected.js +11 -0
- package/dist/collection/components/input/radio/Selected.js.map +1 -0
- package/dist/collection/components/input/radio/index.js +426 -0
- package/dist/collection/components/input/radio/index.js.map +1 -0
- package/dist/collection/components/{radio-button → input/radio/item}/index.js +60 -72
- package/dist/collection/components/input/radio/item/index.js.map +1 -0
- package/dist/collection/components/input/radio/item/style.css +28 -0
- package/dist/collection/components/input/radio/style.css +66 -0
- package/dist/collection/components/input/range/index.js +440 -0
- package/dist/collection/components/input/range/index.js.map +1 -0
- package/dist/collection/components/input/range/style.css +154 -0
- package/dist/collection/components/input/reset/index.js +260 -0
- package/dist/collection/components/input/reset/index.js.map +1 -0
- package/dist/collection/components/input/reset/style.css +255 -0
- package/dist/collection/components/input/select/index.js +443 -95
- package/dist/collection/components/input/select/index.js.map +1 -1
- package/dist/collection/components/input/select/style.css +111 -23
- package/dist/collection/components/input/style.css +24 -2
- package/dist/collection/components/input/submit/index.js +269 -0
- package/dist/collection/components/input/submit/index.js.map +1 -0
- package/dist/collection/components/input/submit/style.css +11 -0
- package/dist/collection/components/item/Item.js +11 -0
- package/dist/collection/components/item/Item.js.map +1 -0
- package/dist/collection/components/item/index.js +69 -29
- package/dist/collection/components/item/index.js.map +1 -1
- package/dist/collection/components/item/style.css +1 -3
- package/dist/collection/components/label/index.js +81 -0
- package/dist/collection/components/label/index.js.map +1 -0
- package/dist/collection/components/label/style.css +15 -0
- package/dist/collection/components/lazy/index.js +73 -0
- package/dist/collection/components/lazy/index.js.map +1 -0
- package/dist/collection/components/{radio → load-more}/index.js +35 -46
- package/dist/collection/components/load-more/index.js.map +1 -0
- package/dist/collection/components/load-more/style.css +5 -0
- package/dist/collection/components/notification/index.js.map +1 -1
- package/dist/collection/components/picker/demo/index.js +17 -15
- package/dist/collection/components/picker/demo/index.js.map +1 -1
- package/dist/collection/components/picker/demo/style.css +24 -1
- package/dist/collection/components/picker/index.js +172 -7
- package/dist/collection/components/picker/index.js.map +1 -1
- package/dist/collection/components/picker/menu/index.js +74 -3
- package/dist/collection/components/picker/menu/index.js.map +1 -1
- package/dist/collection/components/picker/menu/style.css +16 -6
- package/dist/collection/components/picker/option/index.js +51 -3
- package/dist/collection/components/picker/option/index.js.map +1 -1
- package/dist/collection/components/picker/option/style.css +9 -4
- package/dist/collection/components/picker/style.css +28 -3
- package/dist/collection/components/popup/index.js +5 -5
- package/dist/collection/components/popup/index.js.map +1 -1
- package/dist/collection/components/popup/style.css +4 -4
- package/dist/collection/components/submit/index.js +0 -15
- package/dist/collection/components/submit/index.js.map +1 -1
- package/dist/collection/components/submit/style.css +23 -20
- package/dist/collection/components/summary/index.js +2 -3
- package/dist/collection/components/summary/index.js.map +1 -1
- package/dist/collection/components/summary/style.css +25 -16
- package/dist/collection/components/table/cell/style.css +3 -3
- package/dist/collection/components/table/demo/filtered/Root.js.map +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +30 -15
- package/dist/collection/components/table/demo/filtered/index.js.map +1 -1
- package/dist/collection/components/table/demo/filtered/style.css +9 -0
- package/dist/collection/components/table/demo/index.js +2 -14
- package/dist/collection/components/table/demo/index.js.map +1 -1
- package/dist/collection/components/table/demo/style.css +5 -0
- package/dist/collection/components/table/demo/testing/data.js.map +1 -0
- package/dist/collection/components/table/demo/testing/index.js +28 -0
- package/dist/collection/components/table/demo/testing/index.js.map +1 -0
- package/dist/collection/components/table/demo/testing/style.css +32 -0
- package/dist/collection/components/table/expandable/cell/index.js +1 -20
- package/dist/collection/components/table/expandable/cell/index.js.map +1 -1
- package/dist/collection/components/table/expandable/cell/style.css +13 -13
- package/dist/collection/components/table/expandable/row/index.js +1 -20
- package/dist/collection/components/table/expandable/row/index.js.map +1 -1
- package/dist/collection/components/table/expandable/row/style.css +11 -11
- package/dist/collection/components/table/footer/index.js +19 -0
- package/dist/collection/components/table/footer/index.js.map +1 -0
- package/dist/collection/components/table/footer/style.css +10 -0
- package/dist/collection/components/table/header/style.css +2 -3
- package/dist/collection/components/table/index.js +24 -1
- package/dist/collection/components/table/index.js.map +1 -1
- package/dist/collection/components/theme/color/index.js +48 -0
- package/dist/collection/components/theme/color/index.js.map +1 -0
- package/dist/collection/components/theme/color/style.css +8 -0
- package/dist/collection/components/theme/color/variant/index.js +66 -0
- package/dist/collection/components/theme/color/variant/index.js.map +1 -0
- package/dist/collection/components/theme/color/variant/style.css +18 -0
- package/dist/collection/components/theme/colors/index.js +30 -0
- package/dist/collection/components/theme/colors/index.js.map +1 -0
- package/dist/collection/components/theme/colors/style.css +7 -0
- package/dist/collection/components/theme/picker/index.js +48 -0
- package/dist/collection/components/theme/picker/index.js.map +1 -0
- package/dist/collection/components/theme/picker/style.css +0 -0
- package/dist/collection/components/toggle-switch/index.js +69 -17
- package/dist/collection/components/toggle-switch/index.js.map +1 -1
- package/dist/collection/components/toggle-switch/style.css +19 -12
- package/dist/collection/global/Observers.js +22 -0
- package/dist/collection/global/Observers.js.map +1 -0
- package/dist/collection/global/index.js +5 -0
- package/dist/collection/global/index.js.map +1 -0
- package/dist/collection/model/Color.js +18 -1
- package/dist/collection/model/Color.js.map +1 -1
- package/dist/collection/model/Data.js +8 -1
- package/dist/collection/model/Data.js.map +1 -1
- package/dist/collection/model/Icon.js +23 -0
- package/dist/collection/model/Icon.js.map +1 -0
- package/dist/collection/model/Listenable.js +16 -3
- package/dist/collection/model/Listenable.js.map +1 -1
- package/dist/collection/model/Option.js.map +1 -1
- package/dist/collection/model/index.js +2 -1
- 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/custom-elements/index.d.ts +120 -24
- package/dist/custom-elements/index.js +15445 -33845
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/Data-c8093b5a.js +579 -0
- package/dist/esm/Data-c8093b5a.js.map +1 -0
- package/dist/esm/Observers-5f08e828.js +25 -0
- package/dist/esm/Observers-5f08e828.js.map +1 -0
- package/dist/esm/TimeZone-c8df4905.js +6181 -0
- package/dist/esm/TimeZone-c8df4905.js.map +1 -0
- package/dist/esm/{getLanguage-9c833eef.js → getLanguage-1e9ec036.js} +2 -5994
- package/dist/esm/getLanguage-1e9ec036.js.map +1 -0
- package/dist/esm/{index-c196715a.js → index-258984d3.js} +2 -4
- package/dist/esm/index-258984d3.js.map +1 -0
- package/dist/esm/index.js +3 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +5 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/smoothly-accordion-item.entry.js +57 -0
- package/dist/esm/smoothly-accordion-item.entry.js.map +1 -0
- package/dist/esm/smoothly-accordion.entry.js +54 -0
- package/dist/esm/smoothly-accordion.entry.js.map +1 -0
- package/dist/esm/smoothly-address-display.entry.js +1 -1
- package/dist/esm/smoothly-address.entry.js +1 -1
- package/dist/esm/smoothly-addresses.entry.js +1 -1
- package/dist/esm/smoothly-app_80.entry.js +11065 -0
- package/dist/esm/smoothly-app_80.entry.js.map +1 -0
- package/dist/esm/smoothly-checkbox.entry.js +98 -0
- package/dist/esm/smoothly-checkbox.entry.js.map +1 -0
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +10 -9
- package/dist/esm/smoothly-country.entry.js.map +1 -1
- package/dist/esm/smoothly-display-date-time.entry.js +1 -1
- package/dist/esm/smoothly-google-font.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +2 -2
- package/dist/esm/smoothly-reorder.entry.js.map +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
- package/dist/esm/smoothly-trigger-source.entry.js +2 -2
- package/dist/esm/smoothly.js +5 -4
- package/dist/esm/smoothly.js.map +1 -1
- package/dist/smoothly/index.esm.js +1 -1
- package/dist/smoothly/index.esm.js.map +1 -1
- package/dist/smoothly/{p-663ccbd0.entry.js → p-12182a73.entry.js} +2 -2
- package/dist/smoothly/p-21905b32.entry.js +2 -0
- package/dist/smoothly/p-21905b32.entry.js.map +1 -0
- package/dist/smoothly/p-2e986022.js +2 -0
- package/dist/smoothly/p-2e986022.js.map +1 -0
- package/dist/smoothly/p-303520d1.entry.js +2 -0
- package/dist/smoothly/p-303520d1.entry.js.map +1 -0
- package/dist/smoothly/p-312ef066.js +2 -0
- package/dist/smoothly/p-312ef066.js.map +1 -0
- package/dist/smoothly/{p-9992c8c4.entry.js → p-47151a53.entry.js} +2 -2
- package/dist/smoothly/{p-d0b8061e.js → p-5e387578.js} +3 -3
- package/dist/smoothly/p-5e387578.js.map +1 -0
- package/dist/smoothly/{p-b82ef190.entry.js → p-635c813e.entry.js} +2 -2
- package/dist/smoothly/{p-dbd1afa9.entry.js → p-6aebb818.entry.js} +2 -2
- package/dist/smoothly/p-6e9aca2e.entry.js +2 -0
- package/dist/smoothly/p-6e9aca2e.entry.js.map +1 -0
- package/dist/smoothly/{p-c4ffc15d.entry.js → p-7a69b43f.entry.js} +2 -2
- package/dist/smoothly/{p-4d743f07.entry.js → p-7bf147bf.entry.js} +2 -2
- package/dist/smoothly/p-823e02b0.entry.js +2 -0
- package/dist/smoothly/p-823e02b0.entry.js.map +1 -0
- package/dist/smoothly/p-b3eac6af.entry.js +2 -0
- package/dist/smoothly/{p-4ff439dd.entry.js.map → p-b3eac6af.entry.js.map} +1 -1
- package/dist/smoothly/{p-f96e41aa.entry.js → p-cb493516.entry.js} +2 -2
- package/dist/smoothly/p-ede93d69.js +2 -0
- package/dist/smoothly/p-ede93d69.js.map +1 -0
- package/dist/smoothly/{p-ce4e6f44.entry.js → p-eef1c80b.entry.js} +2 -2
- package/dist/smoothly/p-f125610c.entry.js +2 -0
- package/dist/smoothly/p-f125610c.entry.js.map +1 -0
- package/dist/smoothly/p-fa664317.js +2 -0
- package/dist/smoothly/p-fa664317.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/Button.d.ts +1 -2
- package/dist/types/components/app/index.d.ts +3 -0
- package/dist/types/components/app/room/index.d.ts +4 -2
- package/dist/types/components/app-demo/index.d.ts +1 -0
- package/dist/types/components/burger/index.d.ts +2 -2
- package/dist/types/components/button/index.d.ts +2 -2
- package/dist/types/components/calendar/index.d.ts +5 -5
- package/dist/types/components/checkbox/index.d.ts +4 -2
- package/dist/types/components/confirm/index.d.ts +19 -0
- package/dist/types/components/filter/Filter.d.ts +21 -0
- package/dist/types/components/filter/field/index.d.ts +10 -0
- package/dist/types/components/filter/index.d.ts +13 -12
- package/dist/types/components/filter/input/index.d.ts +17 -23
- package/dist/types/components/filter/picker/index.d.ts +25 -0
- package/dist/types/components/filter/toggle/index.d.ts +22 -0
- package/dist/types/components/form/index.d.ts +22 -15
- package/dist/types/components/icon/index.d.ts +4 -6
- package/dist/types/components/input/Editable.d.ts +21 -0
- package/dist/types/components/input/Input.d.ts +19 -7
- package/dist/types/components/input/Looks.d.ts +7 -1
- package/dist/types/components/input/Submittable.d.ts +1 -1
- package/dist/types/components/input/checkbox/index.d.ts +30 -0
- package/dist/types/components/input/color/index.d.ts +24 -0
- package/dist/types/components/input/date/index.d.ts +1 -1
- package/dist/types/components/input/date/range/index.d.ts +2 -2
- package/dist/types/components/input/demo/index.d.ts +3 -6
- package/dist/types/components/input/edit/index.d.ts +18 -0
- package/dist/types/components/input/index.d.ts +30 -21
- package/dist/types/components/input/month/index.d.ts +1 -1
- package/dist/types/components/input/radio/Selected.d.ts +10 -0
- package/dist/types/components/input/radio/index.d.ts +36 -0
- package/dist/types/components/input/radio/item/index.d.ts +15 -0
- package/dist/types/components/input/range/index.d.ts +33 -0
- package/dist/types/components/input/reset/index.d.ts +19 -0
- package/dist/types/components/input/select/index.d.ts +41 -18
- package/dist/types/components/input/submit/index.d.ts +19 -0
- package/dist/types/components/item/Item.d.ts +10 -0
- package/dist/types/components/item/index.d.ts +8 -5
- package/dist/types/components/label/index.d.ts +6 -0
- package/dist/types/components/lazy/index.d.ts +7 -0
- package/dist/types/components/load-more/index.d.ts +11 -0
- package/dist/types/components/picker/demo/index.d.ts +7 -2
- package/dist/types/components/picker/index.d.ts +20 -6
- package/dist/types/components/picker/menu/index.d.ts +8 -0
- package/dist/types/components/picker/option/index.d.ts +2 -0
- package/dist/types/components/popup/index.d.ts +1 -1
- package/dist/types/components/submit/index.d.ts +0 -1
- package/dist/types/components/table/demo/filtered/Root.d.ts +2 -0
- package/dist/types/components/table/demo/filtered/index.d.ts +6 -6
- package/dist/types/components/table/demo/index.d.ts +1 -1
- package/dist/types/components/table/expandable/cell/index.d.ts +0 -1
- package/dist/types/components/table/expandable/row/index.d.ts +0 -1
- package/dist/types/components/table/footer/index.d.ts +3 -0
- package/dist/types/components/table/index.d.ts +2 -0
- package/dist/types/components/theme/color/index.d.ts +5 -0
- package/dist/types/components/theme/color/variant/index.d.ts +6 -0
- package/dist/types/components/theme/colors/index.d.ts +3 -0
- package/dist/types/components/theme/picker/index.d.ts +4 -0
- package/dist/types/components/toggle-switch/index.d.ts +7 -2
- package/dist/types/components.d.ts +658 -182
- package/dist/types/global/Observers.d.ts +8 -0
- package/dist/types/global/index.d.ts +4 -0
- package/dist/types/model/Color.d.ts +7 -1
- package/dist/types/model/Data.d.ts +4 -0
- package/dist/types/model/Icon.d.ts +8 -0
- package/dist/types/model/Listenable.d.ts +10 -1
- package/dist/types/model/Option.d.ts +2 -0
- package/dist/types/model/index.d.ts +1 -1
- package/dist/types/smoothly.d.ts +1 -1
- package/package.json +7 -11
- package/dist/cjs/Data-afbe461d.js +0 -807
- package/dist/cjs/Data-afbe461d.js.map +0 -1
- package/dist/cjs/getLanguage-7e53766b.js.map +0 -1
- package/dist/cjs/index-6ae370b4.js.map +0 -1
- package/dist/cjs/smoothly-accordion_66.cjs.entry.js +0 -29732
- package/dist/cjs/smoothly-accordion_66.cjs.entry.js.map +0 -1
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +0 -22
- package/dist/cjs/smoothly-radio-group.cjs.entry.js.map +0 -1
- package/dist/collection/components/filter/Clearable.js +0 -8
- package/dist/collection/components/filter/Clearable.js.map +0 -1
- package/dist/collection/components/icon/Icon.js +0 -2
- package/dist/collection/components/icon/Icon.js.map +0 -1
- package/dist/collection/components/input/Changeable.js +0 -8
- package/dist/collection/components/input/Changeable.js.map +0 -1
- package/dist/collection/components/radio/index.js.map +0 -1
- package/dist/collection/components/radio/style.css +0 -31
- package/dist/collection/components/radio-button/Selected.js +0 -2
- package/dist/collection/components/radio-button/Selected.js.map +0 -1
- package/dist/collection/components/radio-button/index.js.map +0 -1
- package/dist/collection/components/radio-button/item/index.js +0 -117
- package/dist/collection/components/radio-button/item/index.js.map +0 -1
- package/dist/collection/components/radio-button/item/style.css +0 -85
- package/dist/collection/components/radio-group/index.js +0 -43
- package/dist/collection/components/radio-group/index.js.map +0 -1
- package/dist/collection/components/radio-group/style.css +0 -36
- package/dist/collection/components/table/testing/data.js.map +0 -1
- package/dist/collection/components/table/testing/index.js +0 -28
- package/dist/collection/components/table/testing/index.js.map +0 -1
- package/dist/collection/components/table/testing/style.css +0 -8
- package/dist/collection/model/ClientIdentifier.js +0 -13
- package/dist/collection/model/ClientIdentifier.js.map +0 -1
- package/dist/esm/Data-77d2bdbe.js +0 -803
- package/dist/esm/Data-77d2bdbe.js.map +0 -1
- package/dist/esm/getLanguage-9c833eef.js.map +0 -1
- package/dist/esm/index-c196715a.js.map +0 -1
- package/dist/esm/smoothly-accordion_66.entry.js +0 -29663
- package/dist/esm/smoothly-accordion_66.entry.js.map +0 -1
- package/dist/esm/smoothly-radio-group.entry.js +0 -18
- package/dist/esm/smoothly-radio-group.entry.js.map +0 -1
- package/dist/smoothly/p-1b714a63.js +0 -2
- package/dist/smoothly/p-1b714a63.js.map +0 -1
- package/dist/smoothly/p-1efa3261.entry.js +0 -2
- package/dist/smoothly/p-1efa3261.entry.js.map +0 -1
- package/dist/smoothly/p-4ff439dd.entry.js +0 -2
- package/dist/smoothly/p-74a3586c.js +0 -2
- package/dist/smoothly/p-74a3586c.js.map +0 -1
- package/dist/smoothly/p-8a45ae84.entry.js +0 -2
- package/dist/smoothly/p-8a45ae84.entry.js.map +0 -1
- package/dist/smoothly/p-90b340b4.entry.js +0 -2
- package/dist/smoothly/p-90b340b4.entry.js.map +0 -1
- package/dist/smoothly/p-d0b8061e.js.map +0 -1
- package/dist/types/components/filter/Clearable.d.ts +0 -6
- package/dist/types/components/icon/Icon.d.ts +0 -4
- package/dist/types/components/input/Changeable.d.ts +0 -7
- package/dist/types/components/radio/index.d.ts +0 -13
- package/dist/types/components/radio-button/Selected.d.ts +0 -5
- package/dist/types/components/radio-button/index.d.ts +0 -13
- package/dist/types/components/radio-button/item/index.d.ts +0 -12
- package/dist/types/components/radio-group/index.d.ts +0 -4
- package/dist/types/model/ClientIdentifier.d.ts +0 -5
- /package/dist/collection/components/{radio-button → lazy}/style.css +0 -0
- /package/dist/collection/components/table/{testing → demo/testing}/data.js +0 -0
- /package/dist/smoothly/{p-663ccbd0.entry.js.map → p-12182a73.entry.js.map} +0 -0
- /package/dist/smoothly/{p-9992c8c4.entry.js.map → p-47151a53.entry.js.map} +0 -0
- /package/dist/smoothly/{p-b82ef190.entry.js.map → p-635c813e.entry.js.map} +0 -0
- /package/dist/smoothly/{p-dbd1afa9.entry.js.map → p-6aebb818.entry.js.map} +0 -0
- /package/dist/smoothly/{p-c4ffc15d.entry.js.map → p-7a69b43f.entry.js.map} +0 -0
- /package/dist/smoothly/{p-4d743f07.entry.js.map → p-7bf147bf.entry.js.map} +0 -0
- /package/dist/smoothly/{p-f96e41aa.entry.js.map → p-cb493516.entry.js.map} +0 -0
- /package/dist/smoothly/{p-ce4e6f44.entry.js.map → p-eef1c80b.entry.js.map} +0 -0
- /package/dist/types/components/table/{testing → demo/testing}/data.d.ts +0 -0
- /package/dist/types/components/table/{testing → demo/testing}/index.d.ts +0 -0
|
@@ -1,54 +1,56 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { isoly } from "isoly";
|
|
3
|
+
import { tidily } from "tidily";
|
|
4
4
|
export class SmoothlyInput {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.keepFocusOnReRender = false;
|
|
7
|
+
this.uneditable = this.readonly;
|
|
7
8
|
this.listener = {};
|
|
8
9
|
this.color = undefined;
|
|
10
|
+
this.delay = 0;
|
|
9
11
|
this.looks = "plain";
|
|
10
12
|
this.name = undefined;
|
|
11
13
|
this.value = undefined;
|
|
12
14
|
this.type = "text";
|
|
13
15
|
this.required = false;
|
|
14
|
-
this.minLength = 0;
|
|
15
16
|
this.showLabel = true;
|
|
16
|
-
this.maxLength = Number.POSITIVE_INFINITY;
|
|
17
17
|
this.autocomplete = true;
|
|
18
|
-
this.pattern = undefined;
|
|
19
18
|
this.placeholder = undefined;
|
|
20
19
|
this.disabled = false;
|
|
21
20
|
this.readonly = false;
|
|
22
21
|
this.currency = undefined;
|
|
23
|
-
this.initialValue = undefined;
|
|
24
22
|
this.changed = false;
|
|
23
|
+
this.formatter = undefined;
|
|
24
|
+
this.initialValue = undefined;
|
|
25
25
|
}
|
|
26
|
-
listen(property, listener) {
|
|
26
|
+
async listen(property, listener) {
|
|
27
27
|
this.listener[property] = listener;
|
|
28
28
|
listener(this);
|
|
29
29
|
}
|
|
30
30
|
async SmoothlyInputLoadHandler(event) {
|
|
31
|
-
event.
|
|
32
|
-
|
|
31
|
+
if (!(event.target && "name" in event.target && event.target.name == this.name)) {
|
|
32
|
+
event.stopPropagation();
|
|
33
|
+
event.detail(this);
|
|
34
|
+
}
|
|
33
35
|
}
|
|
34
|
-
|
|
36
|
+
typeChange() {
|
|
35
37
|
let result;
|
|
36
38
|
switch (this.type) {
|
|
37
39
|
case "price":
|
|
38
|
-
result = get("price", this.currency);
|
|
40
|
+
result = tidily.get("price", this.currency);
|
|
39
41
|
break;
|
|
40
42
|
default:
|
|
41
|
-
result = get(this.type, getLocale());
|
|
43
|
+
result = tidily.get(this.type, getLocale());
|
|
42
44
|
break;
|
|
43
45
|
}
|
|
44
|
-
|
|
46
|
+
this.formatter = result || tidily.get("text");
|
|
45
47
|
}
|
|
46
48
|
newState(state) {
|
|
47
|
-
|
|
48
|
-
return formatter.format(StateEditor.copy(formatter.unformat(StateEditor.copy(state))));
|
|
49
|
+
return this.formatter.format(tidily.StateEditor.copy(this.formatter.unformat(tidily.StateEditor.copy(state))));
|
|
49
50
|
}
|
|
50
51
|
valueWatcher(value, before) {
|
|
51
52
|
var _a, _b;
|
|
53
|
+
this.changed = this.initialValue !== this.value;
|
|
52
54
|
if (this.lastValue != value) {
|
|
53
55
|
this.lastValue = value;
|
|
54
56
|
this.state = Object.assign(Object.assign({}, this.state), { value: this.newState({ value: this.formatter.toString(value), selection: this.state.selection }).value });
|
|
@@ -56,22 +58,45 @@ export class SmoothlyInput {
|
|
|
56
58
|
if (value != before) {
|
|
57
59
|
if (typeof value == "string")
|
|
58
60
|
value = value.trim();
|
|
59
|
-
this.
|
|
61
|
+
this.smoothlyInputEmit(value);
|
|
60
62
|
}
|
|
61
|
-
this.changed
|
|
63
|
+
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
64
|
+
}
|
|
65
|
+
async smoothlyInputEmit(value) {
|
|
66
|
+
var _a;
|
|
67
|
+
(_a = this.abortInputEvent) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
68
|
+
const timeout = window.setTimeout(() => {
|
|
69
|
+
this.abortInputEvent = undefined;
|
|
70
|
+
this.smoothlyInput.emit({ [this.name]: value });
|
|
71
|
+
}, this.delay * 1000);
|
|
72
|
+
this.abortInputEvent = () => {
|
|
73
|
+
this.abortInputEvent = undefined;
|
|
74
|
+
window.clearTimeout(timeout);
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
watchingReadonly() {
|
|
78
|
+
var _a, _b;
|
|
62
79
|
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
63
80
|
}
|
|
64
81
|
onCurrency() {
|
|
65
82
|
this.state = Object.assign(Object.assign({}, this.state), { value: this.newState({ value: this.formatter.toString(this.value), selection: this.state.selection }).value, pattern: this.newState({ value: this.formatter.toString(this.value), selection: this.state.selection }).pattern });
|
|
66
83
|
}
|
|
67
84
|
componentWillLoad() {
|
|
85
|
+
var _a, _b;
|
|
86
|
+
this.typeChange();
|
|
68
87
|
const value = this.formatter.toString(this.value) || "";
|
|
88
|
+
this.lastValue = this.initialValue = this.value;
|
|
69
89
|
const start = value.length;
|
|
70
90
|
this.state = this.newState({
|
|
71
91
|
value,
|
|
72
92
|
selection: { start, end: start, direction: "none" },
|
|
73
93
|
});
|
|
74
94
|
this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
|
|
95
|
+
this.smoothlyInputLoad.emit(() => {
|
|
96
|
+
return;
|
|
97
|
+
});
|
|
98
|
+
!this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
|
|
99
|
+
(_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
75
100
|
}
|
|
76
101
|
componentDidRender() {
|
|
77
102
|
if (this.keepFocusOnReRender) {
|
|
@@ -80,7 +105,18 @@ export class SmoothlyInput {
|
|
|
80
105
|
}
|
|
81
106
|
}
|
|
82
107
|
async clear() {
|
|
83
|
-
this.value = undefined;
|
|
108
|
+
!this.uneditable && (this.value = undefined);
|
|
109
|
+
}
|
|
110
|
+
async edit(editable) {
|
|
111
|
+
!this.uneditable && (this.readonly = !editable);
|
|
112
|
+
}
|
|
113
|
+
async reset() {
|
|
114
|
+
!this.uneditable && (this.value = this.initialValue);
|
|
115
|
+
}
|
|
116
|
+
async setInitialValue() {
|
|
117
|
+
this.changed = false;
|
|
118
|
+
this.initialValue = this.value;
|
|
119
|
+
this.smoothlyInput.emit({ [this.name]: this.value });
|
|
84
120
|
}
|
|
85
121
|
async getFormData(name) {
|
|
86
122
|
const result = {};
|
|
@@ -108,39 +144,44 @@ export class SmoothlyInput {
|
|
|
108
144
|
this.keepFocusOnReRender = keepFocus;
|
|
109
145
|
}
|
|
110
146
|
async setSelectionRange(start, end, direction) {
|
|
111
|
-
this.state = this.newState(Object.assign(Object.assign({}, this.state), { selection: { start, end, direction: direction
|
|
112
|
-
const after = this.formatter.format(StateEditor.copy(this.formatter.unformat(StateEditor.copy(Object.assign({}, this.state)))));
|
|
147
|
+
this.state = this.newState(Object.assign(Object.assign({}, this.state), { selection: { start, end, direction: direction !== null && direction !== void 0 ? direction : this.state.selection.direction } }));
|
|
148
|
+
const after = this.formatter.format(tidily.StateEditor.copy(this.formatter.unformat(tidily.StateEditor.copy(Object.assign({}, this.state)))));
|
|
113
149
|
this.updateBackend(after, this.inputElement);
|
|
114
150
|
}
|
|
115
151
|
onBlur(event) {
|
|
116
152
|
this.smoothlyBlur.emit();
|
|
153
|
+
if (this.abortInputEvent) {
|
|
154
|
+
this.abortInputEvent();
|
|
155
|
+
const value = typeof this.value == "string" ? this.value.trim() : this.value;
|
|
156
|
+
this.smoothlyInput.emit({ [this.name]: value });
|
|
157
|
+
}
|
|
117
158
|
if (this.initialValue != this.value)
|
|
118
159
|
this.smoothlyChange.emit({ [this.name]: this.value });
|
|
119
|
-
this.initialValue = undefined;
|
|
120
160
|
}
|
|
121
161
|
onFocus(event) {
|
|
122
|
-
|
|
123
|
-
const after = this.formatter.format(StateEditor.copy(this.formatter.unformat(StateEditor.copy(Object.assign({}, this.state)))));
|
|
162
|
+
const after = this.formatter.format(tidily.StateEditor.copy(this.formatter.unformat(tidily.StateEditor.copy(Object.assign({}, this.state)))));
|
|
124
163
|
if (event.target)
|
|
125
|
-
this.updateBackend(after, event.target);
|
|
164
|
+
this.updateBackend(after, event.target, false);
|
|
126
165
|
}
|
|
127
166
|
onClick(event) {
|
|
167
|
+
var _a, _b, _c;
|
|
128
168
|
const backend = event.target;
|
|
129
169
|
this.state = Object.assign(Object.assign({}, this.state), { value: backend.value, selection: {
|
|
130
|
-
start: backend.selectionStart
|
|
131
|
-
end: backend.selectionEnd
|
|
132
|
-
direction: backend.selectionDirection ?
|
|
170
|
+
start: (_a = backend.selectionStart) !== null && _a !== void 0 ? _a : backend.value.length,
|
|
171
|
+
end: (_b = backend.selectionEnd) !== null && _b !== void 0 ? _b : backend.value.length,
|
|
172
|
+
direction: (_c = backend.selectionDirection) !== null && _c !== void 0 ? _c : "none",
|
|
133
173
|
} });
|
|
134
174
|
const after = this.newState(Object.assign({}, this.state));
|
|
135
175
|
this.updateBackend(after, backend);
|
|
136
176
|
}
|
|
137
177
|
onKeyDown(event) {
|
|
178
|
+
var _a, _b, _c;
|
|
138
179
|
if (event.key && !(event.key == "Unidentified")) {
|
|
139
180
|
const backend = event.target;
|
|
140
181
|
this.state = Object.assign(Object.assign({}, this.state), { value: backend.value, selection: {
|
|
141
|
-
start: backend.selectionStart
|
|
142
|
-
end: backend.selectionEnd
|
|
143
|
-
direction: backend.selectionDirection ?
|
|
182
|
+
start: (_a = backend.selectionStart) !== null && _a !== void 0 ? _a : backend.value.length,
|
|
183
|
+
end: (_b = backend.selectionEnd) !== null && _b !== void 0 ? _b : backend.value.length,
|
|
184
|
+
direction: (_c = backend.selectionDirection) !== null && _c !== void 0 ? _c : "none",
|
|
144
185
|
} });
|
|
145
186
|
if ((!((event.ctrlKey || event.metaKey) && (event.key == "v" || event.key == "x" || event.key == "c")) &&
|
|
146
187
|
event.key.length == 1) ||
|
|
@@ -162,8 +203,7 @@ export class SmoothlyInput {
|
|
|
162
203
|
let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
|
|
163
204
|
const backend = event.target;
|
|
164
205
|
pasted = this.expiresAutocompleteFix(backend, pasted);
|
|
165
|
-
|
|
166
|
-
this.processKey({ key: letter }, backend);
|
|
206
|
+
this.processPaste(pasted, backend);
|
|
167
207
|
}
|
|
168
208
|
onInput(event) {
|
|
169
209
|
var _a;
|
|
@@ -195,22 +235,31 @@ export class SmoothlyInput {
|
|
|
195
235
|
: value;
|
|
196
236
|
return value;
|
|
197
237
|
}
|
|
238
|
+
processPaste(pasted, backend) {
|
|
239
|
+
if (!this.readonly) {
|
|
240
|
+
const after = tidily.Action.paste(this.formatter, this.state, pasted);
|
|
241
|
+
this.updateBackend(after, backend);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
198
244
|
processKey(event, backend) {
|
|
199
245
|
if (!this.readonly) {
|
|
200
|
-
const after = Action.apply(this.formatter, this.state, event);
|
|
246
|
+
const after = tidily.Action.apply(this.formatter, this.state, event);
|
|
201
247
|
this.updateBackend(after, backend);
|
|
202
248
|
}
|
|
203
249
|
}
|
|
204
|
-
updateBackend(after, backend) {
|
|
250
|
+
updateBackend(after, backend, setSelection = true) {
|
|
251
|
+
var _a;
|
|
205
252
|
if (after.value != backend.value)
|
|
206
253
|
backend.value = after.value;
|
|
207
|
-
if (
|
|
208
|
-
backend.selectionStart
|
|
209
|
-
|
|
210
|
-
backend.selectionEnd
|
|
211
|
-
|
|
254
|
+
if (setSelection) {
|
|
255
|
+
if (backend.selectionStart != undefined && after.selection.start != backend.selectionStart)
|
|
256
|
+
backend.selectionStart = after.selection.start;
|
|
257
|
+
if (backend.selectionEnd != undefined && after.selection.end != backend.selectionEnd)
|
|
258
|
+
backend.selectionEnd = after.selection.end;
|
|
259
|
+
backend.selectionDirection = (_a = after.selection.direction) !== null && _a !== void 0 ? _a : backend.selectionDirection;
|
|
260
|
+
}
|
|
212
261
|
this.state = after;
|
|
213
|
-
this.value = this.lastValue = this.formatter.fromString(this.formatter.unformat(StateEditor.copy(Object.assign({}, this.state))).value);
|
|
262
|
+
this.value = this.lastValue = this.formatter.fromString(this.formatter.unformat(tidily.StateEditor.copy(Object.assign({}, this.state))).value);
|
|
214
263
|
}
|
|
215
264
|
render() {
|
|
216
265
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -252,12 +301,30 @@ export class SmoothlyInput {
|
|
|
252
301
|
"attribute": "color",
|
|
253
302
|
"reflect": true
|
|
254
303
|
},
|
|
304
|
+
"delay": {
|
|
305
|
+
"type": "number",
|
|
306
|
+
"mutable": false,
|
|
307
|
+
"complexType": {
|
|
308
|
+
"original": "number",
|
|
309
|
+
"resolved": "number",
|
|
310
|
+
"references": {}
|
|
311
|
+
},
|
|
312
|
+
"required": false,
|
|
313
|
+
"optional": false,
|
|
314
|
+
"docs": {
|
|
315
|
+
"tags": [],
|
|
316
|
+
"text": ""
|
|
317
|
+
},
|
|
318
|
+
"attribute": "delay",
|
|
319
|
+
"reflect": false,
|
|
320
|
+
"defaultValue": "0"
|
|
321
|
+
},
|
|
255
322
|
"looks": {
|
|
256
323
|
"type": "string",
|
|
257
324
|
"mutable": true,
|
|
258
325
|
"complexType": {
|
|
259
326
|
"original": "Looks",
|
|
260
|
-
"resolved": "\"border\" | \"grid\" | \"line\" | \"plain\"",
|
|
327
|
+
"resolved": "\"border\" | \"grid\" | \"line\" | \"plain\" | \"transparent\"",
|
|
261
328
|
"references": {
|
|
262
329
|
"Looks": {
|
|
263
330
|
"location": "import",
|
|
@@ -313,9 +380,14 @@ export class SmoothlyInput {
|
|
|
313
380
|
"type": "string",
|
|
314
381
|
"mutable": false,
|
|
315
382
|
"complexType": {
|
|
316
|
-
"original": "
|
|
317
|
-
"resolved": "
|
|
318
|
-
"references": {
|
|
383
|
+
"original": "tidily.Type",
|
|
384
|
+
"resolved": "\"text\" | \"divisor\" | \"card-csc\" | \"card-expires\" | \"card-number\" | \"date\" | \"date-time\" | \"duration\" | \"email\" | \"identifier-code\" | \"identifier-pascal\" | \"identifier-snake\" | \"identifier-camel\" | \"identifier-attribute\" | \"identity-number\" | \"integer\" | \"password\" | \"percent\" | \"phone\" | \"postal-code\" | \"price\"",
|
|
385
|
+
"references": {
|
|
386
|
+
"tidily": {
|
|
387
|
+
"location": "import",
|
|
388
|
+
"path": "tidily"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
319
391
|
},
|
|
320
392
|
"required": false,
|
|
321
393
|
"optional": false,
|
|
@@ -329,7 +401,7 @@ export class SmoothlyInput {
|
|
|
329
401
|
},
|
|
330
402
|
"required": {
|
|
331
403
|
"type": "boolean",
|
|
332
|
-
"mutable":
|
|
404
|
+
"mutable": false,
|
|
333
405
|
"complexType": {
|
|
334
406
|
"original": "boolean",
|
|
335
407
|
"resolved": "boolean",
|
|
@@ -345,24 +417,6 @@ export class SmoothlyInput {
|
|
|
345
417
|
"reflect": true,
|
|
346
418
|
"defaultValue": "false"
|
|
347
419
|
},
|
|
348
|
-
"minLength": {
|
|
349
|
-
"type": "number",
|
|
350
|
-
"mutable": true,
|
|
351
|
-
"complexType": {
|
|
352
|
-
"original": "number",
|
|
353
|
-
"resolved": "number",
|
|
354
|
-
"references": {}
|
|
355
|
-
},
|
|
356
|
-
"required": false,
|
|
357
|
-
"optional": false,
|
|
358
|
-
"docs": {
|
|
359
|
-
"tags": [],
|
|
360
|
-
"text": ""
|
|
361
|
-
},
|
|
362
|
-
"attribute": "min-length",
|
|
363
|
-
"reflect": false,
|
|
364
|
-
"defaultValue": "0"
|
|
365
|
-
},
|
|
366
420
|
"showLabel": {
|
|
367
421
|
"type": "boolean",
|
|
368
422
|
"mutable": false,
|
|
@@ -381,27 +435,9 @@ export class SmoothlyInput {
|
|
|
381
435
|
"reflect": true,
|
|
382
436
|
"defaultValue": "true"
|
|
383
437
|
},
|
|
384
|
-
"maxLength": {
|
|
385
|
-
"type": "number",
|
|
386
|
-
"mutable": true,
|
|
387
|
-
"complexType": {
|
|
388
|
-
"original": "number",
|
|
389
|
-
"resolved": "number",
|
|
390
|
-
"references": {}
|
|
391
|
-
},
|
|
392
|
-
"required": false,
|
|
393
|
-
"optional": false,
|
|
394
|
-
"docs": {
|
|
395
|
-
"tags": [],
|
|
396
|
-
"text": ""
|
|
397
|
-
},
|
|
398
|
-
"attribute": "max-length",
|
|
399
|
-
"reflect": false,
|
|
400
|
-
"defaultValue": "Number.POSITIVE_INFINITY"
|
|
401
|
-
},
|
|
402
438
|
"autocomplete": {
|
|
403
439
|
"type": "boolean",
|
|
404
|
-
"mutable":
|
|
440
|
+
"mutable": false,
|
|
405
441
|
"complexType": {
|
|
406
442
|
"original": "boolean",
|
|
407
443
|
"resolved": "boolean",
|
|
@@ -417,28 +453,9 @@ export class SmoothlyInput {
|
|
|
417
453
|
"reflect": false,
|
|
418
454
|
"defaultValue": "true"
|
|
419
455
|
},
|
|
420
|
-
"pattern": {
|
|
421
|
-
"type": "unknown",
|
|
422
|
-
"mutable": true,
|
|
423
|
-
"complexType": {
|
|
424
|
-
"original": "RegExp | undefined",
|
|
425
|
-
"resolved": "RegExp | undefined",
|
|
426
|
-
"references": {
|
|
427
|
-
"RegExp": {
|
|
428
|
-
"location": "global"
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
"required": false,
|
|
433
|
-
"optional": false,
|
|
434
|
-
"docs": {
|
|
435
|
-
"tags": [],
|
|
436
|
-
"text": ""
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
456
|
"placeholder": {
|
|
440
457
|
"type": "string",
|
|
441
|
-
"mutable":
|
|
458
|
+
"mutable": false,
|
|
442
459
|
"complexType": {
|
|
443
460
|
"original": "string | undefined",
|
|
444
461
|
"resolved": "string | undefined",
|
|
@@ -455,7 +472,7 @@ export class SmoothlyInput {
|
|
|
455
472
|
},
|
|
456
473
|
"disabled": {
|
|
457
474
|
"type": "boolean",
|
|
458
|
-
"mutable":
|
|
475
|
+
"mutable": false,
|
|
459
476
|
"complexType": {
|
|
460
477
|
"original": "boolean",
|
|
461
478
|
"resolved": "boolean",
|
|
@@ -493,10 +510,10 @@ export class SmoothlyInput {
|
|
|
493
510
|
"type": "string",
|
|
494
511
|
"mutable": false,
|
|
495
512
|
"complexType": {
|
|
496
|
-
"original": "Currency",
|
|
513
|
+
"original": "isoly.Currency",
|
|
497
514
|
"resolved": "\"BTN\" | \"CHE\" | \"MKD\" | \"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HRK\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XAG\" | \"XAU\" | \"XBA\" | \"XBB\" | \"XBC\" | \"XBD\" | \"XCD\" | \"XDR\" | \"XOF\" | \"XPD\" | \"XPF\" | \"XPT\" | \"XSU\" | \"XTS\" | \"XUA\" | \"XXX\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | undefined",
|
|
498
515
|
"references": {
|
|
499
|
-
"
|
|
516
|
+
"isoly": {
|
|
500
517
|
"location": "import",
|
|
501
518
|
"path": "isoly"
|
|
502
519
|
}
|
|
@@ -526,13 +543,14 @@ export class SmoothlyInput {
|
|
|
526
543
|
"text": ""
|
|
527
544
|
},
|
|
528
545
|
"attribute": "changed",
|
|
529
|
-
"reflect":
|
|
546
|
+
"reflect": false,
|
|
530
547
|
"defaultValue": "false"
|
|
531
548
|
}
|
|
532
549
|
};
|
|
533
550
|
}
|
|
534
551
|
static get states() {
|
|
535
552
|
return {
|
|
553
|
+
"formatter": {},
|
|
536
554
|
"initialValue": {}
|
|
537
555
|
};
|
|
538
556
|
}
|
|
@@ -549,7 +567,7 @@ export class SmoothlyInput {
|
|
|
549
567
|
},
|
|
550
568
|
"complexType": {
|
|
551
569
|
"original": "(looks: Looks, color: Color) => void",
|
|
552
|
-
"resolved": "(looks:
|
|
570
|
+
"resolved": "(looks: \"line\" | \"grid\" | \"plain\" | \"border\" | \"transparent\", color: \"success\" | \"default\" | \"primary\" | \"secondary\" | \"tertiary\" | \"warning\" | \"danger\" | \"light\" | \"medium\" | \"dark\") => void",
|
|
553
571
|
"references": {
|
|
554
572
|
"Looks": {
|
|
555
573
|
"location": "import",
|
|
@@ -561,6 +579,40 @@ export class SmoothlyInput {
|
|
|
561
579
|
}
|
|
562
580
|
}
|
|
563
581
|
}
|
|
582
|
+
}, {
|
|
583
|
+
"method": "smoothlyInputLoad",
|
|
584
|
+
"name": "smoothlyInputLoad",
|
|
585
|
+
"bubbles": true,
|
|
586
|
+
"cancelable": true,
|
|
587
|
+
"composed": true,
|
|
588
|
+
"docs": {
|
|
589
|
+
"tags": [],
|
|
590
|
+
"text": ""
|
|
591
|
+
},
|
|
592
|
+
"complexType": {
|
|
593
|
+
"original": "(parent: HTMLElement) => void",
|
|
594
|
+
"resolved": "(parent: HTMLElement) => void",
|
|
595
|
+
"references": {
|
|
596
|
+
"HTMLElement": {
|
|
597
|
+
"location": "global"
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}, {
|
|
602
|
+
"method": "smoothlyFormDisable",
|
|
603
|
+
"name": "smoothlyFormDisable",
|
|
604
|
+
"bubbles": true,
|
|
605
|
+
"cancelable": true,
|
|
606
|
+
"composed": true,
|
|
607
|
+
"docs": {
|
|
608
|
+
"tags": [],
|
|
609
|
+
"text": ""
|
|
610
|
+
},
|
|
611
|
+
"complexType": {
|
|
612
|
+
"original": "(disabled: boolean) => void",
|
|
613
|
+
"resolved": "(disabled: boolean) => void",
|
|
614
|
+
"references": {}
|
|
615
|
+
}
|
|
564
616
|
}, {
|
|
565
617
|
"method": "smoothlyBlur",
|
|
566
618
|
"name": "smoothlyBlur",
|
|
@@ -618,6 +670,32 @@ export class SmoothlyInput {
|
|
|
618
670
|
}
|
|
619
671
|
static get methods() {
|
|
620
672
|
return {
|
|
673
|
+
"listen": {
|
|
674
|
+
"complexType": {
|
|
675
|
+
"signature": "(property: \"changed\", listener: (parent: Editable) => Promise<void>) => Promise<void>",
|
|
676
|
+
"parameters": [{
|
|
677
|
+
"tags": [],
|
|
678
|
+
"text": ""
|
|
679
|
+
}, {
|
|
680
|
+
"tags": [],
|
|
681
|
+
"text": ""
|
|
682
|
+
}],
|
|
683
|
+
"references": {
|
|
684
|
+
"Promise": {
|
|
685
|
+
"location": "global"
|
|
686
|
+
},
|
|
687
|
+
"Editable": {
|
|
688
|
+
"location": "import",
|
|
689
|
+
"path": "./Editable"
|
|
690
|
+
}
|
|
691
|
+
},
|
|
692
|
+
"return": "Promise<void>"
|
|
693
|
+
},
|
|
694
|
+
"docs": {
|
|
695
|
+
"text": "",
|
|
696
|
+
"tags": []
|
|
697
|
+
}
|
|
698
|
+
},
|
|
621
699
|
"clear": {
|
|
622
700
|
"complexType": {
|
|
623
701
|
"signature": "() => Promise<void>",
|
|
@@ -634,6 +712,57 @@ export class SmoothlyInput {
|
|
|
634
712
|
"tags": []
|
|
635
713
|
}
|
|
636
714
|
},
|
|
715
|
+
"edit": {
|
|
716
|
+
"complexType": {
|
|
717
|
+
"signature": "(editable: boolean) => Promise<void>",
|
|
718
|
+
"parameters": [{
|
|
719
|
+
"tags": [],
|
|
720
|
+
"text": ""
|
|
721
|
+
}],
|
|
722
|
+
"references": {
|
|
723
|
+
"Promise": {
|
|
724
|
+
"location": "global"
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
"return": "Promise<void>"
|
|
728
|
+
},
|
|
729
|
+
"docs": {
|
|
730
|
+
"text": "",
|
|
731
|
+
"tags": []
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"reset": {
|
|
735
|
+
"complexType": {
|
|
736
|
+
"signature": "() => Promise<void>",
|
|
737
|
+
"parameters": [],
|
|
738
|
+
"references": {
|
|
739
|
+
"Promise": {
|
|
740
|
+
"location": "global"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
"return": "Promise<void>"
|
|
744
|
+
},
|
|
745
|
+
"docs": {
|
|
746
|
+
"text": "",
|
|
747
|
+
"tags": []
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"setInitialValue": {
|
|
751
|
+
"complexType": {
|
|
752
|
+
"signature": "() => Promise<void>",
|
|
753
|
+
"parameters": [],
|
|
754
|
+
"references": {
|
|
755
|
+
"Promise": {
|
|
756
|
+
"location": "global"
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
"return": "Promise<void>"
|
|
760
|
+
},
|
|
761
|
+
"docs": {
|
|
762
|
+
"text": "",
|
|
763
|
+
"tags": []
|
|
764
|
+
}
|
|
765
|
+
},
|
|
637
766
|
"getFormData": {
|
|
638
767
|
"complexType": {
|
|
639
768
|
"signature": "(name: string) => Promise<Record<string, any>>",
|
|
@@ -677,7 +806,7 @@ export class SmoothlyInput {
|
|
|
677
806
|
},
|
|
678
807
|
"setSelectionRange": {
|
|
679
808
|
"complexType": {
|
|
680
|
-
"signature": "(start: number, end: number, direction?: Direction) => Promise<void>",
|
|
809
|
+
"signature": "(start: number, end: number, direction?: tidily.Direction) => Promise<void>",
|
|
681
810
|
"parameters": [{
|
|
682
811
|
"tags": [],
|
|
683
812
|
"text": ""
|
|
@@ -692,7 +821,7 @@ export class SmoothlyInput {
|
|
|
692
821
|
"Promise": {
|
|
693
822
|
"location": "global"
|
|
694
823
|
},
|
|
695
|
-
"
|
|
824
|
+
"tidily": {
|
|
696
825
|
"location": "import",
|
|
697
826
|
"path": "tidily"
|
|
698
827
|
}
|
|
@@ -708,8 +837,14 @@ export class SmoothlyInput {
|
|
|
708
837
|
}
|
|
709
838
|
static get watchers() {
|
|
710
839
|
return [{
|
|
840
|
+
"propName": "type",
|
|
841
|
+
"methodName": "typeChange"
|
|
842
|
+
}, {
|
|
711
843
|
"propName": "value",
|
|
712
844
|
"methodName": "valueWatcher"
|
|
845
|
+
}, {
|
|
846
|
+
"propName": "readonly",
|
|
847
|
+
"methodName": "watchingReadonly"
|
|
713
848
|
}, {
|
|
714
849
|
"propName": "currency",
|
|
715
850
|
"methodName": "onCurrency"
|
|
@@ -727,6 +862,6 @@ export class SmoothlyInput {
|
|
|
727
862
|
}
|
|
728
863
|
function getLocale() {
|
|
729
864
|
const result = navigator.language;
|
|
730
|
-
return Locale.is(result) ? result : Language.is(result) ? Locale.toLocale(result) : undefined;
|
|
865
|
+
return isoly.Locale.is(result) ? result : isoly.Language.is(result) ? isoly.Locale.toLocale(result) : undefined;
|
|
731
866
|
}
|
|
732
867
|
//# sourceMappingURL=index.js.map
|