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,2 +0,0 @@
|
|
|
1
|
-
import{r as o,h as t}from"./p-d0b8061e.js";const r="smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";const i=class{constructor(t){o(this,t);this.orientation="horizontal"}render(){return t("slot",null)}};i.style=r;export{i as smoothly_radio_group};
|
|
2
|
-
//# sourceMappingURL=p-1efa3261.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyToggleGroup","render","h"],"sources":["./src/components/radio-group/style.css?tag=smoothly-radio-group","./src/components/radio-group/index.tsx"],"sourcesContent":["smoothly-radio-group {\n\tdisplay: flex;\n\tposition: relative;\n\t/* stylelint-disable-next-line declaration-no-important */\n\tcolor: none !important;\n\t/* stylelint-disable-next-line declaration-no-important */\n\tbackground: none !important;\n\tmargin: 0.5em 0;\n}\nsmoothly-radio-group[hidden] {\n\tdisplay: none;\n}\nsmoothly-radio-group[orientation=vertical] *:not(:first-of-type) > input[type=radio] ~ label {\n\tborder-top: none;\n}\nsmoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type) > input[type=radio] ~ label {\n\tborder-left: none;\n}\nsmoothly-radio-group[orientation=vertical] {\n\tflex-direction: column;\n}\nsmoothly-radio-group[orientation=vertical] :first-of-type > input[type=radio] ~ label {\n\tborder-radius: 4px 4px 0 0;\n}\nsmoothly-radio-group[orientation=vertical] :last-of-type > input[type=radio] ~ label {\n\tborder-radius: 0 0 4px 4px;\n}\nsmoothly-radio-group:not([orientation=vertical]) {\n\tflex-direction: row;\n}\nsmoothly-radio-group:not([orientation=vertical]) :first-of-type > input[type=radio] ~ label {\n\tborder-radius: 4px 0 0 4px;\n}\nsmoothly-radio-group:not([orientation=vertical]) :last-of-type > input[type=radio] ~ label {\n\tborder-radius: 0 4px 4px 0;\n}\n","import { Component, h, Prop } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-radio-group\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyToggleGroup {\n\t@Prop({ reflect: true }) orientation?: \"horizontal\" | \"vertical\" = \"horizontal\"\n\trender() {\n\t\treturn <slot></slot>\n\t}\n}\n"],"mappings":"2CAAA,MAAMA,EAAW,y7B,MCMJC,EAAmB,M,0CACoC,Y,CACnEC,SACC,OAAOC,EAAA,Y"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,a as i,g as h}from"./p-d0b8061e.js";const e="smoothly-reorder>*{cursor:move;transition:transform 0.3s}smoothly-reorder>*.dragging{transition:none;box-shadow:0 0 10px rgba(var(--smoothly-dark-color));z-index:1;user-select:none}";const o=class{constructor(i){t(this,i);this.reorder=s(this,"reorder",7)}get children(){let t=[];if(this.childrenCache)t=this.childrenCache;else{for(let s=0;s<this.element.children.length;s++){const h=this.element.children[s];if(h instanceof i){const s=h.getBoundingClientRect();t.push({top:s.top,middle:s.top+s.height/2,bottom:s.bottom,element:h})}}this.childrenCache=t}return t}onMouseDown(t){if(!this.move&&this.element.children.length>1){this.bounds=this.element.getBoundingClientRect();this.childrenCache=undefined;const s=this.getCurrentIndex(t.clientY);this.dragged=Object.assign(Object.assign({},this.children[s]),{startY:t.clientY,offsetY:t.clientY-this.children[s].middle,index:s,height:s<this.children.length-1?this.children[s+1].top-this.children[s].top:this.children[s].bottom-this.children[s-1].bottom});this.dragged.element.className+=" dragging"}}onMouseMove(t){if(this.dragged&&this.bounds&&t.clientY>=this.bounds.top&&t.clientY<=this.bounds.bottom){const s=this.getCurrentIndex(t.clientY-this.dragged.offsetY);this.translate(this.dragged.index,s,t.clientY-this.dragged.startY)}}onMouseUp(t){if(this.dragged){this.dragged.element.className=this.dragged.element.className.replace(" dragging","");const s=this.getCurrentIndex(t.clientY-this.dragged.offsetY);this.translate(this.dragged.index,s,this.children[s].top-this.dragged.top);this.move={from:this.dragged.index,to:s};this.dragged=undefined;window.setTimeout((()=>{if(this.move){const t=[...this.children.map((t=>t.element))];const s=t.splice(this.move.from,1);t.splice(this.move.to,0,...s);t.forEach((t=>this.element.removeChild(t)));t.forEach((t=>{t.style.transform="";this.element.appendChild(t)}));this.reorder.emit([this.move.from,this.move.to]);this.move=undefined}}),500)}}translate(t,s,i){for(let h=0;h<this.children.length;h++){let e;if(this.dragged){if(t<s&&h>t&&h<=s)e=-this.dragged.height;else if(t>s&&h<t&&h>=s)e=this.dragged.height;else e=h==t?i:0;this.children[h].element.style.transform=`translateY(${e}px)`}}}getCurrentIndex(t){return this.children.findIndex((s=>t<s.bottom))}componentDidLoad(){this.element.childNodes.forEach((t=>{t.addEventListener("mousedown",(t=>this.onMouseDown(t)));t.addEventListener("mousemove",(t=>this.onMouseMove(t)));t.addEventListener("mouseup",(t=>this.onMouseUp(t)))}))}get element(){return h(this)}};o.style=e;export{o as smoothly_reorder};
|
|
2
|
-
//# sourceMappingURL=p-4ff439dd.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
class t{constructor(){this.encoding="utf-8"}encode(t){return Uint8Array.from(unescape(encodeURIComponent(t)).split(""),(t=>t.charCodeAt(0)))}}const n={standard:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",url:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function e(e,r="standard",i=""){if(typeof e=="string")e=(new t).encode(e);const o=n[r];const s=[];for(let t=0;t<e.length;t+=3){const n=e[t];const r=t+1<e.length?e[t+1]:0;const i=t+2<e.length?e[t+2]:0;s.push(o[n>>>2]);s.push(o[(n&3)<<4|r>>>4]);s.push(o[(r&15)<<2|i>>>6]);s.push(o[i&63])}const c=Math.ceil(e.length/3*4);return s.join("").substr(0,c)+i.repeat(s.length-c)}function r(t,e="standard"){while(t.endsWith("=")&&t.length>0)t=t.substr(0,t.length-1);const r=n[e];const i=t.split("").map((t=>r.indexOf(t)));const o=new Uint8Array(Math.floor(i.length/4*3));for(let t=0;t<o.length;t+=3){const n=i.shift()||0;const e=i.shift()||0;const r=i.shift()||0;const s=i.shift()||0;o[t]=n<<2|e>>>4;o[t+1]=(e&15)<<4|r>>>2;o[t+2]=(r&3)<<6|s}return o}function i(t,e=1,r="standard"){const s=n[r];const c=t.length>1?t.substring(0,t.length-1):e>0?"":s[63];const a=(t.length==0?0:s.indexOf(t[t.length-1]))+e;return(a>63||a<0?i(c,Math.floor(a/63),r):c)+s[o(a,64)]}function o(t,n){return t>=0?t%n:o(t+n,n)}const s=typeof window!="undefined"?window.crypto||window.msCrypto:self.crypto||self.msCrypto;var c;(function(t){function n(t,n,...e){const[r,...i]=a(e)?e.map((t=>Object.fromEntries(t.split(",").map((t=>t.split(":",2).map((t=>t.trim()))))))):e;const o=Object.assign({},...Object.entries(r).map((([t,n])=>[t,[n,...i.map((n=>n[t])).filter((t=>t))]])).map((([n,e])=>({get[n](){return Object.assign(t(e),{name:n})}}))));return{current:o[n],...o}}t.create=n})(c||(c={}));function a(t){return Array.isArray(t)&&t.length>0&&typeof t[0]=="string"}var u;(function(t){function n(t){return typeof t=="object"&&(t.key==undefined||typeof t.key=="string")&&typeof t.value=="string"&&typeof t.salt=="string"}t.is=n;function e(t){t.key=t.key&&t.key.length!=4?t.key.slice(-2):t.key;return[t.key,t.salt,t.value].join(".")}t.stringify=e;function r(n){const e=n.split(".");const r={key:e[0],salt:e[1],value:e[2]};return t.is(r)?r:undefined}t.parse=r})(u||(u={}));var f;(function(t){function n(t,n){return typeof t=="string"&&(n==undefined||t.length==n)&&Array.from(t).every((t=>t>="0"&&t<="9"||t>="A"&&t<="Z"||t>="a"&&t<="z"||t=="-"||t=="_"))}t.is=n;function o(t){return p(t.toString(16).padStart(6,"0"))}t.fromUint24=o;function c(t){return Number.parseInt(h(t,6),16)}t.toUint24=c;function a(t){return p(t.toString(16).padStart(12,"0"))}t.fromUint48=a;function u(t){return Number.parseInt(h(t,12),16)}t.toUint48=u;function f(t){return e(t,"url")}t.fromBinary=f;function S(t){return r(t,"url")}t.toBinary=S;function y(t){return f(s.getRandomValues(new Uint8Array(t/4*3)))}t.generate=y;function p(t){if(t.length%2==1)t+="0";const n=new Uint8Array(t.length/2);for(let e=0;e<n.length;e++)n[e]=Number.parseInt(t[e*2],16)*16+Number.parseInt(t[e*2+1],16);return f(n)}t.fromHexadecimal=p;function h(t,n){const e=r(t,"url");let i=[];for(const t of e)i.push(Math.floor(t/16).toString(16),(t%16).toString(16));if(n)i=i.slice(0,n);return i.join("")}t.toHexadecimal=h;function d(t){return"".padStart(t,"A")}t.min=d;function w(t){return"".padStart(t,"_")}t.max=w;function A(t,n=1){const e=i(t,n,"url");return e.length==t.length?e:e.substring(e.length-t.length)}t.next=A;function l(t,n=1){return A(t,-n)}t.previous=l;t.length=[4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128];(function(t){function n(t){return typeof t=="number"&&t>=4&&t<=128&&(t&252)==t}t.is=n})(t.Length||(t.Length={}))})(f||(f={}));var S;(function(t){function n(t){return typeof t=="string"||typeof t=="object"&&typeof t.hash=="string"&&typeof t.salt=="string"}t.is=n;async function r(t,n,r){if(!r)r=e(s.getRandomValues(new Uint8Array(64)));return{hash:await t.sign(r+n),salt:r}}t.hash=r;async function i(n,e,r){return(await t.hash(n,r,e.salt)).hash==e.hash}t.verify=i;(function(t){function n(t){return typeof t=="object"&&typeof t.hash=="string"&&typeof t.salt=="string"}t.is=n})(t.Hashed||(t.Hashed={}))})(S||(S={}));var y;(function(t){function n(t){return s.getRandomValues(t)}t.generate=n})(y||(y={}));var p;(function(t){function n(t){return t=="HMAC"||t=="RSA"||t=="ECDSA"||t=="RSA-PSS"}t.is=n})(p||(p={}));class h{async sign(n){return typeof n=="string"?e(await this.signBinary((new t).encode(n)),"url"):this.signBinary(n)}verify(n,e){if(typeof e=="string")e=r(e,"url");return typeof n=="string"?this.verifyBinary((new t).encode(n),e):this.verifyBinary(n,e)}}class d extends h{constructor(t,n,e){super();this.hash=t;if(n){if(typeof n=="string")n=r(n);this.publicKey=s.subtle.importKey("spki",n,{name:"ECDSA",namedCurve:t.replace("SHA","P")=="P-512"?"P-521":t.replace("SHA","P")},false,["verify"])}if(e){if(typeof e=="string")e=r(e);this.privateKey=s.subtle.importKey("pkcs8",e,{name:"ECDSA",namedCurve:t.replace("SHA","P")=="P-512"?"P-521":t.replace("SHA","P")},true,["sign","verify"])}}async signBinary(t){return new Uint8Array(await s.subtle.sign({name:"ECDSA",hash:{name:this.hash}},await this.privateKey,t))}async verifyBinary(t,n){return s.subtle.verify({name:"ECDSA",hash:{name:this.hash}},await this.publicKey,n,t)}}var w;(function(t){function n(t){return t=="SHA-1"||t=="SHA-256"||t=="SHA-384"||t=="SHA-512"}t.is=n})(w||(w={}));class A extends h{async verifyBinary(t,n){return e(await this.signBinary(t),"url")==e(n,"url")}}class l extends A{constructor(t,n){super();this.hash=t;if(typeof n=="string")n=r(n,"url");this.key=s.subtle.importKey("raw",n,{name:"HMAC",hash:{name:t}},false,["sign","verify"])}async signBinary(t){return new Uint8Array(await s.subtle.sign("HMAC",await this.key,t))}}class b extends A{signBinary(t){return Promise.resolve(new Uint8Array(0))}}class v extends h{constructor(t,n,e){super();this.variant=t;this.publicKey=n;this.privateKey=e}get parameters(){return H(this.variant)}async signBinary(t){return this.privateKey?new Uint8Array(await s.subtle.sign(this.parameters,await this.privateKey,t)):new Uint8Array(0)}async verifyBinary(t,n){return!!this.publicKey&&s.subtle.verify(this.parameters,await this.publicKey,n,t)}async export(t,n="base64"){const r=await(t=="private"?this.privateKey:this.publicKey);let i;if(r)switch(n){case"jwk":i=await s.subtle.exportKey("jwk",r);break;case"buffer":i=await s.subtle.exportKey(t=="private"?"pkcs8":"spki",r);break;case"base64":{const n=await this.export(t,"buffer");i=n&&e(new Uint8Array(n),"standard","=")}break;case"pem":{const n=await this.export(t,"base64");i=n&&[`-----BEGIN ${t.toUpperCase()} KEY-----`,...g(n,64),`-----END ${t.toUpperCase()} KEY-----`].join("\n")}break}return i}static import(t,n,e,r){return new v(t,v.importHelper(t,n,"public",e),v.importHelper(t,n,"private",r))}static importHelper(t,n,e,i){if(typeof i=="string")i=r(i);return i&&s.subtle.importKey(e=="private"?"pkcs8":"spki",i,{name:H(t).name,hash:{name:n}},true,[e=="private"?"sign":"verify"])}static generate(t,n,e){const r=s.subtle.generateKey({name:H(t).name,modulusLength:e,publicExponent:new Uint8Array([1,0,1]),hash:n},true,["sign","verify"]);return new v(t,r.then((t=>t.publicKey)),r.then((t=>t.privateKey)))}}function*g(t,n){let e=0;while(e<t.length)yield t.slice(e,e=e+n)}function H(t){return t=="PSS"?{name:"RSA-PSS",saltLength:128}:{name:"RSASSA-PKCS1-v1_5"}}var m;(function(t){(function(t){t.is=p.is})(t.Algorithm||(t.Algorithm={}));(function(t){t.is=w.is})(t.Hash||(t.Hash={}));function n(t,n,e){let r;switch(t){case"RSA":r=v.generate("SSA",n,e);break;case"RSA-PSS":r=v.generate("PSS",n,e);break}return r}t.generate=n;function e(t,n,...e){let r;if(n!=undefined)switch(t){case"HMAC":r=new l(n,e[0]);break;case"RSA":r=v.import("SSA",n,e[0],e[1]);break;case"RSA-PSS":r=v.import("PSS",n,e[0],e[1]);break;case"ECDSA":r=new d(n,e[0],e[1]);break}else if(t=="None")r=new b;return r}t.create=e})(m||(m={}));if(!Uint8Array.__proto__.from){(()=>{Uint8Array.__proto__.from=function(t,n,e){const r=Uint8Array.__proto__;if(typeof this!=="function"){throw new TypeError("# is not a constructor")}if(this.__proto__!==r){throw new TypeError("this is not a typed array.")}n=n||(t=>t);if(typeof n!=="function"){throw new TypeError("specified argument is not a function")}t=Object(t);if(!t.length){return new this(0)}let i=[];for(const t of i){i.push(t)}i=i.map(n,e);const o=new this(i.length);for(let t=0;t<o.length;t++){o[t]=i[t]}return o}})()}var k;(function(t){function n(t){return typeof t=="object"&&Object.values(t).every((t=>t&&typeof t=="object"&&"forward"in t&&typeof t.forward=="function"&&"backward"in t&&typeof t.backward=="function"))}t.is=n})(k||(k={}));var P;(function(t){function n(t){return Array.isArray(t)&&t.every((t=>typeof t=="string"))}t.is=n})(P||(P={}));var j;(function(t){function n(t){return typeof t=="object"&&Object.entries(t).every((t=>typeof t[1]=="string"))}t.is=n})(j||(j={}));var E;(function(t){function n(t){return P.is(t)||k.is(t)||j.is(t)}t.is=n;(function(t){t.is=k.is})(t.Converter||(t.Converter={}));(function(t){t.is=P.is})(t.Crypto||(t.Crypto={}));(function(t){t.is=j.is})(t.Renamer||(t.Renamer={}))})(E||(E={}));var R;(function(t){function n(t){return typeof t=="object"&&typeof t.apply=="function"&&typeof t.reverse=="function"}t.is=n;function e(t){return{apply:t.apply?t.apply:t=>t,reverse:t.reverse?t.reverse:t=>t}}t.create=e})(R||(R={}));var C;(function(t){function n(t){return t=="RS256"||t=="RS384"||t=="RS512"||t=="ES256"||t=="ES384"||t=="ES512"||t=="PS256"||t=="PS384"||t=="PS512"}t.is=n})(C||(C={}));var O;(function(t){function n(t){return t=="HS256"||t=="HS384"||t=="HS512"}t.is=n})(O||(O={}));var U;(function(t){function n(t){return t=="none"||O.is(t)||C.is(t)}t.is=n;(function(t){t.is=O.is})(t.Symmetric||(t.Symmetric={}));(function(t){t.is=C.is})(t.Asymmetric||(t.Asymmetric={}))})(U||(U={}));var M=undefined&&undefined.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function s(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r["throw"](t))}catch(t){o(t)}}function a(t){t.done?e(t.value):i(t.value).then(s,c)}a((r=r.apply(t,n||[])).next())}))};class D{constructor(t,n){this.name=t;this.signer=n}sign(t){return M(this,void 0,void 0,(function*(){return typeof t=="string"?this.signer.sign(t):this.signer.sign(t)}))}verify(t,n){return this.signer.verify(t,n)}static create(t,...n){let e;switch(t){case"ES256":e=m.create("ECDSA","SHA-256",n[0],n[1]);break;case"ES384":e=m.create("ECDSA","SHA-384",n[0],n[1]);break;case"ES512":e=m.create("ECDSA","SHA-512",n[0],n[1]);break;case"PS256":e=m.create("RSA-PSS","SHA-256",n[0],n[1]);break;case"PS384":e=m.create("RSA-PSS","SHA-384",n[0],n[1]);break;case"PS512":e=m.create("RSA-PSS","SHA-512",n[0],n[1]);break;case"HS256":e=m.create("HMAC","SHA-256",n[0]);break;case"HS384":e=m.create("HMAC","SHA-384",n[0]);break;case"HS512":e=m.create("HMAC","SHA-512",n[0]);break;case"RS256":e=m.create("RSA","SHA-256",n[0],n[1]);break;case"RS384":e=m.create("RSA","SHA-384",n[0],n[1]);break;case"RS512":e=m.create("RSA","SHA-512",n[0],n[1]);break;case"none":e=m.create("None");break}return e&&new D(t,e)}static none(){return D.create("none")}static HS256(t){return D.create("HS256",t)}static HS384(t){return D.create("HS384",t)}static HS512(t){return D.create("HS512",t)}static RS256(t,n){return D.create("RS256",t,n)}static RS384(t,n){return D.create("RS384",t,n)}static RS512(t,n){return D.create("RS512",t,n)}static ES256(t,n){return D.create("ES256",t,n)}static ES384(t,n){return D.create("ES384",t,n)}static ES512(t,n){return D.create("ES512",t,n)}static PS256(t,n){return D.create("PS256",t,n)}static PS384(t,n){return D.create("PS384",t,n)}static PS512(t,n){return D.create("PS512",t,n)}}(function(t){(function(t){t.is=U.is;(function(t){t.is=U.Symmetric.is})(t.Symmetric||(t.Symmetric={}));(function(t){t.is=U.Asymmetric.is})(t.Asymmetric||(t.Asymmetric={}))})(t.Name||(t.Name={}))})(D||(D={}));var B;(function(t){function n(t){return typeof t=="string"&&/^[A-Za-z0-9-_=]+\.[A-Za-z0-9-_=]+\.?[A-Za-z0-9-_.+/=]*$/.test(t)}t.is=n})(B||(B={}));class x{static is(t){return typeof t=="object"&&typeof t.destination=="string"&&t.content!=undefined}static send(t,n,e){if(x.is(t)&&e==undefined){e=n;if(!e)e=window;const r=t.destination.split("#",2);t={destination:r[1],content:t.content};e.postMessage(t,r[0])}else if(typeof e!="string"){if(!e)e=window;if(typeof t=="string")x.send({destination:t,content:n},e)}}static listen(t,n,e){const r=t.split("#",2);let i="";if(r.length==2){t=r[0];i=r[1]}(e||window).addEventListener("message",(e=>{const r=e.data;if(x.is(r)&&(t=="*"||e.origin==t)&&(i==""||r.destination==i))n(r.destination,r.content)}))}}class N{static is(t){return typeof t=="object"&&typeof t.name=="string"}}var T=undefined&&undefined.__classPrivateFieldGet||function(t,n,e,r){if(e==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof n==="function"?t!==n||!r:!n.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return e==="m"?r:e==="a"?r.call(t):r?r.value:n.get(t)};var _;class z{constructor(){_.set(this,{})}listen(t,n){var e,r;(r=(e=T(this,_,"f")[t])===null||e===void 0?void 0:e.push(n))!==null&&r!==void 0?r:T(this,_,"f")[t]=[n];n(this[t])}unlisten(t,n){var e,r;const i=(e=T(this,_,"f")[t])===null||e===void 0?void 0:e.indexOf(n);i!=undefined&&i>=0&&((r=T(this,_,"f")[t])===null||r===void 0?void 0:r.splice(i,1))}static load(t){const n=t.listenable;return Object.defineProperties(n,e(t));function e(t){return Object.fromEntries(Object.entries(Object.assign(Object.assign({},Object.getOwnPropertyDescriptors(t)),Object.getOwnPropertyDescriptors(Object.getPrototypeOf(t)))).map((([e,r])=>[e,typeof r.value=="function"?{get(){return t[e].bind(t)}}:r.writable||r.set?{get(){return t[e]},set(r){var i;t[e]=r;(i=T(n,_,"f")[e])===null||i===void 0?void 0:i.forEach((t=>t(r)))}}:{get(){return t[e]}}])))}}}_=new WeakMap;var Z;(function(t){function n(t,[e,...r],i){const o=t[e!==null&&e!==void 0?e:""];return Object.assign(Object.assign({},t),{[e!==null&&e!==void 0?e:""]:!r.length?i:n(typeof o=="object"&&!(o instanceof Blob)?o:{},r,i)})}t.set=n;function e(t){return Object.entries(t).reduce(((t,[e,r])=>n(t,e.split("."),r)),{})}t.deepen=e})(Z||(Z={}));export{Z as D,f as I,z as L,x as M,N as T};
|
|
2
|
-
//# sourceMappingURL=p-74a3586c.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TextEncoder","constructor","this","encoding","encode","data","Uint8Array","from","unescape","encodeURIComponent","split","c","charCodeAt","tables","standard","url","value","padding","table","result","length","c0","c1","c2","push","Math","ceil","join","substr","repeat","decode","endsWith","map","indexOf","floor","d0","shift","d1","d2","d3","next","increment","rest","substring","number","remainder","left","right","crypto","window","msCrypto","self","Algorithms","create","current","secrets","first","isStringArray","part","Object","fromEntries","secret","item","trim","assign","entries","name","filter","Array","isArray","Encrypted","is","key","undefined","salt","stringify","encrypted","slice","parse","encryptedString","splitted","Identifier","every","fromUint24","fromHexadecimal","toString","padStart","toUint24","identifier","Number","parseInt","toHexadecimal","fromUint48","toUint48","fromBinary","Base64.encode","toBinary","Base64.decode","generate","getRandomValues","index","d","min","max","Base64.next","previous","decrement","Length","Password","hash","async","algorithm","password","sign","verify","Hashed","RandomValue","array","Algorithm","Base","signBinary","signature","verifyBinary","ECDSA","publicKey","privateKey","super","subtle","importKey","namedCurve","replace","Hash","Symmetric","HMAC","None","_","Promise","resolve","Rsa","variant","parameters","getParameters","type","format","exportKey","export","toUpperCase","static","importHelper","keyPair","generateKey","modulusLength","publicExponent","then","start","saltLength","Signer","SignerAlgorithm","SignerHash","keys","import","__proto__","object","theFunction","thisObject","typedArrayClass","TypeError","element","copyData","typedArray","i","Converter","values","v","forward","backward","Crypto","Renamer","thing","Creatable","CCrypto","CConverter","CRenamer","Transformer","apply","reverse","transformer","Asymmetric","Name","NameSymmetric","NameAsymmetric","__awaiter","thisArg","_arguments","P","generator","adopt","reject","fulfilled","step","e","rejected","done","signer","AlgorithmName","Token","test","Message","destination","content","message","context","postMessage","send","origin","handle","addEventListener","Trigger","Listenable","_Listenable_listeners","set","listen","property","listener","_b","_a","__classPrivateFieldGet","unlisten","splice","backend","listenable","defineProperties","getProperties","getOwnPropertyDescriptors","getPrototypeOf","descriptor","get","bind","writable","forEach","Data","head","tail","Blob","deepen","reduce"],"sources":["./node_modules/cryptly/dist/TextEncoder.js","./node_modules/cryptly/dist/Base64.js","./node_modules/cryptly/dist/crypto.browser.js","./node_modules/cryptly/dist/Algorithms.js","./node_modules/cryptly/dist/Encrypted.js","./node_modules/cryptly/dist/Identifier.js","./node_modules/cryptly/dist/Password.js","./node_modules/cryptly/dist/RandomValue.js","./node_modules/cryptly/dist/Signer/Algorithm.js","./node_modules/cryptly/dist/Signer/Base.js","./node_modules/cryptly/dist/Signer/ECDSA.js","./node_modules/cryptly/dist/Signer/Hash.js","./node_modules/cryptly/dist/Signer/Symmetric.js","./node_modules/cryptly/dist/Signer/HMAC.js","./node_modules/cryptly/dist/Signer/None.js","./node_modules/cryptly/dist/Signer/Rsa.js","./node_modules/cryptly/dist/Signer/index.js","./node_modules/authly/dist/shim/TypedArray-from.js","./node_modules/authly/dist/Property/Creatable/Converter.js","./node_modules/authly/dist/Property/Creatable/Crypto.js","./node_modules/authly/dist/Property/Creatable/Renamer.js","./node_modules/authly/dist/Property/Creatable/index.js","./node_modules/authly/dist/Property/Transformer.js","./node_modules/authly/dist/Algorithm/Name/Asymmetric.js","./node_modules/authly/dist/Algorithm/Name/Symmetric.js","./node_modules/authly/dist/Algorithm/Name/index.js","./node_modules/authly/dist/Algorithm/index.js","./node_modules/authly/dist/Token.js","./src/model/Message.ts","./src/model/Trigger.ts","./src/model/Listenable.ts","./src/model/Data.ts"],"sourcesContent":["export class TextEncoder {\n constructor() {\n this.encoding = \"utf-8\";\n }\n encode(data) {\n return Uint8Array.from(unescape(encodeURIComponent(data)).split(\"\"), c => c.charCodeAt(0));\n }\n}\n//# sourceMappingURL=TextEncoder.js.map","import { TextEncoder } from \"./TextEncoder\";\nconst tables = {\n standard: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",\n url: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\",\n};\nexport function encode(value, standard = \"standard\", padding = \"\") {\n if (typeof value == \"string\")\n value = new TextEncoder().encode(value);\n const table = tables[standard];\n const result = [];\n for (let c = 0; c < value.length; c += 3) {\n const c0 = value[c];\n const c1 = c + 1 < value.length ? value[c + 1] : 0;\n const c2 = c + 2 < value.length ? value[c + 2] : 0;\n result.push(table[c0 >>> 2]);\n result.push(table[((c0 & 3) << 4) | (c1 >>> 4)]);\n result.push(table[((c1 & 15) << 2) | (c2 >>> 6)]);\n result.push(table[c2 & 63]);\n }\n const length = Math.ceil((value.length / 3) * 4);\n return result.join(\"\").substr(0, length) + padding.repeat(result.length - length);\n}\nexport function decode(value, standard = \"standard\") {\n while (value.endsWith(\"=\") && value.length > 0)\n value = value.substr(0, value.length - 1);\n const table = tables[standard];\n const data = value.split(\"\").map(c => table.indexOf(c));\n const result = new Uint8Array(Math.floor((data.length / 4) * 3));\n for (let c = 0; c < result.length; c += 3) {\n const d0 = data.shift() || 0;\n const d1 = data.shift() || 0;\n const d2 = data.shift() || 0;\n const d3 = data.shift() || 0;\n result[c] = (d0 << 2) | (d1 >>> 4);\n result[c + 1] = ((d1 & 15) << 4) | (d2 >>> 2);\n result[c + 2] = ((d2 & 3) << 6) | d3;\n }\n return result;\n}\nexport function next(value, increment = 1, standard = \"standard\") {\n const table = tables[standard];\n const rest = value.length > 1 ? value.substring(0, value.length - 1) : increment > 0 ? \"\" : table[63];\n const number = (value.length == 0 ? 0 : table.indexOf(value[value.length - 1])) + increment;\n return ((number > 63 || number < 0 ? next(rest, Math.floor(number / 63), standard) : rest) + table[remainder(number, 64)]);\n}\nfunction remainder(left, right) {\n return left >= 0 ? left % right : remainder(left + right, right);\n}\n//# sourceMappingURL=Base64.js.map","export const crypto = typeof window != \"undefined\"\n ? window.crypto || window.msCrypto\n : self.crypto || self.msCrypto;\n//# sourceMappingURL=crypto.browser.js.map","export var Algorithms;\n(function (Algorithms) {\n function create(create, current, ...secrets) {\n const [first, ...remainder] = isStringArray(secrets)\n ? secrets.map(part => Object.fromEntries(part.split(\",\").map(secret => secret.split(\":\", 2).map(item => item.trim()))))\n : secrets;\n const result = Object.assign({}, ...Object.entries(first)\n .map(([name, secret]) => [\n name,\n [secret, ...remainder.map(part => part[name]).filter(part => part)],\n ])\n .map(([name, secrets]) => ({\n get [name]() {\n return Object.assign(create(secrets), { name });\n },\n })));\n return { current: result[current], ...result };\n }\n Algorithms.create = create;\n})(Algorithms || (Algorithms = {}));\nfunction isStringArray(value) {\n return Array.isArray(value) && value.length > 0 && typeof value[0] == \"string\";\n}\n//# sourceMappingURL=Algorithms.js.map","export var Encrypted;\n(function (Encrypted) {\n function is(value) {\n return (typeof value == \"object\" &&\n (value.key == undefined || typeof value.key == \"string\") &&\n typeof value.value == \"string\" &&\n typeof value.salt == \"string\");\n }\n Encrypted.is = is;\n function stringify(encrypted) {\n encrypted.key = encrypted.key && encrypted.key.length != 4 ? encrypted.key.slice(-2) : encrypted.key;\n return [encrypted.key, encrypted.salt, encrypted.value].join(\".\");\n }\n Encrypted.stringify = stringify;\n function parse(encryptedString) {\n const splitted = encryptedString.split(\".\");\n const encrypted = { key: splitted[0], salt: splitted[1], value: splitted[2] };\n return Encrypted.is(encrypted) ? encrypted : undefined;\n }\n Encrypted.parse = parse;\n})(Encrypted || (Encrypted = {}));\n//# sourceMappingURL=Encrypted.js.map","import * as Base64 from \"./Base64\";\nimport { crypto } from \"./crypto\";\nexport var Identifier;\n(function (Identifier) {\n function is(value, length) {\n return (typeof value == \"string\" &&\n (length == undefined || value.length == length) &&\n Array.from(value).every(c => (c >= \"0\" && c <= \"9\") || (c >= \"A\" && c <= \"Z\") || (c >= \"a\" && c <= \"z\") || c == \"-\" || c == \"_\"));\n }\n Identifier.is = is;\n function fromUint24(value) {\n return fromHexadecimal(value.toString(16).padStart(6, \"0\"));\n }\n Identifier.fromUint24 = fromUint24;\n function toUint24(identifier) {\n return Number.parseInt(toHexadecimal(identifier, 6), 16);\n }\n Identifier.toUint24 = toUint24;\n function fromUint48(value) {\n return fromHexadecimal(value.toString(16).padStart(12, \"0\"));\n }\n Identifier.fromUint48 = fromUint48;\n function toUint48(identifier) {\n return Number.parseInt(toHexadecimal(identifier, 12), 16);\n }\n Identifier.toUint48 = toUint48;\n function fromBinary(identifier) {\n return Base64.encode(identifier, \"url\");\n }\n Identifier.fromBinary = fromBinary;\n function toBinary(identifier) {\n return Base64.decode(identifier, \"url\");\n }\n Identifier.toBinary = toBinary;\n function generate(length) {\n return fromBinary(crypto.getRandomValues(new Uint8Array((length / 4) * 3)));\n }\n Identifier.generate = generate;\n function fromHexadecimal(identifier) {\n if (identifier.length % 2 == 1)\n identifier += \"0\";\n const result = new Uint8Array(identifier.length / 2);\n for (let index = 0; index < result.length; index++)\n result[index] = Number.parseInt(identifier[index * 2], 16) * 16 + Number.parseInt(identifier[index * 2 + 1], 16);\n return fromBinary(result);\n }\n Identifier.fromHexadecimal = fromHexadecimal;\n function toHexadecimal(identifier, length) {\n const data = Base64.decode(identifier, \"url\");\n let result = [];\n for (const d of data)\n result.push(Math.floor(d / 16).toString(16), (d % 16).toString(16));\n if (length)\n result = result.slice(0, length);\n return result.join(\"\");\n }\n Identifier.toHexadecimal = toHexadecimal;\n function min(length) {\n return \"\".padStart(length, \"A\");\n }\n Identifier.min = min;\n function max(length) {\n return \"\".padStart(length, \"_\");\n }\n Identifier.max = max;\n function next(identifier, increment = 1) {\n const result = Base64.next(identifier, increment, \"url\");\n return result.length == identifier.length ? result : result.substring(result.length - identifier.length);\n }\n Identifier.next = next;\n function previous(identifier, decrement = 1) {\n return next(identifier, -decrement);\n }\n Identifier.previous = previous;\n Identifier.length = [\n 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112,\n 116, 120, 124, 128,\n ];\n let Length;\n (function (Length) {\n function is(value) {\n return typeof value == \"number\" && value >= 4 && value <= 128 && (value & 252) == value;\n }\n Length.is = is;\n })(Length = Identifier.Length || (Identifier.Length = {}));\n})(Identifier || (Identifier = {}));\n//# sourceMappingURL=Identifier.js.map","import * as Base64 from \"./Base64\";\nimport { crypto } from \"./crypto\";\nexport var Password;\n(function (Password) {\n function is(value) {\n return (typeof value == \"string\" ||\n (typeof value == \"object\" && typeof value.hash == \"string\" && typeof value.salt == \"string\"));\n }\n Password.is = is;\n async function hash(algorithm, password, salt) {\n if (!salt)\n salt = Base64.encode(crypto.getRandomValues(new Uint8Array(64)));\n return {\n hash: await algorithm.sign(salt + password),\n salt,\n };\n }\n Password.hash = hash;\n async function verify(algorithm, hash, password) {\n return (await Password.hash(algorithm, password, hash.salt)).hash == hash.hash;\n }\n Password.verify = verify;\n let Hashed;\n (function (Hashed) {\n function is(value) {\n return typeof value == \"object\" && typeof value.hash == \"string\" && typeof value.salt == \"string\";\n }\n Hashed.is = is;\n })(Hashed = Password.Hashed || (Password.Hashed = {}));\n})(Password || (Password = {}));\n//# sourceMappingURL=Password.js.map","import { crypto } from \"./crypto\";\nexport var RandomValue;\n(function (RandomValue) {\n function generate(array) {\n return crypto.getRandomValues(array);\n }\n RandomValue.generate = generate;\n})(RandomValue || (RandomValue = {}));\n//# sourceMappingURL=RandomValue.js.map","export var Algorithm;\n(function (Algorithm) {\n function is(value) {\n return value == \"HMAC\" || value == \"RSA\" || value == \"ECDSA\" || value == \"RSA-PSS\";\n }\n Algorithm.is = is;\n})(Algorithm || (Algorithm = {}));\n//# sourceMappingURL=Algorithm.js.map","import * as Base64 from \"../Base64\";\nimport { TextEncoder } from \"../TextEncoder\";\nexport class Base {\n async sign(data) {\n return typeof data == \"string\"\n ? Base64.encode(await this.signBinary(new TextEncoder().encode(data)), \"url\")\n : this.signBinary(data);\n }\n verify(data, signature) {\n if (typeof signature == \"string\")\n signature = Base64.decode(signature, \"url\");\n return typeof data == \"string\"\n ? this.verifyBinary(new TextEncoder().encode(data), signature)\n : this.verifyBinary(data, signature);\n }\n}\n//# sourceMappingURL=Base.js.map","import * as Base64 from \"../Base64\";\nimport { crypto } from \"../crypto\";\nimport { Base } from \"./Base\";\nexport class ECDSA extends Base {\n constructor(hash, publicKey, privateKey) {\n super();\n this.hash = hash;\n if (publicKey) {\n if (typeof publicKey == \"string\")\n publicKey = Base64.decode(publicKey);\n this.publicKey = crypto.subtle.importKey(\"spki\", publicKey, { name: \"ECDSA\", namedCurve: hash.replace(\"SHA\", \"P\") == \"P-512\" ? \"P-521\" : hash.replace(\"SHA\", \"P\") }, false, [\"verify\"]);\n }\n if (privateKey) {\n if (typeof privateKey == \"string\")\n privateKey = Base64.decode(privateKey);\n this.privateKey = crypto.subtle.importKey(\"pkcs8\", privateKey, { name: \"ECDSA\", namedCurve: hash.replace(\"SHA\", \"P\") == \"P-512\" ? \"P-521\" : hash.replace(\"SHA\", \"P\") }, true, [\"sign\", \"verify\"]);\n }\n }\n async signBinary(data) {\n return new Uint8Array(await crypto.subtle.sign({ name: \"ECDSA\", hash: { name: this.hash } }, await this.privateKey, data));\n }\n async verifyBinary(data, signature) {\n return crypto.subtle.verify({ name: \"ECDSA\", hash: { name: this.hash } }, await this.publicKey, signature, data);\n }\n}\n//# sourceMappingURL=ECDSA.js.map","export var Hash;\n(function (Hash) {\n function is(value) {\n return value == \"SHA-1\" || value == \"SHA-256\" || value == \"SHA-384\" || value == \"SHA-512\";\n }\n Hash.is = is;\n})(Hash || (Hash = {}));\n//# sourceMappingURL=Hash.js.map","import * as Base64 from \"../Base64\";\nimport { Base } from \"./Base\";\nexport class Symmetric extends Base {\n async verifyBinary(data, signature) {\n return Base64.encode(await this.signBinary(data), \"url\") == Base64.encode(signature, \"url\");\n }\n}\n//# sourceMappingURL=Symmetric.js.map","import * as Base64 from \"../Base64\";\nimport { crypto } from \"../crypto\";\nimport { Symmetric } from \"./Symmetric\";\nexport class HMAC extends Symmetric {\n constructor(hash, key) {\n super();\n this.hash = hash;\n if (typeof key == \"string\")\n key = Base64.decode(key, \"url\");\n this.key = crypto.subtle.importKey(\"raw\", key, { name: \"HMAC\", hash: { name: hash } }, false, [\"sign\", \"verify\"]);\n }\n async signBinary(data) {\n return new Uint8Array(await crypto.subtle.sign(\"HMAC\", await this.key, data));\n }\n}\n//# sourceMappingURL=HMAC.js.map","import { Symmetric } from \"./Symmetric\";\nexport class None extends Symmetric {\n signBinary(_) {\n return Promise.resolve(new Uint8Array(0));\n }\n}\n//# sourceMappingURL=None.js.map","import * as Base64 from \"../Base64\";\nimport { crypto } from \"../crypto\";\nimport { Base } from \"./Base\";\nexport class Rsa extends Base {\n constructor(variant, publicKey, privateKey) {\n super();\n this.variant = variant;\n this.publicKey = publicKey;\n this.privateKey = privateKey;\n }\n get parameters() {\n return getParameters(this.variant);\n }\n async signBinary(data) {\n return this.privateKey\n ? new Uint8Array(await crypto.subtle.sign(this.parameters, await this.privateKey, data))\n : new Uint8Array(0);\n }\n async verifyBinary(data, signature) {\n return !!this.publicKey && crypto.subtle.verify(this.parameters, await this.publicKey, signature, data);\n }\n async export(type, format = \"base64\") {\n const key = await (type == \"private\" ? this.privateKey : this.publicKey);\n let result;\n if (key)\n switch (format) {\n case \"jwk\":\n result = await crypto.subtle.exportKey(\"jwk\", key);\n break;\n case \"buffer\":\n result = await crypto.subtle.exportKey(type == \"private\" ? \"pkcs8\" : \"spki\", key);\n break;\n case \"base64\":\n {\n const data = await this.export(type, \"buffer\");\n result = data && Base64.encode(new Uint8Array(data), \"standard\", \"=\");\n }\n break;\n case \"pem\":\n {\n const data = await this.export(type, \"base64\");\n result =\n data &&\n [\n `-----BEGIN ${type.toUpperCase()} KEY-----`,\n ...slice(data, 64),\n `-----END ${type.toUpperCase()} KEY-----`,\n ].join(\"\\n\");\n }\n break;\n }\n return result;\n }\n static import(variant, hash, publicKey, privateKey) {\n return new Rsa(variant, Rsa.importHelper(variant, hash, \"public\", publicKey), Rsa.importHelper(variant, hash, \"private\", privateKey));\n }\n static importHelper(variant, hash, type, key) {\n if (typeof key == \"string\")\n key = Base64.decode(key);\n return (key &&\n crypto.subtle.importKey(type == \"private\" ? \"pkcs8\" : \"spki\", key, { name: getParameters(variant).name, hash: { name: hash } }, true, [type == \"private\" ? \"sign\" : \"verify\"]));\n }\n static generate(variant, hash, length) {\n const keyPair = crypto.subtle.generateKey({\n name: getParameters(variant).name,\n modulusLength: length,\n publicExponent: new Uint8Array([1, 0, 1]),\n hash,\n }, true, [\"sign\", \"verify\"]);\n return new Rsa(variant, keyPair.then(value => value.publicKey), keyPair.then(value => value.privateKey));\n }\n}\nfunction* slice(data, length) {\n let start = 0;\n while (start < data.length)\n yield data.slice(start, (start = start + length));\n}\nfunction getParameters(variant) {\n return variant == \"PSS\" ? { name: \"RSA-PSS\", saltLength: 128 } : { name: \"RSASSA-PKCS1-v1_5\" };\n}\n//# sourceMappingURL=Rsa.js.map","import { Algorithm as SignerAlgorithm } from \"./Algorithm\";\nimport { ECDSA } from \"./ECDSA\";\nimport { Hash as SignerHash } from \"./Hash\";\nimport { HMAC } from \"./HMAC\";\nimport { None } from \"./None\";\nimport { Rsa } from \"./Rsa\";\nexport var Signer;\n(function (Signer) {\n let Algorithm;\n (function (Algorithm) {\n Algorithm.is = SignerAlgorithm.is;\n })(Algorithm = Signer.Algorithm || (Signer.Algorithm = {}));\n let Hash;\n (function (Hash) {\n Hash.is = SignerHash.is;\n })(Hash = Signer.Hash || (Signer.Hash = {}));\n function generate(algorithm, hash, length) {\n let result;\n switch (algorithm) {\n case \"RSA\":\n result = Rsa.generate(\"SSA\", hash, length);\n break;\n case \"RSA-PSS\":\n result = Rsa.generate(\"PSS\", hash, length);\n break;\n }\n return result;\n }\n Signer.generate = generate;\n function create(algorithm, hash, ...keys) {\n let result;\n if (hash != undefined)\n switch (algorithm) {\n case \"HMAC\":\n result = new HMAC(hash, keys[0]);\n break;\n case \"RSA\":\n result = Rsa.import(\"SSA\", hash, keys[0], keys[1]);\n break;\n case \"RSA-PSS\":\n result = Rsa.import(\"PSS\", hash, keys[0], keys[1]);\n break;\n case \"ECDSA\":\n result = new ECDSA(hash, keys[0], keys[1]);\n break;\n }\n else if (algorithm == \"None\")\n result = new None();\n return result;\n }\n Signer.create = create;\n})(Signer || (Signer = {}));\n//# sourceMappingURL=index.js.map","if (!Uint8Array.__proto__.from) {\n ;\n (() => {\n Uint8Array.__proto__.from = function (object, theFunction, thisObject) {\n const typedArrayClass = Uint8Array.__proto__;\n if (typeof this !== \"function\") {\n throw new TypeError(\"# is not a constructor\");\n }\n if (this.__proto__ !== typedArrayClass) {\n throw new TypeError(\"this is not a typed array.\");\n }\n theFunction = theFunction || (element => element);\n if (typeof theFunction !== \"function\") {\n throw new TypeError(\"specified argument is not a function\");\n }\n object = Object(object);\n if (!object.length) {\n return new this(0);\n }\n let copyData = [];\n for (const data of copyData) {\n copyData.push(data);\n }\n copyData = copyData.map(theFunction, thisObject);\n const typedArray = new this(copyData.length);\n for (let i = 0; i < typedArray.length; i++) {\n typedArray[i] = copyData[i];\n }\n return typedArray;\n };\n })();\n}\n//# sourceMappingURL=TypedArray-from.js.map","export var Converter;\n(function (Converter) {\n function is(value) {\n return (typeof value == \"object\" &&\n Object.values(value).every(v => v &&\n typeof v == \"object\" &&\n \"forward\" in v &&\n typeof v.forward == \"function\" &&\n \"backward\" in v &&\n typeof v.backward == \"function\"));\n }\n Converter.is = is;\n})(Converter || (Converter = {}));\n//# sourceMappingURL=Converter.js.map","export var Crypto;\n(function (Crypto) {\n function is(value) {\n return Array.isArray(value) && value.every(v => typeof v == \"string\");\n }\n Crypto.is = is;\n})(Crypto || (Crypto = {}));\n//# sourceMappingURL=Crypto.js.map","export var Renamer;\n(function (Renamer) {\n function is(value) {\n return typeof value == \"object\" && Object.entries(value).every(thing => typeof thing[1] == \"string\");\n }\n Renamer.is = is;\n})(Renamer || (Renamer = {}));\n//# sourceMappingURL=Renamer.js.map","import { Converter as CConverter } from \"./Converter\";\nimport { Crypto as CCrypto } from \"./Crypto\";\nimport { Renamer as CRenamer } from \"./Renamer\";\nexport var Creatable;\n(function (Creatable) {\n function is(value) {\n return CCrypto.is(value) || CConverter.is(value) || CRenamer.is(value);\n }\n Creatable.is = is;\n let Converter;\n (function (Converter) {\n Converter.is = CConverter.is;\n })(Converter = Creatable.Converter || (Creatable.Converter = {}));\n let Crypto;\n (function (Crypto) {\n Crypto.is = CCrypto.is;\n })(Crypto = Creatable.Crypto || (Creatable.Crypto = {}));\n let Renamer;\n (function (Renamer) {\n Renamer.is = CRenamer.is;\n })(Renamer = Creatable.Renamer || (Creatable.Renamer = {}));\n})(Creatable || (Creatable = {}));\n//# sourceMappingURL=index.js.map","export var Transformer;\n(function (Transformer) {\n function is(value) {\n return typeof value == \"object\" && typeof value.apply == \"function\" && typeof value.reverse == \"function\";\n }\n Transformer.is = is;\n function create(transformer) {\n return {\n apply: transformer.apply ? transformer.apply : (v) => v,\n reverse: transformer.reverse ? transformer.reverse : (v) => v,\n };\n }\n Transformer.create = create;\n})(Transformer || (Transformer = {}));\n//# sourceMappingURL=Transformer.js.map","export var Asymmetric;\n(function (Asymmetric) {\n function is(value) {\n return (value == \"RS256\" ||\n value == \"RS384\" ||\n value == \"RS512\" ||\n value == \"ES256\" ||\n value == \"ES384\" ||\n value == \"ES512\" ||\n value == \"PS256\" ||\n value == \"PS384\" ||\n value == \"PS512\");\n }\n Asymmetric.is = is;\n})(Asymmetric || (Asymmetric = {}));\n//# sourceMappingURL=Asymmetric.js.map","export var Symmetric;\n(function (Symmetric) {\n function is(value) {\n return value == \"HS256\" || value == \"HS384\" || value == \"HS512\";\n }\n Symmetric.is = is;\n})(Symmetric || (Symmetric = {}));\n//# sourceMappingURL=Symmetric.js.map","import { Asymmetric as NameAsymmetric } from \"./Asymmetric\";\nimport { Symmetric as NameSymmetric } from \"./Symmetric\";\nexport var Name;\n(function (Name) {\n function is(value) {\n return value == \"none\" || NameSymmetric.is(value) || NameAsymmetric.is(value);\n }\n Name.is = is;\n let Symmetric;\n (function (Symmetric) {\n Symmetric.is = NameSymmetric.is;\n })(Symmetric = Name.Symmetric || (Name.Symmetric = {}));\n let Asymmetric;\n (function (Asymmetric) {\n Asymmetric.is = NameAsymmetric.is;\n })(Asymmetric = Name.Asymmetric || (Name.Asymmetric = {}));\n})(Name || (Name = {}));\n//# sourceMappingURL=index.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { Signer } from \"cryptly\";\nimport { Name as AlgorithmName } from \"./Name\";\nexport class Algorithm {\n constructor(name, signer) {\n this.name = name;\n this.signer = signer;\n }\n sign(data) {\n return __awaiter(this, void 0, void 0, function* () {\n return typeof data == \"string\" ? this.signer.sign(data) : this.signer.sign(data);\n });\n }\n verify(data, signature) {\n return this.signer.verify(data, signature);\n }\n static create(name, ...keys) {\n let result;\n switch (name) {\n case \"ES256\":\n result = Signer.create(\"ECDSA\", \"SHA-256\", keys[0], keys[1]);\n break;\n case \"ES384\":\n result = Signer.create(\"ECDSA\", \"SHA-384\", keys[0], keys[1]);\n break;\n case \"ES512\":\n result = Signer.create(\"ECDSA\", \"SHA-512\", keys[0], keys[1]);\n break;\n case \"PS256\":\n result = Signer.create(\"RSA-PSS\", \"SHA-256\", keys[0], keys[1]);\n break;\n case \"PS384\":\n result = Signer.create(\"RSA-PSS\", \"SHA-384\", keys[0], keys[1]);\n break;\n case \"PS512\":\n result = Signer.create(\"RSA-PSS\", \"SHA-512\", keys[0], keys[1]);\n break;\n case \"HS256\":\n result = Signer.create(\"HMAC\", \"SHA-256\", keys[0]);\n break;\n case \"HS384\":\n result = Signer.create(\"HMAC\", \"SHA-384\", keys[0]);\n break;\n case \"HS512\":\n result = Signer.create(\"HMAC\", \"SHA-512\", keys[0]);\n break;\n case \"RS256\":\n result = Signer.create(\"RSA\", \"SHA-256\", keys[0], keys[1]);\n break;\n case \"RS384\":\n result = Signer.create(\"RSA\", \"SHA-384\", keys[0], keys[1]);\n break;\n case \"RS512\":\n result = Signer.create(\"RSA\", \"SHA-512\", keys[0], keys[1]);\n break;\n case \"none\":\n result = Signer.create(\"None\");\n break;\n }\n return result && new Algorithm(name, result);\n }\n static none() {\n return Algorithm.create(\"none\");\n }\n static HS256(key) {\n return Algorithm.create(\"HS256\", key);\n }\n static HS384(key) {\n return Algorithm.create(\"HS384\", key);\n }\n static HS512(key) {\n return Algorithm.create(\"HS512\", key);\n }\n static RS256(publicKey, privateKey) {\n return Algorithm.create(\"RS256\", publicKey, privateKey);\n }\n static RS384(publicKey, privateKey) {\n return Algorithm.create(\"RS384\", publicKey, privateKey);\n }\n static RS512(publicKey, privateKey) {\n return Algorithm.create(\"RS512\", publicKey, privateKey);\n }\n static ES256(publicKey, privateKey) {\n return Algorithm.create(\"ES256\", publicKey, privateKey);\n }\n static ES384(publicKey, privateKey) {\n return Algorithm.create(\"ES384\", publicKey, privateKey);\n }\n static ES512(publicKey, privateKey) {\n return Algorithm.create(\"ES512\", publicKey, privateKey);\n }\n static PS256(publicKey, privateKey) {\n return Algorithm.create(\"PS256\", publicKey, privateKey);\n }\n static PS384(publicKey, privateKey) {\n return Algorithm.create(\"PS384\", publicKey, privateKey);\n }\n static PS512(publicKey, privateKey) {\n return Algorithm.create(\"PS512\", publicKey, privateKey);\n }\n}\n(function (Algorithm) {\n let Name;\n (function (Name) {\n Name.is = AlgorithmName.is;\n let Symmetric;\n (function (Symmetric) {\n Symmetric.is = AlgorithmName.Symmetric.is;\n })(Symmetric = Name.Symmetric || (Name.Symmetric = {}));\n let Asymmetric;\n (function (Asymmetric) {\n Asymmetric.is = AlgorithmName.Asymmetric.is;\n })(Asymmetric = Name.Asymmetric || (Name.Asymmetric = {}));\n })(Name = Algorithm.Name || (Algorithm.Name = {}));\n})(Algorithm || (Algorithm = {}));\n//# sourceMappingURL=index.js.map","export var Token;\n(function (Token) {\n function is(value) {\n return typeof value == \"string\" && /^[A-Za-z0-9-_=]+\\.[A-Za-z0-9-_=]+\\.?[A-Za-z0-9-_.+/=]*$/.test(value);\n }\n Token.is = is;\n})(Token || (Token = {}));\n//# sourceMappingURL=Token.js.map","export interface Message<T> {\n\tdestination: string\n\tcontent: T\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport class Message<T> {\n\tstatic is(value: Message<any> | any): value is Message<any> {\n\t\treturn typeof value == \"object\" && typeof value.destination == \"string\" && value.content != undefined\n\t}\n\tstatic send(message: Message<any>, context?: Window): void\n\tstatic send(destination: string, content: any, context?: Window): void\n\tstatic send(message: string | Message<any>, content?: any | Window, context?: Window): void {\n\t\tif (Message.is(message) && context == undefined) {\n\t\t\tcontext = content as Window\n\t\t\tif (!context)\n\t\t\t\tcontext = window\n\t\t\tconst destination = message.destination.split(\"#\", 2)\n\t\t\tmessage = { destination: destination[1], content: message.content }\n\t\t\tcontext.postMessage(message, destination[0])\n\t\t} else if (typeof context != \"string\") {\n\t\t\tif (!context)\n\t\t\t\tcontext = window\n\t\t\tif (typeof message == \"string\")\n\t\t\t\tMessage.send({ destination: message, content }, context)\n\t\t}\n\t}\n\tstatic listen(origin: string, handle: (destination: string, content: any) => void, context?: Window): void {\n\t\tconst splitted = origin.split(\"#\", 2)\n\t\tlet destination = \"\"\n\t\tif (splitted.length == 2) {\n\t\t\torigin = splitted[0]\n\t\t\tdestination = splitted[1]\n\t\t}\n\t\t;(context || window).addEventListener(\"message\", (e: MessageEvent) => {\n\t\t\tconst message = e.data\n\t\t\tif (\n\t\t\t\tMessage.is(message) &&\n\t\t\t\t(origin == \"*\" || e.origin == origin) &&\n\t\t\t\t(destination == \"\" || message.destination == destination)\n\t\t\t)\n\t\t\t\thandle(message.destination, message.content)\n\t\t})\n\t}\n}\n","export interface Trigger {\n\tname: string\n\tvalue?: any\n}\nexport class Trigger {\n\tstatic is(value: Trigger | any): value is Trigger {\n\t\treturn typeof value == \"object\" && typeof value.name == \"string\"\n\t}\n}\n","export type WithListenable<T extends Record<string, any>> = T & Listenable<T>\n\nexport type CanBeListenable = Record<string, any>\n\nexport interface HasListenable<T extends CanBeListenable> {\n\treadonly listenable: WithListenable<T>\n}\n\nexport class Listenable<T extends CanBeListenable> {\n\t#listeners: Listeners<ListenableProperties<T>> = {}\n\tlisten<K extends keyof ListenableProperties<T>>(\n\t\tthis: T & Listenable<T>,\n\t\tproperty: K,\n\t\tlistener: Listener<T[K]>\n\t): void {\n\t\tthis.#listeners[property]?.push(listener) ?? (this.#listeners[property] = [listener])\n\t\tlistener(this[property])\n\t}\n\tunlisten<K extends keyof ListenableProperties<T>>(property: K, listener: Listener<T[K]>): void {\n\t\tconst index = this.#listeners[property]?.indexOf(listener)\n\t\tindex != undefined && index >= 0 && this.#listeners[property]?.splice(index, 1)\n\t}\n\n\tstatic load<T extends HasListenable<CanBeListenable>>(backend: T): WithListenable<T> {\n\t\tconst result = backend.listenable\n\n\t\treturn Object.defineProperties(result, getProperties(backend)) as WithListenable<T>\n\n\t\tfunction getProperties(backend: any) {\n\t\t\treturn Object.fromEntries(\n\t\t\t\t(\n\t\t\t\t\tObject.entries({\n\t\t\t\t\t\t...Object.getOwnPropertyDescriptors(backend),\n\t\t\t\t\t\t...Object.getOwnPropertyDescriptors(Object.getPrototypeOf(backend)),\n\t\t\t\t\t}) as [keyof T, PropertyDescriptor][]\n\t\t\t\t).map(([name, descriptor]) => [\n\t\t\t\t\tname,\n\t\t\t\t\ttypeof descriptor.value == \"function\"\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name].bind(backend)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: descriptor.writable || descriptor.set\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tset(value: any) {\n\t\t\t\t\t\t\t\t\tbackend[name] = value\n\t\t\t\t\t\t\t\t\tresult.#listeners[name]?.forEach(listener => listener(value))\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t },\n\t\t\t\t])\n\t\t\t)\n\t\t}\n\t}\n}\ntype ListenableProperties<T> = {\n\t// eslint-disable-next-line @typescript-eslint/ban-types\n\t[P in keyof T as T[P] extends Function ? never : P]: T[P]\n}\n\nexport type Listener<V> = (value: V) => void\nexport type Listeners<T> = {\n\t[K in keyof T]?: Listener<T[K]>[]\n}\n","type Value = string | number | boolean | Blob | undefined\nexport type Data = { [name: string]: Data | Value }\n\nexport namespace Data {\n\texport function set(data: Data, [head, ...tail]: string[], value: Value): Data {\n\t\tconst current = data[head ?? \"\"]\n\t\treturn {\n\t\t\t...data,\n\t\t\t[head ?? \"\"]: !tail.length\n\t\t\t\t? value\n\t\t\t\t: set(typeof current == \"object\" && !(current instanceof Blob) ? current : {}, tail, value),\n\t\t}\n\t}\n\texport function deepen(data: Record<string, Value>): Data {\n\t\treturn Object.entries(data).reduce((result, [name, value]) => set(result, name.split(\".\"), value), {})\n\t}\n}\n"],"mappings":"AAAO,MAAMA,EACTC,cACIC,KAAKC,SAAW,OACxB,CACIC,OAAOC,GACH,OAAOC,WAAWC,KAAKC,SAASC,mBAAmBJ,IAAOK,MAAM,KAAKC,GAAKA,EAAEC,WAAW,IAC/F,ECLA,MAAMC,EAAS,CACXC,SAAU,mEACVC,IAAK,oEAEF,SAASX,EAAOY,EAAOF,EAAW,WAAYG,EAAU,IAC3D,UAAWD,GAAS,SAChBA,GAAQ,IAAIhB,GAAcI,OAAOY,GACrC,MAAME,EAAQL,EAAOC,GACrB,MAAMK,EAAS,GACf,IAAK,IAAIR,EAAI,EAAGA,EAAIK,EAAMI,OAAQT,GAAK,EAAG,CACtC,MAAMU,EAAKL,EAAML,GACjB,MAAMW,EAAKX,EAAI,EAAIK,EAAMI,OAASJ,EAAML,EAAI,GAAK,EACjD,MAAMY,EAAKZ,EAAI,EAAIK,EAAMI,OAASJ,EAAML,EAAI,GAAK,EACjDQ,EAAOK,KAAKN,EAAMG,IAAO,IACzBF,EAAOK,KAAKN,GAAQG,EAAK,IAAM,EAAMC,IAAO,IAC5CH,EAAOK,KAAKN,GAAQI,EAAK,KAAO,EAAMC,IAAO,IAC7CJ,E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