@neutron.co.id/operasional-modules 1.12.14-beta.1 → 1.12.14
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/personalia/module.mjs +0 -2
- package/build/personalia/resources/attendance/attendance.resource.d.ts +1 -1
- package/build/personalia/resources/index.d.ts +0 -1
- package/build/personalia/resources/index.mjs +0 -1
- package/build/personalia/resources/progress/progress.resource.d.ts +1 -1
- package/build/personalia/resources/responsibility/responsibility.views.mjs +1 -26
- package/build/personalia/resources/shift/shift.resource.d.ts +1 -1
- package/build/personalia/view-names.mjs +6 -8
- package/build/personalia/views.mjs +2 -2
- package/build/views.mjs +6 -8
- package/package.json +1 -1
- package/build/personalia/resources/attendanceType/attendanceType.resource.d.ts +0 -3
- package/build/personalia/resources/attendanceType/attendanceType.resource.mjs +0 -21
- package/build/personalia/resources/attendanceType/attendanceType.views.d.ts +0 -66
- package/build/personalia/resources/attendanceType/attendanceType.views.mjs +0 -10
- package/build/personalia/resources/attendanceType/index.d.ts +0 -2
- package/build/personalia/resources/attendanceType/index.mjs +0 -2
|
@@ -17,7 +17,6 @@ import { ShiftTypeResource } from "./resources/shiftType/shiftType.resource.mjs"
|
|
|
17
17
|
import { ShiftStaffResource } from "./resources/shiftStaff/shiftStaff.resource.mjs";
|
|
18
18
|
import { TaskResource } from "./resources/task/task.resource.mjs";
|
|
19
19
|
import { TargetResource } from "./resources/target/target.resource.mjs";
|
|
20
|
-
import { AttendanceTypeResource } from "./resources/attendanceType/attendanceType.resource.mjs";
|
|
21
20
|
export const PersonaliaModule = Module.define({
|
|
22
21
|
definition: "neu:operasional:personalia",
|
|
23
22
|
label: "Personalia",
|
|
@@ -38,7 +37,6 @@ export const PersonaliaModule = Module.define({
|
|
|
38
37
|
PlanResource,
|
|
39
38
|
ProgressResource,
|
|
40
39
|
AttendanceResource,
|
|
41
|
-
AttendanceTypeResource,
|
|
42
40
|
ProgressAccessResource,
|
|
43
41
|
ShiftTypeResource,
|
|
44
42
|
ShiftResource,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
2
|
import { type Schema } from '@neutron.co.id/personalia-models';
|
|
3
|
-
export declare const AttendanceResource: Resource<Schema.Attendance, import("@neon.id/model").Model<"neu:personalia:attendance", "type" | "nameStaff" | "status" | "branch" | "
|
|
3
|
+
export declare const AttendanceResource: Resource<Schema.Attendance, import("@neon.id/model").Model<"neu:personalia:attendance", "type" | "nameStaff" | "status" | "branch" | "attendanceAt" | "comeAt" | "decideStaff" | "delegateNotes" | "delegateStaffs" | "earlyAt" | "endedAt" | "homeAt" | "isDelegateStaff" | "isGenerate" | "isNotes" | "lateAt" | "monitoringStaffs" | "notes" | "startedAt" | "submitStaff" | "submittedAt" | "virtualSubmitStaff", Schema.Attendance>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
2
|
import { type Schema } from '@neutron.co.id/personalia-models';
|
|
3
|
-
export declare const ProgressResource: Resource<Schema.Progress, import("@neon.id/model").Model<"neu:personalia:progress", "nameStaff" | "endedAt" | "
|
|
3
|
+
export declare const ProgressResource: Resource<Schema.Progress, import("@neon.id/model").Model<"neu:personalia:progress", "nameStaff" | "endedAt" | "isNotes" | "startedAt" | "branches" | "staffs" | "detail" | "plans" | "priority" | "submissions" | "tasks" | "accessStaffs" | "reports" | "responsibilities" | "virtualIsNotes" | "virtualStaffs", Schema.Progress>>;
|
|
@@ -4,32 +4,7 @@ import { useOperasional, useOperasionalStore } from "@neutron.co.id/operasional-
|
|
|
4
4
|
export const ResponsibilityCollectionView = ResourceUtil.createCollection({
|
|
5
5
|
name: "default",
|
|
6
6
|
definition: "neu:personalia:responsibility",
|
|
7
|
-
single: {
|
|
8
|
-
// peeks: ['modal'],
|
|
9
|
-
},
|
|
10
|
-
query: () => {
|
|
11
|
-
const state = useOperasionalStore();
|
|
12
|
-
const { staff } = state.getAllStoreValue();
|
|
13
|
-
return Query.define({
|
|
14
|
-
filter: [
|
|
15
|
-
{
|
|
16
|
-
$or: [
|
|
17
|
-
{
|
|
18
|
-
handle: "virtualBranchIds",
|
|
19
|
-
operator: "in",
|
|
20
|
-
value: staff?.branchIds
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
handle: "virtualBranchIds",
|
|
24
|
-
operator: "in",
|
|
25
|
-
value: staff?.branchId
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
sort: [{ handle: "title", direction: "ascending" }]
|
|
31
|
-
});
|
|
32
|
-
}
|
|
7
|
+
single: {}
|
|
33
8
|
});
|
|
34
9
|
export const ResponsibilitySingleView = ResourceUtil.createSingle({
|
|
35
10
|
name: "default",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
2
|
import { type Schema } from '@neutron.co.id/personalia-models';
|
|
3
|
-
export declare const ShiftResource: Resource<Schema.Shift, import("@neon.id/model").Model<"neu:personalia:shift", "nameStaff" | "endedAt" | "
|
|
3
|
+
export declare const ShiftResource: Resource<Schema.Shift, import("@neon.id/model").Model<"neu:personalia:shift", "nameStaff" | "endedAt" | "isGenerate" | "startedAt" | "note" | "building" | "branches" | "administratorStaff" | "checkIn" | "shiftingStaffs" | "titleShift" | "totalTime" | "typeShift" | "virtualAdministratorStaff", Schema.Shift>>;
|
|
@@ -9,8 +9,10 @@ export default [
|
|
|
9
9
|
'AttendanceSingleManagerView',
|
|
10
10
|
'AttendanceCollectionSupervisorView',
|
|
11
11
|
'AttendanceSingleSupervisorView',
|
|
12
|
-
'
|
|
13
|
-
'
|
|
12
|
+
'PlanCollectionView',
|
|
13
|
+
'PlanSingleView',
|
|
14
|
+
'PlanCollectionStaffView',
|
|
15
|
+
'PlanSingleStaffView',
|
|
14
16
|
'CheckInCollectionView',
|
|
15
17
|
'CheckInSingleView',
|
|
16
18
|
'CheckInCollectionExternalView',
|
|
@@ -18,10 +20,6 @@ export default [
|
|
|
18
20
|
'CheckInCollectionSupervisorView',
|
|
19
21
|
'CheckInSingleSupervisorView',
|
|
20
22
|
'CheckInCollectionStaffView',
|
|
21
|
-
'PlanCollectionView',
|
|
22
|
-
'PlanSingleView',
|
|
23
|
-
'PlanCollectionStaffView',
|
|
24
|
-
'PlanSingleStaffView',
|
|
25
23
|
'PlanTypeCollectionView',
|
|
26
24
|
'PlanTypeSingleView',
|
|
27
25
|
'ProgressCollectionView',
|
|
@@ -54,14 +52,14 @@ export default [
|
|
|
54
52
|
'ShiftStaffBranchSingleView',
|
|
55
53
|
'ShiftTypeCollectionView',
|
|
56
54
|
'ShiftTypeSingleView',
|
|
55
|
+
'SituationTypeCollectionView',
|
|
56
|
+
'SituationTypeSingleView',
|
|
57
57
|
'SituationCollectionView',
|
|
58
58
|
'SituationSingleView',
|
|
59
59
|
'SituationCollectionWorkView',
|
|
60
60
|
'SituationSingleWorkView',
|
|
61
61
|
'SituationCollectionSupportiveView',
|
|
62
62
|
'SituationSingleSupportiveView',
|
|
63
|
-
'SituationTypeCollectionView',
|
|
64
|
-
'SituationTypeSingleView',
|
|
65
63
|
'StaffCollectionView',
|
|
66
64
|
'StaffSingleView',
|
|
67
65
|
'StaffCollectionOperasionalView',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AttendanceCollectionView, AttendanceSingleView, AttendanceCollectionStaffView, AttendanceSingleStaffView, AttendanceCollectionDelegateView, AttendanceSingleDelegateView, AttendanceCollectionManagerView, AttendanceSingleManagerView, AttendanceCollectionSupervisorView, AttendanceSingleSupervisorView,
|
|
2
|
-
export { AttendanceCollectionView, AttendanceSingleView, AttendanceCollectionStaffView, AttendanceSingleStaffView, AttendanceCollectionDelegateView, AttendanceSingleDelegateView, AttendanceCollectionManagerView, AttendanceSingleManagerView, AttendanceCollectionSupervisorView, AttendanceSingleSupervisorView,
|
|
1
|
+
import { AttendanceCollectionView, AttendanceSingleView, AttendanceCollectionStaffView, AttendanceSingleStaffView, AttendanceCollectionDelegateView, AttendanceSingleDelegateView, AttendanceCollectionManagerView, AttendanceSingleManagerView, AttendanceCollectionSupervisorView, AttendanceSingleSupervisorView, PlanCollectionView, PlanSingleView, PlanCollectionStaffView, PlanSingleStaffView, CheckInCollectionView, CheckInSingleView, CheckInCollectionExternalView, CheckInSingleExternalView, CheckInCollectionSupervisorView, CheckInSingleSupervisorView, CheckInCollectionStaffView, PlanTypeCollectionView, PlanTypeSingleView, ProgressCollectionView, ProgressCollectionNoteView, ProgressSingleNoteView, ProgressSingleView, ProgressSingleYesterdayView, ProgressSingleTomorrowView, ProgressCollectionSupervisorView, ProgressAccessCollectionView, ProgressAccessSingleView, ProgressAccessCollectionSupervisorView, ProgressAccessSingleSupervisorView, ResponsibilityCollectionView, ResponsibilitySingleView, ResponsibilityCollectionStaffView, ResponsibilitySingleStaffView, ResponsibilityCollectionSupervisorView, ResponsibilitySingleSupervisorView, ResponsibilityTypeCollectionView, ResponsibilityTypeSingleView, ShiftCollectionView, ShiftSingleView, ShiftCollectionAdministratorView, ShiftSingleAdministratorView, ShiftCollectionSupervisorView, ShiftSingleSupervisorView, ShiftStaffCollectionView, ShiftStaffSingleView, ShiftStaffBranchSingleView, ShiftTypeCollectionView, ShiftTypeSingleView, SituationTypeCollectionView, SituationTypeSingleView, SituationCollectionView, SituationSingleView, SituationCollectionWorkView, SituationSingleWorkView, SituationCollectionSupportiveView, SituationSingleSupportiveView, StaffCollectionView, StaffSingleView, StaffCollectionOperasionalView, StaffSingleOperasionalView, StaffCollectionAccessView, StaffSingleAccessView, StaffCollectionEventView, SubmissionCollectionView, SubmissionSingleView, SubmissionCollectionStaffView, SubmissionSingleStaffView, SubmissionCollectionFollowUpView, SubmissionSingleFollowUpView, SubmissionCollectionAuditView, SubmissionSingleAuditView, SubmissionCollectionDecisionView, SubmissionSingleDecisionView, SubmissionCollectionWaitingDecisionView, SubmissionSingleWaitingDecisionView, SubmissionCollectionSupervisorView, SubmissionSingleSupervisorView, SubmissionTypeCollectionView, SubmissionTypeSingleView, TargetCollectionView, TargetSingleView, TargetCollectionBranchView, TargetSingleBranchView, TaskCollectionView, TaskSingleView, TaskCollectionPlanView, TaskSinglePlanView, TaskCollectionWorkView, TaskSingleWorkView } from './resources'
|
|
2
|
+
export { AttendanceCollectionView, AttendanceSingleView, AttendanceCollectionStaffView, AttendanceSingleStaffView, AttendanceCollectionDelegateView, AttendanceSingleDelegateView, AttendanceCollectionManagerView, AttendanceSingleManagerView, AttendanceCollectionSupervisorView, AttendanceSingleSupervisorView, PlanCollectionView, PlanSingleView, PlanCollectionStaffView, PlanSingleStaffView, CheckInCollectionView, CheckInSingleView, CheckInCollectionExternalView, CheckInSingleExternalView, CheckInCollectionSupervisorView, CheckInSingleSupervisorView, CheckInCollectionStaffView, PlanTypeCollectionView, PlanTypeSingleView, ProgressCollectionView, ProgressCollectionNoteView, ProgressSingleNoteView, ProgressSingleView, ProgressSingleYesterdayView, ProgressSingleTomorrowView, ProgressCollectionSupervisorView, ProgressAccessCollectionView, ProgressAccessSingleView, ProgressAccessCollectionSupervisorView, ProgressAccessSingleSupervisorView, ResponsibilityCollectionView, ResponsibilitySingleView, ResponsibilityCollectionStaffView, ResponsibilitySingleStaffView, ResponsibilityCollectionSupervisorView, ResponsibilitySingleSupervisorView, ResponsibilityTypeCollectionView, ResponsibilityTypeSingleView, ShiftCollectionView, ShiftSingleView, ShiftCollectionAdministratorView, ShiftSingleAdministratorView, ShiftCollectionSupervisorView, ShiftSingleSupervisorView, ShiftStaffCollectionView, ShiftStaffSingleView, ShiftStaffBranchSingleView, ShiftTypeCollectionView, ShiftTypeSingleView, SituationTypeCollectionView, SituationTypeSingleView, SituationCollectionView, SituationSingleView, SituationCollectionWorkView, SituationSingleWorkView, SituationCollectionSupportiveView, SituationSingleSupportiveView, StaffCollectionView, StaffSingleView, StaffCollectionOperasionalView, StaffSingleOperasionalView, StaffCollectionAccessView, StaffSingleAccessView, StaffCollectionEventView, SubmissionCollectionView, SubmissionSingleView, SubmissionCollectionStaffView, SubmissionSingleStaffView, SubmissionCollectionFollowUpView, SubmissionSingleFollowUpView, SubmissionCollectionAuditView, SubmissionSingleAuditView, SubmissionCollectionDecisionView, SubmissionSingleDecisionView, SubmissionCollectionWaitingDecisionView, SubmissionSingleWaitingDecisionView, SubmissionCollectionSupervisorView, SubmissionSingleSupervisorView, SubmissionTypeCollectionView, SubmissionTypeSingleView, TargetCollectionView, TargetSingleView, TargetCollectionBranchView, TargetSingleBranchView, TaskCollectionView, TaskSingleView, TaskCollectionPlanView, TaskSinglePlanView, TaskCollectionWorkView, TaskSingleWorkView }
|
package/build/views.mjs
CHANGED
|
@@ -10,8 +10,10 @@ export default {
|
|
|
10
10
|
'AttendanceSingleManagerView',
|
|
11
11
|
'AttendanceCollectionSupervisorView',
|
|
12
12
|
'AttendanceSingleSupervisorView',
|
|
13
|
-
'
|
|
14
|
-
'
|
|
13
|
+
'PlanCollectionView',
|
|
14
|
+
'PlanSingleView',
|
|
15
|
+
'PlanCollectionStaffView',
|
|
16
|
+
'PlanSingleStaffView',
|
|
15
17
|
'CheckInCollectionView',
|
|
16
18
|
'CheckInSingleView',
|
|
17
19
|
'CheckInCollectionExternalView',
|
|
@@ -19,10 +21,6 @@ export default {
|
|
|
19
21
|
'CheckInCollectionSupervisorView',
|
|
20
22
|
'CheckInSingleSupervisorView',
|
|
21
23
|
'CheckInCollectionStaffView',
|
|
22
|
-
'PlanCollectionView',
|
|
23
|
-
'PlanSingleView',
|
|
24
|
-
'PlanCollectionStaffView',
|
|
25
|
-
'PlanSingleStaffView',
|
|
26
24
|
'PlanTypeCollectionView',
|
|
27
25
|
'PlanTypeSingleView',
|
|
28
26
|
'ProgressCollectionView',
|
|
@@ -55,14 +53,14 @@ export default {
|
|
|
55
53
|
'ShiftStaffBranchSingleView',
|
|
56
54
|
'ShiftTypeCollectionView',
|
|
57
55
|
'ShiftTypeSingleView',
|
|
56
|
+
'SituationTypeCollectionView',
|
|
57
|
+
'SituationTypeSingleView',
|
|
58
58
|
'SituationCollectionView',
|
|
59
59
|
'SituationSingleView',
|
|
60
60
|
'SituationCollectionWorkView',
|
|
61
61
|
'SituationSingleWorkView',
|
|
62
62
|
'SituationCollectionSupportiveView',
|
|
63
63
|
'SituationSingleSupportiveView',
|
|
64
|
-
'SituationTypeCollectionView',
|
|
65
|
-
'SituationTypeSingleView',
|
|
66
64
|
'StaffCollectionView',
|
|
67
65
|
'StaffSingleView',
|
|
68
66
|
'StaffCollectionOperasionalView',
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@neon.id/context';
|
|
2
|
-
import { type Schema } from '@neutron.co.id/personalia-models';
|
|
3
|
-
export declare const AttendanceTypeResource: Resource<Schema.AttendanceType, import("@neon.id/model").Model<"neu:personalia:attendanceType", "code" | "name" | "branches" | "description" | "leaveQuota" | "maxDurationDays" | "showAttendanceType" | "showLeaveQuota", Schema.AttendanceType>>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Resource } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
AttendanceTypeModel
|
|
4
|
-
} from "@neutron.co.id/personalia-models";
|
|
5
|
-
export const AttendanceTypeResource = Resource.define({
|
|
6
|
-
model: AttendanceTypeModel,
|
|
7
|
-
collection: {
|
|
8
|
-
title: "Tipe Absensi",
|
|
9
|
-
path: "attendance-types",
|
|
10
|
-
component: "AttendanceTypeCollectionView",
|
|
11
|
-
menu: true,
|
|
12
|
-
displays: ["table"]
|
|
13
|
-
},
|
|
14
|
-
single: {
|
|
15
|
-
path: "attendance-types/:slug",
|
|
16
|
-
component: "AttendanceTypeSingleView"
|
|
17
|
-
},
|
|
18
|
-
views: {},
|
|
19
|
-
fragments: AttendanceTypeModel.fragments,
|
|
20
|
-
renders: {}
|
|
21
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export declare const AttendanceTypeCollectionView: import("vue").DefineComponent<{
|
|
2
|
-
overrides: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: () => {};
|
|
5
|
-
};
|
|
6
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
-
overrides: {
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
default: () => {};
|
|
12
|
-
};
|
|
13
|
-
}>>, {
|
|
14
|
-
overrides: Record<string, any>;
|
|
15
|
-
}, {}>;
|
|
16
|
-
export declare const AttendanceTypeSingleView: import("vue").DefineComponent<{
|
|
17
|
-
state: {
|
|
18
|
-
type: import("vue").PropType<import("@neon.id/context").TSingleStateOrFn>;
|
|
19
|
-
default: undefined;
|
|
20
|
-
};
|
|
21
|
-
id: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
isNew: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: undefined;
|
|
28
|
-
};
|
|
29
|
-
isMain: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
overrides: {
|
|
34
|
-
type: ObjectConstructor;
|
|
35
|
-
default: () => {};
|
|
36
|
-
};
|
|
37
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
38
|
-
[key: string]: any;
|
|
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
|
-
};
|
|
44
|
-
id: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
isNew: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: undefined;
|
|
51
|
-
};
|
|
52
|
-
isMain: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
default: boolean;
|
|
55
|
-
};
|
|
56
|
-
overrides: {
|
|
57
|
-
type: ObjectConstructor;
|
|
58
|
-
default: () => {};
|
|
59
|
-
};
|
|
60
|
-
}>>, {
|
|
61
|
-
state: import("@neon.id/context").TSingleStateOrFn;
|
|
62
|
-
id: string;
|
|
63
|
-
isNew: boolean;
|
|
64
|
-
isMain: boolean;
|
|
65
|
-
overrides: Record<string, any>;
|
|
66
|
-
}, {}>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ResourceUtil } from "@neon.id/office";
|
|
2
|
-
export const AttendanceTypeCollectionView = ResourceUtil.createCollection({
|
|
3
|
-
name: "default",
|
|
4
|
-
definition: "neu:personalia:attendanceType",
|
|
5
|
-
single: {}
|
|
6
|
-
});
|
|
7
|
-
export const AttendanceTypeSingleView = ResourceUtil.createSingle({
|
|
8
|
-
name: "default",
|
|
9
|
-
definition: "neu:personalia:attendanceType"
|
|
10
|
-
});
|