@neutron.co.id/operasional-interfaces 1.3.5-beta.1 → 1.3.6-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/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-4069e2ed"), n = n(), vue.popScopeId(), n);
5622
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-8d3c3d34"), 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" };
@@ -5902,7 +5902,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5902
5902
  query: vue.unref(query$1),
5903
5903
  peeks: ["modal"],
5904
5904
  excludes: ["create"],
5905
- columns: ["type", "checkInAt", "staff", "building"],
5905
+ columns: ["display", "type", "checkInAt", "staff", "building"],
5906
5906
  filters: ["type", "building"],
5907
5907
  sorts: ["checkInAt"],
5908
5908
  "is-ready": "",
@@ -5936,8 +5936,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5936
5936
  };
5937
5937
  }
5938
5938
  });
5939
- const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_4069e2ed_lang = "";
5940
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4069e2ed"]]);
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"]]);
5941
5941
  const _hoisted_1$6 = { class: "grid gap-4 sm:grid-cols-2" };
5942
5942
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5943
5943
  __name: "CheckInSingle",
@@ -7455,15 +7455,15 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
7455
7455
  vue.onMounted(() => {
7456
7456
  var _a, _b, _c, _d;
7457
7457
  if (id.value === "new") {
7458
- initialValues.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7459
- initialValues.value.situationReportedBy = [
7458
+ values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7459
+ values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
7460
+ values.value.userId = userId.value;
7461
+ values.value.situationReportedBy = [
7460
7462
  {
7461
- id: (_b = staff.value) == null ? void 0 : _b.id,
7462
- display: (_c = staff.value) == null ? void 0 : _c.display
7463
+ id: (_c = staff.value) == null ? void 0 : _c.id,
7464
+ display: (_d = staff.value) == null ? void 0 : _d.display
7463
7465
  }
7464
7466
  ];
7465
- initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
7466
- values.value.userId = userId.value;
7467
7467
  }
7468
7468
  if (isChanged) {
7469
7469
  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-4069e2ed"), n = n(), popScopeId(), n);
5620
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-8d3c3d34"), 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" };
@@ -5900,7 +5900,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
5900
5900
  query: unref(query),
5901
5901
  peeks: ["modal"],
5902
5902
  excludes: ["create"],
5903
- columns: ["type", "checkInAt", "staff", "building"],
5903
+ columns: ["display", "type", "checkInAt", "staff", "building"],
5904
5904
  filters: ["type", "building"],
5905
5905
  sorts: ["checkInAt"],
5906
5906
  "is-ready": "",
@@ -5934,8 +5934,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
5934
5934
  };
5935
5935
  }
5936
5936
  });
5937
- const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_4069e2ed_lang = "";
5938
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4069e2ed"]]);
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"]]);
5939
5939
  const _hoisted_1$6 = { class: "grid gap-4 sm:grid-cols-2" };
5940
5940
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
5941
5941
  __name: "CheckInSingle",
@@ -7453,15 +7453,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7453
7453
  onMounted(() => {
7454
7454
  var _a, _b, _c, _d;
7455
7455
  if (id.value === "new") {
7456
- initialValues.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7457
- initialValues.value.situationReportedBy = [
7456
+ values.value.situationReportedByIds = [((_a = staff.value) == null ? void 0 : _a.id) || ""];
7457
+ values.value.branchIds = [((_b = staff.value) == null ? void 0 : _b.branchId) || ""];
7458
+ values.value.userId = userId.value;
7459
+ values.value.situationReportedBy = [
7458
7460
  {
7459
- id: (_b = staff.value) == null ? void 0 : _b.id,
7460
- display: (_c = staff.value) == null ? void 0 : _c.display
7461
+ id: (_c = staff.value) == null ? void 0 : _c.id,
7462
+ display: (_d = staff.value) == null ? void 0 : _d.display
7461
7463
  }
7462
7464
  ];
7463
- initialValues.value.branches = (_d = staff.value) == null ? void 0 : _d.branches;
7464
- values.value.userId = userId.value;
7465
7465
  }
7466
7466
  if (isChanged) {
7467
7467
  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-4069e2ed] {
6
+ #view-checkIns[data-v-8d3c3d34] {
7
7
 
8
8
  height: 100%
9
9
  }
10
- #view-checkIns .wrapper[data-v-4069e2ed] {
10
+ #view-checkIns .wrapper[data-v-8d3c3d34] {
11
11
 
12
12
  height: 100%
13
13
  }
14
- #view-checkIns .header[data-v-4069e2ed] {
14
+ #view-checkIns .header[data-v-8d3c3d34] {
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-4069e2ed] {
30
+ #view-checkIns .header .start[data-v-8d3c3d34] {
31
31
 
32
32
  line-height: 1.25
33
33
  }
34
- #view-checkIns .header .title[data-v-4069e2ed] {
34
+ #view-checkIns .header .title[data-v-8d3c3d34] {
35
35
 
36
36
  font-weight: 700
37
37
  }
38
- #view-checkIns .header .description[data-v-4069e2ed] {
38
+ #view-checkIns .header .description[data-v-8d3c3d34] {
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-4069e2ed] {
46
+ #view-checkIns .buttons[data-v-8d3c3d34] {
47
47
 
48
48
  display: flex;
49
49
 
50
50
  align-items: center
51
51
  }
52
- #view-checkIns .buttons[data-v-4069e2ed] > :not([hidden]) ~ :not([hidden]) {
52
+ #view-checkIns .buttons[data-v-8d3c3d34] > :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-4069e2ed] {
60
+ #view-checkIns .buttons[data-v-8d3c3d34] {
61
61
 
62
62
  padding-right: 0.25rem
63
63
  }
64
- #view-checkIns .summary[data-v-4069e2ed] {
64
+ #view-checkIns .summary[data-v-8d3c3d34] {
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.5-beta.1",
3
+ "version": "1.3.6-beta.1",
4
4
  "description": "Interface library of Neutron.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -56,6 +56,7 @@
56
56
  "dependencies": {
57
57
  "@neon.id/context": "0.38.0",
58
58
  "@neon.id/field": "0.12.0",
59
+ "@neon.id/identitas-interfaces": "1.0.0",
59
60
  "@neon.id/interfaces": "0.153.0",
60
61
  "@neon.id/office": "0.23.0",
61
62
  "@neon.id/utils": "0.38.0",
@@ -69,6 +70,7 @@
69
70
  "@faker-js/faker": "7.6.0",
70
71
  "@graphql-codegen/cli": "3.2.2",
71
72
  "@graphql-codegen/client-preset": "2.1.1",
73
+ "@neon.id/identitas-models": "1.0.0",
72
74
  "@neon.id/module-builder": "0.13.0",
73
75
  "@neon.id/styles": "0.15.0",
74
76
  "@neon.id/types": "1.37.0",
@@ -123,6 +125,7 @@
123
125
  },
124
126
  "peerDependencies": {
125
127
  "@neon.id/context": "^0.38.0",
128
+ "@neon.id/identitas-interfaces": "^1.0.0",
126
129
  "@neon.id/interfaces": "^0.153.0",
127
130
  "@neon.id/office": "^0.23.0",
128
131
  "@neon.id/utils": "^0.38.0",
@@ -133,5 +136,5 @@
133
136
  "publishConfig": {
134
137
  "access": "public"
135
138
  },
136
- "build": 72
139
+ "build": 74
137
140
  }