@neutron.co.id/operasional-interfaces 1.8.1 → 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.mjs CHANGED
@@ -22,16 +22,16 @@ import isoWeek from "dayjs/esm/plugin/isoWeek/index.js";
22
22
  import relativeTimePlugin from "dayjs/esm/plugin/relativeTime/index.js";
23
23
  import { models as models$1 } from "@neutron.co.id/tempat-models";
24
24
  import { useEventBus, useIntervalFn, useThrottleFn } from "@vueuse/core";
25
- import { OfficeContent, OfficeCollectionQuery, OfficeCollectionOperation, OfficeTabs, OfficeTab, OfficeRelation, OfficeCollectionTable, OfficeCollectionRelated, OfficeCollectionCalendar, OfficePad } from "@neon.id/office";
25
+ import { OfficeContent, OfficeCollectionQuery, OfficeCollectionOperation, OfficeTabs, OfficeTab, OfficeRelation, OfficeCollectionTable, OfficeCollectionRelated, OfficeCollectionCalendar } from "@neon.id/office";
26
26
  import { defineStore, storeToRefs } from "pinia";
27
27
  import { useRouter, useRoute } from "vue-router";
28
28
  import { ComponentUtil } from "@neon.id/utils/component";
29
29
  import Scanner from "qr-scanner";
30
30
  import mitt from "mitt";
31
31
  import { models as models$2 } from "@neutron.co.id/personalia-models";
32
- import { CatatSketchPad, CatatPaperSegments, CatatPaperPad } from "@neon.id/catat-interfaces";
32
+ import { CatatSketchPad, CatatPaperPad } from "@neon.id/catat-interfaces";
33
33
  const _hoisted_1$m = { class: "xxx-button" };
34
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
34
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
35
35
  ...{ name: "XxxButton" },
36
36
  __name: "XxxButton",
37
37
  props: {
@@ -53,7 +53,7 @@ const _hoisted_2$g = {
53
53
  key: 2,
54
54
  class: "section"
55
55
  };
56
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
56
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
57
57
  ...{ name: "OperasionalIdentitas" },
58
58
  __name: "OperasionalIdentitas",
59
59
  props: {
@@ -409,7 +409,7 @@ const _export_sfc = (sfc, props) => {
409
409
  }
410
410
  return target;
411
411
  };
412
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-355c8370"]]);
412
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-355c8370"]]);
413
413
  dayjs.extend(durationPlugin);
414
414
  dayjs.extend(relativeTimePlugin);
415
415
  dayjs.extend(advancedFormat);
@@ -432,10 +432,10 @@ const _hoisted_2$f = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ create
432
432
  -1
433
433
  /* HOISTED */
434
434
  ));
435
- const _hoisted_3$8 = [
435
+ const _hoisted_3$7 = [
436
436
  _hoisted_2$f
437
437
  ];
438
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
438
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
439
439
  __name: "NeonTime",
440
440
  props: {
441
441
  modelValue: {
@@ -472,7 +472,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
472
472
  class: normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
473
473
  },
474
474
  [
475
- __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$k, _hoisted_3$8)) : (openBlock(), createBlock(unref(DatePicker), mergeProps({
475
+ __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$k, _hoisted_3$7)) : (openBlock(), createBlock(unref(DatePicker), mergeProps({
476
476
  key: 1,
477
477
  "model-value": internalValue.value
478
478
  }, {
@@ -496,7 +496,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
496
496
  });
497
497
  const NeonTime_vue_vue_type_style_index_0_scoped_805321b9_lang = "";
498
498
  const NeonTime_vue_vue_type_style_index_1_lang = "";
499
- const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-805321b9"]]);
499
+ const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-805321b9"]]);
500
500
  const CheckInModel = models$1.CheckInModel;
501
501
  const useOperasionalStore = defineStore("neu:operasional", () => {
502
502
  const isLoading = ref(false);
@@ -624,7 +624,7 @@ const bus = mitt();
624
624
  const _withScopeId$2 = (n) => (pushScopeId("data-v-ee60c24a"), n = n(), popScopeId(), n);
625
625
  const _hoisted_1$j = { id: "view-checkIns" };
626
626
  const _hoisted_2$e = { class: "summary" };
627
- const _hoisted_3$7 = { class: "wrapper" };
627
+ const _hoisted_3$6 = { class: "wrapper" };
628
628
  const _hoisted_4$4 = { class: "header" };
629
629
  const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode(
630
630
  "div",
@@ -637,7 +637,7 @@ const _hoisted_5$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
637
637
  /* HOISTED */
638
638
  ));
639
639
  const _hoisted_6$2 = { class: "end" };
640
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
640
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
641
641
  ...{
642
642
  name: "CheckInPresenceCollection"
643
643
  },
@@ -947,7 +947,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
947
947
  ])
948
948
  ]),
949
949
  default: withCtx(() => [
950
- createElementVNode("div", _hoisted_3$7, [
950
+ createElementVNode("div", _hoisted_3$6, [
951
951
  createVNode(unref(NeonCollectionContext), {
952
952
  definition: "neu:tempat:checkIn",
953
953
  scope: "_checkIns",
@@ -990,9 +990,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
990
990
  }
991
991
  });
992
992
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_ee60c24a_lang = "";
993
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-ee60c24a"]]);
993
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-ee60c24a"]]);
994
994
  const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
995
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
995
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
996
996
  __name: "CheckInSingle",
997
997
  setup(__props) {
998
998
  const {
@@ -1090,9 +1090,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
1090
1090
  }
1091
1091
  });
1092
1092
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
1093
- const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-2e2803fb"]]);
1093
+ const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-2e2803fb"]]);
1094
1094
  const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
1095
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
1095
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
1096
1096
  __name: "CheckInExternal",
1097
1097
  setup(__props) {
1098
1098
  const {
@@ -1205,7 +1205,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
1205
1205
  }
1206
1206
  });
1207
1207
  const CheckInExternal_vue_vue_type_style_index_0_scoped_dcdbc71a_lang = "";
1208
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-dcdbc71a"]]);
1208
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-dcdbc71a"]]);
1209
1209
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d23b6de5"), n = n(), popScopeId(), n);
1210
1210
  const _hoisted_1$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode(
1211
1211
  "h4",
@@ -1225,7 +1225,7 @@ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ create
1225
1225
  -1
1226
1226
  /* HOISTED */
1227
1227
  ));
1228
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
1228
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
1229
1229
  __name: "CheckInAccess",
1230
1230
  emits: ["close"],
1231
1231
  setup(__props) {
@@ -1278,9 +1278,9 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
1278
1278
  }
1279
1279
  });
1280
1280
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1281
- const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-d23b6de5"]]);
1281
+ const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-d23b6de5"]]);
1282
1282
  const _hoisted_1$f = { class: "buttons" };
1283
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
1283
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
1284
1284
  __name: "CheckInScanError",
1285
1285
  setup(__props) {
1286
1286
  const attendanceStore = useAttendanceStore();
@@ -1342,9 +1342,9 @@ const _hoisted_2$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createEl
1342
1342
  -1
1343
1343
  /* HOISTED */
1344
1344
  ));
1345
- const _hoisted_3$6 = ["onClick"];
1345
+ const _hoisted_3$5 = ["onClick"];
1346
1346
  const _hoisted_4$3 = { class: "mr-2 text-sm" };
1347
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
1347
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
1348
1348
  __name: "CheckInScanner",
1349
1349
  emits: ["start", "stop", "scanned", "close"],
1350
1350
  setup(__props, { emit }) {
@@ -1508,7 +1508,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1508
1508
  size: "sm",
1509
1509
  "is-disabled": !canSwitch.value
1510
1510
  }, null, 8, ["is-disabled"])
1511
- ], 8, _hoisted_3$6)
1511
+ ], 8, _hoisted_3$5)
1512
1512
  ])
1513
1513
  ],
1514
1514
  2
@@ -1526,7 +1526,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1526
1526
  }
1527
1527
  });
1528
1528
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1529
- const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-ef426ef3"]]);
1529
+ const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-ef426ef3"]]);
1530
1530
  const _hoisted_1$d = /* @__PURE__ */ createElementVNode(
1531
1531
  "h3",
1532
1532
  { align: "center" },
@@ -1534,7 +1534,7 @@ const _hoisted_1$d = /* @__PURE__ */ createElementVNode(
1534
1534
  -1
1535
1535
  /* HOISTED */
1536
1536
  );
1537
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
1537
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
1538
1538
  __name: "CheckInScanSuccess",
1539
1539
  emits: ["close"],
1540
1540
  setup(__props) {
@@ -1566,7 +1566,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1566
1566
  };
1567
1567
  }
1568
1568
  });
1569
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
1569
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
1570
1570
  ...{
1571
1571
  name: "CheckInCollection"
1572
1572
  },
@@ -1585,7 +1585,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1585
1585
  }
1586
1586
  });
1587
1587
  const StaffModel = models$2.StaffModel;
1588
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
1588
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1589
1589
  ...{
1590
1590
  name: "StaffCollection"
1591
1591
  },
@@ -1605,7 +1605,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
1605
1605
  });
1606
1606
  const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1607
1607
  const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
1608
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
1608
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
1609
1609
  __name: "StaffSingle",
1610
1610
  setup(__props) {
1611
1611
  const {
@@ -1685,7 +1685,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1685
1685
  title: "Identitas"
1686
1686
  }, {
1687
1687
  default: withCtx(() => [
1688
- createVNode(unref(_sfc_main$F))
1688
+ createVNode(unref(_sfc_main$G))
1689
1689
  ]),
1690
1690
  _: 1
1691
1691
  /* STABLE */
@@ -1756,10 +1756,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1756
1756
  }
1757
1757
  });
1758
1758
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1759
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-0cf4cd99"]]);
1759
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-0cf4cd99"]]);
1760
1760
  const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1761
1761
  const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
1762
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
1762
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1763
1763
  __name: "StaffOperasional",
1764
1764
  setup(__props) {
1765
1765
  const {
@@ -1839,7 +1839,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1839
1839
  title: "Identitas"
1840
1840
  }, {
1841
1841
  default: withCtx(() => [
1842
- createVNode(unref(_sfc_main$F))
1842
+ createVNode(unref(_sfc_main$G))
1843
1843
  ]),
1844
1844
  _: 1
1845
1845
  /* STABLE */
@@ -1917,8 +1917,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1917
1917
  }
1918
1918
  });
1919
1919
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
1920
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c62cf70a"]]);
1921
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
1920
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-c62cf70a"]]);
1921
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1922
1922
  __name: "StaffIdentity",
1923
1923
  setup(__props) {
1924
1924
  const { values, saveOne, executeOne, syncOne } = useSingle();
@@ -2074,7 +2074,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
2074
2074
  }
2075
2075
  });
2076
2076
  const SituationModel = models$2.SituationModel;
2077
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
2077
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
2078
2078
  ...{ name: "SituationCollection" },
2079
2079
  __name: "SituationCollection",
2080
2080
  setup(__props) {
@@ -2090,7 +2090,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
2090
2090
  };
2091
2091
  }
2092
2092
  });
2093
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
2093
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
2094
2094
  __name: "SituationSingle",
2095
2095
  setup(__props) {
2096
2096
  const {
@@ -2228,7 +2228,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
2228
2228
  };
2229
2229
  }
2230
2230
  });
2231
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
2231
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
2232
2232
  __name: "SituationWork",
2233
2233
  setup(__props) {
2234
2234
  const {
@@ -2409,7 +2409,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2409
2409
  };
2410
2410
  }
2411
2411
  });
2412
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
2412
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
2413
2413
  ...{ name: "SituationSupportive" },
2414
2414
  __name: "SituationSupportive",
2415
2415
  setup(__props) {
@@ -2548,7 +2548,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2548
2548
  }
2549
2549
  });
2550
2550
  const SituationTypeModel = models$2.SituationTypeModel;
2551
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
2551
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
2552
2552
  ...{ name: "SituationTypeCollection" },
2553
2553
  __name: "SituationTypeCollection",
2554
2554
  setup(__props) {
@@ -2564,7 +2564,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
2564
2564
  };
2565
2565
  }
2566
2566
  });
2567
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
2567
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
2568
2568
  __name: "SituationTypeSingle",
2569
2569
  setup(__props) {
2570
2570
  const {
@@ -2639,7 +2639,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
2639
2639
  const TaskModel = models$2.TaskModel;
2640
2640
  const _hoisted_1$a = { key: 0 };
2641
2641
  const _hoisted_2$9 = { key: 1 };
2642
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
2642
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
2643
2643
  ...{ name: "TaskWorkButton" },
2644
2644
  __name: "TaskWorkButton",
2645
2645
  setup(__props) {
@@ -2760,7 +2760,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
2760
2760
  };
2761
2761
  }
2762
2762
  });
2763
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
2763
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
2764
2764
  ...{ name: "TaskCollection" },
2765
2765
  __name: "TaskCollection",
2766
2766
  setup(__props) {
@@ -2776,7 +2776,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
2776
2776
  };
2777
2777
  }
2778
2778
  });
2779
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
2779
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
2780
2780
  __name: "TaskSingle",
2781
2781
  setup(__props) {
2782
2782
  const {
@@ -2999,7 +2999,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
2999
2999
  };
3000
3000
  }
3001
3001
  });
3002
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
3002
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
3003
3003
  __name: "TaskWork",
3004
3004
  setup(__props) {
3005
3005
  const {
@@ -3222,7 +3222,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3222
3222
  }
3223
3223
  });
3224
3224
  const SubmissionModel = models$2.SubmissionModel;
3225
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
3225
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
3226
3226
  ...{
3227
3227
  name: "SubmissionCollection"
3228
3228
  },
@@ -3240,7 +3240,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
3240
3240
  };
3241
3241
  }
3242
3242
  });
3243
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
3243
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
3244
3244
  __name: "SubmissionSingle",
3245
3245
  setup(__props) {
3246
3246
  const {
@@ -3337,25 +3337,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
3337
3337
  _: 1
3338
3338
  /* STABLE */
3339
3339
  }),
3340
- createVNode(unref(NeonField), mergeProps({
3341
- modelValue: unref(values).specifications,
3342
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).specifications = $event)
3343
- }, unref(fields).specifications), null, 16, ["modelValue"]),
3340
+ createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n /> '),
3344
3341
  createVNode(unref(NeonField), mergeProps({
3345
3342
  modelValue: unref(values).preparedAt,
3346
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).preparedAt = $event)
3343
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
3347
3344
  }, unref(fields).preparedAt), null, 16, ["modelValue"]),
3348
3345
  createVNode(unref(NeonField), mergeProps({
3349
3346
  modelValue: unref(values).raisedAt,
3350
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).raisedAt = $event)
3347
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
3351
3348
  }, unref(fields).raisedAt), null, 16, ["modelValue"]),
3352
3349
  createVNode(unref(NeonField), mergeProps({
3353
3350
  modelValue: unref(values).processedAt,
3354
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).processedAt = $event)
3351
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
3355
3352
  }, unref(fields).processedAt), null, 16, ["modelValue"]),
3356
3353
  createVNode(unref(NeonField), mergeProps({
3357
3354
  modelValue: unref(values).updatedAt,
3358
- "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).updatedAt = $event)
3355
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).updatedAt = $event)
3359
3356
  }, {
3360
3357
  handle: "updatedAt",
3361
3358
  name: "Tanggal Diupdate",
@@ -3367,12 +3364,16 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
3367
3364
  }, { "is-disabled": "" }), null, 16, ["modelValue"]),
3368
3365
  createVNode(unref(NeonDivider), {
3369
3366
  "is-dashed": "",
3370
- label: "Nominal"
3367
+ label: "Spesifikasi"
3371
3368
  }),
3372
3369
  createVNode(unref(NeonField), mergeProps({
3373
3370
  modelValue: unref(values).nominal,
3374
- "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).nominal = $event)
3371
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => unref(values).nominal = $event)
3375
3372
  }, unref(fields).nominal), null, 16, ["modelValue"]),
3373
+ createVNode(unref(NeonField), mergeProps({
3374
+ modelValue: unref(values).workingHours,
3375
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => unref(values).workingHours = $event)
3376
+ }, unref(fields).workingHours), null, 16, ["modelValue"]),
3376
3377
  createVNode(unref(NeonDivider), {
3377
3378
  "is-dashed": "",
3378
3379
  label: "Keputusan"
@@ -3436,9 +3437,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
3436
3437
  };
3437
3438
  }
3438
3439
  });
3439
- const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
3440
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-39553dbd"]]);
3441
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
3440
+ const SubmissionSingle_vue_vue_type_style_index_0_scoped_db121b49_lang = "";
3441
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-db121b49"]]);
3442
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
3442
3443
  __name: "SubmissionStaff",
3443
3444
  setup(__props) {
3444
3445
  var _a;
@@ -3536,7 +3537,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3536
3537
  size: "md",
3537
3538
  color: "dark",
3538
3539
  "icon-left": "arrow-up-from-line",
3539
- "is-disabled": unref(isNew) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).specifications || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type,
3540
+ "is-disabled": unref(isNew) || unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved" || !unref(values).agreedStaffs || !unref(values).branches || !unref(values).decideStaffs || !unref(values).followUpStaffs || !unref(values).raiseStaffs || !unref(values).submissionStaffs || !unref(values).title || !unref(values).type,
3540
3541
  onClick: syncRaise
3541
3542
  }, {
3542
3543
  default: withCtx(() => [
@@ -3615,34 +3616,46 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3615
3616
  _: 1
3616
3617
  /* STABLE */
3617
3618
  }),
3618
- createVNode(unref(NeonField), mergeProps({
3619
- modelValue: unref(values).specifications,
3620
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
3621
- }, unref(fields).specifications, {
3622
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
3623
- }), null, 16, ["modelValue", "is-disabled"]),
3619
+ createCommentVNode(` <NeonField
3620
+ v-model="values.specifications"
3621
+ v-bind="fields.specifications"
3622
+ :is-disabled="
3623
+ values.status === 'raised' ||
3624
+ values.status === 'processed' ||
3625
+ values.status === 'approved' ||
3626
+ values.status === 'monitored' ||
3627
+ values.status === 'discontinued' ||
3628
+ values.status === 'resolved'
3629
+ "
3630
+ /> `),
3624
3631
  createVNode(unref(NeonField), mergeProps({
3625
3632
  modelValue: unref(values).preparedAt,
3626
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
3633
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
3627
3634
  }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3628
3635
  createVNode(unref(NeonField), mergeProps({
3629
3636
  modelValue: unref(values).raisedAt,
3630
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
3637
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
3631
3638
  }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3632
3639
  createVNode(unref(NeonField), mergeProps({
3633
3640
  modelValue: unref(values).processedAt,
3634
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
3641
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
3635
3642
  }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
3636
3643
  createVNode(unref(NeonDivider), {
3637
3644
  "is-dashed": "",
3638
- label: "Nominal"
3645
+ label: "Spesifikasi"
3639
3646
  }),
3640
3647
  createVNode(unref(NeonField), mergeProps({
3641
3648
  modelValue: unref(values).nominal,
3642
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).nominal = $event)
3649
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
3643
3650
  }, unref(fields).nominal, {
3644
3651
  "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
3645
3652
  }), null, 16, ["modelValue", "is-disabled"]),
3653
+ createVNode(unref(NeonField), mergeProps({
3654
+ modelValue: unref(values).workingHours,
3655
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
3656
+ }, unref(fields).workingHours, {
3657
+ "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
3658
+ }), null, 16, ["modelValue", "is-disabled"]),
3646
3659
  createVNode(unref(NeonDivider), {
3647
3660
  "is-dashed": "",
3648
3661
  label: "Keputusan"
@@ -3709,9 +3722,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3709
3722
  };
3710
3723
  }
3711
3724
  });
3712
- const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
3713
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-3ed905bd"]]);
3714
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
3725
+ const SubmissionStaff_vue_vue_type_style_index_0_scoped_c971a3c0_lang = "";
3726
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-c971a3c0"]]);
3727
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3715
3728
  __name: "SubmissionFollowUp",
3716
3729
  setup(__props) {
3717
3730
  const {
@@ -3811,13 +3824,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3811
3824
  _: 1
3812
3825
  /* STABLE */
3813
3826
  }),
3814
- createVNode(unref(NeonField), mergeProps({
3815
- modelValue: unref(values).specifications,
3816
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
3817
- }, unref(fields).specifications, { "is-disabled": "" }), null, 16, ["modelValue"]),
3827
+ createCommentVNode(' <NeonField\n v-model="values.specifications"\n v-bind="fields.specifications"\n is-disabled\n /> '),
3818
3828
  createVNode(unref(NeonField), mergeProps({
3819
3829
  modelValue: unref(values).updatedAt,
3820
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).updatedAt = $event)
3830
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).updatedAt = $event)
3821
3831
  }, {
3822
3832
  handle: "updatedAt",
3823
3833
  name: "Tanggal Diupdate",
@@ -3829,12 +3839,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3829
3839
  }, { "is-disabled": "" }), null, 16, ["modelValue"]),
3830
3840
  createVNode(unref(NeonDivider), {
3831
3841
  "is-dashed": "",
3832
- label: "Nominal"
3842
+ label: "Spesifikasi"
3833
3843
  }),
3834
3844
  createVNode(unref(NeonField), mergeProps({
3835
3845
  modelValue: unref(values).nominal,
3836
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).nominal = $event)
3846
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).nominal = $event)
3837
3847
  }, unref(fields).nominal, { "is-disabled": "" }), null, 16, ["modelValue"]),
3848
+ createVNode(unref(NeonField), mergeProps({
3849
+ modelValue: unref(values).workingHours,
3850
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).workingHours = $event)
3851
+ }, unref(fields).workingHours, { "is-disabled": "" }), null, 16, ["modelValue"]),
3838
3852
  createVNode(unref(NeonDivider), {
3839
3853
  "is-dashed": "",
3840
3854
  label: "Keputusan"
@@ -3901,14 +3915,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3901
3915
  };
3902
3916
  }
3903
3917
  });
3904
- const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
3905
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-6fd14e52"]]);
3918
+ const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_890dfdf2_lang = "";
3919
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-890dfdf2"]]);
3906
3920
  const _hoisted_1$9 = { class: "flex flex-wrap" };
3907
3921
  const _hoisted_2$8 = { class: "mt-2" };
3908
- const _hoisted_3$5 = { class: "mt-2" };
3922
+ const _hoisted_3$4 = { class: "mt-2" };
3909
3923
  const _hoisted_4$2 = { class: "mt-2" };
3910
3924
  const _hoisted_5$2 = { class: "mt-2" };
3911
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
3925
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3912
3926
  __name: "SubmissionAudit",
3913
3927
  setup(__props) {
3914
3928
  var _a;
@@ -4035,7 +4049,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4035
4049
  })) : createCommentVNode("v-if", true)
4036
4050
  ]),
4037
4051
  createTextVNode("    "),
4038
- createElementVNode("div", _hoisted_3$5, [
4052
+ createElementVNode("div", _hoisted_3$4, [
4039
4053
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4040
4054
  input: withCtx(() => [
4041
4055
  createVNode(unref(NeonButton), {
@@ -4162,34 +4176,45 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4162
4176
  _: 1
4163
4177
  /* STABLE */
4164
4178
  }),
4165
- createVNode(unref(NeonField), mergeProps({
4166
- modelValue: unref(values).specifications,
4167
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
4168
- }, unref(fields).specifications, {
4169
- "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4170
- }), null, 16, ["modelValue", "is-disabled"]),
4179
+ createCommentVNode(` <NeonField
4180
+ v-model="values.specifications"
4181
+ v-bind="fields.specifications"
4182
+ :is-disabled="
4183
+ values.status === 'processed' ||
4184
+ values.status === 'approved' ||
4185
+ values.status === 'monitored' ||
4186
+ values.status === 'discontinued' ||
4187
+ values.status === 'resolved'
4188
+ "
4189
+ /> `),
4171
4190
  createVNode(unref(NeonField), mergeProps({
4172
4191
  modelValue: unref(values).preparedAt,
4173
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
4192
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
4174
4193
  }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4175
4194
  createVNode(unref(NeonField), mergeProps({
4176
4195
  modelValue: unref(values).raisedAt,
4177
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
4196
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
4178
4197
  }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4179
4198
  createVNode(unref(NeonField), mergeProps({
4180
4199
  modelValue: unref(values).processedAt,
4181
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
4200
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
4182
4201
  }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4183
4202
  createVNode(unref(NeonDivider), {
4184
4203
  "is-dashed": "",
4185
- label: "Nominal"
4204
+ label: "Spesifikasi"
4186
4205
  }),
4187
4206
  createVNode(unref(NeonField), mergeProps({
4188
4207
  modelValue: unref(values).nominal,
4189
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).nominal = $event)
4208
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
4190
4209
  }, unref(fields).nominal, {
4191
4210
  "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4192
4211
  }), null, 16, ["modelValue", "is-disabled"]),
4212
+ createVNode(unref(NeonField), mergeProps({
4213
+ modelValue: unref(values).workingHours,
4214
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
4215
+ }, unref(fields).workingHours, {
4216
+ "is-disabled": unref(values).status === "processed" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4217
+ }), null, 16, ["modelValue", "is-disabled"]),
4193
4218
  createVNode(unref(NeonDivider), {
4194
4219
  "is-dashed": "",
4195
4220
  label: "Keputusan"
@@ -4244,6 +4269,43 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4244
4269
  ]),
4245
4270
  _: 1
4246
4271
  /* STABLE */
4272
+ })) : createCommentVNode("v-if", true),
4273
+ createCommentVNode(" PROGRESS "),
4274
+ !unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
4275
+ key: 1,
4276
+ handle: "progress",
4277
+ icon: "info-circle",
4278
+ title: "Progress"
4279
+ }, {
4280
+ default: withCtx(() => [
4281
+ createVNode(unref(OfficeCollectionRelated), {
4282
+ definition: "neu:personalia:progress",
4283
+ title: "Progress",
4284
+ description: "Progress dari tindaklanjut.",
4285
+ query: unref(Query).define({
4286
+ filter: [
4287
+ {
4288
+ submissionIds: unref(id)
4289
+ }
4290
+ ],
4291
+ sort: {
4292
+ handle: "startedAt",
4293
+ direction: "ascending"
4294
+ }
4295
+ }),
4296
+ "is-ready": unref(isReady),
4297
+ columns: ["startedAt", "endedAt", "staff", "detail"],
4298
+ sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
4299
+ filters: ["staff"],
4300
+ "initial-values": {
4301
+ submissionIds: unref(id),
4302
+ submissions: unref(values)
4303
+ },
4304
+ excludes: ["create"]
4305
+ }, null, 8, ["query", "is-ready", "initial-values"])
4306
+ ]),
4307
+ _: 1
4308
+ /* STABLE */
4247
4309
  })) : createCommentVNode("v-if", true)
4248
4310
  ]),
4249
4311
  _: 1
@@ -4256,12 +4318,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4256
4318
  };
4257
4319
  }
4258
4320
  });
4259
- const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
4260
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7ee6c6b9"]]);
4321
+ const SubmissionAudit_vue_vue_type_style_index_0_scoped_cf1bf231_lang = "";
4322
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-cf1bf231"]]);
4261
4323
  const _hoisted_1$8 = { class: "flex flex-wrap" };
4262
4324
  const _hoisted_2$7 = { class: "mt-2" };
4263
- const _hoisted_3$4 = { class: "mt-2" };
4264
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
4325
+ const _hoisted_3$3 = { class: "mt-2" };
4326
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
4265
4327
  __name: "SubmissionDecision",
4266
4328
  setup(__props) {
4267
4329
  var _a;
@@ -4391,7 +4453,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
4391
4453
  })) : createCommentVNode("v-if", true)
4392
4454
  ]),
4393
4455
  createTextVNode("    "),
4394
- createElementVNode("div", _hoisted_3$4, [
4456
+ createElementVNode("div", _hoisted_3$3, [
4395
4457
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4396
4458
  input: withCtx(() => {
4397
4459
  var _a2, _b;
@@ -4477,34 +4539,47 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
4477
4539
  _: 1
4478
4540
  /* STABLE */
4479
4541
  }),
4480
- createVNode(unref(NeonField), mergeProps({
4481
- modelValue: unref(values).specifications,
4482
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
4483
- }, unref(fields).specifications, {
4484
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4485
- }), null, 16, ["modelValue", "is-disabled"]),
4542
+ createCommentVNode(` <NeonField
4543
+ v-model="values.specifications"
4544
+ v-bind="fields.specifications"
4545
+ :is-disabled="
4546
+ values.status === 'raised' ||
4547
+ values.status === 'processed' ||
4548
+ values.status === 'delay' ||
4549
+ values.status === 'approved' ||
4550
+ values.status === 'monitored' ||
4551
+ values.status === 'discontinued' ||
4552
+ values.status === 'resolved'
4553
+ "
4554
+ /> `),
4486
4555
  createVNode(unref(NeonField), mergeProps({
4487
4556
  modelValue: unref(values).preparedAt,
4488
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
4557
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
4489
4558
  }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4490
4559
  createVNode(unref(NeonField), mergeProps({
4491
4560
  modelValue: unref(values).raisedAt,
4492
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
4561
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
4493
4562
  }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4494
4563
  createVNode(unref(NeonField), mergeProps({
4495
4564
  modelValue: unref(values).processedAt,
4496
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
4565
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
4497
4566
  }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4498
4567
  createVNode(unref(NeonDivider), {
4499
4568
  "is-dashed": "",
4500
- label: "Nominal"
4569
+ label: "Spesifikasi"
4501
4570
  }),
4502
4571
  createVNode(unref(NeonField), mergeProps({
4503
4572
  modelValue: unref(values).nominal,
4504
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).nominal = $event)
4573
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
4505
4574
  }, unref(fields).nominal, {
4506
4575
  "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4507
4576
  }), null, 16, ["modelValue", "is-disabled"]),
4577
+ createVNode(unref(NeonField), mergeProps({
4578
+ modelValue: unref(values).workingHours,
4579
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
4580
+ }, unref(fields).workingHours, {
4581
+ "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4582
+ }), null, 16, ["modelValue", "is-disabled"]),
4508
4583
  createVNode(unref(NeonDivider), {
4509
4584
  "is-dashed": "",
4510
4585
  label: "Keputusan"
@@ -4559,6 +4634,43 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
4559
4634
  ]),
4560
4635
  _: 1
4561
4636
  /* STABLE */
4637
+ })) : createCommentVNode("v-if", true),
4638
+ createCommentVNode(" PROGRESS "),
4639
+ !unref(isNew) ? (openBlock(), createBlock(unref(OfficeTab), {
4640
+ key: 1,
4641
+ handle: "progress",
4642
+ icon: "info-circle",
4643
+ title: "Progress"
4644
+ }, {
4645
+ default: withCtx(() => [
4646
+ createVNode(unref(OfficeCollectionRelated), {
4647
+ definition: "neu:personalia:progress",
4648
+ title: "Progress",
4649
+ description: "Progress dari tindaklanjut.",
4650
+ query: unref(Query).define({
4651
+ filter: [
4652
+ {
4653
+ submissionIds: unref(id)
4654
+ }
4655
+ ],
4656
+ sort: {
4657
+ handle: "startedAt",
4658
+ direction: "ascending"
4659
+ }
4660
+ }),
4661
+ "is-ready": unref(isReady),
4662
+ columns: ["startedAt", "endedAt", "staff", "detail"],
4663
+ sorts: ["startedAt", "startedAt", "createdAt", "updatedAt"],
4664
+ filters: ["staff"],
4665
+ "initial-values": {
4666
+ submissionIds: unref(id),
4667
+ submissions: unref(values)
4668
+ },
4669
+ excludes: ["create"]
4670
+ }, null, 8, ["query", "is-ready", "initial-values"])
4671
+ ]),
4672
+ _: 1
4673
+ /* STABLE */
4562
4674
  })) : createCommentVNode("v-if", true)
4563
4675
  ]),
4564
4676
  _: 1
@@ -4571,12 +4683,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
4571
4683
  };
4572
4684
  }
4573
4685
  });
4574
- const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
4575
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ec347ac5"]]);
4686
+ const SubmissionDecision_vue_vue_type_style_index_0_scoped_754ce2a4_lang = "";
4687
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-754ce2a4"]]);
4576
4688
  const _hoisted_1$7 = { class: "flex flex-wrap" };
4577
4689
  const _hoisted_2$6 = { class: "mt-2" };
4578
- const _hoisted_3$3 = { class: "mt-2" };
4579
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
4690
+ const _hoisted_3$2 = { class: "mt-2" };
4691
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
4580
4692
  __name: "SubmissionWaitingDecision",
4581
4693
  setup(__props) {
4582
4694
  var _a;
@@ -4708,7 +4820,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4708
4820
  })) : createCommentVNode("v-if", true)
4709
4821
  ]),
4710
4822
  createTextVNode("    "),
4711
- createElementVNode("div", _hoisted_3$3, [
4823
+ createElementVNode("div", _hoisted_3$2, [
4712
4824
  unref(isReady) ? (openBlock(), createBlock(unref(NeonField), { key: 0 }, {
4713
4825
  input: withCtx(() => {
4714
4826
  var _a2, _b;
@@ -4794,34 +4906,47 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4794
4906
  _: 1
4795
4907
  /* STABLE */
4796
4908
  }),
4797
- createVNode(unref(NeonField), mergeProps({
4798
- modelValue: unref(values).specifications,
4799
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).specifications = $event)
4800
- }, unref(fields).specifications, {
4801
- "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4802
- }), null, 16, ["modelValue", "is-disabled"]),
4909
+ createCommentVNode(` <NeonField
4910
+ v-model="values.specifications"
4911
+ v-bind="fields.specifications"
4912
+ :is-disabled="
4913
+ values.status === 'raised' ||
4914
+ values.status === 'processed' ||
4915
+ values.status === 'delay' ||
4916
+ values.status === 'approved' ||
4917
+ values.status === 'monitored' ||
4918
+ values.status === 'discontinued' ||
4919
+ values.status === 'resolved'
4920
+ "
4921
+ /> `),
4803
4922
  createVNode(unref(NeonField), mergeProps({
4804
4923
  modelValue: unref(values).preparedAt,
4805
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).preparedAt = $event)
4924
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).preparedAt = $event)
4806
4925
  }, unref(fields).preparedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4807
4926
  createVNode(unref(NeonField), mergeProps({
4808
4927
  modelValue: unref(values).raisedAt,
4809
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).raisedAt = $event)
4928
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(values).raisedAt = $event)
4810
4929
  }, unref(fields).raisedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4811
4930
  createVNode(unref(NeonField), mergeProps({
4812
4931
  modelValue: unref(values).processedAt,
4813
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).processedAt = $event)
4932
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => unref(values).processedAt = $event)
4814
4933
  }, unref(fields).processedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
4815
4934
  createVNode(unref(NeonDivider), {
4816
4935
  "is-dashed": "",
4817
- label: "Nominal"
4936
+ label: "Spesifikasi"
4818
4937
  }),
4819
4938
  createVNode(unref(NeonField), mergeProps({
4820
4939
  modelValue: unref(values).nominal,
4821
- "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).nominal = $event)
4940
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => unref(values).nominal = $event)
4822
4941
  }, unref(fields).nominal, {
4823
4942
  "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4824
4943
  }), null, 16, ["modelValue", "is-disabled"]),
4944
+ createVNode(unref(NeonField), mergeProps({
4945
+ modelValue: unref(values).workingHours,
4946
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => unref(values).workingHours = $event)
4947
+ }, unref(fields).workingHours, {
4948
+ "is-disabled": unref(values).status === "raised" || unref(values).status === "processed" || unref(values).status === "delay" || unref(values).status === "approved" || unref(values).status === "monitored" || unref(values).status === "discontinued" || unref(values).status === "resolved"
4949
+ }), null, 16, ["modelValue", "is-disabled"]),
4825
4950
  createVNode(unref(NeonDivider), {
4826
4951
  "is-dashed": "",
4827
4952
  label: "Keputusan"
@@ -4888,10 +5013,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4888
5013
  };
4889
5014
  }
4890
5015
  });
4891
- const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
4892
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-051b2194"]]);
5016
+ const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_1f81ee74_lang = "";
5017
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-1f81ee74"]]);
4893
5018
  const SubmissionTypeModel = models$2.SubmissionTypeModel;
4894
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
5019
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
4895
5020
  ...{
4896
5021
  name: "SubmissionTypeCollection"
4897
5022
  },
@@ -4909,7 +5034,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
4909
5034
  };
4910
5035
  }
4911
5036
  });
4912
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
5037
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
4913
5038
  __name: "SubmissionTypeSingle",
4914
5039
  setup(__props) {
4915
5040
  const {
@@ -4975,9 +5100,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
4975
5100
  }
4976
5101
  });
4977
5102
  const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
4978
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2b7e18ba"]]);
5103
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-2b7e18ba"]]);
4979
5104
  const ResponsibilityTypeModel = models$2.ResponsibilityTypeModel;
4980
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
5105
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
4981
5106
  ...{
4982
5107
  name: "ResponsibilityTypeCollection"
4983
5108
  },
@@ -4995,7 +5120,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
4995
5120
  };
4996
5121
  }
4997
5122
  });
4998
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
5123
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
4999
5124
  __name: "ResponsibilityTypeSingle",
5000
5125
  setup(__props) {
5001
5126
  const {
@@ -5061,9 +5186,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
5061
5186
  }
5062
5187
  });
5063
5188
  const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
5064
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-3df9fac1"]]);
5189
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-3df9fac1"]]);
5065
5190
  const ResponsibilityModel = models$2.ResponsibilityModel;
5066
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
5191
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
5067
5192
  ...{
5068
5193
  name: "ResponsibilityCollection"
5069
5194
  },
@@ -5081,7 +5206,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
5081
5206
  };
5082
5207
  }
5083
5208
  });
5084
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
5209
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
5085
5210
  __name: "ResponsibilitySingle",
5086
5211
  setup(__props) {
5087
5212
  const {
@@ -5098,6 +5223,17 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
5098
5223
  discardChanges
5099
5224
  } = useSingle();
5100
5225
  const { staff } = useOperasional();
5226
+ const responsibilityTypeOptions = computed(() => {
5227
+ return {
5228
+ filter: [
5229
+ {
5230
+ handle: "branchIds",
5231
+ operator: "in",
5232
+ value: values.value.branchId
5233
+ }
5234
+ ]
5235
+ };
5236
+ });
5101
5237
  return (_ctx, _cache) => {
5102
5238
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-responsibility-single" }, {
5103
5239
  default: withCtx(() => [
@@ -5141,8 +5277,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
5141
5277
  createVNode(unref(OfficeRelation), {
5142
5278
  modelValue: unref(values),
5143
5279
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => isRef(values) ? values.value = $event : null),
5144
- field: unref(fields).responsibilityType
5145
- }, null, 8, ["modelValue", "field"])
5280
+ field: unref(fields).responsibilityType,
5281
+ query: unref(Query).define(responsibilityTypeOptions.value)
5282
+ }, null, 8, ["modelValue", "field", "query"])
5146
5283
  ]),
5147
5284
  _: 1
5148
5285
  /* STABLE */
@@ -5232,9 +5369,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
5232
5369
  };
5233
5370
  }
5234
5371
  });
5235
- const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_aaff5c1e_lang = "";
5236
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-aaff5c1e"]]);
5237
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
5372
+ const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_774b00b2_lang = "";
5373
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-774b00b2"]]);
5374
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
5238
5375
  __name: "ResponsibilityStaff",
5239
5376
  setup(__props) {
5240
5377
  const {
@@ -5390,9 +5527,9 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
5390
5527
  }
5391
5528
  });
5392
5529
  const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_8c4d64ad_lang = "";
5393
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8c4d64ad"]]);
5530
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-8c4d64ad"]]);
5394
5531
  const TargetModel = models$2.TargetModel;
5395
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
5532
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
5396
5533
  ...{
5397
5534
  name: "TargetCollection"
5398
5535
  },
@@ -5410,7 +5547,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
5410
5547
  };
5411
5548
  }
5412
5549
  });
5413
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
5550
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
5414
5551
  __name: "TargetSingle",
5415
5552
  setup(__props) {
5416
5553
  const {
@@ -5563,8 +5700,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
5563
5700
  }
5564
5701
  });
5565
5702
  const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
5566
- const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c12b8df8"]]);
5567
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
5703
+ const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-c12b8df8"]]);
5704
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
5568
5705
  __name: "TargetBranch",
5569
5706
  setup(__props) {
5570
5707
  const {
@@ -5717,9 +5854,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
5717
5854
  }
5718
5855
  });
5719
5856
  const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
5720
- const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6a5a6e80"]]);
5857
+ const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-6a5a6e80"]]);
5721
5858
  const PlanTypeModel = models$2.PlanTypeModel;
5722
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
5859
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
5723
5860
  ...{
5724
5861
  name: "PlanTypeCollection"
5725
5862
  },
@@ -5737,7 +5874,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
5737
5874
  };
5738
5875
  }
5739
5876
  });
5740
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
5877
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
5741
5878
  __name: "PlanTypeSingle",
5742
5879
  setup(__props) {
5743
5880
  const {
@@ -5858,9 +5995,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5858
5995
  }
5859
5996
  });
5860
5997
  const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
5861
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-80d2e1d3"]]);
5998
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-80d2e1d3"]]);
5862
5999
  const PlanModel = models$2.PlanModel;
5863
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
6000
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
5864
6001
  ...{
5865
6002
  name: "PlanCollection"
5866
6003
  },
@@ -5878,7 +6015,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5878
6015
  };
5879
6016
  }
5880
6017
  });
5881
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
6018
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
5882
6019
  __name: "PlanSingle",
5883
6020
  setup(__props) {
5884
6021
  const {
@@ -6054,8 +6191,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
6054
6191
  }
6055
6192
  });
6056
6193
  const PlanSingle_vue_vue_type_style_index_0_scoped_b3d29aa4_lang = "";
6057
- const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b3d29aa4"]]);
6058
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6194
+ const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b3d29aa4"]]);
6195
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
6059
6196
  __name: "PlanStaff",
6060
6197
  setup(__props) {
6061
6198
  const {
@@ -6207,10 +6344,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6207
6344
  }
6208
6345
  });
6209
6346
  const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
6210
- const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-aa8de6da"]]);
6347
+ const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-aa8de6da"]]);
6211
6348
  const ProgressModel = models$2.ProgressModel;
6212
6349
  const _hoisted_1$6 = { class: "flex flex-wrap" };
6213
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6350
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
6214
6351
  ...{ name: "ProgressButton" },
6215
6352
  __name: "ProgressButton",
6216
6353
  setup(__props) {
@@ -6256,7 +6393,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6256
6393
  };
6257
6394
  }
6258
6395
  });
6259
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6396
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
6260
6397
  ...{
6261
6398
  name: "ProgressCollection"
6262
6399
  },
@@ -6319,13 +6456,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6319
6456
  }
6320
6457
  });
6321
6458
  const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
6322
- const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2634660f"]]);
6459
+ const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-2634660f"]]);
6323
6460
  const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
6324
6461
  const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
6325
- const _hoisted_3$2 = { class: "segments" };
6326
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6462
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
6327
6463
  __name: "ProgressSingle",
6328
6464
  setup(__props) {
6465
+ var _a;
6329
6466
  const {
6330
6467
  fields,
6331
6468
  id,
@@ -6341,7 +6478,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6341
6478
  } = useSingle();
6342
6479
  const { staff } = useOperasional();
6343
6480
  const responsibilityOptions = computed(() => {
6344
- var _a, _b;
6481
+ var _a2, _b;
6345
6482
  return {
6346
6483
  filter: [
6347
6484
  {
@@ -6354,7 +6491,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6354
6491
  {
6355
6492
  handle: "staffWorkIds",
6356
6493
  operator: "in",
6357
- value: (_a = staff.value) == null ? void 0 : _a.id
6494
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
6358
6495
  },
6359
6496
  {
6360
6497
  handle: "staffSuperviseIds",
@@ -6389,14 +6526,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6389
6526
  }
6390
6527
  const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
6391
6528
  const besok = sekarang;
6529
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
6392
6530
  watch(
6393
6531
  isNew,
6394
6532
  (isNew2) => {
6395
- var _a;
6533
+ var _a2;
6396
6534
  if (!isNew2)
6397
6535
  return;
6398
- values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6399
- values.value.staffs = staff.value;
6536
+ values.value.staffIds = [staffId];
6537
+ values.value.staffs = [
6538
+ {
6539
+ id: staffId,
6540
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
6541
+ }
6542
+ ];
6400
6543
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6401
6544
  values.value.endedAt = besok.add(90, "m").toISOString();
6402
6545
  },
@@ -6425,45 +6568,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6425
6568
  () => `neu:operasional:progress:${id.value}`
6426
6569
  );
6427
6570
  const display = ref();
6428
- const pads = {
6429
- comments: {
6430
- handle: "comments",
6431
- title: "Comments",
6432
- icon: "comments"
6433
- },
6434
- note: {
6435
- handle: "note",
6436
- title: "Note",
6437
- icon: "notes"
6438
- },
6439
- sketch: {
6440
- handle: "sketch",
6441
- title: "Sketch",
6442
- icon: "pen-swirl"
6443
- }
6444
- };
6445
6571
  return (_ctx, _cache) => {
6446
6572
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
6447
- sketch: withCtx(({ close }) => [
6448
- createVNode(unref(OfficePad), mergeProps(pads.sketch, { onClose: close }), {
6449
- default: withCtx(() => [
6450
- createVNode(
6451
- unref(CatatSketchPad),
6452
- normalizeProps(guardReactiveProps({
6453
- applicationId: unref(appStore).appId,
6454
- object: `${objectDef.value}:office`,
6455
- isReady: unref(isReady),
6456
- isLoading: unref(isLoading)
6457
- })),
6458
- null,
6459
- 16
6460
- /* FULL_PROPS */
6461
- )
6462
- ]),
6463
- _: 2
6464
- /* DYNAMIC */
6465
- }, 1040, ["onClose"])
6466
- ]),
6467
6573
  default: withCtx(() => [
6468
6574
  createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
6469
6575
  default: withCtx(() => [
@@ -6576,20 +6682,25 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6576
6682
  _: 1
6577
6683
  /* STABLE */
6578
6684
  }, 16, ["modelValue"]),
6685
+ createVNode(unref(OfficeRelation), {
6686
+ modelValue: unref(values),
6687
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
6688
+ field: unref(fields).accessStaffs
6689
+ }, null, 8, ["modelValue", "field"]),
6579
6690
  createVNode(unref(NeonDivider), {
6580
6691
  "is-dashed": "",
6581
6692
  label: "Referensi"
6582
6693
  }),
6583
6694
  createVNode(unref(OfficeRelation), {
6584
6695
  modelValue: unref(values),
6585
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
6696
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
6586
6697
  field: unref(fields).responsibilities,
6587
6698
  query: unref(Query).define(responsibilityOptions.value)
6588
6699
  }, null, 8, ["modelValue", "field", "query"]),
6589
6700
  createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
6590
6701
  createVNode(unref(OfficeRelation), {
6591
6702
  modelValue: unref(values),
6592
- "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
6703
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
6593
6704
  field: unref(fields).submissions,
6594
6705
  query: unref(Query).define(submissionOptions.value)
6595
6706
  }, null, 8, ["modelValue", "field", "query"])
@@ -6609,12 +6720,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6609
6720
  title: "Catatan"
6610
6721
  }, {
6611
6722
  default: withCtx(({ isTouched }) => [
6612
- createElementVNode("div", _hoisted_3$2, [
6613
- createVNode(unref(CatatPaperSegments), {
6614
- display: display.value,
6615
- "onUpdate:display": _cache[10] || (_cache[10] = ($event) => display.value = $event)
6616
- }, null, 8, ["display"])
6617
- ]),
6618
6723
  createVNode(unref(CatatPaperPad), mergeProps({
6619
6724
  applicationId: unref(appStore).appId,
6620
6725
  object: `${objectDef.value}:office`,
@@ -6636,13 +6741,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6636
6741
  };
6637
6742
  }
6638
6743
  });
6639
- const ProgressSingle_vue_vue_type_style_index_0_scoped_e7bbc154_lang = "";
6640
- const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-e7bbc154"]]);
6744
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_ca99d46c_lang = "";
6745
+ const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-ca99d46c"]]);
6641
6746
  const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
6642
6747
  const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
6643
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6748
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
6644
6749
  __name: "ProgressTomorrow",
6645
6750
  setup(__props) {
6751
+ var _a;
6646
6752
  const {
6647
6753
  fields,
6648
6754
  id,
@@ -6658,7 +6764,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6658
6764
  } = useSingle();
6659
6765
  const { staff } = useOperasional();
6660
6766
  const responsibilityOptions = computed(() => {
6661
- var _a, _b;
6767
+ var _a2, _b;
6662
6768
  return {
6663
6769
  filter: [
6664
6770
  {
@@ -6671,7 +6777,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6671
6777
  {
6672
6778
  handle: "staffWorkIds",
6673
6779
  operator: "in",
6674
- value: (_a = staff.value) == null ? void 0 : _a.id
6780
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
6675
6781
  },
6676
6782
  {
6677
6783
  handle: "staffSuperviseIds",
@@ -6706,14 +6812,20 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6706
6812
  }
6707
6813
  const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
6708
6814
  const besok = sekarang.add(1, "day");
6815
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
6709
6816
  watch(
6710
6817
  isNew,
6711
6818
  (isNew2) => {
6712
- var _a;
6819
+ var _a2;
6713
6820
  if (!isNew2)
6714
6821
  return;
6715
- values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6716
- values.value.staffs = staff.value;
6822
+ values.value.staffIds = [staffId];
6823
+ values.value.staffs = [
6824
+ {
6825
+ id: staffId,
6826
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
6827
+ }
6828
+ ];
6717
6829
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6718
6830
  values.value.endedAt = besok.add(90, "m").toISOString();
6719
6831
  },
@@ -6737,6 +6849,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6737
6849
  ]
6738
6850
  };
6739
6851
  });
6852
+ const appStore = useAppStore();
6853
+ const objectDef = computed(
6854
+ () => `neu:operasional:progress:${id.value}`
6855
+ );
6856
+ const display = ref();
6740
6857
  return (_ctx, _cache) => {
6741
6858
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
6742
6859
  default: withCtx(() => [
@@ -6836,23 +6953,43 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6836
6953
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
6837
6954
  field: unref(fields).staffs
6838
6955
  }, null, 8, ["modelValue", "field"]),
6956
+ createVNode(unref(NeonField), mergeProps({
6957
+ modelValue: unref(values).isNotes,
6958
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
6959
+ }, unref(fields).isNotes), {
6960
+ input: withCtx(() => [
6961
+ createVNode(unref(NeonCheck), {
6962
+ modelValue: unref(values).isNotes,
6963
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
6964
+ label: "Catatan",
6965
+ class: "mt-2"
6966
+ }, null, 8, ["modelValue"])
6967
+ ]),
6968
+ _: 1
6969
+ /* STABLE */
6970
+ }, 16, ["modelValue"]),
6971
+ createVNode(unref(OfficeRelation), {
6972
+ modelValue: unref(values),
6973
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
6974
+ field: unref(fields).accessStaffs
6975
+ }, null, 8, ["modelValue", "field"]),
6839
6976
  createVNode(unref(NeonDivider), {
6840
6977
  "is-dashed": "",
6841
6978
  label: "Referensi"
6842
6979
  }),
6843
6980
  createVNode(unref(OfficeRelation), {
6844
6981
  modelValue: unref(values),
6845
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
6982
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
6846
6983
  field: unref(fields).responsibilities,
6847
6984
  query: unref(Query).define(responsibilityOptions.value)
6848
6985
  }, null, 8, ["modelValue", "field", "query"]),
6986
+ createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
6849
6987
  createVNode(unref(OfficeRelation), {
6850
6988
  modelValue: unref(values),
6851
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
6989
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
6852
6990
  field: unref(fields).submissions,
6853
6991
  query: unref(Query).define(submissionOptions.value)
6854
- }, null, 8, ["modelValue", "field", "query"]),
6855
- createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> ')
6992
+ }, null, 8, ["modelValue", "field", "query"])
6856
6993
  ]),
6857
6994
  _: 1
6858
6995
  /* STABLE */
@@ -6860,7 +6997,25 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6860
6997
  ]),
6861
6998
  _: 1
6862
6999
  /* STABLE */
6863
- })
7000
+ }),
7001
+ createCommentVNode(" Catatan "),
7002
+ !unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
7003
+ key: 0,
7004
+ handle: "catatan",
7005
+ icon: "circle-info",
7006
+ title: "Catatan"
7007
+ }, {
7008
+ default: withCtx(({ isTouched }) => [
7009
+ createVNode(unref(CatatPaperPad), mergeProps({
7010
+ applicationId: unref(appStore).appId,
7011
+ object: `${objectDef.value}:office`,
7012
+ isReady: unref(isReady) && isTouched,
7013
+ isLoading: unref(isLoading)
7014
+ }, { display: display.value }), null, 16, ["display"])
7015
+ ]),
7016
+ _: 1
7017
+ /* STABLE */
7018
+ })) : createCommentVNode("v-if", true)
6864
7019
  ]),
6865
7020
  _: 1
6866
7021
  /* STABLE */
@@ -6872,13 +7027,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6872
7027
  };
6873
7028
  }
6874
7029
  });
6875
- const ProgressTomorrow_vue_vue_type_style_index_0_scoped_9a139943_lang = "";
6876
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-9a139943"]]);
7030
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_41302f2e_lang = "";
7031
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-41302f2e"]]);
6877
7032
  const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
6878
7033
  const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
6879
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7034
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
6880
7035
  __name: "ProgressYesterday",
6881
7036
  setup(__props) {
7037
+ var _a;
6882
7038
  const {
6883
7039
  fields,
6884
7040
  id,
@@ -6894,7 +7050,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6894
7050
  } = useSingle();
6895
7051
  const { staff } = useOperasional();
6896
7052
  const responsibilityOptions = computed(() => {
6897
- var _a, _b;
7053
+ var _a2, _b;
6898
7054
  return {
6899
7055
  filter: [
6900
7056
  {
@@ -6907,7 +7063,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6907
7063
  {
6908
7064
  handle: "staffWorkIds",
6909
7065
  operator: "in",
6910
- value: (_a = staff.value) == null ? void 0 : _a.id
7066
+ value: (_a2 = staff.value) == null ? void 0 : _a2.id
6911
7067
  },
6912
7068
  {
6913
7069
  handle: "staffSuperviseIds",
@@ -6942,14 +7098,20 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6942
7098
  }
6943
7099
  const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
6944
7100
  const besok = sekarang.add(-1, "day");
7101
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
6945
7102
  watch(
6946
7103
  isNew,
6947
7104
  (isNew2) => {
6948
- var _a;
7105
+ var _a2;
6949
7106
  if (!isNew2)
6950
7107
  return;
6951
- values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6952
- values.value.staffs = staff.value;
7108
+ values.value.staffIds = [staffId];
7109
+ values.value.staffs = [
7110
+ {
7111
+ id: staffId,
7112
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
7113
+ }
7114
+ ];
6953
7115
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6954
7116
  values.value.endedAt = besok.add(90, "m").toISOString();
6955
7117
  },
@@ -6973,6 +7135,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
6973
7135
  ]
6974
7136
  };
6975
7137
  });
7138
+ const appStore = useAppStore();
7139
+ const objectDef = computed(
7140
+ () => `neu:operasional:progress:${id.value}`
7141
+ );
7142
+ const display = ref();
6976
7143
  return (_ctx, _cache) => {
6977
7144
  return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
6978
7145
  default: withCtx(() => [
@@ -7072,24 +7239,40 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7072
7239
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(values) ? values.value = $event : null),
7073
7240
  field: unref(fields).staffs
7074
7241
  }, null, 8, ["modelValue", "field"]),
7242
+ createVNode(unref(NeonField), mergeProps({
7243
+ modelValue: unref(values).isNotes,
7244
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => unref(values).isNotes = $event)
7245
+ }, unref(fields).isNotes), {
7246
+ input: withCtx(() => [
7247
+ createVNode(unref(NeonCheck), {
7248
+ modelValue: unref(values).isNotes,
7249
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event),
7250
+ label: "Catatan",
7251
+ class: "mt-2"
7252
+ }, null, 8, ["modelValue"])
7253
+ ]),
7254
+ _: 1
7255
+ /* STABLE */
7256
+ }, 16, ["modelValue"]),
7257
+ createVNode(unref(OfficeRelation), {
7258
+ modelValue: unref(values),
7259
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
7260
+ field: unref(fields).accessStaffs
7261
+ }, null, 8, ["modelValue", "field"]),
7075
7262
  createVNode(unref(NeonDivider), {
7076
7263
  "is-dashed": "",
7077
7264
  label: "Referensi"
7078
7265
  }),
7079
7266
  createVNode(unref(OfficeRelation), {
7080
7267
  modelValue: unref(values),
7081
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => isRef(values) ? values.value = $event : null),
7268
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isRef(values) ? values.value = $event : null),
7082
7269
  field: unref(fields).responsibilities,
7083
7270
  query: unref(Query).define(responsibilityOptions.value)
7084
7271
  }, null, 8, ["modelValue", "field", "query"]),
7272
+ createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
7085
7273
  createVNode(unref(OfficeRelation), {
7086
7274
  modelValue: unref(values),
7087
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => isRef(values) ? values.value = $event : null),
7088
- field: unref(fields).plans
7089
- }, null, 8, ["modelValue", "field"]),
7090
- createVNode(unref(OfficeRelation), {
7091
- modelValue: unref(values),
7092
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => isRef(values) ? values.value = $event : null),
7275
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => isRef(values) ? values.value = $event : null),
7093
7276
  field: unref(fields).submissions,
7094
7277
  query: unref(Query).define(submissionOptions.value)
7095
7278
  }, null, 8, ["modelValue", "field", "query"])
@@ -7100,7 +7283,185 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7100
7283
  ]),
7101
7284
  _: 1
7102
7285
  /* STABLE */
7103
- })
7286
+ }),
7287
+ createCommentVNode(" Catatan "),
7288
+ !unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
7289
+ key: 0,
7290
+ handle: "catatan",
7291
+ icon: "circle-info",
7292
+ title: "Catatan"
7293
+ }, {
7294
+ default: withCtx(({ isTouched }) => [
7295
+ createVNode(unref(CatatPaperPad), mergeProps({
7296
+ applicationId: unref(appStore).appId,
7297
+ object: `${objectDef.value}:office`,
7298
+ isReady: unref(isReady) && isTouched,
7299
+ isLoading: unref(isLoading)
7300
+ }, { display: display.value }), null, 16, ["display"])
7301
+ ]),
7302
+ _: 1
7303
+ /* STABLE */
7304
+ })) : createCommentVNode("v-if", true)
7305
+ ]),
7306
+ _: 1
7307
+ /* STABLE */
7308
+ }, 8, ["use-url"])
7309
+ ]),
7310
+ _: 1
7311
+ /* STABLE */
7312
+ });
7313
+ };
7314
+ }
7315
+ });
7316
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_78de8f41_lang = "";
7317
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-78de8f41"]]);
7318
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7319
+ __name: "ProgressNote",
7320
+ setup(__props) {
7321
+ var _a;
7322
+ const {
7323
+ fields,
7324
+ id,
7325
+ initialValues,
7326
+ values,
7327
+ isLoading,
7328
+ isChanged,
7329
+ isReady,
7330
+ isMain,
7331
+ isNew,
7332
+ saveOne,
7333
+ discardChanges
7334
+ } = useSingle();
7335
+ const { staff } = useOperasional();
7336
+ const sekarang = DateUtil.day(/* @__PURE__ */ new Date());
7337
+ const besok = sekarang;
7338
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
7339
+ watch(
7340
+ isNew,
7341
+ (isNew2) => {
7342
+ var _a2, _b;
7343
+ if (!isNew2)
7344
+ return;
7345
+ values.value.staffIds = [staffId];
7346
+ values.value.staffs = [
7347
+ {
7348
+ id: staffId,
7349
+ flag: (_a2 = staff.value) == null ? void 0 : _a2.flag
7350
+ }
7351
+ ];
7352
+ values.value.accessStaffIds = [staffId];
7353
+ values.value.accessStaffs = [
7354
+ {
7355
+ id: staffId,
7356
+ flag: (_b = staff.value) == null ? void 0 : _b.flag
7357
+ }
7358
+ ];
7359
+ values.value.startedAt = besok.second(0).millisecond(0).toISOString();
7360
+ values.value.endedAt = besok.add(90, "m").toISOString();
7361
+ values.value.isNotes = true;
7362
+ values.value.virtualIsNotes = "active";
7363
+ },
7364
+ {
7365
+ immediate: true
7366
+ }
7367
+ );
7368
+ const appStore = useAppStore();
7369
+ const objectDef = computed(
7370
+ () => `neu:operasional:progress:${id.value}`
7371
+ );
7372
+ const display = ref();
7373
+ return (_ctx, _cache) => {
7374
+ return openBlock(), createBlock(unref(NeonSingle), { class: "neu-progress-single" }, {
7375
+ default: withCtx(() => [
7376
+ createVNode(unref(OfficeTabs), { "use-url": unref(isMain) }, {
7377
+ default: withCtx(() => [
7378
+ createVNode(unref(OfficeTab), {
7379
+ handle: "info",
7380
+ icon: "circle-info",
7381
+ title: "Info"
7382
+ }, {
7383
+ default: withCtx(() => [
7384
+ createVNode(unref(NeonForm), {
7385
+ handle: "info",
7386
+ "initial-values": unref(initialValues),
7387
+ "is-loading": unref(isLoading),
7388
+ "is-changed": unref(isChanged),
7389
+ "use-unsaved": "",
7390
+ onCancel: unref(discardChanges),
7391
+ onSubmit: unref(saveOne)
7392
+ }, {
7393
+ default: withCtx(() => [
7394
+ createVNode(unref(NeonFields), { md: "grid-cols-2" }, {
7395
+ default: withCtx(() => [
7396
+ createVNode(unref(NeonField), mergeProps({
7397
+ modelValue: unref(values).startedAt,
7398
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unref(values).startedAt = $event)
7399
+ }, unref(fields).startedAt, { "is-disabled": "" }), null, 16, ["modelValue"]),
7400
+ createVNode(unref(NeonField), mergeProps({
7401
+ modelValue: unref(values).detail,
7402
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => unref(values).detail = $event)
7403
+ }, unref(fields).detail), null, 16, ["modelValue"])
7404
+ ]),
7405
+ _: 1
7406
+ /* STABLE */
7407
+ }),
7408
+ unref(isNew) ? (openBlock(), createBlock(unref(OfficeRelation), {
7409
+ key: 0,
7410
+ modelValue: unref(values),
7411
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(values) ? values.value = $event : null),
7412
+ field: unref(fields).staffs
7413
+ }, null, 8, ["modelValue", "field"])) : createCommentVNode("v-if", true),
7414
+ createVNode(unref(OfficeRelation), {
7415
+ modelValue: unref(values),
7416
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => isRef(values) ? values.value = $event : null),
7417
+ field: unref(fields).accessStaffs
7418
+ }, null, 8, ["modelValue", "field"]),
7419
+ createVNode(unref(NeonField), mergeProps({
7420
+ modelValue: unref(values).priority,
7421
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(values).priority = $event)
7422
+ }, unref(fields).priority), null, 16, ["modelValue"]),
7423
+ createVNode(unref(NeonField), mergeProps({
7424
+ modelValue: unref(values).isNotes,
7425
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => unref(values).isNotes = $event)
7426
+ }, unref(fields).isNotes), {
7427
+ input: withCtx(() => [
7428
+ createVNode(unref(NeonCheck), {
7429
+ modelValue: unref(values).isNotes,
7430
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => unref(values).isNotes = $event),
7431
+ label: "Catatan",
7432
+ class: "mt-2",
7433
+ "is-disabled": ""
7434
+ }, null, 8, ["modelValue"])
7435
+ ]),
7436
+ _: 1
7437
+ /* STABLE */
7438
+ }, 16, ["modelValue"])
7439
+ ]),
7440
+ _: 1
7441
+ /* STABLE */
7442
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7443
+ ]),
7444
+ _: 1
7445
+ /* STABLE */
7446
+ }),
7447
+ createCommentVNode(" Catatan "),
7448
+ !unref(isNew) && unref(values).isNotes === true ? (openBlock(), createBlock(unref(OfficeTab), {
7449
+ key: 0,
7450
+ handle: "catatan",
7451
+ icon: "circle-info",
7452
+ title: "Catatan"
7453
+ }, {
7454
+ default: withCtx(({ isTouched }) => [
7455
+ createVNode(unref(CatatPaperPad), mergeProps({
7456
+ applicationId: unref(appStore).appId,
7457
+ object: `${objectDef.value}:office`,
7458
+ isReady: unref(isReady) && isTouched,
7459
+ isLoading: unref(isLoading)
7460
+ }, { display: display.value }), null, 16, ["display"])
7461
+ ]),
7462
+ _: 1
7463
+ /* STABLE */
7464
+ })) : createCommentVNode("v-if", true)
7104
7465
  ]),
7105
7466
  _: 1
7106
7467
  /* STABLE */
@@ -7112,8 +7473,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7112
7473
  };
7113
7474
  }
7114
7475
  });
7115
- const ProgressYesterday_vue_vue_type_style_index_0_scoped_3bad8bb9_lang = "";
7116
- const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3bad8bb9"]]);
7476
+ const ProgressNote_vue_vue_type_style_index_0_scoped_cee18889_lang = "";
7477
+ const ProgressNote = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-cee18889"]]);
7117
7478
  const AttendanceModel = models$2.AttendanceModel;
7118
7479
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7119
7480
  ...{
@@ -8108,70 +8469,71 @@ const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
8108
8469
  AttendanceSingle,
8109
8470
  AttendanceStaff,
8110
8471
  CheckInAccess,
8111
- CheckInCollection: _sfc_main$J,
8472
+ CheckInCollection: _sfc_main$K,
8112
8473
  CheckInExternal,
8113
8474
  CheckInModel,
8114
8475
  CheckInPresenceCollection,
8115
- CheckInScanError: _sfc_main$M,
8116
- CheckInScanSuccess: _sfc_main$K,
8476
+ CheckInScanError: _sfc_main$N,
8477
+ CheckInScanSuccess: _sfc_main$L,
8117
8478
  CheckInScanner,
8118
8479
  CheckInSingle,
8119
8480
  NeonTime,
8120
8481
  OperasionalIdentitas,
8121
- PlanCollection: _sfc_main$b,
8482
+ PlanCollection: _sfc_main$c,
8122
8483
  PlanModel,
8123
8484
  PlanSingle,
8124
8485
  PlanStaff,
8125
- PlanTypeCollection: _sfc_main$d,
8486
+ PlanTypeCollection: _sfc_main$e,
8126
8487
  PlanTypeModel,
8127
8488
  PlanTypeSingle,
8128
- ProgressButton: _sfc_main$8,
8489
+ ProgressButton: _sfc_main$9,
8129
8490
  ProgressCollection,
8130
8491
  ProgressModel,
8492
+ ProgressNote,
8131
8493
  ProgressSingle,
8132
8494
  ProgressTomorrow,
8133
8495
  ProgressYesterday,
8134
- ResponsibilityCollection: _sfc_main$j,
8496
+ ResponsibilityCollection: _sfc_main$k,
8135
8497
  ResponsibilityModel,
8136
8498
  ResponsibilitySingle,
8137
8499
  ResponsibilityStaff,
8138
- ResponsibilityTypeCollection: _sfc_main$l,
8500
+ ResponsibilityTypeCollection: _sfc_main$m,
8139
8501
  ResponsibilityTypeModel,
8140
8502
  ResponsibilityTypeSingle,
8141
- SituationCollection: _sfc_main$E,
8503
+ SituationCollection: _sfc_main$F,
8142
8504
  SituationModel,
8143
- SituationSingle: _sfc_main$D,
8144
- SituationSupportive: _sfc_main$B,
8145
- SituationTypeCollection: _sfc_main$A,
8505
+ SituationSingle: _sfc_main$E,
8506
+ SituationSupportive: _sfc_main$C,
8507
+ SituationTypeCollection: _sfc_main$B,
8146
8508
  SituationTypeModel,
8147
- SituationTypeSingle: _sfc_main$z,
8148
- SituationWork: _sfc_main$C,
8149
- StaffCollection: _sfc_main$I,
8150
- StaffIdentity: _sfc_main$F,
8509
+ SituationTypeSingle: _sfc_main$A,
8510
+ SituationWork: _sfc_main$D,
8511
+ StaffCollection: _sfc_main$J,
8512
+ StaffIdentity: _sfc_main$G,
8151
8513
  StaffModel,
8152
8514
  StaffOperasional,
8153
8515
  StaffSingle,
8154
8516
  SubmissionAudit,
8155
- SubmissionCollection: _sfc_main$u,
8517
+ SubmissionCollection: _sfc_main$v,
8156
8518
  SubmissionDecision,
8157
8519
  SubmissionFollowUp,
8158
8520
  SubmissionModel,
8159
8521
  SubmissionSingle,
8160
8522
  SubmissionStaff,
8161
- SubmissionTypeCollection: _sfc_main$n,
8523
+ SubmissionTypeCollection: _sfc_main$o,
8162
8524
  SubmissionTypeModel,
8163
8525
  SubmissionTypeSingle,
8164
8526
  SubmissionWaitingDecision,
8165
8527
  TargetBranch,
8166
- TargetCollection: _sfc_main$g,
8528
+ TargetCollection: _sfc_main$h,
8167
8529
  TargetModel,
8168
8530
  TargetSingle,
8169
- TaskCollection: _sfc_main$x,
8531
+ TaskCollection: _sfc_main$y,
8170
8532
  TaskModel,
8171
- TaskSingle: _sfc_main$w,
8172
- TaskWork: _sfc_main$v,
8173
- TaskWorkButton: _sfc_main$y,
8174
- XxxButton: _sfc_main$T
8533
+ TaskSingle: _sfc_main$x,
8534
+ TaskWork: _sfc_main$w,
8535
+ TaskWorkButton: _sfc_main$z,
8536
+ XxxButton: _sfc_main$U
8175
8537
  }, Symbol.toStringTag, { value: "Module" }));
8176
8538
  function registerComponents(app) {
8177
8539
  Object.entries(components).forEach(([name, component]) => {
@@ -8193,73 +8555,74 @@ export {
8193
8555
  AttendanceSingle,
8194
8556
  AttendanceStaff,
8195
8557
  CheckInAccess,
8196
- _sfc_main$J as CheckInCollection,
8558
+ _sfc_main$K as CheckInCollection,
8197
8559
  CheckInExternal,
8198
8560
  CheckInModel,
8199
8561
  CheckInPresenceCollection,
8200
- _sfc_main$M as CheckInScanError,
8201
- _sfc_main$K as CheckInScanSuccess,
8562
+ _sfc_main$N as CheckInScanError,
8563
+ _sfc_main$L as CheckInScanSuccess,
8202
8564
  CheckInScanner,
8203
8565
  CheckInSingle,
8204
8566
  operasional_types as NOperasional,
8205
8567
  NeonTime,
8206
8568
  OperasionalIdentitas,
8207
8569
  OperasionalInterfacesPlugin,
8208
- _sfc_main$b as PlanCollection,
8570
+ _sfc_main$c as PlanCollection,
8209
8571
  PlanModel,
8210
8572
  PlanSingle,
8211
8573
  PlanStaff,
8212
- _sfc_main$d as PlanTypeCollection,
8574
+ _sfc_main$e as PlanTypeCollection,
8213
8575
  PlanTypeModel,
8214
8576
  PlanTypeSingle,
8215
- _sfc_main$8 as ProgressButton,
8577
+ _sfc_main$9 as ProgressButton,
8216
8578
  ProgressCollection,
8217
8579
  ProgressModel,
8580
+ ProgressNote,
8218
8581
  ProgressSingle,
8219
8582
  ProgressTomorrow,
8220
8583
  ProgressYesterday,
8221
- _sfc_main$j as ResponsibilityCollection,
8584
+ _sfc_main$k as ResponsibilityCollection,
8222
8585
  ResponsibilityModel,
8223
8586
  ResponsibilitySingle,
8224
8587
  ResponsibilityStaff,
8225
- _sfc_main$l as ResponsibilityTypeCollection,
8588
+ _sfc_main$m as ResponsibilityTypeCollection,
8226
8589
  ResponsibilityTypeModel,
8227
8590
  ResponsibilityTypeSingle,
8228
8591
  graphql as Schema,
8229
- _sfc_main$E as SituationCollection,
8592
+ _sfc_main$F as SituationCollection,
8230
8593
  SituationModel,
8231
- _sfc_main$D as SituationSingle,
8232
- _sfc_main$B as SituationSupportive,
8233
- _sfc_main$A as SituationTypeCollection,
8594
+ _sfc_main$E as SituationSingle,
8595
+ _sfc_main$C as SituationSupportive,
8596
+ _sfc_main$B as SituationTypeCollection,
8234
8597
  SituationTypeModel,
8235
- _sfc_main$z as SituationTypeSingle,
8236
- _sfc_main$C as SituationWork,
8237
- _sfc_main$I as StaffCollection,
8238
- _sfc_main$F as StaffIdentity,
8598
+ _sfc_main$A as SituationTypeSingle,
8599
+ _sfc_main$D as SituationWork,
8600
+ _sfc_main$J as StaffCollection,
8601
+ _sfc_main$G as StaffIdentity,
8239
8602
  StaffModel,
8240
8603
  StaffOperasional,
8241
8604
  StaffSingle,
8242
8605
  SubmissionAudit,
8243
- _sfc_main$u as SubmissionCollection,
8606
+ _sfc_main$v as SubmissionCollection,
8244
8607
  SubmissionDecision,
8245
8608
  SubmissionFollowUp,
8246
8609
  SubmissionModel,
8247
8610
  SubmissionSingle,
8248
8611
  SubmissionStaff,
8249
- _sfc_main$n as SubmissionTypeCollection,
8612
+ _sfc_main$o as SubmissionTypeCollection,
8250
8613
  SubmissionTypeModel,
8251
8614
  SubmissionTypeSingle,
8252
8615
  SubmissionWaitingDecision,
8253
8616
  TargetBranch,
8254
- _sfc_main$g as TargetCollection,
8617
+ _sfc_main$h as TargetCollection,
8255
8618
  TargetModel,
8256
8619
  TargetSingle,
8257
- _sfc_main$x as TaskCollection,
8620
+ _sfc_main$y as TaskCollection,
8258
8621
  TaskModel,
8259
- _sfc_main$w as TaskSingle,
8260
- _sfc_main$v as TaskWork,
8261
- _sfc_main$y as TaskWorkButton,
8262
- _sfc_main$T as XxxButton,
8622
+ _sfc_main$x as TaskSingle,
8623
+ _sfc_main$w as TaskWork,
8624
+ _sfc_main$z as TaskWorkButton,
8625
+ _sfc_main$U as XxxButton,
8263
8626
  bus,
8264
8627
  useAttendanceStore,
8265
8628
  useOperasional,