@neutron.co.id/operasional-modules 1.1.0 → 1.1.1-beta.3
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/package.json +4 -18
- package/build/index.cjs +0 -2
- package/build/index.d.ts +0 -2
- package/build/index.mjs +0 -1
- 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
- package/build/personalia/exports.d.ts +0 -1
- package/build/personalia/exports.mjs +0 -1
- package/build/personalia/index.d.ts +0 -2
- package/build/personalia/index.mjs +0 -42
- package/build/personalia/module.d.ts +0 -2
- package/build/personalia/module.mjs +0 -9
- package/build/personalia/plugin.d.ts +0 -2
- package/build/personalia/plugin.mjs +0 -10
- package/build/personalia/resources/index.d.ts +0 -2
- package/build/personalia/resources/index.mjs +0 -2
- package/build/personalia/resources/staff/index.d.ts +0 -2
- package/build/personalia/resources/staff/index.mjs +0 -2
- package/build/personalia/resources/staff/staff.model.d.ts +0 -6
- package/build/personalia/resources/staff/staff.model.mjs +0 -36
- package/build/personalia/resources/staff/staff.resource.d.ts +0 -2
- package/build/personalia/resources/staff/staff.resource.mjs +0 -32
- package/build/personalia/resources/staff/staff.views.d.ts +0 -36
- package/build/personalia/resources/staff/staff.views.mjs +0 -9
- package/build/personalia/resources/task/index.d.ts +0 -2
- package/build/personalia/resources/task/index.mjs +0 -2
- package/build/personalia/resources/task/task.model.d.ts +0 -6
- package/build/personalia/resources/task/task.model.mjs +0 -55
- package/build/personalia/resources/task/task.resource.d.ts +0 -2
- package/build/personalia/resources/task/task.resource.mjs +0 -39
- package/build/personalia/resources/task/task.views.d.ts +0 -75
- package/build/personalia/resources/task/task.views.mjs +0 -32
- package/build/personalia/views.mjs +0 -1
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.3",
|
|
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.3",
|
|
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.3",
|
|
81
67
|
"@nuxt/kit": "^3.2.3"
|
|
82
68
|
},
|
|
83
69
|
"publishConfig": {
|
|
84
70
|
"access": "public"
|
|
85
71
|
},
|
|
86
|
-
"build":
|
|
72
|
+
"build": 13
|
|
87
73
|
}
|
package/build/index.cjs
DELETED
package/build/index.d.ts
DELETED
package/build/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -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 []
|
|
@@ -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-personalia",
|
|
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:personalia",
|
|
25
|
-
compatibility: { nuxt: "^3.0.0" }
|
|
26
|
-
},
|
|
27
|
-
defaults: {},
|
|
28
|
-
setup() {
|
|
29
|
-
console.log("module:neu:operasional:personalia");
|
|
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,9 +0,0 @@
|
|
|
1
|
-
import { Module } from "@neon.id/context";
|
|
2
|
-
import { StaffResource, TaskResource } from "./resources/index.mjs";
|
|
3
|
-
export const PersonaliaModule = Module.define({
|
|
4
|
-
definition: "neu:operasional:personalia",
|
|
5
|
-
label: "Personalia",
|
|
6
|
-
path: "personalia",
|
|
7
|
-
icon: "solid:user",
|
|
8
|
-
resources: [StaffResource, TaskResource]
|
|
9
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { useModuleStore } from "@neon.id/context";
|
|
2
|
-
import { PersonaliaModule } from "./module.mjs";
|
|
3
|
-
import { defineNuxtPlugin, useRouter } from "#imports";
|
|
4
|
-
import { OfficePage } from "#components";
|
|
5
|
-
export default defineNuxtPlugin(() => {
|
|
6
|
-
console.log("plugin:personalia");
|
|
7
|
-
const store = useModuleStore();
|
|
8
|
-
const router = useRouter();
|
|
9
|
-
PersonaliaModule.register(store, router, OfficePage);
|
|
10
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "name" | "nik" | "branch" | "branches" | "user" | "image" | "birthPlace" | "birthDate" | "note">;
|
|
2
|
-
export type TStaffModel = typeof StaffModel;
|
|
3
|
-
export declare const fragments: {
|
|
4
|
-
item: Schema.Staff;
|
|
5
|
-
detail: Schema.Staff;
|
|
6
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { models } from "@neutron.co.id/personalia-models";
|
|
2
|
-
export const StaffModel = models.StaffModel;
|
|
3
|
-
const item = {
|
|
4
|
-
id: 1,
|
|
5
|
-
display: 1,
|
|
6
|
-
flag: 1,
|
|
7
|
-
name: 1,
|
|
8
|
-
nik: 1,
|
|
9
|
-
birthDate: 1,
|
|
10
|
-
birthPlace: 1,
|
|
11
|
-
image: 1,
|
|
12
|
-
branch: {
|
|
13
|
-
name: 1
|
|
14
|
-
},
|
|
15
|
-
branches: {
|
|
16
|
-
name: 1
|
|
17
|
-
},
|
|
18
|
-
note: 1,
|
|
19
|
-
user: {
|
|
20
|
-
id: 1,
|
|
21
|
-
username: 1,
|
|
22
|
-
email: 1,
|
|
23
|
-
phone: 1,
|
|
24
|
-
roleIds: 1
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const detail = {
|
|
28
|
-
...item,
|
|
29
|
-
branchId: 1,
|
|
30
|
-
branchIds: 1,
|
|
31
|
-
userId: 1
|
|
32
|
-
};
|
|
33
|
-
export const fragments = {
|
|
34
|
-
item,
|
|
35
|
-
detail
|
|
36
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Resource } from "@neon.id/context";
|
|
2
|
-
import { StaffCollectionView, StaffSingleView } from "./staff.views.mjs";
|
|
3
|
-
import { fragments, StaffModel } from "./staff.model.mjs";
|
|
4
|
-
export const StaffResource = Resource.define({
|
|
5
|
-
model: StaffModel,
|
|
6
|
-
collection: {
|
|
7
|
-
title: "Karyawan",
|
|
8
|
-
path: "staffs",
|
|
9
|
-
component: StaffCollectionView,
|
|
10
|
-
menu: true,
|
|
11
|
-
displays: ["table"]
|
|
12
|
-
},
|
|
13
|
-
single: {
|
|
14
|
-
path: "staff/:slug",
|
|
15
|
-
component: StaffSingleView
|
|
16
|
-
},
|
|
17
|
-
views: {
|
|
18
|
-
// collection: {
|
|
19
|
-
// path: 'staffs',
|
|
20
|
-
// label: 'Staffs',
|
|
21
|
-
// icon: 'door-open',
|
|
22
|
-
// menu: true,
|
|
23
|
-
// component: StaffCollectionView,
|
|
24
|
-
// },
|
|
25
|
-
// single: {
|
|
26
|
-
// path: 'staffs/:slug',
|
|
27
|
-
// component: StaffSingleView,
|
|
28
|
-
// },
|
|
29
|
-
},
|
|
30
|
-
fragments,
|
|
31
|
-
renders: {}
|
|
32
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const StaffCollectionView: 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 StaffSingleView: 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
|
-
}>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ResourceUtil } from "@neon.id/office";
|
|
2
|
-
export const StaffCollectionView = ResourceUtil.createCollection({
|
|
3
|
-
name: "default",
|
|
4
|
-
definition: "neu:personalia:staff"
|
|
5
|
-
});
|
|
6
|
-
export const StaffSingleView = ResourceUtil.createSingle({
|
|
7
|
-
name: "default",
|
|
8
|
-
definition: "neu:personalia:staff"
|
|
9
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "branches" | "status" | "taskName" | "employeeNameTrimmed" | "giveAssignments" | "doingAssignments" | "supervisingAssignments" | "helpAssignments" | "priority" | "estimatedStartDate" | "estimatedEndDate" | "estimatedHourDoingAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCognitiveAssignment" | "estimatedHourCreativeAssignment" | "internalServiceDescription" | "externalServiceDescription" | "estimatedHourByDay" | "estimatedRealizedAssignmentStart" | "estimatedRealizedAssignmentEnd" | "resultAssignment">;
|
|
2
|
-
export type TTaskModel = typeof TaskModel;
|
|
3
|
-
export declare const fragments: {
|
|
4
|
-
item: Schema.Task;
|
|
5
|
-
detail: Schema.Task;
|
|
6
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { models } from "@neutron.co.id/personalia-models";
|
|
2
|
-
export const TaskModel = models.TaskModel;
|
|
3
|
-
const item = {
|
|
4
|
-
id: 1,
|
|
5
|
-
display: 1,
|
|
6
|
-
flag: 1,
|
|
7
|
-
taskName: 1,
|
|
8
|
-
internalServiceDescription: 1,
|
|
9
|
-
externalServiceDescription: 1,
|
|
10
|
-
branches: {
|
|
11
|
-
id: 1,
|
|
12
|
-
display: 1
|
|
13
|
-
},
|
|
14
|
-
giveAssignments: {
|
|
15
|
-
id: 1,
|
|
16
|
-
display: 1
|
|
17
|
-
},
|
|
18
|
-
doingAssignments: {
|
|
19
|
-
id: 1,
|
|
20
|
-
display: 1
|
|
21
|
-
},
|
|
22
|
-
supervisingAssignments: {
|
|
23
|
-
id: 1,
|
|
24
|
-
display: 1
|
|
25
|
-
},
|
|
26
|
-
helpAssignments: {
|
|
27
|
-
id: 1,
|
|
28
|
-
display: 1
|
|
29
|
-
},
|
|
30
|
-
employeeNameTrimmed: 1,
|
|
31
|
-
estimatedStartDate: 1,
|
|
32
|
-
estimatedEndDate: 1,
|
|
33
|
-
estimatedHourDoingAssignment: 1,
|
|
34
|
-
estimatedHourCommunicationAssignment: 1,
|
|
35
|
-
estimatedHourCognitiveAssignment: 1,
|
|
36
|
-
estimatedHourCreativeAssignment: 1,
|
|
37
|
-
estimatedHourByDay: 1,
|
|
38
|
-
priority: 1,
|
|
39
|
-
status: 1,
|
|
40
|
-
estimatedRealizedAssignmentStart: 1,
|
|
41
|
-
estimatedRealizedAssignmentEnd: 1,
|
|
42
|
-
resultAssignment: 1
|
|
43
|
-
};
|
|
44
|
-
const detail = {
|
|
45
|
-
...item,
|
|
46
|
-
branchIds: 1,
|
|
47
|
-
givingAssignmentIds: 1,
|
|
48
|
-
doingAssignmentIds: 1,
|
|
49
|
-
supervisingAssignmentIds: 1,
|
|
50
|
-
helpAssignmentIds: 1
|
|
51
|
-
};
|
|
52
|
-
export const fragments = {
|
|
53
|
-
item,
|
|
54
|
-
detail
|
|
55
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
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" | "taskName" | "employeeNameTrimmed" | "giveAssignments" | "doingAssignments" | "supervisingAssignments" | "helpAssignments" | "priority" | "estimatedStartDate" | "estimatedEndDate" | "estimatedHourDoingAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCognitiveAssignment" | "estimatedHourCreativeAssignment" | "internalServiceDescription" | "externalServiceDescription" | "estimatedHourByDay" | "estimatedRealizedAssignmentStart" | "estimatedRealizedAssignmentEnd" | "resultAssignment">>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Resource } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
TaskCollectionPlanView,
|
|
4
|
-
TaskCollectionView,
|
|
5
|
-
TaskCollectionWorkView,
|
|
6
|
-
TaskSinglePlanView,
|
|
7
|
-
TaskSingleView
|
|
8
|
-
} from "./task.views.mjs";
|
|
9
|
-
import { fragments, TaskModel } from "./task.model.mjs";
|
|
10
|
-
export const TaskResource = Resource.define({
|
|
11
|
-
model: TaskModel,
|
|
12
|
-
collection: {
|
|
13
|
-
title: "Tugas",
|
|
14
|
-
path: "tasks",
|
|
15
|
-
component: TaskCollectionView,
|
|
16
|
-
menu: true,
|
|
17
|
-
displays: ["table"]
|
|
18
|
-
},
|
|
19
|
-
single: {
|
|
20
|
-
path: "tasks/:slug",
|
|
21
|
-
component: TaskSingleView
|
|
22
|
-
},
|
|
23
|
-
views: {
|
|
24
|
-
plan: {
|
|
25
|
-
path: "/perencanaan/tasks",
|
|
26
|
-
component: TaskCollectionPlanView
|
|
27
|
-
},
|
|
28
|
-
planSingle: {
|
|
29
|
-
path: "/perencanaan/tasks/:slug",
|
|
30
|
-
component: TaskSinglePlanView
|
|
31
|
-
},
|
|
32
|
-
work: {
|
|
33
|
-
path: "/pekerjaan/tasks",
|
|
34
|
-
component: TaskCollectionWorkView
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
fragments,
|
|
38
|
-
renders: {}
|
|
39
|
-
});
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
export declare const TaskCollectionView: 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 TaskSingleView: 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
|
-
}>;
|
|
37
|
-
export declare const TaskCollectionPlanView: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
40
|
-
export declare const TaskSinglePlanView: import("vue").DefineComponent<{
|
|
41
|
-
id: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: null;
|
|
44
|
-
};
|
|
45
|
-
isNew: {
|
|
46
|
-
type: BooleanConstructor;
|
|
47
|
-
default: null;
|
|
48
|
-
};
|
|
49
|
-
isMain: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
-
id: {
|
|
57
|
-
type: StringConstructor;
|
|
58
|
-
default: null;
|
|
59
|
-
};
|
|
60
|
-
isNew: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: null;
|
|
63
|
-
};
|
|
64
|
-
isMain: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
}>>, {
|
|
69
|
-
id: string;
|
|
70
|
-
isMain: boolean;
|
|
71
|
-
isNew: boolean;
|
|
72
|
-
}>;
|
|
73
|
-
export declare const TaskCollectionWorkView: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
74
|
-
[key: string]: any;
|
|
75
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ResourceUtil } from "@neon.id/office";
|
|
2
|
-
export const TaskCollectionView = ResourceUtil.createCollection({
|
|
3
|
-
name: "default",
|
|
4
|
-
definition: "neu:personalia:task"
|
|
5
|
-
});
|
|
6
|
-
export const TaskSingleView = ResourceUtil.createSingle({
|
|
7
|
-
name: "default",
|
|
8
|
-
definition: "neu:personalia:task"
|
|
9
|
-
});
|
|
10
|
-
export const TaskCollectionPlanView = ResourceUtil.createCollection({
|
|
11
|
-
name: "plan",
|
|
12
|
-
definition: "neu:personalia:task",
|
|
13
|
-
scope: "plan",
|
|
14
|
-
path: "/perencanaan/tasks",
|
|
15
|
-
single: {
|
|
16
|
-
peeks: ["modal"]
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export const TaskSinglePlanView = ResourceUtil.createSingle({
|
|
20
|
-
name: "plan",
|
|
21
|
-
title: "Perencanaan Tugas",
|
|
22
|
-
definition: "neu:personalia:task"
|
|
23
|
-
});
|
|
24
|
-
export const TaskCollectionWorkView = ResourceUtil.createCollection({
|
|
25
|
-
name: "work",
|
|
26
|
-
definition: "neu:personalia:task",
|
|
27
|
-
scope: "work",
|
|
28
|
-
path: "/pekerjaan/tasks",
|
|
29
|
-
single: {
|
|
30
|
-
peeks: ["modal"]
|
|
31
|
-
}
|
|
32
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default ["StaffCollectionView","StaffSingleView","TaskCollectionPlanView","TaskCollectionView","TaskCollectionWorkView","TaskSinglePlanView","TaskSingleView"]
|