@neutron.co.id/operasional-interfaces 1.17.32 → 1.17.34

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.
@@ -87,7 +87,16 @@ const actions = {
87
87
  },
88
88
  } as Record<string, any>
89
89
 
90
- const status = computed(() => actions[values.value?.status || ''])
90
+ const status = computed(() => {
91
+ let statusVal = actions[values.value?.status || '']
92
+ if (
93
+ values.value.status === 'waitForAudit' &&
94
+ values.value.yetProcessStaffIds?.includes(staff.staff.value?.id || '')
95
+ ) {
96
+ statusVal = actions['raised']
97
+ }
98
+ return statusVal
99
+ })
91
100
 
92
101
  const isModalOpen = ref(false)
93
102
  const isGetLoading = ref(false)
@@ -24901,8 +24901,12 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
24901
24901
  }
24902
24902
  };
24903
24903
  const status = vue.computed(() => {
24904
- var _a;
24905
- return actions[((_a = values.value) == null ? void 0 : _a.status) || ""];
24904
+ var _a, _b, _c;
24905
+ let statusVal = actions[((_a = values.value) == null ? void 0 : _a.status) || ""];
24906
+ if (values.value.status === "waitForAudit" && ((_c = values.value.yetProcessStaffIds) == null ? void 0 : _c.includes(((_b = staff.staff.value) == null ? void 0 : _b.id) || ""))) {
24907
+ statusVal = actions["raised"];
24908
+ }
24909
+ return statusVal;
24906
24910
  });
24907
24911
  const isModalOpen = vue.ref(false);
24908
24912
  const isGetLoading = vue.ref(false);
@@ -25061,7 +25065,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
25061
25065
  };
25062
25066
  }
25063
25067
  });
25064
- const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-89132798"]]);
25068
+ const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-c9282109"]]);
25065
25069
  const _hoisted_1$6 = { class: "submission-single-actions" };
25066
25070
  const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
25067
25071
  ...{ name: "SubmissionActionDecision" },
@@ -24882,8 +24882,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
24882
24882
  }
24883
24883
  };
24884
24884
  const status = computed(() => {
24885
- var _a;
24886
- return actions[((_a = values.value) == null ? void 0 : _a.status) || ""];
24885
+ var _a, _b, _c;
24886
+ let statusVal = actions[((_a = values.value) == null ? void 0 : _a.status) || ""];
24887
+ if (values.value.status === "waitForAudit" && ((_c = values.value.yetProcessStaffIds) == null ? void 0 : _c.includes(((_b = staff.staff.value) == null ? void 0 : _b.id) || ""))) {
24888
+ statusVal = actions["raised"];
24889
+ }
24890
+ return statusVal;
24887
24891
  });
24888
24892
  const isModalOpen = ref(false);
24889
24893
  const isGetLoading = ref(false);
@@ -25042,7 +25046,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
25042
25046
  };
25043
25047
  }
25044
25048
  });
25045
- const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-89132798"]]);
25049
+ const SubmissionAction = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-c9282109"]]);
25046
25050
  const _hoisted_1$6 = { class: "submission-single-actions" };
25047
25051
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
25048
25052
  ...{ name: "SubmissionActionDecision" },
@@ -607,7 +607,7 @@
607
607
  color: rgb(113 113 122 / var(--tw-text-opacity))
608
608
  }
609
609
 
610
- .submission-single-actions[data-v-89132798] {
610
+ .submission-single-actions[data-v-c9282109] {
611
611
 
612
612
  margin-right: 0.25rem;
613
613
 
@@ -617,7 +617,7 @@
617
617
 
618
618
  align-items: center
619
619
  }
620
- .submission-single-actions[data-v-89132798] > :not([hidden]) ~ :not([hidden]) {
620
+ .submission-single-actions[data-v-c9282109] > :not([hidden]) ~ :not([hidden]) {
621
621
 
622
622
  --tw-space-x-reverse: 0;
623
623
 
@@ -625,7 +625,7 @@
625
625
 
626
626
  margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse)))
627
627
  }
628
- .submission-single-actions .publication[data-v-89132798] {
628
+ .submission-single-actions .publication[data-v-c9282109] {
629
629
 
630
630
  display: flex;
631
631
 
@@ -633,19 +633,19 @@
633
633
 
634
634
  border-radius: 0.75rem
635
635
  }
636
- .submission-single-actions .publication .neon-label[data-v-89132798] {
636
+ .submission-single-actions .publication .neon-label[data-v-c9282109] {
637
637
 
638
638
  pointer-events: none;
639
639
 
640
640
  border-radius: 0px
641
641
  }
642
- .submission-single-actions .publication .neon-label[data-v-89132798]:first-child {
642
+ .submission-single-actions .publication .neon-label[data-v-c9282109]:first-child {
643
643
 
644
644
  border-top-left-radius: 0.75rem;
645
645
 
646
646
  border-bottom-left-radius: 0.75rem
647
647
  }
648
- .submission-single-actions .publication .neon-label[data-v-89132798]:last-child {
648
+ .submission-single-actions .publication .neon-label[data-v-c9282109]:last-child {
649
649
 
650
650
  border-top-right-radius: 0.75rem;
651
651
 
package/build/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.32",
7
+ "version": "1.17.34",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/build/nuxt.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "1.17.32",
7
+ "version": "1.17.34",
8
8
  "builder": {
9
9
  "@neon.id/module-builder": "1.8.0",
10
10
  "unbuild": "2.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neutron.co.id/operasional-interfaces",
3
- "version": "1.17.32",
3
+ "version": "1.17.34",
4
4
  "description": "Interface library of Neutron Operasional.",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -78,8 +78,8 @@
78
78
  "@neon.id/nuxt": "^1.5.0",
79
79
  "@neon.id/office": "1.46.0",
80
80
  "@neon.id/utils": "^1.51.0",
81
- "@neutron.co.id/operasional-modules": "1.12.26",
82
- "@neutron.co.id/personalia-models": "1.13.27",
81
+ "@neutron.co.id/operasional-modules": "1.12.28",
82
+ "@neutron.co.id/personalia-models": "1.13.29",
83
83
  "@nuxt/kit": "^3.12.3",
84
84
  "file-saver": "^2.0.5",
85
85
  "papaparse": "5.4.1",
@@ -153,8 +153,8 @@
153
153
  "@neon.id/nuxt": "^1.5.0",
154
154
  "@neon.id/office": "1.46.0",
155
155
  "@neon.id/utils": "^1.51.0",
156
- "@neutron.co.id/operasional-modules": "1.12.26",
157
- "@neutron.co.id/personalia-models": "1.13.27",
156
+ "@neutron.co.id/operasional-modules": "1.12.28",
157
+ "@neutron.co.id/personalia-models": "1.13.29",
158
158
  "@nuxt/kit": "^3.12.3",
159
159
  "file-saver": "^2.0.5",
160
160
  "qr-scanner": "^1.4.2",
@@ -164,5 +164,5 @@
164
164
  "publishConfig": {
165
165
  "access": "public"
166
166
  },
167
- "build": 214
167
+ "build": 216
168
168
  }