@kashi-ui/persian 0.11.0 → 0.12.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/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/provinces.d.ts +8 -0
- package/dist/provinces.js +33 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19,3 +19,5 @@ export type { Plate, PlateType } from "./plate.js";
|
|
|
19
19
|
export { parseTime, formatTime } from "./time.js";
|
|
20
20
|
export type { Time } from "./time.js";
|
|
21
21
|
export { normalizeLandline, getLandlineProvince, isValidLandline, formatLandline } from "./landline.js";
|
|
22
|
+
export { PROVINCES } from "./provinces.js";
|
|
23
|
+
export type { Province } from "./provinces.js";
|
package/dist/index.js
CHANGED
|
@@ -11,3 +11,4 @@ export { isValidPostalCode, formatPostalCode } from "./postal.js";
|
|
|
11
11
|
export { PLATE_LETTERS, isValidPlate, formatPlate, plateType } from "./plate.js";
|
|
12
12
|
export { parseTime, formatTime } from "./time.js";
|
|
13
13
|
export { normalizeLandline, getLandlineProvince, isValidLandline, formatLandline } from "./landline.js";
|
|
14
|
+
export { PROVINCES } from "./provinces.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export const PROVINCES = [
|
|
2
|
+
{ name: "آذربایجان شرقی", capital: "تبریز", areaCode: "41" },
|
|
3
|
+
{ name: "آذربایجان غربی", capital: "ارومیه", areaCode: "44" },
|
|
4
|
+
{ name: "اردبیل", capital: "اردبیل", areaCode: "45" },
|
|
5
|
+
{ name: "اصفهان", capital: "اصفهان", areaCode: "31" },
|
|
6
|
+
{ name: "البرز", capital: "کرج", areaCode: "26" },
|
|
7
|
+
{ name: "ایلام", capital: "ایلام", areaCode: "84" },
|
|
8
|
+
{ name: "بوشهر", capital: "بوشهر", areaCode: "77" },
|
|
9
|
+
{ name: "تهران", capital: "تهران", areaCode: "21" },
|
|
10
|
+
{ name: "چهارمحال و بختیاری", capital: "شهرکرد", areaCode: "38" },
|
|
11
|
+
{ name: "خراسان جنوبی", capital: "بیرجند", areaCode: "56" },
|
|
12
|
+
{ name: "خراسان رضوی", capital: "مشهد", areaCode: "51" },
|
|
13
|
+
{ name: "خراسان شمالی", capital: "بجنورد", areaCode: "58" },
|
|
14
|
+
{ name: "خوزستان", capital: "اهواز", areaCode: "61" },
|
|
15
|
+
{ name: "زنجان", capital: "زنجان", areaCode: "24" },
|
|
16
|
+
{ name: "سمنان", capital: "سمنان", areaCode: "23" },
|
|
17
|
+
{ name: "سیستان و بلوچستان", capital: "زاهدان", areaCode: "54" },
|
|
18
|
+
{ name: "فارس", capital: "شیراز", areaCode: "71" },
|
|
19
|
+
{ name: "قزوین", capital: "قزوین", areaCode: "28" },
|
|
20
|
+
{ name: "قم", capital: "قم", areaCode: "25" },
|
|
21
|
+
{ name: "کردستان", capital: "سنندج", areaCode: "87" },
|
|
22
|
+
{ name: "کرمان", capital: "کرمان", areaCode: "34" },
|
|
23
|
+
{ name: "کرمانشاه", capital: "کرمانشاه", areaCode: "83" },
|
|
24
|
+
{ name: "کهگیلویه و بویراحمد", capital: "یاسوج", areaCode: "74" },
|
|
25
|
+
{ name: "گلستان", capital: "گرگان", areaCode: "17" },
|
|
26
|
+
{ name: "گیلان", capital: "رشت", areaCode: "13" },
|
|
27
|
+
{ name: "لرستان", capital: "خرمآباد", areaCode: "66" },
|
|
28
|
+
{ name: "مازندران", capital: "ساری", areaCode: "11" },
|
|
29
|
+
{ name: "مرکزی", capital: "اراک", areaCode: "86" },
|
|
30
|
+
{ name: "هرمزگان", capital: "بندرعباس", areaCode: "76" },
|
|
31
|
+
{ name: "همدان", capital: "همدان", areaCode: "81" },
|
|
32
|
+
{ name: "یزد", capital: "یزد", areaCode: "35" },
|
|
33
|
+
];
|