@neutron.co.id/operasional-interfaces 1.3.6-beta.1 → 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 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-8d3c3d34"), n = n(), vue.popScopeId(), n);
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 CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_8d3c3d34_lang = "";
5940
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-8d3c3d34"]]);
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",
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-8d3c3d34"), n = n(), popScopeId(), n);
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 CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_8d3c3d34_lang = "";
5938
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-8d3c3d34"]]);
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",
package/build/style.css CHANGED
@@ -3,15 +3,15 @@
3
3
  margin-bottom: 1rem
4
4
  }
5
5
 
6
- #view-checkIns[data-v-8d3c3d34] {
6
+ #view-checkIns[data-v-79e7e9e5] {
7
7
 
8
8
  height: 100%
9
9
  }
10
- #view-checkIns .wrapper[data-v-8d3c3d34] {
10
+ #view-checkIns .wrapper[data-v-79e7e9e5] {
11
11
 
12
12
  height: 100%
13
13
  }
14
- #view-checkIns .header[data-v-8d3c3d34] {
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-8d3c3d34] {
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-8d3c3d34] {
34
+ #view-checkIns .header .title[data-v-79e7e9e5] {
35
35
 
36
36
  font-weight: 700
37
37
  }
38
- #view-checkIns .header .description[data-v-8d3c3d34] {
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-8d3c3d34] {
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-8d3c3d34] > :not([hidden]) ~ :not([hidden]) {
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-8d3c3d34] {
60
+ #view-checkIns .buttons[data-v-79e7e9e5] {
61
61
 
62
62
  padding-right: 0.25rem
63
63
  }
64
- #view-checkIns .summary[data-v-8d3c3d34] {
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.6-beta.1",
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": 74
139
+ "build": 75
140
140
  }