@neutron.co.id/operasional-modules 1.1.1-beta.8 → 1.1.1-beta.9
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 +2 -2
- package/build/personalia/resources/index.d.ts +1 -0
- package/build/personalia/resources/index.mjs +1 -0
- package/build/personalia/resources/situationType/index.d.ts +2 -0
- package/build/personalia/resources/situationType/index.mjs +2 -0
- package/build/personalia/resources/situationType/situationType.model.d.ts +6 -0
- package/build/personalia/resources/situationType/situationType.model.mjs +20 -0
- package/build/personalia/resources/situationType/situationType.resource.d.ts +2 -0
- package/build/personalia/resources/situationType/situationType.resource.mjs +26 -0
- package/build/personalia/resources/situationType/situationType.views.d.ts +36 -0
- package/build/personalia/resources/situationType/situationType.views.mjs +9 -0
- package/build/personalia/resources/staff/staff.model.d.ts +1 -1
- package/build/personalia/resources/staff/staff.resource.d.ts +1 -1
- package/build/personalia/views.mjs +1 -1
- package/package.json +8 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Module } from "@neon.id/context";
|
|
2
|
-
import { StaffResource, TaskResource } from "./resources/index.mjs";
|
|
2
|
+
import { StaffResource, TaskResource, SituationTypeResource } from "./resources/index.mjs";
|
|
3
3
|
export const PersonaliaModule = Module.define({
|
|
4
4
|
definition: "neu:operasional:personalia",
|
|
5
5
|
label: "Personalia",
|
|
6
6
|
path: "personalia",
|
|
7
7
|
icon: "solid:user",
|
|
8
|
-
resources: [StaffResource, TaskResource]
|
|
8
|
+
resources: [StaffResource, TaskResource, SituationTypeResource]
|
|
9
9
|
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const SituationTypeModel: import("@neon.id/model").Model<"neu:personalia:situationType", "branches" | "situationTypeName">;
|
|
2
|
+
export type TSituationTypeModel = typeof SituationTypeModel;
|
|
3
|
+
export declare const fragments: {
|
|
4
|
+
item: Schema.SituationType;
|
|
5
|
+
detail: Schema.Task;
|
|
6
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { models } from "@neutron.co.id/personalia-models";
|
|
2
|
+
export const SituationTypeModel = models.SituationTypeModel;
|
|
3
|
+
const item = {
|
|
4
|
+
id: 1,
|
|
5
|
+
display: 1,
|
|
6
|
+
flag: 1,
|
|
7
|
+
situationTypeName: 1,
|
|
8
|
+
branches: {
|
|
9
|
+
id: 1,
|
|
10
|
+
display: 1
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
const detail = {
|
|
14
|
+
...item,
|
|
15
|
+
branchIds: 1
|
|
16
|
+
};
|
|
17
|
+
export const fragments = {
|
|
18
|
+
item,
|
|
19
|
+
detail
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Resource } from "@neon.id/context";
|
|
2
|
+
import {
|
|
3
|
+
SituationTypeCollectionView,
|
|
4
|
+
SituationTypeSingleView
|
|
5
|
+
} from "./situationType.views.mjs";
|
|
6
|
+
import {
|
|
7
|
+
fragments,
|
|
8
|
+
SituationTypeModel
|
|
9
|
+
} from "./situationType.model.mjs";
|
|
10
|
+
export const SituationTypeResource = Resource.define({
|
|
11
|
+
model: SituationTypeModel,
|
|
12
|
+
collection: {
|
|
13
|
+
title: "Tipe Situasi",
|
|
14
|
+
path: "situation-types",
|
|
15
|
+
component: SituationTypeCollectionView,
|
|
16
|
+
menu: true,
|
|
17
|
+
displays: ["table"]
|
|
18
|
+
},
|
|
19
|
+
single: {
|
|
20
|
+
path: "situation-types/:slug",
|
|
21
|
+
component: SituationTypeSingleView
|
|
22
|
+
},
|
|
23
|
+
views: {},
|
|
24
|
+
fragments,
|
|
25
|
+
renders: {}
|
|
26
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const SituationTypeCollectionView: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
|
+
export declare const SituationTypeSingleView: import("vue").DefineComponent<{
|
|
5
|
+
id: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: null;
|
|
8
|
+
};
|
|
9
|
+
isNew: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: null;
|
|
12
|
+
};
|
|
13
|
+
isMain: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
id: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
isNew: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
isMain: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>>, {
|
|
33
|
+
id: string;
|
|
34
|
+
isMain: boolean;
|
|
35
|
+
isNew: boolean;
|
|
36
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResourceUtil } from "@neon.id/office";
|
|
2
|
+
export const SituationTypeCollectionView = ResourceUtil.createCollection({
|
|
3
|
+
name: "default",
|
|
4
|
+
definition: "neu:personalia:situationType"
|
|
5
|
+
});
|
|
6
|
+
export const SituationTypeSingleView = ResourceUtil.createSingle({
|
|
7
|
+
name: "default",
|
|
8
|
+
definition: "neu:personalia:situationType"
|
|
9
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "
|
|
1
|
+
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "branches" | "image" | "user" | "branch" | "name" | "nik" | "birthPlace" | "birthDate" | "note">;
|
|
2
2
|
export type TStaffModel = typeof StaffModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Staff;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const StaffResource: Resource<Schema.Staff, import("@neon.id/model").Model<"neu:personalia:staff", "
|
|
2
|
+
export declare const StaffResource: Resource<Schema.Staff, import("@neon.id/model").Model<"neu:personalia:staff", "branches" | "image" | "user" | "branch" | "name" | "nik" | "birthPlace" | "birthDate" | "note">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ["StaffCollectionView","StaffSingleView","TaskCollectionPlanView","TaskCollectionView","TaskCollectionWorkView","TaskSinglePlanView","TaskSingleView","TaskSingleWorkView"]
|
|
1
|
+
export default ["StaffCollectionView","StaffSingleView","SituationTypeCollectionView","SituationTypeSingleView","TaskCollectionPlanView","TaskCollectionView","TaskCollectionWorkView","TaskSinglePlanView","TaskSingleView","TaskSingleWorkView"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-modules",
|
|
3
|
-
"version": "1.1.1-beta.
|
|
3
|
+
"version": "1.1.1-beta.9",
|
|
4
4
|
"description": "Modules of Neutron.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@neon.id/context": "0.38.0",
|
|
44
44
|
"@neon.id/office": "0.23.0",
|
|
45
|
-
"@neutron.co.id/operasional-interfaces": "1.1.1-beta.
|
|
46
|
-
"@neutron.co.id/personalia-models": "1.2.1-beta.
|
|
45
|
+
"@neutron.co.id/operasional-interfaces": "1.1.1-beta.5",
|
|
46
|
+
"@neutron.co.id/personalia-models": "1.2.1-beta.5",
|
|
47
47
|
"@nuxt/kit": "3.2.3"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@graphql-codegen/cli": "3.2.
|
|
51
|
-
"@graphql-codegen/client-preset": "2.1.
|
|
50
|
+
"@graphql-codegen/cli": "3.2.2",
|
|
51
|
+
"@graphql-codegen/client-preset": "2.1.1",
|
|
52
52
|
"@neon.id/types": "1.37.0",
|
|
53
53
|
"@types/eslint": "8.21.1",
|
|
54
54
|
"@types/node": "18.14.6",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@neon.id/context": "^0.38.0",
|
|
66
66
|
"@neon.id/office": "^0.23.0",
|
|
67
|
-
"@neutron.co.id/operasional-interfaces": "^1.1.1-beta.
|
|
68
|
-
"@neutron.co.id/personalia-models": "^1.2.1-beta.
|
|
67
|
+
"@neutron.co.id/operasional-interfaces": "^1.1.1-beta.5",
|
|
68
|
+
"@neutron.co.id/personalia-models": "^1.2.1-beta.5",
|
|
69
69
|
"@nuxt/kit": "^3.2.3"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"build":
|
|
74
|
+
"build": 19
|
|
75
75
|
}
|