@neutron.co.id/operasional-interfaces 1.8.2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.cjs CHANGED
@@ -33,7 +33,7 @@ const mitt = require("mitt");
33
33
  const personaliaModels = require("@neutron.co.id/personalia-models");
34
34
  const catatInterfaces = require("@neon.id/catat-interfaces");
35
35
  const _hoisted_1$m = { class: "xxx-button" };
36
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
36
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
37
37
  ...{ name: "XxxButton" },
38
38
  __name: "XxxButton",
39
39
  props: {
@@ -55,7 +55,7 @@ const _hoisted_2$g = {
55
55
  key: 2,
56
56
  class: "section"
57
57
  };
58
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
58
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
59
59
  ...{ name: "OperasionalIdentitas" },
60
60
  __name: "OperasionalIdentitas",
61
61
  props: {
@@ -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$S, [["__scopeId", "data-v-355c8370"]]);
414
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-355c8370"]]);
415
415
  dayjs.extend(durationPlugin);
416
416
  dayjs.extend(relativeTimePlugin);
417
417
  dayjs.extend(advancedFormat);
@@ -437,7 +437,7 @@ const _hoisted_2$f = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.cr
437
437
  const _hoisted_3$7 = [
438
438
  _hoisted_2$f
439
439
  ];
440
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
440
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
441
441
  __name: "NeonTime",
442
442
  props: {
443
443
  modelValue: {
@@ -498,7 +498,7 @@ const _sfc_main$R = /* @__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$R, [["__scopeId", "data-v-805321b9"]]);
501
+ const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__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);
@@ -639,7 +639,7 @@ const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
639
639
  /* HOISTED */
640
640
  ));
641
641
  const _hoisted_6$2 = { class: "end" };
642
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
642
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
643
643
  ...{
644
644
  name: "CheckInPresenceCollection"
645
645
  },
@@ -992,9 +992,9 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
992
992
  }
993
993
  });
994
994
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_ee60c24a_lang = "";
995
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-ee60c24a"]]);
995
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-ee60c24a"]]);
996
996
  const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
997
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
997
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
998
998
  __name: "CheckInSingle",
999
999
  setup(__props) {
1000
1000
  const {
@@ -1092,9 +1092,9 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1092
1092
  }
1093
1093
  });
1094
1094
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
1095
- const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-2e2803fb"]]);
1095
+ const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-2e2803fb"]]);
1096
1096
  const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
1097
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1097
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1098
1098
  __name: "CheckInExternal",
1099
1099
  setup(__props) {
1100
1100
  const {
@@ -1207,7 +1207,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1207
1207
  }
1208
1208
  });
1209
1209
  const CheckInExternal_vue_vue_type_style_index_0_scoped_dcdbc71a_lang = "";
1210
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-dcdbc71a"]]);
1210
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-dcdbc71a"]]);
1211
1211
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d23b6de5"), n = n(), vue.popScopeId(), n);
1212
1212
  const _hoisted_1$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1213
1213
  "h4",
@@ -1227,7 +1227,7 @@ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
1227
1227
  -1
1228
1228
  /* HOISTED */
1229
1229
  ));
1230
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1230
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1231
1231
  __name: "CheckInAccess",
1232
1232
  emits: ["close"],
1233
1233
  setup(__props) {
@@ -1280,9 +1280,9 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1280
1280
  }
1281
1281
  });
1282
1282
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1283
- const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-d23b6de5"]]);
1283
+ const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-d23b6de5"]]);
1284
1284
  const _hoisted_1$f = { class: "buttons" };
1285
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1285
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1286
1286
  __name: "CheckInScanError",
1287
1287
  setup(__props) {
1288
1288
  const attendanceStore = useAttendanceStore();
@@ -1346,7 +1346,7 @@ const _hoisted_2$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.crea
1346
1346
  ));
1347
1347
  const _hoisted_3$5 = ["onClick"];
1348
1348
  const _hoisted_4$3 = { class: "mr-2 text-sm" };
1349
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1349
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1350
1350
  __name: "CheckInScanner",
1351
1351
  emits: ["start", "stop", "scanned", "close"],
1352
1352
  setup(__props, { emit }) {
@@ -1528,7 +1528,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1528
1528
  }
1529
1529
  });
1530
1530
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1531
- const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-ef426ef3"]]);
1531
+ const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-ef426ef3"]]);
1532
1532
  const _hoisted_1$d = /* @__PURE__ */ vue.createElementVNode(
1533
1533
  "h3",
1534
1534
  { align: "center" },
@@ -1536,7 +1536,7 @@ const _hoisted_1$d = /* @__PURE__ */ vue.createElementVNode(
1536
1536
  -1
1537
1537
  /* HOISTED */
1538
1538
  );
1539
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1539
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1540
1540
  __name: "CheckInScanSuccess",
1541
1541
  emits: ["close"],
1542
1542
  setup(__props) {
@@ -1568,7 +1568,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1568
1568
  };
1569
1569
  }
1570
1570
  });
1571
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1571
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1572
1572
  ...{
1573
1573
  name: "CheckInCollection"
1574
1574
  },
@@ -1587,7 +1587,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1587
1587
  }
1588
1588
  });
1589
1589
  const StaffModel = personaliaModels.models.StaffModel;
1590
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1590
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1591
1591
  ...{
1592
1592
  name: "StaffCollection"
1593
1593
  },
@@ -1607,7 +1607,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1607
1607
  });
1608
1608
  const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1609
1609
  const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
1610
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1610
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1611
1611
  __name: "StaffSingle",
1612
1612
  setup(__props) {
1613
1613
  const {
@@ -1687,7 +1687,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1687
1687
  title: "Identitas"
1688
1688
  }, {
1689
1689
  default: vue.withCtx(() => [
1690
- vue.createVNode(vue.unref(_sfc_main$F))
1690
+ vue.createVNode(vue.unref(_sfc_main$G))
1691
1691
  ]),
1692
1692
  _: 1
1693
1693
  /* STABLE */
@@ -1758,10 +1758,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1758
1758
  }
1759
1759
  });
1760
1760
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1761
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-0cf4cd99"]]);
1761
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-0cf4cd99"]]);
1762
1762
  const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1763
1763
  const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
1764
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1764
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1765
1765
  __name: "StaffOperasional",
1766
1766
  setup(__props) {
1767
1767
  const {
@@ -1841,7 +1841,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1841
1841
  title: "Identitas"
1842
1842
  }, {
1843
1843
  default: vue.withCtx(() => [
1844
- vue.createVNode(vue.unref(_sfc_main$F))
1844
+ vue.createVNode(vue.unref(_sfc_main$G))
1845
1845
  ]),
1846
1846
  _: 1
1847
1847
  /* STABLE */
@@ -1919,8 +1919,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1919
1919
  }
1920
1920
  });
1921
1921
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
1922
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c62cf70a"]]);
1923
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
1922
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-c62cf70a"]]);
1923
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1924
1924
  __name: "StaffIdentity",
1925
1925
  setup(__props) {
1926
1926
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -2076,7 +2076,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2076
2076
  }
2077
2077
  });
2078
2078
  const SituationModel = personaliaModels.models.SituationModel;
2079
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2079
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2080
2080
  ...{ name: "SituationCollection" },
2081
2081
  __name: "SituationCollection",
2082
2082
  setup(__props) {
@@ -2092,7 +2092,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2092
2092
  };
2093
2093
  }
2094
2094
  });
2095
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2095
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2096
2096
  __name: "SituationSingle",
2097
2097
  setup(__props) {
2098
2098
  const {
@@ -2230,7 +2230,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2230
2230
  };
2231
2231
  }
2232
2232
  });
2233
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2233
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2234
2234
  __name: "SituationWork",
2235
2235
  setup(__props) {
2236
2236
  const {
@@ -2411,7 +2411,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2411
2411
  };
2412
2412
  }
2413
2413
  });
2414
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2414
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2415
2415
  ...{ name: "SituationSupportive" },
2416
2416
  __name: "SituationSupportive",
2417
2417
  setup(__props) {
@@ -2550,7 +2550,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2550
2550
  }
2551
2551
  });
2552
2552
  const SituationTypeModel = personaliaModels.models.SituationTypeModel;
2553
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2553
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2554
2554
  ...{ name: "SituationTypeCollection" },
2555
2555
  __name: "SituationTypeCollection",
2556
2556
  setup(__props) {
@@ -2566,7 +2566,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2566
2566
  };
2567
2567
  }
2568
2568
  });
2569
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2569
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2570
2570
  __name: "SituationTypeSingle",
2571
2571
  setup(__props) {
2572
2572
  const {
@@ -2641,7 +2641,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2641
2641
  const TaskModel = personaliaModels.models.TaskModel;
2642
2642
  const _hoisted_1$a = { key: 0 };
2643
2643
  const _hoisted_2$9 = { key: 1 };
2644
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2644
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2645
2645
  ...{ name: "TaskWorkButton" },
2646
2646
  __name: "TaskWorkButton",
2647
2647
  setup(__props) {
@@ -2762,7 +2762,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2762
2762
  };
2763
2763
  }
2764
2764
  });
2765
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2765
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2766
2766
  ...{ name: "TaskCollection" },
2767
2767
  __name: "TaskCollection",
2768
2768
  setup(__props) {
@@ -2778,7 +2778,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2778
2778
  };
2779
2779
  }
2780
2780
  });
2781
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
2781
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2782
2782
  __name: "TaskSingle",
2783
2783
  setup(__props) {
2784
2784
  const {
@@ -3001,7 +3001,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
3001
3001
  };
3002
3002
  }
3003
3003
  });
3004
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
3004
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
3005
3005
  __name: "TaskWork",
3006
3006
  setup(__props) {
3007
3007
  const {
@@ -3224,7 +3224,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
3224
3224
  }
3225
3225
  });
3226
3226
  const SubmissionModel = personaliaModels.models.SubmissionModel;
3227
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
3227
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
3228
3228
  ...{
3229
3229
  name: "SubmissionCollection"
3230
3230
  },
@@ -3242,7 +3242,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
3242
3242
  };
3243
3243
  }
3244
3244
  });
3245
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3245
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
3246
3246
  __name: "SubmissionSingle",
3247
3247
  setup(__props) {
3248
3248
  const {
@@ -3339,25 +3339,22 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3339
3339
  _: 1
3340
3340
  /* STABLE */
3341
3341
  }),
3342
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3343
- modelValue: vue.unref(values).specifications,
3344
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).specifications = $event)
3345
- }, vue.unref(fields).specifications), null, 16, ["modelValue"]),
3342
+ vue.createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n /> '),
3346
3343
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3347
3344
  modelValue: vue.unref(values).preparedAt,
3348
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).preparedAt = $event)
3345
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
3349
3346
  }, vue.unref(fields).preparedAt), null, 16, ["modelValue"]),
3350
3347
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3351
3348
  modelValue: vue.unref(values).raisedAt,
3352
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).raisedAt = $event)
3349
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
3353
3350
  }, vue.unref(fields).raisedAt), null, 16, ["modelValue"]),
3354
3351
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3355
3352
  modelValue: vue.unref(values).processedAt,
3356
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).processedAt = $event)
3353
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
3357
3354
  }, vue.unref(fields).processedAt), null, 16, ["modelValue"]),
3358
3355
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3359
3356
  modelValue: vue.unref(values).updatedAt,
3360
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).updatedAt = $event)
3357
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).updatedAt = $event)
3361
3358
  }, {
3362
3359
  handle: "updatedAt",
3363
3360
  name: "Tanggal Diupdate",
@@ -3369,12 +3366,16 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3369
3366
  }, { "is-disabled": "" }), null, 16, ["modelValue"]),
3370
3367
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3371
3368
  "is-dashed": "",
3372
- label: "Nominal"
3369
+ label: "Spesifikasi"
3373
3370
  }),
3374
3371
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3375
3372
  modelValue: vue.unref(values).nominal,
3376
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).nominal = $event)
3373
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).nominal = $event)
3377
3374
  }, vue.unref(fields).nominal), null, 16, ["modelValue"]),
3375
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3376
+ modelValue: vue.unref(values).workingHours,
3377
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).workingHours = $event)
3378
+ }, vue.unref(fields).workingHours), null, 16, ["modelValue"]),
3378
3379
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3379
3380
  "is-dashed": "",
3380
3381
  label: "Keputusan"
@@ -3438,9 +3439,9 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3438
3439
  };
3439
3440
  }
3440
3441
  });
3441
- const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
3442
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-39553dbd"]]);
3443
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3442
+ const SubmissionSingle_vue_vue_type_style_index_0_scoped_db121b49_lang = "";
3443
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-db121b49"]]);
3444
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3444
3445
  __name: "SubmissionStaff",
3445
3446
  setup(__props) {
3446
3447
  var _a;
@@ -3538,7 +3539,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3538
3539
  size: "md",
3539
3540
  color: "dark",
3540
3541
  "icon-left": "arrow-up-from-line",
3541
- "is-disabled": vue.unref(isNew) || vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).specifications || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type,
3542
+ "is-disabled": vue.unref(isNew) || vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved" || !vue.unref(values).agreedStaffs || !vue.unref(values).branches || !vue.unref(values).decideStaffs || !vue.unref(values).followUpStaffs || !vue.unref(values).raiseStaffs || !vue.unref(values).submissionStaffs || !vue.unref(values).title || !vue.unref(values).type,
3542
3543
  onClick: syncRaise
3543
3544
  }, {
3544
3545
  default: vue.withCtx(() => [
@@ -3617,34 +3618,46 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3617
3618
  _: 1
3618
3619
  /* STABLE */
3619
3620
  }),
3620
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3621
- modelValue: vue.unref(values).specifications,
3622
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
3623
- }, vue.unref(fields).specifications, {
3624
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
3625
- }), null, 16, ["modelValue", "is-disabled"]),
3621
+ vue.createCommentVNode(` <NeonField
3622
+ v-model="values.specifications"
3623
+ v-bind="fields.specifications"
3624
+ :is-disabled="
3625
+ values.status === 'raised' ||
3626
+ values.status === 'processed' ||
3627
+ values.status === 'approved' ||
3628
+ values.status === 'monitored' ||
3629
+ values.status === 'discontinued' ||
3630
+ values.status === 'resolved'
3631
+ "
3632
+ /> `),
3626
3633
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3627
3634
  modelValue: vue.unref(values).preparedAt,
3628
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
3635
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).preparedAt = $event)
3629
3636
  }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3630
3637
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3631
3638
  modelValue: vue.unref(values).raisedAt,
3632
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
3639
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).raisedAt = $event)
3633
3640
  }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3634
3641
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3635
3642
  modelValue: vue.unref(values).processedAt,
3636
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
3643
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).processedAt = $event)
3637
3644
  }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3638
3645
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3639
3646
  "is-dashed": "",
3640
- label: "Nominal"
3647
+ label: "Spesifikasi"
3641
3648
  }),
3642
3649
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3643
3650
  modelValue: vue.unref(values).nominal,
3644
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
3651
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).nominal = $event)
3645
3652
  }, vue.unref(fields).nominal, {
3646
3653
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
3647
3654
  }), null, 16, ["modelValue", "is-disabled"]),
3655
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3656
+ modelValue: vue.unref(values).workingHours,
3657
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).workingHours = $event)
3658
+ }, vue.unref(fields).workingHours, {
3659
+ "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
3660
+ }), null, 16, ["modelValue", "is-disabled"]),
3648
3661
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3649
3662
  "is-dashed": "",
3650
3663
  label: "Keputusan"
@@ -3711,9 +3724,9 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3711
3724
  };
3712
3725
  }
3713
3726
  });
3714
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
3715
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-3ed905bd"]]);
3716
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3727
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_c971a3c0_lang = "";
3728
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c971a3c0"]]);
3729
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3717
3730
  __name: "SubmissionFollowUp",
3718
3731
  setup(__props) {
3719
3732
  const {
@@ -3813,13 +3826,10 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3813
3826
  _: 1
3814
3827
  /* STABLE */
3815
3828
  }),
3816
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3817
- modelValue: vue.unref(values).specifications,
3818
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
3819
- }, vue.unref(fields).specifications, { "is-disabled": "" }), null, 16, ["modelValue"]),
3829
+ vue.createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n is-disabled\n /> '),
3820
3830
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3821
3831
  modelValue: vue.unref(values).updatedAt,
3822
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).updatedAt = $event)
3832
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).updatedAt = $event)
3823
3833
  }, {
3824
3834
  handle: "updatedAt",
3825
3835
  name: "Tanggal Diupdate",
@@ -3831,12 +3841,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3831
3841
  }, { "is-disabled": "" }), null, 16, ["modelValue"]),
3832
3842
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3833
3843
  "is-dashed": "",
3834
- label: "Nominal"
3844
+ label: "Spesifikasi"
3835
3845
  }),
3836
3846
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3837
3847
  modelValue: vue.unref(values).nominal,
3838
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).nominal = $event)
3848
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).nominal = $event)
3839
3849
  }, vue.unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
3850
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
3851
+ modelValue: vue.unref(values).workingHours,
3852
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).workingHours = $event)
3853
+ }, vue.unref(fields).workingHours, { "is-disabled": "" }), null, 16, ["modelValue"]),
3840
3854
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
3841
3855
  "is-dashed": "",
3842
3856
  label: "Keputusan"
@@ -3903,14 +3917,14 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3903
3917
  };
3904
3918
  }
3905
3919
  });
3906
- const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
3907
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-6fd14e52"]]);
3920
+ const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_890dfdf2_lang = "";
3921
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-890dfdf2"]]);
3908
3922
  const _hoisted_1$9 = { class: "flex flex-wrap" };
3909
3923
  const _hoisted_2$8 = { class: "mt-2" };
3910
3924
  const _hoisted_3$4 = { class: "mt-2" };
3911
3925
  const _hoisted_4$2 = { class: "mt-2" };
3912
3926
  const _hoisted_5$2 = { class: "mt-2" };
3913
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
3927
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3914
3928
  __name: "SubmissionAudit",
3915
3929
  setup(__props) {
3916
3930
  var _a;
@@ -4164,34 +4178,45 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
4164
4178
  _: 1
4165
4179
  /* STABLE */
4166
4180
  }),
4167
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4168
- modelValue: vue.unref(values).specifications,
4169
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
4170
- }, vue.unref(fields).specifications, {
4171
- "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4172
- }), null, 16, ["modelValue", "is-disabled"]),
4181
+ vue.createCommentVNode(` <NeonField
4182
+ v-model="values.specifications"
4183
+ v-bind="fields.specifications"
4184
+ :is-disabled="
4185
+ values.status === 'processed' ||
4186
+ values.status === 'approved' ||
4187
+ values.status === 'monitored' ||
4188
+ values.status === 'discontinued' ||
4189
+ values.status === 'resolved'
4190
+ "
4191
+ /> `),
4173
4192
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4174
4193
  modelValue: vue.unref(values).preparedAt,
4175
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
4194
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).preparedAt = $event)
4176
4195
  }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4177
4196
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4178
4197
  modelValue: vue.unref(values).raisedAt,
4179
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
4198
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).raisedAt = $event)
4180
4199
  }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4181
4200
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4182
4201
  modelValue: vue.unref(values).processedAt,
4183
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
4202
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).processedAt = $event)
4184
4203
  }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4185
4204
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4186
4205
  "is-dashed": "",
4187
- label: "Nominal"
4206
+ label: "Spesifikasi"
4188
4207
  }),
4189
4208
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4190
4209
  modelValue: vue.unref(values).nominal,
4191
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
4210
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).nominal = $event)
4192
4211
  }, vue.unref(fields).nominal, {
4193
4212
  "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4194
4213
  }), null, 16, ["modelValue", "is-disabled"]),
4214
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4215
+ modelValue: vue.unref(values).workingHours,
4216
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).workingHours = $event)
4217
+ }, vue.unref(fields).workingHours, {
4218
+ "is-disabled": vue.unref(values).status === "processed" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4219
+ }), null, 16, ["modelValue", "is-disabled"]),
4195
4220
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4196
4221
  "is-dashed": "",
4197
4222
  label: "Keputusan"
@@ -4246,6 +4271,43 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
4246
4271
  ]),
4247
4272
  _: 1
4248
4273
  /* STABLE */
4274
+ })) : vue.createCommentVNode("v-if", true),
4275
+ vue.createCommentVNode(" PROGRESS "),
4276
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
4277
+ key: 1,
4278
+ handle: "progress",
4279
+ icon: "info-circle",
4280
+ title: "Progress"
4281
+ }, {
4282
+ default: vue.withCtx(() => [
4283
+ vue.createVNode(vue.unref(office.OfficeCollectionRelated), {
4284
+ definition: "neu:personalia:progress",
4285
+ title: "Progress",
4286
+ description: "Progress dari tindaklanjut.",
4287
+ query: vue.unref(query.Query).define({
4288
+ filter: [
4289
+ {
4290
+ submissionIds: vue.unref(id)
4291
+ }
4292
+ ],
4293
+ sort: {
4294
+ handle: "startedAt",
4295
+ direction: "ascending"
4296
+ }
4297
+ }),
4298
+ "is-ready": vue.unref(isReady),
4299
+ columns: ["startedAt", "endedAt", "staff", "detail"],
4300
+ sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
4301
+ filters: ["staff"],
4302
+ "initial-values": {
4303
+ submissionIds: vue.unref(id),
4304
+ submissions: vue.unref(values)
4305
+ },
4306
+ excludes: ["create"]
4307
+ }, null, 8, ["query", "is-ready", "initial-values"])
4308
+ ]),
4309
+ _: 1
4310
+ /* STABLE */
4249
4311
  })) : vue.createCommentVNode("v-if", true)
4250
4312
  ]),
4251
4313
  _: 1
@@ -4258,12 +4320,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
4258
4320
  };
4259
4321
  }
4260
4322
  });
4261
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
4262
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7ee6c6b9"]]);
4323
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_cf1bf231_lang = "";
4324
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-cf1bf231"]]);
4263
4325
  const _hoisted_1$8 = { class: "flex flex-wrap" };
4264
4326
  const _hoisted_2$7 = { class: "mt-2" };
4265
4327
  const _hoisted_3$3 = { class: "mt-2" };
4266
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
4328
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
4267
4329
  __name: "SubmissionDecision",
4268
4330
  setup(__props) {
4269
4331
  var _a;
@@ -4479,34 +4541,47 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
4479
4541
  _: 1
4480
4542
  /* STABLE */
4481
4543
  }),
4482
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4483
- modelValue: vue.unref(values).specifications,
4484
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
4485
- }, vue.unref(fields).specifications, {
4486
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4487
- }), null, 16, ["modelValue", "is-disabled"]),
4544
+ vue.createCommentVNode(` <NeonField
4545
+ v-model="values.specifications"
4546
+ v-bind="fields.specifications"
4547
+ :is-disabled="
4548
+ values.status === 'raised' ||
4549
+ values.status === 'processed' ||
4550
+ values.status === 'delay' ||
4551
+ values.status === 'approved' ||
4552
+ values.status === 'monitored' ||
4553
+ values.status === 'discontinued' ||
4554
+ values.status === 'resolved'
4555
+ "
4556
+ /> `),
4488
4557
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4489
4558
  modelValue: vue.unref(values).preparedAt,
4490
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
4559
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).preparedAt = $event)
4491
4560
  }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4492
4561
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4493
4562
  modelValue: vue.unref(values).raisedAt,
4494
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
4563
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).raisedAt = $event)
4495
4564
  }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4496
4565
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4497
4566
  modelValue: vue.unref(values).processedAt,
4498
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
4567
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).processedAt = $event)
4499
4568
  }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4500
4569
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4501
4570
  "is-dashed": "",
4502
- label: "Nominal"
4571
+ label: "Spesifikasi"
4503
4572
  }),
4504
4573
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4505
4574
  modelValue: vue.unref(values).nominal,
4506
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
4575
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).nominal = $event)
4507
4576
  }, vue.unref(fields).nominal, {
4508
4577
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4509
4578
  }), null, 16, ["modelValue", "is-disabled"]),
4579
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4580
+ modelValue: vue.unref(values).workingHours,
4581
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).workingHours = $event)
4582
+ }, vue.unref(fields).workingHours, {
4583
+ "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4584
+ }), null, 16, ["modelValue", "is-disabled"]),
4510
4585
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4511
4586
  "is-dashed": "",
4512
4587
  label: "Keputusan"
@@ -4561,6 +4636,43 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
4561
4636
  ]),
4562
4637
  _: 1
4563
4638
  /* STABLE */
4639
+ })) : vue.createCommentVNode("v-if", true),
4640
+ vue.createCommentVNode(" PROGRESS "),
4641
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
4642
+ key: 1,
4643
+ handle: "progress",
4644
+ icon: "info-circle",
4645
+ title: "Progress"
4646
+ }, {
4647
+ default: vue.withCtx(() => [
4648
+ vue.createVNode(vue.unref(office.OfficeCollectionRelated), {
4649
+ definition: "neu:personalia:progress",
4650
+ title: "Progress",
4651
+ description: "Progress dari tindaklanjut.",
4652
+ query: vue.unref(query.Query).define({
4653
+ filter: [
4654
+ {
4655
+ submissionIds: vue.unref(id)
4656
+ }
4657
+ ],
4658
+ sort: {
4659
+ handle: "startedAt",
4660
+ direction: "ascending"
4661
+ }
4662
+ }),
4663
+ "is-ready": vue.unref(isReady),
4664
+ columns: ["startedAt", "endedAt", "staff", "detail"],
4665
+ sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
4666
+ filters: ["staff"],
4667
+ "initial-values": {
4668
+ submissionIds: vue.unref(id),
4669
+ submissions: vue.unref(values)
4670
+ },
4671
+ excludes: ["create"]
4672
+ }, null, 8, ["query", "is-ready", "initial-values"])
4673
+ ]),
4674
+ _: 1
4675
+ /* STABLE */
4564
4676
  })) : vue.createCommentVNode("v-if", true)
4565
4677
  ]),
4566
4678
  _: 1
@@ -4573,12 +4685,12 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
4573
4685
  };
4574
4686
  }
4575
4687
  });
4576
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
4577
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ec347ac5"]]);
4688
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_754ce2a4_lang = "";
4689
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-754ce2a4"]]);
4578
4690
  const _hoisted_1$7 = { class: "flex flex-wrap" };
4579
4691
  const _hoisted_2$6 = { class: "mt-2" };
4580
4692
  const _hoisted_3$2 = { class: "mt-2" };
4581
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
4693
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
4582
4694
  __name: "SubmissionWaitingDecision",
4583
4695
  setup(__props) {
4584
4696
  var _a;
@@ -4796,34 +4908,47 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
4796
4908
  _: 1
4797
4909
  /* STABLE */
4798
4910
  }),
4799
- vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4800
- modelValue: vue.unref(values).specifications,
4801
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).specifications = $event)
4802
- }, vue.unref(fields).specifications, {
4803
- "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4804
- }), null, 16, ["modelValue", "is-disabled"]),
4911
+ vue.createCommentVNode(` <NeonField
4912
+ v-model="values.specifications"
4913
+ v-bind="fields.specifications"
4914
+ :is-disabled="
4915
+ values.status === 'raised' ||
4916
+ values.status === 'processed' ||
4917
+ values.status === 'delay' ||
4918
+ values.status === 'approved' ||
4919
+ values.status === 'monitored' ||
4920
+ values.status === 'discontinued' ||
4921
+ values.status === 'resolved'
4922
+ "
4923
+ /> `),
4805
4924
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4806
4925
  modelValue: vue.unref(values).preparedAt,
4807
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).preparedAt = $event)
4926
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).preparedAt = $event)
4808
4927
  }, vue.unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4809
4928
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4810
4929
  modelValue: vue.unref(values).raisedAt,
4811
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).raisedAt = $event)
4930
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).raisedAt = $event)
4812
4931
  }, vue.unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4813
4932
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4814
4933
  modelValue: vue.unref(values).processedAt,
4815
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).processedAt = $event)
4934
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).processedAt = $event)
4816
4935
  }, vue.unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4817
4936
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4818
4937
  "is-dashed": "",
4819
- label: "Nominal"
4938
+ label: "Spesifikasi"
4820
4939
  }),
4821
4940
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4822
4941
  modelValue: vue.unref(values).nominal,
4823
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).nominal = $event)
4942
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).nominal = $event)
4824
4943
  }, vue.unref(fields).nominal, {
4825
4944
  "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4826
4945
  }), null, 16, ["modelValue", "is-disabled"]),
4946
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
4947
+ modelValue: vue.unref(values).workingHours,
4948
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).workingHours = $event)
4949
+ }, vue.unref(fields).workingHours, {
4950
+ "is-disabled": vue.unref(values).status === "raised" || vue.unref(values).status === "processed" || vue.unref(values).status === "delay" || vue.unref(values).status === "approved" || vue.unref(values).status === "monitored" || vue.unref(values).status === "discontinued" || vue.unref(values).status === "resolved"
4951
+ }), null, 16, ["modelValue", "is-disabled"]),
4827
4952
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
4828
4953
  "is-dashed": "",
4829
4954
  label: "Keputusan"
@@ -4890,10 +5015,10 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
4890
5015
  };
4891
5016
  }
4892
5017
  });
4893
- const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
4894
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-051b2194"]]);
5018
+ const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_1f81ee74_lang = "";
5019
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-1f81ee74"]]);
4895
5020
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
4896
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
5021
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
4897
5022
  ...{
4898
5023
  name: "SubmissionTypeCollection"
4899
5024
  },
@@ -4911,7 +5036,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
4911
5036
  };
4912
5037
  }
4913
5038
  });
4914
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5039
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
4915
5040
  __name: "SubmissionTypeSingle",
4916
5041
  setup(__props) {
4917
5042
  const {
@@ -4977,9 +5102,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4977
5102
  }
4978
5103
  });
4979
5104
  const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
4980
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2b7e18ba"]]);
5105
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-2b7e18ba"]]);
4981
5106
  const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
4982
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
5107
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4983
5108
  ...{
4984
5109
  name: "ResponsibilityTypeCollection"
4985
5110
  },
@@ -4997,7 +5122,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4997
5122
  };
4998
5123
  }
4999
5124
  });
5000
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5125
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
5001
5126
  __name: "ResponsibilityTypeSingle",
5002
5127
  setup(__props) {
5003
5128
  const {
@@ -5063,9 +5188,9 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5063
5188
  }
5064
5189
  });
5065
5190
  const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
5066
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-3df9fac1"]]);
5191
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-3df9fac1"]]);
5067
5192
  const ResponsibilityModel = personaliaModels.models.ResponsibilityModel;
5068
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5193
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5069
5194
  ...{
5070
5195
  name: "ResponsibilityCollection"
5071
5196
  },
@@ -5083,7 +5208,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5083
5208
  };
5084
5209
  }
5085
5210
  });
5086
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5211
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5087
5212
  __name: "ResponsibilitySingle",
5088
5213
  setup(__props) {
5089
5214
  const {
@@ -5100,6 +5225,17 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5100
5225
  discardChanges
5101
5226
  } = context.useSingle();
5102
5227
  const { staff } = useOperasional();
5228
+ const responsibilityTypeOptions = vue.computed(() => {
5229
+ return {
5230
+ filter: [
5231
+ {
5232
+ handle: "branchIds",
5233
+ operator: "in",
5234
+ value: values.value.branchId
5235
+ }
5236
+ ]
5237
+ };
5238
+ });
5103
5239
  return (_ctx, _cache) => {
5104
5240
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-responsibility-single" }, {
5105
5241
  default: vue.withCtx(() => [
@@ -5143,8 +5279,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5143
5279
  vue.createVNode(vue.unref(office.OfficeRelation), {
5144
5280
  modelValue: vue.unref(values),
5145
5281
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
5146
- field: vue.unref(fields).responsibilityType
5147
- }, null, 8, ["modelValue", "field"])
5282
+ field: vue.unref(fields).responsibilityType,
5283
+ query: vue.unref(query.Query).define(responsibilityTypeOptions.value)
5284
+ }, null, 8, ["modelValue", "field", "query"])
5148
5285
  ]),
5149
5286
  _: 1
5150
5287
  /* STABLE */
@@ -5234,9 +5371,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5234
5371
  };
5235
5372
  }
5236
5373
  });
5237
- const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_aaff5c1e_lang = "";
5238
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-aaff5c1e"]]);
5239
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5374
+ const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_774b00b2_lang = "";
5375
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-774b00b2"]]);
5376
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5240
5377
  __name: "ResponsibilityStaff",
5241
5378
  setup(__props) {
5242
5379
  const {
@@ -5392,9 +5529,9 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5392
5529
  }
5393
5530
  });
5394
5531
  const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_8c4d64ad_lang = "";
5395
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8c4d64ad"]]);
5532
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-8c4d64ad"]]);
5396
5533
  const TargetModel = personaliaModels.models.TargetModel;
5397
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5534
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5398
5535
  ...{
5399
5536
  name: "TargetCollection"
5400
5537
  },
@@ -5412,7 +5549,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5412
5549
  };
5413
5550
  }
5414
5551
  });
5415
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5552
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5416
5553
  __name: "TargetSingle",
5417
5554
  setup(__props) {
5418
5555
  const {
@@ -5565,8 +5702,8 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5565
5702
  }
5566
5703
  });
5567
5704
  const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
5568
- const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c12b8df8"]]);
5569
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5705
+ const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-c12b8df8"]]);
5706
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5570
5707
  __name: "TargetBranch",
5571
5708
  setup(__props) {
5572
5709
  const {
@@ -5719,9 +5856,9 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5719
5856
  }
5720
5857
  });
5721
5858
  const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
5722
- const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6a5a6e80"]]);
5859
+ const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-6a5a6e80"]]);
5723
5860
  const PlanTypeModel = personaliaModels.models.PlanTypeModel;
5724
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5861
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5725
5862
  ...{
5726
5863
  name: "PlanTypeCollection"
5727
5864
  },
@@ -5739,7 +5876,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5739
5876
  };
5740
5877
  }
5741
5878
  });
5742
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
5879
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5743
5880
  __name: "PlanTypeSingle",
5744
5881
  setup(__props) {
5745
5882
  const {
@@ -5860,9 +5997,9 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
5860
5997
  }
5861
5998
  });
5862
5999
  const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
5863
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-80d2e1d3"]]);
6000
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-80d2e1d3"]]);
5864
6001
  const PlanModel = personaliaModels.models.PlanModel;
5865
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6002
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
5866
6003
  ...{
5867
6004
  name: "PlanCollection"
5868
6005
  },
@@ -5880,7 +6017,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
5880
6017
  };
5881
6018
  }
5882
6019
  });
5883
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6020
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
5884
6021
  __name: "PlanSingle",
5885
6022
  setup(__props) {
5886
6023
  const {
@@ -6056,8 +6193,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6056
6193
  }
6057
6194
  });
6058
6195
  const PlanSingle_vue_vue_type_style_index_0_scoped_b3d29aa4_lang = "";
6059
- const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b3d29aa4"]]);
6060
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
6196
+ const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3d29aa4"]]);
6197
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6061
6198
  __name: "PlanStaff",
6062
6199
  setup(__props) {
6063
6200
  const {
@@ -6209,10 +6346,10 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
6209
6346
  }
6210
6347
  });
6211
6348
  const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
6212
- const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-aa8de6da"]]);
6349
+ const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-aa8de6da"]]);
6213
6350
  const ProgressModel = personaliaModels.models.ProgressModel;
6214
6351
  const _hoisted_1$6 = { class: "flex flex-wrap" };
6215
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
6352
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
6216
6353
  ...{ name: "ProgressButton" },
6217
6354
  __name: "ProgressButton",
6218
6355
  setup(__props) {
@@ -6258,7 +6395,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
6258
6395
  };
6259
6396
  }
6260
6397
  });
6261
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
6398
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
6262
6399
  ...{
6263
6400
  name: "ProgressCollection"
6264
6401
  },
@@ -6321,12 +6458,13 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
6321
6458
  }
6322
6459
  });
6323
6460
  const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
6324
- const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2634660f"]]);
6461
+ const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-2634660f"]]);
6325
6462
  const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
6326
6463
  const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
6327
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6464
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
6328
6465
  __name: "ProgressSingle",
6329
6466
  setup(__props) {
6467
+ var _a;
6330
6468
  const {
6331
6469
  fields,
6332
6470
  id,
@@ -6342,7 +6480,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6342
6480
  } = context.useSingle();
6343
6481
  const { staff } = useOperasional();
6344
6482
  const responsibilityOptions = vue.computed(() => {
6345
- var _a, _b;
6483
+ var _a2, _b;
6346
6484
  return {
6347
6485
  filter: [
6348
6486
  {
@@ -6355,7 +6493,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6355
6493
  {
6356
6494
  handle: "staffWorkIds",
6357
6495
  operator: "in",
6358
- value: (_a = staff.value) == null ? void 0 : _a.id
6496
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
6359
6497
  },
6360
6498
  {
6361
6499
  handle: "staffSuperviseIds",
@@ -6390,14 +6528,20 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6390
6528
  }
6391
6529
  const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
6392
6530
  const besok = sekarang;
6531
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
6393
6532
  vue.watch(
6394
6533
  isNew,
6395
6534
  (isNew2) => {
6396
- var _a;
6535
+ var _a2;
6397
6536
  if (!isNew2)
6398
6537
  return;
6399
- values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6400
- values.value.staffs = staff.value;
6538
+ values.value.staffIds = [staffId];
6539
+ values.value.staffs = [
6540
+ {
6541
+ id: staffId,
6542
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
6543
+ }
6544
+ ];
6401
6545
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6402
6546
  values.value.endedAt = besok.add(90, "m").toISOString();
6403
6547
  },
@@ -6426,45 +6570,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6426
6570
  () => `neu:operasional:progress:${id.value}`
6427
6571
  );
6428
6572
  const display2 = vue.ref();
6429
- const pads = {
6430
- comments: {
6431
- handle: "comments",
6432
- title: "Comments",
6433
- icon: "comments"
6434
- },
6435
- note: {
6436
- handle: "note",
6437
- title: "Note",
6438
- icon: "notes"
6439
- },
6440
- sketch: {
6441
- handle: "sketch",
6442
- title: "Sketch",
6443
- icon: "pen-swirl"
6444
- }
6445
- };
6446
6573
  return (_ctx, _cache) => {
6447
6574
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
6448
- sketch: vue.withCtx(({ close }) => [
6449
- vue.createVNode(vue.unref(office.OfficePad), vue.mergeProps(pads.sketch, { onClose: close }), {
6450
- default: vue.withCtx(() => [
6451
- vue.createVNode(
6452
- vue.unref(catatInterfaces.CatatSketchPad),
6453
- vue.normalizeProps(vue.guardReactiveProps({
6454
- applicationId: vue.unref(appStore).appId,
6455
- object: `${objectDef.value}:office`,
6456
- isReady: vue.unref(isReady),
6457
- isLoading: vue.unref(isLoading)
6458
- })),
6459
- null,
6460
- 16
6461
- /* FULL_PROPS */
6462
- )
6463
- ]),
6464
- _: 2
6465
- /* DYNAMIC */
6466
- }, 1040, ["onClose"])
6467
- ]),
6468
6575
  default: vue.withCtx(() => [
6469
6576
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
6470
6577
  default: vue.withCtx(() => [
@@ -6577,20 +6684,25 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6577
6684
  _: 1
6578
6685
  /* STABLE */
6579
6686
  }, 16, ["modelValue"]),
6687
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6688
+ modelValue: vue.unref(values),
6689
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
6690
+ field: vue.unref(fields).accessStaffs
6691
+ }, null, 8, ["modelValue", "field"]),
6580
6692
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
6581
6693
  "is-dashed": "",
6582
6694
  label: "Referensi"
6583
6695
  }),
6584
6696
  vue.createVNode(vue.unref(office.OfficeRelation), {
6585
6697
  modelValue: vue.unref(values),
6586
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
6698
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
6587
6699
  field: vue.unref(fields).responsibilities,
6588
6700
  query: vue.unref(query.Query).define(responsibilityOptions.value)
6589
6701
  }, null, 8, ["modelValue", "field", "query"]),
6590
6702
  vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
6591
6703
  vue.createVNode(vue.unref(office.OfficeRelation), {
6592
6704
  modelValue: vue.unref(values),
6593
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
6705
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
6594
6706
  field: vue.unref(fields).submissions,
6595
6707
  query: vue.unref(query.Query).define(submissionOptions.value)
6596
6708
  }, null, 8, ["modelValue", "field", "query"])
@@ -6631,13 +6743,14 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6631
6743
  };
6632
6744
  }
6633
6745
  });
6634
- const ProgressSingle_vue_vue_type_style_index_0_scoped_6569a1bb_lang = "";
6635
- const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6569a1bb"]]);
6746
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_ca99d46c_lang = "";
6747
+ const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-ca99d46c"]]);
6636
6748
  const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
6637
6749
  const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
6638
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6750
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6639
6751
  __name: "ProgressTomorrow",
6640
6752
  setup(__props) {
6753
+ var _a;
6641
6754
  const {
6642
6755
  fields,
6643
6756
  id,
@@ -6653,7 +6766,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6653
6766
  } = context.useSingle();
6654
6767
  const { staff } = useOperasional();
6655
6768
  const responsibilityOptions = vue.computed(() => {
6656
- var _a, _b;
6769
+ var _a2, _b;
6657
6770
  return {
6658
6771
  filter: [
6659
6772
  {
@@ -6666,7 +6779,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6666
6779
  {
6667
6780
  handle: "staffWorkIds",
6668
6781
  operator: "in",
6669
- value: (_a = staff.value) == null ? void 0 : _a.id
6782
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
6670
6783
  },
6671
6784
  {
6672
6785
  handle: "staffSuperviseIds",
@@ -6701,14 +6814,20 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6701
6814
  }
6702
6815
  const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
6703
6816
  const besok = sekarang.add(1, "day");
6817
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
6704
6818
  vue.watch(
6705
6819
  isNew,
6706
6820
  (isNew2) => {
6707
- var _a;
6821
+ var _a2;
6708
6822
  if (!isNew2)
6709
6823
  return;
6710
- values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6711
- values.value.staffs = staff.value;
6824
+ values.value.staffIds = [staffId];
6825
+ values.value.staffs = [
6826
+ {
6827
+ id: staffId,
6828
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
6829
+ }
6830
+ ];
6712
6831
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6713
6832
  values.value.endedAt = besok.add(90, "m").toISOString();
6714
6833
  },
@@ -6732,6 +6851,11 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6732
6851
  ]
6733
6852
  };
6734
6853
  });
6854
+ const appStore = context.useAppStore();
6855
+ const objectDef = vue.computed(
6856
+ () => `neu:operasional:progress:${id.value}`
6857
+ );
6858
+ const display2 = vue.ref();
6735
6859
  return (_ctx, _cache) => {
6736
6860
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
6737
6861
  default: vue.withCtx(() => [
@@ -6831,23 +6955,43 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6831
6955
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
6832
6956
  field: vue.unref(fields).staffs
6833
6957
  }, null, 8, ["modelValue", "field"]),
6958
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6959
+ modelValue: vue.unref(values).isNotes,
6960
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
6961
+ }, vue.unref(fields).isNotes), {
6962
+ input: vue.withCtx(() => [
6963
+ vue.createVNode(vue.unref(form.NeonCheck), {
6964
+ modelValue: vue.unref(values).isNotes,
6965
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
6966
+ label: "Catatan",
6967
+ class: "mt-2"
6968
+ }, null, 8, ["modelValue"])
6969
+ ]),
6970
+ _: 1
6971
+ /* STABLE */
6972
+ }, 16, ["modelValue"]),
6973
+ vue.createVNode(vue.unref(office.OfficeRelation), {
6974
+ modelValue: vue.unref(values),
6975
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
6976
+ field: vue.unref(fields).accessStaffs
6977
+ }, null, 8, ["modelValue", "field"]),
6834
6978
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
6835
6979
  "is-dashed": "",
6836
6980
  label: "Referensi"
6837
6981
  }),
6838
6982
  vue.createVNode(vue.unref(office.OfficeRelation), {
6839
6983
  modelValue: vue.unref(values),
6840
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
6984
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
6841
6985
  field: vue.unref(fields).responsibilities,
6842
6986
  query: vue.unref(query.Query).define(responsibilityOptions.value)
6843
6987
  }, null, 8, ["modelValue", "field", "query"]),
6988
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
6844
6989
  vue.createVNode(vue.unref(office.OfficeRelation), {
6845
6990
  modelValue: vue.unref(values),
6846
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
6991
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
6847
6992
  field: vue.unref(fields).submissions,
6848
6993
  query: vue.unref(query.Query).define(submissionOptions.value)
6849
- }, null, 8, ["modelValue", "field", "query"]),
6850
- vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> ')
6994
+ }, null, 8, ["modelValue", "field", "query"])
6851
6995
  ]),
6852
6996
  _: 1
6853
6997
  /* STABLE */
@@ -6855,7 +6999,25 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6855
6999
  ]),
6856
7000
  _: 1
6857
7001
  /* STABLE */
6858
- })
7002
+ }),
7003
+ vue.createCommentVNode(" Catatan "),
7004
+ !vue.unref(isNew) && vue.unref(values).isNotes === true ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
7005
+ key: 0,
7006
+ handle: "catatan",
7007
+ icon: "circle-info",
7008
+ title: "Catatan"
7009
+ }, {
7010
+ default: vue.withCtx(({ isTouched }) => [
7011
+ vue.createVNode(vue.unref(catatInterfaces.CatatPaperPad), vue.mergeProps({
7012
+ applicationId: vue.unref(appStore).appId,
7013
+ object: `${objectDef.value}:office`,
7014
+ isReady: vue.unref(isReady) && isTouched,
7015
+ isLoading: vue.unref(isLoading)
7016
+ }, { display: display2.value }), null, 16, ["display"])
7017
+ ]),
7018
+ _: 1
7019
+ /* STABLE */
7020
+ })) : vue.createCommentVNode("v-if", true)
6859
7021
  ]),
6860
7022
  _: 1
6861
7023
  /* STABLE */
@@ -6867,13 +7029,14 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6867
7029
  };
6868
7030
  }
6869
7031
  });
6870
- const ProgressTomorrow_vue_vue_type_style_index_0_scoped_9a139943_lang = "";
6871
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9a139943"]]);
7032
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_41302f2e_lang = "";
7033
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-41302f2e"]]);
6872
7034
  const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
6873
7035
  const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
6874
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7036
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6875
7037
  __name: "ProgressYesterday",
6876
7038
  setup(__props) {
7039
+ var _a;
6877
7040
  const {
6878
7041
  fields,
6879
7042
  id,
@@ -6889,7 +7052,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6889
7052
  } = context.useSingle();
6890
7053
  const { staff } = useOperasional();
6891
7054
  const responsibilityOptions = vue.computed(() => {
6892
- var _a, _b;
7055
+ var _a2, _b;
6893
7056
  return {
6894
7057
  filter: [
6895
7058
  {
@@ -6902,7 +7065,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6902
7065
  {
6903
7066
  handle: "staffWorkIds",
6904
7067
  operator: "in",
6905
- value: (_a = staff.value) == null ? void 0 : _a.id
7068
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
6906
7069
  },
6907
7070
  {
6908
7071
  handle: "staffSuperviseIds",
@@ -6937,14 +7100,20 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6937
7100
  }
6938
7101
  const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
6939
7102
  const besok = sekarang.add(-1, "day");
7103
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
6940
7104
  vue.watch(
6941
7105
  isNew,
6942
7106
  (isNew2) => {
6943
- var _a;
7107
+ var _a2;
6944
7108
  if (!isNew2)
6945
7109
  return;
6946
- values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6947
- values.value.staffs = staff.value;
7110
+ values.value.staffIds = [staffId];
7111
+ values.value.staffs = [
7112
+ {
7113
+ id: staffId,
7114
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
7115
+ }
7116
+ ];
6948
7117
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6949
7118
  values.value.endedAt = besok.add(90, "m").toISOString();
6950
7119
  },
@@ -6968,6 +7137,11 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6968
7137
  ]
6969
7138
  };
6970
7139
  });
7140
+ const appStore = context.useAppStore();
7141
+ const objectDef = vue.computed(
7142
+ () => `neu:operasional:progress:${id.value}`
7143
+ );
7144
+ const display2 = vue.ref();
6971
7145
  return (_ctx, _cache) => {
6972
7146
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
6973
7147
  default: vue.withCtx(() => [
@@ -7067,24 +7241,40 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7067
7241
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
7068
7242
  field: vue.unref(fields).staffs
7069
7243
  }, null, 8, ["modelValue", "field"]),
7244
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7245
+ modelValue: vue.unref(values).isNotes,
7246
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
7247
+ }, vue.unref(fields).isNotes), {
7248
+ input: vue.withCtx(() => [
7249
+ vue.createVNode(vue.unref(form.NeonCheck), {
7250
+ modelValue: vue.unref(values).isNotes,
7251
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
7252
+ label: "Catatan",
7253
+ class: "mt-2"
7254
+ }, null, 8, ["modelValue"])
7255
+ ]),
7256
+ _: 1
7257
+ /* STABLE */
7258
+ }, 16, ["modelValue"]),
7259
+ vue.createVNode(vue.unref(office.OfficeRelation), {
7260
+ modelValue: vue.unref(values),
7261
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
7262
+ field: vue.unref(fields).accessStaffs
7263
+ }, null, 8, ["modelValue", "field"]),
7070
7264
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
7071
7265
  "is-dashed": "",
7072
7266
  label: "Referensi"
7073
7267
  }),
7074
7268
  vue.createVNode(vue.unref(office.OfficeRelation), {
7075
7269
  modelValue: vue.unref(values),
7076
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
7270
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
7077
7271
  field: vue.unref(fields).responsibilities,
7078
7272
  query: vue.unref(query.Query).define(responsibilityOptions.value)
7079
7273
  }, null, 8, ["modelValue", "field", "query"]),
7274
+ vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
7080
7275
  vue.createVNode(vue.unref(office.OfficeRelation), {
7081
7276
  modelValue: vue.unref(values),
7082
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
7083
- field: vue.unref(fields).plans
7084
- }, null, 8, ["modelValue", "field"]),
7085
- vue.createVNode(vue.unref(office.OfficeRelation), {
7086
- modelValue: vue.unref(values),
7087
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
7277
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(values) ? values.value = $event : null),
7088
7278
  field: vue.unref(fields).submissions,
7089
7279
  query: vue.unref(query.Query).define(submissionOptions.value)
7090
7280
  }, null, 8, ["modelValue", "field", "query"])
@@ -7095,7 +7285,185 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7095
7285
  ]),
7096
7286
  _: 1
7097
7287
  /* STABLE */
7098
- })
7288
+ }),
7289
+ vue.createCommentVNode(" Catatan "),
7290
+ !vue.unref(isNew) && vue.unref(values).isNotes === true ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
7291
+ key: 0,
7292
+ handle: "catatan",
7293
+ icon: "circle-info",
7294
+ title: "Catatan"
7295
+ }, {
7296
+ default: vue.withCtx(({ isTouched }) => [
7297
+ vue.createVNode(vue.unref(catatInterfaces.CatatPaperPad), vue.mergeProps({
7298
+ applicationId: vue.unref(appStore).appId,
7299
+ object: `${objectDef.value}:office`,
7300
+ isReady: vue.unref(isReady) && isTouched,
7301
+ isLoading: vue.unref(isLoading)
7302
+ }, { display: display2.value }), null, 16, ["display"])
7303
+ ]),
7304
+ _: 1
7305
+ /* STABLE */
7306
+ })) : vue.createCommentVNode("v-if", true)
7307
+ ]),
7308
+ _: 1
7309
+ /* STABLE */
7310
+ }, 8, ["use-url"])
7311
+ ]),
7312
+ _: 1
7313
+ /* STABLE */
7314
+ });
7315
+ };
7316
+ }
7317
+ });
7318
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_78de8f41_lang = "";
7319
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-78de8f41"]]);
7320
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7321
+ __name: "ProgressNote",
7322
+ setup(__props) {
7323
+ var _a;
7324
+ const {
7325
+ fields,
7326
+ id,
7327
+ initialValues,
7328
+ values,
7329
+ isLoading,
7330
+ isChanged,
7331
+ isReady,
7332
+ isMain,
7333
+ isNew,
7334
+ saveOne,
7335
+ discardChanges
7336
+ } = context.useSingle();
7337
+ const { staff } = useOperasional();
7338
+ const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
7339
+ const besok = sekarang;
7340
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
7341
+ vue.watch(
7342
+ isNew,
7343
+ (isNew2) => {
7344
+ var _a2, _b;
7345
+ if (!isNew2)
7346
+ return;
7347
+ values.value.staffIds = [staffId];
7348
+ values.value.staffs = [
7349
+ {
7350
+ id: staffId,
7351
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
7352
+ }
7353
+ ];
7354
+ values.value.accessStaffIds = [staffId];
7355
+ values.value.accessStaffs = [
7356
+ {
7357
+ id: staffId,
7358
+ flag: (_b = staff.value) == null ? void 0 : _b.flag
7359
+ }
7360
+ ];
7361
+ values.value.startedAt = besok.second(0).millisecond(0).toISOString();
7362
+ values.value.endedAt = besok.add(90, "m").toISOString();
7363
+ values.value.isNotes = true;
7364
+ values.value.virtualIsNotes = "active";
7365
+ },
7366
+ {
7367
+ immediate: true
7368
+ }
7369
+ );
7370
+ const appStore = context.useAppStore();
7371
+ const objectDef = vue.computed(
7372
+ () => `neu:operasional:progress:${id.value}`
7373
+ );
7374
+ const display2 = vue.ref();
7375
+ return (_ctx, _cache) => {
7376
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
7377
+ default: vue.withCtx(() => [
7378
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
7379
+ default: vue.withCtx(() => [
7380
+ vue.createVNode(vue.unref(office.OfficeTab), {
7381
+ handle: "info",
7382
+ icon: "circle-info",
7383
+ title: "Info"
7384
+ }, {
7385
+ default: vue.withCtx(() => [
7386
+ vue.createVNode(vue.unref(form.NeonForm), {
7387
+ handle: "info",
7388
+ "initial-values": vue.unref(initialValues),
7389
+ "is-loading": vue.unref(isLoading),
7390
+ "is-changed": vue.unref(isChanged),
7391
+ "use-unsaved": "",
7392
+ onCancel: vue.unref(discardChanges),
7393
+ onSubmit: vue.unref(saveOne)
7394
+ }, {
7395
+ default: vue.withCtx(() => [
7396
+ vue.createVNode(vue.unref(form.NeonFields), { md: "grid-cols-2" }, {
7397
+ default: vue.withCtx(() => [
7398
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7399
+ modelValue: vue.unref(values).startedAt,
7400
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).startedAt = $event)
7401
+ }, vue.unref(fields).startedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
7402
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7403
+ modelValue: vue.unref(values).detail,
7404
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).detail = $event)
7405
+ }, vue.unref(fields).detail), null, 16, ["modelValue"])
7406
+ ]),
7407
+ _: 1
7408
+ /* STABLE */
7409
+ }),
7410
+ vue.unref(isNew) ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeRelation), {
7411
+ key: 0,
7412
+ modelValue: vue.unref(values),
7413
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.isRef(values) ? values.value = $event : null),
7414
+ field: vue.unref(fields).staffs
7415
+ }, null, 8, ["modelValue", "field"])) : vue.createCommentVNode("v-if", true),
7416
+ vue.createVNode(vue.unref(office.OfficeRelation), {
7417
+ modelValue: vue.unref(values),
7418
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
7419
+ field: vue.unref(fields).accessStaffs
7420
+ }, null, 8, ["modelValue", "field"]),
7421
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7422
+ modelValue: vue.unref(values).priority,
7423
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).priority = $event)
7424
+ }, vue.unref(fields).priority), null, 16, ["modelValue"]),
7425
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7426
+ modelValue: vue.unref(values).isNotes,
7427
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event)
7428
+ }, vue.unref(fields).isNotes), {
7429
+ input: vue.withCtx(() => [
7430
+ vue.createVNode(vue.unref(form.NeonCheck), {
7431
+ modelValue: vue.unref(values).isNotes,
7432
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).isNotes = $event),
7433
+ label: "Catatan",
7434
+ class: "mt-2",
7435
+ "is-disabled": ""
7436
+ }, null, 8, ["modelValue"])
7437
+ ]),
7438
+ _: 1
7439
+ /* STABLE */
7440
+ }, 16, ["modelValue"])
7441
+ ]),
7442
+ _: 1
7443
+ /* STABLE */
7444
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7445
+ ]),
7446
+ _: 1
7447
+ /* STABLE */
7448
+ }),
7449
+ vue.createCommentVNode(" Catatan "),
7450
+ !vue.unref(isNew) && vue.unref(values).isNotes === true ? (vue.openBlock(), vue.createBlock(vue.unref(office.OfficeTab), {
7451
+ key: 0,
7452
+ handle: "catatan",
7453
+ icon: "circle-info",
7454
+ title: "Catatan"
7455
+ }, {
7456
+ default: vue.withCtx(({ isTouched }) => [
7457
+ vue.createVNode(vue.unref(catatInterfaces.CatatPaperPad), vue.mergeProps({
7458
+ applicationId: vue.unref(appStore).appId,
7459
+ object: `${objectDef.value}:office`,
7460
+ isReady: vue.unref(isReady) && isTouched,
7461
+ isLoading: vue.unref(isLoading)
7462
+ }, { display: display2.value }), null, 16, ["display"])
7463
+ ]),
7464
+ _: 1
7465
+ /* STABLE */
7466
+ })) : vue.createCommentVNode("v-if", true)
7099
7467
  ]),
7100
7468
  _: 1
7101
7469
  /* STABLE */
@@ -7107,8 +7475,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7107
7475
  };
7108
7476
  }
7109
7477
  });
7110
- const ProgressYesterday_vue_vue_type_style_index_0_scoped_3bad8bb9_lang = "";
7111
- const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3bad8bb9"]]);
7478
+ const ProgressNote_vue_vue_type_style_index_0_scoped_cee18889_lang = "";
7479
+ const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-cee18889"]]);
7112
7480
  const AttendanceModel = personaliaModels.models.AttendanceModel;
7113
7481
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7114
7482
  ...{
@@ -8103,70 +8471,71 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
8103
8471
  AttendanceSingle,
8104
8472
  AttendanceStaff,
8105
8473
  CheckInAccess,
8106
- CheckInCollection: _sfc_main$J,
8474
+ CheckInCollection: _sfc_main$K,
8107
8475
  CheckInExternal,
8108
8476
  CheckInModel,
8109
8477
  CheckInPresenceCollection,
8110
- CheckInScanError: _sfc_main$M,
8111
- CheckInScanSuccess: _sfc_main$K,
8478
+ CheckInScanError: _sfc_main$N,
8479
+ CheckInScanSuccess: _sfc_main$L,
8112
8480
  CheckInScanner,
8113
8481
  CheckInSingle,
8114
8482
  NeonTime,
8115
8483
  OperasionalIdentitas,
8116
- PlanCollection: _sfc_main$b,
8484
+ PlanCollection: _sfc_main$c,
8117
8485
  PlanModel,
8118
8486
  PlanSingle,
8119
8487
  PlanStaff,
8120
- PlanTypeCollection: _sfc_main$d,
8488
+ PlanTypeCollection: _sfc_main$e,
8121
8489
  PlanTypeModel,
8122
8490
  PlanTypeSingle,
8123
- ProgressButton: _sfc_main$8,
8491
+ ProgressButton: _sfc_main$9,
8124
8492
  ProgressCollection,
8125
8493
  ProgressModel,
8494
+ ProgressNote,
8126
8495
  ProgressSingle,
8127
8496
  ProgressTomorrow,
8128
8497
  ProgressYesterday,
8129
- ResponsibilityCollection: _sfc_main$j,
8498
+ ResponsibilityCollection: _sfc_main$k,
8130
8499
  ResponsibilityModel,
8131
8500
  ResponsibilitySingle,
8132
8501
  ResponsibilityStaff,
8133
- ResponsibilityTypeCollection: _sfc_main$l,
8502
+ ResponsibilityTypeCollection: _sfc_main$m,
8134
8503
  ResponsibilityTypeModel,
8135
8504
  ResponsibilityTypeSingle,
8136
- SituationCollection: _sfc_main$E,
8505
+ SituationCollection: _sfc_main$F,
8137
8506
  SituationModel,
8138
- SituationSingle: _sfc_main$D,
8139
- SituationSupportive: _sfc_main$B,
8140
- SituationTypeCollection: _sfc_main$A,
8507
+ SituationSingle: _sfc_main$E,
8508
+ SituationSupportive: _sfc_main$C,
8509
+ SituationTypeCollection: _sfc_main$B,
8141
8510
  SituationTypeModel,
8142
- SituationTypeSingle: _sfc_main$z,
8143
- SituationWork: _sfc_main$C,
8144
- StaffCollection: _sfc_main$I,
8145
- StaffIdentity: _sfc_main$F,
8511
+ SituationTypeSingle: _sfc_main$A,
8512
+ SituationWork: _sfc_main$D,
8513
+ StaffCollection: _sfc_main$J,
8514
+ StaffIdentity: _sfc_main$G,
8146
8515
  StaffModel,
8147
8516
  StaffOperasional,
8148
8517
  StaffSingle,
8149
8518
  SubmissionAudit,
8150
- SubmissionCollection: _sfc_main$u,
8519
+ SubmissionCollection: _sfc_main$v,
8151
8520
  SubmissionDecision,
8152
8521
  SubmissionFollowUp,
8153
8522
  SubmissionModel,
8154
8523
  SubmissionSingle,
8155
8524
  SubmissionStaff,
8156
- SubmissionTypeCollection: _sfc_main$n,
8525
+ SubmissionTypeCollection: _sfc_main$o,
8157
8526
  SubmissionTypeModel,
8158
8527
  SubmissionTypeSingle,
8159
8528
  SubmissionWaitingDecision,
8160
8529
  TargetBranch,
8161
- TargetCollection: _sfc_main$g,
8530
+ TargetCollection: _sfc_main$h,
8162
8531
  TargetModel,
8163
8532
  TargetSingle,
8164
- TaskCollection: _sfc_main$x,
8533
+ TaskCollection: _sfc_main$y,
8165
8534
  TaskModel,
8166
- TaskSingle: _sfc_main$w,
8167
- TaskWork: _sfc_main$v,
8168
- TaskWorkButton: _sfc_main$y,
8169
- XxxButton: _sfc_main$T
8535
+ TaskSingle: _sfc_main$x,
8536
+ TaskWork: _sfc_main$w,
8537
+ TaskWorkButton: _sfc_main$z,
8538
+ XxxButton: _sfc_main$U
8170
8539
  }, Symbol.toStringTag, { value: "Module" }));
8171
8540
  function registerComponents(app) {
8172
8541
  Object.entries(components).forEach(([name, component2]) => {
@@ -8187,73 +8556,74 @@ exports.AttendanceModel = AttendanceModel;
8187
8556
  exports.AttendanceSingle = AttendanceSingle;
8188
8557
  exports.AttendanceStaff = AttendanceStaff;
8189
8558
  exports.CheckInAccess = CheckInAccess;
8190
- exports.CheckInCollection = _sfc_main$J;
8559
+ exports.CheckInCollection = _sfc_main$K;
8191
8560
  exports.CheckInExternal = CheckInExternal;
8192
8561
  exports.CheckInModel = CheckInModel;
8193
8562
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
8194
- exports.CheckInScanError = _sfc_main$M;
8195
- exports.CheckInScanSuccess = _sfc_main$K;
8563
+ exports.CheckInScanError = _sfc_main$N;
8564
+ exports.CheckInScanSuccess = _sfc_main$L;
8196
8565
  exports.CheckInScanner = CheckInScanner;
8197
8566
  exports.CheckInSingle = CheckInSingle;
8198
8567
  exports.NOperasional = operasional_types;
8199
8568
  exports.NeonTime = NeonTime;
8200
8569
  exports.OperasionalIdentitas = OperasionalIdentitas;
8201
8570
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
8202
- exports.PlanCollection = _sfc_main$b;
8571
+ exports.PlanCollection = _sfc_main$c;
8203
8572
  exports.PlanModel = PlanModel;
8204
8573
  exports.PlanSingle = PlanSingle;
8205
8574
  exports.PlanStaff = PlanStaff;
8206
- exports.PlanTypeCollection = _sfc_main$d;
8575
+ exports.PlanTypeCollection = _sfc_main$e;
8207
8576
  exports.PlanTypeModel = PlanTypeModel;
8208
8577
  exports.PlanTypeSingle = PlanTypeSingle;
8209
- exports.ProgressButton = _sfc_main$8;
8578
+ exports.ProgressButton = _sfc_main$9;
8210
8579
  exports.ProgressCollection = ProgressCollection;
8211
8580
  exports.ProgressModel = ProgressModel;
8581
+ exports.ProgressNote = ProgressNote;
8212
8582
  exports.ProgressSingle = ProgressSingle;
8213
8583
  exports.ProgressTomorrow = ProgressTomorrow;
8214
8584
  exports.ProgressYesterday = ProgressYesterday;
8215
- exports.ResponsibilityCollection = _sfc_main$j;
8585
+ exports.ResponsibilityCollection = _sfc_main$k;
8216
8586
  exports.ResponsibilityModel = ResponsibilityModel;
8217
8587
  exports.ResponsibilitySingle = ResponsibilitySingle;
8218
8588
  exports.ResponsibilityStaff = ResponsibilityStaff;
8219
- exports.ResponsibilityTypeCollection = _sfc_main$l;
8589
+ exports.ResponsibilityTypeCollection = _sfc_main$m;
8220
8590
  exports.ResponsibilityTypeModel = ResponsibilityTypeModel;
8221
8591
  exports.ResponsibilityTypeSingle = ResponsibilityTypeSingle;
8222
8592
  exports.Schema = graphql;
8223
- exports.SituationCollection = _sfc_main$E;
8593
+ exports.SituationCollection = _sfc_main$F;
8224
8594
  exports.SituationModel = SituationModel;
8225
- exports.SituationSingle = _sfc_main$D;
8226
- exports.SituationSupportive = _sfc_main$B;
8227
- exports.SituationTypeCollection = _sfc_main$A;
8595
+ exports.SituationSingle = _sfc_main$E;
8596
+ exports.SituationSupportive = _sfc_main$C;
8597
+ exports.SituationTypeCollection = _sfc_main$B;
8228
8598
  exports.SituationTypeModel = SituationTypeModel;
8229
- exports.SituationTypeSingle = _sfc_main$z;
8230
- exports.SituationWork = _sfc_main$C;
8231
- exports.StaffCollection = _sfc_main$I;
8232
- exports.StaffIdentity = _sfc_main$F;
8599
+ exports.SituationTypeSingle = _sfc_main$A;
8600
+ exports.SituationWork = _sfc_main$D;
8601
+ exports.StaffCollection = _sfc_main$J;
8602
+ exports.StaffIdentity = _sfc_main$G;
8233
8603
  exports.StaffModel = StaffModel;
8234
8604
  exports.StaffOperasional = StaffOperasional;
8235
8605
  exports.StaffSingle = StaffSingle;
8236
8606
  exports.SubmissionAudit = SubmissionAudit;
8237
- exports.SubmissionCollection = _sfc_main$u;
8607
+ exports.SubmissionCollection = _sfc_main$v;
8238
8608
  exports.SubmissionDecision = SubmissionDecision;
8239
8609
  exports.SubmissionFollowUp = SubmissionFollowUp;
8240
8610
  exports.SubmissionModel = SubmissionModel;
8241
8611
  exports.SubmissionSingle = SubmissionSingle;
8242
8612
  exports.SubmissionStaff = SubmissionStaff;
8243
- exports.SubmissionTypeCollection = _sfc_main$n;
8613
+ exports.SubmissionTypeCollection = _sfc_main$o;
8244
8614
  exports.SubmissionTypeModel = SubmissionTypeModel;
8245
8615
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
8246
8616
  exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
8247
8617
  exports.TargetBranch = TargetBranch;
8248
- exports.TargetCollection = _sfc_main$g;
8618
+ exports.TargetCollection = _sfc_main$h;
8249
8619
  exports.TargetModel = TargetModel;
8250
8620
  exports.TargetSingle = TargetSingle;
8251
- exports.TaskCollection = _sfc_main$x;
8621
+ exports.TaskCollection = _sfc_main$y;
8252
8622
  exports.TaskModel = TaskModel;
8253
- exports.TaskSingle = _sfc_main$w;
8254
- exports.TaskWork = _sfc_main$v;
8255
- exports.TaskWorkButton = _sfc_main$y;
8256
- exports.XxxButton = _sfc_main$T;
8623
+ exports.TaskSingle = _sfc_main$x;
8624
+ exports.TaskWork = _sfc_main$w;
8625
+ exports.TaskWorkButton = _sfc_main$z;
8626
+ exports.XxxButton = _sfc_main$U;
8257
8627
  exports.bus = bus;
8258
8628
  exports.useAttendanceStore = useAttendanceStore;
8259
8629
  exports.useOperasional = useOperasional;