law-common 9.1.4 → 9.1.5-beta.1
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.
|
@@ -5,7 +5,8 @@ export declare enum LeaveEntityKeysEnum {
|
|
|
5
5
|
toDate = "toDate",
|
|
6
6
|
reason = "reason",
|
|
7
7
|
status = "status",
|
|
8
|
-
remark = "remark"
|
|
8
|
+
remark = "remark",
|
|
9
|
+
type = "type"
|
|
9
10
|
}
|
|
10
11
|
export declare namespace LeaveEntityKeysEnum {
|
|
11
12
|
const keyLabelMap: Record<LeaveEntityKeysEnum, string>;
|
|
@@ -12,6 +12,7 @@ var LeaveEntityKeysEnum;
|
|
|
12
12
|
LeaveEntityKeysEnum["reason"] = "reason";
|
|
13
13
|
LeaveEntityKeysEnum["status"] = "status";
|
|
14
14
|
LeaveEntityKeysEnum["remark"] = "remark";
|
|
15
|
+
LeaveEntityKeysEnum["type"] = "type";
|
|
15
16
|
})(LeaveEntityKeysEnum || (exports.LeaveEntityKeysEnum = LeaveEntityKeysEnum = {}));
|
|
16
17
|
(function (LeaveEntityKeysEnum) {
|
|
17
18
|
LeaveEntityKeysEnum.keyLabelMap = {
|
|
@@ -22,6 +23,7 @@ var LeaveEntityKeysEnum;
|
|
|
22
23
|
[LeaveEntityKeysEnum.reason]: "Reason",
|
|
23
24
|
[LeaveEntityKeysEnum.status]: "Status",
|
|
24
25
|
[LeaveEntityKeysEnum.remark]: "Remark",
|
|
26
|
+
[LeaveEntityKeysEnum.type]: "Type",
|
|
25
27
|
};
|
|
26
28
|
function getLabel(key) {
|
|
27
29
|
if (!Object.values(LeaveEntityKeysEnum).includes(key)) {
|