@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,329 @@
|
|
|
1
|
+
import { M as MeasurementUnit, c as MeasurementUnitIndex, D as Decimal, Q as Quantity } from './length-XRL5Eg7F.cjs';
|
|
2
|
+
import { P as PrimitiveTypeInfo, T as TextCandidate } from './text-candidate-qg2bD9PY.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A unit of data size identified by its symbol.
|
|
6
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
7
|
+
* exact conversion factor to the base unit.
|
|
8
|
+
*/
|
|
9
|
+
declare class DataSizeUnit extends MeasurementUnit {
|
|
10
|
+
private readonly __dataSizeUnitBrand;
|
|
11
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
12
|
+
static readonly Byte: DataSizeUnit;
|
|
13
|
+
static readonly Kilobyte: DataSizeUnit;
|
|
14
|
+
static readonly Megabyte: DataSizeUnit;
|
|
15
|
+
static readonly Gigabyte: DataSizeUnit;
|
|
16
|
+
static readonly Terabyte: DataSizeUnit;
|
|
17
|
+
static readonly Petabyte: DataSizeUnit;
|
|
18
|
+
static readonly Exabyte: DataSizeUnit;
|
|
19
|
+
static readonly Kibibyte: DataSizeUnit;
|
|
20
|
+
static readonly Mebibyte: DataSizeUnit;
|
|
21
|
+
static readonly Gibibyte: DataSizeUnit;
|
|
22
|
+
static readonly Tebibyte: DataSizeUnit;
|
|
23
|
+
static readonly Pebibyte: DataSizeUnit;
|
|
24
|
+
static readonly Exbibyte: DataSizeUnit;
|
|
25
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
26
|
+
static readonly index: MeasurementUnitIndex<DataSizeUnit>;
|
|
27
|
+
static get all(): readonly DataSizeUnit[];
|
|
28
|
+
/** The base unit: B. */
|
|
29
|
+
static get baseUnit(): DataSizeUnit;
|
|
30
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
31
|
+
static get naturalScale(): readonly DataSizeUnit[];
|
|
32
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
33
|
+
static tryParse(input: string | null | undefined): DataSizeUnit | null;
|
|
34
|
+
static parse(input: string): DataSizeUnit;
|
|
35
|
+
/** Returns the most human-readable unit for a value in B. */
|
|
36
|
+
static getNatural(baseValue: Decimal): DataSizeUnit;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** Options for {@link DataSize.format} and {@link DataSize.normalize}. */
|
|
40
|
+
interface DataSizeFormatOptions {
|
|
41
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
42
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
43
|
+
unit?: DataSizeUnit;
|
|
44
|
+
/** Round to this many fractional digits, away from zero. */
|
|
45
|
+
decimals?: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A data size stored internally in bytes,
|
|
49
|
+
* parsed from any supported unit and convertible between all of them.
|
|
50
|
+
*/
|
|
51
|
+
declare class DataSize extends Quantity<DataSizeUnit> {
|
|
52
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
53
|
+
protected get units(): MeasurementUnitIndex<DataSizeUnit>;
|
|
54
|
+
protected withBaseValue(baseValue: Decimal, unit: DataSizeUnit): this;
|
|
55
|
+
get bytes(): number;
|
|
56
|
+
get kilobytes(): number;
|
|
57
|
+
get megabytes(): number;
|
|
58
|
+
get gigabytes(): number;
|
|
59
|
+
get terabytes(): number;
|
|
60
|
+
get petabytes(): number;
|
|
61
|
+
get exabytes(): number;
|
|
62
|
+
get kibibytes(): number;
|
|
63
|
+
get mebibytes(): number;
|
|
64
|
+
get gibibytes(): number;
|
|
65
|
+
get tebibytes(): number;
|
|
66
|
+
get pebibytes(): number;
|
|
67
|
+
get exbibytes(): number;
|
|
68
|
+
/** Creates a data size from a value and unit. */
|
|
69
|
+
static create(value: number | Decimal, unit: DataSizeUnit): DataSize;
|
|
70
|
+
static fromBytes(value: number | Decimal): DataSize;
|
|
71
|
+
static fromKilobytes(value: number | Decimal): DataSize;
|
|
72
|
+
static fromMegabytes(value: number | Decimal): DataSize;
|
|
73
|
+
static fromGigabytes(value: number | Decimal): DataSize;
|
|
74
|
+
static fromTerabytes(value: number | Decimal): DataSize;
|
|
75
|
+
static fromPetabytes(value: number | Decimal): DataSize;
|
|
76
|
+
static fromExabytes(value: number | Decimal): DataSize;
|
|
77
|
+
static fromKibibytes(value: number | Decimal): DataSize;
|
|
78
|
+
static fromMebibytes(value: number | Decimal): DataSize;
|
|
79
|
+
static fromGibibytes(value: number | Decimal): DataSize;
|
|
80
|
+
static fromTebibytes(value: number | Decimal): DataSize;
|
|
81
|
+
static fromPebibytes(value: number | Decimal): DataSize;
|
|
82
|
+
static fromExbibytes(value: number | Decimal): DataSize;
|
|
83
|
+
static tryParse(input: string | null | undefined): DataSize | null;
|
|
84
|
+
static parse(input: string): DataSize;
|
|
85
|
+
static isValid(input: string | null | undefined): boolean;
|
|
86
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
87
|
+
static format(input: string | null | undefined, options?: DataSizeFormatOptions): string | null;
|
|
88
|
+
/** The value in bytes, or `null` when the input is invalid. */
|
|
89
|
+
static normalize(input: string | null | undefined, options?: DataSizeFormatOptions): string | null;
|
|
90
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
91
|
+
static findCandidatesInText(text: string): readonly TextCandidate<DataSize>[];
|
|
92
|
+
private static fallback;
|
|
93
|
+
private static decimalOf;
|
|
94
|
+
}
|
|
95
|
+
/** Returns a masked data size, e.g. `10 B` becomes `*** B`. */
|
|
96
|
+
declare function maskDataSize(value: DataSize): string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* A unit of electric charge identified by its symbol.
|
|
100
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
101
|
+
* exact conversion factor to the base unit.
|
|
102
|
+
*/
|
|
103
|
+
declare class ElectricChargeUnit extends MeasurementUnit {
|
|
104
|
+
private readonly __electricChargeUnitBrand;
|
|
105
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
106
|
+
static readonly MilliampereHour: ElectricChargeUnit;
|
|
107
|
+
static readonly AmpereHour: ElectricChargeUnit;
|
|
108
|
+
static readonly Coulomb: ElectricChargeUnit;
|
|
109
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
110
|
+
static readonly index: MeasurementUnitIndex<ElectricChargeUnit>;
|
|
111
|
+
static get all(): readonly ElectricChargeUnit[];
|
|
112
|
+
/** The base unit: Ah. */
|
|
113
|
+
static get baseUnit(): ElectricChargeUnit;
|
|
114
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
115
|
+
static get naturalScale(): readonly ElectricChargeUnit[];
|
|
116
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
117
|
+
static tryParse(input: string | null | undefined): ElectricChargeUnit | null;
|
|
118
|
+
static parse(input: string): ElectricChargeUnit;
|
|
119
|
+
/** Returns the most human-readable unit for a value in Ah. */
|
|
120
|
+
static getNatural(baseValue: Decimal): ElectricChargeUnit;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/** Options for {@link ElectricCharge.format} and {@link ElectricCharge.normalize}. */
|
|
124
|
+
interface ElectricChargeFormatOptions {
|
|
125
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
126
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
127
|
+
unit?: ElectricChargeUnit;
|
|
128
|
+
/** Round to this many fractional digits, away from zero. */
|
|
129
|
+
decimals?: number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* A electric charge stored internally in ampere-hours,
|
|
133
|
+
* parsed from any supported unit and convertible between all of them.
|
|
134
|
+
*/
|
|
135
|
+
declare class ElectricCharge extends Quantity<ElectricChargeUnit> {
|
|
136
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
137
|
+
protected get units(): MeasurementUnitIndex<ElectricChargeUnit>;
|
|
138
|
+
protected withBaseValue(baseValue: Decimal, unit: ElectricChargeUnit): this;
|
|
139
|
+
get milliampereHours(): number;
|
|
140
|
+
get ampereHours(): number;
|
|
141
|
+
get coulombs(): number;
|
|
142
|
+
/** Creates a electric charge from a value and unit. */
|
|
143
|
+
static create(value: number | Decimal, unit: ElectricChargeUnit): ElectricCharge;
|
|
144
|
+
static fromMilliampereHours(value: number | Decimal): ElectricCharge;
|
|
145
|
+
static fromAmpereHours(value: number | Decimal): ElectricCharge;
|
|
146
|
+
static fromCoulombs(value: number | Decimal): ElectricCharge;
|
|
147
|
+
static tryParse(input: string | null | undefined): ElectricCharge | null;
|
|
148
|
+
static parse(input: string): ElectricCharge;
|
|
149
|
+
static isValid(input: string | null | undefined): boolean;
|
|
150
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
151
|
+
static format(input: string | null | undefined, options?: ElectricChargeFormatOptions): string | null;
|
|
152
|
+
/** The value in ampere-hours, or `null` when the input is invalid. */
|
|
153
|
+
static normalize(input: string | null | undefined, options?: ElectricChargeFormatOptions): string | null;
|
|
154
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
155
|
+
static findCandidatesInText(text: string): readonly TextCandidate<ElectricCharge>[];
|
|
156
|
+
private static fallback;
|
|
157
|
+
private static decimalOf;
|
|
158
|
+
}
|
|
159
|
+
/** Returns a masked electric charge, e.g. `10 Ah` becomes `*** Ah`. */
|
|
160
|
+
declare function maskElectricCharge(value: ElectricCharge): string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* A unit of energy identified by its symbol.
|
|
164
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
165
|
+
* exact conversion factor to the base unit.
|
|
166
|
+
*/
|
|
167
|
+
declare class EnergyUnit extends MeasurementUnit {
|
|
168
|
+
private readonly __energyUnitBrand;
|
|
169
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
170
|
+
static readonly Joule: EnergyUnit;
|
|
171
|
+
static readonly Kilojoule: EnergyUnit;
|
|
172
|
+
static readonly Megajoule: EnergyUnit;
|
|
173
|
+
static readonly Gigajoule: EnergyUnit;
|
|
174
|
+
static readonly Terajoule: EnergyUnit;
|
|
175
|
+
static readonly WattHour: EnergyUnit;
|
|
176
|
+
static readonly KilowattHour: EnergyUnit;
|
|
177
|
+
static readonly MegawattHour: EnergyUnit;
|
|
178
|
+
static readonly GigawattHour: EnergyUnit;
|
|
179
|
+
static readonly TerawattHour: EnergyUnit;
|
|
180
|
+
static readonly Calorie: EnergyUnit;
|
|
181
|
+
static readonly Kilocalorie: EnergyUnit;
|
|
182
|
+
static readonly Btu: EnergyUnit;
|
|
183
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
184
|
+
static readonly index: MeasurementUnitIndex<EnergyUnit>;
|
|
185
|
+
static get all(): readonly EnergyUnit[];
|
|
186
|
+
/** The base unit: J. */
|
|
187
|
+
static get baseUnit(): EnergyUnit;
|
|
188
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
189
|
+
static get naturalScale(): readonly EnergyUnit[];
|
|
190
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
191
|
+
static tryParse(input: string | null | undefined): EnergyUnit | null;
|
|
192
|
+
static parse(input: string): EnergyUnit;
|
|
193
|
+
/** Returns the most human-readable unit for a value in J. */
|
|
194
|
+
static getNatural(baseValue: Decimal): EnergyUnit;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** Options for {@link Energy.format} and {@link Energy.normalize}. */
|
|
198
|
+
interface EnergyFormatOptions {
|
|
199
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
200
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
201
|
+
unit?: EnergyUnit;
|
|
202
|
+
/** Round to this many fractional digits, away from zero. */
|
|
203
|
+
decimals?: number;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* A energy stored internally in joules,
|
|
207
|
+
* parsed from any supported unit and convertible between all of them.
|
|
208
|
+
*/
|
|
209
|
+
declare class Energy extends Quantity<EnergyUnit> {
|
|
210
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
211
|
+
protected get units(): MeasurementUnitIndex<EnergyUnit>;
|
|
212
|
+
protected withBaseValue(baseValue: Decimal, unit: EnergyUnit): this;
|
|
213
|
+
get joules(): number;
|
|
214
|
+
get kilojoules(): number;
|
|
215
|
+
get megajoules(): number;
|
|
216
|
+
get gigajoules(): number;
|
|
217
|
+
get terajoules(): number;
|
|
218
|
+
get wattHours(): number;
|
|
219
|
+
get kilowattHours(): number;
|
|
220
|
+
get megawattHours(): number;
|
|
221
|
+
get gigawattHours(): number;
|
|
222
|
+
get terawattHours(): number;
|
|
223
|
+
get calories(): number;
|
|
224
|
+
get kilocalories(): number;
|
|
225
|
+
get btus(): number;
|
|
226
|
+
/** Creates a energy from a value and unit. */
|
|
227
|
+
static create(value: number | Decimal, unit: EnergyUnit): Energy;
|
|
228
|
+
static fromJoules(value: number | Decimal): Energy;
|
|
229
|
+
static fromKilojoules(value: number | Decimal): Energy;
|
|
230
|
+
static fromMegajoules(value: number | Decimal): Energy;
|
|
231
|
+
static fromGigajoules(value: number | Decimal): Energy;
|
|
232
|
+
static fromTerajoules(value: number | Decimal): Energy;
|
|
233
|
+
static fromWattHours(value: number | Decimal): Energy;
|
|
234
|
+
static fromKilowattHours(value: number | Decimal): Energy;
|
|
235
|
+
static fromMegawattHours(value: number | Decimal): Energy;
|
|
236
|
+
static fromGigawattHours(value: number | Decimal): Energy;
|
|
237
|
+
static fromTerawattHours(value: number | Decimal): Energy;
|
|
238
|
+
static fromCalories(value: number | Decimal): Energy;
|
|
239
|
+
static fromKilocalories(value: number | Decimal): Energy;
|
|
240
|
+
static fromBtus(value: number | Decimal): Energy;
|
|
241
|
+
static tryParse(input: string | null | undefined): Energy | null;
|
|
242
|
+
static parse(input: string): Energy;
|
|
243
|
+
static isValid(input: string | null | undefined): boolean;
|
|
244
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
245
|
+
static format(input: string | null | undefined, options?: EnergyFormatOptions): string | null;
|
|
246
|
+
/** The value in joules, or `null` when the input is invalid. */
|
|
247
|
+
static normalize(input: string | null | undefined, options?: EnergyFormatOptions): string | null;
|
|
248
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
249
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Energy>[];
|
|
250
|
+
private static fallback;
|
|
251
|
+
private static decimalOf;
|
|
252
|
+
}
|
|
253
|
+
/** Returns a masked energy, e.g. `10 J` becomes `*** J`. */
|
|
254
|
+
declare function maskEnergy(value: Energy): string;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* A unit of frequency identified by its symbol.
|
|
258
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
259
|
+
* exact conversion factor to the base unit.
|
|
260
|
+
*/
|
|
261
|
+
declare class FrequencyUnit extends MeasurementUnit {
|
|
262
|
+
private readonly __frequencyUnitBrand;
|
|
263
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
264
|
+
static readonly Hertz: FrequencyUnit;
|
|
265
|
+
static readonly Kilohertz: FrequencyUnit;
|
|
266
|
+
static readonly Megahertz: FrequencyUnit;
|
|
267
|
+
static readonly Gigahertz: FrequencyUnit;
|
|
268
|
+
static readonly Terahertz: FrequencyUnit;
|
|
269
|
+
static readonly RevolutionsPerMinute: FrequencyUnit;
|
|
270
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
271
|
+
static readonly index: MeasurementUnitIndex<FrequencyUnit>;
|
|
272
|
+
static get all(): readonly FrequencyUnit[];
|
|
273
|
+
/** The base unit: Hz. */
|
|
274
|
+
static get baseUnit(): FrequencyUnit;
|
|
275
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
276
|
+
static get naturalScale(): readonly FrequencyUnit[];
|
|
277
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
278
|
+
static tryParse(input: string | null | undefined): FrequencyUnit | null;
|
|
279
|
+
static parse(input: string): FrequencyUnit;
|
|
280
|
+
/** Returns the most human-readable unit for a value in Hz. */
|
|
281
|
+
static getNatural(baseValue: Decimal): FrequencyUnit;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Options for {@link Frequency.format} and {@link Frequency.normalize}. */
|
|
285
|
+
interface FrequencyFormatOptions {
|
|
286
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
287
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
288
|
+
unit?: FrequencyUnit;
|
|
289
|
+
/** Round to this many fractional digits, away from zero. */
|
|
290
|
+
decimals?: number;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* A frequency stored internally in hertz,
|
|
294
|
+
* parsed from any supported unit and convertible between all of them.
|
|
295
|
+
*/
|
|
296
|
+
declare class Frequency extends Quantity<FrequencyUnit> {
|
|
297
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
298
|
+
protected get units(): MeasurementUnitIndex<FrequencyUnit>;
|
|
299
|
+
protected withBaseValue(baseValue: Decimal, unit: FrequencyUnit): this;
|
|
300
|
+
get hertz(): number;
|
|
301
|
+
get kilohertz(): number;
|
|
302
|
+
get megahertz(): number;
|
|
303
|
+
get gigahertz(): number;
|
|
304
|
+
get terahertz(): number;
|
|
305
|
+
get rpm(): number;
|
|
306
|
+
/** Creates a frequency from a value and unit. */
|
|
307
|
+
static create(value: number | Decimal, unit: FrequencyUnit): Frequency;
|
|
308
|
+
static fromHertz(value: number | Decimal): Frequency;
|
|
309
|
+
static fromKilohertz(value: number | Decimal): Frequency;
|
|
310
|
+
static fromMegahertz(value: number | Decimal): Frequency;
|
|
311
|
+
static fromGigahertz(value: number | Decimal): Frequency;
|
|
312
|
+
static fromTerahertz(value: number | Decimal): Frequency;
|
|
313
|
+
static fromRpm(value: number | Decimal): Frequency;
|
|
314
|
+
static tryParse(input: string | null | undefined): Frequency | null;
|
|
315
|
+
static parse(input: string): Frequency;
|
|
316
|
+
static isValid(input: string | null | undefined): boolean;
|
|
317
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
318
|
+
static format(input: string | null | undefined, options?: FrequencyFormatOptions): string | null;
|
|
319
|
+
/** The value in hertz, or `null` when the input is invalid. */
|
|
320
|
+
static normalize(input: string | null | undefined, options?: FrequencyFormatOptions): string | null;
|
|
321
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
322
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Frequency>[];
|
|
323
|
+
private static fallback;
|
|
324
|
+
private static decimalOf;
|
|
325
|
+
}
|
|
326
|
+
/** Returns a masked frequency, e.g. `10 Hz` becomes `*** Hz`. */
|
|
327
|
+
declare function maskFrequency(value: Frequency): string;
|
|
328
|
+
|
|
329
|
+
export { DataSize as D, ElectricCharge as E, Frequency as F, type DataSizeFormatOptions as a, DataSizeUnit as b, type ElectricChargeFormatOptions as c, ElectricChargeUnit as d, Energy as e, type EnergyFormatOptions as f, EnergyUnit as g, type FrequencyFormatOptions as h, FrequencyUnit as i, maskElectricCharge as j, maskEnergy as k, maskFrequency as l, maskDataSize as m };
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
import { M as MeasurementUnit, c as MeasurementUnitIndex, D as Decimal, Q as Quantity } from './length-CceXIJYY.js';
|
|
2
|
+
import { P as PrimitiveTypeInfo, T as TextCandidate } from './text-candidate-qg2bD9PY.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A unit of data size identified by its symbol.
|
|
6
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
7
|
+
* exact conversion factor to the base unit.
|
|
8
|
+
*/
|
|
9
|
+
declare class DataSizeUnit extends MeasurementUnit {
|
|
10
|
+
private readonly __dataSizeUnitBrand;
|
|
11
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
12
|
+
static readonly Byte: DataSizeUnit;
|
|
13
|
+
static readonly Kilobyte: DataSizeUnit;
|
|
14
|
+
static readonly Megabyte: DataSizeUnit;
|
|
15
|
+
static readonly Gigabyte: DataSizeUnit;
|
|
16
|
+
static readonly Terabyte: DataSizeUnit;
|
|
17
|
+
static readonly Petabyte: DataSizeUnit;
|
|
18
|
+
static readonly Exabyte: DataSizeUnit;
|
|
19
|
+
static readonly Kibibyte: DataSizeUnit;
|
|
20
|
+
static readonly Mebibyte: DataSizeUnit;
|
|
21
|
+
static readonly Gibibyte: DataSizeUnit;
|
|
22
|
+
static readonly Tebibyte: DataSizeUnit;
|
|
23
|
+
static readonly Pebibyte: DataSizeUnit;
|
|
24
|
+
static readonly Exbibyte: DataSizeUnit;
|
|
25
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
26
|
+
static readonly index: MeasurementUnitIndex<DataSizeUnit>;
|
|
27
|
+
static get all(): readonly DataSizeUnit[];
|
|
28
|
+
/** The base unit: B. */
|
|
29
|
+
static get baseUnit(): DataSizeUnit;
|
|
30
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
31
|
+
static get naturalScale(): readonly DataSizeUnit[];
|
|
32
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
33
|
+
static tryParse(input: string | null | undefined): DataSizeUnit | null;
|
|
34
|
+
static parse(input: string): DataSizeUnit;
|
|
35
|
+
/** Returns the most human-readable unit for a value in B. */
|
|
36
|
+
static getNatural(baseValue: Decimal): DataSizeUnit;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** Options for {@link DataSize.format} and {@link DataSize.normalize}. */
|
|
40
|
+
interface DataSizeFormatOptions {
|
|
41
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
42
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
43
|
+
unit?: DataSizeUnit;
|
|
44
|
+
/** Round to this many fractional digits, away from zero. */
|
|
45
|
+
decimals?: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A data size stored internally in bytes,
|
|
49
|
+
* parsed from any supported unit and convertible between all of them.
|
|
50
|
+
*/
|
|
51
|
+
declare class DataSize extends Quantity<DataSizeUnit> {
|
|
52
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
53
|
+
protected get units(): MeasurementUnitIndex<DataSizeUnit>;
|
|
54
|
+
protected withBaseValue(baseValue: Decimal, unit: DataSizeUnit): this;
|
|
55
|
+
get bytes(): number;
|
|
56
|
+
get kilobytes(): number;
|
|
57
|
+
get megabytes(): number;
|
|
58
|
+
get gigabytes(): number;
|
|
59
|
+
get terabytes(): number;
|
|
60
|
+
get petabytes(): number;
|
|
61
|
+
get exabytes(): number;
|
|
62
|
+
get kibibytes(): number;
|
|
63
|
+
get mebibytes(): number;
|
|
64
|
+
get gibibytes(): number;
|
|
65
|
+
get tebibytes(): number;
|
|
66
|
+
get pebibytes(): number;
|
|
67
|
+
get exbibytes(): number;
|
|
68
|
+
/** Creates a data size from a value and unit. */
|
|
69
|
+
static create(value: number | Decimal, unit: DataSizeUnit): DataSize;
|
|
70
|
+
static fromBytes(value: number | Decimal): DataSize;
|
|
71
|
+
static fromKilobytes(value: number | Decimal): DataSize;
|
|
72
|
+
static fromMegabytes(value: number | Decimal): DataSize;
|
|
73
|
+
static fromGigabytes(value: number | Decimal): DataSize;
|
|
74
|
+
static fromTerabytes(value: number | Decimal): DataSize;
|
|
75
|
+
static fromPetabytes(value: number | Decimal): DataSize;
|
|
76
|
+
static fromExabytes(value: number | Decimal): DataSize;
|
|
77
|
+
static fromKibibytes(value: number | Decimal): DataSize;
|
|
78
|
+
static fromMebibytes(value: number | Decimal): DataSize;
|
|
79
|
+
static fromGibibytes(value: number | Decimal): DataSize;
|
|
80
|
+
static fromTebibytes(value: number | Decimal): DataSize;
|
|
81
|
+
static fromPebibytes(value: number | Decimal): DataSize;
|
|
82
|
+
static fromExbibytes(value: number | Decimal): DataSize;
|
|
83
|
+
static tryParse(input: string | null | undefined): DataSize | null;
|
|
84
|
+
static parse(input: string): DataSize;
|
|
85
|
+
static isValid(input: string | null | undefined): boolean;
|
|
86
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
87
|
+
static format(input: string | null | undefined, options?: DataSizeFormatOptions): string | null;
|
|
88
|
+
/** The value in bytes, or `null` when the input is invalid. */
|
|
89
|
+
static normalize(input: string | null | undefined, options?: DataSizeFormatOptions): string | null;
|
|
90
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
91
|
+
static findCandidatesInText(text: string): readonly TextCandidate<DataSize>[];
|
|
92
|
+
private static fallback;
|
|
93
|
+
private static decimalOf;
|
|
94
|
+
}
|
|
95
|
+
/** Returns a masked data size, e.g. `10 B` becomes `*** B`. */
|
|
96
|
+
declare function maskDataSize(value: DataSize): string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* A unit of electric charge identified by its symbol.
|
|
100
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
101
|
+
* exact conversion factor to the base unit.
|
|
102
|
+
*/
|
|
103
|
+
declare class ElectricChargeUnit extends MeasurementUnit {
|
|
104
|
+
private readonly __electricChargeUnitBrand;
|
|
105
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
106
|
+
static readonly MilliampereHour: ElectricChargeUnit;
|
|
107
|
+
static readonly AmpereHour: ElectricChargeUnit;
|
|
108
|
+
static readonly Coulomb: ElectricChargeUnit;
|
|
109
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
110
|
+
static readonly index: MeasurementUnitIndex<ElectricChargeUnit>;
|
|
111
|
+
static get all(): readonly ElectricChargeUnit[];
|
|
112
|
+
/** The base unit: Ah. */
|
|
113
|
+
static get baseUnit(): ElectricChargeUnit;
|
|
114
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
115
|
+
static get naturalScale(): readonly ElectricChargeUnit[];
|
|
116
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
117
|
+
static tryParse(input: string | null | undefined): ElectricChargeUnit | null;
|
|
118
|
+
static parse(input: string): ElectricChargeUnit;
|
|
119
|
+
/** Returns the most human-readable unit for a value in Ah. */
|
|
120
|
+
static getNatural(baseValue: Decimal): ElectricChargeUnit;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/** Options for {@link ElectricCharge.format} and {@link ElectricCharge.normalize}. */
|
|
124
|
+
interface ElectricChargeFormatOptions {
|
|
125
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
126
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
127
|
+
unit?: ElectricChargeUnit;
|
|
128
|
+
/** Round to this many fractional digits, away from zero. */
|
|
129
|
+
decimals?: number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* A electric charge stored internally in ampere-hours,
|
|
133
|
+
* parsed from any supported unit and convertible between all of them.
|
|
134
|
+
*/
|
|
135
|
+
declare class ElectricCharge extends Quantity<ElectricChargeUnit> {
|
|
136
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
137
|
+
protected get units(): MeasurementUnitIndex<ElectricChargeUnit>;
|
|
138
|
+
protected withBaseValue(baseValue: Decimal, unit: ElectricChargeUnit): this;
|
|
139
|
+
get milliampereHours(): number;
|
|
140
|
+
get ampereHours(): number;
|
|
141
|
+
get coulombs(): number;
|
|
142
|
+
/** Creates a electric charge from a value and unit. */
|
|
143
|
+
static create(value: number | Decimal, unit: ElectricChargeUnit): ElectricCharge;
|
|
144
|
+
static fromMilliampereHours(value: number | Decimal): ElectricCharge;
|
|
145
|
+
static fromAmpereHours(value: number | Decimal): ElectricCharge;
|
|
146
|
+
static fromCoulombs(value: number | Decimal): ElectricCharge;
|
|
147
|
+
static tryParse(input: string | null | undefined): ElectricCharge | null;
|
|
148
|
+
static parse(input: string): ElectricCharge;
|
|
149
|
+
static isValid(input: string | null | undefined): boolean;
|
|
150
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
151
|
+
static format(input: string | null | undefined, options?: ElectricChargeFormatOptions): string | null;
|
|
152
|
+
/** The value in ampere-hours, or `null` when the input is invalid. */
|
|
153
|
+
static normalize(input: string | null | undefined, options?: ElectricChargeFormatOptions): string | null;
|
|
154
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
155
|
+
static findCandidatesInText(text: string): readonly TextCandidate<ElectricCharge>[];
|
|
156
|
+
private static fallback;
|
|
157
|
+
private static decimalOf;
|
|
158
|
+
}
|
|
159
|
+
/** Returns a masked electric charge, e.g. `10 Ah` becomes `*** Ah`. */
|
|
160
|
+
declare function maskElectricCharge(value: ElectricCharge): string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* A unit of energy identified by its symbol.
|
|
164
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
165
|
+
* exact conversion factor to the base unit.
|
|
166
|
+
*/
|
|
167
|
+
declare class EnergyUnit extends MeasurementUnit {
|
|
168
|
+
private readonly __energyUnitBrand;
|
|
169
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
170
|
+
static readonly Joule: EnergyUnit;
|
|
171
|
+
static readonly Kilojoule: EnergyUnit;
|
|
172
|
+
static readonly Megajoule: EnergyUnit;
|
|
173
|
+
static readonly Gigajoule: EnergyUnit;
|
|
174
|
+
static readonly Terajoule: EnergyUnit;
|
|
175
|
+
static readonly WattHour: EnergyUnit;
|
|
176
|
+
static readonly KilowattHour: EnergyUnit;
|
|
177
|
+
static readonly MegawattHour: EnergyUnit;
|
|
178
|
+
static readonly GigawattHour: EnergyUnit;
|
|
179
|
+
static readonly TerawattHour: EnergyUnit;
|
|
180
|
+
static readonly Calorie: EnergyUnit;
|
|
181
|
+
static readonly Kilocalorie: EnergyUnit;
|
|
182
|
+
static readonly Btu: EnergyUnit;
|
|
183
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
184
|
+
static readonly index: MeasurementUnitIndex<EnergyUnit>;
|
|
185
|
+
static get all(): readonly EnergyUnit[];
|
|
186
|
+
/** The base unit: J. */
|
|
187
|
+
static get baseUnit(): EnergyUnit;
|
|
188
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
189
|
+
static get naturalScale(): readonly EnergyUnit[];
|
|
190
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
191
|
+
static tryParse(input: string | null | undefined): EnergyUnit | null;
|
|
192
|
+
static parse(input: string): EnergyUnit;
|
|
193
|
+
/** Returns the most human-readable unit for a value in J. */
|
|
194
|
+
static getNatural(baseValue: Decimal): EnergyUnit;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** Options for {@link Energy.format} and {@link Energy.normalize}. */
|
|
198
|
+
interface EnergyFormatOptions {
|
|
199
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
200
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
201
|
+
unit?: EnergyUnit;
|
|
202
|
+
/** Round to this many fractional digits, away from zero. */
|
|
203
|
+
decimals?: number;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* A energy stored internally in joules,
|
|
207
|
+
* parsed from any supported unit and convertible between all of them.
|
|
208
|
+
*/
|
|
209
|
+
declare class Energy extends Quantity<EnergyUnit> {
|
|
210
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
211
|
+
protected get units(): MeasurementUnitIndex<EnergyUnit>;
|
|
212
|
+
protected withBaseValue(baseValue: Decimal, unit: EnergyUnit): this;
|
|
213
|
+
get joules(): number;
|
|
214
|
+
get kilojoules(): number;
|
|
215
|
+
get megajoules(): number;
|
|
216
|
+
get gigajoules(): number;
|
|
217
|
+
get terajoules(): number;
|
|
218
|
+
get wattHours(): number;
|
|
219
|
+
get kilowattHours(): number;
|
|
220
|
+
get megawattHours(): number;
|
|
221
|
+
get gigawattHours(): number;
|
|
222
|
+
get terawattHours(): number;
|
|
223
|
+
get calories(): number;
|
|
224
|
+
get kilocalories(): number;
|
|
225
|
+
get btus(): number;
|
|
226
|
+
/** Creates a energy from a value and unit. */
|
|
227
|
+
static create(value: number | Decimal, unit: EnergyUnit): Energy;
|
|
228
|
+
static fromJoules(value: number | Decimal): Energy;
|
|
229
|
+
static fromKilojoules(value: number | Decimal): Energy;
|
|
230
|
+
static fromMegajoules(value: number | Decimal): Energy;
|
|
231
|
+
static fromGigajoules(value: number | Decimal): Energy;
|
|
232
|
+
static fromTerajoules(value: number | Decimal): Energy;
|
|
233
|
+
static fromWattHours(value: number | Decimal): Energy;
|
|
234
|
+
static fromKilowattHours(value: number | Decimal): Energy;
|
|
235
|
+
static fromMegawattHours(value: number | Decimal): Energy;
|
|
236
|
+
static fromGigawattHours(value: number | Decimal): Energy;
|
|
237
|
+
static fromTerawattHours(value: number | Decimal): Energy;
|
|
238
|
+
static fromCalories(value: number | Decimal): Energy;
|
|
239
|
+
static fromKilocalories(value: number | Decimal): Energy;
|
|
240
|
+
static fromBtus(value: number | Decimal): Energy;
|
|
241
|
+
static tryParse(input: string | null | undefined): Energy | null;
|
|
242
|
+
static parse(input: string): Energy;
|
|
243
|
+
static isValid(input: string | null | undefined): boolean;
|
|
244
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
245
|
+
static format(input: string | null | undefined, options?: EnergyFormatOptions): string | null;
|
|
246
|
+
/** The value in joules, or `null` when the input is invalid. */
|
|
247
|
+
static normalize(input: string | null | undefined, options?: EnergyFormatOptions): string | null;
|
|
248
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
249
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Energy>[];
|
|
250
|
+
private static fallback;
|
|
251
|
+
private static decimalOf;
|
|
252
|
+
}
|
|
253
|
+
/** Returns a masked energy, e.g. `10 J` becomes `*** J`. */
|
|
254
|
+
declare function maskEnergy(value: Energy): string;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* A unit of frequency identified by its symbol.
|
|
258
|
+
* Each unit carries English and Swedish names, singular and plural forms, and an
|
|
259
|
+
* exact conversion factor to the base unit.
|
|
260
|
+
*/
|
|
261
|
+
declare class FrequencyUnit extends MeasurementUnit {
|
|
262
|
+
private readonly __frequencyUnitBrand;
|
|
263
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
264
|
+
static readonly Hertz: FrequencyUnit;
|
|
265
|
+
static readonly Kilohertz: FrequencyUnit;
|
|
266
|
+
static readonly Megahertz: FrequencyUnit;
|
|
267
|
+
static readonly Gigahertz: FrequencyUnit;
|
|
268
|
+
static readonly Terahertz: FrequencyUnit;
|
|
269
|
+
static readonly RevolutionsPerMinute: FrequencyUnit;
|
|
270
|
+
/** @internal Shared lookup and natural-scale walk. */
|
|
271
|
+
static readonly index: MeasurementUnitIndex<FrequencyUnit>;
|
|
272
|
+
static get all(): readonly FrequencyUnit[];
|
|
273
|
+
/** The base unit: Hz. */
|
|
274
|
+
static get baseUnit(): FrequencyUnit;
|
|
275
|
+
/** Units ordered small to large, used to auto-scale display. */
|
|
276
|
+
static get naturalScale(): readonly FrequencyUnit[];
|
|
277
|
+
/** Resolves a unit from a symbol, name, plural or alias, case-insensitively. */
|
|
278
|
+
static tryParse(input: string | null | undefined): FrequencyUnit | null;
|
|
279
|
+
static parse(input: string): FrequencyUnit;
|
|
280
|
+
/** Returns the most human-readable unit for a value in Hz. */
|
|
281
|
+
static getNatural(baseValue: Decimal): FrequencyUnit;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Options for {@link Frequency.format} and {@link Frequency.normalize}. */
|
|
285
|
+
interface FrequencyFormatOptions {
|
|
286
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
287
|
+
/** Convert to this unit instead of preserving the parsed one. */
|
|
288
|
+
unit?: FrequencyUnit;
|
|
289
|
+
/** Round to this many fractional digits, away from zero. */
|
|
290
|
+
decimals?: number;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* A frequency stored internally in hertz,
|
|
294
|
+
* parsed from any supported unit and convertible between all of them.
|
|
295
|
+
*/
|
|
296
|
+
declare class Frequency extends Quantity<FrequencyUnit> {
|
|
297
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
298
|
+
protected get units(): MeasurementUnitIndex<FrequencyUnit>;
|
|
299
|
+
protected withBaseValue(baseValue: Decimal, unit: FrequencyUnit): this;
|
|
300
|
+
get hertz(): number;
|
|
301
|
+
get kilohertz(): number;
|
|
302
|
+
get megahertz(): number;
|
|
303
|
+
get gigahertz(): number;
|
|
304
|
+
get terahertz(): number;
|
|
305
|
+
get rpm(): number;
|
|
306
|
+
/** Creates a frequency from a value and unit. */
|
|
307
|
+
static create(value: number | Decimal, unit: FrequencyUnit): Frequency;
|
|
308
|
+
static fromHertz(value: number | Decimal): Frequency;
|
|
309
|
+
static fromKilohertz(value: number | Decimal): Frequency;
|
|
310
|
+
static fromMegahertz(value: number | Decimal): Frequency;
|
|
311
|
+
static fromGigahertz(value: number | Decimal): Frequency;
|
|
312
|
+
static fromTerahertz(value: number | Decimal): Frequency;
|
|
313
|
+
static fromRpm(value: number | Decimal): Frequency;
|
|
314
|
+
static tryParse(input: string | null | undefined): Frequency | null;
|
|
315
|
+
static parse(input: string): Frequency;
|
|
316
|
+
static isValid(input: string | null | undefined): boolean;
|
|
317
|
+
/** Display form in the parsed unit, or `null` when the input is invalid. */
|
|
318
|
+
static format(input: string | null | undefined, options?: FrequencyFormatOptions): string | null;
|
|
319
|
+
/** The value in hertz, or `null` when the input is invalid. */
|
|
320
|
+
static normalize(input: string | null | undefined, options?: FrequencyFormatOptions): string | null;
|
|
321
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
322
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Frequency>[];
|
|
323
|
+
private static fallback;
|
|
324
|
+
private static decimalOf;
|
|
325
|
+
}
|
|
326
|
+
/** Returns a masked frequency, e.g. `10 Hz` becomes `*** Hz`. */
|
|
327
|
+
declare function maskFrequency(value: Frequency): string;
|
|
328
|
+
|
|
329
|
+
export { DataSize as D, ElectricCharge as E, Frequency as F, type DataSizeFormatOptions as a, DataSizeUnit as b, type ElectricChargeFormatOptions as c, ElectricChargeUnit as d, Energy as e, type EnergyFormatOptions as f, EnergyUnit as g, type FrequencyFormatOptions as h, FrequencyUnit as i, maskElectricCharge as j, maskEnergy as k, maskFrequency as l, maskDataSize as m };
|