law-common 2.8.1-beta.15 → 2.8.1-beta.17
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.
|
@@ -24,7 +24,8 @@ export declare enum ReimbursementStatusEnum {
|
|
|
24
24
|
export declare enum ReimbursementSubRowState {
|
|
25
25
|
PENDING = "pending",
|
|
26
26
|
APPROVED = "approved",
|
|
27
|
-
REJECTED = "rejected"
|
|
27
|
+
REJECTED = "rejected",
|
|
28
|
+
DELETED = "deleted"
|
|
28
29
|
}
|
|
29
30
|
export declare enum ReimbursementPaymentStatusEnum {
|
|
30
31
|
PAID = "PAID",
|
|
@@ -41,7 +42,8 @@ export declare enum ReimbursementActionEnum {
|
|
|
41
42
|
export declare enum ReimbursementActionSubRowEnum {
|
|
42
43
|
PENDING = "pending",
|
|
43
44
|
APPROVE = "approve",
|
|
44
|
-
REJECT = "reject"
|
|
45
|
+
REJECT = "reject",
|
|
46
|
+
DELETE = "delete"
|
|
45
47
|
}
|
|
46
48
|
export declare namespace ReimbursementActionEnum {
|
|
47
49
|
function getLabel(action: ReimbursementActionEnum): string;
|
|
@@ -35,6 +35,7 @@ var ReimbursementSubRowState;
|
|
|
35
35
|
ReimbursementSubRowState["PENDING"] = "pending";
|
|
36
36
|
ReimbursementSubRowState["APPROVED"] = "approved";
|
|
37
37
|
ReimbursementSubRowState["REJECTED"] = "rejected";
|
|
38
|
+
ReimbursementSubRowState["DELETED"] = "deleted";
|
|
38
39
|
})(ReimbursementSubRowState || (exports.ReimbursementSubRowState = ReimbursementSubRowState = {}));
|
|
39
40
|
var ReimbursementPaymentStatusEnum;
|
|
40
41
|
(function (ReimbursementPaymentStatusEnum) {
|
|
@@ -55,6 +56,7 @@ var ReimbursementActionSubRowEnum;
|
|
|
55
56
|
ReimbursementActionSubRowEnum["PENDING"] = "pending";
|
|
56
57
|
ReimbursementActionSubRowEnum["APPROVE"] = "approve";
|
|
57
58
|
ReimbursementActionSubRowEnum["REJECT"] = "reject";
|
|
59
|
+
ReimbursementActionSubRowEnum["DELETE"] = "delete";
|
|
58
60
|
})(ReimbursementActionSubRowEnum || (exports.ReimbursementActionSubRowEnum = ReimbursementActionSubRowEnum = {}));
|
|
59
61
|
(function (ReimbursementActionEnum) {
|
|
60
62
|
const actionLabelMap = {
|
|
@@ -88,6 +90,7 @@ var ReimbursementActionSubRowEnum;
|
|
|
88
90
|
[ReimbursementActionSubRowEnum.PENDING]: "Pending",
|
|
89
91
|
[ReimbursementActionSubRowEnum.APPROVE]: "Approve",
|
|
90
92
|
[ReimbursementActionSubRowEnum.REJECT]: "Reject",
|
|
93
|
+
[ReimbursementActionSubRowEnum.DELETE]: "delete",
|
|
91
94
|
};
|
|
92
95
|
function getLabel(action) {
|
|
93
96
|
if (!Object.values(ReimbursementActionSubRowEnum).includes(action)) {
|