@neutron.co.id/operasional-interfaces 1.6.2 → 1.6.4-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
@@ -23,8 +23,8 @@ const component = require("@neon.id/utils/component");
23
23
  const Scanner = require("qr-scanner");
24
24
  const personaliaModels = require("@neutron.co.id/personalia-models");
25
25
  const catatInterfaces = require("@neon.id/catat-interfaces");
26
- const _hoisted_1$b = { class: "xxx-button" };
27
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
26
+ const _hoisted_1$e = { class: "xxx-button" };
27
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
28
28
  ...{ name: "XxxButton" },
29
29
  __name: "XxxButton",
30
30
  props: {
@@ -35,18 +35,18 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
35
35
  },
36
36
  setup(__props) {
37
37
  return (_ctx, _cache) => {
38
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
38
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
39
39
  vue.createVNode(vue.unref(interfaces.NeonButton), { label: "XXX" })
40
40
  ]);
41
41
  };
42
42
  }
43
43
  });
44
- const _hoisted_1$a = { class: "operasional-identitas" };
45
- const _hoisted_2$6 = {
44
+ const _hoisted_1$d = { class: "operasional-identitas" };
45
+ const _hoisted_2$9 = {
46
46
  key: 2,
47
47
  class: "section"
48
48
  };
49
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
49
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
50
50
  ...{ name: "OperasionalIdentitas" },
51
51
  __name: "OperasionalIdentitas",
52
52
  props: {
@@ -301,7 +301,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
301
301
  candidateId.value = null;
302
302
  }
303
303
  return (_ctx, _cache) => {
304
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
304
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
305
305
  state.value === "connect" ? (vue.openBlock(), vue.createBlock(vue.unref(identitasInterfaces.IdentitasConnect), {
306
306
  key: 0,
307
307
  user: user.value,
@@ -353,7 +353,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
353
353
  _: 1
354
354
  /* STABLE */
355
355
  }, 8, ["initial-values", "is-loading", "errors"])) : vue.createCommentVNode("v-if", true),
356
- user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
356
+ user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
357
357
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
358
358
  "is-dashed": "",
359
359
  label: "Delegasi",
@@ -402,7 +402,7 @@ const _export_sfc = (sfc, props) => {
402
402
  }
403
403
  return target;
404
404
  };
405
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-355c8370"]]);
405
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-355c8370"]]);
406
406
  const CheckInModel = tempatModels.models.CheckInModel;
407
407
  const useOperasionalStore = pinia.defineStore("neu:operasional", () => {
408
408
  const isLoading = vue.ref(false);
@@ -544,11 +544,11 @@ function mitt(n) {
544
544
  }
545
545
  const bus = mitt();
546
546
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-533df021"), n = n(), vue.popScopeId(), n);
547
- const _hoisted_1$9 = { id: "view-checkIns" };
548
- const _hoisted_2$5 = { class: "summary" };
549
- const _hoisted_3$1 = { class: "wrapper" };
550
- const _hoisted_4$1 = { class: "header" };
551
- const _hoisted_5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
547
+ const _hoisted_1$c = { id: "view-checkIns" };
548
+ const _hoisted_2$8 = { class: "summary" };
549
+ const _hoisted_3$4 = { class: "wrapper" };
550
+ const _hoisted_4$2 = { class: "header" };
551
+ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
552
552
  "div",
553
553
  { class: "start" },
554
554
  [
@@ -559,7 +559,7 @@ const _hoisted_5 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.crea
559
559
  /* HOISTED */
560
560
  ));
561
561
  const _hoisted_6 = { class: "end" };
562
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
562
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
563
563
  ...{
564
564
  name: "CheckInPresenceCollection"
565
565
  },
@@ -700,14 +700,14 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
700
700
  return (_ctx, _cache) => {
701
701
  const _component_CheckInSingleExternalView = vue.resolveComponent("CheckInSingleExternalView");
702
702
  const _component_CheckInCollection = vue.resolveComponent("CheckInCollection");
703
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
703
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
704
704
  vue.createVNode(vue.unref(office.OfficeContent), {
705
705
  icon: "barcode-read",
706
706
  title: "Presensi",
707
707
  "is-expanded": ""
708
708
  }, {
709
709
  "header-detail": vue.withCtx(() => [
710
- vue.createElementVNode("div", _hoisted_2$5, [
710
+ vue.createElementVNode("div", _hoisted_2$8, [
711
711
  vue.createVNode(vue.unref(interfaces.NeonSlider), {
712
712
  "per-view": 2,
713
713
  gap: 16,
@@ -821,7 +821,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
821
821
  ])
822
822
  ]),
823
823
  default: vue.withCtx(() => [
824
- vue.createElementVNode("div", _hoisted_3$1, [
824
+ vue.createElementVNode("div", _hoisted_3$4, [
825
825
  vue.createVNode(vue.unref(context.NeonCollectionContext), {
826
826
  definition: "neu:tempat:checkIn",
827
827
  scope: "_checkIns",
@@ -836,8 +836,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
836
836
  "is-main": ""
837
837
  }, {
838
838
  default: vue.withCtx(() => [
839
- vue.createElementVNode("div", _hoisted_4$1, [
840
- _hoisted_5,
839
+ vue.createElementVNode("div", _hoisted_4$2, [
840
+ _hoisted_5$1,
841
841
  vue.createElementVNode("div", _hoisted_6, [
842
842
  vue.createVNode(vue.unref(office.OfficeCollectionQuery), { displays: ["table"] }, {
843
843
  default: vue.withCtx(() => [
@@ -864,9 +864,9 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
864
864
  }
865
865
  });
866
866
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_533df021_lang = "";
867
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-533df021"]]);
868
- const _hoisted_1$8 = { class: "grid gap-4 sm:grid-cols-2" };
869
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
867
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-533df021"]]);
868
+ const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-2" };
869
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
870
870
  __name: "CheckInSingle",
871
871
  setup(__props) {
872
872
  const {
@@ -924,7 +924,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
924
924
  field: vue.unref(fields).building,
925
925
  "is-disabled": ""
926
926
  }, null, 8, ["modelValue", "field"]),
927
- vue.createElementVNode("div", _hoisted_1$8, [
927
+ vue.createElementVNode("div", _hoisted_1$b, [
928
928
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
929
929
  modelValue: vue.unref(values).type,
930
930
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -964,9 +964,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
964
964
  }
965
965
  });
966
966
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
967
- const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2e2803fb"]]);
968
- const _hoisted_1$7 = { class: "grid gap-4 sm:grid-cols-2" };
969
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
967
+ const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2e2803fb"]]);
968
+ const _hoisted_1$a = { class: "grid gap-4 sm:grid-cols-2" };
969
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
970
970
  __name: "CheckInExternal",
971
971
  setup(__props) {
972
972
  const {
@@ -1032,7 +1032,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1032
1032
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
1033
1033
  field: vue.unref(fields).building
1034
1034
  }, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
1035
- vue.createElementVNode("div", _hoisted_1$7, [
1035
+ vue.createElementVNode("div", _hoisted_1$a, [
1036
1036
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1037
1037
  modelValue: vue.unref(values).type,
1038
1038
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -1074,16 +1074,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1074
1074
  }
1075
1075
  });
1076
1076
  const CheckInExternal_vue_vue_type_style_index_0_scoped_9c4a435e_lang = "";
1077
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9c4a435e"]]);
1077
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-9c4a435e"]]);
1078
1078
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d23b6de5"), n = n(), vue.popScopeId(), n);
1079
- const _hoisted_1$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1079
+ const _hoisted_1$9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1080
1080
  "h4",
1081
1081
  { align: "center" },
1082
1082
  "Aktifkan kamera untuk scan QR Code",
1083
1083
  -1
1084
1084
  /* HOISTED */
1085
1085
  ));
1086
- const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1086
+ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1087
1087
  "p",
1088
1088
  { align: "center" },
1089
1089
  [
@@ -1094,7 +1094,7 @@ const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
1094
1094
  -1
1095
1095
  /* HOISTED */
1096
1096
  ));
1097
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1097
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
1098
1098
  __name: "CheckInAccess",
1099
1099
  emits: ["close"],
1100
1100
  setup(__props) {
@@ -1119,8 +1119,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1119
1119
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1120
1120
  }, {
1121
1121
  default: vue.withCtx(() => [
1122
- _hoisted_1$6,
1123
- _hoisted_2$4,
1122
+ _hoisted_1$9,
1123
+ _hoisted_2$7,
1124
1124
  vue.createVNode(vue.unref(interfaces.NeonButton), {
1125
1125
  "is-full": "",
1126
1126
  size: "md",
@@ -1147,9 +1147,9 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1147
1147
  }
1148
1148
  });
1149
1149
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1150
- const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d23b6de5"]]);
1151
- const _hoisted_1$5 = { class: "buttons" };
1152
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
1150
+ const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-d23b6de5"]]);
1151
+ const _hoisted_1$8 = { class: "buttons" };
1152
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
1153
1153
  __name: "CheckInScanError",
1154
1154
  setup(__props) {
1155
1155
  const attendanceStore = useAttendanceStore();
@@ -1162,7 +1162,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
1162
1162
  default: vue.withCtx(() => [
1163
1163
  vue.createVNode(vue.unref(interfaces.NeonSheet), null, {
1164
1164
  footer: vue.withCtx(() => [
1165
- vue.createElementVNode("div", _hoisted_1$5, [
1165
+ vue.createElementVNode("div", _hoisted_1$8, [
1166
1166
  vue.createVNode(vue.unref(interfaces.NeonButton), {
1167
1167
  "is-full": "",
1168
1168
  "is-rounded": "",
@@ -1197,23 +1197,23 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
1197
1197
  }
1198
1198
  });
1199
1199
  const _withScopeId = (n) => (vue.pushScopeId("data-v-ef426ef3"), n = n(), vue.popScopeId(), n);
1200
- const _hoisted_1$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1200
+ const _hoisted_1$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1201
1201
  "div",
1202
1202
  { class: "invalid-message" },
1203
1203
  "Invalid Code!",
1204
1204
  -1
1205
1205
  /* HOISTED */
1206
1206
  ));
1207
- const _hoisted_2$3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1207
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1208
1208
  "div",
1209
1209
  null,
1210
1210
  null,
1211
1211
  -1
1212
1212
  /* HOISTED */
1213
1213
  ));
1214
- const _hoisted_3 = ["onClick"];
1215
- const _hoisted_4 = { class: "mr-2 text-sm" };
1216
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1214
+ const _hoisted_3$3 = ["onClick"];
1215
+ const _hoisted_4$1 = { class: "mr-2 text-sm" };
1216
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
1217
1217
  __name: "CheckInScanner",
1218
1218
  emits: ["start", "stop", "scanned", "close"],
1219
1219
  setup(__props, { emit }) {
@@ -1358,15 +1358,15 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1358
1358
  class: "inner",
1359
1359
  onClick: switchCamera
1360
1360
  }, [
1361
- _hoisted_1$4,
1362
- _hoisted_2$3,
1361
+ _hoisted_1$7,
1362
+ _hoisted_2$6,
1363
1363
  vue.createElementVNode("div", {
1364
1364
  class: "button-switch",
1365
1365
  onClick: vue.withModifiers(switchCamera, ["stop"])
1366
1366
  }, [
1367
1367
  vue.createElementVNode(
1368
1368
  "div",
1369
- _hoisted_4,
1369
+ _hoisted_4$1,
1370
1370
  vue.toDisplayString(currentCamera.value),
1371
1371
  1
1372
1372
  /* TEXT */
@@ -1377,7 +1377,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1377
1377
  size: "sm",
1378
1378
  "is-disabled": !canSwitch.value
1379
1379
  }, null, 8, ["is-disabled"])
1380
- ], 8, _hoisted_3)
1380
+ ], 8, _hoisted_3$3)
1381
1381
  ])
1382
1382
  ],
1383
1383
  2
@@ -1395,15 +1395,15 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1395
1395
  }
1396
1396
  });
1397
1397
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1398
- const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ef426ef3"]]);
1399
- const _hoisted_1$3 = /* @__PURE__ */ vue.createElementVNode(
1398
+ const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ef426ef3"]]);
1399
+ const _hoisted_1$6 = /* @__PURE__ */ vue.createElementVNode(
1400
1400
  "h3",
1401
1401
  { align: "center" },
1402
1402
  "Presensi Berhasil!",
1403
1403
  -1
1404
1404
  /* HOISTED */
1405
1405
  );
1406
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1406
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1407
1407
  __name: "CheckInScanSuccess",
1408
1408
  emits: ["close"],
1409
1409
  setup(__props) {
@@ -1423,7 +1423,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1423
1423
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1424
1424
  }, {
1425
1425
  default: vue.withCtx(() => [
1426
- _hoisted_1$3
1426
+ _hoisted_1$6
1427
1427
  ]),
1428
1428
  _: 1
1429
1429
  /* STABLE */
@@ -1435,7 +1435,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1435
1435
  };
1436
1436
  }
1437
1437
  });
1438
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1438
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
1439
1439
  ...{
1440
1440
  name: "CheckInCollection"
1441
1441
  },
@@ -1454,7 +1454,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1454
1454
  }
1455
1455
  });
1456
1456
  const StaffModel = personaliaModels.models.StaffModel;
1457
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
1457
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
1458
1458
  ...{
1459
1459
  name: "StaffCollection"
1460
1460
  },
@@ -1472,9 +1472,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
1472
1472
  };
1473
1473
  }
1474
1474
  });
1475
- const _hoisted_1$2 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1476
- const _hoisted_2$2 = { class: "grid gap-4 sm:grid-cols-2" };
1477
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
1475
+ const _hoisted_1$5 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1476
+ const _hoisted_2$5 = { class: "grid gap-4 sm:grid-cols-2" };
1477
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
1478
1478
  __name: "StaffSingle",
1479
1479
  setup(__props) {
1480
1480
  const {
@@ -1511,7 +1511,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
1511
1511
  onSubmit: vue.unref(saveOne)
1512
1512
  }, {
1513
1513
  default: vue.withCtx(() => [
1514
- vue.createElementVNode("div", _hoisted_1$2, [
1514
+ vue.createElementVNode("div", _hoisted_1$5, [
1515
1515
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1516
1516
  modelValue: vue.unref(values).name,
1517
1517
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -1521,7 +1521,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
1521
1521
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
1522
1522
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
1523
1523
  ]),
1524
- vue.createElementVNode("div", _hoisted_2$2, [
1524
+ vue.createElementVNode("div", _hoisted_2$5, [
1525
1525
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1526
1526
  modelValue: vue.unref(values).birthPlace,
1527
1527
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -1554,7 +1554,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
1554
1554
  title: "Identitas"
1555
1555
  }, {
1556
1556
  default: vue.withCtx(() => [
1557
- vue.createVNode(vue.unref(_sfc_main$i))
1557
+ vue.createVNode(vue.unref(_sfc_main$j))
1558
1558
  ]),
1559
1559
  _: 1
1560
1560
  /* STABLE */
@@ -1625,10 +1625,10 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
1625
1625
  }
1626
1626
  });
1627
1627
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1628
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-0cf4cd99"]]);
1629
- const _hoisted_1$1 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1630
- const _hoisted_2$1 = { class: "grid gap-4 sm:grid-cols-2" };
1631
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
1628
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-0cf4cd99"]]);
1629
+ const _hoisted_1$4 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1630
+ const _hoisted_2$4 = { class: "grid gap-4 sm:grid-cols-2" };
1631
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
1632
1632
  __name: "StaffOperasional",
1633
1633
  setup(__props) {
1634
1634
  const {
@@ -1665,7 +1665,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
1665
1665
  onSubmit: vue.unref(saveOne)
1666
1666
  }, {
1667
1667
  default: vue.withCtx(() => [
1668
- vue.createElementVNode("div", _hoisted_1$1, [
1668
+ vue.createElementVNode("div", _hoisted_1$4, [
1669
1669
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1670
1670
  modelValue: vue.unref(values).name,
1671
1671
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -1675,7 +1675,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
1675
1675
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
1676
1676
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
1677
1677
  ]),
1678
- vue.createElementVNode("div", _hoisted_2$1, [
1678
+ vue.createElementVNode("div", _hoisted_2$4, [
1679
1679
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1680
1680
  modelValue: vue.unref(values).birthPlace,
1681
1681
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -1708,7 +1708,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
1708
1708
  title: "Identitas"
1709
1709
  }, {
1710
1710
  default: vue.withCtx(() => [
1711
- vue.createVNode(vue.unref(_sfc_main$i))
1711
+ vue.createVNode(vue.unref(_sfc_main$j))
1712
1712
  ]),
1713
1713
  _: 1
1714
1714
  /* STABLE */
@@ -1786,8 +1786,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
1786
1786
  }
1787
1787
  });
1788
1788
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
1789
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c62cf70a"]]);
1790
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
1789
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-c62cf70a"]]);
1790
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
1791
1791
  __name: "StaffIdentity",
1792
1792
  setup(__props) {
1793
1793
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -1896,7 +1896,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
1896
1896
  }
1897
1897
  });
1898
1898
  const SituationModel = personaliaModels.models.SituationModel;
1899
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
1899
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
1900
1900
  ...{ name: "SituationCollection" },
1901
1901
  __name: "SituationCollection",
1902
1902
  setup(__props) {
@@ -1912,7 +1912,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
1912
1912
  };
1913
1913
  }
1914
1914
  });
1915
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
1915
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
1916
1916
  __name: "SituationSingle",
1917
1917
  setup(__props) {
1918
1918
  const {
@@ -2050,7 +2050,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2050
2050
  };
2051
2051
  }
2052
2052
  });
2053
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2053
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
2054
2054
  __name: "SituationWork",
2055
2055
  setup(__props) {
2056
2056
  const {
@@ -2231,7 +2231,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2231
2231
  };
2232
2232
  }
2233
2233
  });
2234
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
2234
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
2235
2235
  ...{ name: "SituationSupportive" },
2236
2236
  __name: "SituationSupportive",
2237
2237
  setup(__props) {
@@ -2370,7 +2370,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
2370
2370
  }
2371
2371
  });
2372
2372
  const SituationTypeModel = personaliaModels.models.SituationTypeModel;
2373
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2373
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
2374
2374
  ...{ name: "SituationTypeCollection" },
2375
2375
  __name: "SituationTypeCollection",
2376
2376
  setup(__props) {
@@ -2386,7 +2386,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2386
2386
  };
2387
2387
  }
2388
2388
  });
2389
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
2389
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
2390
2390
  __name: "SituationTypeSingle",
2391
2391
  setup(__props) {
2392
2392
  const {
@@ -2459,9 +2459,9 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
2459
2459
  }
2460
2460
  });
2461
2461
  const TaskModel = personaliaModels.models.TaskModel;
2462
- const _hoisted_1 = { key: 0 };
2463
- const _hoisted_2 = { key: 1 };
2464
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2462
+ const _hoisted_1$3 = { key: 0 };
2463
+ const _hoisted_2$3 = { key: 1 };
2464
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
2465
2465
  ...{ name: "TaskWorkButton" },
2466
2466
  __name: "TaskWorkButton",
2467
2467
  setup(__props) {
@@ -2554,7 +2554,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2554
2554
  vue.Fragment,
2555
2555
  null,
2556
2556
  [
2557
- onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
2557
+ onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
2558
2558
  vue.createVNode(vue.unref(interfaces.NeonButton), {
2559
2559
  "is-rounded": true,
2560
2560
  size: "sm",
@@ -2564,7 +2564,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2564
2564
  onClick: onClickHandlerStartTaskWork
2565
2565
  })
2566
2566
  ])) : vue.createCommentVNode("v-if", true),
2567
- onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
2567
+ onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$3, [
2568
2568
  vue.createVNode(vue.unref(interfaces.NeonButton), {
2569
2569
  "is-rounded": true,
2570
2570
  size: "sm",
@@ -2582,7 +2582,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2582
2582
  };
2583
2583
  }
2584
2584
  });
2585
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
2585
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
2586
2586
  ...{ name: "TaskCollection" },
2587
2587
  __name: "TaskCollection",
2588
2588
  setup(__props) {
@@ -2598,7 +2598,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
2598
2598
  };
2599
2599
  }
2600
2600
  });
2601
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
2601
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
2602
2602
  __name: "TaskSingle",
2603
2603
  setup(__props) {
2604
2604
  const {
@@ -2827,7 +2827,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
2827
2827
  };
2828
2828
  }
2829
2829
  });
2830
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
2830
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
2831
2831
  __name: "TaskWork",
2832
2832
  setup(__props) {
2833
2833
  const {
@@ -3060,7 +3060,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
3060
3060
  }
3061
3061
  });
3062
3062
  const SubmissionModel = personaliaModels.models.SubmissionModel;
3063
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
3063
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
3064
3064
  ...{
3065
3065
  name: "SubmissionCollection"
3066
3066
  },
@@ -3078,7 +3078,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
3078
3078
  };
3079
3079
  }
3080
3080
  });
3081
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
3081
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
3082
3082
  __name: "SubmissionSingle",
3083
3083
  setup(__props) {
3084
3084
  const {
@@ -3275,8 +3275,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
3275
3275
  }
3276
3276
  });
3277
3277
  const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
3278
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-39553dbd"]]);
3279
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3278
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-39553dbd"]]);
3279
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
3280
3280
  __name: "SubmissionStaff",
3281
3281
  setup(__props) {
3282
3282
  var _a;
@@ -3339,9 +3339,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3339
3339
  immediate: true
3340
3340
  }
3341
3341
  );
3342
- const syncRaise = () => {
3343
- executeOne("raiseSubmission", { submissionId: id.value });
3344
- syncOne();
3342
+ const syncRaise = async () => {
3343
+ await executeOne("raiseSubmission", { submissionId: id.value });
3344
+ await syncOne();
3345
3345
  };
3346
3346
  const appStore = context.useAppStore();
3347
3347
  const objectDef = vue.computed(
@@ -3462,21 +3462,15 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3462
3462
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3463
3463
  modelValue: vue.unref(values).preparedAt,
3464
3464
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
3465
- }, vue.unref(fields).preparedAt, {
3466
- "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"
3467
- }), null, 16, ["modelValue", "is-disabled"]),
3465
+ }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3468
3466
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3469
3467
  modelValue: vue.unref(values).raisedAt,
3470
3468
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
3471
- }, vue.unref(fields).raisedAt, {
3472
- "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"
3473
- }), null, 16, ["modelValue", "is-disabled"]),
3469
+ }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3474
3470
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3475
3471
  modelValue: vue.unref(values).processedAt,
3476
3472
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
3477
- }, vue.unref(fields).processedAt, {
3478
- "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"
3479
- }), null, 16, ["modelValue", "is-disabled"]),
3473
+ }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3480
3474
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3481
3475
  "is-dashed": "",
3482
3476
  label: "Nominal"
@@ -3553,9 +3547,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3553
3547
  };
3554
3548
  }
3555
3549
  });
3556
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_af256a74_lang = "";
3557
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-af256a74"]]);
3558
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3550
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
3551
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-3ed905bd"]]);
3552
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3559
3553
  __name: "SubmissionFollowUp",
3560
3554
  setup(__props) {
3561
3555
  const {
@@ -3746,8 +3740,13 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3746
3740
  }
3747
3741
  });
3748
3742
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
3749
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6fd14e52"]]);
3750
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3743
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6fd14e52"]]);
3744
+ const _hoisted_1$2 = { class: "flex flex-wrap" };
3745
+ const _hoisted_2$2 = { class: "mt-2" };
3746
+ const _hoisted_3$2 = { class: "mt-2" };
3747
+ const _hoisted_4 = { class: "mt-2" };
3748
+ const _hoisted_5 = { class: "mt-2" };
3749
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3751
3750
  __name: "SubmissionAudit",
3752
3751
  setup(__props) {
3753
3752
  var _a;
@@ -3810,21 +3809,21 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3810
3809
  immediate: true
3811
3810
  }
3812
3811
  );
3813
- const syncResolved = () => {
3814
- executeOne("resolvedSubmission", { submissionId: id.value });
3815
- syncOne();
3812
+ const syncResolved = async () => {
3813
+ await executeOne("resolvedSubmission", { submissionId: id.value });
3814
+ await syncOne();
3816
3815
  };
3817
- const syncDiscontinued = () => {
3818
- executeOne("discontinuedSubmission", { submissionId: id.value });
3819
- syncOne();
3816
+ const syncDiscontinued = async () => {
3817
+ await executeOne("discontinuedSubmission", { submissionId: id.value });
3818
+ await syncOne();
3820
3819
  };
3821
- const syncMonitored = () => {
3822
- executeOne("monitoredSubmission", { submissionId: id.value });
3823
- syncOne();
3820
+ const syncMonitored = async () => {
3821
+ await executeOne("monitoredSubmission", { submissionId: id.value });
3822
+ await syncOne();
3824
3823
  };
3825
- const syncProcessed = () => {
3826
- executeOne("processedSubmission", { submissionId: id.value });
3827
- syncOne();
3824
+ const syncProcessed = async () => {
3825
+ await executeOne("processedSubmission", { submissionId: id.value });
3826
+ await syncOne();
3828
3827
  };
3829
3828
  const appStore = context.useAppStore();
3830
3829
  const objectDef = vue.computed(
@@ -3851,8 +3850,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3851
3850
  onSubmit: vue.unref(saveOne)
3852
3851
  }, {
3853
3852
  default: vue.withCtx(() => [
3854
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-4" }, {
3855
- default: vue.withCtx(() => [
3853
+ vue.createElementVNode("div", _hoisted_1$2, [
3854
+ vue.createElementVNode("div", _hoisted_2$2, [
3856
3855
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
3857
3856
  input: vue.withCtx(() => [
3858
3857
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -3871,8 +3870,11 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3871
3870
  ]),
3872
3871
  _: 1
3873
3872
  /* STABLE */
3874
- })) : vue.createCommentVNode("v-if", true),
3875
- vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 1 }, {
3873
+ })) : vue.createCommentVNode("v-if", true)
3874
+ ]),
3875
+ vue.createTextVNode("    "),
3876
+ vue.createElementVNode("div", _hoisted_3$2, [
3877
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
3876
3878
  input: vue.withCtx(() => [
3877
3879
  vue.createVNode(vue.unref(interfaces.NeonButton), {
3878
3880
  size: "md",
@@ -3890,8 +3892,11 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3890
3892
  ]),
3891
3893
  _: 1
3892
3894
  /* STABLE */
3893
- })) : vue.createCommentVNode("v-if", true),
3894
- vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 2 }, {
3895
+ })) : vue.createCommentVNode("v-if", true)
3896
+ ]),
3897
+ vue.createTextVNode("    "),
3898
+ vue.createElementVNode("div", _hoisted_4, [
3899
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
3895
3900
  input: vue.withCtx(() => [
3896
3901
  vue.createVNode(vue.unref(interfaces.NeonButton), {
3897
3902
  size: "md",
@@ -3909,8 +3914,11 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3909
3914
  ]),
3910
3915
  _: 1
3911
3916
  /* STABLE */
3912
- })) : vue.createCommentVNode("v-if", true),
3913
- vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 3 }, {
3917
+ })) : vue.createCommentVNode("v-if", true)
3918
+ ]),
3919
+ vue.createTextVNode("    "),
3920
+ vue.createElementVNode("div", _hoisted_5, [
3921
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
3914
3922
  input: vue.withCtx(() => [
3915
3923
  vue.createVNode(vue.unref(interfaces.NeonButton), {
3916
3924
  size: "md",
@@ -3929,10 +3937,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3929
3937
  _: 1
3930
3938
  /* STABLE */
3931
3939
  })) : vue.createCommentVNode("v-if", true)
3932
- ]),
3933
- _: 1
3934
- /* STABLE */
3935
- }),
3940
+ ])
3941
+ ]),
3936
3942
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3937
3943
  modelValue: vue.unref(values).title,
3938
3944
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
@@ -4003,21 +4009,15 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4003
4009
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4004
4010
  modelValue: vue.unref(values).preparedAt,
4005
4011
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
4006
- }, vue.unref(fields).preparedAt, {
4007
- "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"
4008
- }), null, 16, ["modelValue", "is-disabled"]),
4012
+ }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4009
4013
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4010
4014
  modelValue: vue.unref(values).raisedAt,
4011
4015
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
4012
- }, vue.unref(fields).raisedAt, {
4013
- "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"
4014
- }), null, 16, ["modelValue", "is-disabled"]),
4016
+ }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4015
4017
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4016
4018
  modelValue: vue.unref(values).processedAt,
4017
4019
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
4018
- }, vue.unref(fields).processedAt, {
4019
- "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"
4020
- }), null, 16, ["modelValue", "is-disabled"]),
4020
+ }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4021
4021
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4022
4022
  "is-dashed": "",
4023
4023
  label: "Nominal"
@@ -4094,9 +4094,12 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4094
4094
  };
4095
4095
  }
4096
4096
  });
4097
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_cf27d98b_lang = "";
4098
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-cf27d98b"]]);
4099
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4097
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_da41fc59_lang = "";
4098
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-da41fc59"]]);
4099
+ const _hoisted_1$1 = { class: "flex flex-wrap" };
4100
+ const _hoisted_2$1 = { class: "mt-2" };
4101
+ const _hoisted_3$1 = { class: "mt-2" };
4102
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4100
4103
  __name: "SubmissionDecision",
4101
4104
  setup(__props) {
4102
4105
  var _a;
@@ -4159,21 +4162,21 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4159
4162
  immediate: true
4160
4163
  }
4161
4164
  );
4162
- const syncDelay = () => {
4165
+ const syncDelay = async () => {
4163
4166
  var _a2;
4164
- executeOne("delaySubmission", {
4167
+ await executeOne("delaySubmission", {
4165
4168
  submissionId: id.value,
4166
4169
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4167
4170
  });
4168
- syncOne();
4171
+ await syncOne();
4169
4172
  };
4170
- const syncApproved = () => {
4173
+ const syncApproved = async () => {
4171
4174
  var _a2;
4172
- executeOne("approvedSubmission", {
4175
+ await executeOne("approvedSubmission", {
4173
4176
  submissionId: id.value,
4174
4177
  staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4175
4178
  });
4176
- syncOne();
4179
+ await syncOne();
4177
4180
  };
4178
4181
  const appStore = context.useAppStore();
4179
4182
  const objectDef = vue.computed(
@@ -4200,50 +4203,374 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4200
4203
  onSubmit: vue.unref(saveOne)
4201
4204
  }, {
4202
4205
  default: vue.withCtx(() => [
4203
- vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4204
- input: vue.withCtx(() => {
4205
- var _a2, _b;
4206
- return [
4207
- vue.createVNode(vue.unref(interfaces.NeonButton), {
4208
- size: "md",
4209
- color: "danger",
4210
- "icon-left": "circle-stop",
4211
- "is-disabled": vue.unref(isNew) || vue.unref(values).status === "prepared" || vue.unref(values).status === "raised" || ((_b = vue.unref(values).delayStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4212
- onClick: syncDelay
4213
- }, {
4214
- default: vue.withCtx(() => [
4215
- vue.createTextVNode("Ditunda")
4216
- ]),
4217
- _: 1
4218
- /* STABLE */
4219
- }, 8, ["is-disabled"])
4220
- ];
4221
- }),
4206
+ vue.createElementVNode("div", _hoisted_1$1, [
4207
+ vue.createElementVNode("div", _hoisted_2$1, [
4208
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4209
+ input: vue.withCtx(() => {
4210
+ var _a2, _b;
4211
+ return [
4212
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
4213
+ size: "md",
4214
+ color: "danger",
4215
+ "icon-left": "circle-stop",
4216
+ "is-disabled": vue.unref(isNew) || vue.unref(values).status === "prepared" || vue.unref(values).status === "raised" || ((_b = vue.unref(values).delayStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4217
+ onClick: syncDelay
4218
+ }, {
4219
+ default: vue.withCtx(() => [
4220
+ vue.createTextVNode("Ditunda")
4221
+ ]),
4222
+ _: 1
4223
+ /* STABLE */
4224
+ }, 8, ["is-disabled"])
4225
+ ];
4226
+ }),
4227
+ _: 1
4228
+ /* STABLE */
4229
+ })) : vue.createCommentVNode("v-if", true)
4230
+ ]),
4231
+ vue.createTextVNode("    "),
4232
+ vue.createElementVNode("div", _hoisted_3$1, [
4233
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4234
+ input: vue.withCtx(() => {
4235
+ var _a2, _b;
4236
+ return [
4237
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
4238
+ size: "md",
4239
+ color: "success",
4240
+ "icon-left": "list-check",
4241
+ "is-disabled": vue.unref(isNew) || vue.unref(values).status === "prepared" || vue.unref(values).status === "raised" || ((_b = vue.unref(values).agreedStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4242
+ onClick: syncApproved
4243
+ }, {
4244
+ default: vue.withCtx(() => [
4245
+ vue.createTextVNode("Disetujui")
4246
+ ]),
4247
+ _: 1
4248
+ /* STABLE */
4249
+ }, 8, ["is-disabled"])
4250
+ ];
4251
+ }),
4252
+ _: 1
4253
+ /* STABLE */
4254
+ })) : vue.createCommentVNode("v-if", true)
4255
+ ])
4256
+ ]),
4257
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4258
+ modelValue: vue.unref(values).title,
4259
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
4260
+ }, vue.unref(fields).title, {
4261
+ "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"
4262
+ }), null, 16, ["modelValue", "is-disabled"]),
4263
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
4264
+ default: vue.withCtx(() => [
4265
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4266
+ modelValue: vue.unref(values),
4267
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
4268
+ field: vue.unref(fields).branches,
4269
+ query: vue.unref(query.Query).define(branchOptions.value),
4270
+ "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"
4271
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
4272
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4273
+ modelValue: vue.unref(values),
4274
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
4275
+ field: vue.unref(fields).type,
4276
+ query: vue.unref(query.Query).define(typeOptions.value),
4277
+ "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"
4278
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"])
4279
+ ]),
4222
4280
  _: 1
4223
4281
  /* STABLE */
4224
- })) : vue.createCommentVNode("v-if", true),
4225
- vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 1 }, {
4226
- input: vue.withCtx(() => {
4227
- var _a2, _b;
4228
- return [
4229
- vue.createVNode(vue.unref(interfaces.NeonButton), {
4230
- size: "md",
4231
- color: "success",
4232
- "icon-left": "list-check",
4233
- "is-disabled": vue.unref(isNew) || vue.unref(values).status === "prepared" || vue.unref(values).status === "raised" || ((_b = vue.unref(values).agreedStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4234
- onClick: syncApproved
4235
- }, {
4236
- default: vue.withCtx(() => [
4237
- vue.createTextVNode("Disetujui")
4238
- ]),
4239
- _: 1
4240
- /* STABLE */
4241
- }, 8, ["is-disabled"])
4242
- ];
4243
- }),
4282
+ }),
4283
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
4284
+ default: vue.withCtx(() => [
4285
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4286
+ modelValue: vue.unref(values),
4287
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
4288
+ field: vue.unref(fields).submissionStaffs,
4289
+ "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"
4290
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
4291
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4292
+ modelValue: vue.unref(values),
4293
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
4294
+ field: vue.unref(fields).raiseStaffs,
4295
+ "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"
4296
+ }, null, 8, ["modelValue", "field", "is-disabled"])
4297
+ ]),
4244
4298
  _: 1
4245
4299
  /* STABLE */
4246
- })) : vue.createCommentVNode("v-if", true),
4300
+ }),
4301
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
4302
+ default: vue.withCtx(() => [
4303
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4304
+ modelValue: vue.unref(values),
4305
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
4306
+ field: vue.unref(fields).decideStaffs,
4307
+ "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"
4308
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
4309
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4310
+ modelValue: vue.unref(values),
4311
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
4312
+ field: vue.unref(fields).followUpStaffs
4313
+ }, null, 8, ["modelValue", "field"])
4314
+ ]),
4315
+ _: 1
4316
+ /* STABLE */
4317
+ }),
4318
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4319
+ modelValue: vue.unref(values).specifications,
4320
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
4321
+ }, vue.unref(fields).specifications, {
4322
+ "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"
4323
+ }), null, 16, ["modelValue", "is-disabled"]),
4324
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4325
+ modelValue: vue.unref(values).preparedAt,
4326
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
4327
+ }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4328
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4329
+ modelValue: vue.unref(values).raisedAt,
4330
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
4331
+ }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4332
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4333
+ modelValue: vue.unref(values).processedAt,
4334
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
4335
+ }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4336
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
4337
+ "is-dashed": "",
4338
+ label: "Nominal"
4339
+ }),
4340
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4341
+ modelValue: vue.unref(values).nominal,
4342
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
4343
+ }, vue.unref(fields).nominal, {
4344
+ "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"
4345
+ }), null, 16, ["modelValue", "is-disabled"]),
4346
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
4347
+ "is-dashed": "",
4348
+ label: "Keputusan"
4349
+ }),
4350
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
4351
+ default: vue.withCtx(() => [
4352
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4353
+ modelValue: vue.unref(values),
4354
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.isRef(values) ? values.value = $event : null),
4355
+ field: vue.unref(fields).delayStaffs,
4356
+ "is-disabled": ""
4357
+ }, null, 8, ["modelValue", "field"]),
4358
+ vue.createVNode(vue.unref(office.OfficeRelation), {
4359
+ modelValue: vue.unref(values),
4360
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.isRef(values) ? values.value = $event : null),
4361
+ field: vue.unref(fields).agreedStaffs,
4362
+ "is-disabled": ""
4363
+ }, null, 8, ["modelValue", "field"])
4364
+ ]),
4365
+ _: 1
4366
+ /* STABLE */
4367
+ })
4368
+ ]),
4369
+ _: 1
4370
+ /* STABLE */
4371
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
4372
+ ]),
4373
+ _: 1
4374
+ /* STABLE */
4375
+ }),
4376
+ vue.createCommentVNode(" DOKUMEN "),
4377
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
4378
+ key: 0,
4379
+ handle: "dokumen",
4380
+ icon: "circle-info",
4381
+ title: "Dokumen"
4382
+ }, {
4383
+ default: vue.withCtx(({ isTouched }) => [
4384
+ vue.createVNode(
4385
+ vue.unref(catatInterfaces.CatatSketchPad),
4386
+ vue.normalizeProps(vue.guardReactiveProps({
4387
+ applicationId: vue.unref(appStore).appId,
4388
+ object: `${objectDef.value}:office`,
4389
+ isReady: vue.unref(isReady) && isTouched,
4390
+ isLoading: vue.unref(isLoading),
4391
+ isReadonly: vue.unref(values).status === "raised" || 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"
4392
+ })),
4393
+ null,
4394
+ 16
4395
+ /* FULL_PROPS */
4396
+ )
4397
+ ]),
4398
+ _: 1
4399
+ /* STABLE */
4400
+ })) : vue.createCommentVNode("v-if", true)
4401
+ ]),
4402
+ _: 1
4403
+ /* STABLE */
4404
+ }, 8, ["use-url"])
4405
+ ]),
4406
+ _: 1
4407
+ /* STABLE */
4408
+ });
4409
+ };
4410
+ }
4411
+ });
4412
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
4413
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-ec347ac5"]]);
4414
+ const _hoisted_1 = { class: "flex flex-wrap" };
4415
+ const _hoisted_2 = { class: "mt-2" };
4416
+ const _hoisted_3 = { class: "mt-2" };
4417
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4418
+ __name: "SubmissionWaitingDecision",
4419
+ setup(__props) {
4420
+ var _a;
4421
+ const {
4422
+ fields,
4423
+ id,
4424
+ initialValues,
4425
+ values,
4426
+ isLoading,
4427
+ isChanged,
4428
+ isReady,
4429
+ isMain,
4430
+ isNew,
4431
+ syncOne,
4432
+ saveOne,
4433
+ discardChanges,
4434
+ executeOne
4435
+ } = context.useSingle();
4436
+ const { staff } = useOperasional();
4437
+ const branchOptions = vue.computed(() => {
4438
+ var _a2;
4439
+ return {
4440
+ filter: [
4441
+ {
4442
+ handle: "_id",
4443
+ operator: "in",
4444
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
4445
+ }
4446
+ ]
4447
+ };
4448
+ });
4449
+ const typeOptions = vue.computed(() => {
4450
+ return {
4451
+ filter: [
4452
+ {
4453
+ handle: "branchIds",
4454
+ operator: "in",
4455
+ value: values.value.branchIds
4456
+ }
4457
+ ]
4458
+ };
4459
+ });
4460
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
4461
+ vue.watch(
4462
+ isNew,
4463
+ (isNew2) => {
4464
+ var _a2;
4465
+ if (!isNew2)
4466
+ return;
4467
+ values.value.preparedAt = (/* @__PURE__ */ new Date()).toISOString();
4468
+ values.value.submissionStaffIds = [staffId];
4469
+ values.value.submissionStaffs = [
4470
+ {
4471
+ id: staffId,
4472
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
4473
+ }
4474
+ ];
4475
+ },
4476
+ {
4477
+ immediate: true
4478
+ }
4479
+ );
4480
+ const syncDelay = async () => {
4481
+ var _a2;
4482
+ await executeOne("delaySubmission", {
4483
+ submissionId: id.value,
4484
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4485
+ });
4486
+ await syncOne();
4487
+ window.location.href = "/pengajuan/waiting-decision-submission";
4488
+ };
4489
+ const syncApproved = async () => {
4490
+ var _a2;
4491
+ await executeOne("approvedSubmission", {
4492
+ submissionId: id.value,
4493
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4494
+ });
4495
+ await syncOne();
4496
+ window.location.href = "/pengajuan/waiting-decision-submission";
4497
+ };
4498
+ const appStore = context.useAppStore();
4499
+ const objectDef = vue.computed(
4500
+ () => `neu:operasional:submission:${id.value}`
4501
+ );
4502
+ return (_ctx, _cache) => {
4503
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
4504
+ default: vue.withCtx(() => [
4505
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
4506
+ default: vue.withCtx(() => [
4507
+ vue.createVNode(vue.unref(office.OfficeTab), {
4508
+ handle: "info",
4509
+ icon: "circle-info",
4510
+ title: "Info"
4511
+ }, {
4512
+ default: vue.withCtx(() => [
4513
+ vue.createVNode(vue.unref(form.NeonForm), {
4514
+ handle: "info",
4515
+ "initial-values": vue.unref(initialValues),
4516
+ "is-loading": vue.unref(isLoading),
4517
+ "is-changed": vue.unref(isChanged),
4518
+ "use-unsaved": "",
4519
+ onCancel: vue.unref(discardChanges),
4520
+ onSubmit: vue.unref(saveOne)
4521
+ }, {
4522
+ default: vue.withCtx(() => [
4523
+ vue.createElementVNode("div", _hoisted_1, [
4524
+ vue.createElementVNode("div", _hoisted_2, [
4525
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4526
+ input: vue.withCtx(() => {
4527
+ var _a2, _b;
4528
+ return [
4529
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
4530
+ size: "md",
4531
+ color: "danger",
4532
+ "icon-left": "circle-stop",
4533
+ "is-disabled": vue.unref(isNew) || vue.unref(values).status === "prepared" || vue.unref(values).status === "raised" || ((_b = vue.unref(values).delayStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4534
+ onClick: syncDelay
4535
+ }, {
4536
+ default: vue.withCtx(() => [
4537
+ vue.createTextVNode("Ditunda")
4538
+ ]),
4539
+ _: 1
4540
+ /* STABLE */
4541
+ }, 8, ["is-disabled"])
4542
+ ];
4543
+ }),
4544
+ _: 1
4545
+ /* STABLE */
4546
+ })) : vue.createCommentVNode("v-if", true)
4547
+ ]),
4548
+ vue.createTextVNode("    "),
4549
+ vue.createElementVNode("div", _hoisted_3, [
4550
+ vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4551
+ input: vue.withCtx(() => {
4552
+ var _a2, _b;
4553
+ return [
4554
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
4555
+ size: "md",
4556
+ color: "success",
4557
+ "icon-left": "list-check",
4558
+ "is-disabled": vue.unref(isNew) || vue.unref(values).status === "prepared" || vue.unref(values).status === "raised" || ((_b = vue.unref(values).agreedStaffIds) == null ? void 0 : _b.includes(((_a2 = vue.unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4559
+ onClick: syncApproved
4560
+ }, {
4561
+ default: vue.withCtx(() => [
4562
+ vue.createTextVNode("Disetujui")
4563
+ ]),
4564
+ _: 1
4565
+ /* STABLE */
4566
+ }, 8, ["is-disabled"])
4567
+ ];
4568
+ }),
4569
+ _: 1
4570
+ /* STABLE */
4571
+ })) : vue.createCommentVNode("v-if", true)
4572
+ ])
4573
+ ]),
4247
4574
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4248
4575
  modelValue: vue.unref(values).title,
4249
4576
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
@@ -4314,21 +4641,15 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4314
4641
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4315
4642
  modelValue: vue.unref(values).preparedAt,
4316
4643
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
4317
- }, vue.unref(fields).preparedAt, {
4318
- "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"
4319
- }), null, 16, ["modelValue", "is-disabled"]),
4644
+ }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4320
4645
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4321
4646
  modelValue: vue.unref(values).raisedAt,
4322
4647
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
4323
- }, vue.unref(fields).raisedAt, {
4324
- "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"
4325
- }), null, 16, ["modelValue", "is-disabled"]),
4648
+ }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4326
4649
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4327
4650
  modelValue: vue.unref(values).processedAt,
4328
4651
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
4329
- }, vue.unref(fields).processedAt, {
4330
- "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"
4331
- }), null, 16, ["modelValue", "is-disabled"]),
4652
+ }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4332
4653
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4333
4654
  "is-dashed": "",
4334
4655
  label: "Nominal"
@@ -4405,8 +4726,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4405
4726
  };
4406
4727
  }
4407
4728
  });
4408
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_17856177_lang = "";
4409
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-17856177"]]);
4729
+ const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
4730
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-051b2194"]]);
4410
4731
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
4411
4732
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4412
4733
  ...{
@@ -4496,30 +4817,30 @@ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId
4496
4817
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4497
4818
  __proto__: null,
4498
4819
  CheckInAccess,
4499
- CheckInCollection: _sfc_main$m,
4820
+ CheckInCollection: _sfc_main$n,
4500
4821
  CheckInExternal,
4501
4822
  CheckInModel,
4502
4823
  CheckInPresenceCollection,
4503
- CheckInScanError: _sfc_main$p,
4504
- CheckInScanSuccess: _sfc_main$n,
4824
+ CheckInScanError: _sfc_main$q,
4825
+ CheckInScanSuccess: _sfc_main$o,
4505
4826
  CheckInScanner,
4506
4827
  CheckInSingle,
4507
4828
  OperasionalIdentitas,
4508
- SituationCollection: _sfc_main$h,
4829
+ SituationCollection: _sfc_main$i,
4509
4830
  SituationModel,
4510
- SituationSingle: _sfc_main$g,
4511
- SituationSupportive: _sfc_main$e,
4512
- SituationTypeCollection: _sfc_main$d,
4831
+ SituationSingle: _sfc_main$h,
4832
+ SituationSupportive: _sfc_main$f,
4833
+ SituationTypeCollection: _sfc_main$e,
4513
4834
  SituationTypeModel,
4514
- SituationTypeSingle: _sfc_main$c,
4515
- SituationWork: _sfc_main$f,
4516
- StaffCollection: _sfc_main$l,
4517
- StaffIdentity: _sfc_main$i,
4835
+ SituationTypeSingle: _sfc_main$d,
4836
+ SituationWork: _sfc_main$g,
4837
+ StaffCollection: _sfc_main$m,
4838
+ StaffIdentity: _sfc_main$j,
4518
4839
  StaffModel,
4519
4840
  StaffOperasional,
4520
4841
  StaffSingle,
4521
4842
  SubmissionAudit,
4522
- SubmissionCollection: _sfc_main$7,
4843
+ SubmissionCollection: _sfc_main$8,
4523
4844
  SubmissionDecision,
4524
4845
  SubmissionFollowUp,
4525
4846
  SubmissionModel,
@@ -4528,12 +4849,13 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
4528
4849
  SubmissionTypeCollection: _sfc_main$1,
4529
4850
  SubmissionTypeModel,
4530
4851
  SubmissionTypeSingle,
4531
- TaskCollection: _sfc_main$a,
4852
+ SubmissionWaitingDecision,
4853
+ TaskCollection: _sfc_main$b,
4532
4854
  TaskModel,
4533
- TaskSingle: _sfc_main$9,
4534
- TaskWork: _sfc_main$8,
4535
- TaskWorkButton: _sfc_main$b,
4536
- XxxButton: _sfc_main$v
4855
+ TaskSingle: _sfc_main$a,
4856
+ TaskWork: _sfc_main$9,
4857
+ TaskWorkButton: _sfc_main$c,
4858
+ XxxButton: _sfc_main$w
4537
4859
  }, Symbol.toStringTag, { value: "Module" }));
4538
4860
  function registerComponents(app) {
4539
4861
  Object.entries(components).forEach(([name, component2]) => {
@@ -4549,33 +4871,33 @@ const OperasionalInterfacesPlugin = {
4549
4871
  }
4550
4872
  };
4551
4873
  exports.CheckInAccess = CheckInAccess;
4552
- exports.CheckInCollection = _sfc_main$m;
4874
+ exports.CheckInCollection = _sfc_main$n;
4553
4875
  exports.CheckInExternal = CheckInExternal;
4554
4876
  exports.CheckInModel = CheckInModel;
4555
4877
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
4556
- exports.CheckInScanError = _sfc_main$p;
4557
- exports.CheckInScanSuccess = _sfc_main$n;
4878
+ exports.CheckInScanError = _sfc_main$q;
4879
+ exports.CheckInScanSuccess = _sfc_main$o;
4558
4880
  exports.CheckInScanner = CheckInScanner;
4559
4881
  exports.CheckInSingle = CheckInSingle;
4560
4882
  exports.NOperasional = operasional_types;
4561
4883
  exports.OperasionalIdentitas = OperasionalIdentitas;
4562
4884
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
4563
4885
  exports.Schema = graphql;
4564
- exports.SituationCollection = _sfc_main$h;
4886
+ exports.SituationCollection = _sfc_main$i;
4565
4887
  exports.SituationModel = SituationModel;
4566
- exports.SituationSingle = _sfc_main$g;
4567
- exports.SituationSupportive = _sfc_main$e;
4568
- exports.SituationTypeCollection = _sfc_main$d;
4888
+ exports.SituationSingle = _sfc_main$h;
4889
+ exports.SituationSupportive = _sfc_main$f;
4890
+ exports.SituationTypeCollection = _sfc_main$e;
4569
4891
  exports.SituationTypeModel = SituationTypeModel;
4570
- exports.SituationTypeSingle = _sfc_main$c;
4571
- exports.SituationWork = _sfc_main$f;
4572
- exports.StaffCollection = _sfc_main$l;
4573
- exports.StaffIdentity = _sfc_main$i;
4892
+ exports.SituationTypeSingle = _sfc_main$d;
4893
+ exports.SituationWork = _sfc_main$g;
4894
+ exports.StaffCollection = _sfc_main$m;
4895
+ exports.StaffIdentity = _sfc_main$j;
4574
4896
  exports.StaffModel = StaffModel;
4575
4897
  exports.StaffOperasional = StaffOperasional;
4576
4898
  exports.StaffSingle = StaffSingle;
4577
4899
  exports.SubmissionAudit = SubmissionAudit;
4578
- exports.SubmissionCollection = _sfc_main$7;
4900
+ exports.SubmissionCollection = _sfc_main$8;
4579
4901
  exports.SubmissionDecision = SubmissionDecision;
4580
4902
  exports.SubmissionFollowUp = SubmissionFollowUp;
4581
4903
  exports.SubmissionModel = SubmissionModel;
@@ -4584,12 +4906,13 @@ exports.SubmissionStaff = SubmissionStaff;
4584
4906
  exports.SubmissionTypeCollection = _sfc_main$1;
4585
4907
  exports.SubmissionTypeModel = SubmissionTypeModel;
4586
4908
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
4587
- exports.TaskCollection = _sfc_main$a;
4909
+ exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
4910
+ exports.TaskCollection = _sfc_main$b;
4588
4911
  exports.TaskModel = TaskModel;
4589
- exports.TaskSingle = _sfc_main$9;
4590
- exports.TaskWork = _sfc_main$8;
4591
- exports.TaskWorkButton = _sfc_main$b;
4592
- exports.XxxButton = _sfc_main$v;
4912
+ exports.TaskSingle = _sfc_main$a;
4913
+ exports.TaskWork = _sfc_main$9;
4914
+ exports.TaskWorkButton = _sfc_main$c;
4915
+ exports.XxxButton = _sfc_main$w;
4593
4916
  exports.bus = bus;
4594
4917
  exports.useAttendanceStore = useAttendanceStore;
4595
4918
  exports.useOperasional = useOperasional;