@neutron.co.id/operasional-interfaces 1.3.5-beta.2 → 1.3.6-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/index.cjs +12 -9
- package/build/index.mjs +12 -9
- package/build/style.css +10 -10
- package/package.json +2 -2
package/build/index.cjs
CHANGED
|
@@ -5619,7 +5619,7 @@ function mitt(n) {
|
|
|
5619
5619
|
} };
|
|
5620
5620
|
}
|
|
5621
5621
|
const bus = mitt();
|
|
5622
|
-
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-
|
|
5622
|
+
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-79e7e9e5"), n = n(), vue.popScopeId(), n);
|
|
5623
5623
|
const _hoisted_1$7 = { id: "view-checkIns" };
|
|
5624
5624
|
const _hoisted_2$4 = { class: "summary" };
|
|
5625
5625
|
const _hoisted_3$1 = { class: "wrapper" };
|
|
@@ -5644,6 +5644,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
5644
5644
|
const collectionBus = core.useEventBus("neu:tempat:checkIn");
|
|
5645
5645
|
const router = vueRouter.useRouter();
|
|
5646
5646
|
const { client: client2 } = useClientHandle();
|
|
5647
|
+
const authStore = identitasInterfaces.useAuthStore();
|
|
5648
|
+
const { userId } = pinia.storeToRefs(authStore);
|
|
5647
5649
|
const { staff } = useOperasional();
|
|
5648
5650
|
const attendanceStore = useAttendanceStore();
|
|
5649
5651
|
const { isAsking, isScanning, isEntering, isScanError, isScanned, type } = pinia.storeToRefs(attendanceStore);
|
|
@@ -5732,6 +5734,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
5732
5734
|
const resp = await client2.mutation(context.GraphUtil.executeOne(tempatModels.models.CheckInModel, {}), {
|
|
5733
5735
|
action: "presence",
|
|
5734
5736
|
input: {
|
|
5737
|
+
userId: userId.value,
|
|
5735
5738
|
staffId,
|
|
5736
5739
|
key: qrKey,
|
|
5737
5740
|
type: type2
|
|
@@ -5936,8 +5939,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
5936
5939
|
};
|
|
5937
5940
|
}
|
|
5938
5941
|
});
|
|
5939
|
-
const
|
|
5940
|
-
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
5942
|
+
const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_79e7e9e5_lang = "";
|
|
5943
|
+
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-79e7e9e5"]]);
|
|
5941
5944
|
const _hoisted_1$6 = { class: "grid gap-4 sm:grid-cols-2" };
|
|
5942
5945
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
5943
5946
|
__name: "CheckInSingle",
|
|
@@ -7455,15 +7458,15 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7455
7458
|
vue.onMounted(() => {
|
|
7456
7459
|
var _a, _b, _c, _d;
|
|
7457
7460
|
if (id.value === "new") {
|
|
7458
|
-
|
|
7459
|
-
|
|
7461
|
+
values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
|
|
7462
|
+
values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
|
|
7463
|
+
values.value.userId = userId.value;
|
|
7464
|
+
values.value.situationReportedBy = [
|
|
7460
7465
|
{
|
|
7461
|
-
id: (
|
|
7462
|
-
display: (
|
|
7466
|
+
id: (_c = staff.value) == null ? void 0 : _c.id,
|
|
7467
|
+
display: (_d = staff.value) == null ? void 0 : _d.display
|
|
7463
7468
|
}
|
|
7464
7469
|
];
|
|
7465
|
-
initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
|
|
7466
|
-
values.value.userId = userId.value;
|
|
7467
7470
|
}
|
|
7468
7471
|
if (isChanged) {
|
|
7469
7472
|
values.value.userId = userId.value;
|
package/build/index.mjs
CHANGED
|
@@ -5617,7 +5617,7 @@ function mitt(n) {
|
|
|
5617
5617
|
} };
|
|
5618
5618
|
}
|
|
5619
5619
|
const bus = mitt();
|
|
5620
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
5620
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-79e7e9e5"), n = n(), popScopeId(), n);
|
|
5621
5621
|
const _hoisted_1$7 = { id: "view-checkIns" };
|
|
5622
5622
|
const _hoisted_2$4 = { class: "summary" };
|
|
5623
5623
|
const _hoisted_3$1 = { class: "wrapper" };
|
|
@@ -5642,6 +5642,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5642
5642
|
const collectionBus = useEventBus("neu:tempat:checkIn");
|
|
5643
5643
|
const router = useRouter();
|
|
5644
5644
|
const { client } = useClientHandle();
|
|
5645
|
+
const authStore = useAuthStore();
|
|
5646
|
+
const { userId } = storeToRefs(authStore);
|
|
5645
5647
|
const { staff } = useOperasional();
|
|
5646
5648
|
const attendanceStore = useAttendanceStore();
|
|
5647
5649
|
const { isAsking, isScanning, isEntering, isScanError, isScanned, type } = storeToRefs(attendanceStore);
|
|
@@ -5730,6 +5732,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5730
5732
|
const resp = await client.mutation(GraphUtil.executeOne(models$1.CheckInModel, {}), {
|
|
5731
5733
|
action: "presence",
|
|
5732
5734
|
input: {
|
|
5735
|
+
userId: userId.value,
|
|
5733
5736
|
staffId,
|
|
5734
5737
|
key: qrKey,
|
|
5735
5738
|
type: type2
|
|
@@ -5934,8 +5937,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
5934
5937
|
};
|
|
5935
5938
|
}
|
|
5936
5939
|
});
|
|
5937
|
-
const
|
|
5938
|
-
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
5940
|
+
const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_79e7e9e5_lang = "";
|
|
5941
|
+
const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-79e7e9e5"]]);
|
|
5939
5942
|
const _hoisted_1$6 = { class: "grid gap-4 sm:grid-cols-2" };
|
|
5940
5943
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
5941
5944
|
__name: "CheckInSingle",
|
|
@@ -7453,15 +7456,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
7453
7456
|
onMounted(() => {
|
|
7454
7457
|
var _a, _b, _c, _d;
|
|
7455
7458
|
if (id.value === "new") {
|
|
7456
|
-
|
|
7457
|
-
|
|
7459
|
+
values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
|
|
7460
|
+
values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
|
|
7461
|
+
values.value.userId = userId.value;
|
|
7462
|
+
values.value.situationReportedBy = [
|
|
7458
7463
|
{
|
|
7459
|
-
id: (
|
|
7460
|
-
display: (
|
|
7464
|
+
id: (_c = staff.value) == null ? void 0 : _c.id,
|
|
7465
|
+
display: (_d = staff.value) == null ? void 0 : _d.display
|
|
7461
7466
|
}
|
|
7462
7467
|
];
|
|
7463
|
-
initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
|
|
7464
|
-
values.value.userId = userId.value;
|
|
7465
7468
|
}
|
|
7466
7469
|
if (isChanged) {
|
|
7467
7470
|
values.value.userId = userId.value;
|
package/build/style.css
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
margin-bottom: 1rem
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
#view-checkIns[data-v-
|
|
6
|
+
#view-checkIns[data-v-79e7e9e5] {
|
|
7
7
|
|
|
8
8
|
height: 100%
|
|
9
9
|
}
|
|
10
|
-
#view-checkIns .wrapper[data-v-
|
|
10
|
+
#view-checkIns .wrapper[data-v-79e7e9e5] {
|
|
11
11
|
|
|
12
12
|
height: 100%
|
|
13
13
|
}
|
|
14
|
-
#view-checkIns .header[data-v-
|
|
14
|
+
#view-checkIns .header[data-v-79e7e9e5] {
|
|
15
15
|
|
|
16
16
|
display: flex;
|
|
17
17
|
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
|
|
28
28
|
padding-bottom: 0.5rem
|
|
29
29
|
}
|
|
30
|
-
#view-checkIns .header .start[data-v-
|
|
30
|
+
#view-checkIns .header .start[data-v-79e7e9e5] {
|
|
31
31
|
|
|
32
32
|
line-height: 1.25
|
|
33
33
|
}
|
|
34
|
-
#view-checkIns .header .title[data-v-
|
|
34
|
+
#view-checkIns .header .title[data-v-79e7e9e5] {
|
|
35
35
|
|
|
36
36
|
font-weight: 700
|
|
37
37
|
}
|
|
38
|
-
#view-checkIns .header .description[data-v-
|
|
38
|
+
#view-checkIns .header .description[data-v-79e7e9e5] {
|
|
39
39
|
|
|
40
40
|
font-size: 0.875rem;
|
|
41
41
|
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
|
|
44
44
|
color: rgb(161 161 170 / var(--tw-text-opacity))
|
|
45
45
|
}
|
|
46
|
-
#view-checkIns .buttons[data-v-
|
|
46
|
+
#view-checkIns .buttons[data-v-79e7e9e5] {
|
|
47
47
|
|
|
48
48
|
display: flex;
|
|
49
49
|
|
|
50
50
|
align-items: center
|
|
51
51
|
}
|
|
52
|
-
#view-checkIns .buttons[data-v-
|
|
52
|
+
#view-checkIns .buttons[data-v-79e7e9e5] > :not([hidden]) ~ :not([hidden]) {
|
|
53
53
|
|
|
54
54
|
--tw-space-x-reverse: 0;
|
|
55
55
|
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
|
|
58
58
|
margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))
|
|
59
59
|
}
|
|
60
|
-
#view-checkIns .buttons[data-v-
|
|
60
|
+
#view-checkIns .buttons[data-v-79e7e9e5] {
|
|
61
61
|
|
|
62
62
|
padding-right: 0.25rem
|
|
63
63
|
}
|
|
64
|
-
#view-checkIns .summary[data-v-
|
|
64
|
+
#view-checkIns .summary[data-v-79e7e9e5] {
|
|
65
65
|
|
|
66
66
|
padding-bottom: 0.5rem
|
|
67
67
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6-beta.2",
|
|
4
4
|
"description": "Interface library of Neutron.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"publishConfig": {
|
|
137
137
|
"access": "public"
|
|
138
138
|
},
|
|
139
|
-
"build":
|
|
139
|
+
"build": 75
|
|
140
140
|
}
|