smoothly 1.0.0-alpha.21 → 1.0.0-alpha.210
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/{Listenable-63ea2d90.js → Data-ae713814.js} +523 -6
- package/dist/cjs/Data-ae713814.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-49a534df.js +6118 -0
- package/dist/cjs/getLanguage-49a534df.js.map +1 -0
- package/dist/cjs/{index-8adc5c1b.js → index-43af753b.js} +55 -2
- package/dist/cjs/index-43af753b.js.map +1 -0
- package/dist/cjs/index.cjs.js +22 -17
- 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/{Notice-88ba4c70.js → redirect-2e5d4524.js} +11 -2
- package/dist/cjs/redirect-2e5d4524.js.map +1 -0
- 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 +10872 -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 +26 -0
- package/dist/cjs/smoothly-display-date-time.cjs.entry.js.map +1 -0
- package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +6 -6
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly.cjs.js +4 -3
- package/dist/cjs/smoothly.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +37 -15
- package/dist/collection/components/Button.js +16 -2
- package/dist/collection/components/Button.js.map +1 -1
- package/dist/collection/components/accordion/index.js +32 -12
- package/dist/collection/components/accordion/index.js.map +1 -1
- package/dist/collection/components/accordion-item/index.js +18 -25
- package/dist/collection/components/accordion-item/index.js.map +1 -1
- package/dist/collection/components/app/index.js +99 -29
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/room/index.js +134 -25
- package/dist/collection/components/app/room/index.js.map +1 -1
- package/dist/collection/components/app/room/style.css +39 -10
- package/dist/collection/components/app/style.css +104 -39
- package/dist/collection/components/app-demo/index.js +1 -1
- package/dist/collection/components/app-demo/index.js.map +1 -1
- package/dist/collection/components/backtotop/index.js +3 -3
- package/dist/collection/components/backtotop/index.js.map +1 -1
- package/dist/collection/components/burger/index.js +60 -14
- package/dist/collection/components/burger/index.js.map +1 -1
- package/dist/collection/components/burger/style.css +2 -2
- package/dist/collection/components/button/index.js +10 -23
- package/dist/collection/components/button/index.js.map +1 -1
- package/dist/collection/components/button/style.css +33 -35
- package/dist/collection/components/button-demo/index.js +4 -2
- 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 +82 -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/country/index.js +1 -1
- package/dist/collection/components/display/index.js +6 -3
- package/dist/collection/components/display/index.js.map +1 -1
- package/dist/collection/components/display-amount/index.js +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 +64 -302
- package/dist/collection/components/filter/input/index.js.map +1 -1
- package/dist/collection/components/filter/picker/index.js +174 -0
- package/dist/collection/components/filter/picker/index.js.map +1 -0
- package/dist/collection/components/filter/picker/style.css +7 -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 +302 -35
- package/dist/collection/components/form/index.js.map +1 -1
- package/dist/collection/components/form/style.css +11 -17
- package/dist/collection/components/icon/index.js +29 -38
- package/dist/collection/components/icon/index.js.map +1 -1
- package/dist/collection/components/icon-demo/index.js +1 -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/Clearable.js.map +1 -0
- package/dist/collection/components/input/Editable.js +18 -0
- package/dist/collection/components/input/Editable.js.map +1 -0
- package/dist/collection/components/input/Input.js +23 -0
- package/dist/collection/components/input/Input.js.map +1 -0
- package/dist/collection/components/input/Looks.js +8 -0
- package/dist/collection/components/input/Looks.js.map +1 -0
- package/dist/collection/components/input/Submittable.js +8 -0
- package/dist/collection/components/input/Submittable.js.map +1 -0
- package/dist/collection/components/input/checkbox/index.js +235 -0
- package/dist/collection/components/input/checkbox/index.js.map +1 -0
- package/dist/collection/components/input/checkbox/style.css +31 -0
- package/dist/collection/components/input/clear/index.js +242 -0
- package/dist/collection/components/input/clear/index.js.map +1 -0
- package/dist/collection/components/input/clear/style.css +256 -0
- 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-range → input/date}/index.js +153 -99
- package/dist/collection/components/input/date/index.js.map +1 -0
- package/dist/collection/components/input/date/range/index.js +443 -0
- package/dist/collection/components/input/date/range/index.js.map +1 -0
- package/dist/collection/components/input/date/range/style.css +94 -0
- package/dist/collection/components/input/date/style.css +83 -0
- package/dist/collection/components/input/demo/index.js +47 -0
- package/dist/collection/components/input/demo/index.js.map +1 -0
- package/dist/collection/components/input/demo/style.css +15 -0
- package/dist/collection/components/input/edit/index.js +231 -0
- package/dist/collection/components/input/edit/index.js.map +1 -0
- package/dist/collection/components/input/edit/style.css +239 -0
- package/dist/collection/components/input/file/index.js +305 -0
- package/dist/collection/components/input/file/index.js.map +1 -0
- package/dist/collection/components/input/file/style.css +107 -0
- package/dist/collection/components/input/index.js +329 -104
- package/dist/collection/components/input/index.js.map +1 -1
- package/dist/collection/components/{input-month → input/month}/index.js +8 -8
- package/dist/collection/components/input/month/index.js.map +1 -0
- 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 +404 -0
- package/dist/collection/components/input/radio/index.js.map +1 -0
- package/dist/collection/components/input/radio/item/index.js +150 -0
- 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 +305 -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 +241 -0
- package/dist/collection/components/input/reset/index.js.map +1 -0
- package/dist/collection/components/input/reset/style.css +259 -0
- package/dist/collection/components/input/select/index.js +452 -0
- package/dist/collection/components/input/select/index.js.map +1 -0
- package/dist/collection/components/input/select/style.css +104 -0
- package/dist/collection/components/input/style.css +47 -10
- package/dist/collection/components/input/submit/index.js +232 -0
- package/dist/collection/components/input/submit/index.js.map +1 -0
- package/dist/collection/components/input/submit/style.css +236 -0
- package/dist/collection/components/item/index.js +5 -5
- package/dist/collection/components/item/index.js.map +1 -1
- 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 +45 -8
- package/dist/collection/components/notification/index.js.map +1 -1
- package/dist/collection/components/notification/style.css +25 -1
- package/dist/collection/components/notifier/style.css +1 -3
- package/dist/collection/components/picker/demo/index.js +91 -0
- package/dist/collection/components/picker/demo/index.js.map +1 -0
- package/dist/collection/components/picker/demo/style.css +30 -0
- package/dist/collection/components/picker/index.js +197 -396
- package/dist/collection/components/picker/index.js.map +1 -1
- package/dist/collection/components/picker/menu/index.js +429 -0
- package/dist/collection/components/picker/menu/index.js.map +1 -0
- package/dist/collection/components/picker/menu/style.css +44 -0
- package/dist/collection/components/picker/option/index.js +298 -0
- package/dist/collection/components/picker/option/index.js.map +1 -0
- package/dist/collection/components/picker/option/style.css +30 -0
- package/dist/collection/components/picker/slot-elements/index.js +109 -0
- package/dist/collection/components/picker/slot-elements/index.js.map +1 -0
- package/dist/collection/components/picker/slot-elements/style.css +3 -0
- package/dist/collection/components/picker/slotted-elements/index.js +84 -0
- package/dist/collection/components/picker/slotted-elements/index.js.map +1 -0
- package/dist/collection/components/picker/slotted-elements/style.css +3 -0
- package/dist/collection/components/picker/style.css +76 -136
- 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/select-demo/index.js +0 -87
- package/dist/collection/components/select-demo/index.js.map +1 -1
- package/dist/collection/components/spinner/style.css +1 -0
- package/dist/collection/components/submit/index.js +64 -5
- package/dist/collection/components/submit/index.js.map +1 -1
- package/dist/collection/components/submit/style.css +226 -0
- package/dist/collection/components/summary/index.js +46 -4
- package/dist/collection/components/summary/index.js.map +1 -1
- package/dist/collection/components/summary/style.css +25 -16
- package/dist/collection/components/svg/style.css +2 -2
- package/dist/collection/components/table/cell/index.js +1 -1
- package/dist/collection/components/table/cell/index.js.map +1 -1
- package/dist/collection/components/table/cell/style.css +18 -11
- package/dist/collection/components/table/demo/filtered/Root.js.map +1 -1
- package/dist/collection/components/table/demo/filtered/index.js +18 -18
- 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 -9
- package/dist/collection/components/table/demo/index.js.map +1 -1
- package/dist/collection/components/table/demo/style.css +7 -0
- package/dist/collection/components/table/demo/testing/data.js +28 -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 +14 -33
- package/dist/collection/components/table/expandable/cell/index.js.map +1 -1
- package/dist/collection/components/table/expandable/cell/style.css +32 -25
- package/dist/collection/components/table/expandable/row/index.js +9 -51
- package/dist/collection/components/table/expandable/row/index.js.map +1 -1
- package/dist/collection/components/table/expandable/row/style.css +32 -29
- 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 +55 -12
- package/dist/collection/components/table/index.js.map +1 -1
- package/dist/collection/components/table/row/index.js +37 -5
- package/dist/collection/components/table/row/index.js.map +1 -1
- package/dist/collection/components/table/row/style.css +4 -1
- package/dist/collection/components/table/style.css +0 -2
- 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/components/trigger-source/index.js +3 -3
- package/dist/collection/components/trigger-source/index.js.map +1 -1
- 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/index.js +2 -2
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/model/Color.js +18 -1
- package/dist/collection/model/Color.js.map +1 -1
- package/dist/collection/{components/form → model}/Data.js +8 -1
- package/dist/collection/model/Data.js.map +1 -0
- package/dist/collection/model/Icon.js +23 -0
- package/dist/collection/model/Icon.js.map +1 -0
- package/dist/collection/model/Listenable.js +17 -4
- package/dist/collection/model/Listenable.js.map +1 -1
- package/dist/collection/model/Notice.js +1 -1
- package/dist/collection/model/Notice.js.map +1 -1
- package/dist/collection/model/Option.js.map +1 -1
- package/dist/collection/model/index.js +4 -0
- package/dist/collection/model/index.js.map +1 -1
- package/dist/collection/model/redirect.js +8 -0
- package/dist/collection/model/redirect.js.map +1 -0
- package/dist/collection/smoothly.js +3 -0
- package/dist/collection/smoothly.js.map +1 -0
- package/dist/custom-elements/index.d.ts +176 -50
- package/dist/custom-elements/index.js +13369 -29834
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/{Listenable-fb6f4723.js → Data-0390d600.js} +518 -7
- package/dist/esm/Data-0390d600.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-1e9ec036.js +6116 -0
- package/dist/esm/getLanguage-1e9ec036.js.map +1 -0
- package/dist/esm/{index-6ac4212d.js → index-258984d3.js} +55 -2
- package/dist/esm/index-258984d3.js.map +1 -0
- package/dist/esm/index.js +20 -5
- 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/{Notice-1fa17794.js → redirect-b0f87e88.js} +11 -3
- package/dist/esm/redirect-b0f87e88.js.map +1 -0
- 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 +10789 -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 +22 -0
- package/dist/esm/smoothly-display-date-time.entry.js.map +1 -0
- package/dist/esm/smoothly-google-font.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
- package/dist/esm/smoothly-trigger-source.entry.js +4 -4
- package/dist/esm/smoothly-trigger-source.entry.js.map +1 -1
- 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-04fb45e1.entry.js → p-12182a73.entry.js} +2 -2
- package/dist/smoothly/{p-5629e452.entry.js → p-127dcc56.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-312ef066.js +2 -0
- package/dist/smoothly/p-312ef066.js.map +1 -0
- package/dist/smoothly/p-36a1aa35.entry.js +2 -0
- package/dist/smoothly/p-36a1aa35.entry.js.map +1 -0
- package/dist/smoothly/p-47151a53.entry.js +2 -0
- package/dist/smoothly/p-5e387578.js +3 -0
- package/dist/smoothly/p-5e387578.js.map +1 -0
- package/dist/smoothly/{p-0fec28cc.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-ae467192.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-9b828bde.js +2 -0
- package/dist/smoothly/p-9b828bde.js.map +1 -0
- package/dist/smoothly/p-a0ebd646.entry.js +2 -0
- package/dist/smoothly/p-a0ebd646.entry.js.map +1 -0
- package/dist/smoothly/{p-b3eef141.entry.js → p-b3eac6af.entry.js} +2 -2
- package/dist/smoothly/p-c833c402.js +2 -0
- package/dist/smoothly/p-c833c402.js.map +1 -0
- package/dist/smoothly/{p-3a6873ed.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-eef1c80b.entry.js +2 -0
- package/dist/smoothly/p-eef1c80b.entry.js.map +1 -0
- 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/accordion/index.d.ts +1 -1
- package/dist/types/components/accordion-item/index.d.ts +5 -4
- package/dist/types/components/app/index.d.ts +23 -10
- package/dist/types/components/app/room/index.d.ts +21 -7
- package/dist/types/components/app-demo/index.d.ts +1 -0
- package/dist/types/components/backtotop/index.d.ts +1 -1
- package/dist/types/components/burger/index.d.ts +7 -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 +7 -3
- 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 +15 -23
- package/dist/types/components/filter/picker/index.d.ts +22 -0
- package/dist/types/components/filter/toggle/index.d.ts +22 -0
- package/dist/types/components/form/index.d.ts +23 -7
- package/dist/types/components/icon/index.d.ts +3 -9
- package/dist/types/components/input/Editable.d.ts +20 -0
- package/dist/types/components/input/Input.d.ts +22 -0
- package/dist/types/components/input/Looks.d.ts +7 -0
- package/dist/types/components/input/Submittable.d.ts +6 -0
- package/dist/types/components/input/checkbox/index.d.ts +20 -0
- package/dist/types/components/input/clear/index.d.ts +17 -0
- package/dist/types/components/input/color/index.d.ts +24 -0
- package/dist/types/components/input/date/index.d.ts +28 -0
- package/dist/types/components/input/date/range/index.d.ts +33 -0
- package/dist/types/components/input/demo/index.d.ts +6 -0
- package/dist/types/components/input/edit/index.d.ts +17 -0
- package/dist/types/components/input/file/index.d.ts +24 -0
- package/dist/types/components/input/index.d.ts +30 -11
- package/dist/types/components/{input-month → input/month}/index.d.ts +2 -2
- package/dist/types/components/input/radio/Selected.d.ts +10 -0
- package/dist/types/components/input/radio/index.d.ts +35 -0
- package/dist/types/components/input/radio/item/index.d.ts +15 -0
- package/dist/types/components/input/range/index.d.ts +24 -0
- package/dist/types/components/input/reset/index.d.ts +18 -0
- package/dist/types/components/input/select/index.d.ts +36 -0
- package/dist/types/components/input/submit/index.d.ts +17 -0
- package/dist/types/components/item/index.d.ts +1 -1
- 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/notification/index.d.ts +3 -1
- package/dist/types/components/picker/demo/index.d.ts +22 -0
- package/dist/types/components/picker/index.d.ts +33 -45
- package/dist/types/components/picker/menu/index.d.ts +54 -0
- package/dist/types/components/picker/option/index.d.ts +23 -0
- package/dist/types/components/picker/slot-elements/index.d.ts +15 -0
- package/dist/types/components/picker/slotted-elements/index.d.ts +8 -0
- package/dist/types/components/popup/index.d.ts +1 -1
- package/dist/types/components/select-demo/index.d.ts +0 -9
- package/dist/types/components/submit/index.d.ts +6 -1
- package/dist/types/components/summary/index.d.ts +4 -0
- package/dist/types/components/table/demo/filtered/Root.d.ts +1 -0
- package/dist/types/components/table/demo/filtered/index.d.ts +7 -7
- package/dist/types/components/table/demo/index.d.ts +1 -1
- package/dist/types/components/table/demo/testing/data.d.ts +5 -0
- package/dist/types/components/table/demo/testing/index.d.ts +4 -0
- package/dist/types/components/table/expandable/cell/index.d.ts +4 -5
- package/dist/types/components/table/expandable/row/index.d.ts +3 -8
- package/dist/types/components/table/footer/index.d.ts +3 -0
- package/dist/types/components/table/index.d.ts +6 -3
- package/dist/types/components/table/row/index.d.ts +3 -1
- 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/trigger-source/index.d.ts +1 -1
- package/dist/types/components.d.ts +912 -347
- package/dist/types/global/Observers.d.ts +8 -0
- package/dist/types/global/index.d.ts +4 -0
- package/dist/types/index.d.ts +1 -3
- package/dist/types/model/Color.d.ts +7 -1
- package/dist/types/{components/form → 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/Notice.d.ts +1 -1
- package/dist/types/model/Option.d.ts +24 -6
- package/dist/types/model/index.d.ts +3 -0
- package/dist/types/model/redirect.d.ts +1 -0
- package/dist/types/smoothly.d.ts +3 -0
- package/package.json +7 -6
- package/dist/cjs/Listenable-63ea2d90.js.map +0 -1
- package/dist/cjs/Notice-88ba4c70.js.map +0 -1
- package/dist/cjs/getLanguage-4f0a45d5.js +0 -12227
- package/dist/cjs/getLanguage-4f0a45d5.js.map +0 -1
- package/dist/cjs/index-8adc5c1b.js.map +0 -1
- package/dist/cjs/index-d16d46f4.js +0 -1224
- package/dist/cjs/index-d16d46f4.js.map +0 -1
- package/dist/cjs/smoothly-accordion_62.cjs.entry.js +0 -28199
- package/dist/cjs/smoothly-accordion_62.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.map +0 -1
- package/dist/collection/components/form/Clearable.js +0 -8
- package/dist/collection/components/form/Clearable.js.map +0 -1
- package/dist/collection/components/form/Data.js.map +0 -1
- package/dist/collection/components/input-date/index.js +0 -206
- package/dist/collection/components/input-date/index.js.map +0 -1
- package/dist/collection/components/input-date/style.css +0 -40
- package/dist/collection/components/input-date-range/index.js.map +0 -1
- package/dist/collection/components/input-date-range/style.css +0 -51
- package/dist/collection/components/input-demo/index.js +0 -45
- package/dist/collection/components/input-demo/index.js.map +0 -1
- package/dist/collection/components/input-demo/style.css +0 -4
- package/dist/collection/components/input-month/index.js.map +0 -1
- package/dist/collection/components/menu-options/index.js +0 -413
- package/dist/collection/components/menu-options/index.js.map +0 -1
- package/dist/collection/components/menu-options/style.css +0 -18
- package/dist/collection/components/option/index.js +0 -270
- package/dist/collection/components/option/index.js.map +0 -1
- package/dist/collection/components/option/style.css +0 -42
- 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 +0 -137
- 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/select/index.js +0 -108
- package/dist/collection/components/select/index.js.map +0 -1
- package/dist/collection/components/select/style.css +0 -20
- package/dist/collection/components/selector/index.js +0 -234
- package/dist/collection/components/selector/index.js.map +0 -1
- package/dist/collection/components/selector/style.css +0 -46
- package/dist/custom-elements/index2.js +0 -1222
- package/dist/custom-elements/index2.js.map +0 -1
- package/dist/esm/Listenable-fb6f4723.js.map +0 -1
- package/dist/esm/Notice-1fa17794.js.map +0 -1
- package/dist/esm/getLanguage-ffacd7b7.js +0 -12225
- package/dist/esm/getLanguage-ffacd7b7.js.map +0 -1
- package/dist/esm/index-6ac4212d.js.map +0 -1
- package/dist/esm/index-d5330059.js +0 -1222
- package/dist/esm/index-d5330059.js.map +0 -1
- package/dist/esm/smoothly-accordion_62.entry.js +0 -28134
- package/dist/esm/smoothly-accordion_62.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-06337b89.js +0 -2
- package/dist/smoothly/p-06337b89.js.map +0 -1
- package/dist/smoothly/p-16cba662.entry.js +0 -2
- package/dist/smoothly/p-16cba662.entry.js.map +0 -1
- package/dist/smoothly/p-3ad51805.entry.js +0 -2
- package/dist/smoothly/p-3ad51805.entry.js.map +0 -1
- package/dist/smoothly/p-5e34795b.js +0 -2
- package/dist/smoothly/p-5e34795b.js.map +0 -1
- package/dist/smoothly/p-75373584.js +0 -2
- package/dist/smoothly/p-75373584.js.map +0 -1
- package/dist/smoothly/p-75452eb8.js +0 -2
- package/dist/smoothly/p-75452eb8.js.map +0 -1
- package/dist/smoothly/p-ae33d7e1.entry.js +0 -2
- package/dist/smoothly/p-ae33d7e1.entry.js.map +0 -1
- package/dist/smoothly/p-b98cd447.js +0 -3
- package/dist/smoothly/p-b98cd447.js.map +0 -1
- package/dist/smoothly/p-c109fc66.entry.js +0 -2
- package/dist/smoothly/p-c109fc66.entry.js.map +0 -1
- package/dist/smoothly/p-f29cc9ff.entry.js +0 -2
- package/dist/types/components/form/Clearable.d.ts +0 -6
- package/dist/types/components/input-date/index.d.ts +0 -14
- package/dist/types/components/input-date-range/index.d.ts +0 -23
- package/dist/types/components/input-demo/index.d.ts +0 -3
- package/dist/types/components/menu-options/index.d.ts +0 -35
- package/dist/types/components/option/index.d.ts +0 -32
- 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 -15
- 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/components/select/index.d.ts +0 -14
- package/dist/types/components/selector/index.d.ts +0 -23
- /package/dist/collection/components/{filter → input}/Clearable.js +0 -0
- /package/dist/collection/components/{input-month → input/month}/style.css +0 -0
- /package/dist/collection/components/{radio-button → lazy}/style.css +0 -0
- /package/dist/smoothly/{p-04fb45e1.entry.js.map → p-12182a73.entry.js.map} +0 -0
- /package/dist/smoothly/{p-5629e452.entry.js.map → p-127dcc56.entry.js.map} +0 -0
- /package/dist/smoothly/{p-f29cc9ff.entry.js.map → p-47151a53.entry.js.map} +0 -0
- /package/dist/smoothly/{p-0fec28cc.entry.js.map → p-6aebb818.entry.js.map} +0 -0
- /package/dist/smoothly/{p-ae467192.entry.js.map → p-7bf147bf.entry.js.map} +0 -0
- /package/dist/smoothly/{p-b3eef141.entry.js.map → p-b3eac6af.entry.js.map} +0 -0
- /package/dist/smoothly/{p-3a6873ed.entry.js.map → p-cb493516.entry.js.map} +0 -0
- /package/dist/types/components/{filter → input}/Clearable.d.ts +0 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-43af753b.js');
|
|
6
|
+
const getLanguage = require('./getLanguage-49a534df.js');
|
|
7
|
+
|
|
8
|
+
function create$1(translations, language) {
|
|
9
|
+
let result;
|
|
10
|
+
if (!language) {
|
|
11
|
+
const translation = translations;
|
|
12
|
+
result = (message, ...argument) => {
|
|
13
|
+
const r = translation[message];
|
|
14
|
+
return !r
|
|
15
|
+
? fallback(message, ...argument)
|
|
16
|
+
: typeof r == "function"
|
|
17
|
+
? r(...argument)
|
|
18
|
+
: argument.length > 0
|
|
19
|
+
? fallback(r, ...argument)
|
|
20
|
+
: r;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
if (!getLanguage.Language.is(language))
|
|
25
|
+
language = getLanguage.getLanguage(language);
|
|
26
|
+
const translation = language && translations[language];
|
|
27
|
+
result = translation ? create$1(translation) : fallback;
|
|
28
|
+
}
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
function fallback(message, ...argument) {
|
|
32
|
+
return argument.length > 0 ? argument.reduce((r, a, i) => r.replace("$" + i, a), message) : message;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
const sv = {
|
|
36
|
+
"Select all": "Markera alla",
|
|
37
|
+
"Deselect all": "Avmarkera alla",
|
|
38
|
+
Select: "Markera",
|
|
39
|
+
Deselect: "Avmarkera",
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
function create(language) {
|
|
43
|
+
return create$1({
|
|
44
|
+
sv,
|
|
45
|
+
}, language);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
const styleCss = "*.sc-smoothly-checkbox{box-sizing:border-box}.sc-smoothly-checkbox-h{display:grid;width:fit-content;grid-template-columns:auto 1fr;row-gap:0.5rem;align-items:center}.sc-smoothly-checkbox-h label.sc-smoothly-checkbox:empty{display:none}.sc-smoothly-checkbox-h label.sc-smoothly-checkbox{grid-column:2;margin-left:0.2rem}.sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox{grid-column:1;line-height:0;border:1px solid rgb(var(--smoothly-color-contrast))}.sc-smoothly-checkbox-h:not([disabled]):not([unavailable]) smoothly-icon.sc-smoothly-checkbox{cursor:pointer}[disabled].sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox,[unavailable].sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox{border-color:rgb(var(--smoothly-color-contrast), 0.3)}[disabled].sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox,[unavailable].sc-smoothly-checkbox-h smoothly-icon.sc-smoothly-checkbox{opacity:0.7}.sc-smoothly-checkbox-h:not([checked]) smoothly-icon.sc-smoothly-checkbox,.sc-smoothly-checkbox-h:not([intermediate]) smoothly-icon .sc-smoothly-checkbox:not([unavailable]){stroke:rgb(var(--smoothly-color-contrast))}.sc-smoothly-checkbox-h div.expansion.sc-smoothly-checkbox{position:relative;grid-column-start:2;background-color:rgb(var(--smoothly-secondary-color));color:rgb(var(--smoothly-secondary-contrast));padding:0.5rem;border-radius:5px}.sc-smoothly-checkbox-h:not([checked]) div.expansion.sc-smoothly-checkbox,.sc-smoothly-checkbox-h div.expansion.sc-smoothly-checkbox:empty{display:none}.sc-smoothly-checkbox-h div.expansion.sc-smoothly-checkbox::before{content:\"\\25B2\";position:absolute;bottom:calc(100% + 0.5rem - 0.3rem );line-height:0;left:0.5rem;color:rgb(var(--smoothly-secondary-color))}";
|
|
49
|
+
|
|
50
|
+
const SmoothlyCheckbox = class {
|
|
51
|
+
constructor(hostRef) {
|
|
52
|
+
index.registerInstance(this, hostRef);
|
|
53
|
+
this.smoothlyInput = index.createEvent(this, "smoothlyInput", 7);
|
|
54
|
+
this.size = "tiny";
|
|
55
|
+
this.checked = false;
|
|
56
|
+
this.intermediate = false;
|
|
57
|
+
this.unavailable = false;
|
|
58
|
+
this.disabled = false;
|
|
59
|
+
this.name = undefined;
|
|
60
|
+
this.value = undefined;
|
|
61
|
+
this.t = undefined;
|
|
62
|
+
}
|
|
63
|
+
componentWillLoad() {
|
|
64
|
+
this.t = create(this.element);
|
|
65
|
+
}
|
|
66
|
+
unavailableChanged() {
|
|
67
|
+
if (this.unavailable && this.checked)
|
|
68
|
+
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
69
|
+
}
|
|
70
|
+
async toggle() {
|
|
71
|
+
if (!this.disabled && !this.unavailable) {
|
|
72
|
+
const checked = this.intermediate || this.checked == false;
|
|
73
|
+
this.smoothlyInput.emit({
|
|
74
|
+
[this.name]: checked ? this.value : undefined,
|
|
75
|
+
});
|
|
76
|
+
this.checked = checked;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
async clear() {
|
|
80
|
+
this.checked = false;
|
|
81
|
+
this.smoothlyInput.emit({ [this.name]: undefined });
|
|
82
|
+
}
|
|
83
|
+
render() {
|
|
84
|
+
return (index.h(index.Host, null, index.h("smoothly-icon", { toolTip: this.t(!this.checked ? "Select" : "De-select"), onClick: () => this.toggle(), size: this.size, name: this.unavailable
|
|
85
|
+
? "close-outline"
|
|
86
|
+
: this.intermediate && !this.checked
|
|
87
|
+
? "remove-outline"
|
|
88
|
+
: this.checked && !this.intermediate
|
|
89
|
+
? "checkmark-outline"
|
|
90
|
+
: "empty" }), index.h("label", { htmlFor: this.name }, index.h("slot", null)), index.h("div", { class: "expansion" }, index.h("slot", { name: "expansion" }))));
|
|
91
|
+
}
|
|
92
|
+
get element() { return index.getElement(this); }
|
|
93
|
+
static get watchers() { return {
|
|
94
|
+
"checked": ["unavailableChanged"],
|
|
95
|
+
"unavailable": ["unavailableChanged"]
|
|
96
|
+
}; }
|
|
97
|
+
};
|
|
98
|
+
SmoothlyCheckbox.style = styleCss;
|
|
99
|
+
|
|
100
|
+
exports.smoothly_checkbox = SmoothlyCheckbox;
|
|
101
|
+
|
|
102
|
+
//# sourceMappingURL=smoothly-checkbox.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"smoothly-checkbox.entry.cjs.js","mappings":";;;;;;;AAEO,SAASA,QAAM,CAAC,YAAY,EAAE,QAAQ,EAAE;AAC/C,IAAI,IAAI,MAAM,CAAC;AACf,IAAI,IAAI,CAAC,QAAQ,EAAE;AACnB,QAAQ,MAAM,WAAW,GAAG,YAAY,CAAC;AACzC,QAAQ,MAAM,GAAG,CAAC,OAAO,EAAE,GAAG,QAAQ,KAAK;AAC3C,YAAY,MAAM,CAAC,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAC3C,YAAY,OAAO,CAAC,CAAC;AACrB,kBAAkB,QAAQ,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC;AAChD,kBAAkB,OAAO,CAAC,IAAI,UAAU;AACxC,sBAAsB,CAAC,CAAC,GAAG,QAAQ,CAAC;AACpC,sBAAsB,QAAQ,CAAC,MAAM,GAAG,CAAC;AACzC,0BAA0B,QAAQ,CAAC,CAAC,EAAE,GAAG,QAAQ,CAAC;AAClD,0BAA0B,CAAC,CAAC;AAC5B,SAAS,CAAC;AACV,KAAK;AACL,SAAS;AACT,QAAQ,IAAI,CAACC,oBAAc,CAAC,EAAE,CAAC,QAAQ,CAAC;AACxC,YAAY,QAAQ,GAAGC,uBAAW,CAAC,QAAQ,CAAC,CAAC;AAC7C,QAAQ,MAAM,WAAW,GAAG,QAAQ,IAAI,YAAY,CAAC,QAAQ,CAAC,CAAC;AAC/D,QAAQ,MAAM,GAAG,WAAW,GAAGF,QAAM,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC;AAC9D,KAAK;AACL,IAAI,OAAO,MAAM,CAAC;AAClB,CAAC;AACD,SAAS,QAAQ,CAAC,OAAO,EAAE,GAAG,QAAQ,EAAE;AACxC,IAAI,OAAO,QAAQ,CAAC,MAAM,GAAG,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC;AACxG;;AC3BO,MAAM,EAAE,GAAG;EACjB,YAAY,EAAE,cAAc;EAC5B,cAAc,EAAE,gBAAgB;EAChC,MAAM,EAAE,SAAS;EACjB,QAAQ,EAAE,WAAW;CACrB;;SCDe,MAAM,CAAC,QAAsC;EAC5D,OAAOG,QAAa,CACnB;IACC,EAAE;GACF,EACD,QAAQ,CACR,CAAA;AACF;;ACXA,MAAM,QAAQ,GAAG,+rDAA+rD;;MCSnsD,gBAAgB;;;;gBAE0B,MAAM;mBACV,KAAK;wBACA,KAAK;uBACrB,KAAK;oBACR,KAAK;;;;;EAMzC,iBAAiB;IAChB,IAAI,CAAC,CAAC,GAAGC,MAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;GACzC;EAID,kBAAkB;IACjB,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,OAAO;MACnC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,GAAG,SAAS,EAAE,CAAC,CAAA;GACpD;EAGD,MAAM,MAAM;IACX,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;MACxC,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,OAAO,IAAI,KAAK,CAAA;MAC1D,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;QACvB,CAAC,IAAI,CAAC,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC,KAAK,GAAG,SAAS;OAC7C,CAAC,CAAA;MACF,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;KACtB;GACD;EAED,MAAM,KAAK;IACV,IAAI,CAAC,OAAO,GAAG,KAAK,CAAA;IACpB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,IAAI,GAAG,SAAS,EAAE,CAAC,CAAA;GACnD;EAED,MAAM;IACL,QACCC,QAACC,UAAI,QACJD,2BACC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC,EACvD,OAAO,EAAE,MAAM,IAAI,CAAC,MAAM,EAAE,EAC5B,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EACH,IAAI,CAAC,WAAW;UACb,eAAe;UACf,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,CAAC,OAAO;YAClC,gBAAgB;YAChB,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,YAAY;cAClC,mBAAmB;cACnB,OAAO,GAEV,EACFA,mBAAO,OAAO,EAAE,IAAI,CAAC,IAAI,IACxBA,qBAAa,CACN,EACRA,iBAAK,KAAK,EAAE,WAAW,IACtBA,kBAAM,IAAI,EAAC,WAAW,GAAG,CACpB,CACA,EACP;GACD;;;;;;;;;;;","names":["create","isoly.Language","getLanguage","langly.create","translation.create","h","Host"],"sources":["./node_modules/langly/dist/create.js","./src/components/checkbox/translation/sv.ts","./src/components/checkbox/translation/index.ts","./src/components/checkbox/style.css?tag=smoothly-checkbox&encapsulation=scoped","./src/components/checkbox/index.tsx"],"sourcesContent":["import * as isoly from \"isoly\";\nimport { getLanguage } from \"./getLanguage\";\nexport function create(translations, language) {\n let result;\n if (!language) {\n const translation = translations;\n result = (message, ...argument) => {\n const r = translation[message];\n return !r\n ? fallback(message, ...argument)\n : typeof r == \"function\"\n ? r(...argument)\n : argument.length > 0\n ? fallback(r, ...argument)\n : r;\n };\n }\n else {\n if (!isoly.Language.is(language))\n language = getLanguage(language);\n const translation = language && translations[language];\n result = translation ? create(translation) : fallback;\n }\n return result;\n}\nfunction fallback(message, ...argument) {\n return argument.length > 0 ? argument.reduce((r, a, i) => r.replace(\"$\" + i, a), message) : message;\n}\n//# sourceMappingURL=create.js.map","export const sv = {\n\t\"Select all\": \"Markera alla\",\n\t\"Deselect all\": \"Avmarkera alla\",\n\tSelect: \"Markera\",\n\tDeselect: \"Avmarkera\",\n}\n","import * as isoly from \"isoly\"\nimport * as langly from \"langly\"\nimport { sv } from \"./sv\"\n\nexport function create(language: isoly.Language | HTMLElement): langly.Translate {\n\treturn langly.create(\n\t\t{\n\t\t\tsv,\n\t\t},\n\t\tlanguage\n\t)\n}\n","* {\n\tbox-sizing: border-box;\n}\n:host {\n\tdisplay: grid;\n\twidth: fit-content;\n\tgrid-template-columns: auto 1fr;\n\trow-gap: 0.5rem;\n\talign-items: center;\n}\n:host label:empty {\n\tdisplay: none;\n}\n:host label {\n\tgrid-column: 2;\n\tmargin-left: 0.2rem;\n}\n\n:host smoothly-icon {\n\tgrid-column: 1;\n\tline-height: 0;\n\tborder: 1px solid rgb(var(--smoothly-color-contrast));\n}\n:host:not([disabled]):not([unavailable]) smoothly-icon {\n\tcursor: pointer;\n}\n:host[disabled] smoothly-icon,\n:host[unavailable] smoothly-icon {\n\tborder-color: rgb(var(--smoothly-color-contrast), 0.3);\n}\n:host[disabled] smoothly-icon,\n:host[unavailable] smoothly-icon {\n\topacity: 0.7;\n}\n:host:not([checked]) smoothly-icon,\n:host:not([intermediate]) smoothly-icon\n:host:not([unavailable]) {\n\tstroke: rgb(var(--smoothly-color-contrast));\n}\n\n:host div.expansion {\n\tposition: relative;\n\tgrid-column-start: 2;\n\tbackground-color: rgb(var(--smoothly-secondary-color));\n\tcolor: rgb(var(--smoothly-secondary-contrast));\n\tpadding: 0.5rem;\n\tborder-radius: 5px;\n}\n:host:not([checked]) div.expansion,\n:host div.expansion:empty {\n\tdisplay: none;\n}\n:host div.expansion::before {\n\tcontent: \"\\25B2\";\n\tposition: absolute;\n\tbottom: calc(100% + 0.5rem /* <-- alignment */ - 0.3rem /* <-- adjustment*/);\n\tline-height: 0;\n\tleft: 0.5rem;\n\tcolor: rgb(var(--smoothly-secondary-color))\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from \"@stencil/core\"\nimport * as langly from \"langly\"\nimport { Clearable } from \"../input/Clearable\"\nimport * as translation from \"./translation\"\n@Component({\n\ttag: \"smoothly-checkbox\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyCheckbox implements Clearable {\n\t@Element() element: HTMLElement\n\t@Prop() size: \"tiny\" | \"small\" | \"medium\" | \"large\" = \"tiny\"\n\t@Prop({ mutable: true, reflect: true }) checked = false\n\t@Prop({ mutable: true, reflect: true }) intermediate = false\n\t@Prop({ reflect: true }) unavailable = false\n\t@Prop({ reflect: true }) disabled = false\n\t@Prop() name: string\n\t@Prop() value: any\n\t@Event() smoothlyInput: EventEmitter<Record<string, any>>\n\t@State() t: langly.Translate\n\n\tcomponentWillLoad() {\n\t\tthis.t = translation.create(this.element)\n\t}\n\n\t@Watch(\"checked\")\n\t@Watch(\"unavailable\")\n\tunavailableChanged(): void {\n\t\tif (this.unavailable && this.checked)\n\t\t\tthis.smoothlyInput.emit({ [this.name]: undefined })\n\t}\n\n\t@Method()\n\tasync toggle(): Promise<void> {\n\t\tif (!this.disabled && !this.unavailable) {\n\t\t\tconst checked = this.intermediate || this.checked == false\n\t\t\tthis.smoothlyInput.emit({\n\t\t\t\t[this.name]: checked ? this.value : undefined,\n\t\t\t})\n\t\t\tthis.checked = checked\n\t\t}\n\t}\n\t@Method()\n\tasync clear() {\n\t\tthis.checked = false\n\t\tthis.smoothlyInput.emit({ [this.name]: undefined })\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<smoothly-icon\n\t\t\t\t\ttoolTip={this.t(!this.checked ? \"Select\" : \"De-select\")}\n\t\t\t\t\tonClick={() => this.toggle()}\n\t\t\t\t\tsize={this.size}\n\t\t\t\t\tname={\n\t\t\t\t\t\tthis.unavailable\n\t\t\t\t\t\t\t? \"close-outline\"\n\t\t\t\t\t\t\t: this.intermediate && !this.checked\n\t\t\t\t\t\t\t? \"remove-outline\"\n\t\t\t\t\t\t\t: this.checked && !this.intermediate\n\t\t\t\t\t\t\t? \"checkmark-outline\"\n\t\t\t\t\t\t\t: \"empty\"\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\t<label htmlFor={this.name}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t\t<div class={\"expansion\"}>\n\t\t\t\t\t<slot name=\"expansion\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-43af753b.js');
|
|
6
6
|
|
|
7
7
|
const styleCss = "[color=default].sc-smoothly-color{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-color{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-color{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-color{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-color{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-color);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-color{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-color{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-color{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-color{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-color{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}";
|
|
8
8
|
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const
|
|
5
|
+
const index = require('./index-43af753b.js');
|
|
6
|
+
const TimeZone = require('./TimeZone-016ac7b0.js');
|
|
7
|
+
const getLanguage = require('./getLanguage-49a534df.js');
|
|
7
8
|
|
|
8
9
|
function from$K(country) {
|
|
9
|
-
return names$J[country] || from$K(
|
|
10
|
+
return names$J[country] || from$K(TimeZone.Alpha2.from(country));
|
|
10
11
|
}
|
|
11
12
|
const names$J = {
|
|
12
13
|
AF: " أفغانستان",
|
|
@@ -262,7 +263,7 @@ const names$J = {
|
|
|
262
263
|
};
|
|
263
264
|
|
|
264
265
|
function from$J(country) {
|
|
265
|
-
return names$I[country] || from$J(
|
|
266
|
+
return names$I[country] || from$J(TimeZone.Alpha2.from(country));
|
|
266
267
|
}
|
|
267
268
|
const names$I = {
|
|
268
269
|
AD: "Andorra",
|
|
@@ -518,7 +519,7 @@ const names$I = {
|
|
|
518
519
|
};
|
|
519
520
|
|
|
520
521
|
function from$I(country) {
|
|
521
|
-
return names$H[country] || from$I(
|
|
522
|
+
return names$H[country] || from$I(TimeZone.Alpha2.from(country));
|
|
522
523
|
}
|
|
523
524
|
const names$H = {
|
|
524
525
|
AD: "Андора",
|
|
@@ -774,7 +775,7 @@ const names$H = {
|
|
|
774
775
|
};
|
|
775
776
|
|
|
776
777
|
function from$H(country) {
|
|
777
|
-
return names$G[country] || from$H(
|
|
778
|
+
return names$G[country] || from$H(TimeZone.Alpha2.from(country));
|
|
778
779
|
}
|
|
779
780
|
const names$G = {
|
|
780
781
|
AD: "Андора",
|
|
@@ -1030,7 +1031,7 @@ const names$G = {
|
|
|
1030
1031
|
};
|
|
1031
1032
|
|
|
1032
1033
|
function from$G(country) {
|
|
1033
|
-
return names$F[country] || from$G(
|
|
1034
|
+
return names$F[country] || from$G(TimeZone.Alpha2.from(country));
|
|
1034
1035
|
}
|
|
1035
1036
|
const names$F = {
|
|
1036
1037
|
AD: "Andora",
|
|
@@ -1286,7 +1287,7 @@ const names$F = {
|
|
|
1286
1287
|
};
|
|
1287
1288
|
|
|
1288
1289
|
function from$F(country) {
|
|
1289
|
-
return names$E[country] || from$F(
|
|
1290
|
+
return names$E[country] || from$F(TimeZone.Alpha2.from(country));
|
|
1290
1291
|
}
|
|
1291
1292
|
const names$E = {
|
|
1292
1293
|
AF: "Afganistan",
|
|
@@ -1542,7 +1543,7 @@ const names$E = {
|
|
|
1542
1543
|
};
|
|
1543
1544
|
|
|
1544
1545
|
function from$E(country) {
|
|
1545
|
-
return names$D[country] || from$E(
|
|
1546
|
+
return names$D[country] || from$E(TimeZone.Alpha2.from(country));
|
|
1546
1547
|
}
|
|
1547
1548
|
const names$D = {
|
|
1548
1549
|
AF: "Afghánistán",
|
|
@@ -1798,7 +1799,7 @@ const names$D = {
|
|
|
1798
1799
|
};
|
|
1799
1800
|
|
|
1800
1801
|
function from$D(country) {
|
|
1801
|
-
return names$C[country] || from$D(
|
|
1802
|
+
return names$C[country] || from$D(TimeZone.Alpha2.from(country));
|
|
1802
1803
|
}
|
|
1803
1804
|
const names$C = {
|
|
1804
1805
|
AF: "Afghanistan",
|
|
@@ -2054,7 +2055,7 @@ const names$C = {
|
|
|
2054
2055
|
};
|
|
2055
2056
|
|
|
2056
2057
|
function from$C(country) {
|
|
2057
|
-
return names$B[country] || from$C(
|
|
2058
|
+
return names$B[country] || from$C(TimeZone.Alpha2.from(country));
|
|
2058
2059
|
}
|
|
2059
2060
|
const names$B = {
|
|
2060
2061
|
AF: "Afghanistan",
|
|
@@ -2310,7 +2311,7 @@ const names$B = {
|
|
|
2310
2311
|
};
|
|
2311
2312
|
|
|
2312
2313
|
function from$B(country) {
|
|
2313
|
-
return names$A[country] || from$B(
|
|
2314
|
+
return names$A[country] || from$B(TimeZone.Alpha2.from(country));
|
|
2314
2315
|
}
|
|
2315
2316
|
const names$A = {
|
|
2316
2317
|
AF: "Αφγανιστάν",
|
|
@@ -2566,7 +2567,7 @@ const names$A = {
|
|
|
2566
2567
|
};
|
|
2567
2568
|
|
|
2568
2569
|
function from$A(country) {
|
|
2569
|
-
return names$z[country] || from$A(
|
|
2570
|
+
return names$z[country] || from$A(TimeZone.Alpha2.from(country));
|
|
2570
2571
|
}
|
|
2571
2572
|
const names$z = {
|
|
2572
2573
|
AF: "Afghanistan",
|
|
@@ -2594,7 +2595,7 @@ const names$z = {
|
|
|
2594
2595
|
BJ: "Benin",
|
|
2595
2596
|
BM: "Bermuda",
|
|
2596
2597
|
BT: "Bhutan",
|
|
2597
|
-
BO: "Bolivia",
|
|
2598
|
+
BO: "Bolivia Plurinational State of",
|
|
2598
2599
|
BA: "Bosnia and Herzegovina",
|
|
2599
2600
|
BW: "Botswana",
|
|
2600
2601
|
BV: "Bouvet Island",
|
|
@@ -2607,7 +2608,7 @@ const names$z = {
|
|
|
2607
2608
|
KH: "Cambodia",
|
|
2608
2609
|
CM: "Cameroon",
|
|
2609
2610
|
CA: "Canada",
|
|
2610
|
-
CV: "
|
|
2611
|
+
CV: "Cabo Verde",
|
|
2611
2612
|
KY: "Cayman Islands",
|
|
2612
2613
|
CF: "Central African Republic",
|
|
2613
2614
|
TD: "Chad",
|
|
@@ -2625,7 +2626,7 @@ const names$z = {
|
|
|
2625
2626
|
HR: "Croatia",
|
|
2626
2627
|
CU: "Cuba",
|
|
2627
2628
|
CY: "Cyprus",
|
|
2628
|
-
CZ: "
|
|
2629
|
+
CZ: "Czechia",
|
|
2629
2630
|
DK: "Denmark",
|
|
2630
2631
|
DJ: "Djibouti",
|
|
2631
2632
|
DM: "Dominica",
|
|
@@ -2694,7 +2695,7 @@ const names$z = {
|
|
|
2694
2695
|
LT: "Lithuania",
|
|
2695
2696
|
LU: "Luxembourg",
|
|
2696
2697
|
MO: "Macao",
|
|
2697
|
-
MK: "Macedonia
|
|
2698
|
+
MK: "North Macedonia",
|
|
2698
2699
|
MG: "Madagascar",
|
|
2699
2700
|
MW: "Malawi",
|
|
2700
2701
|
MY: "Malaysia",
|
|
@@ -2731,7 +2732,7 @@ const names$z = {
|
|
|
2731
2732
|
OM: "Oman",
|
|
2732
2733
|
PK: "Pakistan",
|
|
2733
2734
|
PW: "Palau",
|
|
2734
|
-
PS: "
|
|
2735
|
+
PS: "Palestine, State of",
|
|
2735
2736
|
PA: "Panama",
|
|
2736
2737
|
PG: "Papua New Guinea",
|
|
2737
2738
|
PY: "Paraguay",
|
|
@@ -2746,7 +2747,7 @@ const names$z = {
|
|
|
2746
2747
|
RO: "Romania",
|
|
2747
2748
|
RU: "Russian Federation",
|
|
2748
2749
|
RW: "Rwanda",
|
|
2749
|
-
SH: "Saint Helena",
|
|
2750
|
+
SH: "Saint Helena Ascension Island Tristan da Cunha",
|
|
2750
2751
|
KN: "Saint Kitts and Nevis",
|
|
2751
2752
|
LC: "Saint Lucia",
|
|
2752
2753
|
PM: "Saint Pierre and Miquelon",
|
|
@@ -2770,7 +2771,7 @@ const names$z = {
|
|
|
2770
2771
|
SD: "Sudan",
|
|
2771
2772
|
SR: "Suriname",
|
|
2772
2773
|
SJ: "Svalbard and Jan Mayen",
|
|
2773
|
-
SZ: "
|
|
2774
|
+
SZ: "Eswatini",
|
|
2774
2775
|
SE: "Sweden",
|
|
2775
2776
|
CH: "Switzerland",
|
|
2776
2777
|
SY: "Syrian Arab Republic",
|
|
@@ -2822,7 +2823,7 @@ const names$z = {
|
|
|
2822
2823
|
};
|
|
2823
2824
|
|
|
2824
2825
|
function from$z(country) {
|
|
2825
|
-
return names$y[country] || from$z(
|
|
2826
|
+
return names$y[country] || from$z(TimeZone.Alpha2.from(country));
|
|
2826
2827
|
}
|
|
2827
2828
|
const names$y = {
|
|
2828
2829
|
AF: "Afganistán",
|
|
@@ -3078,7 +3079,7 @@ const names$y = {
|
|
|
3078
3079
|
};
|
|
3079
3080
|
|
|
3080
3081
|
function from$y(country) {
|
|
3081
|
-
return names$x[country] || from$y(
|
|
3082
|
+
return names$x[country] || from$y(TimeZone.Alpha2.from(country));
|
|
3082
3083
|
}
|
|
3083
3084
|
const names$x = {
|
|
3084
3085
|
AF: "Afganistan",
|
|
@@ -3334,7 +3335,7 @@ const names$x = {
|
|
|
3334
3335
|
};
|
|
3335
3336
|
|
|
3336
3337
|
function from$x(country) {
|
|
3337
|
-
return names$w[country] || from$x(
|
|
3338
|
+
return names$w[country] || from$x(TimeZone.Alpha2.from(country));
|
|
3338
3339
|
}
|
|
3339
3340
|
const names$w = {
|
|
3340
3341
|
AD: "آندورا",
|
|
@@ -3590,7 +3591,7 @@ const names$w = {
|
|
|
3590
3591
|
};
|
|
3591
3592
|
|
|
3592
3593
|
function from$w(country) {
|
|
3593
|
-
return names$v[country] || from$w(
|
|
3594
|
+
return names$v[country] || from$w(TimeZone.Alpha2.from(country));
|
|
3594
3595
|
}
|
|
3595
3596
|
const names$v = {
|
|
3596
3597
|
AF: "Afganistan",
|
|
@@ -3846,7 +3847,7 @@ const names$v = {
|
|
|
3846
3847
|
};
|
|
3847
3848
|
|
|
3848
3849
|
function from$v(country) {
|
|
3849
|
-
return names$u[country] || from$v(
|
|
3850
|
+
return names$u[country] || from$v(TimeZone.Alpha2.from(country));
|
|
3850
3851
|
}
|
|
3851
3852
|
const names$u = {
|
|
3852
3853
|
AF: "Afghanistan",
|
|
@@ -4102,7 +4103,7 @@ const names$u = {
|
|
|
4102
4103
|
};
|
|
4103
4104
|
|
|
4104
4105
|
function from$u(country) {
|
|
4105
|
-
return names$t[country] || from$u(
|
|
4106
|
+
return names$t[country] || from$u(TimeZone.Alpha2.from(country));
|
|
4106
4107
|
}
|
|
4107
4108
|
const names$t = {
|
|
4108
4109
|
AF: "אפגניסטן",
|
|
@@ -4358,7 +4359,7 @@ const names$t = {
|
|
|
4358
4359
|
};
|
|
4359
4360
|
|
|
4360
4361
|
function from$t(country) {
|
|
4361
|
-
return names$s[country] || from$t(
|
|
4362
|
+
return names$s[country] || from$t(TimeZone.Alpha2.from(country));
|
|
4362
4363
|
}
|
|
4363
4364
|
const names$s = {
|
|
4364
4365
|
AD: "Andora",
|
|
@@ -4614,7 +4615,7 @@ const names$s = {
|
|
|
4614
4615
|
};
|
|
4615
4616
|
|
|
4616
4617
|
function from$s(country) {
|
|
4617
|
-
return names$r[country] || from$s(
|
|
4618
|
+
return names$r[country] || from$s(TimeZone.Alpha2.from(country));
|
|
4618
4619
|
}
|
|
4619
4620
|
const names$r = {
|
|
4620
4621
|
AF: "Afganisztán",
|
|
@@ -4870,7 +4871,7 @@ const names$r = {
|
|
|
4870
4871
|
};
|
|
4871
4872
|
|
|
4872
4873
|
function from$r(country) {
|
|
4873
|
-
return names$q[country] || from$r(
|
|
4874
|
+
return names$q[country] || from$r(TimeZone.Alpha2.from(country));
|
|
4874
4875
|
}
|
|
4875
4876
|
const names$q = {
|
|
4876
4877
|
AD: "Անդորրա",
|
|
@@ -5126,7 +5127,7 @@ const names$q = {
|
|
|
5126
5127
|
};
|
|
5127
5128
|
|
|
5128
5129
|
function from$q(country) {
|
|
5129
|
-
return names$p[country] || from$q(
|
|
5130
|
+
return names$p[country] || from$q(TimeZone.Alpha2.from(country));
|
|
5130
5131
|
}
|
|
5131
5132
|
const names$p = {
|
|
5132
5133
|
AF: "Afghanistan",
|
|
@@ -5382,7 +5383,7 @@ const names$p = {
|
|
|
5382
5383
|
};
|
|
5383
5384
|
|
|
5384
5385
|
function from$p(country) {
|
|
5385
|
-
return names$o[country] || from$p(
|
|
5386
|
+
return names$o[country] || from$p(TimeZone.Alpha2.from(country));
|
|
5386
5387
|
}
|
|
5387
5388
|
const names$o = {
|
|
5388
5389
|
AD: "Andorra",
|
|
@@ -5638,7 +5639,7 @@ const names$o = {
|
|
|
5638
5639
|
};
|
|
5639
5640
|
|
|
5640
5641
|
function from$o(country) {
|
|
5641
|
-
return names$n[country] || from$o(
|
|
5642
|
+
return names$n[country] || from$o(TimeZone.Alpha2.from(country));
|
|
5642
5643
|
}
|
|
5643
5644
|
const names$n = {
|
|
5644
5645
|
AF: "アフガニスタン",
|
|
@@ -5894,7 +5895,7 @@ const names$n = {
|
|
|
5894
5895
|
};
|
|
5895
5896
|
|
|
5896
5897
|
function from$n(country) {
|
|
5897
|
-
return names$m[country] || from$n(
|
|
5898
|
+
return names$m[country] || from$n(TimeZone.Alpha2.from(country));
|
|
5898
5899
|
}
|
|
5899
5900
|
const names$m = {
|
|
5900
5901
|
AD: "ანდორა",
|
|
@@ -6150,7 +6151,7 @@ const names$m = {
|
|
|
6150
6151
|
};
|
|
6151
6152
|
|
|
6152
6153
|
function from$m(country) {
|
|
6153
|
-
return names$l[country] || from$m(
|
|
6154
|
+
return names$l[country] || from$m(TimeZone.Alpha2.from(country));
|
|
6154
6155
|
}
|
|
6155
6156
|
const names$l = {
|
|
6156
6157
|
AD: "Андорра",
|
|
@@ -6406,7 +6407,7 @@ const names$l = {
|
|
|
6406
6407
|
};
|
|
6407
6408
|
|
|
6408
6409
|
function from$l(country) {
|
|
6409
|
-
return names$k[country] || from$l(
|
|
6410
|
+
return names$k[country] || from$l(TimeZone.Alpha2.from(country));
|
|
6410
6411
|
}
|
|
6411
6412
|
const names$k = {
|
|
6412
6413
|
AF: "아프가니스탄",
|
|
@@ -6662,7 +6663,7 @@ const names$k = {
|
|
|
6662
6663
|
};
|
|
6663
6664
|
|
|
6664
6665
|
function from$k(country) {
|
|
6665
|
-
return names$j[country] || from$k(
|
|
6666
|
+
return names$j[country] || from$k(TimeZone.Alpha2.from(country));
|
|
6666
6667
|
}
|
|
6667
6668
|
const names$j = {
|
|
6668
6669
|
AD: "Андорра",
|
|
@@ -6918,7 +6919,7 @@ const names$j = {
|
|
|
6918
6919
|
};
|
|
6919
6920
|
|
|
6920
6921
|
function from$j(country) {
|
|
6921
|
-
return names$i[country] || from$j(
|
|
6922
|
+
return names$i[country] || from$j(TimeZone.Alpha2.from(country));
|
|
6922
6923
|
}
|
|
6923
6924
|
const names$i = {
|
|
6924
6925
|
AD: "Andora",
|
|
@@ -7174,7 +7175,7 @@ const names$i = {
|
|
|
7174
7175
|
};
|
|
7175
7176
|
|
|
7176
7177
|
function from$i(country) {
|
|
7177
|
-
return names$h[country] || from$i(
|
|
7178
|
+
return names$h[country] || from$i(TimeZone.Alpha2.from(country));
|
|
7178
7179
|
}
|
|
7179
7180
|
const names$h = {
|
|
7180
7181
|
AD: "Andora",
|
|
@@ -7430,7 +7431,7 @@ const names$h = {
|
|
|
7430
7431
|
};
|
|
7431
7432
|
|
|
7432
7433
|
function from$h(country) {
|
|
7433
|
-
return names$g[country] || from$h(
|
|
7434
|
+
return names$g[country] || from$h(TimeZone.Alpha2.from(country));
|
|
7434
7435
|
}
|
|
7435
7436
|
const names$g = {
|
|
7436
7437
|
AD: "Андора",
|
|
@@ -7686,7 +7687,7 @@ const names$g = {
|
|
|
7686
7687
|
};
|
|
7687
7688
|
|
|
7688
7689
|
function from$g(country) {
|
|
7689
|
-
return names$f[country] || from$g(
|
|
7690
|
+
return names$f[country] || from$g(TimeZone.Alpha2.from(country));
|
|
7690
7691
|
}
|
|
7691
7692
|
const names$f = {
|
|
7692
7693
|
AD: "Андорра",
|
|
@@ -7942,7 +7943,7 @@ const names$f = {
|
|
|
7942
7943
|
};
|
|
7943
7944
|
|
|
7944
7945
|
function from$f(country) {
|
|
7945
|
-
return names$e[country] || from$f(
|
|
7946
|
+
return names$e[country] || from$f(TimeZone.Alpha2.from(country));
|
|
7946
7947
|
}
|
|
7947
7948
|
const names$e = {
|
|
7948
7949
|
AD: "Andorra",
|
|
@@ -8198,7 +8199,7 @@ const names$e = {
|
|
|
8198
8199
|
};
|
|
8199
8200
|
|
|
8200
8201
|
function from$e(country) {
|
|
8201
|
-
return names$d[country] || from$e(
|
|
8202
|
+
return names$d[country] || from$e(TimeZone.Alpha2.from(country));
|
|
8202
8203
|
}
|
|
8203
8204
|
const names$d = {
|
|
8204
8205
|
AF: "Afghanistan",
|
|
@@ -8454,7 +8455,7 @@ const names$d = {
|
|
|
8454
8455
|
};
|
|
8455
8456
|
|
|
8456
8457
|
function from$d(country) {
|
|
8457
|
-
return names$c[country] || from$d(
|
|
8458
|
+
return names$c[country] || from$d(TimeZone.Alpha2.from(country));
|
|
8458
8459
|
}
|
|
8459
8460
|
const names$c = {
|
|
8460
8461
|
AD: "Andorra",
|
|
@@ -8710,7 +8711,7 @@ const names$c = {
|
|
|
8710
8711
|
};
|
|
8711
8712
|
|
|
8712
8713
|
function from$c(country) {
|
|
8713
|
-
return names$b[country] || from$c(
|
|
8714
|
+
return names$b[country] || from$c(TimeZone.Alpha2.from(country));
|
|
8714
8715
|
}
|
|
8715
8716
|
const names$b = {
|
|
8716
8717
|
AF: "Afganistan",
|
|
@@ -8966,7 +8967,7 @@ const names$b = {
|
|
|
8966
8967
|
};
|
|
8967
8968
|
|
|
8968
8969
|
function from$b(country) {
|
|
8969
|
-
return names$a[country] || from$b(
|
|
8970
|
+
return names$a[country] || from$b(TimeZone.Alpha2.from(country));
|
|
8970
8971
|
}
|
|
8971
8972
|
const names$a = {
|
|
8972
8973
|
AF: "Afeganistão",
|
|
@@ -9222,7 +9223,7 @@ const names$a = {
|
|
|
9222
9223
|
};
|
|
9223
9224
|
|
|
9224
9225
|
function from$a(country) {
|
|
9225
|
-
return names$9[country] || from$a(
|
|
9226
|
+
return names$9[country] || from$a(TimeZone.Alpha2.from(country));
|
|
9226
9227
|
}
|
|
9227
9228
|
const names$9 = {
|
|
9228
9229
|
AD: "Andorra",
|
|
@@ -9478,7 +9479,7 @@ const names$9 = {
|
|
|
9478
9479
|
};
|
|
9479
9480
|
|
|
9480
9481
|
function from$9(country) {
|
|
9481
|
-
return names$8[country] || from$9(
|
|
9482
|
+
return names$8[country] || from$9(TimeZone.Alpha2.from(country));
|
|
9482
9483
|
}
|
|
9483
9484
|
const names$8 = {
|
|
9484
9485
|
AU: "Австралия",
|
|
@@ -9734,7 +9735,7 @@ const names$8 = {
|
|
|
9734
9735
|
};
|
|
9735
9736
|
|
|
9736
9737
|
function from$8(country) {
|
|
9737
|
-
return names$7[country] || from$8(
|
|
9738
|
+
return names$7[country] || from$8(TimeZone.Alpha2.from(country));
|
|
9738
9739
|
}
|
|
9739
9740
|
const names$7 = {
|
|
9740
9741
|
AD: "Andorra",
|
|
@@ -9990,7 +9991,7 @@ const names$7 = {
|
|
|
9990
9991
|
};
|
|
9991
9992
|
|
|
9992
9993
|
function from$7(country) {
|
|
9993
|
-
return names$6[country] || from$7(
|
|
9994
|
+
return names$6[country] || from$7(TimeZone.Alpha2.from(country));
|
|
9994
9995
|
}
|
|
9995
9996
|
const names$6 = {
|
|
9996
9997
|
AD: "Andora",
|
|
@@ -10246,7 +10247,7 @@ const names$6 = {
|
|
|
10246
10247
|
};
|
|
10247
10248
|
|
|
10248
10249
|
function from$6(country) {
|
|
10249
|
-
return names$5[country] || from$6(
|
|
10250
|
+
return names$5[country] || from$6(TimeZone.Alpha2.from(country));
|
|
10250
10251
|
}
|
|
10251
10252
|
const names$5 = {
|
|
10252
10253
|
AD: "Андора",
|
|
@@ -10502,7 +10503,7 @@ const names$5 = {
|
|
|
10502
10503
|
};
|
|
10503
10504
|
|
|
10504
10505
|
function from$5(country) {
|
|
10505
|
-
return names$4[country] || from$5(
|
|
10506
|
+
return names$4[country] || from$5(TimeZone.Alpha2.from(country));
|
|
10506
10507
|
}
|
|
10507
10508
|
const names$4 = {
|
|
10508
10509
|
AD: "Andorra",
|
|
@@ -10758,7 +10759,7 @@ const names$4 = {
|
|
|
10758
10759
|
};
|
|
10759
10760
|
|
|
10760
10761
|
function from$4(country) {
|
|
10761
|
-
return names$3[country] || from$4(
|
|
10762
|
+
return names$3[country] || from$4(TimeZone.Alpha2.from(country));
|
|
10762
10763
|
}
|
|
10763
10764
|
const names$3 = {
|
|
10764
10765
|
AD: "Andorra",
|
|
@@ -11014,7 +11015,7 @@ const names$3 = {
|
|
|
11014
11015
|
};
|
|
11015
11016
|
|
|
11016
11017
|
function from$3(country) {
|
|
11017
|
-
return names$2[country] || from$3(
|
|
11018
|
+
return names$2[country] || from$3(TimeZone.Alpha2.from(country));
|
|
11018
11019
|
}
|
|
11019
11020
|
const names$2 = {
|
|
11020
11021
|
AU: "Австралія",
|
|
@@ -11270,7 +11271,7 @@ const names$2 = {
|
|
|
11270
11271
|
};
|
|
11271
11272
|
|
|
11272
11273
|
function from$2(country) {
|
|
11273
|
-
return names$1[country] || from$2(
|
|
11274
|
+
return names$1[country] || from$2(TimeZone.Alpha2.from(country));
|
|
11274
11275
|
}
|
|
11275
11276
|
const names$1 = {
|
|
11276
11277
|
AD: "Andorra",
|
|
@@ -11526,7 +11527,7 @@ const names$1 = {
|
|
|
11526
11527
|
};
|
|
11527
11528
|
|
|
11528
11529
|
function from$1(country) {
|
|
11529
|
-
return names[country] || from$1(
|
|
11530
|
+
return names[country] || from$1(TimeZone.Alpha2.from(country));
|
|
11530
11531
|
}
|
|
11531
11532
|
const names = {
|
|
11532
11533
|
AD: "安道尔",
|