@neutron.co.id/operasional-interfaces 1.7.2 → 1.8.0

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
@@ -24,8 +24,8 @@ const component = require("@neon.id/utils/component");
24
24
  const Scanner = require("qr-scanner");
25
25
  const personaliaModels = require("@neutron.co.id/personalia-models");
26
26
  const catatInterfaces = require("@neon.id/catat-interfaces");
27
- const _hoisted_1$j = { class: "xxx-button" };
28
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
27
+ const _hoisted_1$m = { class: "xxx-button" };
28
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
29
29
  ...{ name: "XxxButton" },
30
30
  __name: "XxxButton",
31
31
  props: {
@@ -36,18 +36,18 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
36
36
  },
37
37
  setup(__props) {
38
38
  return (_ctx, _cache) => {
39
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
39
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
40
40
  vue.createVNode(vue.unref(interfaces.NeonButton), { label: "XXX" })
41
41
  ]);
42
42
  };
43
43
  }
44
44
  });
45
- const _hoisted_1$i = { class: "operasional-identitas" };
46
- const _hoisted_2$d = {
45
+ const _hoisted_1$l = { class: "operasional-identitas" };
46
+ const _hoisted_2$g = {
47
47
  key: 2,
48
48
  class: "section"
49
49
  };
50
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
50
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
51
51
  ...{ name: "OperasionalIdentitas" },
52
52
  __name: "OperasionalIdentitas",
53
53
  props: {
@@ -302,7 +302,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
302
302
  candidateId.value = null;
303
303
  }
304
304
  return (_ctx, _cache) => {
305
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
305
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
306
306
  state.value === "connect" ? (vue.openBlock(), vue.createBlock(vue.unref(identitasInterfaces.IdentitasConnect), {
307
307
  key: 0,
308
308
  user: user.value,
@@ -354,7 +354,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
354
354
  _: 1
355
355
  /* STABLE */
356
356
  }, 8, ["initial-values", "is-loading", "errors"])) : vue.createCommentVNode("v-if", true),
357
- user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$d, [
357
+ user.value && onDelegate ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
358
358
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
359
359
  "is-dashed": "",
360
360
  label: "Delegasi",
@@ -403,7 +403,7 @@ const _export_sfc = (sfc, props) => {
403
403
  }
404
404
  return target;
405
405
  };
406
- const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-355c8370"]]);
406
+ const OperasionalIdentitas = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-355c8370"]]);
407
407
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
408
408
  function getDefaultExportFromCjs(x) {
409
409
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
@@ -575,7 +575,7 @@ var dayjs_min = { exports: {} };
575
575
  }, d2 = n2.meridiem || function(t3, e3, n3) {
576
576
  var r3 = t3 < 12 ? "AM" : "PM";
577
577
  return n3 ? r3.toLowerCase() : r3;
578
- }, $2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
578
+ }, $2 = { YY: String(this.$y).slice(-2), YYYY: O.s(this.$y, 4, "0"), M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
579
579
  return r2.replace(y, function(t3, e3) {
580
580
  return e3 || $2[t3] || i2.replace(":", "");
581
581
  });
@@ -619,21 +619,21 @@ var dayjs_min = { exports: {} };
619
619
  var dayjs_minExports = dayjs_min.exports;
620
620
  const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
621
621
  const _withScopeId$3 = (n) => (vue.pushScopeId("data-v-3cf0c9ae"), n = n(), vue.popScopeId(), n);
622
- const _hoisted_1$h = {
622
+ const _hoisted_1$k = {
623
623
  key: 0,
624
624
  class: "input-loading"
625
625
  };
626
- const _hoisted_2$c = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
626
+ const _hoisted_2$f = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ vue.createElementVNode(
627
627
  "div",
628
628
  { class: "loading placeholder-block placeholder-wave" },
629
629
  null,
630
630
  -1
631
631
  /* HOISTED */
632
632
  ));
633
- const _hoisted_3$5 = [
634
- _hoisted_2$c
633
+ const _hoisted_3$9 = [
634
+ _hoisted_2$f
635
635
  ];
636
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
636
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
637
637
  __name: "NeonTime",
638
638
  props: {
639
639
  modelValue: {
@@ -670,7 +670,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
670
670
  class: vue.normalizeClass(["neon-time", { "is-disabled": __props.isDisabled }])
671
671
  },
672
672
  [
673
- __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, _hoisted_3$5)) : (vue.openBlock(), vue.createBlock(vue.unref(vCalendar.DatePicker), vue.mergeProps({
673
+ __props.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$k, _hoisted_3$9)) : (vue.openBlock(), vue.createBlock(vue.unref(vCalendar.DatePicker), vue.mergeProps({
674
674
  key: 1,
675
675
  "model-value": internalValue.value
676
676
  }, {
@@ -694,7 +694,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
694
694
  });
695
695
  const NeonTime_vue_vue_type_style_index_0_scoped_3cf0c9ae_lang = "";
696
696
  const NeonTime_vue_vue_type_style_index_1_lang = "";
697
- const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-3cf0c9ae"]]);
697
+ const NeonTime = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-3cf0c9ae"]]);
698
698
  const CheckInModel = tempatModels.models.CheckInModel;
699
699
  const useOperasionalStore = pinia.defineStore("neu:operasional", () => {
700
700
  const isLoading = vue.ref(false);
@@ -836,11 +836,11 @@ function mitt(n) {
836
836
  }
837
837
  const bus = mitt();
838
838
  const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-ee60c24a"), n = n(), vue.popScopeId(), n);
839
- const _hoisted_1$g = { id: "view-checkIns" };
840
- const _hoisted_2$b = { class: "summary" };
841
- const _hoisted_3$4 = { class: "wrapper" };
842
- const _hoisted_4$2 = { class: "header" };
843
- const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
839
+ const _hoisted_1$j = { id: "view-checkIns" };
840
+ const _hoisted_2$e = { class: "summary" };
841
+ const _hoisted_3$8 = { class: "wrapper" };
842
+ const _hoisted_4$5 = { class: "header" };
843
+ const _hoisted_5$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode(
844
844
  "div",
845
845
  { class: "start" },
846
846
  [
@@ -850,8 +850,8 @@ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.cr
850
850
  -1
851
851
  /* HOISTED */
852
852
  ));
853
- const _hoisted_6 = { class: "end" };
854
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
853
+ const _hoisted_6$3 = { class: "end" };
854
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
855
855
  ...{
856
856
  name: "CheckInPresenceCollection"
857
857
  },
@@ -1006,14 +1006,14 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1006
1006
  return (_ctx, _cache) => {
1007
1007
  const _component_CheckInSingleExternalView = vue.resolveComponent("CheckInSingleExternalView");
1008
1008
  const _component_CheckInCollection = vue.resolveComponent("CheckInCollection");
1009
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
1009
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
1010
1010
  vue.createVNode(vue.unref(office.OfficeContent), {
1011
1011
  icon: "barcode-read",
1012
1012
  title: "Presensi",
1013
1013
  "is-expanded": ""
1014
1014
  }, {
1015
1015
  "header-detail": vue.withCtx(() => [
1016
- vue.createElementVNode("div", _hoisted_2$b, [
1016
+ vue.createElementVNode("div", _hoisted_2$e, [
1017
1017
  vue.createVNode(vue.unref(interfaces.NeonSlider), {
1018
1018
  "per-view": 2,
1019
1019
  gap: 16,
@@ -1161,7 +1161,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1161
1161
  ])
1162
1162
  ]),
1163
1163
  default: vue.withCtx(() => [
1164
- vue.createElementVNode("div", _hoisted_3$4, [
1164
+ vue.createElementVNode("div", _hoisted_3$8, [
1165
1165
  vue.createVNode(vue.unref(context.NeonCollectionContext), {
1166
1166
  definition: "neu:tempat:checkIn",
1167
1167
  scope: "_checkIns",
@@ -1176,9 +1176,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1176
1176
  "is-main": ""
1177
1177
  }, {
1178
1178
  default: vue.withCtx(() => [
1179
- vue.createElementVNode("div", _hoisted_4$2, [
1180
- _hoisted_5$1,
1181
- vue.createElementVNode("div", _hoisted_6, [
1179
+ vue.createElementVNode("div", _hoisted_4$5, [
1180
+ _hoisted_5$4,
1181
+ vue.createElementVNode("div", _hoisted_6$3, [
1182
1182
  vue.createVNode(vue.unref(office.OfficeCollectionQuery), { displays: ["table"] }, {
1183
1183
  default: vue.withCtx(() => [
1184
1184
  vue.createVNode(vue.unref(office.OfficeCollectionOperation), { "is-main": "" })
@@ -1204,9 +1204,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1204
1204
  }
1205
1205
  });
1206
1206
  const CheckInPresenceCollection_vue_vue_type_style_index_0_scoped_ee60c24a_lang = "";
1207
- const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-ee60c24a"]]);
1208
- const _hoisted_1$f = { class: "grid gap-4 sm:grid-cols-2" };
1209
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1207
+ const CheckInPresenceCollection = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-ee60c24a"]]);
1208
+ const _hoisted_1$i = { class: "grid gap-4 sm:grid-cols-2" };
1209
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
1210
1210
  __name: "CheckInSingle",
1211
1211
  setup(__props) {
1212
1212
  const {
@@ -1264,7 +1264,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1264
1264
  field: vue.unref(fields).building,
1265
1265
  "is-disabled": ""
1266
1266
  }, null, 8, ["modelValue", "field"]),
1267
- vue.createElementVNode("div", _hoisted_1$f, [
1267
+ vue.createElementVNode("div", _hoisted_1$i, [
1268
1268
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1269
1269
  modelValue: vue.unref(values).type,
1270
1270
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -1304,9 +1304,9 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1304
1304
  }
1305
1305
  });
1306
1306
  const CheckInSingle_vue_vue_type_style_index_0_scoped_2e2803fb_lang = "";
1307
- const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-2e2803fb"]]);
1308
- const _hoisted_1$e = { class: "grid gap-4 sm:grid-cols-2" };
1309
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1307
+ const CheckInSingle = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-2e2803fb"]]);
1308
+ const _hoisted_1$h = { class: "grid gap-4 sm:grid-cols-2" };
1309
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
1310
1310
  __name: "CheckInExternal",
1311
1311
  setup(__props) {
1312
1312
  const {
@@ -1373,7 +1373,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1373
1373
  field: vue.unref(fields).building,
1374
1374
  "is-disabled": vue.unref(values).type === "checkin" || vue.unref(values).type === "checkout"
1375
1375
  }, null, 8, ["modelValue", "field", "is-disabled"])) : vue.createCommentVNode("v-if", true),
1376
- vue.createElementVNode("div", _hoisted_1$e, [
1376
+ vue.createElementVNode("div", _hoisted_1$h, [
1377
1377
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1378
1378
  modelValue: vue.unref(values).type,
1379
1379
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).type = $event)
@@ -1419,16 +1419,16 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1419
1419
  }
1420
1420
  });
1421
1421
  const CheckInExternal_vue_vue_type_style_index_0_scoped_dcdbc71a_lang = "";
1422
- const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-dcdbc71a"]]);
1422
+ const CheckInExternal = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-dcdbc71a"]]);
1423
1423
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d23b6de5"), n = n(), vue.popScopeId(), n);
1424
- const _hoisted_1$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1424
+ const _hoisted_1$g = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1425
1425
  "h4",
1426
1426
  { align: "center" },
1427
1427
  "Aktifkan kamera untuk scan QR Code",
1428
1428
  -1
1429
1429
  /* HOISTED */
1430
1430
  ));
1431
- const _hoisted_2$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1431
+ const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode(
1432
1432
  "p",
1433
1433
  { align: "center" },
1434
1434
  [
@@ -1439,7 +1439,7 @@ const _hoisted_2$a = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.cr
1439
1439
  -1
1440
1440
  /* HOISTED */
1441
1441
  ));
1442
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1442
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
1443
1443
  __name: "CheckInAccess",
1444
1444
  emits: ["close"],
1445
1445
  setup(__props) {
@@ -1464,8 +1464,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1464
1464
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1465
1465
  }, {
1466
1466
  default: vue.withCtx(() => [
1467
- _hoisted_1$d,
1468
- _hoisted_2$a,
1467
+ _hoisted_1$g,
1468
+ _hoisted_2$d,
1469
1469
  vue.createVNode(vue.unref(interfaces.NeonButton), {
1470
1470
  "is-full": "",
1471
1471
  size: "md",
@@ -1492,9 +1492,9 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1492
1492
  }
1493
1493
  });
1494
1494
  const CheckInAccess_vue_vue_type_style_index_0_scoped_d23b6de5_lang = "";
1495
- const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-d23b6de5"]]);
1496
- const _hoisted_1$c = { class: "buttons" };
1497
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1495
+ const CheckInAccess = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-d23b6de5"]]);
1496
+ const _hoisted_1$f = { class: "buttons" };
1497
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
1498
1498
  __name: "CheckInScanError",
1499
1499
  setup(__props) {
1500
1500
  const attendanceStore = useAttendanceStore();
@@ -1507,7 +1507,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1507
1507
  default: vue.withCtx(() => [
1508
1508
  vue.createVNode(vue.unref(interfaces.NeonSheet), null, {
1509
1509
  footer: vue.withCtx(() => [
1510
- vue.createElementVNode("div", _hoisted_1$c, [
1510
+ vue.createElementVNode("div", _hoisted_1$f, [
1511
1511
  vue.createVNode(vue.unref(interfaces.NeonButton), {
1512
1512
  "is-full": "",
1513
1513
  "is-rounded": "",
@@ -1542,23 +1542,23 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1542
1542
  }
1543
1543
  });
1544
1544
  const _withScopeId = (n) => (vue.pushScopeId("data-v-ef426ef3"), n = n(), vue.popScopeId(), n);
1545
- const _hoisted_1$b = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1545
+ const _hoisted_1$e = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1546
1546
  "div",
1547
1547
  { class: "invalid-message" },
1548
1548
  "Invalid Code!",
1549
1549
  -1
1550
1550
  /* HOISTED */
1551
1551
  ));
1552
- const _hoisted_2$9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1552
+ const _hoisted_2$c = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
1553
1553
  "div",
1554
1554
  null,
1555
1555
  null,
1556
1556
  -1
1557
1557
  /* HOISTED */
1558
1558
  ));
1559
- const _hoisted_3$3 = ["onClick"];
1560
- const _hoisted_4$1 = { class: "mr-2 text-sm" };
1561
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1559
+ const _hoisted_3$7 = ["onClick"];
1560
+ const _hoisted_4$4 = { class: "mr-2 text-sm" };
1561
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
1562
1562
  __name: "CheckInScanner",
1563
1563
  emits: ["start", "stop", "scanned", "close"],
1564
1564
  setup(__props, { emit }) {
@@ -1703,15 +1703,15 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1703
1703
  class: "inner",
1704
1704
  onClick: switchCamera
1705
1705
  }, [
1706
- _hoisted_1$b,
1707
- _hoisted_2$9,
1706
+ _hoisted_1$e,
1707
+ _hoisted_2$c,
1708
1708
  vue.createElementVNode("div", {
1709
1709
  class: "button-switch",
1710
1710
  onClick: vue.withModifiers(switchCamera, ["stop"])
1711
1711
  }, [
1712
1712
  vue.createElementVNode(
1713
1713
  "div",
1714
- _hoisted_4$1,
1714
+ _hoisted_4$4,
1715
1715
  vue.toDisplayString(currentCamera.value),
1716
1716
  1
1717
1717
  /* TEXT */
@@ -1722,7 +1722,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1722
1722
  size: "sm",
1723
1723
  "is-disabled": !canSwitch.value
1724
1724
  }, null, 8, ["is-disabled"])
1725
- ], 8, _hoisted_3$3)
1725
+ ], 8, _hoisted_3$7)
1726
1726
  ])
1727
1727
  ],
1728
1728
  2
@@ -1740,15 +1740,15 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1740
1740
  }
1741
1741
  });
1742
1742
  const CheckInScanner_vue_vue_type_style_index_0_scoped_ef426ef3_lang = "";
1743
- const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ef426ef3"]]);
1744
- const _hoisted_1$a = /* @__PURE__ */ vue.createElementVNode(
1743
+ const CheckInScanner = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-ef426ef3"]]);
1744
+ const _hoisted_1$d = /* @__PURE__ */ vue.createElementVNode(
1745
1745
  "h3",
1746
1746
  { align: "center" },
1747
1747
  "Presensi Berhasil!",
1748
1748
  -1
1749
1749
  /* HOISTED */
1750
1750
  );
1751
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1751
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
1752
1752
  __name: "CheckInScanSuccess",
1753
1753
  emits: ["close"],
1754
1754
  setup(__props) {
@@ -1768,7 +1768,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1768
1768
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
1769
1769
  }, {
1770
1770
  default: vue.withCtx(() => [
1771
- _hoisted_1$a
1771
+ _hoisted_1$d
1772
1772
  ]),
1773
1773
  _: 1
1774
1774
  /* STABLE */
@@ -1780,7 +1780,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1780
1780
  };
1781
1781
  }
1782
1782
  });
1783
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
1783
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
1784
1784
  ...{
1785
1785
  name: "CheckInCollection"
1786
1786
  },
@@ -1799,7 +1799,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
1799
1799
  }
1800
1800
  });
1801
1801
  const StaffModel = personaliaModels.models.StaffModel;
1802
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
1802
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
1803
1803
  ...{
1804
1804
  name: "StaffCollection"
1805
1805
  },
@@ -1817,9 +1817,9 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
1817
1817
  };
1818
1818
  }
1819
1819
  });
1820
- const _hoisted_1$9 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1821
- const _hoisted_2$8 = { class: "grid gap-4 sm:grid-cols-2" };
1822
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
1820
+ const _hoisted_1$c = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1821
+ const _hoisted_2$b = { class: "grid gap-4 sm:grid-cols-2" };
1822
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
1823
1823
  __name: "StaffSingle",
1824
1824
  setup(__props) {
1825
1825
  const {
@@ -1856,7 +1856,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
1856
1856
  onSubmit: vue.unref(saveOne)
1857
1857
  }, {
1858
1858
  default: vue.withCtx(() => [
1859
- vue.createElementVNode("div", _hoisted_1$9, [
1859
+ vue.createElementVNode("div", _hoisted_1$c, [
1860
1860
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1861
1861
  modelValue: vue.unref(values).name,
1862
1862
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -1866,7 +1866,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
1866
1866
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
1867
1867
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
1868
1868
  ]),
1869
- vue.createElementVNode("div", _hoisted_2$8, [
1869
+ vue.createElementVNode("div", _hoisted_2$b, [
1870
1870
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
1871
1871
  modelValue: vue.unref(values).birthPlace,
1872
1872
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -1899,7 +1899,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
1899
1899
  title: "Identitas"
1900
1900
  }, {
1901
1901
  default: vue.withCtx(() => [
1902
- vue.createVNode(vue.unref(_sfc_main$B))
1902
+ vue.createVNode(vue.unref(_sfc_main$F))
1903
1903
  ]),
1904
1904
  _: 1
1905
1905
  /* STABLE */
@@ -1970,10 +1970,10 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
1970
1970
  }
1971
1971
  });
1972
1972
  const StaffSingle_vue_vue_type_style_index_0_scoped_0cf4cd99_lang = "";
1973
- const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-0cf4cd99"]]);
1974
- const _hoisted_1$8 = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1975
- const _hoisted_2$7 = { class: "grid gap-4 sm:grid-cols-2" };
1976
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
1973
+ const StaffSingle = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-0cf4cd99"]]);
1974
+ const _hoisted_1$b = { class: "grid gap-4 sm:grid-cols-[3fr_1fr]" };
1975
+ const _hoisted_2$a = { class: "grid gap-4 sm:grid-cols-2" };
1976
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
1977
1977
  __name: "StaffOperasional",
1978
1978
  setup(__props) {
1979
1979
  const {
@@ -2010,7 +2010,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2010
2010
  onSubmit: vue.unref(saveOne)
2011
2011
  }, {
2012
2012
  default: vue.withCtx(() => [
2013
- vue.createElementVNode("div", _hoisted_1$8, [
2013
+ vue.createElementVNode("div", _hoisted_1$b, [
2014
2014
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
2015
2015
  modelValue: vue.unref(values).name,
2016
2016
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).name = $event)
@@ -2020,7 +2020,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2020
2020
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).nik = $event)
2021
2021
  }, vue.unref(fields).nik), null, 16, ["modelValue"])
2022
2022
  ]),
2023
- vue.createElementVNode("div", _hoisted_2$7, [
2023
+ vue.createElementVNode("div", _hoisted_2$a, [
2024
2024
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
2025
2025
  modelValue: vue.unref(values).birthPlace,
2026
2026
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).birthPlace = $event)
@@ -2053,7 +2053,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2053
2053
  title: "Identitas"
2054
2054
  }, {
2055
2055
  default: vue.withCtx(() => [
2056
- vue.createVNode(vue.unref(_sfc_main$B))
2056
+ vue.createVNode(vue.unref(_sfc_main$F))
2057
2057
  ]),
2058
2058
  _: 1
2059
2059
  /* STABLE */
@@ -2131,8 +2131,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2131
2131
  }
2132
2132
  });
2133
2133
  const StaffOperasional_vue_vue_type_style_index_0_scoped_c62cf70a_lang = "";
2134
- const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-c62cf70a"]]);
2135
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2134
+ const StaffOperasional = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-c62cf70a"]]);
2135
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
2136
2136
  __name: "StaffIdentity",
2137
2137
  setup(__props) {
2138
2138
  const { values, saveOne, executeOne, syncOne } = context.useSingle();
@@ -2288,7 +2288,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2288
2288
  }
2289
2289
  });
2290
2290
  const SituationModel = personaliaModels.models.SituationModel;
2291
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2291
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
2292
2292
  ...{ name: "SituationCollection" },
2293
2293
  __name: "SituationCollection",
2294
2294
  setup(__props) {
@@ -2304,7 +2304,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2304
2304
  };
2305
2305
  }
2306
2306
  });
2307
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2307
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
2308
2308
  __name: "SituationSingle",
2309
2309
  setup(__props) {
2310
2310
  const {
@@ -2442,7 +2442,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2442
2442
  };
2443
2443
  }
2444
2444
  });
2445
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2445
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
2446
2446
  __name: "SituationWork",
2447
2447
  setup(__props) {
2448
2448
  const {
@@ -2623,7 +2623,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2623
2623
  };
2624
2624
  }
2625
2625
  });
2626
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2626
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
2627
2627
  ...{ name: "SituationSupportive" },
2628
2628
  __name: "SituationSupportive",
2629
2629
  setup(__props) {
@@ -2762,7 +2762,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2762
2762
  }
2763
2763
  });
2764
2764
  const SituationTypeModel = personaliaModels.models.SituationTypeModel;
2765
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
2765
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
2766
2766
  ...{ name: "SituationTypeCollection" },
2767
2767
  __name: "SituationTypeCollection",
2768
2768
  setup(__props) {
@@ -2778,7 +2778,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
2778
2778
  };
2779
2779
  }
2780
2780
  });
2781
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
2781
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
2782
2782
  __name: "SituationTypeSingle",
2783
2783
  setup(__props) {
2784
2784
  const {
@@ -2851,9 +2851,9 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
2851
2851
  }
2852
2852
  });
2853
2853
  const TaskModel = personaliaModels.models.TaskModel;
2854
- const _hoisted_1$7 = { key: 0 };
2855
- const _hoisted_2$6 = { key: 1 };
2856
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
2854
+ const _hoisted_1$a = { key: 0 };
2855
+ const _hoisted_2$9 = { key: 1 };
2856
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
2857
2857
  ...{ name: "TaskWorkButton" },
2858
2858
  __name: "TaskWorkButton",
2859
2859
  setup(__props) {
@@ -2946,7 +2946,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
2946
2946
  vue.Fragment,
2947
2947
  null,
2948
2948
  [
2949
- onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
2949
+ onHandleTaskWork.value.onStartTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
2950
2950
  vue.createVNode(vue.unref(interfaces.NeonButton), {
2951
2951
  "is-rounded": true,
2952
2952
  size: "sm",
@@ -2956,7 +2956,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
2956
2956
  onClick: onClickHandlerStartTaskWork
2957
2957
  })
2958
2958
  ])) : vue.createCommentVNode("v-if", true),
2959
- onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$6, [
2959
+ onHandleTaskWork.value.onFinishedTaskWorking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
2960
2960
  vue.createVNode(vue.unref(interfaces.NeonButton), {
2961
2961
  "is-rounded": true,
2962
2962
  size: "sm",
@@ -2974,7 +2974,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
2974
2974
  };
2975
2975
  }
2976
2976
  });
2977
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
2977
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
2978
2978
  ...{ name: "TaskCollection" },
2979
2979
  __name: "TaskCollection",
2980
2980
  setup(__props) {
@@ -2990,7 +2990,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
2990
2990
  };
2991
2991
  }
2992
2992
  });
2993
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
2993
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
2994
2994
  __name: "TaskSingle",
2995
2995
  setup(__props) {
2996
2996
  const {
@@ -3213,7 +3213,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3213
3213
  };
3214
3214
  }
3215
3215
  });
3216
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3216
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
3217
3217
  __name: "TaskWork",
3218
3218
  setup(__props) {
3219
3219
  const {
@@ -3436,7 +3436,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3436
3436
  }
3437
3437
  });
3438
3438
  const SubmissionModel = personaliaModels.models.SubmissionModel;
3439
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
3439
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
3440
3440
  ...{
3441
3441
  name: "SubmissionCollection"
3442
3442
  },
@@ -3454,7 +3454,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
3454
3454
  };
3455
3455
  }
3456
3456
  });
3457
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
3457
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
3458
3458
  __name: "SubmissionSingle",
3459
3459
  setup(__props) {
3460
3460
  const {
@@ -3651,8 +3651,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
3651
3651
  }
3652
3652
  });
3653
3653
  const SubmissionSingle_vue_vue_type_style_index_0_scoped_39553dbd_lang = "";
3654
- const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-39553dbd"]]);
3655
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
3654
+ const SubmissionSingle = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-39553dbd"]]);
3655
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
3656
3656
  __name: "SubmissionStaff",
3657
3657
  setup(__props) {
3658
3658
  var _a;
@@ -3924,8 +3924,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
3924
3924
  }
3925
3925
  });
3926
3926
  const SubmissionStaff_vue_vue_type_style_index_0_scoped_3ed905bd_lang = "";
3927
- const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-3ed905bd"]]);
3928
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
3927
+ const SubmissionStaff = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-3ed905bd"]]);
3928
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
3929
3929
  __name: "SubmissionFollowUp",
3930
3930
  setup(__props) {
3931
3931
  const {
@@ -4116,13 +4116,13 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
4116
4116
  }
4117
4117
  });
4118
4118
  const SubmissionFollowUp_vue_vue_type_style_index_0_scoped_6fd14e52_lang = "";
4119
- const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6fd14e52"]]);
4120
- const _hoisted_1$6 = { class: "flex flex-wrap" };
4121
- const _hoisted_2$5 = { class: "mt-2" };
4122
- const _hoisted_3$2 = { class: "mt-2" };
4123
- const _hoisted_4 = { class: "mt-2" };
4124
- const _hoisted_5 = { class: "mt-2" };
4125
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4119
+ const SubmissionFollowUp = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-6fd14e52"]]);
4120
+ const _hoisted_1$9 = { class: "flex flex-wrap" };
4121
+ const _hoisted_2$8 = { class: "mt-2" };
4122
+ const _hoisted_3$6 = { class: "mt-2" };
4123
+ const _hoisted_4$3 = { class: "mt-2" };
4124
+ const _hoisted_5$3 = { class: "mt-2" };
4125
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
4126
4126
  __name: "SubmissionAudit",
4127
4127
  setup(__props) {
4128
4128
  var _a;
@@ -4226,8 +4226,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4226
4226
  onSubmit: vue.unref(saveOne)
4227
4227
  }, {
4228
4228
  default: vue.withCtx(() => [
4229
- vue.createElementVNode("div", _hoisted_1$6, [
4230
- vue.createElementVNode("div", _hoisted_2$5, [
4229
+ vue.createElementVNode("div", _hoisted_1$9, [
4230
+ vue.createElementVNode("div", _hoisted_2$8, [
4231
4231
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4232
4232
  input: vue.withCtx(() => [
4233
4233
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4249,7 +4249,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4249
4249
  })) : vue.createCommentVNode("v-if", true)
4250
4250
  ]),
4251
4251
  vue.createTextVNode("    "),
4252
- vue.createElementVNode("div", _hoisted_3$2, [
4252
+ vue.createElementVNode("div", _hoisted_3$6, [
4253
4253
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4254
4254
  input: vue.withCtx(() => [
4255
4255
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4271,7 +4271,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4271
4271
  })) : vue.createCommentVNode("v-if", true)
4272
4272
  ]),
4273
4273
  vue.createTextVNode("    "),
4274
- vue.createElementVNode("div", _hoisted_4, [
4274
+ vue.createElementVNode("div", _hoisted_4$3, [
4275
4275
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4276
4276
  input: vue.withCtx(() => [
4277
4277
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4293,7 +4293,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4293
4293
  })) : vue.createCommentVNode("v-if", true)
4294
4294
  ]),
4295
4295
  vue.createTextVNode("    "),
4296
- vue.createElementVNode("div", _hoisted_5, [
4296
+ vue.createElementVNode("div", _hoisted_5$3, [
4297
4297
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4298
4298
  input: vue.withCtx(() => [
4299
4299
  vue.createVNode(vue.unref(interfaces.NeonButton), {
@@ -4471,11 +4471,11 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
4471
4471
  }
4472
4472
  });
4473
4473
  const SubmissionAudit_vue_vue_type_style_index_0_scoped_7ee6c6b9_lang = "";
4474
- const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-7ee6c6b9"]]);
4475
- const _hoisted_1$5 = { class: "flex flex-wrap" };
4476
- const _hoisted_2$4 = { class: "mt-2" };
4477
- const _hoisted_3$1 = { class: "mt-2" };
4478
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4474
+ const SubmissionAudit = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-7ee6c6b9"]]);
4475
+ const _hoisted_1$8 = { class: "flex flex-wrap" };
4476
+ const _hoisted_2$7 = { class: "mt-2" };
4477
+ const _hoisted_3$5 = { class: "mt-2" };
4478
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
4479
4479
  __name: "SubmissionDecision",
4480
4480
  setup(__props) {
4481
4481
  var _a;
@@ -4579,8 +4579,8 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4579
4579
  onSubmit: vue.unref(saveOne)
4580
4580
  }, {
4581
4581
  default: vue.withCtx(() => [
4582
- vue.createElementVNode("div", _hoisted_1$5, [
4583
- vue.createElementVNode("div", _hoisted_2$4, [
4582
+ vue.createElementVNode("div", _hoisted_1$8, [
4583
+ vue.createElementVNode("div", _hoisted_2$7, [
4584
4584
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4585
4585
  input: vue.withCtx(() => {
4586
4586
  var _a2, _b;
@@ -4605,7 +4605,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4605
4605
  })) : vue.createCommentVNode("v-if", true)
4606
4606
  ]),
4607
4607
  vue.createTextVNode("    "),
4608
- vue.createElementVNode("div", _hoisted_3$1, [
4608
+ vue.createElementVNode("div", _hoisted_3$5, [
4609
4609
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4610
4610
  input: vue.withCtx(() => {
4611
4611
  var _a2, _b;
@@ -4786,11 +4786,11 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
4786
4786
  }
4787
4787
  });
4788
4788
  const SubmissionDecision_vue_vue_type_style_index_0_scoped_ec347ac5_lang = "";
4789
- const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-ec347ac5"]]);
4790
- const _hoisted_1$4 = { class: "flex flex-wrap" };
4791
- const _hoisted_2$3 = { class: "mt-2" };
4792
- const _hoisted_3 = { class: "mt-2" };
4793
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
4789
+ const SubmissionDecision = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-ec347ac5"]]);
4790
+ const _hoisted_1$7 = { class: "flex flex-wrap" };
4791
+ const _hoisted_2$6 = { class: "mt-2" };
4792
+ const _hoisted_3$4 = { class: "mt-2" };
4793
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
4794
4794
  __name: "SubmissionWaitingDecision",
4795
4795
  setup(__props) {
4796
4796
  var _a;
@@ -4896,8 +4896,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
4896
4896
  onSubmit: vue.unref(saveOne)
4897
4897
  }, {
4898
4898
  default: vue.withCtx(() => [
4899
- vue.createElementVNode("div", _hoisted_1$4, [
4900
- vue.createElementVNode("div", _hoisted_2$3, [
4899
+ vue.createElementVNode("div", _hoisted_1$7, [
4900
+ vue.createElementVNode("div", _hoisted_2$6, [
4901
4901
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4902
4902
  input: vue.withCtx(() => {
4903
4903
  var _a2, _b;
@@ -4922,7 +4922,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
4922
4922
  })) : vue.createCommentVNode("v-if", true)
4923
4923
  ]),
4924
4924
  vue.createTextVNode("    "),
4925
- vue.createElementVNode("div", _hoisted_3, [
4925
+ vue.createElementVNode("div", _hoisted_3$4, [
4926
4926
  vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), { key: 0 }, {
4927
4927
  input: vue.withCtx(() => {
4928
4928
  var _a2, _b;
@@ -5103,9 +5103,9 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5103
5103
  }
5104
5104
  });
5105
5105
  const SubmissionWaitingDecision_vue_vue_type_style_index_0_scoped_051b2194_lang = "";
5106
- const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-051b2194"]]);
5106
+ const SubmissionWaitingDecision = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-051b2194"]]);
5107
5107
  const SubmissionTypeModel = personaliaModels.models.SubmissionTypeModel;
5108
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5108
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
5109
5109
  ...{
5110
5110
  name: "SubmissionTypeCollection"
5111
5111
  },
@@ -5123,7 +5123,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5123
5123
  };
5124
5124
  }
5125
5125
  });
5126
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5126
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
5127
5127
  __name: "SubmissionTypeSingle",
5128
5128
  setup(__props) {
5129
5129
  const {
@@ -5189,9 +5189,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5189
5189
  }
5190
5190
  });
5191
5191
  const SubmissionTypeSingle_vue_vue_type_style_index_0_scoped_2b7e18ba_lang = "";
5192
- const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-2b7e18ba"]]);
5192
+ const SubmissionTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-2b7e18ba"]]);
5193
5193
  const ResponsibilityTypeModel = personaliaModels.models.ResponsibilityTypeModel;
5194
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5194
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
5195
5195
  ...{
5196
5196
  name: "ResponsibilityTypeCollection"
5197
5197
  },
@@ -5209,7 +5209,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5209
5209
  };
5210
5210
  }
5211
5211
  });
5212
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5212
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
5213
5213
  __name: "ResponsibilityTypeSingle",
5214
5214
  setup(__props) {
5215
5215
  const {
@@ -5275,9 +5275,9 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5275
5275
  }
5276
5276
  });
5277
5277
  const ResponsibilityTypeSingle_vue_vue_type_style_index_0_scoped_3df9fac1_lang = "";
5278
- const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-3df9fac1"]]);
5278
+ const ResponsibilityTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-3df9fac1"]]);
5279
5279
  const ResponsibilityModel = personaliaModels.models.ResponsibilityModel;
5280
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5280
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
5281
5281
  ...{
5282
5282
  name: "ResponsibilityCollection"
5283
5283
  },
@@ -5295,7 +5295,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5295
5295
  };
5296
5296
  }
5297
5297
  });
5298
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5298
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
5299
5299
  __name: "ResponsibilitySingle",
5300
5300
  setup(__props) {
5301
5301
  const {
@@ -5426,8 +5426,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5426
5426
  "initial-values": {
5427
5427
  responsibilityIds: vue.unref(id),
5428
5428
  responsibilities: vue.unref(values),
5429
- staffId: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
5430
- staff: vue.unref(staff)
5429
+ staffIds: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
5430
+ staffs: vue.unref(staff)
5431
5431
  }
5432
5432
  }, null, 8, ["query", "is-ready", "initial-values"])
5433
5433
  ];
@@ -5446,9 +5446,9 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5446
5446
  };
5447
5447
  }
5448
5448
  });
5449
- const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_66cf149e_lang = "";
5450
- const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-66cf149e"]]);
5451
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5449
+ const ResponsibilitySingle_vue_vue_type_style_index_0_scoped_aaff5c1e_lang = "";
5450
+ const ResponsibilitySingle = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-aaff5c1e"]]);
5451
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
5452
5452
  __name: "ResponsibilityStaff",
5453
5453
  setup(__props) {
5454
5454
  const {
@@ -5583,8 +5583,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5583
5583
  "initial-values": {
5584
5584
  responsibilityIds: vue.unref(id),
5585
5585
  responsibilities: vue.unref(values),
5586
- staffId: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
5587
- staff: vue.unref(staff)
5586
+ staffIds: (_a = vue.unref(staff)) == null ? void 0 : _a.id,
5587
+ staffs: vue.unref(staff)
5588
5588
  }
5589
5589
  }, null, 8, ["query", "is-ready", "initial-values"])
5590
5590
  ];
@@ -5603,10 +5603,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5603
5603
  };
5604
5604
  }
5605
5605
  });
5606
- const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_67407b3a_lang = "";
5607
- const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-67407b3a"]]);
5606
+ const ResponsibilityStaff_vue_vue_type_style_index_0_scoped_8c4d64ad_lang = "";
5607
+ const ResponsibilityStaff = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-8c4d64ad"]]);
5608
5608
  const TargetModel = personaliaModels.models.TargetModel;
5609
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
5609
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
5610
5610
  ...{
5611
5611
  name: "TargetCollection"
5612
5612
  },
@@ -5624,7 +5624,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
5624
5624
  };
5625
5625
  }
5626
5626
  });
5627
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
5627
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
5628
5628
  __name: "TargetSingle",
5629
5629
  setup(__props) {
5630
5630
  const {
@@ -5777,8 +5777,8 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
5777
5777
  }
5778
5778
  });
5779
5779
  const TargetSingle_vue_vue_type_style_index_0_scoped_c12b8df8_lang = "";
5780
- const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-c12b8df8"]]);
5781
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
5780
+ const TargetSingle = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c12b8df8"]]);
5781
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
5782
5782
  __name: "TargetBranch",
5783
5783
  setup(__props) {
5784
5784
  const {
@@ -5931,9 +5931,9 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
5931
5931
  }
5932
5932
  });
5933
5933
  const TargetBranch_vue_vue_type_style_index_0_scoped_6a5a6e80_lang = "";
5934
- const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-6a5a6e80"]]);
5934
+ const TargetBranch = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6a5a6e80"]]);
5935
5935
  const PlanTypeModel = personaliaModels.models.PlanTypeModel;
5936
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
5936
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
5937
5937
  ...{
5938
5938
  name: "PlanTypeCollection"
5939
5939
  },
@@ -5951,7 +5951,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
5951
5951
  };
5952
5952
  }
5953
5953
  });
5954
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
5954
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
5955
5955
  __name: "PlanTypeSingle",
5956
5956
  setup(__props) {
5957
5957
  const {
@@ -6072,9 +6072,9 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
6072
6072
  }
6073
6073
  });
6074
6074
  const PlanTypeSingle_vue_vue_type_style_index_0_scoped_80d2e1d3_lang = "";
6075
- const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-80d2e1d3"]]);
6075
+ const PlanTypeSingle = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-80d2e1d3"]]);
6076
6076
  const PlanModel = personaliaModels.models.PlanModel;
6077
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
6077
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
6078
6078
  ...{
6079
6079
  name: "PlanCollection"
6080
6080
  },
@@ -6092,7 +6092,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
6092
6092
  };
6093
6093
  }
6094
6094
  });
6095
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6095
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
6096
6096
  __name: "PlanSingle",
6097
6097
  setup(__props) {
6098
6098
  const {
@@ -6268,8 +6268,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6268
6268
  }
6269
6269
  });
6270
6270
  const PlanSingle_vue_vue_type_style_index_0_scoped_b3d29aa4_lang = "";
6271
- const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-b3d29aa4"]]);
6272
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6271
+ const PlanSingle = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b3d29aa4"]]);
6272
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
6273
6273
  __name: "PlanStaff",
6274
6274
  setup(__props) {
6275
6275
  const {
@@ -6421,10 +6421,10 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6421
6421
  }
6422
6422
  });
6423
6423
  const PlanStaff_vue_vue_type_style_index_0_scoped_aa8de6da_lang = "";
6424
- const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-aa8de6da"]]);
6424
+ const PlanStaff = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-aa8de6da"]]);
6425
6425
  const ProgressModel = personaliaModels.models.ProgressModel;
6426
- const _hoisted_1$3 = { class: "flex flex-wrap" };
6427
- const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6426
+ const _hoisted_1$6 = { class: "flex flex-wrap" };
6427
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
6428
6428
  ...{ name: "ProgressButton" },
6429
6429
  __name: "ProgressButton",
6430
6430
  setup(__props) {
@@ -6439,7 +6439,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6439
6439
  router.push("/penugasan/yesterday-progresses/new");
6440
6440
  };
6441
6441
  return (_ctx, _cache) => {
6442
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$3, [
6442
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
6443
6443
  vue.createVNode(vue.unref(interfaces.NeonButton), {
6444
6444
  "is-rounded": true,
6445
6445
  size: "sm",
@@ -6470,7 +6470,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
6470
6470
  };
6471
6471
  }
6472
6472
  });
6473
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
6473
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
6474
6474
  ...{
6475
6475
  name: "ProgressCollection"
6476
6476
  },
@@ -6533,36 +6533,36 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
6533
6533
  }
6534
6534
  });
6535
6535
  const ProgressCollection_vue_vue_type_style_index_0_scoped_2634660f_lang = "";
6536
- const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-2634660f"]]);
6536
+ const ProgressCollection = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2634660f"]]);
6537
6537
  var duration = { exports: {} };
6538
6538
  (function(module2, exports2) {
6539
6539
  !function(t, s) {
6540
6540
  module2.exports = s();
6541
6541
  }(commonjsGlobal, function() {
6542
6542
  var t, s, n = 1e3, i = 6e4, e = 36e5, r = 864e5, o = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, u = 31536e6, h = 2592e6, a = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, d = { years: u, months: h, days: r, hours: e, minutes: i, seconds: n, milliseconds: 1, weeks: 6048e5 }, c = function(t2) {
6543
- return t2 instanceof p;
6543
+ return t2 instanceof g;
6544
6544
  }, f = function(t2, s2, n2) {
6545
- return new p(t2, n2, s2.$l);
6546
- }, m = function(t2) {
6547
- return s.p(t2) + "s";
6545
+ return new g(t2, n2, s2.$l);
6548
6546
  }, l = function(t2) {
6547
+ return s.p(t2) + "s";
6548
+ }, m = function(t2) {
6549
6549
  return t2 < 0;
6550
6550
  }, $ = function(t2) {
6551
- return l(t2) ? Math.ceil(t2) : Math.floor(t2);
6551
+ return m(t2) ? Math.ceil(t2) : Math.floor(t2);
6552
6552
  }, y = function(t2) {
6553
6553
  return Math.abs(t2);
6554
- }, g = function(t2, s2) {
6555
- return t2 ? l(t2) ? { negative: true, format: "" + y(t2) + s2 } : { negative: false, format: "" + t2 + s2 } : { negative: false, format: "" };
6556
- }, p = function() {
6557
- function l2(t2, s2, n2) {
6554
+ }, v = function(t2, s2) {
6555
+ return t2 ? m(t2) ? { negative: true, format: "" + y(t2) + s2 } : { negative: false, format: "" + t2 + s2 } : { negative: false, format: "" };
6556
+ }, g = function() {
6557
+ function m2(t2, s2, n2) {
6558
6558
  var i2 = this;
6559
6559
  if (this.$d = {}, this.$l = n2, void 0 === t2 && (this.$ms = 0, this.parseFromMilliseconds()), s2)
6560
- return f(t2 * d[m(s2)], this);
6560
+ return f(t2 * d[l(s2)], this);
6561
6561
  if ("number" == typeof t2)
6562
6562
  return this.$ms = t2, this.parseFromMilliseconds(), this;
6563
6563
  if ("object" == typeof t2)
6564
6564
  return Object.keys(t2).forEach(function(s3) {
6565
- i2.$d[m(s3)] = t2[s3];
6565
+ i2.$d[l(s3)] = t2[s3];
6566
6566
  }), this.calMilliseconds(), this;
6567
6567
  if ("string" == typeof t2) {
6568
6568
  var e2 = t2.match(a);
@@ -6575,7 +6575,7 @@ var duration = { exports: {} };
6575
6575
  }
6576
6576
  return this;
6577
6577
  }
6578
- var y2 = l2.prototype;
6578
+ var y2 = m2.prototype;
6579
6579
  return y2.calMilliseconds = function() {
6580
6580
  var t2 = this;
6581
6581
  this.$ms = Object.keys(this.$d).reduce(function(s2, n2) {
@@ -6585,11 +6585,11 @@ var duration = { exports: {} };
6585
6585
  var t2 = this.$ms;
6586
6586
  this.$d.years = $(t2 / u), t2 %= u, this.$d.months = $(t2 / h), t2 %= h, this.$d.days = $(t2 / r), t2 %= r, this.$d.hours = $(t2 / e), t2 %= e, this.$d.minutes = $(t2 / i), t2 %= i, this.$d.seconds = $(t2 / n), t2 %= n, this.$d.milliseconds = t2;
6587
6587
  }, y2.toISOString = function() {
6588
- var t2 = g(this.$d.years, "Y"), s2 = g(this.$d.months, "M"), n2 = +this.$d.days || 0;
6588
+ var t2 = v(this.$d.years, "Y"), s2 = v(this.$d.months, "M"), n2 = +this.$d.days || 0;
6589
6589
  this.$d.weeks && (n2 += 7 * this.$d.weeks);
6590
- var i2 = g(n2, "D"), e2 = g(this.$d.hours, "H"), r2 = g(this.$d.minutes, "M"), o2 = this.$d.seconds || 0;
6590
+ var i2 = v(n2, "D"), e2 = v(this.$d.hours, "H"), r2 = v(this.$d.minutes, "M"), o2 = this.$d.seconds || 0;
6591
6591
  this.$d.milliseconds && (o2 += this.$d.milliseconds / 1e3);
6592
- var u2 = g(o2, "S"), h2 = t2.negative || s2.negative || i2.negative || e2.negative || r2.negative || u2.negative, a2 = e2.format || r2.format || u2.format ? "T" : "", d2 = (h2 ? "-" : "") + "P" + t2.format + s2.format + i2.format + a2 + e2.format + r2.format + u2.format;
6592
+ var u2 = v(o2, "S"), h2 = t2.negative || s2.negative || i2.negative || e2.negative || r2.negative || u2.negative, a2 = e2.format || r2.format || u2.format ? "T" : "", d2 = (h2 ? "-" : "") + "P" + t2.format + s2.format + i2.format + a2 + e2.format + r2.format + u2.format;
6593
6593
  return "P" === d2 || "-P" === d2 ? "P0D" : d2;
6594
6594
  }, y2.toJSON = function() {
6595
6595
  return this.toISOString();
@@ -6599,13 +6599,13 @@ var duration = { exports: {} };
6599
6599
  return s2 || String(i2[t3]);
6600
6600
  });
6601
6601
  }, y2.as = function(t2) {
6602
- return this.$ms / d[m(t2)];
6602
+ return this.$ms / d[l(t2)];
6603
6603
  }, y2.get = function(t2) {
6604
- var s2 = this.$ms, n2 = m(t2);
6604
+ var s2 = this.$ms, n2 = l(t2);
6605
6605
  return "milliseconds" === n2 ? s2 %= 1e3 : s2 = "weeks" === n2 ? $(s2 / d[n2]) : this.$d[n2], 0 === s2 ? 0 : s2;
6606
6606
  }, y2.add = function(t2, s2, n2) {
6607
6607
  var i2;
6608
- return i2 = s2 ? t2 * d[m(s2)] : c(t2) ? t2.$ms : f(t2, this).$ms, f(this.$ms + i2 * (n2 ? -1 : 1), this);
6608
+ return i2 = s2 ? t2 * d[l(s2)] : c(t2) ? t2.$ms : f(t2, this).$ms, f(this.$ms + i2 * (n2 ? -1 : 1), this);
6609
6609
  }, y2.subtract = function(t2, s2) {
6610
6610
  return this.add(t2, s2, true);
6611
6611
  }, y2.locale = function(t2) {
@@ -6615,6 +6615,8 @@ var duration = { exports: {} };
6615
6615
  return f(this.$ms, this);
6616
6616
  }, y2.humanize = function(s2) {
6617
6617
  return t().add(this.$ms, "ms").locale(this.$l).fromNow(!s2);
6618
+ }, y2.valueOf = function() {
6619
+ return this.asMilliseconds();
6618
6620
  }, y2.milliseconds = function() {
6619
6621
  return this.get("milliseconds");
6620
6622
  }, y2.asMilliseconds = function() {
@@ -6647,7 +6649,7 @@ var duration = { exports: {} };
6647
6649
  return this.get("years");
6648
6650
  }, y2.asYears = function() {
6649
6651
  return this.as("years");
6650
- }, l2;
6652
+ }, m2;
6651
6653
  }();
6652
6654
  return function(n2, i2, e2) {
6653
6655
  t = e2, s = e2().$utils(), e2.duration = function(t2, s2) {
@@ -6717,9 +6719,10 @@ class DateUtil {
6717
6719
  return dayjs;
6718
6720
  }
6719
6721
  }
6720
- const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
6721
- const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
6722
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6722
+ const _hoisted_1$5 = { class: "grid gap-2 sm:grid-cols-2" };
6723
+ const _hoisted_2$5 = { class: "text-right text-fg-subdued text-sm" };
6724
+ const _hoisted_3$3 = { class: "segments" };
6725
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
6723
6726
  __name: "ProgressSingle",
6724
6727
  setup(__props) {
6725
6728
  const {
@@ -6791,8 +6794,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6791
6794
  var _a;
6792
6795
  if (!isNew2)
6793
6796
  return;
6794
- values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
6795
- values.value.staff = staff.value;
6797
+ values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
6798
+ values.value.staffs = staff.value;
6796
6799
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
6797
6800
  values.value.endedAt = besok.add(90, "m").toISOString();
6798
6801
  },
@@ -6811,13 +6814,55 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6811
6814
  {
6812
6815
  handle: "followUpStaffIds",
6813
6816
  operator: "in",
6814
- value: values.value.staffId
6817
+ value: values.value.staffIds
6815
6818
  }
6816
6819
  ]
6817
6820
  };
6818
6821
  });
6822
+ const appStore = context.useAppStore();
6823
+ const objectDef = vue.computed(
6824
+ () => `neu:operasional:progress:${id.value}`
6825
+ );
6826
+ const display2 = vue.ref();
6827
+ const pads = {
6828
+ comments: {
6829
+ handle: "comments",
6830
+ title: "Comments",
6831
+ icon: "comments"
6832
+ },
6833
+ note: {
6834
+ handle: "note",
6835
+ title: "Note",
6836
+ icon: "notes"
6837
+ },
6838
+ sketch: {
6839
+ handle: "sketch",
6840
+ title: "Sketch",
6841
+ icon: "pen-swirl"
6842
+ }
6843
+ };
6819
6844
  return (_ctx, _cache) => {
6820
6845
  return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-progress-single" }, {
6846
+ sketch: vue.withCtx(({ close }) => [
6847
+ vue.createVNode(vue.unref(office.OfficePad), vue.mergeProps(pads.sketch, { onClose: close }), {
6848
+ default: vue.withCtx(() => [
6849
+ vue.createVNode(
6850
+ vue.unref(catatInterfaces.CatatSketchPad),
6851
+ vue.normalizeProps(vue.guardReactiveProps({
6852
+ applicationId: vue.unref(appStore).appId,
6853
+ object: `${objectDef.value}:office`,
6854
+ isReady: vue.unref(isReady),
6855
+ isLoading: vue.unref(isLoading)
6856
+ })),
6857
+ null,
6858
+ 16
6859
+ /* FULL_PROPS */
6860
+ )
6861
+ ]),
6862
+ _: 2
6863
+ /* DYNAMIC */
6864
+ }, 1040, ["onClose"])
6865
+ ]),
6821
6866
  default: vue.withCtx(() => [
6822
6867
  vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
6823
6868
  default: vue.withCtx(() => [
@@ -6859,7 +6904,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6859
6904
  _: 1
6860
6905
  /* STABLE */
6861
6906
  }),
6862
- vue.createElementVNode("div", _hoisted_1$2, [
6907
+ vue.createElementVNode("div", _hoisted_1$5, [
6863
6908
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6864
6909
  modelValue: vue.unref(values).startedAt,
6865
6910
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
@@ -6900,7 +6945,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6900
6945
  }, null, 8, ["modelValue", "is-loading"]),
6901
6946
  vue.createElementVNode(
6902
6947
  "div",
6903
- _hoisted_2$2,
6948
+ _hoisted_2$5,
6904
6949
  vue.toDisplayString(duration2.value),
6905
6950
  1
6906
6951
  /* TEXT */
@@ -6913,22 +6958,37 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6913
6958
  vue.createVNode(vue.unref(office.OfficeRelation), {
6914
6959
  modelValue: vue.unref(values),
6915
6960
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
6916
- field: vue.unref(fields).staff
6961
+ field: vue.unref(fields).staffs
6917
6962
  }, null, 8, ["modelValue", "field"]),
6963
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
6964
+ modelValue: vue.unref(values).isNotes,
6965
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).isNotes = $event)
6966
+ }, vue.unref(fields).isNotes), {
6967
+ input: vue.withCtx(() => [
6968
+ vue.createVNode(vue.unref(form.NeonCheck), {
6969
+ modelValue: vue.unref(values).isNotes,
6970
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).isNotes = $event),
6971
+ label: "Catatan",
6972
+ class: "mt-2"
6973
+ }, null, 8, ["modelValue"])
6974
+ ]),
6975
+ _: 1
6976
+ /* STABLE */
6977
+ }, 16, ["modelValue"]),
6918
6978
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
6919
6979
  "is-dashed": "",
6920
6980
  label: "Referensi"
6921
6981
  }),
6922
6982
  vue.createVNode(vue.unref(office.OfficeRelation), {
6923
6983
  modelValue: vue.unref(values),
6924
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.isRef(values) ? values.value = $event : null),
6984
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.isRef(values) ? values.value = $event : null),
6925
6985
  field: vue.unref(fields).responsibilities,
6926
6986
  query: vue.unref(query.Query).define(responsibilityOptions.value)
6927
6987
  }, null, 8, ["modelValue", "field", "query"]),
6928
6988
  vue.createCommentVNode(' <OfficeRelation v-model="values" :field="fields.plans" /> '),
6929
6989
  vue.createVNode(vue.unref(office.OfficeRelation), {
6930
6990
  modelValue: vue.unref(values),
6931
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.isRef(values) ? values.value = $event : null),
6991
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.isRef(values) ? values.value = $event : null),
6932
6992
  field: vue.unref(fields).submissions,
6933
6993
  query: vue.unref(query.Query).define(submissionOptions.value)
6934
6994
  }, null, 8, ["modelValue", "field", "query"])
@@ -6939,7 +6999,31 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6939
6999
  ]),
6940
7000
  _: 1
6941
7001
  /* STABLE */
6942
- })
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.createElementVNode("div", _hoisted_3$3, [
7012
+ vue.createVNode(vue.unref(catatInterfaces.CatatPaperSegments), {
7013
+ display: display2.value,
7014
+ "onUpdate:display": _cache[10] || (_cache[10] = ($event) => display2.value = $event)
7015
+ }, null, 8, ["display"])
7016
+ ]),
7017
+ vue.createVNode(vue.unref(catatInterfaces.CatatPaperPad), vue.mergeProps({
7018
+ applicationId: vue.unref(appStore).appId,
7019
+ object: `${objectDef.value}:office`,
7020
+ isReady: vue.unref(isReady) && isTouched,
7021
+ isLoading: vue.unref(isLoading)
7022
+ }, { display: display2.value }), null, 16, ["display"])
7023
+ ]),
7024
+ _: 1
7025
+ /* STABLE */
7026
+ })) : vue.createCommentVNode("v-if", true)
6943
7027
  ]),
6944
7028
  _: 1
6945
7029
  /* STABLE */
@@ -6951,11 +7035,11 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
6951
7035
  };
6952
7036
  }
6953
7037
  });
6954
- const ProgressSingle_vue_vue_type_style_index_0_scoped_56177a6b_lang = "";
6955
- const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-56177a6b"]]);
6956
- const _hoisted_1$1 = { class: "grid gap-2 sm:grid-cols-2" };
6957
- const _hoisted_2$1 = { class: "text-right text-fg-subdued text-sm" };
6958
- const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7038
+ const ProgressSingle_vue_vue_type_style_index_0_scoped_8354411e_lang = "";
7039
+ const ProgressSingle = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-8354411e"]]);
7040
+ const _hoisted_1$4 = { class: "grid gap-2 sm:grid-cols-2" };
7041
+ const _hoisted_2$4 = { class: "text-right text-fg-subdued text-sm" };
7042
+ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
6959
7043
  __name: "ProgressTomorrow",
6960
7044
  setup(__props) {
6961
7045
  const {
@@ -7027,8 +7111,8 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7027
7111
  var _a;
7028
7112
  if (!isNew2)
7029
7113
  return;
7030
- values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
7031
- values.value.staff = staff.value;
7114
+ values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
7115
+ values.value.staffs = staff.value;
7032
7116
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
7033
7117
  values.value.endedAt = besok.add(90, "m").toISOString();
7034
7118
  },
@@ -7047,7 +7131,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7047
7131
  {
7048
7132
  handle: "followUpStaffIds",
7049
7133
  operator: "in",
7050
- value: values.value.staffId
7134
+ value: values.value.staffIds
7051
7135
  }
7052
7136
  ]
7053
7137
  };
@@ -7095,7 +7179,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7095
7179
  _: 1
7096
7180
  /* STABLE */
7097
7181
  }),
7098
- vue.createElementVNode("div", _hoisted_1$1, [
7182
+ vue.createElementVNode("div", _hoisted_1$4, [
7099
7183
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7100
7184
  modelValue: vue.unref(values).startedAt,
7101
7185
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
@@ -7136,7 +7220,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7136
7220
  }, null, 8, ["modelValue", "is-loading"]),
7137
7221
  vue.createElementVNode(
7138
7222
  "div",
7139
- _hoisted_2$1,
7223
+ _hoisted_2$4,
7140
7224
  vue.toDisplayString(duration2.value),
7141
7225
  1
7142
7226
  /* TEXT */
@@ -7149,7 +7233,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7149
7233
  vue.createVNode(vue.unref(office.OfficeRelation), {
7150
7234
  modelValue: vue.unref(values),
7151
7235
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
7152
- field: vue.unref(fields).staff
7236
+ field: vue.unref(fields).staffs
7153
7237
  }, null, 8, ["modelValue", "field"]),
7154
7238
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
7155
7239
  "is-dashed": "",
@@ -7187,11 +7271,11 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7187
7271
  };
7188
7272
  }
7189
7273
  });
7190
- const ProgressTomorrow_vue_vue_type_style_index_0_scoped_47774f0e_lang = "";
7191
- const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-47774f0e"]]);
7192
- const _hoisted_1 = { class: "grid gap-2 sm:grid-cols-2" };
7193
- const _hoisted_2 = { class: "text-right text-fg-subdued text-sm" };
7194
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7274
+ const ProgressTomorrow_vue_vue_type_style_index_0_scoped_a2784c89_lang = "";
7275
+ const ProgressTomorrow = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-a2784c89"]]);
7276
+ const _hoisted_1$3 = { class: "grid gap-2 sm:grid-cols-2" };
7277
+ const _hoisted_2$3 = { class: "text-right text-fg-subdued text-sm" };
7278
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
7195
7279
  __name: "ProgressYesterday",
7196
7280
  setup(__props) {
7197
7281
  const {
@@ -7263,8 +7347,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7263
7347
  var _a;
7264
7348
  if (!isNew2)
7265
7349
  return;
7266
- values.value.staffId = (_a = staff.value) == null ? void 0 : _a.id;
7267
- values.value.staff = staff.value;
7350
+ values.value.staffIds = (_a = staff.value) == null ? void 0 : _a.id;
7351
+ values.value.staffs = staff.value;
7268
7352
  values.value.startedAt = besok.second(0).millisecond(0).toISOString();
7269
7353
  values.value.endedAt = besok.add(90, "m").toISOString();
7270
7354
  },
@@ -7283,7 +7367,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7283
7367
  {
7284
7368
  handle: "followUpStaffIds",
7285
7369
  operator: "in",
7286
- value: values.value.staffId
7370
+ value: values.value.staffIds
7287
7371
  }
7288
7372
  ]
7289
7373
  };
@@ -7331,7 +7415,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7331
7415
  _: 1
7332
7416
  /* STABLE */
7333
7417
  }),
7334
- vue.createElementVNode("div", _hoisted_1, [
7418
+ vue.createElementVNode("div", _hoisted_1$3, [
7335
7419
  vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7336
7420
  modelValue: vue.unref(values).startedAt,
7337
7421
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).startedAt = $event)
@@ -7372,7 +7456,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7372
7456
  }, null, 8, ["modelValue", "is-loading"]),
7373
7457
  vue.createElementVNode(
7374
7458
  "div",
7375
- _hoisted_2,
7459
+ _hoisted_2$3,
7376
7460
  vue.toDisplayString(duration2.value),
7377
7461
  1
7378
7462
  /* TEXT */
@@ -7385,7 +7469,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7385
7469
  vue.createVNode(vue.unref(office.OfficeRelation), {
7386
7470
  modelValue: vue.unref(values),
7387
7471
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(values) ? values.value = $event : null),
7388
- field: vue.unref(fields).staff
7472
+ field: vue.unref(fields).staffs
7389
7473
  }, null, 8, ["modelValue", "field"]),
7390
7474
  vue.createVNode(vue.unref(interfaces.NeonDivider), {
7391
7475
  "is-dashed": "",
@@ -7427,75 +7511,1342 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
7427
7511
  };
7428
7512
  }
7429
7513
  });
7430
- const ProgressYesterday_vue_vue_type_style_index_0_scoped_7e2a51fe_lang = "";
7431
- const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7e2a51fe"]]);
7514
+ const ProgressYesterday_vue_vue_type_style_index_0_scoped_e2e0ccca_lang = "";
7515
+ const ProgressYesterday = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-e2e0ccca"]]);
7516
+ const AttendanceModel = personaliaModels.models.AttendanceModel;
7517
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
7518
+ ...{
7519
+ name: "AttendanceCollection"
7520
+ },
7521
+ __name: "AttendanceCollection",
7522
+ setup(__props) {
7523
+ context.useCollection();
7524
+ return (_ctx, _cache) => {
7525
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonCollection), { class: "neu-attendance-collection" }, {
7526
+ default: vue.withCtx(() => [
7527
+ vue.createVNode(vue.unref(office.OfficeCollectionTable))
7528
+ ]),
7529
+ _: 1
7530
+ /* STABLE */
7531
+ });
7532
+ };
7533
+ }
7534
+ });
7535
+ const _hoisted_1$2 = { class: "grid gap-2 sm:grid-cols-2" };
7536
+ const _hoisted_2$2 = { class: "text-right text-fg-subdued text-sm" };
7537
+ const _hoisted_3$2 = { class: "grid gap-2 sm:grid-cols-2" };
7538
+ const _hoisted_4$2 = { class: "text-right text-fg-subdued text-sm" };
7539
+ const _hoisted_5$2 = { class: "grid gap-2 sm:grid-cols-2" };
7540
+ const _hoisted_6$2 = { class: "text-right text-fg-subdued text-sm" };
7541
+ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
7542
+ __name: "AttendanceSingle",
7543
+ setup(__props) {
7544
+ const {
7545
+ fields,
7546
+ id,
7547
+ initialValues,
7548
+ values,
7549
+ isLoading,
7550
+ isChanged,
7551
+ isReady,
7552
+ isMain,
7553
+ isNew,
7554
+ saveOne,
7555
+ discardChanges,
7556
+ syncOne
7557
+ } = context.useSingle();
7558
+ const keyHomeAt = vue.ref(0);
7559
+ const diffHomeAt = vue.computed(() => {
7560
+ return DateUtil.day(values.value.earlyAt).diff(values.value.homeAt);
7561
+ });
7562
+ const durationHomeAt = vue.computed(() => {
7563
+ if (isNaN(diffHomeAt.value))
7564
+ return "-";
7565
+ const duration2 = DateUtil.day.duration(diffHomeAt.value);
7566
+ return duration2.format("HH [jam] mm [menit]");
7567
+ });
7568
+ function onHomeAtUpdate(date) {
7569
+ if (!date)
7570
+ return;
7571
+ const earlyAt = DateUtil.day(date);
7572
+ const homeAt = DateUtil.day(date);
7573
+ values.value.earlyAt = earlyAt.toISOString();
7574
+ values.value.homeAt = homeAt.toISOString();
7575
+ }
7576
+ const keyComeAt = vue.ref(0);
7577
+ const diffComeAt = vue.computed(() => {
7578
+ return DateUtil.day(values.value.lateAt).diff(values.value.comeAt);
7579
+ });
7580
+ const durationComeAt = vue.computed(() => {
7581
+ if (isNaN(diffComeAt.value))
7582
+ return "-";
7583
+ const duration2 = DateUtil.day.duration(diffComeAt.value);
7584
+ return duration2.format("HH [jam] mm [menit]");
7585
+ });
7586
+ function onComeAtUpdate(date) {
7587
+ if (!date)
7588
+ return;
7589
+ const comeAt = DateUtil.day(date);
7590
+ const lateAt = DateUtil.day(date);
7591
+ values.value.comeAt = comeAt.toISOString();
7592
+ values.value.lateAt = lateAt.toISOString();
7593
+ }
7594
+ const keyStartedAt = vue.ref(0);
7595
+ const diffStartedAt = vue.computed(() => {
7596
+ return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
7597
+ });
7598
+ const durationStartedAt = vue.computed(() => {
7599
+ if (isNaN(diffStartedAt.value))
7600
+ return "-";
7601
+ const duration2 = DateUtil.day.duration(diffStartedAt.value);
7602
+ return duration2.format("HH [jam] mm [menit]");
7603
+ });
7604
+ function onStartedAtUpdate(date) {
7605
+ if (!date)
7606
+ return;
7607
+ const startedAt = DateUtil.day(date);
7608
+ const endedAt = DateUtil.day(date);
7609
+ values.value.startedAt = startedAt.toISOString();
7610
+ values.value.endedAt = endedAt.toISOString();
7611
+ }
7612
+ return (_ctx, _cache) => {
7613
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-single" }, {
7614
+ default: vue.withCtx(() => [
7615
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
7616
+ default: vue.withCtx(() => [
7617
+ vue.createVNode(vue.unref(office.OfficeTab), {
7618
+ handle: "info",
7619
+ icon: "circle-info",
7620
+ title: "Info"
7621
+ }, {
7622
+ default: vue.withCtx(() => [
7623
+ vue.createVNode(vue.unref(form.NeonForm), {
7624
+ handle: "info",
7625
+ "initial-values": vue.unref(initialValues),
7626
+ "is-loading": vue.unref(isLoading),
7627
+ "is-changed": vue.unref(isChanged),
7628
+ "use-unsaved": "",
7629
+ onCancel: vue.unref(discardChanges),
7630
+ onSubmit: vue.unref(saveOne)
7631
+ }, {
7632
+ default: vue.withCtx(() => [
7633
+ vue.createCommentVNode(' <NeonAlert\n icon="circle-info"\n label="Sudah ada Absensi!. "\n description="Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya."\n color="#F7CF6D"\n /> '),
7634
+ vue.createCommentVNode(' <div class="flex flex-wrap">\n <div class="mt-2">\n <NeonField>\n <template #input>\n <NeonButton\n size="md"\n color="success"\n icon-left="up-from-line"\n @click="syncOne"\n >Ajukan</NeonButton\n >\n </template>\n </NeonField>\n </div>\n &nbsp;&nbsp;\n <div class="mt-2">\n <NeonField>\n <template #input>\n <NeonButton\n size="md"\n color="warning"\n icon-left="arrows-retweet"\n @click="syncOne"\n >Ganti</NeonButton\n >\n </template>\n </NeonField>\n </div>\n </div> '),
7635
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7636
+ modelValue: vue.unref(values).status,
7637
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.unref(values).status = $event)
7638
+ }, vue.unref(fields).status), null, 16, ["modelValue"]),
7639
+ vue.createVNode(vue.unref(office.OfficeRelation), {
7640
+ modelValue: vue.unref(values),
7641
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(values) ? values.value = $event : null),
7642
+ field: vue.unref(fields).submitStaff
7643
+ }, null, 8, ["modelValue", "field"]),
7644
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7645
+ modelValue: vue.unref(values).attendanceAt,
7646
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).attendanceAt = $event)
7647
+ }, vue.unref(fields).attendanceAt), null, 16, ["modelValue"]),
7648
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7649
+ modelValue: vue.unref(values).type,
7650
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.unref(values).type = $event)
7651
+ }, vue.unref(fields).type), null, 16, ["modelValue"]),
7652
+ vue.createVNode(vue.unref(office.OfficeRelation), {
7653
+ modelValue: vue.unref(values),
7654
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(values) ? values.value = $event : null),
7655
+ field: vue.unref(fields).decideStaff
7656
+ }, null, 8, ["modelValue", "field"]),
7657
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7658
+ key: 0,
7659
+ modelValue: vue.unref(values).notes,
7660
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).notes = $event)
7661
+ }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
7662
+ vue.createVNode(vue.unref(interfaces.NeonDivider), {
7663
+ "is-dashed": "",
7664
+ label: "Keterangan"
7665
+ }),
7666
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7667
+ modelValue: vue.unref(values).submittedAt,
7668
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).submittedAt = $event)
7669
+ }, vue.unref(fields).submittedAt), null, 16, ["modelValue"]),
7670
+ vue.createCommentVNode(" EARLY GO HOME "),
7671
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7672
+ key: keyHomeAt.value,
7673
+ "model-value": vue.unref(values).homeAt
7674
+ }, {
7675
+ handle: "homeAt",
7676
+ name: "Tanggal",
7677
+ type: "date",
7678
+ input: "date2",
7679
+ options: {
7680
+ note: "Tanggal absensi."
7681
+ }
7682
+ }, { "onUpdate:modelValue": onHomeAtUpdate }), null, 16, ["model-value"])),
7683
+ vue.createElementVNode("div", _hoisted_1$2, [
7684
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7685
+ modelValue: vue.unref(values).homeAt,
7686
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).homeAt = $event)
7687
+ }, {
7688
+ handle: "homeAt",
7689
+ name: "Jam Pulang Kerja",
7690
+ options: {
7691
+ note: "Jam pulang kerja."
7692
+ }
7693
+ }), {
7694
+ input: vue.withCtx(() => [
7695
+ vue.createVNode(vue.unref(NeonTime), {
7696
+ modelValue: vue.unref(values).homeAt,
7697
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).homeAt = $event),
7698
+ "is-loading": vue.unref(isLoading),
7699
+ class: "mt-2"
7700
+ }, null, 8, ["modelValue", "is-loading"])
7701
+ ]),
7702
+ _: 1
7703
+ /* STABLE */
7704
+ }, 16, ["modelValue"]),
7705
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7706
+ modelValue: vue.unref(values).earlyAt,
7707
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).earlyAt = $event)
7708
+ }, {
7709
+ handle: "earlyAt",
7710
+ name: "Jam Pulang Lebih Awal",
7711
+ options: {
7712
+ note: "Jam pulang lebih awal."
7713
+ }
7714
+ }), {
7715
+ input: vue.withCtx(() => [
7716
+ vue.createVNode(vue.unref(NeonTime), {
7717
+ modelValue: vue.unref(values).earlyAt,
7718
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).earlyAt = $event),
7719
+ "is-loading": vue.unref(isLoading),
7720
+ class: "mt-2"
7721
+ }, null, 8, ["modelValue", "is-loading"]),
7722
+ vue.createElementVNode(
7723
+ "div",
7724
+ _hoisted_2$2,
7725
+ vue.toDisplayString(durationHomeAt.value),
7726
+ 1
7727
+ /* TEXT */
7728
+ )
7729
+ ]),
7730
+ _: 1
7731
+ /* STABLE */
7732
+ }, 16, ["modelValue"])
7733
+ ]),
7734
+ vue.createCommentVNode(" COME TOO LATE "),
7735
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7736
+ key: keyComeAt.value,
7737
+ "model-value": vue.unref(values).comeAt
7738
+ }, {
7739
+ handle: "comeAt",
7740
+ name: "Tanggal",
7741
+ type: "date",
7742
+ input: "date2",
7743
+ options: {
7744
+ note: "Tanggal absensi."
7745
+ }
7746
+ }, { "onUpdate:modelValue": onComeAtUpdate }), null, 16, ["model-value"])),
7747
+ vue.createElementVNode("div", _hoisted_3$2, [
7748
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7749
+ modelValue: vue.unref(values).comeAt,
7750
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).comeAt = $event)
7751
+ }, {
7752
+ handle: "comeAt",
7753
+ name: "Jam Datang",
7754
+ options: {
7755
+ note: "Jam Datang kerja."
7756
+ }
7757
+ }), {
7758
+ input: vue.withCtx(() => [
7759
+ vue.createVNode(vue.unref(NeonTime), {
7760
+ modelValue: vue.unref(values).comeAt,
7761
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).comeAt = $event),
7762
+ "is-loading": vue.unref(isLoading),
7763
+ class: "mt-2"
7764
+ }, null, 8, ["modelValue", "is-loading"])
7765
+ ]),
7766
+ _: 1
7767
+ /* STABLE */
7768
+ }, 16, ["modelValue"]),
7769
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7770
+ modelValue: vue.unref(values).lateAt,
7771
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).lateAt = $event)
7772
+ }, {
7773
+ handle: "lateAt",
7774
+ name: "Jam Datang Terlambat",
7775
+ options: {
7776
+ note: "Jam datang terlambat."
7777
+ }
7778
+ }), {
7779
+ input: vue.withCtx(() => [
7780
+ vue.createVNode(vue.unref(NeonTime), {
7781
+ modelValue: vue.unref(values).lateAt,
7782
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).lateAt = $event),
7783
+ "is-loading": vue.unref(isLoading),
7784
+ class: "mt-2"
7785
+ }, null, 8, ["modelValue", "is-loading"]),
7786
+ vue.createElementVNode(
7787
+ "div",
7788
+ _hoisted_4$2,
7789
+ vue.toDisplayString(durationComeAt.value),
7790
+ 1
7791
+ /* TEXT */
7792
+ )
7793
+ ]),
7794
+ _: 1
7795
+ /* STABLE */
7796
+ }, 16, ["modelValue"])
7797
+ ]),
7798
+ vue.createCommentVNode(" TIMEOUT "),
7799
+ (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
7800
+ key: keyStartedAt.value,
7801
+ "model-value": vue.unref(values).startedAt
7802
+ }, {
7803
+ handle: "startedAt",
7804
+ name: "Tanggal",
7805
+ type: "date",
7806
+ input: "date2",
7807
+ options: {
7808
+ note: "Tanggal absensi."
7809
+ }
7810
+ }, { "onUpdate:modelValue": onStartedAtUpdate }), null, 16, ["model-value"])),
7811
+ vue.createElementVNode("div", _hoisted_5$2, [
7812
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7813
+ modelValue: vue.unref(values).startedAt,
7814
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).startedAt = $event)
7815
+ }, {
7816
+ handle: "startedAt",
7817
+ name: "Mulai",
7818
+ options: {
7819
+ note: "Jam mulai."
7820
+ }
7821
+ }), {
7822
+ input: vue.withCtx(() => [
7823
+ vue.createVNode(vue.unref(NeonTime), {
7824
+ modelValue: vue.unref(values).startedAt,
7825
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event),
7826
+ "is-loading": vue.unref(isLoading),
7827
+ class: "mt-2"
7828
+ }, null, 8, ["modelValue", "is-loading"])
7829
+ ]),
7830
+ _: 1
7831
+ /* STABLE */
7832
+ }, 16, ["modelValue"]),
7833
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
7834
+ modelValue: vue.unref(values).endedAt,
7835
+ "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => vue.unref(values).endedAt = $event)
7836
+ }, {
7837
+ handle: "endedAt",
7838
+ name: "Selesai",
7839
+ options: {
7840
+ note: "Jam selesai."
7841
+ }
7842
+ }), {
7843
+ input: vue.withCtx(() => [
7844
+ vue.createVNode(vue.unref(NeonTime), {
7845
+ modelValue: vue.unref(values).endedAt,
7846
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event),
7847
+ "is-loading": vue.unref(isLoading),
7848
+ class: "mt-2"
7849
+ }, null, 8, ["modelValue", "is-loading"]),
7850
+ vue.createElementVNode(
7851
+ "div",
7852
+ _hoisted_6$2,
7853
+ vue.toDisplayString(durationStartedAt.value),
7854
+ 1
7855
+ /* TEXT */
7856
+ )
7857
+ ]),
7858
+ _: 1
7859
+ /* STABLE */
7860
+ }, 16, ["modelValue"])
7861
+ ])
7862
+ ]),
7863
+ _: 1
7864
+ /* STABLE */
7865
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
7866
+ ]),
7867
+ _: 1
7868
+ /* STABLE */
7869
+ })
7870
+ ]),
7871
+ _: 1
7872
+ /* STABLE */
7873
+ }, 8, ["use-url"])
7874
+ ]),
7875
+ _: 1
7876
+ /* STABLE */
7877
+ });
7878
+ };
7879
+ }
7880
+ });
7881
+ const AttendanceSingle_vue_vue_type_style_index_0_scoped_f2d3d252_lang = "";
7882
+ const AttendanceSingle = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f2d3d252"]]);
7883
+ const _hoisted_1$1 = {
7884
+ key: 0,
7885
+ class: "flex flex-wrap"
7886
+ };
7887
+ const _hoisted_2$1 = { class: "mt-2" };
7888
+ const _hoisted_3$1 = { class: "mt-2" };
7889
+ const _hoisted_4$1 = {
7890
+ key: 8,
7891
+ class: "grid gap-2 sm:grid-cols-2"
7892
+ };
7893
+ const _hoisted_5$1 = { class: "text-right text-fg-subdued text-sm" };
7894
+ const _hoisted_6$1 = {
7895
+ key: 9,
7896
+ class: "grid gap-2 sm:grid-cols-2"
7897
+ };
7898
+ const _hoisted_7$1 = { class: "text-right text-fg-subdued text-sm" };
7899
+ const _hoisted_8$1 = {
7900
+ key: 10,
7901
+ class: "grid gap-2 sm:grid-cols-2"
7902
+ };
7903
+ const _hoisted_9$1 = { class: "text-right text-fg-subdued text-sm" };
7904
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
7905
+ __name: "AttendanceStaff",
7906
+ setup(__props) {
7907
+ var _a;
7908
+ const {
7909
+ fields,
7910
+ id,
7911
+ initialValues,
7912
+ values,
7913
+ isLoading,
7914
+ isChanged,
7915
+ isReady,
7916
+ isMain,
7917
+ isNew,
7918
+ saveOne,
7919
+ discardChanges,
7920
+ syncOne,
7921
+ executeOne
7922
+ } = context.useSingle();
7923
+ const keyHomeAt = vue.ref(0);
7924
+ const diffHomeAt = vue.computed(() => {
7925
+ return DateUtil.day(values.value.earlyAt).diff(values.value.homeAt);
7926
+ });
7927
+ const durationHomeAt = vue.computed(() => {
7928
+ if (isNaN(diffHomeAt.value))
7929
+ return "-";
7930
+ const duration2 = DateUtil.day.duration(diffHomeAt.value);
7931
+ return duration2.format("HH [jam] mm [menit]");
7932
+ });
7933
+ function onHomeAtUpdate(date) {
7934
+ if (!date)
7935
+ return;
7936
+ const earlyAt = DateUtil.day(date);
7937
+ const homeAt = DateUtil.day(date);
7938
+ values.value.earlyAt = earlyAt.toISOString();
7939
+ values.value.homeAt = homeAt.toISOString();
7940
+ values.value.attendanceAt = earlyAt.toISOString();
7941
+ }
7942
+ const keyComeAt = vue.ref(0);
7943
+ const diffComeAt = vue.computed(() => {
7944
+ return DateUtil.day(values.value.lateAt).diff(values.value.comeAt);
7945
+ });
7946
+ const durationComeAt = vue.computed(() => {
7947
+ if (isNaN(diffComeAt.value))
7948
+ return "-";
7949
+ const duration2 = DateUtil.day.duration(diffComeAt.value);
7950
+ return duration2.format("HH [jam] mm [menit]");
7951
+ });
7952
+ function onComeAtUpdate(date) {
7953
+ if (!date)
7954
+ return;
7955
+ const comeAt = DateUtil.day(date);
7956
+ const lateAt = DateUtil.day(date);
7957
+ values.value.comeAt = comeAt.toISOString();
7958
+ values.value.lateAt = lateAt.toISOString();
7959
+ values.value.attendanceAt = comeAt.toISOString();
7960
+ }
7961
+ const keyStartedAt = vue.ref(0);
7962
+ const diffStartedAt = vue.computed(() => {
7963
+ return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
7964
+ });
7965
+ const durationStartedAt = vue.computed(() => {
7966
+ if (isNaN(diffStartedAt.value))
7967
+ return "-";
7968
+ const duration2 = DateUtil.day.duration(diffStartedAt.value);
7969
+ return duration2.format("HH [jam] mm [menit]");
7970
+ });
7971
+ function onStartedAtUpdate(date) {
7972
+ if (!date)
7973
+ return;
7974
+ const startedAt = DateUtil.day(date);
7975
+ const endedAt = DateUtil.day(date);
7976
+ values.value.startedAt = startedAt.toISOString();
7977
+ values.value.endedAt = endedAt.toISOString();
7978
+ values.value.attendanceAt = startedAt.toISOString();
7979
+ }
7980
+ const { staff } = useOperasional();
7981
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
7982
+ vue.watch(
7983
+ isNew,
7984
+ (isNew2) => {
7985
+ if (!isNew2)
7986
+ return;
7987
+ values.value.submitStaffId = staffId;
7988
+ values.value.submitStaff = staff.value;
7989
+ },
7990
+ {
7991
+ immediate: true
7992
+ }
7993
+ );
7994
+ const submitAbsensi = async () => {
7995
+ await executeOne("submitAttendance", { attendanceId: id.value });
7996
+ await syncOne();
7997
+ };
7998
+ const changeAbsensi = async () => {
7999
+ await executeOne("changeAttendance", { attendanceId: id.value });
8000
+ await syncOne();
8001
+ };
8002
+ return (_ctx, _cache) => {
8003
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-single" }, {
8004
+ default: vue.withCtx(() => [
8005
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
8006
+ default: vue.withCtx(() => [
8007
+ vue.createVNode(vue.unref(office.OfficeTab), {
8008
+ handle: "info",
8009
+ icon: "circle-info",
8010
+ title: "Info"
8011
+ }, {
8012
+ default: vue.withCtx(() => [
8013
+ vue.createVNode(vue.unref(form.NeonForm), {
8014
+ handle: "info",
8015
+ "initial-values": vue.unref(initialValues),
8016
+ "is-loading": vue.unref(isLoading),
8017
+ "is-changed": vue.unref(isChanged),
8018
+ "use-unsaved": "",
8019
+ onCancel: vue.unref(discardChanges),
8020
+ onSubmit: vue.unref(saveOne)
8021
+ }, {
8022
+ default: vue.withCtx(() => [
8023
+ vue.createCommentVNode(' <NeonAlert\n icon="circle-info"\n label="Sudah ada Absensi!. "\n description="Untuk hari ini kamu sudah ada absensi yang diajukan, silahkan cari absensi yang telah diajukan dan ajukan kembali untuk pergantiannya."\n color="#F7CF6D"\n /> '),
8024
+ !vue.unref(isNew) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
8025
+ vue.createElementVNode("div", _hoisted_2$1, [
8026
+ vue.createVNode(vue.unref(form.NeonField), null, {
8027
+ input: vue.withCtx(() => [
8028
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
8029
+ size: "md",
8030
+ color: "success",
8031
+ "icon-left": "up-from-line",
8032
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8033
+ onClick: submitAbsensi
8034
+ }, {
8035
+ default: vue.withCtx(() => [
8036
+ vue.createTextVNode("Ajukan")
8037
+ ]),
8038
+ _: 1
8039
+ /* STABLE */
8040
+ }, 8, ["is-disabled"])
8041
+ ]),
8042
+ _: 1
8043
+ /* STABLE */
8044
+ })
8045
+ ]),
8046
+ vue.createTextVNode("    "),
8047
+ vue.createElementVNode("div", _hoisted_3$1, [
8048
+ vue.createVNode(vue.unref(form.NeonField), null, {
8049
+ input: vue.withCtx(() => [
8050
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
8051
+ size: "md",
8052
+ color: "warning",
8053
+ "icon-left": "arrows-retweet",
8054
+ "is-disabled": vue.unref(values).status == "approved" || vue.unref(values).status == "draft",
8055
+ onClick: changeAbsensi
8056
+ }, {
8057
+ default: vue.withCtx(() => [
8058
+ vue.createTextVNode("Ganti")
8059
+ ]),
8060
+ _: 1
8061
+ /* STABLE */
8062
+ }, 8, ["is-disabled"])
8063
+ ]),
8064
+ _: 1
8065
+ /* STABLE */
8066
+ })
8067
+ ])
8068
+ ])) : vue.createCommentVNode("v-if", true),
8069
+ vue.createVNode(vue.unref(office.OfficeRelation), {
8070
+ modelValue: vue.unref(values),
8071
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
8072
+ field: vue.unref(fields).submitStaff,
8073
+ "is-disabled": ""
8074
+ }, null, 8, ["modelValue", "field"]),
8075
+ vue.unref(values).type == null || vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8076
+ key: 1,
8077
+ modelValue: vue.unref(values).attendanceAt,
8078
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).attendanceAt = $event)
8079
+ }, vue.unref(fields).attendanceAt, {
8080
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8081
+ }), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8082
+ vue.createCommentVNode(" EARLY GO HOME "),
8083
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8084
+ key: keyHomeAt.value,
8085
+ "model-value": vue.unref(values).homeAt
8086
+ }, {
8087
+ handle: "homeAt",
8088
+ name: "Tanggal",
8089
+ type: "date",
8090
+ input: "date2",
8091
+ options: {
8092
+ note: "Tanggal absensi."
8093
+ }
8094
+ }, {
8095
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8096
+ "onUpdate:modelValue": onHomeAtUpdate
8097
+ }), null, 16, ["model-value", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8098
+ vue.createCommentVNode(" TIMEOUT "),
8099
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8100
+ key: keyStartedAt.value,
8101
+ "model-value": vue.unref(values).startedAt
8102
+ }, {
8103
+ handle: "startedAt",
8104
+ name: "Tanggal",
8105
+ type: "date",
8106
+ input: "date2",
8107
+ options: {
8108
+ note: "Tanggal absensi."
8109
+ }
8110
+ }, {
8111
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8112
+ "onUpdate:modelValue": onStartedAtUpdate
8113
+ }), null, 16, ["model-value", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8114
+ vue.createCommentVNode(" COME TOO LATE "),
8115
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8116
+ key: keyComeAt.value,
8117
+ "model-value": vue.unref(values).comeAt
8118
+ }, {
8119
+ handle: "comeAt",
8120
+ name: "Tanggal",
8121
+ type: "date",
8122
+ input: "date2",
8123
+ options: {
8124
+ note: "Tanggal absensi."
8125
+ }
8126
+ }, {
8127
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved",
8128
+ "onUpdate:modelValue": onComeAtUpdate
8129
+ }), null, 16, ["model-value", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8130
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8131
+ modelValue: vue.unref(values).type,
8132
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).type = $event)
8133
+ }, vue.unref(fields).type, {
8134
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8135
+ }), null, 16, ["modelValue", "is-disabled"]),
8136
+ vue.createVNode(vue.unref(office.OfficeRelation), {
8137
+ modelValue: vue.unref(values),
8138
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
8139
+ field: vue.unref(fields).decideStaff,
8140
+ "is-disabled": vue.unref(values).status == "notApproved" || vue.unref(values).status == "approved"
8141
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
8142
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8143
+ key: 5,
8144
+ modelValue: vue.unref(values).notes,
8145
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
8146
+ }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8147
+ vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
8148
+ key: 6,
8149
+ "is-dashed": "",
8150
+ label: "Keterangan"
8151
+ })) : vue.createCommentVNode("v-if", true),
8152
+ vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8153
+ key: 7,
8154
+ modelValue: vue.unref(values).submittedAt,
8155
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
8156
+ }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8157
+ vue.createCommentVNode(" EARLY GO HOME "),
8158
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1, [
8159
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8160
+ modelValue: vue.unref(values).homeAt,
8161
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).homeAt = $event)
8162
+ }, {
8163
+ handle: "homeAt",
8164
+ name: "Jam Pulang Kerja",
8165
+ options: {
8166
+ note: "Jam pulang kerja."
8167
+ }
8168
+ }), {
8169
+ input: vue.withCtx(() => [
8170
+ vue.createVNode(vue.unref(NeonTime), {
8171
+ modelValue: vue.unref(values).homeAt,
8172
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).homeAt = $event),
8173
+ "is-loading": vue.unref(isLoading),
8174
+ class: "mt-2"
8175
+ }, null, 8, ["modelValue", "is-loading"])
8176
+ ]),
8177
+ _: 1
8178
+ /* STABLE */
8179
+ }, 16, ["modelValue"]),
8180
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8181
+ modelValue: vue.unref(values).earlyAt,
8182
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).earlyAt = $event)
8183
+ }, {
8184
+ handle: "earlyAt",
8185
+ name: "Jam Pulang Lebih Awal",
8186
+ options: {
8187
+ note: "Jam pulang lebih awal."
8188
+ }
8189
+ }), {
8190
+ input: vue.withCtx(() => [
8191
+ vue.createVNode(vue.unref(NeonTime), {
8192
+ modelValue: vue.unref(values).earlyAt,
8193
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).earlyAt = $event),
8194
+ "is-loading": vue.unref(isLoading),
8195
+ class: "mt-2"
8196
+ }, null, 8, ["modelValue", "is-loading"]),
8197
+ vue.createElementVNode(
8198
+ "div",
8199
+ _hoisted_5$1,
8200
+ vue.toDisplayString(durationHomeAt.value),
8201
+ 1
8202
+ /* TEXT */
8203
+ )
8204
+ ]),
8205
+ _: 1
8206
+ /* STABLE */
8207
+ }, 16, ["modelValue"])
8208
+ ])) : vue.createCommentVNode("v-if", true),
8209
+ vue.createCommentVNode(" COME TOO LATE "),
8210
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, [
8211
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8212
+ modelValue: vue.unref(values).comeAt,
8213
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).comeAt = $event)
8214
+ }, {
8215
+ handle: "comeAt",
8216
+ name: "Jam Datang",
8217
+ options: {
8218
+ note: "Jam Datang kerja."
8219
+ }
8220
+ }), {
8221
+ input: vue.withCtx(() => [
8222
+ vue.createVNode(vue.unref(NeonTime), {
8223
+ modelValue: vue.unref(values).comeAt,
8224
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).comeAt = $event),
8225
+ "is-loading": vue.unref(isLoading),
8226
+ class: "mt-2"
8227
+ }, null, 8, ["modelValue", "is-loading"])
8228
+ ]),
8229
+ _: 1
8230
+ /* STABLE */
8231
+ }, 16, ["modelValue"]),
8232
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8233
+ modelValue: vue.unref(values).lateAt,
8234
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).lateAt = $event)
8235
+ }, {
8236
+ handle: "lateAt",
8237
+ name: "Jam Datang Terlambat",
8238
+ options: {
8239
+ note: "Jam datang terlambat."
8240
+ }
8241
+ }), {
8242
+ input: vue.withCtx(() => [
8243
+ vue.createVNode(vue.unref(NeonTime), {
8244
+ modelValue: vue.unref(values).lateAt,
8245
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).lateAt = $event),
8246
+ "is-loading": vue.unref(isLoading),
8247
+ class: "mt-2"
8248
+ }, null, 8, ["modelValue", "is-loading"]),
8249
+ vue.createElementVNode(
8250
+ "div",
8251
+ _hoisted_7$1,
8252
+ vue.toDisplayString(durationComeAt.value),
8253
+ 1
8254
+ /* TEXT */
8255
+ )
8256
+ ]),
8257
+ _: 1
8258
+ /* STABLE */
8259
+ }, 16, ["modelValue"])
8260
+ ])) : vue.createCommentVNode("v-if", true),
8261
+ vue.createCommentVNode(" TIMEOUT "),
8262
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1, [
8263
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8264
+ modelValue: vue.unref(values).startedAt,
8265
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event)
8266
+ }, {
8267
+ handle: "startedAt",
8268
+ name: "Mulai",
8269
+ options: {
8270
+ note: "Jam mulai."
8271
+ }
8272
+ }), {
8273
+ input: vue.withCtx(() => [
8274
+ vue.createVNode(vue.unref(NeonTime), {
8275
+ modelValue: vue.unref(values).startedAt,
8276
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event),
8277
+ "is-loading": vue.unref(isLoading),
8278
+ class: "mt-2"
8279
+ }, null, 8, ["modelValue", "is-loading"])
8280
+ ]),
8281
+ _: 1
8282
+ /* STABLE */
8283
+ }, 16, ["modelValue"]),
8284
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8285
+ modelValue: vue.unref(values).endedAt,
8286
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event)
8287
+ }, {
8288
+ handle: "endedAt",
8289
+ name: "Selesai",
8290
+ options: {
8291
+ note: "Jam selesai."
8292
+ }
8293
+ }), {
8294
+ input: vue.withCtx(() => [
8295
+ vue.createVNode(vue.unref(NeonTime), {
8296
+ modelValue: vue.unref(values).endedAt,
8297
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event),
8298
+ "is-loading": vue.unref(isLoading),
8299
+ class: "mt-2"
8300
+ }, null, 8, ["modelValue", "is-loading"]),
8301
+ vue.createElementVNode(
8302
+ "div",
8303
+ _hoisted_9$1,
8304
+ vue.toDisplayString(durationStartedAt.value),
8305
+ 1
8306
+ /* TEXT */
8307
+ )
8308
+ ]),
8309
+ _: 1
8310
+ /* STABLE */
8311
+ }, 16, ["modelValue"])
8312
+ ])) : vue.createCommentVNode("v-if", true)
8313
+ ]),
8314
+ _: 1
8315
+ /* STABLE */
8316
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
8317
+ ]),
8318
+ _: 1
8319
+ /* STABLE */
8320
+ })
8321
+ ]),
8322
+ _: 1
8323
+ /* STABLE */
8324
+ }, 8, ["use-url"])
8325
+ ]),
8326
+ _: 1
8327
+ /* STABLE */
8328
+ });
8329
+ };
8330
+ }
8331
+ });
8332
+ const AttendanceStaff_vue_vue_type_style_index_0_scoped_922e86d6_lang = "";
8333
+ const AttendanceStaff = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-922e86d6"]]);
8334
+ const _hoisted_1 = { class: "flex flex-wrap" };
8335
+ const _hoisted_2 = { class: "mt-2" };
8336
+ const _hoisted_3 = { class: "mt-2" };
8337
+ const _hoisted_4 = {
8338
+ key: 7,
8339
+ class: "grid gap-2 sm:grid-cols-2"
8340
+ };
8341
+ const _hoisted_5 = { class: "text-right text-fg-subdued text-sm" };
8342
+ const _hoisted_6 = {
8343
+ key: 8,
8344
+ class: "grid gap-2 sm:grid-cols-2"
8345
+ };
8346
+ const _hoisted_7 = { class: "text-right text-fg-subdued text-sm" };
8347
+ const _hoisted_8 = {
8348
+ key: 9,
8349
+ class: "grid gap-2 sm:grid-cols-2"
8350
+ };
8351
+ const _hoisted_9 = { class: "text-right text-fg-subdued text-sm" };
8352
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
8353
+ __name: "AttendanceManager",
8354
+ setup(__props) {
8355
+ var _a;
8356
+ const {
8357
+ fields,
8358
+ id,
8359
+ initialValues,
8360
+ values,
8361
+ isLoading,
8362
+ isChanged,
8363
+ isReady,
8364
+ isMain,
8365
+ isNew,
8366
+ saveOne,
8367
+ discardChanges,
8368
+ syncOne,
8369
+ executeOne
8370
+ } = context.useSingle();
8371
+ const keyHomeAt = vue.ref(0);
8372
+ const diffHomeAt = vue.computed(() => {
8373
+ return DateUtil.day(values.value.earlyAt).diff(values.value.homeAt);
8374
+ });
8375
+ const durationHomeAt = vue.computed(() => {
8376
+ if (isNaN(diffHomeAt.value))
8377
+ return "-";
8378
+ const duration2 = DateUtil.day.duration(diffHomeAt.value);
8379
+ return duration2.format("HH [jam] mm [menit]");
8380
+ });
8381
+ function onHomeAtUpdate(date) {
8382
+ if (!date)
8383
+ return;
8384
+ const earlyAt = DateUtil.day(date);
8385
+ const homeAt = DateUtil.day(date);
8386
+ values.value.earlyAt = earlyAt.toISOString();
8387
+ values.value.homeAt = homeAt.toISOString();
8388
+ }
8389
+ const keyComeAt = vue.ref(0);
8390
+ const diffComeAt = vue.computed(() => {
8391
+ return DateUtil.day(values.value.lateAt).diff(values.value.comeAt);
8392
+ });
8393
+ const durationComeAt = vue.computed(() => {
8394
+ if (isNaN(diffComeAt.value))
8395
+ return "-";
8396
+ const duration2 = DateUtil.day.duration(diffComeAt.value);
8397
+ return duration2.format("HH [jam] mm [menit]");
8398
+ });
8399
+ function onComeAtUpdate(date) {
8400
+ if (!date)
8401
+ return;
8402
+ const comeAt = DateUtil.day(date);
8403
+ const lateAt = DateUtil.day(date);
8404
+ values.value.comeAt = comeAt.toISOString();
8405
+ values.value.lateAt = lateAt.toISOString();
8406
+ }
8407
+ const keyStartedAt = vue.ref(0);
8408
+ const diffStartedAt = vue.computed(() => {
8409
+ return DateUtil.day(values.value.endedAt).diff(values.value.startedAt);
8410
+ });
8411
+ const durationStartedAt = vue.computed(() => {
8412
+ if (isNaN(diffStartedAt.value))
8413
+ return "-";
8414
+ const duration2 = DateUtil.day.duration(diffStartedAt.value);
8415
+ return duration2.format("HH [jam] mm [menit]");
8416
+ });
8417
+ function onStartedAtUpdate(date) {
8418
+ if (!date)
8419
+ return;
8420
+ const startedAt = DateUtil.day(date);
8421
+ const endedAt = DateUtil.day(date);
8422
+ values.value.startedAt = startedAt.toISOString();
8423
+ values.value.endedAt = endedAt.toISOString();
8424
+ }
8425
+ const { staff } = useOperasional();
8426
+ const staffId = ((_a = staff.value) == null ? void 0 : _a.id) || "";
8427
+ vue.watch(
8428
+ isNew,
8429
+ (isNew2) => {
8430
+ if (!isNew2)
8431
+ return;
8432
+ values.value.submitStaffId = staffId;
8433
+ values.value.submitStaff = staff.value;
8434
+ },
8435
+ {
8436
+ immediate: true
8437
+ }
8438
+ );
8439
+ const approvedAbsensi = async () => {
8440
+ await executeOne("approvedAttendance", { attendanceId: id.value });
8441
+ await syncOne();
8442
+ };
8443
+ const deleteAbsensi = async () => {
8444
+ await executeOne("deleteAttendance", { attendanceId: id.value });
8445
+ await syncOne();
8446
+ window.location.href = "/penugasan/manager-attendances";
8447
+ };
8448
+ return (_ctx, _cache) => {
8449
+ return vue.openBlock(), vue.createBlock(vue.unref(context.NeonSingle), { class: "neu-attendance-single" }, {
8450
+ default: vue.withCtx(() => [
8451
+ vue.createVNode(vue.unref(office.OfficeTabs), { "use-url": vue.unref(isMain) }, {
8452
+ default: vue.withCtx(() => [
8453
+ vue.createVNode(vue.unref(office.OfficeTab), {
8454
+ handle: "info",
8455
+ icon: "circle-info",
8456
+ title: "Info"
8457
+ }, {
8458
+ default: vue.withCtx(() => [
8459
+ vue.createVNode(vue.unref(form.NeonForm), {
8460
+ handle: "info",
8461
+ "initial-values": vue.unref(initialValues),
8462
+ "is-loading": vue.unref(isLoading),
8463
+ "is-changed": vue.unref(isChanged),
8464
+ "use-unsaved": "",
8465
+ onCancel: vue.unref(discardChanges),
8466
+ onSubmit: vue.unref(saveOne)
8467
+ }, {
8468
+ default: vue.withCtx(() => [
8469
+ vue.createElementVNode("div", _hoisted_1, [
8470
+ vue.createElementVNode("div", _hoisted_2, [
8471
+ vue.createVNode(vue.unref(form.NeonField), null, {
8472
+ input: vue.withCtx(() => [
8473
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
8474
+ size: "md",
8475
+ color: "success",
8476
+ "icon-left": "check",
8477
+ "is-disabled": vue.unref(values).status == "approved",
8478
+ onClick: approvedAbsensi
8479
+ }, {
8480
+ default: vue.withCtx(() => [
8481
+ vue.createTextVNode("Disetujui")
8482
+ ]),
8483
+ _: 1
8484
+ /* STABLE */
8485
+ }, 8, ["is-disabled"])
8486
+ ]),
8487
+ _: 1
8488
+ /* STABLE */
8489
+ })
8490
+ ]),
8491
+ vue.createTextVNode("    "),
8492
+ vue.createElementVNode("div", _hoisted_3, [
8493
+ vue.createVNode(vue.unref(form.NeonField), null, {
8494
+ input: vue.withCtx(() => [
8495
+ vue.createVNode(vue.unref(interfaces.NeonButton), {
8496
+ size: "md",
8497
+ color: "danger",
8498
+ "icon-left": "trash-can",
8499
+ onClick: deleteAbsensi
8500
+ }, {
8501
+ default: vue.withCtx(() => [
8502
+ vue.createTextVNode("Dihapus")
8503
+ ]),
8504
+ _: 1
8505
+ /* STABLE */
8506
+ })
8507
+ ]),
8508
+ _: 1
8509
+ /* STABLE */
8510
+ })
8511
+ ])
8512
+ ]),
8513
+ vue.createVNode(vue.unref(office.OfficeRelation), {
8514
+ modelValue: vue.unref(values),
8515
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(values) ? values.value = $event : null),
8516
+ field: vue.unref(fields).submitStaff,
8517
+ "is-disabled": ""
8518
+ }, null, 8, ["modelValue", "field"]),
8519
+ vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8520
+ key: 0,
8521
+ modelValue: vue.unref(values).attendanceAt,
8522
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.unref(values).attendanceAt = $event)
8523
+ }, vue.unref(fields).attendanceAt, {
8524
+ "is-disabled": vue.unref(values).status == "approved"
8525
+ }), null, 16, ["modelValue", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8526
+ vue.createCommentVNode(" EARLY GO HOME "),
8527
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8528
+ key: keyHomeAt.value,
8529
+ "model-value": vue.unref(values).homeAt
8530
+ }, {
8531
+ handle: "homeAt",
8532
+ name: "Tanggal",
8533
+ type: "date",
8534
+ input: "date2",
8535
+ options: {
8536
+ note: "Tanggal absensi."
8537
+ }
8538
+ }, {
8539
+ "is-disabled": vue.unref(values).status == "approved",
8540
+ "onUpdate:modelValue": onHomeAtUpdate
8541
+ }), null, 16, ["model-value", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8542
+ vue.createCommentVNode(" TIMEOUT "),
8543
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8544
+ key: keyStartedAt.value,
8545
+ "model-value": vue.unref(values).startedAt
8546
+ }, {
8547
+ handle: "startedAt",
8548
+ name: "Tanggal",
8549
+ type: "date",
8550
+ input: "date2",
8551
+ options: {
8552
+ note: "Tanggal absensi."
8553
+ }
8554
+ }, {
8555
+ "is-disabled": vue.unref(values).status == "approved",
8556
+ "onUpdate:modelValue": onStartedAtUpdate
8557
+ }), null, 16, ["model-value", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8558
+ vue.createCommentVNode(" COME TOO LATE "),
8559
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8560
+ key: keyComeAt.value,
8561
+ "model-value": vue.unref(values).comeAt
8562
+ }, {
8563
+ handle: "comeAt",
8564
+ name: "Tanggal",
8565
+ type: "date",
8566
+ input: "date2",
8567
+ options: {
8568
+ note: "Tanggal absensi."
8569
+ }
8570
+ }, {
8571
+ "is-disabled": vue.unref(values).status == "approved",
8572
+ "onUpdate:modelValue": onComeAtUpdate
8573
+ }), null, 16, ["model-value", "is-disabled"])) : vue.createCommentVNode("v-if", true),
8574
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8575
+ modelValue: vue.unref(values).type,
8576
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => vue.unref(values).type = $event)
8577
+ }, vue.unref(fields).type, {
8578
+ "is-disabled": vue.unref(values).status == "approved"
8579
+ }), null, 16, ["modelValue", "is-disabled"]),
8580
+ vue.createVNode(vue.unref(office.OfficeRelation), {
8581
+ modelValue: vue.unref(values),
8582
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => vue.isRef(values) ? values.value = $event : null),
8583
+ field: vue.unref(fields).decideStaff,
8584
+ "is-disabled": vue.unref(values).status == "approved"
8585
+ }, null, 8, ["modelValue", "field", "is-disabled"]),
8586
+ vue.unref(isNew) || vue.unref(isReady) ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8587
+ key: 4,
8588
+ modelValue: vue.unref(values).notes,
8589
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.unref(values).notes = $event)
8590
+ }, vue.unref(fields).notes), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8591
+ vue.unref(values).type ? (vue.openBlock(), vue.createBlock(vue.unref(interfaces.NeonDivider), {
8592
+ key: 5,
8593
+ "is-dashed": "",
8594
+ label: "Keterangan"
8595
+ })) : vue.createCommentVNode("v-if", true),
8596
+ vue.unref(values).type == "dayOff" || vue.unref(values).type == "sick" || vue.unref(values).type == "permission" || vue.unref(values).type == "leave" ? (vue.openBlock(), vue.createBlock(vue.unref(form.NeonField), vue.mergeProps({
8597
+ key: 6,
8598
+ modelValue: vue.unref(values).submittedAt,
8599
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.unref(values).submittedAt = $event)
8600
+ }, vue.unref(fields).submittedAt, { "is-disabled": "" }), null, 16, ["modelValue"])) : vue.createCommentVNode("v-if", true),
8601
+ vue.createCommentVNode(" EARLY GO HOME "),
8602
+ vue.unref(values).type == "homeEarly" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
8603
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8604
+ modelValue: vue.unref(values).homeAt,
8605
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => vue.unref(values).homeAt = $event)
8606
+ }, {
8607
+ handle: "homeAt",
8608
+ name: "Jam Pulang Kerja",
8609
+ options: {
8610
+ note: "Jam pulang kerja."
8611
+ }
8612
+ }), {
8613
+ input: vue.withCtx(() => [
8614
+ vue.createVNode(vue.unref(NeonTime), {
8615
+ modelValue: vue.unref(values).homeAt,
8616
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => vue.unref(values).homeAt = $event),
8617
+ "is-loading": vue.unref(isLoading),
8618
+ class: "mt-2"
8619
+ }, null, 8, ["modelValue", "is-loading"])
8620
+ ]),
8621
+ _: 1
8622
+ /* STABLE */
8623
+ }, 16, ["modelValue"]),
8624
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8625
+ modelValue: vue.unref(values).earlyAt,
8626
+ "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => vue.unref(values).earlyAt = $event)
8627
+ }, {
8628
+ handle: "earlyAt",
8629
+ name: "Jam Pulang Lebih Awal",
8630
+ options: {
8631
+ note: "Jam pulang lebih awal."
8632
+ }
8633
+ }), {
8634
+ input: vue.withCtx(() => [
8635
+ vue.createVNode(vue.unref(NeonTime), {
8636
+ modelValue: vue.unref(values).earlyAt,
8637
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => vue.unref(values).earlyAt = $event),
8638
+ "is-loading": vue.unref(isLoading),
8639
+ class: "mt-2"
8640
+ }, null, 8, ["modelValue", "is-loading"]),
8641
+ vue.createElementVNode(
8642
+ "div",
8643
+ _hoisted_5,
8644
+ vue.toDisplayString(durationHomeAt.value),
8645
+ 1
8646
+ /* TEXT */
8647
+ )
8648
+ ]),
8649
+ _: 1
8650
+ /* STABLE */
8651
+ }, 16, ["modelValue"])
8652
+ ])) : vue.createCommentVNode("v-if", true),
8653
+ vue.createCommentVNode(" COME TOO LATE "),
8654
+ vue.unref(values).type == "comeLate" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
8655
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8656
+ modelValue: vue.unref(values).comeAt,
8657
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => vue.unref(values).comeAt = $event)
8658
+ }, {
8659
+ handle: "comeAt",
8660
+ name: "Jam Datang",
8661
+ options: {
8662
+ note: "Jam Datang kerja."
8663
+ }
8664
+ }), {
8665
+ input: vue.withCtx(() => [
8666
+ vue.createVNode(vue.unref(NeonTime), {
8667
+ modelValue: vue.unref(values).comeAt,
8668
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.unref(values).comeAt = $event),
8669
+ "is-loading": vue.unref(isLoading),
8670
+ class: "mt-2"
8671
+ }, null, 8, ["modelValue", "is-loading"])
8672
+ ]),
8673
+ _: 1
8674
+ /* STABLE */
8675
+ }, 16, ["modelValue"]),
8676
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8677
+ modelValue: vue.unref(values).lateAt,
8678
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => vue.unref(values).lateAt = $event)
8679
+ }, {
8680
+ handle: "lateAt",
8681
+ name: "Jam Datang Terlambat",
8682
+ options: {
8683
+ note: "Jam datang terlambat."
8684
+ }
8685
+ }), {
8686
+ input: vue.withCtx(() => [
8687
+ vue.createVNode(vue.unref(NeonTime), {
8688
+ modelValue: vue.unref(values).lateAt,
8689
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => vue.unref(values).lateAt = $event),
8690
+ "is-loading": vue.unref(isLoading),
8691
+ class: "mt-2"
8692
+ }, null, 8, ["modelValue", "is-loading"]),
8693
+ vue.createElementVNode(
8694
+ "div",
8695
+ _hoisted_7,
8696
+ vue.toDisplayString(durationComeAt.value),
8697
+ 1
8698
+ /* TEXT */
8699
+ )
8700
+ ]),
8701
+ _: 1
8702
+ /* STABLE */
8703
+ }, 16, ["modelValue"])
8704
+ ])) : vue.createCommentVNode("v-if", true),
8705
+ vue.createCommentVNode(" TIMEOUT "),
8706
+ vue.unref(values).type == "timeout" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
8707
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8708
+ modelValue: vue.unref(values).startedAt,
8709
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => vue.unref(values).startedAt = $event)
8710
+ }, {
8711
+ handle: "startedAt",
8712
+ name: "Mulai",
8713
+ options: {
8714
+ note: "Jam mulai."
8715
+ }
8716
+ }), {
8717
+ input: vue.withCtx(() => [
8718
+ vue.createVNode(vue.unref(NeonTime), {
8719
+ modelValue: vue.unref(values).startedAt,
8720
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => vue.unref(values).startedAt = $event),
8721
+ "is-loading": vue.unref(isLoading),
8722
+ class: "mt-2"
8723
+ }, null, 8, ["modelValue", "is-loading"])
8724
+ ]),
8725
+ _: 1
8726
+ /* STABLE */
8727
+ }, 16, ["modelValue"]),
8728
+ vue.createVNode(vue.unref(form.NeonField), vue.mergeProps({
8729
+ modelValue: vue.unref(values).endedAt,
8730
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => vue.unref(values).endedAt = $event)
8731
+ }, {
8732
+ handle: "endedAt",
8733
+ name: "Selesai",
8734
+ options: {
8735
+ note: "Jam selesai."
8736
+ }
8737
+ }), {
8738
+ input: vue.withCtx(() => [
8739
+ vue.createVNode(vue.unref(NeonTime), {
8740
+ modelValue: vue.unref(values).endedAt,
8741
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => vue.unref(values).endedAt = $event),
8742
+ "is-loading": vue.unref(isLoading),
8743
+ class: "mt-2"
8744
+ }, null, 8, ["modelValue", "is-loading"]),
8745
+ vue.createElementVNode(
8746
+ "div",
8747
+ _hoisted_9,
8748
+ vue.toDisplayString(durationStartedAt.value),
8749
+ 1
8750
+ /* TEXT */
8751
+ )
8752
+ ]),
8753
+ _: 1
8754
+ /* STABLE */
8755
+ }, 16, ["modelValue"])
8756
+ ])) : vue.createCommentVNode("v-if", true)
8757
+ ]),
8758
+ _: 1
8759
+ /* STABLE */
8760
+ }, 8, ["initial-values", "is-loading", "is-changed", "onCancel", "onSubmit"])
8761
+ ]),
8762
+ _: 1
8763
+ /* STABLE */
8764
+ })
8765
+ ]),
8766
+ _: 1
8767
+ /* STABLE */
8768
+ }, 8, ["use-url"])
8769
+ ]),
8770
+ _: 1
8771
+ /* STABLE */
8772
+ });
8773
+ };
8774
+ }
8775
+ });
8776
+ const AttendanceManager_vue_vue_type_style_index_0_scoped_eb6a78b6_lang = "";
8777
+ const AttendanceManager = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eb6a78b6"]]);
7432
8778
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7433
8779
  __proto__: null,
8780
+ AttendanceCollection: _sfc_main$3,
8781
+ AttendanceManager,
8782
+ AttendanceModel,
8783
+ AttendanceSingle,
8784
+ AttendanceStaff,
7434
8785
  CheckInAccess,
7435
- CheckInCollection: _sfc_main$F,
8786
+ CheckInCollection: _sfc_main$J,
7436
8787
  CheckInExternal,
7437
8788
  CheckInModel,
7438
8789
  CheckInPresenceCollection,
7439
- CheckInScanError: _sfc_main$I,
7440
- CheckInScanSuccess: _sfc_main$G,
8790
+ CheckInScanError: _sfc_main$M,
8791
+ CheckInScanSuccess: _sfc_main$K,
7441
8792
  CheckInScanner,
7442
8793
  CheckInSingle,
7443
8794
  NeonTime,
7444
8795
  OperasionalIdentitas,
7445
- PlanCollection: _sfc_main$7,
8796
+ PlanCollection: _sfc_main$b,
7446
8797
  PlanModel,
7447
8798
  PlanSingle,
7448
8799
  PlanStaff,
7449
- PlanTypeCollection: _sfc_main$9,
8800
+ PlanTypeCollection: _sfc_main$d,
7450
8801
  PlanTypeModel,
7451
8802
  PlanTypeSingle,
7452
- ProgressButton: _sfc_main$4,
8803
+ ProgressButton: _sfc_main$8,
7453
8804
  ProgressCollection,
7454
8805
  ProgressModel,
7455
8806
  ProgressSingle,
7456
8807
  ProgressTomorrow,
7457
8808
  ProgressYesterday,
7458
- ResponsibilityCollection: _sfc_main$f,
8809
+ ResponsibilityCollection: _sfc_main$j,
7459
8810
  ResponsibilityModel,
7460
8811
  ResponsibilitySingle,
7461
8812
  ResponsibilityStaff,
7462
- ResponsibilityTypeCollection: _sfc_main$h,
8813
+ ResponsibilityTypeCollection: _sfc_main$l,
7463
8814
  ResponsibilityTypeModel,
7464
8815
  ResponsibilityTypeSingle,
7465
- SituationCollection: _sfc_main$A,
8816
+ SituationCollection: _sfc_main$E,
7466
8817
  SituationModel,
7467
- SituationSingle: _sfc_main$z,
7468
- SituationSupportive: _sfc_main$x,
7469
- SituationTypeCollection: _sfc_main$w,
8818
+ SituationSingle: _sfc_main$D,
8819
+ SituationSupportive: _sfc_main$B,
8820
+ SituationTypeCollection: _sfc_main$A,
7470
8821
  SituationTypeModel,
7471
- SituationTypeSingle: _sfc_main$v,
7472
- SituationWork: _sfc_main$y,
7473
- StaffCollection: _sfc_main$E,
7474
- StaffIdentity: _sfc_main$B,
8822
+ SituationTypeSingle: _sfc_main$z,
8823
+ SituationWork: _sfc_main$C,
8824
+ StaffCollection: _sfc_main$I,
8825
+ StaffIdentity: _sfc_main$F,
7475
8826
  StaffModel,
7476
8827
  StaffOperasional,
7477
8828
  StaffSingle,
7478
8829
  SubmissionAudit,
7479
- SubmissionCollection: _sfc_main$q,
8830
+ SubmissionCollection: _sfc_main$u,
7480
8831
  SubmissionDecision,
7481
8832
  SubmissionFollowUp,
7482
8833
  SubmissionModel,
7483
8834
  SubmissionSingle,
7484
8835
  SubmissionStaff,
7485
- SubmissionTypeCollection: _sfc_main$j,
8836
+ SubmissionTypeCollection: _sfc_main$n,
7486
8837
  SubmissionTypeModel,
7487
8838
  SubmissionTypeSingle,
7488
8839
  SubmissionWaitingDecision,
7489
8840
  TargetBranch,
7490
- TargetCollection: _sfc_main$c,
8841
+ TargetCollection: _sfc_main$g,
7491
8842
  TargetModel,
7492
8843
  TargetSingle,
7493
- TaskCollection: _sfc_main$t,
8844
+ TaskCollection: _sfc_main$x,
7494
8845
  TaskModel,
7495
- TaskSingle: _sfc_main$s,
7496
- TaskWork: _sfc_main$r,
7497
- TaskWorkButton: _sfc_main$u,
7498
- XxxButton: _sfc_main$P
8846
+ TaskSingle: _sfc_main$w,
8847
+ TaskWork: _sfc_main$v,
8848
+ TaskWorkButton: _sfc_main$y,
8849
+ XxxButton: _sfc_main$T
7499
8850
  }, Symbol.toStringTag, { value: "Module" }));
7500
8851
  function registerComponents(app) {
7501
8852
  Object.entries(components).forEach(([name, component2]) => {
@@ -7510,74 +8861,79 @@ const OperasionalInterfacesPlugin = {
7510
8861
  registerComponents(app);
7511
8862
  }
7512
8863
  };
8864
+ exports.AttendanceCollection = _sfc_main$3;
8865
+ exports.AttendanceManager = AttendanceManager;
8866
+ exports.AttendanceModel = AttendanceModel;
8867
+ exports.AttendanceSingle = AttendanceSingle;
8868
+ exports.AttendanceStaff = AttendanceStaff;
7513
8869
  exports.CheckInAccess = CheckInAccess;
7514
- exports.CheckInCollection = _sfc_main$F;
8870
+ exports.CheckInCollection = _sfc_main$J;
7515
8871
  exports.CheckInExternal = CheckInExternal;
7516
8872
  exports.CheckInModel = CheckInModel;
7517
8873
  exports.CheckInPresenceCollection = CheckInPresenceCollection;
7518
- exports.CheckInScanError = _sfc_main$I;
7519
- exports.CheckInScanSuccess = _sfc_main$G;
8874
+ exports.CheckInScanError = _sfc_main$M;
8875
+ exports.CheckInScanSuccess = _sfc_main$K;
7520
8876
  exports.CheckInScanner = CheckInScanner;
7521
8877
  exports.CheckInSingle = CheckInSingle;
7522
8878
  exports.NOperasional = operasional_types;
7523
8879
  exports.NeonTime = NeonTime;
7524
8880
  exports.OperasionalIdentitas = OperasionalIdentitas;
7525
8881
  exports.OperasionalInterfacesPlugin = OperasionalInterfacesPlugin;
7526
- exports.PlanCollection = _sfc_main$7;
8882
+ exports.PlanCollection = _sfc_main$b;
7527
8883
  exports.PlanModel = PlanModel;
7528
8884
  exports.PlanSingle = PlanSingle;
7529
8885
  exports.PlanStaff = PlanStaff;
7530
- exports.PlanTypeCollection = _sfc_main$9;
8886
+ exports.PlanTypeCollection = _sfc_main$d;
7531
8887
  exports.PlanTypeModel = PlanTypeModel;
7532
8888
  exports.PlanTypeSingle = PlanTypeSingle;
7533
- exports.ProgressButton = _sfc_main$4;
8889
+ exports.ProgressButton = _sfc_main$8;
7534
8890
  exports.ProgressCollection = ProgressCollection;
7535
8891
  exports.ProgressModel = ProgressModel;
7536
8892
  exports.ProgressSingle = ProgressSingle;
7537
8893
  exports.ProgressTomorrow = ProgressTomorrow;
7538
8894
  exports.ProgressYesterday = ProgressYesterday;
7539
- exports.ResponsibilityCollection = _sfc_main$f;
8895
+ exports.ResponsibilityCollection = _sfc_main$j;
7540
8896
  exports.ResponsibilityModel = ResponsibilityModel;
7541
8897
  exports.ResponsibilitySingle = ResponsibilitySingle;
7542
8898
  exports.ResponsibilityStaff = ResponsibilityStaff;
7543
- exports.ResponsibilityTypeCollection = _sfc_main$h;
8899
+ exports.ResponsibilityTypeCollection = _sfc_main$l;
7544
8900
  exports.ResponsibilityTypeModel = ResponsibilityTypeModel;
7545
8901
  exports.ResponsibilityTypeSingle = ResponsibilityTypeSingle;
7546
8902
  exports.Schema = graphql;
7547
- exports.SituationCollection = _sfc_main$A;
8903
+ exports.SituationCollection = _sfc_main$E;
7548
8904
  exports.SituationModel = SituationModel;
7549
- exports.SituationSingle = _sfc_main$z;
7550
- exports.SituationSupportive = _sfc_main$x;
7551
- exports.SituationTypeCollection = _sfc_main$w;
8905
+ exports.SituationSingle = _sfc_main$D;
8906
+ exports.SituationSupportive = _sfc_main$B;
8907
+ exports.SituationTypeCollection = _sfc_main$A;
7552
8908
  exports.SituationTypeModel = SituationTypeModel;
7553
- exports.SituationTypeSingle = _sfc_main$v;
7554
- exports.SituationWork = _sfc_main$y;
7555
- exports.StaffCollection = _sfc_main$E;
7556
- exports.StaffIdentity = _sfc_main$B;
8909
+ exports.SituationTypeSingle = _sfc_main$z;
8910
+ exports.SituationWork = _sfc_main$C;
8911
+ exports.StaffCollection = _sfc_main$I;
8912
+ exports.StaffIdentity = _sfc_main$F;
7557
8913
  exports.StaffModel = StaffModel;
7558
8914
  exports.StaffOperasional = StaffOperasional;
7559
8915
  exports.StaffSingle = StaffSingle;
7560
8916
  exports.SubmissionAudit = SubmissionAudit;
7561
- exports.SubmissionCollection = _sfc_main$q;
8917
+ exports.SubmissionCollection = _sfc_main$u;
7562
8918
  exports.SubmissionDecision = SubmissionDecision;
7563
8919
  exports.SubmissionFollowUp = SubmissionFollowUp;
7564
8920
  exports.SubmissionModel = SubmissionModel;
7565
8921
  exports.SubmissionSingle = SubmissionSingle;
7566
8922
  exports.SubmissionStaff = SubmissionStaff;
7567
- exports.SubmissionTypeCollection = _sfc_main$j;
8923
+ exports.SubmissionTypeCollection = _sfc_main$n;
7568
8924
  exports.SubmissionTypeModel = SubmissionTypeModel;
7569
8925
  exports.SubmissionTypeSingle = SubmissionTypeSingle;
7570
8926
  exports.SubmissionWaitingDecision = SubmissionWaitingDecision;
7571
8927
  exports.TargetBranch = TargetBranch;
7572
- exports.TargetCollection = _sfc_main$c;
8928
+ exports.TargetCollection = _sfc_main$g;
7573
8929
  exports.TargetModel = TargetModel;
7574
8930
  exports.TargetSingle = TargetSingle;
7575
- exports.TaskCollection = _sfc_main$t;
8931
+ exports.TaskCollection = _sfc_main$x;
7576
8932
  exports.TaskModel = TaskModel;
7577
- exports.TaskSingle = _sfc_main$s;
7578
- exports.TaskWork = _sfc_main$r;
7579
- exports.TaskWorkButton = _sfc_main$u;
7580
- exports.XxxButton = _sfc_main$P;
8933
+ exports.TaskSingle = _sfc_main$w;
8934
+ exports.TaskWork = _sfc_main$v;
8935
+ exports.TaskWorkButton = _sfc_main$y;
8936
+ exports.XxxButton = _sfc_main$T;
7581
8937
  exports.bus = bus;
7582
8938
  exports.useAttendanceStore = useAttendanceStore;
7583
8939
  exports.useOperasional = useOperasional;