eastern-area-fe-package 0.2.5 → 0.2.6
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.js +143 -15
- 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/index.js
CHANGED
|
@@ -59507,7 +59507,7 @@ var f = (e) => {
|
|
|
59507
59507
|
}], ["path", {
|
|
59508
59508
|
d: "M13 20v-6a1 1 0 0 1 1 -1h6v-7a2 2 0 0 0 -2 -2h-12a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7",
|
|
59509
59509
|
key: "svg-1"
|
|
59510
|
-
}]]),
|
|
59510
|
+
}]]), Xee = p("outline", "notebook-off", "NotebookOff", [
|
|
59511
59511
|
["path", {
|
|
59512
59512
|
d: "M8 4h9a2 2 0 0 1 2 2v9m-.179 3.828a2 2 0 0 1 -1.821 1.172h-11a1 1 0 0 1 -1 -1v-14m4 -1v1m0 4v13",
|
|
59513
59513
|
key: "svg-0"
|
|
@@ -59520,7 +59520,7 @@ var f = (e) => {
|
|
|
59520
59520
|
d: "M3 3l18 18",
|
|
59521
59521
|
key: "svg-2"
|
|
59522
59522
|
}]
|
|
59523
|
-
]),
|
|
59523
|
+
]), Zee = p("outline", "notebook", "Notebook", [
|
|
59524
59524
|
["path", {
|
|
59525
59525
|
d: "M6 4h11a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-11a1 1 0 0 1 -1 -1v-14a1 1 0 0 1 1 -1m3 0v18",
|
|
59526
59526
|
key: "svg-0"
|
|
@@ -59533,7 +59533,7 @@ var f = (e) => {
|
|
|
59533
59533
|
d: "M13 12l2 0",
|
|
59534
59534
|
key: "svg-2"
|
|
59535
59535
|
}]
|
|
59536
|
-
]),
|
|
59536
|
+
]), Qee = p("outline", "notes-off", "NotesOff", [
|
|
59537
59537
|
["path", {
|
|
59538
59538
|
d: "M7 3h10a2 2 0 0 1 2 2v10m0 4a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-14",
|
|
59539
59539
|
key: "svg-0"
|
|
@@ -59554,7 +59554,7 @@ var f = (e) => {
|
|
|
59554
59554
|
d: "M3 3l18 18",
|
|
59555
59555
|
key: "svg-4"
|
|
59556
59556
|
}]
|
|
59557
|
-
]),
|
|
59557
|
+
]), $ee = p("outline", "notes", "Notes", [
|
|
59558
59558
|
["path", {
|
|
59559
59559
|
d: "M5 5a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -14",
|
|
59560
59560
|
key: "svg-0"
|
|
@@ -59571,7 +59571,7 @@ var f = (e) => {
|
|
|
59571
59571
|
d: "M9 15l4 0",
|
|
59572
59572
|
key: "svg-3"
|
|
59573
59573
|
}]
|
|
59574
|
-
]),
|
|
59574
|
+
]), Y = p("outline", "notification-off", "NotificationOff", [
|
|
59575
59575
|
["path", {
|
|
59576
59576
|
d: "M6.154 6.187a2 2 0 0 0 -1.154 1.813v9a2 2 0 0 0 2 2h9a2 2 0 0 0 1.811 -1.151",
|
|
59577
59577
|
key: "svg-0"
|
|
@@ -94193,12 +94193,12 @@ var f = (e) => {
|
|
|
94193
94193
|
IconNotdef: () => qee,
|
|
94194
94194
|
IconNote: () => Yee,
|
|
94195
94195
|
IconNoteOff: () => Jee,
|
|
94196
|
-
IconNotebook: () =>
|
|
94197
|
-
IconNotebookOff: () =>
|
|
94198
|
-
IconNotes: () =>
|
|
94199
|
-
IconNotesOff: () =>
|
|
94196
|
+
IconNotebook: () => Zee,
|
|
94197
|
+
IconNotebookOff: () => Xee,
|
|
94198
|
+
IconNotes: () => $ee,
|
|
94199
|
+
IconNotesOff: () => Qee,
|
|
94200
94200
|
IconNotification: () => ete,
|
|
94201
|
-
IconNotificationOff: () =>
|
|
94201
|
+
IconNotificationOff: () => Y,
|
|
94202
94202
|
IconNumber: () => sre,
|
|
94203
94203
|
IconNumber0: () => nte,
|
|
94204
94204
|
IconNumber0Small: () => tte,
|
|
@@ -96210,15 +96210,143 @@ var fXe = /* @__PURE__ */ function(e) {
|
|
|
96210
96210
|
}({}), _Xe = /* @__PURE__ */ function(e) {
|
|
96211
96211
|
return e[e.Male = 1] = "Male", e[e.Female = 2] = "Female", e[e.Anyone = 3] = "Anyone", e;
|
|
96212
96212
|
}({}), vXe = /* @__PURE__ */ function(e) {
|
|
96213
|
+
return e.Hero = "hero", e.About = "about", e.Stats = "stats", e.Services = "services", e.Governorates = "governorates", e.News = "news", e.Partners = "partners", e.Contact = "contact", e.RelatedNews = "relatedNews", e.NumbersAndAchievements = "numbersAndAchievements", e.ReportsAndComplaints = "reportsAndComplaints", e.MostVisitedPages = "mostVisitedPages", e.MostReadTopics = "mostReadTopics", e.EventsAndActivities = "eventsAndActivities", e.Media = "media", e.LatestNews = "latestNews", e.EasternProvinceEmirate = "easternProvinceEmirate", e.Statistics = "statistics", e.EmaraTasks = "emaraTasks", e.CommentsAndSuggestions = "commentsAndSuggestions", e.MostUsedServices = "mostUsedServices", e.BeneficiarySatisfactionMeasurement = "beneficiarySatisfactionMeasurement", e.ElectronicParticipation = "electronicParticipation", e.LogoOfWebsite = "logoOfWebsite", e.DynamicPages = "dynamicPages", e;
|
|
96214
|
+
}({}), yXe = [
|
|
96215
|
+
{
|
|
96216
|
+
labelAr: "البانر الرئيسي",
|
|
96217
|
+
labelEn: "Hero",
|
|
96218
|
+
value: "hero"
|
|
96219
|
+
},
|
|
96220
|
+
{
|
|
96221
|
+
labelAr: "عن الإمارة",
|
|
96222
|
+
labelEn: "About",
|
|
96223
|
+
value: "about"
|
|
96224
|
+
},
|
|
96225
|
+
{
|
|
96226
|
+
labelAr: "إحصائيات وأرقام",
|
|
96227
|
+
labelEn: "Stats",
|
|
96228
|
+
value: "stats"
|
|
96229
|
+
},
|
|
96230
|
+
{
|
|
96231
|
+
labelAr: "الخدمات الإلكترونية",
|
|
96232
|
+
labelEn: "Services",
|
|
96233
|
+
value: "services"
|
|
96234
|
+
},
|
|
96235
|
+
{
|
|
96236
|
+
labelAr: "المحافظات",
|
|
96237
|
+
labelEn: "Governorates",
|
|
96238
|
+
value: "governorates"
|
|
96239
|
+
},
|
|
96240
|
+
{
|
|
96241
|
+
labelAr: "الأخبار",
|
|
96242
|
+
labelEn: "News",
|
|
96243
|
+
value: "news"
|
|
96244
|
+
},
|
|
96245
|
+
{
|
|
96246
|
+
labelAr: "الشركاء",
|
|
96247
|
+
labelEn: "Partners",
|
|
96248
|
+
value: "partners"
|
|
96249
|
+
},
|
|
96250
|
+
{
|
|
96251
|
+
labelAr: "توصل",
|
|
96252
|
+
labelEn: "Contact",
|
|
96253
|
+
value: "contact"
|
|
96254
|
+
},
|
|
96255
|
+
{
|
|
96256
|
+
labelAr: "أخبار ذات صلّة",
|
|
96257
|
+
labelEn: "Related News",
|
|
96258
|
+
value: "relatedNews"
|
|
96259
|
+
},
|
|
96260
|
+
{
|
|
96261
|
+
labelAr: "الأرقام والإنجازات",
|
|
96262
|
+
labelEn: "Numbers and Achievements",
|
|
96263
|
+
value: "numbersAndAchievements"
|
|
96264
|
+
},
|
|
96265
|
+
{
|
|
96266
|
+
labelAr: "التقارير والشكاوى",
|
|
96267
|
+
labelEn: "Reports and Complaints",
|
|
96268
|
+
value: "reportsAndComplaints"
|
|
96269
|
+
},
|
|
96270
|
+
{
|
|
96271
|
+
labelAr: "الصفحات الأعلى زيارة",
|
|
96272
|
+
labelEn: "Most Visited Pages",
|
|
96273
|
+
value: "mostVisitedPages"
|
|
96274
|
+
},
|
|
96275
|
+
{
|
|
96276
|
+
labelAr: "المواضيع الأكثر قراءة",
|
|
96277
|
+
labelEn: "Most Read Topics",
|
|
96278
|
+
value: "mostReadTopics"
|
|
96279
|
+
},
|
|
96280
|
+
{
|
|
96281
|
+
labelAr: "الفعاليات والأنشطة",
|
|
96282
|
+
labelEn: "Events and Activities",
|
|
96283
|
+
value: "eventsAndActivities"
|
|
96284
|
+
},
|
|
96285
|
+
{
|
|
96286
|
+
labelAr: "الوسائط",
|
|
96287
|
+
labelEn: "Media",
|
|
96288
|
+
value: "media"
|
|
96289
|
+
},
|
|
96290
|
+
{
|
|
96291
|
+
labelAr: "آخر الأخبار",
|
|
96292
|
+
labelEn: "Latest News",
|
|
96293
|
+
value: "latestNews"
|
|
96294
|
+
},
|
|
96295
|
+
{
|
|
96296
|
+
labelAr: "إمارة المنطقة الشرقية",
|
|
96297
|
+
labelEn: "Eastern Province Emirate",
|
|
96298
|
+
value: "easternProvinceEmirate"
|
|
96299
|
+
},
|
|
96300
|
+
{
|
|
96301
|
+
labelAr: "الإحصائيات",
|
|
96302
|
+
labelEn: "Statistics",
|
|
96303
|
+
value: "statistics"
|
|
96304
|
+
},
|
|
96305
|
+
{
|
|
96306
|
+
labelAr: "مهام الإمارة",
|
|
96307
|
+
labelEn: "Emara Tasks",
|
|
96308
|
+
value: "emaraTasks"
|
|
96309
|
+
},
|
|
96310
|
+
{
|
|
96311
|
+
labelAr: "التعليقات و الإقتراحات",
|
|
96312
|
+
labelEn: "Comments and Suggestions",
|
|
96313
|
+
value: "commentsAndSuggestions"
|
|
96314
|
+
},
|
|
96315
|
+
{
|
|
96316
|
+
labelAr: "الخدمات الأكثر استخداماً",
|
|
96317
|
+
labelEn: "Most Used Services",
|
|
96318
|
+
value: "mostUsedServices"
|
|
96319
|
+
},
|
|
96320
|
+
{
|
|
96321
|
+
labelAr: "قياس رضا المستفيد",
|
|
96322
|
+
labelEn: "Beneficiary Satisfaction Measurement",
|
|
96323
|
+
value: "beneficiarySatisfactionMeasurement"
|
|
96324
|
+
},
|
|
96325
|
+
{
|
|
96326
|
+
labelAr: "المشاركة الإلكترونية",
|
|
96327
|
+
labelEn: "Electronic Participation",
|
|
96328
|
+
value: "electronicParticipation"
|
|
96329
|
+
},
|
|
96330
|
+
{
|
|
96331
|
+
labelAr: "لوجو الموقع",
|
|
96332
|
+
labelEn: "Logo of Website",
|
|
96333
|
+
value: "logoOfWebsite"
|
|
96334
|
+
},
|
|
96335
|
+
{
|
|
96336
|
+
labelAr: "الصفحات الديناميكية",
|
|
96337
|
+
labelEn: "Dynamic Pages",
|
|
96338
|
+
value: "dynamicPages"
|
|
96339
|
+
}
|
|
96340
|
+
], bXe = /* @__PURE__ */ function(e) {
|
|
96213
96341
|
return e[e.Prince = 0] = "Prince", e[e.DeputyPrince = 1] = "DeputyPrince", e[e.ExecutiveCommittee = 2] = "ExecutiveCommittee", e;
|
|
96214
|
-
}({}),
|
|
96342
|
+
}({}), xXe = /* @__PURE__ */ function(e) {
|
|
96215
96343
|
return e[e.General = 1] = "General", e[e.Emirate = 2] = "Emirate", e[e.Projects = 3] = "Projects", e;
|
|
96216
|
-
}({}),
|
|
96344
|
+
}({}), SXe = /* @__PURE__ */ function(e) {
|
|
96217
96345
|
return e[e.Upcoming = 1] = "Upcoming", e[e.Ongoing = 2] = "Ongoing", e[e.Completed = 3] = "Completed", e;
|
|
96218
|
-
}({}),
|
|
96346
|
+
}({}), CXe = /* @__PURE__ */ function(e) {
|
|
96219
96347
|
return e[e.Photo = 1] = "Photo", e[e.Video = 2] = "Video", e[e.Album = 3] = "Album", e;
|
|
96220
|
-
}({}),
|
|
96348
|
+
}({}), wXe = /* @__PURE__ */ function(e) {
|
|
96221
96349
|
return e[e.Image = 1] = "Image", e[e.Video = 2] = "Video", e;
|
|
96222
96350
|
}({});
|
|
96223
96351
|
//#endregion
|
|
96224
|
-
export { Q as ALL_ICONS_LIST, dXe as DynamicIcon,
|
|
96352
|
+
export { Q as ALL_ICONS_LIST, dXe as DynamicIcon, SXe as EventStatus, hXe as FieldConditionLogic, mXe as FieldConditionOperator, fXe as FormFieldType, _Xe as FormGenderEnum, gXe as FormTypeEnum, nee as GOVERNMENTS, CXe as GalleryType, wXe as MediaType, xXe as NewsCategory, $ as RequestStatus, sXe as ResidenceStatusEnum, yXe as SECTIONS_KEYS, t as STATIC_ICONS_LIST, e as STATIC_ICONS_MAP, cXe as STATUS_CONFIG, vXe as SectionsKey, bXe as SpeechRole, Z as TABLER_ICONS_LIST, X as TABLER_ICONS_MAP, pXe as ValidationRuleType, tee as buildUrlWithSearchParams, d as cn, eXe as emailRegExp, f as getFilterParams, tXe as idRegExp, ree as isValidUUID, rXe as landPhoneNumberRegExp, iXe as lettersWithSpacesRegExp, aXe as passportRegExp, nXe as phoneNumberRegExp, oXe as postalCodeRegExp, lXe as useDebounce };
|
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
|
-
}
|