@neutron.co.id/operasional-interfaces 1.6.3 → 1.6.4

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$d = { 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$d, [
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$c = { class: "operasional-identitas" };
45
- const _hoisted_2$8 = {
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$c, [
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$8, [
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,9 +544,9 @@ 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$b = { id: "view-checkIns" };
548
- const _hoisted_2$7 = { class: "summary" };
549
- const _hoisted_3$3 = { class: "wrapper" };
547
+ const _hoisted_1$c = { id: "view-checkIns" };
548
+ const _hoisted_2$8 = { class: "summary" };
549
+ const _hoisted_3$4 = { class: "wrapper" };
550
550
  const _hoisted_4$2 = { class: "header" };
551
551
  const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
552
552
  "div",
@@ -559,7 +559,7 @@ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
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$b, [
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$7, [
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$3, [
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",
@@ -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$a = { 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$a, [
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$9 = { 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$9, [
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$8 = /* @__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$6 = /* @__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$6 = /* @__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$8,
1123
- _hoisted_2$6,
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$7 = { 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$7, [
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$6 = /* @__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$5 = /* @__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$2 = ["onClick"];
1214
+ const _hoisted_3$3 = ["onClick"];
1215
1215
  const _hoisted_4$1 = { class: "mr-2 text-sm" };
1216
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
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,8 +1358,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
1358
1358
  class: "inner",
1359
1359
  onClick: switchCamera
1360
1360
  }, [
1361
- _hoisted_1$6,
1362
- _hoisted_2$5,
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"])
@@ -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$2)
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$5 = /* @__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$5
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$4 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1476
- const _hoisted_2$4 = { 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$4, [
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$4, [
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$3 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1630
- const _hoisted_2$3 = { 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$3, [
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$3, [
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$2 = { key: 0 };
2463
- const _hoisted_2$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$2, [
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$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(
@@ -3547,9 +3547,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
3547
3547
  };
3548
3548
  }
3549
3549
  });
3550
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_62cdd107_lang = "";
3551
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-62cdd107"]]);
3552
- 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({
3553
3553
  __name: "SubmissionFollowUp",
3554
3554
  setup(__props) {
3555
3555
  const {
@@ -3740,13 +3740,13 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3740
3740
  }
3741
3741
  });
3742
3742
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
3743
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6fd14e52"]]);
3744
- const _hoisted_1$1 = { class: "flex flex-wrap" };
3745
- const _hoisted_2$1 = { class: "mt-2" };
3746
- const _hoisted_3$1 = { class: "mt-2" };
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
3747
  const _hoisted_4 = { class: "mt-2" };
3748
3748
  const _hoisted_5 = { class: "mt-2" };
3749
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3749
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
3750
3750
  __name: "SubmissionAudit",
3751
3751
  setup(__props) {
3752
3752
  var _a;
@@ -3809,21 +3809,21 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3809
3809
  immediate: true
3810
3810
  }
3811
3811
  );
3812
- const syncResolved = () => {
3813
- executeOne("resolvedSubmission", { submissionId: id.value });
3814
- syncOne();
3812
+ const syncResolved = async () => {
3813
+ await executeOne("resolvedSubmission", { submissionId: id.value });
3814
+ await syncOne();
3815
3815
  };
3816
- const syncDiscontinued = () => {
3817
- executeOne("discontinuedSubmission", { submissionId: id.value });
3818
- syncOne();
3816
+ const syncDiscontinued = async () => {
3817
+ await executeOne("discontinuedSubmission", { submissionId: id.value });
3818
+ await syncOne();
3819
3819
  };
3820
- const syncMonitored = () => {
3821
- executeOne("monitoredSubmission", { submissionId: id.value });
3822
- syncOne();
3820
+ const syncMonitored = async () => {
3821
+ await executeOne("monitoredSubmission", { submissionId: id.value });
3822
+ await syncOne();
3823
3823
  };
3824
- const syncProcessed = () => {
3825
- executeOne("processedSubmission", { submissionId: id.value });
3826
- syncOne();
3824
+ const syncProcessed = async () => {
3825
+ await executeOne("processedSubmission", { submissionId: id.value });
3826
+ await syncOne();
3827
3827
  };
3828
3828
  const appStore = context.useAppStore();
3829
3829
  const objectDef = vue.computed(
@@ -3850,8 +3850,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3850
3850
  onSubmit: vue.unref(saveOne)
3851
3851
  }, {
3852
3852
  default: vue.withCtx(() => [
3853
- vue.createElementVNode("div", _hoisted_1$1, [
3854
- vue.createElementVNode("div", _hoisted_2$1, [
3853
+ vue.createElementVNode("div", _hoisted_1$2, [
3854
+ vue.createElementVNode("div", _hoisted_2$2, [
3855
3855
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
3856
3856
  input: vue.withCtx(() => [
3857
3857
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -3873,7 +3873,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
3873
3873
  })) : vue.createCommentVNode("v-if", true)
3874
3874
  ]),
3875
3875
  vue.createTextVNode("    "),
3876
- vue.createElementVNode("div", _hoisted_3$1, [
3876
+ vue.createElementVNode("div", _hoisted_3$2, [
3877
3877
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
3878
3878
  input: vue.withCtx(() => [
3879
3879
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4094,13 +4094,328 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
4094
4094
  };
4095
4095
  }
4096
4096
  });
4097
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_1e7eba36_lang = "";
4098
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-1e7eba36"]]);
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({
4103
+ __name: "SubmissionDecision",
4104
+ setup(__props) {
4105
+ var _a;
4106
+ const {
4107
+ fields,
4108
+ id,
4109
+ initialValues,
4110
+ values,
4111
+ isLoading,
4112
+ isChanged,
4113
+ isReady,
4114
+ isMain,
4115
+ isNew,
4116
+ syncOne,
4117
+ saveOne,
4118
+ discardChanges,
4119
+ executeOne
4120
+ } = context.useSingle();
4121
+ const { staff } = useOperasional();
4122
+ const branchOptions = vue.computed(() => {
4123
+ var _a2;
4124
+ return {
4125
+ filter: [
4126
+ {
4127
+ handle: "_id",
4128
+ operator: "in",
4129
+ value: (_a2 = staff.value) == null ? void 0 : _a2.branchIds
4130
+ }
4131
+ ]
4132
+ };
4133
+ });
4134
+ const typeOptions = vue.computed(() => {
4135
+ return {
4136
+ filter: [
4137
+ {
4138
+ handle: "branchIds",
4139
+ operator: "in",
4140
+ value: values.value.branchIds
4141
+ }
4142
+ ]
4143
+ };
4144
+ });
4145
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
4146
+ vue.watch(
4147
+ isNew,
4148
+ (isNew2) => {
4149
+ var _a2;
4150
+ if (!isNew2)
4151
+ return;
4152
+ values.value.preparedAt = (/* @__PURE__ */ new Date()).toISOString();
4153
+ values.value.submissionStaffIds = [staffId];
4154
+ values.value.submissionStaffs = [
4155
+ {
4156
+ id: staffId,
4157
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
4158
+ }
4159
+ ];
4160
+ },
4161
+ {
4162
+ immediate: true
4163
+ }
4164
+ );
4165
+ const syncDelay = async () => {
4166
+ var _a2;
4167
+ await executeOne("delaySubmission", {
4168
+ submissionId: id.value,
4169
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4170
+ });
4171
+ await syncOne();
4172
+ };
4173
+ const syncApproved = async () => {
4174
+ var _a2;
4175
+ await executeOne("approvedSubmission", {
4176
+ submissionId: id.value,
4177
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id
4178
+ });
4179
+ await syncOne();
4180
+ };
4181
+ const appStore = context.useAppStore();
4182
+ const objectDef = vue.computed(
4183
+ () => `neu:operasional:submission:${id.value}`
4184
+ );
4185
+ return (_ctx, _cache) => {
4186
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
4187
+ default: vue.withCtx(() => [
4188
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
4189
+ default: vue.withCtx(() => [
4190
+ vue.createVNode(vue.unref(office.OfficeTab), {
4191
+ handle: "info",
4192
+ icon: "circle-info",
4193
+ title: "Info"
4194
+ }, {
4195
+ default: vue.withCtx(() => [
4196
+ vue.createVNode(vue.unref(form.NeonForm), {
4197
+ handle: "info",
4198
+ "initial-values": vue.unref(initialValues),
4199
+ "is-loading": vue.unref(isLoading),
4200
+ "is-changed": vue.unref(isChanged),
4201
+ "use-unsaved": "",
4202
+ onCancel: vue.unref(discardChanges),
4203
+ onSubmit: vue.unref(saveOne)
4204
+ }, {
4205
+ default: vue.withCtx(() => [
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
+ ]),
4280
+ _: 1
4281
+ /* STABLE */
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
+ ]),
4298
+ _: 1
4299
+ /* STABLE */
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"]]);
4099
4414
  const _hoisted_1 = { class: "flex flex-wrap" };
4100
4415
  const _hoisted_2 = { class: "mt-2" };
4101
4416
  const _hoisted_3 = { class: "mt-2" };
4102
4417
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4103
- __name: "SubmissionDecision",
4418
+ __name: "SubmissionWaitingDecision",
4104
4419
  setup(__props) {
4105
4420
  var _a;
4106
4421
  const {
@@ -4411,8 +4726,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
4411
4726
  };
4412
4727
  }
4413
4728
  });
4414
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_845d6773_lang = "";
4415
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-845d6773"]]);
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"]]);
4416
4731
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
4417
4732
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4418
4733
  ...{
@@ -4502,30 +4817,30 @@ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId
4502
4817
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4503
4818
  __proto__: null,
4504
4819
  CheckInAccess,
4505
- CheckInCollection: _sfc_main$m,
4820
+ CheckInCollection: _sfc_main$n,
4506
4821
  CheckInExternal,
4507
4822
  CheckInModel,
4508
4823
  CheckInPresenceCollection,
4509
- CheckInScanError: _sfc_main$p,
4510
- CheckInScanSuccess: _sfc_main$n,
4824
+ CheckInScanError: _sfc_main$q,
4825
+ CheckInScanSuccess: _sfc_main$o,
4511
4826
  CheckInScanner,
4512
4827
  CheckInSingle,
4513
4828
  OperasionalIdentitas,
4514
- SituationCollection: _sfc_main$h,
4829
+ SituationCollection: _sfc_main$i,
4515
4830
  SituationModel,
4516
- SituationSingle: _sfc_main$g,
4517
- SituationSupportive: _sfc_main$e,
4518
- SituationTypeCollection: _sfc_main$d,
4831
+ SituationSingle: _sfc_main$h,
4832
+ SituationSupportive: _sfc_main$f,
4833
+ SituationTypeCollection: _sfc_main$e,
4519
4834
  SituationTypeModel,
4520
- SituationTypeSingle: _sfc_main$c,
4521
- SituationWork: _sfc_main$f,
4522
- StaffCollection: _sfc_main$l,
4523
- StaffIdentity: _sfc_main$i,
4835
+ SituationTypeSingle: _sfc_main$d,
4836
+ SituationWork: _sfc_main$g,
4837
+ StaffCollection: _sfc_main$m,
4838
+ StaffIdentity: _sfc_main$j,
4524
4839
  StaffModel,
4525
4840
  StaffOperasional,
4526
4841
  StaffSingle,
4527
4842
  SubmissionAudit,
4528
- SubmissionCollection: _sfc_main$7,
4843
+ SubmissionCollection: _sfc_main$8,
4529
4844
  SubmissionDecision,
4530
4845
  SubmissionFollowUp,
4531
4846
  SubmissionModel,
@@ -4534,12 +4849,13 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
4534
4849
  SubmissionTypeCollection: _sfc_main$1,
4535
4850
  SubmissionTypeModel,
4536
4851
  SubmissionTypeSingle,
4537
- TaskCollection: _sfc_main$a,
4852
+ SubmissionWaitingDecision,
4853
+ TaskCollection: _sfc_main$b,
4538
4854
  TaskModel,
4539
- TaskSingle: _sfc_main$9,
4540
- TaskWork: _sfc_main$8,
4541
- TaskWorkButton: _sfc_main$b,
4542
- XxxButton: _sfc_main$v
4855
+ TaskSingle: _sfc_main$a,
4856
+ TaskWork: _sfc_main$9,
4857
+ TaskWorkButton: _sfc_main$c,
4858
+ XxxButton: _sfc_main$w
4543
4859
  }, Symbol.toStringTag, { value: "Module" }));
4544
4860
  function registerComponents(app) {
4545
4861
  Object.entries(components).forEach(([name, component2]) => {
@@ -4555,33 +4871,33 @@ const OperasionalInterfacesPlugin = {
4555
4871
  }
4556
4872
  };
4557
4873
  exports.CheckInAccess = CheckInAccess;
4558
- exports.CheckInCollection = _sfc_main$m;
4874
+ exports.CheckInCollection = _sfc_main$n;
4559
4875
  exports.CheckInExternal = CheckInExternal;
4560
4876
  exports.CheckInModel = CheckInModel;
4561
4877
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
4562
- exports.CheckInScanError = _sfc_main$p;
4563
- exports.CheckInScanSuccess = _sfc_main$n;
4878
+ exports.CheckInScanError = _sfc_main$q;
4879
+ exports.CheckInScanSuccess = _sfc_main$o;
4564
4880
  exports.CheckInScanner = CheckInScanner;
4565
4881
  exports.CheckInSingle = CheckInSingle;
4566
4882
  exports.NOperasional = operasional_types;
4567
4883
  exports.OperasionalIdentitas = OperasionalIdentitas;
4568
4884
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
4569
4885
  exports.Schema = graphql;
4570
- exports.SituationCollection = _sfc_main$h;
4886
+ exports.SituationCollection = _sfc_main$i;
4571
4887
  exports.SituationModel = SituationModel;
4572
- exports.SituationSingle = _sfc_main$g;
4573
- exports.SituationSupportive = _sfc_main$e;
4574
- exports.SituationTypeCollection = _sfc_main$d;
4888
+ exports.SituationSingle = _sfc_main$h;
4889
+ exports.SituationSupportive = _sfc_main$f;
4890
+ exports.SituationTypeCollection = _sfc_main$e;
4575
4891
  exports.SituationTypeModel = SituationTypeModel;
4576
- exports.SituationTypeSingle = _sfc_main$c;
4577
- exports.SituationWork = _sfc_main$f;
4578
- exports.StaffCollection = _sfc_main$l;
4579
- 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;
4580
4896
  exports.StaffModel = StaffModel;
4581
4897
  exports.StaffOperasional = StaffOperasional;
4582
4898
  exports.StaffSingle = StaffSingle;
4583
4899
  exports.SubmissionAudit = SubmissionAudit;
4584
- exports.SubmissionCollection = _sfc_main$7;
4900
+ exports.SubmissionCollection = _sfc_main$8;
4585
4901
  exports.SubmissionDecision = SubmissionDecision;
4586
4902
  exports.SubmissionFollowUp = SubmissionFollowUp;
4587
4903
  exports.SubmissionModel = SubmissionModel;
@@ -4590,12 +4906,13 @@ exports.SubmissionStaff = SubmissionStaff;
4590
4906
  exports.SubmissionTypeCollection = _sfc_main$1;
4591
4907
  exports.SubmissionTypeModel = SubmissionTypeModel;
4592
4908
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
4593
- exports.TaskCollection = _sfc_main$a;
4909
+ exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
4910
+ exports.TaskCollection = _sfc_main$b;
4594
4911
  exports.TaskModel = TaskModel;
4595
- exports.TaskSingle = _sfc_main$9;
4596
- exports.TaskWork = _sfc_main$8;
4597
- exports.TaskWorkButton = _sfc_main$b;
4598
- 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;
4599
4916
  exports.bus = bus;
4600
4917
  exports.useAttendanceStore = useAttendanceStore;
4601
4918
  exports.useOperasional = useOperasional;