@etsoo/appscript 1.4.85 → 1.4.87
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/lib/cjs/business/BusinessUtils.d.ts +1 -10
- package/lib/cjs/business/BusinessUtils.js +0 -14
- package/lib/cjs/erp/rq/QueryPagingData.d.ts +1 -1
- package/lib/cjs/erp/rq/QueryRQ.d.ts +0 -4
- package/lib/cjs/erp/rq/TiplistRQ.d.ts +0 -4
- package/lib/mjs/business/BusinessUtils.d.ts +1 -10
- package/lib/mjs/business/BusinessUtils.js +0 -14
- package/lib/mjs/erp/rq/QueryPagingData.d.ts +1 -1
- package/lib/mjs/erp/rq/QueryRQ.d.ts +0 -4
- package/lib/mjs/erp/rq/TiplistRQ.d.ts +0 -4
- package/package.json +2 -2
- package/src/business/BusinessUtils.ts +1 -15
- package/src/erp/rq/QueryPagingData.ts +1 -1
- package/src/erp/rq/QueryRQ.ts +0 -5
- package/src/erp/rq/TiplistRQ.ts +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListType, ListType1 } from '@etsoo/shared';
|
|
2
2
|
import { CultureGridItem } from './CultureItem';
|
|
3
3
|
/**
|
|
4
4
|
* Business utils
|
|
@@ -27,13 +27,4 @@ export declare namespace BusinessUtils {
|
|
|
27
27
|
* @returns 12 months
|
|
28
28
|
*/
|
|
29
29
|
function getMonths(monthLabels: string[], startMonth?: number): ListType[];
|
|
30
|
-
/**
|
|
31
|
-
* Set id value
|
|
32
|
-
* @param item QueryRQ or TiplistRQ or similiar item
|
|
33
|
-
* @param id Id value
|
|
34
|
-
*/
|
|
35
|
-
function setIdValue<T extends {
|
|
36
|
-
id?: number;
|
|
37
|
-
sid?: string;
|
|
38
|
-
}>(item: T, id?: IdType): void;
|
|
39
30
|
}
|
|
@@ -78,18 +78,4 @@ var BusinessUtils;
|
|
|
78
78
|
return months;
|
|
79
79
|
}
|
|
80
80
|
BusinessUtils.getMonths = getMonths;
|
|
81
|
-
/**
|
|
82
|
-
* Set id value
|
|
83
|
-
* @param item QueryRQ or TiplistRQ or similiar item
|
|
84
|
-
* @param id Id value
|
|
85
|
-
*/
|
|
86
|
-
function setIdValue(item, id) {
|
|
87
|
-
if (id == null)
|
|
88
|
-
return;
|
|
89
|
-
if (typeof id === 'number')
|
|
90
|
-
item.id = id;
|
|
91
|
-
else
|
|
92
|
-
item.sid = id;
|
|
93
|
-
}
|
|
94
|
-
BusinessUtils.setIdValue = setIdValue;
|
|
95
81
|
})(BusinessUtils || (exports.BusinessUtils = BusinessUtils = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListType, ListType1 } from '@etsoo/shared';
|
|
2
2
|
import { CultureGridItem } from './CultureItem';
|
|
3
3
|
/**
|
|
4
4
|
* Business utils
|
|
@@ -27,13 +27,4 @@ export declare namespace BusinessUtils {
|
|
|
27
27
|
* @returns 12 months
|
|
28
28
|
*/
|
|
29
29
|
function getMonths(monthLabels: string[], startMonth?: number): ListType[];
|
|
30
|
-
/**
|
|
31
|
-
* Set id value
|
|
32
|
-
* @param item QueryRQ or TiplistRQ or similiar item
|
|
33
|
-
* @param id Id value
|
|
34
|
-
*/
|
|
35
|
-
function setIdValue<T extends {
|
|
36
|
-
id?: number;
|
|
37
|
-
sid?: string;
|
|
38
|
-
}>(item: T, id?: IdType): void;
|
|
39
30
|
}
|
|
@@ -75,18 +75,4 @@ export var BusinessUtils;
|
|
|
75
75
|
return months;
|
|
76
76
|
}
|
|
77
77
|
BusinessUtils.getMonths = getMonths;
|
|
78
|
-
/**
|
|
79
|
-
* Set id value
|
|
80
|
-
* @param item QueryRQ or TiplistRQ or similiar item
|
|
81
|
-
* @param id Id value
|
|
82
|
-
*/
|
|
83
|
-
function setIdValue(item, id) {
|
|
84
|
-
if (id == null)
|
|
85
|
-
return;
|
|
86
|
-
if (typeof id === 'number')
|
|
87
|
-
item.id = id;
|
|
88
|
-
else
|
|
89
|
-
item.sid = id;
|
|
90
|
-
}
|
|
91
|
-
BusinessUtils.setIdValue = setIdValue;
|
|
92
78
|
})(BusinessUtils || (BusinessUtils = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.87",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@etsoo/notificationbase": "^1.1.42",
|
|
56
56
|
"@etsoo/restclient": "^1.1.3",
|
|
57
|
-
"@etsoo/shared": "^1.2.
|
|
57
|
+
"@etsoo/shared": "^1.2.40",
|
|
58
58
|
"crypto-js": "^4.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ListType, ListType1 } from '@etsoo/shared';
|
|
2
2
|
import { CultureGridItem } from './CultureItem';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -94,18 +94,4 @@ export namespace BusinessUtils {
|
|
|
94
94
|
|
|
95
95
|
return months;
|
|
96
96
|
}
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Set id value
|
|
100
|
-
* @param item QueryRQ or TiplistRQ or similiar item
|
|
101
|
-
* @param id Id value
|
|
102
|
-
*/
|
|
103
|
-
export function setIdValue<T extends { id?: number; sid?: string }>(
|
|
104
|
-
item: T,
|
|
105
|
-
id?: IdType
|
|
106
|
-
) {
|
|
107
|
-
if (id == null) return;
|
|
108
|
-
if (typeof id === 'number') item.id = id;
|
|
109
|
-
else item.sid = id;
|
|
110
|
-
}
|
|
111
97
|
}
|
package/src/erp/rq/QueryRQ.ts
CHANGED