@budiauktioner/buildi-primitives 0.1.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/CHANGELOG.md +51 -0
- package/LICENSE +21 -0
- package/README.md +253 -0
- package/THIRD_PARTY_NOTICES.md +52 -0
- package/dist/banking/index.cjs +6491 -0
- package/dist/banking/index.cjs.map +1 -0
- package/dist/banking/index.d.cts +58 -0
- package/dist/banking/index.d.ts +58 -0
- package/dist/banking/index.js +6464 -0
- package/dist/banking/index.js.map +1 -0
- package/dist/contact/index.cjs +6678 -0
- package/dist/contact/index.cjs.map +1 -0
- package/dist/contact/index.d.cts +709 -0
- package/dist/contact/index.d.ts +709 -0
- package/dist/contact/index.js +6586 -0
- package/dist/contact/index.js.map +1 -0
- package/dist/country-BhD51LDL.d.cts +433 -0
- package/dist/country-p0n0EVQ9.d.ts +433 -0
- package/dist/finance/index.cjs +3592 -0
- package/dist/finance/index.cjs.map +1 -0
- package/dist/finance/index.d.cts +83 -0
- package/dist/finance/index.d.ts +83 -0
- package/dist/finance/index.js +3584 -0
- package/dist/finance/index.js.map +1 -0
- package/dist/geography/index.cjs +4227 -0
- package/dist/geography/index.cjs.map +1 -0
- package/dist/geography/index.d.cts +34 -0
- package/dist/geography/index.d.ts +34 -0
- package/dist/geography/index.js +4202 -0
- package/dist/geography/index.js.map +1 -0
- package/dist/index.cjs +14087 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +75 -0
- package/dist/index.d.ts +75 -0
- package/dist/index.js +13868 -0
- package/dist/index.js.map +1 -0
- package/dist/isin-EeVPpNWu.d.ts +39 -0
- package/dist/isin-ZlQLBVm8.d.cts +39 -0
- package/dist/organization/index.cjs +2376 -0
- package/dist/organization/index.cjs.map +1 -0
- package/dist/organization/index.d.cts +117 -0
- package/dist/organization/index.d.ts +117 -0
- package/dist/organization/index.js +2346 -0
- package/dist/organization/index.js.map +1 -0
- package/dist/person/index.cjs +1144 -0
- package/dist/person/index.cjs.map +1 -0
- package/dist/person/index.d.cts +60 -0
- package/dist/person/index.d.ts +60 -0
- package/dist/person/index.js +1125 -0
- package/dist/person/index.js.map +1 -0
- package/dist/person-full-name-Cmc9Ynuc.d.cts +82 -0
- package/dist/person-full-name-D6Hbsab6.d.ts +82 -0
- package/dist/phone-number-C24--ggy.d.ts +139 -0
- package/dist/phone-number-DZ-YxCQQ.d.cts +139 -0
- package/dist/property/index.cjs +487 -0
- package/dist/property/index.cjs.map +1 -0
- package/dist/property/index.d.cts +56 -0
- package/dist/property/index.d.ts +56 -0
- package/dist/property/index.js +480 -0
- package/dist/property/index.js.map +1 -0
- package/dist/sample-data/index.cjs +12310 -0
- package/dist/sample-data/index.cjs.map +1 -0
- package/dist/sample-data/index.d.cts +260 -0
- package/dist/sample-data/index.d.ts +260 -0
- package/dist/sample-data/index.js +12302 -0
- package/dist/sample-data/index.js.map +1 -0
- package/dist/swedish-address-DNC3ftRF.d.cts +297 -0
- package/dist/swedish-address-GMzjqgxb.d.ts +297 -0
- package/dist/swedish-bank-account-holder-name-BFJ8h1aO.d.cts +45 -0
- package/dist/swedish-bank-account-holder-name-CAAru07F.d.ts +45 -0
- package/dist/swedish-municipality-DlUS7g7h.d.cts +87 -0
- package/dist/swedish-municipality-nDRHYRAd.d.ts +87 -0
- package/dist/swedish-organization-name-D7NvERxA.d.cts +33 -0
- package/dist/swedish-organization-name-rR0Q836C.d.ts +33 -0
- package/dist/swedish-organization-number-Bcj7V_lh.d.cts +130 -0
- package/dist/swedish-organization-number-DM8dpXwR.d.ts +130 -0
- package/dist/swedish-organization-type-CZOdETwG.d.cts +29 -0
- package/dist/swedish-organization-type-CZOdETwG.d.ts +29 -0
- package/dist/swedish-personal-identity-number-BiIg4io3.d.ts +149 -0
- package/dist/swedish-personal-identity-number-Cp9Coz55.d.cts +149 -0
- package/dist/swedish-property-designation-BM-gdd9x.d.ts +46 -0
- package/dist/swedish-property-designation-BaHXufqV.d.cts +46 -0
- package/dist/swedish-sni-code-Ccsswpni.d.ts +53 -0
- package/dist/swedish-sni-code-CuJFyM6l.d.cts +53 -0
- package/dist/swedish-swish-number-CL6Gx_h3.d.cts +397 -0
- package/dist/swedish-swish-number-DDG3mNDg.d.ts +397 -0
- package/dist/text-candidate-qg2bD9PY.d.cts +110 -0
- package/dist/text-candidate-qg2bD9PY.d.ts +110 -0
- package/dist/text-scanning/index.cjs +10414 -0
- package/dist/text-scanning/index.cjs.map +1 -0
- package/dist/text-scanning/index.d.cts +153 -0
- package/dist/text-scanning/index.d.ts +153 -0
- package/dist/text-scanning/index.js +10406 -0
- package/dist/text-scanning/index.js.map +1 -0
- package/dist/validation/index.cjs +83 -0
- package/dist/validation/index.cjs.map +1 -0
- package/dist/validation/index.d.cts +63 -0
- package/dist/validation/index.d.ts +63 -0
- package/dist/validation/index.js +79 -0
- package/dist/validation/index.js.map +1 -0
- package/dist/web/index.cjs +3994 -0
- package/dist/web/index.cjs.map +1 -0
- package/dist/web/index.d.cts +203 -0
- package/dist/web/index.d.ts +203 -0
- package/dist/web/index.js +3987 -0
- package/dist/web/index.js.map +1 -0
- package/package.json +211 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { a as Country, C as Continent, G as GeoCoordinate, L as Language } from '../country-BhD51LDL.cjs';
|
|
2
|
+
export { b as CountryCapital, c as CountryDistance, T as TextDirection, W as WritingScript } from '../country-BhD51LDL.cjs';
|
|
3
|
+
import { S as SwedishCounty, a as SwedishMunicipality } from '../swedish-municipality-DlUS7g7h.cjs';
|
|
4
|
+
export { M as MunicipalityDistance } from '../swedish-municipality-DlUS7g7h.cjs';
|
|
5
|
+
import '../text-candidate-qg2bD9PY.cjs';
|
|
6
|
+
|
|
7
|
+
/** Returns all municipalities belonging to `county`, ordered by code. */
|
|
8
|
+
declare function getMunicipalities(county: SwedishCounty): readonly SwedishMunicipality[];
|
|
9
|
+
/** Returns all municipalities sharing a land border with `municipality`. */
|
|
10
|
+
declare function getAdjacentMunicipalities(municipality: SwedishMunicipality): readonly SwedishMunicipality[];
|
|
11
|
+
/** Returns all counties sharing a land border with `county`. */
|
|
12
|
+
declare function getAdjacentCounties(county: SwedishCounty): readonly SwedishCounty[];
|
|
13
|
+
/** Returns all countries sharing a land border with `country`. */
|
|
14
|
+
declare function getBorderingCountries(country: Country): readonly Country[];
|
|
15
|
+
/** Returns all countries on `continent`, ordered by English name. */
|
|
16
|
+
declare function getCountries(continent: Continent): readonly Country[];
|
|
17
|
+
|
|
18
|
+
/** Mask a coordinate to ~11 km precision (1 decimal place visible). */
|
|
19
|
+
declare function maskGeoCoordinate(coordinate: GeoCoordinate): string;
|
|
20
|
+
/** Mask a Swedish municipality, showing only the first character. */
|
|
21
|
+
declare function maskSwedishMunicipality(m: SwedishMunicipality): string;
|
|
22
|
+
/** Mask a Swedish county, showing only the first character of the first word. */
|
|
23
|
+
declare function maskSwedishCounty(c: SwedishCounty): string;
|
|
24
|
+
/** Mask a language name, showing only the first character. */
|
|
25
|
+
declare function maskLanguage(l: Language): string;
|
|
26
|
+
|
|
27
|
+
declare function getCountyScbUrl(_county: SwedishCounty): string;
|
|
28
|
+
declare function getCountyWikipediaUrl(county: SwedishCounty): string;
|
|
29
|
+
declare function getCountyGoogleMapsUrl(county: SwedishCounty): string;
|
|
30
|
+
declare function getMunicipalityScbUrl(_m: SwedishMunicipality): string;
|
|
31
|
+
declare function getMunicipalityWikipediaUrl(m: SwedishMunicipality): string;
|
|
32
|
+
declare function getMunicipalityGoogleMapsUrl(m: SwedishMunicipality): string;
|
|
33
|
+
|
|
34
|
+
export { Continent, Country, GeoCoordinate, Language, SwedishCounty, SwedishMunicipality, getAdjacentCounties, getAdjacentMunicipalities, getBorderingCountries, getCountries, getCountyGoogleMapsUrl, getCountyScbUrl, getCountyWikipediaUrl, getMunicipalities, getMunicipalityGoogleMapsUrl, getMunicipalityScbUrl, getMunicipalityWikipediaUrl, maskGeoCoordinate, maskLanguage, maskSwedishCounty, maskSwedishMunicipality };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { a as Country, C as Continent, G as GeoCoordinate, L as Language } from '../country-p0n0EVQ9.js';
|
|
2
|
+
export { b as CountryCapital, c as CountryDistance, T as TextDirection, W as WritingScript } from '../country-p0n0EVQ9.js';
|
|
3
|
+
import { S as SwedishCounty, a as SwedishMunicipality } from '../swedish-municipality-nDRHYRAd.js';
|
|
4
|
+
export { M as MunicipalityDistance } from '../swedish-municipality-nDRHYRAd.js';
|
|
5
|
+
import '../text-candidate-qg2bD9PY.js';
|
|
6
|
+
|
|
7
|
+
/** Returns all municipalities belonging to `county`, ordered by code. */
|
|
8
|
+
declare function getMunicipalities(county: SwedishCounty): readonly SwedishMunicipality[];
|
|
9
|
+
/** Returns all municipalities sharing a land border with `municipality`. */
|
|
10
|
+
declare function getAdjacentMunicipalities(municipality: SwedishMunicipality): readonly SwedishMunicipality[];
|
|
11
|
+
/** Returns all counties sharing a land border with `county`. */
|
|
12
|
+
declare function getAdjacentCounties(county: SwedishCounty): readonly SwedishCounty[];
|
|
13
|
+
/** Returns all countries sharing a land border with `country`. */
|
|
14
|
+
declare function getBorderingCountries(country: Country): readonly Country[];
|
|
15
|
+
/** Returns all countries on `continent`, ordered by English name. */
|
|
16
|
+
declare function getCountries(continent: Continent): readonly Country[];
|
|
17
|
+
|
|
18
|
+
/** Mask a coordinate to ~11 km precision (1 decimal place visible). */
|
|
19
|
+
declare function maskGeoCoordinate(coordinate: GeoCoordinate): string;
|
|
20
|
+
/** Mask a Swedish municipality, showing only the first character. */
|
|
21
|
+
declare function maskSwedishMunicipality(m: SwedishMunicipality): string;
|
|
22
|
+
/** Mask a Swedish county, showing only the first character of the first word. */
|
|
23
|
+
declare function maskSwedishCounty(c: SwedishCounty): string;
|
|
24
|
+
/** Mask a language name, showing only the first character. */
|
|
25
|
+
declare function maskLanguage(l: Language): string;
|
|
26
|
+
|
|
27
|
+
declare function getCountyScbUrl(_county: SwedishCounty): string;
|
|
28
|
+
declare function getCountyWikipediaUrl(county: SwedishCounty): string;
|
|
29
|
+
declare function getCountyGoogleMapsUrl(county: SwedishCounty): string;
|
|
30
|
+
declare function getMunicipalityScbUrl(_m: SwedishMunicipality): string;
|
|
31
|
+
declare function getMunicipalityWikipediaUrl(m: SwedishMunicipality): string;
|
|
32
|
+
declare function getMunicipalityGoogleMapsUrl(m: SwedishMunicipality): string;
|
|
33
|
+
|
|
34
|
+
export { Continent, Country, GeoCoordinate, Language, SwedishCounty, SwedishMunicipality, getAdjacentCounties, getAdjacentMunicipalities, getBorderingCountries, getCountries, getCountyGoogleMapsUrl, getCountyScbUrl, getCountyWikipediaUrl, getMunicipalities, getMunicipalityGoogleMapsUrl, getMunicipalityScbUrl, getMunicipalityWikipediaUrl, maskGeoCoordinate, maskLanguage, maskSwedishCounty, maskSwedishMunicipality };
|