eastern-area-fe-package 0.3.6 → 0.3.8

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.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lib/staticIcons/map.cjs"),t=require("./lib/tablerIcons.cjs"),n=require("./components/DynamicIcon.cjs"),r=require("./hooks/useDebounce.cjs"),i=require("./lib/cn.cjs"),a=require("./lib/filterParams.cjs"),o=require("./lib/governments.cjs"),s=require("./lib/iconsList.cjs"),c=require("./lib/isValidUUID.cjs"),l=require("./lib/regExp.cjs"),u=require("./lib/routes.cjs"),d=require("./types/request.types.cjs"),f=require("./lib/statusConfig.cjs"),p=require("./types/service.types.cjs"),m=require("./types/sections.types.cjs"),h=require("./types/satisfaction-content.types.cjs"),g=require("./types/media.types.cjs");exports.ALL_ICONS_LIST=s.ALL_ICONS_LIST,exports.DynamicIcon=n.DynamicIcon,exports.EventStatus=g.EventStatus,exports.FieldConditionLogic=p.FieldConditionLogic,exports.FieldConditionOperator=p.FieldConditionOperator,exports.FormFieldType=p.FormFieldType,exports.FormGenderEnum=p.FormGenderEnum,exports.FormTypeEnum=p.FormTypeEnum,exports.GOVERNMENTS=o.GOVERNMENTS,exports.GalleryType=g.GalleryType,exports.MediaType=g.MediaType,exports.NewsCategory=g.NewsCategory,exports.RequestStatus=d.RequestStatus,exports.ResidenceStatusEnum=d.ResidenceStatusEnum,exports.Routes=u.Routes,exports.SECTIONS_KEYS=m.SECTIONS_KEYS,exports.STATIC_ICONS_LIST=e.STATIC_ICONS_LIST,exports.STATIC_ICONS_MAP=e.STATIC_ICONS_MAP,exports.STATUS_CONFIG=f.STATUS_CONFIG,exports.SectionsKey=m.SectionsKey,exports.SpeechRole=h.SpeechRole,exports.TABLER_ICONS_LIST=t.TABLER_ICONS_LIST,exports.TABLER_ICONS_MAP=t.TABLER_ICONS_MAP,exports.ValidationRuleType=p.ValidationRuleType,exports.buildUrlWithSearchParams=a.buildUrlWithSearchParams,exports.cn=i.cn,exports.emailRegExp=l.emailRegExp,exports.getFilterParams=a.getFilterParams,exports.idRegExp=l.idRegExp,exports.isValidUUID=c.isValidUUID,exports.landPhoneNumberRegExp=l.landPhoneNumberRegExp,exports.lettersWithSpacesRegExp=l.lettersWithSpacesRegExp,exports.passportRegExp=l.passportRegExp,exports.phoneNumberRegExp=l.phoneNumberRegExp,exports.postalCodeRegExp=l.postalCodeRegExp,exports.useDebounce=r.useDebounce;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lib/staticIcons/map.cjs"),t=require("./lib/tablerIcons.cjs"),n=require("./components/DynamicIcon.cjs"),r=require("./hooks/useDebounce.cjs"),i=require("./lib/cn.cjs"),a=require("./lib/filterParams.cjs"),o=require("./lib/governments.cjs"),s=require("./lib/iconsList.cjs"),c=require("./lib/isValidUUID.cjs"),l=require("./lib/regExp.cjs"),u=require("./lib/routes.cjs"),d=require("./types/request.types.cjs"),f=require("./lib/statusConfig.cjs"),p=require("./types/service.types.cjs"),m=require("./types/sections.types.cjs"),h=require("./types/satisfaction-content.types.cjs"),g=require("./types/media.types.cjs");exports.ALL_ICONS_LIST=s.ALL_ICONS_LIST,exports.DynamicIcon=n.DynamicIcon,exports.EventStatus=g.EventStatus,exports.FieldConditionLogic=p.FieldConditionLogic,exports.FieldConditionOperator=p.FieldConditionOperator,exports.FormFieldType=p.FormFieldType,exports.FormGenderEnum=p.FormGenderEnum,exports.FormTypeEnum=p.FormTypeEnum,exports.GOVERNMENTS=o.GOVERNMENTS,exports.GalleryType=g.GalleryType,exports.MediaType=g.MediaType,exports.NewsCategory=g.NewsCategory,exports.RequestStatus=d.RequestStatus,exports.ResidenceStatusEnum=d.ResidenceStatusEnum,exports.Routes=u.Routes,exports.SECTIONS_KEYS=m.SECTIONS_KEYS,exports.STATIC_ICONS_LIST=e.STATIC_ICONS_LIST,exports.STATIC_ICONS_MAP=e.STATIC_ICONS_MAP,exports.STATUS_CONFIG=f.STATUS_CONFIG,exports.SectionsKey=m.SectionsKey,exports.SpeechRole=h.SpeechRole,exports.TABLER_ICONS_LIST=t.TABLER_ICONS_LIST,exports.TABLER_ICONS_MAP=t.TABLER_ICONS_MAP,exports.TASHEEL_STATUS_CONFIG=f.TASHEEL_STATUS_CONFIG,exports.TasheelStatus=d.TasheelStatus,exports.ValidationRuleType=p.ValidationRuleType,exports.buildUrlWithSearchParams=a.buildUrlWithSearchParams,exports.cn=i.cn,exports.emailRegExp=l.emailRegExp,exports.getFilterParams=a.getFilterParams,exports.idRegExp=l.idRegExp,exports.isValidUUID=c.isValidUUID,exports.landPhoneNumberRegExp=l.landPhoneNumberRegExp,exports.lettersWithSpacesRegExp=l.lettersWithSpacesRegExp,exports.passportRegExp=l.passportRegExp,exports.phoneNumberRegExp=l.phoneNumberRegExp,exports.postalCodeRegExp=l.postalCodeRegExp,exports.useDebounce=r.useDebounce;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DynamicIcon } from './components';
2
2
  export { useDebounce } from './hooks';
3
- export { ALL_ICONS_LIST, buildUrlWithSearchParams, cn, emailRegExp, getFilterParams, GOVERNMENTS, idRegExp, isValidUUID, landPhoneNumberRegExp, lettersWithSpacesRegExp, passportRegExp, phoneNumberRegExp, postalCodeRegExp, Routes, STATIC_ICONS_LIST, STATIC_ICONS_MAP, STATUS_CONFIG, TABLER_ICONS_LIST, TABLER_ICONS_MAP, type Government, type IconName, type StaticIconName, type StatusConfig, type TablerIconName } from './lib';
3
+ export { ALL_ICONS_LIST, buildUrlWithSearchParams, cn, emailRegExp, getFilterParams, GOVERNMENTS, idRegExp, isValidUUID, landPhoneNumberRegExp, lettersWithSpacesRegExp, passportRegExp, phoneNumberRegExp, postalCodeRegExp, Routes, STATIC_ICONS_LIST, STATIC_ICONS_MAP, STATUS_CONFIG, TABLER_ICONS_LIST, TABLER_ICONS_MAP, TASHEEL_STATUS_CONFIG, type Government, type IconName, type StaticIconName, type StatusConfig, type TablerIconName } from './lib';
4
4
  export * from './types';
5
5
  export type { DynamicIconProps, IconListItem, IconsMap } from './types';
package/dist/index.js CHANGED
@@ -9,10 +9,10 @@ import { ALL_ICONS_LIST as u } from "./lib/iconsList.js";
9
9
  import { isValidUUID as d } from "./lib/isValidUUID.js";
10
10
  import { emailRegExp as f, idRegExp as p, landPhoneNumberRegExp as m, lettersWithSpacesRegExp as h, passportRegExp as g, phoneNumberRegExp as _, postalCodeRegExp as v } from "./lib/regExp.js";
11
11
  import { Routes as y } from "./lib/routes.js";
12
- import { RequestStatus as b, ResidenceStatusEnum as x } from "./types/request.types.js";
13
- import { STATUS_CONFIG as S } from "./lib/statusConfig.js";
14
- import { FieldConditionLogic as C, FieldConditionOperator as w, FormFieldType as T, FormGenderEnum as E, FormTypeEnum as D, ValidationRuleType as O } from "./types/service.types.js";
15
- import { SECTIONS_KEYS as k, SectionsKey as A } from "./types/sections.types.js";
16
- import { SpeechRole as j } from "./types/satisfaction-content.types.js";
17
- import { EventStatus as M, GalleryType as N, MediaType as P, NewsCategory as F } from "./types/media.types.js";
18
- export { u as ALL_ICONS_LIST, i as DynamicIcon, M as EventStatus, C as FieldConditionLogic, w as FieldConditionOperator, T as FormFieldType, E as FormGenderEnum, D as FormTypeEnum, l as GOVERNMENTS, N as GalleryType, P as MediaType, F as NewsCategory, b as RequestStatus, x as ResidenceStatusEnum, y as Routes, k as SECTIONS_KEYS, e as STATIC_ICONS_LIST, t as STATIC_ICONS_MAP, S as STATUS_CONFIG, A as SectionsKey, j as SpeechRole, n as TABLER_ICONS_LIST, r as TABLER_ICONS_MAP, O as ValidationRuleType, s as buildUrlWithSearchParams, o as cn, f as emailRegExp, c as getFilterParams, p as idRegExp, d as isValidUUID, m as landPhoneNumberRegExp, h as lettersWithSpacesRegExp, g as passportRegExp, _ as phoneNumberRegExp, v as postalCodeRegExp, a as useDebounce };
12
+ import { RequestStatus as b, ResidenceStatusEnum as x, TasheelStatus as S } from "./types/request.types.js";
13
+ import { STATUS_CONFIG as C, TASHEEL_STATUS_CONFIG as w } from "./lib/statusConfig.js";
14
+ import { FieldConditionLogic as T, FieldConditionOperator as E, FormFieldType as D, FormGenderEnum as O, FormTypeEnum as k, ValidationRuleType as A } from "./types/service.types.js";
15
+ import { SECTIONS_KEYS as j, SectionsKey as M } from "./types/sections.types.js";
16
+ import { SpeechRole as N } from "./types/satisfaction-content.types.js";
17
+ import { EventStatus as P, GalleryType as F, MediaType as I, NewsCategory as L } from "./types/media.types.js";
18
+ export { u as ALL_ICONS_LIST, i as DynamicIcon, P as EventStatus, T as FieldConditionLogic, E as FieldConditionOperator, D as FormFieldType, O as FormGenderEnum, k as FormTypeEnum, l as GOVERNMENTS, F as GalleryType, I as MediaType, L as NewsCategory, b as RequestStatus, x as ResidenceStatusEnum, y as Routes, j as SECTIONS_KEYS, e as STATIC_ICONS_LIST, t as STATIC_ICONS_MAP, C as STATUS_CONFIG, M as SectionsKey, N as SpeechRole, n as TABLER_ICONS_LIST, r as TABLER_ICONS_MAP, w as TASHEEL_STATUS_CONFIG, S as TasheelStatus, A as ValidationRuleType, s as buildUrlWithSearchParams, o as cn, f as emailRegExp, c as getFilterParams, p as idRegExp, d as isValidUUID, m as landPhoneNumberRegExp, h as lettersWithSpacesRegExp, g as passportRegExp, _ as phoneNumberRegExp, v as postalCodeRegExp, a as useDebounce };
@@ -7,5 +7,5 @@ export { isValidUUID } from './isValidUUID';
7
7
  export { emailRegExp, idRegExp, landPhoneNumberRegExp, lettersWithSpacesRegExp, passportRegExp, phoneNumberRegExp, postalCodeRegExp } from './regExp';
8
8
  export { Routes } from './routes';
9
9
  export { STATIC_ICONS_LIST, STATIC_ICONS_MAP, type StaticIconName } from './staticIcons/index';
10
- export { STATUS_CONFIG, type StatusConfig } from './statusConfig';
10
+ export { STATUS_CONFIG, TASHEEL_STATUS_CONFIG, type StatusConfig } from './statusConfig';
11
11
  export { TABLER_ICONS_LIST, TABLER_ICONS_MAP, type TablerIconName } from './tablerIcons';
@@ -1 +1 @@
1
- const e=require("../types/request.types.cjs");exports.STATUS_CONFIG={[e.RequestStatus.Draft]:{label:`جديد`,color:`blue`,dgaColor:`info`},[e.RequestStatus.InProgress]:{label:`جارى العمل عليه`,color:`orange`,dgaColor:`Warning`},[e.RequestStatus.Approved]:{label:`مقبول`,color:`green`,dgaColor:`success`},[e.RequestStatus.Rejected]:{label:`مرفوض`,color:`red`,dgaColor:`error`},[e.RequestStatus.Completed]:{label:`مكتمل`,color:`brand`,dgaColor:`success`},Draft:{label:`جديد`,color:`blue`,dgaColor:`info`},InProgress:{label:`جارى العمل عليه`,color:`orange`,dgaColor:`Warning`},Approved:{label:`مقبول`,color:`green`,dgaColor:`success`},Rejected:{label:`مرفوض`,color:`red`,dgaColor:`error`},Completed:{label:`مكتمل`,color:`brand`,dgaColor:`success`}};
1
+ const e=require("../types/request.types.cjs");var t={[e.RequestStatus.Draft]:{label:`جديد`,labelEn:`New`,color:`blue`,dgaColor:`info`},[e.RequestStatus.InProgress]:{label:`جارى العمل عليه`,labelEn:`In Progress`,color:`orange`,dgaColor:`Warning`},[e.RequestStatus.Rejected]:{label:`مرفوض`,labelEn:`Rejected`,color:`red`,dgaColor:`error`},[e.RequestStatus.Completed]:{label:`مكتمل`,labelEn:`Completed`,color:`brand`,dgaColor:`success`},Draft:{label:`جديد`,labelEn:`New`,color:`blue`,dgaColor:`info`},InProgress:{label:`جارى العمل عليه`,labelEn:`In Progress`,color:`orange`,dgaColor:`Warning`},Rejected:{label:`مرفوض`,labelEn:`Rejected`,color:`red`,dgaColor:`error`},Completed:{label:`مكتمل`,labelEn:`Completed`,color:`brand`,dgaColor:`success`}},n={[e.TasheelStatus.Saved]:{label:`محفوظ`,labelEn:`Saved`,color:`blue`,dgaColor:`neutral`},[e.TasheelStatus.New]:{label:`جديد`,labelEn:`New`,color:`blue`,dgaColor:`info`},[e.TasheelStatus.Issued]:{label:`صدر`,labelEn:`Issued`,color:`brand`,dgaColor:`success`},[e.TasheelStatus.UnderProcess]:{label:`تحت الاجراء`,labelEn:`Under Process`,color:`orange`,dgaColor:`Warning`}};exports.STATUS_CONFIG=t,exports.TASHEEL_STATUS_CONFIG=n;
@@ -1,7 +1,9 @@
1
- import { RequestStatus } from '../types/request.types';
1
+ import { RequestStatus, TasheelStatus } from '../types/request.types';
2
2
  export interface StatusConfig {
3
3
  label: string;
4
+ labelEn: string;
4
5
  color: string;
5
6
  dgaColor: 'success' | 'neutral' | 'error' | 'Warning' | 'info';
6
7
  }
7
8
  export declare const STATUS_CONFIG: Record<RequestStatus | string | number, StatusConfig>;
9
+ export declare const TASHEEL_STATUS_CONFIG: Record<TasheelStatus, StatusConfig>;
@@ -1,56 +1,79 @@
1
- import { RequestStatus as e } from "../types/request.types.js";
1
+ import { RequestStatus as e, TasheelStatus as t } from "../types/request.types.js";
2
2
  //#region src/lib/statusConfig.ts
3
- var t = {
3
+ var n = {
4
4
  [e.Draft]: {
5
5
  label: "جديد",
6
+ labelEn: "New",
6
7
  color: "blue",
7
8
  dgaColor: "info"
8
9
  },
9
10
  [e.InProgress]: {
10
11
  label: "جارى العمل عليه",
12
+ labelEn: "In Progress",
11
13
  color: "orange",
12
14
  dgaColor: "Warning"
13
15
  },
14
- [e.Approved]: {
15
- label: "مقبول",
16
- color: "green",
17
- dgaColor: "success"
18
- },
19
16
  [e.Rejected]: {
20
17
  label: "مرفوض",
18
+ labelEn: "Rejected",
21
19
  color: "red",
22
20
  dgaColor: "error"
23
21
  },
24
22
  [e.Completed]: {
25
23
  label: "مكتمل",
24
+ labelEn: "Completed",
26
25
  color: "brand",
27
26
  dgaColor: "success"
28
27
  },
29
28
  Draft: {
30
29
  label: "جديد",
30
+ labelEn: "New",
31
31
  color: "blue",
32
32
  dgaColor: "info"
33
33
  },
34
34
  InProgress: {
35
35
  label: "جارى العمل عليه",
36
+ labelEn: "In Progress",
36
37
  color: "orange",
37
38
  dgaColor: "Warning"
38
39
  },
39
- Approved: {
40
- label: "مقبول",
41
- color: "green",
42
- dgaColor: "success"
43
- },
44
40
  Rejected: {
45
41
  label: "مرفوض",
42
+ labelEn: "Rejected",
46
43
  color: "red",
47
44
  dgaColor: "error"
48
45
  },
49
46
  Completed: {
50
47
  label: "مكتمل",
48
+ labelEn: "Completed",
49
+ color: "brand",
50
+ dgaColor: "success"
51
+ }
52
+ }, r = {
53
+ [t.Saved]: {
54
+ label: "محفوظ",
55
+ labelEn: "Saved",
56
+ color: "blue",
57
+ dgaColor: "neutral"
58
+ },
59
+ [t.New]: {
60
+ label: "جديد",
61
+ labelEn: "New",
62
+ color: "blue",
63
+ dgaColor: "info"
64
+ },
65
+ [t.Issued]: {
66
+ label: "صدر",
67
+ labelEn: "Issued",
51
68
  color: "brand",
52
69
  dgaColor: "success"
70
+ },
71
+ [t.UnderProcess]: {
72
+ label: "تحت الاجراء",
73
+ labelEn: "Under Process",
74
+ color: "orange",
75
+ dgaColor: "Warning"
53
76
  }
54
77
  };
55
78
  //#endregion
56
- export { t as STATUS_CONFIG };
79
+ export { n as STATUS_CONFIG, r as TASHEEL_STATUS_CONFIG };
@@ -1 +1 @@
1
- var e=function(e){return e[e.Draft=0]=`Draft`,e[e.InProgress=1]=`InProgress`,e[e.Approved=2]=`Approved`,e[e.Rejected=3]=`Rejected`,e[e.Completed=4]=`Completed`,e}({}),t=function(e){return e[e.Citizen=1]=`Citizen`,e[e.Resident=2]=`Resident`,e[e.Unspecified=3]=`Unspecified`,e}({});exports.RequestStatus=e,exports.ResidenceStatusEnum=t;
1
+ var e=function(e){return e[e.Draft=0]=`Draft`,e[e.InProgress=1]=`InProgress`,e[e.Approved=2]=`Approved`,e[e.Rejected=3]=`Rejected`,e[e.Completed=4]=`Completed`,e}({}),t=function(e){return e.Saved=`محفوظ`,e.New=`جديد`,e.Issued=`صدر`,e.UnderProcess=`تحت الاجراء`,e}({}),n=function(e){return e[e.Citizen=1]=`Citizen`,e[e.Resident=2]=`Resident`,e[e.Unspecified=3]=`Unspecified`,e}({});exports.RequestStatus=e,exports.ResidenceStatusEnum=n,exports.TasheelStatus=t;
@@ -6,6 +6,12 @@ export declare enum RequestStatus {
6
6
  Rejected = 3,
7
7
  Completed = 4
8
8
  }
9
+ export declare enum TasheelStatus {
10
+ Saved = "\u0645\u062D\u0641\u0648\u0638",
11
+ New = "\u062C\u062F\u064A\u062F",
12
+ Issued = "\u0635\u062F\u0631",
13
+ UnderProcess = "\u062A\u062D\u062A \u0627\u0644\u0627\u062C\u0631\u0627\u0621"
14
+ }
9
15
  export declare enum ResidenceStatusEnum {
10
16
  Citizen = 1,
11
17
  Resident = 2,
@@ -2,7 +2,9 @@
2
2
  var e = /* @__PURE__ */ function(e) {
3
3
  return e[e.Draft = 0] = "Draft", e[e.InProgress = 1] = "InProgress", e[e.Approved = 2] = "Approved", e[e.Rejected = 3] = "Rejected", e[e.Completed = 4] = "Completed", e;
4
4
  }({}), t = /* @__PURE__ */ function(e) {
5
+ return e.Saved = "محفوظ", e.New = "جديد", e.Issued = "صدر", e.UnderProcess = "تحت الاجراء", e;
6
+ }({}), n = /* @__PURE__ */ function(e) {
5
7
  return e[e.Citizen = 1] = "Citizen", e[e.Resident = 2] = "Resident", e[e.Unspecified = 3] = "Unspecified", e;
6
8
  }({});
7
9
  //#endregion
8
- export { e as RequestStatus, t as ResidenceStatusEnum };
10
+ export { e as RequestStatus, n as ResidenceStatusEnum, t as TasheelStatus };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./types/request.types.cjs"),t=require("./types/service.types.cjs"),n=require("./types/sections.types.cjs"),r=require("./types/satisfaction-content.types.cjs"),i=require("./types/media.types.cjs");exports.EventStatus=i.EventStatus,exports.FieldConditionLogic=t.FieldConditionLogic,exports.FieldConditionOperator=t.FieldConditionOperator,exports.FormFieldType=t.FormFieldType,exports.FormGenderEnum=t.FormGenderEnum,exports.FormTypeEnum=t.FormTypeEnum,exports.GalleryType=i.GalleryType,exports.MediaType=i.MediaType,exports.NewsCategory=i.NewsCategory,exports.RequestStatus=e.RequestStatus,exports.ResidenceStatusEnum=e.ResidenceStatusEnum,exports.SECTIONS_KEYS=n.SECTIONS_KEYS,exports.SectionsKey=n.SectionsKey,exports.SpeechRole=r.SpeechRole,exports.ValidationRuleType=t.ValidationRuleType;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./types/request.types.cjs"),t=require("./types/service.types.cjs"),n=require("./types/sections.types.cjs"),r=require("./types/satisfaction-content.types.cjs"),i=require("./types/media.types.cjs");exports.EventStatus=i.EventStatus,exports.FieldConditionLogic=t.FieldConditionLogic,exports.FieldConditionOperator=t.FieldConditionOperator,exports.FormFieldType=t.FormFieldType,exports.FormGenderEnum=t.FormGenderEnum,exports.FormTypeEnum=t.FormTypeEnum,exports.GalleryType=i.GalleryType,exports.MediaType=i.MediaType,exports.NewsCategory=i.NewsCategory,exports.RequestStatus=e.RequestStatus,exports.ResidenceStatusEnum=e.ResidenceStatusEnum,exports.SECTIONS_KEYS=n.SECTIONS_KEYS,exports.SectionsKey=n.SectionsKey,exports.SpeechRole=r.SpeechRole,exports.TasheelStatus=e.TasheelStatus,exports.ValidationRuleType=t.ValidationRuleType;
@@ -1,6 +1,6 @@
1
- import { RequestStatus as e, ResidenceStatusEnum as t } from "./types/request.types.js";
2
- import { FieldConditionLogic as n, FieldConditionOperator as r, FormFieldType as i, FormGenderEnum as a, FormTypeEnum as o, ValidationRuleType as s } from "./types/service.types.js";
3
- import { SECTIONS_KEYS as c, SectionsKey as l } from "./types/sections.types.js";
4
- import { SpeechRole as u } from "./types/satisfaction-content.types.js";
5
- import { EventStatus as d, GalleryType as f, MediaType as p, NewsCategory as m } from "./types/media.types.js";
6
- export { d as EventStatus, n as FieldConditionLogic, r as FieldConditionOperator, i as FormFieldType, a as FormGenderEnum, o as FormTypeEnum, f as GalleryType, p as MediaType, m as NewsCategory, e as RequestStatus, t as ResidenceStatusEnum, c as SECTIONS_KEYS, l as SectionsKey, u as SpeechRole, s as ValidationRuleType };
1
+ import { RequestStatus as e, ResidenceStatusEnum as t, TasheelStatus as n } from "./types/request.types.js";
2
+ import { FieldConditionLogic as r, FieldConditionOperator as i, FormFieldType as a, FormGenderEnum as o, FormTypeEnum as s, ValidationRuleType as c } from "./types/service.types.js";
3
+ import { SECTIONS_KEYS as l, SectionsKey as u } from "./types/sections.types.js";
4
+ import { SpeechRole as d } from "./types/satisfaction-content.types.js";
5
+ import { EventStatus as f, GalleryType as p, MediaType as m, NewsCategory as h } from "./types/media.types.js";
6
+ export { f as EventStatus, r as FieldConditionLogic, i as FieldConditionOperator, a as FormFieldType, o as FormGenderEnum, s as FormTypeEnum, p as GalleryType, m as MediaType, h as NewsCategory, e as RequestStatus, t as ResidenceStatusEnum, l as SECTIONS_KEYS, u as SectionsKey, d as SpeechRole, n as TasheelStatus, c as ValidationRuleType };
package/dist/utils.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lib/cn.cjs"),t=require("./lib/filterParams.cjs"),n=require("./lib/governments.cjs"),r=require("./lib/isValidUUID.cjs"),i=require("./lib/regExp.cjs"),a=require("./lib/statusConfig.cjs");exports.GOVERNMENTS=n.GOVERNMENTS,exports.STATUS_CONFIG=a.STATUS_CONFIG,exports.buildUrlWithSearchParams=t.buildUrlWithSearchParams,exports.cn=e.cn,exports.emailRegExp=i.emailRegExp,exports.getFilterParams=t.getFilterParams,exports.idRegExp=i.idRegExp,exports.isValidUUID=r.isValidUUID,exports.landPhoneNumberRegExp=i.landPhoneNumberRegExp,exports.lettersWithSpacesRegExp=i.lettersWithSpacesRegExp,exports.passportRegExp=i.passportRegExp,exports.phoneNumberRegExp=i.phoneNumberRegExp,exports.postalCodeRegExp=i.postalCodeRegExp;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./lib/cn.cjs"),t=require("./lib/filterParams.cjs"),n=require("./lib/governments.cjs"),r=require("./lib/isValidUUID.cjs"),i=require("./lib/regExp.cjs"),a=require("./lib/statusConfig.cjs");exports.GOVERNMENTS=n.GOVERNMENTS,exports.STATUS_CONFIG=a.STATUS_CONFIG,exports.TASHEEL_STATUS_CONFIG=a.TASHEEL_STATUS_CONFIG,exports.buildUrlWithSearchParams=t.buildUrlWithSearchParams,exports.cn=e.cn,exports.emailRegExp=i.emailRegExp,exports.getFilterParams=t.getFilterParams,exports.idRegExp=i.idRegExp,exports.isValidUUID=r.isValidUUID,exports.landPhoneNumberRegExp=i.landPhoneNumberRegExp,exports.lettersWithSpacesRegExp=i.lettersWithSpacesRegExp,exports.passportRegExp=i.passportRegExp,exports.phoneNumberRegExp=i.phoneNumberRegExp,exports.postalCodeRegExp=i.postalCodeRegExp;
package/dist/utils.d.ts CHANGED
@@ -2,5 +2,5 @@ export { cn } from './lib/cn';
2
2
  export { buildUrlWithSearchParams, getFilterParams } from './lib/filterParams';
3
3
  export { GOVERNMENTS, type Government } from './lib/governments';
4
4
  export { isValidUUID } from './lib/isValidUUID';
5
- export { emailRegExp, idRegExp, landPhoneNumberRegExp, lettersWithSpacesRegExp, passportRegExp, phoneNumberRegExp, postalCodeRegExp, } from './lib/regExp';
6
- export { STATUS_CONFIG, type StatusConfig } from './lib/statusConfig';
5
+ export { emailRegExp, idRegExp, landPhoneNumberRegExp, lettersWithSpacesRegExp, passportRegExp, phoneNumberRegExp, postalCodeRegExp } from './lib/regExp';
6
+ export { STATUS_CONFIG, TASHEEL_STATUS_CONFIG, type StatusConfig } from './lib/statusConfig';
package/dist/utils.js CHANGED
@@ -3,5 +3,5 @@ import { buildUrlWithSearchParams as t, getFilterParams as n } from "./lib/filte
3
3
  import { GOVERNMENTS as r } from "./lib/governments.js";
4
4
  import { isValidUUID as i } from "./lib/isValidUUID.js";
5
5
  import { emailRegExp as a, idRegExp as o, landPhoneNumberRegExp as s, lettersWithSpacesRegExp as c, passportRegExp as l, phoneNumberRegExp as u, postalCodeRegExp as d } from "./lib/regExp.js";
6
- import { STATUS_CONFIG as f } from "./lib/statusConfig.js";
7
- export { r as GOVERNMENTS, f as STATUS_CONFIG, t as buildUrlWithSearchParams, e as cn, a as emailRegExp, n as getFilterParams, o as idRegExp, i as isValidUUID, s as landPhoneNumberRegExp, c as lettersWithSpacesRegExp, l as passportRegExp, u as phoneNumberRegExp, d as postalCodeRegExp };
6
+ import { STATUS_CONFIG as f, TASHEEL_STATUS_CONFIG as p } from "./lib/statusConfig.js";
7
+ export { r as GOVERNMENTS, f as STATUS_CONFIG, p as TASHEEL_STATUS_CONFIG, t as buildUrlWithSearchParams, e as cn, a as emailRegExp, n as getFilterParams, o as idRegExp, i as isValidUUID, s as landPhoneNumberRegExp, c as lettersWithSpacesRegExp, l as passportRegExp, u as phoneNumberRegExp, d as postalCodeRegExp };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eastern-area-fe-package",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Shared React components and utilities between eastern-area-fe and eastern-area-crm-fe",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",