@neutron.co.id/operasional-modules 1.1.0 → 1.1.1-beta.2
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/resources/task/task.model.d.ts +1 -1
- package/build/personalia/resources/task/task.resource.d.ts +1 -1
- package/build/personalia/resources/task/task.resource.mjs +6 -1
- package/build/personalia/resources/task/task.views.d.ts +33 -0
- package/build/personalia/resources/task/task.views.mjs +29 -3
- package/build/personalia/views.mjs +1 -1
- package/package.json +4 -18
- package/build/pekerjaan/exports.d.ts +0 -1
- package/build/pekerjaan/exports.mjs +0 -1
- package/build/pekerjaan/index.d.ts +0 -2
- package/build/pekerjaan/index.mjs +0 -42
- package/build/pekerjaan/module.d.ts +0 -2
- package/build/pekerjaan/module.mjs +0 -8
- package/build/pekerjaan/plugin.d.ts +0 -2
- package/build/pekerjaan/plugin.mjs +0 -10
- package/build/pekerjaan/resources/index.d.ts +0 -1
- package/build/pekerjaan/resources/index.mjs +0 -1
- package/build/pekerjaan/views.mjs +0 -1
- package/build/perencanaan/exports.d.ts +0 -1
- package/build/perencanaan/exports.mjs +0 -1
- package/build/perencanaan/index.d.ts +0 -2
- package/build/perencanaan/index.mjs +0 -42
- package/build/perencanaan/module.d.ts +0 -2
- package/build/perencanaan/module.mjs +0 -8
- package/build/perencanaan/plugin.d.ts +0 -2
- package/build/perencanaan/plugin.mjs +0 -10
- package/build/perencanaan/resources/index.d.ts +0 -1
- package/build/perencanaan/resources/index.mjs +0 -1
- package/build/perencanaan/views.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "branches" | "status" | "
|
|
1
|
+
export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "branches" | "status" | "giveAssignments" | "doingAssignments" | "supervisingAssignments" | "helpAssignments" | "priority" | "estimatedStartDate" | "estimatedEndDate" | "estimatedHourDoingAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCognitiveAssignment" | "estimatedHourCreativeAssignment" | "taskName" | "employeeNameTrimmed" | "internalServiceDescription" | "externalServiceDescription" | "resultAssignment" | "estimatedHourByDay" | "estimatedRealizedAssignmentStart" | "estimatedRealizedAssignmentEnd">;
|
|
2
2
|
export type TTaskModel = typeof TaskModel;
|
|
3
3
|
export declare const fragments: {
|
|
4
4
|
item: Schema.Task;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const TaskResource: Resource<Schema.Task, import("@neon.id/model").Model<"neu:personalia:task", "branches" | "status" | "
|
|
2
|
+
export declare const TaskResource: Resource<Schema.Task, import("@neon.id/model").Model<"neu:personalia:task", "branches" | "status" | "giveAssignments" | "doingAssignments" | "supervisingAssignments" | "helpAssignments" | "priority" | "estimatedStartDate" | "estimatedEndDate" | "estimatedHourDoingAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCognitiveAssignment" | "estimatedHourCreativeAssignment" | "taskName" | "employeeNameTrimmed" | "internalServiceDescription" | "externalServiceDescription" | "resultAssignment" | "estimatedHourByDay" | "estimatedRealizedAssignmentStart" | "estimatedRealizedAssignmentEnd">>;
|
|
@@ -4,7 +4,8 @@ import {
|
|
|
4
4
|
TaskCollectionView,
|
|
5
5
|
TaskCollectionWorkView,
|
|
6
6
|
TaskSinglePlanView,
|
|
7
|
-
TaskSingleView
|
|
7
|
+
TaskSingleView,
|
|
8
|
+
TaskSingleWorkView
|
|
8
9
|
} from "./task.views.mjs";
|
|
9
10
|
import { fragments, TaskModel } from "./task.model.mjs";
|
|
10
11
|
export const TaskResource = Resource.define({
|
|
@@ -32,6 +33,10 @@ export const TaskResource = Resource.define({
|
|
|
32
33
|
work: {
|
|
33
34
|
path: "/pekerjaan/tasks",
|
|
34
35
|
component: TaskCollectionWorkView
|
|
36
|
+
},
|
|
37
|
+
workSingle: {
|
|
38
|
+
path: "/pekerjaan/tasks/:slug",
|
|
39
|
+
component: TaskSingleWorkView
|
|
35
40
|
}
|
|
36
41
|
},
|
|
37
42
|
fragments,
|
|
@@ -73,3 +73,36 @@ export declare const TaskSinglePlanView: import("vue").DefineComponent<{
|
|
|
73
73
|
export declare const TaskCollectionWorkView: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
74
74
|
[key: string]: any;
|
|
75
75
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
76
|
+
export declare const TaskSingleWorkView: import("vue").DefineComponent<{
|
|
77
|
+
id: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: null;
|
|
80
|
+
};
|
|
81
|
+
isNew: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: null;
|
|
84
|
+
};
|
|
85
|
+
isMain: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
|
+
id: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: null;
|
|
95
|
+
};
|
|
96
|
+
isNew: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: null;
|
|
99
|
+
};
|
|
100
|
+
isMain: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
}>>, {
|
|
105
|
+
id: string;
|
|
106
|
+
isMain: boolean;
|
|
107
|
+
isNew: boolean;
|
|
108
|
+
}>;
|
|
@@ -10,11 +10,30 @@ export const TaskSingleView = ResourceUtil.createSingle({
|
|
|
10
10
|
export const TaskCollectionPlanView = ResourceUtil.createCollection({
|
|
11
11
|
name: "plan",
|
|
12
12
|
definition: "neu:personalia:task",
|
|
13
|
+
title: "Perencanaan Tugas",
|
|
14
|
+
icon: "ruler",
|
|
13
15
|
scope: "plan",
|
|
14
16
|
path: "/perencanaan/tasks",
|
|
15
17
|
single: {
|
|
16
|
-
peeks: ["
|
|
17
|
-
}
|
|
18
|
+
peeks: ["side"]
|
|
19
|
+
},
|
|
20
|
+
filters: [
|
|
21
|
+
"status",
|
|
22
|
+
"branches",
|
|
23
|
+
"giveAssignments",
|
|
24
|
+
"doingAssignments",
|
|
25
|
+
"supervisingAssignments",
|
|
26
|
+
"helpAssignments",
|
|
27
|
+
"priority"
|
|
28
|
+
],
|
|
29
|
+
sorts: [
|
|
30
|
+
"estimatedStartDate",
|
|
31
|
+
"estimatedEndDate",
|
|
32
|
+
"estimatedHourDoingAssignment",
|
|
33
|
+
"estimatedHourCommunicationAssignment",
|
|
34
|
+
"estimatedHourCognitiveAssignment",
|
|
35
|
+
"estimatedHourCreativeAssignment"
|
|
36
|
+
]
|
|
18
37
|
});
|
|
19
38
|
export const TaskSinglePlanView = ResourceUtil.createSingle({
|
|
20
39
|
name: "plan",
|
|
@@ -24,9 +43,16 @@ export const TaskSinglePlanView = ResourceUtil.createSingle({
|
|
|
24
43
|
export const TaskCollectionWorkView = ResourceUtil.createCollection({
|
|
25
44
|
name: "work",
|
|
26
45
|
definition: "neu:personalia:task",
|
|
46
|
+
title: "Pekerjaan Tugas",
|
|
47
|
+
icon: "briefcase",
|
|
27
48
|
scope: "work",
|
|
28
49
|
path: "/pekerjaan/tasks",
|
|
29
50
|
single: {
|
|
30
|
-
peeks: ["
|
|
51
|
+
peeks: ["side"]
|
|
31
52
|
}
|
|
32
53
|
});
|
|
54
|
+
export const TaskSingleWorkView = ResourceUtil.createSingle({
|
|
55
|
+
name: "work",
|
|
56
|
+
title: "Pekerjaan Tugas",
|
|
57
|
+
definition: "neu:personalia:task"
|
|
58
|
+
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default ["StaffCollectionView","StaffSingleView","TaskCollectionPlanView","TaskCollectionView","TaskCollectionWorkView","TaskSinglePlanView","TaskSingleView"]
|
|
1
|
+
export default ["StaffCollectionView","StaffSingleView","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.
|
|
3
|
+
"version": "1.1.1-beta.2",
|
|
4
4
|
"description": "Modules of Neutron.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -16,14 +16,6 @@
|
|
|
16
16
|
"./personalia": {
|
|
17
17
|
"types": "./build/personalia/index.d.ts",
|
|
18
18
|
"import": "./build/personalia/index.mjs"
|
|
19
|
-
},
|
|
20
|
-
"./pekerjaan": {
|
|
21
|
-
"types": "./build/pekerjaan/index.d.ts",
|
|
22
|
-
"import": "./build/pekerjaan/index.mjs"
|
|
23
|
-
},
|
|
24
|
-
"./perencanaan": {
|
|
25
|
-
"types": "./build/perencanaan/index.d.ts",
|
|
26
|
-
"import": "./build/perencanaan/index.mjs"
|
|
27
19
|
}
|
|
28
20
|
},
|
|
29
21
|
"main": "build/index.cjs",
|
|
@@ -36,12 +28,6 @@
|
|
|
36
28
|
],
|
|
37
29
|
"personalia": [
|
|
38
30
|
"./build/personalia/exports.d.ts"
|
|
39
|
-
],
|
|
40
|
-
"pekerjaan": [
|
|
41
|
-
"./build/pekerjaan/exports.d.ts"
|
|
42
|
-
],
|
|
43
|
-
"perencanaan": [
|
|
44
|
-
"./build/perencanaan/exports.d.ts"
|
|
45
31
|
]
|
|
46
32
|
}
|
|
47
33
|
},
|
|
@@ -56,7 +42,7 @@
|
|
|
56
42
|
"dependencies": {
|
|
57
43
|
"@neon.id/context": "0.38.0",
|
|
58
44
|
"@neon.id/office": "0.23.0",
|
|
59
|
-
"@neutron.co.id/personalia-models": "1.2.
|
|
45
|
+
"@neutron.co.id/personalia-models": "1.2.1-beta.2",
|
|
60
46
|
"@nuxt/kit": "3.2.3"
|
|
61
47
|
},
|
|
62
48
|
"devDependencies": {
|
|
@@ -77,11 +63,11 @@
|
|
|
77
63
|
"peerDependencies": {
|
|
78
64
|
"@neon.id/context": "^0.38.0",
|
|
79
65
|
"@neon.id/office": "^0.23.0",
|
|
80
|
-
"@neutron.co.id/personalia-models": "^1.2.
|
|
66
|
+
"@neutron.co.id/personalia-models": "^1.2.1-beta.2",
|
|
81
67
|
"@nuxt/kit": "^3.2.3"
|
|
82
68
|
},
|
|
83
69
|
"publishConfig": {
|
|
84
70
|
"access": "public"
|
|
85
71
|
},
|
|
86
|
-
"build":
|
|
72
|
+
"build": 12
|
|
87
73
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './resources';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./resources/index.mjs";
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addComponent,
|
|
3
|
-
addPlugin,
|
|
4
|
-
createResolver,
|
|
5
|
-
defineNuxtModule
|
|
6
|
-
} from "@nuxt/kit";
|
|
7
|
-
import views from "./views.mjs";
|
|
8
|
-
export default defineNuxtModule({
|
|
9
|
-
meta: {
|
|
10
|
-
/**
|
|
11
|
-
* Module identifier, will be used in Nuxt.
|
|
12
|
-
* @example '@neutron.co.id/plan-plan'
|
|
13
|
-
* @example '@neon.id/belajar-course'
|
|
14
|
-
* @example '@neutron.co.id/tempat-place'
|
|
15
|
-
*/
|
|
16
|
-
name: "@neutron.co.id/operasional-pekerjaan",
|
|
17
|
-
/**
|
|
18
|
-
* Module config key,
|
|
19
|
-
* will be used to set options in nuxt.config.ts.
|
|
20
|
-
* @example 'neu:plan:plan'
|
|
21
|
-
* @example 'neo:belajar:course'
|
|
22
|
-
* @example 'neu:tempat;place'
|
|
23
|
-
*/
|
|
24
|
-
configKey: "neu:operasional:pekerjaan",
|
|
25
|
-
compatibility: { nuxt: "^3.0.0" }
|
|
26
|
-
},
|
|
27
|
-
defaults: {},
|
|
28
|
-
setup() {
|
|
29
|
-
console.log("module:neu:operasional:pekerjaan");
|
|
30
|
-
const { resolve } = createResolver(import.meta.url);
|
|
31
|
-
const plugin = resolve("./plugin");
|
|
32
|
-
addPlugin(plugin);
|
|
33
|
-
for (const view of views) {
|
|
34
|
-
addComponent({
|
|
35
|
-
name: view,
|
|
36
|
-
export: view,
|
|
37
|
-
filePath: resolve("./resources"),
|
|
38
|
-
global: true
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { useModuleStore } from "@neon.id/context";
|
|
2
|
-
import { PekerjaanModule } from "./module.mjs";
|
|
3
|
-
import { defineNuxtPlugin, useRouter } from "#imports";
|
|
4
|
-
import { OfficePage } from "#components";
|
|
5
|
-
export default defineNuxtPlugin(() => {
|
|
6
|
-
console.log("plugin:pekerjaan");
|
|
7
|
-
const store = useModuleStore();
|
|
8
|
-
const router = useRouter();
|
|
9
|
-
PekerjaanModule.register(store, router, OfficePage);
|
|
10
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default []
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './resources';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./resources/index.mjs";
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addComponent,
|
|
3
|
-
addPlugin,
|
|
4
|
-
createResolver,
|
|
5
|
-
defineNuxtModule
|
|
6
|
-
} from "@nuxt/kit";
|
|
7
|
-
import views from "./views.mjs";
|
|
8
|
-
export default defineNuxtModule({
|
|
9
|
-
meta: {
|
|
10
|
-
/**
|
|
11
|
-
* Module identifier, will be used in Nuxt.
|
|
12
|
-
* @example '@neutron.co.id/plan-plan'
|
|
13
|
-
* @example '@neon.id/belajar-course'
|
|
14
|
-
* @example '@neutron.co.id/tempat-place'
|
|
15
|
-
*/
|
|
16
|
-
name: "@neutron.co.id/operasional-perencanaan",
|
|
17
|
-
/**
|
|
18
|
-
* Module config key,
|
|
19
|
-
* will be used to set options in nuxt.config.ts.
|
|
20
|
-
* @example 'neu:plan:plan'
|
|
21
|
-
* @example 'neo:belajar:course'
|
|
22
|
-
* @example 'neu:tempat;place'
|
|
23
|
-
*/
|
|
24
|
-
configKey: "neu:operasional:perencanaan",
|
|
25
|
-
compatibility: { nuxt: "^3.0.0" }
|
|
26
|
-
},
|
|
27
|
-
defaults: {},
|
|
28
|
-
setup() {
|
|
29
|
-
console.log("module:neu:operasional:perencanaan");
|
|
30
|
-
const { resolve } = createResolver(import.meta.url);
|
|
31
|
-
const plugin = resolve("./plugin");
|
|
32
|
-
addPlugin(plugin);
|
|
33
|
-
for (const view of views) {
|
|
34
|
-
addComponent({
|
|
35
|
-
name: view,
|
|
36
|
-
export: view,
|
|
37
|
-
filePath: resolve("./resources"),
|
|
38
|
-
global: true
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { useModuleStore } from "@neon.id/context";
|
|
2
|
-
import { PerencanaanModule } from "./module.mjs";
|
|
3
|
-
import { defineNuxtPlugin, useRouter } from "#imports";
|
|
4
|
-
import { OfficePage } from "#components";
|
|
5
|
-
export default defineNuxtPlugin(() => {
|
|
6
|
-
console.log("plugin:perencanaan");
|
|
7
|
-
const store = useModuleStore();
|
|
8
|
-
const router = useRouter();
|
|
9
|
-
PerencanaanModule.register(store, router, OfficePage);
|
|
10
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default []
|