@neutron.co.id/operasional-modules 1.12.22-beta.1 → 1.12.23-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.
|
@@ -4,7 +4,8 @@ export const LeaveConflictCollectionView = ResourceUtil.createCollection({
|
|
|
4
4
|
definition: "neu:personalia:leaveConflict",
|
|
5
5
|
single: {
|
|
6
6
|
peeks: ["modal"]
|
|
7
|
-
}
|
|
7
|
+
},
|
|
8
|
+
excludes: ["create", "click"]
|
|
8
9
|
});
|
|
9
10
|
export const LeaveConflictSingleView = ResourceUtil.createSingle({
|
|
10
11
|
name: "default",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Resource } from "@neon.id/context";
|
|
2
|
+
import { NeonLabel } from "@neon.id/interfaces";
|
|
2
3
|
import {
|
|
3
4
|
LeaveQuotaModel
|
|
4
5
|
} from "@neutron.co.id/personalia-models";
|
|
@@ -19,6 +20,12 @@ export const LeaveQuotaResource = Resource.define({
|
|
|
19
20
|
views: {},
|
|
20
21
|
fragments: LeaveQuotaModel.fragments,
|
|
21
22
|
renders: {
|
|
23
|
+
hasConflict: (item) => h(NeonLabel, {
|
|
24
|
+
modelValue: item.hasConflict,
|
|
25
|
+
color: item.hasConflict ? "danger" : "success",
|
|
26
|
+
text: item.hasConflict ? "Ada Konflik" : "Tidak Ada Konflik",
|
|
27
|
+
icon: item.hasConflict ? "triangle-exclamation" : "check"
|
|
28
|
+
}),
|
|
22
29
|
startedAt: (item) => h(
|
|
23
30
|
"span",
|
|
24
31
|
null,
|
|
@@ -4,7 +4,8 @@ export const LeaveStaffCollectionView = ResourceUtil.createCollection({
|
|
|
4
4
|
definition: "neu:personalia:leaveStaff",
|
|
5
5
|
single: {
|
|
6
6
|
peeks: ["modal"]
|
|
7
|
-
}
|
|
7
|
+
},
|
|
8
|
+
excludes: ["create", "click"]
|
|
8
9
|
});
|
|
9
10
|
export const LeaveStaffSingleView = ResourceUtil.createSingle({
|
|
10
11
|
name: "default",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-modules",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.23-beta.1",
|
|
4
4
|
"description": "Modules of Neutron Operasional.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@neon.id/interfaces": "^1.57.0",
|
|
49
49
|
"@neon.id/office": "1.46.0",
|
|
50
50
|
"@neon.id/query": "^1.12.0",
|
|
51
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
51
|
+
"@neutron.co.id/personalia-models": "1.13.15-beta.1",
|
|
52
52
|
"pretty-bytes": "^6.1.1",
|
|
53
53
|
"vue": "^3.4.31"
|
|
54
54
|
},
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"@neon.id/interfaces": "^1.57.0",
|
|
79
79
|
"@neon.id/office": "1.46.0",
|
|
80
80
|
"@neon.id/query": "^1.12.0",
|
|
81
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
81
|
+
"@neutron.co.id/personalia-models": "1.13.15-beta.1",
|
|
82
82
|
"@nuxt/kit": "^3.12.3",
|
|
83
83
|
"pretty-bytes": "^6.1.1"
|
|
84
84
|
},
|
|
85
85
|
"publishConfig": {
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
|
-
"build":
|
|
88
|
+
"build": 121
|
|
89
89
|
}
|