eastern-area-fe-package 0.2.3 → 0.2.5

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.js CHANGED
@@ -96121,43 +96121,53 @@ var f = (e) => {
96121
96121
  }({}), cXe = {
96122
96122
  [$.Draft]: {
96123
96123
  label: "جديد",
96124
- color: "blue"
96124
+ color: "blue",
96125
+ dgaColor: "info"
96125
96126
  },
96126
96127
  [$.InProgress]: {
96127
96128
  label: "جارى العمل عليه",
96128
- color: "orange"
96129
+ color: "orange",
96130
+ dgaColor: "Warning"
96129
96131
  },
96130
96132
  [$.Approved]: {
96131
96133
  label: "مقبول",
96132
- color: "green"
96134
+ color: "green",
96135
+ dgaColor: "success"
96133
96136
  },
96134
96137
  [$.Rejected]: {
96135
96138
  label: "مرفوض",
96136
- color: "red"
96139
+ color: "red",
96140
+ dgaColor: "error"
96137
96141
  },
96138
96142
  [$.Completed]: {
96139
96143
  label: "مكتمل",
96140
- color: "brand"
96144
+ color: "brand",
96145
+ dgaColor: "success"
96141
96146
  },
96142
96147
  Draft: {
96143
96148
  label: "جديد",
96144
- color: "blue"
96149
+ color: "blue",
96150
+ dgaColor: "info"
96145
96151
  },
96146
96152
  InProgress: {
96147
96153
  label: "جارى العمل عليه",
96148
- color: "orange"
96154
+ color: "orange",
96155
+ dgaColor: "Warning"
96149
96156
  },
96150
96157
  Approved: {
96151
96158
  label: "مقبول",
96152
- color: "green"
96159
+ color: "green",
96160
+ dgaColor: "success"
96153
96161
  },
96154
96162
  Rejected: {
96155
96163
  label: "مرفوض",
96156
- color: "red"
96164
+ color: "red",
96165
+ dgaColor: "error"
96157
96166
  },
96158
96167
  Completed: {
96159
96168
  label: "مكتمل",
96160
- color: "brand"
96169
+ color: "brand",
96170
+ dgaColor: "success"
96161
96171
  }
96162
96172
  };
96163
96173
  //#endregion
@@ -0,0 +1 @@
1
+ export declare const DGA_COLORS: Record<string, string[]>;
@@ -7,3 +7,4 @@ export { emailRegExp, idRegExp, phoneNumberRegExp, landPhoneNumberRegExp, letter
7
7
  export { STATUS_CONFIG, type StatusConfig } from './statusConfig';
8
8
  export { STATIC_ICONS_LIST, STATIC_ICONS_MAP, type StaticIconName } from './staticIcons';
9
9
  export { TABLER_ICONS_LIST, TABLER_ICONS_MAP, type TablerIconName } from './tablerIcons';
10
+ export { DGA_COLORS } from './colors';
@@ -2,5 +2,6 @@ import { RequestStatus } from '../types/request.types';
2
2
  export interface StatusConfig {
3
3
  label: string;
4
4
  color: string;
5
+ dgaColor: 'success' | 'neutral' | 'error' | 'Warning' | 'info';
5
6
  }
6
7
  export declare const STATUS_CONFIG: Record<RequestStatus | string | number, StatusConfig>;
@@ -11,6 +11,8 @@ export interface SiteEvaluationStats {
11
11
  unliked_SomethingElseTruePercentage: number;
12
12
  ratingValueAverage: number;
13
13
  totalEvaluations: number;
14
+ ratingEvaluations: number;
15
+ siteEvaluations: number;
14
16
  maleEvaluationsCount: number;
15
17
  femaleEvaluationsCount: number;
16
18
  maleEvaluationsPercentage: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eastern-area-fe-package",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
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",