sevago-sso-fe 1.0.50 → 1.0.51

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.
@@ -9,7 +9,7 @@ export declare enum AppGroup {
9
9
  }
10
10
  export interface AppInfo {
11
11
  path: {
12
- development: string;
12
+ develop: string;
13
13
  staging: string;
14
14
  production: string;
15
15
  };
@@ -27,14 +27,14 @@ export declare const APP_GROUP_COLOR: {
27
27
  Khác: string;
28
28
  };
29
29
  export declare const SSO: {
30
- development: string;
30
+ develop: string;
31
31
  staging: string;
32
32
  production: string;
33
33
  };
34
34
  export declare const APP_OBJ: {
35
35
  E_HIRING: {
36
36
  path: {
37
- development: string;
37
+ develop: string;
38
38
  staging: string;
39
39
  production: string;
40
40
  };
@@ -45,7 +45,7 @@ export declare const APP_OBJ: {
45
45
  };
46
46
  HR: {
47
47
  path: {
48
- development: string;
48
+ develop: string;
49
49
  staging: string;
50
50
  production: string;
51
51
  };
@@ -56,7 +56,7 @@ export declare const APP_OBJ: {
56
56
  };
57
57
  PAYROLL: {
58
58
  path: {
59
- development: string;
59
+ develop: string;
60
60
  staging: string;
61
61
  production: string;
62
62
  };
@@ -67,7 +67,7 @@ export declare const APP_OBJ: {
67
67
  };
68
68
  ORG: {
69
69
  path: {
70
- development: string;
70
+ develop: string;
71
71
  staging: string;
72
72
  production: string;
73
73
  };
@@ -78,7 +78,7 @@ export declare const APP_OBJ: {
78
78
  };
79
79
  CHECKIN: {
80
80
  path: {
81
- development: string;
81
+ develop: string;
82
82
  staging: string;
83
83
  production: string;
84
84
  };
@@ -89,7 +89,7 @@ export declare const APP_OBJ: {
89
89
  };
90
90
  CHAT: {
91
91
  path: {
92
- development: string;
92
+ develop: string;
93
93
  staging: string;
94
94
  production: string;
95
95
  };
@@ -100,7 +100,7 @@ export declare const APP_OBJ: {
100
100
  };
101
101
  TRAINING: {
102
102
  path: {
103
- development: string;
103
+ develop: string;
104
104
  staging: string;
105
105
  production: string;
106
106
  };
@@ -111,7 +111,7 @@ export declare const APP_OBJ: {
111
111
  };
112
112
  FORM: {
113
113
  path: {
114
- development: string;
114
+ develop: string;
115
115
  staging: string;
116
116
  production: string;
117
117
  };
@@ -122,7 +122,7 @@ export declare const APP_OBJ: {
122
122
  };
123
123
  INSIDE: {
124
124
  path: {
125
- development: string;
125
+ develop: string;
126
126
  staging: string;
127
127
  production: string;
128
128
  };
@@ -133,7 +133,7 @@ export declare const APP_OBJ: {
133
133
  };
134
134
  BOOKING: {
135
135
  path: {
136
- development: string;
136
+ develop: string;
137
137
  staging: string;
138
138
  production: string;
139
139
  };
@@ -144,7 +144,7 @@ export declare const APP_OBJ: {
144
144
  };
145
145
  PROJECT: {
146
146
  path: {
147
- development: string;
147
+ develop: string;
148
148
  staging: string;
149
149
  production: string;
150
150
  };
@@ -155,7 +155,7 @@ export declare const APP_OBJ: {
155
155
  };
156
156
  REQUEST: {
157
157
  path: {
158
- development: string;
158
+ develop: string;
159
159
  staging: string;
160
160
  production: string;
161
161
  };
@@ -166,7 +166,7 @@ export declare const APP_OBJ: {
166
166
  };
167
167
  TRACKING: {
168
168
  path: {
169
- development: string;
169
+ develop: string;
170
170
  staging: string;
171
171
  production: string;
172
172
  };
@@ -177,7 +177,7 @@ export declare const APP_OBJ: {
177
177
  };
178
178
  PROCESS: {
179
179
  path: {
180
- development: string;
180
+ develop: string;
181
181
  staging: string;
182
182
  production: string;
183
183
  };
@@ -188,7 +188,7 @@ export declare const APP_OBJ: {
188
188
  };
189
189
  FORMULA_PRICE: {
190
190
  path: {
191
- development: string;
191
+ develop: string;
192
192
  staging: string;
193
193
  production: string;
194
194
  };
@@ -199,7 +199,7 @@ export declare const APP_OBJ: {
199
199
  };
200
200
  E_CATALOGUE: {
201
201
  path: {
202
- development: string;
202
+ develop: string;
203
203
  staging: string;
204
204
  production: string;
205
205
  };
@@ -210,7 +210,7 @@ export declare const APP_OBJ: {
210
210
  };
211
211
  LANDING_PAGE: {
212
212
  path: {
213
- development: string;
213
+ develop: string;
214
214
  staging: string;
215
215
  production: string;
216
216
  };
@@ -1,5 +1,5 @@
1
1
  export declare enum Environment {
2
- DEVELOPMENT = "development",
2
+ DEVELOP = "develop",
3
3
  STAGING = "staging",
4
4
  PRODUCTION = "production"
5
5
  }
package/dist/index.cjs.js CHANGED
@@ -1046,14 +1046,14 @@ const truncateText = (text, maxLength = 27) => {
1046
1046
  return `${text.substring(0, maxLength)}...`;
1047
1047
  };
1048
1048
  var Environment = /* @__PURE__ */ ((Environment2) => {
1049
- Environment2["DEVELOPMENT"] = "development";
1049
+ Environment2["DEVELOP"] = "develop";
1050
1050
  Environment2["STAGING"] = "staging";
1051
1051
  Environment2["PRODUCTION"] = "production";
1052
1052
  return Environment2;
1053
1053
  })(Environment || {});
1054
1054
  const getCurrentEnvironment = () => {
1055
1055
  const { hostname } = window.location;
1056
- if (hostname.includes("dev.")) return "development";
1056
+ if (hostname.includes("dev.")) return "develop";
1057
1057
  if (hostname.includes("sta.")) return "staging";
1058
1058
  return "production";
1059
1059
  };
@@ -6122,7 +6122,7 @@ const APP_GROUP_COLOR = {
6122
6122
  ]: "#EB6262"
6123
6123
  };
6124
6124
  const SSO = {
6125
- development: "https://dev.account.sevago.local",
6125
+ develop: "https://dev.account.sevago.local",
6126
6126
  staging: "https://sta.account.sevago.local",
6127
6127
  production: "https://account.sevago.com.vn"
6128
6128
  };
@@ -6130,7 +6130,7 @@ const APP_OBJ = {
6130
6130
  // GREEN
6131
6131
  E_HIRING: {
6132
6132
  path: {
6133
- development: "https://dev.admin.office.sevago.local/e-hiring",
6133
+ develop: "https://dev.admin.office.sevago.local/e-hiring",
6134
6134
  staging: "https://sta.admin.office.sevago.local/e-hiring",
6135
6135
  production: "https://admin.office.sevago.local/e-hiring"
6136
6136
  },
@@ -6144,7 +6144,7 @@ const APP_OBJ = {
6144
6144
  },
6145
6145
  HR: {
6146
6146
  path: {
6147
- development: "https://dev.admin.office.sevago.local/hr",
6147
+ develop: "https://dev.admin.office.sevago.local/hr",
6148
6148
  staging: "https://sta.admin.office.sevago.local/hr",
6149
6149
  production: "https://admin.office.sevago.local/hr"
6150
6150
  },
@@ -6158,7 +6158,7 @@ const APP_OBJ = {
6158
6158
  },
6159
6159
  PAYROLL: {
6160
6160
  path: {
6161
- development: "https://dev.admin.office.sevago.local/payroll",
6161
+ develop: "https://dev.admin.office.sevago.local/payroll",
6162
6162
  staging: "https://sta.admin.office.sevago.local/payroll",
6163
6163
  production: "https://admin.office.sevago.local/payroll"
6164
6164
  },
@@ -6172,7 +6172,7 @@ const APP_OBJ = {
6172
6172
  },
6173
6173
  ORG: {
6174
6174
  path: {
6175
- development: "https://dev.admin.office.sevago.local/org",
6175
+ develop: "https://dev.admin.office.sevago.local/org",
6176
6176
  staging: "https://sta.admin.office.sevago.local/org",
6177
6177
  production: "https://admin.office.sevago.local/org"
6178
6178
  },
@@ -6186,7 +6186,7 @@ const APP_OBJ = {
6186
6186
  },
6187
6187
  CHECKIN: {
6188
6188
  path: {
6189
- development: "https://dev.admin.office.sevago.local/checkin",
6189
+ develop: "https://dev.admin.office.sevago.local/checkin",
6190
6190
  staging: "https://sta.admin.office.sevago.local/checkin",
6191
6191
  production: "https://admin.office.sevago.local/checkin"
6192
6192
  },
@@ -6201,7 +6201,7 @@ const APP_OBJ = {
6201
6201
  // YELLOW
6202
6202
  CHAT: {
6203
6203
  path: {
6204
- development: "https://dev.admin.office.sevago.local/chat",
6204
+ develop: "https://dev.admin.office.sevago.local/chat",
6205
6205
  staging: "https://sta.admin.office.sevago.local/chat",
6206
6206
  production: "https://admin.office.sevago.local/chat"
6207
6207
  },
@@ -6216,7 +6216,7 @@ const APP_OBJ = {
6216
6216
  },
6217
6217
  TRAINING: {
6218
6218
  path: {
6219
- development: "https://dev.admin.office.sevago.local/training",
6219
+ develop: "https://dev.admin.office.sevago.local/training",
6220
6220
  staging: "https://sta.admin.office.sevago.local/training",
6221
6221
  production: "https://admin.office.sevago.local/training"
6222
6222
  },
@@ -6231,7 +6231,7 @@ const APP_OBJ = {
6231
6231
  },
6232
6232
  FORM: {
6233
6233
  path: {
6234
- development: "https://dev.admin.office.sevago.local/form",
6234
+ develop: "https://dev.admin.office.sevago.local/form",
6235
6235
  staging: "https://sta.admin.office.sevago.local/form",
6236
6236
  production: "https://admin.office.sevago.local/form"
6237
6237
  },
@@ -6246,7 +6246,7 @@ const APP_OBJ = {
6246
6246
  },
6247
6247
  INSIDE: {
6248
6248
  path: {
6249
- development: "https://dev.admin.office.sevago.local/inside",
6249
+ develop: "https://dev.admin.office.sevago.local/inside",
6250
6250
  staging: "https://sta.admin.office.sevago.local/inside",
6251
6251
  production: "https://admin.office.sevago.local/inside"
6252
6252
  },
@@ -6261,7 +6261,7 @@ const APP_OBJ = {
6261
6261
  },
6262
6262
  BOOKING: {
6263
6263
  path: {
6264
- development: "https://dev.admin.office.sevago.local/booking",
6264
+ develop: "https://dev.admin.office.sevago.local/booking",
6265
6265
  staging: "https://sta.admin.office.sevago.local/booking",
6266
6266
  production: "https://admin.office.sevago.local/booking"
6267
6267
  },
@@ -6276,7 +6276,7 @@ const APP_OBJ = {
6276
6276
  // BLUE
6277
6277
  PROJECT: {
6278
6278
  path: {
6279
- development: "https://dev.admin.office.sevago.local/project",
6279
+ develop: "https://dev.admin.office.sevago.local/project",
6280
6280
  staging: "https://sta.admin.office.sevago.local/project",
6281
6281
  production: "https://admin.office.sevago.local/project"
6282
6282
  },
@@ -6290,7 +6290,7 @@ const APP_OBJ = {
6290
6290
  },
6291
6291
  REQUEST: {
6292
6292
  path: {
6293
- development: "https://dev.admin.office.sevago.local/request",
6293
+ develop: "https://dev.admin.office.sevago.local/request",
6294
6294
  staging: "https://sta.admin.office.sevago.local/request",
6295
6295
  production: "https://admin.office.sevago.local/request"
6296
6296
  },
@@ -6304,7 +6304,7 @@ const APP_OBJ = {
6304
6304
  },
6305
6305
  TRACKING: {
6306
6306
  path: {
6307
- development: "https://dev.admin.office.sevago.local/process",
6307
+ develop: "https://dev.admin.office.sevago.local/process",
6308
6308
  staging: "https://sta.admin.office.sevago.local/process",
6309
6309
  production: "https://admin.office.sevago.local/process"
6310
6310
  },
@@ -6322,7 +6322,7 @@ const APP_OBJ = {
6322
6322
  },
6323
6323
  PROCESS: {
6324
6324
  path: {
6325
- development: "https://dev.admin.office.sevago.local/workflow",
6325
+ develop: "https://dev.admin.office.sevago.local/workflow",
6326
6326
  staging: "https://sta.admin.office.sevago.local/workflow",
6327
6327
  production: "https://admin.office.sevago.local/workflow"
6328
6328
  },
@@ -6338,7 +6338,7 @@ const APP_OBJ = {
6338
6338
  // RED
6339
6339
  FORMULA_PRICE: {
6340
6340
  path: {
6341
- development: "https://dev.formula-price.sevago.local",
6341
+ develop: "https://dev.formula-price.sevago.local",
6342
6342
  staging: "https://sta.formula-price.sevago.local",
6343
6343
  production: "https://formula-price.sevago.local"
6344
6344
  },
@@ -6352,7 +6352,7 @@ const APP_OBJ = {
6352
6352
  },
6353
6353
  E_CATALOGUE: {
6354
6354
  path: {
6355
- development: "https://dev.admin.e-catalogue.sevago.local",
6355
+ develop: "https://dev.admin.e-catalogue.sevago.local",
6356
6356
  staging: "https://sta.admin.e-catalogue.sevago.local",
6357
6357
  production: "https://admin.e-catalogue.sevago.local"
6358
6358
  },
@@ -6368,7 +6368,7 @@ const APP_OBJ = {
6368
6368
  // PINK
6369
6369
  LANDING_PAGE: {
6370
6370
  path: {
6371
- development: "https://dev.admin.landing-page.sevago.local",
6371
+ develop: "https://dev.admin.landing-page.sevago.local",
6372
6372
  staging: "https://sta.admin.landing-page.sevago.local",
6373
6373
  production: "https://admin.landing-page.sevago.com.vn"
6374
6374
  },
@@ -14059,7 +14059,7 @@ const AppsSidebar = ({
14059
14059
  captionVariant: "caption",
14060
14060
  titleColor: theme.palette.grey[800],
14061
14061
  captionColor: theme.palette.grey[600],
14062
- env: Environment.DEVELOPMENT
14062
+ env: Environment.DEVELOP
14063
14063
  }
14064
14064
  )
14065
14065
  ]