@neutron.co.id/operasional-interfaces 1.17.32 → 1.17.33
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(() =>
|
|
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)
|
package/build/mock/index.cjs
CHANGED
|
@@ -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
|
-
|
|
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-
|
|
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" },
|
package/build/mock/index.mjs
CHANGED
|
@@ -24882,8 +24882,12 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
24882
24882
|
}
|
|
24883
24883
|
};
|
|
24884
24884
|
const status = computed(() => {
|
|
24885
|
-
var _a;
|
|
24886
|
-
|
|
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-
|
|
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" },
|
package/build/mock/style.css
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
package/build/nuxt.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.33",
|
|
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.
|
|
82
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
81
|
+
"@neutron.co.id/operasional-modules": "1.12.28",
|
|
82
|
+
"@neutron.co.id/personalia-models": "1.13.28",
|
|
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.
|
|
157
|
-
"@neutron.co.id/personalia-models": "1.13.
|
|
156
|
+
"@neutron.co.id/operasional-modules": "1.12.28",
|
|
157
|
+
"@neutron.co.id/personalia-models": "1.13.28",
|
|
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":
|
|
167
|
+
"build": 215
|
|
168
168
|
}
|