@neutron.co.id/operasional-interfaces 1.6.3 → 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.mjs CHANGED
@@ -21,8 +21,8 @@ import { ComponentUtil } from "@neon.id/utils/component";
21
21
  import Scanner from "qr-scanner";
22
22
  import { models as models$2 } from "@neutron.co.id/personalia-models";
23
23
  import { CatatSketchPad } from "@neon.id/catat-interfaces";
24
- const _hoisted_1$d = { class: "xxx-button" };
25
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
24
+ const _hoisted_1$e = { class: "xxx-button" };
25
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
26
26
  ...{ name: "XxxButton" },
27
27
  __name: "XxxButton",
28
28
  props: {
@@ -33,18 +33,18 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
33
33
  },
34
34
  setup(__props) {
35
35
  return (_ctx, _cache) => {
36
- return openBlock(), createElementBlock("div", _hoisted_1$d, [
36
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
37
37
  createVNode(unref(NeonButton), { label: "XXX" })
38
38
  ]);
39
39
  };
40
40
  }
41
41
  });
42
- const _hoisted_1$c = { class: "operasional-identitas" };
43
- const _hoisted_2$8 = {
42
+ const _hoisted_1$d = { class: "operasional-identitas" };
43
+ const _hoisted_2$9 = {
44
44
  key: 2,
45
45
  class: "section"
46
46
  };
47
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
47
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
48
48
  ...{ name: "OperasionalIdentitas" },
49
49
  __name: "OperasionalIdentitas",
50
50
  props: {
@@ -299,7 +299,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
299
299
  candidateId.value = null;
300
300
  }
301
301
  return (_ctx, _cache) => {
302
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
302
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
303
303
  state.value === "connect" ? (openBlock(), createBlock(unref(IdentitasConnect), {
304
304
  key: 0,
305
305
  user: user.value,
@@ -351,7 +351,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
351
351
  _: 1
352
352
  /* STABLE */
353
353
  }, 8, ["initial-values", "is-loading", "errors"])) : createCommentVNode("v-if", true),
354
- user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
354
+ user.value && onDelegate ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
355
355
  createVNode(unref(NeonDivider), {
356
356
  "is-dashed": "",
357
357
  label: "Delegasi",
@@ -400,7 +400,7 @@ const _export_sfc = (sfc, props) => {
400
400
  }
401
401
  return target;
402
402
  };
403
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-355c8370"]]);
403
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-355c8370"]]);
404
404
  const CheckInModel = models$1.CheckInModel;
405
405
  const useOperasionalStore = defineStore("neu:operasional", () => {
406
406
  const isLoading = ref(false);
@@ -542,9 +542,9 @@ function mitt(n) {
542
542
  }
543
543
  const bus = mitt();
544
544
  const _withScopeId$2 = (n) => (pushScopeId("data-v-533df021"), n = n(), popScopeId(), n);
545
- const _hoisted_1$b = { id: "view-checkIns" };
546
- const _hoisted_2$7 = { class: "summary" };
547
- const _hoisted_3$3 = { class: "wrapper" };
545
+ const _hoisted_1$c = { id: "view-checkIns" };
546
+ const _hoisted_2$8 = { class: "summary" };
547
+ const _hoisted_3$4 = { class: "wrapper" };
548
548
  const _hoisted_4$2 = { class: "header" };
549
549
  const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
550
550
  "div",
@@ -557,7 +557,7 @@ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
557
557
  /* HOISTED */
558
558
  ));
559
559
  const _hoisted_6 = { class: "end" };
560
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
560
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
561
561
  ...{
562
562
  name: "CheckInPresenceCollection"
563
563
  },
@@ -698,14 +698,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
698
698
  return (_ctx, _cache) => {
699
699
  const _component_CheckInSingleExternalView = resolveComponent("CheckInSingleExternalView");
700
700
  const _component_CheckInCollection = resolveComponent("CheckInCollection");
701
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
701
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
702
702
  createVNode(unref(OfficeContent), {
703
703
  icon: "barcode-read",
704
704
  title: "Presensi",
705
705
  "is-expanded": ""
706
706
  }, {
707
707
  "header-detail": withCtx(() => [
708
- createElementVNode("div", _hoisted_2$7, [
708
+ createElementVNode("div", _hoisted_2$8, [
709
709
  createVNode(unref(NeonSlider), {
710
710
  "per-view": 2,
711
711
  gap: 16,
@@ -819,7 +819,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
819
819
  ])
820
820
  ]),
821
821
  default: withCtx(() => [
822
- createElementVNode("div", _hoisted_3$3, [
822
+ createElementVNode("div", _hoisted_3$4, [
823
823
  createVNode(unref(NeonCollectionContext), {
824
824
  definition: "neu:tempat:checkIn",
825
825
  scope: "_checkIns",
@@ -862,9 +862,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
862
862
  }
863
863
  });
864
864
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_533df021_lang = "";
865
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-533df021"]]);
866
- const _hoisted_1$a = { class: "grid gap-4 sm:grid-cols-2" };
867
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
865
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-533df021"]]);
866
+ const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-2" };
867
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
868
868
  __name: "CheckInSingle",
869
869
  setup(__props) {
870
870
  const {
@@ -922,7 +922,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
922
922
  field: unref(fields).building,
923
923
  "is-disabled": ""
924
924
  }, null, 8, ["modelValue", "field"]),
925
- createElementVNode("div", _hoisted_1$a, [
925
+ createElementVNode("div", _hoisted_1$b, [
926
926
  createVNode(unref(NeonField), mergeProps({
927
927
  modelValue: unref(values).type,
928
928
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
@@ -962,9 +962,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
962
962
  }
963
963
  });
964
964
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
965
- const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2e2803fb"]]);
966
- const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-2" };
967
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
965
+ const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2e2803fb"]]);
966
+ const _hoisted_1$a = { class: "grid gap-4 sm:grid-cols-2" };
967
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
968
968
  __name: "CheckInExternal",
969
969
  setup(__props) {
970
970
  const {
@@ -1030,7 +1030,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1030
1030
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(values) ? values.value = $event : null),
1031
1031
  field: unref(fields).building
1032
1032
  }, null, 8, ["modelValue", "field"])) : createCommentVNode("v-if", true),
1033
- createElementVNode("div", _hoisted_1$9, [
1033
+ createElementVNode("div", _hoisted_1$a, [
1034
1034
  createVNode(unref(NeonField), mergeProps({
1035
1035
  modelValue: unref(values).type,
1036
1036
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).type = $event)
@@ -1072,16 +1072,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1072
1072
  }
1073
1073
  });
1074
1074
  const CheckInExternal_vue_vue_type_style_index_0_scoped_9c4a435e_lang = "";
1075
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9c4a435e"]]);
1075
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-9c4a435e"]]);
1076
1076
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
1077
- const _hoisted_1$8 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1077
+ const _hoisted_1$9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1078
1078
  "h4",
1079
1079
  { align: "center" },
1080
1080
  "Aktifkan kamera untuk scan QR Code",
1081
1081
  -1
1082
1082
  /* HOISTED */
1083
1083
  ));
1084
- const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1084
+ const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1085
1085
  "p",
1086
1086
  { align: "center" },
1087
1087
  [
@@ -1092,7 +1092,7 @@ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
1092
1092
  -1
1093
1093
  /* HOISTED */
1094
1094
  ));
1095
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
1095
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
1096
1096
  __name: "CheckInAccess",
1097
1097
  emits: ["close"],
1098
1098
  setup(__props) {
@@ -1117,8 +1117,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1117
1117
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1118
1118
  }, {
1119
1119
  default: withCtx(() => [
1120
- _hoisted_1$8,
1121
- _hoisted_2$6,
1120
+ _hoisted_1$9,
1121
+ _hoisted_2$7,
1122
1122
  createVNode(unref(NeonButton), {
1123
1123
  "is-full": "",
1124
1124
  size: "md",
@@ -1145,9 +1145,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1145
1145
  }
1146
1146
  });
1147
1147
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1148
- const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-d23b6de5"]]);
1149
- const _hoisted_1$7 = { class: "buttons" };
1150
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
1148
+ const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-d23b6de5"]]);
1149
+ const _hoisted_1$8 = { class: "buttons" };
1150
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1151
1151
  __name: "CheckInScanError",
1152
1152
  setup(__props) {
1153
1153
  const attendanceStore = useAttendanceStore();
@@ -1160,7 +1160,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1160
1160
  default: withCtx(() => [
1161
1161
  createVNode(unref(NeonSheet), null, {
1162
1162
  footer: withCtx(() => [
1163
- createElementVNode("div", _hoisted_1$7, [
1163
+ createElementVNode("div", _hoisted_1$8, [
1164
1164
  createVNode(unref(NeonButton), {
1165
1165
  "is-full": "",
1166
1166
  "is-rounded": "",
@@ -1195,23 +1195,23 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1195
1195
  }
1196
1196
  });
1197
1197
  const _withScopeId = (n) => (pushScopeId("data-v-ef426ef3"), n = n(), popScopeId(), n);
1198
- const _hoisted_1$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1198
+ const _hoisted_1$7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1199
1199
  "div",
1200
1200
  { class: "invalid-message" },
1201
1201
  "Invalid Code!",
1202
1202
  -1
1203
1203
  /* HOISTED */
1204
1204
  ));
1205
- const _hoisted_2$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1205
+ const _hoisted_2$6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
1206
1206
  "div",
1207
1207
  null,
1208
1208
  null,
1209
1209
  -1
1210
1210
  /* HOISTED */
1211
1211
  ));
1212
- const _hoisted_3$2 = ["onClick"];
1212
+ const _hoisted_3$3 = ["onClick"];
1213
1213
  const _hoisted_4$1 = { class: "mr-2 text-sm" };
1214
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
1214
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1215
1215
  __name: "CheckInScanner",
1216
1216
  emits: ["start", "stop", "scanned", "close"],
1217
1217
  setup(__props, { emit }) {
@@ -1356,8 +1356,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1356
1356
  class: "inner",
1357
1357
  onClick: switchCamera
1358
1358
  }, [
1359
- _hoisted_1$6,
1360
- _hoisted_2$5,
1359
+ _hoisted_1$7,
1360
+ _hoisted_2$6,
1361
1361
  createElementVNode("div", {
1362
1362
  class: "button-switch",
1363
1363
  onClick: withModifiers(switchCamera, ["stop"])
@@ -1375,7 +1375,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1375
1375
  size: "sm",
1376
1376
  "is-disabled": !canSwitch.value
1377
1377
  }, null, 8, ["is-disabled"])
1378
- ], 8, _hoisted_3$2)
1378
+ ], 8, _hoisted_3$3)
1379
1379
  ])
1380
1380
  ],
1381
1381
  2
@@ -1393,15 +1393,15 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1393
1393
  }
1394
1394
  });
1395
1395
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1396
- const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-ef426ef3"]]);
1397
- const _hoisted_1$5 = /* @__PURE__ */ createElementVNode(
1396
+ const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ef426ef3"]]);
1397
+ const _hoisted_1$6 = /* @__PURE__ */ createElementVNode(
1398
1398
  "h3",
1399
1399
  { align: "center" },
1400
1400
  "Presensi Berhasil!",
1401
1401
  -1
1402
1402
  /* HOISTED */
1403
1403
  );
1404
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1404
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1405
1405
  __name: "CheckInScanSuccess",
1406
1406
  emits: ["close"],
1407
1407
  setup(__props) {
@@ -1421,7 +1421,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1421
1421
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1422
1422
  }, {
1423
1423
  default: withCtx(() => [
1424
- _hoisted_1$5
1424
+ _hoisted_1$6
1425
1425
  ]),
1426
1426
  _: 1
1427
1427
  /* STABLE */
@@ -1433,7 +1433,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1433
1433
  };
1434
1434
  }
1435
1435
  });
1436
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1436
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1437
1437
  ...{
1438
1438
  name: "CheckInCollection"
1439
1439
  },
@@ -1452,7 +1452,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1452
1452
  }
1453
1453
  });
1454
1454
  const StaffModel = models$2.StaffModel;
1455
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
1455
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1456
1456
  ...{
1457
1457
  name: "StaffCollection"
1458
1458
  },
@@ -1470,9 +1470,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1470
1470
  };
1471
1471
  }
1472
1472
  });
1473
- const _hoisted_1$4 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1474
- const _hoisted_2$4 = { class: "grid gap-4 sm:grid-cols-2" };
1475
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
1473
+ const _hoisted_1$5 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1474
+ const _hoisted_2$5 = { class: "grid gap-4 sm:grid-cols-2" };
1475
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1476
1476
  __name: "StaffSingle",
1477
1477
  setup(__props) {
1478
1478
  const {
@@ -1509,7 +1509,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1509
1509
  onSubmit: unref(saveOne)
1510
1510
  }, {
1511
1511
  default: withCtx(() => [
1512
- createElementVNode("div", _hoisted_1$4, [
1512
+ createElementVNode("div", _hoisted_1$5, [
1513
1513
  createVNode(unref(NeonField), mergeProps({
1514
1514
  modelValue: unref(values).name,
1515
1515
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
@@ -1519,7 +1519,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1519
1519
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
1520
1520
  }, unref(fields).nik), null, 16, ["modelValue"])
1521
1521
  ]),
1522
- createElementVNode("div", _hoisted_2$4, [
1522
+ createElementVNode("div", _hoisted_2$5, [
1523
1523
  createVNode(unref(NeonField), mergeProps({
1524
1524
  modelValue: unref(values).birthPlace,
1525
1525
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
@@ -1552,7 +1552,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1552
1552
  title: "Identitas"
1553
1553
  }, {
1554
1554
  default: withCtx(() => [
1555
- createVNode(unref(_sfc_main$i))
1555
+ createVNode(unref(_sfc_main$j))
1556
1556
  ]),
1557
1557
  _: 1
1558
1558
  /* STABLE */
@@ -1623,10 +1623,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1623
1623
  }
1624
1624
  });
1625
1625
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1626
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-0cf4cd99"]]);
1627
- const _hoisted_1$3 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1628
- const _hoisted_2$3 = { class: "grid gap-4 sm:grid-cols-2" };
1629
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
1626
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-0cf4cd99"]]);
1627
+ const _hoisted_1$4 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1628
+ const _hoisted_2$4 = { class: "grid gap-4 sm:grid-cols-2" };
1629
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
1630
1630
  __name: "StaffOperasional",
1631
1631
  setup(__props) {
1632
1632
  const {
@@ -1663,7 +1663,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1663
1663
  onSubmit: unref(saveOne)
1664
1664
  }, {
1665
1665
  default: withCtx(() => [
1666
- createElementVNode("div", _hoisted_1$3, [
1666
+ createElementVNode("div", _hoisted_1$4, [
1667
1667
  createVNode(unref(NeonField), mergeProps({
1668
1668
  modelValue: unref(values).name,
1669
1669
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).name = $event)
@@ -1673,7 +1673,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1673
1673
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).nik = $event)
1674
1674
  }, unref(fields).nik), null, 16, ["modelValue"])
1675
1675
  ]),
1676
- createElementVNode("div", _hoisted_2$3, [
1676
+ createElementVNode("div", _hoisted_2$4, [
1677
1677
  createVNode(unref(NeonField), mergeProps({
1678
1678
  modelValue: unref(values).birthPlace,
1679
1679
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => unref(values).birthPlace = $event)
@@ -1706,7 +1706,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1706
1706
  title: "Identitas"
1707
1707
  }, {
1708
1708
  default: withCtx(() => [
1709
- createVNode(unref(_sfc_main$i))
1709
+ createVNode(unref(_sfc_main$j))
1710
1710
  ]),
1711
1711
  _: 1
1712
1712
  /* STABLE */
@@ -1784,8 +1784,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1784
1784
  }
1785
1785
  });
1786
1786
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
1787
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c62cf70a"]]);
1788
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
1787
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-c62cf70a"]]);
1788
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1789
1789
  __name: "StaffIdentity",
1790
1790
  setup(__props) {
1791
1791
  const { values, saveOne, executeOne, syncOne } = useSingle();
@@ -1894,7 +1894,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1894
1894
  }
1895
1895
  });
1896
1896
  const SituationModel = models$2.SituationModel;
1897
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
1897
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
1898
1898
  ...{ name: "SituationCollection" },
1899
1899
  __name: "SituationCollection",
1900
1900
  setup(__props) {
@@ -1910,7 +1910,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1910
1910
  };
1911
1911
  }
1912
1912
  });
1913
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
1913
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
1914
1914
  __name: "SituationSingle",
1915
1915
  setup(__props) {
1916
1916
  const {
@@ -2048,7 +2048,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2048
2048
  };
2049
2049
  }
2050
2050
  });
2051
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
2051
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2052
2052
  __name: "SituationWork",
2053
2053
  setup(__props) {
2054
2054
  const {
@@ -2229,7 +2229,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2229
2229
  };
2230
2230
  }
2231
2231
  });
2232
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
2232
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
2233
2233
  ...{ name: "SituationSupportive" },
2234
2234
  __name: "SituationSupportive",
2235
2235
  setup(__props) {
@@ -2368,7 +2368,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2368
2368
  }
2369
2369
  });
2370
2370
  const SituationTypeModel = models$2.SituationTypeModel;
2371
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
2371
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
2372
2372
  ...{ name: "SituationTypeCollection" },
2373
2373
  __name: "SituationTypeCollection",
2374
2374
  setup(__props) {
@@ -2384,7 +2384,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2384
2384
  };
2385
2385
  }
2386
2386
  });
2387
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
2387
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
2388
2388
  __name: "SituationTypeSingle",
2389
2389
  setup(__props) {
2390
2390
  const {
@@ -2457,9 +2457,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2457
2457
  }
2458
2458
  });
2459
2459
  const TaskModel = models$2.TaskModel;
2460
- const _hoisted_1$2 = { key: 0 };
2461
- const _hoisted_2$2 = { key: 1 };
2462
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
2460
+ const _hoisted_1$3 = { key: 0 };
2461
+ const _hoisted_2$3 = { key: 1 };
2462
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2463
2463
  ...{ name: "TaskWorkButton" },
2464
2464
  __name: "TaskWorkButton",
2465
2465
  setup(__props) {
@@ -2552,7 +2552,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2552
2552
  Fragment,
2553
2553
  null,
2554
2554
  [
2555
- onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
2555
+ onHandleTaskWork.value.onStartTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_1$3, [
2556
2556
  createVNode(unref(NeonButton), {
2557
2557
  "is-rounded": true,
2558
2558
  size: "sm",
@@ -2562,7 +2562,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2562
2562
  onClick: onClickHandlerStartTaskWork
2563
2563
  })
2564
2564
  ])) : createCommentVNode("v-if", true),
2565
- onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
2565
+ onHandleTaskWork.value.onFinishedTaskWorking ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
2566
2566
  createVNode(unref(NeonButton), {
2567
2567
  "is-rounded": true,
2568
2568
  size: "sm",
@@ -2580,7 +2580,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2580
2580
  };
2581
2581
  }
2582
2582
  });
2583
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
2583
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2584
2584
  ...{ name: "TaskCollection" },
2585
2585
  __name: "TaskCollection",
2586
2586
  setup(__props) {
@@ -2596,7 +2596,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2596
2596
  };
2597
2597
  }
2598
2598
  });
2599
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2599
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2600
2600
  __name: "TaskSingle",
2601
2601
  setup(__props) {
2602
2602
  const {
@@ -2825,7 +2825,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2825
2825
  };
2826
2826
  }
2827
2827
  });
2828
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2828
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2829
2829
  __name: "TaskWork",
2830
2830
  setup(__props) {
2831
2831
  const {
@@ -3058,7 +3058,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3058
3058
  }
3059
3059
  });
3060
3060
  const SubmissionModel = models$2.SubmissionModel;
3061
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3061
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3062
3062
  ...{
3063
3063
  name: "SubmissionCollection"
3064
3064
  },
@@ -3076,7 +3076,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3076
3076
  };
3077
3077
  }
3078
3078
  });
3079
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3079
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3080
3080
  __name: "SubmissionSingle",
3081
3081
  setup(__props) {
3082
3082
  const {
@@ -3273,8 +3273,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3273
3273
  }
3274
3274
  });
3275
3275
  const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
3276
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-39553dbd"]]);
3277
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3276
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-39553dbd"]]);
3277
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3278
3278
  __name: "SubmissionStaff",
3279
3279
  setup(__props) {
3280
3280
  var _a;
@@ -3337,9 +3337,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3337
3337
  immediate: true
3338
3338
  }
3339
3339
  );
3340
- const syncRaise = () => {
3341
- executeOne("raiseSubmission", { submissionId: id.value });
3342
- syncOne();
3340
+ const syncRaise = async () => {
3341
+ await executeOne("raiseSubmission", { submissionId: id.value });
3342
+ await syncOne();
3343
3343
  };
3344
3344
  const appStore = useAppStore();
3345
3345
  const objectDef = computed(
@@ -3545,9 +3545,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3545
3545
  };
3546
3546
  }
3547
3547
  });
3548
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_62cdd107_lang = "";
3549
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-62cdd107"]]);
3550
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3548
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
3549
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-3ed905bd"]]);
3550
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
3551
3551
  __name: "SubmissionFollowUp",
3552
3552
  setup(__props) {
3553
3553
  const {
@@ -3738,13 +3738,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3738
3738
  }
3739
3739
  });
3740
3740
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
3741
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6fd14e52"]]);
3742
- const _hoisted_1$1 = { class: "flex flex-wrap" };
3743
- const _hoisted_2$1 = { class: "mt-2" };
3744
- const _hoisted_3$1 = { class: "mt-2" };
3741
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6fd14e52"]]);
3742
+ const _hoisted_1$2 = { class: "flex flex-wrap" };
3743
+ const _hoisted_2$2 = { class: "mt-2" };
3744
+ const _hoisted_3$2 = { class: "mt-2" };
3745
3745
  const _hoisted_4 = { class: "mt-2" };
3746
3746
  const _hoisted_5 = { class: "mt-2" };
3747
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3747
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3748
3748
  __name: "SubmissionAudit",
3749
3749
  setup(__props) {
3750
3750
  var _a;
@@ -3807,21 +3807,21 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3807
3807
  immediate: true
3808
3808
  }
3809
3809
  );
3810
- const syncResolved = () => {
3811
- executeOne("resolvedSubmission", { submissionId: id.value });
3812
- syncOne();
3810
+ const syncResolved = async () => {
3811
+ await executeOne("resolvedSubmission", { submissionId: id.value });
3812
+ await syncOne();
3813
3813
  };
3814
- const syncDiscontinued = () => {
3815
- executeOne("discontinuedSubmission", { submissionId: id.value });
3816
- syncOne();
3814
+ const syncDiscontinued = async () => {
3815
+ await executeOne("discontinuedSubmission", { submissionId: id.value });
3816
+ await syncOne();
3817
3817
  };
3818
- const syncMonitored = () => {
3819
- executeOne("monitoredSubmission", { submissionId: id.value });
3820
- syncOne();
3818
+ const syncMonitored = async () => {
3819
+ await executeOne("monitoredSubmission", { submissionId: id.value });
3820
+ await syncOne();
3821
3821
  };
3822
- const syncProcessed = () => {
3823
- executeOne("processedSubmission", { submissionId: id.value });
3824
- syncOne();
3822
+ const syncProcessed = async () => {
3823
+ await executeOne("processedSubmission", { submissionId: id.value });
3824
+ await syncOne();
3825
3825
  };
3826
3826
  const appStore = useAppStore();
3827
3827
  const objectDef = computed(
@@ -3848,8 +3848,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3848
3848
  onSubmit: unref(saveOne)
3849
3849
  }, {
3850
3850
  default: withCtx(() => [
3851
- createElementVNode("div", _hoisted_1$1, [
3852
- createElementVNode("div", _hoisted_2$1, [
3851
+ createElementVNode("div", _hoisted_1$2, [
3852
+ createElementVNode("div", _hoisted_2$2, [
3853
3853
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
3854
3854
  input: withCtx(() => [
3855
3855
  createVNode(unref(NeonButton), {
@@ -3871,7 +3871,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3871
3871
  })) : createCommentVNode("v-if", true)
3872
3872
  ]),
3873
3873
  createTextVNode("    "),
3874
- createElementVNode("div", _hoisted_3$1, [
3874
+ createElementVNode("div", _hoisted_3$2, [
3875
3875
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
3876
3876
  input: withCtx(() => [
3877
3877
  createVNode(unref(NeonButton), {
@@ -4092,13 +4092,328 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4092
4092
  };
4093
4093
  }
4094
4094
  });
4095
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_1e7eba36_lang = "";
4096
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-1e7eba36"]]);
4095
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_da41fc59_lang = "";
4096
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-da41fc59"]]);
4097
+ const _hoisted_1$1 = { class: "flex flex-wrap" };
4098
+ const _hoisted_2$1 = { class: "mt-2" };
4099
+ const _hoisted_3$1 = { class: "mt-2" };
4100
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4101
+ __name: "SubmissionDecision",
4102
+ setup(__props) {
4103
+ var _a;
4104
+ const {
4105
+ fields,
4106
+ id,
4107
+ initialValues,
4108
+ values,
4109
+ isLoading,
4110
+ isChanged,
4111
+ isReady,
4112
+ isMain,
4113
+ isNew,
4114
+ syncOne,
4115
+ saveOne,
4116
+ discardChanges,
4117
+ executeOne
4118
+ } = useSingle();
4119
+ const { staff } = useOperasional();
4120
+ const branchOptions = computed(() => {
4121
+ var _a2;
4122
+ return {
4123
+ filter: [
4124
+ {
4125
+ handle: "_id",
4126
+ operator: "in",
4127
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
4128
+ }
4129
+ ]
4130
+ };
4131
+ });
4132
+ const typeOptions = computed(() => {
4133
+ return {
4134
+ filter: [
4135
+ {
4136
+ handle: "branchIds",
4137
+ operator: "in",
4138
+ value: values.value.branchIds
4139
+ }
4140
+ ]
4141
+ };
4142
+ });
4143
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
4144
+ watch(
4145
+ isNew,
4146
+ (isNew2) => {
4147
+ var _a2;
4148
+ if (!isNew2)
4149
+ return;
4150
+ values.value.preparedAt = (/* @__PURE__ */ new Date()).toISOString();
4151
+ values.value.submissionStaffIds = [staffId];
4152
+ values.value.submissionStaffs = [
4153
+ {
4154
+ id: staffId,
4155
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
4156
+ }
4157
+ ];
4158
+ },
4159
+ {
4160
+ immediate: true
4161
+ }
4162
+ );
4163
+ const syncDelay = async () => {
4164
+ var _a2;
4165
+ await executeOne("delaySubmission", {
4166
+ submissionId: id.value,
4167
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4168
+ });
4169
+ await syncOne();
4170
+ };
4171
+ const syncApproved = async () => {
4172
+ var _a2;
4173
+ await executeOne("approvedSubmission", {
4174
+ submissionId: id.value,
4175
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4176
+ });
4177
+ await syncOne();
4178
+ };
4179
+ const appStore = useAppStore();
4180
+ const objectDef = computed(
4181
+ () => `neu:operasional:submission:${id.value}`
4182
+ );
4183
+ return (_ctx, _cache) => {
4184
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-submission-single" }, {
4185
+ default: withCtx(() => [
4186
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
4187
+ default: withCtx(() => [
4188
+ createVNode(unref(OfficeTab), {
4189
+ handle: "info",
4190
+ icon: "circle-info",
4191
+ title: "Info"
4192
+ }, {
4193
+ default: withCtx(() => [
4194
+ createVNode(unref(NeonForm), {
4195
+ handle: "info",
4196
+ "initial-values": unref(initialValues),
4197
+ "is-loading": unref(isLoading),
4198
+ "is-changed": unref(isChanged),
4199
+ "use-unsaved": "",
4200
+ onCancel: unref(discardChanges),
4201
+ onSubmit: unref(saveOne)
4202
+ }, {
4203
+ default: withCtx(() => [
4204
+ createElementVNode("div", _hoisted_1$1, [
4205
+ createElementVNode("div", _hoisted_2$1, [
4206
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4207
+ input: withCtx(() => {
4208
+ var _a2, _b;
4209
+ return [
4210
+ createVNode(unref(NeonButton), {
4211
+ size: "md",
4212
+ color: "danger",
4213
+ "icon-left": "circle-stop",
4214
+ "is-disabled": unref(isNew) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b = unref(values).delayStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4215
+ onClick: syncDelay
4216
+ }, {
4217
+ default: withCtx(() => [
4218
+ createTextVNode("Ditunda")
4219
+ ]),
4220
+ _: 1
4221
+ /* STABLE */
4222
+ }, 8, ["is-disabled"])
4223
+ ];
4224
+ }),
4225
+ _: 1
4226
+ /* STABLE */
4227
+ })) : createCommentVNode("v-if", true)
4228
+ ]),
4229
+ createTextVNode("    "),
4230
+ createElementVNode("div", _hoisted_3$1, [
4231
+ unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4232
+ input: withCtx(() => {
4233
+ var _a2, _b;
4234
+ return [
4235
+ createVNode(unref(NeonButton), {
4236
+ size: "md",
4237
+ color: "success",
4238
+ "icon-left": "list-check",
4239
+ "is-disabled": unref(isNew) || unref(values).status === "prepared" || unref(values).status === "raised" || ((_b = unref(values).agreedStaffIds) == null ? void 0 : _b.includes(((_a2 = unref(staff)) == null ? void 0 : _a2.id) || "")) ? true : false,
4240
+ onClick: syncApproved
4241
+ }, {
4242
+ default: withCtx(() => [
4243
+ createTextVNode("Disetujui")
4244
+ ]),
4245
+ _: 1
4246
+ /* STABLE */
4247
+ }, 8, ["is-disabled"])
4248
+ ];
4249
+ }),
4250
+ _: 1
4251
+ /* STABLE */
4252
+ })) : createCommentVNode("v-if", true)
4253
+ ])
4254
+ ]),
4255
+ createVNode(unref(NeonField), mergeProps({
4256
+ modelValue: unref(values).title,
4257
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).title = $event)
4258
+ }, unref(fields).title, {
4259
+ "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"
4260
+ }), null, 16, ["modelValue", "is-disabled"]),
4261
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
4262
+ default: withCtx(() => [
4263
+ createVNode(unref(OfficeRelation), {
4264
+ modelValue: unref(values),
4265
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(values) ? values.value = $event : null),
4266
+ field: unref(fields).branches,
4267
+ query: unref(Query).define(branchOptions.value),
4268
+ "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"
4269
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
4270
+ createVNode(unref(OfficeRelation), {
4271
+ modelValue: unref(values),
4272
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
4273
+ field: unref(fields).type,
4274
+ query: unref(Query).define(typeOptions.value),
4275
+ "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"
4276
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"])
4277
+ ]),
4278
+ _: 1
4279
+ /* STABLE */
4280
+ }),
4281
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
4282
+ default: withCtx(() => [
4283
+ createVNode(unref(OfficeRelation), {
4284
+ modelValue: unref(values),
4285
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
4286
+ field: unref(fields).submissionStaffs,
4287
+ "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"
4288
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
4289
+ createVNode(unref(OfficeRelation), {
4290
+ modelValue: unref(values),
4291
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
4292
+ field: unref(fields).raiseStaffs,
4293
+ "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"
4294
+ }, null, 8, ["modelValue", "field", "is-disabled"])
4295
+ ]),
4296
+ _: 1
4297
+ /* STABLE */
4298
+ }),
4299
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
4300
+ default: withCtx(() => [
4301
+ createVNode(unref(OfficeRelation), {
4302
+ modelValue: unref(values),
4303
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
4304
+ field: unref(fields).decideStaffs,
4305
+ "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"
4306
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
4307
+ createVNode(unref(OfficeRelation), {
4308
+ modelValue: unref(values),
4309
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
4310
+ field: unref(fields).followUpStaffs
4311
+ }, null, 8, ["modelValue", "field"])
4312
+ ]),
4313
+ _: 1
4314
+ /* STABLE */
4315
+ }),
4316
+ createVNode(unref(NeonField), mergeProps({
4317
+ modelValue: unref(values).specifications,
4318
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
4319
+ }, unref(fields).specifications, {
4320
+ "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"
4321
+ }), null, 16, ["modelValue", "is-disabled"]),
4322
+ createVNode(unref(NeonField), mergeProps({
4323
+ modelValue: unref(values).preparedAt,
4324
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
4325
+ }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4326
+ createVNode(unref(NeonField), mergeProps({
4327
+ modelValue: unref(values).raisedAt,
4328
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
4329
+ }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4330
+ createVNode(unref(NeonField), mergeProps({
4331
+ modelValue: unref(values).processedAt,
4332
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
4333
+ }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4334
+ createVNode(unref(NeonDivider), {
4335
+ "is-dashed": "",
4336
+ label: "Nominal"
4337
+ }),
4338
+ createVNode(unref(NeonField), mergeProps({
4339
+ modelValue: unref(values).nominal,
4340
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).nominal = $event)
4341
+ }, unref(fields).nominal, {
4342
+ "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"
4343
+ }), null, 16, ["modelValue", "is-disabled"]),
4344
+ createVNode(unref(NeonDivider), {
4345
+ "is-dashed": "",
4346
+ label: "Keputusan"
4347
+ }),
4348
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
4349
+ default: withCtx(() => [
4350
+ createVNode(unref(OfficeRelation), {
4351
+ modelValue: unref(values),
4352
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => isRef(values) ? values.value = $event : null),
4353
+ field: unref(fields).delayStaffs,
4354
+ "is-disabled": ""
4355
+ }, null, 8, ["modelValue", "field"]),
4356
+ createVNode(unref(OfficeRelation), {
4357
+ modelValue: unref(values),
4358
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => isRef(values) ? values.value = $event : null),
4359
+ field: unref(fields).agreedStaffs,
4360
+ "is-disabled": ""
4361
+ }, null, 8, ["modelValue", "field"])
4362
+ ]),
4363
+ _: 1
4364
+ /* STABLE */
4365
+ })
4366
+ ]),
4367
+ _: 1
4368
+ /* STABLE */
4369
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
4370
+ ]),
4371
+ _: 1
4372
+ /* STABLE */
4373
+ }),
4374
+ createCommentVNode(" DOKUMEN "),
4375
+ !unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
4376
+ key: 0,
4377
+ handle: "dokumen",
4378
+ icon: "circle-info",
4379
+ title: "Dokumen"
4380
+ }, {
4381
+ default: withCtx(({ isTouched }) => [
4382
+ createVNode(
4383
+ unref(CatatSketchPad),
4384
+ normalizeProps(guardReactiveProps({
4385
+ applicationId: unref(appStore).appId,
4386
+ object: `${objectDef.value}:office`,
4387
+ isReady: unref(isReady) && isTouched,
4388
+ isLoading: unref(isLoading),
4389
+ isReadonly: unref(values).status === "raised" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4390
+ })),
4391
+ null,
4392
+ 16
4393
+ /* FULL_PROPS */
4394
+ )
4395
+ ]),
4396
+ _: 1
4397
+ /* STABLE */
4398
+ })) : createCommentVNode("v-if", true)
4399
+ ]),
4400
+ _: 1
4401
+ /* STABLE */
4402
+ }, 8, ["use-url"])
4403
+ ]),
4404
+ _: 1
4405
+ /* STABLE */
4406
+ });
4407
+ };
4408
+ }
4409
+ });
4410
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
4411
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-ec347ac5"]]);
4097
4412
  const _hoisted_1 = { class: "flex flex-wrap" };
4098
4413
  const _hoisted_2 = { class: "mt-2" };
4099
4414
  const _hoisted_3 = { class: "mt-2" };
4100
4415
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4101
- __name: "SubmissionDecision",
4416
+ __name: "SubmissionWaitingDecision",
4102
4417
  setup(__props) {
4103
4418
  var _a;
4104
4419
  const {
@@ -4409,8 +4724,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4409
4724
  };
4410
4725
  }
4411
4726
  });
4412
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_845d6773_lang = "";
4413
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-845d6773"]]);
4727
+ const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
4728
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-051b2194"]]);
4414
4729
  const SubmissionTypeModel = models$2.SubmissionTypeModel;
4415
4730
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4416
4731
  ...{
@@ -4500,30 +4815,30 @@ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId
4500
4815
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4501
4816
  __proto__: null,
4502
4817
  CheckInAccess,
4503
- CheckInCollection: _sfc_main$m,
4818
+ CheckInCollection: _sfc_main$n,
4504
4819
  CheckInExternal,
4505
4820
  CheckInModel,
4506
4821
  CheckInPresenceCollection,
4507
- CheckInScanError: _sfc_main$p,
4508
- CheckInScanSuccess: _sfc_main$n,
4822
+ CheckInScanError: _sfc_main$q,
4823
+ CheckInScanSuccess: _sfc_main$o,
4509
4824
  CheckInScanner,
4510
4825
  CheckInSingle,
4511
4826
  OperasionalIdentitas,
4512
- SituationCollection: _sfc_main$h,
4827
+ SituationCollection: _sfc_main$i,
4513
4828
  SituationModel,
4514
- SituationSingle: _sfc_main$g,
4515
- SituationSupportive: _sfc_main$e,
4516
- SituationTypeCollection: _sfc_main$d,
4829
+ SituationSingle: _sfc_main$h,
4830
+ SituationSupportive: _sfc_main$f,
4831
+ SituationTypeCollection: _sfc_main$e,
4517
4832
  SituationTypeModel,
4518
- SituationTypeSingle: _sfc_main$c,
4519
- SituationWork: _sfc_main$f,
4520
- StaffCollection: _sfc_main$l,
4521
- StaffIdentity: _sfc_main$i,
4833
+ SituationTypeSingle: _sfc_main$d,
4834
+ SituationWork: _sfc_main$g,
4835
+ StaffCollection: _sfc_main$m,
4836
+ StaffIdentity: _sfc_main$j,
4522
4837
  StaffModel,
4523
4838
  StaffOperasional,
4524
4839
  StaffSingle,
4525
4840
  SubmissionAudit,
4526
- SubmissionCollection: _sfc_main$7,
4841
+ SubmissionCollection: _sfc_main$8,
4527
4842
  SubmissionDecision,
4528
4843
  SubmissionFollowUp,
4529
4844
  SubmissionModel,
@@ -4532,12 +4847,13 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
4532
4847
  SubmissionTypeCollection: _sfc_main$1,
4533
4848
  SubmissionTypeModel,
4534
4849
  SubmissionTypeSingle,
4535
- TaskCollection: _sfc_main$a,
4850
+ SubmissionWaitingDecision,
4851
+ TaskCollection: _sfc_main$b,
4536
4852
  TaskModel,
4537
- TaskSingle: _sfc_main$9,
4538
- TaskWork: _sfc_main$8,
4539
- TaskWorkButton: _sfc_main$b,
4540
- XxxButton: _sfc_main$v
4853
+ TaskSingle: _sfc_main$a,
4854
+ TaskWork: _sfc_main$9,
4855
+ TaskWorkButton: _sfc_main$c,
4856
+ XxxButton: _sfc_main$w
4541
4857
  }, Symbol.toStringTag, { value: "Module" }));
4542
4858
  function registerComponents(app) {
4543
4859
  Object.entries(components).forEach(([name, component]) => {
@@ -4554,33 +4870,33 @@ const OperasionalInterfacesPlugin = {
4554
4870
  };
4555
4871
  export {
4556
4872
  CheckInAccess,
4557
- _sfc_main$m as CheckInCollection,
4873
+ _sfc_main$n as CheckInCollection,
4558
4874
  CheckInExternal,
4559
4875
  CheckInModel,
4560
4876
  CheckInPresenceCollection,
4561
- _sfc_main$p as CheckInScanError,
4562
- _sfc_main$n as CheckInScanSuccess,
4877
+ _sfc_main$q as CheckInScanError,
4878
+ _sfc_main$o as CheckInScanSuccess,
4563
4879
  CheckInScanner,
4564
4880
  CheckInSingle,
4565
4881
  operasional_types as NOperasional,
4566
4882
  OperasionalIdentitas,
4567
4883
  OperasionalInterfacesPlugin,
4568
4884
  graphql as Schema,
4569
- _sfc_main$h as SituationCollection,
4885
+ _sfc_main$i as SituationCollection,
4570
4886
  SituationModel,
4571
- _sfc_main$g as SituationSingle,
4572
- _sfc_main$e as SituationSupportive,
4573
- _sfc_main$d as SituationTypeCollection,
4887
+ _sfc_main$h as SituationSingle,
4888
+ _sfc_main$f as SituationSupportive,
4889
+ _sfc_main$e as SituationTypeCollection,
4574
4890
  SituationTypeModel,
4575
- _sfc_main$c as SituationTypeSingle,
4576
- _sfc_main$f as SituationWork,
4577
- _sfc_main$l as StaffCollection,
4578
- _sfc_main$i as StaffIdentity,
4891
+ _sfc_main$d as SituationTypeSingle,
4892
+ _sfc_main$g as SituationWork,
4893
+ _sfc_main$m as StaffCollection,
4894
+ _sfc_main$j as StaffIdentity,
4579
4895
  StaffModel,
4580
4896
  StaffOperasional,
4581
4897
  StaffSingle,
4582
4898
  SubmissionAudit,
4583
- _sfc_main$7 as SubmissionCollection,
4899
+ _sfc_main$8 as SubmissionCollection,
4584
4900
  SubmissionDecision,
4585
4901
  SubmissionFollowUp,
4586
4902
  SubmissionModel,
@@ -4589,12 +4905,13 @@ export {
4589
4905
  _sfc_main$1 as SubmissionTypeCollection,
4590
4906
  SubmissionTypeModel,
4591
4907
  SubmissionTypeSingle,
4592
- _sfc_main$a as TaskCollection,
4908
+ SubmissionWaitingDecision,
4909
+ _sfc_main$b as TaskCollection,
4593
4910
  TaskModel,
4594
- _sfc_main$9 as TaskSingle,
4595
- _sfc_main$8 as TaskWork,
4596
- _sfc_main$b as TaskWorkButton,
4597
- _sfc_main$v as XxxButton,
4911
+ _sfc_main$a as TaskSingle,
4912
+ _sfc_main$9 as TaskWork,
4913
+ _sfc_main$c as TaskWorkButton,
4914
+ _sfc_main$w as XxxButton,
4598
4915
  bus,
4599
4916
  useAttendanceStore,
4600
4917
  useOperasional,