namirasoft-account-react 1.3.49 → 1.3.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.
package/dist/layouts/Actions.js
CHANGED
|
@@ -13,7 +13,8 @@ export class Actions {
|
|
|
13
13
|
menu_item: "View",
|
|
14
14
|
handler: () => {
|
|
15
15
|
let ids = getIDs();
|
|
16
|
-
props.url.
|
|
16
|
+
let link = props.url.getLink(entity.client.getViewURL(ids[0]), {});
|
|
17
|
+
window.open(link, "_blank");
|
|
17
18
|
},
|
|
18
19
|
isActive() { return getIDs().length == 1; }
|
|
19
20
|
};
|
|
@@ -23,7 +24,8 @@ export class Actions {
|
|
|
23
24
|
id: "2",
|
|
24
25
|
menu_item: "View History",
|
|
25
26
|
handler: () => {
|
|
26
|
-
|
|
27
|
+
let link = "https://history.namirasoft.com/history/view?id=" + getIDs()[0];
|
|
28
|
+
window.open(link, "_blank");
|
|
27
29
|
},
|
|
28
30
|
isActive() { return getIDs().length == 1; }
|
|
29
31
|
};
|
|
@@ -34,7 +36,8 @@ export class Actions {
|
|
|
34
36
|
menu_item: "Copy",
|
|
35
37
|
handler: () => {
|
|
36
38
|
let ids = getIDs();
|
|
37
|
-
props.url.
|
|
39
|
+
let link = props.url.getLink(entity.client.getCopyURL(ids[0]), {});
|
|
40
|
+
window.open(link, "_blank");
|
|
38
41
|
},
|
|
39
42
|
isActive() { return getIDs().length == 1; }
|
|
40
43
|
};
|
|
@@ -45,7 +48,8 @@ export class Actions {
|
|
|
45
48
|
menu_item: "Edit",
|
|
46
49
|
handler: () => {
|
|
47
50
|
let ids = getIDs();
|
|
48
|
-
props.url.
|
|
51
|
+
let link = props.url.getLink(entity.client.getEditURL(ids[0]), {});
|
|
52
|
+
window.open(link, "_blank");
|
|
49
53
|
},
|
|
50
54
|
isActive() { return getIDs().length == 1; }
|
|
51
55
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actions.js","sourceRoot":"","sources":["../../src/layouts/Actions.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IAEhB,MAAM,CAAC,KAAK,CAAC,OAAmB;QAE5B,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,OAAO;YAClB,OAAO;YACP,QAAQ,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;SAC9B,CAAA;IACL,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,KAAsB,EAAE,MAAwB,EAAE,MAAsB;QAEhF,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,MAAM;YACjB,OAAO,EAAE,GAAG,EAAE;gBAEV,IAAI,GAAG,GAAG,MAAM,EAAE,CAAC;gBACnB,KAAK,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"Actions.js","sourceRoot":"","sources":["../../src/layouts/Actions.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IAEhB,MAAM,CAAC,KAAK,CAAC,OAAmB;QAE5B,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,OAAO;YAClB,OAAO;YACP,QAAQ,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC;SAC9B,CAAA;IACL,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,KAAsB,EAAE,MAAwB,EAAE,MAAsB;QAEhF,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,MAAM;YACjB,OAAO,EAAE,GAAG,EAAE;gBAEV,IAAI,GAAG,GAAG,MAAM,EAAE,CAAC;gBACnB,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChC,CAAC;YACD,QAAQ,KAAK,OAAO,MAAM,EAAE,CAAC,MAAM,IAAI,C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U,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBACnE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;YAChC,CAAC;YACD,QAAQ,KAAK,OAAO,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;SAC9C,CAAC;IACN,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,MAAsB;QAEhC,OAAO;YACH,EAAE,EAAE,GAAG;YACP,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,GAAG,EAAE;YAId,CAAC;YACD,QAAQ,KAAK,OAAO,MAAM,EAAE,CAAC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAC;SAC9C,CAAA;IACL,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"framework": "npm",
|
|
9
9
|
"application": "package",
|
|
10
10
|
"private": false,
|
|
11
|
-
"version": "1.3.
|
|
11
|
+
"version": "1.3.51",
|
|
12
12
|
"author": "Amir Abolhasani",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "./dist/main.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@types/device-uuid": "^1.0.3",
|
|
25
25
|
"@types/react": "^18.3.3",
|
|
26
26
|
"device-uuid": "^1.0.4",
|
|
27
|
-
"namirasoft-account": "^1.3.
|
|
27
|
+
"namirasoft-account": "^1.3.25",
|
|
28
28
|
"namirasoft-account-client": "^1.3.0",
|
|
29
29
|
"namirasoft-core": "^1.3.47",
|
|
30
30
|
"namirasoft-site-react": "^1.3.196",
|
package/src/layouts/Actions.ts
CHANGED
|
@@ -21,7 +21,8 @@ export class Actions
|
|
|
21
21
|
handler: () =>
|
|
22
22
|
{
|
|
23
23
|
let ids = getIDs();
|
|
24
|
-
props.url.
|
|
24
|
+
let link = props.url.getLink(entity.client.getViewURL(ids[0]), {});
|
|
25
|
+
window.open(link, "_blank");
|
|
25
26
|
},
|
|
26
27
|
isActive() { return getIDs().length == 1; }
|
|
27
28
|
};
|
|
@@ -33,7 +34,8 @@ export class Actions
|
|
|
33
34
|
menu_item: "View History",
|
|
34
35
|
handler: () =>
|
|
35
36
|
{
|
|
36
|
-
|
|
37
|
+
let link = "https://history.namirasoft.com/history/view?id=" + getIDs()[0];
|
|
38
|
+
window.open(link, "_blank");
|
|
37
39
|
},
|
|
38
40
|
isActive() { return getIDs().length == 1; }
|
|
39
41
|
};
|
|
@@ -46,7 +48,8 @@ export class Actions
|
|
|
46
48
|
handler: () =>
|
|
47
49
|
{
|
|
48
50
|
let ids = getIDs();
|
|
49
|
-
props.url.
|
|
51
|
+
let link = props.url.getLink(entity.client.getCopyURL(ids[0]), {});
|
|
52
|
+
window.open(link, "_blank");
|
|
50
53
|
},
|
|
51
54
|
isActive() { return getIDs().length == 1; }
|
|
52
55
|
};
|
|
@@ -59,7 +62,8 @@ export class Actions
|
|
|
59
62
|
handler: () =>
|
|
60
63
|
{
|
|
61
64
|
let ids = getIDs();
|
|
62
|
-
props.url.
|
|
65
|
+
let link = props.url.getLink(entity.client.getEditURL(ids[0]), {});
|
|
66
|
+
window.open(link, "_blank");
|
|
63
67
|
},
|
|
64
68
|
isActive() { return getIDs().length == 1; }
|
|
65
69
|
};
|