@neutron.co.id/operasional-interfaces 1.3.2-beta.1 → 1.3.3-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/style.css CHANGED
@@ -1,13 +1,17 @@
1
1
 
2
- #view-checkIns[data-v-3ba48e60] {
2
+ .operasional-identitas .section .divider[data-v-e17256c5] {
3
+ margin-bottom: 1rem
4
+ }
5
+
6
+ #view-checkIns[data-v-4069e2ed] {
3
7
 
4
8
  height: 100%
5
9
  }
6
- #view-checkIns .wrapper[data-v-3ba48e60] {
10
+ #view-checkIns .wrapper[data-v-4069e2ed] {
7
11
 
8
12
  height: 100%
9
13
  }
10
- #view-checkIns .header[data-v-3ba48e60] {
14
+ #view-checkIns .header[data-v-4069e2ed] {
11
15
 
12
16
  display: flex;
13
17
 
@@ -23,15 +27,15 @@
23
27
 
24
28
  padding-bottom: 0.5rem
25
29
  }
26
- #view-checkIns .header .start[data-v-3ba48e60] {
30
+ #view-checkIns .header .start[data-v-4069e2ed] {
27
31
 
28
32
  line-height: 1.25
29
33
  }
30
- #view-checkIns .header .title[data-v-3ba48e60] {
34
+ #view-checkIns .header .title[data-v-4069e2ed] {
31
35
 
32
36
  font-weight: 700
33
37
  }
34
- #view-checkIns .header .description[data-v-3ba48e60] {
38
+ #view-checkIns .header .description[data-v-4069e2ed] {
35
39
 
36
40
  font-size: 0.875rem;
37
41
 
@@ -39,13 +43,13 @@
39
43
 
40
44
  color: rgb(161 161 170 / var(--tw-text-opacity))
41
45
  }
42
- #view-checkIns .buttons[data-v-3ba48e60] {
46
+ #view-checkIns .buttons[data-v-4069e2ed] {
43
47
 
44
48
  display: flex;
45
49
 
46
50
  align-items: center
47
51
  }
48
- #view-checkIns .buttons[data-v-3ba48e60] > :not([hidden]) ~ :not([hidden]) {
52
+ #view-checkIns .buttons[data-v-4069e2ed] > :not([hidden]) ~ :not([hidden]) {
49
53
 
50
54
  --tw-space-x-reverse: 0;
51
55
 
@@ -53,11 +57,11 @@
53
57
 
54
58
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))
55
59
  }
56
- #view-checkIns .buttons[data-v-3ba48e60] {
60
+ #view-checkIns .buttons[data-v-4069e2ed] {
57
61
 
58
62
  padding-right: 0.25rem
59
63
  }
60
- #view-checkIns .summary[data-v-3ba48e60] {
64
+ #view-checkIns .summary[data-v-4069e2ed] {
61
65
 
62
66
  padding-bottom: 0.5rem
63
67
  }
@@ -137,6 +141,6 @@
137
141
  0 -1px 1px black;
138
142
  }
139
143
 
140
- .neu-staff-single[data-v-dbeb1998] {
144
+ .neu-staff-single[data-v-dedad3d9] {
141
145
  display: block
142
146
  }
@@ -1,2 +1,2 @@
1
- export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "user" | "building" | "checkInAt" | "student" | "teacher" | "staff" | "informationCheckIn" | "note">;
1
+ export declare const CheckInModel: import("@neon.id/model").Model<"neu:tempat:checkIn", "type" | "user" | "note" | "building" | "checkInAt" | "student" | "teacher" | "staff" | "informationCheckIn">;
2
2
  export type TCheckInModel = typeof CheckInModel;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("stop" | "close" | "start" | "scanned")[], "stop" | "close" | "start" | "scanned", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
+ onClose?: ((...args: any[]) => any) | undefined;
2
3
  onScanned?: ((...args: any[]) => any) | undefined;
3
4
  onStop?: ((...args: any[]) => any) | undefined;
4
- onClose?: ((...args: any[]) => any) | undefined;
5
5
  onStart?: ((...args: any[]) => any) | undefined;
6
6
  }, {}>;
7
7
  export default _default;
@@ -0,0 +1,106 @@
1
+ import type { NBase } from '@neon.id/types';
2
+ import { type PropType } from 'vue';
3
+ import { MaybeProp, Schema } from '@package/types';
4
+ export interface UpdateUserPayload {
5
+ userId: string;
6
+ roleIds: string[];
7
+ }
8
+ declare const _default: import("vue").DefineComponent<{
9
+ profile: {
10
+ type: MaybeProp<any>;
11
+ default: null;
12
+ };
13
+ user: {
14
+ type: MaybeProp<Schema.User>;
15
+ default: null;
16
+ };
17
+ conflict: {
18
+ type: PropType<any>;
19
+ default: null;
20
+ };
21
+ roles: {
22
+ type: PropType<NBase.ItemAttribute[]>;
23
+ default: () => never[];
24
+ };
25
+ errors: {
26
+ type: PropType<Record<string, string>>;
27
+ default: () => {};
28
+ };
29
+ onChoose: {
30
+ type: PropType<(userId: string) => Promise<any | undefined>>;
31
+ default: null;
32
+ };
33
+ onRegister: {
34
+ type: PropType<(payload: any) => Promise<string | undefined>>;
35
+ default: null;
36
+ };
37
+ onConnect: {
38
+ type: PropType<(userId: string) => Promise<any>>;
39
+ default: null;
40
+ };
41
+ onDisconnect: {
42
+ type: PropType<(payload: UpdateUserPayload) => Promise<any>>;
43
+ default: null;
44
+ };
45
+ onDelegate: {
46
+ type: PropType<(payload: UpdateUserPayload) => Promise<any>>;
47
+ default: null;
48
+ };
49
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
50
+ "no-conflict": () => void;
51
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
+ profile: {
53
+ type: MaybeProp<any>;
54
+ default: null;
55
+ };
56
+ user: {
57
+ type: MaybeProp<Schema.User>;
58
+ default: null;
59
+ };
60
+ conflict: {
61
+ type: PropType<any>;
62
+ default: null;
63
+ };
64
+ roles: {
65
+ type: PropType<NBase.ItemAttribute[]>;
66
+ default: () => never[];
67
+ };
68
+ errors: {
69
+ type: PropType<Record<string, string>>;
70
+ default: () => {};
71
+ };
72
+ onChoose: {
73
+ type: PropType<(userId: string) => Promise<any | undefined>>;
74
+ default: null;
75
+ };
76
+ onRegister: {
77
+ type: PropType<(payload: any) => Promise<string | undefined>>;
78
+ default: null;
79
+ };
80
+ onConnect: {
81
+ type: PropType<(userId: string) => Promise<any>>;
82
+ default: null;
83
+ };
84
+ onDisconnect: {
85
+ type: PropType<(payload: UpdateUserPayload) => Promise<any>>;
86
+ default: null;
87
+ };
88
+ onDelegate: {
89
+ type: PropType<(payload: UpdateUserPayload) => Promise<any>>;
90
+ default: null;
91
+ };
92
+ }>> & {
93
+ "onNo-conflict"?: (() => any) | undefined;
94
+ }, {
95
+ profile: any;
96
+ user: Schema.User | null;
97
+ conflict: any;
98
+ roles: NBase.ItemAttribute[];
99
+ errors: Record<string, string>;
100
+ onChoose: (userId: string) => Promise<any | undefined>;
101
+ onRegister: (payload: any) => Promise<string | undefined>;
102
+ onConnect: (userId: string) => Promise<any>;
103
+ onDisconnect: (payload: UpdateUserPayload) => Promise<any>;
104
+ onDelegate: (payload: UpdateUserPayload) => Promise<any>;
105
+ }>;
106
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as OperasionalIdentitas } from './OperasionalIdentitas.vue';
@@ -1 +1,2 @@
1
1
  export * from './XxxButton';
2
+ export * from './OperasionalIdentitas';
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -1,2 +1,3 @@
1
1
  export { default as StaffCollection } from './StaffCollection.vue';
2
2
  export { default as StaffSingle } from './StaffSingle.vue';
3
+ export { default as StaffIdentity } from './StaffIdentity.vue';
@@ -1,2 +1,2 @@
1
- export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "name" | "image" | "user" | "note" | "birthDate" | "birthPlace" | "branch" | "branches" | "nik">;
1
+ export declare const StaffModel: import("@neon.id/model").Model<"neu:personalia:staff", "name" | "image" | "user" | "birthDate" | "birthPlace" | "note" | "branch" | "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", "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "status" | "employeeNameTrimmed" | "estimatedEndDate" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "internalServiceDescription" | "priority" | "resultAssignment" | "taskName">;
1
+ export declare const TaskModel: import("@neon.id/model").Model<"neu:personalia:task", "status" | "branches" | "doingAssignments" | "helpAssignments" | "supervisingAssignments" | "employeeNameTrimmed" | "estimatedEndDate" | "estimatedHourByDay" | "estimatedHourCognitiveAssignment" | "estimatedHourCommunicationAssignment" | "estimatedHourCreativeAssignment" | "estimatedHourDoingAssignment" | "estimatedRealizedAssignmentEnd" | "estimatedRealizedAssignmentStart" | "estimatedStartDate" | "externalServiceDescription" | "giveAssignments" | "internalServiceDescription" | "priority" | "resultAssignment" | "taskName">;
2
2
  export type TTaskModel = typeof TaskModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.3.2-beta.1",
3
+ "version": "1.3.3-beta.2",
4
4
  "description": "Interface library of Neutron.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "build": 67
136
+ "build": 69
137
137
  }