bd-geo-location 1.1.2 → 1.1.4
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.
|
@@ -84,4 +84,4 @@ type GeoLocation = Division | District | Upazila | Union | Pourosova | CityCorpo
|
|
|
84
84
|
*/
|
|
85
85
|
type GeoLevel = 'division' | 'district' | 'upazila' | 'thana' | 'union' | 'pourosova' | 'cityCorporation' | 'village';
|
|
86
86
|
|
|
87
|
-
export type { BangladeshGeoData as B, CityCorporation as C, District as D, FilterOptions as F, GeoLevel as G, Pourosova as P,
|
|
87
|
+
export type { BangladeshGeoData as B, CityCorporation as C, District as D, FilterOptions as F, GeoLevel as G, Pourosova as P, Upazila as U, Village as V, Division as a, Union as b, GeoLocation as c };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Division, C as CityCorporation, D as District,
|
|
2
|
-
export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation } from './index-
|
|
1
|
+
import { a as Division, C as CityCorporation, D as District, U as Upazila, P as Pourosova, b as Union, V as Village } from './index-UgYYjMwe.js';
|
|
2
|
+
export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation } from './index-UgYYjMwe.js';
|
|
3
3
|
|
|
4
4
|
var divisions = [
|
|
5
5
|
{
|
package/dist/react-native.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { useCityCorporations, useDistricts, useDivisions, useLocationById, usePourosovas, useSearch, useUnions, useUpazilas } from './react.js';
|
|
2
|
-
export { B as BangladeshGeoData, C as CityCorporation, D as District, a as Division, F as FilterOptions, G as GeoLevel, c as GeoLocation, P as Pourosova,
|
|
2
|
+
export { B as BangladeshGeoData, C as CityCorporation, D as District, a as Division, F as FilterOptions, G as GeoLevel, c as GeoLocation, P as Pourosova, b as Union, U as Upazila, V as Village } from './index-UgYYjMwe.js';
|
package/dist/react.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CityCorporation, D as District, a as Division, U as
|
|
2
|
-
export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation, V as Village } from './index-
|
|
1
|
+
import { C as CityCorporation, D as District, a as Division, U as Upazila, b as Union, P as Pourosova } from './index-UgYYjMwe.js';
|
|
2
|
+
export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation, V as Village } from './index-UgYYjMwe.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* React Hook: Get all divisions
|
|
@@ -39,6 +39,6 @@ declare function useSearch(searchTerm: string): {
|
|
|
39
39
|
/**
|
|
40
40
|
* React Hook: Get location by ID and type
|
|
41
41
|
*/
|
|
42
|
-
declare function useLocationById(id: string | null, type: 'division' | 'district' | 'upazila' | 'union' | 'pourosova' | 'cityCorporation'):
|
|
42
|
+
declare function useLocationById(id: string | null, type: 'division' | 'district' | 'upazila' | 'union' | 'pourosova' | 'cityCorporation'): Division | District | Upazila | Union | CityCorporation | null;
|
|
43
43
|
|
|
44
44
|
export { CityCorporation, District, Division, Pourosova, Union, Upazila, useCityCorporations, useDistricts, useDivisions, useLocationById, usePourosovas, useSearch, useUnions, useUpazilas };
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
import { C as CityCorporation, D as District, a as Division, U as
|
|
4
|
-
export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation, V as Village } from './index-
|
|
3
|
+
import { C as CityCorporation, D as District, a as Division, U as Upazila, b as Union, P as Pourosova } from './index-UgYYjMwe.js';
|
|
4
|
+
export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation, V as Village } from './index-UgYYjMwe.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Vue Composable: Get all divisions
|
|
@@ -56,7 +56,7 @@ declare function useSearch(searchTerm?: Ref<string> | string): {
|
|
|
56
56
|
* Vue Composable: Get location by ID and type
|
|
57
57
|
*/
|
|
58
58
|
declare function useLocationById(id: Ref<string | null> | string | null, type: Ref<'division' | 'district' | 'upazila' | 'union' | 'pourosova' | 'cityCorporation'> | 'division' | 'district' | 'upazila' | 'union' | 'pourosova' | 'cityCorporation'): {
|
|
59
|
-
location: vue.ComputedRef<
|
|
59
|
+
location: vue.ComputedRef<Division | District | Upazila | Union | CityCorporation | null>;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
export { CityCorporation, District, Division, Pourosova, Union, Upazila, useCityCorporations, useDistricts, useDivisions, useLocationById, usePourosovas, useSearch, useUnions, useUpazilas };
|
package/package.json
CHANGED