eastern-area-fe-package 0.3.7 → 0.3.9
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/statusConfig.cjs +1 -1
- package/dist/lib/statusConfig.js +28 -3
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +2 -2
- package/package.json +1 -1
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.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;
|
|
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
|
@@ -10,9 +10,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
12
|
import { RequestStatus as b, ResidenceStatusEnum as x, TasheelStatus as S } from "./types/request.types.js";
|
|
13
|
-
import { STATUS_CONFIG as C } from "./lib/statusConfig.js";
|
|
14
|
-
import { FieldConditionLogic as
|
|
15
|
-
import { SECTIONS_KEYS as
|
|
16
|
-
import { SpeechRole as
|
|
17
|
-
import { EventStatus as
|
|
18
|
-
export { u as ALL_ICONS_LIST, i as DynamicIcon,
|
|
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 };
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -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");
|
|
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:`red`,dgaColor:`error`},[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;
|
package/dist/lib/statusConfig.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
3
|
+
var n = {
|
|
4
4
|
[e.Draft]: {
|
|
5
5
|
label: "جديد",
|
|
6
6
|
labelEn: "New",
|
|
@@ -49,6 +49,31 @@ var t = {
|
|
|
49
49
|
color: "brand",
|
|
50
50
|
dgaColor: "success"
|
|
51
51
|
}
|
|
52
|
+
}, r = {
|
|
53
|
+
[t.Saved]: {
|
|
54
|
+
label: "محفوظ",
|
|
55
|
+
labelEn: "Saved",
|
|
56
|
+
color: "red",
|
|
57
|
+
dgaColor: "error"
|
|
58
|
+
},
|
|
59
|
+
[t.New]: {
|
|
60
|
+
label: "جديد",
|
|
61
|
+
labelEn: "New",
|
|
62
|
+
color: "blue",
|
|
63
|
+
dgaColor: "info"
|
|
64
|
+
},
|
|
65
|
+
[t.Issued]: {
|
|
66
|
+
label: "صدر",
|
|
67
|
+
labelEn: "Issued",
|
|
68
|
+
color: "brand",
|
|
69
|
+
dgaColor: "success"
|
|
70
|
+
},
|
|
71
|
+
[t.UnderProcess]: {
|
|
72
|
+
label: "تحت الاجراء",
|
|
73
|
+
labelEn: "Under Process",
|
|
74
|
+
color: "orange",
|
|
75
|
+
dgaColor: "Warning"
|
|
76
|
+
}
|
|
52
77
|
};
|
|
53
78
|
//#endregion
|
|
54
|
-
export {
|
|
79
|
+
export { n as STATUS_CONFIG, r as TASHEEL_STATUS_CONFIG };
|
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
|
|
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 };
|