@neutron.co.id/operasional-interfaces 1.4.7-beta.1 → 1.4.7-beta.3
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 +114 -60
- package/build/index.mjs +114 -60
- package/build/style.css +6 -6
- package/build/types/components/submission/submission.types.d.ts +1 -1
- package/build/types/gql/graphql.d.ts +8 -0
- package/package.json +4 -4
package/build/index.cjs
CHANGED
|
@@ -4716,13 +4716,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
4716
4716
|
/* STABLE */
|
|
4717
4717
|
}),
|
|
4718
4718
|
vue.createCommentVNode(" KELUAR MASUK "),
|
|
4719
|
-
vue.
|
|
4720
|
-
|
|
4721
|
-
icon: "person-to-door",
|
|
4722
|
-
title: "Keluar Masuk"
|
|
4723
|
-
}, {
|
|
4724
|
-
default: vue.withCtx(() => [
|
|
4725
|
-
vue.createCommentVNode(` <OfficeCollectionRelated
|
|
4719
|
+
vue.createCommentVNode(` <OfficeTab handle="checkIn" icon="person-to-door" title="Keluar Masuk">
|
|
4720
|
+
<OfficeCollectionRelated
|
|
4726
4721
|
definition="neu:tempat:checkIn"
|
|
4727
4722
|
title="Keluar Masuk"
|
|
4728
4723
|
description="Keluar masuk."
|
|
@@ -4735,11 +4730,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
4735
4730
|
},
|
|
4736
4731
|
})
|
|
4737
4732
|
"
|
|
4738
|
-
/>
|
|
4739
|
-
|
|
4740
|
-
_: 1
|
|
4741
|
-
/* STABLE */
|
|
4742
|
-
})
|
|
4733
|
+
/>
|
|
4734
|
+
</OfficeTab> `)
|
|
4743
4735
|
]),
|
|
4744
4736
|
_: 1
|
|
4745
4737
|
/* STABLE */
|
|
@@ -4751,8 +4743,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
4751
4743
|
};
|
|
4752
4744
|
}
|
|
4753
4745
|
});
|
|
4754
|
-
const
|
|
4755
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
4746
|
+
const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
|
|
4747
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-0cf4cd99"]]);
|
|
4756
4748
|
const _hoisted_1$1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
4757
4749
|
const _hoisted_2$1 = { class: "grid gap-4 sm:grid-cols-2" };
|
|
4758
4750
|
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -6378,10 +6370,15 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6378
6370
|
onSubmit: vue.unref(saveOne)
|
|
6379
6371
|
}, {
|
|
6380
6372
|
default: vue.withCtx(() => [
|
|
6381
|
-
vue.
|
|
6373
|
+
vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
6374
|
+
key: 0,
|
|
6382
6375
|
modelValue: vue.unref(values).document,
|
|
6383
6376
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).document = $event)
|
|
6384
|
-
}, vue.unref(fields).document), null, 16, ["modelValue"])
|
|
6377
|
+
}, vue.unref(fields).document), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
6378
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6379
|
+
modelValue: vue.unref(values).image,
|
|
6380
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).image = $event)
|
|
6381
|
+
}, vue.unref(fields).image), null, 16, ["modelValue"])
|
|
6385
6382
|
]),
|
|
6386
6383
|
_: 1
|
|
6387
6384
|
/* STABLE */
|
|
@@ -6401,8 +6398,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6401
6398
|
};
|
|
6402
6399
|
}
|
|
6403
6400
|
});
|
|
6404
|
-
const
|
|
6405
|
-
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
6401
|
+
const SubmissionSingle_vue_vue_type_style_index_0_scoped_28d4f1c9_lang = "";
|
|
6402
|
+
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-28d4f1c9"]]);
|
|
6406
6403
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
6407
6404
|
__name: "SubmissionStaff",
|
|
6408
6405
|
setup(__props) {
|
|
@@ -6435,6 +6432,17 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6435
6432
|
]
|
|
6436
6433
|
};
|
|
6437
6434
|
});
|
|
6435
|
+
const typeOptions = vue.computed(() => {
|
|
6436
|
+
return {
|
|
6437
|
+
filter: [
|
|
6438
|
+
{
|
|
6439
|
+
handle: "branchIds",
|
|
6440
|
+
operator: "in",
|
|
6441
|
+
value: values.value.branchIds
|
|
6442
|
+
}
|
|
6443
|
+
]
|
|
6444
|
+
};
|
|
6445
|
+
});
|
|
6438
6446
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6439
6447
|
vue.watch(
|
|
6440
6448
|
isNew,
|
|
@@ -6479,7 +6487,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6479
6487
|
size: "md",
|
|
6480
6488
|
color: "dark",
|
|
6481
6489
|
"icon-left": "arrow-up-from-line",
|
|
6482
|
-
"is-disabled": vue.unref(isNew) || vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved",
|
|
6490
|
+
"is-disabled": vue.unref(isNew) || vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).specifications || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type,
|
|
6483
6491
|
onClick: syncRaise
|
|
6484
6492
|
}, {
|
|
6485
6493
|
default: vue.withCtx(() => [
|
|
@@ -6511,8 +6519,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6511
6519
|
modelValue: vue.unref(values),
|
|
6512
6520
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6513
6521
|
field: vue.unref(fields).type,
|
|
6522
|
+
query: vue.unref(query.Query).define(typeOptions.value),
|
|
6514
6523
|
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6515
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
6524
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
6516
6525
|
]),
|
|
6517
6526
|
_: 1
|
|
6518
6527
|
/* STABLE */
|
|
@@ -6523,7 +6532,12 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6523
6532
|
modelValue: vue.unref(values),
|
|
6524
6533
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6525
6534
|
field: vue.unref(fields).submissionStaffs,
|
|
6526
|
-
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6535
|
+
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved",
|
|
6536
|
+
fragment: {
|
|
6537
|
+
id: 1,
|
|
6538
|
+
name: 1,
|
|
6539
|
+
display: 1
|
|
6540
|
+
}
|
|
6527
6541
|
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
6528
6542
|
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
6529
6543
|
modelValue: vue.unref(values),
|
|
@@ -6634,11 +6648,18 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6634
6648
|
onSubmit: vue.unref(saveOne)
|
|
6635
6649
|
}, {
|
|
6636
6650
|
default: vue.withCtx(() => [
|
|
6637
|
-
vue.
|
|
6651
|
+
vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
6652
|
+
key: 0,
|
|
6638
6653
|
modelValue: vue.unref(values).document,
|
|
6639
6654
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).document = $event)
|
|
6640
6655
|
}, vue.unref(fields).document, {
|
|
6641
6656
|
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6657
|
+
}), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
6658
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6659
|
+
modelValue: vue.unref(values).image,
|
|
6660
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).image = $event)
|
|
6661
|
+
}, vue.unref(fields).image, {
|
|
6662
|
+
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6642
6663
|
}), null, 16, ["modelValue", "is-disabled"])
|
|
6643
6664
|
]),
|
|
6644
6665
|
_: 1
|
|
@@ -6659,8 +6680,8 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6659
6680
|
};
|
|
6660
6681
|
}
|
|
6661
6682
|
});
|
|
6662
|
-
const
|
|
6663
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
6683
|
+
const SubmissionStaff_vue_vue_type_style_index_0_scoped_f9a53e78_lang = "";
|
|
6684
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f9a53e78"]]);
|
|
6664
6685
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
6665
6686
|
__name: "SubmissionFollowUp",
|
|
6666
6687
|
setup(__props) {
|
|
@@ -6703,23 +6724,21 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6703
6724
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6704
6725
|
modelValue: vue.unref(values).title,
|
|
6705
6726
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
|
|
6706
|
-
}, vue.unref(fields).title, {
|
|
6707
|
-
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6708
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6727
|
+
}, vue.unref(fields).title, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6709
6728
|
vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
|
|
6710
6729
|
default: vue.withCtx(() => [
|
|
6711
6730
|
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
6712
6731
|
modelValue: vue.unref(values),
|
|
6713
6732
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6714
6733
|
field: vue.unref(fields).branches,
|
|
6715
|
-
"is-disabled":
|
|
6716
|
-
}, null, 8, ["modelValue", "field"
|
|
6734
|
+
"is-disabled": ""
|
|
6735
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6717
6736
|
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
6718
6737
|
modelValue: vue.unref(values),
|
|
6719
6738
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6720
6739
|
field: vue.unref(fields).type,
|
|
6721
|
-
"is-disabled":
|
|
6722
|
-
}, null, 8, ["modelValue", "field"
|
|
6740
|
+
"is-disabled": ""
|
|
6741
|
+
}, null, 8, ["modelValue", "field"])
|
|
6723
6742
|
]),
|
|
6724
6743
|
_: 1
|
|
6725
6744
|
/* STABLE */
|
|
@@ -6730,14 +6749,14 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6730
6749
|
modelValue: vue.unref(values),
|
|
6731
6750
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6732
6751
|
field: vue.unref(fields).submissionStaffs,
|
|
6733
|
-
"is-disabled":
|
|
6734
|
-
}, null, 8, ["modelValue", "field"
|
|
6752
|
+
"is-disabled": ""
|
|
6753
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6735
6754
|
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
6736
6755
|
modelValue: vue.unref(values),
|
|
6737
6756
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6738
6757
|
field: vue.unref(fields).raiseStaffs,
|
|
6739
|
-
"is-disabled":
|
|
6740
|
-
}, null, 8, ["modelValue", "field"
|
|
6758
|
+
"is-disabled": ""
|
|
6759
|
+
}, null, 8, ["modelValue", "field"])
|
|
6741
6760
|
]),
|
|
6742
6761
|
_: 1
|
|
6743
6762
|
/* STABLE */
|
|
@@ -6748,8 +6767,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6748
6767
|
modelValue: vue.unref(values),
|
|
6749
6768
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
6750
6769
|
field: vue.unref(fields).decideStaffs,
|
|
6751
|
-
"is-disabled":
|
|
6752
|
-
}, null, 8, ["modelValue", "field"
|
|
6770
|
+
"is-disabled": ""
|
|
6771
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6753
6772
|
vue.createVNode(vue.unref(office.OfficeRelation), {
|
|
6754
6773
|
modelValue: vue.unref(values),
|
|
6755
6774
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
@@ -6762,9 +6781,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6762
6781
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6763
6782
|
modelValue: vue.unref(values).specifications,
|
|
6764
6783
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
|
|
6765
|
-
}, vue.unref(fields).specifications, {
|
|
6766
|
-
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6767
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6784
|
+
}, vue.unref(fields).specifications, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6768
6785
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6769
6786
|
modelValue: vue.unref(values).updatedAt,
|
|
6770
6787
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).updatedAt = $event)
|
|
@@ -6776,9 +6793,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6776
6793
|
options: {
|
|
6777
6794
|
note: "Tanggal pengajuan diupdate."
|
|
6778
6795
|
}
|
|
6779
|
-
}, {
|
|
6780
|
-
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6781
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6796
|
+
}, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6782
6797
|
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
6783
6798
|
"is-dashed": "",
|
|
6784
6799
|
label: "Nominal"
|
|
@@ -6786,9 +6801,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6786
6801
|
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6787
6802
|
modelValue: vue.unref(values).nominal,
|
|
6788
6803
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).nominal = $event)
|
|
6789
|
-
}, vue.unref(fields).nominal, {
|
|
6790
|
-
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
6791
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6804
|
+
}, vue.unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6792
6805
|
vue.createVNode(vue.unref(interfaces.NeonDivider), {
|
|
6793
6806
|
"is-dashed": "",
|
|
6794
6807
|
label: "Keputusan"
|
|
@@ -6837,12 +6850,15 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6837
6850
|
onSubmit: vue.unref(saveOne)
|
|
6838
6851
|
}, {
|
|
6839
6852
|
default: vue.withCtx(() => [
|
|
6840
|
-
vue.
|
|
6853
|
+
vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
6854
|
+
key: 0,
|
|
6841
6855
|
modelValue: vue.unref(values).document,
|
|
6842
6856
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).document = $event)
|
|
6843
|
-
}, vue.unref(fields).document, {
|
|
6844
|
-
|
|
6845
|
-
|
|
6857
|
+
}, vue.unref(fields).document, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
|
|
6858
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
6859
|
+
modelValue: vue.unref(values).image,
|
|
6860
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).image = $event)
|
|
6861
|
+
}, vue.unref(fields).image, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
6846
6862
|
]),
|
|
6847
6863
|
_: 1
|
|
6848
6864
|
/* STABLE */
|
|
@@ -6862,8 +6878,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6862
6878
|
};
|
|
6863
6879
|
}
|
|
6864
6880
|
});
|
|
6865
|
-
const
|
|
6866
|
-
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
6881
|
+
const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_81b44852_lang = "";
|
|
6882
|
+
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-81b44852"]]);
|
|
6867
6883
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
6868
6884
|
__name: "SubmissionAudit",
|
|
6869
6885
|
setup(__props) {
|
|
@@ -6896,6 +6912,17 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
6896
6912
|
]
|
|
6897
6913
|
};
|
|
6898
6914
|
});
|
|
6915
|
+
const typeOptions = vue.computed(() => {
|
|
6916
|
+
return {
|
|
6917
|
+
filter: [
|
|
6918
|
+
{
|
|
6919
|
+
handle: "branchIds",
|
|
6920
|
+
operator: "in",
|
|
6921
|
+
value: values.value.branchIds
|
|
6922
|
+
}
|
|
6923
|
+
]
|
|
6924
|
+
};
|
|
6925
|
+
});
|
|
6899
6926
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6900
6927
|
vue.watch(
|
|
6901
6928
|
isNew,
|
|
@@ -7047,8 +7074,9 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7047
7074
|
modelValue: vue.unref(values),
|
|
7048
7075
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
7049
7076
|
field: vue.unref(fields).type,
|
|
7077
|
+
query: vue.unref(query.Query).define(typeOptions.value),
|
|
7050
7078
|
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
7051
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
7079
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
7052
7080
|
]),
|
|
7053
7081
|
_: 1
|
|
7054
7082
|
/* STABLE */
|
|
@@ -7170,11 +7198,18 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7170
7198
|
onSubmit: vue.unref(saveOne)
|
|
7171
7199
|
}, {
|
|
7172
7200
|
default: vue.withCtx(() => [
|
|
7173
|
-
vue.
|
|
7201
|
+
vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
7202
|
+
key: 0,
|
|
7174
7203
|
modelValue: vue.unref(values).document,
|
|
7175
7204
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).document = $event)
|
|
7176
7205
|
}, vue.unref(fields).document, {
|
|
7177
7206
|
"is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
7207
|
+
}), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
7208
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
7209
|
+
modelValue: vue.unref(values).image,
|
|
7210
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).image = $event)
|
|
7211
|
+
}, vue.unref(fields).image, {
|
|
7212
|
+
"is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
7178
7213
|
}), null, 16, ["modelValue", "is-disabled"])
|
|
7179
7214
|
]),
|
|
7180
7215
|
_: 1
|
|
@@ -7195,8 +7230,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7195
7230
|
};
|
|
7196
7231
|
}
|
|
7197
7232
|
});
|
|
7198
|
-
const
|
|
7199
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
7233
|
+
const SubmissionAudit_vue_vue_type_style_index_0_scoped_c96f69cb_lang = "";
|
|
7234
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c96f69cb"]]);
|
|
7200
7235
|
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
7201
7236
|
__name: "SubmissionDecision",
|
|
7202
7237
|
setup(__props) {
|
|
@@ -7229,6 +7264,17 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7229
7264
|
]
|
|
7230
7265
|
};
|
|
7231
7266
|
});
|
|
7267
|
+
const typeOptions = vue.computed(() => {
|
|
7268
|
+
return {
|
|
7269
|
+
filter: [
|
|
7270
|
+
{
|
|
7271
|
+
handle: "branchIds",
|
|
7272
|
+
operator: "in",
|
|
7273
|
+
value: values.value.branchIds
|
|
7274
|
+
}
|
|
7275
|
+
]
|
|
7276
|
+
};
|
|
7277
|
+
});
|
|
7232
7278
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
7233
7279
|
vue.watch(
|
|
7234
7280
|
isNew,
|
|
@@ -7342,8 +7388,9 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7342
7388
|
modelValue: vue.unref(values),
|
|
7343
7389
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
|
|
7344
7390
|
field: vue.unref(fields).type,
|
|
7391
|
+
query: vue.unref(query.Query).define(typeOptions.value),
|
|
7345
7392
|
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
7346
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
7393
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
7347
7394
|
]),
|
|
7348
7395
|
_: 1
|
|
7349
7396
|
/* STABLE */
|
|
@@ -7465,11 +7512,18 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7465
7512
|
onSubmit: vue.unref(saveOne)
|
|
7466
7513
|
}, {
|
|
7467
7514
|
default: vue.withCtx(() => [
|
|
7468
|
-
vue.
|
|
7515
|
+
vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
|
|
7516
|
+
key: 0,
|
|
7469
7517
|
modelValue: vue.unref(values).document,
|
|
7470
7518
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).document = $event)
|
|
7471
7519
|
}, vue.unref(fields).document, {
|
|
7472
7520
|
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
7521
|
+
}), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
|
|
7522
|
+
vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
|
|
7523
|
+
modelValue: vue.unref(values).image,
|
|
7524
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).image = $event)
|
|
7525
|
+
}, vue.unref(fields).image, {
|
|
7526
|
+
"is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
|
|
7473
7527
|
}), null, 16, ["modelValue", "is-disabled"])
|
|
7474
7528
|
]),
|
|
7475
7529
|
_: 1
|
|
@@ -7490,8 +7544,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
7490
7544
|
};
|
|
7491
7545
|
}
|
|
7492
7546
|
});
|
|
7493
|
-
const
|
|
7494
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
7547
|
+
const SubmissionDecision_vue_vue_type_style_index_0_scoped_0921e069_lang = "";
|
|
7548
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0921e069"]]);
|
|
7495
7549
|
const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
|
|
7496
7550
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
7497
7551
|
...{
|
package/build/index.mjs
CHANGED
|
@@ -4714,13 +4714,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4714
4714
|
/* STABLE */
|
|
4715
4715
|
}),
|
|
4716
4716
|
createCommentVNode(" KELUAR MASUK "),
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
icon: "person-to-door",
|
|
4720
|
-
title: "Keluar Masuk"
|
|
4721
|
-
}, {
|
|
4722
|
-
default: withCtx(() => [
|
|
4723
|
-
createCommentVNode(` <OfficeCollectionRelated
|
|
4717
|
+
createCommentVNode(` <OfficeTab handle="checkIn" icon="person-to-door" title="Keluar Masuk">
|
|
4718
|
+
<OfficeCollectionRelated
|
|
4724
4719
|
definition="neu:tempat:checkIn"
|
|
4725
4720
|
title="Keluar Masuk"
|
|
4726
4721
|
description="Keluar masuk."
|
|
@@ -4733,11 +4728,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4733
4728
|
},
|
|
4734
4729
|
})
|
|
4735
4730
|
"
|
|
4736
|
-
/>
|
|
4737
|
-
|
|
4738
|
-
_: 1
|
|
4739
|
-
/* STABLE */
|
|
4740
|
-
})
|
|
4731
|
+
/>
|
|
4732
|
+
</OfficeTab> `)
|
|
4741
4733
|
]),
|
|
4742
4734
|
_: 1
|
|
4743
4735
|
/* STABLE */
|
|
@@ -4749,8 +4741,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4749
4741
|
};
|
|
4750
4742
|
}
|
|
4751
4743
|
});
|
|
4752
|
-
const
|
|
4753
|
-
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-
|
|
4744
|
+
const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
|
|
4745
|
+
const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-0cf4cd99"]]);
|
|
4754
4746
|
const _hoisted_1$1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
|
|
4755
4747
|
const _hoisted_2$1 = { class: "grid gap-4 sm:grid-cols-2" };
|
|
4756
4748
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
@@ -6376,10 +6368,15 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6376
6368
|
onSubmit: unref(saveOne)
|
|
6377
6369
|
}, {
|
|
6378
6370
|
default: withCtx(() => [
|
|
6379
|
-
|
|
6371
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
6372
|
+
key: 0,
|
|
6380
6373
|
modelValue: unref(values).document,
|
|
6381
6374
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => unref(values).document = $event)
|
|
6382
|
-
}, unref(fields).document), null, 16, ["modelValue"])
|
|
6375
|
+
}, unref(fields).document), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
6376
|
+
createVNode(unref(NeonField), mergeProps({
|
|
6377
|
+
modelValue: unref(values).image,
|
|
6378
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => unref(values).image = $event)
|
|
6379
|
+
}, unref(fields).image), null, 16, ["modelValue"])
|
|
6383
6380
|
]),
|
|
6384
6381
|
_: 1
|
|
6385
6382
|
/* STABLE */
|
|
@@ -6399,8 +6396,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6399
6396
|
};
|
|
6400
6397
|
}
|
|
6401
6398
|
});
|
|
6402
|
-
const
|
|
6403
|
-
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
6399
|
+
const SubmissionSingle_vue_vue_type_style_index_0_scoped_28d4f1c9_lang = "";
|
|
6400
|
+
const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-28d4f1c9"]]);
|
|
6404
6401
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
6405
6402
|
__name: "SubmissionStaff",
|
|
6406
6403
|
setup(__props) {
|
|
@@ -6433,6 +6430,17 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6433
6430
|
]
|
|
6434
6431
|
};
|
|
6435
6432
|
});
|
|
6433
|
+
const typeOptions = computed(() => {
|
|
6434
|
+
return {
|
|
6435
|
+
filter: [
|
|
6436
|
+
{
|
|
6437
|
+
handle: "branchIds",
|
|
6438
|
+
operator: "in",
|
|
6439
|
+
value: values.value.branchIds
|
|
6440
|
+
}
|
|
6441
|
+
]
|
|
6442
|
+
};
|
|
6443
|
+
});
|
|
6436
6444
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6437
6445
|
watch(
|
|
6438
6446
|
isNew,
|
|
@@ -6477,7 +6485,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6477
6485
|
size: "md",
|
|
6478
6486
|
color: "dark",
|
|
6479
6487
|
"icon-left": "arrow-up-from-line",
|
|
6480
|
-
"is-disabled": unref(isNew) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved",
|
|
6488
|
+
"is-disabled": unref(isNew) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).specifications || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type,
|
|
6481
6489
|
onClick: syncRaise
|
|
6482
6490
|
}, {
|
|
6483
6491
|
default: withCtx(() => [
|
|
@@ -6509,8 +6517,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6509
6517
|
modelValue: unref(values),
|
|
6510
6518
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6511
6519
|
field: unref(fields).type,
|
|
6520
|
+
query: unref(Query).define(typeOptions.value),
|
|
6512
6521
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6513
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
6522
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
6514
6523
|
]),
|
|
6515
6524
|
_: 1
|
|
6516
6525
|
/* STABLE */
|
|
@@ -6521,7 +6530,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6521
6530
|
modelValue: unref(values),
|
|
6522
6531
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6523
6532
|
field: unref(fields).submissionStaffs,
|
|
6524
|
-
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6533
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved",
|
|
6534
|
+
fragment: {
|
|
6535
|
+
id: 1,
|
|
6536
|
+
name: 1,
|
|
6537
|
+
display: 1
|
|
6538
|
+
}
|
|
6525
6539
|
}, null, 8, ["modelValue", "field", "is-disabled"]),
|
|
6526
6540
|
createVNode(unref(OfficeRelation), {
|
|
6527
6541
|
modelValue: unref(values),
|
|
@@ -6632,11 +6646,18 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6632
6646
|
onSubmit: unref(saveOne)
|
|
6633
6647
|
}, {
|
|
6634
6648
|
default: withCtx(() => [
|
|
6635
|
-
|
|
6649
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
6650
|
+
key: 0,
|
|
6636
6651
|
modelValue: unref(values).document,
|
|
6637
6652
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).document = $event)
|
|
6638
6653
|
}, unref(fields).document, {
|
|
6639
6654
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6655
|
+
}), null, 16, ["modelValue", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
6656
|
+
createVNode(unref(NeonField), mergeProps({
|
|
6657
|
+
modelValue: unref(values).image,
|
|
6658
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).image = $event)
|
|
6659
|
+
}, unref(fields).image, {
|
|
6660
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6640
6661
|
}), null, 16, ["modelValue", "is-disabled"])
|
|
6641
6662
|
]),
|
|
6642
6663
|
_: 1
|
|
@@ -6657,8 +6678,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6657
6678
|
};
|
|
6658
6679
|
}
|
|
6659
6680
|
});
|
|
6660
|
-
const
|
|
6661
|
-
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
6681
|
+
const SubmissionStaff_vue_vue_type_style_index_0_scoped_f9a53e78_lang = "";
|
|
6682
|
+
const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f9a53e78"]]);
|
|
6662
6683
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
6663
6684
|
__name: "SubmissionFollowUp",
|
|
6664
6685
|
setup(__props) {
|
|
@@ -6701,23 +6722,21 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6701
6722
|
createVNode(unref(NeonField), mergeProps({
|
|
6702
6723
|
modelValue: unref(values).title,
|
|
6703
6724
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).title = $event)
|
|
6704
|
-
}, unref(fields).title, {
|
|
6705
|
-
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6706
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6725
|
+
}, unref(fields).title, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6707
6726
|
createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
|
|
6708
6727
|
default: withCtx(() => [
|
|
6709
6728
|
createVNode(unref(OfficeRelation), {
|
|
6710
6729
|
modelValue: unref(values),
|
|
6711
6730
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6712
6731
|
field: unref(fields).branches,
|
|
6713
|
-
"is-disabled":
|
|
6714
|
-
}, null, 8, ["modelValue", "field"
|
|
6732
|
+
"is-disabled": ""
|
|
6733
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6715
6734
|
createVNode(unref(OfficeRelation), {
|
|
6716
6735
|
modelValue: unref(values),
|
|
6717
6736
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6718
6737
|
field: unref(fields).type,
|
|
6719
|
-
"is-disabled":
|
|
6720
|
-
}, null, 8, ["modelValue", "field"
|
|
6738
|
+
"is-disabled": ""
|
|
6739
|
+
}, null, 8, ["modelValue", "field"])
|
|
6721
6740
|
]),
|
|
6722
6741
|
_: 1
|
|
6723
6742
|
/* STABLE */
|
|
@@ -6728,14 +6747,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6728
6747
|
modelValue: unref(values),
|
|
6729
6748
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6730
6749
|
field: unref(fields).submissionStaffs,
|
|
6731
|
-
"is-disabled":
|
|
6732
|
-
}, null, 8, ["modelValue", "field"
|
|
6750
|
+
"is-disabled": ""
|
|
6751
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6733
6752
|
createVNode(unref(OfficeRelation), {
|
|
6734
6753
|
modelValue: unref(values),
|
|
6735
6754
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6736
6755
|
field: unref(fields).raiseStaffs,
|
|
6737
|
-
"is-disabled":
|
|
6738
|
-
}, null, 8, ["modelValue", "field"
|
|
6756
|
+
"is-disabled": ""
|
|
6757
|
+
}, null, 8, ["modelValue", "field"])
|
|
6739
6758
|
]),
|
|
6740
6759
|
_: 1
|
|
6741
6760
|
/* STABLE */
|
|
@@ -6746,8 +6765,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6746
6765
|
modelValue: unref(values),
|
|
6747
6766
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
|
|
6748
6767
|
field: unref(fields).decideStaffs,
|
|
6749
|
-
"is-disabled":
|
|
6750
|
-
}, null, 8, ["modelValue", "field"
|
|
6768
|
+
"is-disabled": ""
|
|
6769
|
+
}, null, 8, ["modelValue", "field"]),
|
|
6751
6770
|
createVNode(unref(OfficeRelation), {
|
|
6752
6771
|
modelValue: unref(values),
|
|
6753
6772
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
|
|
@@ -6760,9 +6779,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6760
6779
|
createVNode(unref(NeonField), mergeProps({
|
|
6761
6780
|
modelValue: unref(values).specifications,
|
|
6762
6781
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
|
|
6763
|
-
}, unref(fields).specifications, {
|
|
6764
|
-
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6765
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6782
|
+
}, unref(fields).specifications, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6766
6783
|
createVNode(unref(NeonField), mergeProps({
|
|
6767
6784
|
modelValue: unref(values).updatedAt,
|
|
6768
6785
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).updatedAt = $event)
|
|
@@ -6774,9 +6791,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6774
6791
|
options: {
|
|
6775
6792
|
note: "Tanggal pengajuan diupdate."
|
|
6776
6793
|
}
|
|
6777
|
-
}, {
|
|
6778
|
-
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6779
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6794
|
+
}, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6780
6795
|
createVNode(unref(NeonDivider), {
|
|
6781
6796
|
"is-dashed": "",
|
|
6782
6797
|
label: "Nominal"
|
|
@@ -6784,9 +6799,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6784
6799
|
createVNode(unref(NeonField), mergeProps({
|
|
6785
6800
|
modelValue: unref(values).nominal,
|
|
6786
6801
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).nominal = $event)
|
|
6787
|
-
}, unref(fields).nominal, {
|
|
6788
|
-
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
6789
|
-
}), null, 16, ["modelValue", "is-disabled"]),
|
|
6802
|
+
}, unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
|
|
6790
6803
|
createVNode(unref(NeonDivider), {
|
|
6791
6804
|
"is-dashed": "",
|
|
6792
6805
|
label: "Keputusan"
|
|
@@ -6835,12 +6848,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6835
6848
|
onSubmit: unref(saveOne)
|
|
6836
6849
|
}, {
|
|
6837
6850
|
default: withCtx(() => [
|
|
6838
|
-
|
|
6851
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
6852
|
+
key: 0,
|
|
6839
6853
|
modelValue: unref(values).document,
|
|
6840
6854
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).document = $event)
|
|
6841
|
-
}, unref(fields).document, {
|
|
6842
|
-
|
|
6843
|
-
|
|
6855
|
+
}, unref(fields).document, { "is-disabled": "" }), null, 16, ["modelValue"])) : createCommentVNode("v-if", true),
|
|
6856
|
+
createVNode(unref(NeonField), mergeProps({
|
|
6857
|
+
modelValue: unref(values).image,
|
|
6858
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).image = $event)
|
|
6859
|
+
}, unref(fields).image, { "is-disabled": "" }), null, 16, ["modelValue"])
|
|
6844
6860
|
]),
|
|
6845
6861
|
_: 1
|
|
6846
6862
|
/* STABLE */
|
|
@@ -6860,8 +6876,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
6860
6876
|
};
|
|
6861
6877
|
}
|
|
6862
6878
|
});
|
|
6863
|
-
const
|
|
6864
|
-
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
6879
|
+
const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_81b44852_lang = "";
|
|
6880
|
+
const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-81b44852"]]);
|
|
6865
6881
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
6866
6882
|
__name: "SubmissionAudit",
|
|
6867
6883
|
setup(__props) {
|
|
@@ -6894,6 +6910,17 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
6894
6910
|
]
|
|
6895
6911
|
};
|
|
6896
6912
|
});
|
|
6913
|
+
const typeOptions = computed(() => {
|
|
6914
|
+
return {
|
|
6915
|
+
filter: [
|
|
6916
|
+
{
|
|
6917
|
+
handle: "branchIds",
|
|
6918
|
+
operator: "in",
|
|
6919
|
+
value: values.value.branchIds
|
|
6920
|
+
}
|
|
6921
|
+
]
|
|
6922
|
+
};
|
|
6923
|
+
});
|
|
6897
6924
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
6898
6925
|
watch(
|
|
6899
6926
|
isNew,
|
|
@@ -7045,8 +7072,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
7045
7072
|
modelValue: unref(values),
|
|
7046
7073
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7047
7074
|
field: unref(fields).type,
|
|
7075
|
+
query: unref(Query).define(typeOptions.value),
|
|
7048
7076
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
7049
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
7077
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
7050
7078
|
]),
|
|
7051
7079
|
_: 1
|
|
7052
7080
|
/* STABLE */
|
|
@@ -7168,11 +7196,18 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
7168
7196
|
onSubmit: unref(saveOne)
|
|
7169
7197
|
}, {
|
|
7170
7198
|
default: withCtx(() => [
|
|
7171
|
-
|
|
7199
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7200
|
+
key: 0,
|
|
7172
7201
|
modelValue: unref(values).document,
|
|
7173
7202
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).document = $event)
|
|
7174
7203
|
}, unref(fields).document, {
|
|
7175
7204
|
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
7205
|
+
}), null, 16, ["modelValue", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
7206
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7207
|
+
modelValue: unref(values).image,
|
|
7208
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).image = $event)
|
|
7209
|
+
}, unref(fields).image, {
|
|
7210
|
+
"is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
7176
7211
|
}), null, 16, ["modelValue", "is-disabled"])
|
|
7177
7212
|
]),
|
|
7178
7213
|
_: 1
|
|
@@ -7193,8 +7228,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
7193
7228
|
};
|
|
7194
7229
|
}
|
|
7195
7230
|
});
|
|
7196
|
-
const
|
|
7197
|
-
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
7231
|
+
const SubmissionAudit_vue_vue_type_style_index_0_scoped_c96f69cb_lang = "";
|
|
7232
|
+
const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c96f69cb"]]);
|
|
7198
7233
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7199
7234
|
__name: "SubmissionDecision",
|
|
7200
7235
|
setup(__props) {
|
|
@@ -7227,6 +7262,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7227
7262
|
]
|
|
7228
7263
|
};
|
|
7229
7264
|
});
|
|
7265
|
+
const typeOptions = computed(() => {
|
|
7266
|
+
return {
|
|
7267
|
+
filter: [
|
|
7268
|
+
{
|
|
7269
|
+
handle: "branchIds",
|
|
7270
|
+
operator: "in",
|
|
7271
|
+
value: values.value.branchIds
|
|
7272
|
+
}
|
|
7273
|
+
]
|
|
7274
|
+
};
|
|
7275
|
+
});
|
|
7230
7276
|
const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
|
|
7231
7277
|
watch(
|
|
7232
7278
|
isNew,
|
|
@@ -7340,8 +7386,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7340
7386
|
modelValue: unref(values),
|
|
7341
7387
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
|
|
7342
7388
|
field: unref(fields).type,
|
|
7389
|
+
query: unref(Query).define(typeOptions.value),
|
|
7343
7390
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
7344
|
-
}, null, 8, ["modelValue", "field", "is-disabled"])
|
|
7391
|
+
}, null, 8, ["modelValue", "field", "query", "is-disabled"])
|
|
7345
7392
|
]),
|
|
7346
7393
|
_: 1
|
|
7347
7394
|
/* STABLE */
|
|
@@ -7463,11 +7510,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7463
7510
|
onSubmit: unref(saveOne)
|
|
7464
7511
|
}, {
|
|
7465
7512
|
default: withCtx(() => [
|
|
7466
|
-
|
|
7513
|
+
unref(isReady) || unref(isNew) ? (openBlock(), createBlock(unref(NeonField), mergeProps({
|
|
7514
|
+
key: 0,
|
|
7467
7515
|
modelValue: unref(values).document,
|
|
7468
7516
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => unref(values).document = $event)
|
|
7469
7517
|
}, unref(fields).document, {
|
|
7470
7518
|
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
7519
|
+
}), null, 16, ["modelValue", "is-disabled"])) : createCommentVNode("v-if", true),
|
|
7520
|
+
createVNode(unref(NeonField), mergeProps({
|
|
7521
|
+
modelValue: unref(values).image,
|
|
7522
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => unref(values).image = $event)
|
|
7523
|
+
}, unref(fields).image, {
|
|
7524
|
+
"is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
|
|
7471
7525
|
}), null, 16, ["modelValue", "is-disabled"])
|
|
7472
7526
|
]),
|
|
7473
7527
|
_: 1
|
|
@@ -7488,8 +7542,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
7488
7542
|
};
|
|
7489
7543
|
}
|
|
7490
7544
|
});
|
|
7491
|
-
const
|
|
7492
|
-
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
7545
|
+
const SubmissionDecision_vue_vue_type_style_index_0_scoped_0921e069_lang = "";
|
|
7546
|
+
const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-0921e069"]]);
|
|
7493
7547
|
const SubmissionTypeModel = models$2.SubmissionTypeModel;
|
|
7494
7548
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
7495
7549
|
...{
|
package/build/style.css
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
0 -1px 1px black;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.neu-staff-single[data-v-
|
|
145
|
+
.neu-staff-single[data-v-0cf4cd99] {
|
|
146
146
|
display: block
|
|
147
147
|
}
|
|
148
148
|
|
|
@@ -150,23 +150,23 @@
|
|
|
150
150
|
display: block
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
.neu-submission-single[data-v-
|
|
153
|
+
.neu-submission-single[data-v-28d4f1c9] {
|
|
154
154
|
display: block
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.neu-submission-single[data-v-
|
|
157
|
+
.neu-submission-single[data-v-f9a53e78] {
|
|
158
158
|
display: block
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.neu-submission-single[data-v-
|
|
161
|
+
.neu-submission-single[data-v-81b44852] {
|
|
162
162
|
display: block
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.neu-submission-single[data-v-
|
|
165
|
+
.neu-submission-single[data-v-c96f69cb] {
|
|
166
166
|
display: block
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.neu-submission-single[data-v-
|
|
169
|
+
.neu-submission-single[data-v-0921e069] {
|
|
170
170
|
display: block
|
|
171
171
|
}
|
|
172
172
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SubmissionModel: import("@neon.id/model").Model<"neu:personalia:submission", "type" | "title" | "status" | "branches" | "agreedStaffs" | "decideStaffs" | "delayStaffs" | "document" | "followUpStaffs" | "nominal" | "preparedAt" | "processedAt" | "raiseStaffs" | "raisedAt" | "specifications" | "submissionStaffs">;
|
|
1
|
+
export declare const SubmissionModel: import("@neon.id/model").Model<"neu:personalia:submission", "type" | "title" | "image" | "status" | "branches" | "agreedStaffs" | "decideStaffs" | "delayStaffs" | "document" | "followUpStaffs" | "nameStaff" | "nominal" | "preparedAt" | "processedAt" | "raiseStaffs" | "raisedAt" | "specifications" | "submissionStaffs">;
|
|
2
2
|
export type TSubmissionModel = typeof SubmissionModel;
|
|
@@ -4838,6 +4838,10 @@ export type Submission = {
|
|
|
4838
4838
|
followUpStaffs?: Maybe<Array<Staff>>;
|
|
4839
4839
|
/** Object ID. */
|
|
4840
4840
|
id?: Maybe<Scalars['ID']>;
|
|
4841
|
+
/** Detail Gambar dari pengajuan. */
|
|
4842
|
+
image?: Maybe<Scalars['Json']>;
|
|
4843
|
+
/** Nama Karyawan. */
|
|
4844
|
+
nameStaff?: Maybe<Scalars['String']>;
|
|
4841
4845
|
/** Nominal uang yang diajukan. */
|
|
4842
4846
|
nominal?: Maybe<Scalars['Int']>;
|
|
4843
4847
|
/** Tanggal pengajuan disiapkan. */
|
|
@@ -4985,6 +4989,10 @@ export type SubmissionInput = {
|
|
|
4985
4989
|
flag?: InputMaybe<Scalars['String']>;
|
|
4986
4990
|
/** Relation IDs of Siapa Menindaklanjuti. */
|
|
4987
4991
|
followUpStaffIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
4992
|
+
/** Detail Gambar dari pengajuan. */
|
|
4993
|
+
image?: InputMaybe<Scalars['Any']>;
|
|
4994
|
+
/** Nama Karyawan. */
|
|
4995
|
+
nameStaff?: InputMaybe<Scalars['String']>;
|
|
4988
4996
|
/** Nominal uang yang diajukan. */
|
|
4989
4997
|
nominal?: InputMaybe<Scalars['Int']>;
|
|
4990
4998
|
/** Tanggal pengajuan disiapkan. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.4.7-beta.
|
|
3
|
+
"version": "1.4.7-beta.3",
|
|
4
4
|
"description": "Interface library of Neutron Operasional.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@neon.id/interfaces": "0.161.0",
|
|
61
61
|
"@neon.id/office": "0.39.0",
|
|
62
62
|
"@neon.id/utils": "0.43.0",
|
|
63
|
-
"@neutron.co.id/personalia-models": "1.4.5-beta.
|
|
63
|
+
"@neutron.co.id/personalia-models": "1.4.5-beta.3",
|
|
64
64
|
"@neutron.co.id/sentral-interfaces": "1.3.0",
|
|
65
65
|
"@nuxt/kit": "3.4.2",
|
|
66
66
|
"qr-scanner": "1.4.2",
|
|
@@ -129,12 +129,12 @@
|
|
|
129
129
|
"@neon.id/interfaces": "^0.161.0",
|
|
130
130
|
"@neon.id/office": "^0.39.0",
|
|
131
131
|
"@neon.id/utils": "^0.43.0",
|
|
132
|
-
"@neutron.co.id/personalia-models": "^1.4.5-beta.
|
|
132
|
+
"@neutron.co.id/personalia-models": "^1.4.5-beta.3",
|
|
133
133
|
"@nuxt/kit": "^3.4.2",
|
|
134
134
|
"vue": "^3.3.2"
|
|
135
135
|
},
|
|
136
136
|
"publishConfig": {
|
|
137
137
|
"access": "public"
|
|
138
138
|
},
|
|
139
|
-
"build":
|
|
139
|
+
"build": 91
|
|
140
140
|
}
|