@budiauktioner/buildi-primitives 0.1.0 → 0.2.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/BREAKING_CHANGES.md +81 -0
- package/CHANGELOG.md +72 -1
- package/PARITY.md +202 -0
- package/README.md +58 -9
- package/dist/cjs/banking/bank-resolver.js +378 -0
- package/dist/cjs/banking/bank-resolver.js.map +7 -0
- package/dist/cjs/banking/bic.js +189 -0
- package/dist/cjs/banking/bic.js.map +7 -0
- package/dist/cjs/banking/iban.js +314 -0
- package/dist/cjs/banking/iban.js.map +7 -0
- package/dist/cjs/banking/index.js +60 -0
- package/dist/cjs/banking/index.js.map +7 -0
- package/dist/cjs/banking/swedish-bank-account-holder-name.js +124 -0
- package/dist/cjs/banking/swedish-bank-account-holder-name.js.map +7 -0
- package/dist/cjs/banking/swedish-bank-account.js +211 -0
- package/dist/cjs/banking/swedish-bank-account.js.map +7 -0
- package/dist/cjs/banking/swedish-bank-clearing-number.js +156 -0
- package/dist/cjs/banking/swedish-bank-clearing-number.js.map +7 -0
- package/dist/cjs/banking/swedish-bank.js +89 -0
- package/dist/cjs/banking/swedish-bank.js.map +7 -0
- package/dist/cjs/banking/swedish-bankgiro-number.js +176 -0
- package/dist/cjs/banking/swedish-bankgiro-number.js.map +7 -0
- package/dist/cjs/banking/swedish-banking-number.js +201 -0
- package/dist/cjs/banking/swedish-banking-number.js.map +7 -0
- package/dist/cjs/banking/swedish-ocr-reference-number.js +215 -0
- package/dist/cjs/banking/swedish-ocr-reference-number.js.map +7 -0
- package/dist/cjs/banking/swedish-postgiro-number.js +173 -0
- package/dist/cjs/banking/swedish-postgiro-number.js.map +7 -0
- package/dist/cjs/banking/swedish-swish-number.js +165 -0
- package/dist/cjs/banking/swedish-swish-number.js.map +7 -0
- package/dist/cjs/contact/address-city.js +104 -0
- package/dist/cjs/contact/address-city.js.map +7 -0
- package/dist/cjs/contact/address-street.js +220 -0
- package/dist/cjs/contact/address-street.js.map +7 -0
- package/dist/cjs/contact/address-zip-code.js +195 -0
- package/dist/cjs/contact/address-zip-code.js.map +7 -0
- package/dist/cjs/contact/address.js +405 -0
- package/dist/cjs/contact/address.js.map +7 -0
- package/dist/cjs/contact/contact-address.js +142 -0
- package/dist/cjs/contact/contact-address.js.map +7 -0
- package/dist/cjs/contact/contact-external-links.js +39 -0
- package/dist/cjs/contact/contact-external-links.js.map +7 -0
- package/dist/cjs/contact/contact-lookup.js +31 -0
- package/dist/cjs/contact/contact-lookup.js.map +7 -0
- package/dist/cjs/contact/contact-masking.js +117 -0
- package/dist/cjs/contact/contact-masking.js.map +7 -0
- package/dist/cjs/contact/country-address-factory.js +97 -0
- package/dist/cjs/contact/country-address-factory.js.map +7 -0
- package/dist/cjs/contact/country-address-registry.js +36 -0
- package/dist/cjs/contact/country-address-registry.js.map +7 -0
- package/dist/cjs/contact/country-address.js +98 -0
- package/dist/cjs/contact/country-address.js.map +7 -0
- package/dist/cjs/contact/country-addresses.js +346 -0
- package/dist/cjs/contact/country-addresses.js.map +7 -0
- package/dist/cjs/contact/country-zip-code-factory.js +117 -0
- package/dist/cjs/contact/country-zip-code-factory.js.map +7 -0
- package/dist/cjs/contact/country-zip-codes.js +376 -0
- package/dist/cjs/contact/country-zip-codes.js.map +7 -0
- package/dist/cjs/contact/index.js +72 -0
- package/dist/cjs/contact/index.js.map +7 -0
- package/dist/cjs/contact/phone-calling-code.js +439 -0
- package/dist/cjs/contact/phone-calling-code.js.map +7 -0
- package/dist/cjs/contact/phone-number-test-data.js +63 -0
- package/dist/cjs/contact/phone-number-test-data.js.map +7 -0
- package/dist/cjs/contact/phone-number.js +325 -0
- package/dist/cjs/contact/phone-number.js.map +7 -0
- package/dist/cjs/contact/register-default-country-addresses.js +88 -0
- package/dist/cjs/contact/register-default-country-addresses.js.map +7 -0
- package/dist/cjs/contact/swedish-address-zip-code.js +92 -0
- package/dist/cjs/contact/swedish-address-zip-code.js.map +7 -0
- package/dist/cjs/contact/swedish-address.js +169 -0
- package/dist/cjs/contact/swedish-address.js.map +7 -0
- package/dist/cjs/finance/currency.js +251 -0
- package/dist/cjs/finance/currency.js.map +7 -0
- package/dist/cjs/finance/exchange-rates.js +51 -0
- package/dist/cjs/finance/exchange-rates.js.map +7 -0
- package/dist/cjs/finance/index.js +34 -0
- package/dist/cjs/finance/index.js.map +7 -0
- package/dist/cjs/finance/isin.js +161 -0
- package/dist/cjs/finance/isin.js.map +7 -0
- package/dist/cjs/finance/money-amount.js +307 -0
- package/dist/cjs/finance/money-amount.js.map +7 -0
- package/dist/cjs/geography/adjacency-data.js +335 -0
- package/dist/cjs/geography/adjacency-data.js.map +7 -0
- package/dist/cjs/geography/continent.js +125 -0
- package/dist/cjs/geography/continent.js.map +7 -0
- package/dist/cjs/geography/country-capital.js +45 -0
- package/dist/cjs/geography/country-capital.js.map +7 -0
- package/dist/cjs/geography/country-capitals.js +288 -0
- package/dist/cjs/geography/country-capitals.js.map +7 -0
- package/dist/cjs/geography/country-coordinates.js +238 -0
- package/dist/cjs/geography/country-coordinates.js.map +7 -0
- package/dist/cjs/geography/country-data.js +530 -0
- package/dist/cjs/geography/country-data.js.map +7 -0
- package/dist/cjs/geography/country-metadata.js +627 -0
- package/dist/cjs/geography/country-metadata.js.map +7 -0
- package/dist/cjs/geography/country.js +427 -0
- package/dist/cjs/geography/country.js.map +7 -0
- package/dist/cjs/geography/geo-coordinate.js +244 -0
- package/dist/cjs/geography/geo-coordinate.js.map +7 -0
- package/dist/cjs/geography/geography-extensions.js +82 -0
- package/dist/cjs/geography/geography-extensions.js.map +7 -0
- package/dist/cjs/geography/geography-external-links.js +52 -0
- package/dist/cjs/geography/geography-external-links.js.map +7 -0
- package/dist/cjs/geography/geography-lookup.js +31 -0
- package/dist/cjs/geography/geography-lookup.js.map +7 -0
- package/dist/cjs/geography/geography-masking.js +54 -0
- package/dist/cjs/geography/geography-masking.js.map +7 -0
- package/dist/cjs/geography/index.js +57 -0
- package/dist/cjs/geography/index.js.map +7 -0
- package/dist/cjs/geography/language.js +462 -0
- package/dist/cjs/geography/language.js.map +7 -0
- package/dist/cjs/geography/swedish-county.js +232 -0
- package/dist/cjs/geography/swedish-county.js.map +7 -0
- package/dist/cjs/geography/swedish-municipality-data.js +316 -0
- package/dist/cjs/geography/swedish-municipality-data.js.map +7 -0
- package/dist/cjs/geography/swedish-municipality.js +218 -0
- package/dist/cjs/geography/swedish-municipality.js.map +7 -0
- package/dist/cjs/index.js +33 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/cjs/internal/case-folding.js +32 -0
- package/dist/cjs/internal/case-folding.js.map +7 -0
- package/dist/cjs/internal/clock.js +32 -0
- package/dist/cjs/internal/clock.js.map +7 -0
- package/dist/cjs/internal/decimal.js +262 -0
- package/dist/cjs/internal/decimal.js.map +7 -0
- package/dist/cjs/internal/gs1-prefix.js +164 -0
- package/dist/cjs/internal/gs1-prefix.js.map +7 -0
- package/dist/cjs/internal/gtin-check-digit.js +46 -0
- package/dist/cjs/internal/gtin-check-digit.js.map +7 -0
- package/dist/cjs/internal/input-sanitization.js +79 -0
- package/dist/cjs/internal/input-sanitization.js.map +7 -0
- package/dist/cjs/internal/luhn.js +40 -0
- package/dist/cjs/internal/luhn.js.map +7 -0
- package/dist/cjs/internal/measurement-unit-parser.js +86 -0
- package/dist/cjs/internal/measurement-unit-parser.js.map +7 -0
- package/dist/cjs/internal/measurement-unit.js +130 -0
- package/dist/cjs/internal/measurement-unit.js.map +7 -0
- package/dist/cjs/internal/quantity.js +122 -0
- package/dist/cjs/internal/quantity.js.map +7 -0
- package/dist/cjs/internal/shoe-size-format.js +31 -0
- package/dist/cjs/internal/shoe-size-format.js.map +7 -0
- package/dist/cjs/measurement/area-unit.js +158 -0
- package/dist/cjs/measurement/area-unit.js.map +7 -0
- package/dist/cjs/measurement/area.js +183 -0
- package/dist/cjs/measurement/area.js.map +7 -0
- package/dist/cjs/measurement/count.js +132 -0
- package/dist/cjs/measurement/count.js.map +7 -0
- package/dist/cjs/measurement/data-size-unit.js +208 -0
- package/dist/cjs/measurement/data-size-unit.js.map +7 -0
- package/dist/cjs/measurement/data-size.js +207 -0
- package/dist/cjs/measurement/data-size.js.map +7 -0
- package/dist/cjs/measurement/electric-charge-unit.js +109 -0
- package/dist/cjs/measurement/electric-charge-unit.js.map +7 -0
- package/dist/cjs/measurement/electric-charge.js +148 -0
- package/dist/cjs/measurement/electric-charge.js.map +7 -0
- package/dist/cjs/measurement/electric-current-unit.js +108 -0
- package/dist/cjs/measurement/electric-current-unit.js.map +7 -0
- package/dist/cjs/measurement/electric-current.js +154 -0
- package/dist/cjs/measurement/electric-current.js.map +7 -0
- package/dist/cjs/measurement/energy-unit.js +201 -0
- package/dist/cjs/measurement/energy-unit.js.map +7 -0
- package/dist/cjs/measurement/energy.js +207 -0
- package/dist/cjs/measurement/energy.js.map +7 -0
- package/dist/cjs/measurement/flow-rate-unit.js +132 -0
- package/dist/cjs/measurement/flow-rate-unit.js.map +7 -0
- package/dist/cjs/measurement/flow-rate.js +162 -0
- package/dist/cjs/measurement/flow-rate.js.map +7 -0
- package/dist/cjs/measurement/frequency-unit.js +132 -0
- package/dist/cjs/measurement/frequency-unit.js.map +7 -0
- package/dist/cjs/measurement/frequency.js +165 -0
- package/dist/cjs/measurement/frequency.js.map +7 -0
- package/dist/cjs/measurement/index.js +136 -0
- package/dist/cjs/measurement/index.js.map +7 -0
- package/dist/cjs/measurement/length-unit.js +210 -0
- package/dist/cjs/measurement/length-unit.js.map +7 -0
- package/dist/cjs/measurement/length.js +208 -0
- package/dist/cjs/measurement/length.js.map +7 -0
- package/dist/cjs/measurement/luminance-unit.js +110 -0
- package/dist/cjs/measurement/luminance-unit.js.map +7 -0
- package/dist/cjs/measurement/luminance.js +158 -0
- package/dist/cjs/measurement/luminance.js.map +7 -0
- package/dist/cjs/measurement/luminous-flux-unit.js +86 -0
- package/dist/cjs/measurement/luminous-flux-unit.js.map +7 -0
- package/dist/cjs/measurement/luminous-flux.js +139 -0
- package/dist/cjs/measurement/luminous-flux.js.map +7 -0
- package/dist/cjs/measurement/percentage.js +212 -0
- package/dist/cjs/measurement/percentage.js.map +7 -0
- package/dist/cjs/measurement/power-unit.js +155 -0
- package/dist/cjs/measurement/power-unit.js.map +7 -0
- package/dist/cjs/measurement/power.js +184 -0
- package/dist/cjs/measurement/power.js.map +7 -0
- package/dist/cjs/measurement/pressure-unit.js +168 -0
- package/dist/cjs/measurement/pressure-unit.js.map +7 -0
- package/dist/cjs/measurement/pressure.js +189 -0
- package/dist/cjs/measurement/pressure.js.map +7 -0
- package/dist/cjs/measurement/rotational-speed-unit.js +96 -0
- package/dist/cjs/measurement/rotational-speed-unit.js.map +7 -0
- package/dist/cjs/measurement/rotational-speed.js +152 -0
- package/dist/cjs/measurement/rotational-speed.js.map +7 -0
- package/dist/cjs/measurement/sound-level.js +185 -0
- package/dist/cjs/measurement/sound-level.js.map +7 -0
- package/dist/cjs/measurement/speed-unit.js +119 -0
- package/dist/cjs/measurement/speed-unit.js.map +7 -0
- package/dist/cjs/measurement/speed.js +159 -0
- package/dist/cjs/measurement/speed.js.map +7 -0
- package/dist/cjs/measurement/temperature-delta.js +101 -0
- package/dist/cjs/measurement/temperature-delta.js.map +7 -0
- package/dist/cjs/measurement/temperature-unit.js +130 -0
- package/dist/cjs/measurement/temperature-unit.js.map +7 -0
- package/dist/cjs/measurement/temperature.js +216 -0
- package/dist/cjs/measurement/temperature.js.map +7 -0
- package/dist/cjs/measurement/torque-unit.js +138 -0
- package/dist/cjs/measurement/torque-unit.js.map +7 -0
- package/dist/cjs/measurement/torque.js +165 -0
- package/dist/cjs/measurement/torque.js.map +7 -0
- package/dist/cjs/measurement/voltage-unit.js +127 -0
- package/dist/cjs/measurement/voltage-unit.js.map +7 -0
- package/dist/cjs/measurement/voltage.js +159 -0
- package/dist/cjs/measurement/voltage.js.map +7 -0
- package/dist/cjs/measurement/volume-unit.js +178 -0
- package/dist/cjs/measurement/volume-unit.js.map +7 -0
- package/dist/cjs/measurement/volume.js +195 -0
- package/dist/cjs/measurement/volume.js.map +7 -0
- package/dist/cjs/measurement/weight-unit.js +158 -0
- package/dist/cjs/measurement/weight-unit.js.map +7 -0
- package/dist/cjs/measurement/weight.js +183 -0
- package/dist/cjs/measurement/weight.js.map +7 -0
- package/dist/cjs/measurement/year-month.js +204 -0
- package/dist/cjs/measurement/year-month.js.map +7 -0
- package/dist/cjs/measurement/year.js +109 -0
- package/dist/cjs/measurement/year.js.map +7 -0
- package/dist/cjs/organization/duns-number.js +114 -0
- package/dist/cjs/organization/duns-number.js.map +7 -0
- package/dist/cjs/organization/elf-code.js +132 -0
- package/dist/cjs/organization/elf-code.js.map +7 -0
- package/dist/cjs/organization/eu-organization-name.js +119 -0
- package/dist/cjs/organization/eu-organization-name.js.map +7 -0
- package/dist/cjs/organization/eu-vat-number.js +444 -0
- package/dist/cjs/organization/eu-vat-number.js.map +7 -0
- package/dist/cjs/organization/index.js +65 -0
- package/dist/cjs/organization/index.js.map +7 -0
- package/dist/cjs/organization/lei-code.js +133 -0
- package/dist/cjs/organization/lei-code.js.map +7 -0
- package/dist/cjs/organization/organization-extensions.js +80 -0
- package/dist/cjs/organization/organization-extensions.js.map +7 -0
- package/dist/cjs/organization/organization-validation-utils.js +78 -0
- package/dist/cjs/organization/organization-validation-utils.js.map +7 -0
- package/dist/cjs/organization/swedish-cfar-number.js +88 -0
- package/dist/cjs/organization/swedish-cfar-number.js.map +7 -0
- package/dist/cjs/organization/swedish-organization-identifier-type.js +34 -0
- package/dist/cjs/organization/swedish-organization-identifier-type.js.map +7 -0
- package/dist/cjs/organization/swedish-organization-identifier.js +166 -0
- package/dist/cjs/organization/swedish-organization-identifier.js.map +7 -0
- package/dist/cjs/organization/swedish-organization-name.js +255 -0
- package/dist/cjs/organization/swedish-organization-name.js.map +7 -0
- package/dist/cjs/organization/swedish-organization-number.js +289 -0
- package/dist/cjs/organization/swedish-organization-number.js.map +7 -0
- package/dist/cjs/organization/swedish-organization-type.js +51 -0
- package/dist/cjs/organization/swedish-organization-type.js.map +7 -0
- package/dist/cjs/organization/swedish-sni-code.js +96 -0
- package/dist/cjs/organization/swedish-sni-code.js.map +7 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/person/index.js +49 -0
- package/dist/cjs/person/index.js.map +7 -0
- package/dist/cjs/person/person-age.js +187 -0
- package/dist/cjs/person/person-age.js.map +7 -0
- package/dist/cjs/person/person-family-name.js +83 -0
- package/dist/cjs/person/person-family-name.js.map +7 -0
- package/dist/cjs/person/person-full-name.js +106 -0
- package/dist/cjs/person/person-full-name.js.map +7 -0
- package/dist/cjs/person/person-given-name.js +103 -0
- package/dist/cjs/person/person-given-name.js.map +7 -0
- package/dist/cjs/person/person-masking.js +48 -0
- package/dist/cjs/person/person-masking.js.map +7 -0
- package/dist/cjs/person/person-name-normalization.js +99 -0
- package/dist/cjs/person/person-name-normalization.js.map +7 -0
- package/dist/cjs/person/personnummer-parser.js +156 -0
- package/dist/cjs/person/personnummer-parser.js.map +7 -0
- package/dist/cjs/person/swedish-coordination-number.js +186 -0
- package/dist/cjs/person/swedish-coordination-number.js.map +7 -0
- package/dist/cjs/person/swedish-personal-identity-number.js +188 -0
- package/dist/cjs/person/swedish-personal-identity-number.js.map +7 -0
- package/dist/cjs/primitive-type-info.js +17 -0
- package/dist/cjs/primitive-type-info.js.map +7 -0
- package/dist/cjs/primitives-defaults.js +92 -0
- package/dist/cjs/primitives-defaults.js.map +7 -0
- package/dist/cjs/product/adult-clothing-size.js +148 -0
- package/dist/cjs/product/adult-clothing-size.js.map +7 -0
- package/dist/cjs/product/adult-shoe-size.js +139 -0
- package/dist/cjs/product/adult-shoe-size.js.map +7 -0
- package/dist/cjs/product/aspect-ratio.js +188 -0
- package/dist/cjs/product/aspect-ratio.js.map +7 -0
- package/dist/cjs/product/battery-capacity.js +184 -0
- package/dist/cjs/product/battery-capacity.js.map +7 -0
- package/dist/cjs/product/battery-chemistry.js +259 -0
- package/dist/cjs/product/battery-chemistry.js.map +7 -0
- package/dist/cjs/product/camera-resolution.js +161 -0
- package/dist/cjs/product/camera-resolution.js.map +7 -0
- package/dist/cjs/product/child-clothing-size.js +254 -0
- package/dist/cjs/product/child-clothing-size.js.map +7 -0
- package/dist/cjs/product/child-shoe-size.js +200 -0
- package/dist/cjs/product/child-shoe-size.js.map +7 -0
- package/dist/cjs/product/clothing-fit.js +223 -0
- package/dist/cjs/product/clothing-fit.js.map +7 -0
- package/dist/cjs/product/clothing-gender.js +198 -0
- package/dist/cjs/product/clothing-gender.js.map +7 -0
- package/dist/cjs/product/clothing-season.js +202 -0
- package/dist/cjs/product/clothing-season.js.map +7 -0
- package/dist/cjs/product/clothing-size-system.js +31 -0
- package/dist/cjs/product/clothing-size-system.js.map +7 -0
- package/dist/cjs/product/clothing-size.js +146 -0
- package/dist/cjs/product/clothing-size.js.map +7 -0
- package/dist/cjs/product/color.js +334 -0
- package/dist/cjs/product/color.js.map +7 -0
- package/dist/cjs/product/display-panel-type.js +287 -0
- package/dist/cjs/product/display-panel-type.js.map +7 -0
- package/dist/cjs/product/electrical-phase.js +194 -0
- package/dist/cjs/product/electrical-phase.js.map +7 -0
- package/dist/cjs/product/energy-scale.js +31 -0
- package/dist/cjs/product/energy-scale.js.map +7 -0
- package/dist/cjs/product/eu-energy-efficiency-class.js +135 -0
- package/dist/cjs/product/eu-energy-efficiency-class.js.map +7 -0
- package/dist/cjs/product/google-product-category.js +114 -0
- package/dist/cjs/product/google-product-category.js.map +7 -0
- package/dist/cjs/product/gtin.js +99 -0
- package/dist/cjs/product/gtin.js.map +7 -0
- package/dist/cjs/product/gtin12.js +130 -0
- package/dist/cjs/product/gtin12.js.map +7 -0
- package/dist/cjs/product/gtin13.js +147 -0
- package/dist/cjs/product/gtin13.js.map +7 -0
- package/dist/cjs/product/gtin14.js +135 -0
- package/dist/cjs/product/gtin14.js.map +7 -0
- package/dist/cjs/product/gtin8.js +130 -0
- package/dist/cjs/product/gtin8.js.map +7 -0
- package/dist/cjs/product/hs-code-level.js +32 -0
- package/dist/cjs/product/hs-code-level.js.map +7 -0
- package/dist/cjs/product/hs-code.js +126 -0
- package/dist/cjs/product/hs-code.js.map +7 -0
- package/dist/cjs/product/index.js +128 -0
- package/dist/cjs/product/index.js.map +7 -0
- package/dist/cjs/product/ip-rating.js +166 -0
- package/dist/cjs/product/ip-rating.js.map +7 -0
- package/dist/cjs/product/operating-system-family.js +37 -0
- package/dist/cjs/product/operating-system-family.js.map +7 -0
- package/dist/cjs/product/operating-system-info.js +100 -0
- package/dist/cjs/product/operating-system-info.js.map +7 -0
- package/dist/cjs/product/operating-system-name.js +127 -0
- package/dist/cjs/product/operating-system-name.js.map +7 -0
- package/dist/cjs/product/operating-system-version.js +110 -0
- package/dist/cjs/product/operating-system-version.js.map +7 -0
- package/dist/cjs/product/power-source.js +318 -0
- package/dist/cjs/product/power-source.js.map +7 -0
- package/dist/cjs/product/processor-speed.js +159 -0
- package/dist/cjs/product/processor-speed.js.map +7 -0
- package/dist/cjs/product/product-extensions.js +27 -0
- package/dist/cjs/product/product-extensions.js.map +7 -0
- package/dist/cjs/product/product-masking.js +102 -0
- package/dist/cjs/product/product-masking.js.map +7 -0
- package/dist/cjs/product/ram-capacity.js +154 -0
- package/dist/cjs/product/ram-capacity.js.map +7 -0
- package/dist/cjs/product/refrigerant-family.js +40 -0
- package/dist/cjs/product/refrigerant-family.js.map +7 -0
- package/dist/cjs/product/refrigerant.js +419 -0
- package/dist/cjs/product/refrigerant.js.map +7 -0
- package/dist/cjs/product/screen-resolution.js +197 -0
- package/dist/cjs/product/screen-resolution.js.map +7 -0
- package/dist/cjs/product/screen-size.js +184 -0
- package/dist/cjs/product/screen-size.js.map +7 -0
- package/dist/cjs/product/shoe-size-system.js +31 -0
- package/dist/cjs/product/shoe-size-system.js.map +7 -0
- package/dist/cjs/product/shoe-size.js +138 -0
- package/dist/cjs/product/shoe-size.js.map +7 -0
- package/dist/cjs/product/storage-capacity.js +159 -0
- package/dist/cjs/product/storage-capacity.js.map +7 -0
- package/dist/cjs/product/storage-media-type.js +271 -0
- package/dist/cjs/product/storage-media-type.js.map +7 -0
- package/dist/cjs/property/index.js +31 -0
- package/dist/cjs/property/index.js.map +7 -0
- package/dist/cjs/property/swedish-property-designation.js +179 -0
- package/dist/cjs/property/swedish-property-designation.js.map +7 -0
- package/dist/cjs/property/swedish-property-taxation-code.js +218 -0
- package/dist/cjs/property/swedish-property-taxation-code.js.map +7 -0
- package/dist/cjs/register-default-text-scanners.js +290 -0
- package/dist/cjs/register-default-text-scanners.js.map +7 -0
- package/dist/cjs/sample-data/index.js +358 -0
- package/dist/cjs/sample-data/index.js.map +7 -0
- package/dist/cjs/text-scanning/index.js +38 -0
- package/dist/cjs/text-scanning/index.js.map +7 -0
- package/dist/cjs/text-scanning/text-candidate-category.js +35 -0
- package/dist/cjs/text-scanning/text-candidate-category.js.map +7 -0
- package/dist/cjs/text-scanning/text-candidate.js +75 -0
- package/dist/cjs/text-scanning/text-candidate.js.map +7 -0
- package/dist/cjs/text-scanning/text-match-confidence.js +43 -0
- package/dist/cjs/text-scanning/text-match-confidence.js.map +7 -0
- package/dist/cjs/text-scanning/text-scan-helpers.js +98 -0
- package/dist/cjs/text-scanning/text-scan-helpers.js.map +7 -0
- package/dist/cjs/text-scanning/text-scan-result.js +333 -0
- package/dist/cjs/text-scanning/text-scan-result.js.map +7 -0
- package/dist/cjs/text-scanning/text-scanner-options.js +29 -0
- package/dist/cjs/text-scanning/text-scanner-options.js.map +7 -0
- package/dist/cjs/text-scanning/text-scanner.js +60 -0
- package/dist/cjs/text-scanning/text-scanner.js.map +7 -0
- package/dist/cjs/validation/index.js +29 -0
- package/dist/cjs/validation/index.js.map +7 -0
- package/dist/cjs/validation/validation-error-reason.js +53 -0
- package/dist/cjs/validation/validation-error-reason.js.map +7 -0
- package/dist/cjs/validation/validation-issue.js +43 -0
- package/dist/cjs/validation/validation-issue.js.map +7 -0
- package/dist/cjs/validation/validation-result.js +52 -0
- package/dist/cjs/validation/validation-result.js.map +7 -0
- package/dist/cjs/vehicle/boat-ce-design-category.js +200 -0
- package/dist/cjs/vehicle/boat-ce-design-category.js.map +7 -0
- package/dist/cjs/vehicle/boat-hull-material.js +222 -0
- package/dist/cjs/vehicle/boat-hull-material.js.map +7 -0
- package/dist/cjs/vehicle/body-type.js +325 -0
- package/dist/cjs/vehicle/body-type.js.map +7 -0
- package/dist/cjs/vehicle/bolt-pattern.js +150 -0
- package/dist/cjs/vehicle/bolt-pattern.js.map +7 -0
- package/dist/cjs/vehicle/drivetrain-type.js +200 -0
- package/dist/cjs/vehicle/drivetrain-type.js.map +7 -0
- package/dist/cjs/vehicle/emission-rate.js +194 -0
- package/dist/cjs/vehicle/emission-rate.js.map +7 -0
- package/dist/cjs/vehicle/energy-consumption.js +250 -0
- package/dist/cjs/vehicle/energy-consumption.js.map +7 -0
- package/dist/cjs/vehicle/engine-displacement.js +169 -0
- package/dist/cjs/vehicle/engine-displacement.js.map +7 -0
- package/dist/cjs/vehicle/engine-power.js +211 -0
- package/dist/cjs/vehicle/engine-power.js.map +7 -0
- package/dist/cjs/vehicle/eu-type-approval-number.js +196 -0
- package/dist/cjs/vehicle/eu-type-approval-number.js.map +7 -0
- package/dist/cjs/vehicle/eu-vehicle-category.js +167 -0
- package/dist/cjs/vehicle/eu-vehicle-category.js.map +7 -0
- package/dist/cjs/vehicle/euro-emission-class.js +313 -0
- package/dist/cjs/vehicle/euro-emission-class.js.map +7 -0
- package/dist/cjs/vehicle/fuel-consumption-norm.js +206 -0
- package/dist/cjs/vehicle/fuel-consumption-norm.js.map +7 -0
- package/dist/cjs/vehicle/fuel-consumption.js +281 -0
- package/dist/cjs/vehicle/fuel-consumption.js.map +7 -0
- package/dist/cjs/vehicle/fuel-type.js +288 -0
- package/dist/cjs/vehicle/fuel-type.js.map +7 -0
- package/dist/cjs/vehicle/index.js +108 -0
- package/dist/cjs/vehicle/index.js.map +7 -0
- package/dist/cjs/vehicle/odometer-reading.js +165 -0
- package/dist/cjs/vehicle/odometer-reading.js.map +7 -0
- package/dist/cjs/vehicle/operating-hours.js +174 -0
- package/dist/cjs/vehicle/operating-hours.js.map +7 -0
- package/dist/cjs/vehicle/suspension-type.js +312 -0
- package/dist/cjs/vehicle/suspension-type.js.map +7 -0
- package/dist/cjs/vehicle/swedish-driving-license-category.js +404 -0
- package/dist/cjs/vehicle/swedish-driving-license-category.js.map +7 -0
- package/dist/cjs/vehicle/swedish-driving-license-vehicle-group.js +32 -0
- package/dist/cjs/vehicle/swedish-driving-license-vehicle-group.js.map +7 -0
- package/dist/cjs/vehicle/swedish-eco-vehicle-classification.js +232 -0
- package/dist/cjs/vehicle/swedish-eco-vehicle-classification.js.map +7 -0
- package/dist/cjs/vehicle/swedish-vehicle-registration-number.js +193 -0
- package/dist/cjs/vehicle/swedish-vehicle-registration-number.js.map +7 -0
- package/dist/cjs/vehicle/swedish-vehicle-status.js +172 -0
- package/dist/cjs/vehicle/swedish-vehicle-status.js.map +7 -0
- package/dist/cjs/vehicle/swedish-vehicle-type.js +282 -0
- package/dist/cjs/vehicle/swedish-vehicle-type.js.map +7 -0
- package/dist/cjs/vehicle/tire-dimension.js +206 -0
- package/dist/cjs/vehicle/tire-dimension.js.map +7 -0
- package/dist/cjs/vehicle/tire-type.js +228 -0
- package/dist/cjs/vehicle/tire-type.js.map +7 -0
- package/dist/cjs/vehicle/track-type.js +188 -0
- package/dist/cjs/vehicle/track-type.js.map +7 -0
- package/dist/cjs/vehicle/transmission-type.js +258 -0
- package/dist/cjs/vehicle/transmission-type.js.map +7 -0
- package/dist/cjs/vehicle/vehicle-extensions.js +35 -0
- package/dist/cjs/vehicle/vehicle-extensions.js.map +7 -0
- package/dist/cjs/vehicle/vehicle-identification-number.js +265 -0
- package/dist/cjs/vehicle/vehicle-identification-number.js.map +7 -0
- package/dist/cjs/vehicle/vehicle-masking.js +68 -0
- package/dist/cjs/vehicle/vehicle-masking.js.map +7 -0
- package/dist/cjs/vehicle/wheel-rim-dimension.js +183 -0
- package/dist/cjs/vehicle/wheel-rim-dimension.js.map +7 -0
- package/dist/cjs/web/email-address.js +542 -0
- package/dist/cjs/web/email-address.js.map +7 -0
- package/dist/cjs/web/index.js +31 -0
- package/dist/cjs/web/index.js.map +7 -0
- package/dist/cjs/web/url.js +353 -0
- package/dist/cjs/web/url.js.map +7 -0
- package/dist/esm/banking/bank-resolver.js +358 -0
- package/dist/esm/banking/bank-resolver.js.map +7 -0
- package/dist/esm/banking/bic.js +169 -0
- package/dist/esm/banking/bic.js.map +7 -0
- package/dist/esm/banking/iban.js +294 -0
- package/dist/esm/banking/iban.js.map +7 -0
- package/dist/esm/banking/index.js +60 -0
- package/dist/esm/banking/index.js.map +7 -0
- package/dist/esm/banking/swedish-bank-account-holder-name.js +104 -0
- package/dist/esm/banking/swedish-bank-account-holder-name.js.map +7 -0
- package/dist/esm/banking/swedish-bank-account.js +199 -0
- package/dist/esm/banking/swedish-bank-account.js.map +7 -0
- package/dist/esm/banking/swedish-bank-clearing-number.js +136 -0
- package/dist/esm/banking/swedish-bank-clearing-number.js.map +7 -0
- package/dist/esm/banking/swedish-bank.js +69 -0
- package/dist/esm/banking/swedish-bank.js.map +7 -0
- package/dist/esm/banking/swedish-bankgiro-number.js +156 -0
- package/dist/esm/banking/swedish-bankgiro-number.js.map +7 -0
- package/dist/esm/banking/swedish-banking-number.js +181 -0
- package/dist/esm/banking/swedish-banking-number.js.map +7 -0
- package/dist/esm/banking/swedish-ocr-reference-number.js +195 -0
- package/dist/esm/banking/swedish-ocr-reference-number.js.map +7 -0
- package/dist/esm/banking/swedish-postgiro-number.js +153 -0
- package/dist/esm/banking/swedish-postgiro-number.js.map +7 -0
- package/dist/esm/banking/swedish-swish-number.js +145 -0
- package/dist/esm/banking/swedish-swish-number.js.map +7 -0
- package/dist/esm/contact/address-city.js +84 -0
- package/dist/esm/contact/address-city.js.map +7 -0
- package/dist/esm/contact/address-street.js +200 -0
- package/dist/esm/contact/address-street.js.map +7 -0
- package/dist/esm/contact/address-zip-code.js +175 -0
- package/dist/esm/contact/address-zip-code.js.map +7 -0
- package/dist/esm/contact/address.js +388 -0
- package/dist/esm/contact/address.js.map +7 -0
- package/dist/esm/contact/contact-address.js +122 -0
- package/dist/esm/contact/contact-address.js.map +7 -0
- package/dist/esm/contact/contact-external-links.js +19 -0
- package/dist/esm/contact/contact-external-links.js.map +7 -0
- package/dist/esm/contact/contact-lookup.js +11 -0
- package/dist/esm/contact/contact-lookup.js.map +7 -0
- package/dist/esm/contact/contact-masking.js +97 -0
- package/dist/esm/contact/contact-masking.js.map +7 -0
- package/dist/esm/contact/country-address-factory.js +80 -0
- package/dist/esm/contact/country-address-factory.js.map +7 -0
- package/dist/esm/contact/country-address-registry.js +16 -0
- package/dist/esm/contact/country-address-registry.js.map +7 -0
- package/dist/esm/contact/country-address.js +78 -0
- package/dist/esm/contact/country-address.js.map +7 -0
- package/dist/esm/contact/country-addresses.js +316 -0
- package/dist/esm/contact/country-addresses.js.map +7 -0
- package/dist/esm/contact/country-zip-code-factory.js +97 -0
- package/dist/esm/contact/country-zip-code-factory.js.map +7 -0
- package/dist/esm/contact/country-zip-codes.js +363 -0
- package/dist/esm/contact/country-zip-codes.js.map +7 -0
- package/dist/esm/contact/index.js +63 -0
- package/dist/esm/contact/index.js.map +7 -0
- package/dist/esm/contact/phone-calling-code.js +419 -0
- package/dist/esm/contact/phone-calling-code.js.map +7 -0
- package/dist/esm/contact/phone-number-test-data.js +43 -0
- package/dist/esm/contact/phone-number-test-data.js.map +7 -0
- package/dist/esm/contact/phone-number.js +305 -0
- package/dist/esm/contact/phone-number.js.map +7 -0
- package/dist/esm/contact/register-default-country-addresses.js +58 -0
- package/dist/esm/contact/register-default-country-addresses.js.map +7 -0
- package/dist/esm/contact/swedish-address-zip-code.js +72 -0
- package/dist/esm/contact/swedish-address-zip-code.js.map +7 -0
- package/dist/esm/contact/swedish-address.js +149 -0
- package/dist/esm/contact/swedish-address.js.map +7 -0
- package/dist/esm/finance/currency.js +231 -0
- package/dist/esm/finance/currency.js.map +7 -0
- package/dist/esm/finance/exchange-rates.js +31 -0
- package/dist/esm/finance/exchange-rates.js.map +7 -0
- package/dist/esm/finance/index.js +14 -0
- package/dist/esm/finance/index.js.map +7 -0
- package/dist/esm/finance/isin.js +141 -0
- package/dist/esm/finance/isin.js.map +7 -0
- package/dist/esm/finance/money-amount.js +287 -0
- package/dist/esm/finance/money-amount.js.map +7 -0
- package/dist/esm/geography/adjacency-data.js +315 -0
- package/dist/esm/geography/adjacency-data.js.map +7 -0
- package/dist/esm/geography/continent.js +105 -0
- package/dist/esm/geography/continent.js.map +7 -0
- package/dist/esm/geography/country-capital.js +25 -0
- package/dist/esm/geography/country-capital.js.map +7 -0
- package/dist/esm/geography/country-capitals.js +268 -0
- package/dist/esm/geography/country-capitals.js.map +7 -0
- package/dist/esm/geography/country-coordinates.js +218 -0
- package/dist/esm/geography/country-coordinates.js.map +7 -0
- package/dist/esm/geography/country-data.js +510 -0
- package/dist/esm/geography/country-data.js.map +7 -0
- package/dist/esm/geography/country-metadata.js +607 -0
- package/dist/esm/geography/country-metadata.js.map +7 -0
- package/dist/esm/geography/country.js +417 -0
- package/dist/esm/geography/country.js.map +7 -0
- package/dist/esm/geography/geo-coordinate.js +224 -0
- package/dist/esm/geography/geo-coordinate.js.map +7 -0
- package/dist/esm/geography/geography-extensions.js +62 -0
- package/dist/esm/geography/geography-extensions.js.map +7 -0
- package/dist/esm/geography/geography-external-links.js +32 -0
- package/dist/esm/geography/geography-external-links.js.map +7 -0
- package/dist/esm/geography/geography-lookup.js +11 -0
- package/dist/esm/geography/geography-lookup.js.map +7 -0
- package/dist/esm/geography/geography-masking.js +34 -0
- package/dist/esm/geography/geography-masking.js.map +7 -0
- package/dist/esm/geography/index.js +55 -0
- package/dist/esm/geography/index.js.map +7 -0
- package/dist/esm/geography/language.js +442 -0
- package/dist/esm/geography/language.js.map +7 -0
- package/dist/esm/geography/swedish-county.js +212 -0
- package/dist/esm/geography/swedish-county.js.map +7 -0
- package/dist/esm/geography/swedish-municipality-data.js +296 -0
- package/dist/esm/geography/swedish-municipality-data.js.map +7 -0
- package/dist/esm/geography/swedish-municipality.js +198 -0
- package/dist/esm/geography/swedish-municipality.js.map +7 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/index.js.map +7 -0
- package/dist/esm/internal/case-folding.js +12 -0
- package/dist/esm/internal/case-folding.js.map +7 -0
- package/dist/esm/internal/clock.js +12 -0
- package/dist/esm/internal/clock.js.map +7 -0
- package/dist/esm/internal/decimal.js +242 -0
- package/dist/esm/internal/decimal.js.map +7 -0
- package/dist/esm/internal/gs1-prefix.js +144 -0
- package/dist/esm/internal/gs1-prefix.js.map +7 -0
- package/dist/esm/internal/gtin-check-digit.js +26 -0
- package/dist/esm/internal/gtin-check-digit.js.map +7 -0
- package/dist/esm/internal/input-sanitization.js +59 -0
- package/dist/esm/internal/input-sanitization.js.map +7 -0
- package/dist/esm/internal/luhn.js +20 -0
- package/dist/esm/internal/luhn.js.map +7 -0
- package/dist/esm/internal/measurement-unit-parser.js +66 -0
- package/dist/esm/internal/measurement-unit-parser.js.map +7 -0
- package/dist/esm/internal/measurement-unit.js +110 -0
- package/dist/esm/internal/measurement-unit.js.map +7 -0
- package/dist/esm/internal/quantity.js +102 -0
- package/dist/esm/internal/quantity.js.map +7 -0
- package/dist/esm/internal/shoe-size-format.js +11 -0
- package/dist/esm/internal/shoe-size-format.js.map +7 -0
- package/dist/esm/measurement/area-unit.js +138 -0
- package/dist/esm/measurement/area-unit.js.map +7 -0
- package/dist/esm/measurement/area.js +163 -0
- package/dist/esm/measurement/area.js.map +7 -0
- package/dist/esm/measurement/count.js +112 -0
- package/dist/esm/measurement/count.js.map +7 -0
- package/dist/esm/measurement/data-size-unit.js +188 -0
- package/dist/esm/measurement/data-size-unit.js.map +7 -0
- package/dist/esm/measurement/data-size.js +187 -0
- package/dist/esm/measurement/data-size.js.map +7 -0
- package/dist/esm/measurement/electric-charge-unit.js +89 -0
- package/dist/esm/measurement/electric-charge-unit.js.map +7 -0
- package/dist/esm/measurement/electric-charge.js +128 -0
- package/dist/esm/measurement/electric-charge.js.map +7 -0
- package/dist/esm/measurement/electric-current-unit.js +88 -0
- package/dist/esm/measurement/electric-current-unit.js.map +7 -0
- package/dist/esm/measurement/electric-current.js +134 -0
- package/dist/esm/measurement/electric-current.js.map +7 -0
- package/dist/esm/measurement/energy-unit.js +181 -0
- package/dist/esm/measurement/energy-unit.js.map +7 -0
- package/dist/esm/measurement/energy.js +187 -0
- package/dist/esm/measurement/energy.js.map +7 -0
- package/dist/esm/measurement/flow-rate-unit.js +112 -0
- package/dist/esm/measurement/flow-rate-unit.js.map +7 -0
- package/dist/esm/measurement/flow-rate.js +142 -0
- package/dist/esm/measurement/flow-rate.js.map +7 -0
- package/dist/esm/measurement/frequency-unit.js +112 -0
- package/dist/esm/measurement/frequency-unit.js.map +7 -0
- package/dist/esm/measurement/frequency.js +145 -0
- package/dist/esm/measurement/frequency.js.map +7 -0
- package/dist/esm/measurement/index.js +129 -0
- package/dist/esm/measurement/index.js.map +7 -0
- package/dist/esm/measurement/length-unit.js +190 -0
- package/dist/esm/measurement/length-unit.js.map +7 -0
- package/dist/esm/measurement/length.js +188 -0
- package/dist/esm/measurement/length.js.map +7 -0
- package/dist/esm/measurement/luminance-unit.js +90 -0
- package/dist/esm/measurement/luminance-unit.js.map +7 -0
- package/dist/esm/measurement/luminance.js +138 -0
- package/dist/esm/measurement/luminance.js.map +7 -0
- package/dist/esm/measurement/luminous-flux-unit.js +66 -0
- package/dist/esm/measurement/luminous-flux-unit.js.map +7 -0
- package/dist/esm/measurement/luminous-flux.js +119 -0
- package/dist/esm/measurement/luminous-flux.js.map +7 -0
- package/dist/esm/measurement/percentage.js +192 -0
- package/dist/esm/measurement/percentage.js.map +7 -0
- package/dist/esm/measurement/power-unit.js +135 -0
- package/dist/esm/measurement/power-unit.js.map +7 -0
- package/dist/esm/measurement/power.js +164 -0
- package/dist/esm/measurement/power.js.map +7 -0
- package/dist/esm/measurement/pressure-unit.js +148 -0
- package/dist/esm/measurement/pressure-unit.js.map +7 -0
- package/dist/esm/measurement/pressure.js +169 -0
- package/dist/esm/measurement/pressure.js.map +7 -0
- package/dist/esm/measurement/rotational-speed-unit.js +76 -0
- package/dist/esm/measurement/rotational-speed-unit.js.map +7 -0
- package/dist/esm/measurement/rotational-speed.js +132 -0
- package/dist/esm/measurement/rotational-speed.js.map +7 -0
- package/dist/esm/measurement/sound-level.js +165 -0
- package/dist/esm/measurement/sound-level.js.map +7 -0
- package/dist/esm/measurement/speed-unit.js +99 -0
- package/dist/esm/measurement/speed-unit.js.map +7 -0
- package/dist/esm/measurement/speed.js +139 -0
- package/dist/esm/measurement/speed.js.map +7 -0
- package/dist/esm/measurement/temperature-delta.js +81 -0
- package/dist/esm/measurement/temperature-delta.js.map +7 -0
- package/dist/esm/measurement/temperature-unit.js +110 -0
- package/dist/esm/measurement/temperature-unit.js.map +7 -0
- package/dist/esm/measurement/temperature.js +196 -0
- package/dist/esm/measurement/temperature.js.map +7 -0
- package/dist/esm/measurement/torque-unit.js +118 -0
- package/dist/esm/measurement/torque-unit.js.map +7 -0
- package/dist/esm/measurement/torque.js +145 -0
- package/dist/esm/measurement/torque.js.map +7 -0
- package/dist/esm/measurement/voltage-unit.js +107 -0
- package/dist/esm/measurement/voltage-unit.js.map +7 -0
- package/dist/esm/measurement/voltage.js +139 -0
- package/dist/esm/measurement/voltage.js.map +7 -0
- package/dist/esm/measurement/volume-unit.js +158 -0
- package/dist/esm/measurement/volume-unit.js.map +7 -0
- package/dist/esm/measurement/volume.js +175 -0
- package/dist/esm/measurement/volume.js.map +7 -0
- package/dist/esm/measurement/weight-unit.js +138 -0
- package/dist/esm/measurement/weight-unit.js.map +7 -0
- package/dist/esm/measurement/weight.js +163 -0
- package/dist/esm/measurement/weight.js.map +7 -0
- package/dist/esm/measurement/year-month.js +184 -0
- package/dist/esm/measurement/year-month.js.map +7 -0
- package/dist/esm/measurement/year.js +89 -0
- package/dist/esm/measurement/year.js.map +7 -0
- package/dist/esm/organization/duns-number.js +94 -0
- package/dist/esm/organization/duns-number.js.map +7 -0
- package/dist/esm/organization/elf-code.js +112 -0
- package/dist/esm/organization/elf-code.js.map +7 -0
- package/dist/esm/organization/eu-organization-name.js +99 -0
- package/dist/esm/organization/eu-organization-name.js.map +7 -0
- package/dist/esm/organization/eu-vat-number.js +424 -0
- package/dist/esm/organization/eu-vat-number.js.map +7 -0
- package/dist/esm/organization/index.js +62 -0
- package/dist/esm/organization/index.js.map +7 -0
- package/dist/esm/organization/lei-code.js +113 -0
- package/dist/esm/organization/lei-code.js.map +7 -0
- package/dist/esm/organization/organization-extensions.js +60 -0
- package/dist/esm/organization/organization-extensions.js.map +7 -0
- package/dist/esm/organization/organization-validation-utils.js +58 -0
- package/dist/esm/organization/organization-validation-utils.js.map +7 -0
- package/dist/esm/organization/swedish-cfar-number.js +68 -0
- package/dist/esm/organization/swedish-cfar-number.js.map +7 -0
- package/dist/esm/organization/swedish-organization-identifier-type.js +14 -0
- package/dist/esm/organization/swedish-organization-identifier-type.js.map +7 -0
- package/dist/esm/organization/swedish-organization-identifier.js +146 -0
- package/dist/esm/organization/swedish-organization-identifier.js.map +7 -0
- package/dist/esm/organization/swedish-organization-name.js +235 -0
- package/dist/esm/organization/swedish-organization-name.js.map +7 -0
- package/dist/esm/organization/swedish-organization-number.js +269 -0
- package/dist/esm/organization/swedish-organization-number.js.map +7 -0
- package/dist/esm/organization/swedish-organization-type.js +31 -0
- package/dist/esm/organization/swedish-organization-type.js.map +7 -0
- package/dist/esm/organization/swedish-sni-code.js +76 -0
- package/dist/esm/organization/swedish-sni-code.js.map +7 -0
- package/dist/esm/person/index.js +42 -0
- package/dist/esm/person/index.js.map +7 -0
- package/dist/esm/person/person-age.js +167 -0
- package/dist/esm/person/person-age.js.map +7 -0
- package/dist/esm/person/person-family-name.js +67 -0
- package/dist/esm/person/person-family-name.js.map +7 -0
- package/dist/esm/person/person-full-name.js +86 -0
- package/dist/esm/person/person-full-name.js.map +7 -0
- package/dist/esm/person/person-given-name.js +87 -0
- package/dist/esm/person/person-given-name.js.map +7 -0
- package/dist/esm/person/person-masking.js +28 -0
- package/dist/esm/person/person-masking.js.map +7 -0
- package/dist/esm/person/person-name-normalization.js +79 -0
- package/dist/esm/person/person-name-normalization.js.map +7 -0
- package/dist/esm/person/personnummer-parser.js +136 -0
- package/dist/esm/person/personnummer-parser.js.map +7 -0
- package/dist/esm/person/swedish-coordination-number.js +173 -0
- package/dist/esm/person/swedish-coordination-number.js.map +7 -0
- package/dist/esm/person/swedish-personal-identity-number.js +175 -0
- package/dist/esm/person/swedish-personal-identity-number.js.map +7 -0
- package/dist/esm/primitive-type-info.js +1 -0
- package/dist/esm/primitive-type-info.js.map +7 -0
- package/dist/esm/primitives-defaults.js +72 -0
- package/dist/esm/primitives-defaults.js.map +7 -0
- package/dist/esm/product/adult-clothing-size.js +128 -0
- package/dist/esm/product/adult-clothing-size.js.map +7 -0
- package/dist/esm/product/adult-shoe-size.js +119 -0
- package/dist/esm/product/adult-shoe-size.js.map +7 -0
- package/dist/esm/product/aspect-ratio.js +168 -0
- package/dist/esm/product/aspect-ratio.js.map +7 -0
- package/dist/esm/product/battery-capacity.js +164 -0
- package/dist/esm/product/battery-capacity.js.map +7 -0
- package/dist/esm/product/battery-chemistry.js +239 -0
- package/dist/esm/product/battery-chemistry.js.map +7 -0
- package/dist/esm/product/camera-resolution.js +141 -0
- package/dist/esm/product/camera-resolution.js.map +7 -0
- package/dist/esm/product/child-clothing-size.js +234 -0
- package/dist/esm/product/child-clothing-size.js.map +7 -0
- package/dist/esm/product/child-shoe-size.js +180 -0
- package/dist/esm/product/child-shoe-size.js.map +7 -0
- package/dist/esm/product/clothing-fit.js +203 -0
- package/dist/esm/product/clothing-fit.js.map +7 -0
- package/dist/esm/product/clothing-gender.js +178 -0
- package/dist/esm/product/clothing-gender.js.map +7 -0
- package/dist/esm/product/clothing-season.js +182 -0
- package/dist/esm/product/clothing-season.js.map +7 -0
- package/dist/esm/product/clothing-size-system.js +11 -0
- package/dist/esm/product/clothing-size-system.js.map +7 -0
- package/dist/esm/product/clothing-size.js +126 -0
- package/dist/esm/product/clothing-size.js.map +7 -0
- package/dist/esm/product/color.js +314 -0
- package/dist/esm/product/color.js.map +7 -0
- package/dist/esm/product/display-panel-type.js +267 -0
- package/dist/esm/product/display-panel-type.js.map +7 -0
- package/dist/esm/product/electrical-phase.js +174 -0
- package/dist/esm/product/electrical-phase.js.map +7 -0
- package/dist/esm/product/energy-scale.js +11 -0
- package/dist/esm/product/energy-scale.js.map +7 -0
- package/dist/esm/product/eu-energy-efficiency-class.js +115 -0
- package/dist/esm/product/eu-energy-efficiency-class.js.map +7 -0
- package/dist/esm/product/google-product-category.js +94 -0
- package/dist/esm/product/google-product-category.js.map +7 -0
- package/dist/esm/product/gtin.js +83 -0
- package/dist/esm/product/gtin.js.map +7 -0
- package/dist/esm/product/gtin12.js +110 -0
- package/dist/esm/product/gtin12.js.map +7 -0
- package/dist/esm/product/gtin13.js +127 -0
- package/dist/esm/product/gtin13.js.map +7 -0
- package/dist/esm/product/gtin14.js +115 -0
- package/dist/esm/product/gtin14.js.map +7 -0
- package/dist/esm/product/gtin8.js +110 -0
- package/dist/esm/product/gtin8.js.map +7 -0
- package/dist/esm/product/hs-code-level.js +12 -0
- package/dist/esm/product/hs-code-level.js.map +7 -0
- package/dist/esm/product/hs-code.js +106 -0
- package/dist/esm/product/hs-code.js.map +7 -0
- package/dist/esm/product/index.js +137 -0
- package/dist/esm/product/index.js.map +7 -0
- package/dist/esm/product/ip-rating.js +146 -0
- package/dist/esm/product/ip-rating.js.map +7 -0
- package/dist/esm/product/operating-system-family.js +17 -0
- package/dist/esm/product/operating-system-family.js.map +7 -0
- package/dist/esm/product/operating-system-info.js +80 -0
- package/dist/esm/product/operating-system-info.js.map +7 -0
- package/dist/esm/product/operating-system-name.js +107 -0
- package/dist/esm/product/operating-system-name.js.map +7 -0
- package/dist/esm/product/operating-system-version.js +90 -0
- package/dist/esm/product/operating-system-version.js.map +7 -0
- package/dist/esm/product/power-source.js +298 -0
- package/dist/esm/product/power-source.js.map +7 -0
- package/dist/esm/product/processor-speed.js +139 -0
- package/dist/esm/product/processor-speed.js.map +7 -0
- package/dist/esm/product/product-extensions.js +7 -0
- package/dist/esm/product/product-extensions.js.map +7 -0
- package/dist/esm/product/product-masking.js +82 -0
- package/dist/esm/product/product-masking.js.map +7 -0
- package/dist/esm/product/ram-capacity.js +134 -0
- package/dist/esm/product/ram-capacity.js.map +7 -0
- package/dist/esm/product/refrigerant-family.js +20 -0
- package/dist/esm/product/refrigerant-family.js.map +7 -0
- package/dist/esm/product/refrigerant.js +399 -0
- package/dist/esm/product/refrigerant.js.map +7 -0
- package/dist/esm/product/screen-resolution.js +177 -0
- package/dist/esm/product/screen-resolution.js.map +7 -0
- package/dist/esm/product/screen-size.js +164 -0
- package/dist/esm/product/screen-size.js.map +7 -0
- package/dist/esm/product/shoe-size-system.js +11 -0
- package/dist/esm/product/shoe-size-system.js.map +7 -0
- package/dist/esm/product/shoe-size.js +118 -0
- package/dist/esm/product/shoe-size.js.map +7 -0
- package/dist/esm/product/storage-capacity.js +139 -0
- package/dist/esm/product/storage-capacity.js.map +7 -0
- package/dist/esm/product/storage-media-type.js +251 -0
- package/dist/esm/product/storage-media-type.js.map +7 -0
- package/dist/esm/property/index.js +19 -0
- package/dist/esm/property/index.js.map +7 -0
- package/dist/esm/property/swedish-property-designation.js +159 -0
- package/dist/esm/property/swedish-property-designation.js.map +7 -0
- package/dist/esm/property/swedish-property-taxation-code.js +198 -0
- package/dist/esm/property/swedish-property-taxation-code.js.map +7 -0
- package/dist/esm/register-default-text-scanners.js +270 -0
- package/dist/esm/register-default-text-scanners.js.map +7 -0
- package/dist/esm/sample-data/index.js +355 -0
- package/dist/esm/sample-data/index.js.map +7 -0
- package/dist/esm/text-scanning/index.js +21 -0
- package/dist/esm/text-scanning/index.js.map +7 -0
- package/dist/esm/text-scanning/text-candidate-category.js +15 -0
- package/dist/esm/text-scanning/text-candidate-category.js.map +7 -0
- package/dist/esm/text-scanning/text-candidate.js +55 -0
- package/dist/esm/text-scanning/text-candidate.js.map +7 -0
- package/dist/esm/text-scanning/text-match-confidence.js +23 -0
- package/dist/esm/text-scanning/text-match-confidence.js.map +7 -0
- package/dist/esm/text-scanning/text-scan-helpers.js +78 -0
- package/dist/esm/text-scanning/text-scan-helpers.js.map +7 -0
- package/dist/esm/text-scanning/text-scan-result.js +313 -0
- package/dist/esm/text-scanning/text-scan-result.js.map +7 -0
- package/dist/esm/text-scanning/text-scanner-options.js +9 -0
- package/dist/esm/text-scanning/text-scanner-options.js.map +7 -0
- package/dist/esm/text-scanning/text-scanner.js +40 -0
- package/dist/esm/text-scanning/text-scanner.js.map +7 -0
- package/dist/esm/validation/index.js +9 -0
- package/dist/esm/validation/index.js.map +7 -0
- package/dist/esm/validation/validation-error-reason.js +33 -0
- package/dist/esm/validation/validation-error-reason.js.map +7 -0
- package/dist/esm/validation/validation-issue.js +23 -0
- package/dist/esm/validation/validation-issue.js.map +7 -0
- package/dist/esm/validation/validation-result.js +32 -0
- package/dist/esm/validation/validation-result.js.map +7 -0
- package/dist/esm/vehicle/boat-ce-design-category.js +180 -0
- package/dist/esm/vehicle/boat-ce-design-category.js.map +7 -0
- package/dist/esm/vehicle/boat-hull-material.js +202 -0
- package/dist/esm/vehicle/boat-hull-material.js.map +7 -0
- package/dist/esm/vehicle/body-type.js +305 -0
- package/dist/esm/vehicle/body-type.js.map +7 -0
- package/dist/esm/vehicle/bolt-pattern.js +130 -0
- package/dist/esm/vehicle/bolt-pattern.js.map +7 -0
- package/dist/esm/vehicle/drivetrain-type.js +180 -0
- package/dist/esm/vehicle/drivetrain-type.js.map +7 -0
- package/dist/esm/vehicle/emission-rate.js +174 -0
- package/dist/esm/vehicle/emission-rate.js.map +7 -0
- package/dist/esm/vehicle/energy-consumption.js +230 -0
- package/dist/esm/vehicle/energy-consumption.js.map +7 -0
- package/dist/esm/vehicle/engine-displacement.js +149 -0
- package/dist/esm/vehicle/engine-displacement.js.map +7 -0
- package/dist/esm/vehicle/engine-power.js +191 -0
- package/dist/esm/vehicle/engine-power.js.map +7 -0
- package/dist/esm/vehicle/eu-type-approval-number.js +176 -0
- package/dist/esm/vehicle/eu-type-approval-number.js.map +7 -0
- package/dist/esm/vehicle/eu-vehicle-category.js +147 -0
- package/dist/esm/vehicle/eu-vehicle-category.js.map +7 -0
- package/dist/esm/vehicle/euro-emission-class.js +293 -0
- package/dist/esm/vehicle/euro-emission-class.js.map +7 -0
- package/dist/esm/vehicle/fuel-consumption-norm.js +186 -0
- package/dist/esm/vehicle/fuel-consumption-norm.js.map +7 -0
- package/dist/esm/vehicle/fuel-consumption.js +261 -0
- package/dist/esm/vehicle/fuel-consumption.js.map +7 -0
- package/dist/esm/vehicle/fuel-type.js +268 -0
- package/dist/esm/vehicle/fuel-type.js.map +7 -0
- package/dist/esm/vehicle/index.js +134 -0
- package/dist/esm/vehicle/index.js.map +7 -0
- package/dist/esm/vehicle/odometer-reading.js +145 -0
- package/dist/esm/vehicle/odometer-reading.js.map +7 -0
- package/dist/esm/vehicle/operating-hours.js +154 -0
- package/dist/esm/vehicle/operating-hours.js.map +7 -0
- package/dist/esm/vehicle/suspension-type.js +292 -0
- package/dist/esm/vehicle/suspension-type.js.map +7 -0
- package/dist/esm/vehicle/swedish-driving-license-category.js +384 -0
- package/dist/esm/vehicle/swedish-driving-license-category.js.map +7 -0
- package/dist/esm/vehicle/swedish-driving-license-vehicle-group.js +12 -0
- package/dist/esm/vehicle/swedish-driving-license-vehicle-group.js.map +7 -0
- package/dist/esm/vehicle/swedish-eco-vehicle-classification.js +212 -0
- package/dist/esm/vehicle/swedish-eco-vehicle-classification.js.map +7 -0
- package/dist/esm/vehicle/swedish-vehicle-registration-number.js +176 -0
- package/dist/esm/vehicle/swedish-vehicle-registration-number.js.map +7 -0
- package/dist/esm/vehicle/swedish-vehicle-status.js +152 -0
- package/dist/esm/vehicle/swedish-vehicle-status.js.map +7 -0
- package/dist/esm/vehicle/swedish-vehicle-type.js +262 -0
- package/dist/esm/vehicle/swedish-vehicle-type.js.map +7 -0
- package/dist/esm/vehicle/tire-dimension.js +186 -0
- package/dist/esm/vehicle/tire-dimension.js.map +7 -0
- package/dist/esm/vehicle/tire-type.js +208 -0
- package/dist/esm/vehicle/tire-type.js.map +7 -0
- package/dist/esm/vehicle/track-type.js +168 -0
- package/dist/esm/vehicle/track-type.js.map +7 -0
- package/dist/esm/vehicle/transmission-type.js +238 -0
- package/dist/esm/vehicle/transmission-type.js.map +7 -0
- package/dist/esm/vehicle/vehicle-extensions.js +15 -0
- package/dist/esm/vehicle/vehicle-extensions.js.map +7 -0
- package/dist/esm/vehicle/vehicle-identification-number.js +248 -0
- package/dist/esm/vehicle/vehicle-identification-number.js.map +7 -0
- package/dist/esm/vehicle/vehicle-masking.js +48 -0
- package/dist/esm/vehicle/vehicle-masking.js.map +7 -0
- package/dist/esm/vehicle/wheel-rim-dimension.js +163 -0
- package/dist/esm/vehicle/wheel-rim-dimension.js.map +7 -0
- package/dist/esm/web/email-address.js +522 -0
- package/dist/esm/web/email-address.js.map +7 -0
- package/dist/esm/web/index.js +16 -0
- package/dist/esm/web/index.js.map +7 -0
- package/dist/esm/web/url.js +333 -0
- package/dist/esm/web/url.js.map +7 -0
- package/dist/types/frequency-CweGfJFS.d.cts +329 -0
- package/dist/types/frequency-DdOMV6Sw.d.ts +329 -0
- package/dist/{index.d.cts → types/index.d.cts} +9 -0
- package/dist/{index.d.ts → types/index.d.ts} +9 -0
- package/dist/types/length-CceXIJYY.d.ts +354 -0
- package/dist/types/length-XRL5Eg7F.d.cts +354 -0
- package/dist/types/measurement/index.d.cts +136 -0
- package/dist/types/measurement/index.d.ts +136 -0
- package/dist/types/product/index.d.cts +1239 -0
- package/dist/types/product/index.d.ts +1239 -0
- package/dist/types/screen-size-BD4t3wzb.d.cts +473 -0
- package/dist/types/screen-size-DUmjNjxG.d.ts +473 -0
- package/dist/{text-scanning → types/text-scanning}/index.d.cts +50 -0
- package/dist/{text-scanning → types/text-scanning}/index.d.ts +50 -0
- package/dist/types/vehicle/index.d.cts +798 -0
- package/dist/types/vehicle/index.d.ts +798 -0
- package/dist/types/volume-CFA4e3dc.d.cts +175 -0
- package/dist/types/volume-DGLPQypt.d.ts +175 -0
- package/dist/types/weight-B30-Hzxu.d.ts +1057 -0
- package/dist/types/weight-C5C7OuV_.d.cts +1057 -0
- package/dist/types/wheel-rim-dimension-CVCmLASl.d.ts +699 -0
- package/dist/types/wheel-rim-dimension-CdkDrzad.d.cts +699 -0
- package/package.json +100 -65
- package/dist/banking/index.cjs +0 -6491
- package/dist/banking/index.cjs.map +0 -1
- package/dist/banking/index.js +0 -6464
- package/dist/banking/index.js.map +0 -1
- package/dist/contact/index.cjs +0 -6678
- package/dist/contact/index.cjs.map +0 -1
- package/dist/contact/index.js +0 -6586
- package/dist/contact/index.js.map +0 -1
- package/dist/finance/index.cjs +0 -3592
- package/dist/finance/index.cjs.map +0 -1
- package/dist/finance/index.js +0 -3584
- package/dist/finance/index.js.map +0 -1
- package/dist/geography/index.cjs +0 -4227
- package/dist/geography/index.cjs.map +0 -1
- package/dist/geography/index.js +0 -4202
- package/dist/geography/index.js.map +0 -1
- package/dist/index.cjs +0 -14087
- package/dist/index.cjs.map +0 -1
- package/dist/index.js +0 -13868
- package/dist/index.js.map +0 -1
- package/dist/organization/index.cjs +0 -2376
- package/dist/organization/index.cjs.map +0 -1
- package/dist/organization/index.js +0 -2346
- package/dist/organization/index.js.map +0 -1
- package/dist/person/index.cjs +0 -1144
- package/dist/person/index.cjs.map +0 -1
- package/dist/person/index.js +0 -1125
- package/dist/person/index.js.map +0 -1
- package/dist/property/index.cjs +0 -487
- package/dist/property/index.cjs.map +0 -1
- package/dist/property/index.js +0 -480
- package/dist/property/index.js.map +0 -1
- package/dist/sample-data/index.cjs +0 -12310
- package/dist/sample-data/index.cjs.map +0 -1
- package/dist/sample-data/index.js +0 -12302
- package/dist/sample-data/index.js.map +0 -1
- package/dist/text-scanning/index.cjs +0 -10414
- package/dist/text-scanning/index.cjs.map +0 -1
- package/dist/text-scanning/index.js +0 -10406
- package/dist/text-scanning/index.js.map +0 -1
- package/dist/validation/index.cjs +0 -83
- package/dist/validation/index.cjs.map +0 -1
- package/dist/validation/index.js +0 -79
- package/dist/validation/index.js.map +0 -1
- package/dist/web/index.cjs +0 -3994
- package/dist/web/index.cjs.map +0 -1
- package/dist/web/index.js +0 -3987
- package/dist/web/index.js.map +0 -1
- /package/dist/{banking → types/banking}/index.d.cts +0 -0
- /package/dist/{banking → types/banking}/index.d.ts +0 -0
- /package/dist/{contact → types/contact}/index.d.cts +0 -0
- /package/dist/{contact → types/contact}/index.d.ts +0 -0
- /package/dist/{country-BhD51LDL.d.cts → types/country-BhD51LDL.d.cts} +0 -0
- /package/dist/{country-p0n0EVQ9.d.ts → types/country-p0n0EVQ9.d.ts} +0 -0
- /package/dist/{finance → types/finance}/index.d.cts +0 -0
- /package/dist/{finance → types/finance}/index.d.ts +0 -0
- /package/dist/{geography → types/geography}/index.d.cts +0 -0
- /package/dist/{geography → types/geography}/index.d.ts +0 -0
- /package/dist/{isin-EeVPpNWu.d.ts → types/isin-EeVPpNWu.d.ts} +0 -0
- /package/dist/{isin-ZlQLBVm8.d.cts → types/isin-ZlQLBVm8.d.cts} +0 -0
- /package/dist/{organization → types/organization}/index.d.cts +0 -0
- /package/dist/{organization → types/organization}/index.d.ts +0 -0
- /package/dist/{person → types/person}/index.d.cts +0 -0
- /package/dist/{person → types/person}/index.d.ts +0 -0
- /package/dist/{person-full-name-Cmc9Ynuc.d.cts → types/person-full-name-Cmc9Ynuc.d.cts} +0 -0
- /package/dist/{person-full-name-D6Hbsab6.d.ts → types/person-full-name-D6Hbsab6.d.ts} +0 -0
- /package/dist/{phone-number-C24--ggy.d.ts → types/phone-number-C24--ggy.d.ts} +0 -0
- /package/dist/{phone-number-DZ-YxCQQ.d.cts → types/phone-number-DZ-YxCQQ.d.cts} +0 -0
- /package/dist/{property → types/property}/index.d.cts +0 -0
- /package/dist/{property → types/property}/index.d.ts +0 -0
- /package/dist/{sample-data → types/sample-data}/index.d.cts +0 -0
- /package/dist/{sample-data → types/sample-data}/index.d.ts +0 -0
- /package/dist/{swedish-address-DNC3ftRF.d.cts → types/swedish-address-DNC3ftRF.d.cts} +0 -0
- /package/dist/{swedish-address-GMzjqgxb.d.ts → types/swedish-address-GMzjqgxb.d.ts} +0 -0
- /package/dist/{swedish-bank-account-holder-name-BFJ8h1aO.d.cts → types/swedish-bank-account-holder-name-BFJ8h1aO.d.cts} +0 -0
- /package/dist/{swedish-bank-account-holder-name-CAAru07F.d.ts → types/swedish-bank-account-holder-name-CAAru07F.d.ts} +0 -0
- /package/dist/{swedish-municipality-DlUS7g7h.d.cts → types/swedish-municipality-DlUS7g7h.d.cts} +0 -0
- /package/dist/{swedish-municipality-nDRHYRAd.d.ts → types/swedish-municipality-nDRHYRAd.d.ts} +0 -0
- /package/dist/{swedish-organization-name-D7NvERxA.d.cts → types/swedish-organization-name-D7NvERxA.d.cts} +0 -0
- /package/dist/{swedish-organization-name-rR0Q836C.d.ts → types/swedish-organization-name-rR0Q836C.d.ts} +0 -0
- /package/dist/{swedish-organization-number-Bcj7V_lh.d.cts → types/swedish-organization-number-Bcj7V_lh.d.cts} +0 -0
- /package/dist/{swedish-organization-number-DM8dpXwR.d.ts → types/swedish-organization-number-DM8dpXwR.d.ts} +0 -0
- /package/dist/{swedish-organization-type-CZOdETwG.d.cts → types/swedish-organization-type-CZOdETwG.d.cts} +0 -0
- /package/dist/{swedish-organization-type-CZOdETwG.d.ts → types/swedish-organization-type-CZOdETwG.d.ts} +0 -0
- /package/dist/{swedish-personal-identity-number-BiIg4io3.d.ts → types/swedish-personal-identity-number-BiIg4io3.d.ts} +0 -0
- /package/dist/{swedish-personal-identity-number-Cp9Coz55.d.cts → types/swedish-personal-identity-number-Cp9Coz55.d.cts} +0 -0
- /package/dist/{swedish-property-designation-BM-gdd9x.d.ts → types/swedish-property-designation-BM-gdd9x.d.ts} +0 -0
- /package/dist/{swedish-property-designation-BaHXufqV.d.cts → types/swedish-property-designation-BaHXufqV.d.cts} +0 -0
- /package/dist/{swedish-sni-code-Ccsswpni.d.ts → types/swedish-sni-code-Ccsswpni.d.ts} +0 -0
- /package/dist/{swedish-sni-code-CuJFyM6l.d.cts → types/swedish-sni-code-CuJFyM6l.d.cts} +0 -0
- /package/dist/{swedish-swish-number-CL6Gx_h3.d.cts → types/swedish-swish-number-CL6Gx_h3.d.cts} +0 -0
- /package/dist/{swedish-swish-number-DDG3mNDg.d.ts → types/swedish-swish-number-DDG3mNDg.d.ts} +0 -0
- /package/dist/{text-candidate-qg2bD9PY.d.cts → types/text-candidate-qg2bD9PY.d.cts} +0 -0
- /package/dist/{text-candidate-qg2bD9PY.d.ts → types/text-candidate-qg2bD9PY.d.ts} +0 -0
- /package/dist/{validation → types/validation}/index.d.cts +0 -0
- /package/dist/{validation → types/validation}/index.d.ts +0 -0
- /package/dist/{web → types/web}/index.d.cts +0 -0
- /package/dist/{web → types/web}/index.d.ts +0 -0
|
@@ -23,6 +23,15 @@ export { SwedishPropertyTaxationCategory, SwedishPropertyTaxationCode } from './
|
|
|
23
23
|
export { B as Bic, I as Iban, O as OcrReferenceControlType, a as OcrReferenceOptions, S as SwedishBank, b as SwedishBankAccount, c as SwedishBankClearingNumber, d as SwedishBankgiroNumber, e as SwedishOcrReferenceNumber, f as SwedishPostgiroNumber, g as SwedishSwishNumber, h as getBankgirotUrl, m as maskBic, i as maskIban, j as maskSwedishBankAccount, k as maskSwedishBankClearingNumber, l as maskSwedishBankgiroNumber, n as maskSwedishOcrReferenceNumber, o as maskSwedishPostgiroNumber, p as maskSwedishSwishNumber } from './swedish-swish-number-CL6Gx_h3.cjs';
|
|
24
24
|
export { B as BankAccountHolderType, S as SwedishBankAccountHolderName, m as maskSwedishBankAccountHolderName } from './swedish-bank-account-holder-name-BFJ8h1aO.cjs';
|
|
25
25
|
export { SwedishBankingNumber, SwedishBankingNumberParser, SwedishBankingNumberType } from './banking/index.cjs';
|
|
26
|
+
export { A as Area, a as AreaFormatOptions, b as AreaUnit, E as ElectricCurrent, c as ElectricCurrentFormatOptions, d as ElectricCurrentUnit, F as FlowRate, e as FlowRateFormatOptions, f as FlowRateUnit, L as Luminance, g as LuminanceFormatOptions, h as LuminanceUnit, i as LuminousFlux, j as LuminousFluxFormatOptions, k as LuminousFluxUnit, P as Percentage, l as PercentageFormatOptions, m as Pressure, n as PressureFormatOptions, o as PressureUnit, R as RotationalSpeed, p as RotationalSpeedFormatOptions, q as RotationalSpeedUnit, S as SoundLevel, r as SoundLevelFormatOptions, s as SoundWeighting, t as Speed, u as SpeedFormatOptions, v as SpeedUnit, T as Temperature, w as TemperatureDelta, x as TemperatureFormatOptions, y as TemperatureUnit, z as Torque, B as TorqueFormatOptions, C as TorqueUnit, V as Voltage, D as VoltageFormatOptions, G as VoltageUnit, W as Weight, H as WeightFormatOptions, I as WeightUnit, J as maskArea, K as maskElectricCurrent, M as maskFlowRate, N as maskLuminance, O as maskLuminousFlux, Q as maskPercentage, U as maskPressure, X as maskRotationalSpeed, Y as maskSoundLevel, Z as maskSpeed, _ as maskTemperature, $ as maskTorque, a0 as maskVoltage, a1 as maskWeight } from './weight-C5C7OuV_.cjs';
|
|
27
|
+
export { Count, CountFormatOptions, Year, YearFormatOptions, YearMonth, YearMonthFormatOptions, maskCount, maskYear, maskYearMonth } from './measurement/index.cjs';
|
|
28
|
+
export { D as DataSize, a as DataSizeFormatOptions, b as DataSizeUnit, E as ElectricCharge, c as ElectricChargeFormatOptions, d as ElectricChargeUnit, e as Energy, f as EnergyFormatOptions, g as EnergyUnit, F as Frequency, h as FrequencyFormatOptions, i as FrequencyUnit, m as maskDataSize, j as maskElectricCharge, k as maskEnergy, l as maskFrequency } from './frequency-CweGfJFS.cjs';
|
|
29
|
+
export { L as Length, a as LengthFormatOptions, b as LengthUnit, m as maskLength } from './length-XRL5Eg7F.cjs';
|
|
30
|
+
export { P as Power, a as PowerFormatOptions, b as PowerUnit, V as Volume, c as VolumeFormatOptions, d as VolumeUnit, m as maskPower, e as maskVolume } from './volume-CFA4e3dc.cjs';
|
|
31
|
+
export { BoatCeDesignCategory, BoatCeDesignCategoryFormatOptions, BoatHullMaterial, BoatHullMaterialFormatOptions, BodyType, BodyTypeFormatOptions, DrivetrainType, DrivetrainTypeFormatOptions, EnergyConsumption, EnergyConsumptionFormatOptions, EngineDisplacement, EngineDisplacementFormatOptions, EuVehicleCategory, EuVehicleCategoryFormatOptions, FuelConsumptionNorm, FuelConsumptionNormFormatOptions, FuelType, FuelTypeFormatOptions, OdometerReading, OdometerReadingFormatOptions, SuspensionType, SuspensionTypeFormatOptions, SwedishVehicleStatus, SwedishVehicleStatusFormatOptions, SwedishVehicleType, SwedishVehicleTypeFormatOptions, TireType, TireTypeFormatOptions, TrackType, TrackTypeFormatOptions, TransmissionType, TransmissionTypeFormatOptions, getBiluppgifterUrl, getCarInfoUrl, maskBoatCeDesignCategory, maskBoatHullMaterial, maskBodyType, maskDrivetrainType, maskEnergyConsumption, maskFuelConsumptionNorm, maskSuspensionType, maskSwedishEcoVehicleClassification, maskTireType, maskTrackType, toBiluppgifterUrl } from './vehicle/index.cjs';
|
|
32
|
+
export { B as BoltPattern, a as BoltPatternFormatOptions, E as EmissionRate, b as EmissionRateFormatOptions, c as EnginePower, d as EnginePowerFormatOptions, e as EuTypeApprovalNumber, f as EuTypeApprovalNumberFormatOptions, g as EuroEmissionClass, h as EuroEmissionClassFormatOptions, F as FuelConsumption, i as FuelConsumptionFormatOptions, O as OperatingHours, j as OperatingHoursFormatOptions, S as SwedishDrivingLicenseCategory, k as SwedishDrivingLicenseCategoryFormatOptions, l as SwedishDrivingLicenseVehicleGroup, m as SwedishEcoVehicleClassification, n as SwedishEcoVehicleClassificationFormatOptions, o as SwedishVehicleRegistrationNumber, p as SwedishVehicleRegistrationNumberFormatOptions, T as TireDimension, q as TireDimensionFormatOptions, V as VehicleIdentificationNumber, r as VehicleIdentificationNumberFormatOptions, W as WheelRimDimension, s as WheelRimDimensionFormatOptions, t as maskBoltPattern, u as maskEmissionRate, v as maskEnginePower, w as maskEuTypeApprovalNumber, x as maskFuelConsumption, y as maskOperatingHours, z as maskSwedishVehicleRegistrationNumber, A as maskTireDimension, C as maskVehicleIdentificationNumber, D as maskWheelRimDimension } from './wheel-rim-dimension-CdkDrzad.cjs';
|
|
33
|
+
export { AdultClothingSize, AdultClothingSizeFormatOptions, AdultShoeSize, AdultShoeSizeFormatOptions, AspectRatio, AspectRatioFormatOptions, BatteryCapacity, BatteryCapacityFormatOptions, BatteryChemistry, BatteryChemistryFormatOptions, CameraResolution, CameraResolutionFormatOptions, ChildClothingSize, ChildClothingSizeFormatOptions, ChildShoeSize, ChildShoeSizeFormatOptions, ClothingFit, ClothingFitFormatOptions, ClothingGender, ClothingGenderFormatOptions, ClothingSeason, ClothingSeasonFormatOptions, ClothingSize, ClothingSizeFormatOptions, ClothingSizeSystem, DisplayPanelType, DisplayPanelTypeFormatOptions, EnergyScale, EuEnergyEfficiencyClass, EuEnergyEfficiencyClassFormatOptions, GoogleProductCategory, GoogleProductCategoryFormatOptions, Gtin, GtinFormatOptions, HsCode, HsCodeFormatOptions, HsCodeLevel, OperatingSystemFamily, OperatingSystemInfo, OperatingSystemInfoFormatOptions, OperatingSystemName, OperatingSystemNameFormatOptions, OperatingSystemVersion, OperatingSystemVersionFormatOptions, PowerSource, PowerSourceFormatOptions, ProcessorSpeed, ProcessorSpeedFormatOptions, RamCapacity, RamCapacityFormatOptions, ShoeSize, ShoeSizeFormatOptions, ShoeSizeSystem, StorageCapacity, StorageCapacityFormatOptions, StorageMediaType, StorageMediaTypeFormatOptions, maskAspectRatio, maskBatteryChemistry, maskCameraResolution, maskClothingFit, maskClothingSeason, maskColor, maskDisplayPanelType, maskElectricalPhase, maskGtin12, maskGtin13, maskGtin14, maskGtin8, maskIpRating, maskPowerSource, maskRefrigerant, maskScreenResolution, maskScreenSize, maskStorageMediaType, toBarcodeLookupUrl } from './product/index.cjs';
|
|
34
|
+
export { C as Color, a as ColorFormatOptions, E as ElectricalPhase, b as ElectricalPhaseFormatOptions, G as Gtin12, c as Gtin12FormatOptions, d as Gtin13, e as Gtin13FormatOptions, f as Gtin14, g as Gtin14FormatOptions, h as Gtin8, i as Gtin8FormatOptions, I as IpRating, j as IpRatingFormatOptions, R as Refrigerant, k as RefrigerantFamily, l as RefrigerantFormatOptions, S as ScreenResolution, m as ScreenResolutionFormatOptions, n as ScreenSize, o as ScreenSizeFormatOptions } from './screen-size-BD4t3wzb.cjs';
|
|
26
35
|
|
|
27
36
|
/**
|
|
28
37
|
* Configurable defaults that control locale-sensitive behaviour across all
|
|
@@ -23,6 +23,15 @@ export { SwedishPropertyTaxationCategory, SwedishPropertyTaxationCode } from './
|
|
|
23
23
|
export { B as Bic, I as Iban, O as OcrReferenceControlType, a as OcrReferenceOptions, S as SwedishBank, b as SwedishBankAccount, c as SwedishBankClearingNumber, d as SwedishBankgiroNumber, e as SwedishOcrReferenceNumber, f as SwedishPostgiroNumber, g as SwedishSwishNumber, h as getBankgirotUrl, m as maskBic, i as maskIban, j as maskSwedishBankAccount, k as maskSwedishBankClearingNumber, l as maskSwedishBankgiroNumber, n as maskSwedishOcrReferenceNumber, o as maskSwedishPostgiroNumber, p as maskSwedishSwishNumber } from './swedish-swish-number-DDG3mNDg.js';
|
|
24
24
|
export { B as BankAccountHolderType, S as SwedishBankAccountHolderName, m as maskSwedishBankAccountHolderName } from './swedish-bank-account-holder-name-CAAru07F.js';
|
|
25
25
|
export { SwedishBankingNumber, SwedishBankingNumberParser, SwedishBankingNumberType } from './banking/index.js';
|
|
26
|
+
export { A as Area, a as AreaFormatOptions, b as AreaUnit, E as ElectricCurrent, c as ElectricCurrentFormatOptions, d as ElectricCurrentUnit, F as FlowRate, e as FlowRateFormatOptions, f as FlowRateUnit, L as Luminance, g as LuminanceFormatOptions, h as LuminanceUnit, i as LuminousFlux, j as LuminousFluxFormatOptions, k as LuminousFluxUnit, P as Percentage, l as PercentageFormatOptions, m as Pressure, n as PressureFormatOptions, o as PressureUnit, R as RotationalSpeed, p as RotationalSpeedFormatOptions, q as RotationalSpeedUnit, S as SoundLevel, r as SoundLevelFormatOptions, s as SoundWeighting, t as Speed, u as SpeedFormatOptions, v as SpeedUnit, T as Temperature, w as TemperatureDelta, x as TemperatureFormatOptions, y as TemperatureUnit, z as Torque, B as TorqueFormatOptions, C as TorqueUnit, V as Voltage, D as VoltageFormatOptions, G as VoltageUnit, W as Weight, H as WeightFormatOptions, I as WeightUnit, J as maskArea, K as maskElectricCurrent, M as maskFlowRate, N as maskLuminance, O as maskLuminousFlux, Q as maskPercentage, U as maskPressure, X as maskRotationalSpeed, Y as maskSoundLevel, Z as maskSpeed, _ as maskTemperature, $ as maskTorque, a0 as maskVoltage, a1 as maskWeight } from './weight-B30-Hzxu.js';
|
|
27
|
+
export { Count, CountFormatOptions, Year, YearFormatOptions, YearMonth, YearMonthFormatOptions, maskCount, maskYear, maskYearMonth } from './measurement/index.js';
|
|
28
|
+
export { D as DataSize, a as DataSizeFormatOptions, b as DataSizeUnit, E as ElectricCharge, c as ElectricChargeFormatOptions, d as ElectricChargeUnit, e as Energy, f as EnergyFormatOptions, g as EnergyUnit, F as Frequency, h as FrequencyFormatOptions, i as FrequencyUnit, m as maskDataSize, j as maskElectricCharge, k as maskEnergy, l as maskFrequency } from './frequency-DdOMV6Sw.js';
|
|
29
|
+
export { L as Length, a as LengthFormatOptions, b as LengthUnit, m as maskLength } from './length-CceXIJYY.js';
|
|
30
|
+
export { P as Power, a as PowerFormatOptions, b as PowerUnit, V as Volume, c as VolumeFormatOptions, d as VolumeUnit, m as maskPower, e as maskVolume } from './volume-DGLPQypt.js';
|
|
31
|
+
export { BoatCeDesignCategory, BoatCeDesignCategoryFormatOptions, BoatHullMaterial, BoatHullMaterialFormatOptions, BodyType, BodyTypeFormatOptions, DrivetrainType, DrivetrainTypeFormatOptions, EnergyConsumption, EnergyConsumptionFormatOptions, EngineDisplacement, EngineDisplacementFormatOptions, EuVehicleCategory, EuVehicleCategoryFormatOptions, FuelConsumptionNorm, FuelConsumptionNormFormatOptions, FuelType, FuelTypeFormatOptions, OdometerReading, OdometerReadingFormatOptions, SuspensionType, SuspensionTypeFormatOptions, SwedishVehicleStatus, SwedishVehicleStatusFormatOptions, SwedishVehicleType, SwedishVehicleTypeFormatOptions, TireType, TireTypeFormatOptions, TrackType, TrackTypeFormatOptions, TransmissionType, TransmissionTypeFormatOptions, getBiluppgifterUrl, getCarInfoUrl, maskBoatCeDesignCategory, maskBoatHullMaterial, maskBodyType, maskDrivetrainType, maskEnergyConsumption, maskFuelConsumptionNorm, maskSuspensionType, maskSwedishEcoVehicleClassification, maskTireType, maskTrackType, toBiluppgifterUrl } from './vehicle/index.js';
|
|
32
|
+
export { B as BoltPattern, a as BoltPatternFormatOptions, E as EmissionRate, b as EmissionRateFormatOptions, c as EnginePower, d as EnginePowerFormatOptions, e as EuTypeApprovalNumber, f as EuTypeApprovalNumberFormatOptions, g as EuroEmissionClass, h as EuroEmissionClassFormatOptions, F as FuelConsumption, i as FuelConsumptionFormatOptions, O as OperatingHours, j as OperatingHoursFormatOptions, S as SwedishDrivingLicenseCategory, k as SwedishDrivingLicenseCategoryFormatOptions, l as SwedishDrivingLicenseVehicleGroup, m as SwedishEcoVehicleClassification, n as SwedishEcoVehicleClassificationFormatOptions, o as SwedishVehicleRegistrationNumber, p as SwedishVehicleRegistrationNumberFormatOptions, T as TireDimension, q as TireDimensionFormatOptions, V as VehicleIdentificationNumber, r as VehicleIdentificationNumberFormatOptions, W as WheelRimDimension, s as WheelRimDimensionFormatOptions, t as maskBoltPattern, u as maskEmissionRate, v as maskEnginePower, w as maskEuTypeApprovalNumber, x as maskFuelConsumption, y as maskOperatingHours, z as maskSwedishVehicleRegistrationNumber, A as maskTireDimension, C as maskVehicleIdentificationNumber, D as maskWheelRimDimension } from './wheel-rim-dimension-CVCmLASl.js';
|
|
33
|
+
export { AdultClothingSize, AdultClothingSizeFormatOptions, AdultShoeSize, AdultShoeSizeFormatOptions, AspectRatio, AspectRatioFormatOptions, BatteryCapacity, BatteryCapacityFormatOptions, BatteryChemistry, BatteryChemistryFormatOptions, CameraResolution, CameraResolutionFormatOptions, ChildClothingSize, ChildClothingSizeFormatOptions, ChildShoeSize, ChildShoeSizeFormatOptions, ClothingFit, ClothingFitFormatOptions, ClothingGender, ClothingGenderFormatOptions, ClothingSeason, ClothingSeasonFormatOptions, ClothingSize, ClothingSizeFormatOptions, ClothingSizeSystem, DisplayPanelType, DisplayPanelTypeFormatOptions, EnergyScale, EuEnergyEfficiencyClass, EuEnergyEfficiencyClassFormatOptions, GoogleProductCategory, GoogleProductCategoryFormatOptions, Gtin, GtinFormatOptions, HsCode, HsCodeFormatOptions, HsCodeLevel, OperatingSystemFamily, OperatingSystemInfo, OperatingSystemInfoFormatOptions, OperatingSystemName, OperatingSystemNameFormatOptions, OperatingSystemVersion, OperatingSystemVersionFormatOptions, PowerSource, PowerSourceFormatOptions, ProcessorSpeed, ProcessorSpeedFormatOptions, RamCapacity, RamCapacityFormatOptions, ShoeSize, ShoeSizeFormatOptions, ShoeSizeSystem, StorageCapacity, StorageCapacityFormatOptions, StorageMediaType, StorageMediaTypeFormatOptions, maskAspectRatio, maskBatteryChemistry, maskCameraResolution, maskClothingFit, maskClothingSeason, maskColor, maskDisplayPanelType, maskElectricalPhase, maskGtin12, maskGtin13, maskGtin14, maskGtin8, maskIpRating, maskPowerSource, maskRefrigerant, maskScreenResolution, maskScreenSize, maskStorageMediaType, toBarcodeLookupUrl } from './product/index.js';
|
|
34
|
+
export { C as Color, a as ColorFormatOptions, E as ElectricalPhase, b as ElectricalPhaseFormatOptions, G as Gtin12, c as Gtin12FormatOptions, d as Gtin13, e as Gtin13FormatOptions, f as Gtin14, g as Gtin14FormatOptions, h as Gtin8, i as Gtin8FormatOptions, I as IpRating, j as IpRatingFormatOptions, R as Refrigerant, k as RefrigerantFamily, l as RefrigerantFormatOptions, S as ScreenResolution, m as ScreenResolutionFormatOptions, n as ScreenSize, o as ScreenSizeFormatOptions } from './screen-size-DUmjNjxG.js';
|
|
26
35
|
|
|
27
36
|
/**
|
|
28
37
|
* Configurable defaults that control locale-sensitive behaviour across all
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
import { P as PrimitiveTypeInfo, T as TextCandidate } from './text-candidate-qg2bD9PY.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Exact base-10 arithmetic matching the observable semantics of .NET
|
|
5
|
+
* `System.Decimal`, which is what every `Measurement` quantity in
|
|
6
|
+
* `Buildi.Primitives` stores its value as.
|
|
7
|
+
*
|
|
8
|
+
* A binary `number` cannot stand in here. Unit conversion multiplies by exact
|
|
9
|
+
* decimal factors, and the result is what `normalize()` writes out as the
|
|
10
|
+
* canonical storage form:
|
|
11
|
+
*
|
|
12
|
+
* ```text
|
|
13
|
+
* 3 ft -> meters number: 0.9144000000000001 decimal: 0.9144
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* Since `isNormalized(input)` is defined as `input === normalize(input)`, that
|
|
17
|
+
* drift would break the contract the package is built around, and would fail
|
|
18
|
+
* the parity vectors ported from the .NET test suite.
|
|
19
|
+
*
|
|
20
|
+
* A value is `units / 10 ** scale`. Both the 96-bit magnitude limit and the
|
|
21
|
+
* maximum scale of 28 are reproduced so that inputs .NET rejects as overflow
|
|
22
|
+
* are rejected here too.
|
|
23
|
+
*
|
|
24
|
+
* Equivalent of .NET `System.Decimal`. Internal; not re-exported publicly.
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* How to break a tie when discarding digits.
|
|
28
|
+
*
|
|
29
|
+
* .NET uses `HalfEven` for arithmetic (verified: `1m / 536870912m` yields
|
|
30
|
+
* `0.0000000018626451492309570312`, keeping the even `2` where away-from-zero
|
|
31
|
+
* would produce `3`), while `Math.Round(x, n, MidpointRounding.AwayFromZero)`
|
|
32
|
+
* is what the quantity formatters ask for explicitly.
|
|
33
|
+
*/
|
|
34
|
+
type RoundingMode = "half-even" | "away-from-zero";
|
|
35
|
+
declare class Decimal {
|
|
36
|
+
private readonly units;
|
|
37
|
+
private readonly scale;
|
|
38
|
+
static readonly zero: Decimal;
|
|
39
|
+
static readonly one: Decimal;
|
|
40
|
+
private constructor();
|
|
41
|
+
/**
|
|
42
|
+
* Drops scale until the value fits in 96 bits and 28 fractional digits.
|
|
43
|
+
*
|
|
44
|
+
* .NET reduces precision before it gives up, which is why `1e-16 * 1e-16`
|
|
45
|
+
* yields a scale-28 zero rather than throwing.
|
|
46
|
+
*/
|
|
47
|
+
private static fit;
|
|
48
|
+
/** Builds a value from an integer. Throws if it does not fit. */
|
|
49
|
+
static fromBigInt(value: bigint): Decimal;
|
|
50
|
+
/**
|
|
51
|
+
* Parses a plain decimal literal such as `-12.750`. Trailing zeros are
|
|
52
|
+
* significant and preserved, as in .NET. Exponent notation is not accepted.
|
|
53
|
+
* Returns `null` when the input is malformed or too large.
|
|
54
|
+
*/
|
|
55
|
+
static parse(input: string): Decimal | null;
|
|
56
|
+
/**
|
|
57
|
+
* Converts a `number`, expanding the exponent notation JavaScript uses for
|
|
58
|
+
* very large and very small magnitudes so that `1e-7` parses as
|
|
59
|
+
* `0.0000001`. Returns `null` for non-finite input or a magnitude outside the
|
|
60
|
+
* representable range.
|
|
61
|
+
*/
|
|
62
|
+
static fromNumber(value: number): Decimal | null;
|
|
63
|
+
get isZero(): boolean;
|
|
64
|
+
get isNegative(): boolean;
|
|
65
|
+
plus(other: Decimal): Decimal;
|
|
66
|
+
minus(other: Decimal): Decimal;
|
|
67
|
+
/** Scales add, as in .NET: `1.0 * 1.0` is `1.00`. */
|
|
68
|
+
times(other: Decimal): Decimal;
|
|
69
|
+
/**
|
|
70
|
+
* Divides at the highest precision that still fits, which is how .NET arrives
|
|
71
|
+
* at `1m / 0.0254m === 39.370078740157480314960629921` — 27 fractional
|
|
72
|
+
* digits, because 28 would not fit in 96 bits.
|
|
73
|
+
*
|
|
74
|
+
* Unlike the other operations, division discards trailing zeros down to a
|
|
75
|
+
* preferred scale of `dividend scale - divisor scale`. That is what makes
|
|
76
|
+
* `536870912m / 2.5m` come out as `214748364.8` while `1.00m / 2m` keeps both
|
|
77
|
+
* digits as `0.50`.
|
|
78
|
+
*/
|
|
79
|
+
dividedBy(other: Decimal): Decimal;
|
|
80
|
+
negated(): Decimal;
|
|
81
|
+
abs(): Decimal;
|
|
82
|
+
/**
|
|
83
|
+
* Rounds to `decimals` fractional digits. Asking for more digits than the
|
|
84
|
+
* value carries leaves it untouched, matching .NET `Math.Round`.
|
|
85
|
+
*/
|
|
86
|
+
round(decimals: number, mode?: RoundingMode): Decimal;
|
|
87
|
+
/** Compares by value; scale is ignored, so `1.0` and `1.00` are equal. */
|
|
88
|
+
compareTo(other: Decimal): number;
|
|
89
|
+
equals(other: Decimal): boolean;
|
|
90
|
+
/** Renders with trailing zeros intact, as .NET does. */
|
|
91
|
+
toString(): string;
|
|
92
|
+
/**
|
|
93
|
+
* Renders without trailing fractional zeros, e.g. `0.9144` rather than
|
|
94
|
+
* `0.914400`. This is the form the quantity types display.
|
|
95
|
+
*/
|
|
96
|
+
toTrimmedString(): string;
|
|
97
|
+
/**
|
|
98
|
+
* Converts to a binary `number` for ergonomic consumer-facing accessors.
|
|
99
|
+
* Lossy beyond 17 significant digits — never round-trip a value through this
|
|
100
|
+
* on the normalization path.
|
|
101
|
+
*/
|
|
102
|
+
toNumber(): number;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Shared machinery for the `Measurement` unit classes (`LengthUnit`,
|
|
107
|
+
* `PowerUnit`, and the rest).
|
|
108
|
+
*
|
|
109
|
+
* In .NET each of these is a hand-written class repeating the same symbol
|
|
110
|
+
* index, natural-scale walk and lookup. Repetition is free there; here it would
|
|
111
|
+
* be bytes shipped to a browser for all nineteen dimensions, so the shared part
|
|
112
|
+
* lives once and each public unit class supplies only its table.
|
|
113
|
+
*
|
|
114
|
+
* Internal; not re-exported publicly.
|
|
115
|
+
*/
|
|
116
|
+
|
|
117
|
+
/** The fields every unit in a dimension carries. */
|
|
118
|
+
interface MeasurementUnitDefinition {
|
|
119
|
+
readonly symbol: string;
|
|
120
|
+
readonly englishName: string;
|
|
121
|
+
readonly localizedName: string;
|
|
122
|
+
readonly pluralEnglish: string;
|
|
123
|
+
readonly pluralSwedish: string;
|
|
124
|
+
/** Multiply a value in this unit by this factor to reach the base unit. */
|
|
125
|
+
readonly toBaseUnitFactor: Decimal;
|
|
126
|
+
/**
|
|
127
|
+
* Exact conversion as a `[numerator, denominator]` pair, for units whose
|
|
128
|
+
* factor is a repeating decimal — 1/60 for rpm, 1/3600 for coulomb, 1000/3600
|
|
129
|
+
* for km/h. Multiplying by the rounded factor and dividing by it are not
|
|
130
|
+
* inverses, so both directions go through the ratio instead. .NET
|
|
131
|
+
* special-cases exactly these units for the same reason.
|
|
132
|
+
*/
|
|
133
|
+
readonly exactRatio?: readonly [numerator: Decimal, denominator: Decimal];
|
|
134
|
+
readonly aliases?: readonly string[];
|
|
135
|
+
}
|
|
136
|
+
declare class MeasurementUnit {
|
|
137
|
+
readonly symbol: string;
|
|
138
|
+
readonly englishName: string;
|
|
139
|
+
readonly localizedName: string;
|
|
140
|
+
readonly pluralEnglish: string;
|
|
141
|
+
readonly pluralSwedish: string;
|
|
142
|
+
readonly toBaseUnitFactor: Decimal;
|
|
143
|
+
readonly aliases: readonly string[];
|
|
144
|
+
private readonly exactRatio;
|
|
145
|
+
protected constructor(definition: MeasurementUnitDefinition);
|
|
146
|
+
/** Converts a value expressed in this unit into the dimension's base unit. */
|
|
147
|
+
toBase(value: Decimal): Decimal;
|
|
148
|
+
/** Converts a value expressed in the base unit into this unit. */
|
|
149
|
+
fromBase(baseValue: Decimal): Decimal;
|
|
150
|
+
toString(): string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Case-insensitive lookup over a dimension's units plus the natural-scale walk
|
|
154
|
+
* used for display.
|
|
155
|
+
*/
|
|
156
|
+
declare class MeasurementUnitIndex<TUnit extends MeasurementUnit> {
|
|
157
|
+
readonly all: readonly TUnit[];
|
|
158
|
+
readonly baseUnit: TUnit;
|
|
159
|
+
readonly naturalScale: readonly TUnit[];
|
|
160
|
+
private readonly symbolsExcludedFromIndex;
|
|
161
|
+
private readonly index;
|
|
162
|
+
private readonly ownedUnits;
|
|
163
|
+
constructor(all: readonly TUnit[], baseUnit: TUnit,
|
|
164
|
+
/** Metric units ordered small to large, used to auto-scale display. */
|
|
165
|
+
naturalScale: readonly TUnit[],
|
|
166
|
+
/**
|
|
167
|
+
* Units whose symbol is deliberately left out of the index because it
|
|
168
|
+
* collides case-insensitively with another unit's — `mW` against `MW`. The
|
|
169
|
+
* owning class resolves those itself.
|
|
170
|
+
*/
|
|
171
|
+
symbolsExcludedFromIndex?: readonly TUnit[]);
|
|
172
|
+
assertOwns(unit: MeasurementUnit): asserts unit is TUnit;
|
|
173
|
+
/**
|
|
174
|
+
* Matches on symbol, English and Swedish names, plurals and aliases. Earlier
|
|
175
|
+
* units win a collision, mirroring the `TryAdd` order in .NET.
|
|
176
|
+
*/
|
|
177
|
+
tryParse(input: string | null | undefined): TUnit | null;
|
|
178
|
+
/**
|
|
179
|
+
* Picks the largest unit on the natural scale where the magnitude is still at
|
|
180
|
+
* least one, so 1500 meters displays as `1.5 km`.
|
|
181
|
+
*/
|
|
182
|
+
getNatural(baseValue: Decimal): TUnit;
|
|
183
|
+
private buildSymbolIndex;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Shared behaviour for the `Measurement` quantity types (`Length`, `Power`,
|
|
188
|
+
* `Weight`, and the rest).
|
|
189
|
+
*
|
|
190
|
+
* Each of those is ~230 near-identical lines in .NET. Here the common half —
|
|
191
|
+
* parsing, conversion, formatting, comparison and arithmetic — lives once, and
|
|
192
|
+
* a public type supplies its unit table plus the named accessors that make its
|
|
193
|
+
* API readable.
|
|
194
|
+
*
|
|
195
|
+
* The value is held in the base unit as an exact {@link Decimal}. Converting
|
|
196
|
+
* only at the formatting boundary is what keeps `normalize()` byte-identical to
|
|
197
|
+
* .NET; see the note at the top of `decimal.ts`.
|
|
198
|
+
*
|
|
199
|
+
* Internal; not re-exported publicly.
|
|
200
|
+
*/
|
|
201
|
+
|
|
202
|
+
declare abstract class Quantity<TUnit extends MeasurementUnit> {
|
|
203
|
+
/** The value expressed in the dimension's base unit. */
|
|
204
|
+
protected readonly baseValue: Decimal;
|
|
205
|
+
/** The unit the value was originally parsed from. */
|
|
206
|
+
readonly originalUnit: TUnit;
|
|
207
|
+
protected constructor(
|
|
208
|
+
/** The value expressed in the dimension's base unit. */
|
|
209
|
+
baseValue: Decimal,
|
|
210
|
+
/** The unit the value was originally parsed from. */
|
|
211
|
+
originalUnit: TUnit);
|
|
212
|
+
/** The unit index for this dimension, supplied by the concrete type. */
|
|
213
|
+
protected abstract get units(): MeasurementUnitIndex<TUnit>;
|
|
214
|
+
/** Builds another instance of the concrete type, used by the arithmetic. */
|
|
215
|
+
protected abstract withBaseValue(baseValue: Decimal, unit: TUnit): this;
|
|
216
|
+
/** The exact value converted to `unit`. */
|
|
217
|
+
inDecimal(unit: TUnit): Decimal;
|
|
218
|
+
/** The value converted to `unit`, as a `number` for ergonomic access. */
|
|
219
|
+
in(unit: TUnit): number;
|
|
220
|
+
/** The most human-readable unit on this dimension's natural scale. */
|
|
221
|
+
get naturalUnit(): TUnit;
|
|
222
|
+
/** The value in the base unit, e.g. `10000 m`. */
|
|
223
|
+
toNormalizedString(): string;
|
|
224
|
+
/** The value in the unit it was parsed from, e.g. `10 km`. */
|
|
225
|
+
toString(): string;
|
|
226
|
+
/** The value converted to `unit`, e.g. `0.01 km`. */
|
|
227
|
+
toStringInUnit(unit: TUnit, decimals?: number): string;
|
|
228
|
+
/** The value in the most readable unit, e.g. `1.5 km` rather than `1500 m`. */
|
|
229
|
+
toNaturalString(decimals?: number): string;
|
|
230
|
+
plus(other: Quantity<TUnit>): this;
|
|
231
|
+
minus(other: Quantity<TUnit>): this;
|
|
232
|
+
times(factor: number | Decimal): this;
|
|
233
|
+
dividedBy(divisor: number | Decimal): this;
|
|
234
|
+
negated(): this;
|
|
235
|
+
compareTo(other: Quantity<TUnit> | null | undefined): number;
|
|
236
|
+
equals(other: Quantity<TUnit> | null | undefined): boolean;
|
|
237
|
+
isLessThan(other: Quantity<TUnit>): boolean;
|
|
238
|
+
isGreaterThan(other: Quantity<TUnit>): boolean;
|
|
239
|
+
private assertSameDimension;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* A unit of length identified by its symbol. Each unit carries English and
|
|
244
|
+
* Swedish names, singular and plural forms, and an exact conversion factor to
|
|
245
|
+
* the base SI unit (meter).
|
|
246
|
+
*/
|
|
247
|
+
declare class LengthUnit extends MeasurementUnit {
|
|
248
|
+
private readonly __lengthUnitBrand;
|
|
249
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
250
|
+
static readonly Nanometer: LengthUnit;
|
|
251
|
+
static readonly Micrometer: LengthUnit;
|
|
252
|
+
static readonly Millimeter: LengthUnit;
|
|
253
|
+
static readonly Centimeter: LengthUnit;
|
|
254
|
+
static readonly Decimeter: LengthUnit;
|
|
255
|
+
static readonly Meter: LengthUnit;
|
|
256
|
+
static readonly Kilometer: LengthUnit;
|
|
257
|
+
static readonly Inch: LengthUnit;
|
|
258
|
+
static readonly Foot: LengthUnit;
|
|
259
|
+
static readonly Yard: LengthUnit;
|
|
260
|
+
static readonly Mile: LengthUnit;
|
|
261
|
+
static readonly NauticalMile: LengthUnit;
|
|
262
|
+
/** The Swedish `mil`, which is 10 km — not the international mile. */
|
|
263
|
+
static readonly SwedishMile: LengthUnit;
|
|
264
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
265
|
+
static readonly index: MeasurementUnitIndex<LengthUnit>;
|
|
266
|
+
static get all(): readonly LengthUnit[];
|
|
267
|
+
/** The base SI unit: meter. */
|
|
268
|
+
static get baseUnit(): LengthUnit;
|
|
269
|
+
/**
|
|
270
|
+
* Metric units ordered small to large, used to auto-scale display. Imperial
|
|
271
|
+
* and niche units are excluded.
|
|
272
|
+
*/
|
|
273
|
+
static get naturalScale(): readonly LengthUnit[];
|
|
274
|
+
/**
|
|
275
|
+
* Resolves a unit from a symbol, name, plural or alias, case-insensitively.
|
|
276
|
+
*
|
|
277
|
+
* `NM` is the one case-sensitive exception: uppercase means nautical mile,
|
|
278
|
+
* while `nm` is nanometer.
|
|
279
|
+
*/
|
|
280
|
+
static tryParse(input: string | null | undefined): LengthUnit | null;
|
|
281
|
+
static parse(input: string): LengthUnit;
|
|
282
|
+
/** Returns the most human-readable unit for a value in meters. */
|
|
283
|
+
static getNatural(meters: Decimal): LengthUnit;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/** Options for {@link Length.format} and {@link Length.normalize}. */
|
|
287
|
+
interface LengthFormatOptions {
|
|
288
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
289
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
290
|
+
unit?: LengthUnit;
|
|
291
|
+
/** Round to this many fractional digits, away from zero. */
|
|
292
|
+
decimals?: number;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* A length stored internally in meters, parsed from any supported unit format
|
|
296
|
+
* such as `10 km`, `5.5 cm` or `3 ft`, and convertible between metric and
|
|
297
|
+
* imperial units.
|
|
298
|
+
*
|
|
299
|
+
* Sources:
|
|
300
|
+
* - https://www.bipm.org/en/measurement-units/si-base-units — meter definition
|
|
301
|
+
* - https://en.wikipedia.org/wiki/Conversion_of_units
|
|
302
|
+
*/
|
|
303
|
+
declare class Length extends Quantity<LengthUnit> {
|
|
304
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
305
|
+
protected get units(): MeasurementUnitIndex<LengthUnit>;
|
|
306
|
+
protected withBaseValue(baseValue: Decimal, unit: LengthUnit): this;
|
|
307
|
+
get nanometers(): number;
|
|
308
|
+
get micrometers(): number;
|
|
309
|
+
get millimeters(): number;
|
|
310
|
+
get centimeters(): number;
|
|
311
|
+
get decimeters(): number;
|
|
312
|
+
get meters(): number;
|
|
313
|
+
get kilometers(): number;
|
|
314
|
+
get inches(): number;
|
|
315
|
+
get feet(): number;
|
|
316
|
+
get yards(): number;
|
|
317
|
+
get miles(): number;
|
|
318
|
+
get nauticalMiles(): number;
|
|
319
|
+
/** The value in Swedish miles, where 1 mil is 10 km. */
|
|
320
|
+
get swedishMiles(): number;
|
|
321
|
+
/** Creates a length from a value and unit. */
|
|
322
|
+
static create(value: number | Decimal, unit: LengthUnit): Length;
|
|
323
|
+
static fromNanometers(value: number | Decimal): Length;
|
|
324
|
+
static fromMicrometers(value: number | Decimal): Length;
|
|
325
|
+
static fromMillimeters(value: number | Decimal): Length;
|
|
326
|
+
static fromCentimeters(value: number | Decimal): Length;
|
|
327
|
+
static fromDecimeters(value: number | Decimal): Length;
|
|
328
|
+
static fromMeters(value: number | Decimal): Length;
|
|
329
|
+
static fromKilometers(value: number | Decimal): Length;
|
|
330
|
+
static fromInches(value: number | Decimal): Length;
|
|
331
|
+
static fromFeet(value: number | Decimal): Length;
|
|
332
|
+
static fromYards(value: number | Decimal): Length;
|
|
333
|
+
static fromMiles(value: number | Decimal): Length;
|
|
334
|
+
static fromNauticalMiles(value: number | Decimal): Length;
|
|
335
|
+
static fromSwedishMiles(value: number | Decimal): Length;
|
|
336
|
+
static tryParse(input: string | null | undefined): Length | null;
|
|
337
|
+
static parse(input: string): Length;
|
|
338
|
+
static isValid(input: string | null | undefined): boolean;
|
|
339
|
+
/**
|
|
340
|
+
* Returns a display-friendly string such as `10 km`, preserving the parsed
|
|
341
|
+
* unit unless `unit` is given. Returns `null` when the input is invalid.
|
|
342
|
+
*/
|
|
343
|
+
static format(input: string | null | undefined, options?: LengthFormatOptions): string | null;
|
|
344
|
+
/** Returns the value in meters, e.g. `10000 m`. Returns `null` when invalid. */
|
|
345
|
+
static normalize(input: string | null | undefined, options?: LengthFormatOptions): string | null;
|
|
346
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
347
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Length>[];
|
|
348
|
+
private static fallback;
|
|
349
|
+
private static decimalOf;
|
|
350
|
+
}
|
|
351
|
+
/** Returns a masked length, e.g. `10 km` becomes `*** km`. */
|
|
352
|
+
declare function maskLength(length: Length): string;
|
|
353
|
+
|
|
354
|
+
export { Decimal as D, Length as L, MeasurementUnit as M, Quantity as Q, type LengthFormatOptions as a, LengthUnit as b, MeasurementUnitIndex as c, maskLength as m };
|