@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
|
@@ -0,0 +1,699 @@
|
|
|
1
|
+
import { D as Decimal } from './length-CceXIJYY.js';
|
|
2
|
+
import { P as PrimitiveTypeInfo, T as TextCandidate } from './text-candidate-qg2bD9PY.js';
|
|
3
|
+
import { P as Power, b as PowerUnit } from './volume-DGLPQypt.js';
|
|
4
|
+
import { ValidationResult } from './validation/index.js';
|
|
5
|
+
|
|
6
|
+
/** Options for {@link BoltPattern.format} and {@link BoltPattern.normalize}. */
|
|
7
|
+
interface BoltPatternFormatOptions {
|
|
8
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A wheel bolt pattern (`bultcirkelmått`) such as `5x114.3`: the number of bolt holes
|
|
12
|
+
* and the pitch circle diameter in millimetres.
|
|
13
|
+
*
|
|
14
|
+
* Sources:
|
|
15
|
+
* - https://en.wikipedia.org/wiki/Bolt_pattern
|
|
16
|
+
*/
|
|
17
|
+
declare class BoltPattern {
|
|
18
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
19
|
+
/** Number of bolt holes, e.g. `5`. */
|
|
20
|
+
readonly boltCount: number;
|
|
21
|
+
/** Normalized compact form, e.g. `5x114.3`. */
|
|
22
|
+
readonly value: string;
|
|
23
|
+
private readonly exactPcd;
|
|
24
|
+
private constructor();
|
|
25
|
+
/** Pitch circle diameter in millimetres, e.g. `114.3`. */
|
|
26
|
+
get pitchCircleDiameter(): number;
|
|
27
|
+
static tryParse(input: string | null | undefined): BoltPattern | null;
|
|
28
|
+
static parse(input: string): BoltPattern;
|
|
29
|
+
static isValid(input: string | null | undefined): boolean;
|
|
30
|
+
/** Returns the display form with spaces, e.g. `5 x 114.3`. */
|
|
31
|
+
static format(input: string | null | undefined, options?: BoltPatternFormatOptions): string | null;
|
|
32
|
+
/** Returns the compact form, e.g. `5x114.3`. */
|
|
33
|
+
static normalize(input: string | null | undefined, options?: BoltPatternFormatOptions): string | null;
|
|
34
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
35
|
+
/** Finds bolt patterns in unstructured text, e.g. `5x114.3`. */
|
|
36
|
+
static findCandidatesInText(text: string): readonly TextCandidate<BoltPattern>[];
|
|
37
|
+
/** Returns the compact form, e.g. `5x114.3`. */
|
|
38
|
+
toNormalizedString(): string;
|
|
39
|
+
/** Returns the display form with spaces, e.g. `5 x 114.3`. */
|
|
40
|
+
toString(): string;
|
|
41
|
+
equals(other: BoltPattern | null | undefined): boolean;
|
|
42
|
+
compareTo(other: BoltPattern | null | undefined): number;
|
|
43
|
+
/** @internal Exposes the parsed scale, which masking mirrors star for star. */
|
|
44
|
+
get _exactPcd(): Decimal;
|
|
45
|
+
}
|
|
46
|
+
/** Returns a masked bolt pattern, e.g. `5x114.3` becomes `* x *****`. */
|
|
47
|
+
declare function maskBoltPattern(pattern: BoltPattern): string;
|
|
48
|
+
|
|
49
|
+
/** Options for {@link EmissionRate.format} and {@link EmissionRate.normalize}. */
|
|
50
|
+
interface EmissionRateFormatOptions {
|
|
51
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* A vehicle emission rate (`utsläpp`) such as CO₂ per distance, held as grams per
|
|
55
|
+
* kilometre. Accepts `g/km`, `mg/km`, `g/mi` and `mg/mi`; a bare number is read as
|
|
56
|
+
* grams per kilometre.
|
|
57
|
+
*
|
|
58
|
+
* Sources:
|
|
59
|
+
* - https://en.wikipedia.org/wiki/European_emission_standards
|
|
60
|
+
* - https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-typical-passenger-vehicle
|
|
61
|
+
*/
|
|
62
|
+
declare class EmissionRate {
|
|
63
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
64
|
+
/** Display form preserving the parsed unit, e.g. `221 g/km`. */
|
|
65
|
+
readonly value: string;
|
|
66
|
+
private readonly exactGramsPerKm;
|
|
67
|
+
private constructor();
|
|
68
|
+
/** The rate in grams per kilometre, e.g. `221`. */
|
|
69
|
+
get gramsPerKm(): number;
|
|
70
|
+
/** The rate in milligrams per kilometre, e.g. `95700`. */
|
|
71
|
+
get milligramsPerKm(): number;
|
|
72
|
+
/** The rate in grams per mile, e.g. `355.66`. */
|
|
73
|
+
get gramsPerMile(): number;
|
|
74
|
+
static fromGramsPerKm(value: number | Decimal): EmissionRate;
|
|
75
|
+
static fromMilligramsPerKm(value: number | Decimal): EmissionRate;
|
|
76
|
+
private static fromUnit;
|
|
77
|
+
static tryParse(input: string | null | undefined): EmissionRate | null;
|
|
78
|
+
static parse(input: string): EmissionRate;
|
|
79
|
+
static isValid(input: string | null | undefined): boolean;
|
|
80
|
+
/** Returns the display form in the parsed unit, e.g. `95.7 mg/km`. */
|
|
81
|
+
static format(input: string | null | undefined, options?: EmissionRateFormatOptions): string | null;
|
|
82
|
+
/** Returns the value in g/km, e.g. `221 g/km`. */
|
|
83
|
+
static normalize(input: string | null | undefined, options?: EmissionRateFormatOptions): string | null;
|
|
84
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
85
|
+
/** Finds emission rates in unstructured text, e.g. `221 g/km`. */
|
|
86
|
+
static findCandidatesInText(text: string): readonly TextCandidate<EmissionRate>[];
|
|
87
|
+
/** Returns the value in g/km, e.g. `221 g/km`. */
|
|
88
|
+
toNormalizedString(): string;
|
|
89
|
+
toString(): string;
|
|
90
|
+
equals(other: EmissionRate | null | undefined): boolean;
|
|
91
|
+
compareTo(other: EmissionRate | null | undefined): number;
|
|
92
|
+
}
|
|
93
|
+
/** Returns a masked emission rate, e.g. `221 g/km` becomes `*** g/km`. */
|
|
94
|
+
declare function maskEmissionRate(rate: EmissionRate): string;
|
|
95
|
+
|
|
96
|
+
/** Options for {@link EnginePower.format} and {@link EnginePower.normalize}. */
|
|
97
|
+
interface EnginePowerFormatOptions {
|
|
98
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
99
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
100
|
+
unit?: PowerUnit;
|
|
101
|
+
/** Round to this many fractional digits, away from zero. */
|
|
102
|
+
decimals?: number;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Engine power output (`motoreffekt`), e.g. `150 hp`, `110 kW` or the Swedish
|
|
106
|
+
* `150 hk`. A bare number is read as horsepower, and a leading `ca` or `~` is
|
|
107
|
+
* ignored.
|
|
108
|
+
*/
|
|
109
|
+
declare class EnginePower {
|
|
110
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
111
|
+
/** The underlying power value. */
|
|
112
|
+
readonly powerValue: Power;
|
|
113
|
+
/** Display form preserving the parsed unit, e.g. `150 hp`. */
|
|
114
|
+
readonly value: string;
|
|
115
|
+
private constructor();
|
|
116
|
+
get horsepower(): number;
|
|
117
|
+
get kilowatts(): number;
|
|
118
|
+
get watts(): number;
|
|
119
|
+
/** Creates an engine power from a value and power unit. The value must be positive. */
|
|
120
|
+
static create(value: number | Decimal, unit: PowerUnit): EnginePower;
|
|
121
|
+
static fromHorsepower(value: number | Decimal): EnginePower;
|
|
122
|
+
static fromKilowatts(value: number | Decimal): EnginePower;
|
|
123
|
+
static fromWatts(value: number | Decimal): EnginePower;
|
|
124
|
+
static tryParse(input: string | null | undefined): EnginePower | null;
|
|
125
|
+
static parse(input: string): EnginePower;
|
|
126
|
+
static isValid(input: string | null | undefined): boolean;
|
|
127
|
+
/** Returns the display form, e.g. `150 hp`. Returns `null` when the input is invalid. */
|
|
128
|
+
static format(input: string | null | undefined, options?: EnginePowerFormatOptions): string | null;
|
|
129
|
+
/** Returns the value in watts, e.g. `110000 W`. Returns `null` when the input is invalid. */
|
|
130
|
+
static normalize(input: string | null | undefined, options?: EnginePowerFormatOptions): string | null;
|
|
131
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Finds engine power written with the Swedish `hk` suffix. Standard power units
|
|
134
|
+
* such as `kW` and `hp` are found by {@link Power.findCandidatesInText} instead.
|
|
135
|
+
*/
|
|
136
|
+
static findCandidatesInText(text: string): readonly TextCandidate<EnginePower>[];
|
|
137
|
+
toNormalizedString(): string;
|
|
138
|
+
toString(): string;
|
|
139
|
+
/** Returns the value in the most readable SI unit, e.g. `1.5 kW` rather than `1500 W`. */
|
|
140
|
+
toNaturalString(decimals?: number): string;
|
|
141
|
+
plus(other: EnginePower): EnginePower;
|
|
142
|
+
minus(other: EnginePower): EnginePower;
|
|
143
|
+
times(factor: number | Decimal): EnginePower;
|
|
144
|
+
dividedBy(divisor: number | Decimal): EnginePower;
|
|
145
|
+
negated(): EnginePower;
|
|
146
|
+
equals(other: EnginePower | null | undefined): boolean;
|
|
147
|
+
compareTo(other: EnginePower | null | undefined): number;
|
|
148
|
+
/** @internal Used by the private factories that keep a custom display form. */
|
|
149
|
+
static _fromDisplay(power: Power, displayValue: string): EnginePower;
|
|
150
|
+
}
|
|
151
|
+
/** Returns a masked engine power, e.g. `150 hp` becomes `*** hp`. */
|
|
152
|
+
declare function maskEnginePower(power: EnginePower): string;
|
|
153
|
+
|
|
154
|
+
/** Options for {@link EuTypeApprovalNumber.format} and `normalize`. */
|
|
155
|
+
interface EuTypeApprovalNumberFormatOptions {
|
|
156
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* An EU whole-vehicle type-approval number (`typgodkännandenummer`) such as
|
|
160
|
+
* `e9*2007/46*6364*09`: the E-mark country code, the directive or regulation, the
|
|
161
|
+
* type number and the extension.
|
|
162
|
+
*
|
|
163
|
+
* Sources:
|
|
164
|
+
* - https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32018R0858
|
|
165
|
+
* - https://unece.org/transport/vehicle-regulations
|
|
166
|
+
* - https://www.transportstyrelsen.se/
|
|
167
|
+
*/
|
|
168
|
+
declare class EuTypeApprovalNumber {
|
|
169
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
170
|
+
/** Canonical form, e.g. `e9*2007/46*6364*09`. */
|
|
171
|
+
readonly value: string;
|
|
172
|
+
/** E-mark country code, e.g. `9` for Spain and `5` for Sweden. */
|
|
173
|
+
readonly approvalCountryCode: number;
|
|
174
|
+
/** Country name for the E-mark code, or `null` when the code is unassigned. */
|
|
175
|
+
readonly approvalCountryName: string | null;
|
|
176
|
+
/** Directive or regulation reference, e.g. `2007/46`. */
|
|
177
|
+
readonly directive: string;
|
|
178
|
+
/** Type approval number, e.g. `6364`. */
|
|
179
|
+
readonly typeNumber: string;
|
|
180
|
+
/** Extension or variant number, e.g. `09`. */
|
|
181
|
+
readonly extension: string;
|
|
182
|
+
private constructor();
|
|
183
|
+
static tryParse(input: string | null | undefined): EuTypeApprovalNumber | null;
|
|
184
|
+
static parse(input: string): EuTypeApprovalNumber;
|
|
185
|
+
static isValid(input: string | null | undefined): boolean;
|
|
186
|
+
/** Returns the canonical number, e.g. `e9*2007/46*6364*09`. */
|
|
187
|
+
static format(input: string | null | undefined, options?: EuTypeApprovalNumberFormatOptions): string | null;
|
|
188
|
+
/** Returns the canonical number, e.g. `e9*2007/46*6364*09`. */
|
|
189
|
+
static normalize(input: string | null | undefined, options?: EuTypeApprovalNumberFormatOptions): string | null;
|
|
190
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
191
|
+
/** Finds type-approval numbers in unstructured text, e.g. `e9*2007/46*6364*09`. */
|
|
192
|
+
static findCandidatesInText(text: string): readonly TextCandidate<EuTypeApprovalNumber>[];
|
|
193
|
+
/** Returns the canonical number, e.g. `e9*2007/46*6364*09`. */
|
|
194
|
+
toNormalizedString(): string;
|
|
195
|
+
/** Returns the canonical number, e.g. `e9*2007/46*6364*09`. */
|
|
196
|
+
toString(): string;
|
|
197
|
+
equals(other: EuTypeApprovalNumber | null | undefined): boolean;
|
|
198
|
+
compareTo(other: EuTypeApprovalNumber | null | undefined): number;
|
|
199
|
+
}
|
|
200
|
+
/** Returns a masked approval number keeping the e-mark, e.g. `e9*****`. */
|
|
201
|
+
declare function maskEuTypeApprovalNumber(approval: EuTypeApprovalNumber): string;
|
|
202
|
+
|
|
203
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
204
|
+
interface EuroEmissionClassFormatOptions {
|
|
205
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
206
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* A European vehicle emission standard (`Euroklass`) with the related Swedish environmental
|
|
210
|
+
* class label (`miljöklass`).
|
|
211
|
+
*/
|
|
212
|
+
declare class EuroEmissionClass {
|
|
213
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
214
|
+
readonly euroClass: string;
|
|
215
|
+
readonly level: number;
|
|
216
|
+
readonly subLevel: string | null;
|
|
217
|
+
readonly swedishMiljoklass: string;
|
|
218
|
+
readonly introductionYear: number;
|
|
219
|
+
readonly value: string;
|
|
220
|
+
/** @internal Position in the canonical .NET ordering, used by {@link compareTo}. */
|
|
221
|
+
private readonly rank;
|
|
222
|
+
private constructor();
|
|
223
|
+
static readonly Euro1: EuroEmissionClass;
|
|
224
|
+
static readonly Euro2: EuroEmissionClass;
|
|
225
|
+
static readonly Euro3: EuroEmissionClass;
|
|
226
|
+
static readonly Euro4: EuroEmissionClass;
|
|
227
|
+
static readonly Euro5: EuroEmissionClass;
|
|
228
|
+
static readonly Euro5a: EuroEmissionClass;
|
|
229
|
+
static readonly Euro5b: EuroEmissionClass;
|
|
230
|
+
static readonly Euro6: EuroEmissionClass;
|
|
231
|
+
static readonly Euro6b: EuroEmissionClass;
|
|
232
|
+
static readonly Euro6c: EuroEmissionClass;
|
|
233
|
+
static readonly Euro6dTemp: EuroEmissionClass;
|
|
234
|
+
static readonly Euro6d: EuroEmissionClass;
|
|
235
|
+
static readonly Euro6e: EuroEmissionClass;
|
|
236
|
+
static readonly Euro7: EuroEmissionClass;
|
|
237
|
+
static readonly El: EuroEmissionClass;
|
|
238
|
+
/** All 15 values, in canonical order. */
|
|
239
|
+
static get all(): readonly EuroEmissionClass[];
|
|
240
|
+
/** Resolves a value from its canonical name, localized name, code or any known alias. */
|
|
241
|
+
static tryParse(input: string | null | undefined): EuroEmissionClass | null;
|
|
242
|
+
static parse(input: string): EuroEmissionClass;
|
|
243
|
+
static isValid(input: string | null | undefined): boolean;
|
|
244
|
+
static format(input: string | null | undefined, options?: EuroEmissionClassFormatOptions): string | null;
|
|
245
|
+
static normalize(input: string | null | undefined, options?: EuroEmissionClassFormatOptions): string | null;
|
|
246
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
247
|
+
/** Finds euro emission class mentions in unstructured text. */
|
|
248
|
+
static findCandidatesInText(text: string): readonly TextCandidate<EuroEmissionClass>[];
|
|
249
|
+
toNormalizedString(): string;
|
|
250
|
+
toString(): string;
|
|
251
|
+
equals(other: EuroEmissionClass | null | undefined): boolean;
|
|
252
|
+
compareTo(other: EuroEmissionClass | null | undefined): number;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/** Options for {@link FuelConsumption.format} and {@link FuelConsumption.normalize}. */
|
|
256
|
+
interface FuelConsumptionFormatOptions {
|
|
257
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* Vehicle fuel consumption (`bränsleförbrukning`), held as litres per 100 km. Both
|
|
261
|
+
* combustion units (`l/100km`, `km/l`, `mpg`) and electric ones (`kWh/100km`,
|
|
262
|
+
* `Wh/km`) are accepted; a bare number is read as litres per 100 km.
|
|
263
|
+
*
|
|
264
|
+
* Sources:
|
|
265
|
+
* - https://en.wikipedia.org/wiki/Fuel_economy_in_automobiles
|
|
266
|
+
*/
|
|
267
|
+
declare class FuelConsumption {
|
|
268
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
269
|
+
/** Display form preserving the parsed unit, e.g. `8.3 l/100km`. */
|
|
270
|
+
readonly value: string;
|
|
271
|
+
private readonly exactLitersPer100Km;
|
|
272
|
+
private readonly exactKwhPer100Km;
|
|
273
|
+
private readonly electric;
|
|
274
|
+
private constructor();
|
|
275
|
+
/** Consumption in litres per 100 km. Zero for electric vehicles. */
|
|
276
|
+
get litersPer100Km(): number;
|
|
277
|
+
/** Fuel economy in kilometres per litre. Zero for electric vehicles. */
|
|
278
|
+
get kilometersPerLiter(): number;
|
|
279
|
+
/** Fuel economy in US miles per gallon. Zero for electric vehicles. */
|
|
280
|
+
get milesPerGallonUs(): number;
|
|
281
|
+
/** Fuel economy in imperial miles per gallon. Zero for electric vehicles. */
|
|
282
|
+
get milesPerGallonImp(): number;
|
|
283
|
+
/** Electric consumption in kWh per 100 km. Zero for combustion vehicles. */
|
|
284
|
+
get kwhPer100Km(): number;
|
|
285
|
+
/** `true` when the value came from a kWh-based unit. */
|
|
286
|
+
get isElectric(): boolean;
|
|
287
|
+
static fromLitersPer100Km(value: number | Decimal): FuelConsumption;
|
|
288
|
+
static fromKilometersPerLiter(value: number | Decimal): FuelConsumption;
|
|
289
|
+
static fromMpgUs(value: number | Decimal): FuelConsumption;
|
|
290
|
+
static fromKwhPer100Km(value: number | Decimal): FuelConsumption;
|
|
291
|
+
private static fromUnit;
|
|
292
|
+
static tryParse(input: string | null | undefined): FuelConsumption | null;
|
|
293
|
+
static parse(input: string): FuelConsumption;
|
|
294
|
+
static isValid(input: string | null | undefined): boolean;
|
|
295
|
+
/** Returns the display form in the parsed unit, e.g. `12 km/l`. */
|
|
296
|
+
static format(input: string | null | undefined, options?: FuelConsumptionFormatOptions): string | null;
|
|
297
|
+
/** Returns the value in l/100km, or kWh/100km for electric vehicles. */
|
|
298
|
+
static normalize(input: string | null | undefined, options?: FuelConsumptionFormatOptions): string | null;
|
|
299
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
300
|
+
/** Finds fuel consumption values in unstructured text, e.g. `8.3 l/100km`. */
|
|
301
|
+
static findCandidatesInText(text: string): readonly TextCandidate<FuelConsumption>[];
|
|
302
|
+
/** Returns the value in l/100km, or kWh/100km for electric vehicles. */
|
|
303
|
+
toNormalizedString(): string;
|
|
304
|
+
toString(): string;
|
|
305
|
+
equals(other: FuelConsumption | null | undefined): boolean;
|
|
306
|
+
compareTo(other: FuelConsumption | null | undefined): number;
|
|
307
|
+
private reciprocal;
|
|
308
|
+
}
|
|
309
|
+
/** Returns a masked fuel consumption, e.g. `8.3 l/100km` becomes `*** l/100km`. */
|
|
310
|
+
declare function maskFuelConsumption(consumption: FuelConsumption): string;
|
|
311
|
+
|
|
312
|
+
/** Options for {@link OperatingHours.format} and {@link OperatingHours.normalize}. */
|
|
313
|
+
interface OperatingHoursFormatOptions {
|
|
314
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* Machine operating hours (`drifttimmar`), e.g. `1234 h`. A bare number is read as
|
|
318
|
+
* hours; an explicit `h`, `tim` or `timmar` suffix is also accepted.
|
|
319
|
+
*/
|
|
320
|
+
declare class OperatingHours {
|
|
321
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
322
|
+
/** Display form, e.g. `1234 h`. */
|
|
323
|
+
readonly value: string;
|
|
324
|
+
private readonly exactHours;
|
|
325
|
+
private constructor();
|
|
326
|
+
/** The reading in hours. */
|
|
327
|
+
get hours(): number;
|
|
328
|
+
/** @internal The exact reading, used by the masking helper. */
|
|
329
|
+
get _exactHours(): Decimal;
|
|
330
|
+
/** Creates a reading from an hour value. The value must not be negative. */
|
|
331
|
+
static create(hours: number | Decimal): OperatingHours;
|
|
332
|
+
static fromHours(hours: number | Decimal): OperatingHours;
|
|
333
|
+
static tryParse(input: string | null | undefined): OperatingHours | null;
|
|
334
|
+
static parse(input: string): OperatingHours;
|
|
335
|
+
static isValid(input: string | null | undefined): boolean;
|
|
336
|
+
/** Returns the display form, e.g. `1234 h`. Returns `null` when the input is invalid. */
|
|
337
|
+
static format(input: string | null | undefined, options?: OperatingHoursFormatOptions): string | null;
|
|
338
|
+
/** Returns the value in hours, e.g. `1234 h`. Returns `null` when the input is invalid. */
|
|
339
|
+
static normalize(input: string | null | undefined, options?: OperatingHoursFormatOptions): string | null;
|
|
340
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
341
|
+
/**
|
|
342
|
+
* Finds operating-hour readings in unstructured text. Only values with an explicit
|
|
343
|
+
* hour suffix match, which keeps false positives down.
|
|
344
|
+
*/
|
|
345
|
+
static findCandidatesInText(text: string): readonly TextCandidate<OperatingHours>[];
|
|
346
|
+
/** Returns the reading in hours, e.g. `1234 h`. */
|
|
347
|
+
toNormalizedString(): string;
|
|
348
|
+
toString(): string;
|
|
349
|
+
plus(other: OperatingHours): OperatingHours;
|
|
350
|
+
minus(other: OperatingHours): OperatingHours;
|
|
351
|
+
times(factor: number | Decimal): OperatingHours;
|
|
352
|
+
dividedBy(divisor: number | Decimal): OperatingHours;
|
|
353
|
+
negated(): OperatingHours;
|
|
354
|
+
equals(other: OperatingHours | null | undefined): boolean;
|
|
355
|
+
compareTo(other: OperatingHours | null | undefined): number;
|
|
356
|
+
}
|
|
357
|
+
/** Returns a masked operating-hour reading, e.g. `1234 h` becomes `**** h`. */
|
|
358
|
+
declare function maskOperatingHours(hours: OperatingHours): string;
|
|
359
|
+
|
|
360
|
+
/** Broad vehicle group associated with a {@link SwedishDrivingLicenseCategory}. */
|
|
361
|
+
declare const SwedishDrivingLicenseVehicleGroup: {
|
|
362
|
+
readonly Unknown: 0;
|
|
363
|
+
readonly Moped: 1;
|
|
364
|
+
readonly Motorcycle: 2;
|
|
365
|
+
readonly Car: 3;
|
|
366
|
+
readonly Truck: 4;
|
|
367
|
+
readonly Bus: 5;
|
|
368
|
+
};
|
|
369
|
+
type SwedishDrivingLicenseVehicleGroup = (typeof SwedishDrivingLicenseVehicleGroup)[keyof typeof SwedishDrivingLicenseVehicleGroup];
|
|
370
|
+
|
|
371
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
372
|
+
interface SwedishDrivingLicenseCategoryFormatOptions {
|
|
373
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
374
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
375
|
+
}
|
|
376
|
+
/** Broad vehicle group associated with a {@link SwedishDrivingLicenseCategory}. */
|
|
377
|
+
declare class SwedishDrivingLicenseCategory {
|
|
378
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
379
|
+
readonly code: string;
|
|
380
|
+
readonly localizedName: string;
|
|
381
|
+
readonly englishName: string;
|
|
382
|
+
readonly description: string;
|
|
383
|
+
readonly minimumAge: number;
|
|
384
|
+
readonly vehicleGroup: SwedishDrivingLicenseVehicleGroup;
|
|
385
|
+
readonly isTrailerCategory: boolean;
|
|
386
|
+
readonly validityYears: number;
|
|
387
|
+
readonly value: string;
|
|
388
|
+
/** @internal Position in the canonical .NET ordering, used by {@link compareTo}. */
|
|
389
|
+
private readonly rank;
|
|
390
|
+
private constructor();
|
|
391
|
+
static readonly AM: SwedishDrivingLicenseCategory;
|
|
392
|
+
static readonly A1: SwedishDrivingLicenseCategory;
|
|
393
|
+
static readonly A2: SwedishDrivingLicenseCategory;
|
|
394
|
+
static readonly A: SwedishDrivingLicenseCategory;
|
|
395
|
+
static readonly B: SwedishDrivingLicenseCategory;
|
|
396
|
+
static readonly B96: SwedishDrivingLicenseCategory;
|
|
397
|
+
static readonly BE: SwedishDrivingLicenseCategory;
|
|
398
|
+
static readonly C1: SwedishDrivingLicenseCategory;
|
|
399
|
+
static readonly C1E: SwedishDrivingLicenseCategory;
|
|
400
|
+
static readonly C: SwedishDrivingLicenseCategory;
|
|
401
|
+
static readonly CE: SwedishDrivingLicenseCategory;
|
|
402
|
+
static readonly D1: SwedishDrivingLicenseCategory;
|
|
403
|
+
static readonly D1E: SwedishDrivingLicenseCategory;
|
|
404
|
+
static readonly D: SwedishDrivingLicenseCategory;
|
|
405
|
+
static readonly DE: SwedishDrivingLicenseCategory;
|
|
406
|
+
/** All 15 values, in canonical order. */
|
|
407
|
+
static get all(): readonly SwedishDrivingLicenseCategory[];
|
|
408
|
+
/** Name in the language selected by {@link PrimitivesDefaults.uiCulture}. */
|
|
409
|
+
get displayName(): string;
|
|
410
|
+
/** Resolves a value from its canonical name, localized name, code or any known alias. */
|
|
411
|
+
static tryParse(input: string | null | undefined): SwedishDrivingLicenseCategory | null;
|
|
412
|
+
static parse(input: string): SwedishDrivingLicenseCategory;
|
|
413
|
+
static isValid(input: string | null | undefined): boolean;
|
|
414
|
+
static format(input: string | null | undefined, options?: SwedishDrivingLicenseCategoryFormatOptions): string | null;
|
|
415
|
+
static normalize(input: string | null | undefined, options?: SwedishDrivingLicenseCategoryFormatOptions): string | null;
|
|
416
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
417
|
+
/** Finds driving license category mentions in unstructured text. */
|
|
418
|
+
static findCandidatesInText(text: string): readonly TextCandidate<SwedishDrivingLicenseCategory>[];
|
|
419
|
+
toNormalizedString(): string;
|
|
420
|
+
toString(): string;
|
|
421
|
+
toDisplayString(): string;
|
|
422
|
+
toEnglishString(): string;
|
|
423
|
+
toLocalString(): string;
|
|
424
|
+
equals(other: SwedishDrivingLicenseCategory | null | undefined): boolean;
|
|
425
|
+
compareTo(other: SwedishDrivingLicenseCategory | null | undefined): number;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
429
|
+
interface SwedishEcoVehicleClassificationFormatOptions {
|
|
430
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
431
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* A Swedish eco-vehicle classification (`miljöbilsklassning`) used by Transportstyrelsen and
|
|
435
|
+
* the Swedish tax legislation, e.g. `Miljöbil 2007`, `Miljöbil 2013`, `Supermiljöbil`,
|
|
436
|
+
* `Klimatbonusbil`.
|
|
437
|
+
*/
|
|
438
|
+
declare class SwedishEcoVehicleClassification {
|
|
439
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
440
|
+
readonly value: string;
|
|
441
|
+
readonly englishName: string;
|
|
442
|
+
readonly localizedName: string;
|
|
443
|
+
readonly introductionYear: number;
|
|
444
|
+
readonly endYear: number | null;
|
|
445
|
+
readonly englishDescription: string;
|
|
446
|
+
readonly localizedDescription: string;
|
|
447
|
+
/** @internal Position in the canonical .NET ordering, used by {@link compareTo}. */
|
|
448
|
+
private readonly rank;
|
|
449
|
+
private constructor();
|
|
450
|
+
static readonly Miljobil2007: SwedishEcoVehicleClassification;
|
|
451
|
+
static readonly Miljobil2013: SwedishEcoVehicleClassification;
|
|
452
|
+
static readonly Supermiljobil: SwedishEcoVehicleClassification;
|
|
453
|
+
static readonly Klimatbonusbil: SwedishEcoVehicleClassification;
|
|
454
|
+
static readonly Bonusbil: SwedishEcoVehicleClassification;
|
|
455
|
+
static readonly Elbil: SwedishEcoVehicleClassification;
|
|
456
|
+
/** All 6 values, in canonical order. */
|
|
457
|
+
static get all(): readonly SwedishEcoVehicleClassification[];
|
|
458
|
+
/** Resolves a value from its canonical name, localized name, code or any known alias. */
|
|
459
|
+
static tryParse(input: string | null | undefined): SwedishEcoVehicleClassification | null;
|
|
460
|
+
static parse(input: string): SwedishEcoVehicleClassification;
|
|
461
|
+
static isValid(input: string | null | undefined): boolean;
|
|
462
|
+
static format(input: string | null | undefined, options?: SwedishEcoVehicleClassificationFormatOptions): string | null;
|
|
463
|
+
static normalize(input: string | null | undefined, options?: SwedishEcoVehicleClassificationFormatOptions): string | null;
|
|
464
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
465
|
+
/** Finds swedish eco-vehicle classification mentions in unstructured text. */
|
|
466
|
+
static findCandidatesInText(text: string): readonly TextCandidate<SwedishEcoVehicleClassification>[];
|
|
467
|
+
toNormalizedString(): string;
|
|
468
|
+
toString(): string;
|
|
469
|
+
equals(other: SwedishEcoVehicleClassification | null | undefined): boolean;
|
|
470
|
+
compareTo(other: SwedishEcoVehicleClassification | null | undefined): number;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
/** Options for {@link SwedishVehicleRegistrationNumber.format} and `normalize`. */
|
|
474
|
+
interface SwedishVehicleRegistrationNumberFormatOptions {
|
|
475
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* A Swedish vehicle registration number (`registreringsnummer`) issued by
|
|
479
|
+
* Transportstyrelsen. The classic form is three letters and three digits
|
|
480
|
+
* (`ABC 123`); since 2019 the final digit may instead be a letter (`ABC 12A`).
|
|
481
|
+
*
|
|
482
|
+
* The tax payment month is derived structurally from the number and says nothing
|
|
483
|
+
* about any particular vehicle's actual tax status.
|
|
484
|
+
*
|
|
485
|
+
* Sources:
|
|
486
|
+
* - https://www.transportstyrelsen.se/en/road/vehicles/licence-plates/
|
|
487
|
+
* - https://www.transportstyrelsen.se/en/road/vehicles/taxes-and-fees/vehicle-tax/
|
|
488
|
+
* - https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Sweden
|
|
489
|
+
*/
|
|
490
|
+
declare class SwedishVehicleRegistrationNumber {
|
|
491
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
492
|
+
/** The registration number without spaces, e.g. `ABC123`. */
|
|
493
|
+
readonly value: string;
|
|
494
|
+
/** Display form with a space, e.g. `ABC 123`. */
|
|
495
|
+
readonly formatted: string;
|
|
496
|
+
/** The three-letter prefix, e.g. `ABC`. */
|
|
497
|
+
readonly letters: string;
|
|
498
|
+
/** The part after the letter prefix, e.g. `123` or `12A`. */
|
|
499
|
+
readonly suffix: string;
|
|
500
|
+
/** `true` when the number uses the 2019 format whose last character is a letter. */
|
|
501
|
+
readonly isNewFormat: boolean;
|
|
502
|
+
/** The digit the tax payment month is derived from. */
|
|
503
|
+
readonly taxPaymentDigit: number;
|
|
504
|
+
/** The month (1–12) when vehicle tax is normally due. */
|
|
505
|
+
readonly taxPaymentMonth: number;
|
|
506
|
+
private constructor();
|
|
507
|
+
static tryParse(input: string | null | undefined): SwedishVehicleRegistrationNumber | null;
|
|
508
|
+
static parse(input: string): SwedishVehicleRegistrationNumber;
|
|
509
|
+
static isValid(input: string | null | undefined): boolean;
|
|
510
|
+
/** Returns the display form with a space, e.g. `ABC 123`. */
|
|
511
|
+
static format(input: string | null | undefined, options?: SwedishVehicleRegistrationNumberFormatOptions): string | null;
|
|
512
|
+
/** Returns the number without spaces, e.g. `ABC123`. */
|
|
513
|
+
static normalize(input: string | null | undefined, options?: SwedishVehicleRegistrationNumberFormatOptions): string | null;
|
|
514
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
515
|
+
/** Describes why the input is not a registration number, or reports it as valid. */
|
|
516
|
+
static validate(input: string | null | undefined): ValidationResult;
|
|
517
|
+
/** Finds registration-number candidates in unstructured text. */
|
|
518
|
+
static findCandidatesInText(text: string): readonly TextCandidate<SwedishVehicleRegistrationNumber>[];
|
|
519
|
+
/** Returns the number without spaces, e.g. `ABC123`. */
|
|
520
|
+
toNormalizedString(): string;
|
|
521
|
+
/** Returns the display form with a space, e.g. `ABC 123`. */
|
|
522
|
+
toString(): string;
|
|
523
|
+
equals(other: SwedishVehicleRegistrationNumber | null | undefined): boolean;
|
|
524
|
+
compareTo(other: SwedishVehicleRegistrationNumber | null | undefined): number;
|
|
525
|
+
}
|
|
526
|
+
/** Returns a masked registration number, e.g. `ABC 123` becomes `*** ***`. */
|
|
527
|
+
declare function maskSwedishVehicleRegistrationNumber(registration: SwedishVehicleRegistrationNumber): string;
|
|
528
|
+
|
|
529
|
+
/** Options for {@link TireDimension.format} and {@link TireDimension.normalize}. */
|
|
530
|
+
interface TireDimensionFormatOptions {
|
|
531
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* Metric tire size notation (`däckdimension`) per ISO 4000-1, e.g. `205/55R16` or
|
|
535
|
+
* `315/70R22.5 154/150L` for commercial truck tires: section width, aspect ratio,
|
|
536
|
+
* construction, rim diameter, plus optional load index, dual load index, speed
|
|
537
|
+
* symbol and commercial `C` designation.
|
|
538
|
+
*
|
|
539
|
+
* Sources:
|
|
540
|
+
* - https://www.iso.org/standard/4600.html
|
|
541
|
+
* - https://en.wikipedia.org/wiki/Tire_code
|
|
542
|
+
*/
|
|
543
|
+
declare class TireDimension {
|
|
544
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
545
|
+
/** Tread width in millimetres, e.g. `205`. */
|
|
546
|
+
readonly widthMm: number;
|
|
547
|
+
/** Aspect ratio, the sidewall height as a percentage of section width, e.g. `55`. */
|
|
548
|
+
readonly aspectRatio: number;
|
|
549
|
+
/** Construction code: `R` radial, `D` diagonal, `B` bias belt. */
|
|
550
|
+
readonly construction: string;
|
|
551
|
+
/** Rim diameter in inches, e.g. `16` or `22.5` for half-inch commercial rims. */
|
|
552
|
+
readonly rimDiameterInches: number;
|
|
553
|
+
/** Whether the tire carries the commercial `C` designation. */
|
|
554
|
+
readonly isCommercial: boolean;
|
|
555
|
+
/** Optional load index, e.g. `91` in `205/55R16 91H`. */
|
|
556
|
+
readonly loadIndex: number | null;
|
|
557
|
+
/** Optional dual (twin-mounted) load index, e.g. `150` in `315/70R22.5 154/150L`. */
|
|
558
|
+
readonly dualLoadIndex: number | null;
|
|
559
|
+
/** Optional speed rating letter, e.g. `H` in `205/55R16 91H`. */
|
|
560
|
+
readonly speedRating: string | null;
|
|
561
|
+
/** Normalized compact form, e.g. `205/55R16 91H`. */
|
|
562
|
+
readonly value: string;
|
|
563
|
+
private constructor();
|
|
564
|
+
static tryParse(input: string | null | undefined): TireDimension | null;
|
|
565
|
+
static parse(input: string): TireDimension;
|
|
566
|
+
static isValid(input: string | null | undefined): boolean;
|
|
567
|
+
/** Returns the display form with spaces, e.g. `205/55 R 16 91H`. */
|
|
568
|
+
static format(input: string | null | undefined, options?: TireDimensionFormatOptions): string | null;
|
|
569
|
+
/** Returns the compact form, e.g. `205/55R16 91H`. */
|
|
570
|
+
static normalize(input: string | null | undefined, options?: TireDimensionFormatOptions): string | null;
|
|
571
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
572
|
+
/** Finds tire dimensions in unstructured text, e.g. `205/55R16`. */
|
|
573
|
+
static findCandidatesInText(text: string): readonly TextCandidate<TireDimension>[];
|
|
574
|
+
/** Returns the compact form, e.g. `205/55R16 91H`. */
|
|
575
|
+
toNormalizedString(): string;
|
|
576
|
+
/** Returns the display form with spaces, e.g. `205/55 R 16 91H`. */
|
|
577
|
+
toString(): string;
|
|
578
|
+
equals(other: TireDimension | null | undefined): boolean;
|
|
579
|
+
compareTo(other: TireDimension | null | undefined): number;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Returns a masked tire dimension keeping the construction letter and the commercial
|
|
583
|
+
* `C` visible, so `205/55R16` masks down to three stars, a slash, two stars, `R` and
|
|
584
|
+
* two more stars. Load-related suffixes are masked in full.
|
|
585
|
+
*/
|
|
586
|
+
declare function maskTireDimension(dimension: TireDimension): string;
|
|
587
|
+
|
|
588
|
+
/** Options for {@link VehicleIdentificationNumber.format} and `normalize`. */
|
|
589
|
+
interface VehicleIdentificationNumberFormatOptions {
|
|
590
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* A Vehicle Identification Number (VIN), also known as a chassis number
|
|
594
|
+
* (`chassinummer`): the 17-character ISO 3779 code that uniquely identifies a motor
|
|
595
|
+
* vehicle. Position 9 holds a MOD-11 check digit, mandatory in North America and
|
|
596
|
+
* common but not universal in Europe.
|
|
597
|
+
*
|
|
598
|
+
* Sources:
|
|
599
|
+
* - https://www.iso.org/standard/52200.html
|
|
600
|
+
* - https://en.wikipedia.org/wiki/Vehicle_identification_number
|
|
601
|
+
* - https://en.wikibooks.org/wiki/Vehicle_Identification_Numbers_(VIN_codes)/Check_digit
|
|
602
|
+
*/
|
|
603
|
+
declare class VehicleIdentificationNumber {
|
|
604
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
605
|
+
/** The 17-character VIN in uppercase, e.g. `WBA3A5C55CF256789`. */
|
|
606
|
+
readonly value: string;
|
|
607
|
+
/** World Manufacturer Identifier — positions 1–3. */
|
|
608
|
+
readonly wmi: string;
|
|
609
|
+
/** Vehicle Descriptor Section — positions 4–8. */
|
|
610
|
+
readonly vds: string;
|
|
611
|
+
/** The check digit at position 9 (a digit or `X`). */
|
|
612
|
+
readonly checkDigit: string;
|
|
613
|
+
/** Vehicle Indicator Section — positions 10–17. */
|
|
614
|
+
readonly vis: string;
|
|
615
|
+
/** The model year code at position 10. */
|
|
616
|
+
readonly modelYearCode: string;
|
|
617
|
+
/** The model years the code at position 10 can encode, e.g. `M` means 1991 or 2021. */
|
|
618
|
+
readonly modelYears: readonly number[];
|
|
619
|
+
/** The assembly plant code at position 11. */
|
|
620
|
+
readonly assemblyPlantCode: string;
|
|
621
|
+
/** The sequential production number — positions 12–17. */
|
|
622
|
+
readonly sequentialNumber: string;
|
|
623
|
+
/** Whether position 9 passes the ISO 3779 MOD-11 check. */
|
|
624
|
+
readonly hasValidCheckDigit: boolean;
|
|
625
|
+
private constructor();
|
|
626
|
+
static tryParse(input: string | null | undefined): VehicleIdentificationNumber | null;
|
|
627
|
+
static parse(input: string): VehicleIdentificationNumber;
|
|
628
|
+
static isValid(input: string | null | undefined): boolean;
|
|
629
|
+
/** Returns the VIN in uppercase without separators, e.g. `WBA3A5C55CF256789`. */
|
|
630
|
+
static format(input: string | null | undefined, options?: VehicleIdentificationNumberFormatOptions): string | null;
|
|
631
|
+
/** Returns the VIN in uppercase without separators, e.g. `WBA3A5C55CF256789`. */
|
|
632
|
+
static normalize(input: string | null | undefined, options?: VehicleIdentificationNumberFormatOptions): string | null;
|
|
633
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
634
|
+
/** Describes why the input is not a VIN, or reports it as valid. */
|
|
635
|
+
static validate(input: string | null | undefined): ValidationResult;
|
|
636
|
+
/** Finds VIN candidates in unstructured text. */
|
|
637
|
+
static findCandidatesInText(text: string): readonly TextCandidate<VehicleIdentificationNumber>[];
|
|
638
|
+
/** Returns the 17-character VIN in uppercase, e.g. `WBA3A5C55CF256789`. */
|
|
639
|
+
toNormalizedString(): string;
|
|
640
|
+
/** Returns the 17-character VIN in uppercase, e.g. `WBA3A5C55CF256789`. */
|
|
641
|
+
toString(): string;
|
|
642
|
+
equals(other: VehicleIdentificationNumber | null | undefined): boolean;
|
|
643
|
+
compareTo(other: VehicleIdentificationNumber | null | undefined): number;
|
|
644
|
+
}
|
|
645
|
+
/** Returns a VIN with only the manufacturer prefix visible, e.g. `WBA**************`. */
|
|
646
|
+
declare function maskVehicleIdentificationNumber(vin: VehicleIdentificationNumber): string;
|
|
647
|
+
|
|
648
|
+
/** Options for {@link WheelRimDimension.format} and {@link WheelRimDimension.normalize}. */
|
|
649
|
+
interface WheelRimDimensionFormatOptions {
|
|
650
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* Wheel rim size notation (`fälgdimension`) such as `18x7J`: rim diameter in inches,
|
|
654
|
+
* width in inches and an optional flange type. The reversed order used on many rims,
|
|
655
|
+
* e.g. `7.5Jx17`, is accepted as well.
|
|
656
|
+
*
|
|
657
|
+
* Sources:
|
|
658
|
+
* - https://en.wikipedia.org/wiki/Wheel_sizing
|
|
659
|
+
* - https://www.etrto.org/
|
|
660
|
+
*/
|
|
661
|
+
declare class WheelRimDimension {
|
|
662
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
663
|
+
/** Normalized compact form, e.g. `18x7J`. */
|
|
664
|
+
readonly value: string;
|
|
665
|
+
/** Flange type code, e.g. `J` or `JJ`, or an empty string when unspecified. */
|
|
666
|
+
readonly flangeType: string;
|
|
667
|
+
private readonly exactDiameter;
|
|
668
|
+
private readonly exactWidth;
|
|
669
|
+
private constructor();
|
|
670
|
+
/** Rim diameter in inches, e.g. `18`. */
|
|
671
|
+
get diameterInches(): number;
|
|
672
|
+
/** Rim width in inches, e.g. `7`. */
|
|
673
|
+
get widthInches(): number;
|
|
674
|
+
static tryParse(input: string | null | undefined): WheelRimDimension | null;
|
|
675
|
+
static parse(input: string): WheelRimDimension;
|
|
676
|
+
static isValid(input: string | null | undefined): boolean;
|
|
677
|
+
/** Returns the spaced display form, e.g. `18 x 7 J`. */
|
|
678
|
+
static format(input: string | null | undefined, options?: WheelRimDimensionFormatOptions): string | null;
|
|
679
|
+
/** Returns the compact form, e.g. `18x7J`. */
|
|
680
|
+
static normalize(input: string | null | undefined, options?: WheelRimDimensionFormatOptions): string | null;
|
|
681
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
682
|
+
/** Finds wheel rim dimensions in unstructured text, e.g. `18x7J` or `7.5Jx17`. */
|
|
683
|
+
static findCandidatesInText(text: string): readonly TextCandidate<WheelRimDimension>[];
|
|
684
|
+
/** Returns the compact form, e.g. `18x7J`. */
|
|
685
|
+
toNormalizedString(): string;
|
|
686
|
+
/** Returns the spaced display form, e.g. `18 x 7 J`. */
|
|
687
|
+
toString(): string;
|
|
688
|
+
equals(other: WheelRimDimension | null | undefined): boolean;
|
|
689
|
+
compareTo(other: WheelRimDimension | null | undefined): number;
|
|
690
|
+
/** @internal Exposes the parsed scale, which masking mirrors star for star. */
|
|
691
|
+
get _exactParts(): {
|
|
692
|
+
diameter: Decimal;
|
|
693
|
+
width: Decimal;
|
|
694
|
+
};
|
|
695
|
+
}
|
|
696
|
+
/** Returns a masked rim dimension keeping the flange type, e.g. `18x7J` becomes `** x * J`. */
|
|
697
|
+
declare function maskWheelRimDimension(dimension: WheelRimDimension): string;
|
|
698
|
+
|
|
699
|
+
export { maskTireDimension as A, BoltPattern as B, maskVehicleIdentificationNumber as C, maskWheelRimDimension as D, EmissionRate as E, FuelConsumption as F, OperatingHours as O, SwedishDrivingLicenseCategory as S, TireDimension as T, VehicleIdentificationNumber as V, WheelRimDimension as W, type BoltPatternFormatOptions as a, type EmissionRateFormatOptions as b, EnginePower as c, type EnginePowerFormatOptions as d, EuTypeApprovalNumber as e, type EuTypeApprovalNumberFormatOptions as f, EuroEmissionClass as g, type EuroEmissionClassFormatOptions as h, type FuelConsumptionFormatOptions as i, type OperatingHoursFormatOptions as j, type SwedishDrivingLicenseCategoryFormatOptions as k, SwedishDrivingLicenseVehicleGroup as l, SwedishEcoVehicleClassification as m, type SwedishEcoVehicleClassificationFormatOptions as n, SwedishVehicleRegistrationNumber as o, type SwedishVehicleRegistrationNumberFormatOptions as p, type TireDimensionFormatOptions as q, type VehicleIdentificationNumberFormatOptions as r, type WheelRimDimensionFormatOptions as s, maskBoltPattern as t, maskEmissionRate as u, maskEnginePower as v, maskEuTypeApprovalNumber as w, maskFuelConsumption as x, maskOperatingHours as y, maskSwedishVehicleRegistrationNumber as z };
|