eastern-area-fe-package 0.2.5 → 0.2.7
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 +3 -3
- package/dist/index.js +12686 -12513
- package/dist/lib/index.d.ts +6 -5
- package/dist/lib/routes.d.ts +52 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/sections.types.d.ts +55 -0
- package/package.json +1 -1
- package/dist/types/home.types.d.ts +0 -22
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export { cn } from './cn';
|
|
2
|
-
export {
|
|
2
|
+
export { DGA_COLORS } from './colors';
|
|
3
|
+
export { buildUrlWithSearchParams, getFilterParams } from './filterParams';
|
|
3
4
|
export { GOVERNMENTS, type Government } from './governments';
|
|
4
|
-
export { isValidUUID } from './isValidUUID';
|
|
5
5
|
export { ALL_ICONS_LIST, type IconName } from './iconsList';
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
6
|
+
export { isValidUUID } from './isValidUUID';
|
|
7
|
+
export { emailRegExp, idRegExp, landPhoneNumberRegExp, lettersWithSpacesRegExp, passportRegExp, phoneNumberRegExp, postalCodeRegExp } from './regExp';
|
|
8
|
+
export { Routes } from './routes';
|
|
8
9
|
export { STATIC_ICONS_LIST, STATIC_ICONS_MAP, type StaticIconName } from './staticIcons';
|
|
10
|
+
export { STATUS_CONFIG, type StatusConfig } from './statusConfig';
|
|
9
11
|
export { TABLER_ICONS_LIST, TABLER_ICONS_MAP, type TablerIconName } from './tablerIcons';
|
|
10
|
-
export { DGA_COLORS } from './colors';
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const Routes: {
|
|
2
|
+
homepage: string;
|
|
3
|
+
notFound: string;
|
|
4
|
+
pageDetails: string;
|
|
5
|
+
account: string;
|
|
6
|
+
participateWithUs: string;
|
|
7
|
+
beneficiaryCareCenter: string;
|
|
8
|
+
faq: string;
|
|
9
|
+
safeUsagePolicy: string;
|
|
10
|
+
electronicServices: string;
|
|
11
|
+
emirateEasternProvince: string;
|
|
12
|
+
mediaCenter: string;
|
|
13
|
+
aboutEmirate: string;
|
|
14
|
+
regionalPrinces: string;
|
|
15
|
+
deputyPrinces: string;
|
|
16
|
+
emarahResponsibilities: string;
|
|
17
|
+
organizationalStructure: string;
|
|
18
|
+
regionPrince: string;
|
|
19
|
+
deputyPrince: string;
|
|
20
|
+
governorates: string;
|
|
21
|
+
governoratesDetail: string;
|
|
22
|
+
regionalCouncil: string;
|
|
23
|
+
sitemap: string;
|
|
24
|
+
electronicParticipation: string;
|
|
25
|
+
electronicParticipationPolicy: string;
|
|
26
|
+
serviceLevelAgreement: string;
|
|
27
|
+
privacyPolicy: string;
|
|
28
|
+
searchResults: string;
|
|
29
|
+
newsEmirate: string;
|
|
30
|
+
newsEmirateDetail: string;
|
|
31
|
+
eventsAndActivities: string;
|
|
32
|
+
eventsAndActivitiesDetails: string;
|
|
33
|
+
mediaGallery: string;
|
|
34
|
+
mediaDetails: string;
|
|
35
|
+
beneficiarySatisfactionMeasurement: string;
|
|
36
|
+
openData: string;
|
|
37
|
+
callback: string;
|
|
38
|
+
logoutCallback: string;
|
|
39
|
+
socialMedia: string;
|
|
40
|
+
CoDevelopmentAndIdeas: string;
|
|
41
|
+
beneficiaryVoiceReports: string;
|
|
42
|
+
electronicConsultations: string;
|
|
43
|
+
websiteAndServicesStatistics: string;
|
|
44
|
+
beneficiaryCareApply: string;
|
|
45
|
+
serviceEvaluation: string;
|
|
46
|
+
accessToInformationPolicy: string;
|
|
47
|
+
transactionResult: string;
|
|
48
|
+
surveys: string;
|
|
49
|
+
surveysApply: string;
|
|
50
|
+
electronicServicesDetails: string;
|
|
51
|
+
electronicServicesApply: string;
|
|
52
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export * from './request.types';
|
|
|
4
4
|
export * from './satisfaction-survey.types';
|
|
5
5
|
export * from './site-evaluation.types';
|
|
6
6
|
export * from './footer.types';
|
|
7
|
-
export * from './
|
|
7
|
+
export * from './sections.types';
|
|
8
8
|
export * from './pages.types';
|
|
9
9
|
export * from './governorate.types';
|
|
10
10
|
export * from './participation.types';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare enum SectionsKey {
|
|
2
|
+
Hero = "hero",
|
|
3
|
+
About = "about",
|
|
4
|
+
Stats = "stats",
|
|
5
|
+
Services = "services",
|
|
6
|
+
Governorates = "governorates",
|
|
7
|
+
News = "news",
|
|
8
|
+
Partners = "partners",
|
|
9
|
+
Contact = "contact",
|
|
10
|
+
RelatedNews = "relatedNews",
|
|
11
|
+
NumbersAndAchievements = "numbersAndAchievements",
|
|
12
|
+
ReportsAndComplaints = "reportsAndComplaints",
|
|
13
|
+
MostVisitedPages = "mostVisitedPages",
|
|
14
|
+
MostReadTopics = "mostReadTopics",
|
|
15
|
+
EventsAndActivities = "eventsAndActivities",
|
|
16
|
+
Media = "media",
|
|
17
|
+
LatestNews = "latestNews",
|
|
18
|
+
EasternProvinceEmirate = "easternProvinceEmirate",
|
|
19
|
+
Statistics = "statistics",
|
|
20
|
+
EmaraTasks = "emaraTasks",
|
|
21
|
+
CommentsAndSuggestions = "commentsAndSuggestions",
|
|
22
|
+
MostUsedServices = "mostUsedServices",
|
|
23
|
+
BeneficiarySatisfactionMeasurement = "beneficiarySatisfactionMeasurement",
|
|
24
|
+
ElectronicParticipation = "electronicParticipation",
|
|
25
|
+
LogoOfWebsite = "logoOfWebsite",
|
|
26
|
+
DynamicPages = "dynamicPages"
|
|
27
|
+
}
|
|
28
|
+
export interface SectionKeyOption {
|
|
29
|
+
labelAr: string;
|
|
30
|
+
labelEn: string;
|
|
31
|
+
value: SectionsKey;
|
|
32
|
+
}
|
|
33
|
+
export declare const SECTIONS_KEYS: SectionKeyOption[];
|
|
34
|
+
export interface HomeSectionImage {
|
|
35
|
+
id: string;
|
|
36
|
+
homeSectionId?: string;
|
|
37
|
+
imageUrl: string | File;
|
|
38
|
+
language?: number;
|
|
39
|
+
order: number;
|
|
40
|
+
}
|
|
41
|
+
export interface HomeSection {
|
|
42
|
+
id: string;
|
|
43
|
+
key: string;
|
|
44
|
+
title: string;
|
|
45
|
+
titleEn: string;
|
|
46
|
+
description: string;
|
|
47
|
+
descriptionEn: string;
|
|
48
|
+
buttonLabel: string;
|
|
49
|
+
buttonLabelEn: string;
|
|
50
|
+
order: number;
|
|
51
|
+
isActive: boolean;
|
|
52
|
+
images: HomeSectionImage[];
|
|
53
|
+
createdAt?: string;
|
|
54
|
+
updatedAt?: string;
|
|
55
|
+
}
|
package/package.json
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface HomeSectionImage {
|
|
2
|
-
id: string;
|
|
3
|
-
homeSectionId?: string;
|
|
4
|
-
imageUrl: string | File;
|
|
5
|
-
language?: number;
|
|
6
|
-
order: number;
|
|
7
|
-
}
|
|
8
|
-
export interface HomeSection {
|
|
9
|
-
id: string;
|
|
10
|
-
key: string;
|
|
11
|
-
title: string;
|
|
12
|
-
titleEn: string;
|
|
13
|
-
description: string;
|
|
14
|
-
descriptionEn: string;
|
|
15
|
-
buttonLabel: string;
|
|
16
|
-
buttonLabelEn: string;
|
|
17
|
-
order: number;
|
|
18
|
-
isActive: boolean;
|
|
19
|
-
images: HomeSectionImage[];
|
|
20
|
-
createdAt?: string;
|
|
21
|
-
updatedAt?: string;
|
|
22
|
-
}
|