@neutron.co.id/operasional-interfaces 1.9.7 → 1.11.0
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/README.md +2 -2
- package/build/@mock/index.d.ts +1 -0
- package/build/@package/components/checkIn/checkIn.types.d.ts +1 -1
- package/build/@package/components/checkIn/sheets/CheckInScanner.vue.d.ts +6 -1
- package/build/@package/components/common/NeonTime/NeonTime.vue.d.ts +4 -2
- package/build/@package/components/common/OperasionalIdentitas/OperasionalIdentitas.vue.d.ts +7 -8
- package/build/@package/components/progress/progress.types.d.ts +1 -1
- package/build/@package/components/responsibility/responsibility.types.d.ts +1 -1
- package/build/@package/components/staff/staff.types.d.ts +1 -1
- package/build/@package/components/task/task.types.d.ts +1 -1
- package/build/@package/providers/operasional/operasional.types.d.ts +1 -1
- package/build/index.cjs +13586 -775
- package/build/index.mjs +13583 -772
- package/build/mock/index.cjs +1 -0
- package/build/mock/index.mjs +1 -0
- package/build/module.json +8 -0
- package/build/nuxt.d.mts +23 -0
- package/build/nuxt.d.ts +12 -11
- package/build/nuxt.json +1 -1
- package/build/nuxt.mjs +54 -35
- package/build/runtime/plugin.mjs +1 -1
- package/build/style.css +19 -19
- package/build/types.d.mts +18 -0
- package/build/types.d.ts +2 -6
- package/package.json +82 -71
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Neutron Operasional Interfaces
|
|
2
2
|
|
|
3
|
-
This repository contains interface library
|
|
3
|
+
This repository contains interface library of Neutron Operasional.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "branch" | "user" | "note" | "building" | "checkInAt" | "student" | "teacher" | "staff" | "virtualStaff" | "informationCheckIn">;
|
|
1
|
+
export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "branch" | "user" | "note" | "building" | "latitude" | "longitude" | "checkInAt" | "student" | "teacher" | "staff" | "virtualStaff" | "informationCheckIn">;
|
|
2
2
|
export type TCheckInModel = typeof CheckInModel;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
stop: (...args: any[]) => void;
|
|
3
|
+
close: (...args: any[]) => void;
|
|
4
|
+
start: (...args: any[]) => void;
|
|
5
|
+
scanned: (...args: any[]) => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
7
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
3
8
|
onStop?: ((...args: any[]) => any) | undefined;
|
|
4
9
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeProp } from '
|
|
1
|
+
import { MaybeProp } from '../../../../../@package/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
modelValue: {
|
|
4
4
|
type: MaybeProp<string>;
|
|
@@ -12,7 +12,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
18
|
modelValue: {
|
|
17
19
|
type: MaybeProp<string>;
|
|
18
20
|
default: undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { NBase } from '@neon.id/types';
|
|
2
1
|
import { type PropType } from 'vue';
|
|
3
|
-
import { MaybeProp } from '
|
|
2
|
+
import { MaybeProp } from '../../../../../@package/types';
|
|
4
3
|
export interface UpdateUserPayload {
|
|
5
4
|
userId: string;
|
|
6
5
|
roleIds: string[];
|
|
@@ -19,7 +18,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
18
|
default: null;
|
|
20
19
|
};
|
|
21
20
|
roles: {
|
|
22
|
-
type: PropType<
|
|
21
|
+
type: PropType<any[]>;
|
|
23
22
|
default: () => never[];
|
|
24
23
|
};
|
|
25
24
|
errors: {
|
|
@@ -27,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
26
|
default: () => {};
|
|
28
27
|
};
|
|
29
28
|
onChoose: {
|
|
30
|
-
type: PropType<(userId: string) => Promise<any>>;
|
|
29
|
+
type: PropType<(userId: string) => Promise<any | undefined>>;
|
|
31
30
|
default: null;
|
|
32
31
|
};
|
|
33
32
|
onRegister: {
|
|
@@ -62,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
61
|
default: null;
|
|
63
62
|
};
|
|
64
63
|
roles: {
|
|
65
|
-
type: PropType<
|
|
64
|
+
type: PropType<any[]>;
|
|
66
65
|
default: () => never[];
|
|
67
66
|
};
|
|
68
67
|
errors: {
|
|
@@ -70,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
69
|
default: () => {};
|
|
71
70
|
};
|
|
72
71
|
onChoose: {
|
|
73
|
-
type: PropType<(userId: string) => Promise<any>>;
|
|
72
|
+
type: PropType<(userId: string) => Promise<any | undefined>>;
|
|
74
73
|
default: null;
|
|
75
74
|
};
|
|
76
75
|
onRegister: {
|
|
@@ -93,11 +92,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
93
92
|
"onNo-conflict"?: (() => any) | undefined;
|
|
94
93
|
}, {
|
|
95
94
|
user: import("@neutron.co.id/personalia-models").User | null;
|
|
96
|
-
roles:
|
|
95
|
+
roles: any[];
|
|
97
96
|
profile: any;
|
|
98
97
|
errors: Record<string, string>;
|
|
99
98
|
conflict: any;
|
|
100
|
-
onChoose: (userId: string) => Promise<any>;
|
|
99
|
+
onChoose: (userId: string) => Promise<any | undefined>;
|
|
101
100
|
onRegister: (payload: any) => Promise<string | undefined>;
|
|
102
101
|
onConnect: (userId: string) => Promise<any>;
|
|
103
102
|
onDisconnect: (payload: UpdateUserPayload) => Promise<any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ProgressModel: import("@neon.id/model").Model<"neu:personalia:progress", "nameStaff" | "startedAt" | "endedAt" | "branches" | "accessStaffs" | "detail" | "isNotes" | "plans" | "priority" | "responsibilities" | "staffs" | "submissions" | "virtualIsNotes" | "virtualStaffs">;
|
|
1
|
+
export declare const ProgressModel: import("@neon.id/model").Model<"neu:personalia:progress", "nameStaff" | "startedAt" | "endedAt" | "branches" | "accessStaffs" | "detail" | "isNotes" | "plans" | "priority" | "responsibilities" | "staffs" | "submissions" | "tasks" | "virtualIsNotes" | "virtualStaffs">;
|
|
2
2
|
export type TProgressModel = typeof ProgressModel;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "lastProgress" | "responsibilityType" | "result" | "score" | "staffSupervises" | "staffWorks" | "title">;
|
|
1
|
+
export declare const ResponsibilityModel: import("@neon.id/model").Model<"neu:personalia:responsibility", "nameStaff" | "branches" | "detail" | "condition" | "lastProgress" | "responsibilityType" | "result" | "score" | "staffSupervises" | "staffWorks" | "title" | "virtualStaffWorks">;
|
|
2
2
|
export type TResponsibilityModel = typeof ResponsibilityModel;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "branch" | "name" | "user" | "image" | "note" | "birthDate" | "birthPlace" | "branches" | "nik">;
|
|
1
|
+
export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "status" | "branch" | "name" | "user" | "image" | "note" | "birthDate" | "birthPlace" | "branches" | "nik">;
|
|
2
2
|
export type TStaffModel = typeof StaffModel;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "status" | "user" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "priority" | "employeeNameTrimmed" | "estimatedEndDate" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "images" | "internalServiceDescription" | "resultAssignment" | "taskName">;
|
|
1
|
+
export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "status" | "user" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "detail" | "priority" | "submissions" | "employeeNameTrimmed" | "canceledDate" | "completedDate" | "estimatedEndDate" | "estimatedHour" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "images" | "internalServiceDescription" | "percentStatus" | "resultAssignment" | "taskName">;
|
|
2
2
|
export type TTaskModel = typeof TaskModel;
|