@neutron.co.id/operasional-interfaces 1.8.4 → 1.8.5

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
@@ -32,8 +32,8 @@ const Scanner = require("qr-scanner");
32
32
  const mitt = require("mitt");
33
33
  const personaliaModels = require("@neutron.co.id/personalia-models");
34
34
  const catatInterfaces = require("@neon.id/catat-interfaces");
35
- const _hoisted_1$m = { class: "xxx-button" };
36
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
35
+ const _hoisted_1$p = { class: "xxx-button" };
36
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
37
37
  ...{ name: "XxxButton" },
38
38
  __name: "XxxButton",
39
39
  props: {
@@ -44,18 +44,18 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
44
44
  },
45
45
  setup(__props) {
46
46
  return (_ctx, _cache) => {
47
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
47
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
48
48
  vue.createVNode(vue.unref(interfaces.NeonButton), { label: "XXX" })
49
49
  ]);
50
50
  };
51
51
  }
52
52
  });
53
- const _hoisted_1$l = { class: "operasional-identitas" };
54
- const _hoisted_2$g = {
53
+ const _hoisted_1$o = { class: "operasional-identitas" };
54
+ const _hoisted_2$h = {
55
55
  key: 2,
56
56
  class: "section"
57
57
  };
58
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
58
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
59
59
  ...{ name: "OperasionalIdentitas" },
60
60
  __name: "OperasionalIdentitas",
61
61
  props: {
@@ -310,7 +310,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
310
310
  candidateId.value = null;
311
311
  }
312
312
  return (_ctx, _cache) => {
313
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
313
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
314
314
  state.value === "connect" ? (vue.openBlock(), vue.createBlock(vue.unref(identitasInterfaces.IdentitasConnect), {
315
315
  key: 0,
316
316
  user: user.value,
@@ -362,7 +362,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
362
362
  _: 1
363
363
  /* STABLE */
364
364
  }, 8, ["initial-values", "is-loading", "errors"])) : vue.createCommentVNode("v-if", true),
365
- user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
365
+ user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$h, [
366
366
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
367
367
  "is-dashed": "",
368
368
  label: "Delegasi",
@@ -411,7 +411,7 @@ const _export_sfc = (sfc, props) => {
411
411
  }
412
412
  return target;
413
413
  };
414
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-355c8370"]]);
414
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-355c8370"]]);
415
415
  dayjs.extend(durationPlugin);
416
416
  dayjs.extend(relativeTimePlugin);
417
417
  dayjs.extend(advancedFormat);
@@ -423,21 +423,21 @@ class DateUtil {
423
423
  }
424
424
  }
425
425
  const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-805321b9"), n = n(), vue.popScopeId(), n);
426
- const _hoisted_1$k = {
426
+ const _hoisted_1$n = {
427
427
  key: 0,
428
428
  class: "input-loading"
429
429
  };
430
- const _hoisted_2$f = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
430
+ const _hoisted_2$g = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
431
431
  "div",
432
432
  { class: "loading placeholder-block placeholder-wave" },
433
433
  null,
434
434
  -1
435
435
  /* HOISTED */
436
436
  ));
437
- const _hoisted_3$7 = [
438
- _hoisted_2$f
437
+ const _hoisted_3$8 = [
438
+ _hoisted_2$g
439
439
  ];
440
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
440
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
441
441
  __name: "NeonTime",
442
442
  props: {
443
443
  modelValue: {
@@ -474,7 +474,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
474
474
  class: vue.normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
475
475
  },
476
476
  [
477
- __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, _hoisted_3$7)) : (vue.openBlock(), vue.createBlock(vue.unref(vCalendar.DatePicker), vue.mergeProps({
477
+ __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, _hoisted_3$8)) : (vue.openBlock(), vue.createBlock(vue.unref(vCalendar.DatePicker), vue.mergeProps({
478
478
  key: 1,
479
479
  "model-value": internalValue.value
480
480
  }, {
@@ -498,7 +498,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
498
498
  });
499
499
  const NeonTime_vue_vue_type_style_index_0_scoped_805321b9_lang = "";
500
500
  const NeonTime_vue_vue_type_style_index_1_lang = "";
501
- const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-805321b9"]]);
501
+ const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-805321b9"]]);
502
502
  const CheckInModel = tempatModels.models.CheckInModel;
503
503
  const useOperasionalStore = pinia.defineStore("neu:operasional", () => {
504
504
  const isLoading = vue.ref(false);
@@ -641,12 +641,12 @@ function withOperasional() {
641
641
  }
642
642
  }
643
643
  const bus = mitt();
644
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-ee60c24a"), n = n(), vue.popScopeId(), n);
645
- const _hoisted_1$j = { id: "view-checkIns" };
646
- const _hoisted_2$e = { class: "summary" };
647
- const _hoisted_3$6 = { class: "wrapper" };
648
- const _hoisted_4$4 = { class: "header" };
649
- const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
644
+ const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-8637aebc"), n = n(), vue.popScopeId(), n);
645
+ const _hoisted_1$m = { id: "view-checkIns" };
646
+ const _hoisted_2$f = { class: "summary" };
647
+ const _hoisted_3$7 = { class: "wrapper" };
648
+ const _hoisted_4$5 = { class: "header" };
649
+ const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
650
650
  "div",
651
651
  { class: "start" },
652
652
  [
@@ -656,8 +656,8 @@ const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
656
656
  -1
657
657
  /* HOISTED */
658
658
  ));
659
- const _hoisted_6$2 = { class: "end" };
660
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
659
+ const _hoisted_6$3 = { class: "end" };
660
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
661
661
  ...{
662
662
  name: "CheckInPresenceCollection"
663
663
  },
@@ -757,6 +757,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
757
757
  id.value = await checkInStaff(data, type.value, (_a = staff.value) == null ? void 0 : _a.id);
758
758
  }
759
759
  async function checkInStaff(qrKey, type2, staffId) {
760
+ var _a;
760
761
  const toastId = "neu:personalia:staff:checkIn";
761
762
  let checkInId;
762
763
  console.log("bangunan...", qrKey);
@@ -767,7 +768,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
767
768
  userId: userId.value,
768
769
  staffId,
769
770
  key: qrKey,
770
- type: type2
771
+ type: type2,
772
+ branchId: (_a = staff.value) == null ? void 0 : _a.branchId
771
773
  }
772
774
  }).toPromise();
773
775
  const data = resp.data.executeCheckIn.output;
@@ -812,14 +814,14 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
812
814
  return (_ctx, _cache) => {
813
815
  const _component_CheckInSingleExternalView = vue.resolveComponent("CheckInSingleExternalView");
814
816
  const _component_CheckInCollection = vue.resolveComponent("CheckInCollection");
815
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
817
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
816
818
  vue.createVNode(vue.unref(office.OfficeContent), {
817
819
  icon: "barcode-read",
818
820
  title: "Presensi",
819
821
  "is-expanded": ""
820
822
  }, {
821
823
  "header-detail": vue.withCtx(() => [
822
- vue.createElementVNode("div", _hoisted_2$e, [
824
+ vue.createElementVNode("div", _hoisted_2$f, [
823
825
  vue.createVNode(vue.unref(interfaces.NeonSlider), {
824
826
  "per-view": 2,
825
827
  gap: 16,
@@ -967,7 +969,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
967
969
  ])
968
970
  ]),
969
971
  default: vue.withCtx(() => [
970
- vue.createElementVNode("div", _hoisted_3$6, [
972
+ vue.createElementVNode("div", _hoisted_3$7, [
971
973
  vue.createVNode(vue.unref(context.NeonCollectionContext), {
972
974
  definition: "neu:tempat:checkIn",
973
975
  scope: "_checkIns",
@@ -982,9 +984,9 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
982
984
  "is-main": ""
983
985
  }, {
984
986
  default: vue.withCtx(() => [
985
- vue.createElementVNode("div", _hoisted_4$4, [
986
- _hoisted_5$3,
987
- vue.createElementVNode("div", _hoisted_6$2, [
987
+ vue.createElementVNode("div", _hoisted_4$5, [
988
+ _hoisted_5$4,
989
+ vue.createElementVNode("div", _hoisted_6$3, [
988
990
  vue.createVNode(vue.unref(office.OfficeCollectionQuery), { displays: ["table"] }, {
989
991
  default: vue.withCtx(() => [
990
992
  vue.createVNode(vue.unref(office.OfficeCollectionOperation), { "is-main": "" })
@@ -1009,10 +1011,10 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
1009
1011
  };
1010
1012
  }
1011
1013
  });
1012
- const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_ee60c24a_lang = "";
1013
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-ee60c24a"]]);
1014
- const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
1015
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
1014
+ const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_8637aebc_lang = "";
1015
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-8637aebc"]]);
1016
+ const _hoisted_1$l = { class: "grid gap-4 sm:grid-cols-2" };
1017
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
1016
1018
  __name: "CheckInSingle",
1017
1019
  setup(__props) {
1018
1020
  const {
@@ -1070,7 +1072,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
1070
1072
  field: vue.unref(fields).building,
1071
1073
  "is-disabled": ""
1072
1074
  }, null, 8, ["modelValue", "field"]),
1073
- vue.createElementVNode("div", _hoisted_1$i, [
1075
+ vue.createElementVNode("div", _hoisted_1$l, [
1074
1076
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1075
1077
  modelValue: vue.unref(values).type,
1076
1078
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -1110,9 +1112,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
1110
1112
  }
1111
1113
  });
1112
1114
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
1113
- const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-2e2803fb"]]);
1114
- const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
1115
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
1115
+ const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-2e2803fb"]]);
1116
+ const _hoisted_1$k = { class: "grid gap-4 sm:grid-cols-2" };
1117
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
1116
1118
  __name: "CheckInExternal",
1117
1119
  setup(__props) {
1118
1120
  const {
@@ -1177,15 +1179,16 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
1177
1179
  modelValue: vue.unref(values),
1178
1180
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
1179
1181
  field: vue.unref(fields).building,
1180
- "is-disabled": vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout"
1182
+ "is-disabled": vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout" || vue.unref(values).type === "out"
1181
1183
  }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
1182
- vue.createElementVNode("div", _hoisted_1$h, [
1184
+ vue.createElementVNode("div", _hoisted_1$k, [
1183
1185
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1184
1186
  modelValue: vue.unref(values).type,
1185
1187
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
1186
1188
  }, vue.unref(fields).type, {
1187
- "is-disabled": !vue.unref(permit).isAny(["neu:cabangOperasional", "neu:admin"])
1189
+ "is-disabled": vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout" || vue.unref(values).type === "out" || vue.unref(values).type === "checkpoint"
1188
1190
  }), null, 16, ["modelValue", "is-disabled"]),
1191
+ vue.createCommentVNode(" !permit.isAny(['neu:cabangOperasional', 'neu:admin']) "),
1189
1192
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1190
1193
  modelValue: vue.unref(values).checkInAt,
1191
1194
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).checkInAt = $event)
@@ -1224,17 +1227,17 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
1224
1227
  };
1225
1228
  }
1226
1229
  });
1227
- const CheckInExternal_vue_vue_type_style_index_0_scoped_dcdbc71a_lang = "";
1228
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-dcdbc71a"]]);
1230
+ const CheckInExternal_vue_vue_type_style_index_0_scoped_a269bce2_lang = "";
1231
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-a269bce2"]]);
1229
1232
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d23b6de5"), n = n(), vue.popScopeId(), n);
1230
- const _hoisted_1$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1233
+ const _hoisted_1$j = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1231
1234
  "h4",
1232
1235
  { align: "center" },
1233
1236
  "Aktifkan kamera untuk scan QR Code",
1234
1237
  -1
1235
1238
  /* HOISTED */
1236
1239
  ));
1237
- const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1240
+ const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1238
1241
  "p",
1239
1242
  { align: "center" },
1240
1243
  [
@@ -1245,7 +1248,7 @@ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
1245
1248
  -1
1246
1249
  /* HOISTED */
1247
1250
  ));
1248
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
1251
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
1249
1252
  __name: "CheckInAccess",
1250
1253
  emits: ["close"],
1251
1254
  setup(__props) {
@@ -1270,8 +1273,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
1270
1273
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1271
1274
  }, {
1272
1275
  default: vue.withCtx(() => [
1273
- _hoisted_1$g,
1274
- _hoisted_2$d,
1276
+ _hoisted_1$j,
1277
+ _hoisted_2$e,
1275
1278
  vue.createVNode(vue.unref(interfaces.NeonButton), {
1276
1279
  "is-full": "",
1277
1280
  size: "md",
@@ -1298,9 +1301,9 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
1298
1301
  }
1299
1302
  });
1300
1303
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1301
- const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-d23b6de5"]]);
1302
- const _hoisted_1$f = { class: "buttons" };
1303
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
1304
+ const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-d23b6de5"]]);
1305
+ const _hoisted_1$i = { class: "buttons" };
1306
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
1304
1307
  __name: "CheckInScanError",
1305
1308
  setup(__props) {
1306
1309
  const attendanceStore = useAttendanceStore();
@@ -1313,7 +1316,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
1313
1316
  default: vue.withCtx(() => [
1314
1317
  vue.createVNode(vue.unref(interfaces.NeonSheet), null, {
1315
1318
  footer: vue.withCtx(() => [
1316
- vue.createElementVNode("div", _hoisted_1$f, [
1319
+ vue.createElementVNode("div", _hoisted_1$i, [
1317
1320
  vue.createVNode(vue.unref(interfaces.NeonButton), {
1318
1321
  "is-full": "",
1319
1322
  "is-rounded": "",
@@ -1348,23 +1351,23 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
1348
1351
  }
1349
1352
  });
1350
1353
  const _withScopeId = (n) => (vue.pushScopeId("data-v-ef426ef3"), n = n(), vue.popScopeId(), n);
1351
- const _hoisted_1$e = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1354
+ const _hoisted_1$h = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1352
1355
  "div",
1353
1356
  { class: "invalid-message" },
1354
1357
  "Invalid Code!",
1355
1358
  -1
1356
1359
  /* HOISTED */
1357
1360
  ));
1358
- const _hoisted_2$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1361
+ const _hoisted_2$d = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1359
1362
  "div",
1360
1363
  null,
1361
1364
  null,
1362
1365
  -1
1363
1366
  /* HOISTED */
1364
1367
  ));
1365
- const _hoisted_3$5 = ["onClick"];
1366
- const _hoisted_4$3 = { class: "mr-2 text-sm" };
1367
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1368
+ const _hoisted_3$6 = ["onClick"];
1369
+ const _hoisted_4$4 = { class: "mr-2 text-sm" };
1370
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
1368
1371
  __name: "CheckInScanner",
1369
1372
  emits: ["start", "stop", "scanned", "close"],
1370
1373
  setup(__props, { emit }) {
@@ -1509,15 +1512,15 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1509
1512
  class: "inner",
1510
1513
  onClick: switchCamera
1511
1514
  }, [
1512
- _hoisted_1$e,
1513
- _hoisted_2$c,
1515
+ _hoisted_1$h,
1516
+ _hoisted_2$d,
1514
1517
  vue.createElementVNode("div", {
1515
1518
  class: "button-switch",
1516
1519
  onClick: vue.withModifiers(switchCamera, ["stop"])
1517
1520
  }, [
1518
1521
  vue.createElementVNode(
1519
1522
  "div",
1520
- _hoisted_4$3,
1523
+ _hoisted_4$4,
1521
1524
  vue.toDisplayString(currentCamera.value),
1522
1525
  1
1523
1526
  /* TEXT */
@@ -1528,7 +1531,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1528
1531
  size: "sm",
1529
1532
  "is-disabled": !canSwitch.value
1530
1533
  }, null, 8, ["is-disabled"])
1531
- ], 8, _hoisted_3$5)
1534
+ ], 8, _hoisted_3$6)
1532
1535
  ])
1533
1536
  ],
1534
1537
  2
@@ -1546,15 +1549,15 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1546
1549
  }
1547
1550
  });
1548
1551
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1549
- const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-ef426ef3"]]);
1550
- const _hoisted_1$d = /* @__PURE__ */ vue.createElementVNode(
1552
+ const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-ef426ef3"]]);
1553
+ const _hoisted_1$g = /* @__PURE__ */ vue.createElementVNode(
1551
1554
  "h3",
1552
1555
  { align: "center" },
1553
1556
  "Presensi Berhasil!",
1554
1557
  -1
1555
1558
  /* HOISTED */
1556
1559
  );
1557
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1560
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
1558
1561
  __name: "CheckInScanSuccess",
1559
1562
  emits: ["close"],
1560
1563
  setup(__props) {
@@ -1574,7 +1577,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1574
1577
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1575
1578
  }, {
1576
1579
  default: vue.withCtx(() => [
1577
- _hoisted_1$d
1580
+ _hoisted_1$g
1578
1581
  ]),
1579
1582
  _: 1
1580
1583
  /* STABLE */
@@ -1586,7 +1589,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1586
1589
  };
1587
1590
  }
1588
1591
  });
1589
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1592
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
1590
1593
  ...{
1591
1594
  name: "CheckInCollection"
1592
1595
  },
@@ -1604,8 +1607,124 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1604
1607
  };
1605
1608
  }
1606
1609
  });
1610
+ const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-2" };
1611
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
1612
+ __name: "CheckInSupervisor",
1613
+ setup(__props) {
1614
+ const {
1615
+ fields,
1616
+ id,
1617
+ initialValues,
1618
+ values,
1619
+ isLoading,
1620
+ isChanged,
1621
+ isReady,
1622
+ isMain,
1623
+ isNew,
1624
+ saveOne,
1625
+ discardChanges,
1626
+ getOne
1627
+ } = context.useSingle();
1628
+ const route = vueRouter.useRoute();
1629
+ const permit = context.usePermit();
1630
+ const { staff } = useOperasional();
1631
+ const isOperasional = vue.computed(() => {
1632
+ var _a;
1633
+ return (_a = route.name) == null ? void 0 : _a.includes("rapor");
1634
+ });
1635
+ vue.onMounted(() => {
1636
+ var _a, _b, _c;
1637
+ console.log("idnya?", id.value);
1638
+ if (id.value === "new" && isOperasional) {
1639
+ values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
1640
+ values.value.staff = {
1641
+ id: (_b = staff.value) == null ? void 0 : _b.id,
1642
+ display: (_c = staff.value) == null ? void 0 : _c.display
1643
+ };
1644
+ values.value.checkInAt = (/* @__PURE__ */ new Date()).toISOString();
1645
+ values.value.type = "checkpoint";
1646
+ } else {
1647
+ values.value.checkInAt = (/* @__PURE__ */ new Date()).toISOString();
1648
+ }
1649
+ });
1650
+ return (_ctx, _cache) => {
1651
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-checkIn-single" }, {
1652
+ default: vue.withCtx(() => [
1653
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
1654
+ default: vue.withCtx(() => [
1655
+ vue.createVNode(vue.unref(office.OfficeTab), {
1656
+ handle: "info",
1657
+ icon: "circle-info",
1658
+ title: "Info"
1659
+ }, {
1660
+ default: vue.withCtx(() => [
1661
+ vue.createVNode(vue.unref(form.NeonForm), {
1662
+ handle: "info",
1663
+ "initial-values": vue.unref(initialValues),
1664
+ "is-loading": vue.unref(isLoading),
1665
+ "is-changed": vue.unref(isChanged),
1666
+ "use-unsaved": "",
1667
+ onCancel: vue.unref(discardChanges),
1668
+ onSubmit: vue.unref(saveOne)
1669
+ }, {
1670
+ default: vue.withCtx(() => [
1671
+ vue.unref(values).type === "in" || vue.unref(values).type === "out" || vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout" ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
1672
+ key: 0,
1673
+ modelValue: vue.unref(values),
1674
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
1675
+ field: vue.unref(fields).building,
1676
+ "is-disabled": vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout" || vue.unref(values).type === "out"
1677
+ }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
1678
+ vue.createElementVNode("div", _hoisted_1$f, [
1679
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1680
+ modelValue: vue.unref(values).type,
1681
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
1682
+ }, vue.unref(fields).type, {
1683
+ "is-disabled": vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout" || vue.unref(values).type === "out" || vue.unref(values).type === "checkpoint"
1684
+ }), null, 16, ["modelValue", "is-disabled"]),
1685
+ vue.createCommentVNode(" !permit.isAny(['neu:cabangOperasional', 'neu:admin']) "),
1686
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1687
+ modelValue: vue.unref(values).checkInAt,
1688
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).checkInAt = $event)
1689
+ }, vue.unref(fields).checkInAt, { "is-disabled": "" }), null, 16, ["modelValue"])
1690
+ ]),
1691
+ vue.createVNode(vue.unref(office.OfficeRelation), {
1692
+ modelValue: vue.unref(values),
1693
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
1694
+ field: vue.unref(fields).staff,
1695
+ "is-disabled": !vue.unref(permit).isAny([
1696
+ "neu:cabangOperasional",
1697
+ "neu:admin",
1698
+ "neu:karyawan"
1699
+ ])
1700
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
1701
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1702
+ modelValue: vue.unref(values).note,
1703
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).note = $event)
1704
+ }, vue.unref(fields).note), null, 16, ["modelValue"])
1705
+ ]),
1706
+ _: 1
1707
+ /* STABLE */
1708
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
1709
+ ]),
1710
+ _: 1
1711
+ /* STABLE */
1712
+ })
1713
+ ]),
1714
+ _: 1
1715
+ /* STABLE */
1716
+ }, 8, ["use-url"])
1717
+ ]),
1718
+ _: 1
1719
+ /* STABLE */
1720
+ });
1721
+ };
1722
+ }
1723
+ });
1724
+ const CheckInSupervisor_vue_vue_type_style_index_0_scoped_235231fa_lang = "";
1725
+ const CheckInSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-235231fa"]]);
1607
1726
  const StaffModel = personaliaModels.models.StaffModel;
1608
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1727
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
1609
1728
  ...{
1610
1729
  name: "StaffCollection"
1611
1730
  },
@@ -1623,9 +1742,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1623
1742
  };
1624
1743
  }
1625
1744
  });
1626
- const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1627
- const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
1628
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1745
+ const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1746
+ const _hoisted_2$c = { class: "grid gap-4 sm:grid-cols-2" };
1747
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1629
1748
  __name: "StaffSingle",
1630
1749
  setup(__props) {
1631
1750
  const {
@@ -1662,7 +1781,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1662
1781
  onSubmit: vue.unref(saveOne)
1663
1782
  }, {
1664
1783
  default: vue.withCtx(() => [
1665
- vue.createElementVNode("div", _hoisted_1$c, [
1784
+ vue.createElementVNode("div", _hoisted_1$e, [
1666
1785
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1667
1786
  modelValue: vue.unref(values).name,
1668
1787
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -1672,7 +1791,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1672
1791
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
1673
1792
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
1674
1793
  ]),
1675
- vue.createElementVNode("div", _hoisted_2$b, [
1794
+ vue.createElementVNode("div", _hoisted_2$c, [
1676
1795
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1677
1796
  modelValue: vue.unref(values).birthPlace,
1678
1797
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -1705,7 +1824,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1705
1824
  title: "Identitas"
1706
1825
  }, {
1707
1826
  default: vue.withCtx(() => [
1708
- vue.createVNode(vue.unref(_sfc_main$J))
1827
+ vue.createVNode(vue.unref(_sfc_main$N))
1709
1828
  ]),
1710
1829
  _: 1
1711
1830
  /* STABLE */
@@ -1776,10 +1895,10 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1776
1895
  }
1777
1896
  });
1778
1897
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1779
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-0cf4cd99"]]);
1780
- const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1781
- const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
1782
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1898
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-0cf4cd99"]]);
1899
+ const _hoisted_1$d = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1900
+ const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
1901
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1783
1902
  __name: "StaffOperasional",
1784
1903
  setup(__props) {
1785
1904
  const {
@@ -1816,7 +1935,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1816
1935
  onSubmit: vue.unref(saveOne)
1817
1936
  }, {
1818
1937
  default: vue.withCtx(() => [
1819
- vue.createElementVNode("div", _hoisted_1$b, [
1938
+ vue.createElementVNode("div", _hoisted_1$d, [
1820
1939
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1821
1940
  modelValue: vue.unref(values).name,
1822
1941
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -1826,7 +1945,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1826
1945
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
1827
1946
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
1828
1947
  ]),
1829
- vue.createElementVNode("div", _hoisted_2$a, [
1948
+ vue.createElementVNode("div", _hoisted_2$b, [
1830
1949
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1831
1950
  modelValue: vue.unref(values).birthPlace,
1832
1951
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -1859,7 +1978,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1859
1978
  title: "Identitas"
1860
1979
  }, {
1861
1980
  default: vue.withCtx(() => [
1862
- vue.createVNode(vue.unref(_sfc_main$J))
1981
+ vue.createVNode(vue.unref(_sfc_main$N))
1863
1982
  ]),
1864
1983
  _: 1
1865
1984
  /* STABLE */
@@ -1937,8 +2056,8 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1937
2056
  }
1938
2057
  });
1939
2058
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
1940
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-c62cf70a"]]);
1941
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
2059
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-c62cf70a"]]);
2060
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1942
2061
  __name: "StaffIdentity",
1943
2062
  setup(__props) {
1944
2063
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -2026,7 +2145,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
2026
2145
  // OPERASIONAL
2027
2146
  {
2028
2147
  id: "64a686ba3fe0bb481faa0f8b",
2029
- name: "Pengelola Tanggungjawab"
2148
+ name: "Pengelola SDM"
2030
2149
  },
2031
2150
  {
2032
2151
  id: "64a687823fe0bb481faa0fba",
@@ -2034,7 +2153,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
2034
2153
  },
2035
2154
  {
2036
2155
  id: "64a687b93fe0bb481faa0fd6",
2037
- name: "Pengawas Progress"
2156
+ name: "Pengawas SDM"
2038
2157
  },
2039
2158
  {
2040
2159
  id: "64a687ed3fe0bb481faa0ff2",
@@ -2112,7 +2231,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
2112
2231
  }
2113
2232
  });
2114
2233
  const SituationModel = personaliaModels.models.SituationModel;
2115
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
2234
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
2116
2235
  ...{ name: "SituationCollection" },
2117
2236
  __name: "SituationCollection",
2118
2237
  setup(__props) {
@@ -2128,7 +2247,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
2128
2247
  };
2129
2248
  }
2130
2249
  });
2131
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
2250
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
2132
2251
  __name: "SituationSingle",
2133
2252
  setup(__props) {
2134
2253
  const {
@@ -2266,7 +2385,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
2266
2385
  };
2267
2386
  }
2268
2387
  });
2269
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
2388
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
2270
2389
  __name: "SituationWork",
2271
2390
  setup(__props) {
2272
2391
  const {
@@ -2447,7 +2566,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
2447
2566
  };
2448
2567
  }
2449
2568
  });
2450
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2569
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
2451
2570
  ...{ name: "SituationSupportive" },
2452
2571
  __name: "SituationSupportive",
2453
2572
  setup(__props) {
@@ -2586,7 +2705,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2586
2705
  }
2587
2706
  });
2588
2707
  const SituationTypeModel = personaliaModels.models.SituationTypeModel;
2589
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2708
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
2590
2709
  ...{ name: "SituationTypeCollection" },
2591
2710
  __name: "SituationTypeCollection",
2592
2711
  setup(__props) {
@@ -2602,7 +2721,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2602
2721
  };
2603
2722
  }
2604
2723
  });
2605
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2724
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
2606
2725
  __name: "SituationTypeSingle",
2607
2726
  setup(__props) {
2608
2727
  const {
@@ -2675,9 +2794,9 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2675
2794
  }
2676
2795
  });
2677
2796
  const TaskModel = personaliaModels.models.TaskModel;
2678
- const _hoisted_1$a = { key: 0 };
2679
- const _hoisted_2$9 = { key: 1 };
2680
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2797
+ const _hoisted_1$c = { key: 0 };
2798
+ const _hoisted_2$a = { key: 1 };
2799
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
2681
2800
  ...{ name: "TaskWorkButton" },
2682
2801
  __name: "TaskWorkButton",
2683
2802
  setup(__props) {
@@ -2770,7 +2889,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2770
2889
  vue.Fragment,
2771
2890
  null,
2772
2891
  [
2773
- onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
2892
+ onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
2774
2893
  vue.createVNode(vue.unref(interfaces.NeonButton), {
2775
2894
  "is-rounded": true,
2776
2895
  size: "sm",
@@ -2780,7 +2899,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2780
2899
  onClick: onClickHandlerStartTaskWork
2781
2900
  })
2782
2901
  ])) : vue.createCommentVNode("v-if", true),
2783
- onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
2902
+ onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, [
2784
2903
  vue.createVNode(vue.unref(interfaces.NeonButton), {
2785
2904
  "is-rounded": true,
2786
2905
  size: "sm",
@@ -2798,7 +2917,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2798
2917
  };
2799
2918
  }
2800
2919
  });
2801
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2920
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2802
2921
  ...{ name: "TaskCollection" },
2803
2922
  __name: "TaskCollection",
2804
2923
  setup(__props) {
@@ -2814,7 +2933,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2814
2933
  };
2815
2934
  }
2816
2935
  });
2817
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2936
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2818
2937
  __name: "TaskSingle",
2819
2938
  setup(__props) {
2820
2939
  const {
@@ -3037,7 +3156,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
3037
3156
  };
3038
3157
  }
3039
3158
  });
3040
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
3159
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
3041
3160
  __name: "TaskWork",
3042
3161
  setup(__props) {
3043
3162
  const {
@@ -3260,7 +3379,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
3260
3379
  }
3261
3380
  });
3262
3381
  const SubmissionModel = personaliaModels.models.SubmissionModel;
3263
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
3382
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
3264
3383
  ...{
3265
3384
  name: "SubmissionCollection"
3266
3385
  },
@@ -3278,7 +3397,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
3278
3397
  };
3279
3398
  }
3280
3399
  });
3281
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
3400
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
3282
3401
  __name: "SubmissionSingle",
3283
3402
  setup(__props) {
3284
3403
  const {
@@ -3476,8 +3595,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
3476
3595
  }
3477
3596
  });
3478
3597
  const SubmissionSingle_vue_vue_type_style_index_0_scoped_db121b49_lang = "";
3479
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-db121b49"]]);
3480
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
3598
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-db121b49"]]);
3599
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
3481
3600
  __name: "SubmissionStaff",
3482
3601
  setup(__props) {
3483
3602
  var _a;
@@ -3761,8 +3880,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
3761
3880
  }
3762
3881
  });
3763
3882
  const SubmissionStaff_vue_vue_type_style_index_0_scoped_c971a3c0_lang = "";
3764
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-c971a3c0"]]);
3765
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
3883
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-c971a3c0"]]);
3884
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
3766
3885
  __name: "SubmissionFollowUp",
3767
3886
  setup(__props) {
3768
3887
  const {
@@ -3954,13 +4073,13 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
3954
4073
  }
3955
4074
  });
3956
4075
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_890dfdf2_lang = "";
3957
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-890dfdf2"]]);
3958
- const _hoisted_1$9 = { class: "flex flex-wrap" };
3959
- const _hoisted_2$8 = { class: "mt-2" };
3960
- const _hoisted_3$4 = { class: "mt-2" };
3961
- const _hoisted_4$2 = { class: "mt-2" };
3962
- const _hoisted_5$2 = { class: "mt-2" };
3963
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
4076
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-890dfdf2"]]);
4077
+ const _hoisted_1$b = { class: "flex flex-wrap" };
4078
+ const _hoisted_2$9 = { class: "mt-2" };
4079
+ const _hoisted_3$5 = { class: "mt-2" };
4080
+ const _hoisted_4$3 = { class: "mt-2" };
4081
+ const _hoisted_5$3 = { class: "mt-2" };
4082
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
3964
4083
  __name: "SubmissionAudit",
3965
4084
  setup(__props) {
3966
4085
  var _a;
@@ -4064,8 +4183,8 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
4064
4183
  onSubmit: vue.unref(saveOne)
4065
4184
  }, {
4066
4185
  default: vue.withCtx(() => [
4067
- vue.createElementVNode("div", _hoisted_1$9, [
4068
- vue.createElementVNode("div", _hoisted_2$8, [
4186
+ vue.createElementVNode("div", _hoisted_1$b, [
4187
+ vue.createElementVNode("div", _hoisted_2$9, [
4069
4188
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4070
4189
  input: vue.withCtx(() => [
4071
4190
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4087,7 +4206,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
4087
4206
  })) : vue.createCommentVNode("v-if", true)
4088
4207
  ]),
4089
4208
  vue.createTextVNode("    "),
4090
- vue.createElementVNode("div", _hoisted_3$4, [
4209
+ vue.createElementVNode("div", _hoisted_3$5, [
4091
4210
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4092
4211
  input: vue.withCtx(() => [
4093
4212
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4109,7 +4228,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
4109
4228
  })) : vue.createCommentVNode("v-if", true)
4110
4229
  ]),
4111
4230
  vue.createTextVNode("    "),
4112
- vue.createElementVNode("div", _hoisted_4$2, [
4231
+ vue.createElementVNode("div", _hoisted_4$3, [
4113
4232
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4114
4233
  input: vue.withCtx(() => [
4115
4234
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4131,7 +4250,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
4131
4250
  })) : vue.createCommentVNode("v-if", true)
4132
4251
  ]),
4133
4252
  vue.createTextVNode("    "),
4134
- vue.createElementVNode("div", _hoisted_5$2, [
4253
+ vue.createElementVNode("div", _hoisted_5$3, [
4135
4254
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4136
4255
  input: vue.withCtx(() => [
4137
4256
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4364,11 +4483,11 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
4364
4483
  }
4365
4484
  });
4366
4485
  const SubmissionAudit_vue_vue_type_style_index_0_scoped_0478202c_lang = "";
4367
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-0478202c"]]);
4368
- const _hoisted_1$8 = { class: "flex flex-wrap" };
4369
- const _hoisted_2$7 = { class: "mt-2" };
4370
- const _hoisted_3$3 = { class: "mt-2" };
4371
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
4486
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0478202c"]]);
4487
+ const _hoisted_1$a = { class: "flex flex-wrap" };
4488
+ const _hoisted_2$8 = { class: "mt-2" };
4489
+ const _hoisted_3$4 = { class: "mt-2" };
4490
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
4372
4491
  __name: "SubmissionDecision",
4373
4492
  setup(__props) {
4374
4493
  var _a;
@@ -4472,8 +4591,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
4472
4591
  onSubmit: vue.unref(saveOne)
4473
4592
  }, {
4474
4593
  default: vue.withCtx(() => [
4475
- vue.createElementVNode("div", _hoisted_1$8, [
4476
- vue.createElementVNode("div", _hoisted_2$7, [
4594
+ vue.createElementVNode("div", _hoisted_1$a, [
4595
+ vue.createElementVNode("div", _hoisted_2$8, [
4477
4596
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4478
4597
  input: vue.withCtx(() => {
4479
4598
  var _a2, _b;
@@ -4498,7 +4617,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
4498
4617
  })) : vue.createCommentVNode("v-if", true)
4499
4618
  ]),
4500
4619
  vue.createTextVNode("    "),
4501
- vue.createElementVNode("div", _hoisted_3$3, [
4620
+ vue.createElementVNode("div", _hoisted_3$4, [
4502
4621
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4503
4622
  input: vue.withCtx(() => {
4504
4623
  var _a2, _b;
@@ -4736,11 +4855,11 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
4736
4855
  }
4737
4856
  });
4738
4857
  const SubmissionDecision_vue_vue_type_style_index_0_scoped_59b0701c_lang = "";
4739
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-59b0701c"]]);
4740
- const _hoisted_1$7 = { class: "flex flex-wrap" };
4741
- const _hoisted_2$6 = { class: "mt-2" };
4742
- const _hoisted_3$2 = { class: "mt-2" };
4743
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
4858
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59b0701c"]]);
4859
+ const _hoisted_1$9 = { class: "flex flex-wrap" };
4860
+ const _hoisted_2$7 = { class: "mt-2" };
4861
+ const _hoisted_3$3 = { class: "mt-2" };
4862
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
4744
4863
  __name: "SubmissionWaitingDecision",
4745
4864
  setup(__props) {
4746
4865
  var _a;
@@ -4846,8 +4965,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
4846
4965
  onSubmit: vue.unref(saveOne)
4847
4966
  }, {
4848
4967
  default: vue.withCtx(() => [
4849
- vue.createElementVNode("div", _hoisted_1$7, [
4850
- vue.createElementVNode("div", _hoisted_2$6, [
4968
+ vue.createElementVNode("div", _hoisted_1$9, [
4969
+ vue.createElementVNode("div", _hoisted_2$7, [
4851
4970
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4852
4971
  input: vue.withCtx(() => {
4853
4972
  var _a2, _b;
@@ -4872,7 +4991,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
4872
4991
  })) : vue.createCommentVNode("v-if", true)
4873
4992
  ]),
4874
4993
  vue.createTextVNode("    "),
4875
- vue.createElementVNode("div", _hoisted_3$2, [
4994
+ vue.createElementVNode("div", _hoisted_3$3, [
4876
4995
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4877
4996
  input: vue.withCtx(() => {
4878
4997
  var _a2, _b;
@@ -5066,28 +5185,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
5066
5185
  }
5067
5186
  });
5068
5187
  const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_1f81ee74_lang = "";
5069
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-1f81ee74"]]);
5070
- const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
5071
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
5072
- ...{
5073
- name: "SubmissionTypeCollection"
5074
- },
5075
- __name: "SubmissionTypeCollection",
5076
- setup(__props) {
5077
- context.useCollection();
5078
- return (_ctx, _cache) => {
5079
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-submission-type-collection" }, {
5080
- default: vue.withCtx(() => [
5081
- vue.createVNode(vue.unref(office.OfficeCollectionTable))
5082
- ]),
5083
- _: 1
5084
- /* STABLE */
5085
- });
5086
- };
5087
- }
5088
- });
5089
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
5090
- __name: "SubmissionTypeSingle",
5188
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-1f81ee74"]]);
5189
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
5190
+ __name: "SubmissionSupervisor",
5091
5191
  setup(__props) {
5092
5192
  const {
5093
5193
  fields,
@@ -5099,11 +5199,17 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
5099
5199
  isReady,
5100
5200
  isMain,
5101
5201
  isNew,
5202
+ syncOne,
5102
5203
  saveOne,
5103
- discardChanges
5204
+ discardChanges,
5205
+ executeOne
5104
5206
  } = context.useSingle();
5207
+ const appStore = context.useAppStore();
5208
+ const objectDef = vue.computed(
5209
+ () => `neu:operasional:submission:${id.value}`
5210
+ );
5105
5211
  return (_ctx, _cache) => {
5106
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-type-single" }, {
5212
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-single" }, {
5107
5213
  default: vue.withCtx(() => [
5108
5214
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
5109
5215
  default: vue.withCtx(() => [
@@ -5124,45 +5230,165 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
5124
5230
  }, {
5125
5231
  default: vue.withCtx(() => [
5126
5232
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5127
- modelValue: vue.unref(values).name,
5128
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
5129
- }, vue.unref(fields).name), null, 16, ["modelValue"]),
5130
- vue.createVNode(vue.unref(office.OfficeRelation), {
5131
- modelValue: vue.unref(values),
5132
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
5133
- field: vue.unref(fields).branches
5134
- }, null, 8, ["modelValue", "field"])
5135
- ]),
5136
- _: 1
5137
- /* STABLE */
5138
- }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
5139
- ]),
5140
- _: 1
5141
- /* STABLE */
5142
- })
5143
- ]),
5144
- _: 1
5145
- /* STABLE */
5146
- }, 8, ["use-url"])
5147
- ]),
5148
- _: 1
5149
- /* STABLE */
5150
- });
5233
+ modelValue: vue.unref(values).title,
5234
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).title = $event)
5235
+ }, vue.unref(fields).title, { "is-disabled": "" }), null, 16, ["modelValue"]),
5236
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5237
+ default: vue.withCtx(() => [
5238
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5239
+ modelValue: vue.unref(values),
5240
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
5241
+ field: vue.unref(fields).branches,
5242
+ "is-disabled": ""
5243
+ }, null, 8, ["modelValue", "field"]),
5244
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5245
+ modelValue: vue.unref(values),
5246
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
5247
+ field: vue.unref(fields).type,
5248
+ "is-disabled": ""
5249
+ }, null, 8, ["modelValue", "field"])
5250
+ ]),
5251
+ _: 1
5252
+ /* STABLE */
5253
+ }),
5254
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5255
+ default: vue.withCtx(() => [
5256
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5257
+ modelValue: vue.unref(values),
5258
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
5259
+ field: vue.unref(fields).submissionStaffs,
5260
+ "is-disabled": ""
5261
+ }, null, 8, ["modelValue", "field"]),
5262
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5263
+ modelValue: vue.unref(values),
5264
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
5265
+ field: vue.unref(fields).raiseStaffs,
5266
+ "is-disabled": ""
5267
+ }, null, 8, ["modelValue", "field"])
5268
+ ]),
5269
+ _: 1
5270
+ /* STABLE */
5271
+ }),
5272
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5273
+ default: vue.withCtx(() => [
5274
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5275
+ modelValue: vue.unref(values),
5276
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
5277
+ field: vue.unref(fields).decideStaffs,
5278
+ "is-disabled": ""
5279
+ }, null, 8, ["modelValue", "field"]),
5280
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5281
+ modelValue: vue.unref(values),
5282
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
5283
+ field: vue.unref(fields).followUpStaffs
5284
+ }, null, 8, ["modelValue", "field"])
5285
+ ]),
5286
+ _: 1
5287
+ /* STABLE */
5288
+ }),
5289
+ vue.createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n is-disabled\n /> '),
5290
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5291
+ modelValue: vue.unref(values).updatedAt,
5292
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).updatedAt = $event)
5293
+ }, {
5294
+ handle: "updatedAt",
5295
+ name: "Tanggal Diupdate",
5296
+ type: "date",
5297
+ input: "date2",
5298
+ options: {
5299
+ note: "Tanggal pengajuan diupdate."
5300
+ }
5301
+ }, { "is-disabled": "" }), null, 16, ["modelValue"]),
5302
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
5303
+ "is-dashed": "",
5304
+ label: "Spesifikasi"
5305
+ }),
5306
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5307
+ modelValue: vue.unref(values).nominal,
5308
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).nominal = $event)
5309
+ }, vue.unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
5310
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5311
+ modelValue: vue.unref(values).workingHours,
5312
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).workingHours = $event)
5313
+ }, vue.unref(fields).workingHours, { "is-disabled": "" }), null, 16, ["modelValue"]),
5314
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
5315
+ "is-dashed": "",
5316
+ label: "Keputusan"
5317
+ }),
5318
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5319
+ default: vue.withCtx(() => [
5320
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5321
+ modelValue: vue.unref(values),
5322
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
5323
+ field: vue.unref(fields).delayStaffs,
5324
+ "is-disabled": ""
5325
+ }, null, 8, ["modelValue", "field"]),
5326
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5327
+ modelValue: vue.unref(values),
5328
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.isRef(values) ? values.value = $event : null),
5329
+ field: vue.unref(fields).agreedStaffs,
5330
+ "is-disabled": ""
5331
+ }, null, 8, ["modelValue", "field"])
5332
+ ]),
5333
+ _: 1
5334
+ /* STABLE */
5335
+ })
5336
+ ]),
5337
+ _: 1
5338
+ /* STABLE */
5339
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
5340
+ ]),
5341
+ _: 1
5342
+ /* STABLE */
5343
+ }),
5344
+ vue.createCommentVNode(" DOKUMEN "),
5345
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
5346
+ key: 0,
5347
+ handle: "dokumen",
5348
+ icon: "circle-info",
5349
+ title: "Dokumen"
5350
+ }, {
5351
+ default: vue.withCtx(({ isTouched }) => [
5352
+ vue.createVNode(
5353
+ vue.unref(catatInterfaces.CatatSketchPad),
5354
+ vue.normalizeProps(vue.guardReactiveProps({
5355
+ applicationId: vue.unref(appStore).appId,
5356
+ object: `${objectDef.value}:office`,
5357
+ isReady: vue.unref(isReady) && isTouched,
5358
+ isLoading: vue.unref(isLoading),
5359
+ isReadonly: true
5360
+ })),
5361
+ null,
5362
+ 16
5363
+ /* FULL_PROPS */
5364
+ )
5365
+ ]),
5366
+ _: 1
5367
+ /* STABLE */
5368
+ })) : vue.createCommentVNode("v-if", true)
5369
+ ]),
5370
+ _: 1
5371
+ /* STABLE */
5372
+ }, 8, ["use-url"])
5373
+ ]),
5374
+ _: 1
5375
+ /* STABLE */
5376
+ });
5151
5377
  };
5152
5378
  }
5153
5379
  });
5154
- const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
5155
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2b7e18ba"]]);
5156
- const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
5157
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
5380
+ const SubmissionSupervisor_vue_vue_type_style_index_0_scoped_201be0ad_lang = "";
5381
+ const SubmissionSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-201be0ad"]]);
5382
+ const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
5383
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
5158
5384
  ...{
5159
- name: "ResponsibilityTypeCollection"
5385
+ name: "SubmissionTypeCollection"
5160
5386
  },
5161
- __name: "ResponsibilityTypeCollection",
5387
+ __name: "SubmissionTypeCollection",
5162
5388
  setup(__props) {
5163
5389
  context.useCollection();
5164
5390
  return (_ctx, _cache) => {
5165
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-responsibility-type-collection" }, {
5391
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-submission-type-collection" }, {
5166
5392
  default: vue.withCtx(() => [
5167
5393
  vue.createVNode(vue.unref(office.OfficeCollectionTable))
5168
5394
  ]),
@@ -5172,8 +5398,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
5172
5398
  };
5173
5399
  }
5174
5400
  });
5175
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
5176
- __name: "ResponsibilityTypeSingle",
5401
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
5402
+ __name: "SubmissionTypeSingle",
5177
5403
  setup(__props) {
5178
5404
  const {
5179
5405
  fields,
@@ -5189,7 +5415,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
5189
5415
  discardChanges
5190
5416
  } = context.useSingle();
5191
5417
  return (_ctx, _cache) => {
5192
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-type-single" }, {
5418
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-submission-type-single" }, {
5193
5419
  default: vue.withCtx(() => [
5194
5420
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
5195
5421
  default: vue.withCtx(() => [
@@ -5237,18 +5463,18 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
5237
5463
  };
5238
5464
  }
5239
5465
  });
5240
- const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
5241
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3df9fac1"]]);
5242
- const ResponsibilityModel = personaliaModels.models.ResponsibilityModel;
5243
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
5466
+ const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
5467
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2b7e18ba"]]);
5468
+ const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
5469
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
5244
5470
  ...{
5245
- name: "ResponsibilityCollection"
5471
+ name: "ResponsibilityTypeCollection"
5246
5472
  },
5247
- __name: "ResponsibilityCollection",
5473
+ __name: "ResponsibilityTypeCollection",
5248
5474
  setup(__props) {
5249
5475
  context.useCollection();
5250
5476
  return (_ctx, _cache) => {
5251
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-responsibility-collection" }, {
5477
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-responsibility-type-collection" }, {
5252
5478
  default: vue.withCtx(() => [
5253
5479
  vue.createVNode(vue.unref(office.OfficeCollectionTable))
5254
5480
  ]),
@@ -5258,8 +5484,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
5258
5484
  };
5259
5485
  }
5260
5486
  });
5261
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5262
- __name: "ResponsibilitySingle",
5487
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
5488
+ __name: "ResponsibilityTypeSingle",
5263
5489
  setup(__props) {
5264
5490
  const {
5265
5491
  fields,
@@ -5274,20 +5500,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5274
5500
  saveOne,
5275
5501
  discardChanges
5276
5502
  } = context.useSingle();
5277
- const { staff } = useOperasional();
5278
- const responsibilityTypeOptions = vue.computed(() => {
5279
- return {
5280
- filter: [
5281
- {
5282
- handle: "branchIds",
5283
- operator: "in",
5284
- value: values.value.branchId
5285
- }
5286
- ]
5287
- };
5288
- });
5289
5503
  return (_ctx, _cache) => {
5290
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
5504
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-type-single" }, {
5291
5505
  default: vue.withCtx(() => [
5292
5506
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
5293
5507
  default: vue.withCtx(() => [
@@ -5308,60 +5522,14 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5308
5522
  }, {
5309
5523
  default: vue.withCtx(() => [
5310
5524
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5311
- modelValue: vue.unref(values).condition,
5312
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).condition = $event)
5313
- }, vue.unref(fields).condition), null, 16, ["modelValue"]),
5314
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5315
- modelValue: vue.unref(values).title,
5316
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).title = $event)
5317
- }, vue.unref(fields).title), null, 16, ["modelValue"]),
5318
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5319
- modelValue: vue.unref(values).score,
5320
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).score = $event)
5321
- }, vue.unref(fields).score), null, 16, ["modelValue"]),
5322
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5323
- default: vue.withCtx(() => [
5324
- vue.createVNode(vue.unref(office.OfficeRelation), {
5325
- modelValue: vue.unref(values),
5326
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
5327
- field: vue.unref(fields).branch
5328
- }, null, 8, ["modelValue", "field"]),
5329
- vue.createVNode(vue.unref(office.OfficeRelation), {
5330
- modelValue: vue.unref(values),
5331
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
5332
- field: vue.unref(fields).responsibilityType,
5333
- query: vue.unref(query.Query).define(responsibilityTypeOptions.value)
5334
- }, null, 8, ["modelValue", "field", "query"])
5335
- ]),
5336
- _: 1
5337
- /* STABLE */
5338
- }),
5339
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5340
- default: vue.withCtx(() => [
5341
- vue.createVNode(vue.unref(office.OfficeRelation), {
5342
- modelValue: vue.unref(values),
5343
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
5344
- field: vue.unref(fields).staffWorks
5345
- }, null, 8, ["modelValue", "field"]),
5346
- vue.createVNode(vue.unref(office.OfficeRelation), {
5347
- modelValue: vue.unref(values),
5348
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
5349
- field: vue.unref(fields).staffSupervises
5350
- }, null, 8, ["modelValue", "field"])
5351
- ]),
5352
- _: 1
5353
- /* STABLE */
5354
- }),
5355
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
5356
- key: 0,
5357
- modelValue: vue.unref(values).detail,
5358
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).detail = $event)
5359
- }, vue.unref(fields).detail), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
5360
- vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
5361
- key: 1,
5362
- modelValue: vue.unref(values).result,
5363
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).result = $event)
5364
- }, vue.unref(fields).result), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
5525
+ modelValue: vue.unref(values).name,
5526
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
5527
+ }, vue.unref(fields).name), null, 16, ["modelValue"]),
5528
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5529
+ modelValue: vue.unref(values),
5530
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
5531
+ field: vue.unref(fields).branches
5532
+ }, null, 8, ["modelValue", "field"])
5365
5533
  ]),
5366
5534
  _: 1
5367
5535
  /* STABLE */
@@ -5369,11 +5537,180 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5369
5537
  ]),
5370
5538
  _: 1
5371
5539
  /* STABLE */
5372
- }),
5373
- vue.createCommentVNode(" PROGRESS "),
5374
- !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
5375
- key: 0,
5376
- handle: "progress",
5540
+ })
5541
+ ]),
5542
+ _: 1
5543
+ /* STABLE */
5544
+ }, 8, ["use-url"])
5545
+ ]),
5546
+ _: 1
5547
+ /* STABLE */
5548
+ });
5549
+ };
5550
+ }
5551
+ });
5552
+ const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
5553
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-3df9fac1"]]);
5554
+ const ResponsibilityModel = personaliaModels.models.ResponsibilityModel;
5555
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
5556
+ ...{
5557
+ name: "ResponsibilityCollection"
5558
+ },
5559
+ __name: "ResponsibilityCollection",
5560
+ setup(__props) {
5561
+ context.useCollection();
5562
+ return (_ctx, _cache) => {
5563
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-responsibility-collection" }, {
5564
+ default: vue.withCtx(() => [
5565
+ vue.createVNode(vue.unref(office.OfficeCollectionTable))
5566
+ ]),
5567
+ _: 1
5568
+ /* STABLE */
5569
+ });
5570
+ };
5571
+ }
5572
+ });
5573
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
5574
+ __name: "ResponsibilitySingle",
5575
+ setup(__props) {
5576
+ const {
5577
+ fields,
5578
+ id,
5579
+ initialValues,
5580
+ values,
5581
+ isLoading,
5582
+ isChanged,
5583
+ isReady,
5584
+ isMain,
5585
+ isNew,
5586
+ saveOne,
5587
+ discardChanges
5588
+ } = context.useSingle();
5589
+ const { staff } = useOperasional();
5590
+ const responsibilityTypeOptions = vue.computed(() => {
5591
+ return {
5592
+ filter: [
5593
+ {
5594
+ handle: "branchIds",
5595
+ operator: "in",
5596
+ value: values.value.branchId
5597
+ }
5598
+ ]
5599
+ };
5600
+ });
5601
+ const branchOptions = vue.computed(() => {
5602
+ var _a;
5603
+ return {
5604
+ filter: [
5605
+ {
5606
+ handle: "_id",
5607
+ operator: "in",
5608
+ value: (_a = staff.value) == null ? void 0 : _a.branchIds
5609
+ }
5610
+ ]
5611
+ };
5612
+ });
5613
+ const staffWorkOptions = vue.computed(() => {
5614
+ return {
5615
+ filter: [
5616
+ {
5617
+ handle: "branchIds",
5618
+ operator: "in",
5619
+ value: values.value.branchId
5620
+ }
5621
+ ]
5622
+ };
5623
+ });
5624
+ return (_ctx, _cache) => {
5625
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
5626
+ default: vue.withCtx(() => [
5627
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
5628
+ default: vue.withCtx(() => [
5629
+ vue.createVNode(vue.unref(office.OfficeTab), {
5630
+ handle: "info",
5631
+ icon: "circle-info",
5632
+ title: "Info"
5633
+ }, {
5634
+ default: vue.withCtx(() => [
5635
+ vue.createVNode(vue.unref(form.NeonForm), {
5636
+ handle: "info",
5637
+ "initial-values": vue.unref(initialValues),
5638
+ "is-loading": vue.unref(isLoading),
5639
+ "is-changed": vue.unref(isChanged),
5640
+ "use-unsaved": "",
5641
+ onCancel: vue.unref(discardChanges),
5642
+ onSubmit: vue.unref(saveOne)
5643
+ }, {
5644
+ default: vue.withCtx(() => [
5645
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5646
+ modelValue: vue.unref(values).condition,
5647
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).condition = $event)
5648
+ }, vue.unref(fields).condition), null, 16, ["modelValue"]),
5649
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5650
+ modelValue: vue.unref(values).title,
5651
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).title = $event)
5652
+ }, vue.unref(fields).title), null, 16, ["modelValue"]),
5653
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5654
+ modelValue: vue.unref(values).score,
5655
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).score = $event)
5656
+ }, vue.unref(fields).score), null, 16, ["modelValue"]),
5657
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5658
+ default: vue.withCtx(() => [
5659
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5660
+ modelValue: vue.unref(values),
5661
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
5662
+ field: vue.unref(fields).branch,
5663
+ query: vue.unref(query.Query).define(branchOptions.value)
5664
+ }, null, 8, ["modelValue", "field", "query"]),
5665
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5666
+ modelValue: vue.unref(values),
5667
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
5668
+ field: vue.unref(fields).responsibilityType,
5669
+ query: vue.unref(query.Query).define(responsibilityTypeOptions.value)
5670
+ }, null, 8, ["modelValue", "field", "query"])
5671
+ ]),
5672
+ _: 1
5673
+ /* STABLE */
5674
+ }),
5675
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5676
+ default: vue.withCtx(() => [
5677
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5678
+ modelValue: vue.unref(values),
5679
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
5680
+ field: vue.unref(fields).staffWorks,
5681
+ query: vue.unref(query.Query).define(staffWorkOptions.value)
5682
+ }, null, 8, ["modelValue", "field", "query"]),
5683
+ vue.createVNode(vue.unref(office.OfficeRelation), {
5684
+ modelValue: vue.unref(values),
5685
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
5686
+ field: vue.unref(fields).staffSupervises
5687
+ }, null, 8, ["modelValue", "field"])
5688
+ ]),
5689
+ _: 1
5690
+ /* STABLE */
5691
+ }),
5692
+ vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
5693
+ key: 0,
5694
+ modelValue: vue.unref(values).detail,
5695
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).detail = $event)
5696
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
5697
+ vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
5698
+ key: 1,
5699
+ modelValue: vue.unref(values).result,
5700
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).result = $event)
5701
+ }, vue.unref(fields).result), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
5702
+ ]),
5703
+ _: 1
5704
+ /* STABLE */
5705
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
5706
+ ]),
5707
+ _: 1
5708
+ /* STABLE */
5709
+ }),
5710
+ vue.createCommentVNode(" PROGRESS "),
5711
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
5712
+ key: 0,
5713
+ handle: "progress",
5377
5714
  icon: "info-circle",
5378
5715
  title: "Progress"
5379
5716
  }, {
@@ -5428,9 +5765,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5428
5765
  };
5429
5766
  }
5430
5767
  });
5431
- const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_3ec4a018_lang = "";
5432
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-3ec4a018"]]);
5433
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
5768
+ const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_9eded4a7_lang = "";
5769
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-9eded4a7"]]);
5770
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
5434
5771
  __name: "ResponsibilityStaff",
5435
5772
  setup(__props) {
5436
5773
  const {
@@ -5593,28 +5930,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
5593
5930
  }
5594
5931
  });
5595
5932
  const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_a1ec66a6_lang = "";
5596
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-a1ec66a6"]]);
5597
- const TargetModel = personaliaModels.models.TargetModel;
5598
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5599
- ...{
5600
- name: "TargetCollection"
5601
- },
5602
- __name: "TargetCollection",
5603
- setup(__props) {
5604
- context.useCollection();
5605
- return (_ctx, _cache) => {
5606
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-target-collection" }, {
5607
- default: vue.withCtx(() => [
5608
- vue.createVNode(vue.unref(office.OfficeCollectionTable))
5609
- ]),
5610
- _: 1
5611
- /* STABLE */
5612
- });
5613
- };
5614
- }
5615
- });
5616
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5617
- __name: "TargetSingle",
5933
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-a1ec66a6"]]);
5934
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
5935
+ __name: "ResponsibilitySupervisor",
5618
5936
  setup(__props) {
5619
5937
  const {
5620
5938
  fields,
@@ -5629,8 +5947,9 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5629
5947
  saveOne,
5630
5948
  discardChanges
5631
5949
  } = context.useSingle();
5950
+ const { staff } = useOperasional();
5632
5951
  return (_ctx, _cache) => {
5633
- return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-target-single" }, {
5952
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
5634
5953
  default: vue.withCtx(() => [
5635
5954
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
5636
5955
  default: vue.withCtx(() => [
@@ -5650,27 +5969,31 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5650
5969
  onSubmit: vue.unref(saveOne)
5651
5970
  }, {
5652
5971
  default: vue.withCtx(() => [
5653
- vue.withDirectives(vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5972
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5654
5973
  modelValue: vue.unref(values).condition,
5655
5974
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).condition = $event)
5656
- }, vue.unref(fields).condition), null, 16, ["modelValue"]), [
5657
- [vue.vShow, false]
5658
- ]),
5975
+ }, vue.unref(fields).condition, { "is-disabled": "" }), null, 16, ["modelValue"]),
5659
5976
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5660
- modelValue: vue.unref(values).name,
5661
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).name = $event)
5662
- }, vue.unref(fields).name), null, 16, ["modelValue"]),
5977
+ modelValue: vue.unref(values).title,
5978
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).title = $event)
5979
+ }, vue.unref(fields).title, { "is-disabled": "" }), null, 16, ["modelValue"]),
5980
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5981
+ modelValue: vue.unref(values).score,
5982
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).score = $event)
5983
+ }, vue.unref(fields).score), null, 16, ["modelValue"]),
5663
5984
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5664
5985
  default: vue.withCtx(() => [
5665
5986
  vue.createVNode(vue.unref(office.OfficeRelation), {
5666
5987
  modelValue: vue.unref(values),
5667
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
5668
- field: vue.unref(fields).branches
5988
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
5989
+ field: vue.unref(fields).branch,
5990
+ "is-disabled": ""
5669
5991
  }, null, 8, ["modelValue", "field"]),
5670
5992
  vue.createVNode(vue.unref(office.OfficeRelation), {
5671
5993
  modelValue: vue.unref(values),
5672
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
5673
- field: vue.unref(fields).stages
5994
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
5995
+ field: vue.unref(fields).responsibilityType,
5996
+ "is-disabled": ""
5674
5997
  }, null, 8, ["modelValue", "field"])
5675
5998
  ]),
5676
5999
  _: 1
@@ -5678,34 +6001,212 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5678
6001
  }),
5679
6002
  vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5680
6003
  default: vue.withCtx(() => [
5681
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5682
- modelValue: vue.unref(values).startedAt,
5683
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).startedAt = $event)
5684
- }, vue.unref(fields).startedAt), null, 16, ["modelValue"]),
5685
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5686
- modelValue: vue.unref(values).endedAt,
5687
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).endedAt = $event)
5688
- }, vue.unref(fields).endedAt), null, 16, ["modelValue"])
6004
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6005
+ modelValue: vue.unref(values),
6006
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
6007
+ field: vue.unref(fields).staffWorks,
6008
+ "is-disabled": ""
6009
+ }, null, 8, ["modelValue", "field"]),
6010
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6011
+ modelValue: vue.unref(values),
6012
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
6013
+ field: vue.unref(fields).staffSupervises,
6014
+ "is-disabled": ""
6015
+ }, null, 8, ["modelValue", "field"])
5689
6016
  ]),
5690
6017
  _: 1
5691
6018
  /* STABLE */
5692
6019
  }),
5693
- vue.createVNode(vue.unref(office.OfficeRelation), {
5694
- modelValue: vue.unref(values),
5695
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
5696
- field: vue.unref(fields).school
5697
- }, null, 8, ["modelValue", "field"]),
5698
- vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
5699
- default: vue.withCtx(() => [
5700
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5701
- modelValue: vue.unref(values).targetEst,
5702
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).targetEst = $event)
5703
- }, vue.unref(fields).targetEst), null, 16, ["modelValue"]),
5704
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
5705
- modelValue: vue.unref(values).actualInvoice,
5706
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).actualInvoice = $event)
5707
- }, vue.unref(fields).actualInvoice), null, 16, ["modelValue"])
5708
- ]),
6020
+ vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
6021
+ key: 0,
6022
+ modelValue: vue.unref(values).detail,
6023
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).detail = $event)
6024
+ }, vue.unref(fields).detail, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
6025
+ vue.unref(isReady) || vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
6026
+ key: 1,
6027
+ modelValue: vue.unref(values).result,
6028
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).result = $event)
6029
+ }, vue.unref(fields).result), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true)
6030
+ ]),
6031
+ _: 1
6032
+ /* STABLE */
6033
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
6034
+ ]),
6035
+ _: 1
6036
+ /* STABLE */
6037
+ }),
6038
+ vue.createCommentVNode(" PROGRESS "),
6039
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
6040
+ key: 0,
6041
+ handle: "progress",
6042
+ icon: "info-circle",
6043
+ title: "Progress"
6044
+ }, {
6045
+ default: vue.withCtx(() => {
6046
+ var _a;
6047
+ return [
6048
+ vue.createVNode(vue.unref(office.OfficeCollectionRelated), {
6049
+ definition: "neu:personalia:progress",
6050
+ title: "Progress",
6051
+ description: "Progress dari tanggungjawab.",
6052
+ query: vue.unref(query.Query).define({
6053
+ filter: [
6054
+ {
6055
+ responsibilityIds: vue.unref(id)
6056
+ }
6057
+ ],
6058
+ sort: {
6059
+ handle: "startedAt",
6060
+ direction: "descending"
6061
+ }
6062
+ }),
6063
+ "is-ready": vue.unref(isReady),
6064
+ columns: [
6065
+ "startedAt",
6066
+ "endedAt",
6067
+ "detail",
6068
+ "staffs",
6069
+ "virtualIsNotes",
6070
+ "accessStaffs"
6071
+ ],
6072
+ sorts: ["startedAt", "createdAt", "updatedAt"],
6073
+ "initial-values": {
6074
+ responsibilityIds: vue.unref(id),
6075
+ responsibilities: vue.unref(values),
6076
+ staffIds: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
6077
+ staffs: vue.unref(staff)
6078
+ }
6079
+ }, null, 8, ["query", "is-ready", "initial-values"])
6080
+ ];
6081
+ }),
6082
+ _: 1
6083
+ /* STABLE */
6084
+ })) : vue.createCommentVNode("v-if", true)
6085
+ ]),
6086
+ _: 1
6087
+ /* STABLE */
6088
+ }, 8, ["use-url"])
6089
+ ]),
6090
+ _: 1
6091
+ /* STABLE */
6092
+ });
6093
+ };
6094
+ }
6095
+ });
6096
+ const ResponsibilitySupervisor_vue_vue_type_style_index_0_scoped_63e476fd_lang = "";
6097
+ const ResponsibilitySupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-63e476fd"]]);
6098
+ const TargetModel = personaliaModels.models.TargetModel;
6099
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
6100
+ ...{
6101
+ name: "TargetCollection"
6102
+ },
6103
+ __name: "TargetCollection",
6104
+ setup(__props) {
6105
+ context.useCollection();
6106
+ return (_ctx, _cache) => {
6107
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-target-collection" }, {
6108
+ default: vue.withCtx(() => [
6109
+ vue.createVNode(vue.unref(office.OfficeCollectionTable))
6110
+ ]),
6111
+ _: 1
6112
+ /* STABLE */
6113
+ });
6114
+ };
6115
+ }
6116
+ });
6117
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
6118
+ __name: "TargetSingle",
6119
+ setup(__props) {
6120
+ const {
6121
+ fields,
6122
+ id,
6123
+ initialValues,
6124
+ values,
6125
+ isLoading,
6126
+ isChanged,
6127
+ isReady,
6128
+ isMain,
6129
+ isNew,
6130
+ saveOne,
6131
+ discardChanges
6132
+ } = context.useSingle();
6133
+ return (_ctx, _cache) => {
6134
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-target-single" }, {
6135
+ default: vue.withCtx(() => [
6136
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
6137
+ default: vue.withCtx(() => [
6138
+ vue.createVNode(vue.unref(office.OfficeTab), {
6139
+ handle: "info",
6140
+ icon: "circle-info",
6141
+ title: "Info"
6142
+ }, {
6143
+ default: vue.withCtx(() => [
6144
+ vue.createVNode(vue.unref(form.NeonForm), {
6145
+ handle: "info",
6146
+ "initial-values": vue.unref(initialValues),
6147
+ "is-loading": vue.unref(isLoading),
6148
+ "is-changed": vue.unref(isChanged),
6149
+ "use-unsaved": "",
6150
+ onCancel: vue.unref(discardChanges),
6151
+ onSubmit: vue.unref(saveOne)
6152
+ }, {
6153
+ default: vue.withCtx(() => [
6154
+ vue.withDirectives(vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6155
+ modelValue: vue.unref(values).condition,
6156
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).condition = $event)
6157
+ }, vue.unref(fields).condition), null, 16, ["modelValue"]), [
6158
+ [vue.vShow, false]
6159
+ ]),
6160
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6161
+ modelValue: vue.unref(values).name,
6162
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).name = $event)
6163
+ }, vue.unref(fields).name), null, 16, ["modelValue"]),
6164
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
6165
+ default: vue.withCtx(() => [
6166
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6167
+ modelValue: vue.unref(values),
6168
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
6169
+ field: vue.unref(fields).branches
6170
+ }, null, 8, ["modelValue", "field"]),
6171
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6172
+ modelValue: vue.unref(values),
6173
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
6174
+ field: vue.unref(fields).stages
6175
+ }, null, 8, ["modelValue", "field"])
6176
+ ]),
6177
+ _: 1
6178
+ /* STABLE */
6179
+ }),
6180
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
6181
+ default: vue.withCtx(() => [
6182
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6183
+ modelValue: vue.unref(values).startedAt,
6184
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).startedAt = $event)
6185
+ }, vue.unref(fields).startedAt), null, 16, ["modelValue"]),
6186
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6187
+ modelValue: vue.unref(values).endedAt,
6188
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).endedAt = $event)
6189
+ }, vue.unref(fields).endedAt), null, 16, ["modelValue"])
6190
+ ]),
6191
+ _: 1
6192
+ /* STABLE */
6193
+ }),
6194
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6195
+ modelValue: vue.unref(values),
6196
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
6197
+ field: vue.unref(fields).school
6198
+ }, null, 8, ["modelValue", "field"]),
6199
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
6200
+ default: vue.withCtx(() => [
6201
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6202
+ modelValue: vue.unref(values).targetEst,
6203
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).targetEst = $event)
6204
+ }, vue.unref(fields).targetEst), null, 16, ["modelValue"]),
6205
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6206
+ modelValue: vue.unref(values).actualInvoice,
6207
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).actualInvoice = $event)
6208
+ }, vue.unref(fields).actualInvoice), null, 16, ["modelValue"])
6209
+ ]),
5709
6210
  _: 1
5710
6211
  /* STABLE */
5711
6212
  })
@@ -5766,8 +6267,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5766
6267
  }
5767
6268
  });
5768
6269
  const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
5769
- const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-c12b8df8"]]);
5770
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
6270
+ const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-c12b8df8"]]);
6271
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5771
6272
  __name: "TargetBranch",
5772
6273
  setup(__props) {
5773
6274
  const {
@@ -5920,9 +6421,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5920
6421
  }
5921
6422
  });
5922
6423
  const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
5923
- const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6a5a6e80"]]);
6424
+ const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6a5a6e80"]]);
5924
6425
  const PlanTypeModel = personaliaModels.models.PlanTypeModel;
5925
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
6426
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5926
6427
  ...{
5927
6428
  name: "PlanTypeCollection"
5928
6429
  },
@@ -5940,7 +6441,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5940
6441
  };
5941
6442
  }
5942
6443
  });
5943
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
6444
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5944
6445
  __name: "PlanTypeSingle",
5945
6446
  setup(__props) {
5946
6447
  const {
@@ -6061,9 +6562,9 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
6061
6562
  }
6062
6563
  });
6063
6564
  const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
6064
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-80d2e1d3"]]);
6565
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-80d2e1d3"]]);
6065
6566
  const PlanModel = personaliaModels.models.PlanModel;
6066
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
6567
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
6067
6568
  ...{
6068
6569
  name: "PlanCollection"
6069
6570
  },
@@ -6081,7 +6582,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
6081
6582
  };
6082
6583
  }
6083
6584
  });
6084
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
6585
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
6085
6586
  __name: "PlanSingle",
6086
6587
  setup(__props) {
6087
6588
  const {
@@ -6264,8 +6765,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
6264
6765
  }
6265
6766
  });
6266
6767
  const PlanSingle_vue_vue_type_style_index_0_scoped_a39127c2_lang = "";
6267
- const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-a39127c2"]]);
6268
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
6768
+ const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-a39127c2"]]);
6769
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
6269
6770
  __name: "PlanStaff",
6270
6771
  setup(__props) {
6271
6772
  const {
@@ -6417,10 +6918,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
6417
6918
  }
6418
6919
  });
6419
6920
  const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
6420
- const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-aa8de6da"]]);
6921
+ const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-aa8de6da"]]);
6421
6922
  const ProgressModel = personaliaModels.models.ProgressModel;
6422
- const _hoisted_1$6 = { class: "flex flex-wrap" };
6423
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
6923
+ const _hoisted_1$8 = { class: "flex flex-wrap" };
6924
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
6424
6925
  ...{ name: "ProgressButton" },
6425
6926
  __name: "ProgressButton",
6426
6927
  setup(__props) {
@@ -6435,7 +6936,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
6435
6936
  router.push("/penugasan/yesterday-progresses/new");
6436
6937
  };
6437
6938
  return (_ctx, _cache) => {
6438
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
6939
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
6439
6940
  vue.createVNode(vue.unref(interfaces.NeonButton), {
6440
6941
  "is-rounded": true,
6441
6942
  size: "sm",
@@ -6466,7 +6967,30 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
6466
6967
  };
6467
6968
  }
6468
6969
  });
6469
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6970
+ const _hoisted_1$7 = { class: "flex flex-wrap" };
6971
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
6972
+ ...{ name: "ProgressNoteButton" },
6973
+ __name: "ProgressNoteButton",
6974
+ setup(__props) {
6975
+ const router = vueRouter.useRouter();
6976
+ const noteClick = () => {
6977
+ router.push("/penugasan/notes/new");
6978
+ };
6979
+ return (_ctx, _cache) => {
6980
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
6981
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
6982
+ "is-rounded": true,
6983
+ size: "sm",
6984
+ color: "dark",
6985
+ "icon-left": "plus",
6986
+ label: "Catatan",
6987
+ onClick: noteClick
6988
+ })
6989
+ ]);
6990
+ };
6991
+ }
6992
+ });
6993
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
6470
6994
  ...{
6471
6995
  name: "ProgressCollection"
6472
6996
  },
@@ -6529,10 +7053,10 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6529
7053
  }
6530
7054
  });
6531
7055
  const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
6532
- const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-2634660f"]]);
6533
- const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
6534
- const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
6535
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
7056
+ const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-2634660f"]]);
7057
+ const _hoisted_1$6 = { class: "grid gap-2 sm:grid-cols-2" };
7058
+ const _hoisted_2$6 = { class: "text-right text-fg-subdued text-sm" };
7059
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6536
7060
  __name: "ProgressSingle",
6537
7061
  setup(__props) {
6538
7062
  var _a;
@@ -6684,7 +7208,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6684
7208
  _: 1
6685
7209
  /* STABLE */
6686
7210
  }),
6687
- vue.createElementVNode("div", _hoisted_1$5, [
7211
+ vue.createElementVNode("div", _hoisted_1$6, [
6688
7212
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6689
7213
  modelValue: vue.unref(values).startedAt,
6690
7214
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
@@ -6725,7 +7249,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6725
7249
  }, null, 8, ["modelValue", "is-loading"]),
6726
7250
  vue.createElementVNode(
6727
7251
  "div",
6728
- _hoisted_2$5,
7252
+ _hoisted_2$6,
6729
7253
  vue.toDisplayString(duration.value),
6730
7254
  1
6731
7255
  /* TEXT */
@@ -6815,10 +7339,10 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6815
7339
  }
6816
7340
  });
6817
7341
  const ProgressSingle_vue_vue_type_style_index_0_scoped_ca99d46c_lang = "";
6818
- const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-ca99d46c"]]);
6819
- const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
6820
- const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
6821
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
7342
+ const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ca99d46c"]]);
7343
+ const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
7344
+ const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
7345
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6822
7346
  __name: "ProgressTomorrow",
6823
7347
  setup(__props) {
6824
7348
  var _a;
@@ -6970,7 +7494,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
6970
7494
  _: 1
6971
7495
  /* STABLE */
6972
7496
  }),
6973
- vue.createElementVNode("div", _hoisted_1$4, [
7497
+ vue.createElementVNode("div", _hoisted_1$5, [
6974
7498
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6975
7499
  modelValue: vue.unref(values).startedAt,
6976
7500
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
@@ -7011,7 +7535,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
7011
7535
  }, null, 8, ["modelValue", "is-loading"]),
7012
7536
  vue.createElementVNode(
7013
7537
  "div",
7014
- _hoisted_2$4,
7538
+ _hoisted_2$5,
7015
7539
  vue.toDisplayString(duration.value),
7016
7540
  1
7017
7541
  /* TEXT */
@@ -7101,10 +7625,10 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
7101
7625
  }
7102
7626
  });
7103
7627
  const ProgressTomorrow_vue_vue_type_style_index_0_scoped_41302f2e_lang = "";
7104
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-41302f2e"]]);
7105
- const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
7106
- const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
7107
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
7628
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-41302f2e"]]);
7629
+ const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
7630
+ const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
7631
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
7108
7632
  __name: "ProgressYesterday",
7109
7633
  setup(__props) {
7110
7634
  var _a;
@@ -7256,7 +7780,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
7256
7780
  _: 1
7257
7781
  /* STABLE */
7258
7782
  }),
7259
- vue.createElementVNode("div", _hoisted_1$3, [
7783
+ vue.createElementVNode("div", _hoisted_1$4, [
7260
7784
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7261
7785
  modelValue: vue.unref(values).startedAt,
7262
7786
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
@@ -7297,7 +7821,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
7297
7821
  }, null, 8, ["modelValue", "is-loading"]),
7298
7822
  vue.createElementVNode(
7299
7823
  "div",
7300
- _hoisted_2$3,
7824
+ _hoisted_2$4,
7301
7825
  vue.toDisplayString(duration.value),
7302
7826
  1
7303
7827
  /* TEXT */
@@ -7387,8 +7911,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
7387
7911
  }
7388
7912
  });
7389
7913
  const ProgressYesterday_vue_vue_type_style_index_0_scoped_78de8f41_lang = "";
7390
- const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-78de8f41"]]);
7391
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
7914
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-78de8f41"]]);
7915
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
7392
7916
  __name: "ProgressNote",
7393
7917
  setup(__props) {
7394
7918
  var _a;
@@ -7547,9 +8071,9 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
7547
8071
  }
7548
8072
  });
7549
8073
  const ProgressNote_vue_vue_type_style_index_0_scoped_cee18889_lang = "";
7550
- const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-cee18889"]]);
8074
+ const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-cee18889"]]);
7551
8075
  const AttendanceModel = personaliaModels.models.AttendanceModel;
7552
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
8076
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
7553
8077
  ...{
7554
8078
  name: "AttendanceCollection"
7555
8079
  },
@@ -7567,9 +8091,9 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
7567
8091
  };
7568
8092
  }
7569
8093
  });
7570
- const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
7571
- const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
7572
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
8094
+ const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
8095
+ const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
8096
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
7573
8097
  __name: "AttendanceSingle",
7574
8098
  setup(__props) {
7575
8099
  const {
@@ -7660,30 +8184,449 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
7660
8184
  }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
7661
8185
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7662
8186
  modelValue: vue.unref(values).type,
7663
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).type = $event)
7664
- }, vue.unref(fields).type), null, 16, ["modelValue"]),
8187
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).type = $event)
8188
+ }, vue.unref(fields).type), null, 16, ["modelValue"]),
8189
+ vue.createVNode(vue.unref(office.OfficeRelation), {
8190
+ modelValue: vue.unref(values),
8191
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
8192
+ field: vue.unref(fields).decideStaff
8193
+ }, null, 8, ["modelValue", "field"]),
8194
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8195
+ key: 0,
8196
+ modelValue: vue.unref(values).notes,
8197
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
8198
+ }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8199
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
8200
+ "is-dashed": "",
8201
+ label: "Keterangan"
8202
+ }),
8203
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8204
+ modelValue: vue.unref(values).submittedAt,
8205
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
8206
+ }, vue.unref(fields).submittedAt), null, 16, ["modelValue"]),
8207
+ vue.createElementVNode("div", _hoisted_1$3, [
8208
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8209
+ modelValue: vue.unref(values).startedAt,
8210
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
8211
+ }, {
8212
+ handle: "startedAt",
8213
+ name: "Mulai",
8214
+ options: {
8215
+ note: "Jam mulai."
8216
+ }
8217
+ }), {
8218
+ input: vue.withCtx(() => [
8219
+ vue.createVNode(vue.unref(NeonTime), {
8220
+ modelValue: vue.unref(values).startedAt,
8221
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event),
8222
+ "is-loading": vue.unref(isLoading),
8223
+ class: "mt-2"
8224
+ }, null, 8, ["modelValue", "is-loading"])
8225
+ ]),
8226
+ _: 1
8227
+ /* STABLE */
8228
+ }, 16, ["modelValue"]),
8229
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8230
+ modelValue: vue.unref(values).endedAt,
8231
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event)
8232
+ }, {
8233
+ handle: "endedAt",
8234
+ name: "Selesai",
8235
+ options: {
8236
+ note: "Jam selesai."
8237
+ }
8238
+ }), {
8239
+ input: vue.withCtx(() => [
8240
+ vue.createVNode(vue.unref(NeonTime), {
8241
+ modelValue: vue.unref(values).endedAt,
8242
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event),
8243
+ "is-loading": vue.unref(isLoading),
8244
+ class: "mt-2"
8245
+ }, null, 8, ["modelValue", "is-loading"]),
8246
+ vue.createElementVNode(
8247
+ "div",
8248
+ _hoisted_2$3,
8249
+ vue.toDisplayString(duration.value),
8250
+ 1
8251
+ /* TEXT */
8252
+ )
8253
+ ]),
8254
+ _: 1
8255
+ /* STABLE */
8256
+ }, 16, ["modelValue"])
8257
+ ])
8258
+ ]),
8259
+ _: 1
8260
+ /* STABLE */
8261
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
8262
+ ]),
8263
+ _: 1
8264
+ /* STABLE */
8265
+ })
8266
+ ]),
8267
+ _: 1
8268
+ /* STABLE */
8269
+ }, 8, ["use-url"])
8270
+ ]),
8271
+ _: 1
8272
+ /* STABLE */
8273
+ });
8274
+ };
8275
+ }
8276
+ });
8277
+ const AttendanceSingle_vue_vue_type_style_index_0_scoped_0c3c6187_lang = "";
8278
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-0c3c6187"]]);
8279
+ const _hoisted_1$2 = {
8280
+ key: 1,
8281
+ class: "flex flex-wrap"
8282
+ };
8283
+ const _hoisted_2$2 = { class: "mt-2" };
8284
+ const _hoisted_3$2 = { class: "mt-2" };
8285
+ const _hoisted_4$2 = {
8286
+ key: 5,
8287
+ class: "grid gap-2 sm:grid-cols-2"
8288
+ };
8289
+ const _hoisted_5$2 = { class: "text-right text-fg-subdued text-sm" };
8290
+ const _hoisted_6$2 = {
8291
+ key: 6,
8292
+ class: "grid gap-2 sm:grid-cols-2"
8293
+ };
8294
+ const _hoisted_7$2 = { class: "text-right text-fg-subdued text-sm" };
8295
+ const _hoisted_8$2 = {
8296
+ key: 7,
8297
+ class: "grid gap-2 sm:grid-cols-2"
8298
+ };
8299
+ const _hoisted_9$2 = { class: "text-right text-fg-subdued text-sm" };
8300
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
8301
+ __name: "AttendanceStaff",
8302
+ setup(__props) {
8303
+ var _a;
8304
+ const {
8305
+ fields,
8306
+ id,
8307
+ initialValues,
8308
+ values,
8309
+ isLoading,
8310
+ isChanged,
8311
+ isReady,
8312
+ isMain,
8313
+ isNew,
8314
+ saveOne,
8315
+ discardChanges,
8316
+ syncOne,
8317
+ executeOne
8318
+ } = context.useSingle();
8319
+ const key = vue.ref(0);
8320
+ const diff = vue.computed(() => {
8321
+ return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
8322
+ });
8323
+ const duration = vue.computed(() => {
8324
+ if (isNaN(diff.value))
8325
+ return "-";
8326
+ const duration2 = DateUtil.day.duration(diff.value);
8327
+ return duration2.format("HH [jam] mm [menit]");
8328
+ });
8329
+ function onStartedAtUpdate(date) {
8330
+ if (!date)
8331
+ return;
8332
+ const currentEndedendedAt = DateUtil.day(values.value.endedAt);
8333
+ let startedAt = DateUtil.day(date);
8334
+ let endedAt = DateUtil.day(date);
8335
+ startedAt = startedAt.second(0).millisecond(0);
8336
+ endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
8337
+ values.value.startedAt = startedAt.toISOString();
8338
+ values.value.endedAt = endedAt.toISOString();
8339
+ conflictAtt.value = false;
8340
+ }
8341
+ const { staff } = useOperasional();
8342
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
8343
+ vue.watch(
8344
+ isNew,
8345
+ (isNew2) => {
8346
+ if (!isNew2)
8347
+ return;
8348
+ values.value.submitStaffId = staffId;
8349
+ values.value.submitStaff = staff.value;
8350
+ },
8351
+ {
8352
+ immediate: true
8353
+ }
8354
+ );
8355
+ const submitAbsensi = async () => {
8356
+ await executeOne("submitAttendance", { attendanceId: id.value });
8357
+ await syncOne();
8358
+ };
8359
+ const changeAbsensi = async () => {
8360
+ await executeOne("changeAttendance", { attendanceId: id.value });
8361
+ await syncOne();
8362
+ };
8363
+ const conflictAtt = vue.ref(false);
8364
+ async function conflictAttendance() {
8365
+ var _a2;
8366
+ const resp = await executeOne("checkAttendance", {
8367
+ staffId: (_a2 = staff.value) == null ? void 0 : _a2.id,
8368
+ startedAt: values.value.startedAt
8369
+ });
8370
+ const countAtt = resp.data.executeAttendance.output.countAttendance;
8371
+ if (values.value.startedAt) {
8372
+ if (countAtt > 1) {
8373
+ conflictAtt.value = true;
8374
+ } else {
8375
+ await submitAbsensi();
8376
+ await syncOne();
8377
+ conflictAtt.value = false;
8378
+ }
8379
+ } else {
8380
+ conflictAtt.value = true;
8381
+ }
8382
+ }
8383
+ const staffOptions = vue.computed(() => {
8384
+ var _a2;
8385
+ return {
8386
+ filter: [
8387
+ {
8388
+ handle: "_id",
8389
+ operator: "nin",
8390
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
8391
+ }
8392
+ ]
8393
+ };
8394
+ });
8395
+ return (_ctx, _cache) => {
8396
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-single" }, {
8397
+ default: vue.withCtx(() => [
8398
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
8399
+ default: vue.withCtx(() => [
8400
+ vue.createVNode(vue.unref(office.OfficeTab), {
8401
+ handle: "info",
8402
+ icon: "circle-info",
8403
+ title: "Info"
8404
+ }, {
8405
+ default: vue.withCtx(() => [
8406
+ vue.createVNode(vue.unref(form.NeonForm), {
8407
+ handle: "info",
8408
+ "initial-values": vue.unref(initialValues),
8409
+ "is-loading": vue.unref(isLoading),
8410
+ "is-changed": vue.unref(isChanged),
8411
+ "use-unsaved": "",
8412
+ onCancel: vue.unref(discardChanges),
8413
+ onSubmit: vue.unref(saveOne)
8414
+ }, {
8415
+ default: vue.withCtx(() => [
8416
+ conflictAtt.value == true ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonAlert), {
8417
+ key: 0,
8418
+ icon: "circle-info",
8419
+ label: "Sudah ada Absensi!. ",
8420
+ description: "Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya.",
8421
+ color: "#F7CF6D"
8422
+ })) : vue.createCommentVNode("v-if", true),
8423
+ !vue.unref(isNew) && conflictAtt.value == false ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$2, [
8424
+ vue.createElementVNode("div", _hoisted_2$2, [
8425
+ vue.createVNode(vue.unref(form.NeonField), null, {
8426
+ input: vue.withCtx(() => [
8427
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
8428
+ size: "md",
8429
+ color: "success",
8430
+ "icon-left": "up-from-line",
8431
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8432
+ onClick: conflictAttendance
8433
+ }, {
8434
+ default: vue.withCtx(() => [
8435
+ vue.createTextVNode("Ajukan")
8436
+ ]),
8437
+ _: 1
8438
+ /* STABLE */
8439
+ }, 8, ["is-disabled"])
8440
+ ]),
8441
+ _: 1
8442
+ /* STABLE */
8443
+ })
8444
+ ]),
8445
+ vue.createTextVNode("    "),
8446
+ vue.createElementVNode("div", _hoisted_3$2, [
8447
+ vue.createVNode(vue.unref(form.NeonField), null, {
8448
+ input: vue.withCtx(() => [
8449
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
8450
+ size: "md",
8451
+ color: "warning",
8452
+ "icon-left": "arrows-retweet",
8453
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "draft",
8454
+ onClick: changeAbsensi
8455
+ }, {
8456
+ default: vue.withCtx(() => [
8457
+ vue.createTextVNode("Ganti")
8458
+ ]),
8459
+ _: 1
8460
+ /* STABLE */
8461
+ }, 8, ["is-disabled"])
8462
+ ]),
8463
+ _: 1
8464
+ /* STABLE */
8465
+ })
8466
+ ])
8467
+ ])) : vue.createCommentVNode("v-if", true),
8468
+ vue.createVNode(vue.unref(office.OfficeRelation), {
8469
+ modelValue: vue.unref(values),
8470
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
8471
+ field: vue.unref(fields).submitStaff,
8472
+ "is-disabled": ""
8473
+ }, null, 8, ["modelValue", "field"]),
8474
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8475
+ key: key.value,
8476
+ "model-value": vue.unref(values).startedAt
8477
+ }, {
8478
+ handle: "startedAt",
8479
+ name: "Tanggal",
8480
+ type: "date",
8481
+ input: "date2",
8482
+ options: {
8483
+ note: "Tanggal absensi."
8484
+ }
8485
+ }, {
8486
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8487
+ "onUpdate:modelValue": onStartedAtUpdate
8488
+ }), null, 16, ["model-value", "is-disabled"])),
8489
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8490
+ modelValue: vue.unref(values).type,
8491
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
8492
+ }, vue.unref(fields).type, {
8493
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8494
+ }), null, 16, ["modelValue", "is-disabled"]),
7665
8495
  vue.createVNode(vue.unref(office.OfficeRelation), {
7666
8496
  modelValue: vue.unref(values),
7667
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
7668
- field: vue.unref(fields).decideStaff
7669
- }, null, 8, ["modelValue", "field"]),
8497
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
8498
+ field: vue.unref(fields).decideStaff,
8499
+ query: vue.unref(query.Query).define(staffOptions.value),
8500
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8501
+ }, null, 8, ["modelValue", "field", "query", "is-disabled"]),
7670
8502
  vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7671
- key: 0,
8503
+ key: 2,
7672
8504
  modelValue: vue.unref(values).notes,
7673
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
8505
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
7674
8506
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
7675
- vue.createVNode(vue.unref(interfaces.NeonDivider), {
8507
+ vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
8508
+ key: 3,
7676
8509
  "is-dashed": "",
7677
8510
  label: "Keterangan"
7678
- }),
7679
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8511
+ })) : vue.createCommentVNode("v-if", true),
8512
+ vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8513
+ key: 4,
7680
8514
  modelValue: vue.unref(values).submittedAt,
7681
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
7682
- }, vue.unref(fields).submittedAt), null, 16, ["modelValue"]),
7683
- vue.createElementVNode("div", _hoisted_1$2, [
8515
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
8516
+ }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8517
+ vue.createCommentVNode(" EARLY GO HOME "),
8518
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$2, [
7684
8519
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7685
8520
  modelValue: vue.unref(values).startedAt,
7686
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).startedAt = $event)
8521
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
8522
+ }, {
8523
+ handle: "startedAt",
8524
+ name: "Jam Pulang Kerja",
8525
+ options: {
8526
+ note: "Jam pulang kerja."
8527
+ }
8528
+ }), {
8529
+ input: vue.withCtx(() => [
8530
+ vue.createVNode(vue.unref(NeonTime), {
8531
+ modelValue: vue.unref(values).startedAt,
8532
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event),
8533
+ "is-loading": vue.unref(isLoading),
8534
+ class: "mt-2",
8535
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8536
+ }, null, 8, ["modelValue", "is-loading", "is-disabled"])
8537
+ ]),
8538
+ _: 1
8539
+ /* STABLE */
8540
+ }, 16, ["modelValue"]),
8541
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8542
+ modelValue: vue.unref(values).endedAt,
8543
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
8544
+ }, {
8545
+ handle: "endedAt",
8546
+ name: "Jam Pulang Lebih Awal",
8547
+ options: {
8548
+ note: "Jam pulang lebih awal."
8549
+ }
8550
+ }), {
8551
+ input: vue.withCtx(() => [
8552
+ vue.createVNode(vue.unref(NeonTime), {
8553
+ modelValue: vue.unref(values).endedAt,
8554
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event),
8555
+ "is-loading": vue.unref(isLoading),
8556
+ class: "mt-2",
8557
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8558
+ }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
8559
+ vue.createElementVNode(
8560
+ "div",
8561
+ _hoisted_5$2,
8562
+ vue.toDisplayString(duration.value),
8563
+ 1
8564
+ /* TEXT */
8565
+ )
8566
+ ]),
8567
+ _: 1
8568
+ /* STABLE */
8569
+ }, 16, ["modelValue"])
8570
+ ])) : vue.createCommentVNode("v-if", true),
8571
+ vue.createCommentVNode(" COME TOO LATE "),
8572
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$2, [
8573
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8574
+ modelValue: vue.unref(values).startedAt,
8575
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
8576
+ }, {
8577
+ handle: "startedAt",
8578
+ name: "Jam Datang",
8579
+ options: {
8580
+ note: "Jam Datang kerja."
8581
+ }
8582
+ }), {
8583
+ input: vue.withCtx(() => [
8584
+ vue.createVNode(vue.unref(NeonTime), {
8585
+ modelValue: vue.unref(values).startedAt,
8586
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
8587
+ "is-loading": vue.unref(isLoading),
8588
+ class: "mt-2",
8589
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8590
+ }, null, 8, ["modelValue", "is-loading", "is-disabled"])
8591
+ ]),
8592
+ _: 1
8593
+ /* STABLE */
8594
+ }, 16, ["modelValue"]),
8595
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8596
+ modelValue: vue.unref(values).endedAt,
8597
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
8598
+ }, {
8599
+ handle: "endedAt",
8600
+ name: "Jam Datang Terlambat",
8601
+ options: {
8602
+ note: "Jam datang terlambat."
8603
+ }
8604
+ }), {
8605
+ input: vue.withCtx(() => [
8606
+ vue.createVNode(vue.unref(NeonTime), {
8607
+ modelValue: vue.unref(values).endedAt,
8608
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
8609
+ "is-loading": vue.unref(isLoading),
8610
+ class: "mt-2",
8611
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8612
+ }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
8613
+ vue.createElementVNode(
8614
+ "div",
8615
+ _hoisted_7$2,
8616
+ vue.toDisplayString(duration.value),
8617
+ 1
8618
+ /* TEXT */
8619
+ )
8620
+ ]),
8621
+ _: 1
8622
+ /* STABLE */
8623
+ }, 16, ["modelValue"])
8624
+ ])) : vue.createCommentVNode("v-if", true),
8625
+ vue.createCommentVNode(" TIMEOUT "),
8626
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
8627
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8628
+ modelValue: vue.unref(values).startedAt,
8629
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
7687
8630
  }, {
7688
8631
  handle: "startedAt",
7689
8632
  name: "Mulai",
@@ -7694,17 +8637,18 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
7694
8637
  input: vue.withCtx(() => [
7695
8638
  vue.createVNode(vue.unref(NeonTime), {
7696
8639
  modelValue: vue.unref(values).startedAt,
7697
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event),
8640
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
7698
8641
  "is-loading": vue.unref(isLoading),
7699
- class: "mt-2"
7700
- }, null, 8, ["modelValue", "is-loading"])
8642
+ class: "mt-2",
8643
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8644
+ }, null, 8, ["modelValue", "is-loading", "is-disabled"])
7701
8645
  ]),
7702
8646
  _: 1
7703
8647
  /* STABLE */
7704
8648
  }, 16, ["modelValue"]),
7705
8649
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7706
8650
  modelValue: vue.unref(values).endedAt,
7707
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).endedAt = $event)
8651
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
7708
8652
  }, {
7709
8653
  handle: "endedAt",
7710
8654
  name: "Selesai",
@@ -7715,13 +8659,14 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
7715
8659
  input: vue.withCtx(() => [
7716
8660
  vue.createVNode(vue.unref(NeonTime), {
7717
8661
  modelValue: vue.unref(values).endedAt,
7718
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event),
8662
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
7719
8663
  "is-loading": vue.unref(isLoading),
7720
- class: "mt-2"
7721
- }, null, 8, ["modelValue", "is-loading"]),
8664
+ class: "mt-2",
8665
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8666
+ }, null, 8, ["modelValue", "is-loading", "is-disabled"]),
7722
8667
  vue.createElementVNode(
7723
8668
  "div",
7724
- _hoisted_2$2,
8669
+ _hoisted_9$2,
7725
8670
  vue.toDisplayString(duration.value),
7726
8671
  1
7727
8672
  /* TEXT */
@@ -7730,7 +8675,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
7730
8675
  _: 1
7731
8676
  /* STABLE */
7732
8677
  }, 16, ["modelValue"])
7733
- ])
8678
+ ])) : vue.createCommentVNode("v-if", true)
7734
8679
  ]),
7735
8680
  _: 1
7736
8681
  /* STABLE */
@@ -7750,31 +8695,28 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
7750
8695
  };
7751
8696
  }
7752
8697
  });
7753
- const AttendanceSingle_vue_vue_type_style_index_0_scoped_0c3c6187_lang = "";
7754
- const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-0c3c6187"]]);
7755
- const _hoisted_1$1 = {
7756
- key: 1,
7757
- class: "flex flex-wrap"
7758
- };
8698
+ const AttendanceStaff_vue_vue_type_style_index_0_scoped_a86e895b_lang = "";
8699
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a86e895b"]]);
8700
+ const _hoisted_1$1 = { class: "flex flex-wrap" };
7759
8701
  const _hoisted_2$1 = { class: "mt-2" };
7760
8702
  const _hoisted_3$1 = { class: "mt-2" };
7761
8703
  const _hoisted_4$1 = {
7762
- key: 5,
8704
+ key: 3,
7763
8705
  class: "grid gap-2 sm:grid-cols-2"
7764
8706
  };
7765
8707
  const _hoisted_5$1 = { class: "text-right text-fg-subdued text-sm" };
7766
8708
  const _hoisted_6$1 = {
7767
- key: 6,
8709
+ key: 4,
7768
8710
  class: "grid gap-2 sm:grid-cols-2"
7769
8711
  };
7770
8712
  const _hoisted_7$1 = { class: "text-right text-fg-subdued text-sm" };
7771
8713
  const _hoisted_8$1 = {
7772
- key: 7,
8714
+ key: 5,
7773
8715
  class: "grid gap-2 sm:grid-cols-2"
7774
8716
  };
7775
8717
  const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
7776
8718
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7777
- __name: "AttendanceStaff",
8719
+ __name: "AttendanceManager",
7778
8720
  setup(__props) {
7779
8721
  var _a;
7780
8722
  const {
@@ -7802,6 +8744,15 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7802
8744
  const duration2 = DateUtil.day.duration(diff.value);
7803
8745
  return duration2.format("HH [jam] mm [menit]");
7804
8746
  });
8747
+ const reverseDiff = vue.computed(() => {
8748
+ return DateUtil.day(values.value.startedAt).diff(values.value.endedAt);
8749
+ });
8750
+ const reverseDuration = vue.computed(() => {
8751
+ if (isNaN(reverseDiff.value))
8752
+ return "-";
8753
+ const duration2 = DateUtil.day.duration(reverseDiff.value);
8754
+ return duration2.format("HH [jam] mm [menit]");
8755
+ });
7805
8756
  function onStartedAtUpdate(date) {
7806
8757
  if (!date)
7807
8758
  return;
@@ -7812,7 +8763,6 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7812
8763
  endedAt = endedAt.hour(currentEndedendedAt.hour()).minute(currentEndedendedAt.minute()).second(0).millisecond(0);
7813
8764
  values.value.startedAt = startedAt.toISOString();
7814
8765
  values.value.endedAt = endedAt.toISOString();
7815
- conflictAtt.value = false;
7816
8766
  }
7817
8767
  const { staff } = useOperasional();
7818
8768
  const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
@@ -7828,34 +8778,15 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7828
8778
  immediate: true
7829
8779
  }
7830
8780
  );
7831
- const submitAbsensi = async () => {
7832
- await executeOne("submitAttendance", { attendanceId: id.value });
8781
+ const approvedAbsensi = async () => {
8782
+ await executeOne("approvedAttendance", { attendanceId: id.value });
7833
8783
  await syncOne();
7834
8784
  };
7835
- const changeAbsensi = async () => {
7836
- await executeOne("changeAttendance", { attendanceId: id.value });
8785
+ const deleteAbsensi = async () => {
8786
+ await executeOne("deleteAttendance", { attendanceId: id.value });
7837
8787
  await syncOne();
8788
+ window.location.href = "/penugasan/manager-attendances";
7838
8789
  };
7839
- const conflictAtt = vue.ref(false);
7840
- async function conflictAttendance() {
7841
- var _a2;
7842
- const resp = await executeOne("checkAttendance", {
7843
- staffId: (_a2 = staff.value) == null ? void 0 : _a2.id,
7844
- startedAt: values.value.startedAt
7845
- });
7846
- const countAtt = resp.data.executeAttendance.output.countAttendance;
7847
- if (values.value.startedAt) {
7848
- if (countAtt > 1) {
7849
- conflictAtt.value = true;
7850
- } else {
7851
- await submitAbsensi();
7852
- await syncOne();
7853
- conflictAtt.value = false;
7854
- }
7855
- } else {
7856
- conflictAtt.value = true;
7857
- }
7858
- }
7859
8790
  return (_ctx, _cache) => {
7860
8791
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-single" }, {
7861
8792
  default: vue.withCtx(() => [
@@ -7877,26 +8808,19 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7877
8808
  onSubmit: vue.unref(saveOne)
7878
8809
  }, {
7879
8810
  default: vue.withCtx(() => [
7880
- conflictAtt.value == true ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonAlert), {
7881
- key: 0,
7882
- icon: "circle-info",
7883
- label: "Sudah ada Absensi!. ",
7884
- description: "Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya.",
7885
- color: "#F7CF6D"
7886
- })) : vue.createCommentVNode("v-if", true),
7887
- !vue.unref(isNew) && conflictAtt.value == false ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
8811
+ vue.createElementVNode("div", _hoisted_1$1, [
7888
8812
  vue.createElementVNode("div", _hoisted_2$1, [
7889
8813
  vue.createVNode(vue.unref(form.NeonField), null, {
7890
8814
  input: vue.withCtx(() => [
7891
8815
  vue.createVNode(vue.unref(interfaces.NeonButton), {
7892
8816
  size: "md",
7893
8817
  color: "success",
7894
- "icon-left": "up-from-line",
7895
- "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
7896
- onClick: conflictAttendance
8818
+ "icon-left": "check",
8819
+ "is-disabled": vue.unref(values).status == "approved",
8820
+ onClick: approvedAbsensi
7897
8821
  }, {
7898
8822
  default: vue.withCtx(() => [
7899
- vue.createTextVNode("Ajukan")
8823
+ vue.createTextVNode("Disetujui")
7900
8824
  ]),
7901
8825
  _: 1
7902
8826
  /* STABLE */
@@ -7912,23 +8836,22 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7912
8836
  input: vue.withCtx(() => [
7913
8837
  vue.createVNode(vue.unref(interfaces.NeonButton), {
7914
8838
  size: "md",
7915
- color: "warning",
7916
- "icon-left": "arrows-retweet",
7917
- "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "draft",
7918
- onClick: changeAbsensi
8839
+ color: "danger",
8840
+ "icon-left": "trash-can",
8841
+ onClick: deleteAbsensi
7919
8842
  }, {
7920
8843
  default: vue.withCtx(() => [
7921
- vue.createTextVNode("Ganti")
8844
+ vue.createTextVNode("Dihapus")
7922
8845
  ]),
7923
8846
  _: 1
7924
8847
  /* STABLE */
7925
- }, 8, ["is-disabled"])
8848
+ })
7926
8849
  ]),
7927
8850
  _: 1
7928
8851
  /* STABLE */
7929
8852
  })
7930
8853
  ])
7931
- ])) : vue.createCommentVNode("v-if", true),
8854
+ ]),
7932
8855
  vue.createVNode(vue.unref(office.OfficeRelation), {
7933
8856
  modelValue: vue.unref(values),
7934
8857
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
@@ -7947,33 +8870,33 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7947
8870
  note: "Tanggal absensi."
7948
8871
  }
7949
8872
  }, {
7950
- "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8873
+ "is-disabled": vue.unref(values).status == "approved",
7951
8874
  "onUpdate:modelValue": onStartedAtUpdate
7952
8875
  }), null, 16, ["model-value", "is-disabled"])),
7953
8876
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7954
8877
  modelValue: vue.unref(values).type,
7955
8878
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
7956
8879
  }, vue.unref(fields).type, {
7957
- "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8880
+ "is-disabled": vue.unref(values).status == "approved"
7958
8881
  }), null, 16, ["modelValue", "is-disabled"]),
7959
8882
  vue.createVNode(vue.unref(office.OfficeRelation), {
7960
8883
  modelValue: vue.unref(values),
7961
8884
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
7962
8885
  field: vue.unref(fields).decideStaff,
7963
- "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8886
+ "is-disabled": vue.unref(values).status == "approved"
7964
8887
  }, null, 8, ["modelValue", "field", "is-disabled"]),
7965
8888
  vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7966
- key: 2,
8889
+ key: 0,
7967
8890
  modelValue: vue.unref(values).notes,
7968
8891
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
7969
8892
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
7970
8893
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
7971
- key: 3,
8894
+ key: 1,
7972
8895
  "is-dashed": "",
7973
8896
  label: "Keterangan"
7974
8897
  })) : vue.createCommentVNode("v-if", true),
7975
8898
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7976
- key: 4,
8899
+ key: 2,
7977
8900
  modelValue: vue.unref(values).submittedAt,
7978
8901
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
7979
8902
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
@@ -8020,7 +8943,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
8020
8943
  vue.createElementVNode(
8021
8944
  "div",
8022
8945
  _hoisted_5$1,
8023
- vue.toDisplayString(duration.value),
8946
+ vue.toDisplayString(reverseDuration.value),
8024
8947
  1
8025
8948
  /* TEXT */
8026
8949
  )
@@ -8152,8 +9075,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
8152
9075
  };
8153
9076
  }
8154
9077
  });
8155
- const AttendanceStaff_vue_vue_type_style_index_0_scoped_724535b0_lang = "";
8156
- const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-724535b0"]]);
9078
+ const AttendanceManager_vue_vue_type_style_index_0_scoped_643cca03_lang = "";
9079
+ const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-643cca03"]]);
8157
9080
  const _hoisted_1 = { class: "flex flex-wrap" };
8158
9081
  const _hoisted_2 = { class: "mt-2" };
8159
9082
  const _hoisted_3 = { class: "mt-2" };
@@ -8173,7 +9096,7 @@ const _hoisted_8 = {
8173
9096
  };
8174
9097
  const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
8175
9098
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8176
- __name: "AttendanceManager",
9099
+ __name: "AttendanceSupervisor",
8177
9100
  setup(__props) {
8178
9101
  var _a;
8179
9102
  const {
@@ -8242,7 +9165,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8242
9165
  const deleteAbsensi = async () => {
8243
9166
  await executeOne("deleteAttendance", { attendanceId: id.value });
8244
9167
  await syncOne();
8245
- window.location.href = "/penugasan/manager-attendances";
9168
+ window.location.href = "/pengawas/attendances";
8246
9169
  };
8247
9170
  return (_ctx, _cache) => {
8248
9171
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-single" }, {
@@ -8336,16 +9259,15 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8336
9259
  }, vue.unref(fields).type, {
8337
9260
  "is-disabled": vue.unref(values).status == "approved"
8338
9261
  }), null, 16, ["modelValue", "is-disabled"]),
8339
- vue.createVNode(vue.unref(office.OfficeRelation), {
8340
- modelValue: vue.unref(values),
8341
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
8342
- field: vue.unref(fields).decideStaff,
8343
- "is-disabled": vue.unref(values).status == "approved"
8344
- }, null, 8, ["modelValue", "field", "is-disabled"]),
9262
+ vue.createCommentVNode(` <OfficeRelation
9263
+ v-model="values"
9264
+ :field="fields.decideStaff"
9265
+ :is-disabled="values.status == 'approved'"
9266
+ /> `),
8345
9267
  vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8346
9268
  key: 0,
8347
9269
  modelValue: vue.unref(values).notes,
8348
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).notes = $event)
9270
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).notes = $event)
8349
9271
  }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8350
9272
  vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
8351
9273
  key: 1,
@@ -8355,13 +9277,13 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8355
9277
  vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8356
9278
  key: 2,
8357
9279
  modelValue: vue.unref(values).submittedAt,
8358
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).submittedAt = $event)
9280
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).submittedAt = $event)
8359
9281
  }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8360
9282
  vue.createCommentVNode(" EARLY GO HOME "),
8361
9283
  vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
8362
9284
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8363
9285
  modelValue: vue.unref(values).startedAt,
8364
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).startedAt = $event)
9286
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event)
8365
9287
  }, {
8366
9288
  handle: "startedAt",
8367
9289
  name: "Jam Pulang Kerja",
@@ -8372,7 +9294,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8372
9294
  input: vue.withCtx(() => [
8373
9295
  vue.createVNode(vue.unref(NeonTime), {
8374
9296
  modelValue: vue.unref(values).startedAt,
8375
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).startedAt = $event),
9297
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).startedAt = $event),
8376
9298
  "is-loading": vue.unref(isLoading),
8377
9299
  class: "mt-2"
8378
9300
  }, null, 8, ["modelValue", "is-loading"])
@@ -8382,7 +9304,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8382
9304
  }, 16, ["modelValue"]),
8383
9305
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8384
9306
  modelValue: vue.unref(values).endedAt,
8385
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).endedAt = $event)
9307
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event)
8386
9308
  }, {
8387
9309
  handle: "endedAt",
8388
9310
  name: "Jam Pulang Lebih Awal",
@@ -8393,7 +9315,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8393
9315
  input: vue.withCtx(() => [
8394
9316
  vue.createVNode(vue.unref(NeonTime), {
8395
9317
  modelValue: vue.unref(values).endedAt,
8396
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).endedAt = $event),
9318
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).endedAt = $event),
8397
9319
  "is-loading": vue.unref(isLoading),
8398
9320
  class: "mt-2"
8399
9321
  }, null, 8, ["modelValue", "is-loading"]),
@@ -8413,7 +9335,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8413
9335
  vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
8414
9336
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8415
9337
  modelValue: vue.unref(values).startedAt,
8416
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).startedAt = $event)
9338
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event)
8417
9339
  }, {
8418
9340
  handle: "startedAt",
8419
9341
  name: "Jam Datang",
@@ -8424,7 +9346,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8424
9346
  input: vue.withCtx(() => [
8425
9347
  vue.createVNode(vue.unref(NeonTime), {
8426
9348
  modelValue: vue.unref(values).startedAt,
8427
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).startedAt = $event),
9349
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).startedAt = $event),
8428
9350
  "is-loading": vue.unref(isLoading),
8429
9351
  class: "mt-2"
8430
9352
  }, null, 8, ["modelValue", "is-loading"])
@@ -8434,7 +9356,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8434
9356
  }, 16, ["modelValue"]),
8435
9357
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8436
9358
  modelValue: vue.unref(values).endedAt,
8437
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).endedAt = $event)
9359
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event)
8438
9360
  }, {
8439
9361
  handle: "endedAt",
8440
9362
  name: "Jam Datang Terlambat",
@@ -8445,7 +9367,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8445
9367
  input: vue.withCtx(() => [
8446
9368
  vue.createVNode(vue.unref(NeonTime), {
8447
9369
  modelValue: vue.unref(values).endedAt,
8448
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).endedAt = $event),
9370
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).endedAt = $event),
8449
9371
  "is-loading": vue.unref(isLoading),
8450
9372
  class: "mt-2"
8451
9373
  }, null, 8, ["modelValue", "is-loading"]),
@@ -8465,7 +9387,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8465
9387
  vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
8466
9388
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8467
9389
  modelValue: vue.unref(values).startedAt,
8468
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event)
9390
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event)
8469
9391
  }, {
8470
9392
  handle: "startedAt",
8471
9393
  name: "Mulai",
@@ -8476,7 +9398,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8476
9398
  input: vue.withCtx(() => [
8477
9399
  vue.createVNode(vue.unref(NeonTime), {
8478
9400
  modelValue: vue.unref(values).startedAt,
8479
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).startedAt = $event),
9401
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).startedAt = $event),
8480
9402
  "is-loading": vue.unref(isLoading),
8481
9403
  class: "mt-2"
8482
9404
  }, null, 8, ["modelValue", "is-loading"])
@@ -8486,7 +9408,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8486
9408
  }, 16, ["modelValue"]),
8487
9409
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8488
9410
  modelValue: vue.unref(values).endedAt,
8489
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event)
9411
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event)
8490
9412
  }, {
8491
9413
  handle: "endedAt",
8492
9414
  name: "Selesai",
@@ -8497,7 +9419,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8497
9419
  input: vue.withCtx(() => [
8498
9420
  vue.createVNode(vue.unref(NeonTime), {
8499
9421
  modelValue: vue.unref(values).endedAt,
8500
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).endedAt = $event),
9422
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).endedAt = $event),
8501
9423
  "is-loading": vue.unref(isLoading),
8502
9424
  class: "mt-2"
8503
9425
  }, null, 8, ["modelValue", "is-loading"]),
@@ -8532,8 +9454,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
8532
9454
  };
8533
9455
  }
8534
9456
  });
8535
- const AttendanceManager_vue_vue_type_style_index_0_scoped_643cca03_lang = "";
8536
- const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-643cca03"]]);
9457
+ const AttendanceSupervisor_vue_vue_type_style_index_0_scoped_3b3cd9ef_lang = "";
9458
+ const AttendanceSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-3b3cd9ef"]]);
8537
9459
  const ProgressAccessModel = personaliaModels.models.ProgressAccessModel;
8538
9460
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
8539
9461
  ...{
@@ -8693,81 +9615,86 @@ const ProgressAccessSupervisor_vue_vue_type_style_index_0_scoped_54eff340_lang =
8693
9615
  const ProgressAccessSupervisor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-54eff340"]]);
8694
9616
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8695
9617
  __proto__: null,
8696
- AttendanceCollection: _sfc_main$6,
9618
+ AttendanceCollection: _sfc_main$7,
8697
9619
  AttendanceManager,
8698
9620
  AttendanceModel,
8699
9621
  AttendanceSingle,
8700
9622
  AttendanceStaff,
9623
+ AttendanceSupervisor,
8701
9624
  CheckInAccess,
8702
- CheckInCollection: _sfc_main$N,
9625
+ CheckInCollection: _sfc_main$S,
8703
9626
  CheckInExternal,
8704
9627
  CheckInModel,
8705
9628
  CheckInPresenceCollection,
8706
- CheckInScanError: _sfc_main$Q,
8707
- CheckInScanSuccess: _sfc_main$O,
9629
+ CheckInScanError: _sfc_main$V,
9630
+ CheckInScanSuccess: _sfc_main$T,
8708
9631
  CheckInScanner,
8709
9632
  CheckInSingle,
9633
+ CheckInSupervisor,
8710
9634
  NeonTime,
8711
9635
  OperasionalIdentitas,
8712
- PlanCollection: _sfc_main$f,
9636
+ PlanCollection: _sfc_main$h,
8713
9637
  PlanModel,
8714
9638
  PlanSingle,
8715
9639
  PlanStaff,
8716
- PlanTypeCollection: _sfc_main$h,
9640
+ PlanTypeCollection: _sfc_main$j,
8717
9641
  PlanTypeModel,
8718
9642
  PlanTypeSingle,
8719
9643
  ProgressAccessCollection: _sfc_main$2,
8720
9644
  ProgressAccessModel,
8721
9645
  ProgressAccessSingle,
8722
9646
  ProgressAccessSupervisor,
8723
- ProgressButton: _sfc_main$c,
9647
+ ProgressButton: _sfc_main$e,
8724
9648
  ProgressCollection,
8725
9649
  ProgressModel,
8726
9650
  ProgressNote,
9651
+ ProgressNoteButton: _sfc_main$d,
8727
9652
  ProgressSingle,
8728
9653
  ProgressTomorrow,
8729
9654
  ProgressYesterday,
8730
- ResponsibilityCollection: _sfc_main$n,
9655
+ ResponsibilityCollection: _sfc_main$q,
8731
9656
  ResponsibilityModel,
8732
9657
  ResponsibilitySingle,
8733
9658
  ResponsibilityStaff,
8734
- ResponsibilityTypeCollection: _sfc_main$p,
9659
+ ResponsibilitySupervisor,
9660
+ ResponsibilityTypeCollection: _sfc_main$s,
8735
9661
  ResponsibilityTypeModel,
8736
9662
  ResponsibilityTypeSingle,
8737
- SituationCollection: _sfc_main$I,
9663
+ SituationCollection: _sfc_main$M,
8738
9664
  SituationModel,
8739
- SituationSingle: _sfc_main$H,
8740
- SituationSupportive: _sfc_main$F,
8741
- SituationTypeCollection: _sfc_main$E,
9665
+ SituationSingle: _sfc_main$L,
9666
+ SituationSupportive: _sfc_main$J,
9667
+ SituationTypeCollection: _sfc_main$I,
8742
9668
  SituationTypeModel,
8743
- SituationTypeSingle: _sfc_main$D,
8744
- SituationWork: _sfc_main$G,
8745
- StaffCollection: _sfc_main$M,
8746
- StaffIdentity: _sfc_main$J,
9669
+ SituationTypeSingle: _sfc_main$H,
9670
+ SituationWork: _sfc_main$K,
9671
+ StaffCollection: _sfc_main$Q,
9672
+ StaffIdentity: _sfc_main$N,
8747
9673
  StaffModel,
8748
9674
  StaffOperasional,
8749
9675
  StaffSingle,
8750
9676
  SubmissionAudit,
8751
- SubmissionCollection: _sfc_main$y,
9677
+ SubmissionCollection: _sfc_main$C,
8752
9678
  SubmissionDecision,
8753
9679
  SubmissionFollowUp,
8754
9680
  SubmissionModel,
8755
9681
  SubmissionSingle,
8756
9682
  SubmissionStaff,
8757
- SubmissionTypeCollection: _sfc_main$r,
9683
+ SubmissionSupervisor,
9684
+ SubmissionTypeCollection: _sfc_main$u,
8758
9685
  SubmissionTypeModel,
8759
9686
  SubmissionTypeSingle,
8760
9687
  SubmissionWaitingDecision,
8761
9688
  TargetBranch,
8762
- TargetCollection: _sfc_main$k,
9689
+ TargetCollection: _sfc_main$m,
8763
9690
  TargetModel,
8764
9691
  TargetSingle,
8765
- TaskCollection: _sfc_main$B,
9692
+ TaskCollection: _sfc_main$F,
8766
9693
  TaskModel,
8767
- TaskSingle: _sfc_main$A,
8768
- TaskWork: _sfc_main$z,
8769
- TaskWorkButton: _sfc_main$C,
8770
- XxxButton: _sfc_main$X
9694
+ TaskSingle: _sfc_main$E,
9695
+ TaskWork: _sfc_main$D,
9696
+ TaskWorkButton: _sfc_main$G,
9697
+ XxxButton: _sfc_main$10
8771
9698
  }, Symbol.toStringTag, { value: "Module" }));
8772
9699
  function registerComponents(app) {
8773
9700
  Object.entries(components).forEach(([name, component2]) => {
@@ -8782,84 +9709,89 @@ const OperasionalInterfacesPlugin = {
8782
9709
  registerComponents(app);
8783
9710
  }
8784
9711
  };
8785
- exports.AttendanceCollection = _sfc_main$6;
9712
+ exports.AttendanceCollection = _sfc_main$7;
8786
9713
  exports.AttendanceManager = AttendanceManager;
8787
9714
  exports.AttendanceModel = AttendanceModel;
8788
9715
  exports.AttendanceSingle = AttendanceSingle;
8789
9716
  exports.AttendanceStaff = AttendanceStaff;
9717
+ exports.AttendanceSupervisor = AttendanceSupervisor;
8790
9718
  exports.CheckInAccess = CheckInAccess;
8791
- exports.CheckInCollection = _sfc_main$N;
9719
+ exports.CheckInCollection = _sfc_main$S;
8792
9720
  exports.CheckInExternal = CheckInExternal;
8793
9721
  exports.CheckInModel = CheckInModel;
8794
9722
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
8795
- exports.CheckInScanError = _sfc_main$Q;
8796
- exports.CheckInScanSuccess = _sfc_main$O;
9723
+ exports.CheckInScanError = _sfc_main$V;
9724
+ exports.CheckInScanSuccess = _sfc_main$T;
8797
9725
  exports.CheckInScanner = CheckInScanner;
8798
9726
  exports.CheckInSingle = CheckInSingle;
9727
+ exports.CheckInSupervisor = CheckInSupervisor;
8799
9728
  exports.NOperasional = operasional_types;
8800
9729
  exports.NeonTime = NeonTime;
8801
9730
  exports.OperasionalIdentitas = OperasionalIdentitas;
8802
9731
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
8803
- exports.PlanCollection = _sfc_main$f;
9732
+ exports.PlanCollection = _sfc_main$h;
8804
9733
  exports.PlanModel = PlanModel;
8805
9734
  exports.PlanSingle = PlanSingle;
8806
9735
  exports.PlanStaff = PlanStaff;
8807
- exports.PlanTypeCollection = _sfc_main$h;
9736
+ exports.PlanTypeCollection = _sfc_main$j;
8808
9737
  exports.PlanTypeModel = PlanTypeModel;
8809
9738
  exports.PlanTypeSingle = PlanTypeSingle;
8810
9739
  exports.ProgressAccessCollection = _sfc_main$2;
8811
9740
  exports.ProgressAccessModel = ProgressAccessModel;
8812
9741
  exports.ProgressAccessSingle = ProgressAccessSingle;
8813
9742
  exports.ProgressAccessSupervisor = ProgressAccessSupervisor;
8814
- exports.ProgressButton = _sfc_main$c;
9743
+ exports.ProgressButton = _sfc_main$e;
8815
9744
  exports.ProgressCollection = ProgressCollection;
8816
9745
  exports.ProgressModel = ProgressModel;
8817
9746
  exports.ProgressNote = ProgressNote;
9747
+ exports.ProgressNoteButton = _sfc_main$d;
8818
9748
  exports.ProgressSingle = ProgressSingle;
8819
9749
  exports.ProgressTomorrow = ProgressTomorrow;
8820
9750
  exports.ProgressYesterday = ProgressYesterday;
8821
- exports.ResponsibilityCollection = _sfc_main$n;
9751
+ exports.ResponsibilityCollection = _sfc_main$q;
8822
9752
  exports.ResponsibilityModel = ResponsibilityModel;
8823
9753
  exports.ResponsibilitySingle = ResponsibilitySingle;
8824
9754
  exports.ResponsibilityStaff = ResponsibilityStaff;
8825
- exports.ResponsibilityTypeCollection = _sfc_main$p;
9755
+ exports.ResponsibilitySupervisor = ResponsibilitySupervisor;
9756
+ exports.ResponsibilityTypeCollection = _sfc_main$s;
8826
9757
  exports.ResponsibilityTypeModel = ResponsibilityTypeModel;
8827
9758
  exports.ResponsibilityTypeSingle = ResponsibilityTypeSingle;
8828
9759
  exports.Schema = graphql;
8829
- exports.SituationCollection = _sfc_main$I;
9760
+ exports.SituationCollection = _sfc_main$M;
8830
9761
  exports.SituationModel = SituationModel;
8831
- exports.SituationSingle = _sfc_main$H;
8832
- exports.SituationSupportive = _sfc_main$F;
8833
- exports.SituationTypeCollection = _sfc_main$E;
9762
+ exports.SituationSingle = _sfc_main$L;
9763
+ exports.SituationSupportive = _sfc_main$J;
9764
+ exports.SituationTypeCollection = _sfc_main$I;
8834
9765
  exports.SituationTypeModel = SituationTypeModel;
8835
- exports.SituationTypeSingle = _sfc_main$D;
8836
- exports.SituationWork = _sfc_main$G;
8837
- exports.StaffCollection = _sfc_main$M;
8838
- exports.StaffIdentity = _sfc_main$J;
9766
+ exports.SituationTypeSingle = _sfc_main$H;
9767
+ exports.SituationWork = _sfc_main$K;
9768
+ exports.StaffCollection = _sfc_main$Q;
9769
+ exports.StaffIdentity = _sfc_main$N;
8839
9770
  exports.StaffModel = StaffModel;
8840
9771
  exports.StaffOperasional = StaffOperasional;
8841
9772
  exports.StaffSingle = StaffSingle;
8842
9773
  exports.SubmissionAudit = SubmissionAudit;
8843
- exports.SubmissionCollection = _sfc_main$y;
9774
+ exports.SubmissionCollection = _sfc_main$C;
8844
9775
  exports.SubmissionDecision = SubmissionDecision;
8845
9776
  exports.SubmissionFollowUp = SubmissionFollowUp;
8846
9777
  exports.SubmissionModel = SubmissionModel;
8847
9778
  exports.SubmissionSingle = SubmissionSingle;
8848
9779
  exports.SubmissionStaff = SubmissionStaff;
8849
- exports.SubmissionTypeCollection = _sfc_main$r;
9780
+ exports.SubmissionSupervisor = SubmissionSupervisor;
9781
+ exports.SubmissionTypeCollection = _sfc_main$u;
8850
9782
  exports.SubmissionTypeModel = SubmissionTypeModel;
8851
9783
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
8852
9784
  exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
8853
9785
  exports.TargetBranch = TargetBranch;
8854
- exports.TargetCollection = _sfc_main$k;
9786
+ exports.TargetCollection = _sfc_main$m;
8855
9787
  exports.TargetModel = TargetModel;
8856
9788
  exports.TargetSingle = TargetSingle;
8857
- exports.TaskCollection = _sfc_main$B;
9789
+ exports.TaskCollection = _sfc_main$F;
8858
9790
  exports.TaskModel = TaskModel;
8859
- exports.TaskSingle = _sfc_main$A;
8860
- exports.TaskWork = _sfc_main$z;
8861
- exports.TaskWorkButton = _sfc_main$C;
8862
- exports.XxxButton = _sfc_main$X;
9791
+ exports.TaskSingle = _sfc_main$E;
9792
+ exports.TaskWork = _sfc_main$D;
9793
+ exports.TaskWorkButton = _sfc_main$G;
9794
+ exports.XxxButton = _sfc_main$10;
8863
9795
  exports.bus = bus;
8864
9796
  exports.useAttendanceStore = useAttendanceStore;
8865
9797
  exports.useOperasional = useOperasional;