@antscorp/antsomi-ui 1.3.5-beta.515 → 1.3.5-beta.517

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,4 +1,9 @@
1
1
  .antsomi-custom-calendar-picker {
2
+ border-radius: 10px;
3
+
4
+ .antsomi-picker-panel-container {
5
+ border-radius: 10px !important;
6
+ }
2
7
  .antsomi-picker-date-panel {
3
8
  width: 310px !important;
4
9
  }
@@ -233,7 +233,12 @@ export const AccountSharing = props => {
233
233
  })), { path: '/', sameSite: 'none', secure: true }));
234
234
  if (callbackLogout)
235
235
  callbackLogout();
236
- window.location.reload();
236
+ if (urlLogout) {
237
+ window.location.href = urlLogout;
238
+ }
239
+ else {
240
+ window.location.reload();
241
+ }
237
242
  };
238
243
  function urlDomain(data) {
239
244
  const a = document.createElement('a');
@@ -2,6 +2,7 @@ export declare const ENV: {
2
2
  readonly DEV: "development";
3
3
  readonly PROD: "production";
4
4
  readonly SANDBOX: "sandbox";
5
+ readonly SANDBOX_CDP: "sandbox-cdp";
5
6
  readonly STAGING: "staging";
6
7
  };
7
8
  export declare const isDev: boolean;
@@ -3,6 +3,7 @@ export const ENV = {
3
3
  DEV: 'development',
4
4
  PROD: 'production',
5
5
  SANDBOX: 'sandbox',
6
+ SANDBOX_CDP: 'sandbox-cdp',
6
7
  STAGING: 'staging',
7
8
  };
8
9
  export const isDev = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'sandbox';
@@ -5,17 +5,20 @@ export declare const TINYMCE_API_KEY = "scyw71pj8619analvxs56ppc2w2fj2kpy5vnmflh
5
5
  export declare const CDP_API: {
6
6
  development: string;
7
7
  sandbox: string;
8
+ "sandbox-cdp": string;
8
9
  staging: string;
9
10
  production: string;
10
11
  };
11
12
  export declare const CDP_ROUTE: {
12
13
  sandbox: string;
14
+ "sandbox-cdp": string;
13
15
  staging: string;
14
16
  production: string;
15
17
  };
16
18
  export declare const ISSUE_API: {
17
19
  development: string;
18
20
  sandbox: string;
21
+ "sandbox-cdp": string;
19
22
  staging: string;
20
23
  production: string;
21
24
  };
@@ -27,6 +30,7 @@ export declare const APP_PERMISSION_DOMAIN: {
27
30
  [x: string]: {
28
31
  development: string;
29
32
  sandbox: string;
33
+ "sandbox-cdp": string;
30
34
  staging: string;
31
35
  production: string;
32
36
  };
@@ -34,6 +38,7 @@ export declare const APP_PERMISSION_DOMAIN: {
34
38
  export declare const PERMISSION_ENV_API: {
35
39
  development: string;
36
40
  sandbox: string;
41
+ "sandbox-cdp": string;
37
42
  staging: string;
38
43
  production: string;
39
44
  };
@@ -9,17 +9,20 @@ export const TINYMCE_API_KEY = 'scyw71pj8619analvxs56ppc2w2fj2kpy5vnmflhhc300y35
9
9
  export const CDP_API = {
10
10
  [ENV.DEV]: 'https://sandbox-app.cdp.asia',
11
11
  [ENV.SANDBOX]: 'https://sandbox-app.cdp.asia',
12
+ [ENV.SANDBOX_CDP]: 'https://sandbox-app.cdp.asia',
12
13
  [ENV.STAGING]: 'https://staging-cdp.antsomi.com',
13
14
  [ENV.PROD]: 'https://cdp.antsomi.com',
14
15
  };
15
16
  export const CDP_ROUTE = {
16
17
  [ENV.SANDBOX]: 'https://sandbox-cdp.antsomi.com',
18
+ [ENV.SANDBOX_CDP]: 'https://sandbox-cdp.antsomi.com',
17
19
  [ENV.STAGING]: 'https://staging-cdp.antsomi.com',
18
20
  [ENV.PROD]: 'https://cdp.antsomi.com',
19
21
  };
20
22
  export const ISSUE_API = {
21
23
  [ENV.DEV]: 'https://sandbox-issue.antsomi.com',
22
24
  [ENV.SANDBOX]: 'https://sandbox-issue.antsomi.com',
25
+ [ENV.SANDBOX_CDP]: 'https://sandbox-issue.antsomi.com',
23
26
  [ENV.STAGING]: 'https://issue.antsomi.com',
24
27
  [ENV.PROD]: 'https://issue.antsomi.com',
25
28
  };
@@ -30,6 +33,7 @@ export const IAM_API = 'https://iam.ants.tech';
30
33
  const PERMISSION_URLS = {
31
34
  [ENV.DEV]: 'https://sandbox-permission.ants.vn',
32
35
  [ENV.SANDBOX]: 'https://sandbox-permission.ants.vn',
36
+ [ENV.SANDBOX_CDP]: 'https://sandbox-permission.ants.vn',
33
37
  [ENV.STAGING]: 'https://permission.antsomi.com',
34
38
  [ENV.PROD]: 'https://permission.antsomi.com',
35
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.515",
3
+ "version": "1.3.5-beta.517",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",