@neutron.co.id/operasional-modules 1.4.9-beta.3 → 1.5.1-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.
- package/package.json +6 -6
- package/build/index.cjs +0 -2
- package/build/index.d.ts +0 -2
- package/build/index.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 -0
- package/build/personalia/index.mjs +0 -42
- package/build/personalia/module.d.ts +0 -2
- package/build/personalia/module.mjs +0 -25
- package/build/personalia/plugin.d.ts +0 -2
- package/build/personalia/plugin.mjs +0 -10
- package/build/personalia/resources/checkIn/checkIn.model.d.ts +0 -6
- package/build/personalia/resources/checkIn/checkIn.model.mjs +0 -27
- package/build/personalia/resources/checkIn/checkIn.resource.d.ts +0 -2
- package/build/personalia/resources/checkIn/checkIn.resource.mjs +0 -45
- package/build/personalia/resources/checkIn/checkIn.views.d.ts +0 -72
- package/build/personalia/resources/checkIn/checkIn.views.mjs +0 -32
- package/build/personalia/resources/checkIn/index.d.ts +0 -2
- package/build/personalia/resources/checkIn/index.mjs +0 -2
- package/build/personalia/resources/index.d.ts +0 -7
- package/build/personalia/resources/index.mjs +0 -7
- package/build/personalia/resources/situation/index.d.ts +0 -2
- package/build/personalia/resources/situation/index.mjs +0 -2
- package/build/personalia/resources/situation/situation.model.d.ts +0 -6
- package/build/personalia/resources/situation/situation.model.mjs +0 -46
- package/build/personalia/resources/situation/situation.resource.d.ts +0 -2
- package/build/personalia/resources/situation/situation.resource.mjs +0 -47
- package/build/personalia/resources/situation/situation.views.d.ts +0 -108
- package/build/personalia/resources/situation/situation.views.mjs +0 -155
- package/build/personalia/resources/situationType/index.d.ts +0 -2
- package/build/personalia/resources/situationType/index.mjs +0 -2
- package/build/personalia/resources/situationType/situationType.model.d.ts +0 -6
- package/build/personalia/resources/situationType/situationType.model.mjs +0 -20
- package/build/personalia/resources/situationType/situationType.resource.d.ts +0 -2
- package/build/personalia/resources/situationType/situationType.resource.mjs +0 -26
- package/build/personalia/resources/situationType/situationType.views.d.ts +0 -36
- package/build/personalia/resources/situationType/situationType.views.mjs +0 -12
- 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 -41
- package/build/personalia/resources/staff/staff.resource.d.ts +0 -2
- package/build/personalia/resources/staff/staff.resource.mjs +0 -45
- package/build/personalia/resources/staff/staff.views.d.ts +0 -72
- package/build/personalia/resources/staff/staff.views.mjs +0 -49
- package/build/personalia/resources/submission/index.d.ts +0 -2
- package/build/personalia/resources/submission/index.mjs +0 -2
- package/build/personalia/resources/submission/submission.model.d.ts +0 -6
- package/build/personalia/resources/submission/submission.model.mjs +0 -74
- package/build/personalia/resources/submission/submission.resource.d.ts +0 -2
- package/build/personalia/resources/submission/submission.resource.mjs +0 -80
- package/build/personalia/resources/submission/submission.views.d.ts +0 -180
- package/build/personalia/resources/submission/submission.views.mjs +0 -320
- package/build/personalia/resources/submissionType/index.d.ts +0 -2
- package/build/personalia/resources/submissionType/index.mjs +0 -2
- package/build/personalia/resources/submissionType/submissionType.model.d.ts +0 -6
- package/build/personalia/resources/submissionType/submissionType.model.mjs +0 -21
- package/build/personalia/resources/submissionType/submissionType.resource.d.ts +0 -2
- package/build/personalia/resources/submissionType/submissionType.resource.mjs +0 -26
- package/build/personalia/resources/submissionType/submissionType.views.d.ts +0 -36
- package/build/personalia/resources/submissionType/submissionType.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 -60
- package/build/personalia/resources/task/task.resource.d.ts +0 -2
- package/build/personalia/resources/task/task.resource.mjs +0 -44
- package/build/personalia/resources/task/task.views.d.ts +0 -108
- package/build/personalia/resources/task/task.views.mjs +0 -159
- 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.
|
|
3
|
+
"version": "1.5.1-beta.1",
|
|
4
4
|
"description": "Modules of Neutron Operasional.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"contributors": [
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@neon.id/context": "0.48.0",
|
|
44
44
|
"@neon.id/office": "0.39.0",
|
|
45
|
-
"@neutron.co.id/operasional-interfaces": "1.
|
|
46
|
-
"@neutron.co.id/personalia-models": "1.
|
|
45
|
+
"@neutron.co.id/operasional-interfaces": "1.5.0",
|
|
46
|
+
"@neutron.co.id/personalia-models": "1.5.1-beta.1",
|
|
47
47
|
"@nuxt/kit": "3.4.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"@neon.id/context": "^0.48.0",
|
|
66
66
|
"@neon.id/office": "^0.39.0",
|
|
67
|
-
"@neutron.co.id/operasional-interfaces": "^1.
|
|
68
|
-
"@neutron.co.id/personalia-models": "^1.
|
|
67
|
+
"@neutron.co.id/operasional-interfaces": "^1.5.0",
|
|
68
|
+
"@neutron.co.id/personalia-models": "^1.5.1-beta.1",
|
|
69
69
|
"@nuxt/kit": "^3.4.2"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"build":
|
|
74
|
+
"build": 50
|
|
75
75
|
}
|
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";
|
|
File without changes
|
|
@@ -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,25 +0,0 @@
|
|
|
1
|
-
import { Module } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
StaffResource,
|
|
4
|
-
TaskResource,
|
|
5
|
-
SituationTypeResource,
|
|
6
|
-
SituationResource,
|
|
7
|
-
CheckInResource,
|
|
8
|
-
SubmissionResource,
|
|
9
|
-
SubmissionTypeResource
|
|
10
|
-
} from "./resources/index.mjs";
|
|
11
|
-
export const PersonaliaModule = Module.define({
|
|
12
|
-
definition: "neu:operasional:personalia",
|
|
13
|
-
label: "Personalia",
|
|
14
|
-
path: "personalia",
|
|
15
|
-
icon: "solid:user",
|
|
16
|
-
resources: [
|
|
17
|
-
StaffResource,
|
|
18
|
-
TaskResource,
|
|
19
|
-
SituationTypeResource,
|
|
20
|
-
SituationResource,
|
|
21
|
-
CheckInResource,
|
|
22
|
-
SubmissionResource,
|
|
23
|
-
SubmissionTypeResource
|
|
24
|
-
]
|
|
25
|
-
});
|
|
@@ -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 CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "checkInAt" | "staff" | "building" | "user" | "student" | "teacher" | "informationCheckIn" | "note">;
|
|
2
|
-
export type TCheckInModel = typeof CheckInModel;
|
|
3
|
-
export declare const fragments: {
|
|
4
|
-
item: Schema.CheckIn;
|
|
5
|
-
detail: Schema.CheckIn;
|
|
6
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { models } from "@neutron.co.id/tempat-models";
|
|
2
|
-
export const CheckInModel = models.CheckInModel;
|
|
3
|
-
const item = {
|
|
4
|
-
id: 1,
|
|
5
|
-
display: 1,
|
|
6
|
-
flag: 1,
|
|
7
|
-
building: {
|
|
8
|
-
id: 1,
|
|
9
|
-
display: 1
|
|
10
|
-
},
|
|
11
|
-
note: 1,
|
|
12
|
-
type: 1,
|
|
13
|
-
checkInAt: 1,
|
|
14
|
-
staff: {
|
|
15
|
-
id: 1,
|
|
16
|
-
display: 1
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
const detail = {
|
|
20
|
-
...item,
|
|
21
|
-
buildingId: 1,
|
|
22
|
-
staffId: 1
|
|
23
|
-
};
|
|
24
|
-
export const fragments = {
|
|
25
|
-
item,
|
|
26
|
-
detail
|
|
27
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Resource } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
CheckInCollectionExternalView,
|
|
4
|
-
CheckInCollectionView,
|
|
5
|
-
CheckInSingleExternalView,
|
|
6
|
-
CheckInSingleView
|
|
7
|
-
} from "./checkIn.views.mjs";
|
|
8
|
-
import { fragments, CheckInModel } from "./checkIn.model.mjs";
|
|
9
|
-
export const CheckInResource = Resource.define({
|
|
10
|
-
model: CheckInModel,
|
|
11
|
-
collection: {
|
|
12
|
-
title: "Presensi",
|
|
13
|
-
path: "checkIns",
|
|
14
|
-
component: CheckInCollectionView,
|
|
15
|
-
menu: true,
|
|
16
|
-
displays: ["table"]
|
|
17
|
-
},
|
|
18
|
-
single: {
|
|
19
|
-
path: "checkIns/:slug",
|
|
20
|
-
component: CheckInSingleView
|
|
21
|
-
},
|
|
22
|
-
views: {
|
|
23
|
-
// collection: {
|
|
24
|
-
// path: 'checkIns',
|
|
25
|
-
// label: 'CheckIns',
|
|
26
|
-
// icon: 'door-open',
|
|
27
|
-
// menu: true,
|
|
28
|
-
// component: CheckInCollectionView,
|
|
29
|
-
// },
|
|
30
|
-
// single: {
|
|
31
|
-
// path: 'checkIns/:slug',
|
|
32
|
-
// component: CheckInSingleView,
|
|
33
|
-
// },
|
|
34
|
-
checkInExternal: {
|
|
35
|
-
path: "/operasional/checkIns",
|
|
36
|
-
component: CheckInCollectionExternalView
|
|
37
|
-
},
|
|
38
|
-
checkInExternalSingle: {
|
|
39
|
-
path: "/operasional/checkIns/:slug",
|
|
40
|
-
component: CheckInSingleExternalView
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
fragments,
|
|
44
|
-
renders: {}
|
|
45
|
-
});
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
export declare const CheckInCollectionView: 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 CheckInSingleView: 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
|
-
isNew: boolean;
|
|
35
|
-
isMain: boolean;
|
|
36
|
-
}, {}>;
|
|
37
|
-
export declare const CheckInCollectionExternalView: 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 CheckInSingleExternalView: 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
|
-
isNew: boolean;
|
|
71
|
-
isMain: boolean;
|
|
72
|
-
}, {}>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ResourceUtil } from "@neon.id/office";
|
|
2
|
-
export const CheckInCollectionView = ResourceUtil.createCollection({
|
|
3
|
-
name: "default",
|
|
4
|
-
definition: "neu:tempat:checkIn"
|
|
5
|
-
});
|
|
6
|
-
export const CheckInSingleView = ResourceUtil.createSingle({
|
|
7
|
-
name: "default",
|
|
8
|
-
definition: "neu:tempat:checkIn"
|
|
9
|
-
});
|
|
10
|
-
export const CheckInCollectionExternalView = ResourceUtil.createCollection({
|
|
11
|
-
name: "external",
|
|
12
|
-
definition: "neu:tempat:checkIn",
|
|
13
|
-
title: "Presensi",
|
|
14
|
-
icon: "fingerprint",
|
|
15
|
-
scope: "external",
|
|
16
|
-
path: "/operasional/checkIns",
|
|
17
|
-
single: {
|
|
18
|
-
view: "external",
|
|
19
|
-
peeks: ["modal"]
|
|
20
|
-
},
|
|
21
|
-
columns: ["display", "type", "checkInAt", "staff", "building"],
|
|
22
|
-
filters: ["type", "building"],
|
|
23
|
-
sorts: ["checkInAt"]
|
|
24
|
-
});
|
|
25
|
-
export const CheckInSingleExternalView = ResourceUtil.createSingle({
|
|
26
|
-
name: "external",
|
|
27
|
-
title: "Presensi",
|
|
28
|
-
definition: "neu:tempat:checkIn",
|
|
29
|
-
slots: {
|
|
30
|
-
default: "external"
|
|
31
|
-
}
|
|
32
|
-
});
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "./checkIn/index.mjs";
|
|
2
|
-
export * from "./staff/index.mjs";
|
|
3
|
-
export * from "./situation/index.mjs";
|
|
4
|
-
export * from "./situationType/index.mjs";
|
|
5
|
-
export * from "./task/index.mjs";
|
|
6
|
-
export * from "./submission/index.mjs";
|
|
7
|
-
export * from "./submissionType/index.mjs";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const SituationModel: import("@neon.id/model").Model<"neu:personalia:situation", "user" | "branches" | "situationStatus" | "situationType" | "situationReportedBy" | "situationResponse" | "urgentSituationDate" | "situationRelatedBy" | "situationSupportedBy" | "employeeNameTrimmed" | "searchBySituationTypeTrimmed" | "situationDescription" | "supportiveStatus">;
|
|
2
|
-
export type TSituationModel = typeof SituationModel;
|
|
3
|
-
export declare const fragments: {
|
|
4
|
-
item: Schema.Situation;
|
|
5
|
-
detail: Schema.Situation;
|
|
6
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { models } from "@neutron.co.id/personalia-models";
|
|
2
|
-
export const SituationModel = models.SituationModel;
|
|
3
|
-
const item = {
|
|
4
|
-
id: 1,
|
|
5
|
-
display: 1,
|
|
6
|
-
flag: 1,
|
|
7
|
-
situationStatus: 1,
|
|
8
|
-
branches: {
|
|
9
|
-
id: 1,
|
|
10
|
-
display: 1
|
|
11
|
-
},
|
|
12
|
-
situationType: {
|
|
13
|
-
id: 1,
|
|
14
|
-
display: 1
|
|
15
|
-
},
|
|
16
|
-
situationReportedBy: {
|
|
17
|
-
id: 1,
|
|
18
|
-
display: 1
|
|
19
|
-
},
|
|
20
|
-
situationDescription: 1,
|
|
21
|
-
situationResponse: 1,
|
|
22
|
-
urgentSituationDate: 1,
|
|
23
|
-
situationRelatedBy: {
|
|
24
|
-
id: 1,
|
|
25
|
-
display: 1
|
|
26
|
-
},
|
|
27
|
-
supportiveStatus: 1,
|
|
28
|
-
situationSupportedBy: {
|
|
29
|
-
id: 1,
|
|
30
|
-
display: 1
|
|
31
|
-
},
|
|
32
|
-
employeeNameTrimmed: 1,
|
|
33
|
-
searchBySituationTypeTrimmed: 1
|
|
34
|
-
};
|
|
35
|
-
const detail = {
|
|
36
|
-
...item,
|
|
37
|
-
branchIds: 1,
|
|
38
|
-
situationTypeId: 1,
|
|
39
|
-
situationReportedByIds: 1,
|
|
40
|
-
situationRelatedByIds: 1,
|
|
41
|
-
situationSupportedByIds: 1
|
|
42
|
-
};
|
|
43
|
-
export const fragments = {
|
|
44
|
-
item,
|
|
45
|
-
detail
|
|
46
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@neon.id/context';
|
|
2
|
-
export declare const SituationResource: Resource<Schema.SituationType, import("@neon.id/model").Model<"neu:personalia:situation", "user" | "branches" | "situationStatus" | "situationType" | "situationReportedBy" | "situationResponse" | "urgentSituationDate" | "situationRelatedBy" | "situationSupportedBy" | "employeeNameTrimmed" | "searchBySituationTypeTrimmed" | "situationDescription" | "supportiveStatus">>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Resource } from "@neon.id/context";
|
|
2
|
-
import {
|
|
3
|
-
SituationCollectionView,
|
|
4
|
-
SituationSingleView,
|
|
5
|
-
SituationSingleSupportiveView,
|
|
6
|
-
SituationCollectionSupportiveView,
|
|
7
|
-
SituationCollectionWorkView,
|
|
8
|
-
SituationSingleWorkView
|
|
9
|
-
} from "./situation.views.mjs";
|
|
10
|
-
import {
|
|
11
|
-
fragments,
|
|
12
|
-
SituationModel
|
|
13
|
-
} from "./situation.model.mjs";
|
|
14
|
-
export const SituationResource = Resource.define({
|
|
15
|
-
model: SituationModel,
|
|
16
|
-
collection: {
|
|
17
|
-
title: "Situasi",
|
|
18
|
-
path: "situations",
|
|
19
|
-
component: SituationCollectionView,
|
|
20
|
-
menu: true,
|
|
21
|
-
displays: ["table"]
|
|
22
|
-
},
|
|
23
|
-
single: {
|
|
24
|
-
path: "situations/:slug",
|
|
25
|
-
component: SituationSingleView
|
|
26
|
-
},
|
|
27
|
-
views: {
|
|
28
|
-
situationWork: {
|
|
29
|
-
path: "/pekerjaan/situations",
|
|
30
|
-
component: SituationCollectionWorkView
|
|
31
|
-
},
|
|
32
|
-
situationWorkSingle: {
|
|
33
|
-
path: "/pekerjaan/situations/:slug",
|
|
34
|
-
component: SituationSingleWorkView
|
|
35
|
-
},
|
|
36
|
-
situationSupportive: {
|
|
37
|
-
path: "/pekerjaan/supportives",
|
|
38
|
-
component: SituationCollectionSupportiveView
|
|
39
|
-
},
|
|
40
|
-
situationSupportiveSingle: {
|
|
41
|
-
path: "/pekerjaan/supportives/:slug",
|
|
42
|
-
component: SituationSingleSupportiveView
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
fragments,
|
|
46
|
-
renders: {}
|
|
47
|
-
});
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
export declare const SituationCollectionView: 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 SituationSingleView: 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
|
-
isNew: boolean;
|
|
35
|
-
isMain: boolean;
|
|
36
|
-
}, {}>;
|
|
37
|
-
export declare const SituationCollectionWorkView: 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 SituationSingleWorkView: 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
|
-
isNew: boolean;
|
|
71
|
-
isMain: boolean;
|
|
72
|
-
}, {}>;
|
|
73
|
-
export declare const SituationCollectionSupportiveView: 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<{}>>, {}, {}>;
|
|
76
|
-
export declare const SituationSingleSupportiveView: 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
|
-
isNew: boolean;
|
|
107
|
-
isMain: boolean;
|
|
108
|
-
}, {}>;
|