@provis/provis-common-be-module 2.6.12 → 2.6.13
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/constants/claim/cargo.d.ts +1 -13
- package/dist/constants/claim/cargo.js +7 -5
- package/dist/constants/config.d.ts +1 -1
- package/dist/constants/product/mv/merk.js +6 -3
- package/dist/constants/product/property/area.json +34 -0
- package/dist/constants/product/property/clause.d.ts +1 -3
- package/dist/constants/product/property/clause.js +864 -15
- package/dist/constants/product/property/occupation-simple.d.ts +11 -2
- package/dist/constants/product/property/occupation-simple.js +18 -1
- package/dist/helpers/findObjectByParams.d.ts +2 -0
- package/dist/helpers/findObjectByParams.js +5 -0
- package/dist/helpers/index.d.ts +2 -1
- package/dist/helpers/index.js +3 -1
- package/package.json +1 -1
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
declare const occupation: {
|
|
1
|
+
declare const occupation: ({
|
|
2
2
|
code: string;
|
|
3
3
|
desc: {
|
|
4
4
|
id: string;
|
|
5
5
|
en: string;
|
|
6
6
|
};
|
|
7
7
|
construction: string[];
|
|
8
|
-
|
|
8
|
+
clause?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
code: string;
|
|
11
|
+
desc: {
|
|
12
|
+
id: string;
|
|
13
|
+
en: string;
|
|
14
|
+
};
|
|
15
|
+
construction: string[];
|
|
16
|
+
clause: string[];
|
|
17
|
+
})[];
|
|
9
18
|
export default occupation;
|
|
@@ -61,6 +61,10 @@ const occupation = [
|
|
|
61
61
|
'construction-2',
|
|
62
62
|
'construction-3',
|
|
63
63
|
],
|
|
64
|
+
clause: [
|
|
65
|
+
'clause-27',
|
|
66
|
+
'clause-33',
|
|
67
|
+
],
|
|
64
68
|
},
|
|
65
69
|
{
|
|
66
70
|
code: '29412',
|
|
@@ -74,6 +78,10 @@ const occupation = [
|
|
|
74
78
|
'construction-2',
|
|
75
79
|
'construction-3',
|
|
76
80
|
],
|
|
81
|
+
clause: [
|
|
82
|
+
'clause-27',
|
|
83
|
+
'clause-33',
|
|
84
|
+
],
|
|
77
85
|
},
|
|
78
86
|
{
|
|
79
87
|
code: '2942',
|
|
@@ -87,6 +95,10 @@ const occupation = [
|
|
|
87
95
|
'construction-2',
|
|
88
96
|
'construction-3',
|
|
89
97
|
],
|
|
98
|
+
clause: [
|
|
99
|
+
'clause-27',
|
|
100
|
+
'clause-33',
|
|
101
|
+
],
|
|
90
102
|
},
|
|
91
103
|
{
|
|
92
104
|
code: '29431',
|
|
@@ -156,7 +168,7 @@ const occupation = [
|
|
|
156
168
|
code: '2947',
|
|
157
169
|
desc: {
|
|
158
170
|
id: '',
|
|
159
|
-
en: 'Beauty salon/ Hair dresser/ Barber shops',
|
|
171
|
+
en: 'Beauty salon / Hair dresser / Barber shops',
|
|
160
172
|
},
|
|
161
173
|
construction: [
|
|
162
174
|
'construction-1',
|
|
@@ -312,6 +324,11 @@ const occupation = [
|
|
|
312
324
|
'construction-2',
|
|
313
325
|
'construction-3',
|
|
314
326
|
],
|
|
327
|
+
clause: [
|
|
328
|
+
'clause-1',
|
|
329
|
+
'clause-54',
|
|
330
|
+
'clause-55',
|
|
331
|
+
],
|
|
315
332
|
},
|
|
316
333
|
{
|
|
317
334
|
code: '29761',
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -24,4 +24,5 @@ import calculateByType from './calculateByType';
|
|
|
24
24
|
import getCargoType from "./getCargoType";
|
|
25
25
|
import getHeaderUser from "./getHeaderUser";
|
|
26
26
|
import setHeaderUser from "./setHeaderUser";
|
|
27
|
-
|
|
27
|
+
import findObjectByParams from "./findObjectByParams";
|
|
28
|
+
export { addDateTime, amountDescription, axiosGet, axiosPost, axiosPut, compareDiffObj, convertCurrencySymbol, convertDateTimeFormat, convertObjToNumber, convertToCurrency, filterObj, generateRelationId, getCurrentDate, getDiffValue, getObjByKeys, loop, loopBackward, searchValue, readExcel, generateHashString, mergeObj, combineObj, calculateByType, getCargoType, getHeaderUser, setHeaderUser, findObjectByParams, };
|
package/dist/helpers/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setHeaderUser = exports.getHeaderUser = exports.getCargoType = exports.calculateByType = exports.combineObj = exports.mergeObj = exports.generateHashString = exports.readExcel = exports.searchValue = exports.loopBackward = exports.loop = exports.getObjByKeys = exports.getDiffValue = exports.getCurrentDate = exports.generateRelationId = exports.filterObj = exports.convertToCurrency = exports.convertObjToNumber = exports.convertDateTimeFormat = exports.convertCurrencySymbol = exports.compareDiffObj = exports.axiosPut = exports.axiosPost = exports.axiosGet = exports.amountDescription = exports.addDateTime = void 0;
|
|
3
|
+
exports.findObjectByParams = exports.setHeaderUser = exports.getHeaderUser = exports.getCargoType = exports.calculateByType = exports.combineObj = exports.mergeObj = exports.generateHashString = exports.readExcel = exports.searchValue = exports.loopBackward = exports.loop = exports.getObjByKeys = exports.getDiffValue = exports.getCurrentDate = exports.generateRelationId = exports.filterObj = exports.convertToCurrency = exports.convertObjToNumber = exports.convertDateTimeFormat = exports.convertCurrencySymbol = exports.compareDiffObj = exports.axiosPut = exports.axiosPost = exports.axiosGet = exports.amountDescription = exports.addDateTime = void 0;
|
|
4
4
|
const addDateTime_1 = require("./addDateTime");
|
|
5
5
|
exports.addDateTime = addDateTime_1.default;
|
|
6
6
|
const amountDescription_1 = require("./amountDescription");
|
|
@@ -53,3 +53,5 @@ const getHeaderUser_1 = require("./getHeaderUser");
|
|
|
53
53
|
exports.getHeaderUser = getHeaderUser_1.default;
|
|
54
54
|
const setHeaderUser_1 = require("./setHeaderUser");
|
|
55
55
|
exports.setHeaderUser = setHeaderUser_1.default;
|
|
56
|
+
const findObjectByParams_1 = require("./findObjectByParams");
|
|
57
|
+
exports.findObjectByParams = findObjectByParams_1.default;
|