eastern-area-fe-package 0.3.8 → 0.3.10

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.
@@ -1 +1 @@
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
+ 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;
@@ -3,7 +3,7 @@ export interface StatusConfig {
3
3
  label: string;
4
4
  labelEn: string;
5
5
  color: string;
6
- dgaColor: 'success' | 'neutral' | 'error' | 'Warning' | 'info';
6
+ dgaColor: 'success' | 'neutral' | 'error' | 'warning' | 'info';
7
7
  }
8
8
  export declare const STATUS_CONFIG: Record<RequestStatus | string | number, StatusConfig>;
9
9
  export declare const TASHEEL_STATUS_CONFIG: Record<TasheelStatus, StatusConfig>;
@@ -11,7 +11,7 @@ var n = {
11
11
  label: "جارى العمل عليه",
12
12
  labelEn: "In Progress",
13
13
  color: "orange",
14
- dgaColor: "Warning"
14
+ dgaColor: "warning"
15
15
  },
16
16
  [e.Rejected]: {
17
17
  label: "مرفوض",
@@ -35,7 +35,7 @@ var n = {
35
35
  label: "جارى العمل عليه",
36
36
  labelEn: "In Progress",
37
37
  color: "orange",
38
- dgaColor: "Warning"
38
+ dgaColor: "warning"
39
39
  },
40
40
  Rejected: {
41
41
  label: "مرفوض",
@@ -53,8 +53,8 @@ var n = {
53
53
  [t.Saved]: {
54
54
  label: "محفوظ",
55
55
  labelEn: "Saved",
56
- color: "blue",
57
- dgaColor: "neutral"
56
+ color: "red",
57
+ dgaColor: "error"
58
58
  },
59
59
  [t.New]: {
60
60
  label: "جديد",
@@ -72,7 +72,7 @@ var n = {
72
72
  label: "تحت الاجراء",
73
73
  labelEn: "Under Process",
74
74
  color: "orange",
75
- dgaColor: "Warning"
75
+ dgaColor: "warning"
76
76
  }
77
77
  };
78
78
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eastern-area-fe-package",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
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",