@neutron.co.id/operasional-modules 1.11.2 → 1.12.0-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.
- package/build/constants.d.ts +1 -0
- package/build/constants.mjs +1 -0
- package/build/personalia/index.mjs +5 -3
- package/build/personalia/module.mjs +15 -17
- package/build/personalia/plugin.mjs +5 -14
- package/build/personalia/resources/attendance/attendance.resource.d.ts +2 -1
- package/build/personalia/resources/attendance/attendance.resource.mjs +10 -20
- package/build/personalia/resources/attendance/attendance.views.d.ts +48 -12
- package/build/personalia/resources/attendance/attendance.views.mjs +16 -11
- package/build/personalia/resources/checkIn/checkIn.resource.d.ts +0 -2
- package/build/personalia/resources/checkIn/checkIn.resource.mjs +9 -18
- package/build/personalia/resources/checkIn/checkIn.views.d.ts +37 -10
- package/build/personalia/resources/checkIn/checkIn.views.mjs +9 -8
- package/build/personalia/resources/plan/plan.resource.d.ts +2 -1
- package/build/personalia/resources/plan/plan.resource.mjs +4 -10
- package/build/personalia/resources/plan/plan.views.d.ts +24 -6
- package/build/personalia/resources/plan/plan.views.mjs +7 -6
- package/build/personalia/resources/planType/planType.resource.d.ts +2 -1
- package/build/personalia/resources/planType/planType.resource.mjs +2 -3
- package/build/personalia/resources/planType/planType.views.d.ts +12 -3
- package/build/personalia/resources/planType/planType.views.mjs +1 -1
- package/build/personalia/resources/progress/progress.resource.d.ts +2 -1
- package/build/personalia/resources/progress/progress.resource.mjs +7 -16
- package/build/personalia/resources/progress/progress.views.d.ts +47 -11
- package/build/personalia/resources/progress/progress.views.mjs +14 -25
- package/build/personalia/resources/progressAccess/progressAccess.resource.d.ts +2 -1
- package/build/personalia/resources/progressAccess/progressAccess.resource.mjs +4 -10
- package/build/personalia/resources/progressAccess/progressAccess.views.d.ts +24 -6
- package/build/personalia/resources/progressAccess/progressAccess.views.mjs +4 -4
- package/build/personalia/resources/responsibility/responsibility.resource.d.ts +2 -1
- package/build/personalia/resources/responsibility/responsibility.resource.mjs +6 -14
- package/build/personalia/resources/responsibility/responsibility.views.d.ts +36 -9
- package/build/personalia/resources/responsibility/responsibility.views.mjs +14 -12
- package/build/personalia/resources/responsibilityType/responsibilityType.resource.d.ts +2 -1
- package/build/personalia/resources/responsibilityType/responsibilityType.resource.mjs +2 -6
- package/build/personalia/resources/responsibilityType/responsibilityType.views.d.ts +12 -3
- package/build/personalia/resources/responsibilityType/responsibilityType.views.mjs +1 -1
- package/build/personalia/resources/situation/situation.resource.d.ts +2 -1
- package/build/personalia/resources/situation/situation.resource.mjs +6 -14
- package/build/personalia/resources/situation/situation.views.d.ts +36 -9
- package/build/personalia/resources/situation/situation.views.mjs +16 -14
- package/build/personalia/resources/situationType/situationType.resource.d.ts +2 -1
- package/build/personalia/resources/situationType/situationType.resource.mjs +2 -6
- package/build/personalia/resources/situationType/situationType.views.d.ts +12 -3
- package/build/personalia/resources/situationType/situationType.views.mjs +1 -4
- package/build/personalia/resources/staff/staff.resource.d.ts +2 -1
- package/build/personalia/resources/staff/staff.resource.mjs +10 -14
- package/build/personalia/resources/staff/staff.views.d.ts +51 -9
- package/build/personalia/resources/staff/staff.views.mjs +31 -6
- package/build/personalia/resources/submission/submission.resource.d.ts +2 -1
- package/build/personalia/resources/submission/submission.resource.mjs +18 -34
- package/build/personalia/resources/submission/submission.views.d.ts +84 -21
- package/build/personalia/resources/submission/submission.views.mjs +25 -20
- package/build/personalia/resources/submissionType/index.d.ts +1 -1
- package/build/personalia/resources/submissionType/index.mjs +1 -1
- package/build/personalia/resources/submissionType/submissionType.resource.mjs +2 -6
- package/build/personalia/resources/submissionType/submissionType.views.d.ts +12 -3
- package/build/personalia/resources/submissionType/submissionType.views.mjs +1 -1
- package/build/personalia/resources/target/target.resource.d.ts +2 -1
- package/build/personalia/resources/target/target.resource.mjs +4 -10
- package/build/personalia/resources/target/target.views.d.ts +24 -6
- package/build/personalia/resources/target/target.views.mjs +7 -6
- package/build/personalia/resources/task/task.resource.d.ts +2 -1
- package/build/personalia/resources/task/task.resource.mjs +7 -15
- package/build/personalia/resources/task/task.views.d.ts +36 -9
- package/build/personalia/resources/task/task.views.mjs +24 -19
- package/build/personalia/view-names.mjs +83 -0
- package/build/personalia/views.mjs +2 -2
- package/build/plugin.d.ts +1 -0
- package/build/plugin.mjs +10 -0
- package/build/types/view-names.mjs +2 -0
- package/build/views.mjs +88 -0
- package/package.json +34 -28
|
@@ -1,97 +1,81 @@
|
|
|
1
1
|
import { Resource } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
SubmissionCollectionView,
|
|
4
|
-
SubmissionSingleView,
|
|
5
|
-
SubmissionCollectionStaffView,
|
|
6
|
-
SubmissionSingleStaffView,
|
|
7
|
-
SubmissionCollectionFollowUpView,
|
|
8
|
-
SubmissionSingleFollowUpView,
|
|
9
|
-
SubmissionCollectionAuditView,
|
|
10
|
-
SubmissionSingleAuditView,
|
|
11
|
-
SubmissionCollectionDecisionView,
|
|
12
|
-
SubmissionSingleDecisionView,
|
|
13
|
-
SubmissionCollectionWaitingDecisionView,
|
|
14
|
-
SubmissionSingleWaitingDecisionView,
|
|
15
|
-
SubmissionCollectionSupervisorView,
|
|
16
|
-
SubmissionSingleSupervisorView
|
|
17
|
-
} from "./submission.views.mjs";
|
|
18
2
|
import {
|
|
19
3
|
SubmissionModel
|
|
20
4
|
} from "@neutron.co.id/personalia-models";
|
|
21
|
-
|
|
5
|
+
function formatRupiah(money) {
|
|
22
6
|
return new Intl.NumberFormat("id-ID", {
|
|
23
7
|
style: "currency",
|
|
24
8
|
currency: "IDR",
|
|
25
9
|
minimumFractionDigits: 0
|
|
26
10
|
}).format(money);
|
|
27
|
-
}
|
|
11
|
+
}
|
|
28
12
|
export const SubmissionResource = Resource.define({
|
|
29
13
|
model: SubmissionModel,
|
|
30
14
|
collection: {
|
|
31
15
|
title: "Pengajuan",
|
|
32
16
|
path: "submissions",
|
|
33
|
-
component: SubmissionCollectionView,
|
|
17
|
+
component: "SubmissionCollectionView",
|
|
34
18
|
menu: true,
|
|
35
19
|
displays: ["table"]
|
|
36
20
|
},
|
|
37
21
|
single: {
|
|
38
22
|
path: "submissions/:slug",
|
|
39
|
-
component: SubmissionSingleView
|
|
23
|
+
component: "SubmissionSingleView"
|
|
40
24
|
},
|
|
41
25
|
views: {
|
|
42
26
|
// Karyawan Pengajuan
|
|
43
27
|
submissionStaff: {
|
|
44
28
|
path: "/pengajuan/staff-submission",
|
|
45
|
-
component: SubmissionCollectionStaffView
|
|
29
|
+
component: "SubmissionCollectionStaffView"
|
|
46
30
|
},
|
|
47
31
|
submissionStaffSingle: {
|
|
48
32
|
path: "/pengajuan/staff-submission/:slug",
|
|
49
|
-
component: SubmissionSingleStaffView
|
|
33
|
+
component: "SubmissionSingleStaffView"
|
|
50
34
|
},
|
|
51
35
|
// Karyawan Tidak Lanjut
|
|
52
36
|
submissionFollowUp: {
|
|
53
37
|
path: "/pengajuan/follow-up-submission",
|
|
54
|
-
component: SubmissionCollectionFollowUpView
|
|
38
|
+
component: "SubmissionCollectionFollowUpView"
|
|
55
39
|
},
|
|
56
40
|
submissionFollowUpSingle: {
|
|
57
41
|
path: "/pengajuan/follow-up-submission/:slug",
|
|
58
|
-
component: SubmissionSingleFollowUpView
|
|
42
|
+
component: "SubmissionSingleFollowUpView"
|
|
59
43
|
},
|
|
60
44
|
// Pengawas Pengajuan
|
|
61
45
|
submissionAudit: {
|
|
62
46
|
path: "/pengajuan/audit-submission",
|
|
63
|
-
component: SubmissionCollectionAuditView
|
|
47
|
+
component: "SubmissionCollectionAuditView"
|
|
64
48
|
},
|
|
65
49
|
submissionAuditSingle: {
|
|
66
50
|
path: "/pengajuan/audit-submission/:slug",
|
|
67
|
-
component: SubmissionSingleAuditView
|
|
51
|
+
component: "SubmissionSingleAuditView"
|
|
68
52
|
},
|
|
69
53
|
// Pengambil Keputusan
|
|
70
54
|
submissionDecision: {
|
|
71
55
|
path: "/pengajuan/decision-submission",
|
|
72
|
-
component: SubmissionCollectionDecisionView
|
|
56
|
+
component: "SubmissionCollectionDecisionView"
|
|
73
57
|
},
|
|
74
58
|
submissionDecisionSingle: {
|
|
75
59
|
path: "/pengajuan/decision-submission/:slug",
|
|
76
|
-
component: SubmissionSingleDecisionView
|
|
60
|
+
component: "SubmissionSingleDecisionView"
|
|
77
61
|
},
|
|
78
|
-
//Menunggu Keputusan
|
|
62
|
+
// Menunggu Keputusan
|
|
79
63
|
submissionWaitingDecision: {
|
|
80
64
|
path: "/pengajuan/waiting-decision-submission",
|
|
81
|
-
component: SubmissionCollectionWaitingDecisionView
|
|
65
|
+
component: "SubmissionCollectionWaitingDecisionView"
|
|
82
66
|
},
|
|
83
67
|
submissionWaitingDecisionSingle: {
|
|
84
68
|
path: "/pengajuan/waiting-decision-submission/:slug",
|
|
85
|
-
component: SubmissionSingleWaitingDecisionView
|
|
69
|
+
component: "SubmissionSingleWaitingDecisionView"
|
|
86
70
|
},
|
|
87
|
-
//Menunggu Keputusan
|
|
71
|
+
// Menunggu Keputusan
|
|
88
72
|
submissionSupervisor: {
|
|
89
73
|
path: "/pengawas/submissions",
|
|
90
|
-
component: SubmissionCollectionSupervisorView
|
|
74
|
+
component: "SubmissionCollectionSupervisorView"
|
|
91
75
|
},
|
|
92
76
|
submissionSupervisorSingle: {
|
|
93
77
|
path: "/pengawas/submissions/:slug",
|
|
94
|
-
component: SubmissionSingleSupervisorView
|
|
78
|
+
component: "SubmissionSingleSupervisorView"
|
|
95
79
|
}
|
|
96
80
|
},
|
|
97
81
|
fragments: SubmissionModel.fragments,
|
|
@@ -5,7 +5,7 @@ export declare const SubmissionCollectionView: import("vue").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
overrides: {
|
|
10
10
|
type: ObjectConstructor;
|
|
11
11
|
default: () => {};
|
|
@@ -14,6 +14,10 @@ export declare const SubmissionCollectionView: import("vue").DefineComponent<{
|
|
|
14
14
|
overrides: Record<string, any>;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export declare const SubmissionSingleView: import("vue").DefineComponent<{
|
|
17
|
+
state: {
|
|
18
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
17
21
|
id: {
|
|
18
22
|
type: StringConstructor;
|
|
19
23
|
default: undefined;
|
|
@@ -32,7 +36,11 @@ export declare const SubmissionSingleView: import("vue").DefineComponent<{
|
|
|
32
36
|
};
|
|
33
37
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
38
|
[key: string]: any;
|
|
35
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
39
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
state: {
|
|
41
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
36
44
|
id: {
|
|
37
45
|
type: StringConstructor;
|
|
38
46
|
default: undefined;
|
|
@@ -50,9 +58,10 @@ export declare const SubmissionSingleView: import("vue").DefineComponent<{
|
|
|
50
58
|
default: () => {};
|
|
51
59
|
};
|
|
52
60
|
}>>, {
|
|
61
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
53
62
|
id: string;
|
|
54
|
-
isMain: boolean;
|
|
55
63
|
isNew: boolean;
|
|
64
|
+
isMain: boolean;
|
|
56
65
|
overrides: Record<string, any>;
|
|
57
66
|
}, {}>;
|
|
58
67
|
export declare const SubmissionCollectionStaffView: import("vue").DefineComponent<{
|
|
@@ -62,7 +71,7 @@ export declare const SubmissionCollectionStaffView: import("vue").DefineComponen
|
|
|
62
71
|
};
|
|
63
72
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
64
73
|
[key: string]: any;
|
|
65
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
74
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
75
|
overrides: {
|
|
67
76
|
type: ObjectConstructor;
|
|
68
77
|
default: () => {};
|
|
@@ -71,6 +80,10 @@ export declare const SubmissionCollectionStaffView: import("vue").DefineComponen
|
|
|
71
80
|
overrides: Record<string, any>;
|
|
72
81
|
}, {}>;
|
|
73
82
|
export declare const SubmissionSingleStaffView: import("vue").DefineComponent<{
|
|
83
|
+
state: {
|
|
84
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
85
|
+
default: undefined;
|
|
86
|
+
};
|
|
74
87
|
id: {
|
|
75
88
|
type: StringConstructor;
|
|
76
89
|
default: undefined;
|
|
@@ -89,7 +102,11 @@ export declare const SubmissionSingleStaffView: import("vue").DefineComponent<{
|
|
|
89
102
|
};
|
|
90
103
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
91
104
|
[key: string]: any;
|
|
92
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
105
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
106
|
+
state: {
|
|
107
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
93
110
|
id: {
|
|
94
111
|
type: StringConstructor;
|
|
95
112
|
default: undefined;
|
|
@@ -107,9 +124,10 @@ export declare const SubmissionSingleStaffView: import("vue").DefineComponent<{
|
|
|
107
124
|
default: () => {};
|
|
108
125
|
};
|
|
109
126
|
}>>, {
|
|
127
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
110
128
|
id: string;
|
|
111
|
-
isMain: boolean;
|
|
112
129
|
isNew: boolean;
|
|
130
|
+
isMain: boolean;
|
|
113
131
|
overrides: Record<string, any>;
|
|
114
132
|
}, {}>;
|
|
115
133
|
export declare const SubmissionCollectionFollowUpView: import("vue").DefineComponent<{
|
|
@@ -119,7 +137,7 @@ export declare const SubmissionCollectionFollowUpView: import("vue").DefineCompo
|
|
|
119
137
|
};
|
|
120
138
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
121
139
|
[key: string]: any;
|
|
122
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
140
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
123
141
|
overrides: {
|
|
124
142
|
type: ObjectConstructor;
|
|
125
143
|
default: () => {};
|
|
@@ -128,6 +146,10 @@ export declare const SubmissionCollectionFollowUpView: import("vue").DefineCompo
|
|
|
128
146
|
overrides: Record<string, any>;
|
|
129
147
|
}, {}>;
|
|
130
148
|
export declare const SubmissionSingleFollowUpView: import("vue").DefineComponent<{
|
|
149
|
+
state: {
|
|
150
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
151
|
+
default: undefined;
|
|
152
|
+
};
|
|
131
153
|
id: {
|
|
132
154
|
type: StringConstructor;
|
|
133
155
|
default: undefined;
|
|
@@ -146,7 +168,11 @@ export declare const SubmissionSingleFollowUpView: import("vue").DefineComponent
|
|
|
146
168
|
};
|
|
147
169
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
148
170
|
[key: string]: any;
|
|
149
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
171
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
172
|
+
state: {
|
|
173
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
174
|
+
default: undefined;
|
|
175
|
+
};
|
|
150
176
|
id: {
|
|
151
177
|
type: StringConstructor;
|
|
152
178
|
default: undefined;
|
|
@@ -164,9 +190,10 @@ export declare const SubmissionSingleFollowUpView: import("vue").DefineComponent
|
|
|
164
190
|
default: () => {};
|
|
165
191
|
};
|
|
166
192
|
}>>, {
|
|
193
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
167
194
|
id: string;
|
|
168
|
-
isMain: boolean;
|
|
169
195
|
isNew: boolean;
|
|
196
|
+
isMain: boolean;
|
|
170
197
|
overrides: Record<string, any>;
|
|
171
198
|
}, {}>;
|
|
172
199
|
export declare const SubmissionCollectionAuditView: import("vue").DefineComponent<{
|
|
@@ -176,7 +203,7 @@ export declare const SubmissionCollectionAuditView: import("vue").DefineComponen
|
|
|
176
203
|
};
|
|
177
204
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
178
205
|
[key: string]: any;
|
|
179
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
206
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
180
207
|
overrides: {
|
|
181
208
|
type: ObjectConstructor;
|
|
182
209
|
default: () => {};
|
|
@@ -185,6 +212,10 @@ export declare const SubmissionCollectionAuditView: import("vue").DefineComponen
|
|
|
185
212
|
overrides: Record<string, any>;
|
|
186
213
|
}, {}>;
|
|
187
214
|
export declare const SubmissionSingleAuditView: import("vue").DefineComponent<{
|
|
215
|
+
state: {
|
|
216
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
217
|
+
default: undefined;
|
|
218
|
+
};
|
|
188
219
|
id: {
|
|
189
220
|
type: StringConstructor;
|
|
190
221
|
default: undefined;
|
|
@@ -203,7 +234,11 @@ export declare const SubmissionSingleAuditView: import("vue").DefineComponent<{
|
|
|
203
234
|
};
|
|
204
235
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
205
236
|
[key: string]: any;
|
|
206
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
237
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
238
|
+
state: {
|
|
239
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
240
|
+
default: undefined;
|
|
241
|
+
};
|
|
207
242
|
id: {
|
|
208
243
|
type: StringConstructor;
|
|
209
244
|
default: undefined;
|
|
@@ -221,9 +256,10 @@ export declare const SubmissionSingleAuditView: import("vue").DefineComponent<{
|
|
|
221
256
|
default: () => {};
|
|
222
257
|
};
|
|
223
258
|
}>>, {
|
|
259
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
224
260
|
id: string;
|
|
225
|
-
isMain: boolean;
|
|
226
261
|
isNew: boolean;
|
|
262
|
+
isMain: boolean;
|
|
227
263
|
overrides: Record<string, any>;
|
|
228
264
|
}, {}>;
|
|
229
265
|
export declare const SubmissionCollectionDecisionView: import("vue").DefineComponent<{
|
|
@@ -233,7 +269,7 @@ export declare const SubmissionCollectionDecisionView: import("vue").DefineCompo
|
|
|
233
269
|
};
|
|
234
270
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
235
271
|
[key: string]: any;
|
|
236
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
272
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
237
273
|
overrides: {
|
|
238
274
|
type: ObjectConstructor;
|
|
239
275
|
default: () => {};
|
|
@@ -242,6 +278,10 @@ export declare const SubmissionCollectionDecisionView: import("vue").DefineCompo
|
|
|
242
278
|
overrides: Record<string, any>;
|
|
243
279
|
}, {}>;
|
|
244
280
|
export declare const SubmissionSingleDecisionView: import("vue").DefineComponent<{
|
|
281
|
+
state: {
|
|
282
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
283
|
+
default: undefined;
|
|
284
|
+
};
|
|
245
285
|
id: {
|
|
246
286
|
type: StringConstructor;
|
|
247
287
|
default: undefined;
|
|
@@ -260,7 +300,11 @@ export declare const SubmissionSingleDecisionView: import("vue").DefineComponent
|
|
|
260
300
|
};
|
|
261
301
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
262
302
|
[key: string]: any;
|
|
263
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
303
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
304
|
+
state: {
|
|
305
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
306
|
+
default: undefined;
|
|
307
|
+
};
|
|
264
308
|
id: {
|
|
265
309
|
type: StringConstructor;
|
|
266
310
|
default: undefined;
|
|
@@ -278,9 +322,10 @@ export declare const SubmissionSingleDecisionView: import("vue").DefineComponent
|
|
|
278
322
|
default: () => {};
|
|
279
323
|
};
|
|
280
324
|
}>>, {
|
|
325
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
281
326
|
id: string;
|
|
282
|
-
isMain: boolean;
|
|
283
327
|
isNew: boolean;
|
|
328
|
+
isMain: boolean;
|
|
284
329
|
overrides: Record<string, any>;
|
|
285
330
|
}, {}>;
|
|
286
331
|
export declare const SubmissionCollectionWaitingDecisionView: import("vue").DefineComponent<{
|
|
@@ -290,7 +335,7 @@ export declare const SubmissionCollectionWaitingDecisionView: import("vue").Defi
|
|
|
290
335
|
};
|
|
291
336
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
292
337
|
[key: string]: any;
|
|
293
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
338
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
294
339
|
overrides: {
|
|
295
340
|
type: ObjectConstructor;
|
|
296
341
|
default: () => {};
|
|
@@ -299,6 +344,10 @@ export declare const SubmissionCollectionWaitingDecisionView: import("vue").Defi
|
|
|
299
344
|
overrides: Record<string, any>;
|
|
300
345
|
}, {}>;
|
|
301
346
|
export declare const SubmissionSingleWaitingDecisionView: import("vue").DefineComponent<{
|
|
347
|
+
state: {
|
|
348
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
349
|
+
default: undefined;
|
|
350
|
+
};
|
|
302
351
|
id: {
|
|
303
352
|
type: StringConstructor;
|
|
304
353
|
default: undefined;
|
|
@@ -317,7 +366,11 @@ export declare const SubmissionSingleWaitingDecisionView: import("vue").DefineCo
|
|
|
317
366
|
};
|
|
318
367
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
319
368
|
[key: string]: any;
|
|
320
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
369
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
370
|
+
state: {
|
|
371
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
372
|
+
default: undefined;
|
|
373
|
+
};
|
|
321
374
|
id: {
|
|
322
375
|
type: StringConstructor;
|
|
323
376
|
default: undefined;
|
|
@@ -335,9 +388,10 @@ export declare const SubmissionSingleWaitingDecisionView: import("vue").DefineCo
|
|
|
335
388
|
default: () => {};
|
|
336
389
|
};
|
|
337
390
|
}>>, {
|
|
391
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
338
392
|
id: string;
|
|
339
|
-
isMain: boolean;
|
|
340
393
|
isNew: boolean;
|
|
394
|
+
isMain: boolean;
|
|
341
395
|
overrides: Record<string, any>;
|
|
342
396
|
}, {}>;
|
|
343
397
|
export declare const SubmissionCollectionSupervisorView: import("vue").DefineComponent<{
|
|
@@ -347,7 +401,7 @@ export declare const SubmissionCollectionSupervisorView: import("vue").DefineCom
|
|
|
347
401
|
};
|
|
348
402
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
349
403
|
[key: string]: any;
|
|
350
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
404
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
351
405
|
overrides: {
|
|
352
406
|
type: ObjectConstructor;
|
|
353
407
|
default: () => {};
|
|
@@ -356,6 +410,10 @@ export declare const SubmissionCollectionSupervisorView: import("vue").DefineCom
|
|
|
356
410
|
overrides: Record<string, any>;
|
|
357
411
|
}, {}>;
|
|
358
412
|
export declare const SubmissionSingleSupervisorView: import("vue").DefineComponent<{
|
|
413
|
+
state: {
|
|
414
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
415
|
+
default: undefined;
|
|
416
|
+
};
|
|
359
417
|
id: {
|
|
360
418
|
type: StringConstructor;
|
|
361
419
|
default: undefined;
|
|
@@ -374,7 +432,11 @@ export declare const SubmissionSingleSupervisorView: import("vue").DefineCompone
|
|
|
374
432
|
};
|
|
375
433
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
376
434
|
[key: string]: any;
|
|
377
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
435
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
436
|
+
state: {
|
|
437
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
438
|
+
default: undefined;
|
|
439
|
+
};
|
|
378
440
|
id: {
|
|
379
441
|
type: StringConstructor;
|
|
380
442
|
default: undefined;
|
|
@@ -392,8 +454,9 @@ export declare const SubmissionSingleSupervisorView: import("vue").DefineCompone
|
|
|
392
454
|
default: () => {};
|
|
393
455
|
};
|
|
394
456
|
}>>, {
|
|
457
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
395
458
|
id: string;
|
|
396
|
-
isMain: boolean;
|
|
397
459
|
isNew: boolean;
|
|
460
|
+
isMain: boolean;
|
|
398
461
|
overrides: Record<string, any>;
|
|
399
462
|
}, {}>;
|
|
@@ -2,13 +2,13 @@ import { useSingle } from "@neon.id/context";
|
|
|
2
2
|
import { NeonLabel } from "@neon.id/interfaces";
|
|
3
3
|
import { ResourceUtil } from "@neon.id/office";
|
|
4
4
|
import { Query } from "@neon.id/query";
|
|
5
|
-
import { useOperasional } from "@neutron.co.id/operasional-interfaces";
|
|
5
|
+
import { useOperasional, useOperasionalStore } from "@neutron.co.id/operasional-interfaces/office";
|
|
6
6
|
import { computed, h } from "vue";
|
|
7
7
|
export const SubmissionCollectionView = ResourceUtil.createCollection({
|
|
8
8
|
name: "default",
|
|
9
9
|
definition: "neu:personalia:submission",
|
|
10
10
|
single: {
|
|
11
|
-
peeks: ["
|
|
11
|
+
peeks: ["page"]
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
export const SubmissionSingleView = ResourceUtil.createSingle({
|
|
@@ -29,7 +29,7 @@ export const SubmissionCollectionStaffView = ResourceUtil.createCollection({
|
|
|
29
29
|
path: "/pengajuan/staff-submission",
|
|
30
30
|
single: {
|
|
31
31
|
view: "staff",
|
|
32
|
-
peeks: ["
|
|
32
|
+
peeks: ["page"]
|
|
33
33
|
},
|
|
34
34
|
columns: [
|
|
35
35
|
"status",
|
|
@@ -65,13 +65,14 @@ export const SubmissionCollectionStaffView = ResourceUtil.createCollection({
|
|
|
65
65
|
"updatedAt"
|
|
66
66
|
],
|
|
67
67
|
query: () => {
|
|
68
|
-
const
|
|
68
|
+
const state = useOperasionalStore();
|
|
69
|
+
const { staff } = state.getAllStoreValue();
|
|
69
70
|
return Query.define({
|
|
70
71
|
filter: [
|
|
71
72
|
{
|
|
72
73
|
handle: "submissionStaffIds",
|
|
73
74
|
operator: "in",
|
|
74
|
-
value: staff
|
|
75
|
+
value: staff?.id
|
|
75
76
|
}
|
|
76
77
|
],
|
|
77
78
|
sort: [{ handle: "createdAt", direction: "descending" }]
|
|
@@ -99,7 +100,7 @@ export const SubmissionCollectionFollowUpView = ResourceUtil.createCollection({
|
|
|
99
100
|
path: "/pengajuan/follow-up-submission",
|
|
100
101
|
single: {
|
|
101
102
|
view: "follow-up",
|
|
102
|
-
peeks: ["
|
|
103
|
+
peeks: ["page"]
|
|
103
104
|
},
|
|
104
105
|
columns: [
|
|
105
106
|
"status",
|
|
@@ -128,7 +129,8 @@ export const SubmissionCollectionFollowUpView = ResourceUtil.createCollection({
|
|
|
128
129
|
],
|
|
129
130
|
sorts: ["type", "updatedAt", "createdAt", "updater"],
|
|
130
131
|
query: () => {
|
|
131
|
-
const
|
|
132
|
+
const state = useOperasionalStore();
|
|
133
|
+
const { staff } = state.getAllStoreValue();
|
|
132
134
|
return Query.define({
|
|
133
135
|
filter: [
|
|
134
136
|
{
|
|
@@ -139,7 +141,7 @@ export const SubmissionCollectionFollowUpView = ResourceUtil.createCollection({
|
|
|
139
141
|
{
|
|
140
142
|
handle: "followUpStaffIds",
|
|
141
143
|
operator: "in",
|
|
142
|
-
value: staff
|
|
144
|
+
value: staff?.id
|
|
143
145
|
}
|
|
144
146
|
],
|
|
145
147
|
sort: [{ handle: "createdAt", direction: "descending" }]
|
|
@@ -168,7 +170,7 @@ export const SubmissionCollectionAuditView = ResourceUtil.createCollection({
|
|
|
168
170
|
path: "/pengajuan/audit-submission",
|
|
169
171
|
single: {
|
|
170
172
|
view: "audit",
|
|
171
|
-
peeks: ["
|
|
173
|
+
peeks: ["page"]
|
|
172
174
|
},
|
|
173
175
|
columns: [
|
|
174
176
|
"status",
|
|
@@ -204,13 +206,14 @@ export const SubmissionCollectionAuditView = ResourceUtil.createCollection({
|
|
|
204
206
|
"updatedAt"
|
|
205
207
|
],
|
|
206
208
|
query: () => {
|
|
207
|
-
const
|
|
209
|
+
const state = useOperasionalStore();
|
|
210
|
+
const { staff } = state.getAllStoreValue();
|
|
208
211
|
return Query.define({
|
|
209
212
|
filter: [
|
|
210
213
|
{
|
|
211
214
|
handle: "raiseStaffIds",
|
|
212
215
|
operator: "in",
|
|
213
|
-
value: staff
|
|
216
|
+
value: staff?.id
|
|
214
217
|
}
|
|
215
218
|
],
|
|
216
219
|
sort: [{ handle: "createdAt", direction: "descending" }]
|
|
@@ -238,7 +241,7 @@ export const SubmissionCollectionDecisionView = ResourceUtil.createCollection({
|
|
|
238
241
|
path: "/pengajuan/decision-submission",
|
|
239
242
|
single: {
|
|
240
243
|
view: "decision",
|
|
241
|
-
peeks: ["
|
|
244
|
+
peeks: ["page"]
|
|
242
245
|
},
|
|
243
246
|
columns: [
|
|
244
247
|
"status",
|
|
@@ -274,13 +277,14 @@ export const SubmissionCollectionDecisionView = ResourceUtil.createCollection({
|
|
|
274
277
|
"updatedAt"
|
|
275
278
|
],
|
|
276
279
|
query: () => {
|
|
277
|
-
const
|
|
280
|
+
const state = useOperasionalStore();
|
|
281
|
+
const { staff } = state.getAllStoreValue();
|
|
278
282
|
return Query.define({
|
|
279
283
|
filter: [
|
|
280
284
|
{
|
|
281
285
|
handle: "decideStaffIds",
|
|
282
286
|
operator: "in",
|
|
283
|
-
value: staff
|
|
287
|
+
value: staff?.id
|
|
284
288
|
}
|
|
285
289
|
],
|
|
286
290
|
sort: [{ handle: "createdAt", direction: "descending" }]
|
|
@@ -308,7 +312,7 @@ export const SubmissionCollectionWaitingDecisionView = ResourceUtil.createCollec
|
|
|
308
312
|
path: "/pengajuan/waiting-decision-submission",
|
|
309
313
|
single: {
|
|
310
314
|
view: "waiting-decision",
|
|
311
|
-
peeks: ["
|
|
315
|
+
peeks: ["page"]
|
|
312
316
|
},
|
|
313
317
|
columns: [
|
|
314
318
|
"status",
|
|
@@ -344,7 +348,8 @@ export const SubmissionCollectionWaitingDecisionView = ResourceUtil.createCollec
|
|
|
344
348
|
"updatedAt"
|
|
345
349
|
],
|
|
346
350
|
query: () => {
|
|
347
|
-
const
|
|
351
|
+
const state = useOperasionalStore();
|
|
352
|
+
const { staff } = state.getAllStoreValue();
|
|
348
353
|
return Query.define({
|
|
349
354
|
filter: [
|
|
350
355
|
{
|
|
@@ -355,17 +360,17 @@ export const SubmissionCollectionWaitingDecisionView = ResourceUtil.createCollec
|
|
|
355
360
|
{
|
|
356
361
|
handle: "decideStaffIds",
|
|
357
362
|
operator: "in",
|
|
358
|
-
value: staff
|
|
363
|
+
value: staff?.id
|
|
359
364
|
},
|
|
360
365
|
{
|
|
361
366
|
handle: "delayStaffIds",
|
|
362
367
|
operator: "nin",
|
|
363
|
-
value: staff
|
|
368
|
+
value: staff?.id
|
|
364
369
|
},
|
|
365
370
|
{
|
|
366
371
|
handle: "agreedStaffIds",
|
|
367
372
|
operator: "nin",
|
|
368
|
-
value: staff
|
|
373
|
+
value: staff?.id
|
|
369
374
|
}
|
|
370
375
|
],
|
|
371
376
|
sort: [{ handle: "createdAt", direction: "descending" }]
|
|
@@ -394,7 +399,7 @@ export const SubmissionCollectionSupervisorView = ResourceUtil.createCollection(
|
|
|
394
399
|
path: "/pengawas/submissions",
|
|
395
400
|
single: {
|
|
396
401
|
view: "supervisor",
|
|
397
|
-
peeks: ["
|
|
402
|
+
peeks: ["page"]
|
|
398
403
|
},
|
|
399
404
|
columns: [
|
|
400
405
|
"status",
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { Resource } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
SubmissionTypeCollectionView,
|
|
4
|
-
SubmissionTypeSingleView
|
|
5
|
-
} from "./submissionType.views.mjs";
|
|
6
2
|
import {
|
|
7
3
|
SubmissionTypeModel
|
|
8
4
|
} from "@neutron.co.id/personalia-models";
|
|
@@ -11,13 +7,13 @@ export const SubmissionTypeResource = Resource.define({
|
|
|
11
7
|
collection: {
|
|
12
8
|
title: "Tipe Pengajuan",
|
|
13
9
|
path: "submissionTypes",
|
|
14
|
-
component: SubmissionTypeCollectionView,
|
|
10
|
+
component: "SubmissionTypeCollectionView",
|
|
15
11
|
menu: true,
|
|
16
12
|
displays: ["table"]
|
|
17
13
|
},
|
|
18
14
|
single: {
|
|
19
15
|
path: "submissionTypes/:slug",
|
|
20
|
-
component: SubmissionTypeSingleView
|
|
16
|
+
component: "SubmissionTypeSingleView"
|
|
21
17
|
},
|
|
22
18
|
views: {},
|
|
23
19
|
fragments: SubmissionTypeModel.fragments,
|
|
@@ -5,7 +5,7 @@ export declare const SubmissionTypeCollectionView: import("vue").DefineComponent
|
|
|
5
5
|
};
|
|
6
6
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
overrides: {
|
|
10
10
|
type: ObjectConstructor;
|
|
11
11
|
default: () => {};
|
|
@@ -14,6 +14,10 @@ export declare const SubmissionTypeCollectionView: import("vue").DefineComponent
|
|
|
14
14
|
overrides: Record<string, any>;
|
|
15
15
|
}, {}>;
|
|
16
16
|
export declare const SubmissionTypeSingleView: import("vue").DefineComponent<{
|
|
17
|
+
state: {
|
|
18
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
17
21
|
id: {
|
|
18
22
|
type: StringConstructor;
|
|
19
23
|
default: undefined;
|
|
@@ -32,7 +36,11 @@ export declare const SubmissionTypeSingleView: import("vue").DefineComponent<{
|
|
|
32
36
|
};
|
|
33
37
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
38
|
[key: string]: any;
|
|
35
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
39
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
state: {
|
|
41
|
+
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
36
44
|
id: {
|
|
37
45
|
type: StringConstructor;
|
|
38
46
|
default: undefined;
|
|
@@ -50,8 +58,9 @@ export declare const SubmissionTypeSingleView: import("vue").DefineComponent<{
|
|
|
50
58
|
default: () => {};
|
|
51
59
|
};
|
|
52
60
|
}>>, {
|
|
61
|
+
state: import("@neon.id/context").TSingleStateOrFn;
|
|
53
62
|
id: string;
|
|
54
|
-
isMain: boolean;
|
|
55
63
|
isNew: boolean;
|
|
64
|
+
isMain: boolean;
|
|
56
65
|
overrides: Record<string, any>;
|
|
57
66
|
}, {}>;
|