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, Union as U, Village as V, Division as a, Upazila as b, GeoLocation as c };
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, b as Upazila, P as Pourosova, U as Union, V as Village } from './index-DgWD2EyA.js';
2
- export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation } from './index-DgWD2EyA.js';
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
  {
@@ -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, U as Union, b as Upazila, V as Village } from './index-DgWD2EyA.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, 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 Union, b as Upazila, P as Pourosova } from './index-DgWD2EyA.js';
2
- export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation, V as Village } from './index-DgWD2EyA.js';
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'): Union | Upazila | CityCorporation | District | Division | null;
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 Union, b as Upazila, P as Pourosova } from './index-DgWD2EyA.js';
4
- export { B as BangladeshGeoData, F as FilterOptions, G as GeoLevel, c as GeoLocation, V as Village } from './index-DgWD2EyA.js';
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<Union | Upazila | CityCorporation | District | Division | null>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bd-geo-location",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Bangladesh geographical location data - Divisions, Districts, Upazilas/Thanas, Unions, Pourosovas, and Villages",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",