@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,473 @@
|
|
|
1
|
+
import { P as PrimitiveTypeInfo, T as TextCandidate } from './text-candidate-qg2bD9PY.js';
|
|
2
|
+
import { L as Length, D as Decimal, b as LengthUnit } from './length-CceXIJYY.js';
|
|
3
|
+
|
|
4
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
5
|
+
interface ColorFormatOptions {
|
|
6
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
7
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* An sRGB color (`färg`) parsed from hex, `rgb(...)`, `hsl(...)` or a CSS-style English or
|
|
11
|
+
* Swedish name, including brightness-modified names such as `ljusblå` or `dark green`.
|
|
12
|
+
*/
|
|
13
|
+
declare class Color {
|
|
14
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
15
|
+
/** Red channel, 0–255. */
|
|
16
|
+
readonly r: number;
|
|
17
|
+
/** Green channel, 0–255. */
|
|
18
|
+
readonly g: number;
|
|
19
|
+
/** Blue channel, 0–255. */
|
|
20
|
+
readonly b: number;
|
|
21
|
+
/** English CSS-style name when the color matches a known one, otherwise `null`. */
|
|
22
|
+
readonly nameEnglish: string | null;
|
|
23
|
+
/** Swedish name when the color matches a known one, otherwise `null`. */
|
|
24
|
+
readonly nameSwedish: string | null;
|
|
25
|
+
private constructor();
|
|
26
|
+
/** Uppercase hexadecimal sRGB, e.g. `#FF0000`. */
|
|
27
|
+
get hex(): string;
|
|
28
|
+
/** Hue 0–360, derived from the channels. */
|
|
29
|
+
get h(): number;
|
|
30
|
+
/** Saturation 0–100 percent, derived from the channels. */
|
|
31
|
+
get s(): number;
|
|
32
|
+
/** Lightness 0–100 percent, derived from the channels. */
|
|
33
|
+
get l(): number;
|
|
34
|
+
static tryParse(input: string | null | undefined): Color | null;
|
|
35
|
+
/** Builds a color, attaching the known names when the channels match a named one. */
|
|
36
|
+
private static fromChannels;
|
|
37
|
+
static parse(input: string): Color;
|
|
38
|
+
static isValid(input: string | null | undefined): boolean;
|
|
39
|
+
/** Returns the English name when known, otherwise the uppercase hex, e.g. `red` or `#1A2B3C`. */
|
|
40
|
+
static format(input: string | null | undefined, options?: ColorFormatOptions): string | null;
|
|
41
|
+
/** Returns the uppercase hex form, e.g. `#FF0000`. */
|
|
42
|
+
static normalize(input: string | null | undefined, options?: ColorFormatOptions): string | null;
|
|
43
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Scans unstructured text for hexadecimal color codes. Only the `#RGB` and `#RRGGBB` forms are
|
|
46
|
+
* considered; named colors are far too ambiguous to match in prose.
|
|
47
|
+
*/
|
|
48
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Color>[];
|
|
49
|
+
toNormalizedString(): string;
|
|
50
|
+
toString(): string;
|
|
51
|
+
equals(other: Color | null | undefined): boolean;
|
|
52
|
+
compareTo(other: Color | null | undefined): number;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
56
|
+
interface ElectricalPhaseFormatOptions {
|
|
57
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
58
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* An electrical phase configuration (`fas`) used for electrical equipment, such as
|
|
62
|
+
* single-phase (`enfas`) or three-phase (`trefas`).
|
|
63
|
+
*/
|
|
64
|
+
declare class ElectricalPhase {
|
|
65
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
66
|
+
readonly value: string;
|
|
67
|
+
readonly englishName: string;
|
|
68
|
+
readonly localizedName: string;
|
|
69
|
+
readonly phaseCount: number;
|
|
70
|
+
/** @internal Position in the canonical .NET ordering, used by {@link compareTo}. */
|
|
71
|
+
private readonly rank;
|
|
72
|
+
private constructor();
|
|
73
|
+
static readonly SinglePhase: ElectricalPhase;
|
|
74
|
+
static readonly TwoPhase: ElectricalPhase;
|
|
75
|
+
static readonly ThreePhase: ElectricalPhase;
|
|
76
|
+
/** All 3 values, in canonical order. */
|
|
77
|
+
static get all(): readonly ElectricalPhase[];
|
|
78
|
+
/** Name in the language selected by {@link PrimitivesDefaults.uiCulture}. */
|
|
79
|
+
get displayName(): string;
|
|
80
|
+
/** Resolves a value from its canonical name, localized name, code or any known alias. */
|
|
81
|
+
static tryParse(input: string | null | undefined): ElectricalPhase | null;
|
|
82
|
+
static parse(input: string): ElectricalPhase;
|
|
83
|
+
static isValid(input: string | null | undefined): boolean;
|
|
84
|
+
static format(input: string | null | undefined, options?: ElectricalPhaseFormatOptions): string | null;
|
|
85
|
+
static normalize(input: string | null | undefined, options?: ElectricalPhaseFormatOptions): string | null;
|
|
86
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
87
|
+
/** Finds electrical phase mentions in unstructured text. */
|
|
88
|
+
static findCandidatesInText(text: string): readonly TextCandidate<ElectricalPhase>[];
|
|
89
|
+
toNormalizedString(): string;
|
|
90
|
+
toString(): string;
|
|
91
|
+
toDisplayString(): string;
|
|
92
|
+
toEnglishString(): string;
|
|
93
|
+
toLocalString(): string;
|
|
94
|
+
equals(other: ElectricalPhase | null | undefined): boolean;
|
|
95
|
+
compareTo(other: ElectricalPhase | null | undefined): number;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
99
|
+
interface Gtin8FormatOptions {
|
|
100
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
101
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* An 8-digit Global Trade Item Number (GTIN-8), also known as EAN-8. Used on small packages
|
|
105
|
+
* where a GTIN-13 barcode would not fit. Validated with the GS1 modulo-10 check digit.
|
|
106
|
+
*/
|
|
107
|
+
declare class Gtin8 {
|
|
108
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
109
|
+
/** The 8 digits, e.g. `96385074`. */
|
|
110
|
+
readonly digits: string;
|
|
111
|
+
/** The GS1 modulo-10 check digit (last digit). */
|
|
112
|
+
readonly checkDigit: number;
|
|
113
|
+
private constructor();
|
|
114
|
+
/** Returns the GTIN zero-padded to 14 digits, the form used for cross-length comparison. */
|
|
115
|
+
toGtin14Digits(): string;
|
|
116
|
+
static tryParse(input: string | null | undefined): Gtin8 | null;
|
|
117
|
+
static parse(input: string): Gtin8;
|
|
118
|
+
static isValid(input: string | null | undefined): boolean;
|
|
119
|
+
static format(input: string | null | undefined, options?: Gtin8FormatOptions): string | null;
|
|
120
|
+
static normalize(input: string | null | undefined, options?: Gtin8FormatOptions): string | null;
|
|
121
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Scans unstructured text for potential GTIN-8 barcodes. Results are heuristic candidates
|
|
124
|
+
* and may include false positives; nothing guarantees a candidate is a real product code.
|
|
125
|
+
*/
|
|
126
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Gtin8>[];
|
|
127
|
+
toNormalizedString(): string;
|
|
128
|
+
toString(): string;
|
|
129
|
+
equals(other: Gtin8 | null | undefined): boolean;
|
|
130
|
+
compareTo(other: Gtin8 | null | undefined): number;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
134
|
+
interface Gtin12FormatOptions {
|
|
135
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
136
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* A 12-digit Global Trade Item Number (GTIN-12), better known as a UPC-A barcode and used
|
|
140
|
+
* mainly in North America. Validated with the GS1 modulo-10 check digit.
|
|
141
|
+
*/
|
|
142
|
+
declare class Gtin12 {
|
|
143
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
144
|
+
/** The 12 digits, e.g. `614141000036`. */
|
|
145
|
+
readonly digits: string;
|
|
146
|
+
/** The GS1 modulo-10 check digit (last digit). */
|
|
147
|
+
readonly checkDigit: number;
|
|
148
|
+
private constructor();
|
|
149
|
+
/** Returns the GTIN zero-padded to 14 digits, the form used for cross-length comparison. */
|
|
150
|
+
toGtin14Digits(): string;
|
|
151
|
+
static tryParse(input: string | null | undefined): Gtin12 | null;
|
|
152
|
+
static parse(input: string): Gtin12;
|
|
153
|
+
static isValid(input: string | null | undefined): boolean;
|
|
154
|
+
static format(input: string | null | undefined, options?: Gtin12FormatOptions): string | null;
|
|
155
|
+
static normalize(input: string | null | undefined, options?: Gtin12FormatOptions): string | null;
|
|
156
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Scans unstructured text for potential UPC-A barcodes. Results are heuristic candidates
|
|
159
|
+
* and may include false positives; nothing guarantees a candidate is a real product code.
|
|
160
|
+
*/
|
|
161
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Gtin12>[];
|
|
162
|
+
toNormalizedString(): string;
|
|
163
|
+
toString(): string;
|
|
164
|
+
equals(other: Gtin12 | null | undefined): boolean;
|
|
165
|
+
compareTo(other: Gtin12 | null | undefined): number;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
169
|
+
interface Gtin13FormatOptions {
|
|
170
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
171
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* A 13-digit Global Trade Item Number (GTIN-13), also known as EAN-13, the most widely used
|
|
175
|
+
* consumer barcode. The first three digits form the GS1 prefix identifying the issuing member
|
|
176
|
+
* organization. Validated with the GS1 modulo-10 check digit.
|
|
177
|
+
*/
|
|
178
|
+
declare class Gtin13 {
|
|
179
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
180
|
+
/** The 13 digits, e.g. `5901234123457`. */
|
|
181
|
+
readonly digits: string;
|
|
182
|
+
/** The GS1 modulo-10 check digit (last digit). */
|
|
183
|
+
readonly checkDigit: number;
|
|
184
|
+
/** The 3-digit GS1 prefix identifying the issuing member organization, e.g. `590` for Poland. */
|
|
185
|
+
readonly gs1Prefix: string;
|
|
186
|
+
/**
|
|
187
|
+
* Organization or country behind the prefix, e.g. `Sweden` for 730–739 or `Books (ISBN)` for
|
|
188
|
+
* 978–979. `null` when the prefix falls outside every published range.
|
|
189
|
+
*/
|
|
190
|
+
readonly gs1PrefixName: string | null;
|
|
191
|
+
/**
|
|
192
|
+
* ISO 3166-1 alpha-2 code for the prefix, e.g. `SE`. `null` when the prefix maps to a
|
|
193
|
+
* non-country assignment such as ISBN or coupons, or is unknown.
|
|
194
|
+
*/
|
|
195
|
+
readonly gs1PrefixCountryCode: string | null;
|
|
196
|
+
private constructor();
|
|
197
|
+
/** Returns the GTIN zero-padded to 14 digits, the form used for cross-length comparison. */
|
|
198
|
+
toGtin14Digits(): string;
|
|
199
|
+
static tryParse(input: string | null | undefined): Gtin13 | null;
|
|
200
|
+
static parse(input: string): Gtin13;
|
|
201
|
+
static isValid(input: string | null | undefined): boolean;
|
|
202
|
+
static format(input: string | null | undefined, options?: Gtin13FormatOptions): string | null;
|
|
203
|
+
static normalize(input: string | null | undefined, options?: Gtin13FormatOptions): string | null;
|
|
204
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Scans unstructured text for potential EAN-13 barcodes. Results are heuristic candidates
|
|
207
|
+
* and may include false positives; nothing guarantees a candidate is a real product code.
|
|
208
|
+
*/
|
|
209
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Gtin13>[];
|
|
210
|
+
toNormalizedString(): string;
|
|
211
|
+
toString(): string;
|
|
212
|
+
equals(other: Gtin13 | null | undefined): boolean;
|
|
213
|
+
compareTo(other: Gtin13 | null | undefined): number;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
217
|
+
interface Gtin14FormatOptions {
|
|
218
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
219
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* A 14-digit Global Trade Item Number (GTIN-14), used on cases and pallets and printed as an
|
|
223
|
+
* ITF-14 barcode. The leading digit indicates the packaging level. Validated with the GS1
|
|
224
|
+
* modulo-10 check digit.
|
|
225
|
+
*/
|
|
226
|
+
declare class Gtin14 {
|
|
227
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
228
|
+
/** The 14 digits, e.g. `10614141000415`. */
|
|
229
|
+
readonly digits: string;
|
|
230
|
+
/** The GS1 modulo-10 check digit (last digit). */
|
|
231
|
+
readonly checkDigit: number;
|
|
232
|
+
/**
|
|
233
|
+
* The packaging indicator (first digit). 1–8 are defined packaging levels, 9 marks a
|
|
234
|
+
* variable-measure trade item, and 0 means no specific level.
|
|
235
|
+
*/
|
|
236
|
+
readonly indicatorDigit: number;
|
|
237
|
+
/** The inner 13 digits, which represent the contained GTIN-13. */
|
|
238
|
+
readonly innerGtin13Digits: string;
|
|
239
|
+
private constructor();
|
|
240
|
+
static tryParse(input: string | null | undefined): Gtin14 | null;
|
|
241
|
+
static parse(input: string): Gtin14;
|
|
242
|
+
static isValid(input: string | null | undefined): boolean;
|
|
243
|
+
static format(input: string | null | undefined, options?: Gtin14FormatOptions): string | null;
|
|
244
|
+
static normalize(input: string | null | undefined, options?: Gtin14FormatOptions): string | null;
|
|
245
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Scans unstructured text for potential ITF-14 barcodes. Results are heuristic candidates
|
|
248
|
+
* and may include false positives; nothing guarantees a candidate is a real product code.
|
|
249
|
+
*/
|
|
250
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Gtin14>[];
|
|
251
|
+
toNormalizedString(): string;
|
|
252
|
+
toString(): string;
|
|
253
|
+
equals(other: Gtin14 | null | undefined): boolean;
|
|
254
|
+
compareTo(other: Gtin14 | null | undefined): number;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
258
|
+
interface IpRatingFormatOptions {
|
|
259
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
260
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Ingress Protection rating (`kapslingsklass`, `IP-klass`) per IEC 60529, e.g. `IP65` or `IPX4`,
|
|
264
|
+
* where the first digit rates protection against solids and the second against liquids. An `X`
|
|
265
|
+
* in either position means that level was not tested.
|
|
266
|
+
*/
|
|
267
|
+
declare class IpRating {
|
|
268
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
269
|
+
/** Solids protection, a single character `0`–`6` or `X`. */
|
|
270
|
+
readonly solidsProtection: string;
|
|
271
|
+
/** Liquids protection, a single character `0`–`9` or `X`. */
|
|
272
|
+
readonly liquidsProtection: string;
|
|
273
|
+
/** Normalized code, e.g. `IP65`. */
|
|
274
|
+
readonly value: string;
|
|
275
|
+
private constructor();
|
|
276
|
+
/** English description of the solids level, e.g. `Dust tight`. */
|
|
277
|
+
get solidsDescription(): string;
|
|
278
|
+
/** English description of the liquids level, e.g. `Water jets`. */
|
|
279
|
+
get liquidsDescription(): string;
|
|
280
|
+
static tryParse(input: string | null | undefined): IpRating | null;
|
|
281
|
+
static parse(input: string): IpRating;
|
|
282
|
+
static isValid(input: string | null | undefined): boolean;
|
|
283
|
+
/** Returns the canonical form, e.g. `IP65`. */
|
|
284
|
+
static format(input: string | null | undefined, options?: IpRatingFormatOptions): string | null;
|
|
285
|
+
/** Returns the canonical form, e.g. `IP65`. */
|
|
286
|
+
static normalize(input: string | null | undefined, options?: IpRatingFormatOptions): string | null;
|
|
287
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
288
|
+
/**
|
|
289
|
+
* Scans unstructured text for IP ratings such as `IP65`. The `IP` prefix makes matches fairly
|
|
290
|
+
* distinctive, but the scan stays heuristic and may produce false positives.
|
|
291
|
+
*/
|
|
292
|
+
static findCandidatesInText(text: string): readonly TextCandidate<IpRating>[];
|
|
293
|
+
toNormalizedString(): string;
|
|
294
|
+
toString(): string;
|
|
295
|
+
equals(other: IpRating | null | undefined): boolean;
|
|
296
|
+
compareTo(other: IpRating | null | undefined): number;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/** Chemical family a refrigerant belongs to, which drives its regulatory treatment. */
|
|
300
|
+
declare const RefrigerantFamily: {
|
|
301
|
+
/** Unknown or unspecified refrigerant family. */
|
|
302
|
+
readonly Unknown: 0;
|
|
303
|
+
/** Chlorofluorocarbon (banned under the Montreal Protocol; legacy only). */
|
|
304
|
+
readonly Cfc: 1;
|
|
305
|
+
/** Hydrochlorofluorocarbon (phased out for ozone depletion). */
|
|
306
|
+
readonly Hcfc: 2;
|
|
307
|
+
/** Hydrofluorocarbon (high GWP; subject to the F-gas phase-down). */
|
|
308
|
+
readonly Hfc: 3;
|
|
309
|
+
/** Hydrofluoroolefin (low GWP, mildly flammable). */
|
|
310
|
+
readonly Hfo: 4;
|
|
311
|
+
/** Blend of HFCs and HFOs. */
|
|
312
|
+
readonly HfcHfoBlend: 5;
|
|
313
|
+
/** Natural refrigerant (hydrocarbon, ammonia, CO₂, water). */
|
|
314
|
+
readonly Natural: 6;
|
|
315
|
+
};
|
|
316
|
+
type RefrigerantFamily = (typeof RefrigerantFamily)[keyof typeof RefrigerantFamily];
|
|
317
|
+
|
|
318
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
319
|
+
interface RefrigerantFormatOptions {
|
|
320
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
321
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* A refrigerant designation (`köldmedium`) following the ASHRAE Standard 34 numbering system,
|
|
325
|
+
* with associated GWP (Global Warming Potential) metadata.
|
|
326
|
+
*/
|
|
327
|
+
declare class Refrigerant {
|
|
328
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
329
|
+
readonly value: string;
|
|
330
|
+
readonly compactCode: string;
|
|
331
|
+
readonly composition: string;
|
|
332
|
+
readonly family: RefrigerantFamily;
|
|
333
|
+
readonly gwp100Year: number;
|
|
334
|
+
readonly safetyClass: string;
|
|
335
|
+
readonly isRestrictedInEu: boolean;
|
|
336
|
+
/** @internal Position in the canonical .NET ordering, used by {@link compareTo}. */
|
|
337
|
+
private readonly rank;
|
|
338
|
+
private constructor();
|
|
339
|
+
static readonly R12: Refrigerant;
|
|
340
|
+
static readonly R22: Refrigerant;
|
|
341
|
+
static readonly R32: Refrigerant;
|
|
342
|
+
static readonly R134a: Refrigerant;
|
|
343
|
+
static readonly R290: Refrigerant;
|
|
344
|
+
static readonly R404A: Refrigerant;
|
|
345
|
+
static readonly R407C: Refrigerant;
|
|
346
|
+
static readonly R407F: Refrigerant;
|
|
347
|
+
static readonly R410A: Refrigerant;
|
|
348
|
+
static readonly R448A: Refrigerant;
|
|
349
|
+
static readonly R449A: Refrigerant;
|
|
350
|
+
static readonly R452A: Refrigerant;
|
|
351
|
+
static readonly R507A: Refrigerant;
|
|
352
|
+
static readonly R513A: Refrigerant;
|
|
353
|
+
static readonly R600a: Refrigerant;
|
|
354
|
+
static readonly R717: Refrigerant;
|
|
355
|
+
static readonly R718: Refrigerant;
|
|
356
|
+
static readonly R744: Refrigerant;
|
|
357
|
+
static readonly R1234yf: Refrigerant;
|
|
358
|
+
static readonly R1234ze: Refrigerant;
|
|
359
|
+
static readonly R1233zd: Refrigerant;
|
|
360
|
+
static readonly R1270: Refrigerant;
|
|
361
|
+
/** All 22 values, in canonical order. */
|
|
362
|
+
static get all(): readonly Refrigerant[];
|
|
363
|
+
/** Resolves a value from its canonical name, localized name, code or any known alias. */
|
|
364
|
+
static tryParse(input: string | null | undefined): Refrigerant | null;
|
|
365
|
+
static parse(input: string): Refrigerant;
|
|
366
|
+
static isValid(input: string | null | undefined): boolean;
|
|
367
|
+
static format(input: string | null | undefined, options?: RefrigerantFormatOptions): string | null;
|
|
368
|
+
static normalize(input: string | null | undefined, options?: RefrigerantFormatOptions): string | null;
|
|
369
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
370
|
+
/** Finds refrigerant mentions in unstructured text. */
|
|
371
|
+
static findCandidatesInText(text: string): readonly TextCandidate<Refrigerant>[];
|
|
372
|
+
toNormalizedString(): string;
|
|
373
|
+
toString(): string;
|
|
374
|
+
equals(other: Refrigerant | null | undefined): boolean;
|
|
375
|
+
compareTo(other: Refrigerant | null | undefined): number;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/** Options shared by the string-in, string-out helpers. */
|
|
379
|
+
interface ScreenResolutionFormatOptions {
|
|
380
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
381
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Pixel dimensions of a display or video mode (`skärmupplösning`), parsed either as `1920x1080`
|
|
385
|
+
* or by a marketing name such as `Full HD` or `4K`.
|
|
386
|
+
*/
|
|
387
|
+
declare class ScreenResolution {
|
|
388
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
389
|
+
/** Width in pixels. */
|
|
390
|
+
readonly width: number;
|
|
391
|
+
/** Height in pixels. */
|
|
392
|
+
readonly height: number;
|
|
393
|
+
/** Marketing name when this size is a known standard, e.g. `Full HD`, otherwise `null`. */
|
|
394
|
+
readonly name: string | null;
|
|
395
|
+
/** Reduced aspect ratio, e.g. `16:9`. */
|
|
396
|
+
readonly aspectRatio: string;
|
|
397
|
+
/** Normalized form with a lowercase `x`, e.g. `1920x1080`. */
|
|
398
|
+
readonly value: string;
|
|
399
|
+
private constructor();
|
|
400
|
+
/** Total pixel count, width times height. */
|
|
401
|
+
get totalPixels(): bigint;
|
|
402
|
+
/** Builds a resolution from pixel dimensions, e.g. `create(1920, 1080)`. */
|
|
403
|
+
static create(width: number, height: number): ScreenResolution;
|
|
404
|
+
static tryParse(input: string | null | undefined): ScreenResolution | null;
|
|
405
|
+
static parse(input: string): ScreenResolution;
|
|
406
|
+
static isValid(input: string | null | undefined): boolean;
|
|
407
|
+
/** Returns the marketing name when known, otherwise `1920 x 1080` with spaces. */
|
|
408
|
+
static format(input: string | null | undefined, options?: ScreenResolutionFormatOptions): string | null;
|
|
409
|
+
/** Returns the compact form, e.g. `1920x1080`. */
|
|
410
|
+
static normalize(input: string | null | undefined, options?: ScreenResolutionFormatOptions): string | null;
|
|
411
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
412
|
+
/**
|
|
413
|
+
* Scans unstructured text for `WIDTHxHEIGHT` spans. The scan is heuristic and may match
|
|
414
|
+
* numbers that are not resolutions at all.
|
|
415
|
+
*/
|
|
416
|
+
static findCandidatesInText(text: string): readonly TextCandidate<ScreenResolution>[];
|
|
417
|
+
toNormalizedString(): string;
|
|
418
|
+
toString(): string;
|
|
419
|
+
equals(other: ScreenResolution | null | undefined): boolean;
|
|
420
|
+
compareTo(other: ScreenResolution | null | undefined): number;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/** Options for {@link ScreenSize.format}. */
|
|
424
|
+
interface ScreenSizeFormatOptions {
|
|
425
|
+
/** Return the trimmed original input instead of `null` when the input is invalid. */
|
|
426
|
+
fallbackToTrimmedInputWhenInvalid?: boolean;
|
|
427
|
+
/** Convert to this unit instead of displaying inches. */
|
|
428
|
+
unit?: LengthUnit;
|
|
429
|
+
/** Round to this many fractional digits, away from zero. */
|
|
430
|
+
decimals?: number;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Display diagonal (`skärmstorlek`) held as a {@link Length}. A bare number is read as inches, so
|
|
434
|
+
* `15` and `15"` and `15-inch` all mean the same panel.
|
|
435
|
+
*/
|
|
436
|
+
declare class ScreenSize {
|
|
437
|
+
static readonly typeInfo: PrimitiveTypeInfo;
|
|
438
|
+
/** The underlying length value. */
|
|
439
|
+
readonly diagonal: Length;
|
|
440
|
+
/** Normalized form in inches, e.g. `15 in`. */
|
|
441
|
+
readonly value: string;
|
|
442
|
+
private constructor();
|
|
443
|
+
/** Diagonal in inches, e.g. `15` for a 15-inch panel. */
|
|
444
|
+
get inches(): number;
|
|
445
|
+
/** Diagonal in centimetres. */
|
|
446
|
+
get centimeters(): number;
|
|
447
|
+
/** Builds a screen size from a value and a length unit. The value must be positive. */
|
|
448
|
+
static create(value: number | Decimal, unit: LengthUnit): ScreenSize;
|
|
449
|
+
/** Builds a screen size from inches, e.g. `fromInches(15.6)`. */
|
|
450
|
+
static fromInches(inches: number | Decimal): ScreenSize;
|
|
451
|
+
/** Builds a screen size from centimetres, e.g. `fromCentimeters(39.6)`. */
|
|
452
|
+
static fromCentimeters(centimeters: number | Decimal): ScreenSize;
|
|
453
|
+
static tryParse(input: string | null | undefined): ScreenSize | null;
|
|
454
|
+
static parse(input: string): ScreenSize;
|
|
455
|
+
static isValid(input: string | null | undefined): boolean;
|
|
456
|
+
/** Returns the display form, e.g. `15 in`, or the diagonal converted to `options.unit`. */
|
|
457
|
+
static format(input: string | null | undefined, options?: ScreenSizeFormatOptions): string | null;
|
|
458
|
+
/** Returns the normalized form in inches, e.g. `15 in`. */
|
|
459
|
+
static normalize(input: string | null | undefined, options?: ScreenSizeFormatOptions): string | null;
|
|
460
|
+
static isNormalized(input: string | null | undefined): boolean;
|
|
461
|
+
/**
|
|
462
|
+
* Scans unstructured text for inch notation such as `55"`, `55″` or `55-inch`. The scan is
|
|
463
|
+
* heuristic and may produce false positives.
|
|
464
|
+
*/
|
|
465
|
+
static findCandidatesInText(text: string): readonly TextCandidate<ScreenSize>[];
|
|
466
|
+
toNormalizedString(): string;
|
|
467
|
+
toString(): string;
|
|
468
|
+
equals(other: ScreenSize | null | undefined): boolean;
|
|
469
|
+
compareTo(other: ScreenSize | null | undefined): number;
|
|
470
|
+
private get exactInches();
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export { Color as C, ElectricalPhase as E, Gtin12 as G, IpRating as I, Refrigerant as R, ScreenResolution as S, type ColorFormatOptions as a, type ElectricalPhaseFormatOptions as b, type Gtin12FormatOptions as c, Gtin13 as d, type Gtin13FormatOptions as e, Gtin14 as f, type Gtin14FormatOptions as g, Gtin8 as h, type Gtin8FormatOptions as i, type IpRatingFormatOptions as j, RefrigerantFamily as k, type RefrigerantFormatOptions as l, type ScreenResolutionFormatOptions as m, ScreenSize as n, type ScreenSizeFormatOptions as o };
|
|
@@ -3,12 +3,18 @@ import { I as Iban, B as Bic, d as SwedishBankgiroNumber, f as SwedishPostgiroNu
|
|
|
3
3
|
import { c as AddressZipCode, A as Address, S as SwedishAddress } from '../swedish-address-DNC3ftRF.cjs';
|
|
4
4
|
import { a as PhoneNumber } from '../phone-number-DZ-YxCQQ.cjs';
|
|
5
5
|
import { I as Isin } from '../isin-ZlQLBVm8.cjs';
|
|
6
|
+
import { A as Area, E as ElectricCurrent, F as FlowRate, L as Luminance, i as LuminousFlux, P as Percentage, S as SoundLevel, m as Pressure, R as RotationalSpeed, t as Speed, T as Temperature, z as Torque, V as Voltage, W as Weight } from '../weight-C5C7OuV_.cjs';
|
|
7
|
+
import { D as DataSize, E as ElectricCharge, e as Energy, F as Frequency } from '../frequency-CweGfJFS.cjs';
|
|
8
|
+
import { L as Length } from '../length-XRL5Eg7F.cjs';
|
|
9
|
+
import { P as Power, V as Volume } from '../volume-CFA4e3dc.cjs';
|
|
6
10
|
import { a as Country } from '../country-BhD51LDL.cjs';
|
|
7
11
|
import { S as SwedishCounty, a as SwedishMunicipality } from '../swedish-municipality-DlUS7g7h.cjs';
|
|
8
12
|
import { S as SwedishOrganizationNumber, E as EuVatNumber, L as LeiCode, D as DunsNumber } from '../swedish-organization-number-Bcj7V_lh.cjs';
|
|
9
13
|
import { b as SwedishPersonalIdentityNumber, S as SwedishCoordinationNumber } from '../swedish-personal-identity-number-Cp9Coz55.cjs';
|
|
10
14
|
import { S as SwedishPropertyDesignation } from '../swedish-property-designation-BaHXufqV.cjs';
|
|
11
15
|
import { EmailAddress, Url } from '../web/index.cjs';
|
|
16
|
+
import { h as Gtin8, G as Gtin12, d as Gtin13, f as Gtin14, I as IpRating, E as ElectricalPhase, R as Refrigerant, C as Color, S as ScreenResolution, n as ScreenSize } from '../screen-size-BD4t3wzb.cjs';
|
|
17
|
+
import { o as SwedishVehicleRegistrationNumber, V as VehicleIdentificationNumber, O as OperatingHours, B as BoltPattern, W as WheelRimDimension, T as TireDimension, e as EuTypeApprovalNumber, c as EnginePower, F as FuelConsumption, E as EmissionRate, g as EuroEmissionClass, m as SwedishEcoVehicleClassification, S as SwedishDrivingLicenseCategory } from '../wheel-rim-dimension-CdkDrzad.cjs';
|
|
12
18
|
import '../validation/index.cjs';
|
|
13
19
|
import '../swedish-organization-type-CZOdETwG.cjs';
|
|
14
20
|
|
|
@@ -65,6 +71,50 @@ declare class TextScanResult {
|
|
|
65
71
|
get counties(): TextCandidate<SwedishCounty>[];
|
|
66
72
|
get municipalities(): TextCandidate<SwedishMunicipality>[];
|
|
67
73
|
get propertyDesignations(): TextCandidate<SwedishPropertyDesignation>[];
|
|
74
|
+
get areas(): TextCandidate<Area>[];
|
|
75
|
+
get dataSizes(): TextCandidate<DataSize>[];
|
|
76
|
+
get electricCharges(): TextCandidate<ElectricCharge>[];
|
|
77
|
+
get electricCurrents(): TextCandidate<ElectricCurrent>[];
|
|
78
|
+
get energies(): TextCandidate<Energy>[];
|
|
79
|
+
get flowRates(): TextCandidate<FlowRate>[];
|
|
80
|
+
get frequencies(): TextCandidate<Frequency>[];
|
|
81
|
+
get lengths(): TextCandidate<Length>[];
|
|
82
|
+
get luminances(): TextCandidate<Luminance>[];
|
|
83
|
+
get luminousFluxes(): TextCandidate<LuminousFlux>[];
|
|
84
|
+
get percentages(): TextCandidate<Percentage>[];
|
|
85
|
+
get powers(): TextCandidate<Power>[];
|
|
86
|
+
get soundLevels(): TextCandidate<SoundLevel>[];
|
|
87
|
+
get pressures(): TextCandidate<Pressure>[];
|
|
88
|
+
get rotationalSpeeds(): TextCandidate<RotationalSpeed>[];
|
|
89
|
+
get speeds(): TextCandidate<Speed>[];
|
|
90
|
+
get temperatures(): TextCandidate<Temperature>[];
|
|
91
|
+
get torques(): TextCandidate<Torque>[];
|
|
92
|
+
get voltages(): TextCandidate<Voltage>[];
|
|
93
|
+
get volumes(): TextCandidate<Volume>[];
|
|
94
|
+
get weights(): TextCandidate<Weight>[];
|
|
95
|
+
get vehicleRegistrationNumbers(): TextCandidate<SwedishVehicleRegistrationNumber>[];
|
|
96
|
+
get vehicleIdentificationNumbers(): TextCandidate<VehicleIdentificationNumber>[];
|
|
97
|
+
get operatingHourValues(): TextCandidate<OperatingHours>[];
|
|
98
|
+
get boltPatterns(): TextCandidate<BoltPattern>[];
|
|
99
|
+
get wheelRimDimensions(): TextCandidate<WheelRimDimension>[];
|
|
100
|
+
get tireDimensions(): TextCandidate<TireDimension>[];
|
|
101
|
+
get euTypeApprovalNumbers(): TextCandidate<EuTypeApprovalNumber>[];
|
|
102
|
+
get enginePowers(): TextCandidate<EnginePower>[];
|
|
103
|
+
get fuelConsumptions(): TextCandidate<FuelConsumption>[];
|
|
104
|
+
get emissionRates(): TextCandidate<EmissionRate>[];
|
|
105
|
+
get euroEmissionClasses(): TextCandidate<EuroEmissionClass>[];
|
|
106
|
+
get swedishEcoVehicleClassifications(): TextCandidate<SwedishEcoVehicleClassification>[];
|
|
107
|
+
get drivingLicenseCategories(): TextCandidate<SwedishDrivingLicenseCategory>[];
|
|
108
|
+
get gtin8s(): TextCandidate<Gtin8>[];
|
|
109
|
+
get gtin12s(): TextCandidate<Gtin12>[];
|
|
110
|
+
get gtin13s(): TextCandidate<Gtin13>[];
|
|
111
|
+
get gtin14s(): TextCandidate<Gtin14>[];
|
|
112
|
+
get ipRatings(): TextCandidate<IpRating>[];
|
|
113
|
+
get electricalPhases(): TextCandidate<ElectricalPhase>[];
|
|
114
|
+
get refrigerants(): TextCandidate<Refrigerant>[];
|
|
115
|
+
get colors(): TextCandidate<Color>[];
|
|
116
|
+
get screenResolutions(): TextCandidate<ScreenResolution>[];
|
|
117
|
+
get screenSizes(): TextCandidate<ScreenSize>[];
|
|
68
118
|
/** Returns all candidates in the given category. */
|
|
69
119
|
byCategory(category: TextCandidateCategory): TextCandidate[];
|
|
70
120
|
/**
|
|
@@ -3,12 +3,18 @@ import { I as Iban, B as Bic, d as SwedishBankgiroNumber, f as SwedishPostgiroNu
|
|
|
3
3
|
import { c as AddressZipCode, A as Address, S as SwedishAddress } from '../swedish-address-GMzjqgxb.js';
|
|
4
4
|
import { a as PhoneNumber } from '../phone-number-C24--ggy.js';
|
|
5
5
|
import { I as Isin } from '../isin-EeVPpNWu.js';
|
|
6
|
+
import { A as Area, E as ElectricCurrent, F as FlowRate, L as Luminance, i as LuminousFlux, P as Percentage, S as SoundLevel, m as Pressure, R as RotationalSpeed, t as Speed, T as Temperature, z as Torque, V as Voltage, W as Weight } from '../weight-B30-Hzxu.js';
|
|
7
|
+
import { D as DataSize, E as ElectricCharge, e as Energy, F as Frequency } from '../frequency-DdOMV6Sw.js';
|
|
8
|
+
import { L as Length } from '../length-CceXIJYY.js';
|
|
9
|
+
import { P as Power, V as Volume } from '../volume-DGLPQypt.js';
|
|
6
10
|
import { a as Country } from '../country-p0n0EVQ9.js';
|
|
7
11
|
import { S as SwedishCounty, a as SwedishMunicipality } from '../swedish-municipality-nDRHYRAd.js';
|
|
8
12
|
import { S as SwedishOrganizationNumber, E as EuVatNumber, L as LeiCode, D as DunsNumber } from '../swedish-organization-number-DM8dpXwR.js';
|
|
9
13
|
import { b as SwedishPersonalIdentityNumber, S as SwedishCoordinationNumber } from '../swedish-personal-identity-number-BiIg4io3.js';
|
|
10
14
|
import { S as SwedishPropertyDesignation } from '../swedish-property-designation-BM-gdd9x.js';
|
|
11
15
|
import { EmailAddress, Url } from '../web/index.js';
|
|
16
|
+
import { h as Gtin8, G as Gtin12, d as Gtin13, f as Gtin14, I as IpRating, E as ElectricalPhase, R as Refrigerant, C as Color, S as ScreenResolution, n as ScreenSize } from '../screen-size-DUmjNjxG.js';
|
|
17
|
+
import { o as SwedishVehicleRegistrationNumber, V as VehicleIdentificationNumber, O as OperatingHours, B as BoltPattern, W as WheelRimDimension, T as TireDimension, e as EuTypeApprovalNumber, c as EnginePower, F as FuelConsumption, E as EmissionRate, g as EuroEmissionClass, m as SwedishEcoVehicleClassification, S as SwedishDrivingLicenseCategory } from '../wheel-rim-dimension-CVCmLASl.js';
|
|
12
18
|
import '../validation/index.js';
|
|
13
19
|
import '../swedish-organization-type-CZOdETwG.js';
|
|
14
20
|
|
|
@@ -65,6 +71,50 @@ declare class TextScanResult {
|
|
|
65
71
|
get counties(): TextCandidate<SwedishCounty>[];
|
|
66
72
|
get municipalities(): TextCandidate<SwedishMunicipality>[];
|
|
67
73
|
get propertyDesignations(): TextCandidate<SwedishPropertyDesignation>[];
|
|
74
|
+
get areas(): TextCandidate<Area>[];
|
|
75
|
+
get dataSizes(): TextCandidate<DataSize>[];
|
|
76
|
+
get electricCharges(): TextCandidate<ElectricCharge>[];
|
|
77
|
+
get electricCurrents(): TextCandidate<ElectricCurrent>[];
|
|
78
|
+
get energies(): TextCandidate<Energy>[];
|
|
79
|
+
get flowRates(): TextCandidate<FlowRate>[];
|
|
80
|
+
get frequencies(): TextCandidate<Frequency>[];
|
|
81
|
+
get lengths(): TextCandidate<Length>[];
|
|
82
|
+
get luminances(): TextCandidate<Luminance>[];
|
|
83
|
+
get luminousFluxes(): TextCandidate<LuminousFlux>[];
|
|
84
|
+
get percentages(): TextCandidate<Percentage>[];
|
|
85
|
+
get powers(): TextCandidate<Power>[];
|
|
86
|
+
get soundLevels(): TextCandidate<SoundLevel>[];
|
|
87
|
+
get pressures(): TextCandidate<Pressure>[];
|
|
88
|
+
get rotationalSpeeds(): TextCandidate<RotationalSpeed>[];
|
|
89
|
+
get speeds(): TextCandidate<Speed>[];
|
|
90
|
+
get temperatures(): TextCandidate<Temperature>[];
|
|
91
|
+
get torques(): TextCandidate<Torque>[];
|
|
92
|
+
get voltages(): TextCandidate<Voltage>[];
|
|
93
|
+
get volumes(): TextCandidate<Volume>[];
|
|
94
|
+
get weights(): TextCandidate<Weight>[];
|
|
95
|
+
get vehicleRegistrationNumbers(): TextCandidate<SwedishVehicleRegistrationNumber>[];
|
|
96
|
+
get vehicleIdentificationNumbers(): TextCandidate<VehicleIdentificationNumber>[];
|
|
97
|
+
get operatingHourValues(): TextCandidate<OperatingHours>[];
|
|
98
|
+
get boltPatterns(): TextCandidate<BoltPattern>[];
|
|
99
|
+
get wheelRimDimensions(): TextCandidate<WheelRimDimension>[];
|
|
100
|
+
get tireDimensions(): TextCandidate<TireDimension>[];
|
|
101
|
+
get euTypeApprovalNumbers(): TextCandidate<EuTypeApprovalNumber>[];
|
|
102
|
+
get enginePowers(): TextCandidate<EnginePower>[];
|
|
103
|
+
get fuelConsumptions(): TextCandidate<FuelConsumption>[];
|
|
104
|
+
get emissionRates(): TextCandidate<EmissionRate>[];
|
|
105
|
+
get euroEmissionClasses(): TextCandidate<EuroEmissionClass>[];
|
|
106
|
+
get swedishEcoVehicleClassifications(): TextCandidate<SwedishEcoVehicleClassification>[];
|
|
107
|
+
get drivingLicenseCategories(): TextCandidate<SwedishDrivingLicenseCategory>[];
|
|
108
|
+
get gtin8s(): TextCandidate<Gtin8>[];
|
|
109
|
+
get gtin12s(): TextCandidate<Gtin12>[];
|
|
110
|
+
get gtin13s(): TextCandidate<Gtin13>[];
|
|
111
|
+
get gtin14s(): TextCandidate<Gtin14>[];
|
|
112
|
+
get ipRatings(): TextCandidate<IpRating>[];
|
|
113
|
+
get electricalPhases(): TextCandidate<ElectricalPhase>[];
|
|
114
|
+
get refrigerants(): TextCandidate<Refrigerant>[];
|
|
115
|
+
get colors(): TextCandidate<Color>[];
|
|
116
|
+
get screenResolutions(): TextCandidate<ScreenResolution>[];
|
|
117
|
+
get screenSizes(): TextCandidate<ScreenSize>[];
|
|
68
118
|
/** Returns all candidates in the given category. */
|
|
69
119
|
byCategory(category: TextCandidateCategory): TextCandidate[];
|
|
70
120
|
/**
|